CN104883279A - Heartbeat message processing method, heartbeat message processing device and heartbeat message processing system - Google Patents

Heartbeat message processing method, heartbeat message processing device and heartbeat message processing system Download PDF

Info

Publication number
CN104883279A
CN104883279A CN201510174050.6A CN201510174050A CN104883279A CN 104883279 A CN104883279 A CN 104883279A CN 201510174050 A CN201510174050 A CN 201510174050A CN 104883279 A CN104883279 A CN 104883279A
Authority
CN
China
Prior art keywords
equipment
heartbeat message
identification information
application
message
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
CN201510174050.6A
Other languages
Chinese (zh)
Other versions
CN104883279B (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 CN201510174050.6A priority Critical patent/CN104883279B/en
Publication of CN104883279A publication Critical patent/CN104883279A/en
Application granted granted Critical
Publication of CN104883279B publication Critical patent/CN104883279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session

Landscapes

  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment provides a heartbeat message processing method, a heartbeat message processing device and a heartbeat message processing system. If the on-line time of an application on a first device exceeds a preset threshold value, a false heartbeat message is sent to a server corresponding to the application according to a first heartbeat frequency by a second device, and a starting response message is returned to the first device, so that the first device stops sending a first heartbeat message corresponding to the first heartbeat frequency to the server according to the starting response message, and monitors the on-line condition of the application, and accordingly, the heartbeat messages of the long on-line applications of the first device are processed intensively by the second device, the signaling number for interacting the heartbeat message directly between the first device and the server is reduced, and the signaling storm possibility is reduced.

Description

Heartbeat message processing method, equipment and system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of heartbeat message processing method, equipment and system.
Background technology
User opens the application of a lot of social network services class or consulting class according to the needs of self on terminal side equipment, and terminal side equipment can comprise cell phone apparatus, IPAD equipment, computer equipment etc.Be applied as example be described to open micro-letter on mobile phone, these application generally can be long-term online, but the moment may not be in using state, in order to the presence of announcement server self when not using, avoid server and its interruption, need according to the micro-letter application server transmission heartbeat message of the frequency preset to network side, with the state making application server know this application, not with its interruption.
But terminal side equipment sends heartbeat message to the server being positioned at network side frequently, when amount of information is larger, can cause signaling storm.
Summary of the invention
The invention provides a kind of heartbeat message processing method, equipment and system, occupy Internet resources in a large number in prior art to solve, had a strong impact on the use of Internet resources, caused the network user to access the technological deficiency experiencing difference.
According to a first aspect of the invention, a kind of heartbeat message processing method is provided, comprises:
Receive the pseudo-heart pattern instruction that at least one first equipment sends, described pseudo-heart pattern instruction comprises: the first identification information of the first equipment, the second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, and described pseudo-heart pattern instruction is that described first equipment judges to know that the line duration of described application sends when being more than or equal to default threshold value;
Send the pseudo-heartbeat message comprising described first identification information to described server according to described first palmic rate, and return starting-up response message to described first equipment, to make described first equipment stop sending described first heartbeat message, and monitor the online situation of described application.
According to a second aspect of the invention, a kind of heartbeat message processing method is provided, comprises:
The line duration of monitoring and measuring application, judges whether described line duration is more than or equal to default threshold value;
Know that described line duration is more than or equal to described threshold value if judge, then send pseudo-heart pattern instruction to the second equipment, described pseudo-heart pattern instruction comprises: the first identification information of first equipment at described application place, second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, the pseudo-heartbeat message comprising described first identification information is sent to described server according to described first palmic rate to make described second equipment,
Receive the starting-up response message that described second equipment returns, stop sending described first heartbeat message to described server, and monitor the online situation of described application.
According to a third aspect of the invention we, a kind of second equipment is provided, comprises:
First receiver module, for receiving the pseudo-heart pattern instruction that at least one first equipment sends, described pseudo-heart pattern instruction comprises: the first identification information of the first equipment, the second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, and described pseudo-heart pattern instruction is that described first equipment judges to know that the line duration of described application sends when being more than or equal to default threshold value;
First processing module, for sending the pseudo-heartbeat message comprising described first identification information to described server according to described first palmic rate, and return starting-up response message to described first equipment, to make described first equipment stop sending described first heartbeat message, and monitor the online situation of described application.
According to a forth aspect of the invention, a kind of first equipment is provided, comprises:
Monitoring modular, for the line duration of monitoring and measuring application, judges whether described line duration is more than or equal to default threshold value;
Sending module, if know that described line duration is more than or equal to described threshold value for judging, then send pseudo-heart pattern instruction to the second equipment, described pseudo-heart pattern instruction comprises: the first identification information of first equipment at described application place, second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, the pseudo-heartbeat message comprising described first identification information is sent to described server according to described first palmic rate to make described second equipment,
Second processing module, for receiving the starting-up response message that described second equipment returns, stopping sending described first heartbeat message to described server, and monitoring the online situation of described application.
According to a fifth aspect of the invention, a kind of heartbeat message treatment system is provided, comprises: server, the second equipment as above and at least one the first equipment.
Heartbeat message processing method, equipment and system that the embodiment of the present invention provides, if the line duration that the first equipment is applied exceedes default threshold value, then send pseudo-heartbeat message according to the first palmic rate to the server corresponding with this application by the second equipment, and return starting-up response message to the first equipment, thus the first equipment stops sending first heartbeat message corresponding with the first palmic rate to server according to starting-up response message, and monitor the online situation of described application.Thus achieve the heartbeat message being focused on the long application on site on the first equipment by the second equipment, decrease the signaling quantity of direct interaction heartbeat message between the first equipment and server, reduce the possibility of signaling storm.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of heartbeat message processing method embodiment one of the present invention;
Fig. 2 is the schematic flow sheet of heartbeat message processing method embodiment two of the present invention;
Fig. 3 is the schematic flow sheet of heartbeat message processing method embodiment three of the present invention;
Fig. 4 is the schematic flow sheet of heartbeat message processing method embodiment four of the present invention;
Fig. 5 is the structural representation of the present invention second apparatus embodiments one;
Fig. 6 is the structural representation of the present invention second apparatus embodiments two;
Fig. 7 is the structural representation of the present invention first apparatus embodiments one;
Fig. 8 is the structural representation of the present invention first apparatus embodiments two;
Fig. 9 is the structural representation of heartbeat message treatment system embodiment one of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the schematic flow sheet of heartbeat message processing method embodiment one of the present invention, the heartbeat message processing method that the present embodiment provides is in the second equipment, second equipment is the gateway device be arranged between Access Network and the Internet, or be arranged on the equipment such as server in Access Network or the Internet, as shown in Figure 1, the method comprises:
Step 100, receive the pseudo-heart pattern instruction that at least one first equipment sends, described pseudo-heart pattern instruction comprises: the first identification information of the first equipment, the second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, and described pseudo-heart pattern instruction is that described first equipment judges to know that the line duration of described application sends when being more than or equal to default threshold value;
The first equipment related in the present embodiment can be cell phone apparatus, IPAD equipment, computer equipment etc.User needs the application of opening a lot of social network services on the first device according to self, the application of the consulting such as application, microblogging, the news class of such as QQ, micro-letter instant messaging class, the feature of these application remains on line states on the first device for a long time.Application on site, in order to the presence of announcement server self when not using, avoids server and its interruption, needs to send heartbeat message, with the state making application server know this application, not with its interruption according to the frequency preset to the application server of correspondence.
The line duration of the first monitoring of equipment application on site, judge whether the line duration of this application is more than or equal to default threshold value, know that line duration is less than this threshold value if judge, then this application continues through the first equipment and sends heartbeat message to the server corresponding with this application, know that line duration is more than or equal to this threshold value if judge, then the first equipment sends pseudo-heart pattern instruction to the second equipment, this pseudo-heart pattern instruction comprises: the first identification information of this first equipment, second identification information of this application, first palmic rate of first heartbeat message corresponding with this application, wherein, this first heartbeat message is the message that the first equipment sends to the server corresponding with this application.
Second equipment carries out resolving first palmic rate of the second identification information first heartbeat message corresponding with this application of the first identification information of acquisition first equipment, application to the pseudo-heart pattern instruction that at least one first equipment sends.
Step 101, send the pseudo-heartbeat message comprising described first identification information to described server according to described first palmic rate, and return starting-up response message to described first equipment, to make described first equipment stop sending described first heartbeat message, and monitor the online situation of described application.
Second equipment sends the pseudo-heartbeat message comprising this first identification information to the server that the second identification information with this application is corresponding according to this first palmic rate, thus this server carries out parsing acquisition first identification information to the pseudo-heartbeat message received, thus know that this is applied in the presence on the first equipment corresponding with this first identification information.
Then the second equipment returns starting-up response message to the first equipment, after the first equipment receives this starting-up response message, stops sending the first heartbeat message according to the first palmic rate to the server corresponding with this application, and monitors the online situation of this application.Thus the first equipment is no longer direct directly sends the first heartbeat message by Access Network to the server of network side, but only monitor the online situation of this application, second equipment of authorisation network side replaces the first device-to-server to send pseudo-heartbeat message simultaneously, makes server know this application presence on the first device.Wherein, the mode of the online situation of first this application of monitoring of equipment is a lot, can select as required, illustrate as follows: mode one, the first equipment is by core processor according to the palmic rate preset, and such as the first palmic rate checks that application process judges that whether this application is online, mode two, application process is according to the palmic rate preset, and such as the first palmic rate sends heartbeat message by signal transmitting module to core processor, and whether this application of notice core processor is online;
It should be noted that, if the second equipment is arranged on the equipment such as the server in Access Network, the heartbeat message of the long application on site on the first equipment can be focused on, decrease the signaling quantity of direct interaction heartbeat message between numerous first equipment and server; If the second equipment is arranged on the gateway device between Access Network and the Internet, or be arranged on the equipment such as server in the Internet, because the first equipment is arranged in Access Network, therefore, can space interface signaling between minimizing Access Network further and the Internet.
The heartbeat message processing method that the present embodiment provides, if the line duration that the first equipment is applied exceedes default threshold value, then send pseudo-heartbeat message according to the first palmic rate to the server corresponding with this application by the second equipment, and return starting-up response message to the first equipment, thus the first equipment stops sending first heartbeat message corresponding with the first palmic rate to server according to starting-up response message, and the online situation of monitoring and measuring application.Thus achieve the heartbeat message being focused on the long application on site on the first equipment by the second equipment, decrease the signaling quantity of direct interaction heartbeat message between the first equipment and server, reduce the possibility of signaling storm.
Fig. 2 is the schematic flow sheet of heartbeat message processing method embodiment two of the present invention, the heartbeat message processing method that the present embodiment provides is used in the second equipment, second equipment is the gateway device be arranged between Access Network and the Internet, or be arranged in the server etc. of network side, as shown in Figure 2, the method comprises:
Step 200, receive the pseudo-heart pattern instruction that at least one first equipment sends, described pseudo-heart pattern instruction comprises: the first identification information of the first equipment, the second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, and described pseudo-heart pattern instruction is that described first equipment judges to know that the line duration of described application sends when being more than or equal to default threshold value;
Step 201, send the pseudo-heartbeat message comprising described first identification information to described server according to described first palmic rate, and return starting-up response message to described first equipment, to make described first equipment stop sending described first heartbeat message, and monitor the online situation of described application;
The step 100 that the specific implementation process of step 200 and step 201 is shown in Figure 1 and step 101, repeat no more herein.
Step 202, receive the second heartbeat message of described first equipment transmission according to the second palmic rate preset, described second palmic rate is less than described first palmic rate;
In the process of the online situation of this application of the first monitoring of equipment, send the second heartbeat message according to the second palmic rate preset to the second equipment, wherein, the second palmic rate is less than the first palmic rate.Thus the second equipment receives the second heartbeat message that the first equipment sends, and is monitored in real time by the presence of the second heartbeat message to the first equipment.
Step 203, if judging to be informed in the default time cycle does not receive described second heartbeat message, then stop sending to described server the pseudo-heartbeat message comprising described first identification information, and send to described first equipment the frightened palpitation mode instruction comprising described second identification information, continue to make described first equipment to send described first heartbeat message to described server.
If the second equipment judges to be informed in the default time cycle the second heartbeat message not receiving the first equipment and send, then whether uncertain first equipment is because partial fault can not send heartbeat signal, still works as machine completely.Thus the second equipment stops sending to above-mentioned server the pseudo-heartbeat message comprising the first identification information, send the frightened palpitation mode instruction comprising the second identification information of application to the first equipment simultaneously, if the first equipment does not work as machine, after receiving frightened palpitation mode instruction, continue to send the first heartbeat message directly to server according to the second identification information of application.If the first equipment works as machine, this application is also just rolled off the production line, and does not also just receive this frightened palpitation mode instruction, and second equipment that avoids continues to send pseudo-heartbeat message to the server of correspondence.
The heartbeat message processing method that the present embodiment provides, monitored the presence of the first equipment according to the second heartbeat message by the second equipment, avoid when the first equipment is when machine, second equipment continues to send pseudo-heartbeat message to the server of correspondence, further increasing the reliability that heartbeat is mutual.
Based on above-described embodiment, further, described method also comprises:
Receive the application that described first equipment sends to roll off the production line message, the described application message that rolls off the production line comprises: described first identification information, described second identification information, if described application is rolled off the production line, message is that described first equipment sends when judging to know that described application is rolled off the production line;
Stop sending to the server corresponding with described second identification information the pseudo-heartbeat message comprising described first identification information.
Particularly, first equipment is in the process of the online situation of this application of monitoring, know that this application is rolled off the production line if judge, then send application to the second equipment and to roll off the production line message, this application message that rolls off the production line comprises: the first identification information of the first equipment, the second identification information of application.
The application that second equipment interconnection the receives message that rolls off the production line carries out resolving the first identification information of acquisition first equipment, the second identification information of application, then stop sending to the server corresponding with the second identification information the pseudo-heartbeat message comprising the first identification information, when server no longer receive mark have a heartbeat message of the first identification information time, confirm that this application is rolled off the production line from the first equipment corresponding with the first identification information, disconnect with it.
The heartbeat message processing method that the present embodiment provides, if after determining that application is rolled off the production line by the first equipment, second equipment that notifies stops sending pseudo-heartbeat message to the server of correspondence, when the application avoided on the first device is rolled off the production line, second equipment continues to send pseudo-heartbeat message to the server of correspondence, further increasing the reliability that heartbeat is mutual.
Fig. 3 is the schematic flow sheet of heartbeat message processing method embodiment three of the present invention, the heartbeat message processing method that the present embodiment provides is used in the first equipment, and the first equipment is arranged in Access Network, can be cell phone apparatus, IPAD equipment, computer equipment etc., as shown in Figure 3, the method comprises:
Step 300, the line duration of monitoring and measuring application, judges whether described line duration is more than or equal to default threshold value;
Step 301, know that described line duration is more than or equal to described threshold value if judge, then send pseudo-heart pattern instruction to the second equipment, described pseudo-heart pattern instruction comprises: the first identification information of first equipment at described application place, second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, the pseudo-heartbeat message comprising described first identification information is sent to described server according to described first palmic rate to make described second equipment,
Step 302, receives the starting-up response message that described second equipment returns, and stops sending described first heartbeat message to described server, and monitors the online situation of described application.
The concrete handling process of each step in the heartbeat message processing method that the present embodiment provides, can see the embodiment of the method shown in above-mentioned Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 4 is the schematic flow sheet of heartbeat message processing method embodiment four of the present invention, the heartbeat message processing method that the present embodiment provides is used in the first equipment, and the first equipment is arranged in Access Network, can be cell phone apparatus, IPAD equipment, computer equipment etc., as shown in Figure 4, the method comprises:
Step 400, the line duration of monitoring and measuring application, judges whether described line duration is more than or equal to default threshold value;
Step 401, know that described line duration is more than or equal to described threshold value if judge, then send pseudo-heart pattern instruction to the second equipment, described pseudo-heart pattern instruction comprises: the first identification information of first equipment at described application place, second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, the pseudo-heartbeat message comprising described first identification information is sent to described server according to described first palmic rate to make described second equipment,
Step 402, receives the starting-up response message that described second equipment returns, and stops sending described first heartbeat message to described server, and monitors the online situation of described application;
Step 403, send the second heartbeat message according to the second palmic rate preset to described second equipment, described second palmic rate is less than described first palmic rate;
Step 404, the frightened palpitation mode instruction that described second equipment does not receive described second heartbeat message, transmission within the time cycle of presetting if receive, described frightened palpitation mode instruction comprises: described second identification information, then continue to send described first heartbeat message to described server.
The concrete handling process of each step in the heartbeat message processing method that the present embodiment provides, can see the embodiment of the method shown in above-mentioned Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
Further, based on above-described embodiment, in the process of the online situation of the described application of described monitoring, described method also comprises:
Know that described application is rolled off the production line if judge, send application to described second equipment to roll off the production line message, the described application message that rolls off the production line comprises: described first identification information, described second identification information, stops sending to the server corresponding with described second identification information the pseudo-heartbeat message comprising described first identification information to make described second equipment.
The heartbeat message processing method that the present embodiment provides, if after determining that application is rolled off the production line by the first equipment, second equipment that notifies stops sending pseudo-heartbeat message to the server of correspondence, when the application avoided on the first device is rolled off the production line, second equipment continues to send pseudo-heartbeat message to the server of correspondence, further increasing the reliability that heartbeat is mutual.
Fig. 5 is the structural representation of the present invention second apparatus embodiments one, as shown in Figure 5, this equipment comprises: the first receiver module 11 and the first processing module 12, first receiver module 11, for receiving the pseudo-heart pattern instruction that at least one first equipment sends, described pseudo-heart pattern instruction comprises: the first identification information of the first equipment, second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, described pseudo-heart pattern instruction is that described first equipment judges to know that the line duration of described application sends when being more than or equal to default threshold value, first processing module 12, for sending the pseudo-heartbeat message comprising described first identification information to described server according to described first palmic rate, and return starting-up response message to described first equipment, to make described first equipment stop sending described first heartbeat message, and monitor the online situation of described application.
The function of each module and handling process in the second equipment that the present embodiment provides, can see the embodiment of the method shown in above-mentioned Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 6 is the structural representation of the present invention second apparatus embodiments two, and based on embodiment illustrated in fig. 5, described equipment also comprises: the second receiver module 13,
Second receiver module 13, for receiving the second heartbeat message that described first equipment sends according to the second palmic rate preset, described second palmic rate is less than described first palmic rate;
First processing module 12, if also do not receive described second heartbeat message for judging to be informed in the default time cycle, then stop sending to described server the pseudo-heartbeat message comprising described first identification information, and send to described first equipment the frightened palpitation mode instruction comprising described second identification information, continue to make described first equipment to send described first heartbeat message to described server.
The function of each module and handling process in the second equipment that the present embodiment provides, can see the embodiment of the method shown in above-mentioned Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
Further, based on above-described embodiment,
First receiver module 11, the application also sent for receiving described first equipment is rolled off the production line message, the described application message that rolls off the production line comprises: described first identification information, described second identification information, if described application is rolled off the production line, message is that described first equipment sends when judging to know that described application is rolled off the production line;
First processing module 12, also sends to the server corresponding with described second identification information the pseudo-heartbeat message comprising described first identification information for stopping.
The second equipment that the present embodiment provides, if after determining that application is rolled off the production line by the first equipment, notice stops sending pseudo-heartbeat message to the server of correspondence, when the application avoided on the first device is rolled off the production line, the server continued to correspondence sends pseudo-heartbeat message, further increasing the reliability that heartbeat is mutual.
Fig. 7 is the structural representation of the present invention first apparatus embodiments one, as shown in Figure 7, this equipment comprises: monitoring modular 21, sending module 22 and the second processing module 23, wherein, monitoring modular 21, for the line duration of monitoring and measuring application, judge whether described line duration is more than or equal to default threshold value, sending module 22, if know that described line duration is more than or equal to described threshold value for judging, then send pseudo-heart pattern instruction to the second equipment, described pseudo-heart pattern instruction comprises: the first identification information of first equipment at described application place, second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, the pseudo-heartbeat message comprising described first identification information is sent to described server according to described first palmic rate to make described second equipment, second processing module 23, for receiving the starting-up response message that described second equipment returns, stopping sending described first heartbeat message to described server, and monitoring the online situation of described application.
The function of each module and handling process in the first equipment that the present embodiment provides, can see the embodiment of the method shown in above-mentioned Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
Further, sending module 22, also in the process of the online situation of the described application of monitoring, send the second heartbeat message according to the second palmic rate preset to described second equipment, described second palmic rate is less than described first palmic rate;
Second processing module 23, if also do not receive the frightened palpitation mode instruction of described second heartbeat message, transmission within the time cycle of presetting for receiving described second equipment, described frightened palpitation mode instruction comprises: described second identification information, then continue to send described first heartbeat message to described server.
The function of each module and handling process in the first equipment that the present embodiment provides, can see the embodiment of the method shown in above-mentioned Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 8 is the structural representation of the present invention first apparatus embodiments two, and as shown in Figure 8, based on embodiment illustrated in fig. 7, described equipment also comprises: judge module 24,
Judge module 24, in the process of the online situation of the described application of monitoring, judges whether described application rolls off the production line;
Sending module 22, if time also for judging that being informed in described application rolls off the production line, send application to described second equipment to roll off the production line message, the described application message that rolls off the production line comprises: described first identification information, described second identification information, stops sending to the server corresponding with described second identification information the pseudo-heartbeat message comprising described first identification information to make described second equipment.
The first equipment that the present embodiment provides, if after determining that application is rolled off the production line, second equipment that notifies stops sending pseudo-heartbeat message to the server of correspondence, when the application avoided on the first device is rolled off the production line, second equipment continues to send pseudo-heartbeat message to the server of correspondence, further increasing the reliability that heartbeat is mutual.
Fig. 9 is the structural representation of heartbeat message treatment system embodiment one of the present invention, as shown in Figure 9, this system comprises: server 1, second equipment 2, and at least one first equipment 3, wherein, second equipment 2 and the first equipment 3 can adopt the second equipment and the first equipment that provide in above-described embodiment, and server 1 can adopt the server related in above-described embodiment.
The function of each module and handling process in the heartbeat message treatment system that the present embodiment provides, can see the embodiment of the method shown in above-mentioned, and it realizes principle and technique effect is similar, repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (13)

1. a heartbeat message processing method, is characterized in that, comprising:
Receive the pseudo-heart pattern instruction that at least one first equipment sends, described pseudo-heart pattern instruction comprises: the first identification information of the first equipment, the second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, and described pseudo-heart pattern instruction is that described first equipment judges to know that the line duration of described application sends when being more than or equal to default threshold value;
Send the pseudo-heartbeat message comprising described first identification information to described server according to described first palmic rate, and return starting-up response message to described first equipment, to make described first equipment stop sending described first heartbeat message, and monitor the online situation of described application.
2. method according to claim 1, is characterized in that, described according to described first palmic rate to after described first equipment sends the second heartbeat message, described method also comprises:
Receive the application that described first equipment sends to roll off the production line message, the described application message that rolls off the production line comprises: described first identification information, described second identification information, if described application is rolled off the production line, message is that described first equipment sends when judging to know that described application is rolled off the production line;
Stop sending to the server corresponding with described second identification information the pseudo-heartbeat message comprising described first identification information.
3. method according to claim 1, is characterized in that, described according to described first palmic rate to after described first equipment sends the second heartbeat message, described method also comprises:
Receive the second heartbeat message of described first equipment transmission according to the second palmic rate preset, described second palmic rate is less than described first palmic rate;
If judging to be informed in the default time cycle does not receive described second heartbeat message, then stop sending to described server the pseudo-heartbeat message comprising described first identification information, and send to described first equipment the frightened palpitation mode instruction comprising described second identification information, continue to make described first equipment to send described first heartbeat message to described server.
4. a heartbeat message processing method, is characterized in that, comprising:
The line duration of monitoring and measuring application, judges whether described line duration is more than or equal to default threshold value;
Know that described line duration is more than or equal to described threshold value if judge, then send pseudo-heart pattern instruction to the second equipment, described pseudo-heart pattern instruction comprises: the first identification information of first equipment at described application place, second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, the pseudo-heartbeat message comprising described first identification information is sent to described server according to described first palmic rate to make described second equipment,
Receive the starting-up response message that described second equipment returns, stop sending described first heartbeat message to described server, and monitor the online situation of described application.
5. method according to claim 4, is characterized in that, in the process of the online situation of the described application of described monitoring, described method also comprises:
Know that described application is rolled off the production line if judge, send application to described second equipment to roll off the production line message, the described application message that rolls off the production line comprises: described first identification information, described second identification information, stops sending to the server corresponding with described second identification information the pseudo-heartbeat message comprising described first identification information to make described second equipment.
6. method according to claim 4, is characterized in that, in the process of the online situation of the described application of described monitoring, described method also comprises:
Send the second heartbeat message according to the second palmic rate preset to described second equipment, described second palmic rate is less than described first palmic rate;
The frightened palpitation mode instruction that described second equipment does not receive described second heartbeat message, transmission within the time cycle of presetting if receive, described frightened palpitation mode instruction comprises: described second identification information, then continue to send described first heartbeat message to described server.
7. second equipment, is characterized in that, comprising:
First receiver module, for receiving the pseudo-heart pattern instruction that at least one first equipment sends, described pseudo-heart pattern instruction comprises: the first identification information of the first equipment, the second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, and described pseudo-heart pattern instruction is that described first equipment judges to know that the line duration of described application sends when being more than or equal to default threshold value;
First processing module, for sending the pseudo-heartbeat message comprising described first identification information to described server according to described first palmic rate, and return starting-up response message to described first equipment, to make described first equipment stop sending described first heartbeat message, and monitor the online situation of described application.
8. equipment according to claim 7, is characterized in that,
Described first receiver module, the application also sent for receiving described first equipment is rolled off the production line message, the described application message that rolls off the production line comprises: described first identification information, described second identification information, if described application is rolled off the production line, message is that described first equipment sends when judging to know that described application is rolled off the production line;
Described first processing module, also sends to the server corresponding with described second identification information the pseudo-heartbeat message comprising described first identification information for stopping.
9. equipment according to claim 7, is characterized in that, described equipment also comprises:
Second receiver module, for receiving the second heartbeat message that described first equipment sends according to the second palmic rate preset, described second palmic rate is less than described first palmic rate;
Described first processing module, if also do not receive described second heartbeat message for judging to be informed in the default time cycle, then stop sending to described server the pseudo-heartbeat message comprising described first identification information, and send to described first equipment the frightened palpitation mode instruction comprising described second identification information, continue to make described first equipment to send described first heartbeat message to described server.
10. first equipment, is characterized in that, comprising:
Monitoring modular, for the line duration of monitoring and measuring application, judges whether described line duration is more than or equal to default threshold value;
Sending module, if know that described line duration is more than or equal to described threshold value for judging, then send pseudo-heart pattern instruction to the second equipment, described pseudo-heart pattern instruction comprises: the first identification information of first equipment at described application place, second identification information of application, with described the first palmic rate applying the first corresponding heartbeat message, wherein, described first heartbeat message is the message that described first equipment sends to the server corresponding with described second identification information, the pseudo-heartbeat message comprising described first identification information is sent to described server according to described first palmic rate to make described second equipment,
Second processing module, for receiving the starting-up response message that described second equipment returns, stopping sending described first heartbeat message to described server, and monitoring the online situation of described application.
11. equipment according to claim 10, is characterized in that, described equipment also comprises:
Judge module, in the process of the online situation of the described application of monitoring, judges whether described application rolls off the production line;
Described sending module, if time also for judging that being informed in described application rolls off the production line, send application to described second equipment to roll off the production line message, the described application message that rolls off the production line comprises: described first identification information, described second identification information, stops sending to the server corresponding with described second identification information the pseudo-heartbeat message comprising described first identification information to make described second equipment.
12. equipment according to claim 10, is characterized in that,
Described sending module, also in the process of the online situation of the described application of monitoring, send the second heartbeat message according to the second palmic rate preset to described second equipment, described second palmic rate is less than described first palmic rate;
Described second processing module, if also do not receive the frightened palpitation mode instruction of described second heartbeat message, transmission within the time cycle of presetting for receiving described second equipment, described frightened palpitation mode instruction comprises: described second identification information, then continue to send described first heartbeat message to described server.
13. 1 kinds of heartbeat message treatment systems, is characterized in that, comprising: server, the second equipment, and at least one first equipment, wherein, described second equipment be as arbitrary in claim 7-9 as described in the second equipment, described first equipment be as arbitrary in claim 10-12 as described in the first equipment.
CN201510174050.6A 2015-04-13 2015-04-13 Heartbeat message processing method, equipment and system Active CN104883279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510174050.6A CN104883279B (en) 2015-04-13 2015-04-13 Heartbeat message processing method, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510174050.6A CN104883279B (en) 2015-04-13 2015-04-13 Heartbeat message processing method, equipment and system

Publications (2)

Publication Number Publication Date
CN104883279A true CN104883279A (en) 2015-09-02
CN104883279B CN104883279B (en) 2018-05-18

Family

ID=53950619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510174050.6A Active CN104883279B (en) 2015-04-13 2015-04-13 Heartbeat message processing method, equipment and system

Country Status (1)

Country Link
CN (1) CN104883279B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105916100A (en) * 2016-04-01 2016-08-31 华为技术有限公司 Heartbeat packet agency method, device and communication system
WO2017114397A1 (en) * 2015-12-31 2017-07-06 华为技术有限公司 Method, device and system for realizing heartbeat mechanism
CN106961615A (en) * 2017-03-22 2017-07-18 北京奇艺世纪科技有限公司 A kind of live broadcasting method and system
CN109451025A (en) * 2018-11-14 2019-03-08 深圳市云歌人工智能技术有限公司 Information push method, device and storage medium
CN109544194A (en) * 2018-12-07 2019-03-29 河南省四通锅炉有限公司 A kind of boiler method for anti-counterfeit and device for intelligent chemical plant
US20220159082A1 (en) * 2019-08-12 2022-05-19 Addigy, Inc. Intelligent persistent mobile device management

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631048A (en) * 2008-07-14 2010-01-20 中国移动通信集团河南有限公司 Method, device and system for monitoring managed object
CN102177697A (en) * 2011-04-29 2011-09-07 华为技术有限公司 Method for controlling internet services, and relevant device and system
CN102572939A (en) * 2011-01-04 2012-07-11 中国移动通信有限公司 Heartbeat packet sending method, device thereof and system thereof
CN102790776A (en) * 2012-08-03 2012-11-21 中国联合网络通信集团有限公司 Heartbeat connection normalizing processing method, terminal, server and communication system
CN103152374A (en) * 2011-12-07 2013-06-12 华为终端有限公司 Method and device for learning terminal online state
CN103312528A (en) * 2012-03-08 2013-09-18 中国移动通信集团公司 Heartbeat message sending method and user terminal
CN103916424A (en) * 2012-12-31 2014-07-09 中国移动通信集团广东有限公司 Application program heartbeat packet control method, communication terminal and communication network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631048A (en) * 2008-07-14 2010-01-20 中国移动通信集团河南有限公司 Method, device and system for monitoring managed object
CN102572939A (en) * 2011-01-04 2012-07-11 中国移动通信有限公司 Heartbeat packet sending method, device thereof and system thereof
CN102177697A (en) * 2011-04-29 2011-09-07 华为技术有限公司 Method for controlling internet services, and relevant device and system
CN103152374A (en) * 2011-12-07 2013-06-12 华为终端有限公司 Method and device for learning terminal online state
CN103312528A (en) * 2012-03-08 2013-09-18 中国移动通信集团公司 Heartbeat message sending method and user terminal
CN102790776A (en) * 2012-08-03 2012-11-21 中国联合网络通信集团有限公司 Heartbeat connection normalizing processing method, terminal, server and communication system
CN103916424A (en) * 2012-12-31 2014-07-09 中国移动通信集团广东有限公司 Application program heartbeat packet control method, communication terminal and communication network

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017114397A1 (en) * 2015-12-31 2017-07-06 华为技术有限公司 Method, device and system for realizing heartbeat mechanism
US11128718B2 (en) 2015-12-31 2021-09-21 Huawei Technologies Co., Ltd. Method, apparatus, and system for implementing heartbeat mechanism
CN105916100A (en) * 2016-04-01 2016-08-31 华为技术有限公司 Heartbeat packet agency method, device and communication system
CN106961615A (en) * 2017-03-22 2017-07-18 北京奇艺世纪科技有限公司 A kind of live broadcasting method and system
CN109451025A (en) * 2018-11-14 2019-03-08 深圳市云歌人工智能技术有限公司 Information push method, device and storage medium
CN109544194A (en) * 2018-12-07 2019-03-29 河南省四通锅炉有限公司 A kind of boiler method for anti-counterfeit and device for intelligent chemical plant
CN109544194B (en) * 2018-12-07 2021-09-17 河南智信锅炉技术创新有限公司 Boiler anti-counterfeiting method and device for intelligent factory
US20220159082A1 (en) * 2019-08-12 2022-05-19 Addigy, Inc. Intelligent persistent mobile device management
US11805179B2 (en) * 2019-08-12 2023-10-31 Addigy, Inc. Intelligent persistent mobile device management

Also Published As

Publication number Publication date
CN104883279B (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN104883279A (en) Heartbeat message processing method, heartbeat message processing device and heartbeat message processing system
CN107360239A (en) A kind of client connection status detection method and system
CN103491102A (en) Method, system and device for monitoring stability of internet audio and video
CN106973093A (en) A kind of service switch method and device
CN103812675A (en) Method and system for realizing allopatric disaster recovery switching of service delivery platform
CN110740072A (en) fault detection method, device and related equipment
CN104967537A (en) Alarm information pushing method and device
CN110808873B (en) Method and device for detecting link failure
CN101953139A (en) DHCP initialization responsive to network layer connectivity
CN103139818A (en) Method, system, area of effect (AOE), always on line (AOG) and terminal of maintaining long connection in acquisition of signal (AOS)
CN101989933A (en) Method and system for failure detection
CN101938374A (en) System performance monitoring and alarming method and system
CN107948063B (en) Method for establishing aggregation link and access equipment
CN110740064A (en) Distributed cluster node fault processing method, device, equipment and storage medium
CN104216739B (en) A kind of download process method and device, terminal
CN101977396B (en) System and method for realizing network element service switching in multimedia messaging service
CN104954190A (en) Method and device for detecting faults of application server
CN104394012B (en) Cluster routers, MPU and its failure determination method, sensing controller
CN110224872B (en) Communication method, device and storage medium
CN112839106A (en) Communication method and apparatus, electronic device, and medium
CN103051484B (en) Session service processing method, system and Session Border Controll
CN103391303B (en) Service fault noticing method and server using same
CN115037786B (en) Method for improving data transmission efficiency and related equipment
CN105426118B (en) A kind of method that serial ports backup heartbeat passage is utilized in double-control system
CN104253874A (en) Message sending and processing method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant