CN106412861B - A kind of short message distribution method and system - Google Patents

A kind of short message distribution method and system Download PDF

Info

Publication number
CN106412861B
CN106412861B CN201610857737.4A CN201610857737A CN106412861B CN 106412861 B CN106412861 B CN 106412861B CN 201610857737 A CN201610857737 A CN 201610857737A CN 106412861 B CN106412861 B CN 106412861B
Authority
CN
China
Prior art keywords
queue
list
short message
sent
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.)
Active
Application number
CN201610857737.4A
Other languages
Chinese (zh)
Other versions
CN106412861A (en
Inventor
朱思深
刘彬
陈卓红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hainan Macao Information Industry Ltd By Share Ltd
Original Assignee
Hainan Macao Information Industry Ltd By Share Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hainan Macao Information Industry Ltd By Share Ltd filed Critical Hainan Macao Information Industry Ltd By Share Ltd
Priority to CN201610857737.4A priority Critical patent/CN106412861B/en
Publication of CN106412861A publication Critical patent/CN106412861A/en
Application granted granted Critical
Publication of CN106412861B publication Critical patent/CN106412861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6215Individual queue per QOS, rate or priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

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 present invention relates to a kind of short message distribution method, comprise the following steps:S1:The short message bag that user submits is received, and is sent to asynchronous message service queue;S2:Short message bag is taken from asynchronous message service queue, according to passage configuration parameter, enters row of channels subpackage, sends asynchronous message service queue after subpackage is complete back to;S3:Affiliated short message bag is extracted from asynchronous message service queue, is transmitted;S4:After short message sending is complete, generate into library package, be sent to asynchronous message service queue;S5:Storage preservation is carried out by storage service.Present invention also offers a kind of short message dissemination system for being used to realize the above method.Compared to prior art, the whole process data of the invention in the short message distribution only interaction in internal memory, the mode than tradition access file or database is fast, in following operation, there is obvious advantage.

Description

A kind of short message distribution method and system
Technical field
The present invention relates to computer realm, particularly a kind of short message distribution method and system.
Background technology
More and more with the user of mobile terminal, enterprise or businessman can use the hand that important information is pushed to user In machine.The content of correlation generally can be pushed to user by current service businessman by way of bulk SMS by short message Mobile phone.And wholesale short message sending of the prior art generally comprises following steps:
1st, client calls SMS platform interface, submits short message.
2nd, interface processing module is stored in short message bag in database.
3rd, go-on-go processing module configures according to account number, and note data bag, which is sent to corresponding passage, sends team's table.
4th, passage transmission program is sent to passage operator from transmit queue table access evidence.
However, traditional method needs to access database and file, when high-volume short message sending, processing speed to be present slow, point It is low to send out efficiency.
The content of the invention
The shortcomings that it is an object of the invention to overcome prior art and deficiency, there is provided one kind can quickly carry out short message distribution Method and system.
The present invention realizes especially by following technical scheme:A kind of short message distribution method, comprises the following steps:
S1:The short message bag that user submits is received, and is sent to asynchronous message service queue;
S2:Short message bag is taken from asynchronous message service queue, according to passage configuration parameter, enters row of channels subpackage, after subpackage is complete Send asynchronous message service queue back to;
S3:Affiliated short message bag is extracted from asynchronous message service queue, is transmitted;
S4:After short message sending is complete, generate into library package, be sent to asynchronous message service queue;
S5:Storage preservation is carried out by storage service.
As a further improvement on the present invention, the working method of the asynchronous message service queue services for socket, its Apply for key, list and set data format in internal memory;Wherein,
The key data formats are used to store user profile, are authenticated;
The list data formats are the queue of a first in first out, are inserted and removed from for providing data;The queue List includes transmit queue list, multiple logical more queue list and alternate channel queue list;
The set data formats are a set, for providing common factor, union operation.
As a further improvement on the present invention, in the step S1, when receiving the short message bag that user submits, including it is following Step:
The note data bag submitted by http interfaces user, and the user profile is placed in key values;
User is authenticated, certification is sent to after in asynchronous message service queue.
As a further improvement on the present invention, in the step 2, according to configuration information, by transmit queue list data point It is sent in multiple channel queue list.
As a further improvement on the present invention, in the step 2, in addition to step:Each channel queue list is monitored, If it exceeds the shunting threshold values of setting, triggering is diverted to alternate channel queue list.
As a further improvement on the present invention, in the 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 has this cell-phone number, walked by the passage for specifying cell-phone number;
S24:If set by regional selector channel function, the first seven position of phone number is taken, positions corresponding area;
S25:Search whether this area specifies special channel;If it is found, in channel queue corresponding to being then put into, and judge Whether this passage is white list passage;If so, then judging whether the phone number belongs to white list, and will not be white list Cell-phone number filters.
As a further improvement on the present invention, in the step S3, following steps are specifically included:
S31:Data are extracted from multiple channel queue list and are sent to movement, UNICOM, telecommunications short message industry gateway;
S32:Data are extracted from multiple channel queue list, are sent to third party's passage.
As a further improvement on the present invention, in the step S1, specifically include:
S11:By direct-connected gateway, third party's channel reception to upstream data, the upstream queue of asynchronous message service is sent to;
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 short message dissemination system, it includes
Receiving module, for receiving the short message bag of user's submission, and it is sent to asynchronous message service queue;
Subpackage module, for taking short message bag from asynchronous message service queue, according to passage configuration parameter, enter row of channels point Bag, sends asynchronous message service queue back to after subpackage is complete;
Sending module, for extracting affiliated short message bag from asynchronous message service queue, it is transmitted;
Generation module, for after short message sending is complete, generating into library package, it is sent to asynchronous message service queue;
Preserving module, for carrying out storage preservation to note data bag.
As a further improvement on the present invention, the working method of the asynchronous message service queue services for socket, its Apply for key, list and set data format in internal memory;Wherein,
The key data formats are used to store user profile, are authenticated;
The list data formats are the queue of a first in first out, are inserted and removed from for providing data;The queue List includes transmit queue list, multiple logical more queue list and alternate channel queue list;
The set data formats are a set, for providing common factor, union operation.
As a further improvement on the present invention, the receiving module includes:
User profile sub-module stored, for the note data bag submitted by http interfaces user, and this is used Family information is placed in key values;
Authentication sub module, for being authenticated to user, certification is sent to after in asynchronous message service queue.
As a further improvement on the present invention, the subpackage module includes distribution submodule, for according to configuration information, inciting somebody to action Transmit queue list data distributions are into multiple channel queue list.
As a further improvement on the present invention, the subpackage module also includes monitoring submodule, for monitoring each passage Queue list, if it exceeds the shunting threshold values of setting, triggering is diverted to alternate channel queue list.
As a further improvement on the present invention, the 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 specifying hand Machine table has this cell-phone number, then is walked by the passage for specifying cell-phone number;
Submodule is positioned, for when setting by regional selector channel function, taking the first seven position of phone number, positioning corresponds to Area;
Submodule is searched, for searching whether this area specifies special channel;If it is found, passage team corresponding to being then put into In row, and judge whether this passage is white list passage;If so, then judge whether the phone number belongs to white list, and will It is not the cell-phone number filtering of white list.
As a further improvement on the present invention, the sending module includes:
Straight-through gateway sending module, movement, UNICOM, telecommunications are sent to for extracting data from multiple channel queue list Short message industry gateway;
Third party's passage sending module, for extracting data from multiple channel queue list, it is sent to third party's passage.
As a further improvement on the present invention, also include in the receiving module:
Upstream data receiving submodule, for by direct-connected gateway, third party's channel reception to upstream data, being sent to asynchronous The upstream queue of messenger service;
Submodule is triggered, for extracting untreated uplink information, root from asynchronous message service upstream queue by upstream service Triggered accordingly according to coding.
Compared to prior art, the present invention possesses following beneficial effect:
(1) the whole process data of the short message distribution only interaction in internal memory, than the mode that tradition accesses file or database It hurry up, in following operation, there is obvious advantage.
(2) user authentication:Conventional method accesses database extraction customer information, is related to database query operations, typically exists Second level;New method is that user profile is placed in key values, and extraction customer information is in Millisecond.
(3) white list filters:Using the common factor function of asynchronous message service, once interaction can extract white list data Out, traditional a large amount of access database manipulations are avoided.
(4) multichannel is distributed:According to configuration, the data distribution of transmit queue table to each channel queue, due to asynchronous Messenger service queue operation, it is faster than in database migration data.
(5) priority treatment:Using the data that different priorities are separated without channel queue list, lead to traditional database Cross sortord processing method to compare, accomplish that data separate, do not interfere with each other.
In order to more fully understand and implement, the invention will now be described in detail with reference to the accompanying drawings.
Brief description of the drawings
Fig. 1 is the logical architecture schematic diagram of the short message distribution procedure of the present invention.
Fig. 2 is the step flow chart of short message distribution method of the present invention.
Fig. 3 is the schematic diagram of the data flow of the short message distribution procedure of the present invention.
Fig. 4 is the module connection block diagram of the short message dissemination system of the present invention.
Fig. 5 is the module frame chart inside the receiving 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 inside the sending module of the present invention.
Embodiment
Processing speed is slow when the present invention is in order to solve to carry out high-volume short message sending in the prior art, and efficiency is low asks for distribution Topic, there is provided a kind of high short message distribution method for the treatment of effeciency and system.Explanation is introduced especially by following embodiment.
First, the short message distribution method and the basic logic framework that is applied to of system of the present invention is first introduced.It please specifically join Fig. 1 is read, it is the logical architecture schematic diagram of the short message distribution procedure of the present invention.
It is to be based on intelligent SMS distribution platform in the present invention, the distribution platform is taken by interface, asynchronous message service, go-on-go The service composition such as business, monitoring and shunting, storage, up, direct-connected gateway program, third party's channel program.
The interface is http interfaces, is responsible for receiving the note data bag of client, asynchronous message service is submitted to after certification Queue.
The asynchronous message service, including key values, transmit queue list, each channel queue list messenger services.
The go-on-go service, it is used for according to configuration information, transmit queue list data distributions to multichannel queue list。
The monitoring and shunting, it is used to monitor each channel queue list, if it exceeds the shunting threshold values of setting, triggering point Flow to alternate channel queue list.
The direct-connected gateway program, it supports cmpp, sgip, smgp agreement, for extracting data from channel queue list It is sent to movement, UNICOM, telecommunications short message industry gateway.
Third party's channel program, it supports the program of third party's short message channel interface, for from channel queue list Data are extracted, are sent to third party's passage.
The storage service, for passage have been sent into data conversion storage to database, is easy to inquire about and counts.
The upstream service, for treatment channel uplink information, corresponding function is triggered according to up coding.
Based on above-mentioned short message sending platform, the invention provides a kind of short message distribution method.Referring specifically to Fig. 2, its For the step flow chart of short message distribution method of the present invention.The invention provides a kind of short message distribution method, comprise the following steps:
S1:The short message bag that user submits is received, and is sent to asynchronous message service queue.
Specifically, the working method of the asynchronous message service queue be socket service, its apply in internal memory key, List and set data formats;Wherein, the key data formats are used to store user profile, are authenticated.Such as:RC.Get(" KHDM_"+KHDM)。
The list data formats are the queue of a first in first out, are inserted and removed from for providing data;The queue List includes transmit queue list, multiple logical more queue list and alternate channel queue list.Such as:RC.LPush (ListId);RC.RPop(ListId).
The set data formats are a set, for providing common factor, union operation.
Further, in the step S1, when receiving the short message bag that user submits, comprise the following steps:
The note data bag submitted by http interfaces user, and the user profile is placed in key values;
User is authenticated, certification is sent to after in asynchronous message service queue.
Further, in the step S1, also specifically include:
S11:By direct-connected gateway, third party's channel reception to upstream data, the upstream queue of asynchronous message service is sent to.
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:Short message bag is taken from asynchronous message service queue, according to passage configuration parameter, enters row of channels subpackage, after subpackage is complete Send asynchronous message service queue back to.
Specifically, in the step S2, according to configuration information, by transmit queue list data distributions to multiple channel queues In list.
Further, in the step S2, in addition to step:Each channel queue list is monitored, if it exceeds setting Threshold values is shunted, triggering is diverted to alternate channel queue list.
And wherein, when entering row of channels subpackage in the 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 has this cell-phone number, walked by the passage for specifying cell-phone number;
S24:If set by regional selector channel function, the first seven position of phone number is taken, positions corresponding area;
S25:Search whether this area specifies special channel;If it is found, in channel queue corresponding to being then put into, and judge Whether this passage is white list passage;If so, then judging whether the phone number belongs to white list, and will not be white list Cell-phone number filters.
S3:Affiliated short message bag is extracted from asynchronous message service queue, is transmitted.
Specifically, in the step S3, following steps are specifically included:
S31:Data are extracted from multiple channel queue list and are sent to movement, UNICOM, telecommunications short message industry gateway;
S32:Data are extracted from multiple channel queue list, are sent to third party's passage.
S4:After short message sending is complete, generate into library package, be sent to asynchronous message service queue;
S5:Storage preservation is carried out by storage service.
Note data flows to process in the present invention introduced below.Referring specifically to Fig. 3, it distributes for the short message 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 ceased in treating that go-on-go is short in queue.
Then, go-on-go is carried out.Specifically, can according to actual setting, such as:Blacklist, white list, or other passages ginseng Number.
Then, according to different priority, said short message data are divided into different channel queues.And wherein, to this It is monitored in transmit queue, if it exceeds the shunting threshold values of setting, triggering is diverted to alternate channel queue list.
Finally, short message sending is carried out.Carried out after being sent completely, then by the short message in deposit database.
More than, the note data in the present invention is first handled in internal memory, after completion is handled, is just stored in database In.The speed of processing can so be accelerated.
Referring to Fig. 4, its connection block diagram for the short message 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 short message dissemination system, it include receiving module 1, subpackage module 2, sending module 3, Generation module 4 and preserving module 5.
The receiving module 1, for receiving the short message bag of user's submission, and it is sent to asynchronous message service queue.
The subpackage module 2, for taking short message bag from asynchronous message service queue, according to passage configuration parameter, led to Road subpackage, send asynchronous message service queue after subpackage is complete back to;
The sending module 3, for extracting affiliated short message bag from asynchronous message service queue, it is transmitted;
The generation module 4, for after short message sending is complete, generating into library package, it is sent to asynchronous message service queue;
The preserving module 5, for carrying out storage preservation to note data bag.
Further, the working method of the asynchronous message service queue be socket service, its apply in internal memory key, List and set data formats;Wherein,
The key data formats are used to store user profile, are authenticated.
The list data formats are the queue of a first in first out, are inserted and removed from for providing data;The queue List includes transmit queue list, multiple logical more queue list and alternate channel queue list.
The set data formats are a set, for providing common factor, union operation.
Referring to Fig. 5, the module frame chart inside its receiving module for the present invention.Further, the receiving module 1 wraps Include:User profile sub-module stored 11, authentication sub module 12, upstream data receiving submodule 13 and triggering submodule 14.
The user profile sub-module stored 11, for the note data bag submitted by http interfaces user, and The user profile is placed in key values.
The authentication sub module 12, for being authenticated to user, certification is sent to after in asynchronous message service queue.
The upstream data receiving submodule 13, for by direct-connected gateway, third party's channel reception to upstream data, sending To the upstream queue of asynchronous message service.
The triggering submodule 14, for extracting untreated up letter from asynchronous message service upstream queue by upstream service Breath, 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, the subpackage module 2 Including distribution submodule 21, monitoring submodule 22, loading submodule 23, filter submodule 24, judging submodule 25, positioning submodule Block 26 and lookup submodule 27.
The distribution submodule 21, for according to configuration information, by transmit queue list data distributions to multiple passage teams Arrange in list.
The monitoring submodule 22, for monitoring each channel queue list, if it exceeds the shunting threshold values of setting, triggering It is diverted to alternate channel queue list.
The 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.
The filter submodule 24, for filtering black list.
The 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 is walked by the passage for specifying cell-phone number.
The positioning submodule 26, it is fixed for when setting by regional selector channel function, taking the first seven position of phone number The corresponding area in position.
The lookup submodule 27, for searching whether this area specifies special channel;If it is found, corresponding to being then put into In channel queue, and judge whether this passage is white list passage;If so, then judging whether the phone number belongs to white name Cell-phone number filtering that is single, and will not being white list.
Please refer to Fig. 7, it is the module frame chart inside sending module of the invention.Further, the sending module 3 Including:Straight-through gateway sending module 31 and third party's passage sending module 32.
The straight-through gateway sending module 31, mobile, connection is sent to for extracting data from multiple channel queue list Logical, telecommunications short message industry gateway.
Third party's passage sending module 32, for extracting data from multiple channel queue list, it is sent to third party Passage.
Compared to prior art, the present invention possesses following beneficial effect:
(1) the whole process data of the short message distribution only interaction in internal memory, than the mode that tradition accesses file or database It hurry up, in following operation, there is obvious advantage.
(2) user authentication:Conventional method accesses database extraction customer information, is related to database query operations, typically exists Second level;New method is that user profile is placed in key values, and extraction customer information is in Millisecond.
(3) white list filters:Using the common factor function of asynchronous message service, once interaction can extract white list data Out, traditional a large amount of access database manipulations are avoided.
(4) multichannel is distributed:According to configuration, the data distribution of transmit queue table to each channel queue, due to asynchronous Messenger service queue operation, it is faster than in database migration data.
(5) priority treatment:Using the data that different priorities are separated without channel queue list, lead to traditional database Cross sortord processing method to compare, accomplish that data separate, do not interfere with each other.
The invention is not limited in above-mentioned embodiment, if the various changes or deformation to the present invention do not depart from the present invention Spirit and scope, if these changes and deformation belong within the scope of the claim and equivalent technologies of the present invention, then this hair It is bright to be also intended to comprising these changes and deformation.

Claims (10)

  1. A kind of 1. short message distribution method, it is characterised in that:Comprise the following steps:
    S1:The short message bag that user submits is received, and is sent to asynchronous message service queue;The work of the asynchronous message service queue Mode services for socket, and it applies for key, list and set data format in internal memory;Wherein,
    The key data formats are used to store user profile, are authenticated;
    The list data formats are the queue of a first in first out, are inserted and removed from for providing data;The queue list Including transmit queue list, multiple logical more queue list and alternate channel queue list;
    The set data formats are a set, for providing common factor, union operation;
    S2:Short message bag is taken from asynchronous message service queue, according to passage configuration parameter, enters row of channels subpackage, is sent back to after subpackage is complete Asynchronous message service queue;According to configuration information, by transmit queue list data distributions into multiple channel queue list;Monitoring Each channel queue list, if it exceeds the shunting threshold values of setting, triggering is diverted to alternate channel queue list;
    S3:Affiliated short message bag is extracted from asynchronous message service queue, is transmitted;
    S4:After short message sending is complete, generate into library package, be sent to asynchronous message service queue;
    S5:Storage preservation is carried out by storage service.
  2. 2. short message distribution method according to claim 1, it is characterised in that:In the step S1, receiving what user submitted During short message bag, comprise the following steps:
    The note data bag submitted by http interfaces user, and the user profile is placed in key values;
    User is authenticated, certification is sent to after in asynchronous message service queue.
  3. 3. short message distribution method according to claim 1, it is characterised in that:In the 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 has this cell-phone number, sent by the passage for specifying cell-phone number;
    S24:If set by regional selector channel function, the first seven position of phone number is chosen, positions corresponding area;
    S25:Search whether this area specifies special channel;If it is found, in channel queue corresponding to being then put into, and judge this Whether passage is white list passage;If so, then judging whether the phone number belongs to white list, and the mobile phone that will not be white list Number filtering.
  4. 4. short message distribution method according to claim 1, it is characterised in that:In the step S3, following steps are specifically included:
    S31:Data are extracted from multiple channel queue list and are sent to movement, UNICOM, telecommunications short message industry gateway;
    S32:Data are extracted from multiple channel queue list, are sent to third party's passage.
  5. 5. short message distribution method according to claim 1, it is characterised in that:In the step S1, specifically include:
    S11:By direct-connected gateway, third party's channel reception to upstream data, the upstream queue of asynchronous message service is sent to;
    S12:Untreated uplink information is extracted from asynchronous message service upstream queue by upstream service, is carried out according to coding corresponding Triggering.
  6. A kind of 6. short message dissemination system, it is characterised in that:Including
    Receiving module, for receiving the short message bag of user's submission, and it is sent to asynchronous message service queue;The asynchronous message service The working method of queue services for socket, and it applies for key, list and set data format in internal memory;Wherein,
    The key data formats are used to store user profile, are authenticated;
    The list data formats are the queue of a first in first out, are inserted and removed from for providing data;The queue list Including transmit queue list, multiple logical more queue list and alternate channel queue list;
    The set data formats are a set, for providing common factor, union operation;
    Subpackage module, for taking short message bag from asynchronous message service queue, according to passage configuration parameter, enter row of channels subpackage, point Send asynchronous message service queue after having wrapped back to;The subpackage module includes distribution submodule, for according to configuration information, will send Queue list data distributions are into multiple channel queue list;The subpackage module also includes monitoring submodule, each for monitoring Individual channel queue list, if it exceeds the shunting threshold values of setting, triggering is diverted to alternate channel queue list;
    Sending module, for extracting affiliated short message bag from asynchronous message service queue, it is transmitted;
    Generation module, for after short message sending is complete, generating into library package, it is sent to asynchronous message service queue;
    Preserving module, for carrying out storage preservation to note data bag.
  7. 7. short message dissemination system according to claim 6, it is characterised in that:The receiving module includes:
    User profile sub-module stored, believe for the note data bag submitted by http interfaces user, and by the user Breath is placed in key values;
    Authentication sub module, for being authenticated to user, certification is sent to after in asynchronous message service queue.
  8. 8. short message dissemination system according to claim 6, it is characterised in that:The 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 specifying cell-phone number Table has this cell-phone number, then is sent by the passage for specifying cell-phone number;
    Submodule is positioned, for when setting by regional selector channel function, choosing the first seven position of phone number, positioning is accordingly Area;
    Submodule is searched, for searching whether this area specifies special channel;If it is found, then it is put into corresponding channel queue In, and judge whether this passage is white list passage;If so, then judge whether the phone number belongs to white list, and will not It is the cell-phone number filtering of white list.
  9. 9. short message dissemination system according to claim 6, it is characterised in that:The sending module includes:
    Straight-through gateway sending module, movement, UNICOM, telecommunications short message are sent to for extracting data from multiple channel queue list Industry gateway;
    Third party's passage sending module, for extracting data from multiple channel queue list, it is sent to third party's passage.
  10. 10. short message dissemination system according to claim 6, it is characterised in that:Also include in the receiving module:
    Upstream data receiving submodule, for by direct-connected gateway, third party's channel reception to upstream data, being sent to asynchronous message The upstream queue of service;
    Submodule is triggered, for extracting untreated uplink information from asynchronous message service upstream queue by upstream service, according to volume Code is triggered accordingly.
CN201610857737.4A 2016-09-28 2016-09-28 A kind of short message distribution method and system Active CN106412861B (en)

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 CN106412861A (en) 2017-02-15
CN106412861B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810832B (en) * 2018-04-20 2020-08-18 广州市玄武无线科技股份有限公司 Short message issuing method and device and computer readable storage medium
CN108650642B (en) * 2018-05-09 2022-11-11 厦门南讯股份有限公司 Short message high-efficiency sending method and cross-province short message high-efficiency sending method
CN108769936B (en) * 2018-06-27 2021-06-08 平安科技(深圳)有限公司 Short message distribution method and 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
CN110191428B (en) * 2019-05-27 2021-10-12 北京鸿联九五信息产业有限公司 Data distribution method based on intelligent cloud platform
CN110493734B (en) * 2019-07-22 2021-11-09 苏宁云计算有限公司 Channel selection method and device for sending short messages
CN113038397B (en) * 2021-03-10 2022-09-27 杭州又拍云科技有限公司 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN106412861A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN106412861B (en) A kind of short message distribution method and system
CN101984692B (en) A kind of method and device for preventing Malware from sending data
CN105072297B (en) The speech-sound intelligent adapting system of call center
CN103618733B (en) A kind of data filtering system and method for being applied to mobile Internet
KR20120019474A (en) System and methods for integrating short message service messaging with contact center applications
CN104243727A (en) System and method for performing big data analysis confirmation and interception on phone scams
CN102143088B (en) Method and equipment for forwarding data based on security socket layer (SSL) virtual private network (VPN)
CN102291693B (en) A kind of converged message service implementation method and device based on terminal
CN105188090B (en) A kind of method and system for realizing short message downstream pressure equilibrium
CN104410982B (en) Terminal polymerization and reconstructing method in a kind of Wireless Heterogeneous Networks
WO2014085783A1 (en) Systems and methods for modifying a recipient list of a message
CN104754153A (en) Customer service system and customer service method thereof
US20110086649A1 (en) Methodology for Traffic Control Based on Cross-Carriers Short Message (SMS) Application
CN107589990A (en) A kind of method and system of the data communication based on thread pool
US9992659B1 (en) Stream-processing of telecommunication event records
WO2015131561A1 (en) Method and device for implementing short message forwarding as instant messaging
CN116521634B (en) Method, system, electronic equipment and storage medium for processing call ticket data service
CN107592618A (en) A kind of crosstalk reminding method, device and storage medium
CN107368326A (en) Course control method and device
CN114979058B (en) CAN multi-mailbox multiplexing processing method and system
CN105208536B (en) SMS sending method and device
CN115866535A (en) Method and system for realizing 5G message access by multiple protocols
CN101931715B (en) Customer service system and cross-platform monitoring method therein
US20230037602A1 (en) Information processing method and apparatus, node device, server and storage medium
CN103812989A (en) Method and device for identifying unwanted calls

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