A method and device for dispatching and sending information
A technology of information transmission and information scheduling, applied in the field of communication, can solve the problems of blocking the information transmission process, overloading of data transmission interface, large change of load of information transmission interface, etc., and achieve the effect of improving efficiency and accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] refer to figure 1 , which shows a schematic flow chart of an information scheduling and sending method in the present application, which may specifically include:
[0073] Step S110, put the sending task into the message queue.
[0074] Generally speaking, a sending task includes sending content, a sending object identifier, etc., where a number or an IP address is generally used as a sending object identifier. In the embodiment of the present invention, preferably, the information to be sent is used as the sending content, and the mobile phone number is used as the sending object identifier, then the sending object is a mobile phone, and this application will be described.
[0075] In addition, the message queue in the embodiment of the present invention is a message queue based on a database, such as a message queue based on SSDB (Scientific and Statistical, scientific statistical database), which is a non-memory message queue. Put the sending task into the message ...
Embodiment 2
[0100] refer to figure 2 , which shows a schematic flow chart of an information scheduling and sending method in the present application, which may specifically include:
[0101] Step S210, put the sending task into the message queue.
[0102] Step S220, applying for a specified number of memory spaces in units of bytes.
[0103] In bytes, apply for a specified number of memory spaces, each of which can only write 0 or 1. In the embodiment of the present invention, after the above memory space is applied for, its default value is 0, indicating that no message is sent.
[0104] In the embodiment of the present invention, the requested memory space is used to store sent identifiers, and the number thereof is related to the preset information sending speed. Preferably, in the embodiment of the present invention, the first number of sending tasks executed within the specified first time period in the information sending speed is used as the specified number of memory space app...
Embodiment 3
[0128] refer to image 3 , which shows a schematic flow chart of an information scheduling and sending method in the present application, which may specifically include:
[0129] Step S310, put the sending task into the message queue.
[0130] Step S320, applying for a specified number of memory spaces in units of bytes.
[0131] Step S330, judging whether the time spent writing all the memory space of the first number into the sent identifier is less than the first time period; wherein the sent identifier is written after each sending task is executed;
[0132] If it takes less than the first time period to write all the memory space of the first number into the sent mark, then enter step S340, until the time spent plus the pause time reaches the first time period, enter step S350, and then enter step S360 ;
[0133] If it takes more than or equal to the first time period to write all the sent identifiers into the memory space of the first number, go to step S350, and then...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


