CN106412861A - Short message distribution method and system - Google Patents
Short message distribution method and system Download PDFInfo
- Publication number
- CN106412861A CN106412861A CN201610857737.4A CN201610857737A CN106412861A CN 106412861 A CN106412861 A CN 106412861A CN 201610857737 A CN201610857737 A CN 201610857737A CN 106412861 A CN106412861 A CN 106412861A
- Authority
- CN
- China
- Prior art keywords
- queue
- list
- note
- message service
- 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.)
- Granted
Links
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/24—Traffic characterised by specific attributes, e.g. priority or QoS
-
- 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/6215—Individual queue per QOS, rate or priority
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/101—Access control lists [ACL]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a short message distribution method. The method comprises the steps of S1, receiving short message packets submitted by users and sending the short message packets to an asynchronous message service list; S2, obtaining the short message packets from the asynchronous message service queue, carrying out channel packet distribution according to channel configuration parameters, and sending data back to the asynchronous message service queue after packet distribution is finished; S3, extracting short message packets to which the data belongs from the asynchronous message service queue and sending the short message packets; S4, generating warehousing data packets after the short messages are sent completely and sending the data packets to the asynchronous message service queue; and S5, carrying out warehousing storage through warehousing service. The invention also provides a short message distribution system for realizing the method. Compared with the prior art, the system and the method have the advantages that the whole process data for short message distribution is only interacted in a memory, the speed is faster than that of a traditional mode of accessing a file or a database, and the system and the method have clear advantages in the following operations.
Description
Technical field
The present invention relates to computer realm, particularly a kind of note distribution method and system.
Background technology
User with mobile terminal gets more and more, and enterprise or businessman can use the hand of important information pushing to user
In machine.Current service businessman and generally all by way of bulk SMS, related content can be pushed to user by note
Mobile phone.And wholesale short message sending of the prior art generally comprises following steps:
1st, client calls SMS platform interface, submits note to.
2nd, interface processing module is stored in note bag in database.
3rd, go-on-go processing module configures according to account number, note data bag is delivered to corresponding passage and sends team's table.
4th, passage transmission program fetches data from transmit queue table, is sent to passage operator.
However, traditional method needs to access database and file, when high-volume short message sending has processing speed slowly, point
Send out efficiency low.
Content of the invention
It is an object of the invention to overcoming shortcoming and the deficiency of prior art, there is provided one kind can quickly carry out note distribution
Method and system.
The present invention realizes especially by following technical scheme:A kind of note distribution method, comprises the following steps:
S1:The note bag that receive user is submitted to, and deliver to asynchronous message service queue;
S2:Take note bag from asynchronous message service queue, according to passage configuration parameter, enter row of channels subpackage, after subpackage is complete
Send asynchronous message service queue back to;
S3:Note bag belonging to extracting from asynchronous message service queue, is transmitted;
S4:After short message sending is complete, generate into library package, deliver to asynchronous message service queue;
S5:Carry out warehouse-in by warehouse-in service to preserve.
As a further improvement on the present invention, the working method of described asynchronous message service queue services for socket, its
Apply for key, list and set data form in internal memory;Wherein,
Described key data form is used for storing user profile, is authenticated;
Described list data form is the queue of a first in first out, for providing data to be inserted and removed from;Described queue
List includes transmit queue list, multiple logical many queues list and alternate channel queue list;
Described set data form is a set, for providing common factor, union operation.
As a further improvement on the present invention, in described step S1, in the note bag that receive user is submitted to, including following
Step:
The note data bag submitted to by http interface user, and this user profile is placed in key value;
User is authenticated, certification is delivered in asynchronous message service queue after passing through.
As a further improvement on the present invention, in described step 2, according to configuration information, transmit queue list data is divided
It is sent in multiple channel queue list.
As a further improvement on the present invention, in described step 2, also include step:Monitor each channel queue list,
If it exceeds the shunting threshold values setting, trigger and be diverted to alternate channel queue list.
As a further improvement on the present invention, in described step S2, when entering row of channels subpackage, comprise the following steps:
S21:Blacklist, passage white list, channel parameters setting, number segment, area, specify cell-phone number and be loaded into
Internal memory;
S22:Filtering black list;
S23:If specifying cell-phone number table have this cell-phone number, the passage by specifying cell-phone number is walked;
S24:If setting is by regional selector channel function, take the first seven position of phone number, the corresponding area of positioning;
S25:Search whether this area specifies special channel;If it is found, being then put in corresponding channel queue, and judge
Whether this passage is white list passage;If so, then judge whether this phone number belongs to white list, and will be not white list
Cell-phone number filters.
As a further improvement on the present invention, in described step S3, following steps are specifically included:
S31:Extract data is activation to movement, UNICOM, telecommunications note industry gateway from multiple channel queue list;
S32:Extract data from multiple channel queue list, be sent to third party's passage.
As a further improvement on the present invention, in described step S1, specifically include:
S11:By direct-connected gateway, third party's channel reception to upstream data, deliver to the upstream queue of asynchronous message service;
S12:Untreated uplink information is extracted from asynchronous message service upstream queue by upstream service, phase is carried out according to coding
The triggering answered.
Present invention also offers a kind of note dissemination system, it includes
Receiver module, the note bag submitted to for receive user, and deliver to asynchronous message service queue;
Subpackage module, for taking note bag from asynchronous message service queue, according to passage configuration parameter, enters row of channels and divides
Bag, sends asynchronous message service queue back to after subpackage is complete;
Sending module, for extracting affiliated note bag from asynchronous message service queue, is transmitted;
Generation module, for after short message sending is complete, generating into library package, delivers to asynchronous message service queue;
Preserving module, preserves for note data bag is carried out with warehouse-in.
As a further improvement on the present invention, the working method of described asynchronous message service queue services for socket, its
Apply for key, list and set data form in internal memory;Wherein,
Described key data form is used for storing user profile, is authenticated;
Described list data form is the queue of a first in first out, for providing data to be inserted and removed from;Described queue
List includes transmit queue list, multiple logical many queues list and alternate channel queue list;
Described set data form is a set, for providing common factor, union operation.
As a further improvement on the present invention, described receiver module includes:
User profile sub-module stored, for the note data bag submitted to by http interface user, and this is used
Family information is placed in key value;
Authentication sub module, for being authenticated to user, certification is delivered in asynchronous message service queue after passing through.
As a further improvement on the present invention, described subpackage module includes distributing submodule, for according to configuration information, inciting somebody to action
Transmit queue list data distribution is to multiple channel queue list.
As a further improvement on the present invention, described subpackage module also includes monitoring submodule, for monitoring each passage
Queue list, if it exceeds the shunting threshold values setting, triggers and is diverted to alternate channel queue list.
As a further improvement on the present invention, described subpackage module also includes:
Load submodule, for blacklist, passage white list, channel parameters setting, number segment, area, specify
Cell-phone number is loaded into internal memory;
Filter submodule, for filtering black list;
Judging submodule, for judging to specify whether cell-phone number table has corresponding cell-phone number, if specify hand
Machine table has this cell-phone number, then walk by the passage specifying cell-phone number;
Positioning submodule, for when setting is by regional selector channel function, taking the first seven position of phone number, positioning corresponds to
Area;
Search submodule, for searching whether this area specifies special channel;If it is found, being then put into corresponding passage team
In row, and judge whether this passage is white list passage;If so, then judge whether this phone number belongs to white list, and will
It is not the cell-phone number filtration of white list.
As a further improvement on the present invention, described sending module includes:
Straight-through gateway sending module, for extracting data is activation to movement, UNICOM, telecommunications from multiple channel queue list
Note industry gateway;
Third party's passage sending module, for extracting data from multiple channel queue list, is sent to third party's passage.
As a further improvement on the present invention, also include in described receiver module:
Upstream data receiving submodule, delivers to asynchronous for by direct-connected gateway, third party's channel reception to upstream data
The upstream queue of messenger service;
Triggering submodule, for extracting untreated uplink information, root by upstream service from asynchronous message service upstream queue
Triggered accordingly according to coding.
Compared to prior art, the present invention possesses following beneficial effect:
(1) the only interaction in internal memory of the whole process data of note distribution, accesses the mode of file or database than tradition
Hurry up, in following operation, have obvious advantage.
(2) user authentication:Conventional method accesses database and extracts customer information, is related to database query operations, typically exists
Second level;New method is that user profile is placed in key value, extracts customer information in Millisecond.
(3) white list filters:Using the common factor function of asynchronous message service, once interaction can be extracted white list data
Out, it is to avoid tradition is a large amount of to access database manipulation.
(4) multichannel distribution:According to configuration, the data distribution of transmit queue table to each channel queue, due to asynchronous
Messenger service queue operation, faster than in database migration data.
(5) priority treatment:Using the data separating different priorities without channel queue list, lead to traditional database
Cross sortord processing method to compare, accomplish that data separately, does not interfere with each other.
In order to more fully understand and implement, describe the present invention below in conjunction with the accompanying drawings in detail.
Brief description
Fig. 1 is the logical architecture schematic diagram of the note distribution procedure of the present invention.
Fig. 2 is the flow chart of steps of note distribution method of the present invention.
Fig. 3 is the schematic diagram of the data flow of note distribution procedure of the present invention.
Fig. 4 is that the module of the note dissemination system of the present invention connects block diagram.
Fig. 5 is the module frame chart within the receiver module of the present invention.
Fig. 6 is the module frame chart of the subpackage inside modules of the present invention.
Fig. 7 is the module frame chart within the sending module of the present invention.
Specific embodiment
The present invention is slow in order to solve to carry out processing speed during high-volume short message sending in prior art, distributes low the asking of efficiency
Topic, there is provided a kind of high note distribution method for the treatment of effeciency and system.It is introduced explanation especially by below example.
First, first introduce the basic logic framework that the note distribution method of the present invention and system are applied to.Specifically please join
Read Fig. 1, it is the logical architecture schematic diagram of the note distribution procedure of the present invention.
It is based on intelligent SMS distribution platform in the present invention, this distribution platform is by interface, asynchronous message service, go-on-go clothes
Business, monitoring and shunting, warehouse-in, the service composition such as up, direct-connected gateway program, third party's channel program.
Described interface is http interface, is responsible for receiving the note data bag of client, is submitted to asynchronous message service after certification
Queue.
Described asynchronous message service, including key value, transmit queue list, each channel queue list messenger service.
Described go-on-go service, it is used for according to configuration information, transmit queue list data distribution to multichannel queue
list.
Described monitoring and shunting, it is used for monitoring each channel queue list, if it exceeds the shunting threshold values setting, triggering point
Flow to alternate channel queue list.
Described direct-connected gateway program, it supports cmpp, sgip, smgp agreement, for extracting data from channel queue list
It is sent to movement, UNICOM, telecommunications note industry gateway.
Described third party's channel program, it supports the program of third party's short message channel interface, for from channel queue list
Extract data, be sent to third party's passage.
Described warehouse-in service, for passage has been sent data conversion storage to database, is easy to inquire about and counts.
Described upstream service, for treatment channel uplink information, triggers corresponding function according to up coding.
Based on above-mentioned short message sending platform, the invention provides a kind of note distribution method.Specifically refer to Fig. 2, its
Flow chart of steps for note distribution method of the present invention.The invention provides a kind of note distribution method, comprise the following steps:
S1:The note bag that receive user is submitted to, and deliver to asynchronous message service queue.
Specifically, the working method of described asynchronous message service queue be socket service, its apply in internal memory key,
List and set data form;Wherein, described key data form is used for storing user profile, is authenticated.For example:RC.Get("
KHDM_"+KHDM).
Described list data form is the queue of a first in first out, for providing data to be inserted and removed from;Described queue
List includes transmit queue list, multiple logical many queues list and alternate channel queue list.For example:RC.LPush
(ListId);RC.RPop(ListId).
Described set data form is a set, for providing common factor, union operation.
Further, in described step S1, in the note bag that receive user is submitted to, comprise the following steps:
The note data bag submitted to by http interface user, and this user profile is placed in key value;
User is authenticated, certification is delivered in asynchronous message service queue after passing through.
Further, in described step S1, also specifically include:
S11:By direct-connected gateway, third party's channel reception to upstream data, deliver to the upstream queue of asynchronous message service.
S12:Untreated uplink information is extracted from asynchronous message service upstream queue by upstream service, phase is carried out according to coding
The triggering answered.
S2:Take note bag from asynchronous message service queue, according to passage configuration parameter, enter row of channels subpackage, after subpackage is complete
Send asynchronous message service queue back to.
Specifically, in described step S2, according to configuration information, by transmit queue list data distribution to multiple channel queues
In list.
Further, in described step S2, also include step:Monitor each channel queue list, if it exceeds set
Shunting threshold values, triggering is diverted to alternate channel queue list.
And wherein, when entering row of channels subpackage in described step S2, comprise the following steps:
S21:Blacklist, passage white list, channel parameters setting, number segment, area, specify cell-phone number and be loaded into
Internal memory;
S22:Filtering black list;
S23:If specifying cell-phone number table have this cell-phone number, the passage by specifying cell-phone number is walked;
S24:If setting is by regional selector channel function, take the first seven position of phone number, the corresponding area of positioning;
S25:Search whether this area specifies special channel;If it is found, being then put in corresponding channel queue, and judge
Whether this passage is white list passage;If so, then judge whether this phone number belongs to white list, and will be not white list
Cell-phone number filters.
S3:Note bag belonging to extracting from asynchronous message service queue, is transmitted.
Specifically, in described step S3, following steps are specifically included:
S31:Extract data is activation to movement, UNICOM, telecommunications note industry gateway from multiple channel queue list;
S32:Extract data from multiple channel queue list, be sent to third party's passage.
S4:After short message sending is complete, generate into library package, deliver to asynchronous message service queue;
S5:Carry out warehouse-in by warehouse-in service to preserve.
In the present invention introduced below, note data flows to process.Specifically refer to Fig. 3, it is the note distribution of the present invention
The schematic diagram of the data flow of process.
First, note data is first sent to asynchronous information service queue by user, is in and treats in go-on-go short breath queue.
Then, carry out go-on-go.Specifically, can be according to actual setting, such as:Blacklist, white list, or other passages ginseng
Number.
Then, according to different priority, said short message data is divided in different channel queues.And wherein, to this
It is monitored in transmit queue, if it exceeds the shunting threshold values setting, trigger and be diverted to alternate channel queue list.
Finally, carry out short message sending.After being sent completely, then this note is carried out being stored in database.
More than, the note data in the present invention is first processed in internal memory, after completing to process, is just stored in database
In.The speed processing so can be accelerated.
Refer to Fig. 4, it is the connection block diagram of the note dissemination system of the present invention.Meanwhile, the present invention is based on said short message
Send platform, present invention also offers a kind of note dissemination system, it include receiver module 1, subpackage module 2, sending module 3,
Generation module 4 and preserving module 5.
Described receiver module 1, the note bag submitted to for receive user, and deliver to asynchronous message service queue.
Described subpackage module 2, for taking note bag from asynchronous message service queue, according to passage configuration parameter, is led to
Road subpackage, sends asynchronous message service queue back to after subpackage is complete;
Described sending module 3, for extracting affiliated note bag from asynchronous message service queue, is transmitted;
Described generation module 4, for after short message sending is complete, generating into library package, delivers to asynchronous message service queue;
Described preserving module 5, preserves for note data bag is carried out with warehouse-in.
Further, the working method of described asynchronous message service queue be socket service, its apply in internal memory key,
List and set data form;Wherein,
Described key data form is used for storing user profile, is authenticated.
Described list data form is the queue of a first in first out, for providing data to be inserted and removed from;Described queue
List includes transmit queue list, multiple logical many queues list and alternate channel queue list.
Described set data form is a set, for providing common factor, union operation.
Refer to Fig. 5, it is the module frame chart within receiver module of the present invention.Further, described receiver module 1 wraps
Include:User profile sub-module stored 11, authentication sub module 12, upstream data receiving submodule 13 and triggering submodule 14.
Described user profile sub-module stored 11, for the note data bag submitted to by http interface user, and
This user profile is placed in key value.
Described authentication sub module 12, for being authenticated to user, certification is delivered in asynchronous message service queue after passing through.
Described upstream data receiving submodule 13, is sent to upstream data for by direct-connected gateway, third party's channel reception
Upstream queue to asynchronous message service.
Described triggering submodule 14, for extracting untreated up letter by upstream service from asynchronous message service upstream queue
Breath, is triggered accordingly according to coding.
Please refer to Fig. 6, it is the module frame chart of the subpackage inside modules of the present invention.Further, described subpackage module 2
Including distribution submodule 21, monitoring submodule 22, load submodule 23, filter submodule 24, judging submodule 25, positioning submodule
Block 26 and lookup submodule 27.
Described distribution submodule 21, for according to configuration information, by transmit queue list data distribution to multiple passage teams
In row list.
Described monitoring submodule 22, for monitoring each channel queue list, if it exceeds the shunting threshold values setting, triggering
It is diverted to alternate channel queue list.
Described loading submodule 23, for blacklist, passage white list, channel parameters setting, number segment, area, spy
Other designated mobile phone number is loaded into internal memory.
Described filter submodule 24, for filtering black list.
Described judging submodule 25, for judging to specify whether cell-phone number table has corresponding cell-phone number, if especially
Designated mobile phone table has this cell-phone number, then walk by the passage specifying cell-phone number.
Described positioning submodule 26, for when setting is by regional selector channel function, taking the first seven position of phone number, fixed
The corresponding area in position.
Described lookup submodule 27, for searching whether this area specifies special channel;If it is found, being then put into corresponding
In channel queue, and judge whether this passage is white list passage;If so, then judge whether this phone number belongs to white name
Single, and be not the cell-phone number filtration of white list.
Please refer to Fig. 7, it is the module frame chart within sending module of the present invention.Further, described sending module 3
Including:Straight-through gateway sending module 31 and third party's passage sending module 32.
Described straight-through gateway sending module 31, for extracting data is activation to movement, connection from multiple channel queue list
Logical, telecommunications note industry gateway.
Described third party's passage sending module 32, for extracting data from multiple channel queue list, is sent to third party
Passage.
Compared to prior art, the present invention possesses following beneficial effect:
(1) the only interaction in internal memory of the whole process data of note distribution, accesses the mode of file or database than tradition
Hurry up, in following operation, have obvious advantage.
(2) user authentication:Conventional method accesses database and extracts customer information, is related to database query operations, typically exists
Second level;New method is that user profile is placed in key value, extracts customer information in Millisecond.
(3) white list filters:Using the common factor function of asynchronous message service, once interaction can be extracted white list data
Out, it is to avoid tradition is a large amount of to access database manipulation.
(4) multichannel distribution:According to configuration, the data distribution of transmit queue table to each channel queue, due to asynchronous
Messenger service queue operation, faster than in database migration data.
(5) priority treatment:Using the data separating different priorities without channel queue list, lead to traditional database
Cross sortord processing method to compare, accomplish that data separately, does not interfere with each other.
The invention is not limited in above-mentioned embodiment, if the various changes to the present invention or deformation are without departing from the present invention
Spirit and scope, if these are changed and within the scope of deformation belongs to claim and the equivalent technologies of the present invention, then this
Bright it is also intended to comprise these and changes and deform.
Claims (16)
1. a kind of note distribution method it is characterised in that:Comprise the following steps:
S1:The note bag that receive user is submitted to, and deliver to asynchronous message service queue;
S2:Take note bag from asynchronous message service queue, according to passage configuration parameter, enter row of channels subpackage, send back to after subpackage is complete
Asynchronous message service queue;
S3:Note bag belonging to extracting from asynchronous message service queue, is transmitted;
S4:After short message sending is complete, generate into library package, deliver to asynchronous message service queue;
S5:Carry out warehouse-in by warehouse-in service to preserve.
2. according to claim 1 note distribution method it is characterised in that:The working method of described asynchronous message service queue
For socket service, it applies for key, list and set data form in internal memory;Wherein,
Described key data form is used for storing user profile, is authenticated;
Described list data form is the queue of a first in first out, for providing data to be inserted and removed from;Described queue list
Including transmit queue list, multiple logical many queues list and alternate channel queue list;
Described set data form is a set, for providing common factor, union operation.
3. according to claim 2 note distribution method it is characterised in that:In described step S1, submit in receive user
During note bag, comprise the following steps:
The note data bag submitted to by http interface user, and this user profile is placed in key value;
User is authenticated, certification is delivered in asynchronous message service queue after passing through.
4. according to claim 2 note distribution method it is characterised in that:In described step S2, according to configuration information, will send out
Send queue list data distribution to multiple channel queue list.
5. according to claim 4 note distribution method it is characterised in that:In described step S2, also include step:Monitoring
Each channel queue list, if it exceeds the shunting threshold values setting, triggers and is diverted to alternate channel queue list.
6. according to claim 4 note distribution method it is characterised in that:In described step S2, when entering row of channels subpackage, bag
Include following steps:
S21:Blacklist, passage white list, channel parameters setting, number segment, area, specify in cell-phone number is loaded into
Deposit;
S22:Filtering black list;
S23:If specifying cell-phone number table have this cell-phone number, the passage by specifying cell-phone number sends;
S24:If setting is by regional selector channel function, choose the first seven position of phone number, the corresponding area of positioning;
S25:Search whether this area specifies special channel;If it is found, being then put in corresponding channel queue, and judge this
Whether passage is white list passage;If so, then judge whether this phone number belongs to white list, and be not the mobile phone of white list
Number filter.
7. according to claim 4 note distribution method it is characterised in that:In described step S3, specifically include following steps:
S31:Extract data is activation to movement, UNICOM, telecommunications note industry gateway from multiple channel queue list;
S32:Extract data from multiple channel queue list, be sent to third party's passage.
8. according to claim 1 note distribution method it is characterised in that:In described step S1, specifically include:
S11:By direct-connected gateway, third party's channel reception to upstream data, deliver to the upstream queue of asynchronous message service;
S12:Untreated uplink information is extracted from asynchronous message service upstream queue by upstream service, is carried out accordingly according to coding
Triggering.
9. a kind of note dissemination system it is characterised in that:Including
Receiver module, the note bag submitted to for receive user, and deliver to asynchronous message service queue;
Subpackage module, for taking note bag from asynchronous message service queue, according to passage configuration parameter, enters row of channels subpackage, point
Asynchronous message service queue is sent back to after having wrapped;
Sending module, for extracting affiliated note bag from asynchronous message service queue, is transmitted;
Generation module, for after short message sending is complete, generating into library package, delivers to asynchronous message service queue;
Preserving module, preserves for note data bag is carried out with warehouse-in.
10. according to claim 9 note dissemination system it is characterised in that:The work side of described asynchronous message service queue
Formula services for socket, and it applies for key, list and set data form in internal memory;Wherein,
Described key data form is used for storing user profile, is authenticated;
Described list data form is the queue of a first in first out, for providing data to be inserted and removed from;Described queue list
Including transmit queue list, multiple logical many queues list and alternate channel queue list;
Described set data form is a set, for providing common factor, union operation.
11. according to claim 10 note dissemination system it is characterised in that:Described receiver module includes:
User profile sub-module stored, for the note data bag submitted to by http interface user, and this user is believed
Breath is placed in key value;
Authentication sub module, for being authenticated to user, certification is delivered in asynchronous message service queue after passing through.
12. according to claim 10 note dissemination system it is characterised in that:Described subpackage module includes distributing submodule,
For according to configuration information, by transmit queue list data distribution to multiple channel queue list.
13. according to claim 12 note dissemination system it is characterised in that:Described subpackage module also includes monitoring submodule
Block, for monitoring each channel queue list, if it exceeds the shunting threshold values setting, triggers and is diverted to alternate channel queue
list.
14. according to claim 12 note dissemination system it is characterised in that:Described subpackage module also includes:
Load submodule, for blacklist, passage white list, channel parameters setting, number segment, area, specify mobile phone
Number it is loaded into internal memory;
Filter submodule, for filtering black list;
Judging submodule, for judging to specify whether cell-phone number table has corresponding cell-phone number, if specify cell-phone number
Table has this cell-phone number, then send by the passage specifying cell-phone number;
Positioning submodule, for when setting is by regional selector channel function, choosing the first seven position of phone number, positioning is accordingly
Area;
Search submodule, for searching whether this area specifies special channel;If it is found, being then put into corresponding channel queue
In, and judge whether this passage is white list passage;If so, then judge whether this phone number belongs to white list, and will not
It is the cell-phone number filtration of white list.
15. according to claim 12 note dissemination system it is characterised in that:Described sending module includes:
Straight-through gateway sending module, for extracting data is activation to movement, UNICOM, telecommunications note from multiple channel queue list
Industry gateway;
Third party's passage sending module, for extracting data from multiple channel queue list, is sent to third party's passage.
16. according to claim 9 note dissemination system it is characterised in that:Also include in described receiver module:
Upstream data receiving submodule, delivers to asynchronous message for by direct-connected gateway, third party's channel reception to upstream data
The upstream queue of service;
Triggering submodule, for extracting untreated uplink information by upstream service from asynchronous message service upstream queue, according to volume
Code is triggered accordingly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610857737.4A CN106412861B (en) | 2016-09-28 | 2016-09-28 | A kind of short message distribution method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610857737.4A CN106412861B (en) | 2016-09-28 | 2016-09-28 | A kind of short message distribution method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106412861A true CN106412861A (en) | 2017-02-15 |
CN106412861B CN106412861B (en) | 2017-11-28 |
Family
ID=57997823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610857737.4A Active CN106412861B (en) | 2016-09-28 | 2016-09-28 | A kind of short message distribution method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106412861B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108650642A (en) * | 2018-05-09 | 2018-10-12 | 厦门南讯软件科技有限公司 | A kind of efficient sending method of short message and the transprovincially efficient sending method of short message |
CN108769936A (en) * | 2018-06-27 | 2018-11-06 | 平安科技(深圳)有限公司 | Short message shunt method, device, computer equipment and storage medium |
CN108810832A (en) * | 2018-04-20 | 2018-11-13 | 广州市玄武无线科技股份有限公司 | Short message delivery method, device and computer readable storage medium |
CN108933993A (en) * | 2018-07-03 | 2018-12-04 | 平安科技(深圳)有限公司 | Short message buffer queue selection method, device, computer equipment and storage medium |
CN110191428A (en) * | 2019-05-27 | 2019-08-30 | 北京鸿联九五信息产业有限公司 | A kind of data distributing method based on intelligent cloud platform |
CN110493734A (en) * | 2019-07-22 | 2019-11-22 | 苏宁云计算有限公司 | The channel selection method and device that short message is sent |
CN113038397A (en) * | 2021-03-10 | 2021-06-25 | 杭州又拍云科技有限公司 | Full-automatic short message channel scheduling method and system |
CN114339633A (en) * | 2021-12-16 | 2022-04-12 | 上海缘远信息技术有限公司 | Full-automatic short message channel scheduling system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1453275B1 (en) * | 2003-02-28 | 2006-10-04 | Openwave Systems Inc. | Confirmation of delivery of content to an HTTP/TCP device |
CN102045654A (en) * | 2009-10-10 | 2011-05-04 | 上海中兴通讯技术有限责任公司 | Asynchronous socket communication method and mobile phone positioning system using same |
CN102761832A (en) * | 2011-04-28 | 2012-10-31 | 中国移动通信集团河南有限公司 | Message distribution method and device |
CN103747427A (en) * | 2013-12-30 | 2014-04-23 | 华为终端有限公司 | Message pushing method and terminal |
-
2016
- 2016-09-28 CN CN201610857737.4A patent/CN106412861B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1453275B1 (en) * | 2003-02-28 | 2006-10-04 | Openwave Systems Inc. | Confirmation of delivery of content to an HTTP/TCP device |
CN102045654A (en) * | 2009-10-10 | 2011-05-04 | 上海中兴通讯技术有限责任公司 | Asynchronous socket communication method and mobile phone positioning system using same |
CN102761832A (en) * | 2011-04-28 | 2012-10-31 | 中国移动通信集团河南有限公司 | Message distribution method and device |
CN103747427A (en) * | 2013-12-30 | 2014-04-23 | 华为终端有限公司 | Message pushing method and terminal |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108810832A (en) * | 2018-04-20 | 2018-11-13 | 广州市玄武无线科技股份有限公司 | Short message delivery method, device and computer readable storage medium |
CN108810832B (en) * | 2018-04-20 | 2020-08-18 | 广州市玄武无线科技股份有限公司 | Short message issuing method and device and computer readable storage medium |
CN108650642A (en) * | 2018-05-09 | 2018-10-12 | 厦门南讯软件科技有限公司 | A kind of efficient sending method of short message and the transprovincially efficient sending method of short message |
CN108769936A (en) * | 2018-06-27 | 2018-11-06 | 平安科技(深圳)有限公司 | Short message shunt method, device, computer equipment and storage medium |
CN108769936B (en) * | 2018-06-27 | 2021-06-08 | 平安科技(深圳)有限公司 | Short message distribution method and device, computer equipment and storage medium |
CN108933993A (en) * | 2018-07-03 | 2018-12-04 | 平安科技(深圳)有限公司 | Short message buffer queue selection method, device, computer equipment and storage medium |
CN108933993B (en) * | 2018-07-03 | 2021-08-24 | 平安科技(深圳)有限公司 | Short message cache queue selection method and device, computer equipment and storage medium |
CN110191428A (en) * | 2019-05-27 | 2019-08-30 | 北京鸿联九五信息产业有限公司 | A kind of data distributing method based on intelligent cloud platform |
CN110191428B (en) * | 2019-05-27 | 2021-10-12 | 北京鸿联九五信息产业有限公司 | Data distribution method based on intelligent cloud platform |
CN110493734A (en) * | 2019-07-22 | 2019-11-22 | 苏宁云计算有限公司 | The channel selection method and device that short message is sent |
CN113038397A (en) * | 2021-03-10 | 2021-06-25 | 杭州又拍云科技有限公司 | Full-automatic short message channel scheduling method and system |
CN114339633A (en) * | 2021-12-16 | 2022-04-12 | 上海缘远信息技术有限公司 | Full-automatic short message channel scheduling system |
Also Published As
Publication number | Publication date |
---|---|
CN106412861B (en) | 2017-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106412861B (en) | A kind of short message distribution method and system | |
CN104410982B (en) | Terminal polymerization and reconstructing method in a kind of Wireless Heterogeneous Networks | |
CN105871789A (en) | Control method of intelligent package delivery box, server and system | |
US20130070758A1 (en) | Systems and Methods for Transmitting Subject Line Messages | |
CN102291693B (en) | A kind of converged message service implementation method and device based on terminal | |
CN109729139A (en) | Access request retransmission method, device, equipment and readable storage medium storing program for executing | |
CN101742011B (en) | Lawful interception method for internetwork telephone domain and system thereof | |
CN106911745A (en) | A kind of electric power mobile is met an urgent need platform and its implementation | |
WO2020206849A1 (en) | Method and system for processing dhcp data with vlan tag | |
CN103078869B (en) | A kind of system and method thereof of accelerating session forwarding | |
CA2968439C (en) | Charging control apparatus, method, and system | |
CN108306907A (en) | A kind of management method of terminal, network function and terminal | |
RU2502225C2 (en) | Service processing method, communication system and corresponding devices | |
CN116521634B (en) | Method, system, electronic equipment and storage medium for processing call ticket data service | |
CN107211274A (en) | A kind of equipment correlating method and relevant device | |
CN106470199A (en) | The processing method of speech data, device and intercom system | |
CN115883309B (en) | Multi-service upstream and downstream multi-protocol access platform and method based on SAAS mode | |
CN108076535A (en) | Control method, device, terminal and the storage medium of wireless heterogeneous networks connection | |
CN105208536B (en) | SMS sending method and device | |
CN107592618A (en) | A kind of crosstalk reminding method, device and storage medium | |
CN115866535A (en) | Method and system for realizing 5G message access by multiple protocols | |
US11876720B2 (en) | Media packet forwarding method, forwarding server, and storage medium | |
US20230037602A1 (en) | Information processing method and apparatus, node device, server and storage medium | |
CN108388475A (en) | A kind of method and system based on terminal type provisioning API resource | |
CN106878141A (en) | A kind of instant communicating method based on msrp agreements |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |