CN105578431B - Reminder message sending device and method - Google Patents
Reminder message sending device and method Download PDFInfo
- Publication number
- CN105578431B CN105578431B CN201610035659.XA CN201610035659A CN105578431B CN 105578431 B CN105578431 B CN 105578431B CN 201610035659 A CN201610035659 A CN 201610035659A CN 105578431 B CN105578431 B CN 105578431B
- Authority
- CN
- China
- Prior art keywords
- message
- reminder message
- reminder
- module
- sent
- 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
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/066—Format adaptation, e.g. format conversion or compression
Abstract
The disclosure is directed to a kind of reminder message sending device and methods, can be realized the transmission of reminder message various ways.The device includes: that receiving interface module receives the request message that sending device passes through transmission;Request message is redirected to synthesized gateway service module by load balancing service module;The building of synthesized gateway service module includes the reminder message of reminded contents, and synthesized gateway service module determines reminder message transmission types;Reminder message is issued to core processing module by Message Queuing Services module;Reminder message is saved in database by core processing module;Reminder message is sent to reminder message processing module by sending module;Reminder message is sent to terminal device according to reminder message type by reminder message processing module.
Description
Technical field
The present invention relates to information technology field more particularly to a kind of reminder message sending device and methods.
Background technique
In recent years, communication terminal device is (for example, smart phone, tablet computer with the continuous development of information technology
Deng) more more and more universal, communication terminal device frequency of use is consequently increased.Therefore, reminder message sending device can be by logical
Believe that terminal device sends reminder message to user.
Currently, reminder message sending device mostly uses greatly fixed sending method to send reminder message, shadow to communication terminal
As user experience.
Summary of the invention
The embodiment of the present invention provides a kind of reminder message sending device and method, can be realized reminder message various ways hair
It send.
The embodiment of the present invention adopts the following technical scheme that
A kind of reminder message sending device, including receiving interface module interconnected, load balancing service module, synthesis
Gateway service module, Message Queuing Services module, core processing module, database, sending module, reminder message processing module;
The receiving interface module receives the request message that sending device is sent by hypertext transfer protocol http protocol,
And to request message described in the load balancing service module transfer, the request message carries the reminded contents that need to be sent;
The request message is redirected to the synthesized gateway service module by the load balancing service module;
The synthesized gateway service module building includes the reminder message of the reminded contents, and the synthesized gateway services mould
Block determines the reminder message transmission types, is mentioned by the way that AMQP agreement is asynchronous by described according to the reminder message transmission types
Awake message is sent to the Message Queuing Services module;
The Message Queuing Services module determines the reminder message transmission sequence, and suitable according to reminder message transmission
The reminder message is issued to the core processing module by AMQP agreement by sequence;
The reminder message is saved in the database by ICP/IP protocol by the core processing module;
The sending module is sent to reminder message processing module by ICP/IP protocol or X.25 by the reminder message;
The reminder message is sent to terminal according to the reminder message type and set by the reminder message processing module
It is standby.
Optionally, the request message is redirected to the synthesized gateway service module by the load balancing service module
Include:
The load balancing service module detects the synthesized gateway service module load condition;
The load balancing service module determines and the request disappears according to the synthesized gateway service module load condition
Breath is redirected to the synthesized gateway service module.
Optionally, the synthesized gateway service module determines that the reminder message transmission types include:
The synthesized gateway service module determines that the prompting disappears according to the type id field that the request message carries
Transmission types are ceased, the type id field is for identifying the reminder message transmission types;
Alternatively, the synthesized gateway service module determines the reminder message according to the keyword that the reminded contents include
Significance level, the reminder message transmission types are determined according to the significance level of the reminder message.
Optionally, the reminder message transmission types include short message, it is mail, PUSH message, any one in Get message
Kind;
Alternatively, the reminder message transmission types include simultaneously short message, mail, PUSH message, in Get message at least
Two kinds.
Optionally, the synthesized gateway service module includes:
Short message control submodule, it is asynchronous by AMQP agreement when being sent for the reminder message transmission types for short message
The reminder message is sent to the Message Queuing Services module;
Mail control submodule, it is asynchronous by AMQP agreement when being sent for the reminder message transmission types for mail
The reminder message is sent to the Message Queuing Services module;
PUSH message control submodule passes through AMQP when sending for the reminder message transmission types for PUSH message
Agreement is asynchronous to be sent to the Message Queuing Services module for the reminder message;
Get message control submodule when sending for the reminder message transmission types for Get message, is led to
Cross that AMQP agreement is asynchronous to be sent to the Message Queuing Services module for the reminder message.
Optionally, the Message Queuing Services module determines that the reminder message transmission sequence includes:
The Message Queuing Services module enters the Message Queuing Services module time according to the reminder message, determines
The sequence of transmission locating for the reminder message;
Alternatively, the priority tag field that the Message Queuing Services module is carried according to the request message, determines institute
The sequence of transmission locating for reminder message is stated, the priority tag field is for identifying the reminder message priority;
Alternatively, the Message Queuing Services module determines the reminder message according to the keyword that the reminded contents include
Significance level, according to the significance level of the reminder message determine the reminder message locating for transmission sequence;
Alternatively, the creation time identification field that the Message Queuing Services module is carried according to the request message, determines
The sequence of transmission locating for the reminder message, the creation time identification field is for identifying the request message creation time.
Optionally, the Message Queuing Services module includes:
Short message queue submodule, when being sent for the reminder message transmission types for short message, according to the reminder message
Locating transmission sequence passes through AMQP agreement and sends the core processing module for the reminder message;
Mail queue's submodule, when being sent for the reminder message transmission types for mail, according to the reminder message
Locating transmission sequence passes through AMQP agreement and sends the core processing module for the reminder message;
PUSH message queue submodule, when being sent for the reminder message transmission types for PUSH message, according to described
The sequence of transmission locating for reminder message passes through AMQP agreement and sends the core processing module for the reminder message;
Get message queue submodule, when being sent for the reminder message transmission types for Get message, root
Pass through AMQP agreement according to the sequence of transmission locating for the reminder message and sends the core processing module for the reminder message.
Optionally, the core processing service module includes at least one following submodule:
Checking and killing virus submodule, for carrying out checking and killing virus to reminder message;
Rubbish filtering submodule, for carrying out filtering rubbish contents to reminder message;
Sensitive filtering submodule, for carrying out sensitive vocabulary filtering to reminder message;
Information Repeater submodule, for being sent by default when the reminder message is sent to terminal device failure
Interval and/or number trigger the sending module and send the reminder message.
A kind of reminder message sending method, comprising:
The request message that sending device is sent by hypertext transfer protocol http protocol is received, the request message carries
The reminded contents that need to be sent;
Building includes the reminder message of the reminded contents;
Determine the reminder message transmission types;
Determine the reminder message transmission sequence;
The reminder message is sent to end according to the reminder message transmission types and reminder message transmission sequence
End equipment.
Optionally, the determination reminder message transmission types include:
The reminder message transmission types, the type mark are determined according to the type id field that the request message carries
Character learning section is for identifying the reminder message transmission types;
Alternatively, the significance level of the reminder message is determined according to the keyword that the reminded contents include, according to described
The significance level of reminder message determines the reminder message transmission types;
The determination reminder message transmission sequence includes:
Enter the Message Queuing Services module time according to the reminder message, determines that the reminder message is locating and send
Sequentially;
Alternatively, determining that the locating transmission of the reminder message is suitable according to the priority tag field that the request message carries
Sequence, the priority tag field is for identifying the reminder message priority;
Alternatively, the significance level of the reminder message is determined according to the keyword that the reminded contents include, according to described
The significance level of reminder message determines the sequence of transmission locating for the reminder message;
Alternatively, determining that the reminder message is locating according to the creation time identification field that the request message carries and sending
Sequentially, the creation time identification field is for identifying the request message creation time.
The reminder message is sent to terminal device according to reminder message type by the embodiment of the present invention, to realize prompting
Message various ways are sent.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is one of the structure chart sent according to the reminder message shown in an exemplary embodiment 1.
Fig. 2 is the two of the structure chart sent according to the reminder message shown in an exemplary embodiment 1.
Fig. 3 is the three of the structure chart sent according to the reminder message shown in an exemplary embodiment 1.
Fig. 4 is the four of the structure chart sent according to the reminder message shown in an exemplary embodiment 1.
Fig. 5 is the flow chart according to the reminder message sending method shown in an exemplary embodiment 2.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Embodiment 1
Shown in Fig. 1, the embodiment of the present invention provides a kind of reminder message sending device, including receiving interface mould interconnected
Block 11, load balancing service module 12, synthesized gateway service module 13, Message Queuing Services module 14, core processing module 15,
Database 16, sending module 17, reminder message processing module 18;
Receiving interface module 11 receives sending device and passes through hypertext transfer protocol HTTP (Hyper Text Transfer
Protocol) the request message that agreement is sent, and to 12 transfer request message of load balancing service module, request message, which carries, to be needed
The reminded contents of transmission.
In the embodiment of the present invention, sending device can be the equipment with data-transformation facility such as computer, server.
Request message is redirected to synthesized gateway service module 13 by load balancing service module 12.
In the embodiment of the present invention, load balancing service module 12 can detecte 13 idle state of synthesized gateway service module,
Or compare the match state of synthesized gateway service module 13 Yu other synthesized gateway service modules, determination resets request message
To arrive synthesized gateway service module 13.
The building of synthesized gateway service module 13 includes the reminder message of reminded contents, and the determination of synthesized gateway service module 13 mentions
Awake message delivery type passes through AMQP (Advanced Message Queuing according to reminder message transmission types
Protocol) agreement is asynchronous is sent to Message Queuing Services module for reminder message;
Message Queuing Services module 14 determines reminder message transmission sequence, and passes through AMQP according to reminder message transmission sequence
Reminder message is issued to core processing module 15 by agreement;
Core processing module 15 passes through TCP/IP (Transmission Control Protocol/Intemet
Protocol) reminder message is saved in database 16 by agreement;
Sending module 17 is sent to reminder message processing module 18 by ICP/IP protocol or X.25 by reminder message;
Reminder message is sent to terminal device according to reminder message type by reminder message processing module 18.
In the embodiment of the present invention, terminal device can be (such as vehicle-mounted aobvious for mobile phone, tablet terminal (such as tablet computer), vehicle device
Show device), accepting electronic data terminal (such as computer).
In the embodiment of the present invention, request message is redirected to synthesized gateway service module 13 by load balancing service module 12
Include:
Load balancing service module 12 detects 13 load condition of synthesized gateway service module;
Load balancing service module 12 redirects request message according to 13 load condition of synthesized gateway service module, determination
To synthesized gateway service module 13.
In the embodiment of the present invention, load threshold values can be set, 13 load condition of synthesized gateway service module and setting is negative
Lotus threshold values compares, and show that its load condition, load condition can be divided into the states such as idle, busy.
In the embodiment of the present invention, synthesized gateway service module 13 determines that reminder message transmission types include:
Synthesized gateway service module 13 determines reminder message transmission types according to the type id field that request message carries,
Type id field is for identifying reminder message transmission types.
In the embodiment of the present invention, synthesized gateway service module 13 determines reminder message according to the keyword that reminded contents include
Significance level, reminder message transmission types are determined according to the significance level of reminder message.
For example, reminded contents include that relative words (for example, accident, collision) is reminded in collision, it can determine that reminder message is
Important information can be sent simultaneously by a variety of transmission types.
In the embodiment of the present invention, reminder message transmission types include short message, mail, PUSH message, appoint in Get message
It anticipates one kind;
Alternatively, reminder message transmission types include simultaneously short message, mail, PUSH message, at least two in Get message
Kind.That is, using a variety of sending methods simultaneously.
In the embodiment of the present invention, as shown in Fig. 2, synthesized gateway service module 13 includes:
Short message control submodule 131, it is asynchronous by AMQP agreement when being sent for reminder message transmission types for short message
Reminder message is sent to Message Queuing Services module 14;
Mail control submodule 132, it is asynchronous by AMQP agreement when being sent for reminder message transmission types for mail
Reminder message is sent to Message Queuing Services module 14;
PUSH message control submodule 133 is assisted when sending for reminder message transmission types for PUSH message by AMQP
It discusses and asynchronous reminder message is sent to Message Queuing Services module 14;
Get message control submodule 134 passes through when sending for reminder message transmission types for Get message
AMQP agreement is asynchronous to be sent to Message Queuing Services module 14 for reminder message.
In the embodiment of the present invention, synthesized gateway service module 13 focuses on the request message that sending device is sent, according to
Protocol header msgtype and target in request message control protocol judge message, device type, and level has determined that this disappears
The priority of breath, by short message control submodule 131, mail control submodule 132, PUSH message control submodule 133, Get class
Type message control submodule 134 is according to priority separately sent to corresponding message queue waiting from high to low and issues.
In the embodiment of the present invention, when non-selected type of message, system can inquire the number of message queue in all types of information
Amount is sent to the high message of priority and is lined up in less queue, presses short message, mail, push if queuing quantity is identical
Message, the sequence of Get message are sent.In addition, a plurality of types of message are sent if necessary, it can be to type of message English
Literary half-angle " " splicing, such as sends short message, mail, PUSH message three types, and msgtype is " 1.2.3 " at this time, works as msgtype
All types of message are sent to represent when " 0 ".
Several fields can be as shown in the table in request message head:
In the embodiment of the present invention, Message Queuing Services module 14 determines that reminder message transmission sequence includes:
Message Queuing Services module 14 determines reminder message according to 14 time of reminder message inbound message queue service module
Locating transmission sequence;
Alternatively, the priority tag field that Message Queuing Services module 14 is carried according to request message, determines reminder message
Locating transmission sequence, priority tag field is for identifying reminder message priority;
Alternatively, Message Queuing Services module 14 determines the important journey of reminder message according to the keyword that reminded contents include
Degree determines the sequence of transmission locating for reminder message according to the significance level of reminder message;
Alternatively, the creation time identification field that Message Queuing Services module 14 is carried according to request message, determines that prompting disappears
Locating transmission sequence is ceased, creation time identification field is used for identification request message creation time.
In the embodiment of the present invention, as shown in figure 3, Message Queuing Services module 14 includes:
Short message queue submodule 141 when sending for reminder message transmission types for short message, is sent out according to locating for reminder message
Sequence is sent to send core processing module for reminder message by AMQP agreement;
Mail queue's submodule 142 when sending for reminder message transmission types for mail, is sent out according to locating for reminder message
Sequence is sent to send core processing module for reminder message by AMQP agreement;
PUSH message queue submodule 143 disappears when sending for reminder message transmission types for PUSH message according to prompting
Ceasing locating transmission, sequentially passing through AMQP agreement sends core processing module for reminder message;
Get message queue submodule 144, when being sent for reminder message transmission types for Get message, according to
The sequence of transmission locating for reminder message passes through AMQP agreement and sends core processing module for reminder message.
In the embodiment of the present invention, message is sended and received using message queue, on the one hand solves high concurrent big data
Server bottleneck problem caused by when library is measured, on the other hand increases the scalability of system, there is new message class if necessary
Type is added, and does not need exploitation operation system, as long as increasing the queue of the type message.Short message queue submodule 141 is used to receive
The message of short message type, mail queue's submodule 142 are used to receive the message of email type, PUSH message queue submodule 143
For receiving the message of push-type, GET message queue submodule 144 is used to receive Get message.
In the embodiment of the present invention, as shown in figure 4, core processing service module 15 includes at least one following submodule:
Checking and killing virus submodule 151, for carrying out checking and killing virus to reminder message.
In the embodiment of the present invention, checking and killing virus submodule 151 is using configurable, prevention rogue software, network wooden horse, system
It automatically updates and prevents possible loophole, upgraded at any time using a variety of antivirus software virus bases, reinforce checking and killing virus effect.
Rubbish filtering submodule 152, for carrying out filtering rubbish contents to reminder message.
In the embodiment of the present invention, rubbish filtering submodule 152 is using including " Bayes bayesian algorithm ", " electronic signature skill
A variety of anti-spam technologies such as art ", " Activity recognition ", " analysis of KAS knowledge base ", " international anti-spam alliance ", and continue to expand.
Intelligent recognition ability with " self-teaching " reduces end user and manually participates in, easy to use.
Sensitive filtering submodule 153, for carrying out sensitive vocabulary filtering to reminder message.
In the embodiment of the present invention, 153 political sensitivity of sensitive filtering submodule and the illegal class wording of salaciousness, communications industry
Sensitive kinds wording, the sensitive wording of commercial advertisement sales publicity class, special wording etc. are all stored in the sensitive dictionary of system, and
It constantly updates.
Information Repeater submodule 154, for sending interval by default when reminder message is sent to terminal device failure
And/or number, triggering sending module send reminder message.
In the embodiment of the present invention, if 154 information of Information Repeater submodule does not send success, system can as requested certainly
It is dynamic to retransmit.Retransmittal interval, transmission times can be configured.
The reminder message sending device of the embodiment of the present invention, is sent to terminal for reminder message according to reminder message type and sets
It is standby, to realize that reminder message various ways are sent.
Device provided in an embodiment of the present invention, whole year are more than 99.99% not delay machine record;Distributed deployment system tray
Structure supports that ten million user is online simultaneously;The design principle of high modularization.Modules both may operate in a server
On, and can be separately operable on different machines, allomeric function is completed jointly.If desired, each module can also be again
It splits operation on a different server and realizes load balancing, therefore system can according to need and carry out with the use pattern of user
Customization, the user volume that this structure is supported have very big flexibility.When user increases, seamless upgrade and smooth may be implemented
Transition;No matter scale, make the application reply of large-scale and middle and small scale it is illegal use, rogue attacks it is more than sufficient.
Device provided in an embodiment of the present invention, using high-level cache technology, innovation storage framework supports vast capacity user
Space;Outstanding system misarrangement automatic recovery ability, can on-line rapid estimation storage and service front-end without shutting down;Innovation is configurable,
Programmable, multithreaded kernal processing.
Device provided in an embodiment of the present invention, distributed variable-frequencypump, system use modularized design, have good envelope
Dress property makes system have powerful scalability;Support Oracle, the multitype databases such as MS SqlServer, Mysql, DB2;Branch
Multiple domain name, domain name alias are held, user alias supports multiple management person's empowerment management;It can be according to different hardware performance and use
It is required that the thread and flux density of configuration system processing mail, can prevent system destruction caused by overload and system from delaying in this way
Machine.
It is as follows that single thread of the embodiment of the present invention sends 1,000,000 message (1X 1,000,000) situation:
Sample number | Transmission speed | Upload size | When consumption | Bandwidth availability ratio |
1 | 8745msg/s | 1.16G | 114.44s | 79.3% |
2 | 8696msg/s | 1.16G | 114.958s | 78.7% |
3 | 8598.6msg/s | 1.16G | 116.297s | 77.3% |
It is as follows that 5 thread of the embodiment of the present invention sends 5,000,000 message (5X 1,000,000) situation:
Sample number | Transmission speed | Upload size | When consumption | Bandwidth availability ratio |
1 | 8155.56msg/s | 5.34G | 613.078s | 73% |
2 | 8656.36msg/s | 5.34G | 612.35s | 72.8% |
It is as follows that 10 thread of the embodiment of the present invention sends 10,000,000 message (10X 1,000,000) situation:
Sample number | Transmission speed | Upload size | When consumption | Bandwidth availability ratio |
1 | 8271.08msg/s | 11.47G | 1209.031s | 74.6% |
5 threads under using asynchronous transmission mode of the embodiment of the present invention send message and can use client 75% or so
Network bandwidth, transmission rate reaches most reaches 8656.36Msgs/s fastly;Server end can utilize 70% to 75% network bandwidth
For from client reading data are sent, CPU to consume most 10% or so, IO 12000 or so.
Embodiment 2
As shown in figure 5, the embodiment of the present invention provides a kind of reminder message sending method, comprising:
51, the request message that sending device is sent by hypertext transfer protocol http protocol is received, request message carries
The reminded contents that need to be sent.
52, building includes the reminder message of reminded contents.
53, reminder message transmission types are determined.
54, reminder message transmission sequence is determined.
55, reminder message is sent to terminal device according to reminder message transmission types and reminder message transmission sequence.
In the embodiment of the present invention, determine that reminder message transmission types include:
Reminder message transmission types are determined according to the type id field that request message carries, and type id field is for marking
Know reminder message transmission types;
Alternatively, the significance level of reminder message is determined according to the keyword that reminded contents include, according to the weight of reminder message
Degree is wanted to determine reminder message transmission types;
Determine that reminder message transmission sequence includes:
According to reminder message inbound message queue service module time, the sequence of transmission locating for reminder message is determined;
Alternatively, determining the sequence of transmission locating for reminder message, priority according to the priority tag field that request message carries
Identification field is for identifying reminder message priority;
Alternatively, the significance level of reminder message is determined according to the keyword that reminded contents include, according to the weight of reminder message
Degree is wanted to determine the sequence of transmission locating for reminder message;
Alternatively, determining the sequence of transmission locating for reminder message, creation according to the creation time identification field that request message carries
Time identifier field is used for identification request message creation time.
The method of the embodiment of the present invention can device through the foregoing embodiment realize that the present embodiment method is only briefly retouched
It states, detailed implementation can refer to above-mentioned apparatus embodiment.
The reminder message sending method of the embodiment of the present invention, is sent to terminal for reminder message according to reminder message type and sets
It is standby, to realize that reminder message various ways are sent.
Embodiment 3
The embodiment of the present invention provides a kind of method for carrying out reminder message transmission using the offer device of above-described embodiment 1, hair
The interface of equipment calls receiving interface module 11 is sent, short message, mail, PUSH message, Get message pass through receiving interface module
11 are transmitted to device;
Load balancing service module 12 is redirected to synthesized gateway service module 13, then synthesized gateway service module 13
The message queue specified in Message Queuing Services module 14 is separately sent to according to type, emergency message preferentially enters queue and is issued to
Core processing module 15, core processing module 15 carry out business processing to message, message are on the one hand saved in database 16, separately
On the one hand sending module 17 is sent a message to, sending module 17 sends a message to reminder message processing module 18;Prompting disappears
Processing module 18 is ceased according to different messages type, determines corresponding sending method and reminder message is sent to terminal device.
Specific steps may include:
S1, sending device call 11 interface of receiving interface module to send data to load balancing service by http protocol
Module 12;
S2, load balancing service module 12 request the high concurrent from sending device to be redirected to ratio by HTTP request
Relatively idle synthesized gateway service module 13 is handled;
S3, synthesized gateway service module 13 pass through according to the different type (short message, mail, push, message etc.) of message
AMQP agreement is asynchronous to be sent a message in the different queue server of Message Queuing Services module 14;
Message in queue is passed through AMQP agreement according to the sequencing for entering queue by S4, Message Queuing Services module 14
Message is issued to core processing module 15;
S5, core processing module 15 pass through a series of processing (checking and killing virus, rubbish filtering, sensitive filtering etc.) to information
It is stored data into database 16 by ICP/IP protocol, and is sent to sending module 17;
X.25 S6, sending module 17 send information to by ICP/IP protocol or reminder message processing module 18;
S7, reminder message processing module 18 will send information to terminal by agreements such as CMMP, SGIP, SMGP, STMP and set
It is standby.
The reminder message sending method of the embodiment of the present invention, is sent to terminal for reminder message according to reminder message type and sets
It is standby, to realize that reminder message various ways are sent.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (8)
1. a kind of reminder message sending device, which is characterized in that including receiving interface module interconnected, load balancing service
Module, synthesized gateway service module, Message Queuing Services module, core processing module, database, sending module, reminder message
Processing module;
The request message that the receiving interface module reception sending device is sent by hypertext transfer protocol http protocol, and to
Request message described in the load balancing service module transfer, the request message carry the reminded contents that need to be sent;
The request message is redirected to the synthesized gateway service module by the load balancing service module;
The synthesized gateway service module building includes the reminder message of the reminded contents, and the synthesized gateway service module is true
The fixed reminder message transmission types disappear the prompting by the way that AMQP agreement is asynchronous according to the reminder message transmission types
Breath is sent to the Message Queuing Services module;
The Message Queuing Services module determines the reminder message transmission sequence, and logical according to the reminder message transmission sequence
It crosses AMQP agreement and the reminder message is issued to the core processing module;
The reminder message is saved in the database by ICP/IP protocol by the core processing module;
The sending module is sent to reminder message processing module by ICP/IP protocol or X.25 by the reminder message;
The reminder message is sent to terminal device according to the reminder message type by the reminder message processing module.
2. the apparatus according to claim 1, which is characterized in that the load balancing service module is by the request message weight
Being directed to the synthesized gateway service module includes:
The load balancing service module detects the synthesized gateway service module load condition;
The load balancing service module is determined according to the synthesized gateway service module load condition by the request message weight
It is directed to the synthesized gateway service module.
3. device according to claim 1 or 2, which is characterized in that the synthesized gateway service module determines the prompting
Message delivery type includes:
The synthesized gateway service module determines that the reminder message is sent out according to the type id field that the request message carries
Type is sent, the type id field is for identifying the reminder message transmission types;
Alternatively, the synthesized gateway service module determines the weight of the reminder message according to the keyword that the reminded contents include
Degree is wanted, the reminder message transmission types are determined according to the significance level of the reminder message.
4. device according to claim 3, which is characterized in that the reminder message transmission types include short message, mail,
Any one in PUSH message, Get message;
Alternatively, the reminder message transmission types include simultaneously short message, mail, PUSH message, at least two in Get message
Kind.
5. device according to any one of claim 1 to 4, which is characterized in that the synthesized gateway service module includes:
Short message control submodule when sending for the reminder message transmission types for short message, is incited somebody to action by the way that AMQP agreement is asynchronous
The reminder message is sent to the Message Queuing Services module;
Mail control submodule when sending for the reminder message transmission types for mail, is incited somebody to action by the way that AMQP agreement is asynchronous
The reminder message is sent to the Message Queuing Services module;
PUSH message control submodule passes through AMQP agreement when sending for the reminder message transmission types for PUSH message
Asynchronous is sent to the reminder message Message Queuing Services module;
Get message control submodule passes through when sending for the reminder message transmission types for Get message
AMQP agreement is asynchronous to be sent to the Message Queuing Services module for the reminder message.
6. device according to any one of claim 1 to 4, which is characterized in that the Message Queuing Services module determines
Reminder message transmission sequence includes:
The Message Queuing Services module according to the reminder message enter the Message Queuing Services module time, determine described in
The sequence of transmission locating for reminder message;
Alternatively, the priority tag field that the Message Queuing Services module is carried according to the request message, determine described in mention
The sequence of transmission locating for message of waking up, the priority tag field is for identifying the reminder message priority;
Alternatively, the Message Queuing Services module determines the weight of the reminder message according to the keyword that the reminded contents include
Want degree, according to the significance level of the reminder message determine the reminder message locating for transmission sequence;
Alternatively, the creation time identification field that the Message Queuing Services module is carried according to the request message, determine described in
The sequence of transmission locating for reminder message, the creation time identification field is for identifying the request message creation time.
7. device according to any one of claim 1 to 4, which is characterized in that the Message Queuing Services module includes:
Short message queue submodule, when being sent for the reminder message transmission types for short message, according to locating for the reminder message
Transmission sequence passes through AMQP agreement and sends the core processing module for the reminder message;
Mail queue's submodule, when being sent for the reminder message transmission types for mail, according to locating for the reminder message
Transmission sequence passes through AMQP agreement and sends the core processing module for the reminder message;
PUSH message queue submodule, when being sent for the reminder message transmission types for PUSH message, according to the prompting
The sequence of transmission locating for message passes through AMQP agreement and sends the core processing module for the reminder message;
Get message queue submodule, when being sent for the reminder message transmission types for Get message, according to institute
Stating transmission locating for reminder message, sequentially passing through AMQP agreement sends the core processing module for the reminder message.
8. device according to any one of claim 1 to 4, which is characterized in that the core processing module includes following
At least one submodule:
Checking and killing virus submodule, for carrying out checking and killing virus to reminder message;
Rubbish filtering submodule, for carrying out filtering rubbish contents to reminder message;
Sensitive filtering submodule, for carrying out sensitive vocabulary filtering to reminder message;
Information Repeater submodule, for sending interval by default when the reminder message is sent to terminal device failure
And/or number, it triggers the sending module and sends the reminder message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610035659.XA CN105578431B (en) | 2016-01-20 | 2016-01-20 | Reminder message sending device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610035659.XA CN105578431B (en) | 2016-01-20 | 2016-01-20 | Reminder message sending device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105578431A CN105578431A (en) | 2016-05-11 |
CN105578431B true CN105578431B (en) | 2019-09-06 |
Family
ID=55887996
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610035659.XA Active CN105578431B (en) | 2016-01-20 | 2016-01-20 | Reminder message sending device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105578431B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109005517B (en) * | 2017-06-06 | 2022-05-27 | 阿里巴巴集团控股有限公司 | Activity reminding method, activity reminding message generation method and device |
CN109218431A (en) * | 2018-09-28 | 2019-01-15 | 江苏中威科技软件系统有限公司 | A kind of accurate information push management method |
CN110337075A (en) * | 2019-06-28 | 2019-10-15 | 北京奇才天下科技有限公司 | A kind of short message sending method, device and electronic equipment based on APP type of service |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973461A (en) * | 2013-02-06 | 2014-08-06 | 阿里巴巴集团控股有限公司 | Notification message pushing method and message server |
CN104468760A (en) * | 2014-11-28 | 2015-03-25 | 小米科技有限责任公司 | Method and device for pushing reminding information |
CN104507165A (en) * | 2014-09-18 | 2015-04-08 | 上海触乐信息科技有限公司 | Intelligent prompting method, system and device |
CN104823414A (en) * | 2012-11-20 | 2015-08-05 | 卓普网盘股份有限公司 | System and method for serving message client |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130103467A1 (en) * | 2011-10-14 | 2013-04-25 | David Hills | Real-Time Content Evaluation and Query Building Processes and Systems |
-
2016
- 2016-01-20 CN CN201610035659.XA patent/CN105578431B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104823414A (en) * | 2012-11-20 | 2015-08-05 | 卓普网盘股份有限公司 | System and method for serving message client |
CN103973461A (en) * | 2013-02-06 | 2014-08-06 | 阿里巴巴集团控股有限公司 | Notification message pushing method and message server |
CN104507165A (en) * | 2014-09-18 | 2015-04-08 | 上海触乐信息科技有限公司 | Intelligent prompting method, system and device |
CN104468760A (en) * | 2014-11-28 | 2015-03-25 | 小米科技有限责任公司 | Method and device for pushing reminding information |
Also Published As
Publication number | Publication date |
---|---|
CN105578431A (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10671813B2 (en) | Performing actions based on determined intent of messages | |
CN103548016B (en) | DP for message category is resequenced | |
CN102483785B (en) | By the application on webserver interconnection personal computers and mobile terminal | |
CN105721535A (en) | Parallel processing of service functions in service function chains | |
US8990638B1 (en) | Self-stabilizing network nodes in mobile discovery system | |
CN110519711A (en) | A kind of information push method, device, storage medium and server | |
CN107689988A (en) | A kind of method, apparatus, electronic equipment and the terminal device of message push | |
CN105578431B (en) | Reminder message sending device and method | |
CN103561086A (en) | Method for presenting schedule prompting message, terminal device and cloud server | |
CN109582873A (en) | Method and apparatus for pushed information | |
US11956196B2 (en) | Bulk messaging detection and enforcement | |
CN106411694A (en) | System and method for broadcasting contents from web-based browser to a recipient device using extensible messaging and presence protocol (XMPP) | |
CN104021787A (en) | Air ticket searching system and method based on voice recognition | |
CN108023941A (en) | Sound control method and device and electronic equipment | |
CN109784947A (en) | Worksheet processing method, equipment, storage medium and device are rescued after sale | |
CN110619253A (en) | Identity recognition method and device | |
US20070153681A1 (en) | Messaging schema for services interaction on prepaid and subscription system | |
US20220417197A1 (en) | Method, computer device, and non-transitory computer-readable recording medium to pick and display message in messaging-based social network service | |
CN110321252A (en) | A kind of method and apparatus of craft services scheduling of resource | |
CN106408793B (en) | A kind of Service Component sharing method and system suitable for ATM business | |
CN113672488A (en) | Log text processing method and device | |
CN114390452A (en) | Message sending method and related equipment | |
CN112837156A (en) | Transaction method and device with fixed execution sequence | |
CN107995002B (en) | Method and system for charging based on directional flow label | |
CN103150803A (en) | Waiting reminding method and waiting reminding device |
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 |