CN103312593B - A kind of message distributing system and method - Google Patents

A kind of message distributing system and method Download PDF

Info

Publication number
CN103312593B
CN103312593B CN201310224152.5A CN201310224152A CN103312593B CN 103312593 B CN103312593 B CN 103312593B CN 201310224152 A CN201310224152 A CN 201310224152A CN 103312593 B CN103312593 B CN 103312593B
Authority
CN
China
Prior art keywords
message
terminal
online
distribution services
channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310224152.5A
Other languages
Chinese (zh)
Other versions
CN103312593A (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.)
Poly Polytron Technologies Inc
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

Abstract

The invention discloses a kind of message distributing system and method.This message distributing system comprises: comprise message distribution services administrative unit, at least 2 message distribution services unit, wherein: after message distribution services administrative unit receives the first connection request sent after terminal is connected to message distributing system, loading condition according to each message distribution services unit is this terminal selection message distribution services unit, indicates this terminal to initiate the second connection request to the message distribution services unit selected; After message distribution services unit receives the second connection request that this terminal sends, the first message channel and the second message channel is set up with this terminal, online message is sent to terminal by the first message channel, send deferred information by the second message channel to terminal, and after deferred information is sent completely, disconnects the second message channel.The present invention can solve deferred information in message distribution process and block the problem of online message transmission, improves the ageing of message distribution.

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 penetrated into each corner of people's daily life, work, study, amusement.In the upsurge of the integration of three networks, various intelligent terminal emerges 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 user pursues.In the face of increasing customer group, how message to be distributed effectively to the focus having become manufacturer terminal, service operation team and service provider and paid close attention to by message server.
Primary flow message distribution mode based on intelligent terminal mainly comprises following two kinds:
Message distribution pattern one: terminal, to message server automatic regular polling, if there is message, pulls.The advantage of this pattern is that message server only need provide message distribution services and response terminal request without the need to the existence of perception terminal.
Message distribution pattern two: message server need safeguard the message channel with terminal room always, if there is online message, is initiatively sent to terminal by message channel.The advantage of this pattern is that terminal only needs to keep being connected with message server, the message distribution of the server that waits for the arrival of news, and can ensure the promptness of message like this and reduce the expense of terminal.
Inventor is realizing in process of the present invention, finds that existing message distribution technology at least exists following defect:
In message distribution pattern one, message distribution does not possess ageing, cannot ensure the timely distribution of online message, and the behavior of poll can expend network traffics and equipment electricity.Priority cannot be distinguished towards the message of same terminal in message distribution pattern two and can only carry out serial distribution according to the order entered in message queue, thus cause the deferred information stored to block online message, ageingly require that the delay of extremely strong control class message can produce serious consequence for restart after the mandatory upgrade of terminal complete machine, system update etc.
Summary of the invention
Embodiments providing a kind of message distributing system and method, blocking the problem of online message transmission for solving deferred information in message distribution process.
The message distributing system that the embodiment of the present invention provides, comprises message distribution services administrative unit, at least 2 message distribution services unit, wherein:
Message distribution services administrative unit, after receiving the first connection request of sending after terminal is connected to described message distributing system, according to the loading condition of each message distribution services unit for described terminal selects the message distribution services unit providing message distribution services, described terminal is indicated to initiate the second connection request to the message distribution services unit selected;
Message distribution services unit, after receiving the second connection request that described terminal sends, sets 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, disconnects the second message channel.
The terminal that the embodiment of the present invention provides, comprising:
Message channel processing unit, the first connection request is sent for the message distribution services administrative unit to described message distributing system after described terminal is connected to message distributing system, to ask described message distribution services administrative unit according to the load of each message distribution services unit, for described terminal selects the message distribution services unit providing message distribution services; And, according to the message distribution services unit that described message distribution services administrative unit is selected, the second connection establishment request is sent to corresponding message distribution services unit, the first message channel and the second message channel is set up 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 second message channel is that described corresponding message distribution services unit is initiated after deferred information is sent completely;
Message reception units, for receiving online message by the first message channel, receives deferred information by the second message channel.
The message distributing method realized based on above-mentioned message distributing system that the embodiment of the present invention provides, comprises the steps:
After message distribution services administrative unit receives the first connection request sent after terminal is connected to described message distributing system, according to the loading condition of each message distribution services unit for described terminal selects the message distribution services unit providing message distribution services, described terminal is indicated to initiate the second connection request to the message distribution services unit selected;
Message distribution services unit sets up the first message channel and the second message channel with described terminal after receiving the second connection request that described 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 deferred information is sent completely, disconnects the second message channel.
The message distributing method realized based on above-mentioned terminal that the embodiment of the present invention provides, comprises the steps:
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, to ask described message distribution services administrative unit according to the load of each message distribution services unit, for described terminal selects the message distribution services unit providing message 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 message distribution services unit indicated in this response, the second connection establishment request is sent to corresponding message distribution services unit, and according to the connection establishment process that described corresponding message distribution services unit is initiated, set up the first message channel and the second message channel with described corresponding message distribution services unit;
Message reception units receives online message by the first message channel, receives deferred information by the second message channel;
When the process of disconnection second message channel that described message channel processing unit is initiated according to described corresponding message distribution services unit, disconnect the second message channel; Wherein, the process of described disconnection second message channel is that described corresponding message distribution services unit is initiated after deferred information is sent completely.
Beneficial effect of the present invention is as follows:
In the above embodiment of the present invention, after message distribution services administrative unit receives the first connection request sent after terminal is connected to message distributing system, be chosen as according to the loading condition of each message distribution services unit the message distribution services unit that terminal selects to provide message distribution services, indicating terminal is initiated the second connection request to the message distribution services unit selected; Message distribution services unit is set up the first message channel and the second message channel with terminal, thus 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; Online message is sent to described terminal by the first message channel, deferred information is sent to described terminal by the second message channel, and after deferred information is sent completely, disconnect the second message channel, discrete message is made not hinder the distribution of online message, thus ensure the real-time distribution of online message, improve the ageing of message distribution.
Accompanying drawing explanation
The structural representation of the message distributing system that Fig. 1 provides for the embodiment of the present invention;
The handling process schematic diagram of the message distributing system that Fig. 2 provides for the embodiment of the present invention;
The structural representation of the terminal that Fig. 3 provides for the embodiment of the present invention;
The handling process schematic diagram of the terminal that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Embodiments provide a kind of message distribution Apparatus and method for, the real-time distribution of online message can be ensured, improve the ageing of message distribution.
In the embodiment of the present invention, after message distributing system receives the connection establishment request of sending after terminal is connected to this message distributing system, two message channels are set up with this terminal, online message is sent to this terminal by wherein a piece of news passage, send deferred information by another message channel to this terminal, and after deferred information is sent completely, disconnects the message channel for transmitting offline message.By the embodiment of the present invention, after messenger service can being disconnected to terminal, ensure that undealt message data is not lost, and with the form of deferred information, last time is not distributed successful message be accurately sent to terminal when terminal to reach the standard grade connection message dissemination system next time.
Wherein, described terminal can be can any terminal of message of sending of receipt message dissemination system.Following examples of the present invention are described for intelligent terminal.
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described.
The structural representation of message distributing system of Fig. 1 for providing in the embodiment of the present invention, 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 multiple, thus forms cluster, to realize load balancing.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 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 by software simulating, can be integrated in a hardware device.
Further, also can comprise interface unit in message distributing system, service interface is provided, obtain target message distribution services unit for intelligent terminal.When this interface unit is realized by hardware device, this interface unit can be Portal server (i.e. 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 and processes.
The major function of each functional unit is as described below above:
Message distribution services administrative unit 101, after receiving the first connection request of sending after intelligent terminal is connected to message distributing system, according to the loading condition of each message distribution services unit 102 for the message distribution services unit 102 providing message distribution services selected by described intelligent terminal, described intelligent terminal is indicated to initiate the second connection request to the message distribution services unit 102 selected;
Message distribution services unit 102, after receiving the second connection request that described intelligent terminal sends, sets 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, disconnects the second message channel;
Message setting unit 103, for arranging the Intelligent target terminal of online message and online message, and is sent in message distribution queue by the online message after arranging;
Message management unit 104, for obtaining online message to be distributed from described message distribution queue, is that each target terminal copies and obtains a online message to be distributed according to described online message to be distributed and Intelligent target terminal thereof; For copying the every portion online message to be distributed and Intelligent target terminal thereof that obtain, online message to be distributed is sent to for Intelligent target terminal provides the message distribution services unit 102 of message distribution services.
Further, after the online message to be distributed that message distribution services unit 102 receipt message administrative unit 104 is sent, if the first interface channel between the Intelligent target terminal of the online message to be distributed detecting and receive is effective, then the online message to be distributed received described in being sent by the first interface channel; If the first interface channel between the Intelligent target terminal of the online message to be distributed detecting and receive lost efficacy, then Indication message administrative unit 104 by the online message persistent storage corresponding with the described online message to be distributed received stored for described in the deferred information of the target terminal of online message to be distributed that receives.
For convenience of description, each several part of the above message distributing system is divided into various module or unit to describe respectively with function.Certainly, the function of each module or unit can be realized in same or multiple software or hardware when implementing of the present invention.
Based on above framework, Fig. 2 shows message distribution schematic flow sheet.When intelligent terminal is started shooting and is accessed message distributing system, or when becoming presence from off-line state, capital sends connection establishment request message to message distributing system, connect with request and message distributing system, and the online message that the connection receipt message dissemination system passing through to set up sends is or/and deferred information.As shown in Figure 2, this flow process can comprise the steps:
After step 1, message distribution services administrative unit 101 receive the connection request for request message distribution services unit 102 sent after intelligent terminal is connected to message distributing system, according to the loading condition of each message distribution services unit 102 for the message distribution services unit 102 providing message distribution services selected by this intelligent terminal, this intelligent terminal is indicated to initiate the connection request for setting up message channel to the message distribution services unit 102 selected.
In concrete enforcement, the message distribution services unit 102 that message distribution services administrative unit 101 selects load the lightest for this intelligent terminal, and return to this intelligent terminal by the mark of the message distribution services unit 102 selected being carried with response message.After intelligent terminal for reception to this response, according to the mark of the message distribution services unit 102 wherein carried, send connection establishment request to corresponding message distribution services unit 102, to ask to set up message channel.
Step 2: the message distribution services unit 102 distributed for this intelligent terminal receives after request that this intelligent terminal sends sets up the connection request of message channel, verifies the legitimacy of this intelligent terminal.
Step 3: if the verification passes, then proceed to step 4, otherwise process ends.
Step 4, the message distribution services unit 102 distributed for this intelligent terminal receive after request that this intelligent terminal sends sets up the connection request of message channel, two message channels are set up with this intelligent terminal, article one, for transmitting online message (being called long connection in the embodiment of the present invention), another is for transmitting offline message (being called short connection in the embodiment of the present invention).
In concrete enforcement, message distribution services unit 102 can be set up 2 HTTP and connect, and wherein one connects for long, and for transmitting online message, another is short connection, for transmitting offline message.So-called long connection, namely needs the connection maintaining validity, keeps this HTTP to connect between message distribution services unit 102 and intelligent terminal, except unintelligent terminal rolls off the production line or network failure, thus ensures the real-time of online message distribution; So-called short connection, namely without the need to maintaining the connection of validity for a long time, in the embodiment of the present invention, after being sent completely deferred information by short connection, can by this short Connection Release.
Further, message distribution services unit 102 and intelligent terminal set up long is connected with short connection after, Indication message distribution services administrative unit 101 records the mark of intelligent terminal and the current corresponding relation providing the message distribution services unit 102 of service for this intelligent terminal.
Step 5: the message distribution services unit 102 distributed for this intelligent terminal sends online message by being connected with the length that this intelligent terminal is set up to this intelligent terminal, sends deferred information by the short connection of setting up to this intelligent terminal.
In concrete enforcement, intelligent terminal can by online message current in this terminal or/and the most highest version information (as version sequence number) of deferred information sends to the message distribution services unit 102 into it distributes.Accordingly, the online message version information that message distribution services unit 102 can report according to intelligent terminal, by not yet sending to the online message of this intelligent terminal (online message that such as version sequence number is larger than the online message version sequence number of terminal to report), send to this intelligent terminal by long connection.The deferred information version information that message distribution services unit 102 also can report according to intelligent terminal, by not yet sending to the deferred information of this intelligent terminal (deferred information that such as version sequence number is larger than the online message version sequence number of terminal to report), send to this intelligent terminal by short connection.
Step 6: the message distribution services unit 102 distributed for this intelligent terminal, after the deferred information of this intelligent terminal is sent completely, disconnects and being connected with short between this intelligent terminal.
It should be noted that, the step of carrying out legitimate verification to intelligent terminal in above-mentioned flow process is optional step.
In the present embodiment, message distribution services unit 102 needs to keep and the long validity be connected between intelligent terminal, in time online message is distributed to intelligent terminal.
Preferably, message distribution services unit 102 can according to setting cycle, and whether effective the long connection of being set up by this unit, to the mode of the intelligent terminal transmission heartbeat data packets of correspondence, detected long connection, carry out respective handling according to detection case.Wherein, if message distribution services unit 102 by long connect send heartbeat packet after, in setting be long-time, receive from this length the response that corresponding intelligent terminal returns, then confirm that the connection of this length is effective; Otherwise think this long Joint failure.Further, if long Joint failure detected, the testing result of long Joint failure then can be reported to message distribution services administrative unit, and discharge the resource shared by being connected of growing with corresponding intelligent terminal, and will the online message persistent storage sending to corresponding intelligent terminal be needed to be the deferred information of this intelligent terminal further.
The message that message distribution services unit 102 is distributed, is that message setting unit 103 is arranged, and sends to message distribution services unit 102 by message management unit 104.Message setting up procedure is described below, and is distributed to the process of 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 arranging is sent in message distribution queue.Concrete, message setting unit 103 arranges the information such as the Intelligent target terminal of online message header, content, the term of validity and online message, then the online message after arranging is sent in message distribution queue.Described message distribution queue can adopt the queue mechanism of first in first out.
After message management unit 104 obtains online message to be distributed from message distribution queue, persistent storage (as be stored in the permanent file such as database or disk medium, ensure that data are not lost) this online message to be distributed, the online message to be distributed according to this and Intelligent target terminal thereof, a online message to be distributed is obtained for each target terminal copies, for copying the every portion online message to be distributed and Intelligent target terminal thereof that obtain, by inquiring about the corresponding relation of intelligent terminal and the message distribution services unit 102 recorded, the target terminal determining as online message to be distributed provides the message distribution services unit 102 of service, online message to be distributed is sent to for Intelligent target terminal provides the message distribution services unit 102 of message distribution services.Such as, if message management unit 104 takes out an online message from message queue, find that the Intelligent target terminal of this online message has N number of, then copy and obtain N part online message, inquire about the message distribution services unit 102 that this N number of Intelligent target terminal is corresponding respectively, then this N part message is sent to the message distribution services unit 102 inquired respectively.
A online message to be distributed is obtained by copying for each target terminal, on the one hand, message management unit 104 can be facilitated to distribute full message (comprising the metadata of this message and target terminal mark) to message distribution services unit 102, and message distribution services unit 102 directly can extract target terminal and identifies and carry out message distribution (a message distribution services unit is for multiple terminal provides message distribution) from the message after copying; On the other hand, because the situation of each terminal receives message is not quite similar, therefore message distributing system needs the message sink situation recording each target terminal, and correctly can distribute the message that this terminal also do not receive.Due to the existence of terminal message process differentiation, determine and need 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 unit 104 is sent, if detect, the length between the Intelligent target terminal of the online message to be distributed received is connected effectively, then connected by this length and this online message is sent to corresponding Intelligent target terminal; If the long Joint failure between the Intelligent target terminal of the online message to be distributed detecting and receive, then this online message is stored as the deferred information of this target terminal, such as can revise the mode bit of the message copying rear generation, show that this message is deferred information, then be stored in the permanent file such as database or disk medium, ensure that data are not lost.
The structural representation of intelligent terminal of Fig. 3 for providing in the embodiment of the present invention, other has can the terminal of message that sends of receipt message dissemination system with message distributing system interactive function, and its result is similar.As shown in the figure, this intelligent terminal can comprise:
Message channel processing unit 201, the first connection request is sent for the message distribution services administrative unit to described message distributing system after described intelligent terminal is connected to message distributing system, to ask described message distribution services administrative unit according to the load of each message distribution services unit, for the message distribution services unit providing message distribution services selected by described intelligent terminal; And, according to the message distribution services unit that described message distribution services administrative unit is selected, the second connection establishment request is sent to corresponding message distribution services unit, the first message channel and the second message channel is set up 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 second message channel is that described corresponding message distribution services unit is initiated after deferred information is sent completely;
Message reception units 202, for receiving online message by the first message channel, receives deferred information by the second message channel.
For convenience of description, each several part of above intelligent terminal is divided into various module or unit to describe respectively with function.Certainly, the function of each module or unit can be realized in same or multiple software or hardware when implementing of the present invention.
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 for obtaining connected message distribution services unit 102, with the load of request message distribution services administrative unit 101 according to each message distribution services unit, for the message distribution services unit 102 providing message distribution services selected by this intelligent terminal.
Step 2: the response that message channel processing unit 201 receipt message distribution services administrative unit 101 returns, therefrom parsing the mark of the message distribution services unit 102 distributed for this intelligent terminal, sending for asking the connection establishment request connected to corresponding message distribution services unit 102.
Step 3: the connection establishment process that message channel processing unit 201 is initiated according to message distribution services unit 102, sets up long connection and short connection with this message distribution services unit.Preferably, this length connects with short connection can be that HTTP is connected.
Further, message channel processing unit 201 can report the online message of the current storage of intelligent terminal to message distribution services unit 102 or/and the most highest version information (such as maximum version sequence number) of deferred information, preferably, version information can be carried and send to message distribution services unit 102 with connection request.
Step 4: the online message that message reception units 202 is sent by long connection receipt message dissemination system, the deferred information sent by short connection receipt message dissemination system.
Further, after message reception units 202 receives online message by long connection, the online message received is carried out store, resolve, online message after resolving is shown on the display of intelligent terminal, and upgrades the version information of local online message of preserving according to the version information of the online message received.
Further, after message reception units 202 receives online message by short connection, the deferred information received is carried out store, resolve, deferred information after resolving is shown on the display of intelligent terminal, and upgrades the version information of the local deferred information preserved according to the version information of the deferred information received.
Step 5: the process that the release end that message channel processing unit 201 is initiated according to message distributing system connects, release is used for the short connection of transmitting offline message.
By describing above and can finding out, the embodiment of the present invention is connected by setting up HTTP for the transmission of online message respectively with the transmission of deferred information, and after deferred information is transmitted, the HTTP discharged for transmitting offline message connects, thus concurrence performance is supported in the process that the process making deferred information distribute and online message are distributed, the two does not have dependence, thus can not block the distribution of online message, ensure that the ageing of Message Processing.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (9)

1. a message distributing system, is characterized in that, comprises message distribution services administrative unit, at least 2 message distribution services unit, wherein:
Message distribution services administrative unit, after receiving the first connection request of sending after terminal is connected to described message distributing system, according to the loading condition of each message distribution services unit for described terminal selects the message distribution services unit providing message distribution services, described terminal is indicated to initiate the second connection request to the message distribution services unit selected;
Message distribution services unit, after receiving the second connection request that described terminal sends, sets 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, disconnects the second message channel;
Message setting unit, for arranging the target terminal of online message and online message, and is sent in message distribution queue by the online message after arranging;
Message management unit, for obtaining online message to be distributed from described message distribution queue, is that each target terminal copies and obtains a online message to be distributed according to described online message to be distributed and target terminal thereof; For copying the every portion online message to be distributed and target terminal thereof that obtain, online message to be distributed is sent to for target terminal provides the message distribution services unit of message distribution services.
2. message distributing system as claimed in claim 1, is characterized in that, described message distribution services unit also for, after receiving the second connection request sent after terminal is connected to described message distributing system, the legitimacy of described terminal is verified;
Described message distribution services unit specifically for, after the legitimate verification of described terminal is passed through, set 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 for, according to the online message version information that this terminal of described terminal to report is preserved, be sent to described terminal by the first message channel by not yet sending to the online message of described terminal; According to the deferred information version information that this terminal of described terminal to report is preserved, be sent to described terminal by the second message channel by not yet sending to the deferred information of described terminal.
4. message distributing system as claimed in claim 1, it is characterized in that, described message distribution services unit also 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 detecting and receive is effective, then the online message to be distributed received described in being sent by the first interface channel; If the first interface channel between the target terminal of the online message to be distributed detecting and receive lost efficacy, then by the online message persistent storage corresponding with the described online message to be distributed received for described in the deferred information of the target terminal of online message to be distributed that receives.
5. the message distributing system as described in claim 1-4 any one, is characterized in that, described message distribution services unit specifically for, set up the first message channel based on HTML (Hypertext Markup Language) HTTP and the second message channel with described terminal.
6., based on the message distributing method that the message distributing system as described in claim 1-4 any one realizes, it is characterized in that, comprise the steps:
After message distribution services administrative unit receives the first connection request sent after terminal is connected to described message distributing system, according to the loading condition of each message distribution services unit for described terminal selects the message distribution services unit providing message distribution services, described terminal is indicated to initiate the second connection request to the message distribution services unit selected;
Message distribution services unit sets up the first message channel and the second message channel with described terminal after receiving the second connection request that described terminal sends;
Message setting unit arranges the target terminal of online message and online message, and is sent in message distribution queue by the online message after arranging;
Message management unit obtains online message to be distributed from described message distribution queue, is that each target terminal copies and obtains a online message to be distributed according to described online message to be distributed and target terminal thereof; For copying the every portion online message to be distributed and target terminal thereof that obtain, online message to be distributed is sent to for target terminal provides the message distribution services unit of message distribution services;
Message distribution services unit sends online message by the first message channel to described terminal, sends deferred information, and after deferred information is sent completely, disconnects the second message channel by the second message channel to described terminal.
7. method as claimed in claim 6, is characterized in that, also comprise:
Described message distribution services unit is verified the legitimacy of described terminal after receiving the second connection request sent after terminal is connected to described message distributing system;
Described first message channel and the second message channel are described message distribution services unit to the legitimate verification of described terminal by rear foundation.
8. method as claimed in claim 6, is characterized in that, described first message channel that passes through sends online message to described terminal, sends deferred information, specifically comprise by the second message channel to described terminal:
The online message version information that described message distribution services unit is preserved according to this terminal of described terminal to report, is sent to described terminal by the first message channel by not yet sending to the online message of described terminal; According to the deferred information version information that this terminal of described terminal to report is preserved, be sent to described terminal by the second message channel by not yet sending to the deferred information of described terminal.
9. method as claimed in claim 6, is characterized in that, 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 detecting and receive is effective, then the online message to be distributed received described in being sent by the first interface channel; If the first interface channel between the target terminal of the online message to be distributed detecting and receive lost efficacy, then by the online message persistent storage corresponding with the described online message to be distributed received for described in the deferred information of the target terminal of online message to be distributed that receives.
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 CN103312593A (en) 2013-09-18
CN103312593B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543988B (en) * 2013-10-23 2017-05-10 华为终端有限公司 Method for processing array information, method and device of controlling information to enter arrays
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
CN108076098B (en) * 2016-11-16 2021-01-26 北京京东尚科信息技术有限公司 Service processing method and system
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

Citations (8)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE515869T1 (en) * 2005-10-21 2011-07-15 Research In Motion Ltd IMMEDIATE NOTIFICATION DEVICE/SERVER PROTOCOL
US7827275B2 (en) * 2006-06-08 2010-11-02 Samsung Electronics Co., Ltd. Method and system for remotely accessing devices in a network

Patent Citations (8)

* 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
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

Also Published As

Publication number Publication date
CN103312593A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
CN103312593B (en) A kind of message distributing system and method
CN101635728B (en) Method and system for data synchronization in content distribution network
US10681127B2 (en) File upload method and system
CN101584190B (en) System and method for combining pull and push modes
WO2017096846A1 (en) Method, apparatus and system for obtaining live broadcast
CN102075338B (en) Distributed network-based live broadcasting method and device
CN101459836B (en) Service processing method and system for content distributing network of interactive network television
US9596313B2 (en) Method, terminal, cache server and system for updating webpage data
CN107645386B (en) Method and device for acquiring data resources
CN105991412A (en) Method and device for pushing message
CN108769805A (en) Data transmission method, device, computer equipment and storage medium
WO2021068839A1 (en) Object monitoring method, apparatus, electronic device, and computer-readable storage medium
US20120072604A1 (en) technique for delivering content to a user
CN104580013A (en) Network communication method and system capable of realizing fast access point selection
CN103716230A (en) Message sending method, device and server
CN106209952B (en) Service node distribution method and device, CDN management server 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
WO2014015525A1 (en) Method and device for querying for user online state
US10931529B2 (en) Terminal device management method, server, and terminal device for managing terminal devices in local area network
CN106533760B (en) Method and device for constructing CDN system in CM network
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
EP3435615B1 (en) Network service implementation method, service controller, and communication system

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.