CN103312593A - Message distribution system and message distribution method - Google Patents

Message distribution system and message distribution method Download PDF

Info

Publication number
CN103312593A
CN103312593A CN2013102241525A CN201310224152A CN103312593A CN 103312593 A CN103312593 A CN 103312593A CN 2013102241525 A CN2013102241525 A CN 2013102241525A CN 201310224152 A CN201310224152 A CN 201310224152A CN 103312593 A CN103312593 A CN 103312593A
Authority
CN
China
Prior art keywords
message
distribution services
terminal
channel
online
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013102241525A
Other languages
Chinese (zh)
Other versions
CN103312593B (en
Inventor
张乐
张帅
王英杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Juhaokan Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201310224152.5A priority Critical patent/CN103312593B/en
Publication of CN103312593A publication Critical patent/CN103312593A/en
Application granted granted Critical
Publication of CN103312593B publication Critical patent/CN103312593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a message distribution system and a message distribution method. The message distribution system comprises a message distribution serving and managing unit and at least two message distribution serving units. When receiving a fist connection request sent by a terminal after being connected with the message distribution system, the message distribution serving and managing unit selects the message distribution serving units for the terminal according to load conditions of the message distribution serving units and instructs the terminal to select the message distribution serving units to initiate a second connection request. After receiving the second connection request sent by the terminal, each message distribution serving unit establishes a first message channel and a second message channel with the terminal, transmits online messages and offline messages to the terminal respectively through the first message channel and the second message channel, and disconnects the second message channel after the offline messages are sent. With the message distribution system and the message distribution method, the problem that offline messages block sending of the online messages during message distribution can be solved, and timeliness of message distribution is improved.

Description

A kind of message distributing system and method
Technical field
The present invention relates to communication technical field, particularly a kind of message distributing system and method.
Background technology
Along with the development of social informatization, the Internet has been penetrated into each corner of people's daily life, work, study, amusement.In the upsurge of the integration of three networks, various intelligent terminals emerge in an endless stream, and the new products such as smart mobile phone, panel computer, intelligent television and intelligent refrigerator all become the object that the user pursues.In the face of increasing customer group, how message to be distributed effectively the focus that has become manufacturer terminal, service operation team and service provider's concern by message server.
Primary flow message distribution mode based on intelligent terminal mainly comprises following two kinds:
Message distribution pattern one: terminal is to the message server automatic regular polling, if exist message then to pull.The advantage of this pattern is that message server need not the existence of perception terminal and only need give information distribution services and response terminal request.
Message distribution pattern two: message server needs the message channel of always maintenance and terminal room, if exist online message then initiatively to be sent to terminal by message channel.The advantage of this pattern is that terminal only needs be connected connection with message server, and the message distribution of the server that waits for the arrival of news can guarantee like this promptness of message and reduce the expense of terminal.
The inventor finds that there is following defective at least in existing message distribution technology in realizing process of the present invention:
Message distribution does not possess ageingly in the message distribution pattern one, can't guarantee the timely distribution of online message, and the behavior meeting of poll expends network traffics and equipment electric weight.Can't distinguish priority towards the message of same terminal in the message distribution pattern two and can only carry out the serial distribution according to the order that enters in the message queue, thereby cause the deferred information stored to block online message, ageingly require the delay of extremely strong control class message can produce serious consequence for restarting behind the mandatory upgrade of terminal complete machine, the system update etc.
Summary of the invention
The embodiment of the invention provides a kind of message distributing system and method, is used for solving at message distribution process deferred information blocking the problem that online message sends.
The message distributing system that the embodiment of the invention provides comprises the message distribution services administrative unit, at least 2 message distribution services unit, wherein:
The message distribution services administrative unit, after being used for receiving terminal and being connected to the first connection request of sending behind the described message distributing system, be described terminal select the to give information message distribution services unit of distribution services according to the loading condition of each message distribution services unit, indicate described terminal to initiate the second connection request to the message distribution services unit of selecting;
The message distribution services unit, be used for receiving the second connection request that described terminal sends after, set up the first message channel and the second message channel with described terminal; Send online message by the first message channel to described terminal, send deferred information by the second message channel to described terminal, and after deferred information is sent completely, disconnect the second message channel.
The terminal that the embodiment of the invention provides comprises:
The message channel processing unit, send the first connection request for the message distribution services administrative unit to described message distributing system after described terminal is connected to message distributing system, asking described message distribution services administrative unit according to the load of each message distribution services unit, be described terminal select the to give information message distribution services unit of distribution services; And, message distribution services unit according to described message distribution services administrative unit selection, send second to corresponding message distribution services unit and connect the request of foundation, set up the first message channel and the second message channel with described corresponding message distribution services unit, and the process of disconnection second message channel of initiating according to described corresponding message distribution services unit, disconnect the second message channel; Wherein, the process of described disconnection the second message channel is that initiate after deferred information is sent completely described corresponding message distribution services unit;
The message sink unit is used for receiving online message by the first message channel, receives deferred information by the second message channel.
The message distributing method based on above-mentioned message distributing system realization that the embodiment of the invention provides comprises the steps:
After the message distribution services administrative unit receives terminal and is connected to the first connection request of sending behind the described message distributing system, be described terminal select the to give information message distribution services unit of distribution services according to the loading condition of each message distribution services unit, indicate described terminal to initiate the second connection request to the message distribution services unit of selecting;
The first message channel and the second message channel are set up with described terminal after receiving the second connection request that described terminal sends in the message distribution services unit; Send online message by the first message channel to described terminal, send deferred information by the second message channel to described terminal, and after deferred information is sent completely, disconnect the second message channel.
The message distributing method based on above-mentioned terminal realization that the embodiment of the invention provides comprises the steps:
The message channel processing unit is after described terminal is connected to message distributing system, message distribution services administrative unit to described message distributing system sends the first connection request, asking described message distribution services administrative unit according to the load of each message distribution services unit, be described terminal select the to give information message distribution services unit of distribution services;
Described message channel processing unit is after receiving the response corresponding with the first connection request that described message distributing system returns, according to indicated message distribution services unit in this response, send second to corresponding message distribution services unit and connect the request of foundation, and set up process according to the connection that initiate described corresponding message distribution services unit, set up the first message channel and the second message channel with described corresponding message distribution services unit;
The message sink unit receives online message by the first message channel, receives deferred information by the second message channel;
When the process of described message channel processing unit according to disconnection second message channel of described corresponding message distribution services unit initiation, disconnect the second message channel; Wherein, the process of described disconnection the second message channel is that initiate after deferred information is sent completely described corresponding message distribution services unit.
Beneficial effect of the present invention is as follows:
In the above embodiment of the present invention, after the message distribution services administrative unit receives terminal and is connected to the first connection request of sending behind the message distributing system, be chosen as terminal select the to give information message distribution services unit of distribution services according to the loading condition of each message distribution services unit, indicating terminal is initiated the second connection request to the message distribution services unit of selecting; The message distribution services unit is set up the first message channel and the second message channel with terminal, thereby is made the distribution of online message and the distribution executed in parallel of deferred information after receiving the second connection request that terminal sends; Send online message by the first message channel to described terminal, send deferred information by the second message channel to described terminal, and after being sent completely, deferred information disconnects the second message channel, make discrete message not hinder the distribution of online message, thereby ensure the real-time distribution of online message, improved the ageing of message distribution.
Description of drawings
The structural representation of the message distributing system that Fig. 1 provides for the embodiment of the invention;
The handling process schematic diagram of the message distributing system that Fig. 2 provides for the embodiment of the invention;
The structural representation of the terminal that Fig. 3 provides for the embodiment of the invention;
The handling process schematic diagram of the terminal that Fig. 4 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of message distribution Apparatus and method for, can ensure the real-time distribution of online message, improves the ageing of message distribution.
In the embodiment of the invention, after message distributing system receives terminal and is connected to the connection of sending behind this message distributing system and sets up request, set up two message channels with this terminal, send online message by a piece of news passage wherein to this terminal, send deferred information by another message channel to this terminal, and after deferred information is sent completely, disconnect the message channel that is used for transmitting offline message.By the embodiment of the invention, can disconnect messenger service to terminal after, guarantee that undealt message data do not lose, and the form with deferred information accurately is not sent to terminal with distributing successful message last time when terminal is reached the standard grade the connection message dissemination system next time.
Wherein, described terminal can be any terminal of the message that can the receipt message dissemination system sends.Following examples of the present invention are described as an example of intelligent terminal example.
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described.
The structural representation of the message distributing system that provides in the embodiment of the invention is provided Fig. 1, as shown in the figure, message distributing system comprises message distribution services administrative unit 101, message distribution services unit 102, further also can comprise message setting unit 103, message management unit 104.Message distribution services unit 102 can have a plurality of, thereby consists of cluster, to realize load balancing.The above-mentioned functions unit can be SFU software functional unit, also can be hardware device.This message distributing system can be distributed system or integrated system, if distributed system, then the above-mentioned functions unit can be realized by hardware device respectively, passes through network interaction between each hardware device; If integrated system, then above-mentioned each functional unit can be realized by software, is integrated in the hardware device.
Further, also can comprise interface unit in the message distributing system, service interface is provided, obtain target message distribution services unit for intelligent terminal.In the situation that this interface unit is realized by hardware device, this interface unit can be Portal server (being portal server), and the request of the acquisition request message distribution services unit 102 that intelligent terminal can be sent is redirected to message distribution services administrative unit 101 to be processed.
The major function of above each functional unit is as described below:
Message distribution services administrative unit 101, after being used for receiving intelligent terminal and being connected to the first connection request of sending behind the message distributing system, be described intelligent terminal select the to give information message distribution services unit 102 of distribution services according to the loading condition of each message distribution services unit 102, indicate described intelligent terminal to initiate the second connection request to the message distribution services unit 102 of selecting;
Message distribution services unit 102, be used for receiving the second connection request that described intelligent terminal sends after, set up the first message channel and the second message channel with described intelligent terminal; Send online message by the first message channel to described intelligent terminal, send deferred information by the second message channel to described intelligent terminal, and after deferred information is sent completely, disconnect the second message channel;
Message setting unit 103, for the Intelligent target terminal that online message and online message are set, and the online message after will arranging is sent in the message distribution formation;
Message management unit 104 is used for obtaining online message to be distributed from described message distribution formation, obtains a online message to be distributed for each target terminal copies according to described online message to be distributed and Intelligent target terminal thereof; For copying every portion online message to be distributed and the Intelligent target terminal thereof that obtains, online message to be distributed sent to be the give information message distribution services unit 102 of distribution services of Intelligent target terminal.
Further, after the online message to be distributed that message distribution services unit 102 receipt message administrative units 104 are sent, if the first interface channel between the Intelligent target terminal of the online message to be distributed that detects and receive is effective, then send the described online message to be distributed that receives by the first interface channel; If the first interface channel between the Intelligent target terminal of the online message to be distributed that detects and receive lost efficacy, then the online message persistent storage corresponding with the described online message to be distributed that receives that will store of Indication message administrative unit 104 is the deferred information of the target terminal of the described online message to be distributed that receives.
For the convenience of describing, the each several part of the above message distributing system is divided into various modules with function or the unit is described respectively.Certainly, when enforcement is of the present invention, can in same or a plurality of softwares or hardware, realize the function of each module or unit.
Based on above framework, Fig. 2 shows the message distribution schematic flow sheet.When intelligent terminal start and access message distributing system, when perhaps becoming presence from off-line state, the capital sends to connect to message distributing system sets up request message, connect with request and message distributing system, and the online message that the connection receipt message dissemination system that passes through to set up sends is or/and deferred information.As shown in Figure 2, this flow process can comprise the steps:
Step 1, message distribution services administrative unit 101 receive intelligent terminal be connected to send behind the message distributing system be used for the connection request of request message distribution services unit 102 after, for this intelligent terminal select to give information message distribution services unit 102 of distribution services, indicate this intelligent terminal to initiate to be used for setting up the connection request of message channel to the message distribution services unit 102 of selecting according to the loading condition of each message distribution services unit 102.
In the implementation, message distribution services administrative unit 101 is that this intelligent terminal selects the lightest message distribution services unit 102 of load, and carries with response message by the sign of the message distribution services unit 102 that will select and to return to this intelligent terminal.After intelligent terminal received this response, according to the sign of the message distribution services unit 102 that wherein carries, 102 sent connection foundation request to corresponding message distribution services unit, set up message channel with request.
Step 2: the message distribution services unit 102 that distributes for this intelligent terminal receives request that this intelligent terminal sends set up the connection request of message channel after, the legitimacy of this intelligent terminal is verified.
Step 3: if the verification passes, then change step 4 over to, otherwise process ends.
Step 4, the message distribution services unit 102 that distributes for this intelligent terminal receive request that this intelligent terminal sends set up the connection request of message channel after, set up two message channels with this intelligent terminal, article one, be used for transmission online message (embodiment of the invention is called long the connection), another is used for transmitting offline message (embodiment of the invention is called short connection).
In the implementation, message distribution services unit 102 can be set up 2 HTTP and connect, and wherein one is long connection, is used for the transmission online message, and another is short connection, is used for transmitting offline message.So-called long connection namely needs the connection of remaining valid property, keeps this HTTP to connect between message distribution services unit 102 and the intelligent terminal, except unintelligent terminal rolls off the production line or network failure, thereby guarantees the real-time that online message is distributed; So-called short connection namely need not for a long time connection of remaining valid property, and in the embodiment of the invention, after being sent completely deferred information by short connection, getting final product should short Connection Release.
Further, message distribution services unit 102 and intelligent terminal are set up and longly are connected and are connected after the connection, and Indication message distribution services administrative unit 101 records sign and the current corresponding relation that the message distribution services unit 102 of service is provided for this intelligent terminal of intelligent terminals.
Step 5: the message distribution services unit 102 that distributes for this intelligent terminal is connected to this intelligent terminal transmission online message by the length with this intelligent terminal foundation, sends deferred information by the short connection of setting up to this intelligent terminal.
In the implementation, intelligent terminal can be with online message current on this terminal or/and the highest version information (such as version sequence number) of deferred information sends to the message distribution services unit 102 into its distribution.Accordingly, the online message version information that message distribution services unit 102 can report according to intelligent terminal, the online message (such as the version sequence number online message larger than the online message version sequence number of terminal to report) of this intelligent terminal will not yet be sent to, by long the connection sending to this intelligent terminal.The deferred information version information that message distribution services unit 102 also can report according to intelligent terminal, with not yet sending to the deferred information (such as the version sequence number deferred information larger than the online message version sequence number of terminal to report) of this intelligent terminal, send to this intelligent terminal by short connection.
Step 6: the message distribution services unit 102 that distributes for this intelligent terminal after the deferred information of this intelligent terminal is sent completely, disconnect with this intelligent terminal between short the connection.
Need to prove, the step of in the above-mentioned flow process intelligent terminal being carried out legitimate verification is optional step.
In the present embodiment, message distribution services unit 102 need to keep with intelligent terminal between the long validity that is connected, in order in time online message is distributed to intelligent terminal.
Preferably, message distribution services unit 102 can be according to setting cycle, and whether effective the long mode that sends heartbeat data packets to the intelligent terminal of correspondence that connects by this unit foundation detects long connection, carries out respective handling according to detection case.Wherein, if message distribution services unit 102 receives the response that corresponding intelligent terminal returns from this length in setting is long-time after sending heartbeat packet by long connection, confirm that then this length connects effective; Otherwise think this long Joint failure.Further, if detect long Joint failure, then can be to the testing result of the long Joint failure of message distribution services administrative unit report, and the long of release and corresponding intelligent terminal be connected shared resource, and the online message persistent storage that further needs is sent to corresponding intelligent terminal is the deferred information of this intelligent terminal.
The message that message distribution services unit 102 is distributed is message setting unit 103 setting, and sends to message distribution services unit 102 by message management unit 104.The message setting up procedure is described below, and the process that is distributed to message distribution services unit 102 by message management unit 104.
Message setting unit 103 arranges the Intelligent target terminal of online message and online message, and the online message after will arranging is sent in the message distribution formation.Concrete, message setting unit 103 arranges the information such as Intelligent target terminal of online message header, content, the term of validity and online message, and the online message after then will arranging sends in the message distribution formation.Described message distribution formation can be adopted the queue mechanism of first in first out.
After message management unit 104 obtains online message to be distributed from the message distribution formation, persistent storage (as is stored in the permanent file media such as database or disk, the assurance data are not lost) this online message to be distributed, according to this online message to be distributed and Intelligent target terminal thereof, for copying, each target terminal obtains a online message to be distributed, for copying every portion online message to be distributed and the Intelligent target terminal thereof that obtains, by the intelligent terminal that records of inquiry and the corresponding relation of message distribution services unit 102, determine the message distribution services unit 102 that service is provided for the target terminal of online message to be distributed, online message to be distributed is sent to be the give information message distribution services unit 102 of distribution services of Intelligent target terminal.Such as, if message management unit 104 takes out an online message from message queue, the Intelligent target terminal of finding this online message has N, then copy and obtain N part online message, inquire about respectively this N the message distribution services unit 102 that the Intelligent target terminal is corresponding, then this N part message is sent to respectively the message distribution services unit 102 that inquires.
Obtain a online message to be distributed by copying for each target terminal, on the one hand, can make things convenient for message management unit 104 distribution full message (metadata and the target terminal sign that comprise this message) to message distribution services unit 102, message distribution services unit 102 directly extracts target terminal the message after copying and identifies and carry out message distribution (message distribution services unit is to be the distribution that gives information of a plurality of terminals); On the other hand, because the situation of each terminal receipt message is not quite similar, so message distributing system need to record the message sink situation of each target terminal, and can correctly distribute the message that this terminal does not also receive.Because terminal message is processed the existence of differentiation, has determined message meta-data to be copied as the concrete message for each target terminal.
Further, after the online message to be distributed that message distribution services unit 102 receipt message administrative units 104 are sent, if detect long the connection effectively between the Intelligent target terminal with the online message to be distributed that receives, then by this length connection this online message is sent to the Intelligent target terminal of correspondence; If the long Joint failure between the Intelligent target terminal of the online message to be distributed that detects and receive, then this online message is stored as the deferred information of this target terminal, such as the mode bit that can revise the message that copies rear generation, show that this message is deferred information, then be stored in the permanent file media such as database or disk, the assurance data are not lost.
The structural representation of the intelligent terminal that provides in the embodiment of the invention is provided Fig. 3, and other has the terminal of the message that can the receipt message dissemination system sends with the message distributing system interactive function, and its result similarly.As shown in the figure, this intelligent terminal can comprise:
Message channel processing unit 201, send the first connection request for the message distribution services administrative unit to described message distributing system after described intelligent terminal is connected to message distributing system, asking described message distribution services administrative unit according to the load of each message distribution services unit, be described intelligent terminal select the to give information message distribution services unit of distribution services; And, message distribution services unit according to described message distribution services administrative unit selection, send second to corresponding message distribution services unit and connect the request of foundation, set up the first message channel and the second message channel with described corresponding message distribution services unit, and the process of disconnection second message channel of initiating according to described corresponding message distribution services unit, disconnect the second message channel; Wherein, the process of described disconnection the second message channel is that initiate after deferred information is sent completely described corresponding message distribution services unit;
Message sink unit 202 is used for receiving online message by the first message channel, receives deferred information by the second message channel.
For the convenience of describing, the each several part of above intelligent terminal is divided into various modules with function or the unit is described respectively.Certainly, when enforcement is of the present invention, can in same or a plurality of softwares or hardware, realize the function of each module or unit.
Based on the framework of above-mentioned intelligent terminal, its message distribution flow process can as shown in Figure 4, comprise the steps:
Step 1, message channel processing unit 201 are after intelligent terminal is connected to message distributing system, message distribution services administrative unit 101 to message distributing system sends the connection request that is used for obtaining the message distribution services unit 102 that connects, with 101 loads according to each message distribution services unit of request message distribution services administrative unit, be this intelligent terminal select to give information message distribution services unit 102 of distribution services.
Step 2: the response that message channel processing unit 201 receipt message distribution services administrative units 101 are returned, therefrom parse the sign of the message distribution services unit 102 that distributes into this intelligent terminal, 102 send the connection foundation request that connects for request to corresponding message distribution services unit.
Step 3: process is set up in the connection that message channel processing unit 201 is initiated according to message distribution services unit 102, sets up with this message distribution services unit longly to be connected and to be connected connection.Preferably, to connect and be connected connection can be the HTTP connection for this length.
Further, message channel processing unit 201 can report to message distribution services unit 102 online message of the current storage of intelligent terminal or/and the highest version information (such as maximum version sequence number) of deferred information, preferably, version information can be carried with connection request and send to message distribution services unit 102.
Step 4: message sink unit 202 is by the long online message that connects the transmission of receipt message dissemination system, by the deferred information of short connection receipt message dissemination system transmission.
Further, after message sink unit 202 receives online message by long connection, the online message that receives is stored, resolved, online message after resolving is showed at the display of intelligent terminal, and upgrade the version information of local online message of preserving according to the version information of the online message that receives.
Further, after message sink unit 202 receives online message by short connection, the deferred information that receives is stored, resolved, deferred information after resolving is showed at the display of intelligent terminal, and upgraded the version information of the local deferred information of preserving according to the version information of the deferred information that receives.
Step 5: the process that the release end that message channel processing unit 201 is initiated according to message distributing system connects discharges the short connection that is used for transmitting offline message.
Can find out by above description, the embodiment of the invention is set up respectively HTTP and is connected by be connected transmission with deferred information for the transmission of online message, and after deferred information is transmitted, discharging the HTTP that is used for transmitting offline message connects, thereby make the processing of deferred information distribution and the processing of online message distribution support concurrent execution, the two does not have dependence, thereby can not block the distribution of online message, has guaranteed the ageing of Message Processing.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (14)

1. a message distributing system is characterized in that, comprises the message distribution services administrative unit, at least 2 message distribution services unit, wherein:
The message distribution services administrative unit, after being used for receiving terminal and being connected to the first connection request of sending behind the described message distributing system, be described terminal select the to give information message distribution services unit of distribution services according to the loading condition of each message distribution services unit, indicate described terminal to initiate the second connection request to the message distribution services unit of selecting;
The message distribution services unit, be used for receiving the second connection request that described terminal sends after, set up the first message channel and the second message channel with described terminal; Send online message by the first message channel to described terminal, send deferred information by the second message channel to described terminal, and after deferred information is sent completely, disconnect the second message channel.
2. message distributing system as claimed in claim 1 is characterized in that, described message distribution services unit also is used for, and after receiving terminal and being connected to the second connection request of sending behind the described message distributing system, the legitimacy of described terminal is verified;
Described message distribution services unit specifically is used for, and after the legitimate verification to described terminal passes through, sets up the first message channel and the second message channel with described terminal.
3. message distributing system as claimed in claim 1, it is characterized in that, described message distribution services unit specifically is used for, according to the online message version information that this terminal of described terminal to report is preserved, the online message that will not yet send to described terminal by the first message channel sends to described terminal; According to the deferred information version information that this terminal of described terminal to report is preserved, the deferred information that will not yet send to described terminal by the second message channel sends to described terminal.
4. message distributing system as claimed in claim 1 is characterized in that, also comprises:
The message setting unit, for the target terminal that online message and online message are set, and the online message after will arranging is sent in the message distribution formation;
The message management unit is used for obtaining online message to be distributed from described message distribution formation, obtains a online message to be distributed for each target terminal copies according to described online message to be distributed and target terminal thereof; For copying every portion online message to be distributed and the target terminal thereof that obtains, online message to be distributed sent to be the give information message distribution services unit of distribution services of target terminal;
Described message distribution services unit also is used for, receive the online message to be distributed that described message management unit sends, if the first interface channel between the target terminal of the online message to be distributed that detects and receive is effective, then send the described online message to be distributed that receives by the first interface channel; If the first interface channel between the target terminal of the online message to be distributed that detects and receive lost efficacy, and was the deferred information of the target terminal of the described online message to be distributed that receives with the online message persistent storage corresponding with the described online message to be distributed that receives then.
5. such as the described message distributing system of claim 1-4 any one, it is characterized in that, described message distribution services unit specifically is used for, with first message channel and second message channel of described terminal foundation based on HTML (Hypertext Markup Language) HTTP.
6. a terminal is characterized in that, comprising:
The message channel processing unit, send the first connection request for the message distribution services administrative unit to described message distributing system after described terminal is connected to message distributing system, asking described message distribution services administrative unit according to the load of each message distribution services unit, be described terminal select the to give information message distribution services unit of distribution services; And, message distribution services unit according to described message distribution services administrative unit selection, send second to corresponding message distribution services unit and connect the request of foundation, set up the first message channel and the second message channel with described corresponding message distribution services unit, and the process of disconnection second message channel of initiating according to described corresponding message distribution services unit, disconnect the second message channel; Wherein, the process of described disconnection the second message channel is that initiate after deferred information is sent completely described corresponding message distribution services unit;
The message sink unit is used for receiving online message by the first message channel, receives deferred information by the second message channel.
7. terminal as claimed in claim 6, it is characterized in that, described message channel processing unit specifically is used for, report the online message version information of preservation to described message distributing system, be used for making the message distribution services unit of message distributing system to send to described terminal according to the online message version information that reports by the online message that the first message channel will not yet send to described terminal; Report the deferred information version information of preservation to described message distributing system, be used for making the message distribution services unit of message distributing system send to described terminal by the deferred information that the second message channel will not yet send to described terminal.
8. such as claim 6 or 7 described terminals, it is characterized in that, described message channel processing unit specifically is used for, with first message channel and second message channel of described message distribution services unit foundation based on HTML (Hypertext Markup Language) HTTP.
9. one kind based on the message distributing method of realizing such as the described message distributing system of claim 1-4 any one, it is characterized in that, comprises the steps:
After the message distribution services administrative unit receives terminal and is connected to the first connection request of sending behind the described message distributing system, be described terminal select the to give information message distribution services unit of distribution services according to the loading condition of each message distribution services unit, indicate described terminal to initiate the second connection request to the message distribution services unit of selecting;
The first message channel and the second message channel are set up with described terminal after receiving the second connection request that described terminal sends in the message distribution services unit; Send online message by the first message channel to described terminal, send deferred information by the second message channel to described terminal, and after deferred information is sent completely, disconnect the second message channel.
10. method as claimed in claim 9 is characterized in that, also comprises:
After described message distribution services unit receives terminal and is connected to the second connection request of sending behind the described message distributing system, the legitimacy of described terminal is verified;
Described the first message channel and the second message channel be described message distribution services unit to the legitimate verification of described terminal by rear foundation.
11. method as claimed in claim 9 is characterized in that, described first message channel that passes through sends online message to described terminal, sends deferred information by the second message channel to described terminal, specifically comprises:
The online message version information that described message distribution services unit is preserved according to this terminal of described terminal to report, the online message that will not yet send to described terminal by the first message channel sends to described terminal; According to the deferred information version information that this terminal of described terminal to report is preserved, the deferred information that will not yet send to described terminal by the second message channel sends to described terminal.
12. method as claimed in claim 9 is characterized in that, also comprises:
The message setting unit arranges the target terminal of online message and online message, and the online message after will arranging is sent in the message distribution formation;
The message management unit obtains online message to be distributed from described message distribution formation, obtains a online message to be distributed for each target terminal copies according to described online message to be distributed and target terminal thereof; For copying every portion online message to be distributed and the target terminal thereof that obtains, online message to be distributed sent to be the give information message distribution services unit of distribution services of target terminal;
Described first message channel that passes through sends online message to described terminal, specifically comprises:
Described message distribution services unit receives the online message to be distributed that described message management unit sends, if the first interface channel between the target terminal of the online message to be distributed that detects and receive is effective, then send the described online message to be distributed that receives by the first interface channel; If the first interface channel between the target terminal of the online message to be distributed that detects and receive lost efficacy, and was the deferred information of the target terminal of the described online message to be distributed that receives with the online message persistent storage corresponding with the described online message to be distributed that receives then.
13. one kind based on the message distributing method of realizing such as the described terminal of claim 6-8 any one, it is characterized in that, comprises the steps:
The message channel processing unit is after described terminal is connected to message distributing system, message distribution services administrative unit to described message distributing system sends the first connection request, asking described message distribution services administrative unit according to the load of each message distribution services unit, be described terminal select the to give information message distribution services unit of distribution services;
Described message channel processing unit is after receiving the response corresponding with the first connection request that described message distributing system returns, according to indicated message distribution services unit in this response, send second to corresponding message distribution services unit and connect the request of foundation, and set up process according to the connection that initiate described corresponding message distribution services unit, set up the first message channel and the second message channel with described corresponding message distribution services unit;
The message sink unit receives online message by the first message channel, receives deferred information by the second message channel;
When the process of described message channel processing unit according to disconnection second message channel of described corresponding message distribution services unit initiation, disconnect the second message channel; Wherein, the process of described disconnection the second message channel is that initiate after deferred information is sent completely described corresponding message distribution services unit.
14. method as claimed in claim 13 is characterized in that, also comprises:
Described message channel processing unit reports the online message version information of preservation to described message distributing system, be used for making the message distribution services unit of message distributing system to send to described terminal according to the online message version information that reports by the online message that the first message channel will not yet send to described terminal; Report the deferred information version information of preservation to described message distributing system, be used for making the message distribution services unit of message distributing system send to described terminal by the deferred information that the second message channel will not yet send to described terminal.
CN201310224152.5A 2013-06-06 2013-06-06 A kind of message distributing system and method Active CN103312593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310224152.5A CN103312593B (en) 2013-06-06 2013-06-06 A kind of message distributing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310224152.5A CN103312593B (en) 2013-06-06 2013-06-06 A kind of message distributing system and method

Publications (2)

Publication Number Publication Date
CN103312593A true CN103312593A (en) 2013-09-18
CN103312593B CN103312593B (en) 2016-04-27

Family

ID=49137392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310224152.5A Active CN103312593B (en) 2013-06-06 2013-06-06 A kind of message distributing system and method

Country Status (1)

Country Link
CN (1) CN103312593B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015058646A1 (en) * 2013-10-23 2015-04-30 华为终端有限公司 Method for processing queue messages, and method and device for controlling messages to enter queue
CN106357819A (en) * 2016-11-09 2017-01-25 努比亚技术有限公司 Message processing device, message processing method and message forwarding system
CN106385466A (en) * 2016-11-09 2017-02-08 努比亚技术有限公司 Information processing device, information processing method and information pushing system
CN108076098A (en) * 2016-11-16 2018-05-25 北京京东尚科信息技术有限公司 A kind of method for processing business and system
CN109168079A (en) * 2018-08-01 2019-01-08 武汉斗鱼网络科技有限公司 Barrage message distributing method, device, equipment and storage medium
CN111064799A (en) * 2019-12-25 2020-04-24 北京首信科技股份有限公司 Data pushing method, device, equipment and storage medium applied to Internet of things
CN112637314A (en) * 2020-12-17 2021-04-09 深圳市和讯华谷信息技术有限公司 Message synchronization method, system, first terminal equipment, server and medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780461A (en) * 2004-11-28 2006-05-31 中兴通讯股份有限公司 Method for realizing positioning service interface in wireless telecommunication network system
CN1878072A (en) * 2005-06-09 2006-12-13 腾讯科技(深圳)有限公司 Communication method and system based on group
US20070288632A1 (en) * 2006-06-08 2007-12-13 Samsung Electronics Co., Ltd. Method and system for remotely accessing devices in a network
CN101808048A (en) * 2010-03-10 2010-08-18 杭州乐港科技有限公司 Web instant messaging method
CN102035880A (en) * 2010-11-02 2011-04-27 中兴通讯股份有限公司 Method and device for maintaining connection
US20110264733A1 (en) * 2005-10-21 2011-10-27 Research In Motion Limited Instant Messaging Device/Server Protocol
CN102685138A (en) * 2012-05-21 2012-09-19 华为技术有限公司 Offline message pushing method and device
CN102801726A (en) * 2012-08-06 2012-11-28 上海西本网络科技有限公司 Communication system and communication method between client and server side
CN102938782A (en) * 2012-10-30 2013-02-20 中兴通讯股份有限公司 Message processing method, device and system
CN103051715A (en) * 2012-12-24 2013-04-17 东软熙康健康科技有限公司 Method for releasing notice to terminal, relevant device and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780461A (en) * 2004-11-28 2006-05-31 中兴通讯股份有限公司 Method for realizing positioning service interface in wireless telecommunication network system
CN1878072A (en) * 2005-06-09 2006-12-13 腾讯科技(深圳)有限公司 Communication method and system based on group
US20110264733A1 (en) * 2005-10-21 2011-10-27 Research In Motion Limited Instant Messaging Device/Server Protocol
US20070288632A1 (en) * 2006-06-08 2007-12-13 Samsung Electronics Co., Ltd. Method and system for remotely accessing devices in a network
CN101808048A (en) * 2010-03-10 2010-08-18 杭州乐港科技有限公司 Web instant messaging method
CN102035880A (en) * 2010-11-02 2011-04-27 中兴通讯股份有限公司 Method and device for maintaining connection
CN102685138A (en) * 2012-05-21 2012-09-19 华为技术有限公司 Offline message pushing method and device
CN102801726A (en) * 2012-08-06 2012-11-28 上海西本网络科技有限公司 Communication system and communication method between client and server side
CN102938782A (en) * 2012-10-30 2013-02-20 中兴通讯股份有限公司 Message processing method, device and system
CN103051715A (en) * 2012-12-24 2013-04-17 东软熙康健康科技有限公司 Method for releasing notice to terminal, relevant device and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015058646A1 (en) * 2013-10-23 2015-04-30 华为终端有限公司 Method for processing queue messages, and method and device for controlling messages to enter queue
CN106357819A (en) * 2016-11-09 2017-01-25 努比亚技术有限公司 Message processing device, message processing method and message forwarding system
CN106385466A (en) * 2016-11-09 2017-02-08 努比亚技术有限公司 Information processing device, information processing method and information pushing system
CN108076098A (en) * 2016-11-16 2018-05-25 北京京东尚科信息技术有限公司 A kind of method for processing business and system
CN109168079A (en) * 2018-08-01 2019-01-08 武汉斗鱼网络科技有限公司 Barrage message distributing method, device, equipment and storage medium
CN109168079B (en) * 2018-08-01 2021-04-09 武汉斗鱼网络科技有限公司 Bullet screen message distribution method, device, equipment and storage medium
CN111064799A (en) * 2019-12-25 2020-04-24 北京首信科技股份有限公司 Data pushing method, device, equipment and storage medium applied to Internet of things
CN112637314A (en) * 2020-12-17 2021-04-09 深圳市和讯华谷信息技术有限公司 Message synchronization method, system, first terminal equipment, server and medium

Also Published As

Publication number Publication date
CN103312593B (en) 2016-04-27

Similar Documents

Publication Publication Date Title
CN103312593B (en) A kind of message distributing system and method
CN101459836B (en) Service processing method and system for content distributing network of interactive network television
CN101635728A (en) Method and system for data synchronization in content distribution network
US20140310372A1 (en) Method, terminal, cache server and system for updating webpage data
WO2016173280A1 (en) Monitoring management method and apparatus
CN104301140A (en) Service request responding method, device and system
CN101702666A (en) Method and system for realizing load balance of media transcoding network and media transcoding units
WO2021068839A1 (en) Object monitoring method, apparatus, electronic device, and computer-readable storage medium
US20190349436A1 (en) Methods, apparatus and systems for resuming transmission link
CN104580013A (en) Network communication method and system capable of realizing fast access point selection
US20180027390A1 (en) Communication Method for Requesting Relay Service, Device, and System
CN103546528A (en) Distributed message pushing method and system
CN108551571B (en) Monitoring video distribution method, device and system and distribution server
CN106250078A (en) A kind of display terminal control method and equipment
CN101938383B (en) On-line monitoring method and system of user account with multiple services as well as monitoring service system
CN112260946B (en) Link failure processing method and device, terminal equipment and storage medium
CN102098554A (en) Cloud computing-based television application service method and system
CN114143569B (en) Webpage recording and live broadcasting method and system
CN104581796B (en) A kind of sending method, CSE and the system of M2M application request
CN103036955A (en) Monitoring system and monitoring method of multimedia player terminal
CN106533760B (en) Method and device for constructing CDN system in CM network
CN111935316B (en) Method and device for acquiring front-end equipment catalog
CN100508523C (en) Value-added business synchronizing method, system and device
WO2017215482A1 (en) Iptv multi-screen interaction implementation method and management interaction system
CN102438170B (en) Audio and video service on demand method applied to broadcast television network, system thereof and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20170124

Address after: 266100 Shandong Province, Qingdao city Laoshan District Songling Road No. 399

Patentee after: Poly Polytron Technologies Inc

Address before: 266071 Laoshan, Qingdao province Hongkong District No. East Road, room 248, room 131

Patentee before: Qingdao Hisense Media Networks Co., Ltd.