CN102790776A - Heartbeat connection normalizing processing method, terminal, server and communication system - Google Patents

Heartbeat connection normalizing processing method, terminal, server and communication system Download PDF

Info

Publication number
CN102790776A
CN102790776A CN201210275569XA CN201210275569A CN102790776A CN 102790776 A CN102790776 A CN 102790776A CN 201210275569X A CN201210275569X A CN 201210275569XA CN 201210275569 A CN201210275569 A CN 201210275569A CN 102790776 A CN102790776 A CN 102790776A
Authority
CN
China
Prior art keywords
heartbeat
heartbeat message
identification information
sent
server
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
CN201210275569XA
Other languages
Chinese (zh)
Other versions
CN102790776B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201210275569.XA priority Critical patent/CN102790776B/en
Publication of CN102790776A publication Critical patent/CN102790776A/en
Application granted granted Critical
Publication of CN102790776B publication Critical patent/CN102790776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a heartbeat connection normalizing processing method, a terminal, a server and a communication system. The heartbeat connection normalizing processing method comprises that heartbeat information carrying with application identifying information sent by at least one application client end is intercepted in a preset time quantum; the intercepted heartbeat information is packed to form a first data packet; and the first data packet is sent to a heartbeat connection normalizing server, and according to the application identifying information, the first data packet is depacketized by the heartbeat connection normalizing server to obtain heartbeat information carrying with same application identifying information and is sent to a corresponding application server by the heartbeat connection normalizing server. With the adoption of the technical scheme provided by the embodiment, occupied network resources during a transmission of heartbeat information can be effectively reduced, use ratio of network resources is further increased, and power consumption is further lowered through the terminal at the same time.

Description

Heartbeat connects normalizing processing method, terminal, server and communication system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of heartbeat and connect normalizing processing method, terminal, server and communication system.
Background technology
Social network services (Social Networking Services; Abbreviation SNS), instant messaging (Instant Messenger; Be called for short IM), applications such as microblogging be the typical application of present mobile Internet, the characteristics of these application are that the requirement application remains on line states for a long time.But the environment of wireless network is very complicated, and multiple factor all can cause network to interrupt, and this just requires portable terminal to need the continuous network that detects to connect situation, sends heartbeat message.Even under the network normal condition, these application also can be at set intervals, for example 3 ~ 5 minutes, sends a heartbeat message and keep the long-time presence in terminal.
As shown in Figure 1, the applications client A on the X of terminal sends a heartbeat message a for keeping the online communication port of need resuming at set intervals to application server A; Applications client B sends a heartbeat message b for keeping online another communication port of also need resuming at set intervals to application server B simultaneously.In like manner, applications client A on the Y of terminal and applications client B also need at set intervals respectively to application server A and heartbeat message a ' of application server B transmission and b '.The heartbeat message of the transmission that each applications client on this each user terminal is frequent, a large amount of Internet resources that taken have had a strong impact on the use of Internet resources, and it is poor to cause isdn user to insert to experience, and also makes the electric energy loss at terminal aggravate simultaneously.
Summary of the invention
The present invention provides a kind of heartbeat to connect normalizing processing method, terminal, server and communication system, to reduce the shared Internet resources of heartbeat message, improves utilization rate of network resource.
First aspect of the present invention provides a kind of heartbeat and connects the normalizing processing method, comprising:
The heartbeat message that carries application identification information that at least one applications client of interception is sent in the Preset Time section;
The said heartbeat message of intercepting is packaged into first packet;
Said first packet is sent to heartbeat connects the normalizing server; So that said heartbeat connects the normalizing server according to said application identification information, will be sent to corresponding application server to said first packet heartbeat message that carries the same application identification information that obtains after handling of unpacking.
Second aspect of the present invention provides a kind of heartbeat and connects the normalizing processing method, comprising:
First packet that receiving terminal sends, the heartbeat message that carries application identification information that said first packet is sent by at least one applications client that said terminal is intercepted in the Preset Time section is packaged into;
To the processing of unpacking of said first packet;
Said application identification information according to each heartbeat message that obtains after the processing of unpacking carries is sent to corresponding application server with the heartbeat message that carries the same application identification information.
The 3rd aspect of the present invention provides a kind of terminal, comprising:
Blocking module is used for the heartbeat message that carries application identification information that at least one applications client of interception is sent in the Preset Time section;
Package module is used for the said heartbeat message of intercepting is packaged into first packet;
Sending module; Be used for that said first packet is sent to heartbeat and connect the normalizing server; So that said heartbeat connects the normalizing server according to said application identification information, will be sent to corresponding application server to said first packet heartbeat message that carries the same application identification information that obtains after handling of unpacking.
The 4th aspect of the present invention provides a kind of heartbeat and connects the normalizing server, comprising:
Receiver module is used for first packet that receiving terminal sends, and the heartbeat message that carries application identification information that said first packet is sent by at least one applications client that said terminal is intercepted in the Preset Time section is packaged into;
Processing module is used for the processing of unpacking of said first packet;
Sending module, the said application identification information that each heartbeat message that obtains after being used for handling according to unpacking carries is sent to corresponding application server with the heartbeat message that carries the same application identification information.
The 5th aspect of the present invention provides a kind of communication system, comprises above-mentioned terminal, and above-mentioned heartbeat connects normalizing server and application server.
Can know by technique scheme; The heartbeat that is sent to that the heartbeat message that the embodiment of the invention is sent through at least one applications client that the terminal is intercepted in the Preset Time section is unified connects the normalizing server; And connect the normalizing server through said heartbeat and will be received from the heartbeat message unification that carries the same application identification information in all heartbeat messages that send at a plurality of terminals and be sent to corresponding application server, effectively reduced the Internet resources that heartbeat message takies, further improved utilization rate of network resource; For the terminal; Than prior art, the number of times that heartbeat message sends has been reduced at the terminal, and then has lowered power consumption.
Description of drawings
Fig. 1 is the schematic flow sheet of the applications client on each terminal and each application server processes heartbeat message in the communication system in the prior art;
Fig. 2 is the schematic flow sheet that heartbeat provided by the invention connects normalizing processing method embodiment one;
Fig. 3 is the time shaft sketch map that applications client A and applications client B send first instantiation of heartbeat message;
Fig. 4 is the time shaft sketch map that applications client A and applications client B send second instantiation of heartbeat message;
Fig. 5 is the time shaft sketch map that applications client A and applications client B send the 3rd instantiation of heartbeat message;
Fig. 6 is the time shaft sketch map that applications client A and applications client B send the 4th instantiation of heartbeat message;
Fig. 7 is the schematic flow sheet that heartbeat provided by the invention connects normalizing processing method embodiment two;
Fig. 8 is the schematic flow sheet that heartbeat provided by the invention connects normalizing processing method embodiment three;
Fig. 9 is that heartbeat provided by the invention connects the schematic flow sheet that concrete steps realize among the normalizing processing method embodiment three;
Figure 10 connects the schematic flow sheet of the communication system instance of normalizing processing method for adopting heartbeat provided by the invention;
Figure 11 is the structural representation of terminal embodiment one provided by the invention;
Figure 12 is the structural representation of terminal embodiment two provided by the invention;
Figure 13 is the structural representation that heartbeat provided by the invention connects normalizing server implementation example;
Figure 14 is the structural representation that heartbeat provided by the invention connects a concrete module in the normalizing server implementation example;
Figure 15 is the structural representation of communication system embodiment provided by the invention.
Embodiment
As shown in Figure 2, heartbeat provided by the invention connects the schematic flow sheet of normalizing processing method embodiment one.As shown in the figure, the said heartbeat of present embodiment connects the normalizing processing method and comprises:
Step 101, the heartbeat message that carries application identification information that at least one applications client of interception is sent in the Preset Time section.
Particularly, the heartbeat message that each applications client is sent on the terminal is tackled at the terminal in each Preset Time section cycle.Generally; The moment of each applications client transmission heartbeat message is all inequality with at interval on the terminal; Said Preset Time section can artificially be set according to the cycle and the heartbeat message delivery time of the actual transmission heartbeat message of each client; Or through the corresponding calculated program is installed on said terminal, time cycle and delivery time that this calculation procedure sends heartbeat message according to each applications client calculate said time period information automatically.For example, as shown in Figure 3, the heartbeat message of applications client A sent cycle T a=2 minute, and the heartbeat of applications client B was sent cycle T b=5 minute.This moment, said Preset Time section was chosen as 1 minute, i.e. the heartbeat message that each applications client is sent on terminal interception in the per 1 minute terminal.Shown in figure, in the time of 1 minute, the heartbeat message Mb that applications client B sends is only intercepted at the terminal; In the time of 2 minutes, the heartbeat message Ma that applications client A sends is only intercepted at the terminal; In the time of 3 minutes, heartbeat message Ma and the Mb that applications client A and applications client B send all do not intercepted at the terminal; 4 minutes, the heartbeat message Ma that applications client A sends was intercepted at the terminal; 5 minutes, heartbeat message Ma and the Mb that applications client A and applications client B send equally all do not intercepted at the terminal; In the time of 6 minutes, heartbeat message Ma and the Mb that applications client A and applications client B send intercepted at the terminal simultaneously; And the like, shown in figure, at 6 minutes, 16 minutes, 26 minutes ... Or the like every interval 10 minutes, the terminal can be intercepted heartbeat message Ma and the Mb that applications client A and applications client B send simultaneously.And for example shown in Fig. 4, the heartbeat message of applications client A sent cycle T a=3 minute, and the heartbeat of applications client B was sent cycle T b=4 minute, and then this moment, said Preset Time section must be elected 1 minute as.As shown in Figure 4, at 12 minutes, 24 minutes, 36 minutes ... Or the like every at a distance from 12 minutes, the terminal can be intercepted heartbeat message Ma and the Mb that applications client A and applications client B send simultaneously.Again as shown in Figure 5; If the heartbeat message of applications client A sent cycle T a=2 minute; The heartbeat of applications client B was sent cycle T b=4 minute; And the heartbeat message delivery time of applications client A and the heartbeat delivery time of applications client B differ 2 multiple, and then this moment, said Preset Time section was chosen as 2 minutes.But if as shown in Figure 6, the heartbeat message delivery time of applications client A and the heartbeat delivery time of applications client B differ odd, and then said Preset Time Duan Keying elects 1 minute as.In the instance shown in Figure 5, heartbeat message Ma and the Mb that applications client A and applications client B send whenever just can be intercepted at a distance from 4 minutes simultaneously in the terminal, promptly at 4 minutes, 8 minutes, 12 minutes, 16 minutes ... Or the like.
Step 102, the said heartbeat message that will intercept are packaged into first packet.
Particularly, all heartbeat messages that the terminal will be tackled in the Preset Time section are encapsulated as one first packet, send so that the terminal takies the heartbeat message unification that at least one applications client that communication port just will intercept sends.To instance shown in Figure 6, the heartbeat message that possibly have only an applications client to send of encapsulation also has the heartbeat message that two or more applications client are sent in said first packet by above-mentioned Fig. 3.
Step 103, said first packet is sent to heartbeat connects the normalizing server; So that said heartbeat connects the normalizing server according to said application identification information, will be sent to corresponding application server to said first packet heartbeat message that carries the same application identification information that obtains after handling of unpacking.
Particularly, terminal first packet that will include the heartbeat message that at least one applications client sends is sent to heartbeat and connects the normalizing server.Said heartbeat connects the normalizing server after receiving said first packet that sends at each terminal, can draw each heartbeat message to the processing of unpacking of said first packet.Then; Said heartbeat connects the application identification information that the normalizing server carries according to each heartbeat message; The heartbeat message that carries the same application identification information is sent to corresponding application server, so that said application server generates interdependent response message according to said heartbeat message.Here need to prove: like above-mentioned Fig. 3 to instance shown in Figure 6, at some terminal heartbeat message that to be interception send less than any one applications client constantly.Therefore at these constantly, the terminal is to encapsulate said first packet, therefore also can not connect the normalizing server to said heartbeat and send any data message.
In the present embodiment, though the terminal is only tackled the heartbeat message that 1 applications client is sent constantly at some, from continuous; For a long time; The terminal is every at a distance from n minute, and instance n=10 for example shown in Figure 3 minute, instance n=12 as shown in Figure 4 minute; Instance n=4 for example shown in Figure 5 minute, just can tackle two or two heartbeat messages that applications client is sent simultaneously.At these constantly; The terminal just can the unified heartbeat that is sent to connect the normalizing server with the heartbeat message that at least one applications client of intercepting is simultaneously sent, and is sent to corresponding application server so that said heartbeat connection normalizing server will carry the heartbeat message unification of same application identification information.The technical scheme that present embodiment provides; The heartbeat message unification of intercepting that can send is simultaneously taken a communication port to be transmitted; Avoided each heartbeat message transmission in the prior art all need take the problem of Internet resources respectively; Effectively reduce the required Internet resources that take of heartbeat message transmission, further improved utilization rate of network resource.For the terminal, can the heartbeat message that two or more applications client are sent be sent simultaneously, send respectively than prior art, can effectively reduce the power consumption at terminal.
Here need to prove: the initial moment that each applications client of loading on the terminal is sent heartbeat message is indefinite, and this depends primarily on the time that the user moves this applications client.The applications client of moving on each moment terminal may change; The applications client that has on promptly might the terminal is out of service; The applications client that has brings into operation and according to own heartbeat transmission cycle transmission heartbeat message, is restarted operation or the like again after the applications client that perhaps has is out of service.Such as, originally above-mentioned Fig. 5 and instance shown in Figure 6, applications client B are to send heartbeat message according to the time shown in Figure 5.When applications client B moves once more; Variation has taken place running time because start in applications client B; Change has taken place with the moment that applications client A sends heartbeat message in the moment of applications client B transmission heartbeat message; Became 1 minute in two minutes by original interval, the time as shown in Figure 6 is particularly sent heartbeat message.After applications client B sent heartbeat message with the time shown in Figure 6, the terminal all can not be intercepted the heartbeat message that applications client A and applications client B send at any time simultaneously.To a terminal, this moment, the foregoing description provided by the invention maybe be identical with prior art.But the embodiment of the invention is adapted in the whole communication system; Each terminal all adopts the described heartbeat of present embodiment to connect the normalizing processing method; Always there is at least one terminal at a time can tackle the heartbeat message that two or more applications client are sent simultaneously; Compare than prior art, also can be reduced to the shared Internet resources of transmission heartbeat message.In addition; The application identification information that the heartbeat message that embodiment provided by the invention also receives synchronization through said heartbeat connection normalizing server carries according to heartbeat message; The heartbeat message that carries the same application identification information is sent to corresponding application server; For each heartbeat message Internet resources are provided than prior art, can effectively reduce the taking of transmission channel resource of transmission heartbeat message, utilization rate of network resource is provided further.
Further, as shown in Figure 7, heartbeat provided by the invention connects the schematic flow sheet of normalizing processing method embodiment two.Present embodiment two comprises the step 101 described in the foregoing description one, 102 and 103, and before step 101, has increased following steps:
The register requirement that step 104, the said applications client of reception are sent.
Particularly, the terminal receives the register requirement that the applications client on the said terminal is sent.Applications client was sent register requirement from the trend terminal when this register requirement can be installed said applications client at the terminal; Also can trigger through the register interface that the terminal provides, send log-on message to the terminal after applications client on the said terminal receives the triggering signal that the user sends through register interface so that be installed in by the user.
Step 105, according to said register requirement, be said applications client configuration registry identification information.
Particularly, the terminal is according to being received from the register requirement that applications client is sent, for applications client disposes corresponding sign-on ID information, so that the heartbeat message of the applications client transmission of disposing said sign-on ID information is only tackled at the terminal.Be the heartbeat message that carries application identification information that at least one applications client of interception is sent in the Preset Time section in the step 101 in the foregoing description, be specially: in the Preset Time section, tackle the heartbeat message that carries application identification information that at least one applications client that disposes said sign-on ID information is sent.
Through present embodiment, the heartbeat that the terminal optionally only adopts present embodiment to provide to the applications client that disposes sign-on ID information on the terminal connects the normalizing processing method, has improved the use flexibility that heartbeat provided by the invention connects the normalizing processing method.
As shown in Figure 8, heartbeat provided by the invention connects the schematic flow sheet of normalizing processing method embodiment three.Shown in figure, the said heartbeat of present embodiment connects the normalizing processing method and comprises:
First packet that step 201, receiving terminal send, the heartbeat message that carries application identification information that said first packet is sent by at least one applications client that said terminal will be intercepted in the Preset Time section is packaged into.
Specifically he, in communication system, heartbeat message normalizing server synchronization can receive first packet that send at least one terminal.Wherein, first packet includes the heartbeat message of at least one applications client transmission that is installed on the said terminal.
Step 202, to the processing of unpacking of said first packet.
Particularly, heartbeat message normalizing server can be to the processing of unpacking of said first packet, to obtain each heartbeat message of said first packet encapsulation, to accomplish subsequent step after receiving said first packet.
The said application identification information that each heartbeat message that step 203, basis obtain after unpacking and handling carries is sent to corresponding application server with the heartbeat message that carries the same application identification information.
Particularly, the said application identification information that each heartbeat message that heartbeat message normalizing server obtains after handling according to unpacking carries is sent to corresponding application server with the heartbeat message that carries the same application identification information.In fact, heartbeat message normalizing server can receive first packet that send at a plurality of terminals simultaneously.All be packaged with the heartbeat message that at least one applications client on the terminal of sending this first packet is sent in each first packet.The applications client of the transmission heartbeat message on each terminal maybe be different, and possible part is identical, also maybe be all identical.For example, first terminal, first packet encapsulation of sending the heartbeat message that sends of first applications client and second applications client on first terminal.First packet encapsulation that send at second terminal heartbeat message that sends of second applications client and the 3rd applications client on second terminal.At first; After heartbeat message normalizing server receives first packet that first packet that sends at first terminal and second terminal sends; Can be to first packet that send at these two terminals processing of unpacking; The heartbeat message that sends with first applications client and second applications client that obtain on first terminal, and the heartbeat message that sends of second applications client on second terminal and the 3rd applications client.Then, the said application identification information that heartbeat message normalizing server carries according to each heartbeat message, the heartbeat message that first applications client on first terminal is sent is sent to the application server that is used to handle first applications client; The heartbeat message that the heartbeat message and second applications client on second terminal of the transmission of second applications client on first terminal are sent is sent to the application server that is used to handle second applications client; The heartbeat message that the 3rd applications client on second terminal is sent is sent to the application server that is used to handle the 3rd applications client.
Heartbeat connects the application identification information of normalizing server through carrying according to each heartbeat message that encapsulates in said first packet that receives in the present embodiment; The heartbeat message unification that carries the same application identification information is sent to corresponding application server; Provide transmission required Internet resources than prior art for each heartbeat message; Present embodiment can effectively reduce the required Internet resources that take of transmission heartbeat message, has further improved utilization rate of network resource.
Further; The said application identification information that each heartbeat message that step 203, basis obtain after unpacking and handling in the foregoing description three carries; The heartbeat message that carries the same application identification information is sent to corresponding application server, as shown in Figure 9, specifically can realize by following steps:
The said application identification information that each heartbeat message that step 2031, basis obtain after unpacking and handling carries is encapsulated as second packet with the heartbeat message that carries the same application identification information.
Particularly, the said application identification information that each heartbeat message that obtains after heartbeat connection normalizing server is handled according to unpacking carries is encapsulated as second packet with the heartbeat message that carries the same application identification information.Wherein, Heartbeat connect purpose that heartbeat message that the normalizing server will carry the same application identification information is encapsulated as second packet be for the heartbeat message that will carry the same application identification information unified be sent to corresponding application server; Send the shared Internet resources of heartbeat message to reduce, further improve utilization rate of network resource.
Step 2032, with said second packet be sent to said second packet in each heartbeat message application identification information corresponding application server of carrying.
Particularly, heartbeat connect the normalizing server with said second packet be sent to said second packet in each heartbeat message application identification information corresponding application server of carrying.Wherein, said second packet encapsulation has heartbeat message, and said heartbeat message carries application identification information.In order the second packaged packet to be sent to the application corresponding server, said heartbeat connects the normalizing server can carry destination application server in this packet when said second packet of encapsulation address information.
Below in conjunction with application example as shown in the figure, heartbeat provided by the invention is connected the normalizing processing method further describe.Particularly, application example shown in figure 10 comprises first terminal and second terminal, wherein, first applications client and second applications client is installed on said first terminal.First applications client and second applications client also are installed on said second terminal.First applications client on said first terminal has identical application identification information with first applications client on second terminal; Likewise, second applications client on said first terminal has identical application identification information with second applications client on second terminal.
Step 301, first terminal are installed in the heartbeat message that first applications client and second applications client on said first terminal are sent in the Preset Time interception.Likewise, second terminal is installed in the heartbeat message that first applications client and second applications client on said second terminal are sent in Preset Time interception.Carry application identification information in the said heartbeat message.
The heartbeat message that step 302, said first terminal are sent first applications client and second applications client is encapsulated as and is sent to heartbeat behind first packet and is connected normalizing server 3022; Likewise, said second terminal heartbeat message that first applications client and second applications client are sent is encapsulated as and also is sent to heartbeat behind first packet and is connected normalizing server 3022.
Step 303, heartbeat connect normalizing server 3022 will be received from first packet that first terminal and second terminal sends processings of unpacking, and draw first applications client of sending at each terminal and the heartbeat message of second applications client transmission.Then, heartbeat connects the heartbeat message that first applications client at first applications client and second terminal that application identification information that normalizing server 3022 carries according to said heartbeat message will carry first terminal of same application identification information sends and is sent to first application server 3031; The heartbeat message that second applications client at second applications client at first terminal that carries the same application identification information and second terminal is sent is sent to second application server 3032.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each method embodiment can be accomplished through the relevant hardware of program command.Aforesaid program can be stored in the computer read/write memory medium.This program the step that comprises above-mentioned each method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Shown in figure 11, the structural representation of terminal embodiment provided by the invention.Shown in figure, said terminal comprises: blocking module 1, package module 2 and sending module 3.Wherein, said blocking module 1 is used for the heartbeat message that carries application identification information that at least one applications client of interception is sent in the Preset Time section.Package module 2 is used for the said heartbeat message of intercepting is packaged into first packet.Sending module 3 is used for that said first packet is sent to heartbeat and connects the normalizing server; So that said heartbeat connects the normalizing server according to said application identification information, will be sent to corresponding application server to said first packet heartbeat message that carries the same application identification information that obtains after handling of unpacking.The described terminal of present embodiment can realize that above-mentioned heartbeat connects the step described in the normalizing processing method embodiment one, realizes that particularly principle connects the content described in the normalizing processing method embodiment one with above-mentioned heartbeat, repeats no more here.
The heartbeat that is sent to that the heartbeat message that present embodiment sends through at least one applications client that the terminal is intercepted in the Preset Time section is unified connects the normalizing server; And connect the normalizing server through said heartbeat and will be received from the heartbeat message unification that carries the same application identification information in all heartbeat messages that send at a plurality of terminals and be sent to corresponding application server; Effectively reduce the Internet resources that heartbeat message takies, further improved utilization rate of network resource.In addition,, can the heartbeat message that two or more applications client are sent be sent simultaneously, send respectively, can effectively reduce the power consumption at terminal than prior art for the terminal.
Further, shown in figure 12, the described terminal of the foregoing description can also comprise: receiver module 41 and Registering modules 42.Wherein, said receiver module 41 is used to receive the register requirement that said applications client is sent.Said Registering modules 42 is used for according to said register requirement, is said applications client configuration registry identification information.Correspondingly, the blocking module described in the foregoing description one 1 also is used in the Preset Time section, tackling the heartbeat message that carries application identification information that at least one applications client that disposes said sign-on ID information is sent.Send register requirement from the trend terminal when register requirement that applications client described in the present embodiment is sent can be installed said applications client at the terminal, also can after the triggering signal that the register interface that receives the user and provide through the terminal is sent, send.Through above-mentioned two modules are set, the terminal is optionally only adopted heartbeat to connect normalizing to the applications client that disposes sign-on ID information and is handled, improved the use flexibility at terminal.The operation principle of receiver module described in this enforcement and said Registering modules is connected the content described in the normalizing processing method embodiment two with above-mentioned heartbeat, repeats no more here.
Shown in figure 13, heartbeat provided by the invention connects the structural representation of normalizing server implementation example.Shown in figure, said heartbeat connects the normalizing server and comprises: receiver module 5, processing module 6 and sending module 7.Wherein, said receiver module 5 is used for first packet that receiving terminal sends, and the heartbeat message that carries application identification information that said first packet is sent by at least one applications client that said terminal will be intercepted in the Preset Time section is packaged into.Said processing module 6 is used for the processing of unpacking of said first packet.The said application identification information that each heartbeat message that said sending module 7 obtains after being used for handling according to unpacking carries is sent to corresponding application server with the heartbeat message that carries the same application identification information.The described heartbeat of present embodiment connects the normalizing server can realize that above-mentioned heartbeat connects the step described in the normalizing processing method embodiment three, realizes that particularly principle connects the content described in the normalizing processing method embodiment three with above-mentioned heartbeat, repeats no more here.
Heartbeat connects the application identification information that the normalizing server carries through each heartbeat message that encapsulates in said first packet that sends according at least one terminal that receives in the present embodiment; The heartbeat message unification that carries the same application identification information is sent to corresponding application server; Effectively reduce the Internet resources that heartbeat message takies, further improved utilization rate of network resource.
Further, shown in figure 14, above-mentioned heartbeat connects the sending module 7 described in the normalizing server implementation example and comprises: encapsulation unit 701 and transmitting element 702.Wherein, the said application identification information that each heartbeat message that said encapsulation unit 701 obtains after being used for handling according to unpacking carries is encapsulated as second packet with the heartbeat message that carries the same application identification information.Said transmitting element 702 is used for said second packet is sent to the application identification information corresponding application server of carrying with said each heartbeat message of second packet.The operation principle of encapsulation unit described in this enforcement and said transmitting element is connected the corresponding contents described in the normalizing processing method embodiment three with above-mentioned heartbeat, repeats no more here.
As shown in Figure 15, the structural representation of communication system embodiment provided by the invention.Shown in figure, the said communication system of present embodiment comprises: terminal 8, heartbeat connect normalizing server 9 and application server 10.Wherein, Said terminal 8 is used for the heartbeat message that carries application identification information that at least one applications client of interception is sent in the Preset Time section; The said heartbeat message of intercepting is packaged into first packet, and said first packet is sent to heartbeat connection normalizing server.Said heartbeat connects normalizing server 9 and is used for first packet that receiving terminal sends; To the processing of unpacking of said first packet; Said application identification information according to each heartbeat message that obtains after the processing of unpacking carries is sent to corresponding application server with the heartbeat message that carries the same application identification information.Said application server 10 is used to receive heartbeat message, and exports corresponding response message according to heartbeat message.Particularly, the terminal described in the foregoing description can be adopted in the terminal described in the present embodiment, and said heartbeat connects the normalizing server and can adopt the heartbeat described in the foregoing description to connect the normalizing server.Communication system shown in Figure 10 is a concrete application example of the said communication system that present embodiment provides.
The heartbeat that is sent to that the heartbeat message that present embodiment sends through a plurality of applications client that the terminal is intercepted in the Preset Time section is unified connects the normalizing server; And connect the normalizing server through said heartbeat and will be received from the heartbeat message unification that carries the same application identification information in all heartbeat messages that send at a plurality of terminals and be sent to corresponding application server; Effectively reduce the Internet resources that heartbeat message takies, further improved utilization rate of network resource.For the terminal, present embodiment can also effectively reduce the power consumption at terminal.
Further, the terminal described in the foregoing description also is used to receive the register requirement that said applications client is sent, and is said applications client configuration registry identification information according to said register requirement; In the Preset Time section, tackle the heartbeat message that carries application identification information that at least one applications client that disposes said sign-on ID information is sent.Particularly, the terminal described in the foregoing description one can be adopted in said terminal, and detailed realization principle connects the content described in the normalizing processing method embodiment two with above-mentioned heartbeat, repeats no more here.
Again further; Heartbeat described in the above-mentioned enforcement connects the said application identification information that each heartbeat message of obtaining after the normalizing server also is used for handling according to unpacking carries; The heartbeat message that carries the same application identification information is encapsulated as second packet, with said second packet be sent to said second packet in each heartbeat message application identification information corresponding application server of carrying.Particularly, said heartbeat connects the normalizing server and can adopt the heartbeat described in the foregoing description to connect the normalizing server, and detailed realization principle connects the content described in the normalizing processing method embodiment three with above-mentioned heartbeat, repeats no more here.
What should explain at last is: above each embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although the present invention has been carried out detailed explanation with reference to aforementioned each embodiment; Those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, perhaps to wherein part or all technical characteristic are equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (9)

1. a heartbeat connects the normalizing processing method, it is characterized in that, comprising:
The heartbeat message that carries application identification information that at least one applications client of interception is sent in the Preset Time section;
The said heartbeat message of intercepting is packaged into first packet;
Said first packet is sent to heartbeat connects the normalizing server; So that said heartbeat connects the normalizing server according to said application identification information, will be sent to corresponding application server to said first packet heartbeat message that carries the same application identification information that obtains after handling of unpacking.
2. heartbeat according to claim 1 connects the normalizing processing method, it is characterized in that, before the said heartbeat message that carries application identification information that at least one applications client of interception is sent in the Preset Time section, also comprises:
Receive the register requirement that said applications client is sent;
According to said register requirement, be said applications client configuration registry identification information;
Correspondingly, the heartbeat message that carries application identification information that at least one applications client of interception is sent in the Preset Time section is specially:
In the Preset Time section, tackle the heartbeat message that carries application identification information that at least one applications client that disposes said sign-on ID information is sent.
3. a heartbeat connects the normalizing processing method, it is characterized in that, comprising:
First packet that receiving terminal sends, the heartbeat message that carries application identification information that said first packet is sent by at least one applications client that said terminal is intercepted in the Preset Time section is packaged into;
To the processing of unpacking of said first packet;
Said application identification information according to each heartbeat message that obtains after the processing of unpacking carries is sent to corresponding application server with the heartbeat message that carries the same application identification information.
4. heartbeat according to claim 3 connects the normalizing processing method; It is characterized in that; The said application identification information that each heartbeat message that said basis obtains after unpacking and handling carries is sent to corresponding application server with the heartbeat message that carries the same application identification information, comprising:
Said application identification information according to each heartbeat message that obtains after the processing of unpacking carries is encapsulated as second packet with the heartbeat message that carries the same application identification information;
With said second packet be sent to said second packet in each heartbeat message application identification information corresponding application server of carrying.
5. a terminal is characterized in that, comprising:
Blocking module is used for the heartbeat message that carries application identification information that at least one applications client of interception is sent in the Preset Time section;
Package module is used for the said heartbeat message of intercepting is packaged into first packet;
Sending module; Be used for that said first packet is sent to heartbeat and connect the normalizing server; So that said heartbeat connects the normalizing server according to said application identification information, will be sent to corresponding application server to said first packet heartbeat message that carries the same application identification information that obtains after handling of unpacking.
6. terminal according to claim 5 is characterized in that, also comprises:
Receiver module is used to receive the register requirement that said applications client is sent;
Registering modules is used for according to said register requirement, is said applications client configuration registry identification information;
Correspondingly, said blocking module also is used in the Preset Time section, tackling the heartbeat message that carries application identification information that at least one applications client that disposes said sign-on ID information is sent.
7. a heartbeat connects the normalizing server, it is characterized in that, comprising:
Receiver module is used for first packet that receiving terminal sends, and the heartbeat message that carries application identification information that said first packet is sent by at least one applications client that said terminal is intercepted in the Preset Time section is packaged into;
Processing module is used for the processing of unpacking of said first packet;
Sending module, the said application identification information that each heartbeat message that obtains after being used for handling according to unpacking carries is sent to corresponding application server with the heartbeat message that carries the same application identification information.
8. heartbeat according to claim 7 connects the normalizing server, it is characterized in that said sending module comprises:
Encapsulation unit, the said application identification information that each heartbeat message that obtains after being used for handling according to unpacking carries is encapsulated as second packet with the heartbeat message that carries the same application identification information;
Transmitting element is used for said second packet is sent to the application identification information corresponding application server of carrying with said each heartbeat message of second packet.
9. communication system; It is characterized in that, comprising: terminal, heartbeat connect normalizing server and application server, wherein; Said terminal is aforesaid right requirement 5 or 6 described terminals, and it is that aforesaid right requirement 7 or 8 described heartbeats connect the normalizing server that said heartbeat connects the normalizing server.
CN201210275569.XA 2012-08-03 2012-08-03 Heartbeat connection normalizing processing method, terminal, server and communication system Active CN102790776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210275569.XA CN102790776B (en) 2012-08-03 2012-08-03 Heartbeat connection normalizing processing method, terminal, server and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210275569.XA CN102790776B (en) 2012-08-03 2012-08-03 Heartbeat connection normalizing processing method, terminal, server and communication system

Publications (2)

Publication Number Publication Date
CN102790776A true CN102790776A (en) 2012-11-21
CN102790776B CN102790776B (en) 2015-02-04

Family

ID=47156076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210275569.XA Active CN102790776B (en) 2012-08-03 2012-08-03 Heartbeat connection normalizing processing method, terminal, server and communication system

Country Status (1)

Country Link
CN (1) CN102790776B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532784A (en) * 2013-10-17 2014-01-22 中国联合网络通信集团有限公司 Method and system for transmitting heartbeat messages, terminal and network equipment
CN103634409A (en) * 2013-12-12 2014-03-12 中国联合网络通信集团有限公司 Method and system for realizing always-online internet application
CN103731910A (en) * 2014-01-16 2014-04-16 中国联合网络通信集团有限公司 Timing reminding method, terminal and server
CN103916424A (en) * 2012-12-31 2014-07-09 ***通信集团广东有限公司 Application program heartbeat packet control method, communication terminal and communication network
CN103945455A (en) * 2014-04-25 2014-07-23 中国联合网络通信集团有限公司 Method and device for sending self-adaptive heartbeat data packets
CN104022922A (en) * 2014-06-27 2014-09-03 北京邮电大学 Mobile terminal, heartbeat forwarding server and heartbeat information transmitting method and system
CN104883279A (en) * 2015-04-13 2015-09-02 中国联合网络通信集团有限公司 Heartbeat message processing method, heartbeat message processing device and heartbeat message processing system
CN105101295A (en) * 2014-05-07 2015-11-25 ***通信集团公司 Heartbeat message transmitting method and device
CN105307139A (en) * 2014-07-31 2016-02-03 中国电信股份有限公司 Method, mobile terminal and system for transmitting application heartbeat signals
CN105933199A (en) * 2016-04-08 2016-09-07 武汉斗鱼网络科技有限公司 Method for maintaining heartbeat connection, gateway and chat server
CN107306282A (en) * 2016-04-20 2017-10-31 ***通信有限公司研究院 A kind of link keep-alive method and device
WO2017193795A1 (en) * 2016-05-10 2017-11-16 北京奇虎科技有限公司 Data transmission method and device for mobile terminal
CN109602413A (en) * 2018-12-06 2019-04-12 Oppo广东移动通信有限公司 Heartbeat detecting method, device, storage medium and server
WO2019100268A1 (en) * 2017-11-22 2019-05-31 深圳市沃特沃德股份有限公司 Method and apparatus for connecting engine
CN111371639A (en) * 2020-02-21 2020-07-03 腾讯科技(深圳)有限公司 Network delay analysis method and device, storage medium and computer equipment
CN115190334A (en) * 2022-06-01 2022-10-14 阿里巴巴(中国)有限公司 State communication method, device, control equipment and readable storage medium
CN115795387A (en) * 2022-10-27 2023-03-14 圣名科技(广州)有限责任公司 Sensor work abnormity monitoring method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002044892A2 (en) * 2000-11-28 2002-06-06 4Thpass Inc. Method and system for maintaining and distributing wireless applications
CN1825812A (en) * 2005-02-25 2006-08-30 华为技术有限公司 System and method for managing network web log information
DE102007060522A1 (en) * 2006-12-13 2008-06-19 Avaya Technology Llc Maintaining communication between network nodes experiencing a packet attack
CN101217512A (en) * 2008-01-11 2008-07-09 腾讯科技(深圳)有限公司 A client-end state maintenance method, system, client-end and application server
CN101753984A (en) * 2008-11-27 2010-06-23 北京中星微电子有限公司 Processing method of video monitoring system journals, system and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002044892A2 (en) * 2000-11-28 2002-06-06 4Thpass Inc. Method and system for maintaining and distributing wireless applications
CN1825812A (en) * 2005-02-25 2006-08-30 华为技术有限公司 System and method for managing network web log information
DE102007060522A1 (en) * 2006-12-13 2008-06-19 Avaya Technology Llc Maintaining communication between network nodes experiencing a packet attack
CN101217512A (en) * 2008-01-11 2008-07-09 腾讯科技(深圳)有限公司 A client-end state maintenance method, system, client-end and application server
CN101753984A (en) * 2008-11-27 2010-06-23 北京中星微电子有限公司 Processing method of video monitoring system journals, system and server

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916424A (en) * 2012-12-31 2014-07-09 ***通信集团广东有限公司 Application program heartbeat packet control method, communication terminal and communication network
CN103916424B (en) * 2012-12-31 2018-05-22 ***通信集团广东有限公司 A kind of method, communication terminal and the communication network of management and control application program heartbeat packet
CN103532784A (en) * 2013-10-17 2014-01-22 中国联合网络通信集团有限公司 Method and system for transmitting heartbeat messages, terminal and network equipment
CN103634409A (en) * 2013-12-12 2014-03-12 中国联合网络通信集团有限公司 Method and system for realizing always-online internet application
CN103731910B (en) * 2014-01-16 2017-04-26 中国联合网络通信集团有限公司 Timing reminding method, terminal and server
CN103731910A (en) * 2014-01-16 2014-04-16 中国联合网络通信集团有限公司 Timing reminding method, terminal and server
CN103945455A (en) * 2014-04-25 2014-07-23 中国联合网络通信集团有限公司 Method and device for sending self-adaptive heartbeat data packets
CN105101295A (en) * 2014-05-07 2015-11-25 ***通信集团公司 Heartbeat message transmitting method and device
CN105101295B (en) * 2014-05-07 2019-06-25 ***通信集团公司 A kind of heartbeat message sending method and device
CN104022922B (en) * 2014-06-27 2017-06-13 北京邮电大学 Mobile terminal, heartbeat forwarding server and heartbeat message sending method and system
CN104022922A (en) * 2014-06-27 2014-09-03 北京邮电大学 Mobile terminal, heartbeat forwarding server and heartbeat information transmitting method and system
CN105307139A (en) * 2014-07-31 2016-02-03 中国电信股份有限公司 Method, mobile terminal and system for transmitting application heartbeat signals
CN105307139B (en) * 2014-07-31 2019-02-26 中国电信股份有限公司 A kind of method, mobile terminal and the system of transmission application heartbeat signal
CN104883279A (en) * 2015-04-13 2015-09-02 中国联合网络通信集团有限公司 Heartbeat message processing method, heartbeat message processing device and heartbeat message processing system
CN104883279B (en) * 2015-04-13 2018-05-18 中国联合网络通信集团有限公司 Heartbeat message processing method, equipment and system
CN105933199A (en) * 2016-04-08 2016-09-07 武汉斗鱼网络科技有限公司 Method for maintaining heartbeat connection, gateway and chat server
CN105933199B (en) * 2016-04-08 2019-07-09 武汉斗鱼网络科技有限公司 A kind of method and gateway and chat server keeping heartbeat connection
CN107306282A (en) * 2016-04-20 2017-10-31 ***通信有限公司研究院 A kind of link keep-alive method and device
CN107306282B (en) * 2016-04-20 2019-08-30 ***通信有限公司研究院 A kind of link keep-alive method and device
WO2017193795A1 (en) * 2016-05-10 2017-11-16 北京奇虎科技有限公司 Data transmission method and device for mobile terminal
WO2019100268A1 (en) * 2017-11-22 2019-05-31 深圳市沃特沃德股份有限公司 Method and apparatus for connecting engine
CN109602413A (en) * 2018-12-06 2019-04-12 Oppo广东移动通信有限公司 Heartbeat detecting method, device, storage medium and server
CN109602413B (en) * 2018-12-06 2022-01-18 Oppo广东移动通信有限公司 Heartbeat detection method, heartbeat detection device, storage medium and server
CN111371639A (en) * 2020-02-21 2020-07-03 腾讯科技(深圳)有限公司 Network delay analysis method and device, storage medium and computer equipment
CN111371639B (en) * 2020-02-21 2021-12-14 腾讯科技(深圳)有限公司 Network delay analysis method and device, storage medium and computer equipment
CN115190334A (en) * 2022-06-01 2022-10-14 阿里巴巴(中国)有限公司 State communication method, device, control equipment and readable storage medium
CN115795387A (en) * 2022-10-27 2023-03-14 圣名科技(广州)有限责任公司 Sensor work abnormity monitoring method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN102790776B (en) 2015-02-04

Similar Documents

Publication Publication Date Title
CN102790776A (en) Heartbeat connection normalizing processing method, terminal, server and communication system
CN104216761B (en) It is a kind of that the method for sharing equipment is used in the device that can run two kinds of operating system
CN107395572B (en) Data processing method and Internet of things gateway
US10284319B2 (en) Method and apparatus for multiplexing machine type communication data of multiple MTC devices in a wireless network environment
CN103618667A (en) Information transfer method, access gateway and system
CN108377579B (en) Method, device, terminal and storage medium for controlling radio resource control connection
CN105450731A (en) Method and apparatus for realizing communication between web layer and native layer
CN105141603A (en) Communication data transmission method and system
CN107968848B (en) A kind of method, terminal device and storage medium obtaining IP address
CN110519388B (en) Processing method and device for block chain request, electronic equipment and readable storage medium
CN114125940A (en) Data message sending method, data message processing method, data message sending device, data message processing device, data message sending equipment and data message
CN108810936A (en) A kind of configuration method and device of LoRa terminals
CN106412296B (en) Terminal equipment control method and device
CN115988053A (en) Communication node, data transmission method and storage medium
CN108076535B (en) Method, device, terminal and storage medium for controlling radio resource control connection
US9485114B2 (en) MAC abstraction sub-layer and MAC table for a communication system and related communication device
CN111131439A (en) iSCSI-based message transmission method, device, equipment and storage medium
US20200322969A1 (en) Data sending method and apparatus, computer device and storage medium
CN106302432B (en) A kind of communication device and control method based on car networking
CN107666430B (en) E-mail sending method, device and terminal
KR101952793B1 (en) Improvements to Subscriber Identity Module (SIM) Access Profile (SAP)
CN105453659A (en) Data transceiving method, modem and terminal device
CN110865891B (en) Asynchronous message arrangement method and device
CN103631643A (en) Method and system for application program networking control
CN102802178B (en) Service application optimized treatment method, device, terminal 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