Efficient SMS distribution method and system based on 5G
By identifying and analyzing the resource load and response delay of the SMS sending node in the 5G SMS distribution system, calculating system losses, and performing node refresh and distribution scheduling, the problem that the SMS distribution system in the prior art cannot adapt to the dynamic load changes in real time is solved. , improves the efficiency of SMS distribution and system response capabilities.
Patent Information
- Application Number
- CN202411555558.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-11-04
AI Technical Summary
When faced with a large number of SMS tasks, existing SMS distribution systems are unable to adapt to dynamic changes in load in real time, resulting in reduced distribution efficiency.
By identifying the timeliness between the SMS sending node and processing SMS tasks in the 5G SMS distribution system, extracting resource payload and response delay, calculating resource occupancy rate and fulfillment time, determining system losses, and node refresh and distribution based on these indicators Scheduling.
It improves the efficiency of SMS distribution, avoids node overload and idle problems caused by unbalanced load policies, and improves the system's response capabilities and resource utilization efficiency.
Smart Images

Figure CN119071746B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of SMS distribution technology, and more specifically, to an efficient SMS distribution method and system based on 5G. Background Art
[0002] With the advancement and development of technology, SMS distribution has gradually become an indispensable key part of modern communication networks and involves multiple key technical fields. SMS distribution usually relies on SMS service centers to process and forward SMS messages. SMS service centers are responsible for receiving, storing and forwarding SMS messages to ensure the reliable delivery of SMS messages. During the SMS distribution process, SMS messages are usually transmitted through point-to-point protocols to meet ever-changing business needs.
[0003] In the existing SMS sending, the SMS distribution system needs a reliable data storage solution to record the SMS sending status, process historical records and manage user data. In order to protect user privacy and data security, the SMS distribution system also needs to implement strong encryption and authentication measures. In addition, in order to handle a large amount of SMS traffic, the SMS distribution system needs an effective load balancing strategy to meet the actual load adjustment task allocation; however, in actual application, there is a lack of timeliness in the distribution scheduling between the SMS sending node and the SMS processing task, that is, when faced with a large number of SMS tasks, the distribution system cannot adapt to the dynamic changes of the load in real time. Although dynamic load balancing can adjust the task allocation according to the real-time load, it will introduce additional delays, causing some nodes to be overloaded while other nodes are idle, thereby reducing the distribution efficiency of the distribution system. Therefore, how to identify the timeliness between the SMS sending node and the SMS processing task, and make reasonable distribution scheduling, so as to improve the efficiency of SMS distribution has become a difficult problem faced by the industry. Summary of the invention
[0004] The present application provides an efficient SMS distribution method and system based on 5G, which can identify the timeliness between SMS sending nodes and SMS processing tasks, and make reasonable distribution scheduling, thereby improving the efficiency of SMS distribution.
[0005] In the first aspect, the present application provides a method for efficient SMS distribution based on 5G, comprising the following steps:
[0006] Starting a 5G SMS distribution system, wherein the 5G SMS distribution system includes multiple SMS sending nodes, and reading distribution records under each SMS sending node;
[0007] For each SMS sending node, extract the resource load and response delay of the SMS sending node when processing the sending task of each SMS from the distribution record under the SMS sending node;
[0008] Determine the resource occupancy rate of the SMS sending node when executing the SMS sending task based on all resource loads, and determine the fulfillment time of the SMS sending node when completing the SMS distribution task based on all response delays;
[0009] Determine the system loss of the SMS sending node when providing the SMS distribution service according to the resource occupancy rate and the performance time limit, and then obtain the system loss of each SMS sending node when providing the SMS distribution service;
[0010] Based on the losses of each system, multiple SMS sending nodes are extracted from all SMS sending nodes as refresh reference points, and the remaining SMS sending nodes are refreshed according to the refresh trend values of each refresh reference point, and then the SMS are distributed and scheduled according to all the refreshed SMS sending nodes.
[0011] In some embodiments, extracting the resource load and response delay of the SMS sending node when processing the sending task for each SMS from the distribution record under the SMS sending node specifically includes:
[0012] Selecting a text message in the distribution record as a selected text message;
[0013] Extracting the processing resource allocation, task length and node resource load from the distribution information corresponding to the selected SMS;
[0014] Determine the resource load of the SMS sending node when performing a sending task processing on the selected SMS based on the processing resource allocation amount and the node resource load amount;
[0015] Determine the response delay of the SMS sending node when processing the sending task for the selected SMS based on the task length and the node resource load;
[0016] Continue to determine the resource load and response delay of the SMS sending node when processing the sending task of the remaining SMS in the distribution record, and then obtain the resource load and response delay of the SMS sending node when processing the sending task of each SMS.
[0017] In some embodiments, determining the resource occupancy rate of the SMS sending node when performing the SMS sending task based on all resource loads specifically includes:
[0018] Get the memory usage of each SMS in the SMS sending node;
[0019] The comprehensive impact of each resource load is evaluated through all memory usage, and the comprehensive load factor when processing each SMS is obtained;
[0020] The resource occupancy rate of the SMS sending node when performing the SMS sending task is determined based on all comprehensive load factors.
[0021] In some embodiments, determining the performance time limit when the SMS sending node completes the SMS distribution task based on all response delays specifically includes:
[0022] Extract multiple compliant SMS tasks under the SMS sending node based on each response delay;
[0023] Determine the time limit for the SMS sending node to complete the SMS distribution task based on all compliant SMS tasks.
[0024] In some embodiments, determining the system loss of the SMS sending node when providing the SMS distribution service according to the resource occupancy rate and the performance time efficiency specifically includes:
[0025] Extracting the energy efficiency fluctuation amount when the SMS sending node performs the distribution task from the resource occupancy rate;
[0026] The time stability when the SMS sending node completes the distribution task is extracted from the performance time;
[0027] An energy efficiency loss analysis is performed on the SMS sending node based on the energy efficiency fluctuation and the time stability to obtain the system loss of the SMS sending node when providing SMS distribution service.
[0028] In some embodiments, extracting a plurality of SMS sending nodes from all SMS sending nodes as refresh reference points based on the losses of each system specifically includes:
[0029] Determine the performance characteristics of the SMS distribution system based on all system losses;
[0030] A plurality of SMS sending nodes are extracted from all SMS sending nodes as refresh reference points according to the performance characteristic index.
[0031] In some embodiments, the 5G SMS distribution system is a 5G rich media message distribution system.
[0032] In the second aspect, the present application provides a 5G-based SMS efficient distribution system, including:
[0033] A startup module, used to start a 5G SMS distribution system, wherein the 5G SMS distribution system includes multiple SMS sending nodes, and reads the distribution records under each SMS sending node;
[0034] A processing module, for extracting, from the distribution record under each SMS sending node, the resource load and response delay of the SMS sending node when processing the sending task of each SMS;
[0035] The processing module is further used to determine the resource occupancy rate of the SMS sending node when executing the SMS sending task based on all resource loads, and to determine the performance time limit when the SMS sending node completes the SMS distribution task based on all response delays;
[0036] The processing module is further used to determine the system loss of the SMS sending node when providing the SMS distribution service according to the resource occupancy rate and the performance time limit, and then obtain the system loss of each SMS sending node when providing the SMS distribution service;
[0037] The execution module is used to extract multiple SMS sending nodes from all SMS sending nodes as refresh reference points based on the losses of each system, refresh the remaining SMS sending nodes according to the refresh trend values of each refresh reference point, and then distribute and schedule SMS according to all refreshed SMS sending nodes.
[0038] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores code, and the processor is configured to obtain the code and execute the above-mentioned 5G-based efficient SMS distribution method.
[0039] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned 5G-based efficient SMS distribution method.
[0040] The technical solution provided by the embodiments disclosed in this application has the following beneficial effects:
[0041] In the 5G-based efficient SMS distribution method and system provided by the present application, first, a 5G SMS distribution system is started, the 5G SMS distribution system includes multiple SMS sending nodes, and the distribution records under each SMS sending node are read; secondly, for each SMS sending node, the resource load and response delay of the SMS sending node when processing the sending task of each SMS is extracted from the distribution record under the SMS sending node; further, the resource occupancy rate of the SMS sending node when performing the SMS sending task is determined based on all resource loads, and the performance time limit of the SMS sending node when completing the SMS distribution task is determined based on all response delays; then, the system loss of the SMS sending node when providing the SMS distribution service is determined according to the resource occupancy rate and the performance time limit, and then the system loss of each SMS sending node when providing the SMS distribution service is obtained; finally, based on each system loss, multiple SMS sending nodes are extracted from all SMS sending nodes as refresh reference points, and the remaining SMS sending nodes are refreshed according to the refresh trend value of each refresh reference point, and then the SMS is distributed and scheduled according to all refreshed SMS sending nodes.
[0042] It can be seen that the present application can identify the timeliness between the SMS sending node and the SMS processing task, and make reasonable distribution scheduling, thereby improving the efficiency of SMS distribution; firstly, reading the distribution records under each SMS sending node can provide reliable data support for the SMS distribution system to improve the accuracy of the analysis results; secondly, based on the distribution records, the resource load and response delay of the SMS sending node can be determined, which can dynamically adjust and optimize the resource occupancy and improve the system's responsiveness in a high-concurrency environment, thereby avoiding the problem of being unable to adapt to the dynamic changes of the load in real time and the reduced efficiency caused by additional delays; further, based on the resource load and response delay, the resource occupancy rate and fulfillment timeliness can be determined, which can effectively identify the SMS distribution. The usage of overall resources and response speed of nodes in the SMS sending system; then, the system loss is determined based on the resource occupancy rate and the fulfillment timeliness, and the operating performance of the SMS sending node can be comprehensively evaluated, so as to optimize the SMS distribution system according to the evaluation results; in addition, the SMS sending node is refreshed to update the SMS sending node after the SMS sending task is completed; finally, the SMS is distributed and scheduled according to all refreshed SMS sending nodes, which can avoid the problem of overloading of some nodes and idleness of other nodes due to the imbalance of load strategy; in summary, the technical solution provided by the present application can identify the timeliness between the SMS sending node and the SMS processing task, and make reasonable distribution scheduling, so as to improve the efficiency of SMS distribution. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 is an exemplary flow chart of a method for efficient SMS distribution based on 5G according to some embodiments of the present application;
[0044] Figure 2 is an exemplary flow chart of determining resource occupancy rate of a short message sending node when performing a short message sending task according to some embodiments of the present application;
[0045] Figure 3 is an exemplary flow chart of determining the system loss of a short message sending node when providing a short message distribution service according to some embodiments of the present application;
[0046] Figure 4 It is a structural schematic diagram of a 5G-based efficient SMS distribution system according to some embodiments of the present application;
[0047] Figure 5 It is a structural diagram of a computer device for implementing an efficient 5G-based SMS distribution method as shown in some embodiments of the present application. DETAILED DESCRIPTION
[0048] The core of this application is to start a 5G SMS distribution system, which includes multiple SMS sending nodes, read the distribution records under each SMS sending node; for each SMS sending node, extract the resource load and response delay of the SMS sending node when processing the sending task of each SMS from the distribution records under the SMS sending node; determine the resource occupancy rate of the SMS sending node when executing the SMS sending task based on all resource loads, and determine the performance time limit when the SMS sending node completes the SMS distribution task based on all response delays; determine the system loss of the SMS sending node when providing the SMS distribution service according to the resource occupancy rate and the performance time limit, and then obtain the system loss of each SMS sending node when providing the SMS distribution service; extract multiple SMS sending nodes from all SMS sending nodes as refresh reference points based on each system loss, and perform node refresh on the remaining SMS sending nodes according to the refresh trend value of each refresh reference point, and then distribute and schedule the SMS according to all refreshed SMS sending nodes. The above scheme distributes and schedules SMS based on all refreshed SMS sending nodes, and can identify the timeliness between SMS sending nodes and SMS processing tasks, thereby improving the efficiency of SMS distribution.
[0049] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 , which is an exemplary flow chart of a method for efficiently distributing short messages based on 5G according to some embodiments of the present application. The method 100 for efficiently distributing short messages based on 5G mainly includes the following steps:
[0050] In step 101, a 5G SMS distribution system is started, wherein the 5G SMS distribution system includes multiple SMS sending nodes, and the distribution records under each SMS sending node are read.
[0051] In the specific implementation, the distribution record under each SMS sending node is read, that is: the distribution record under each SMS sending node is read through the SMS distribution database, the distribution record contains multiple SMS messages and the distribution information corresponding to each SMS message, the distribution information contains the processing resource allocation required when the SMS is successfully sent, the task length of the SMS sending task and the node resource load when the SMS is processed. In addition, in other embodiments, other methods can also be used to read the distribution records under each SMS sending node, which are not limited here.
[0052] It should be noted that the processing resource allocation amount in this embodiment represents the amount of computing resources allocated to the SMS distribution system when receiving the SMS sending task, the task length represents the time required from receiving the SMS sending task to completing the sending task, and the node resource load represents the total amount of resources of the processor of the SMS sending node when processing the current SMS. By extracting key data from the distribution information, the processing efficiency of the SMS distribution system for SMS tasks can be effectively improved, thereby providing better services and user experience.
[0053] It should also be noted that the SMS distribution system in the present application refers to a system for sending SMS in batches, which is usually used in scenarios such as notification, marketing or verification. The system can be integrated with other applications through an interface to realize the function of automatically sending SMS. As a preferred embodiment, the 5G SMS distribution system in the present application can be a 5G rich media message distribution system or other types of 5G SMS distribution systems, which are not specifically limited here.
[0054] In step 102, for each SMS sending node, the resource load and response delay of the SMS sending node when performing sending task processing for each SMS is extracted from the distribution record under the SMS sending node.
[0055] In some embodiments, the resource load and response delay of the SMS sending node when processing the sending task for each SMS message may be extracted from the distribution record under the SMS sending node in the following manner, namely:
[0056] Selecting a text message in the distribution record as a selected text message;
[0057] Extracting the processing resource allocation, task length and node resource load from the distribution information corresponding to the selected SMS;
[0058] Determine the resource load of the SMS sending node when performing a sending task processing on the selected SMS based on the processing resource allocation amount and the node resource load amount;
[0059] Determine the response delay of the SMS sending node when processing the sending task for the selected SMS based on the task length and the node resource load;
[0060] Continue to determine the resource load and response delay of the SMS sending node when processing the sending task of the remaining SMS in the distribution record, and then obtain the resource load and response delay of the SMS sending node when processing the sending task of each SMS.
[0061] In specific implementation, the resource load of the SMS sending node when performing the sending task processing for the selected SMS is determined based on the processing resource allocation amount and the node resource load amount, that is: the ratio of the processing resource allocation amount and the node resource load amount is used as the resource load of the SMS sending node when performing the sending task processing for the selected SMS. In addition, in other embodiments, other calculation methods can also be used to calculate the resource load, which is not limited here.
[0062] It should be noted that the resource load in this application represents the resource occupancy rate required for processing the sending task. By determining the resource load, the resource occupancy can be dynamically adjusted and optimized to ensure the efficient use of resources by the SMS distribution system, thereby maintaining the stability of the SMS distribution system.
[0063] In specific implementation, the response delay of the SMS sending node when processing the sending task of the selected SMS is determined based on the task length and the node resource load, that is: the task length and the node resource load are weighted multiplied, and the product is used as the response delay of the SMS sending node when processing the sending task of the selected SMS. In addition, in other embodiments, other calculation methods can be used to calculate the response delay, which is not limited here. In the weighted multiplication process, the weights of the task length and the node resource load are set to 0.32 and 0.68 respectively. In addition, in other embodiments, it can also be set according to actual needs, which is not limited here.
[0064] It should be noted that the response delay in this application represents the time measurement from the start of the SMS distribution system to process the sending task to the completion of the processing and generation of the end response signal. By determining the response delay, it is helpful to improve the system's responsiveness in a high-concurrency environment, thereby improving the efficiency of the entire system.
[0065] In step 103, the resource occupancy rate of the SMS sending node when executing the SMS sending task is determined based on all resource loads, and the performance time limit of the SMS sending node when completing the SMS distribution task is determined based on all response delays.
[0066] In some embodiments, reference Figure 2 As shown, this figure is an exemplary flow chart of determining the resource occupancy rate of a text message sending node when performing a text message sending task according to some embodiments of the present application. In this embodiment, determining the resource occupancy rate of a text message sending node when performing a text message sending task based on all resource loads can be implemented by the following steps:
[0067] First, in step 1031, the memory usage of each SMS message in the SMS sending node is obtained;
[0068] Then, in step 1032, a comprehensive impact assessment is performed on each resource load through all memory usage to obtain a comprehensive load factor when processing each SMS message;
[0069] Finally, in step 1033, the resource occupancy rate of the SMS sending node when executing the SMS sending task is determined based on all the comprehensive load factors.
[0070] In specific implementation, the memory usage of each SMS in the SMS sending node can be obtained from the SMS distribution database through Python's memory acquisition function. In addition, in other embodiments, other methods can be used to obtain the memory usage of each SMS in the SMS sending node, which is not limited here.
[0071] It should be noted that the memory usage in this embodiment represents the memory usage used to store the actual content of the SMS during the processing and sending of the SMS. Obtaining the memory usage is helpful for understanding and analyzing the overall performance of the SMS distribution system.
[0072] In specific implementation, a comprehensive impact assessment is performed on each resource load through all memory usage to obtain a comprehensive load factor for processing each text message, that is, a weight is assigned to the resource load of each text message according to the memory usage of each text message, each resource load is multiplied by the corresponding weight, and the product result is used as the comprehensive load factor for processing the text message, thereby obtaining the comprehensive load factor for processing each text message, wherein a weight is assigned to the resource load of each text message according to the memory usage of each text message, for example, the larger the memory usage of the text message, the higher the weight of the resource load of the text message is set, and vice versa. The specific weight can be set between 0 and 1 according to actual application requirements, and is not limited here.
[0073] It should be noted that the comprehensive load factor in this embodiment represents a comprehensive load indicator during SMS distribution. Determining the comprehensive load factor is helpful to fully understand the performance of the system under multiple loads, thereby performing effective resource management and optimization.
[0074] In specific implementation, the resource occupancy rate of the SMS sending node when performing the SMS sending task is determined based on all comprehensive load factors, that is: the amount of SMS sending tasks performed by the SMS sending node in the SMS distribution process is counted through the counter mechanism of the SMS distribution system, and the ratio of the accumulated sum of all comprehensive load factors to the amount of SMS sending tasks is used as the resource occupancy rate of the SMS sending node when performing the SMS sending task. In addition, in other embodiments, other calculation methods can also be used to calculate the resource occupancy rate, which is not limited here.
[0075] It should be noted that the resource occupancy rate in the present application represents a measure of the degree of system resource utilization of the SMS sending node when processing and sending SMS. The greater the resource occupancy rate, the higher the degree of system resource utilization of the SMS sending node when processing and sending SMS. The lower the resource occupancy rate, the lower the degree of system resource utilization of the SMS sending node when processing and sending SMS. Determining the resource occupancy rate is helpful in understanding and optimizing the utilization efficiency of the SMS distribution system resources, thereby improving the overall processing performance.
[0076] It should be noted that, in the present application, one text message corresponds to one response delay, and one text message also corresponds to one text message sending task, therefore, one response delay corresponds to one text message sending task.
[0077] In some embodiments, the following method can be used to determine the performance time of the SMS sending node when completing the SMS distribution task based on all response delays, namely:
[0078] Extract multiple compliant SMS tasks under the SMS sending node based on each response delay;
[0079] Determine the time limit for the SMS sending node to complete the SMS distribution task based on all compliant SMS tasks.
[0080] In the specific implementation, multiple compliant SMS tasks under the SMS sending node are extracted based on each response delay, that is: a preset delay threshold is obtained, each response delay is compared with the preset delay threshold, all response delays less than the preset delay threshold are extracted, and the SMS sending tasks corresponding to each extracted response delay are used as compliant SMS tasks, thereby obtaining multiple compliant SMS tasks.
[0081] It should be noted that the preset delay threshold in this embodiment represents a compliance expected value for SMS delivery time set in advance by the SMS distribution system according to user needs. The size of the preset delay threshold can be set according to actual application conditions and is not limited here.
[0082] It should also be noted that in this embodiment, the compliant SMS task refers to the SMS sending task whose processing time meets the system expectations in the SMS distribution system. By determining the compliant SMS task, the reliability of the entire system can be understood, thereby optimizing the system and improving user satisfaction.
[0083] In specific implementation, the performance time limit when the SMS sending node completes the SMS distribution task is determined based on all compliant SMS tasks, that is: the amount of SMS sending tasks executed by the SMS sending node in the SMS distribution process is obtained, and the ratio of the total number of compliant SMS tasks to the amount of SMS sending tasks completed by the SMS sending node is used as the performance time limit when the SMS sending node completes the SMS distribution task. In addition, in other embodiments, other calculation methods can also be used to calculate the performance time limit, which is not limited here.
[0084] It should be noted that the fulfillment time limit in this application refers to the proportion of SMS sending tasks that meet the preset timeliness requirements in the SMS distribution system to the total SMS sending tasks. The fulfillment time limit reflects the effectiveness and timeliness of the SMS distribution system when distributing SMS. By determining the fulfillment time limit, the processing capacity and response speed of the SMS distribution system can be grasped, so as to identify and optimize timeliness issues, thereby improving the distribution efficiency of the overall system and enhancing user trust and satisfaction.
[0085] In step 104, the system loss of the SMS sending node when providing the SMS distribution service is determined according to the resource occupancy rate and the performance time limit, and then the system loss of each SMS sending node when providing the SMS distribution service is obtained.
[0086] In some embodiments, reference Figure 3 As shown in the figure, this figure is an exemplary flow chart of determining the system loss of the SMS sending node when providing the SMS distribution service according to some embodiments of the present application. In this embodiment, the system loss of the SMS sending node when providing the SMS distribution service according to the resource occupancy rate and the performance time can be implemented by the following steps:
[0087] First, in step 1041, the energy efficiency fluctuation amount when the SMS sending node performs the distribution task is extracted from the resource occupancy rate;
[0088] Then, in step 1042, the time stability when the SMS sending node completes the distribution task is extracted from the performance time;
[0089] Finally, in step 1043, an energy efficiency loss analysis is performed on the SMS sending node based on the energy efficiency fluctuation and the time stability to obtain the system loss of the SMS sending node when providing SMS distribution service.
[0090] In specific implementation, the energy efficiency fluctuation amount when the SMS sending node performs the distribution task is extracted from the resource occupancy rate, that is: the resource occupancy rate of each SMS sending node is obtained, the resource occupancy rate of the current SMS sending node is selected as the selected resource occupancy rate, the overhead rate mean and the overhead rate standard deviation of all resource occupancy rates are calculated, the selected resource occupancy rate is subtracted from the overhead rate mean, and the ratio of the difference result to the overhead rate standard deviation is taken as the energy efficiency fluctuation amount when the SMS sending node performs the distribution task. In addition, in other embodiments, other calculation methods can also be used to calculate the energy efficiency fluctuation amount, which is not limited here.
[0091] It should be noted that the energy efficiency fluctuation amount in this embodiment represents the degree of fluctuation in the resource utilization rate of the SMS distribution system during operation. By determining the energy efficiency fluctuation amount, the energy efficiency stability and consistency of the SMS distribution system under different operating conditions can be effectively reflected, thereby optimizing and adjusting the SMS distribution system according to the energy efficiency fluctuation amount.
[0092] In specific implementation, the performance time limit is used to extract the time limit stability when the SMS sending node completes the distribution task, that is: the performance time limit of each SMS sending node is obtained, the performance time limit of the current SMS sending node is selected as the selected performance time limit, the maximum performance time limit and the minimum performance time limit are extracted, and the time limit average of all performance time limits is calculated, the selected performance time limit is subtracted from the difference between the maximum performance time limit and the minimum performance time limit, and the ratio of the difference result to the time limit average is used as the time limit stability when the SMS sending node completes the distribution task. In addition, in other embodiments, other calculation methods can also be used to calculate the time limit stability, which is not limited here.
[0093] It should be noted that the timeliness stability in this embodiment refers to the ability of the SMS sending node of the SMS distribution system to continuously maintain and achieve the predetermined timeliness standard when processing SMS distribution tasks. By determining the timeliness stability, it can be beneficial to the stability of the SMS distribution system in the long-term operation, thereby optimizing the load balancing strategy of the entire system based on the analysis results of the timeliness stability.
[0094] In specific implementation, energy efficiency analysis of the SMS sending node is performed based on the energy efficiency fluctuation and the time stability, and the system loss of the SMS sending node when providing SMS distribution service is obtained, that is, the energy efficiency fluctuation and the time stability are weightedly summed, and the weighted summation result is used as the system loss of the SMS sending node when providing SMS distribution service. The specific weight allocation can be set between 0 and 1 according to actual application requirements. For example, the weights of the energy efficiency fluctuation and the time stability in this application are set to 0.52 and 0.48, respectively, which are not limited here. In addition, in other embodiments, other calculation methods can be used to calculate the system loss, which are not limited here.
[0095] It should be noted that, in the present application, the system loss is a measure of the node performance loss of the SMS sending node when actually distributing SMS. The greater the system loss, the higher the node performance loss of the SMS sending node when actually distributing SMS, which means that the SMS sending node is less suitable for actual scenarios requiring high efficiency and reliability. The lower the system loss, the lower the node performance loss of the SMS sending node when actually distributing SMS, which means that the SMS sending node is suitable for actual scenarios requiring high efficiency and reliability. By determining the system loss, the operating performance of the SMS sending node can be comprehensively evaluated, and the SMS distribution system can be optimized based on the evaluation results, thereby improving the overall energy efficiency and timeliness of the system.
[0096] In specific implementation, the system loss of each SMS sending node when providing SMS distribution service is determined by the implementation method of "determining the system loss of the SMS sending node when providing SMS distribution service according to the resource occupancy rate and the performance time limit".
[0097] In step 105, multiple SMS sending nodes are extracted from all SMS sending nodes as refresh reference points based on the losses of each system, and the remaining SMS sending nodes are refreshed according to the refresh trend values of each refresh reference point, and then the SMS are distributed and scheduled according to all the refreshed SMS sending nodes.
[0098] In some embodiments, the following method may be used to extract multiple SMS sending nodes from all SMS sending nodes as refresh reference points based on the loss of each system, namely:
[0099] Determine the performance characteristics of the SMS distribution system based on all system losses;
[0100] A plurality of SMS sending nodes are extracted from all SMS sending nodes as refresh reference points according to the performance characteristic index.
[0101] In specific implementation, the performance characteristic index of the SMS distribution system is determined based on all system losses, that is, the mean of all system losses is calculated, and the mean calculation result is used as the performance characteristic index of the SMS distribution system. In addition, in other embodiments, other calculation methods can also be used to calculate the performance characteristic index, which is not limited here.
[0102] It should be noted that the performance characteristic index in this embodiment represents a comprehensive index used to measure and evaluate the performance of the SMS distribution system when facing a large number of SMS sending tasks under actual operating conditions. By determining the performance characteristic index, it is helpful to understand the system's operating capacity, efficiency, reliability and responsiveness, thereby performing performance optimization and decision correction.
[0103] In the specific implementation, multiple SMS sending nodes are extracted from all SMS sending nodes as refresh reference points according to the performance characteristic index, that is: the system loss of each SMS sending node is compared with the performance characteristic index, all system losses greater than the performance characteristic index are extracted, and the SMS sending nodes corresponding to each extracted system loss are used as refresh reference points, thereby obtaining multiple refresh reference points.
[0104] It should be noted that when the system loss of the SMS sending node is less than the performance characteristic index, it means that the performance of the SMS sending node in actual operation is good and the energy efficiency is stable. When the system loss of the SMS sending node is greater than the performance characteristic index, it means that the performance of the SMS sending node in actual operation is poor and the energy efficiency is unstable, and no processing is performed.
[0105] It should be noted that the refresh reference point in the present application refers to the reference point used by the SMS distribution system to update the search strategy and guide the search direction when searching for the target SMS sending node with the best performance. Extracting multiple refresh reference points is helpful in providing additional different reference points, making the search process more divergent, thereby avoiding the SMS distribution system from falling into a local search dead loop.
[0106] In some embodiments, the following method may be used to perform node refresh on the remaining SMS sending nodes according to the refresh trend value of each refresh reference point, namely:
[0107] Get the remaining SMS sending nodes;
[0108] Select one of the remaining SMS sending nodes as the selected SMS sending node;
[0109] Determine the refresh trend value of each refresh reference point for the selected SMS sending node;
[0110] The position of the selected SMS sending node is updated according to all the refresh trend values to obtain the refreshed SMS sending node corresponding to the selected SMS sending node;
[0111] Continue to update the positions of the remaining SMS sending nodes to obtain the refreshed SMS sending nodes corresponding to the remaining SMS sending nodes;
[0112] Then complete the node refresh of the remaining SMS sending nodes.
[0113] In specific implementation, the remaining SMS sending nodes may be obtained through the SMS distribution database, where the remaining SMS sending nodes represent all remaining SMS sending nodes except the refresh reference point among all SMS sending nodes.
[0114] In the specific implementation, the refresh trend value of each refresh reference point for the selected SMS sending node is determined, that is: the Euclidean distance between each refresh reference point and the selected SMS sending node is calculated respectively, and the Euclidean distance calculation result is used as the refresh trend value of the refresh reference point for the selected SMS sending node, thereby obtaining the refresh trend value of each refresh reference point for the selected SMS sending node. In addition, in other embodiments, other calculation methods can also be used to calculate the refresh trend value, which is not limited here.
[0115] It should be noted that the refresh trend value in the present application represents the distance difference between the spatial position of the refresh reference point and the SMS sending node. It should also be noted that the calculation of the Euclidean distance is an existing technology for data analysis and will not be repeated here. Therefore, by determining the refresh trend value, it is helpful to guide the optimization update of the nodes and the adjustment of the refresh strategy in the SMS distribution system.
[0116] In some embodiments, the location of the selected SMS sending node is updated according to all the refresh trend values, and the refreshed SMS sending node corresponding to the selected SMS sending node can be obtained in the following manner, namely:
[0117] Get the step coefficient of each refresh trend value;
[0118] Determine the distance compensation factor when updating the position of the selected SMS sending node based on each refresh trend value and the corresponding step coefficient, and then obtain multiple distance compensation factors;
[0119] The distance of the selected SMS sending node is refreshed according to all the distance compensation factors to obtain a refreshed SMS sending node corresponding to the selected SMS sending node.
[0120] In specific implementation, the step coefficient of each refresh trend value can be obtained through a random number generation function. The random number generation function is an existing technology for data analysis and will not be described here. The random number generation function can generate a random number between 0 and 1, and the generated random number is used as the step coefficient of the refresh trend value. The step coefficient represents a parameter used to control the search range of the SMS distribution system when searching for the target SMS sending node.
[0121] In specific implementation, the distance compensation factor for updating the position of the selected SMS sending node is determined based on each refresh trend value and the corresponding step coefficient, that is, each refresh trend value is multiplied by the corresponding step coefficient, and the product is used as the distance compensation factor for updating the position of the selected SMS sending node. In addition, in other embodiments, other calculation methods can also be used to calculate the distance compensation factor, which is not limited here.
[0122] It should be noted that the distance compensation factor in this embodiment represents a control parameter used to adjust the update step when updating the location of the SMS sending node. By determining the distance compensation factor, the movement of the refreshed SMS sending node in the search space can be controlled, thereby ensuring the effectiveness and stability of the update.
[0123] In specific implementation, the distance of the selected SMS sending node is refreshed according to all the distance compensation factors to obtain the refreshed SMS sending node corresponding to the selected SMS sending node, that is: the spatial position parameter of the selected SMS sending node is obtained, the spatial position parameter and all the distance compensation factors are accumulated, and the accumulated result is used as the position refresh parameter of the selected SMS sending node, and the position of the selected SMS sending node is refreshed according to the position refresh parameter to obtain the SMS sending node corresponding to the refreshed selected SMS sending node.
[0124] In specific implementation, the spatial position parameters of the selected SMS sending node can be obtained through base station positioning technology. The base station positioning technology represents an existing technology for determining the spatial position of the SMS sending node based on the position of the mobile network base station to which the SMS sending node belongs, which will not be described in detail here.
[0125] In specific implementation, the position of the selected SMS sending node is refreshed by the position refresh parameter, that is, the position refresh parameter is used as the new spatial position parameter of the selected SMS sending node, and the new spatial position parameter can represent the result of distance refresh of the selected SMS sending node.
[0126] It should be noted that the spatial position parameter in this embodiment represents the position of the selected SMS sending node in the spatial network topology of the SMS distribution system. It should also be noted that the refreshed SMS sending node in this embodiment represents the SMS sending node after status update and position update. The refreshed SMS sending node can reflect the latest working status of the SMS sending node after completing the previous SMS sending task, and is used for adjusting the sending strategy of subsequent SMS in the SMS distribution system.
[0127] In some embodiments, the following method may be used to dispatch and schedule SMS messages according to all refreshed SMS sending nodes, namely:
[0128] Get the new incoming SMS information to be sent;
[0129] Performing a fitness response on each refreshed SMS sending node based on the SMS information to obtain the sending fitness of each refreshed SMS sending node;
[0130] Extract the target task node according to the sending fitness of each refreshed SMS sending node;
[0131] The newly-incoming SMS is sent via the target task node.
[0132] In specific implementation, the SMS information of the new SMS can be obtained through the SMS distribution database. The SMS information represents the specific information of the new SMS just received by the SMS distribution system. The SMS information includes the SMS content, memory size, and SMS ID representing the new SMS. In addition, in other embodiments, the SMS information may also include other data content, which is not limited here.
[0133] In a specific implementation, a fitness response is performed on each refreshed SMS sending node based on the SMS information to obtain the sending fitness of each refreshed SMS sending node, that is: a refreshed SMS sending node is selected as the SMS sending node to be responded to, a pre-trained neural network model is obtained, the SMS information and the SMS sending node to be responded to are input as input variables into the pre-trained neural network model to obtain the sending fitness of the SMS sending node to be responded to, and the sending fitness of the remaining refreshed SMS sending nodes is continued to be determined, thereby obtaining the sending fitness of each refreshed SMS sending node.
[0134] It should be noted that the pre-trained neural network model in this embodiment is obtained by training a large amount of historical SMS data as training samples. The multi-layer perception model is selected in this embodiment, which will not be repeated here. In addition, in other embodiments, other neural network models can also be used, such as convolutional neural network models, long short-term memory network models, etc., which are not limited here.
[0135] It should also be noted that in this embodiment, the sending fitness represents the adaptability of the refreshed SMS sending node to the SMS sending task. These adaptabilities can be characterized by the processing capability, response time, and stability of the refreshed SMS sending node. The higher the sending fitness, the higher the reliability of the refreshed SMS sending node in completing the sending task of new SMS, and the more it can ensure the efficient and stable operation of the SMS distribution system. The lower the sending fitness, the lower the reliability of the refreshed SMS sending node in completing the sending task of new SMS, and the efficient and stable operation of the SMS distribution system cannot be ensured.
[0136] In specific implementation, the target task node is extracted according to the sending fitness of each refreshed SMS sending node, that is, the highest sending fitness is extracted from all sending fitnesses, and the refreshed SMS sending node corresponding to the sending fitness is used as the target task node.
[0137] It should be noted that, in this embodiment, the target task node represents the node selected by the SMS distribution system to perform the SMS distribution task when the SMS is sent. Determining the target task node is helpful to ensure the efficient and stable operation of the SMS distribution system.
[0138] In specific implementation, the new incoming text messages are sent through the target task node, that is, the distribution task of the new incoming text messages is assigned to the target task node, and the target task node distributes the new incoming text messages to the target recipient or the next text message sending node, thereby achieving efficient distribution of the new incoming text messages at the target task node.
[0139] In addition, in another aspect of the present application, in some embodiments, the present application provides a 5G-based SMS efficient distribution system, referring to Figure 4 , which is a structural schematic diagram of a 5G-based efficient SMS distribution system according to some embodiments of the present application. The 5G-based efficient SMS distribution system 200 includes: a starting module 201, a processing module 202 and an execution module 203, which are described as follows:
[0140] The startup module 201 in this application is mainly used to start the 5G SMS distribution system, which includes multiple SMS sending nodes and reads the distribution records under each SMS sending node;
[0141] Processing module 202, in this application, processing module 202 is mainly used for extracting the resource load and response delay of the SMS sending node when processing the sending task of each SMS from the distribution record under the SMS sending node for each SMS sending node;
[0142] The processing module 202 is further used to determine the resource occupancy rate of the SMS sending node when executing the SMS sending task based on all resource loads, and determine the performance time limit when the SMS sending node completes the SMS distribution task based on all response delays;
[0143] In addition, the processing module 202 is further used to determine the system loss of the SMS sending node when providing the SMS distribution service according to the resource occupancy rate and the performance time, and then obtain the system loss of each SMS sending node when providing the SMS distribution service;
[0144] Execution module 203. In the present application, execution module 203 is mainly used to extract multiple SMS sending nodes from all SMS sending nodes as refresh reference points based on the losses of each system, and perform node refresh on the remaining SMS sending nodes according to the refresh trend value of each refresh reference point, and then distribute and schedule SMS according to all refreshed SMS sending nodes.
[0145] In addition, the present application also provides a computer device, which includes a memory and a processor, the memory stores code, and the processor is configured to obtain the code and execute the above-mentioned 5G-based efficient SMS distribution method.
[0146] In some embodiments, reference Figure 5, which is a schematic diagram of the structure of a computer device using a 5G-based efficient SMS distribution method according to some embodiments of the present application. The 5G-based efficient SMS distribution method in the above embodiment can be Figure 5 The computer device 300 shown in the figure is implemented, and the computer device 300 includes at least one processor 301, a communication bus 302, a memory 303 and at least one communication interface 304.
[0147] Processor 301 can be a general-purpose central processing unit (CPU), or an application-specific integrated circuit (ASIC) or one or more for controlling the execution of the efficient 5G-based SMS distribution method in the present application.
[0148] The communication bus 302 may be used to transmit information between the above-mentioned components.
[0149] The memory 303 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 303 may exist independently and be connected to the processor 301 via the communication bus 302. The memory 303 may also be integrated with the processor 301.
[0150] Among them, the memory 303 is used to store the program code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the program code stored in the memory 303. The program code may include one or more software modules. The determination of the efficient distribution method of short messages based on 5G in the above embodiment can be implemented by the processor 301 and one or more software modules in the program code in the memory 303.
[0151] The communication interface 304 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
[0152] In a specific implementation, as an embodiment, a computer device may include multiple processors, each of which may be a single-CPU processor or a multi-CPU processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0153] The above-mentioned computer device may be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device or an embedded device. The embodiment of the present application does not limit the type of computer device.
[0154] In addition, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned 5G-based efficient SMS distribution method.
[0155] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0156] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A 5G-based SMS efficient distribution method, characterized in that: The steps include: Starting a 5G SMS distribution system, wherein the 5G SMS distribution system includes multiple SMS sending nodes, and reading distribution records under each SMS sending node; For each SMS sending node, extract the resource load and response delay of the SMS sending node when processing the sending task of each SMS from the distribution record under the SMS sending node; Determine the resource occupancy rate of the SMS sending node when executing the SMS sending task based on all resource loads, and determine the performance time limit when the SMS sending node completes the SMS distribution task based on all response delays, wherein the performance time limit represents the proportion of SMS sending tasks that meet the preset time limit requirements in the SMS distribution system to the total SMS sending tasks; Determine the system loss of the SMS sending node when providing the SMS distribution service according to the resource occupancy rate and the performance time limit, and then obtain the system loss of each SMS sending node when providing the SMS distribution service; Extract multiple SMS sending nodes from all SMS sending nodes as refresh reference points based on the losses of each system. The refresh reference points represent reference points used by the SMS distribution system to update the search strategy and guide the search direction when searching for the target SMS sending node with the best performance. Perform node refresh on the remaining SMS sending nodes according to the refresh trend value of each refresh reference point, and then dispatch and schedule SMS according to all the refreshed SMS sending nodes. Wherein, determining the system loss of the SMS sending node when providing the SMS distribution service according to the resource occupancy rate and the performance time limit specifically includes: Extracting the energy efficiency fluctuation amount when the SMS sending node performs the distribution task from the resource occupancy rate; The time stability when the SMS sending node completes the distribution task is extracted from the performance time; Based on the energy efficiency fluctuation and the time stability, an energy efficiency loss analysis is performed on the SMS sending node to obtain the system loss of the SMS sending node when providing SMS distribution service; Among them, the performance time of the SMS sending node when completing the SMS distribution task based on all response delays specifically includes: Extract multiple compliant SMS tasks under the SMS sending node based on each response delay; Determine the performance time limit for the SMS sending node to complete the SMS distribution task based on all compliant SMS tasks; Among them, extracting multiple SMS sending nodes from all SMS sending nodes as refresh reference points based on the losses of each system specifically includes: Determine the performance characteristics of the SMS distribution system based on all system losses; Extracting a plurality of SMS sending nodes from all SMS sending nodes as refresh reference points according to the performance characteristic index; Among them, the resource occupancy rate of each SMS sending node is obtained, the resource occupancy rate of the current SMS sending node is selected as the selected resource occupancy rate, the overhead rate mean and the overhead rate standard deviation of all resource occupancy rates are calculated, the selected resource occupancy rate is subtracted from the overhead rate mean, and the ratio of the difference result to the overhead rate standard deviation is used as the energy efficiency fluctuation amount when the SMS sending node performs the distribution task; Among them, the performance time limit of each SMS sending node is obtained, the performance time limit of the current SMS sending node is selected as the selected performance time limit, the maximum performance time limit and the minimum performance time limit are extracted, and the time limit average of all performance time limits is calculated, and the selected performance time limit is subtracted from the difference between the maximum performance time limit and the minimum performance time limit, and the ratio of the difference result to the time limit average is used as the time limit stability when the SMS sending node completes the distribution task.
2. The method according to claim 1, characterized in that The resource load and response delay of the SMS sending node when processing the sending task of each SMS message are extracted from the distribution record under the SMS sending node, including: Selecting a text message in the distribution record as a selected text message; Extracting the processing resource allocation, task length and node resource load from the distribution information corresponding to the selected SMS; Determine the resource load of the SMS sending node when performing a sending task processing on the selected SMS based on the processing resource allocation amount and the node resource load amount; Determine the response delay of the SMS sending node when processing the sending task for the selected SMS based on the task length and the node resource load; Continue to determine the resource load and response delay of the SMS sending node when processing the sending task of the remaining SMS in the distribution record, and then obtain the resource load and response delay of the SMS sending node when processing the sending task of each SMS.
3. The method according to claim 1, characterized in that Determining the resource usage of the SMS sending node when executing the SMS sending task based on all resource loads specifically includes: Get the memory usage of each SMS in the SMS sending node; The comprehensive impact of each resource load is evaluated through all memory usage, and the comprehensive load factor when processing each SMS is obtained; The resource occupancy rate of the SMS sending node when performing the SMS sending task is determined based on all comprehensive load factors.
4. The method according to claim 1, characterized in that The 5G SMS distribution system is a 5G rich media message distribution system.
5. A 5G-based SMS efficient distribution system, which uses the method described in any one of claims 1 to 4 to distribute SMS, characterized in that: The system includes: A startup module, used to start a 5G SMS distribution system, wherein the 5G SMS distribution system includes multiple SMS sending nodes, and reads the distribution records under each SMS sending node; A processing module, for extracting, from the distribution record under each SMS sending node, the resource load and response delay of the SMS sending node when processing the sending task of each SMS; The processing module is further used to determine the resource occupancy rate of the SMS sending node when executing the SMS sending task based on all resource loads, and to determine the performance time limit when the SMS sending node completes the SMS distribution task based on all response delays; The processing module is further used to determine the system loss of the SMS sending node when providing the SMS distribution service according to the resource occupancy rate and the performance time limit, and then obtain the system loss of each SMS sending node when providing the SMS distribution service; The execution module is used to extract multiple SMS sending nodes from all SMS sending nodes as refresh reference points based on the losses of each system, refresh the remaining SMS sending nodes according to the refresh trend values of each refresh reference point, and then distribute and schedule SMS according to all refreshed SMS sending nodes.
6. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a code, and the processor is configured to obtain the code and execute the 5G-based efficient SMS distribution method as described in any one of claims 1 to 4.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the efficient 5G-based SMS distribution method as described in any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Short message sending method and device, equipment, storage medium and program product
CN118678306A
Resource allocation method and related product
WO2019042294A1