CN101345663B - Heartbeat detection method and heartbeat detection apparatus - Google Patents
Heartbeat detection method and heartbeat detection apparatus Download PDFInfo
- Publication number
- CN101345663B CN101345663B CN2008101184524A CN200810118452A CN101345663B CN 101345663 B CN101345663 B CN 101345663B CN 2008101184524 A CN2008101184524 A CN 2008101184524A CN 200810118452 A CN200810118452 A CN 200810118452A CN 101345663 B CN101345663 B CN 101345663B
- Authority
- CN
- China
- Prior art keywords
- heartbeat
- detection
- network port
- service
- port
- 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.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 title claims description 276
- 230000004044 response Effects 0.000 claims abstract description 103
- 230000002159 abnormal effect Effects 0.000 claims description 22
- 238000000034 method Methods 0.000 claims description 21
- 230000005856 abnormality Effects 0.000 claims description 11
- 206010048669 Terminal state Diseases 0.000 claims description 9
- 239000000725 suspension Substances 0.000 claims description 3
- 238000012360 testing method Methods 0.000 abstract 11
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a heartbeat testing method, applied in a network device with service net mouth, comprising that: the network device periodically transmits heartbeat information to a testing opposite terminal through a heartbeat testing port, receives heartbeat response returned by the testing opposite terminal, selects a service net mouth free of service, when the heartbeat testing terminal does not receive the heartbeat response of the testing opposite terminal, transmits the heartbeat information to the testing opposite terminal through selected service net mouth; it is judged that, whether the selected service net mouth receives the heartbeat response of the testing opposite terminal, if true, determining the test opposite terminal is normal; otherwise, determining the testing opposite terminal. The invention also discloses a heartbeat testing device. According to the invention, judging correct degree of the tested state is advanced.
Description
Technical Field
The invention relates to a signal detection technology, in particular to a heartbeat detection method and heartbeat detection equipment.
Background
At present, in order to ensure service continuity, a standby device is usually configured for a key device for processing a service, and the key device is called an active device. The standby equipment detects whether the main equipment fails by sending heartbeat messages to the main equipment and receiving heartbeat responses returned by the main equipment, and takes over the service of the main equipment when the main equipment fails, so that the service continuity is ensured.
The design ideas of the main equipment and the standby equipment are widely applied to a plurality of network systems. Taking a network storage system as an example, fig. 1 is a schematic diagram of a networking structure of a network storage system in the prior art. As shown in FIG. 1, a network storage system includes a storage controller and a storage array. When accessing the storage system, the client establishes connection with the storage controller, so that the storage resources in the storage array are accessed through the storage controller. It can be seen that the storage controller is a key device for implementing network storage. In the network storage system shown in fig. 1, a storage controller a and a storage controller B that are active and standby with each other are provided, and the two storage controllers can provide a storage service processing service for a client at the same time.
And the storage controller A and the storage controller B judge whether the other side fails or not by interacting heartbeat messages, and if so, the other side is restarted. Specifically, the storage controller a and the storage controller B are respectively provided with a network port for heartbeat detection, which is called a heartbeat detection network port. Each storage controller is used as a home terminal to periodically send heartbeat messages to an opposite terminal through a heartbeat detection network port, and if a heartbeat response of the opposite terminal is received before the heartbeat timeout time is reached, the opposite terminal is judged to be normal; otherwise, judging that the opposite end is abnormal. And when the opposite terminal is judged to be abnormal, taking over the opposite terminal service, and then restarting the opposite terminal.
However, in practice, a situation may occur that the opposite end is normal in service processing function, and only when a transmission link between the local end heartbeat network port and the opposite end heartbeat network port fails, or the local end and/or the opposite end heartbeat network port fails, or the opposite end is busy and has no time to process heartbeat messages, the local end may not receive heartbeat responses, thereby erroneously determining that the opposite end is abnormal, and restarting the opposite end. And restarting the operation of the opposite end can cause service interruption of the opposite end.
Therefore, the existing heartbeat detection scheme cannot accurately judge the state of the opposite terminal, and when the judgment is wrong, the opposite terminal is restarted under the non-abnormal condition, so that the service interruption under the non-abnormal condition of the opposite terminal is caused.
Disclosure of Invention
In view of this, the present invention provides a heartbeat detection method, which can improve the accuracy of judging the state of the detected party.
The method is applied to network equipment with a service network port, and comprises the following steps:
the network equipment periodically sends heartbeat messages to a detection opposite terminal through a heartbeat detection port and receives heartbeat responses returned by the detection opposite terminal;
when the heartbeat detection port does not receive a heartbeat response of the detection opposite end, selecting a service network port without service at present, and sending a heartbeat message to the detection opposite end through the selected service network port;
judging whether the selected service network port receives a heartbeat response of the opposite end; if so, determining that the opposite end is detected to be normal; otherwise, determining to detect the abnormality of the opposite terminal;
the heartbeat detection port comprises a heartbeat detection network port and a serial port;
the periodically sending heartbeat messages to the detection opposite terminal through the heartbeat detection port is as follows: the heartbeat detection network port and the serial port are simultaneously transmitted;
judging whether the heartbeat detection port receives heartbeat response of the opposite detection end: when the heartbeat detection network port does not receive the heartbeat response of the detection opposite end, judging whether the heartbeat detection of the serial port is normal or not, and if the heartbeat detection of the serial port is abnormal, judging that the heartbeat detection port does not receive the heartbeat response of the detection opposite end.
Wherein the operation of determining that the heartbeat detection portal does not receive the heartbeat response of the detection opposite end comprises:
when the heartbeat detection port is judged not to receive the heartbeat response of the opposite detection end within the current heartbeat timeout time, judging the heartbeat timeout; when the heartbeat overtime times reach a preset time threshold value, determining that the heartbeat detection internet access does not receive heartbeat response of the opposite end;
the current heartbeat timeout time is set to: when judging that the heartbeat response of the opposite terminal is received within the current heartbeat timeout time, taking the preset heartbeat timeout time as the current heartbeat timeout time for judging whether the heartbeat is overtime next time; and selecting the self-defined heartbeat timeout time different from the current heartbeat timeout time as the current heartbeat timeout time for judging whether the heartbeat is overtime next time every time when the heartbeat is overtime.
The user-defined heartbeat timeout time different from the current heartbeat timeout time is selected as follows: randomly selecting custom heartbeat timeout time within a preset range;
or the following steps: and increasing the heartbeat timeout time in an increasing mode on the basis of the current heartbeat timeout time, and taking the increased heartbeat timeout time as the user-defined heartbeat timeout time.
Wherein, the selecting a service network port without service currently comprises: judging whether a current non-service network port exists, if so, selecting one from the current non-service network ports as a selected service network port; otherwise, the preselected service network port is used as the selected service network port, and the service on the selected service network port is transferred to other service network ports of the selected service network port.
Preferably, after determining that the peer end abnormality is detected, the method further includes:
judging whether a service exists at present, if so, restarting the detection opposite terminal, and taking over the service of the detection opposite terminal; otherwise, after waiting for a preset time, restarting the detection opposite terminal, and taking over the service of the detection opposite terminal.
Wherein, restarting the detection opposite terminal, and taking over the service of the detection opposite terminal is as follows: and triggering and restarting the operation of the opposite terminal, and then taking over the service of the opposite terminal.
The invention also provides heartbeat detection equipment which can improve the accuracy of judging the state of a detected party.
The equipment comprises a heartbeat detection unit, a heartbeat detection port unit and a service network port;
the heartbeat detection unit periodically sends heartbeat messages to the detection opposite terminal through the heartbeat detection port unit and receives heartbeat responses of the detection opposite terminal; when the heartbeat response of the opposite detection end is not received through the heartbeat detection port unit, selecting a service network port without service at present, and sending a heartbeat message to the opposite detection end through the selected service network port; judging whether a heartbeat response of the opposite terminal is received through the selected service network port, if so, determining that the opposite terminal is normal; otherwise, determining to detect the abnormality of the opposite terminal;
the heartbeat detection port unit is used for sending heartbeat messages to the opposite detection end under the control of the heartbeat detection unit; sending a heartbeat response returned by the detection opposite terminal to the heartbeat detection unit;
the service network port is used for sending heartbeat messages to the opposite detection end under the control of the heartbeat detection unit; sending a heartbeat response returned by the detection opposite terminal to the heartbeat detection unit;
the heartbeat detection port unit comprises a heartbeat detection network port and a serial port;
the heartbeat detection unit comprises a heartbeat detection network port control module, a serial port control module, a service network port control module and an opposite end state judgment module;
the heartbeat detection network port control module is used for controlling the heartbeat detection network port to periodically send heartbeat messages to the opposite terminal detection, judging whether heartbeat responses of the opposite terminal detection are received from the heartbeat detection network port or not, and sending a judgment result to the opposite terminal state judgment module;
the serial port control module is used for controlling the serial port to periodically send heartbeat messages to the detection opposite end while the heartbeat detection network port sends heartbeat messages, judging whether heartbeat responses of the detection opposite end are received from the serial port or not, and sending a judgment result to the opposite end state judgment module;
the opposite end state judging module is used for informing the service network port control module to carry out heartbeat detection when determining that neither the heartbeat detection network port nor the serial port receives a heartbeat response of the opposite end according to the judging results received from the heartbeat detection network port control module and the serial port control module; receiving a judgment result sent by the service network port control module, and determining that the opposite end is detected to be normal when the judgment result shows that the service network port can receive the heartbeat response of the opposite end; otherwise, determining to detect the abnormality of the opposite terminal;
the service network port control module is used for selecting a service network port without service at present when receiving the notification, and controlling the selected service network port to send heartbeat messages to the detection opposite terminal; and judging whether the service network port receives a heartbeat response of the opposite terminal, and sending a judgment result to the opposite terminal state judgment module.
The heartbeat detection network port control module comprises a heartbeat message receiving and sending submodule and a judgment submodule;
the heartbeat message receiving and sending submodule is used for controlling the heartbeat detection network port to periodically send heartbeat messages to the detection opposite end and receiving heartbeat responses returned by the detection opposite end from the heartbeat detection network port;
the judgment submodule judges that the heartbeat is overtime when the heartbeat message receiving and sending submodule does not receive heartbeat response within the current heartbeat overtime time; when the heartbeat overtime times reach a preset time threshold, determining that the heartbeat detection internet access does not receive the heartbeat response of the detection opposite end, and sending the heartbeat response of the detection opposite end which is not received as the judgment result to the opposite end state judgment module; when judging that a heartbeat response of the opposite end is received before the current heartbeat timeout time is reached, taking the preset heartbeat timeout time as the current heartbeat timeout time for judging whether the heartbeat is overtime next time; and selecting the self-defined heartbeat timeout time different from the current heartbeat timeout time as the current heartbeat timeout time for judging whether the heartbeat is overtime next time every time when the heartbeat is overtime.
Preferably, the determining sub-module is further configured to randomly select a custom heartbeat timeout time within a preset range, or increase the heartbeat timeout time incrementally based on the current heartbeat timeout time, and use the increased heartbeat timeout time as the custom heartbeat timeout time.
The service network port control module comprises a selection submodule, a service pause submodule and a control submodule;
the selection submodule is used for judging whether the equipment has a current non-service network port, if so, selecting one of the current non-service network ports and informing the selected service network port to the control word module; otherwise, notifying the service pause submodule;
the service pause submodule is used for taking the preselected and selected service network port as the selected service network port when receiving the notification, transferring the service on the selected service network port to other service network ports of the equipment where the service is located, and notifying the selected service network port to the control word module;
the control submodule is used for controlling the selected service network port to send heartbeat messages to the detection opposite terminal when receiving the notification; and judging whether a heartbeat response of the opposite terminal is received from the selected service network port, and sending a judgment result to the opposite terminal state judgment module.
Preferably, the device further includes an exception handling unit, configured to, when the heartbeat detecting unit determines that the opposite end is detected to be abnormal, determine whether the device currently has a service, if so, restart the opposite end detection, and take over the service of the opposite end detection; otherwise, after waiting for a preset time, restarting the detection opposite terminal, and taking over the service of the detection opposite terminal.
According to the technical scheme, the heartbeat detection scheme of the invention is provided with multiple detections, and when the heartbeat detection port cannot receive the heartbeat response, the abnormality of the opposite end is not immediately judged, but the detection is continuously carried out through the service network port. Moreover, the adopted service network port is a service network port without service, even if all the service network ports have service, the service of a selected service network port can be migrated to other service network ports, and the selected service network port is specially used for heartbeat detection, so that heartbeat messages and/or heartbeat responses can be ensured not to be discarded because the service network port is busy, the success rate of successfully receiving heartbeat responses is improved, the accuracy of judging the state of the opposite end is improved, and the probability of the opposite end being interrupted under the condition of non-abnormity due to misjudgment is further reduced.
Secondly, the heartbeat detection network port and the serial port are adopted to simultaneously send heartbeat messages and receive heartbeat responses, so that the state of the opposite end can be rapidly judged from the detection condition of the serial port under the condition that the heartbeat detection network port is abnormal. Compared with the implementation mode of firstly detecting the network port by using the heartbeat and then detecting the abnormality of the network port by using the serial port, the method has the advantages that the unnecessary waiting time during the switching of the two ports can be reduced by simultaneously detecting the serial port and the network port, and the effect of quickly judging is achieved.
In addition, when the heartbeat detection is carried out by the heartbeat detection network port, if the condition that the heartbeat response can not be received occurs, the randomly selected heartbeat timeout time is used, so that the probability that the two detection parties which are backed up with each other restart the opposite terminal at the same time can be reduced.
In addition, when the opposite terminal is judged to be abnormal, the opposite terminal is not restarted directly, but whether the opposite terminal has services is judged, if yes, the opposite terminal is restarted, and if not, the opposite terminal is restarted after waiting for a period of time, so that the probability that the services of both sides are interrupted because both sides restart the opposite terminal at the same time in the detection of mutual backup can be further reduced.
Drawings
Fig. 1 is a schematic diagram of a networking structure of a network storage system in the prior art.
Fig. 2 is a flowchart of a method for detecting a heartbeat of a memory controller a to a memory controller B according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a heartbeat detection device in an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of the center jump detecting unit 31 in fig. 3.
Detailed Description
The invention is a heartbeat detecting scheme, which is applied to network equipment with a service network port, and the basic idea is as follows: the network equipment periodically sends heartbeat messages to the detection opposite terminal through the heartbeat detection port and receives heartbeat responses returned by the detection opposite terminal; when the heartbeat detection port does not receive the heartbeat response of the detection opposite end, selecting a service network port without service at present, and sending heartbeat messages to the detection opposite end through the selected service network port; judging whether the service network port receives a heartbeat response of the opposite end; if so, determining that the opposite end is detected to be normal; otherwise, determining to detect the anomaly of the opposite terminal. Under the condition of detecting the anomaly of the opposite terminal, the method can take over the service of the opposite terminal and restart the opposite terminal detection.
It can be seen that the heartbeat detection scheme of the present invention sets multiple detections, and when the heartbeat detection port cannot receive the heartbeat response, the abnormality of the opposite end is not immediately determined, but the detection is continued through the service network port. Moreover, the adopted service network port is a service network port without service, even if all the service network ports have service, the service of a selected service network port can be migrated to other service network ports, and the selected service network port is specially used for heartbeat detection, so that heartbeat messages and/or heartbeat responses can be ensured not to be discarded because the service network port is busy, the success rate of successfully receiving heartbeat responses is improved, the accuracy of judging the state of the opposite end is improved, and the probability of the opposite end being interrupted under the condition of non-abnormity due to misjudgment is further reduced.
Preferably, the heartbeat detection port includes a heartbeat detection network port and a serial port which are provided in the embodiment of the present invention and are specially used for heartbeat detection, and meanwhile, a heartbeat message is sent to the detection opposite terminal through the heartbeat detection network port and the serial port; when the heartbeat detection network port does not receive the heartbeat response of the opposite detection end, judging whether the heartbeat detection of the serial port is normal or not; and only when the heartbeat detection network port and the serial port do not receive the heartbeat response of the opposite end, determining to detect the abnormality of the opposite end. Therefore, the state of the opposite terminal can be rapidly judged from the detection condition of the serial port under the condition that the heartbeat detection network port is abnormal. Compared with the implementation mode of firstly detecting the network port by using heartbeat and then detecting the abnormal network port by using the serial port, the method has the advantages that the unnecessary waiting time during the switching of the two ports can be reduced by simultaneously detecting the serial port and the network port, and the effect of quickly judging is achieved.
The technical scheme of the invention can be suitable for heartbeat detection between the main equipment and the standby equipment. In the following description of the technical solution of the present invention, a heartbeat detection scheme of the present invention is applied to the network storage system shown in fig. 1 as an example, and the dual storage controllers in the network storage system are mutually active and standby.
The invention is described in detail below by way of example with reference to the accompanying drawings.
Fig. 2 is a flowchart illustrating a method for detecting a heartbeat of a storage controller a to a storage controller B according to an embodiment of the present invention. The principle of the method for the memory controller B to detect the heartbeat of the memory controller A is the same. As shown in fig. 2, the process includes the following steps:
step 201: the storage controller A monitors whether a service exists in the storage controller A in real time and records a service monitoring result.
In the step, whether a data service exists in a fixed time period is judged, if yes, the service exists, and if not, the service does not exist. Wherein the fixed time period may be one heartbeat cycle. The heartbeat cycle refers to a time interval between two consecutive heartbeat messages.
This step is performed continuously in a loop.
Step 202: and taking the heartbeat period as a circulation unit, and periodically sending heartbeat messages to the storage controller B through the heartbeat detection network port and the serial port at the same time.
The difference between this embodiment and the prior art is not only that the heartbeat message is sent through the heartbeat detection network port and the serial port at the same time, but also that the heartbeat message sent by this embodiment is sent in a cycle unit of heartbeat period, which is unrelated to the time of receiving the heartbeat response. Therefore, it is not necessary to wait for one heartbeat cycle to send the next heartbeat message after receiving the heartbeat response as in the prior art. Since the embodiment needs to judge the timeout of the heartbeat detection portal for multiple times to judge the anomaly of the heartbeat detection portal, the design can shorten the judgment time.
Step 203: after the heartbeat message is sent every time, judging whether the heartbeat detection gateway receives a heartbeat response fed back by the storage controller B within the current heartbeat timeout time by adopting the preset heartbeat timeout time as the current heartbeat timeout time; if yes, continuing to execute the judgment of the step 203 after next heartbeat message is sent; otherwise, step 204 is performed.
When heartbeat detection is carried out through the heartbeat detection network port, whether a serial port receives heartbeat response within the current heartbeat timeout time is synchronously judged, if yes, the serial port is determined to be normal in detection, and the serial port detection state is recorded, otherwise, the serial port is determined to be abnormal, and the serial port detection state is recorded. The recorded serial port detection state is used as the judgment basis in step 207.
Step 204: judging the heartbeat timeout, and accumulating the continuous heartbeat timeout times; and selecting the custom heartbeat timeout time different from the current heartbeat timeout time as the current heartbeat timeout time for next heartbeat timeout judgment.
And clearing the accumulated continuous heartbeat overtime frequency after the heartbeat detection network interface receives a heartbeat response.
In this step, there may be multiple ways to select a custom heartbeat timeout time different from the current heartbeat timeout time, and this embodiment introduces two preferred selection ways:
the first mode is a random mode. And randomly selecting the custom heartbeat timeout time within a preset range. For example, the custom heartbeat timeout time is: the base value plus a random value between 0 seconds(s) and 2s, the random value having a particle size of 0.1 s. If the basic value is 1.5s, the preset range of the randomly selected custom heartbeat timeout time is 1.5s-3.5 s.
The probability that the storage controllers which back up each other restart the opposite terminal at the same time can be reduced by adopting a random mode, because: in this embodiment, the storage controllers that are backed up with each other are physically disposed in the same hardware frame, so that the opposite end can be restarted through hardware. When the heartbeat path (including the path to which the heartbeat detection network port, the serial port, and the service network port are connected) between the storage controller a and the storage controller B fails, and the heartbeat response of the opposite end cannot be detected, both the storage controller a and the storage controller B may determine that the opposite end is abnormal at the same time in the process step 210, and then restart the opposite end. However, the memory controller a and the memory controller B may both be processing the traffic normally, belonging to the restart under non-exception, and then the traffic of both the memory controller a and the memory controller B is interrupted. In order to reduce the occurrence probability of such a situation as much as possible, in the embodiment, the self-defined heartbeat timeout time is determined in a random manner, so that the times of determining that the opposite terminal is abnormal are different due to different self-defined heartbeat timeout times selected by the storage controller a and the storage controller B, and the probability of restarting the opposite terminal at the same time is greatly reduced. If the range span of the custom heartbeat timeout time is randomly selected to be 2s, the random granularity is 0.1s, and 3 heartbeat timeouts are set to be considered as abnormal heartbeats, the probability that the storage controller a and the storage controller B restart the opposite end at the same time is reduced to 1/400.
In this embodiment, when it is determined that the heartbeat of the heartbeat detection portal is overtime for the first time, the user-defined heartbeat overtime time is randomly selected, in practice, preset heartbeat overtime time can be adopted when it is determined whether the heartbeat is overtime for the first m-1 times, and random selection is performed when it is determined that m-1 times of heartbeat overtime continuously occur, so that the overtime time used in the last determination is guaranteed to be a random value, and the purpose of reducing the probability of restarting the opposite end at the same time can also be achieved. Wherein m is a threshold value of the timeout times. However, the probability of restarting the opposite end at the same time can be further reduced by adopting the random value for multiple times.
The second mode and the backoff mode. And increasing the heartbeat timeout time in an increasing mode on the basis of the current heartbeat timeout time, and taking the increased heartbeat timeout time as the user-defined heartbeat timeout time. For example, the calculation formula for setting the custom heartbeat timeout time is as follows: and after the nth heartbeat is overtime, the custom heartbeat overtime time is preset heartbeat overtime time + n + n 0.1, wherein n is a positive integer, and 0.1 is an adjusting factor. If the preset heartbeat timeout time is 1.5 seconds(s), after the first heartbeat timeout occurs, the self-defined heartbeat timeout time is 1.5+1+0.1 which is 2.6 s; after the second heartbeat timeout occurs, the custom heartbeat timeout time is 1.5+2+2 × 2 × 0.1 — 3.9 s.
By adopting the back-off mode, the heartbeat timeout time can be gradually increased step by step after the heartbeat response of the opposite terminal is not received for the first time, so that the defect caused by the fact that the heartbeat response cannot be received due to too short heartbeat timeout time is avoided. If the storage controller A and the storage controller B adopt different adjustment factors, the self-defined heartbeat timeout time selected by the storage controller A and the self-defined heartbeat timeout time selected by the storage controller B are different, and the probability of restarting the opposite terminal simultaneously can be reduced like a random mode. The selection of different adjustment factors is actually setting different granularity of increments for different storage controllers, and in practice, the granularity of increments may also be randomly selected.
Step 205: judging whether the accumulated continuous heartbeat timeout times are larger than or equal to a preset time threshold value or not; if yes, go to step 207; otherwise, step 206 is performed.
For example, the preset number threshold may be set to 2 or 3.
Step 206: after the heartbeat message is sent, judging whether a heartbeat response is received within the current timeout time; if yes, go to step 203; otherwise, step 204 is performed.
Step 207: judging whether the serial port detection is normal or not; if yes, go to step 211; otherwise, step 208 is performed.
The basis for judging whether the serial port detection is normal is as follows: and step 203, recording the serial port detection state.
Step 208: and selecting a service network port without service currently, and sending heartbeat messages to the storage controller B through the selected service network port.
In this step, judging whether a service network port in a non-service state exists, if so, selecting one service network port from the service network ports in the non-service state as a selected service network port; otherwise, the preselected service network port is used as the selected service network port, and the service of the selected service network port is suspended. Before suspending the service of the selected service network port, the IP address of the service port to be suspended is configured to other service network ports, so that the service of the suspended service network port is migrated to other service network ports, and the continuity of the service is ensured.
And when the heartbeat message is sent to the storage controller B through the selected service network port, sending the heartbeat message to the storage controller B by adopting a pre-configured IP address which is in the same network segment with the service network port of the storage controller B.
Step 209: judging whether the service network port receives the heartbeat response of the storage controller B, if so, executing the step 212; otherwise, step 210 is performed.
Step 210: and determining that the storage controller B is abnormal, and restarting the storage controller B according to the service monitoring result in the step 201. The process is ended.
In this step, restarting the storage controller B according to the service monitoring result of step 201 includes:
judging whether a service exists at present according to the service monitoring result in the step 201, if so, restarting the storage controller B, and taking over the service of the storage controller B; otherwise, after waiting for a period of time, restarting the storage controller B and taking over the service of the storage controller B. The waiting time may be set in advance, for example, to 3.5 s.
In the embodiment, under the condition that the self has the service, the opposite terminal is restarted under the assumption that the opposite terminal has no service; and under the condition that the opposite terminal has no service, the opposite terminal is supposed to have no service, the opposite terminal is waited to restart the opposite terminal, the opposite terminal does not restart the opposite terminal, and then the opposite terminal is restarted. The purpose of this is to further reduce the probability that detecting both parties restarting the opposite end at the same time causes the service of both parties to be interrupted.
In the operations of restarting the memory controller B and taking over the service of the memory controller B, the embodiment first restarts the memory controller B and then takes over the service of the memory controller B, and the interval time between the two operations may be short. Since the takeover service is after restarting the opposite end, when both sides determine to restart the opposite end at the same time, such a situation can be avoided: both parties contend for taking over the confusion caused by the resources of the opposite terminal before restarting the opposite terminal.
Step 211: and alarming and detecting the heartbeat through the serial port in the subsequent heartbeat detection.
The purpose of the alarm is to inform the administrator to check the heartbeat detection portal in order to remove the failure of the heartbeat detection portal. And recovering the detection of the heartbeat detection network port after the fault is relieved.
In the subsequent process of detecting the heartbeat through the serial port, trying to perform heartbeat detection through the heartbeat detection network port, and if a heartbeat response is received through the heartbeat detection network port, returning to execute step 203 as shown by a dotted line in fig. 2.
Step 212: and alarming and detecting the heartbeat through the service network port in the subsequent heartbeat detection.
The purpose of warning is to inform the administrator to check the heartbeat detection network port and the serial port so as to relieve the failure of the heartbeat detection network port and the failure of the serial port. And recovering the detection of the heartbeat detection network port and the serial port after the failure is relieved.
In the subsequent process of detecting the heartbeat through the service network port, trying to perform heartbeat detection through the heartbeat detection network port, and if a heartbeat response is received through the heartbeat detection network port, returning to execute step 203 as shown by a dotted line in fig. 2.
This flow ends by this point.
In order to implement the heartbeat detection method of the present invention, an embodiment of the present invention further provides a heartbeat detection device. The heartbeat detection device may be applied in memory controller a and memory controller B of fig. 1.
Fig. 3 is a schematic structural diagram of a heartbeat detection device in an embodiment of the present invention. As shown in fig. 3, the heartbeat detection device includes a heartbeat detection unit 31, a heartbeat detection port unit 32, and n service network ports 33, where n is an integer greater than or equal to 1; wherein,
a heartbeat detecting unit 31, configured to periodically send a heartbeat message to the detection peer through the heartbeat detecting port unit 32, and receive a heartbeat response returned by the detection peer; when the heartbeat response of the opposite end is not detected by the heartbeat detection port unit, selecting a service port 33 without service from the n service ports 33, and sending a heartbeat message to the opposite end through the selected service port 33; and judging whether a heartbeat response of the opposite terminal is received through the selected service network port 33, if so, determining that the opposite terminal is detected to be normal, otherwise, determining that the opposite terminal is detected to be abnormal.
A heartbeat detection port unit 32, configured to send a heartbeat message to the opposite detection end under the control of the heartbeat detection unit 31; and receives the heartbeat response from the opposite detection terminal and sends the heartbeat response to the heartbeat detection unit 31.
A service network port 33, configured to send a heartbeat message to a detection opposite end under the control of the heartbeat detection unit 31; and receives the heartbeat response from the opposite detection terminal and sends the heartbeat response to the heartbeat detection unit 31. When the heartbeat detecting device is applied to the storage controller, the service network port is a network port which is in charge of storing services in the storage controller.
The heartbeat detection device further includes an exception handling unit 34, configured to, when the heartbeat detection unit 31 determines that the opposite end is detected to be abnormal, determine whether a service exists at each service gateway 33 of the device where the heartbeat detection unit is located currently, if so, directly restart the opposite end to be detected, and take over the service of the opposite end to be detected; otherwise, after waiting for a preset time, restarting the detection opposite terminal, and taking over the service of the detection opposite terminal.
The constituent modules in the heartbeat detection port unit 32 are described in detail below.
The heartbeat detecting port unit 32 includes a heartbeat detecting network port 321 and a serial port 322. The heartbeat detection network port 321 and the serial port 322 are both arranged for detecting heartbeat. In this case, as shown in fig. 4, the heartbeat detecting unit 31 specifically includes a heartbeat detecting network port control module 41, a serial port control module 42, a service network port control module 43 and an opposite end state judging module 44, wherein,
the heartbeat detecting network port control module 41 is configured to control the heartbeat detecting network port 321 to periodically send a heartbeat message to the detecting opposite terminal, determine whether a heartbeat response of the detecting opposite terminal is received from the heartbeat detecting network port 321, and send a determination result to the opposite terminal state determining module 44.
Specifically, the heartbeat detection portal control module 41 includes a heartbeat message receiving and sending sub-module and a judgment sub-module; these 2 sub-modules are not shown in fig. 4; wherein,
and the heartbeat message transceiving submodule is configured to control the heartbeat detection network port 321 to periodically send a heartbeat message to the detection opposite terminal, and receive a heartbeat response returned by the detection opposite terminal from the heartbeat detection network port 321.
The judgment submodule judges that the heartbeat is overtime when judging that the heartbeat response of the opposite end is not received within the current heartbeat overtime time, and does not send a judgment result at the moment; when the heartbeat timeout reaches the preset threshold, the heartbeat response of the opposite end that is not received by the heartbeat detection portal 321 is sent to the opposite end state determination module 44 as a determination result. When it is determined that the heartbeat response of the opposite end is detected within the current heartbeat timeout period, the determination result is directly sent to the opposite end state determination module 44.
Wherein the current heartbeat timeout time is set as: when judging that the heartbeat response of the opposite terminal is received within the current heartbeat timeout time, taking the preset heartbeat timeout time as the current heartbeat timeout time for judging whether the heartbeat is overtime next time; and selecting the self-defined heartbeat timeout time different from the current heartbeat timeout time as the current heartbeat timeout time for judging whether the heartbeat is overtime next time every time when the heartbeat is overtime.
And when the self-defined heartbeat timeout time is selected by the judgment submodule, randomly selecting the self-defined heartbeat timeout time in a preset range, or increasing the self-defined heartbeat timeout time on the basis of the current heartbeat timeout time, and taking the increased heartbeat timeout time as the self-defined heartbeat timeout time. Different storage controllers may set different granularity of increments, or randomly select the granularity of increments.
The serial port control module 42 is configured to control the serial port 322 to periodically send a heartbeat message to the opposite end while the heartbeat detection network port 321 sends a heartbeat message, determine whether a heartbeat response of the opposite end is received from the serial port 322, and send a determination result to the opposite end state determination module 44.
An opposite end state judging module 44, configured to notify the service network port control module 43 to perform heartbeat detection when it is determined that neither the heartbeat detection network port 321 nor the serial port 322 receives a heartbeat response of the opposite end according to the judgment results received from the heartbeat detection network port control module 41 and the serial port control module 42; receiving a judgment result sent by the service port control module 43, and when the judgment result shows that the service port 33 can receive a heartbeat response of the opposite terminal, determining that the opposite terminal is detected to be normal; otherwise, determining to detect the anomaly of the opposite terminal.
A service port control module 43, configured to select a service port 33 without service currently from the n service ports 33 when receiving a notification of performing heartbeat detection, and control the selected service port 33 to send a heartbeat message to the opposite detection end; and judging whether a heartbeat response of the opposite terminal is received from the selected service network port 33, and sending the judgment result to the opposite terminal state judgment module 44.
Specifically, the service gateway control module 43 includes a selection sub-module, a service suspension sub-module, and a control sub-module; these 3 sub-modules are not shown in fig. 4. Wherein,
the selection submodule is used for judging whether the equipment has the service network ports 33 in the non-service state, if so, one of the service network ports 33 in the non-service state is selected as the selected service network port, and the selected service network port is notified to the control submodule; otherwise, the preselected service port 33 is used as the selected service port 33, and the service pause submodule is informed;
and the service suspension submodule is used for migrating the service on the selected service network port 33 to other service network ports of the equipment when receiving the notification, stopping the service on the selected service network port at the same time, and then notifying the control submodule.
The control submodule is used for controlling the selected service network port 33 to send heartbeat messages to the detection opposite terminal when receiving the notification; and judging whether a heartbeat response of the opposite terminal is received from the selected service network port 33, and sending the judgment result to the opposite terminal state judgment module 44.
In this embodiment, in order to respond to the heartbeat message, a heartbeat response configuration is performed at the device side that receives the heartbeat message, and when the device receives the heartbeat message, a heartbeat response needs to be returned regardless of whether the heartbeat message comes from the heartbeat detection network port, the serial port, or the service network port.
The heartbeat detection scheme provided by the invention can improve the accuracy of judging the state of the detected party and reduce the probability of restarting the detected party under the non-abnormal condition, thereby reducing the service interruption probability of the detected party under the non-abnormal condition.
In summary, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (11)
1. A heartbeat detection method is applied to a network device with a service network port, and is characterized in that the method comprises the following steps:
the network equipment periodically sends heartbeat messages to a detection opposite terminal through a heartbeat detection port and receives heartbeat responses returned by the detection opposite terminal;
when the heartbeat detection port does not receive a heartbeat response of the detection opposite end, selecting a service network port without service at present, and sending a heartbeat message to the detection opposite end through the selected service network port;
judging whether the selected service network port receives a heartbeat response of the opposite end; if so, determining that the opposite end is detected to be normal; otherwise, determining to detect the abnormality of the opposite terminal;
the heartbeat detection port comprises a heartbeat detection network port and a serial port;
the periodically sending heartbeat messages to the detection opposite terminal through the heartbeat detection port is as follows: the heartbeat detection network port and the serial port are simultaneously transmitted;
judging whether the heartbeat detection port receives heartbeat response of the opposite detection end: when the heartbeat detection network port does not receive the heartbeat response of the detection opposite end, judging whether the heartbeat detection of the serial port is normal or not, and if the heartbeat detection of the serial port is abnormal, judging that the heartbeat detection port does not receive the heartbeat response of the detection opposite end.
2. The method of claim 1, wherein the determining that the heartbeat detection portal has not received a heartbeat response from a detection peer comprises:
when the heartbeat detection port is judged not to receive the heartbeat response of the opposite detection end within the current heartbeat timeout time, judging the heartbeat timeout; when the heartbeat overtime times reach a preset time threshold value, determining that the heartbeat detection internet access does not receive heartbeat response of the opposite end;
the current heartbeat timeout time is set to: when judging that the heartbeat response of the opposite terminal is received within the current heartbeat timeout time, taking the preset heartbeat timeout time as the current heartbeat timeout time for judging whether the heartbeat is overtime next time; and selecting the self-defined heartbeat timeout time different from the current heartbeat timeout time as the current heartbeat timeout time for judging whether the heartbeat is overtime next time every time when the heartbeat is overtime.
3. The method of claim 2, wherein the selecting a custom heartbeat timeout time different from the current heartbeat timeout time is: randomly selecting custom heartbeat timeout time within a preset range;
or the following steps: and increasing the heartbeat timeout time in an increasing mode on the basis of the current heartbeat timeout time, and taking the increased heartbeat timeout time as the user-defined heartbeat timeout time.
4. The method of claim 1, wherein said selecting a service portal that currently has no service comprises: judging whether a current non-service network port exists, if so, selecting one from the current non-service network ports as a selected service network port; otherwise, the preselected service network port is used as the selected service network port, and the service on the selected service network port is transferred to other service network ports of the selected service network port.
5. The method of claim 1, wherein after determining to detect a peer anomaly, the method further comprises:
judging whether a service exists at present, if so, restarting the detection opposite terminal, and taking over the service of the detection opposite terminal; otherwise, after waiting for a preset time, restarting the detection opposite terminal, and taking over the service of the detection opposite terminal.
6. The method of claim 5, wherein the restarting the detecting peer, and taking over the service of the detecting peer, is: and triggering and restarting the operation of the opposite terminal, and then taking over the service of the opposite terminal.
7. A heartbeat detecting device is characterized in that the device comprises a heartbeat detecting unit, a heartbeat detecting port unit and a service network port;
the heartbeat detection unit periodically sends heartbeat messages to the detection opposite terminal through the heartbeat detection port unit and receives heartbeat responses of the detection opposite terminal; when the heartbeat response of the opposite detection end is not received through the heartbeat detection port unit, selecting a service network port without service at present, and sending a heartbeat message to the opposite detection end through the selected service network port; judging whether a heartbeat response of the opposite terminal is received through the selected service network port, if so, determining that the opposite terminal is normal; otherwise, determining to detect the abnormality of the opposite terminal;
the heartbeat detection port unit is used for sending heartbeat messages to the opposite detection end under the control of the heartbeat detection unit; sending a heartbeat response returned by the detection opposite terminal to the heartbeat detection unit;
the service network port is used for sending heartbeat messages to the opposite detection end under the control of the heartbeat detection unit; sending a heartbeat response returned by the detection opposite terminal to the heartbeat detection unit;
the heartbeat detection port unit comprises a heartbeat detection network port and a serial port;
the heartbeat detection unit comprises a heartbeat detection network port control module, a serial port control module, a service network port control module and an opposite end state judgment module;
the heartbeat detection network port control module is used for controlling the heartbeat detection network port to periodically send heartbeat messages to the opposite terminal detection, judging whether heartbeat responses of the opposite terminal detection are received from the heartbeat detection network port or not, and sending a judgment result to the opposite terminal state judgment module;
the serial port control module is used for controlling the serial port to periodically send heartbeat messages to the detection opposite end while the heartbeat detection network port sends heartbeat messages, judging whether heartbeat responses of the detection opposite end are received from the serial port or not, and sending a judgment result to the opposite end state judgment module;
the opposite end state judging module is used for informing the service network port control module to carry out heartbeat detection when determining that neither the heartbeat detection network port nor the serial port receives a heartbeat response of the opposite end according to the judging results received from the heartbeat detection network port control module and the serial port control module; receiving a judgment result sent by the service network port control module, and determining that the opposite end is detected to be normal when the judgment result shows that the service network port can receive the heartbeat response of the opposite end; otherwise, determining to detect the abnormality of the opposite terminal;
the service network port control module is used for selecting a service network port without service at present when receiving the notification, and controlling the selected service network port to send heartbeat messages to the detection opposite terminal; and judging whether the service network port receives a heartbeat response of the opposite terminal, and sending a judgment result to the opposite terminal state judgment module.
8. The device of claim 7, wherein the heartbeat detection portal control module includes a heartbeat messaging sub-module and a determination sub-module;
the heartbeat message receiving and sending submodule is used for controlling the heartbeat detection network port to periodically send heartbeat messages to the detection opposite end and receiving heartbeat responses returned by the detection opposite end from the heartbeat detection network port;
the judgment submodule judges that the heartbeat is overtime when the heartbeat message receiving and sending submodule does not receive heartbeat response within the current heartbeat overtime time; when the heartbeat overtime times reach a preset time threshold, determining that the heartbeat detection internet access does not receive the heartbeat response of the detection opposite end, and sending the heartbeat response of the detection opposite end which is not received as the judgment result to the opposite end state judgment module; when judging that a heartbeat response of the opposite end is received before the current heartbeat timeout time is reached, taking the preset heartbeat timeout time as the current heartbeat timeout time for judging whether the heartbeat is overtime next time; and selecting the self-defined heartbeat timeout time different from the current heartbeat timeout time as the current heartbeat timeout time for judging whether the heartbeat is overtime next time every time when the heartbeat is overtime.
9. The device of claim 8, wherein the determining sub-module is further configured to randomly select the custom heartbeat timeout time within a preset range, or to increment the custom heartbeat timeout time based on the current heartbeat timeout time, and to use the incremented heartbeat timeout time as the custom heartbeat timeout time.
10. The apparatus of claim 7, wherein the service portal control module comprises a selection sub-module, a service suspension sub-module, and a control sub-module;
the selection submodule is used for judging whether the equipment has a current non-service network port, if so, selecting one of the current non-service network ports and informing the selected service network port to the control word module; otherwise, notifying the service pause submodule;
the service pause submodule is used for taking the preselected and selected service network port as the selected service network port when receiving the notification, transferring the service on the selected service network port to other service network ports of the equipment where the service is located, and notifying the selected service network port to the control word module;
the control submodule is used for controlling the selected service network port to send heartbeat messages to the detection opposite terminal when receiving the notification; and judging whether a heartbeat response of the opposite terminal is received from the selected service network port, and sending a judgment result to the opposite terminal state judgment module.
11. The device according to claim 7, further comprising an exception handling unit, configured to, when the heartbeat detecting unit determines that the peer end is detected to be abnormal, determine whether the device currently has a service, if so, restart the detection peer end, and take over the service of the detection peer end; otherwise, after waiting for a preset time, restarting the detection opposite terminal, and taking over the service of the detection opposite terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101184524A CN101345663B (en) | 2008-08-22 | 2008-08-22 | Heartbeat detection method and heartbeat detection apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101184524A CN101345663B (en) | 2008-08-22 | 2008-08-22 | Heartbeat detection method and heartbeat detection apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101345663A CN101345663A (en) | 2009-01-14 |
CN101345663B true CN101345663B (en) | 2010-12-08 |
Family
ID=40247558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101184524A Expired - Fee Related CN101345663B (en) | 2008-08-22 | 2008-08-22 | Heartbeat detection method and heartbeat detection apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101345663B (en) |
Families Citing this family (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101577638B (en) * | 2009-06-04 | 2011-07-13 | 中兴通讯股份有限公司 | Method for testing Ethernet OAM based on telecom network management system and device |
CN102394791A (en) * | 2011-10-26 | 2012-03-28 | 浪潮(北京)电子信息产业有限公司 | Downtime recovery method and system |
CN102546233A (en) * | 2011-11-28 | 2012-07-04 | 中标软件有限公司 | Method for realizing serial heartbeat in high-availability cluster |
CN102802134B (en) * | 2012-08-10 | 2015-10-21 | 中国联合网络通信集团有限公司 | Wireless network disaster recovery method, background server and aggregation gateway |
CN103490943A (en) * | 2013-07-04 | 2014-01-01 | 文杰 | Industrial Ethernet packet loss detection method based on heartbeat signals |
CN103368794A (en) * | 2013-07-30 | 2013-10-23 | 上海斐讯数据通信技术有限公司 | ppp link detection method |
CN103491102A (en) * | 2013-09-30 | 2014-01-01 | 天脉聚源(北京)传媒科技有限公司 | Method, system and device for monitoring stability of internet audio and video |
CN103747330B (en) * | 2013-12-24 | 2017-09-29 | 深圳市九洲电器有限公司 | A kind of program monitoring method, device and receiving terminal for digital television |
CN103763726B (en) * | 2014-02-10 | 2017-08-29 | 杭州友声科技股份有限公司 | A kind of Multifunctional test equipment and coordinating protection method based on ANDROID |
CN104486418A (en) * | 2014-12-16 | 2015-04-01 | 上海斐讯数据通信技术有限公司 | Distributed network equipment and method for monitoring working condition of equipment |
CN106330496A (en) * | 2015-06-24 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for diagnosing network management state, and network side device |
CN105100120B (en) * | 2015-08-31 | 2019-04-12 | 宇龙计算机通信科技(深圳)有限公司 | Monitoring method, device and the terminal of client identification module |
CN106502944B (en) * | 2015-09-08 | 2019-05-07 | 杭州华为数字技术有限公司 | The heartbeat detecting method of computer, PCIE device and PCIE device |
CN106856436A (en) * | 2015-12-09 | 2017-06-16 | 中车大连电力牵引研发中心有限公司 | Onboard wireless transmission method, equipment and system |
WO2018214111A1 (en) * | 2017-05-25 | 2018-11-29 | 深圳市伊特利网络科技有限公司 | Method and system for remote maintenance after network link fault |
CN106992905A (en) * | 2017-05-25 | 2017-07-28 | 深圳市伊特利网络科技有限公司 | Long-distance service method and system after network link failure |
CN107204897A (en) * | 2017-05-25 | 2017-09-26 | 深圳市伊特利网络科技有限公司 | The fault detection method and system of network link |
WO2018214107A1 (en) * | 2017-05-25 | 2018-11-29 | 深圳市伊特利网络科技有限公司 | Network link fault detection method and system |
CN109286514A (en) * | 2017-07-20 | 2019-01-29 | 中兴通讯股份有限公司 | A kind of stacking system keepalive method and stacking system |
CN107395460B (en) * | 2017-08-23 | 2021-08-06 | 台州智奥通信设备有限公司 | Stability detection method of terminal, and statistical method and system of terminal heartbeat frequency |
CN107590050A (en) * | 2017-09-04 | 2018-01-16 | 杭州迪普科技股份有限公司 | A kind of method and device for checking external plug-in unit exception |
CN109991893A (en) * | 2017-12-29 | 2019-07-09 | 深圳市云海物联科技有限公司 | A kind of switch control box |
CN110224880B (en) * | 2018-03-01 | 2021-02-23 | 华为技术有限公司 | Heartbeat monitoring method and monitoring equipment |
CN108901079B (en) * | 2018-06-20 | 2021-03-09 | Oppo(重庆)智能科技有限公司 | Timeout time determination method, device, equipment and storage medium |
CN110808873B (en) * | 2019-10-21 | 2022-02-22 | 锐捷网络股份有限公司 | Method and device for detecting link failure |
CN111490903B (en) * | 2020-04-14 | 2022-08-09 | 广州汇智通信技术有限公司 | Network data acquisition and processing method and device |
CN112511615B (en) * | 2020-11-23 | 2021-11-09 | 东风汽车集团有限公司 | Gateway control method for monitoring whole vehicle network dormancy state in real time |
CN112615821A (en) * | 2020-12-05 | 2021-04-06 | 江苏秉信科技有限公司 | Cross-safety-zone real-time remote information acquisition method |
CN112994988B (en) * | 2021-05-10 | 2021-08-27 | 宁波均联智行科技股份有限公司 | Heartbeat detection method among multiple operating systems and vehicle-mounted computer system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141327A (en) * | 2007-10-11 | 2008-03-12 | 中兴通讯股份有限公司 | Method for detecting network node abnormality |
CN101188527A (en) * | 2007-12-24 | 2008-05-28 | 杭州华三通信技术有限公司 | A heartbeat detection method and device |
-
2008
- 2008-08-22 CN CN2008101184524A patent/CN101345663B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141327A (en) * | 2007-10-11 | 2008-03-12 | 中兴通讯股份有限公司 | Method for detecting network node abnormality |
CN101188527A (en) * | 2007-12-24 | 2008-05-28 | 杭州华三通信技术有限公司 | A heartbeat detection method and device |
Also Published As
Publication number | Publication date |
---|---|
CN101345663A (en) | 2009-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101345663B (en) | Heartbeat detection method and heartbeat detection apparatus | |
CN101800675B (en) | Failure monitoring method, monitoring equipment and communication system | |
US11765018B2 (en) | Control plane device switching method and apparatus, and forwarding-control separation system | |
US9853855B2 (en) | Stand-by controller assisted failover | |
RU2598794C2 (en) | Method and device for determination of eliminating failure based on protocol of operation, administration and maintenance (oam) | |
CN111078453B (en) | Method, device, computer equipment and storage medium for automatically fusing and recovering micro-service | |
CN109274544B (en) | Fault detection method and device for distributed storage system | |
CN103812675A (en) | Method and system for realizing allopatric disaster recovery switching of service delivery platform | |
CN104065526B (en) | A kind of method and apparatus of server failure alarm | |
CN104717083B (en) | A kind of disaster tolerance switching system, the method and device of A-SBC equipment | |
CN104518914B (en) | Link switch-over method and equipment | |
CN110072244B (en) | Control method and device of radio link failure timer | |
WO2013127164A1 (en) | Method for triggering bypass equipment switching, and bypass equipment switching method and device | |
CN112203316B (en) | Network anomaly recovery method and device, electronic equipment and storage medium | |
WO2023083079A1 (en) | System, method and apparatus for monitoring third-party system, and device and storage medium | |
EP3761694A1 (en) | Data transmission method and device | |
CN110768848B (en) | Method and device for switching main server and standby server | |
JP6421516B2 (en) | Server device, redundant server system, information takeover program, and information takeover method | |
CN107682188B (en) | Fault sensing method and device | |
WO2014040470A1 (en) | Alarm message processing method and device | |
CN107819648B (en) | Method and device for detecting NETCONF connection of network configuration | |
CN112636999A (en) | Port detection method and network monitoring system | |
JP2009187428A (en) | Security system | |
CN110601972A (en) | Message transmission method and device and intelligent elastic architecture system | |
CN115174356B (en) | Cluster alarm reporting method, device, equipment and medium |
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 | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101208 Termination date: 20200822 |
|
CF01 | Termination of patent right due to non-payment of annual fee |