CN109246000A - Message method and message transmission system - Google Patents

Message method and message transmission system Download PDF

Info

Publication number
CN109246000A
CN109246000A CN201811268960.0A CN201811268960A CN109246000A CN 109246000 A CN109246000 A CN 109246000A CN 201811268960 A CN201811268960 A CN 201811268960A CN 109246000 A CN109246000 A CN 109246000A
Authority
CN
China
Prior art keywords
message
template
packet
user terminal
parameter
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.)
Pending
Application number
CN201811268960.0A
Other languages
Chinese (zh)
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.)
Suzhou Friends Education Also Education Technology Co Ltd
Original Assignee
Suzhou Friends Education Also Education Technology Co 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 Suzhou Friends Education Also Education Technology Co Ltd filed Critical Suzhou Friends Education Also Education Technology Co Ltd
Priority to CN201811268960.0A priority Critical patent/CN109246000A/en
Publication of CN109246000A publication Critical patent/CN109246000A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/23Reliability checks, e.g. acknowledgments or fault reporting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Abstract

The invention discloses a kind of message method and message transmission systems, comprising: carries out Classification Management according to sorting parameter to multiple message templates;The message parameter that reception business end is sent;Corresponding message template is selected according to message parameter using template engine technique freemarker, and message parameter and corresponding message template are assembled into message packet, and be packaged to message packet;Message packet is sent to information consumption end by RabbitMQ, message packet is sent to user terminal by information consumption end;It receives in the station that user terminal is sent and believes, interior letter of standing includes the reading state of message packet;Data statistics is carried out to letter in station, data statistics is carried out to the message packet for being sent to user terminal.Classification Management can be carried out to multiple message templates;The sendaisle of message template has multiple, and for the same message packet, different user terminals can be respectively sent to by different sendaisles;Can transmission situation to message packet carry out data statistics.

Description

Message method and message transmission system
Technical field
The present invention relates to fields of communication technology, more particularly, to a kind of message method and message transmission system.
Background technique
With the development of the society, family is more next to the concern of child more, more still selection and of most families School is cooperated, and is physically and mentally put into the education of child, rather than the mode put in a suitable place to breed is educated.And with the communication technology into Step, terminal platform is diversified, and therefore, in the case where each kinsfolk has smart machine, kinsfolk is to child The understanding of the situation of son, is no longer traditional liaison mode.Developer has developed various message push services with full The demand of each terminal platform of foot, the Push Services such as various wechat public platforms.
With the diversification of user equipment, sole user carries and uses multiple such as tablet PCs, smart phone and other The mobile device of intelligent terminal is not rarely seen.For the family more than kinsfolk, terminal device is even more diversification.
Therefore, how easily to different terminals, different user send message, be research staff important R&D direction it One.
Summary of the invention
In view of this, the present invention provides a kind of message method and message transmission system, it can be easily to difference Terminal, different user send message to solve the problems of the prior art.
The present invention provides a kind of message methods, comprising:
Classification Management is carried out according to sorting parameter to multiple message templates;Sorting parameter includes: the content of message template, disappears Cease the sending time strategy of the classification of template, the sendaisle of message template, the range of transmission of message template, message template;
The message parameter that reception business end is sent;
Corresponding message template is selected according to message parameter using template engine technique freemarker, and by message parameter It is assembled into message packet with corresponding message template, and message packet is packaged;
Message packet is sent to information consumption end by RabbitMQ, message packet is sent to user by information consumption end End;
It receives in the station that user terminal is sent and believes, interior letter of standing includes the reading state of message packet;
Data statistics is carried out to letter in station, comprising: whether counting user end receives message packet, whether counting user end reads Take message packet, the amount of reading of message packet and the amount of reading;
Data statistics is carried out to the message packet for being sent to user terminal, comprising: the sending time of message packet, message packet Send successful quantity, message packet sends the quantity of failure, in special time period message packet quantity forwarded.
Preferably, the classification of message template includes: sale class, achievement notice class, system alarm class;
The sendaisle of message template includes: the channel APP, short message channel, webpage channel;
The range of transmission of message template includes: message unicast, batch user multicast, the fixed multicast of system and service registration group It broadcasts;
The sending time strategy of message template includes: transmission immediately, be delayed transmission and specified time transmission.
Preferably, user terminal includes: the end APP, short message end, page end;
Business end includes: school control's platform, system operation platform, teacher side, family end.
Preferably, message parameter includes: message template ID, message content parameter and message sending time strategy.
Preferably, it receives in the station that user terminal is sent and believes to judge whether message packet has been read, if it is, recalling Message packet.
The present invention provides a kind of message transmission systems, comprising:
User terminal, business end and server-side, user terminal and server-side electrical connection, server-side and the electrical connection of business end;
Server-side includes: template management module, message parameter receiving module, message package module, message transmission module, disappears Cease consumption terminal, the first statistical module and the second statistical module;
Business end includes that receiving module is believed in station;
Template management module is used to carry out Classification Management according to sorting parameter to multiple message templates;Sorting parameter includes: The content of message template, the classification of message template, the sendaisle of message template, the range of transmission of message template, message template Sending time strategy;
Message parameter receiving module is used to receive the message parameter of business end transmission;
Message package module is used to select corresponding message according to message parameter using template engine technique freemarker Template, and message parameter and corresponding message template are assembled into message packet, and encapsulation messages message;
Message transmission module is used to that message packet to be sent to information consumption end by RabbitMQ, and information consumption end will disappear Breath message is sent to user terminal;
Interior letter receiving module of standing, which is used to receive in the station of user terminal transmission, to be believed, interior letter of standing includes the reading shape of message packet State;
First statistical module carries out data statistics to letter in station, comprising: whether counting user end receives message packet, statistics Whether user terminal reads message packet, the amount of reading of message packet and the amount of reading;
Second statistical module carries out data statistics to the message packet for being sent to user terminal, comprising: the transmission of message packet Time, message packet send successful quantity, message packet sends the quantity of failure, in special time period message packet transmission Quantity.
Preferably, the classification of message template includes: sale class, achievement notice class, system alarm class;
The sendaisle of message template includes: the channel APP, short message channel, webpage channel;
The range of transmission of message template includes: message unicast, batch user multicast, the fixed multicast of system and service registration group It broadcasts;
The sending time strategy of message template includes: transmission immediately, be delayed transmission and specified time transmission.
Preferably, user terminal includes: the end APP, short message end, page end.
Business end includes: school control's platform, system operation platform, teacher side, family end.
Preferably, message parameter includes: message template ID, message content parameter and message sending time strategy.
Preferably, server-side includes: judgment module and recalls module;
Judgment module is for judging whether message packet has been read;
Module is recalled for revocation messages message.
Compared with prior art, message method provided by the invention and message transmission system at least realize as follows The utility model has the advantages that
1, based on different parameters, Classification Management is carried out to multiple message templates.Specifically, in message template Appearance, the sending time plan of the classification of message template, the sendaisle of message template, the range of transmission of message template, message template It is slightly managed, in order to subsequent quick calling message template.
2, the sendaisle of message template has multiple, for the same message packet, can pass through different sendaisles It is respectively sent to different user terminals, such as the end APP is sent to by the channel APP, short message end is sent to by short message channel, is led to It crosses webpage channel and is sent to page end.Without editing message packet respectively for different user terminals, make message send it is more convenient, Efficiently.
3, when the business demand that business end has message to send, message parameter can be sent, message parameter includes message template ID, message content parameter and message sending time strategy, according to message template ID can with the corresponding message template of quick calling, and And message content parameter is written in corresponding message template, while determining message sending time strategy, it is assembled into message packet, And message packet is packaged.
4, message packet is sent to by information consumption end by RabbitMQ, message packet is sent to use by information consumption end Family end, RabbitMQ can support million grades of message to send concurrency, can send message simultaneously to a large amount of user terminal.
5, letter in standing is counted, can knows whether user terminal receives message packet, whether counting user end reads Take message packet, the amount of reading of message packet and the amount of reading.According to the statistical conditions believed in station, user terminal can analyze The information such as service condition, to continue to optimize message method.
6, data statistics is carried out to the message packet for being sent to user terminal, comprising: the sending time of message packet, Izvestia Text sends successful quantity, message packet sends the quantity of failure, in special time period message packet quantity forwarded.By right Message packet carries out data statistics, it will be appreciated that the transmission situation of message packet, to continue to optimize message method.
7, due to generally including the private information of user in message packet, for example, the school of student, class, the date of birth, The information such as kinsfolk, therefore in order to avoid the leakage of user information, such as the mobile phone of user terminal are lost, cause user information Leakage.After user has had read message packet, message is recalled in time, to prevent the leakage of user information.
Certainly, implementing any of the products of the present invention specific needs while must not reach all the above technical effect.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Detailed description of the invention
It is combined in the description and the attached drawing for constituting part of specification shows the embodiment of the present invention, and even With its explanation together principle for explaining the present invention.
Fig. 1 is a kind of flow chart of message method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of message transmission system provided in an embodiment of the present invention;
Fig. 3 is the functional block diagram that message transmission is realized by method shown in FIG. 1 and system shown in Fig. 2.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should also be noted that unless in addition having Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of invention.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the present invention And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
Embodiment 1
Referring to FIG. 1, the embodiment of the invention provides a kind of message methods, comprising:
Step S1: Classification Management is carried out according to sorting parameter to multiple message templates;Sorting parameter includes: message template Content, the classification of message template, the sendaisle of message template, the range of transmission of message template, message template sending time Strategy;
Preferably, the classification of message template includes: sale class, achievement notice class, system alarm class;
The sendaisle of message template includes: the channel APP, short message channel, webpage channel;
The range of transmission of message template includes: message unicast, batch user multicast, the fixed multicast of system and service registration group It broadcasts;
The sending time strategy of message template includes: transmission immediately, be delayed transmission and specified time transmission.
Step S2: the message parameter that business end is sent is received;
Preferably, message parameter includes: message template ID, message content parameter and message sending time strategy.
Step S3: corresponding message template is selected according to message parameter using template engine technique freemarker, and will Message parameter and corresponding message template are assembled into message packet, and are packaged to message packet;
Step S4: message packet is sent to by information consumption end by RabbitMQ, message packet is sent out at information consumption end It send to user terminal;
Step S5: receiving in the station that user terminal is sent and believe, interior letter of standing includes the reading state of message packet;
Step S6: data statistics is carried out to letter in station, comprising: whether counting user end receives message packet, counting user Whether message packet, the reading amount of message packet and do not read amount are read in end;
Step S7: data statistics is carried out to the message packet for being sent to user terminal, comprising: the sending time of message packet, Message packet sends successful quantity, message packet sends the quantity of failure, in special time period message packet quantity forwarded.
Preferably, user terminal includes: the end APP, short message end, page end.
Business end includes: school control's platform, system operation platform, teacher side, family end.
Preferably, step S51: receiving and believed in the station that user terminal is sent to judge whether the message packet has been read, If so, executing step S52: recalling the message packet.
In the present embodiment, a kind of message method is provided, it can be according to the business demand at business end, to different use Family end sends corresponding message, convenient, fast.
Specifically, be provided with multiple message templates in message method provided in this embodiment, based on different parameters, Classification Management is carried out to multiple message templates, in order to subsequent quick calling message template.
The content of message template refers to specific text information and/or image information in message template.
The classification of message template includes: sale class, achievement notice class, system alarm class, for example, sale class is produced for selling Product and/or service, achievement notify class to be used to provide achievement notice to user terminal, and system alert class is used to provide warning to user terminal Service.
The sendaisle of message template has multiple, comprising: the channel APP, short message channel, webpage channel.Disappear for same Message is ceased, different user terminals can be respectively sent to by different sendaisles, such as APP is sent to by the channel APP End, is sent to short message end by short message channel, is sent to page end by webpage channel.Message sender provided in this embodiment Method sends message more convenient, efficient without editing message packet respectively for different user terminals.
The range of transmission of message template refers to that the user group's situation for receiving message packet, message unicast are one-to-one logical Message packet is sent to a user terminal, such as sends identifying code message by news mode;Batch user multicast and the fixed group of system Broadcasting is one-to-one group of communication mode, by a plurality of clients of same message packet Batch sending to same group;Service registration group It broadcasts and refers to, when sending message by message transmission system, what be can be reversed registers a service to message system to formulate hair Send user scope and time parameter method.When message transmission system sends message, it can go to call the service being registered, be offseted with reaching Cease the flexible control sent.
The sending time strategy of message template includes: transmission immediately, be delayed transmission and specified time transmission.According to different Message packet can choose different sending time strategies.
Business end includes: school control's platform, system operation platform, teacher side, family end, the user of school control's platform For school side, for managing this school student;The user of system operation platform is operation Party B;The user of teacher side is teacher, is used In the student for managing respective class;The user at family end is parent.When the business demand that business end has message to send, can send Message parameter, message parameter include message template ID, message content parameter and message sending time strategy, according to message template ID can be with the corresponding message template of quick calling, and message content parameter is written in corresponding message template, determines simultaneously Message sending time strategy is assembled into message packet, and is packaged to message packet.
Message packet is sent to information consumption end by RabbitMQ, message packet is sent to user by information consumption end End, RabbitMQ can support million grades of message to send concurrency, can send message simultaneously to a large amount of user terminal.
Whether user terminal receives message packet, user terminal reads message packet or unread message message is ok Generate letter in corresponding station.
Letter in standing is counted, can know whether user terminal receives message packet, whether counting user end reads Message packet, the amount of reading of message packet and the amount of reading.According to the statistical conditions believed in station, making for user terminal can analyze With information such as situations, to continue to optimize message method.
Data statistics is carried out to the message packet for being sent to user terminal, comprising: the sending time of message packet, message packet Send successful quantity, message packet sends the quantity of failure, in special time period message packet quantity forwarded.By offseting It ceases message and carries out data statistics, it will be appreciated that the transmission situation of message packet, to continue to optimize message method.
Due to generally including the private information of user, such as school, class, date of birth, the family of student in message packet The information such as front yard member, therefore in order to avoid the leakage of user information, such as the mobile phone of user terminal are lost, cause letting out for user information Dew.After user has had read message packet, message is recalled in time, to prevent the leakage of user information.
Embodiment 2
Referring to FIG. 2, the present invention provides a kind of message transmission systems, comprising:
User terminal 10, business end 20 and server-side 30, user terminal 10 and server-side 30 are electrically connected, server-side 30 and business end 20 electrical connections;
Server-side 30 includes: template management module 31, message parameter receiving module 32, message package module 33, message hair Send module 34, information consumption end 39, the first statistical module 36 and the second statistical module 37;
The business end 20 includes that receiving module 25 is believed in station;
Template management module 31 is used to carry out Classification Management according to sorting parameter to multiple message templates;Sorting parameter packet It includes: the content of message template, the classification of message template, the sendaisle of message template, the range of transmission of message template, message mould The sending time strategy of plate;
Preferably, the classification of message template includes: sale class, achievement notice class, system alarm class;
The sendaisle of message template includes: the channel APP, short message channel, webpage channel;
The range of transmission of message template includes: message unicast, batch user multicast, the fixed multicast of system and service registration group It broadcasts;
The sending time strategy of message template includes: transmission immediately, be delayed transmission and specified time transmission.
Message parameter receiving module 32 is used to receive the message parameter of the transmission of business end 20;
Preferably, message parameter includes: message template ID, message content parameter and message sending time strategy.
Message package module 33 is used to select corresponding disappear according to message parameter using template engine technique freemarker Template is ceased, and message parameter and corresponding message template are assembled into message packet, and encapsulation messages message;
Message transmission module 34 is used to that message packet to be sent to information consumption end 39, information consumption end by RabbitMQ Message packet is sent to user terminal 10 by 39;
Interior letter receiving module 25 of standing, which is used to receive in the station of the transmission of user terminal 10, to be believed, interior letter of standing includes the reading of message packet State;
First 36 pairs of statistical module station in letter carry out data statistics, comprising: counting user end 10 whether receive message packet, Whether message packet, the reading amount of message packet and do not read amount are read in counting user end 10;
Second statistical module 37 carries out data statistics to the message packet for being sent to user terminal 10, comprising: message packet Sending time, message packet send successful quantity, message packet sends the quantity of failure, message packet in special time period Quantity forwarded.
Preferably, user terminal 10 includes: the end APP 11, short message end 12, page end 13.
Business end 20 includes: school control's platform 21, system operation platform 22, teacher side 23, family end 24.
Preferably, server-side 30 includes: judgment module 35 and recalls module 38;
Judgment module 35 is for judging whether message packet has been read;
Module 38 is recalled for revocation messages message.
Message transmission system provided in this embodiment can be sent out according to the business demand at business end to different user terminals Corresponding message is sent, it is convenient, fast.
Specifically, be provided with multiple message templates in message transmission system provided in this embodiment, based on different parameters, Classification Management is carried out to multiple message templates, in order to subsequent quick calling message template.
The sendaisle of message template has multiple, comprising: the channel APP, short message channel, webpage channel.Disappear for same Message is ceased, different user terminals can be respectively sent to by different sendaisles, such as APP is sent to by the channel APP End, is sent to short message end by short message channel, is sent to page end by webpage channel.Message provided in this embodiment sends system System sends message more convenient, efficient without editing message packet respectively for different user terminals.
Message packet is sent to user terminal by RabbitMQ by message transmission module, and RabbitMQ can support million grades Message sends concurrency, can send message simultaneously to a large amount of user terminal.
Letter receiving module in receiving station for believing in standing, and whether user terminal receives message packet, user terminal reads message Message or unread message message can generate letter in corresponding station.
The first statistical module and the second statistical module are provided in message transmission system provided in this embodiment.
First statistical module counts letter in standing, and can know whether user terminal receives message packet, statistics is used Whether message packet, the reading amount of message packet and do not read amount are read in family end.According to the statistical conditions believed in station, Ke Yifen The information such as the service condition of user terminal are analysed, to continue to optimize message method.
Second statistical module carries out data statistics to the message packet for being sent to user terminal, comprising: the transmission of message packet Time, message packet send successful quantity, message packet sends the quantity of failure, in special time period message packet transmission Quantity.By carrying out data statistics to message packet, it will be appreciated that the transmission situation of message packet, to continue to optimize message transmission Method.
Due to generally including the private information of user, such as school, class, date of birth, the family of student in message packet The information such as front yard member, therefore in order to avoid the leakage of user information, such as the mobile phone of user terminal are lost, cause letting out for user information Dew.After judgment module judges that user has had read message packet, recalls module and in time recall message, to prevent user The leakage of information.
Embodiment 3
On the basis of embodiment 1 and embodiment 2, the present embodiment is Application Example.
Incorporated by reference to reference Fig. 1, Fig. 2 and Fig. 3.
There is the demand for sending message at business end 20, such as has that new function is online, and system operation platform 22 needs PUSH message, To notify user terminal to check and use the new function.System operation platform 22 can provide message parameter, and message parameter includes: that this is pushed away The message content of the message template ID, the PUSH message that send message to use, the message sending time strategy which uses.
The message parameter receiving module 32 of server-side 30 receives message parameter.
Message package module 33 is used to use template engine technique freemarker, is selected according to message template ID from selection Corresponding message template, and message parameter and corresponding message template are assembled into message packet, and encapsulation messages message.
Message transmission module 34 is according to the sending time strategy of the corresponding message template of message packet, and according to message Message selects corresponding message channel, message packet is sent to breath consumption terminal 39 by RabbitMQ, information consumption end 39 will Message packet is sent to user terminal 10.For example, 1:00 is pushed to user to the PUSH message in the afternoon in the form of short message, then message Sending module 34 is sent to user terminal, user terminal can be checked by SMS to disappear by short message channel in the afternoon when 1:00 Cease message.
The user of user terminal checks that message packet can be generated letter, the user of user terminal in station and not look within a certain period of time Seeing message packet also can be generated letter in station, and 30 pairs of server-side interior letters of standing count, and can know that user terminal reads Izvestia The situation of text.
In server-side, data statistics can also be carried out to the message packet for being sent to user terminal, such as disappearing of sending of this month Situations such as ceasing the total quantity of message.
Through the foregoing embodiment it is found that various embodiments of the present invention provide message method and message transmission system, until It is few with following the utility model has the advantages that
1, based on different parameters, Classification Management is carried out to multiple message templates.Specifically, in message template Appearance, the sending time plan of the classification of message template, the sendaisle of message template, the range of transmission of message template, message template It is slightly managed, in order to subsequent quick calling message template.
2, the sendaisle of message template has multiple, for the same message packet, can pass through different sendaisles It is respectively sent to different user terminals, such as the end APP is sent to by the channel APP, short message end is sent to by short message channel, is led to It crosses webpage channel and is sent to page end.Without editing message packet respectively for different user terminals, make message send it is more convenient, Efficiently.
3, when the business demand that business end has message to send, message parameter can be sent, message parameter includes message template ID, message content parameter and message sending time strategy, according to message template ID can with the corresponding message template of quick calling, and And message content parameter is written in corresponding message template, while determining message sending time strategy, it is assembled into message packet, And message packet is packaged.
4, message packet is sent to by information consumption end, information consumption end by RabbitMQ and message packet is sent to use Family end, RabbitMQ can support million grades of message to send concurrency, can send message simultaneously to a large amount of user terminal.
5, letter in standing is counted, can knows whether user terminal receives message packet, whether counting user end reads Take message packet, the amount of reading of message packet and the amount of reading.According to the statistical conditions believed in station, user terminal can analyze The information such as service condition, to continue to optimize message method.
6, data statistics is carried out to the message packet for being sent to user terminal, comprising: the sending time of message packet, Izvestia Text sends successful quantity, message packet sends the quantity of failure, in special time period message packet quantity forwarded.By right Message packet carries out data statistics, it will be appreciated that the transmission situation of message packet, to continue to optimize message method.
7, due to generally including the private information of user in message packet, for example, the school of student, class, the date of birth, The information such as kinsfolk, therefore in order to avoid the leakage of user information, such as the mobile phone of user terminal are lost, cause user information Leakage.After user has had read message packet, message is recalled in time, to prevent the leakage of user information.
Although some specific embodiments of the invention are described in detail by example, the skill of this field Art personnel it should be understood that example above merely to being illustrated, the range being not intended to be limiting of the invention.The skill of this field Art personnel are it should be understood that can without departing from the scope and spirit of the present invention modify to above embodiments.This hair Bright range is defined by the following claims.

Claims (10)

1. a kind of message method characterized by comprising
Classification Management is carried out according to sorting parameter to multiple message templates;The sorting parameter includes: the interior of the message template Appearance, the classification of the message template, the sendaisle of the message template, the range of transmission of the message template, the message The sending time strategy of template;
The message parameter that reception business end is sent;
Corresponding message template is selected according to the message parameter using template engine technique freemarker, and by the message Parameter and the corresponding message template are assembled into message packet, and are packaged to the message packet;
The message packet is sent to information consumption end by RabbitMQ, the message packet is sent out at the information consumption end It send to user terminal;
It receives in the station that the user terminal is sent and believes, letter includes the reading state of the message packet in the station;
Data statistics is carried out to letter in the station, comprising: count whether the user terminal receives described in the message packet, statistics Whether user terminal reads the message packet, the amount of reading of the message packet and the amount of reading;
Data statistics is carried out to the message packet for being sent to the user terminal, comprising: the sending time of the message packet, The message packet sends successful quantity, the message packet sends the quantity of failure, the Izvestia in special time period The quantity forwarded of text.
2. a kind of message method according to claim 1, which is characterized in that
The classification of the message template includes: sale class, achievement notice class, system alarm class;
The sendaisle of the message template includes: the channel APP, short message channel, webpage channel;
The range of transmission of the message template includes: message unicast, batch user multicast, the fixed multicast of system and service registration group It broadcasts;
The sending time strategy of the message template includes: transmission immediately, be delayed transmission and specified time transmission.
3. a kind of message method according to claim 1, which is characterized in that
The user terminal includes: the end APP, short message end, page end;
The business end includes: school control's platform, system operation platform, teacher side, family end.
4. a kind of message method according to claim 1, which is characterized in that
The message parameter includes: message template ID, message content parameter and message sending time strategy.
5. a kind of message method according to claim 1, which is characterized in that
It receives in the station that the user terminal is sent and believes to judge whether the message packet has been read, if it is, recalling institute State message packet.
6. a kind of message transmission system characterized by comprising
User terminal, business end and server-side, the user terminal and server-side electrical connection, the server-side and the business end Electrical connection;
The server-side includes: template management module, message parameter receiving module, message package module, message transmission module, disappears Cease consumption terminal, the first statistical module and the second statistical module;
The business end includes that receiving module is believed in station;
The template management module is used to carry out Classification Management according to sorting parameter to multiple message templates;The sorting parameter packet It includes: the content of the message template, the classification of the message template, the sendaisle of the message template, the message template Range of transmission, the message template sending time strategy;
The message parameter receiving module is used to receive the message parameter of business end transmission;
The message package module is used to be selected using template engine technique freemarker according to the message parameter corresponding Message template, and the message parameter and the corresponding message template are assembled into message packet, and encapsulate the Izvestia Text;
The message transmission module is used to that the message packet to be sent to information consumption end by RabbitMQ, and the message disappears The message packet is sent to the user terminal by Fei Duan;
Believe that receiving module is used to receive in the station that the user terminal is sent in the station to believe, letter includes the Izvestia in the station The reading state of text;
First statistical module carries out data statistics to letter in the station, comprising: count the user terminal whether receive it is described Whether message packet, the statistics user terminal read the message packet, the amount of reading of the message packet and the amount of reading;
Second statistical module carries out data statistics to the message packet for being sent to the user terminal, comprising: described to disappear Cease the sending time of message, the message packet sends successful quantity, the message packet send failure quantity, it is specific when Between in section the message packet quantity forwarded.
7. a kind of message transmission system according to claim 6, which is characterized in that
The classification of the message template includes: sale class, achievement notice class, system alarm class;
The sendaisle of the message template includes: the channel APP, short message channel, webpage channel;
The range of transmission of the message template includes: message unicast, batch user multicast, the fixed multicast of system and service registration group It broadcasts;
The sending time strategy of the message template includes: transmission immediately, be delayed transmission and specified time transmission.
8. a kind of message transmission system according to claim 6, which is characterized in that
The user terminal includes: the end APP, short message end, page end;
The business end includes: school control's platform, system operation platform, teacher side, family end.
9. a kind of message transmission system according to claim 6, which is characterized in that
The message parameter includes: message template ID, message content parameter and message sending time strategy.
10. a kind of message transmission system according to claim 6, which is characterized in that
The server-side includes: judgment module and recalls module;
The judgment module is for judging whether the message packet has been read;
The module of recalling is for recalling the message packet.
CN201811268960.0A 2018-10-29 2018-10-29 Message method and message transmission system Pending CN109246000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811268960.0A CN109246000A (en) 2018-10-29 2018-10-29 Message method and message transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811268960.0A CN109246000A (en) 2018-10-29 2018-10-29 Message method and message transmission system

Publications (1)

Publication Number Publication Date
CN109246000A true CN109246000A (en) 2019-01-18

Family

ID=65078967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811268960.0A Pending CN109246000A (en) 2018-10-29 2018-10-29 Message method and message transmission system

Country Status (1)

Country Link
CN (1) CN109246000A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800213A (en) * 2019-01-22 2019-05-24 四川长虹电器股份有限公司 Quality of production data statistics system and method based on rabbitmq
CN109981449A (en) * 2019-04-03 2019-07-05 浪潮软件集团有限公司 Instantaneous communication system and method based on message mechanism
CN111211972A (en) * 2020-01-10 2020-05-29 青岛特来电云科技有限公司 Message notification system and method supporting information pulling and multi-channel pushing
CN111984901A (en) * 2020-08-31 2020-11-24 上海博泰悦臻电子设备制造有限公司 Message pushing method and related product thereof
CN112887428A (en) * 2021-03-08 2021-06-01 青海绿能数据有限公司 Multichannel message pushing system
CN113505577A (en) * 2021-08-18 2021-10-15 上海通联金融服务有限公司 Template engine-based method for dynamically customizing short message
CN115442323A (en) * 2022-09-01 2022-12-06 北京金山办公软件股份有限公司 Message distribution method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166791A (en) * 2011-12-16 2013-06-19 中兴通讯股份有限公司 Method and device for issuing giga passive optical network service
CN103716648A (en) * 2012-10-08 2014-04-09 深圳市子元技术有限公司 Information transmission method for remote teaching system and remote teaching system
CN106302116A (en) * 2016-08-12 2017-01-04 北京小米移动软件有限公司 Message method and device
CN106713476A (en) * 2017-01-01 2017-05-24 国云科技股份有限公司 Message transmission implementation method based on message template
CN107682316A (en) * 2017-09-05 2018-02-09 平安科技(深圳)有限公司 The generation method and dynamic password sending method of dynamic password sending strategy
US20180205686A1 (en) * 2015-07-06 2018-07-19 Cryptomill Inc. System and method for providing privacy control to message based communications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166791A (en) * 2011-12-16 2013-06-19 中兴通讯股份有限公司 Method and device for issuing giga passive optical network service
CN103716648A (en) * 2012-10-08 2014-04-09 深圳市子元技术有限公司 Information transmission method for remote teaching system and remote teaching system
US20180205686A1 (en) * 2015-07-06 2018-07-19 Cryptomill Inc. System and method for providing privacy control to message based communications
CN106302116A (en) * 2016-08-12 2017-01-04 北京小米移动软件有限公司 Message method and device
CN106713476A (en) * 2017-01-01 2017-05-24 国云科技股份有限公司 Message transmission implementation method based on message template
CN107682316A (en) * 2017-09-05 2018-02-09 平安科技(深圳)有限公司 The generation method and dynamic password sending method of dynamic password sending strategy

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800213A (en) * 2019-01-22 2019-05-24 四川长虹电器股份有限公司 Quality of production data statistics system and method based on rabbitmq
CN109800213B (en) * 2019-01-22 2022-03-25 四川长虹电器股份有限公司 Production quality data statistical system and method based on rabbitmq
CN109981449A (en) * 2019-04-03 2019-07-05 浪潮软件集团有限公司 Instantaneous communication system and method based on message mechanism
CN111211972A (en) * 2020-01-10 2020-05-29 青岛特来电云科技有限公司 Message notification system and method supporting information pulling and multi-channel pushing
CN111984901A (en) * 2020-08-31 2020-11-24 上海博泰悦臻电子设备制造有限公司 Message pushing method and related product thereof
CN112887428A (en) * 2021-03-08 2021-06-01 青海绿能数据有限公司 Multichannel message pushing system
CN113505577A (en) * 2021-08-18 2021-10-15 上海通联金融服务有限公司 Template engine-based method for dynamically customizing short message
CN115442323A (en) * 2022-09-01 2022-12-06 北京金山办公软件股份有限公司 Message distribution method and device

Similar Documents

Publication Publication Date Title
CN109246000A (en) Message method and message transmission system
CN107104887B (en) A kind of instant message based reminding method, device and its user terminal
CN100544268C (en) A kind of reminding demand service of telecommunication method and device
CN102638417B (en) The communication means of information, Apparatus and system
KR100758889B1 (en) Interactive Message Service System and it's method
CN103873688B (en) The based reminding method of a kind of unprocessed information and device
CN101640574B (en) Earthquake and tsunami warning system and method for transmitting primary notification
CN105306662A (en) Information integration method and system for communication terminal
CN110446273B (en) Networking method and device based on electronic price tags
CN101651850A (en) Method and system for transmitting major notification messages of earthquake and tsunami warning system
CN104348974A (en) Keyword-verification-based specific message prompting method for communication group
CN106648698A (en) Method and device for displaying message notification and electronic equipment
CN100499841C (en) Short message service interface and channel adapting method for the same
CN1953602B (en) A method for UE to receive wireless resource control information
DE60204048D1 (en) TRANSMITTING NEWS IN A SYSTEM
ATE451786T1 (en) NOTIFICATION THROUGH VECTOR IMAGE TO A DEVICE
CN110677825A (en) Processing method and device based on short promotion message reach rate and storage medium
CN106789577A (en) A kind of method and system of automatic transmission wechat circle of friends
CN100438667C (en) User terminal and its method for processing message
CN101247570A (en) Text messaging with a mobile terminal
CN106060790A (en) Terminal equipment, operator server, short message transmission method and transmission system
CN107995009A (en) A kind of information group transmitting system
CN112217944B (en) Online ticket processing method, device, equipment and storage medium
CN103634751A (en) User perception-based service information push system and push method
CN105959370A (en) Home cloud system of automatically sharing contents according to face information and realization method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118