CN-116709223-B - Method, system, equipment and medium for allocating resources of short message service channel
Abstract
The application discloses a method for allocating resources of a short message service channel, which comprises the steps of receiving input service short message data, carrying out logic processing on the service short message data, outputting the service short message data processed through logic processing, periodically collecting and storing attribute information of the service short message data, carrying out service type analysis, average rate analysis and service success rate analysis on the attribute information, monitoring the running state of the short message service channel, collecting and storing short message service channel parameters, periodically carrying out data quantization analysis on the short message service channel parameters, calculating and obtaining the comprehensive score of the availability of the short message service channel in the period, carrying out optimization allocation of the resources of the short message service channel, and carrying out channel resource allocation of newly increased short message service, channel capacity recovery or capacity expansion of the operated short message service and channel resource reallocation of the abnormally operated short message service. The application also discloses a system, equipment and storage medium for allocating the resources of the short message service channel.
Inventors
- Bai Xiaoru
- WANG YUE
- CHEN PENG
Assignees
- 北京国都互联科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20230619
Claims (10)
- 1. The method for allocating the resources of the short message service channel is characterized by comprising the following steps: Receiving input service short message data, carrying out logic processing on the service short message data, including analyzing the content of the service short message data, executing service safety control logic and confirming short message service channel processing, and outputting the service short message data processed through logic; The method comprises the steps of collecting and storing attribute information of service message data periodically, carrying out service type analysis, average rate analysis and service success rate analysis on the attribute information periodically, and updating the attribute information of the service message data according to analysis results, wherein the attribute information comprises a customer, an industry, a service type and a service rate, and the service rate analysis is that the actual rate T j of the service message in a period is obtained through the transmission quantity of the service message and the total time in the period; Monitoring the running state of a short message service channel, collecting and storing short message service channel parameters, inducing all the collected parameters into forward parameters and reverse parameters according to the forward or reverse influence of the parameters on the running quality of the service channel, periodically carrying out data quantization analysis on the forward parameters and the reverse parameters, and calculating and obtaining the availability comprehensive score of each short message service channel in a period according to the forward parameters, the corresponding forward parameter weight coefficient, the reverse parameters and the corresponding reverse parameter weight coefficient; The short message channel allocation control step is to perform optimization allocation of short message service channel resources based on the attribute information of the service short message data and the short message service channel availability comprehensive score, wherein the optimization allocation comprises channel resource allocation of newly added short message service, channel capacity recovery or expansion of the operated short message service and channel resource reallocation of abnormally operated short message service; Periodically acquiring parameters of a currently operated short message service channel, analyzing and comparing a channel resource allocation rate V d of the short message service in the last period with an actual rate T j of the short message service in the current period, and utilizing a floating coefficient alpha by combining a preset channel resource, wherein 0< alpha <1; When T j > V d is used, judging that capacity expansion is needed, calculating channel resource expansion capacity K j = (1+α)T j -V d , if K j is smaller than the available speed F j of the short message channel used by the current service, carrying out resource expansion on the current used channel, if K j is larger than F j , carrying out coincidence comparison and deletion according to attribute information of the current short message service and all short message channel parameters in a data buffer zone, acquiring a short message channel set required by the attribute of the short message service to be expanded, calculating the comprehensive score of the availability of each channel in the set, selecting a short message channel corresponding to the maximum value of the comprehensive score of the availability, and distributing the short message channel to the current short message service to be expanded; When (1-alpha) V d < T j < V d is determined, the current short message service allocation rate V d is kept unchanged; when T j < (1-α)V d is carried out, judging that excessive channel resources need to be recovered, calculating the channel resource recovery quantity H j = V d -(1+α)T j , and combining H j with the short message channel available rate F j used by the current service to form available channel resources; Judging whether the short message service or channel resources have abnormal change according to the attribute information of the running service short message and the running state parameters of the short message service channels, if so, combining the attribute information of the abnormal change of the short message service, carrying out coincidence comparison and deletion with all the short message service channel parameters in a data buffer area to obtain a short message channel set meeting the short message service attribute requirement of the reallocation channel, calculating the availability comprehensive score of each channel in the set, selecting the short message channel corresponding to the maximum value of the availability comprehensive score, and reallocating the short message channel to the abnormal short message service; and the short message service data is subjected to logic processing and is output by the designated allocation channel.
- 2. The method for allocating resources of a short message service channel according to claim 1, wherein the steps of collecting and analyzing the service short message information further comprise: The method comprises the steps of acquiring service short message information, namely periodically acquiring attribute information of service short message data, and sorting and storing the attribute information, wherein the attribute information comprises a customer, an industry, a service type and a service rate; The service message information analysis step is to analyze the attribute information periodically, the service type analysis is to perform templated analysis processing on the service message content through a big data semantic analysis algorithm to form a message content template and a corresponding service label, and to combine data statistics judgment to confirm the actual type of the service message in the period, the service rate analysis is to obtain the actual rate of the service message in the period through the service message sending amount and the total time in the period, and the service success rate analysis is to obtain the service message sending success rate in the period through the service message sending amount and the work amount.
- 3. The method for allocating resources of a short message service channel according to claim 1, wherein the steps of collecting and analyzing short message service channel information further comprise: Monitoring and collecting a short message channel, namely monitoring the running state of the short message service channel, collecting basic parameters and running parameters of the short message service channel, and according to the forward or reverse influence of the parameters on the running quality of the service channel, summarizing all the collected parameters into forward parameters and reverse parameters and storing the forward parameters and the reverse parameters into a data buffer area; And the short message channel information analysis step is to periodically acquire the forward parameter and the reverse parameter in the data buffer area, and calculate and acquire the availability comprehensive score of each short message service channel in the current period according to the forward parameter, the corresponding forward parameter weight coefficient, the reverse parameter and the corresponding reverse parameter weight coefficient.
- 4. The method for allocating resources of a short message service channel according to claim 1, wherein the short message service channel allocation control step further comprises: a step of newly adding a short message service channel, which is to perform coincidence comparison and deletion according to attribute information of the newly added short message service and all short message service channel parameters in a data buffer area, obtain a short message channel set meeting the attribute requirement of the newly added short message service, calculate a corresponding newly added channel availability comprehensive score set, select a short message channel corresponding to the maximum value of the newly added channel availability comprehensive score, and allocate the short message channel to the newly added short message service; Periodically acquiring parameters of a currently operated short message service channel, analyzing and comparing the channel resource allocation rate of the short message service in the last period with the actual rate of the short message service in the current period, and judging whether the channel resources used by the currently operated short message service have excessive resources to be recovered or have insufficient resources to be expanded by combining with a preset channel resource utilization floating coefficient; And the step of reallocating the abnormal short message service channels, namely judging that the short message service or channel resources have abnormal changes according to the attribute information of the running service short message and the running state parameters of the short message service channels, combining the attribute information of the abnormal changes of the short message service, carrying out coincidence comparison and deletion with all the short message service channel parameters in the data buffer area, obtaining a short message channel set meeting the short message service attribute requirements of the reallocating channels, calculating a corresponding reallocating channel availability comprehensive score set, selecting the short message channel corresponding to the maximum value of the reallocating channel availability comprehensive score, and reallocating the short message channel to the abnormal short message service.
- 5. The method for allocating resources of a sms service channel according to claim 4, wherein the step of operating the sms service channel further comprises: When the channel resource expansion capacity is larger than the available speed of the short message channel, carrying out coincidence comparison and deletion according to attribute information of the current short message service and all short message channel parameters in a data buffer zone to obtain a short message channel set required by the attribute of the short message service to be expanded, calculating an availability comprehensive score set corresponding to the short message channel set to be expanded, selecting a short message channel corresponding to the maximum value of the availability comprehensive score of the short message channel to be expanded, and allocating the short message channel to the current short message service to be expanded; When the actual rate of the short message service is smaller than the allocation rate and is larger than a preset lower limit of resource usage floating allowed by a system, keeping the allocation rate of the current short message service unchanged; and recovering excessive channel resources when the actual speed of the short message service is smaller than the preset floating lower limit of the resource usage allowed by the system, calculating the channel resource recovery amount, combining the channel resource recovery amount with the short message channel available speed used by the current service to form available channel resources, and waiting to be allocated to other short message services by the system.
- 6. The system for allocating resources of a short message service channel adopts the method for allocating resources of a short message service channel according to any one of claims 1 to 5, and is characterized in that the system for allocating resources of a short message service channel comprises a service short message access module and a service short message output module, and further comprises: The service short message logic processing module is used for receiving the service short message data input by the service short message access module, carrying out logic processing on the service short message data, including analyzing the content of the service short message data, executing service safety control logic and confirming short message service channel processing, and outputting the service short message data processed by the logic processing to the service short message output module; the service short message information acquisition and analysis module is used for periodically acquiring and storing attribute information of the service short message data, periodically analyzing the service type, the average rate and the service success rate of the attribute information, and updating the attribute information of the service short message data according to an analysis result; The short message channel information acquisition and analysis module is used for monitoring the running state of the short message service channel, acquiring and storing the short message service channel parameters, periodically carrying out data quantization analysis on the short message service channel parameters, and calculating to obtain the short message service channel availability comprehensive score in the period; And the short message channel allocation control module is used for carrying out optimization allocation of short message service channel resources based on the attribute information of the service short message data and the short message service channel availability comprehensive score, wherein the optimization allocation comprises channel resource allocation of newly added short message service, channel capacity recovery or capacity expansion of the operated short message service and channel resource reallocation of the abnormally operated short message service, and the short message service data is subjected to logic processing and is output by an appointed allocation channel.
- 7. The system for allocating resources of a short message service channel according to claim 6, wherein the service short message information acquisition and analysis module further comprises: The service short message information acquisition module is used for periodically acquiring attribute information of the service short message data, and sorting and storing the attribute information, wherein the attribute information comprises a customer, an industry, a service type and a service rate; The service message information analysis module is used for periodically analyzing the attribute information, the service type analysis is to perform templated analysis processing on the service message content through a big data semantic analysis algorithm to form a message content template and a corresponding service label, and the service message information analysis module is used for combining data statistics and judgment to confirm the actual type of the service message in the period, the service rate analysis is to obtain the actual rate of the service message in the period through the service message transmission quantity and the total time in the period, and the service success rate analysis is to obtain the service message transmission success rate in the period through the service message transmission quantity and the work load.
- 8. The sms channel resource allocation system of claim 6, wherein the sms channel information acquisition and analysis module further comprises: The short message channel monitoring and collecting module is used for monitoring the operation state of the short message service channel and collecting basic parameters and operation parameters of the short message service channel, and according to the forward or reverse influence of the parameters on the operation quality of the service channel, all the collected parameters are summarized into forward parameters and reverse parameters and stored in the data buffer area; And the short message channel information analysis module is used for periodically acquiring the forward parameter and the reverse parameter in the data buffer area, and calculating and acquiring the availability comprehensive score of each short message service channel in the current period according to the forward parameter, the corresponding forward parameter weight coefficient, the reverse parameter and the corresponding reverse parameter weight coefficient.
- 9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of allocating resources of a short message service channel as claimed in any one of claims 1 to 5 when the computer program is executed by the processor.
- 10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the short message service channel resource allocation method according to any one of claims 1 to 5.
Description
Method, system, equipment and medium for allocating resources of short message service channel Technical Field The present application relates to the field of mobile information services, and in particular, to a method and a system for allocating short message channel resources. Background Since the new century, mobile internet technology has been developed at a high speed, and with the advent of the 5G era, various mobile information services have emerged endlessly, and the interactive experience of services has been continuously improved. However, the short message service, which is one of the primary applications of the mobile phone, is always a common service for public users by virtue of the characteristics of accuracy, high efficiency, autonomy and convenience. At present, the short message service is one of core services provided by enterprises, wherein a short message channel is a core resource of the short message service and is used for bearing service short message sending requirements of a plurality of businesses of the enterprises. However, the existing enterprise short message service uses short message channel resources, which are too single and thick as a whole, technically simply allocate the short message channel resources to each service, and often the situation that a single service occupies excessive short message channel resources, a plurality of services mutually occupy the short message channel resources and the like occurs, which not only causes disordered use and waste of the short message channel resources, but also causes mutual influence of each service, and reduces service capacity and user experience, in addition, in the face of service emergency (comprising short message service growth, short message service type change, short message channel resource abnormality and the like), the efficient and flexible technical response is lacking, thereby influencing the whole operation of the short message service. Therefore, it is needed to propose a method and a system for allocating short message channel resources, which can realize intelligent collection and analysis of short message service information state and short message channel information state through service short message information collection, service short message information analysis, short message channel monitoring collection and short message channel information analysis, and complete quantification of short message channel resource state data through related algorithm technology, so as to achieve comprehensive and accurate monitoring and grasping of short message service and short message channel real-time state information from a data angle, and solve the technical problems of mutual influence of each service, service capability and user experience reduction caused by unordered use and waste of short message channel resources in the prior art. Disclosure of Invention The embodiment of the application provides a method for allocating short message channel resources, which solves the problems of unordered use and waste of the short message channel resources in the prior art. In a first aspect, an embodiment of the present application provides a method for allocating resources of a short message service channel, including: Receiving input service short message data, carrying out logic processing on the service short message data, including analyzing the content of the service short message data, executing service safety control logic and confirming short message service channel processing, and outputting the service short message data processed through logic; the method comprises the steps of collecting and storing attribute information of service message data periodically, carrying out service type analysis, average rate analysis and service success rate analysis on the attribute information periodically, and updating the attribute information of the service message data according to analysis results; Monitoring the running state of a short message service channel, collecting and storing short message service channel parameters, periodically carrying out data quantization analysis on the short message service channel parameters, and calculating to obtain a short message service channel availability comprehensive score in a period; And the short message channel allocation control step is to perform optimization allocation of short message service channel resources based on attribute information of service short message data and short message service channel availability comprehensive scores, wherein the optimization allocation comprises channel resource allocation of newly added short message service, channel capacity recovery or capacity expansion of operated short message service and channel resource reallocation of abnormally operated short message service, and the short message service data is subjected to logic processing and is output by an appointed allocation channel. In a specific embodiment of the present in