A method and device for processing SMS node coordination under high throughput
By monitoring and optimizing the status of SMS processing nodes in the SMS center, intelligently scheduling and allocating SMS sending tasks, it solves the problems of slow processing speed and insufficient concurrent processing capabilities of traditional systems under high throughput, and achieves more efficient SMS processing. .
Patent Information
- Application Number
- CN202410897508.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-05
AI Technical Summary
Traditional SMS processing systems have slow processing speeds and insufficient concurrent processing capabilities in high-throughput scenarios, making it difficult to meet the needs of efficient SMS services in the modern communications field.
By receiving a set of SMS messages at the receiving node in the SMS center, collecting characteristic information, monitoring throughput, deciding the balance requirement threshold, optimally allocating it to multiple sending nodes, and conducting overall analysis of the sending order based on the receiving device characteristic information and transit time to achieve intelligent sequencing. Send processing.
It improves the SMS processing speed and concurrent processing capabilities, solves the processing bottleneck of traditional systems under high throughput, and achieves more efficient SMS throughput processing.
Smart Images

Figure CN118450342B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a method and device for processing short message node coordination under high throughput. Background Art
[0002] With the rapid development of mobile communication technology and the popularization of smart phones, SMS, as an important communication method, has seen explosive growth in its application scope and demand. Especially in the fields of business promotion, identity authentication, emergency notification, etc., SMS has become an indispensable means of information transmission with its high efficiency, convenience and security.
[0003] However, with the increasing demand for SMS services, traditional SMS processing systems are facing huge challenges. Especially in high-throughput scenarios, such as holiday promotions, large-scale event notifications, etc., the number of SMS messages sent has increased dramatically, which has brought great pressure to the SMS processing system. Traditional SMS processing methods often have problems such as slow processing speed and insufficient concurrent processing capabilities, which are difficult to meet the demand for efficient SMS services in the modern communication field. Summary of the invention
[0004] The present application provides a method and device for coordinating SMS nodes under high throughput, which is used to solve the technical problems of slow processing speed and insufficient concurrent processing capability in the prior art.
[0005] In view of the above problems, the present application provides a method and device for coordinating SMS nodes under high throughput.
[0006] In a first aspect of the present application, a method for processing SMS node coordination under high throughput is provided, the method comprising:
[0007] A set of short messages sent by multiple sending users is received through a receiving node in a short message center, and a set of short message feature information, as well as multiple sending user feature information and multiple receiving user feature information of multiple sending users and multiple receiving users are collected and obtained; the throughput of the receiving node and multiple sending nodes in the short message center in the current time is monitored and obtained, throughput information is obtained, and a decision is made to obtain a threshold value of the sending balance requirement; the short message set is optimally distributed to the multiple sending nodes based on the constraint of satisfying the threshold value of the balance requirement; multiple receiving device feature information of the receiving devices of the multiple receiving users is collected, wherein each receiving device feature information includes device network information and device power information; the receiving device feature information is corrected according to the device network information and device power information in each receiving device feature information to obtain multiple corrected device feature information; the sending order is comprehensively analyzed in combination with the multiple corrected device feature information, multiple sending user feature information, multiple receiving user feature information, and a set of short message feature information, and in combination with the transit time of multiple short message sets to be sent in the multiple sending nodes, to obtain multiple sending priority sets; and the short messages are sorted and sent in the multiple sending nodes according to the multiple sending priority sets.
[0008] A second aspect of the present application provides a device for processing SMS node coordination under high throughput, the device comprising:
[0009] A short message set receiving module, which receives short message sets sent by multiple sending users through a receiving node in a short message center, and collects and obtains a short message feature information set, as well as multiple sending user feature information and multiple receiving user feature information of multiple sending users and multiple receiving users; a throughput information obtaining module, which monitors and obtains the throughput of a receiving node and multiple sending nodes in a short message center within a current time, obtains throughput information, and makes a decision to obtain a sending balance requirement threshold; an optimization allocation module, which optimizes and allocates the short message set to the multiple sending nodes based on the constraint of satisfying the balance requirement threshold; a receiving device feature information collection module, which collects multiple receiving device feature information of the receiving devices of the multiple receiving users Information, wherein each receiving device characteristic information includes device network information and device power information; a correction processing module, the correction processing module performs correction processing on the receiving device characteristic information according to the device network information and device power information in each receiving device characteristic information, and obtains multiple corrected device characteristic information; a sending order overall analysis module, the sending order overall analysis module combines the multiple corrected device characteristic information, multiple sending user characteristic information, multiple receiving user characteristic information, and SMS characteristic information sets, and combines the transit time of multiple SMS sets to be sent in the multiple sending nodes, and performs sending order overall analysis to obtain multiple sending priority sets; a sorting sending processing module, the sorting sending processing module sorts and sends SMS in the multiple sending nodes according to the multiple sending priority sets.
[0010] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0011] The present application receives a set of short messages sent by multiple sending users through a receiving node in a short message center, and collects and obtains a set of short message feature information, as well as multiple sending user feature information and multiple receiving user feature information of multiple sending users and multiple receiving users; monitors and obtains the throughput of the receiving node and multiple sending nodes in the short message center in the current time, obtains throughput information, and decides to obtain a threshold value of the sending balance requirement; optimizes and distributes the short message set to multiple sending nodes based on the constraint of meeting the threshold value of the balance requirement; collects multiple receiving device feature information of receiving devices of multiple receiving users, wherein each receiving device feature information includes device network information and device power information; corrects the receiving device feature information according to the device network information and device power information in each receiving device feature information, and obtains multiple corrected device feature information; combines multiple corrected device feature information, multiple sending user feature information, multiple receiving user feature information, and a set of short message feature information, and combines the transit time of multiple short message sets to be sent in multiple sending nodes, and performs a comprehensive analysis of the sending order to obtain multiple sending priority sets; and sorts and sends the short messages in multiple sending nodes according to the multiple sending priority sets. The present invention solves the technical problems of slow processing speed and insufficient concurrent processing capability in the prior art, and achieves the technical effect of improving the processing speed and concurrent processing capability of SMS throughput by real-time monitoring of the status of SMS processing nodes and intelligent scheduling and allocation of SMS sending tasks. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0013] Figure 1 A schematic diagram of a process flow of a method for coordinating SMS nodes under high throughput provided in an embodiment of the present application;
[0014] Figure 2 A schematic diagram of the structure of a processing device for coordinating SMS nodes at high throughput provided in an embodiment of the present application.
[0015] Explanation of the reference numerals: SMS collection receiving module 11, throughput information obtaining module 12, optimization allocation module 13, receiving device characteristic information collecting module 14, correction processing module 15, sending order overall analysis module 16, sorting and sending processing module 17. DETAILED DESCRIPTION
[0016] The present application provides a method and device for coordinating SMS nodes under high throughput, aiming to solve the technical problems of slow processing speed and insufficient concurrent processing capability in the prior art. By real-time monitoring of the status of SMS processing nodes, intelligent scheduling and allocation of SMS sending tasks, the technical effect of improving the processing speed and concurrent processing capability of SMS throughput is achieved.
[0017] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0018] It should be noted that any variations of the terms "include" and "have" are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or modules that are not explicitly listed or inherent to these processes, methods, products or devices. Example
[0019] like Figure 1 As shown, the present application provides a method for processing SMS node coordination under high throughput, the method comprising:
[0020] Step S100: receiving a set of short messages sent by multiple sending users through a receiving node in a short message center, and collecting a set of short message characteristic information, as well as multiple sending user characteristic information and multiple receiving user characteristic information of the multiple sending users and multiple receiving users.
[0021] In the embodiment of the present application, the receiving node receives the text messages sent by the sending user from the mobile network operator based on the SMS protocol or other related communication protocols, and organizes each received text message into a text message set.
[0022] For each received SMS, relevant feature information is collected to form a set of SMS feature information, including the length and format of the SMS.
[0023] When acquiring the SMS feature information set, the sending user feature information of the sending user is collected, including the user's account information, credit rating, payment status, etc. At the same time, the receiving user feature information of the receiving user is collected, including the user's account information, credit rating, payment status, etc. The account information includes the user level.
[0024] Step S200: Monitor and obtain the throughput of the receiving node and multiple sending nodes in the SMS center in the current time, obtain throughput information, and decide to obtain the sending balance requirement threshold.
[0025] In the embodiment of the present application, a monitoring tool or a custom script is used to collect the throughput data of the receiving node and the sending node in real time. These data include the number of short messages processed per second, the byte transmission rate, etc. Performance counters are deployed in the SMS center to record the throughput of the node in different time periods. The throughput information is obtained through the above process.
[0026] The sending balance requirement threshold for the number of text messages sent by multiple nodes is determined based on the current throughput. When the throughput is low, one node can meet the requirement, and the sending balance requirement threshold is low. When the throughput is high, multiple nodes must run evenly to meet the demand, and the sending balance requirement threshold is high. When deciding the sending balance requirement threshold, calculate the variance of the number of text messages sent by multiple sending nodes, and then calculate the inverse of the variance. The smaller the variance, the larger the sending balance parameter and the more balanced it is. The calculated inverse of the variance is used as the sending balance requirement threshold.
[0027] Step S300: optimizing and distributing the SMS set to the multiple sending nodes based on the constraint of satisfying the balance requirement threshold.
[0028] In the embodiment of the present application, the SMS set is randomly allocated to multiple sending nodes, and the initial load of each node is recorded. The load balancing parameter of each node is calculated. The balancing parameter is compared with the balancing requirement threshold obtained by the decision to determine whether the current allocation is appropriate. If the requirement is not met, the SMS set is reallocated and continuously optimized until the balancing requirement is met, and the SMS set is optimally allocated to multiple sending nodes.
[0029] Step S400: Collect multiple receiving device feature information of the receiving devices of the multiple receiving users, wherein each receiving device feature information includes device network information and device power information.
[0030] In an embodiment of the present application, when collecting characteristic information of multiple receiving devices of multiple receiving users, device network information and device power information are collected separately.
[0031] When collecting device network information, use the network status API to check the network connection status of the receiving device, such as connected, not connected, connected, etc. Use the signal strength API to obtain the network signal strength of the receiving device. Obtain the network speed of the device by sending and receiving small data packets.
[0032] When collecting device power information, use the battery status API to obtain the current power level and power status of the receiving device. The power level is expressed as a percentage, and the power status is divided into charging, discharging, and fully charged.
[0033] Step S500: Correct the receiving device characteristic information according to the device network information and the device power information in each receiving device characteristic information to obtain a plurality of corrected device characteristic information.
[0034] Furthermore, step S500 in the method provided in the application embodiment also includes:
[0035] Collect a set of sample device network information, and obtain a set of sample device power correction coefficients according to the convenience of power replenishment in the area where the device is located under different sample device network information, and construct a device power correction table; input multiple device network information in multiple receiving device characteristic information into the device power correction table, and obtain the device power correction coefficient by index; use the device power correction coefficient to correct the device power information to obtain corrected device power information, and combine the device network information to obtain corrected device characteristic information.
[0036] In the embodiment of the present application, the precise geographic information of the device location, such as longitude and latitude, city, region, etc., is obtained by integrating the GIS system. The network service provider's API is used to obtain the device's current network type, signal strength, network speed and other network information. Through this process, a sample device network information set is obtained.
[0037] Next, the convenience of power replenishment in the area where the equipment is located under different sample equipment network information is determined. In the central area of the city, charging facilities are dense and the convenience of power replenishment is high; in remote areas, charging facilities are scarce and the convenience of power replenishment is low.
[0038] Use regression analysis to determine the impact of network information and convenience of battery replenishment on device battery and generate correction coefficients. In this process, use linear regression analysis to establish a regression model with network type, signal strength, and convenience of battery replenishment as independent variables and device battery as dependent variable. Organize the collected sample data into a table, ensuring that each row represents a sample data point and the columns include network type, signal strength, convenience of battery replenishment, and device battery. Use statistical software such as Excel, R, or Python's statistical library to build a regression model. Run regression analysis to obtain the regression equation. The regression equation is = ,in is the regression coefficient, is the error term. Finally, according to the regression analysis results, the power correction coefficient under different conditions is calculated. A correction table is created in the database to record the correction coefficients under different network conditions and power replenishment convenience, and the equipment power correction table is constructed.
[0039] When receiving characteristic information of multiple devices, the network information of the devices is extracted, and the device power correction coefficient matching the information is quickly found in the device power correction table through database query and indexing technology.
[0040] The received device power information is multiplied by the corresponding power correction coefficient to obtain the corrected device power information. Finally, the corrected device power information is combined with the device network information to form the corrected device feature information.
[0041] Step S600: Combine the plurality of correction device characteristic information, the plurality of sending user characteristic information, the plurality of receiving user characteristic information, the SMS characteristic information set, and the transit time of the plurality of SMS sets to be sent in the plurality of sending nodes, perform a comprehensive analysis of the sending order, and obtain a plurality of sending priority sets.
[0042] Furthermore, step S600 in the method provided in the application embodiment also includes:
[0043] According to the multiple correction device characteristic information, multiple sending user characteristic information, multiple receiving user characteristic information, and SMS characteristic information sets, the correction device characteristic information, sending user characteristic information, receiving user characteristic information, SMS characteristic information and transit time of the SMS in the multiple SMS information sets to be sent within the multiple sending nodes are collected as multiple SMS information sets to be sent; and a comprehensive analysis of sending priorities is performed based on the multiple SMS information sets to be sent to obtain multiple sending priority sets.
[0044] In the embodiment of the present application, for each SMS to be sent, the calibration device characteristic information, sending user characteristic information, receiving user characteristic information and SMS characteristic information are collected. At the same time, the transit time of the SMS in the sending node is recorded, that is, the time interval from the receipt of the SMS to the preparation for sending the SMS.
[0045] Integrate multiple correction device characteristic information, multiple sending user characteristic information, multiple receiving user characteristic information, SMS characteristic information sets, and the correction device characteristic information, sending user characteristic information, receiving user characteristic information, SMS characteristic information and transfer time of SMS in multiple SMS sets to be sent in multiple sending nodes to form multiple SMS information sets to be sent.
[0046] Next, a comprehensive analysis of the sending priority is performed based on the set of SMS messages to be sent. When performing the comprehensive analysis, a sending comprehensive analyzer is constructed, and a priority is assigned to each SMS message through the sending comprehensive analyzer. Each SMS message to be sent is sorted by weighted calculation based on the obtained priority, forming multiple sending priority sets.
[0047] Furthermore, according to the plurality of SMS information sets to be sent, a sending priority order is comprehensively analyzed, and the method further comprises:
[0048] Based on the record data of SMS sending, collect sample correction device feature information set and sample device priority set, collect sample sending user feature information set, sample receiving user feature information set and user priority set, and collect sample SMS feature information set, sample transit time set and sample SMS priority set, respectively as the first coordinated data set, the second coordinated data set and the third coordinated data set; use the first coordinated data set, the second coordinated data set and the third coordinated data set to respectively train to obtain device priority analysis branch, user priority analysis branch and SMS priority analysis branch, and obtain a sending coordinated analyzer; based on the sending coordinated analyzer, perform a sending order coordinated analysis on the multiple SMS information sets to be sent, obtain multiple device priorities, user priorities and SMS priorities, and perform weighted calculation to obtain multiple sending priority sets of SMS in multiple sending nodes.
[0049] In an embodiment of the present application, a sample correction device feature information set and a sample device priority set are collected from the historical SMS sending record. The sample correction device feature information set includes device network information and corrected power information. The sample device priority set includes device priority. At the same time, a sample sending user feature information set, a sample receiving user feature information set and a user priority set are collected from the historical SMS sending record. The sample sending user feature information set includes the user's sending frequency, priority, historical sending behavior, etc. The sample receiving user feature information set includes the user's receiving frequency, priority, historical receiving behavior, etc. The user priority set includes user priority. Similarly, a sample SMS feature information set, a sample transit time set and a sample SMS priority set are collected from the historical SMS sending record. The sample SMS feature information set includes SMS size, type, urgency, etc. The sample transit time set includes the transit time of the SMS to be sent in each sending node. The sample SMS priority set includes SMS priority.
[0050] The sample calibration device feature information set and the sample device priority set are used as the first coordinated data set. The sample sending user feature information set, the sample receiving user feature information set and the user priority set are used as the second coordinated data set. The sample SMS feature information set, the sample transfer time set and the sample SMS priority set are used as the third coordinated data set.
[0051] The first coordinated data set, the second coordinated data set and the third coordinated data set are used to train the device priority analysis branch, the user priority analysis branch and the SMS priority analysis branch respectively. During training, the first coordinated data set is used to train the decision tree model, and the device priority analysis branch is obtained through training. The branch predicts the device priority based on the device characteristics. The first coordinated data set is used to train the decision tree model, and the user priority analysis branch is obtained through training. The branch determines the priority of the sending user and the receiving user. The third coordinated data set is used to train the decision tree model, and the SMS priority analysis branch is obtained through training. The branch is used to determine the priority of the SMS. The device priority analysis branch, user priority analysis branch and SMS priority analysis branch obtained through training are integrated to obtain a sending coordinated analyzer.
[0052] The plurality of SMS information sets to be sent are input into a sending coordination analyzer for comprehensive analysis of the sending order to obtain a plurality of device priorities, user priorities and SMS priorities, wherein the plurality of SMS information sets to be sent include the device, user and SMS feature information of the SMS to be sent.
[0053] According to the obtained device priority, user priority and SMS priority, a weighted calculation is performed through the weights pre-set by technical experts to obtain multiple SMS sending priority sets in multiple sending nodes. The weight of each priority is 30% for device priority, 40% for user priority and 30% for SMS priority.
[0054] Step S700: sorting and sending the short messages in the multiple sending nodes according to the multiple sending priority sets.
[0055] In the embodiment of the present application, the sending priority set is allocated to the corresponding sending node according to the processing capability, load condition or geographical location of the sending node, so as to ensure that each sending node can obtain one or more sending priority sets.
[0056] In each sending node, the SMS messages to be sent are sorted according to the assigned sending priority set. When sorting, the SMS messages are sorted from high to low according to the sending priority, ensuring that the SMS messages with high priority can be sent first.
[0057] During the SMS sending process, the performance of the sending node and the SMS sending status are monitored in real time. If the performance of a sending node is found to be degraded or the SMS sending delay is increased, the SMS sending order within the node is dynamically adjusted to give priority to those SMS with higher time and performance requirements.
[0058] The SMS messages are sent to the target recipients in sequence.
[0059] Furthermore, step S100 in the method provided in the application embodiment also includes:
[0060] A collection of short messages sent by multiple sending users is received through a receiving node in a short message center; size characteristic information and type characteristic information of each short message in the short message collection are collected to obtain a short message characteristic information collection; user level information of the multiple sending users and the multiple receiving users is collected as characteristic information of multiple sending users and characteristic information of multiple receiving users.
[0061] In the embodiment of the present application, a receiving node in a short message center receives short message sets from multiple sending users in real time. These short message sets contain short messages sent by the sending users to different receiving users.
[0062] For each received SMS, its size feature information and type feature information are collected. The SMS parsing technology is used to obtain the byte length or number of characters of the SMS. Through this process, a set of SMS feature information is obtained.
[0063] Through the existing user management system or database, the user level information of the sending user and the receiving user is collected. The user level, historical sending record, credibility and other information of the sending user are obtained from the user management system. The user level, activity, receiving preference and other information of the receiving user are also obtained from the user management system. Finally, the characteristic information of all the sending users and receiving users collected is respectively integrated into multiple sending user characteristic information sets and multiple receiving user characteristic information sets.
[0064] Furthermore, step S200 in the method provided in the application embodiment also includes:
[0065] Monitor and collect the SMS throughput of the receiving node and multiple sending nodes in the current time to obtain throughput information; collect a set of sample throughput information based on the control data record of the SMS center, and evaluate to obtain a set of sample sending balance requirement thresholds that do not affect the SMS sending efficiency, wherein each sample sending balance requirement threshold includes a balance threshold for the number of SMS sent in multiple sending nodes; use the sample throughput information set and the sample sending balance requirement threshold set to construct a balance coordination decision maker based on a decision tree; and use the balance coordination decision maker to make a comprehensive decision based on the throughput information to obtain a sending balance requirement threshold.
[0066] In the embodiment of the present application, a network monitoring tool such as Zabbix, Nagios, etc. or a built-in monitoring function of the SMS center system is used to obtain the SMS throughput of the receiving node and multiple sending nodes in real time, including the number of SMS sent or received by each node per unit time, such as per second or per minute. Throughput information is obtained through this process.
[0067] Select a period of time from the database, such as the throughput data of the past week or month, as a sample to obtain a sample throughput information set. Preprocess the sample data, such as removing outliers and performing data smoothing. In order to evaluate the balance of sending, determine a series of evaluation indicators, including the maximum difference ratio of the number of SMS sent between each sending node, the average sending rate, and the sending success rate. By calculating indicators such as the standard deviation or coefficient of variation of the number of SMS sent by each sending node, evaluate the degree of difference in the sending volume between each node. At the same time, set a maximum difference ratio threshold, such as not exceeding 10%, to ensure the relative balance of the sending volume. Calculate the average sending rate of each sending node, and set a minimum average sending rate threshold, such as not less than 100 per second. Evaluate the sending success rate of each sending node, and set a minimum sending success rate threshold, such as not less than 95%. Based on preliminary analysis and business needs, technical experts set a reasonable threshold range for the above evaluation indicators.
[0068] Next, select a suitable decision tree algorithm, such as CART, ID3, C4.5, etc., as the basis for building a balanced overall decision maker. Use the sample throughput information set and the corresponding transmission balanced requirement threshold set as training data to train the balanced overall decision maker. During training, divide the training data into a training set and a validation set. Use the training set to train the decision tree model, and optimize the performance of the model by adjusting the parameters of the decision tree, such as the maximum depth and the minimum number of samples. Use an independent validation data set to verify the trained decision tree model. Adjust the model parameters or retrain the model according to the validation results until the performance requirements are met. This process completes the construction of the balanced overall decision maker.
[0069] The SMS throughput information of the receiving node and multiple sending nodes monitored in real time is used as input data. The balance coordination decision maker makes inferences and decisions based on the trained decision tree model according to the input throughput information. The required threshold of the sending balance in the current time is output, including the maximum difference ratio of the number of SMS sent between each sending node, the average sending rate, etc.
[0070] Furthermore, step S300 in the method provided in the application embodiment also includes:
[0071] Randomly distribute the SMS set to the multiple sending nodes, update the number of SMS to be sent in the multiple sending nodes, and generate a first SMS allocation plan; calculate and obtain a first sending balance parameter according to the updated number of SMS to be sent in the multiple sending nodes in the first SMS allocation plan; determine whether the first sending balance parameter meets the sending balance requirement threshold, and if so, distribute the SMS set according to the first SMS allocation plan; if not, reallocate the SMS set to generate a second SMS allocation plan; continue to optimize the allocation of the SMS set until a SMS allocation plan that meets the constraints is obtained, and distribute the SMS set to the multiple sending nodes.
[0072] In the embodiment of the present application, a random allocation algorithm, such as simple random sampling, random sorting, etc., is first used to randomly allocate a set of SMS messages to multiple sending nodes, and the initial random allocation result is used as the first SMS allocation scheme.
[0073] The sending balance requirement threshold obtained by the previous evaluation is used as an evaluation index, and these indicators include the maximum difference ratio, standard deviation, coefficient of variation, etc. of the number of short messages sent by each node. According to the number of short messages to be sent by each sending node in the first short message allocation scheme, the above-mentioned balance evaluation index is calculated to obtain a first sending balance parameter. The calculated first sending balance parameter is compared with the sending balance requirement threshold. If the first sending balance parameter meets the sending balance requirement threshold, it means that the current allocation scheme is balanced, and the short message set is allocated according to the first short message allocation scheme. If the first sending balance parameter does not meet the sending balance requirement threshold, it means that the current short message allocation scheme is unbalanced and the short message set needs to be reallocated. Use an optimization algorithm, such as a load balancing algorithm, a polling algorithm, a weight allocation algorithm, etc. to reallocate the short message set and generate a second short message allocation scheme. After being processed by the optimization algorithm, a second short message allocation scheme is generated. If the second short message allocation scheme still does not meet the balance requirement, iterative optimization can be continued to generate more allocation schemes until a allocation scheme that meets the requirements is found. When a short message allocation scheme that meets the sending balance requirement threshold is found, the short messages in the scheme are allocated to the corresponding sending nodes.
[0074] In the embodiments of the present application, in summary, the embodiments of the present application have at least the following technical effects:
[0075] The present application receives a set of short messages sent by multiple sending users through a receiving node in a short message center, and collects and obtains a set of short message feature information, as well as multiple sending user feature information and multiple receiving user feature information of multiple sending users and multiple receiving users; monitors and obtains the throughput of the receiving node and multiple sending nodes in the short message center in the current time, obtains throughput information, and decides to obtain a threshold value of the sending balance requirement; optimizes and distributes the short message set to multiple sending nodes based on the constraint of meeting the threshold value of the balance requirement; collects multiple receiving device feature information of receiving devices of multiple receiving users, wherein each receiving device feature information includes device network information and device power information; corrects the receiving device feature information according to the device network information and device power information in each receiving device feature information, and obtains multiple corrected device feature information; combines multiple corrected device feature information, multiple sending user feature information, multiple receiving user feature information, and a set of short message feature information, and combines the transit time of multiple short message sets to be sent in multiple sending nodes, and performs a comprehensive analysis of the sending order to obtain multiple sending priority sets; and sorts and sends the short messages in multiple sending nodes according to the multiple sending priority sets. The present invention solves the technical problems of slow processing speed and insufficient concurrent processing capability in the prior art, and achieves the technical effect of improving the processing speed and concurrent processing capability of SMS throughput by real-time monitoring of the status of SMS processing nodes and intelligent scheduling and allocation of SMS sending tasks. Example
[0076] Based on the same inventive concept as the method for coordinating SMS nodes under high throughput in the above-mentioned embodiment, Figure 2 As shown, the present application provides a device for processing SMS node coordination under high throughput, and the device and method embodiments in the embodiments of the present application are based on the same inventive concept. The device includes:
[0077] The short message set receiving module 11 receives short message sets sent by multiple sending users through a receiving node in a short message center, and collects and obtains a short message feature information set, as well as multiple sending user feature information and multiple receiving user feature information of multiple sending users and multiple receiving users;
[0078] A throughput information acquisition module 12, wherein the throughput information acquisition module 12 monitors and obtains the throughput of a receiving node and multiple sending nodes in the SMS center in the current time, obtains throughput information, and makes a decision to obtain a sending balance requirement threshold;
[0079] An optimization allocation module 13, wherein the optimization allocation module 13 optimizes and allocates the short message set to the multiple sending nodes based on the constraint of satisfying the balance requirement threshold;
[0080] A receiving device characteristic information collection module 14, wherein the receiving device characteristic information collection module 14 collects multiple receiving device characteristic information of the receiving devices of the multiple receiving users, wherein each receiving device characteristic information includes device network information and device power information;
[0081] The correction processing module 15 performs correction processing on the receiving device characteristic information according to the device network information and the device power information in each receiving device characteristic information to obtain a plurality of corrected device characteristic information;
[0082] A sending order overall analysis module 16, wherein the sending order overall analysis module 16 combines the plurality of correction device feature information, the plurality of sending user feature information, the plurality of receiving user feature information, the SMS feature information set, and the transit time of the plurality of SMS sets to be sent in the plurality of sending nodes to perform a sending order overall analysis to obtain a plurality of sending priority sets;
[0083] The sorting and sending processing module 17 is used to sort and send the short messages in the multiple sending nodes according to the multiple sending priority sets.
[0084] Furthermore, the device is also used to achieve the following functions:
[0085] Receive a collection of SMS messages sent by multiple sending users through a receiving node in the SMS center;
[0086] Collecting size characteristic information and type characteristic information of each SMS in the SMS set to obtain a SMS characteristic information set;
[0087] The user level information of the plurality of sending users and the plurality of receiving users is collected as the plurality of sending user characteristic information and the plurality of receiving user characteristic information.
[0088] Furthermore, the device is also used to achieve the following functions:
[0089] Monitor and collect SMS throughput of receiving nodes and multiple sending nodes in the current time to obtain throughput information;
[0090] According to the control data record of the SMS center, a sample throughput information set is collected, and a sample sending balance requirement threshold set that does not affect the SMS sending efficiency is evaluated, wherein each sample sending balance requirement threshold includes a balance threshold of the number of SMS sent in multiple sending nodes;
[0091] Using the sample throughput information set and the sample sending balance requirement threshold set, based on a decision tree, construct a balance coordination decision maker;
[0092] According to the balance overall decision maker, a comprehensive decision is made according to the throughput information to obtain a sending balance requirement threshold.
[0093] Furthermore, the device is also used to achieve the following functions:
[0094] Randomly distribute the SMS set to the multiple sending nodes, update the number of SMS to be sent in the multiple sending nodes, and generate a first SMS distribution plan;
[0095] Calculate and obtain a first sending balance parameter according to the updated number of short messages to be sent in the plurality of sending nodes in the first short message distribution scheme;
[0096] determining whether the first sending balance parameter meets the sending balance requirement threshold, and if so, allocating the SMS set according to the first SMS allocation scheme;
[0097] If not, reallocating the SMS set to generate a second SMS allocation plan;
[0098] Continue to optimize and allocate the SMS set until a SMS allocation solution that satisfies the constraints is obtained, and allocate the SMS set to the multiple sending nodes.
[0099] Furthermore, the device is also used to achieve the following functions:
[0100] Collect a set of sample device network information, and obtain a set of sample device power correction coefficients based on the power replenishment convenience of the device in the area where the device is located under different sample device network information, and construct a device power correction table;
[0101] Inputting multiple device network information in multiple receiving device characteristic information into the device power correction table, and obtaining the device power correction coefficient by indexing;
[0102] The device power correction coefficient is used to correct the device power information to obtain corrected device power information, and combined with the device network information to obtain corrected device feature information.
[0103] Furthermore, the device is also used to achieve the following functions:
[0104] According to the plurality of correction device characteristic information, the plurality of sending user characteristic information, the plurality of receiving user characteristic information, and the SMS characteristic information sets, the correction device characteristic information, the sending user characteristic information, the receiving user characteristic information, the SMS characteristic information, and the transit time of the SMS in the plurality of SMS sets to be sent in the plurality of sending nodes are collected as the plurality of SMS information sets to be sent;
[0105] A sending priority sequence is analyzed based on the multiple sets of short message information to be sent to obtain multiple sending priority sets.
[0106] Furthermore, the device is also used to achieve the following functions:
[0107] Based on the recorded data of SMS sending, collect sample calibration equipment feature information set and sample equipment priority set, collect sample sending user feature information set, sample receiving user feature information set and user priority set, and collect sample SMS feature information set, sample transit time set and sample SMS priority set, as the first coordinated data set, the second coordinated data set and the third coordinated data set respectively;
[0108] The first coordinated data set, the second coordinated data set and the third coordinated data set are used to respectively train a device priority analysis branch, a user priority analysis branch and a text message priority analysis branch to obtain a sending coordinated analyzer;
[0109] Based on the sending coordination analyzer, the sending order of the multiple SMS information sets to be sent is comprehensively analyzed to obtain multiple device priorities, user priorities and SMS priorities, and weighted calculation is performed to obtain multiple sending priority sets of SMS in multiple sending nodes.
[0110] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. The processes depicted in the accompanying drawings do not necessarily require the specific order and continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0111] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
[0112] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.
Claims
1. A method for processing SMS nodes under high throughput, characterized in that: The method comprises: Receive a set of short messages sent by multiple sending users through a receiving node in a short message center, and collect a set of short message characteristic information, as well as multiple sending user characteristic information and multiple receiving user characteristic information of multiple sending users and multiple receiving users, wherein the user characteristic information includes user account information, credit rating, and payment status, and the user account information includes user level; Monitor and obtain the throughput of the receiving node and multiple sending nodes in the SMS center in the current time, obtain throughput information, and decide on the threshold required for sending balance; Based on the constraint of satisfying the balance requirement threshold, the short message set is optimally distributed to the multiple sending nodes; Collecting multiple receiving device feature information of the receiving devices of the multiple receiving users, wherein each receiving device feature information includes device network information and device power information; Correct the receiving device characteristic information according to the device network information and the device power information in each receiving device characteristic information to obtain a plurality of corrected device characteristic information; Combining the plurality of correction device characteristic information, the plurality of sending user characteristic information, the plurality of receiving user characteristic information, the SMS characteristic information set, and the transit time of the plurality of SMS sets to be sent in the plurality of sending nodes, a sending order overall analysis is performed to obtain a plurality of sending priority sets; According to the multiple sending priority sets, the short messages are sorted and sent in the multiple sending nodes.
2. The method for processing SMS nodes under high throughput according to claim 1, characterized in that: A receiving node in a short message center receives a set of short messages sent by multiple sending users, and collects and obtains a set of short message feature information, as well as multiple sending user feature information and multiple receiving user feature information of multiple sending users and multiple receiving users, including: Receive a collection of SMS messages sent by multiple sending users through a receiving node in the SMS center; Collecting size characteristic information and type characteristic information of each SMS in the SMS set to obtain a SMS characteristic information set; The user level information of the plurality of sending users and the plurality of receiving users is collected as the plurality of sending user characteristic information and the plurality of receiving user characteristic information.
3. The method for processing SMS nodes under high throughput according to claim 1, characterized in that: Monitor and obtain the throughput of the receiving node and multiple sending nodes in the SMS center in the current time, obtain throughput information, and decide on the threshold required for sending balance, including: Monitor and collect SMS throughput of receiving nodes and multiple sending nodes in the current time to obtain throughput information; According to the control data record of the SMS center, a sample throughput information set is collected, and a sample sending balance requirement threshold set that does not affect the SMS sending efficiency is evaluated, wherein each sample sending balance requirement threshold includes a balance threshold of the number of SMS sent in multiple sending nodes; Using the sample throughput information set and the sample sending balance requirement threshold set, based on a decision tree, construct a balance coordination decision maker; According to the balance overall decision maker, a comprehensive decision is made according to the throughput information to obtain a sending balance requirement threshold.
4. The method for processing SMS nodes under high throughput according to claim 1, characterized in that: The method of optimizing and distributing the short message set to the plurality of sending nodes based on the constraint of satisfying the balance requirement threshold comprises: Randomly distribute the SMS set to the multiple sending nodes, update the number of SMS to be sent in the multiple sending nodes, and generate a first SMS distribution plan; Calculate and obtain a first sending balance parameter according to the updated number of short messages to be sent in the plurality of sending nodes in the first short message distribution scheme; determining whether the first sending balance parameter meets the sending balance requirement threshold, and if so, allocating the SMS set according to the first SMS allocation scheme; If not, reallocating the SMS set to generate a second SMS allocation plan; Continue to optimize and allocate the SMS set until a SMS allocation solution that satisfies the constraints is obtained, and allocate the SMS set to the multiple sending nodes.
5. The method for processing SMS nodes under high throughput according to claim 1, characterized in that: According to the device network information and device power information in each receiving device characteristic information, the receiving device characteristic information is corrected to obtain a plurality of corrected device characteristic information, including: Collect a set of sample device network information, and obtain a set of sample device power correction coefficients based on the power replenishment convenience of the device in the area where the device is located under different sample device network information, and construct a device power correction table; Inputting multiple device network information in multiple receiving device characteristic information into the device power correction table, and obtaining the device power correction coefficient by indexing; The device power correction coefficient is used to correct the device power information to obtain corrected device power information, and combined with the device network information to obtain corrected device feature information.
6. The method for processing SMS nodes under high throughput according to claim 1, characterized in that: Combined with the plurality of correction device characteristic information, the plurality of sending user characteristic information, the plurality of receiving user characteristic information, the SMS characteristic information set, and the transit time of the plurality of SMS sets to be sent in the plurality of sending nodes, a sending order overall analysis is performed to obtain a plurality of sending priority sets, including: According to the plurality of correction device characteristic information, the plurality of sending user characteristic information, the plurality of receiving user characteristic information, and the SMS characteristic information sets, the correction device characteristic information, the sending user characteristic information, the receiving user characteristic information, the SMS characteristic information, and the transit time of the SMS in the plurality of SMS sets to be sent in the plurality of sending nodes are collected as the plurality of SMS information sets to be sent; A sending priority sequence is analyzed based on the multiple sets of short message information to be sent to obtain multiple sending priority sets.
7. The method for processing SMS nodes under high throughput according to claim 1, characterized in that: Performing a comprehensive analysis of the sending priorities according to the multiple sets of short message information to be sent, including: Based on the recorded data of SMS sending, collect sample calibration equipment feature information set and sample equipment priority set, collect sample sending user feature information set, sample receiving user feature information set and user priority set, and collect sample SMS feature information set, sample transit time set and sample SMS priority set, as the first coordinated data set, the second coordinated data set and the third coordinated data set respectively; The first coordinated data set, the second coordinated data set and the third coordinated data set are used to respectively train a device priority analysis branch, a user priority analysis branch and a text message priority analysis branch to obtain a sending coordinated analyzer; Based on the sending coordination analyzer, the sending order of the multiple SMS information sets to be sent is comprehensively analyzed to obtain multiple device priorities, user priorities and SMS priorities, and weighted calculation is performed to obtain multiple sending priority sets of SMS in multiple sending nodes.
8. A device for processing SMS nodes under high throughput, characterized in that: The device comprises: A short message collection receiving module, which receives short message collections sent by multiple sending users through a receiving node in a short message center, and collects and obtains a short message characteristic information set, as well as multiple sending user characteristic information and multiple receiving user characteristic information of multiple sending users and multiple receiving users, wherein the user characteristic information includes the user's account information, credit rating, and payment status, and the user's account information includes the user level; A throughput information acquisition module, wherein the throughput information acquisition module monitors and obtains the throughput of a receiving node and multiple sending nodes in a short message center within a current time, obtains throughput information, and makes a decision to obtain a threshold value of a sending balance requirement; An optimization allocation module, wherein the optimization allocation module optimizes and allocates the short message set to the multiple sending nodes based on the constraint of satisfying the balance requirement threshold; A receiving device characteristic information collection module, wherein the receiving device characteristic information collection module collects multiple receiving device characteristic information of the receiving devices of the multiple receiving users, wherein each receiving device characteristic information includes device network information and device power information; A correction processing module, wherein the correction processing module performs correction processing on the receiving device characteristic information according to the device network information and the device power information in each receiving device characteristic information to obtain a plurality of corrected device characteristic information; A sending order overall analysis module, wherein the sending order overall analysis module combines the plurality of correction device feature information, the plurality of sending user feature information, the plurality of receiving user feature information, the SMS feature information set, and the transit time of the plurality of SMS sets to be sent in the plurality of sending nodes to perform a sending order overall analysis to obtain a plurality of sending priority sets; The sorting and sending processing module is used to sort and send the short messages in the multiple sending nodes according to the multiple sending priority sets.
Citation Information
Patent Citations
Intelligent short message pushing method and system based on user analysis
CN116887201A
Data processing method and apparatus, computer device, and readable medium
WO2023168937A1
