WO2020006867A1 - 短信缓存队列选择方法、装置、计算机设备和存储介质 - Google Patents
短信缓存队列选择方法、装置、计算机设备和存储介质 Download PDFInfo
- Publication number
- WO2020006867A1 WO2020006867A1 PCT/CN2018/105520 CN2018105520W WO2020006867A1 WO 2020006867 A1 WO2020006867 A1 WO 2020006867A1 CN 2018105520 W CN2018105520 W CN 2018105520W WO 2020006867 A1 WO2020006867 A1 WO 2020006867A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- short message
- sms
- priority level
- cache
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
- H04L47/6275—Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
Definitions
- the present application relates to a method, an apparatus, a computer device, and a storage medium for selecting a short message cache queue.
- the short message gateway processes short messages, it generally selects short messages to be sent from the short message buffer queue, and then sends the short messages.
- the inventor realized that for different SMS cache queues, there are irregular links in the SMS gateway's processing flow, which leads to the backlog of some SMS cache queues and the idleness of some SMS cache queues. As a result, the SMS cache queues cannot be processed during the SMS backlog Balanced distribution.
- a method, an apparatus, a computer device, and a storage medium for selecting a short message cache queue are provided.
- a method for selecting a short message cache queue includes:
- a short message buffer queue selection device includes:
- a data acquisition module for acquiring short message data to be stored
- a detection module configured to detect a short message type of the short message data, and obtain a priority level of the short message data according to the short message type of the short message data;
- a level acquisition module configured to acquire priority levels of multiple short message cache queues
- a storage module configured to store the short message data to a short message cache queue of a corresponding priority according to the priority level of the short message data
- a selection module is used to control the short message gateway channels with different control rates, correspondingly select the short message cache queues of different priorities, and take out the short message data from the corresponding short message cache queues for transmission.
- a computer device includes a memory and one or more processors.
- Computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, implement the steps of the short message cache queue selection method provided in any embodiment of the present application. . :
- One or more non-volatile storage media storing computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors implement the short message provided in any one of the embodiments of the present application Steps in the cache queue selection method.
- FIG. 1 is an application scenario diagram of a short message cache queue selection method according to one or more embodiments.
- FIG. 2 is a schematic flowchart of a short message buffer queue selection method according to one or more embodiments.
- FIG. 3 is a schematic flowchart of steps for detecting a short message type of short message data according to one or more embodiments, and obtaining a priority level of short message data according to the short message type of short message data.
- FIG. 4 is a schematic flowchart of a method for selecting a short message cache queue in another embodiment.
- FIG. 5 is a schematic flowchart of a short message buffer queue selection method according to another embodiment.
- FIG. 6 is a schematic flowchart of a short message buffer queue selection method in still another embodiment.
- FIG. 7 is a block diagram of a short message buffer queue selection device according to one or more embodiments.
- FIG. 8 is a block diagram of a computer device according to one or more embodiments.
- the short message buffer queue selection method provided in this application can be applied to the application environment shown in FIG. 1.
- the terminal 110 and the server 120 communicate through a network.
- the server 120 generates corresponding short message data according to service requirements as the short message data to be stored.
- the server 120 performs level analysis on the stored short message data to determine the priority level of the short message data; and stores the short message data to the short message cache queue of the corresponding priority level according to the priority level.
- the server 120 further includes a short message gateway channel, which is used to provide a channel for sending short messages.
- the server 120 selects the short message cache queues of different priority levels by controlling the short message gateway channels of different control rates, and extracts short message data from the corresponding short message cache queues and sends them to the terminal 110.
- the terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
- the server 120 may be implemented by an independent server or a server cluster composed of multiple servers.
- a method for selecting a short message cache queue is provided.
- the method is applied to the server in FIG. 1 as an example, and includes the following steps:
- Step S201 Obtain short message data to be stored.
- the server generates various types of short message data according to business requirements, such as bank financial messages, product promotion messages, etc. As the short message data to be stored, it needs to be stored in the short message cache queue.
- Step S202 Detect a short message type of the short message data, and obtain a priority level of the short message data according to the short message type of the short message data.
- the priority level is mainly based on the timeliness of the short message data, which indicates the level of timeliness of the short message data.
- the timeliness of different short message data types is different, and the corresponding priority levels are also different. For example, short messages that require high timeliness, such as verification code messages, have higher priority levels. Short messages that require lower timeliness, such as marketing messages, have lower priority levels.
- the server analyzes all aspects of the SMS data, comprehensively considers all aspects of the SMS data, determines the SMS type of the SMS data, thereby determining the priority level of the SMS data, and classifies the SMS data according to the priority level, which is conducive to the priority of subsequent SMS data Level to store SMS data to the SMS cache queue at the corresponding priority level.
- Step S203 Obtain priority levels of multiple short message buffer queues.
- the short message buffer queue refers to a queue for buffering short message data, which is stored in the database or internal memory of the server.
- the priority level of the short message cache queue corresponds to the priority level of the short message data to be stored. For example, the high priority message data is stored in the high priority message cache queue.
- the server sets the priority level of the SMS cache queue according to the priority level of the SMS data. By obtaining the priority levels of multiple SMS cache queues, it is beneficial for subsequent storage of the SMS data in the SMS cache queue of the corresponding priority according to the priority level of the SMS data. .
- step S204 according to the priority level of the short message data, the short message data is stored in the short message buffer queue of the corresponding priority level.
- step S205 the short message gateway channels with different control rates are controlled, and corresponding short message cache queues of different priorities are selected, and short message data is taken out from the corresponding short message cache queues for transmission.
- the SMS gateway channel has different control rates and different processing capabilities for SMS data.
- a high-control rate SMS gateway channel has a strong processing capability for SMS data and can send a large amount of SMS data in a short period of time.
- the control rate of the SMS gateway channel corresponds to the priority level of the SMS cache queue.
- the server can control the high-speed-control short message gateway channel, and correspondingly select the high-priority short message cache queue, and retrieve the short message data from the corresponding short message cache queue for transmission.
- the SMS gateway channels with different control rates correspondingly select the SMS cache queues of different priorities, and the process of taking out the SMS data from the corresponding SMS cache queues and sending them can be synchronized.
- the SMS data of the SMS cache queues of different priorities are selected to be sent, and the SMS cache queues of different priorities are configured correspondingly.
- the SMS gateway channel avoids the shortcoming that the SMS cache queue cannot be evenly allocated during the backlog of SMS messages. Orderly, which improves the rate of sending text messages.
- the short message data is stored in the short message cache queue of the corresponding priority according to the priority level, avoiding the storage of short message data of different priority levels in the same short message cache queue, and realizing the orderly execution of the short message data storage. purpose.
- the SMS data of the SMS cache queues of different priorities are selected for transmission.
- the corresponding SMS gateway channels are configured for the SMS cache queues of different priorities to avoid SMS backlogs during SMS backlogs.
- the shortcoming of the cache queue cannot be balanced, which achieves the purpose of balanced allocation of the short message cache queue, and at the same time ensures that the short message sending can be performed in an orderly manner, thereby improving the short message sending rate.
- detecting the short message type of the short message data, and obtaining the priority level of the short message data according to the short message type of the short message data includes:
- Step S301 Obtain multiple preset short message templates.
- Different SMS templates correspond to different SMS templates.
- the corresponding SMS template is different between the verification code message and the marketing message.
- the server analyzes the historical SMS data to determine a variety of SMS templates as preset SMS templates, which is beneficial for subsequent matching of SMS data SMS templates with a variety of preset SMS templates, and filtering of SMS data from a variety of preset SMS templates.
- Corresponding SMS template to determine the SMS type of SMS data.
- the text message template corresponds to the text message type.
- Step S302 Obtain a short message template of short message data, and match the short message template with various preset short message templates respectively to obtain corresponding matching degrees.
- the matching degree refers to the similarity between the short message template and the preset short message template. The greater the similarity, the more similar the short message template and the preset short message template are.
- the server extracts the short message template of the short message data, matches the short message template of the short message data with each preset short message template in turn, and obtains the corresponding matching degree through analysis and calculation, which is beneficial to the subsequent selection of the most matching short message from multiple matching degrees.
- the short message type corresponding to the template as the short message type corresponding to the short message data, determines the priority level of the short message data according to the correspondence between the short message type and the priority level, thereby improving the accuracy of determining the priority level of the short message data.
- step S303 the short message type corresponding to the short message template with the highest matching degree is selected as the short message type corresponding to the short message data.
- the short message type corresponding to the short matching template is selected as the short message type corresponding to the short message data.
- the type of short message corresponding to the data determines the priority level of the short message data, which further improves the accuracy of determining the priority level of the short message data.
- Step S304 Obtain the priority level of the short message data according to the correspondence between the type of the short message and the priority level.
- the priority level of short message data can be easily confirmed.
- the priority level corresponding to the verification code text message is a high priority level
- the priority level corresponding to the marketing text message is a low priority level.
- the corresponding matching degree is obtained. From among the multiple matching degrees, the short message types corresponding to the short matching short message template are filtered out. As the short message type corresponding to the short message data, the priority level of the short message data is determined, and the accuracy of determining the priority level of the short message data is improved. At the same time, by detecting the priority level of the short message data, the short message data can be classified, which is convenient for storing the short message data to the short message cache queue of the corresponding priority according to the priority of the short message data.
- the above step S304, according to the correspondence between the SMS type and the priority, to obtain the priority level of the SMS data includes: if the SMS type of the SMS data is the first SMS type (such as a verification code SMS), The priority level is high priority; if the text message type is the second text type (such as service notification text messages), the priority level of the text data is medium priority; if the text message type is the third text type (such as marketing SMS-like), the priority level of the SMS data is low priority.
- the priority level of the short message data can be determined quickly and accurately.
- storing the short message data in the short message cache queue of the corresponding priority level according to the priority level of the short message data includes: detecting whether the current short message cache queue of the corresponding priority level reaches the corresponding cache threshold. .
- the cache threshold is a set cache space. If the space of the cached short messages in the short message cache queue is smaller than the corresponding cache threshold, it means that the short message cache queue can continue to cache short messages. It should be noted that the corresponding cache threshold does not refer to the maximum cache space of the SMS cache queue, which is smaller than the maximum storage space of the SMS cache queue.
- the SMS data is stored into the SMS cache queue of the corresponding priority according to the priority level, and the SMS cache queue of the corresponding priority level is first detected to check whether the corresponding cache threshold is reached, which can avoid the memory overflow of the SMS cache queue and cause unpredictable consequences. , To ensure that the SMS data is safely and orderly stored in each SMS cache queue.
- the SMS data of the same priority level can be stored in order to the same priority level.
- the SMS cache queue of the same priority level can be stored in order to the same priority level.
- storing the short message data in the short message cache queue of the corresponding priority according to the priority level of the short message data in step S204 includes: if it is detected that the current short message cache queue of the corresponding priority does not reach the corresponding cache threshold, Store the SMS data of the corresponding priority level to the current SMS cache queue; if it is detected that the current SMS cache queue of the corresponding priority level reaches the corresponding cache threshold, store the SMS data of the corresponding priority level to the next SMS cache queue of the corresponding priority level.
- the next short message cache queue corresponding to the priority level refers to other short message cache queues corresponding to the priority level in addition to the current short message cache queue corresponding to the priority level.
- high priority SMS data is stored in the high priority SMS cache queue. If it is detected that the current high priority SMS cache queue does not reach the corresponding cache threshold, the high priority SMS data is stored in the current high priority SMS cache queue; if it is detected that the current high priority SMS cache queue reaches the corresponding The high-priority message cache data is stored in the next high-priority message cache queue, and so on, and the high-priority message data is stored in multiple high-priority message cache queues.
- the SMS data is stored in the current SMS cache queue.
- the current SMS cache queue at the level reaches the limit, and the SMS data is stored in the next SMS cache queue of the same priority level, ensuring that the SMS data of the same priority level is stored in the SMS cache queue of the same priority level in an orderly manner, while avoiding the SMS
- the memory in the cache queue overflows, causing unpredictable consequences, thereby alleviating the current pressure on sending short messages.
- another method for selecting a short message cache queue including the following steps:
- Step S401 Obtain short message data to be stored.
- Step S402 obtaining multiple preset short message templates; obtaining short message templates of short message data, matching the short message templates with multiple preset short message templates respectively to obtain corresponding matching degrees; selecting the short message type corresponding to the highest matching short message template, As the short message type corresponding to the short message data, the priority level of the short message data is obtained according to the correspondence between the short message type and the priority level.
- Step S403 Obtain priority levels of multiple short message cache queues.
- Step S404 it is detected whether the current short message cache queue of the corresponding priority level reaches the corresponding cache threshold. If it is detected that the current short message cache queue of the corresponding priority level does not reach the corresponding cache threshold value, the short message data of the corresponding priority level is stored in the current short message cache queue ; If it is detected that the current short message cache queue of the corresponding priority level reaches the corresponding cache threshold, the short message data of the corresponding priority level is stored in the next short message cache queue of the corresponding priority level.
- step S405 the short message gateway channels with different control rates are controlled, and corresponding short message cache queues of different priorities are selected, and short message data is taken out from the corresponding short message cache queues for transmission.
- the SMS data of the SMS cache queues of different priorities are selected for transmission.
- the corresponding SMS gateway channels are configured for the SMS cache queues of different priorities to avoid the SMS cache queue when the SMS backlog is accumulated.
- controlling the short message gateway channels with different control rates, and correspondingly selecting the short message cache queues of different priorities includes: identifying the control rate of the short message gateway channels, classifying the short message gateway channels according to the control rates, and obtaining SMS gateway channels with different control rate levels; according to the correspondence between the control rate level and the priority level, control the SMS gateway channels with different control rate levels and correspondingly select the SMS cache queues with different priority levels.
- the control rate of the SMS gateway channel is fixed, and the control rate of different SMS gateway channels is different.
- the short message gateway channel can be divided into a high control rate level short message gateway channel, a middle control rate level short message gateway channel and a low control rate level short message gateway channel.
- SMS gateways with different control rates are configured for the SMS cache queues of different priorities, which avoids the shortcoming that the SMS cache queue cannot be distributed evenly when the backlog of SMS data is accumulated, thereby achieving the balanced allocation of the SMS cache queue.
- the method before controlling the short message gateway channels with different control rates and correspondingly selecting different short message cache queues, the method includes: adding corresponding short message gateway channel tags to the short message cache queues according to the priority levels of the short message cache queues; The SMS gateway channel label corresponds to the priority. Adding the corresponding SMS gateway channel tag to the SMS cache queue can verify whether the SMS cache queue matches the SMS gateway channel, further ensuring the balanced allocation of the SMS cache queues of various priorities.
- controlling the SMS gateway channels with different control rates and correspondingly selecting the SMS cache queues of different priorities includes: detecting the SMS gateway channel tags of the SMS cache queues to determine whether they match the SMS gateway channels of the current control rate. , The short message gateway channel that controls the current control rate selects the short message cache queue; if not, an alarm is triggered, and the short message gateway channel that controls the corresponding rate control selects the short message cache queue.
- the short message gateway channel tags of the short message cache queue By detecting the short message gateway channel tags of the short message cache queue, it can be verified whether the short message cache queue matches the short message gateway channel, which further guarantees the short message gateway channels of different control rates, and accurately selects the short message cache queues of different priority levels, thereby achieving various The priority level of the SMS data reaches the corresponding sending rate, which further ensures the balanced allocation of the SMS cache queue.
- the SMS gateways of different control rates are selected to correspondingly select the SMS cache levels of different priorities Before the queue, multiple SMS cache queues of the same priority can be arranged in order.
- the method before controlling the short message gateway channels with different control rates and correspondingly selecting the short message cache queues of different priorities, includes: numbering multiple short message cache queues of the same priority level. In this way, it can ensure that the short message data transmission of the short message buffer queues of the same priority can be performed in an orderly manner.
- control of SMS gateway channels with different control rates and corresponding selection of SMS cache queues with different priorities includes: control of SMS gateway channels with different control rates, in accordance with the number of each SMS cache queue of the corresponding priority, in order Select each SMS cache queue.
- control of SMS gateway channels with different control rates in accordance with the number of each SMS cache queue of the corresponding priority, in order Select each SMS cache queue.
- another method for selecting a short message cache queue including the following steps:
- Step S501 Obtain short message data to be stored.
- Step S502 Detect the priority level of the short message data.
- Step S503 Obtain priority levels of multiple short message cache queues.
- step S504 the short message data is stored in the short message buffer queue of the corresponding priority according to the priority of the short message data.
- Step S505 number multiple short message cache queues of the same priority level, control the short message gateway channels with different control rates, select each short message cache queue in turn according to the number of each short message cache queue of the corresponding priority level, and select the corresponding short message caches.
- the cache queue fetches the SMS data for sending.
- the short message data is stored in the corresponding message cache queue according to the priority level, avoiding the storage of the short message data of different priority levels in the same message cache queue, achieving the purpose of the orderly execution of the short message data storage, and ensuring the The SMS data reached the corresponding sending rate.
- the SMS data of the SMS cache queues of different priorities are selected for transmission.
- the corresponding SMS gateway channels are configured for the SMS cache queues of different priorities to avoid SMS backlogs during SMS backlogs.
- the shortcoming of the cache queue cannot be balanced, which achieves the purpose of balanced allocation of the SMS cache queue. At the same time, it ensures that the sending of short messages can be performed in an orderly manner, thereby improving the sending rate of short messages.
- SMS cache queues have more SMS data cached, which means that the SMS is backlogged, so the corresponding SMS sending pressure is greater; some SMS cache queues have less SMS data cached, indicating that the SMS is idle, then the corresponding SMS Less sending pressure.
- multiple SMS gateway channels can be re-controlled, and corresponding SMS cache queues with different priority levels can be selected, and SMS data can be retrieved from the corresponding SMS cache queue and sent to solve the current situation of backlog and idleness of SMS data.
- the method for selecting a short message cache queue further comprises: detecting the short message data of the short message cache queues of different priorities according to a preset frequency to obtain corresponding detection results; and re-controlling the short messages of different control rates according to the detection results.
- the gateway channel correspondingly selects the short message cache queues of different priorities, and takes out short messages from the corresponding short message cache queues for sending.
- the SMS data cache conditions of the SMS cache queues of different priorities are acquired, and the SMS gateway channels with different control rates are re-controlled.
- the SMS cache queues of different priorities are selected accordingly.
- the short message cache queue retrieves the short message data for transmission, which minimizes the current pressure of sending short messages, improves the sending rate of short messages, avoids the shortcomings and idleness of short message data, and further realizes the balanced allocation of short message cache queues.
- FIG. 6 another method for selecting a short message cache queue is provided, including the following steps:
- Step S601 Obtain short message data to be stored.
- Step S602 Detect the priority level of the short message data.
- Step S603 Obtain priority levels of multiple short message cache queues.
- step S604 according to the priority level of the short message data, the short message data is stored in the short message buffer queue of the corresponding priority level.
- Step S605 controlling the short message gateway channels with different control rates, correspondingly selecting short message cache queues of different priorities, and taking out short message data from the corresponding short message cache queues for transmission.
- step S606 the short message data of the short message cache queues of different priorities are detected according to the preset frequency, and corresponding detection results are obtained; according to the detection result, the short message gateway channels of different control rates are re-controlled, and the short message cache queues of different priorities are correspondingly selected. Take out the SMS data from the corresponding SMS cache queue and send it.
- the above short message buffer queue selection method achieves the purpose that the short message data storage and sending can be performed in an orderly manner, and ensures that the short message data of each priority level reaches the corresponding sending rate.
- the shortcomings of the short message cache queue cannot be balancedly distributed during the short message backlog are avoided, and the purpose of balanced allocation of the short message cache queue is achieved.
- the SMS data cache conditions of the SMS cache queues of different priorities are acquired, and the SMS gateway channels of different control rates are re-controlled, and the SMS cache queues of different priorities are selected accordingly.
- the corresponding SMS cache queue fetches the SMS data for sending, which minimizes the current SMS sending pressure, improves the sending rate of SMS messages, avoids the shortcomings of SMS data backlog and idleness, and further realizes the balanced allocation of SMS cache queues.
- the process of storing and sending short message data can be performed simultaneously.
- the short message gateway channels of different control rates are controlled, and the short message cache queues of different priority levels are correspondingly selected.
- the corresponding SMS cache queue fetches the SMS data for sending.
- the storage space will store the SMS data obtained again, avoiding the SMS backlog, alleviating the current sending pressure of SMS, and further improving the utilization of the SMS cache queue.
- storing and sending SMS at the same time can improve the sending rate of SMS data, avoid the shortcomings of SMS shortcomings and idleness, further achieve the balanced allocation of SMS cache queues, and achieve the corresponding sending rate of SMS data of each priority level.
- the above step S205 after controlling the short message gateway channels with different control rates, correspondingly selecting the short message cache queues of different priorities, and taking out the short message data from the corresponding short message cache queues for sending, includes:
- the output displays the tag information of each SMS cache queue.
- the tag information includes priority level, buffer space, queuing progress, and sending progress.
- the tag information of each short message buffer queue is displayed, which is convenient for monitoring the information of each short message buffer queue.
- steps in the flowchart of FIG. 2-6 are sequentially displayed in accordance with the directions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited, and these steps can be performed in other orders. Moreover, at least a part of the steps in FIG. 2-6 may include multiple sub-steps or stages. These sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. These sub-steps or stages The execution order of is not necessarily performed sequentially, but may be performed in turn or alternately with at least a part of another step or a sub-step or stage of another step.
- a short message cache queue selection device including: a data acquisition module 710, a detection module 720, a level acquisition module 730, a storage module 740, and a selection module 750, where:
- the data obtaining module 710 is configured to obtain short message data to be stored.
- the detection module 720 is configured to detect a short message type of the short message data, and obtain a priority level of the short message data according to the short message type of the short message data.
- a level obtaining module 730 is configured to obtain priority levels of multiple short message cache queues.
- the storage module 740 is configured to store the short message data to the short message buffer queue of the corresponding priority according to the priority of the short message data.
- a selection module 750 is used to control the short message gateway channels with different control rates, correspondingly select the short message cache queues of different priorities, and take out the short message data from the corresponding short message cache queues for transmission.
- the detection module is further configured to obtain multiple preset short message templates; obtain short message templates for short message data, and match the short message templates with multiple preset short message templates to obtain corresponding matching degrees; and select a matching degree
- the short message type corresponding to the highest short message template is used as the short message type corresponding to the short message data; according to the correspondence between the short message type and the priority level, the priority level of the short message data is obtained.
- the short message cache queue selection device further includes a queue detection module for storing the short message data in the corresponding priority queue before storing the short message data in the short message cache queue according to the priority level of the short message data. Whether the cache queue reaches the corresponding cache threshold.
- the storage module is further configured to store the short message data of the corresponding priority level to the current short message cache queue if it is detected that the current short message cache queue of the corresponding priority level does not reach the corresponding cache threshold; if the corresponding priority level is detected, The current short message cache queue reaches the corresponding cache threshold, and the short message data of the corresponding priority level is stored in the next short message cache queue of the corresponding priority level.
- the selection module is further configured to identify the control rate of the SMS gateway channel, classify the SMS gateway channel according to the control rate, and obtain the SMS gateway channel of different control rate levels; according to the correspondence between the control rate level and the priority level , To control the SMS gateway channels of different control rate levels, and correspondingly select the SMS cache queues of different priority levels.
- the short message cache queue selection device further includes a tag adding module for adding a corresponding short message gateway channel tag to the short message cache queue according to the priority level of the short message cache queue; the short message gateway channel tag corresponds to the priority level.
- the selection module is further configured to detect the short message gateway channel tag of the short message cache queue to determine whether it matches the current short message gateway channel of the control rate. If so, the short message gateway channel that controls the current control rate selects the short message cache queue. If not, an alarm is triggered and the SMS gateway channel corresponding to the control rate is selected to select the SMS cache queue.
- the short message buffer queue selection device further includes a numbering module for selecting a module to control the short message gateway channels of different control rates, and correspondingly select multiple short message buffer queues of the same priority level before selecting the short message buffer queues of different priorities.
- the queues are numbered.
- the selection module is further configured to control the short message gateway channels of different control rates, and sequentially select each short message cache queue according to the number of each short message cache queue of the corresponding priority.
- the short message buffer queue selection device further includes a reselection module for detecting short message data of the short message buffer queues of different priorities according to a preset frequency to obtain corresponding detection results; according to the detection results, re-control different The rate-controlled short message gateway channel correspondingly selects short message cache queues of different priorities, and takes out short message data from the corresponding short message cache queues for transmission.
- a reselection module for detecting short message data of the short message buffer queues of different priorities according to a preset frequency to obtain corresponding detection results; according to the detection results, re-control different The rate-controlled short message gateway channel correspondingly selects short message cache queues of different priorities, and takes out short message data from the corresponding short message cache queues for transmission.
- the short message cache queue selection device stores the short message data to the corresponding short message cache queue according to the priority level, avoiding storing the short message data of different priority levels in the same short message cache queue, and realizing the orderly storage of short message data. Purpose of the performance.
- the SMS data of the SMS cache queues of different priorities are selected for transmission.
- the corresponding SMS gateway channels are configured for the SMS cache queues of different priorities to avoid SMS backlogs during SMS backlogs.
- the shortcoming of the cache queue cannot be balanced, which achieves the purpose of balanced allocation of the SMS cache queue.
- Each module in the short message buffer queue selection device may be implemented in whole or in part by software, hardware, and a combination thereof.
- the above-mentioned modules may be embedded in the hardware in or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
- a computer device is provided.
- the computer device may be a server, and its internal structure diagram may be as shown in FIG. 8.
- the computer device includes a processor, a memory, a network interface, and a database connected through a system bus.
- the processor of the computer device is used to provide computing and control capabilities.
- the memory of the computer device includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system, computer-readable instructions, and a database.
- the internal memory provides an environment for the operation of the operating system and computer-readable instructions in a non-volatile storage medium.
- the database of the computer equipment is used to store short message data.
- the network interface of the computer device is used to communicate with an external terminal through a network connection.
- the computer-readable instructions are executed by a processor to implement a method for selecting a short message cache queue.
- FIG. 8 is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer equipment to which the scheme of the present application is applied.
- the specific computer equipment may be Include more or fewer parts than shown in the figure, or combine certain parts, or have a different arrangement of parts.
- a computer device includes a memory and one or more processors.
- Computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, implement the steps of the short message cache queue selection method provided in any embodiment of the present application. . :
- One or more non-volatile storage media storing computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors implement the short message provided in any one of the embodiments of the present application Steps in the cache queue selection method.
- Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
- Volatile memory can include random access memory (RAM) or external cache memory.
- RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
Abstract
一种短信缓存队列选择方法,包括:获取待存储的短信数据;检测所述短信数据的短信类型,根据所述短信数据的短信类型,得到所述短信数据的优先级别;获取多个短信缓存队列的优先级别;根据所述短信数据的优先级别,将所述短信数据存储至对应优先级别的短信缓存队列;控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
Description
本申请要求于2018年7月3日提交中国专利局,申请号为2018107168035,申请名称为“短信缓存队列选择方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及一种短信缓存队列选择方法、装置、计算机设备和存储介质。
随着移动通信技术的发展,为了满足大量短信的发送需求,短信网关应运而生;短信网关在处理短信时,一般先从短信缓存队列选择待发送短信,再将短信发送出去。
然而,发明人意识到针对不同的短信缓存队列,短信网关的处理流程存在不规范的环节,导致有些短信缓存队列积压,有些短信缓存队列空闲,由此导致在短信积压时,短信缓存队列无法进行均衡分配。
发明内容
根据本申请公开的各种实施例,提供一种短信缓存队列选择方法、装置、计算机设备和存储介质。
一种短信缓存队列选择方法包括:
获取待存储的短信数据;
检测所述短信数据的短信类型,根据所述短信数据的短信类型,得到所述短信数据的优先级别;
获取多个短信缓存队列的优先级别;
根据所述短信数据的优先级别,将所述短信数据存储至对应优先级别的短信缓存队列;及
控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
一种短信缓存队列选择装置包括:
数据获取模块,用于获取待存储的短信数据;
检测模块,用于检测所述短信数据的短信类型,根据所述短信数据的短信类型,得到所述短信数据的优先级别;
级别获取模块,用于获取多个短信缓存队列的优先级别;
存储模块,用于根据所述短信数据的优先级别,将所述短信数据存储至对应优先级别的短信缓存队列;及
选择模块,用于控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时实现本申请任意一个实施例中提供的短信缓存队列选择方法的步骤。:
一个或多个存储有计算机可读指令的非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的短信缓存队列选择方法的步骤。:
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其他特征和优点将从说明书、附图以及权利要求书变得明显。
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为根据一个或多个实施例中短信缓存队列选择方法的应用场景图。
图2为根据一个或多个实施例中短信缓存队列选择方法的流程示意图。
图3为根据一个或多个实施例中检测短信数据的短信类型,根据短信数据的短信类型,得到短信数据的优先级别的步骤的流程示意图。
图4为另一个实施例中短信缓存队列选择方法的流程示意图。
图5为又一个实施例中短信缓存队列选择方法的流程示意图。
图6为再一个实施例中短信缓存队列选择方法的流程示意图。
图7为根据一个或多个实施例中短信缓存队列选择装置的框图。
图8为根据一个或多个实施例中计算机设备的框图。
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的短信缓存队列选择方法,可以应用于如图1所示的应用环境中。终端110与服务器120通过网络进行通信。服务器120根据业务需求,生成对应的短信数据,作为待存储的短信数据。服务器120对待存储的短信数据进行级别分析,以确定短信数据的优先级别;并按照优先级别,将短信数据存储至对应优先级别的短信缓存队列。服务器120还包括短信网关通道,短信网关通道用于提供短信发送的通道。服务器120通过控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,并从对应的短信 缓存队列中取出短信数据发送至终端110。其中,终端110可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器120可以用独立的服务器或者是多个服务器组成的服务器集群来实现。
在其中一个实施例中,如图2所示,提供了一种短信缓存队列选择方法,以该方法应用于图1中的服务器为例进行说明,包括以下步骤:
步骤S201,获取待存储的短信数据。
服务器根据业务需求,生成各类短信数据,比如银行理财短信、产品推广短信等,作为待存储的短信数据,需要将其存储至短信缓存队列中。
步骤S202,检测短信数据的短信类型,根据短信数据的短信类型,得到短信数据的优先级别。
优先级别主要是以短信数据的时效性为准,表示短信数据时效性的高低程度;不同短信类型的短信数据,时效性不一样,对应的优先级别也不一样。例如,时效性要求较高的短信,比如验证码短信,对应的优先级别较高。时效性要求较低的短信,比如营销类短信,对应的优先级别较低。
服务器分析短信数据包含的各方面信息,综合考虑短信数据各方面信息,确定短信数据的短信类型,从而确定短信数据的优先级别,将短信数据按照优先级别进行分类,有利于后续根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列。
步骤S203,获取多个短信缓存队列的优先级别。
短信缓存队列是指缓存短信数据的队列,存放在服务器的数据库或者内存储器中。短信缓存队列的优先级别是与待存储的短信数据的优先级别相对应的,比如,高优先级别的短信数据对应存储至高优先级别的短信缓存队列。
服务器根据短信数据的优先级别,设置短信缓存队列的优先级别,通过获取多个短信缓存队列的优先级别,有利于后续根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列中。
步骤S204,根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列。
通过将同一优先级别的短信数据存储至同一优先级别的短信缓存队列中,可以避免不同优先级别的短信数据存储至同一优先级别的短信缓存队列中,造成短信存储混乱的现象。从而实现了短信数据存储能够有序地进行的目的,同时保证了各优先级别的短信数据的发送服务质量。
步骤S205,控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
短信网关通道存在不同的控制速率,对短信数据的处理能力不一样,比如,高控制速率的短信网关通道,对短信数据的处理能力较强,可以在短时间内发送大量短信数据。
短信网关通道的控制速率与短信缓存队列的优先级别相对应。比如,服务器可以控制 高控制速率的短信网关通道,对应选择高优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。另外,不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送的过程能够同步进行。
在提取不同优先级别的短信数据进行发送的过程中,通过控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列的短信数据进行发送,为不同优先级别的短信缓存队列,配置对应的短信网关通道,避免了短信积压时,短信缓存队列无法进行均衡分配的缺陷,实现了短信缓存队列均衡分配的目的,同时提高了各优先级别的短信数据的发送服务质量,保证了短信发送能够有序地进行,从而提高了短信的发送率。
上述短信缓存队列选择方法中,将短信数据按照优先级别存储至对应优先级别的短信缓存队列,避免了不同优先级别的短信数据存储至同一短信缓存队列,实现了短信数据存储能够有序地进行的目的。同时,通过控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列的短信数据进行发送,为不同优先级别的短信缓存队列,配置对应的短信网关通道,避免了短信积压时,短信缓存队列无法进行均衡分配的缺陷,实现了短信缓存队列均衡分配的目的,同时保证了短信发送能够有序地进行,从而提高了短信的发送率。
考虑到短信数据存在多种类型,比如验证码短信、服务通知类短信和营销类短信等,为了实现对短信数据的分类存储,需要将短信数据进行分类。在其中一个实施例中,如图3所示,检测短信数据的短信类型,根据短信数据的短信类型,得到短信数据的优先级别的步骤具体包括:
步骤S301,获取多种预设短信模板。
不同短信数据对应的短信模板不一样。比如,验证码短信和营销类短信对应的短信模板不一样。服务器通过分析历史短信数据,确定多种短信模板,作为预设短信模板,有利于后续将短信数据的短信模板与多种预设短信模板进行匹配,从多种预设短信模板中筛选出短信数据对应的短信模板,从而确定短信数据的短信类型。短信模板与短信类型相对应。
步骤S302,获取短信数据的短信模板,将短信模板分别与多种预设短信模板进行匹配,得到相应的匹配度。
匹配度是指短信数据的短信模板与预设短信模板的相似度,相似度越大,说明短信数据的短信模板与预设短信模板越相似。服务器提取短信数据的短信模板,将短信数据的短信模板依次与各个预设短信模板进行匹配,通过分析计算,得到相应的匹配度,有利于后续从多个匹配度中,选择匹配度最高的短信模板对应的短信类型,作为短信数据对应的短信类型,根据短信类型与优先级别的对应关系,确定短信数据的优先级别,从而提高了确定短信数据的优先级别的准确性。
步骤S303,选择匹配度最高的短信模板对应的短信类型,作为短信数据对应的短信类型。
从短信数据的短信模板与多种预设短信模板进行匹配后得到的多个匹配度中,筛选出 匹配度最高的短信模板对应的短信类型,作为短信数据对应的短信类型,有利于后续根据短信数据对应的短信类型,确定短信数据的优先级别,进一步提高了确定短信数据的优先级别的准确性。
步骤S304,根据短信类型与优先级别的对应关系,得到短信数据的优先级别。
短信类型与优先级别存在一一对应的关系,通过确定短信数据的短信类型,可以方便确认短信数据的优先级别。比如,验证码短信对应的优先级别为高优先级别;营销类短信对应的优先级别为低优先级别。
在检测短信数据的优先级别中,通过将短信数据的短信模板与多个短信模板进行匹配,得到对应的匹配度,从多个匹配度中,筛选出匹配度最高的短信模板对应的短信类型,作为短信数据对应的短信类型,进而确定短信数据的优先级别,提高了确定短信数据的优先级别的准确性。同时,通过检测短信数据的优先级别,可以将短信数据进行分类,方便后续根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列。
在其中一个实施例中,上述步骤S304,根据短信类型与优先级别的对应关系,得到短信数据的优先级别包括:若短信数据的短信类型为第一短信类型(比如验证码短信),短信数据的优先级别为高优先级别;若短信数据的短信类型为第二短信类型(比如服务通知类短信),短信数据的优先级别为中优先级别;若短信数据的短信类型为第三短信类型(比如营销类短信),短信数据的优先级别为低优先级别。通过确定短信数据的短信类型,查询短信类型与优先级别的对应关系,可以快速准确地确定短信数据的优先级别。
为了避免短信缓存队列的内存溢出,在将短信数据存储至对应的短信缓存队列中,需要检测各优先级别的短信缓存队列的内存是否到达极限。在其中一个实施例中,上述步骤S204,在根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列之前,包括:检测对应优先级别的当前短信缓存队列是否到达对应的缓存阈值。缓存阈值为设定缓存空间,若短信缓存队列中已缓存短信的空间小于对应的缓存阈值,说明该短信缓存队列还可以继续缓存短信。需要说明的是,对应的缓存阈值不是指短信缓存队列的最大缓存空间,其小于短信缓存队列的最大存储空间。
在将短信数据按照优先级别,存储至对应优先级别的短信缓存队列中,先检测对应优先级别的短信缓存队列是否到达对应的缓存阈值,可以避免短信缓存队列的内存溢出,造成不可预估的后果,保证了短信数据安全有序地存储至各个短信缓存队列中。
考虑到同一优先级别的短信缓存队列包含多条,为了保证同一优先级别的短信数据有序地存储至同一优先级别的短信缓存队列中,可以将同一优先级别的短信数据按照顺序存储至同一优先级别的多条短信缓存队列中。
在其中一个实施例中,上述步骤S204,根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列包括:若检测到对应优先级别的当前短信缓存队列没有到达对应的缓存阈值,将对应优先级别的短信数据存储至当前短信缓存队列;若检测到对应优先级别的当前短信缓存队列到达对应的缓存阈值,将对应优先级别的短信数据存储至对 应优先级别的下一条短信缓存队列。对应优先级别的下一条短信缓存队列,是指除了对应优先级别的当前短信缓存队列之外,对应优先级别的其他短信缓存队列。
比如,高优先级别的短信数据存储至高优先级别的短信缓存队列。若检测到当前高优先级别的短信缓存队列没有到达对应的缓存阈值,将高优先级别的短信数据存储至当前高优先级别的短信缓存队列中;若检测到当前高优先级别的短信缓存队列到达对应的缓存阈值,将高优先级别的短信数据存储至下一条高优先级别的短信缓存队列中,以此类推,将高优先级别的短信数据存储至高优先级别的多条短信缓存队列中。
在根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列的过程中,若对应优先级别的当前短信缓存队列没有到达极限,将短信数据存储至当前短信缓存队列,若对应优先级别的当前短信缓存队列到达极限,将短信数据存储至同一优先级别的下一条短信缓存队列,保证了同一优先级别的短信数据有序地存储至同一优先级别的短信缓存队列中,同时避免了短信缓存队列的内存溢出,造成不可预估的后果,从而缓解了当前短信的发送压力。
在其中一个实施例中,如图4所示,提供了另一种短信缓存队列选择方法,包括以下步骤:
步骤S401,获取待存储的短信数据。
步骤S402,获取多种预设短信模板;获取短信数据的短信模板,将短信模板分别与多种预设短信模板进行匹配,得到相应的匹配度;选择匹配度最高的短信模板对应的短信类型,作为短信数据对应的短信类型;根据短信类型与优先级别的对应关系,得到短信数据的优先级别。
步骤S403,获取多个短信缓存队列的优先级别。
步骤S404,检测对应优先级别的当前短信缓存队列是否到达对应的缓存阈值,若检测到对应优先级别的当前短信缓存队列没有到达对应的缓存阈值,将对应优先级别的短信数据存储至当前短信缓存队列;若检测到对应优先级别的当前短信缓存队列到达对应的缓存阈值,将对应优先级别的短信数据存储至对应优先级别的下一条短信缓存队列。
步骤S405,控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
通过控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列的短信数据进行发送,为不同优先级别的短信缓存队列,配置对应的短信网关通道,避免了短信积压时,短信缓存队列无法进行均衡分配的缺陷,实现了短信缓存队列均衡分配的目的,同时保证了短信发送能够有序地进行,从而提高了短信的发送率。
在其中一个实施例中,上述步骤S205,控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列包括:识别短信网关通道的控制速率,将短信网关通道按照控制速率进行分类,得到不同控制速率级别的短信网关通道;根据控制速率级别与优先级别的对应关系,控制不同控制速率级别的短信网关通道,对应选择不同优先级别的短信 缓存队列。比如,短信网关通道的控制速率是固定的,不同短信网关通道的控制速率不一样。通过服务器识别短信网关通道的控制速率,可以将短信网关通道分成高控制速率级别的短信网关通道、中控制速率级别的短信网关通道和低控制速率级别的短信网关通道。控制高控制速率级别的短信网关通道,选择高优先级别的短信缓存队列;控制中控制速率级别的短信网关通道,选择中优先级别的短信缓存队列;控制低控制速率级别的短信网关通道,选择低优先级别的短信缓存队列。
通过控制不同控制速率级别的短信网关通道,对应选择不同优先级别的短信缓存队列,可以最大限度地将各优先级别的短信缓存队列的短信数据发送出去,保证了各优先级别的短信数据达到相应的发送率。同时,为不同优先级别的短信缓存队列,配置不同控制速率的短信网关通道,避免了短信数据积压时,短信缓存队列无法进行均衡分配的缺陷,从而实现了短信缓存队列的均衡分配。
为了保证不同控制速率的短信网关通道,对不同优先级别的短信缓存队列的精准选择,需要验证短信缓存队列是否与短信网关通道匹配。在其中一个实施例中,在控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列之前,包括:根据短信缓存队列的优先级别,对短信缓存队列添加对应的短信网关通道标签;短信网关通道标签与优先级别相对应。为短信缓存队列添加对应的短信网关通道标签,可以验证短信缓存队列是否与短信网关通道匹配,进一步保证了各优先级别的短信缓存队列的均衡分配。
在其中一个实施例中,控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列包括:检测短信缓存队列的短信网关通道标签,判断是否与当前控制速率的短信网关通道匹配,若是,控制当前控制速率的短信网关通道选择短信缓存队列;若否,则触发报警,并控制对应控制速率的短信网关通道选择短信缓存队列。通过检测短信缓存队列的短信网关通道标签,可以验证短信缓存队列是否与短信网关通道匹配,进一步保证了不同控制速率的短信网关通道,对不同优先级别的短信缓存队列的精准选择,从而实现了各优先级别的短信数据达到相应的发送率的目的,进一步保证了短信缓存队列的均衡分配。
考虑到各优先级别的短信缓存队列包含多条,为了保证同一优先级别的短信缓存队列的短信数据发送能够有序地进行,在控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列之前,可以将同一优先级别的多条短信缓存队列按照顺序进行排列。
在其中一个实施例中,在控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列之前,包括:将同一优先级别的多条短信缓存队列进行编号。这样的话,可以保证同一优先级别的短信缓存队列的短信数据发送能够有序地进行。
在其中一个实施例中,控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列包括:控制不同控制速率的短信网关通道,按照对应优先级别的各条短信缓存队列的编号,依次选择各条短信缓存队列。通过控制对应的短信网关通道,按照同一优 先级别的各条短信缓存队列的编号,依次选择各条短信缓存队列,避免了短信数据发送过程杂乱无章的缺陷,实现了各优先级别的短信数据达到相应的发送率的目的,进一步保证了短信缓存队列的均衡分配。需要说明的是,还可以控制对应的短信网关通道,按照其他顺序,依次选择同一优先级别的各条短信缓存队列。
在其中一个实施例中,如图5所示,提供了又一种短信缓存队列选择方法,包括以下步骤:
步骤S501,获取待存储的短信数据。
步骤S502,检测短信数据的优先级别。
步骤S503,获取多个短信缓存队列的优先级别。
步骤S504,根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列。
步骤S505,将同一优先级别的多条短信缓存队列进行编号,控制不同控制速率的短信网关通道,按照对应优先级别的各条短信缓存队列的编号,依次选择各条短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
将短信数据按照优先级别存储至对应优先级别的短信缓存队列,避免了不同优先级别的短信数据存储至同一短信缓存队列,实现了短信数据存储能够有序地进行的目的,保证了各优先级别的短信数据达到相应的发送率。同时,通过控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列的短信数据进行发送,为不同优先级别的短信缓存队列,配置对应的短信网关通道,避免了短信积压时,短信缓存队列无法进行均衡分配的缺陷,实现了短信缓存队列均衡分配的目的。同时保证了短信发送能够有序地进行,从而提高了短信的发送率。
考虑到经过一段时间之后,有些短信缓存队列缓存的短信数据较多,说明短信积压,那么对应的短信发送压力较大;有些短信缓存队列缓存的短信数据较少,说明短信空闲,那么对应的短信发送压力较小。这个时候,可以重新控制多个短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送,以解决当前短信数据积压和空闲的情况。
在其中一个实施例中,该短信缓存队列选择方法还包括:根据预设频率,检测不同优先级别的短信缓存队列的短信数据,得到相应的检测结果;根据检测结果,重新控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信进行发送。比如,当前中优先级别的短信缓存队列缓存的短信数据不是很多,却占用所有中控制速率级别的短信网关通道,而当前高优先级别的短信缓存队列缓存的短信数据较多,但所有高控制速率级别的短信网关通道却不能满足其需求,这个时候,为了缓解高优先级别短信数据的发送压力,可以控制一部分中控制速率级别的短信网关通道,重新选择高优先级别的短信缓存队列。另外,还可以控制一部分中控制速率级别的短信网关通道为高优先级别的短信缓存队列服务一段时间,若时间到达时,控制那一部分中控制 速率级别的短信网关通道,返回到原来的位置(即继续为中优先级别的短信缓存队列服务)。
通过定期检测不同优先级别的短信缓存队列的短信数据,获取不同优先级别的短信缓存队列的短信数据缓存情况,重新控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送,最大限度地缓解了当前短信的发送压力,提高了短信的发送率,避免短信数据积压和空闲的缺陷,进一步实现了短信缓存队列的均衡分配。
在其中一个实施例中,如图6所示,提供了再一种短信缓存队列选择方法,包括以下步骤:
步骤S601,获取待存储的短信数据。
步骤S602,检测短信数据的优先级别。
步骤S603,获取多个短信缓存队列的优先级别。
步骤S604,根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列。
步骤S605,控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
步骤S606,根据预设频率,检测不同优先级别的短信缓存队列的短信数据,得到相应的检测结果;根据检测结果,重新控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
上述短信缓存队列选择方法,实现了短信数据存储和发送能够有序地进行的目的,保证了各优先级别的短信数据达到相应的发送率。同时避免了短信积压时,短信缓存队列无法进行均衡分配的缺陷,实现了短信缓存队列均衡分配的目的。同时通过定期检测不同优先级别的短信缓存队列的短信数据,获取不同优先级别的短信缓存队列的短信数据缓存情况,重新控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送,最大限度地缓解了当前短信的发送压力,提高了短信的发送率,避免短信数据积压和空闲的缺陷,进一步实现了短信缓存队列的均衡分配。
另外,为了进一步提高短信缓存队列的利用率、短信的发送率以及进一步实现短信缓存队列的均衡分配,可以让短信数据存储和发送的过程同时进行。在其中一个实施例中,在根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列的同时,控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
一边将短信数据按照优先级别存储至对应的短信缓存队列中,一边控制不同控制速率的短信网关通道,从对应优先级别的短信缓存队列中取出短信数据进行发送,可以保证短信缓存队列空出更多的存储空间,将再次获取的短信数据进行存储,避免短信积压,缓解 了当前短信的发送压力,进一步提高了短信缓存队列的利用率。同时,存储短信和发送短信同时进行,可以提高短信数据的发送率,避免短信积压和空闲的缺陷,进一步实现了短信缓存队列的均衡分配,以及各优先级别的短信数据达到相应的发送率。
在其中一个实施例中,上述步骤S205,在控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送之后,包括:根据预设周期,输出显示各条短信缓存队列的标签信息。其中,标签信息包括优先级别、缓存空间、排队进度和发送进度。上述实施例,根据预设周期,输出显示各条短信缓存队列的标签信息,方便对各条短信缓存队列的信息进行监控。
应该理解的是,虽然图2-6的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-6中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在其中一个实施例中,如图7所示,提供了一种短信缓存队列选择装置,包括:数据获取模块710、检测模块720、级别获取模块730、存储模块740和选择模块750,其中:
数据获取模块710,用于获取待存储的短信数据。
检测模块720,用于检测短信数据的短信类型,根据短信数据的短信类型,得到短信数据的优先级别。
级别获取模块730,用于获取多个短信缓存队列的优先级别。
存储模块740,用于根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列。
选择模块750,用于控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
在其中一个实施例中,检测模块还用于获取多种预设短信模板;获取短信数据的短信模板,将短信模板分别与多种预设短信模板进行匹配,得到相应的匹配度;选择匹配度最高的短信模板对应的短信类型,作为短信数据对应的短信类型;根据短信类型与优先级别的对应关系,得到短信数据的优先级别。
在其中一个实施例中,短信缓存队列选择装置还包括队列检测模块,用于存储模块根据短信数据的优先级别,将短信数据存储至对应优先级别的短信缓存队列之前,检测对应优先级别的当前短信缓存队列是否到达对应的缓存阈值。
在其中一个实施例中,存储模块还用于若检测到对应优先级别的当前短信缓存队列没有到达对应的缓存阈值,将对应优先级别的短信数据存储至当前短信缓存队列;若检测到对应优先级别的当前短信缓存队列到达对应的缓存阈值,将对应优先级别的短信数据存储 至对应优先级别的下一条短信缓存队列。
在其中一个实施例中,选择模块还用于识别短信网关通道的控制速率,将短信网关通道按照控制速率进行分类,得到不同控制速率级别的短信网关通道;根据控制速率级别与优先级别的对应关系,控制不同控制速率级别的短信网关通道,对应选择不同优先级别的短信缓存队列。
在其中一个实施例中,短信缓存队列选择装置还包括标签添加模块,用于根据短信缓存队列的优先级别,对短信缓存队列添加对应的短信网关通道标签;短信网关通道标签与优先级别相对应。
在其中一个实施例中,选择模块还用于检测短信缓存队列的短信网关通道标签,判断是否与当前控制速率的短信网关通道匹配,若是,控制当前控制速率的短信网关通道选择短信缓存队列;若否,则触发报警,并控制对应控制速率的短信网关通道选择短信缓存队列。
在其中一个实施例中,短信缓存队列选择装置还包括编号模块,用于选择模块控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列之前,将同一优先级别的多条短信缓存队列进行编号。
在其中一个实施例中,选择模块还用于控制不同控制速率的短信网关通道,按照对应优先级的各条短信缓存队列的编号,依次选择各条短信缓存队列。
在其中一个实施例中,短信缓存队列选择装置还包括重新选择模块,用于根据预设频率,检测不同优先级别的短信缓存队列的短信数据,得到相应的检测结果;根据检测结果,重新控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
上述各个实施例,短信缓存队列选择装置将短信数据按照优先级别存储至对应优先级别的短信缓存队列,避免了不同优先级别的短信数据存储至同一短信缓存队列,实现了短信数据存储能够有序地进行的目的。同时,通过控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列的短信数据进行发送,为不同优先级别的短信缓存队列,配置对应的短信网关通道,避免了短信积压时,短信缓存队列无法进行均衡分配的缺陷,实现了短信缓存队列均衡分配的目的。
关于短信缓存队列选择装置的具体限定可以参见上文中对于短信缓存队列选择方法的限定,在此不再赘述。上述短信缓存队列选择装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在其中一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图8所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存 储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机可读指令和数据库。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的数据库用于存储短信数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令被处理器执行时以实现一种短信缓存队列选择方法。
本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时实现本申请任意一个实施例中提供的短信缓存队列选择方法的步骤。:
一个或多个存储有计算机可读指令的非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的短信缓存队列选择方法的步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。
Claims (20)
- 一种短信缓存队列选择方法,包括:获取待存储的短信数据;检测所述短信数据的短信类型,根据所述短信数据的短信类型,得到所述短信数据的优先级别;获取多个短信缓存队列的优先级别;根据所述短信数据的优先级别,将所述短信数据存储至对应优先级别的短信缓存队列;及控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
- 根据权利要求1所述的方法,其特征在于,所述检测所述短信数据的短信类型,根据所述短信数据的短信类型,得到所述短信数据的优先级别,包括:获取多种预设短信模板;提取所述短信数据的短信模板,将所述短信模板分别与多种预设短信模板进行匹配,得到相应的匹配度;选择匹配度最高的短信模板对应的短信类型,作为所述短信数据对应的短信类型;及根据短信类型与优先级别的对应关系,得到所述短信数据的优先级别。
- 根据权利要求1所述的方法,其特征在于,在根据所述短信数据的优先级别,将所述短信数据存储至对应优先级别的短信缓存队列之前,所述方法还包括:检测对应优先级别的当前短信缓存队列是否到达对应的缓存阈值;所述根据所述短信数据的优先级别,将所述短信数据存储至对应优先级别的短信缓存队列包括:若检测到对应优先级别的当前短信缓存队列没有到达对应的缓存阈值,将对应优先级别的短信数据存储至当前短信缓存队列;及若检测到对应优先级别的当前短信缓存队列到达对应的缓存阈值,将对应优先级别的短信数据存储至对应优先级别的下一条短信缓存队列。
- 根据权利要求1所述的方法,其特征在于,所述控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,包括:识别短信网关通道的控制速率,将短信网关通道按照控制速率进行分类,得到不同控制速率级别的短信网关通道;及根据控制速率级别与优先级别的对应关系,控制不同控制速率级别的短信网关通道,对应选择不同优先级别的短信缓存队列。
- 根据权利要求4所述的方法,其特征在于,在控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列之前,所述方法还包括:根据短信缓存队列的优先级别,对短信缓存队列添加对应的短信网关通道标签;所述 短信网关通道标签与优先级别相对应;所述控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,包括:检测短信缓存队列的短信网关通道标签,判断是否与当前控制速率的短信网关通道匹配,若是,控制当前控制速率的短信网关通道选择所述短信缓存队列;若否,则触发报警,并控制对应控制速率的短信网关通道选择所述短信缓存队列。
- 根据权利要求4所述的方法,其特征在于,各优先级别的短信缓存队列包含多条;在控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列之前,所述方法还包括:将同一优先级别的多条短信缓存队列进行编号;所述控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,包括:控制不同控制速率的短信网关通道,按照对应优先级别的各条短信缓存队列的编号,依次选择各条所述短信缓存队列。
- 根据权利要求1至6任意一项所述的方法,其特征在于,还包括:根据预设频率,检测不同优先级别的短信缓存队列的短信数据,得到相应的检测结果;及根据检测结果,重新控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
- 一种短信缓存队列选择装置,包括:数据获取模块,用于获取待存储的短信数据;检测模块,用于检测所述短信数据的短信类型,根据所述短信数据的短信类型,得到所述短信数据的优先级别;级别获取模块,用于获取多个短信缓存队列的优先级别;存储模块,用于根据所述短信数据的优先级别,将所述短信数据存储至对应优先级别的短信缓存队列;及选择模块,用于控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
- 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理执行以下步骤:获取待存储的短信数据;检测所述短信数据的短信类型,根据所述短信数据的短信类型,得到所述短信数据的优先级别;获取多个短信缓存队列的优先级别;根据所述短信数据的优先级别,将所述短信数据存储至对应优先级别的短信缓存队列;及控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
- 根据权利要求9所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:获取多种预设短信模板;提取所述短信数据的短信模板,将所述短信模板分别与多种预设短信模板进行匹配,得到相应的匹配度;选择匹配度最高的短信模板对应的短信类型,作为所述短信数据对应的短信类型;及根据短信类型与优先级别的对应关系,得到所述短信数据的优先级别。
- 根据权利要求9所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:检测对应优先级别的当前短信缓存队列是否到达对应的缓存阈值;若检测到对应优先级别的当前短信缓存队列没有到达对应的缓存阈值,将对应优先级别的短信数据存储至当前短信缓存队列;及若检测到对应优先级别的当前短信缓存队列到达对应的缓存阈值,将对应优先级别的短信数据存储至对应优先级别的下一条短信缓存队列。
- 根据权利要求9所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:识别短信网关通道的控制速率,将短信网关通道按照控制速率进行分类,得到不同控制速率级别的短信网关通道;及根据控制速率级别与优先级别的对应关系,控制不同控制速率级别的短信网关通道,对应选择不同优先级别的短信缓存队列。
- 根据权利要求12所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:根据短信缓存队列的优先级别,对短信缓存队列添加对应的短信网关通道标签;所述短信网关通道标签与优先级别相对应;及检测短信缓存队列的短信网关通道标签,判断是否与当前控制速率的短信网关通道匹配,若是,控制当前控制速率的短信网关通道选择所述短信缓存队列;若否,则触发报警,并控制对应控制速率的短信网关通道选择所述短信缓存队列。
- 根据权利要求12所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:将同一优先级别的多条短信缓存队列进行编号;及控制不同控制速率的短信网关通道,按照对应优先级别的各条短信缓存队列的编号, 依次选择各条所述短信缓存队列。
- 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:获取待存储的短信数据;检测所述短信数据的短信类型,根据所述短信数据的短信类型,得到所述短信数据的优先级别;获取多个短信缓存队列的优先级别;根据所述短信数据的优先级别,将所述短信数据存储至对应优先级别的短信缓存队列;及控制不同控制速率的短信网关通道,对应选择不同优先级别的短信缓存队列,从对应的短信缓存队列取出短信数据进行发送。
- 根据权利要求15所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:获取多种预设短信模板;提取所述短信数据的短信模板,将所述短信模板分别与多种预设短信模板进行匹配,得到相应的匹配度;选择匹配度最高的短信模板对应的短信类型,作为所述短信数据对应的短信类型;及根据短信类型与优先级别的对应关系,得到所述短信数据的优先级别。
- 根据权利要求15所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:检测对应优先级别的当前短信缓存队列是否到达对应的缓存阈值;若检测到对应优先级别的当前短信缓存队列没有到达对应的缓存阈值,将对应优先级别的短信数据存储至当前短信缓存队列;及若检测到对应优先级别的当前短信缓存队列到达对应的缓存阈值,将对应优先级别的短信数据存储至对应优先级别的下一条短信缓存队列。
- 根据权利要求15所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:识别短信网关通道的控制速率,将短信网关通道按照控制速率进行分类,得到不同控制速率级别的短信网关通道;及根据控制速率级别与优先级别的对应关系,控制不同控制速率级别的短信网关通道,对应选择不同优先级别的短信缓存队列。
- 根据权利要求18所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:根据短信缓存队列的优先级别,对短信缓存队列添加对应的短信网关通道标签;所述短信网关通道标签与优先级别相对应;及检测短信缓存队列的短信网关通道标签,判断是否与当前控制速率的短信网关通道匹配,若是,控制当前控制速率的短信网关通道选择所述短信缓存队列;若否,则触发报警,并控制对应控制速率的短信网关通道选择所述短信缓存队列。
- 根据权利要求18所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:将同一优先级别的多条短信缓存队列进行编号;及控制不同控制速率的短信网关通道,按照对应优先级别的各条短信缓存队列的编号,依次选择各条所述短信缓存队列。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810716803.5A CN108933993B (zh) | 2018-07-03 | 2018-07-03 | 短信缓存队列选择方法、装置、计算机设备和存储介质 |
| CN201810716803.5 | 2018-07-03 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020006867A1 true WO2020006867A1 (zh) | 2020-01-09 |
Family
ID=64446571
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/105520 Ceased WO2020006867A1 (zh) | 2018-07-03 | 2018-09-13 | 短信缓存队列选择方法、装置、计算机设备和存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108933993B (zh) |
| WO (1) | WO2020006867A1 (zh) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115633187A (zh) * | 2022-12-22 | 2023-01-20 | 易方信息科技股份有限公司 | 聊天消息处理方法、装置、计算机设备及存储介质 |
| CN115842796A (zh) * | 2021-08-17 | 2023-03-24 | 中国移动通信集团辽宁有限公司 | 一种生成业务短信的方法、装置、设备及存储介质 |
| CN116346937A (zh) * | 2023-03-30 | 2023-06-27 | 济南浪潮数据技术有限公司 | 一种客户端的网络请求传输方法、装置以及介质 |
| CN116582827A (zh) * | 2023-06-14 | 2023-08-11 | 平安科技(深圳)有限公司 | 基于人工智能的短信分发管理方法、装置、设备及介质 |
| WO2023240998A1 (zh) * | 2022-06-15 | 2023-12-21 | Oppo广东移动通信有限公司 | 数据包处理方法、通信芯片及计算机设备 |
| CN119136156A (zh) * | 2024-11-04 | 2024-12-13 | 上海帜讯信息技术股份有限公司 | 消息匹配通道发送的方法及系统 |
Families Citing this family (20)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109561403A (zh) * | 2018-12-12 | 2019-04-02 | 网宿科技股份有限公司 | 一种短信调度方法、设备及存储介质 |
| CN111338810A (zh) * | 2018-12-19 | 2020-06-26 | 北京京东尚科信息技术有限公司 | 用于存储信息的方法和装置 |
| CN109474900B (zh) * | 2018-12-21 | 2021-10-29 | 上海瀚银信息技术有限公司 | 一种短信服务系统及服务方法 |
| CN110337075A (zh) * | 2019-06-28 | 2019-10-15 | 北京奇才天下科技有限公司 | 一种基于app业务类型的短信消息发送方法、装置及电子设备 |
| CN110661668B (zh) * | 2019-09-29 | 2023-05-16 | 深圳前海微众银行股份有限公司 | 一种消息发送管理方法及装置 |
| WO2021087970A1 (zh) * | 2019-11-08 | 2021-05-14 | 深圳市欢太科技有限公司 | 标签数据的更新方法、装置、电子设备及存储介质 |
| CN114402313A (zh) * | 2019-11-08 | 2022-04-26 | 深圳市欢太科技有限公司 | 标签更新方法、装置、电子设备及存储介质 |
| CN111163016B (zh) * | 2019-12-09 | 2023-09-29 | 杭州迪普科技股份有限公司 | 一种队列管理的方法及装置 |
| CN111064799A (zh) * | 2019-12-25 | 2020-04-24 | 北京首信科技股份有限公司 | 应用于物联网的数据推送方法、装置、设备及存储介质 |
| CN112020024B (zh) * | 2020-07-24 | 2024-01-30 | 上海淇玥信息技术有限公司 | 一种短信发送管理方法、系统和电子设备 |
| CN112672293B (zh) * | 2020-12-15 | 2022-04-19 | 北京金山云网络技术有限公司 | 报警短信的下发方法、装置、系统及电子设备 |
| CN113098763B (zh) * | 2021-06-10 | 2021-10-01 | 天聚地合(苏州)数据股份有限公司 | 即时通讯消息发送方法、装置、存储介质及设备 |
| CN113891258A (zh) * | 2021-08-13 | 2022-01-04 | 华能澜沧江水电股份有限公司 | 预警短信主备多通道发送策略选择系统及算法 |
| CN115915033A (zh) * | 2021-09-23 | 2023-04-04 | 北京金山云网络技术有限公司 | 短信处理方法、装置及电子设备 |
| CN115884109A (zh) * | 2021-09-26 | 2023-03-31 | 中国移动通信集团浙江有限公司 | 实时短信任务调度方法、终端设备及介质 |
| CN113918365A (zh) * | 2021-10-20 | 2022-01-11 | 中国联合网络通信集团有限公司 | 基于短信的数据处理方法、装置及设备 |
| CN114205762A (zh) * | 2021-12-10 | 2022-03-18 | 中国农业银行股份有限公司 | 短信流量控制方法、设备及存储介质 |
| CN116361017A (zh) * | 2021-12-20 | 2023-06-30 | 三六零数字安全科技集团有限公司 | 基于多通道的数据发送方法、装置、设备及存储介质 |
| CN114501351B (zh) * | 2022-01-28 | 2024-04-26 | 阿里巴巴(中国)有限公司 | 流量控制方法、设备及存储介质 |
| CN115242745B (zh) * | 2022-07-19 | 2023-08-15 | 南京鼎山信息科技有限公司 | 基于5g通信网络的短信推送系统及方法 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101453716A (zh) * | 2008-11-04 | 2009-06-10 | 中国移动通信集团福建有限公司 | 基于短信应用网关的短信下发调度系统 |
| CN102364967A (zh) * | 2011-11-21 | 2012-02-29 | 携程计算机技术(上海)有限公司 | 短信发送方法及系统 |
| US20120093314A1 (en) * | 2010-10-13 | 2012-04-19 | Nokia Corporation | Dynamic content-based ciphering on a control channel |
| CN105337837A (zh) * | 2014-06-26 | 2016-02-17 | 阿里巴巴集团控股有限公司 | 一种消息发送方法和设备 |
| CN105915647A (zh) * | 2016-06-17 | 2016-08-31 | 浙江万朋教育科技股份有限公司 | 一种提升短信发送性能的系统及方法 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101674611A (zh) * | 2009-09-16 | 2010-03-17 | 中兴通讯股份有限公司 | 一种短消息中心过负荷控制的方法和系统 |
| CN102158833A (zh) * | 2011-04-25 | 2011-08-17 | 深圳市深讯信息科技发展股份有限公司 | 短消息的发送方法和短消息网关 |
| CN103139732A (zh) * | 2011-11-24 | 2013-06-05 | 方正国际软件有限公司 | 一种改进的短信发送方法及系统 |
| CN105357386A (zh) * | 2015-11-03 | 2016-02-24 | 小米科技有限责任公司 | 短信排序方法及装置 |
| CN106412861B (zh) * | 2016-09-28 | 2017-11-28 | 海南港澳资讯产业股份有限公司 | 一种短信分发方法及系统 |
| CN107889069B (zh) * | 2017-12-28 | 2020-04-07 | 蜂助手股份有限公司 | 一种短信网关选择方法、装置、服务器及可读存储介质 |
-
2018
- 2018-07-03 CN CN201810716803.5A patent/CN108933993B/zh active Active
- 2018-09-13 WO PCT/CN2018/105520 patent/WO2020006867A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101453716A (zh) * | 2008-11-04 | 2009-06-10 | 中国移动通信集团福建有限公司 | 基于短信应用网关的短信下发调度系统 |
| US20120093314A1 (en) * | 2010-10-13 | 2012-04-19 | Nokia Corporation | Dynamic content-based ciphering on a control channel |
| CN102364967A (zh) * | 2011-11-21 | 2012-02-29 | 携程计算机技术(上海)有限公司 | 短信发送方法及系统 |
| CN105337837A (zh) * | 2014-06-26 | 2016-02-17 | 阿里巴巴集团控股有限公司 | 一种消息发送方法和设备 |
| CN105915647A (zh) * | 2016-06-17 | 2016-08-31 | 浙江万朋教育科技股份有限公司 | 一种提升短信发送性能的系统及方法 |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115842796A (zh) * | 2021-08-17 | 2023-03-24 | 中国移动通信集团辽宁有限公司 | 一种生成业务短信的方法、装置、设备及存储介质 |
| WO2023240998A1 (zh) * | 2022-06-15 | 2023-12-21 | Oppo广东移动通信有限公司 | 数据包处理方法、通信芯片及计算机设备 |
| CN115633187A (zh) * | 2022-12-22 | 2023-01-20 | 易方信息科技股份有限公司 | 聊天消息处理方法、装置、计算机设备及存储介质 |
| CN115633187B (zh) * | 2022-12-22 | 2023-04-07 | 易方信息科技股份有限公司 | 聊天消息处理方法、装置、计算机设备及存储介质 |
| CN116346937A (zh) * | 2023-03-30 | 2023-06-27 | 济南浪潮数据技术有限公司 | 一种客户端的网络请求传输方法、装置以及介质 |
| CN116582827A (zh) * | 2023-06-14 | 2023-08-11 | 平安科技(深圳)有限公司 | 基于人工智能的短信分发管理方法、装置、设备及介质 |
| CN119136156A (zh) * | 2024-11-04 | 2024-12-13 | 上海帜讯信息技术股份有限公司 | 消息匹配通道发送的方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108933993A (zh) | 2018-12-04 |
| CN108933993B (zh) | 2021-08-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020006867A1 (zh) | 短信缓存队列选择方法、装置、计算机设备和存储介质 | |
| US10425373B2 (en) | Systems and methods for prioritizing messages for conversion from text to speech based on predictive user behavior | |
| US11989673B2 (en) | Systems and methods for proactive infrastructure resource management for multiple application clusters | |
| WO2020014954A1 (zh) | 数据控制方法及终端设备 | |
| US20140214879A1 (en) | Person-based information aggregation | |
| US20140094134A1 (en) | Mechanism for facilitating dynamically prioritized control of calls over a network | |
| WO2019218454A1 (zh) | 订阅报表生成方法、装置、计算机设备和存储介质 | |
| JP7164719B2 (ja) | 顔サンプルライブラリのデプロイ方法、顔認識による業務処理方法及び装置 | |
| CN112015553A (zh) | 基于机器学习模型的数据处理方法、装置、设备和介质 | |
| CN110659133B (zh) | 一种资源分配方法及分配装置、存储介质、电子设备 | |
| CN113760982A (zh) | 一种数据处理方法和装置 | |
| US10425273B2 (en) | Data processing system and data processing method | |
| WO2020015107A1 (zh) | 短信分发处理方法、装置、计算机设备和存储介质 | |
| WO2021120628A1 (zh) | 基于区块链的敏感词检测方法、装置、计算机设备和计算机可读存储介质 | |
| US10649821B2 (en) | Method, system and apparatus for dynamically allocating event data | |
| US9992659B1 (en) | Stream-processing of telecommunication event records | |
| US20190130105A1 (en) | Scanning files using antivirus software | |
| US11314803B2 (en) | Method for image-processing and mobile terminal | |
| US11226844B1 (en) | Universal, proactive, and dynamic scaling of computing resources | |
| CN106682130B (zh) | 相似图片检测方法和装置 | |
| WO2020006865A1 (zh) | 短信发送方法、装置、计算机设备和存储介质 | |
| CN103812989A (zh) | 一种识别骚扰电话的方法和装置 | |
| CN112416558A (zh) | 基于区块链的业务数据处理方法、装置及存储介质 | |
| WO2020211789A1 (zh) | 网络搜索方法、装置、设备和存储介质 | |
| WO2017157009A1 (zh) | 集群全网呼叫控制方法及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18925709 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18925709 Country of ref document: EP Kind code of ref document: A1 |