CN113395190B - Express cabinet terminal fault detection method and device, computer equipment and storage medium - Google Patents

Express cabinet terminal fault detection method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113395190B
CN113395190B CN202110935662.8A CN202110935662A CN113395190B CN 113395190 B CN113395190 B CN 113395190B CN 202110935662 A CN202110935662 A CN 202110935662A CN 113395190 B CN113395190 B CN 113395190B
Authority
CN
China
Prior art keywords
express cabinet
cabinet terminal
terminal
message
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110935662.8A
Other languages
Chinese (zh)
Other versions
CN113395190A (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.)
Nanjing Cloud Cabinet Network Technology Co ltd
Original Assignee
Nanjing Cloud Cabinet Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Cloud Cabinet Network Technology Co ltd filed Critical Nanjing Cloud Cabinet Network Technology Co ltd
Priority to CN202110935662.8A priority Critical patent/CN113395190B/en
Publication of CN113395190A publication Critical patent/CN113395190A/en
Application granted granted Critical
Publication of CN113395190B publication Critical patent/CN113395190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/10Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property

Abstract

The invention relates to the technical field of express cabinet systems, and discloses a method, a device, computer equipment and a storage medium for detecting express cabinet terminal faults.

Description

Express cabinet terminal fault detection method and device, computer equipment and storage medium
Technical Field
The invention belongs to the technical field of express cabinet systems, and particularly relates to a method and a device for detecting express cabinet terminal faults, computer equipment and a storage medium.
Background
Along with the rapid development of express delivery business, the intelligent express delivery cabinet is a new thing along with the continuous development of express delivery business. The intelligent express cabinet has the functions of mainly assisting couriers in receiving and sending express, and the facing users are vast couriers and recipients. As a 24-hour unattended express temporary storage cabinet, the intelligent express cabinet interacts with a server through an Internet of things card and is used as an application of the Internet of things technology in the modern logistics industry, the intelligent express cabinet is the most effective solution for the last kilometer of electronic commerce terminal logistics, the delivery efficiency of couriers is improved, the delivery cost is reduced, the privacy and the safety of users are guaranteed, and the intelligent express cabinet is gradually and widely recognized and popularized.
The intelligent express cabinet network system comprises a server and a plurality of express cabinet terminals, and the stability of the server directly determines the stability of the whole intelligent express cabinet network system. Meanwhile, the internal network is used as a cornerstone of the intelligent express cabinet network system, and the stability of the internal network is directly related to the stability of the intelligent express cabinet network system. As a system for continuously providing services for 24 hours and using the services at high frequency, the characteristics of the intelligent express cabinet network system, such as system complexity, 7 × 24 hour continuous serviceability, high voltage and the like, determine that a plurality of system modules and a complex system architecture are determined, and it is a very challenging matter how to maintain such a large and complex system to enable the system to operate safely, efficiently and stably.
When the express cabinet terminal is abnormal due to a fault, the network service between the server and the express cabinet terminal is unstable, so that how to enable the server to find that the operation state of the express cabinet terminal is abnormal and recover to normal as soon as possible, so that measures can be adopted or faults can be shielded in time, and further the network service is ensured to continue to be carried out, which is a problem to be solved urgently in the current express cabinet system technology.
Disclosure of Invention
In order to solve the problem how to enable a server to discover that the running state of an express cabinet terminal is abnormal as soon as possible and recover from the abnormal running state, the invention aims to provide a method, a device, computer equipment and a storage medium for detecting the fault of the express cabinet terminal, which can detect whether the running state of the express cabinet terminal is abnormal or not as soon as possible based on a constructed Bidirectional Forwarding Detection (BFD) session so that an upper protocol end of the server can discover whether the running state of the express cabinet terminal is normal or not so as to timely recover interrupted network service when the express cabinet terminal is normal or not, thereby ensuring the continuous running of the network service, further reducing the influence of faulty equipment on the service and improving the network availability.
In a first aspect, the present invention provides a method for detecting a terminal fault of an express delivery cabinet, which is applied to a server side, and includes:
establishing a Bidirectional Forwarding Detection (BFD) session with an express cabinet terminal;
regularly sending a first detection message for detecting the running state of the terminal to the express cabinet terminal through the BFD session so that the express cabinet terminal returns a first response message corresponding to the first detection message;
if the first response message is received before the first preset time is reached, judging whether the running state of the express cabinet terminal is normal or not according to the first response message, otherwise, when the first preset time is reached, removing the BFD session, and then transmitting first notification information for indicating that the express cabinet terminal is not reachable at present to an upper protocol end, wherein the first preset time represents the time after waiting for a first preset receiving time from the time of sending the first detection message;
if the operation state of the express cabinet terminal is judged to be normal according to the first response message, transmitting second notification information for indicating that the express cabinet terminal can be reached currently to the upper protocol terminal, otherwise, transmitting the first notification information to the upper protocol terminal, and simultaneously transmitting a second detection message for detecting whether the operation state of the terminal is recovered to be normal to the express cabinet terminal through the BFD session after waiting for a preset silent duration so that the express cabinet terminal returns a second response message corresponding to the second detection message;
if the second response message is received before the second preset time, judging whether the running state of the express cabinet terminal is recovered to normal or not according to the second response message, otherwise, removing the BFD session when the second preset time is reached, wherein the second preset time represents the time after waiting for a second preset receiving time length from the time of sending the second detection message;
and if the running state of the express cabinet terminal is judged to be recovered to be normal according to the second response message, transmitting the second notification message to the upper protocol terminal, otherwise, after waiting for a preset unit time length, transmitting the second detection message to the express cabinet terminal again through the BFD session until the BFD session is removed or the second notification message is transmitted to the upper protocol terminal.
Based on the content of the invention, a bidirectional forwarding detection BFD session with an express cabinet terminal can be established firstly, then whether the running state of the express cabinet terminal is abnormal or not is detected based on a BFD session mechanism, and whether the running state of the express cabinet terminal is recovered to be normal or not is further detected based on the BFD session mechanism when the abnormal state occurs, so that an upper protocol end of a server can find that the running state of the express cabinet terminal is abnormal or recovered to be normal as soon as possible, measures can be adopted or faults can be shielded in time when the abnormal state occurs, interrupted network services can be recovered in time when the normal state is recovered, the continuous operation of the network services is ensured, the influence of faulty equipment on the services can be reduced finally, and the network availability is improved. In addition, faults of the express cabinet terminal and a physical line between the express cabinet terminal and the terminal can be sensed quickly, and decision conditions are provided for an upper protocol end; providing a cross-platform fault detection means for the server and the express cabinet terminal; compared with a Hello message detection mechanism in a general routing protocol, the method can provide millisecond monitoring; and because the detection function can independently operate, the detection function can be applied and used by any third party, and the detection function has the characteristic of flexible application and is convenient for practical application and popularization.
In one possible design, sending a first detection packet for detecting a terminal operating state to the express cabinet terminal through the BFD session, so that the express cabinet terminal returns a first response packet corresponding to the first detection packet, includes:
sending a first Echo request Echo message serving as a first detection message to the express cabinet terminal, so that the express cabinet terminal returns a first Echo response Echo message corresponding to the first Echo request Echo message and serving as a first response message after receiving the first Echo request Echo message, wherein the first Echo request Echo message represents a terminal operating state for detection by a version field set to a first numerical value, the first Echo response Echo message represents that the express cabinet terminal is in a normal operating state by the version field set to the first numerical value and a status field set to a numerical value of "3", and the first Echo response Echo message represents that the express cabinet terminal is in an abnormal operating state by the version field set to the first numerical value, a diagnostic field set to a second numerical value and a status field set to a numerical value of "2", the first numerical value is any value in natural numbers of 2-7, the second numerical value is any value in natural numbers of 9-31, and the second numerical value is used for indicating that the reason that the BFD session state of the express cabinet terminal is changed from an online Up state to an initialization Init state at the last time is that the operation state of the express cabinet terminal is changed from a normal state to an abnormal state;
judging whether the operation state of the express cabinet terminal is normal according to the first response message, including:
and judging whether the first Echo response Echo message carries a state field set as a numerical value of 2, if so, judging that the operation state of the express cabinet terminal is abnormal, and otherwise, judging that the operation state of the express cabinet terminal is normal.
In one possible design, after waiting for a preset silent duration, sending a second detection message for detecting whether the terminal operation state is normal or not to the express cabinet terminal through the BFD session, so that the express cabinet terminal returns a second response message corresponding to the second detection message, including:
converting the BFD session state of the local server end from an online Up state to an initialization Init state;
after waiting for the preset silent duration, sending a second Echo request Echo message serving as a second detection message to the express cabinet terminal, so that the express cabinet terminal returns a second Echo response Echo message corresponding to the second Echo request Echo message and serving as a second response message after receiving the second Echo request Echo message, where the second Echo request Echo message represents whether the operation state of the terminal is recovered to normal or not by a version field set to the first value, a diagnosis field set to the second value, and a state field set to "2", the second Echo response Echo message represents that the operation state of the express cabinet terminal is recovered to normal by a version field set to the first value and a state field set to "3", and the second Echo response Echo message represents that the express cabinet terminal is recovered to normal by a version field set to the first value and a state field set to "2 The running state of the terminal is still abnormal;
judging whether the operation state of the express cabinet terminal is recovered to be normal according to the second response message, including:
and judging whether the second Echo response Echo message carries a state field set as a numerical value of '3', if so, judging that the operation state of the express cabinet terminal is recovered to be normal, and otherwise, judging that the operation state of the express cabinet terminal is still abnormal.
In one possible design, after determining that the operation state of the express delivery cabinet terminal is restored to normal, the method further includes:
and converting the BFD session state of the local server end from the initialization Init state to an online Up state.
In one possible design, before waiting for the preset silence period, the method further includes:
inquiring and acquiring at least one piece of history information corresponding to the express cabinet terminal from a preset history database, wherein the history information comprises a recovery waiting time length recorded in a recovery waiting process for the express cabinet terminal, and the recovery waiting time length represents a time length from a moment when the running state of the express cabinet terminal is found to be abnormal to a moment when the running state of the express cabinet terminal is found to be normal in the corresponding recovery waiting process;
determining the shortest recovery waiting time according to the at least one piece of historical record information;
and taking the calculation result of subtracting the preset unit time length from the shortest recovery waiting time length as the preset silent time length.
In one possible design, before waiting for the preset silence period, the method further includes:
inquiring and acquiring at least one piece of history information corresponding to the express cabinet terminal from a preset history database, wherein the history information comprises a recovery waiting time length recorded in a recovery waiting process for the express cabinet terminal, and the recovery waiting time length represents a time length from a moment when the running state of the express cabinet terminal is found to be abnormal to a moment when the running state of the express cabinet terminal is found to be normal in the corresponding recovery waiting process;
determining the shortest recovery waiting time according to the at least one piece of historical record information;
and taking a calculation result obtained by subtracting N preset unit time lengths from the shortest recovery waiting time length as the preset silence time length, wherein N represents the number of the historical record information pieces corresponding to the shortest recovery waiting time length in the at least one piece of historical record information.
In one possible design, before waiting for the preset silence period, the method further includes:
inquiring and acquiring at least one piece of history information corresponding to the express cabinet terminal from a preset history database, wherein the history information comprises a recovery waiting time length recorded in a recovery waiting process for the express cabinet terminal, and the recovery waiting time length represents a time length from a moment when the running state of the express cabinet terminal is found to be abnormal to a moment when the running state of the express cabinet terminal is found to be normal in the corresponding recovery waiting process;
according to the at least one piece of historical record information, calculating the average value and the standard deviation of the recovery waiting time;
and taking the calculation result of subtracting the standard deviation and the preset unit time length from the average value as the preset silent time length.
In a second aspect, the invention provides an express delivery cabinet terminal fault detection device, which is arranged at a server side and comprises a session establishing module, a timing sending module, a first transceiving module, a first sending module, a second transceiving module and a second sending module;
the session establishing module is used for establishing a Bidirectional Forwarding Detection (BFD) session with the express cabinet terminal;
the timing sending module is in communication connection with the session establishing module and is used for sending a first detection message for detecting the running state of the terminal to the express cabinet terminal through the BFD session at a fixed time so that the express cabinet terminal can return a first response message corresponding to the first detection message;
the first transceiver module is in communication connection with the session establishment module, and is configured to determine whether an operation state of the express cabinet terminal is normal according to the first response message if the first response message is received before a first preset time arrives, and otherwise, remove the BFD session when the first preset time arrives, and transmit first notification information indicating that the express cabinet terminal is not reachable at present to an upper protocol end, where the first preset time represents a time after waiting for a first preset receiving duration from a time when the first detection message is sent;
the first sending module is respectively in communication connection with the session establishing module and the first transceiving module, and is configured to transmit second notification information to the upper protocol end when the operation state of the express cabinet terminal is determined to be normal according to the first response message, where the second notification information is used to indicate that the express cabinet terminal can be reached currently, and otherwise, transmit the first notification information to the upper protocol end, and simultaneously transmit a second detection message for detecting whether the operation state of the terminal is normal or not to the express cabinet terminal through the BFD session after waiting for a preset silent duration, so that the express cabinet terminal returns a second response message corresponding to the second detection message;
the second transceiver module is in communication connection with the session establishing module, and is configured to determine whether the operation state of the express cabinet terminal is normal according to the second response message if the second response message is received before a second preset time arrives, and otherwise, remove the BFD session when the second preset time arrives, where the second preset time indicates a time after waiting for a second preset receiving duration from a time when the second detection message is sent;
and the second sending module is respectively in communication connection with the session establishing module and the second transceiving module, and is configured to transmit the second notification message to the upper protocol end when it is determined that the operation state of the express cabinet terminal is restored to normal according to the second response message, or transmit the second detection message to the express cabinet terminal again through the BFD session after waiting for a preset unit time length until the BFD session is removed or the second notification message is transmitted to the upper protocol end.
In a third aspect, the present invention provides a computer device comprising a memory, a processor and a transceiver communicatively connected in sequence, wherein the memory is used for storing a computer program, the transceiver is used for transmitting and receiving information, and the processor is used for reading the computer program and executing the method as described in the first aspect or any one of the possible designs of the first aspect.
In a fourth aspect, the present invention provides a storage medium having stored thereon instructions for carrying out the method according to the first aspect or any one of the possible designs of the first aspect, when the instructions are run on a computer.
In a fifth aspect, the present invention provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method as described above in the first aspect or any one of the possible designs of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow diagram of a method for detecting a fault of a terminal of an express delivery cabinet provided by the invention.
Fig. 2 is a schematic diagram of a partial structure of Echo packet in bidirectional forwarding detection BFD session according to the present invention.
Fig. 3 is a schematic structural diagram of the express cabinet terminal fault detection device provided by the invention.
Fig. 4 is a schematic structural diagram of a computer device provided by the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific embodiments. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. Specific structural and functional details disclosed herein are merely representative of exemplary embodiments of the invention. This invention may, however, be embodied in many alternate forms and should not be construed as limited to the embodiments set forth herein.
It will be understood that, although the terms first, second, etc. may be used herein to describe various objects, these objects should not be limited by these terms. These terms are only used to distinguish one object from another. For example, a first object may be referred to as a second object, and similarly, a second object may be referred to as a first object, without departing from the scope of example embodiments of the present invention.
It should be understood that, for the term "and/or" as may appear herein, it is merely an associative relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, B exists alone or A and B exist at the same time; for the term "/and" as may appear herein, which describes another associative object relationship, it means that two relationships may exist, e.g., a/and B, may mean: a exists singly or A and B exist simultaneously; in addition, for the character "/" that may appear herein, it generally means that the former and latter associated objects are in an "or" relationship.
As shown in fig. 1 to 2, the method for detecting a fault of an express delivery cabinet terminal provided in the first aspect of this embodiment may be, but is not limited to, executed by a server in an intelligent express delivery cabinet network system, so that after a bidirectional forwarding detection BFD session between the server and the express delivery cabinet terminal is established, an upper protocol end of the server can find that an operation state of the express delivery cabinet terminal is abnormal and returns to normal as soon as possible based on the BFD session mechanism, thereby implementing a measure to be taken in time or shielding a fault, and ensuring that a network service continues to be performed. The express cabinet terminal fault detection method is applied to a lower protocol end of a server, and can include, but is not limited to, the following steps S1-S6.
S1, establishing a Bidirectional Forwarding Detection (BFD) session with an express cabinet terminal.
In step S1, the express cabinet terminal is any intelligent express cabinet that can be communicatively connected to the server in the intelligent express cabinet network system. BFD is an abbreviation for Bidirectional Forwarding Detection (chinese translation to Bidirectional Forwarding Detection), a network protocol for detecting failures between two Forwarding points, and is described in detail in RFC 5880. BFD is a bidirectional forwarding detection mechanism, can provide millisecond detection and can realize rapid detection of a link, and can realize rapid convergence of a route and ensure the continuity of services by linking with an upper layer routing protocol, so that a BFD session mechanism can be introduced into the intelligent express cabinet network system, and the server can detect whether the running state of the express cabinet terminal is abnormal or not and whether the running state of the express cabinet terminal is normal or not. In addition, the establishment process of the BFD session is an existing conventional manner, for example, the BFD session with the express cabinet terminal is established through a three-way handshake process.
S2, regularly sending a first detection message for detecting the operation state of the terminal to the express cabinet terminal through the BFD session so that the express cabinet terminal returns a first response message corresponding to the first detection message.
In the step S2, a specific timing transmission manner may be, but is not limited to, transmitting the first probe packet at intervals of 10 minutes, 30 minutes, or 1 hour. Considering that the operation modes of the BFD session include a control message mode and an Echo message mode, the former means that the sessions at two ends of the link monitor the link state through control message interaction, and the latter means that one end of the link transmits Echo message to the other end and then the other end forwards the Echo message back to realize bidirectional monitoring of the link, so that after the BFD session mechanism is introduced to the intelligent express cabinet network system, the Echo message mode can be preferably adopted to enable the server to sense whether the operation state of the express cabinet terminal is abnormal, namely, a first detection message for detecting the operation state of the terminal is transmitted to the express cabinet terminal through the BFD session so that the express cabinet terminal can return a first response message corresponding to the first detection message, including but not limited to the following steps of transmitting a first Echo request Echo message for being the first detection message to the express cabinet terminal, so that the express cabinet terminal returns a first Echo response Echo message corresponding to the first Echo request Echo message and serving as a first response message after receiving the first Echo request Echo message, wherein the first Echo request Echo message represents a terminal operating state by a version field set to a first numerical value, the first Echo response Echo message represents that the express cabinet terminal is in a normal operating state by a version field set to the first numerical value and a state field set to a numerical value of "3", the first Echo response Echo message represents that the express cabinet terminal is in an abnormal operating state by a version field set to the first numerical value, a diagnostic field set to a second numerical value and a state field set to a numerical value of "2", and the first numerical value is any value in natural numbers of 2-7, the second value is any value in natural numbers 9-31, and the second value is used for indicating that the reason why the BFD session state of the express cabinet terminal is switched from the online Up state to the initialization Init state at the last time is that the operation state of the express cabinet terminal is switched from normal to abnormal.
As shown in fig. 2, consider that an Echo packet in a BFD session protocol includes a version field, a diagnostic field, a status field, and other optional fields, and an authentication data field, where the field length of the version field is 3 bits, which is used to indicate the BFD protocol version number of the Echo packet and is currently 1 (i.e., 2 to 7 are reserved); the field length of the diagnosis field is 5 bits, which is used for indicating the reason that the last BFD session state of the local BFD system is switched to other states from an on-line Up state, and different reasons (namely 9-31 reservation) are respectively represented by natural numbers of 0-8 at present; the field length of the status field is 2 bits for indicating the current BFD session status of the local BFD system: 0- -manage Down state, 1- -Down state, 2- -initialize Init state, and 3- -Up state. Therefore, the value can be arbitrarily selected from natural numbers 2-7 to obtain the first numerical value, and the version field set as the first numerical value represents that the first Echo request Echo message is used for detecting the terminal running state; and obtaining the second numerical value by taking any value from natural numbers 9-31, and further showing that the first Echo response Echo message responds to the first Echo request Echo message by a version field set as the first numerical value, a diagnosis field set as the second numerical value and a state field set as a numerical value of '2', and showing that the operation state of the express delivery cabinet terminal is abnormal. In addition, software and firmware upgrading needs to be performed on the express cabinet terminal in advance, so that when the operation state of the express cabinet terminal is converted from normal to abnormal, the BFD session state of the local BFD system is converted from the online Up state to the initialization Init state, and after receiving the first Echo request Echo message with the value of "3" in the state field, if the BFD session state of the local BFD system is still in the abnormal state, the BFD session state of the local BFD system is not converted from the initialization Init state to the online Up state, otherwise, the BFD session state of the local BFD system is converted from the initialization Init state to the online Up state, and the first Echo response Echo message can be returned based on the existing BFD session mechanism.
S3, if the first response message is received before the first preset time, judging whether the running state of the express cabinet terminal is normal or not according to the first response message, otherwise, when the first preset time is reached, removing the BFD session, and then transmitting first notification information for indicating that the express cabinet terminal is not reachable at present to an upper protocol end, wherein the first preset time represents the time after waiting for a first preset receiving time from the time of sending the first detection message.
In step S3, the first preset receiving duration may be, for example, 3 minutes, and if the first response packet is not received after time out, it indicates that a communication link fails or the express cabinet terminal has been halted, and at this time, the server may not reach the express cabinet terminal, so that the BFD session may be torn down in a conventional session teardown manner, and then the first notification information is transmitted to the upper protocol end, so as to timely notify the upper protocol end that a communication link failure has occurred or the express cabinet terminal has been halted. And if the first response message is received before the first preset time is reached, judging whether the operation state of the express cabinet terminal is normal according to the first response message, specifically including but not limited to: and judging whether the first Echo response Echo message carries a state field set as a numerical value of 2, if so, judging that the operation state of the express cabinet terminal is abnormal, and otherwise, judging that the operation state of the express cabinet terminal is normal.
And S4, if the operation state of the express cabinet terminal is judged to be normal according to the first response message, transmitting second notification information for indicating that the express cabinet terminal can be reached currently to the upper protocol terminal, otherwise, transmitting the first notification information to the upper protocol terminal, and simultaneously, after waiting for a preset silent duration, transmitting a second detection message for detecting whether the operation state of the terminal is recovered to be normal to the express cabinet terminal through the BFD session so that the express cabinet terminal returns a second response message corresponding to the second detection message.
In the step S4, if it is determined that the operation state of the express cabinet terminal is abnormal according to the first response packet, the upper protocol side may be notified through the first notification message, and an abnormal operation condition occurs at the express cabinet terminal, so as to wait for automatic recovery of the terminal or manual on-site recovery of a person assigned to the express cabinet terminal. Similarly, it may be preferable to adopt an Echo message manner to enable the server to sense whether the operation state of the express cabinet terminal is recovered to normal, that is, after waiting for a preset silent duration, send a second detection message for detecting whether the operation state of the terminal is recovered to normal to the express cabinet terminal through the BFD session, so that the express cabinet terminal returns a second response message corresponding to the second detection message, including: firstly, converting a BFD session state of a local server end from an online Up state to an initialization Init state; then after waiting for the preset silent duration, sending a second Echo request Echo message to the express cabinet terminal, so that the express cabinet terminal returns a second Echo response Echo message corresponding to the second Echo request Echo message after receiving the second Echo request Echo message, wherein the second Echo request Echo message is used for detecting whether the operation state of the terminal is recovered to normal or not through a version field set to the first value, a diagnosis field set to the second value, and a status field set to "2", the second Echo response Echo message indicates that the operation state of the express cabinet terminal is restored to normal through the version field set to the first numerical value and the status field set to "3", and the second Echo response Echo message indicates that the operation state of the express cabinet terminal is still abnormal through the version field set as the first numerical value and the state field set as '2'. After the express cabinet terminal is upgraded in advance, and after receiving the second Echo request Echo message with the status field value of 2, if the express cabinet terminal is still in an abnormal state, the BFD session state of the local BFD system is not converted from the initialization Init state to the online Up state, otherwise, the BFD session state of the local BFD system is converted from the initialization Init state to the online Up state, so that the second Echo response Echo message can be returned based on the existing BFD session mechanism. Furthermore, the preset silent period may be a fixed value, for example, 1 minute.
S5, if the second response message is received before the second preset time, judging whether the running state of the express cabinet terminal is recovered to be normal or not according to the second response message, otherwise, when the second preset time is reached, removing the BFD session, wherein the second preset time represents the time after waiting for a second preset receiving time from the time of sending the second detection message.
In the step S5, the second preset receiving duration may also be, for example, 3 minutes, and if the second response packet is not received after time out, it indicates that a communication link fails or the express cabinet terminal is halted, and at this time, the server may not reach the express cabinet terminal, so the BFD session may be removed in a conventional session removal manner (since the upper protocol end is notified by the first notification information in advance, the express cabinet terminal is not reachable at present, and thus the first notification information is not sent any more). And if the second response message is received before the second preset time is reached, judging whether the operation state of the express cabinet terminal is recovered to be normal according to the second response message, specifically including but not limited to: and judging whether the second Echo response Echo message carries a state field set as a numerical value of '3', if so, judging that the operation state of the express cabinet terminal is recovered to be normal, and otherwise, judging that the operation state of the express cabinet terminal is still abnormal. In addition, after the operation state of the express delivery cabinet terminal is judged to be recovered to be normal, the method further comprises the following steps: and converting the BFD session state of the local server end from the initial Init state into an online Up state, so that the BFD session states of the server end and the express cabinet terminal can be restored to the normal online Up state again, and the first detection message can be sent to the express cabinet terminal through the BFD session continuously at regular time next time.
S6, if the running state of the express cabinet terminal is judged to be recovered to be normal according to the second response message, transmitting the second notification message to the upper protocol terminal, otherwise, after waiting for a preset unit time length, transmitting the second detection message to the express cabinet terminal again through the BFD session until the BFD session is removed or the second notification message is transmitted to the upper protocol terminal.
In step S6, if it is determined that the operation state of the express cabinet terminal is still abnormal according to the second response packet, the detection is continued through the second detection packet after waiting for a preset unit time duration until the BFD session is removed or the operation state is restored to normal. Further, the preset unit time period may be, for example, 1 minute.
Therefore, according to the express cabinet terminal fault detection scheme described in detail in the foregoing steps S1 to S6, a bidirectional forwarding detection BFD session with the express cabinet terminal may be established first, then whether the operation state of the express cabinet terminal is abnormal or not is detected based on a BFD session mechanism, and when the operation state of the express cabinet terminal is abnormal or not is detected based on the BFD session mechanism, further, an upper protocol end of the server may find that the operation state of the express cabinet terminal is abnormal or normal, so that a measure or a fault may be timely taken or shielded when the operation state is abnormal, and an interrupted network service may be timely recovered when the operation state is normal, thereby ensuring the continuation of the network service, finally reducing the influence of a faulty device on the service, and improving the network availability. In addition, faults of the express cabinet terminal and a physical line between the express cabinet terminal and the terminal can be sensed quickly, and decision conditions are provided for an upper protocol end; providing a cross-platform fault detection means for the server and the express cabinet terminal; compared with a Hello message detection mechanism in a general routing protocol, the method can provide millisecond monitoring; and because the detection function can independently operate, the detection function can be applied and used by any third party, and the detection function has the characteristic of flexible application and is convenient for practical application and popularization.
On the basis of the technical solution of the first aspect, this embodiment further specifically provides a first possible design for dynamically setting the preset silent duration, that is, before waiting for the preset silent duration, the method further includes, but is not limited to, the following steps S411 to S413.
S411, at least one piece of history information corresponding to the express cabinet terminal is obtained through inquiry from a preset history database, wherein the history information comprises a recovery waiting time length recorded in a recovery waiting process for the express cabinet terminal, and the recovery waiting time length represents a time length from a moment when the running state of the express cabinet terminal is found to be abnormal to a moment when the running state of the express cabinet terminal is found to be recovered to be normal in the corresponding recovery waiting process.
In the step S411, for example, if it is determined at point 10 that the operation state of the express cabinet terminal is abnormal according to the first response packet at point 15, and it is determined at point 10 that the operation state of the express cabinet terminal is recovered to be normal according to the second response packet at point 38, the recovery waiting time is 23 minutes, and a piece of history information is obtained by recording.
S412, determining the shortest recovery waiting time according to the at least one piece of historical record information.
In the step S412, if the at least one history information record has a recovery waiting time period of 15 minutes, 18 minutes, 20 minutes, 21 minutes, 22 minutes, 23 minutes, 25 minutes, 30 minutes, or the like, the shortest recovery waiting time period may be determined to be 15 minutes.
And S413, taking the calculation result of subtracting the preset unit time length from the shortest recovery waiting time length as the preset silent time length.
In the step S413, if the preset unit time length is 1 minute, the preset silent time length may be set to 14 minutes.
Therefore, after the operation state of the express cabinet terminal is found to be abnormal, the express cabinet terminal cannot be restored to normal immediately due to various reasons (for example, a certain time is needed for manual field restoration when a person is dispatched to the position of the express cabinet terminal), a purpose of determining a preset silent duration with a proper length based on the recovery waiting duration recorded in the history can be realized through the possible design one described in detail in the steps S411 to S413, so that the terminal can be found to be restored to normal in time, the sending times of the second detection message can be reduced (namely, the second detection message is not needed to be sent once every minute at the initial stage of whether the detection is restored to normal or not), the interaction efficiency at two ends of the link is improved, and the electric energy wasted by delivering an invalid message is saved.
In this embodiment, on the basis of the technical solution of the first aspect, a second possible design for dynamically setting the preset silent duration is further specifically provided, that is, before waiting for the preset silent duration, the method further includes, but is not limited to, the following steps S421 to S423.
S421, at least one piece of history information corresponding to the express cabinet terminal is obtained through inquiry from a preset history database, wherein the history information includes a recovery waiting time length recorded in a recovery waiting process for the express cabinet terminal, and the recovery waiting time length represents a time length from a moment when the running state of the express cabinet terminal is found to be abnormal to a moment when the running state of the express cabinet terminal is found to be recovered to be normal in the corresponding recovery waiting process.
S422, determining the shortest recovery waiting time according to the at least one piece of historical record information.
And S423, taking a calculation result obtained by subtracting N preset unit durations from the shortest recovery waiting duration as the preset silent duration, wherein N represents the number of the historical record information corresponding to the shortest recovery waiting duration in the at least one piece of historical record information.
In the step S423, if 3 pieces of the at least one piece of history information record the shortest recovery waiting time of 15 minutes and the preset unit time of 1 minute, the preset silent time may be set to 12 minutes.
Therefore, through the second possible design detailed in the foregoing steps S421 to S423, the purpose of determining a preset silent duration with an appropriate length based on the recovery waiting duration of the history record can also be achieved, so that the terminal can be found to be recovered to normal in time, and the sending frequency of the second detection packet can be reduced (i.e., the second detection packet is not sent every minute at the initial stage of detecting whether to recover to normal), thereby improving the interaction efficiency at both ends of the link and saving the electric energy wasted by delivering the invalid packet.
In this embodiment, on the basis of the technical solution of the first aspect, a third possible design for dynamically setting the preset silent duration is further specifically provided, that is, before waiting for the preset silent duration, the method further includes, but is not limited to, the following steps S431 to S433.
S431, at least one piece of history information corresponding to the express cabinet terminal is obtained through inquiry from a preset history database, wherein the history information comprises a recovery waiting time length recorded in a recovery waiting process for the express cabinet terminal, and the recovery waiting time length represents a time length from a moment when the running state of the express cabinet terminal is found to be abnormal to a moment when the running state of the express cabinet terminal is found to be recovered to be normal in the corresponding recovery waiting process.
And S432, counting the average value and the standard deviation of the recovery waiting time according to the at least one piece of historical record information.
And S433, taking a calculation result of subtracting the standard deviation from the average value and the preset unit time length as the preset silent time length.
Through the third possible design described in detail in the foregoing steps S431 to S433, the purpose of determining a preset silent duration with an appropriate length based on the recovery waiting duration of the history record can also be achieved, so that the terminal can be found to be recovered to normal in time, and the number of times of sending the second detection packet (that is, the second detection packet is sent at an interval of one minute at the initial stage of detecting whether to recover to normal) can be reduced, thereby improving the interaction efficiency at both ends of the link and saving the electric energy wasted by delivering the invalid packet.
As shown in fig. 3, a second aspect of this embodiment provides a virtual device for implementing the first aspect or any one of the first aspects that may be designed for the method for detecting a fault of a terminal of an express delivery cabinet, where the virtual device is arranged at a server and includes a session establishing module, a timing sending module, a first transceiver module, a first sending module, a second transceiver module, and a second sending module;
the session establishing module is used for establishing a Bidirectional Forwarding Detection (BFD) session with the express cabinet terminal;
the timing sending module is in communication connection with the session establishing module and is used for sending a first detection message for detecting the running state of the terminal to the express cabinet terminal through the BFD session at a fixed time so that the express cabinet terminal can return a first response message corresponding to the first detection message;
the first transceiver module is in communication connection with the session establishment module, and is configured to determine whether an operation state of the express cabinet terminal is normal according to the first response message if the first response message is received before a first preset time arrives, and otherwise, remove the BFD session when the first preset time arrives, and transmit first notification information indicating that the express cabinet terminal is not reachable at present to an upper protocol end, where the first preset time represents a time after waiting for a first preset receiving duration from a time when the first detection message is sent;
the first sending module is respectively in communication connection with the session establishing module and the first transceiving module, and is configured to transmit second notification information to the upper protocol end when the operation state of the express cabinet terminal is determined to be normal according to the first response message, where the second notification information is used to indicate that the express cabinet terminal can be reached currently, and otherwise, transmit the first notification information to the upper protocol end, and simultaneously transmit a second detection message for detecting whether the operation state of the terminal is normal or not to the express cabinet terminal through the BFD session after waiting for a preset silent duration, so that the express cabinet terminal returns a second response message corresponding to the second detection message;
the second transceiver module is in communication connection with the session establishing module, and is configured to determine whether the operation state of the express cabinet terminal is normal according to the second response message if the second response message is received before a second preset time arrives, and otherwise, remove the BFD session when the second preset time arrives, where the second preset time indicates a time after waiting for a second preset receiving duration from a time when the second detection message is sent;
and the second sending module is respectively in communication connection with the session establishing module and the second transceiving module, and is configured to transmit the second notification message to the upper protocol end when it is determined that the operation state of the express cabinet terminal is restored to normal according to the second response message, or transmit the second detection message to the express cabinet terminal again through the BFD session after waiting for a preset unit time length until the BFD session is removed or the second notification message is transmitted to the upper protocol end.
For the working process, working details and technical effects of the foregoing apparatus provided in the second aspect of this embodiment, reference may be made to the method described in the first aspect or any one of the possible designs of the first aspect, which is not described herein again.
As shown in fig. 4, a third aspect of this embodiment provides a computer device for executing the method for detecting a failure in a terminal of an express delivery cabinet, which may be designed according to any one of the first aspect or the first aspect, where the computer device includes a memory, a processor, and a transceiver, which are communicatively connected in sequence, where the memory is used for storing a computer program, the transceiver is used for transceiving information, and the processor is used for reading the computer program and executing the method for detecting a failure in a terminal of an express delivery cabinet, which may be designed according to any one of the first aspect or the first aspect. For example, the Memory may include, but is not limited to, a Random-Access Memory (RAM), a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a First-in First-out (FIFO), and/or a First-in Last-out (FILO), and the like; the processor may be, but is not limited to, a microprocessor of the model number STM32F105 family. In addition, the computer device may also include, but is not limited to, a power module, a display screen, and other necessary components.
For the working process, working details, and technical effects of the foregoing computer device provided in the third aspect of this embodiment, reference may be made to the method in the first aspect or any one of the possible designs in the first aspect, which is not described herein again.
A fourth aspect of this embodiment provides a storage medium storing instructions including any one of the first aspect or the first aspect that may be designed for the express cabinet terminal fault detection method, that is, the storage medium stores instructions thereon, and when the instructions are run on a computer, the express cabinet terminal fault detection method according to any one of the first aspect or the first aspect that may be designed is executed. The storage medium refers to a carrier for storing data, and may include, but is not limited to, a computer-readable storage medium such as a floppy disk, an optical disk, a hard disk, a flash Memory, a flash disk and/or a Memory Stick (Memory Stick), and the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
For the working process, the working details and the technical effects of the foregoing readable storage medium provided in the fourth aspect of this embodiment, reference may be made to the method in the first aspect or any one of the possible designs in the first aspect, which is not described herein again.
A fifth aspect of the present embodiment provides a computer program product containing instructions, which when executed on a computer, cause the computer to execute the method for detecting a fault of a terminal of a courier cabinet according to the first aspect or any one of the possible designs of the first aspect. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices.
Finally, it should be noted that the present invention is not limited to the above alternative embodiments, and that various other forms of products can be obtained by anyone in light of the present invention. The above detailed description should not be taken as limiting the scope of the invention, which is defined in the claims, and which the description is intended to be interpreted accordingly.

Claims (10)

1. A method for detecting terminal faults of an express cabinet is applied to a server side and comprises the following steps:
establishing a Bidirectional Forwarding Detection (BFD) session with an express cabinet terminal;
regularly sending a first detection message for detecting the running state of the terminal to the express cabinet terminal through the BFD session so that the express cabinet terminal returns a first response message corresponding to the first detection message;
if the first response message is received before the first preset time is reached, judging whether the running state of the express cabinet terminal is normal or not according to the first response message, otherwise, when the first preset time is reached, removing the BFD session, and then transmitting first notification information for indicating that the express cabinet terminal is not reachable at present to an upper protocol end, wherein the first preset time represents the time after waiting for a first preset receiving time from the time of sending the first detection message;
if the operation state of the express cabinet terminal is judged to be normal according to the first response message, transmitting second notification information for indicating that the express cabinet terminal can be reached currently to the upper protocol terminal, otherwise, transmitting the first notification information to the upper protocol terminal, and simultaneously transmitting a second detection message for detecting whether the operation state of the terminal is recovered to be normal to the express cabinet terminal through the BFD session after waiting for a preset silent duration so that the express cabinet terminal returns a second response message corresponding to the second detection message;
if the second response message is received before the second preset time, judging whether the running state of the express cabinet terminal is recovered to normal or not according to the second response message, otherwise, removing the BFD session when the second preset time is reached, wherein the second preset time represents the time after waiting for a second preset receiving time length from the time of sending the second detection message;
and if the running state of the express cabinet terminal is judged to be recovered to be normal according to the second response message, transmitting the second notification message to the upper protocol terminal, otherwise, after waiting for a preset unit time length, transmitting the second detection message to the express cabinet terminal again through the BFD session until the BFD session is removed or the second notification message is transmitted to the upper protocol terminal.
2. The express cabinet terminal fault detection method according to claim 1, wherein sending a first detection packet for detecting a terminal operation state to the express cabinet terminal through the BFD session, so that the express cabinet terminal returns a first response packet corresponding to the first detection packet, includes:
sending a first Echo request Echo message serving as a first detection message to the express cabinet terminal, so that the express cabinet terminal returns a first Echo response Echo message corresponding to the first Echo request Echo message and serving as a first response message after receiving the first Echo request Echo message, wherein the first Echo request Echo message represents a terminal operating state for detection by a version field set to a first numerical value, the first Echo response Echo message represents that the express cabinet terminal is in a normal operating state by the version field set to the first numerical value and a status field set to a numerical value of "3", and the first Echo response Echo message represents that the express cabinet terminal is in an abnormal operating state by the version field set to the first numerical value, a diagnostic field set to a second numerical value and a status field set to a numerical value of "2", the first numerical value is any value in natural numbers of 2-7, the second numerical value is any value in natural numbers of 9-31, and the second numerical value is used for indicating that the reason that the BFD session state of the express cabinet terminal is changed from an online Up state to an initialization Init state at the last time is that the operation state of the express cabinet terminal is changed from a normal state to an abnormal state;
judging whether the operation state of the express cabinet terminal is normal according to the first response message, including:
and judging whether the first Echo response Echo message carries a state field set as a numerical value of 2, if so, judging that the operation state of the express cabinet terminal is abnormal, and otherwise, judging that the operation state of the express cabinet terminal is normal.
3. The express cabinet terminal fault detection method according to claim 2, wherein after waiting for a preset silent duration, sending a second detection packet for detecting whether the terminal operation state is recovered to normal to the express cabinet terminal through the BFD session, so that the express cabinet terminal returns a second response packet corresponding to the second detection packet, includes:
converting the BFD session state of the local server end from an online Up state to an initialization Init state;
after waiting for the preset silent duration, sending a second Echo request Echo message serving as a second detection message to the express cabinet terminal, so that the express cabinet terminal returns a second Echo response Echo message corresponding to the second Echo request Echo message and serving as a second response message after receiving the second Echo request Echo message, where the second Echo request Echo message represents whether the operation state of the terminal is recovered to normal or not by a version field set to the first value, a diagnosis field set to the second value, and a state field set to "2", the second Echo response Echo message represents that the operation state of the express cabinet terminal is recovered to normal by a version field set to the first value and a state field set to "3", and the second Echo response Echo message represents that the express cabinet terminal is recovered to normal by a version field set to the first value and a state field set to "2 The running state of the terminal is still abnormal;
judging whether the operation state of the express cabinet terminal is recovered to be normal according to the second response message, including:
and judging whether the second Echo response Echo message carries a state field set as a numerical value of '3', if so, judging that the operation state of the express cabinet terminal is recovered to be normal, and otherwise, judging that the operation state of the express cabinet terminal is still abnormal.
4. The express cabinet terminal fault detection method of claim 3, wherein after determining that the operational state of the express cabinet terminal is restored to normal, the method further comprises:
and converting the BFD session state of the local server end from the initialization Init state to an online Up state.
5. The express cabinet terminal fault detection method of claim 1, wherein before waiting for a preset silent duration, the method further comprises:
inquiring and acquiring at least one piece of history information corresponding to the express cabinet terminal from a preset history database, wherein the history information comprises a recovery waiting time length recorded in a recovery waiting process for the express cabinet terminal, and the recovery waiting time length represents a time length from a moment when the running state of the express cabinet terminal is found to be abnormal to a moment when the running state of the express cabinet terminal is found to be normal in the corresponding recovery waiting process;
determining the shortest recovery waiting time according to the at least one piece of historical record information;
and taking the calculation result of subtracting the preset unit time length from the shortest recovery waiting time length as the preset silent time length.
6. The express cabinet terminal fault detection method of claim 1, wherein before waiting for a preset silent duration, the method further comprises:
inquiring and acquiring at least one piece of history information corresponding to the express cabinet terminal from a preset history database, wherein the history information comprises a recovery waiting time length recorded in a recovery waiting process for the express cabinet terminal, and the recovery waiting time length represents a time length from a moment when the running state of the express cabinet terminal is found to be abnormal to a moment when the running state of the express cabinet terminal is found to be normal in the corresponding recovery waiting process;
determining the shortest recovery waiting time according to the at least one piece of historical record information;
and taking a calculation result obtained by subtracting N preset unit time lengths from the shortest recovery waiting time length as the preset silence time length, wherein N represents the number of the historical record information pieces corresponding to the shortest recovery waiting time length in the at least one piece of historical record information.
7. The express cabinet terminal fault detection method of claim 1, wherein before waiting for a preset silent duration, the method further comprises:
inquiring and acquiring at least one piece of history information corresponding to the express cabinet terminal from a preset history database, wherein the history information comprises a recovery waiting time length recorded in a recovery waiting process for the express cabinet terminal, and the recovery waiting time length represents a time length from a moment when the running state of the express cabinet terminal is found to be abnormal to a moment when the running state of the express cabinet terminal is found to be normal in the corresponding recovery waiting process;
according to the at least one piece of historical record information, calculating the average value and the standard deviation of the recovery waiting time;
and taking the calculation result of subtracting the standard deviation and the preset unit time length from the average value as the preset silent time length.
8. A terminal fault detection device for an express cabinet is characterized by being arranged at a server side and comprising a session establishing module, a timing sending module, a first receiving and sending module, a first sending module, a second receiving and sending module and a second sending module;
the session establishing module is used for establishing a Bidirectional Forwarding Detection (BFD) session with the express cabinet terminal;
the timing sending module is in communication connection with the session establishing module and is used for sending a first detection message for detecting the running state of the terminal to the express cabinet terminal through the BFD session at a fixed time so that the express cabinet terminal can return a first response message corresponding to the first detection message;
the first transceiver module is in communication connection with the session establishment module, and is configured to determine whether an operation state of the express cabinet terminal is normal according to the first response message if the first response message is received before a first preset time arrives, and otherwise, remove the BFD session when the first preset time arrives, and transmit first notification information indicating that the express cabinet terminal is not reachable at present to an upper protocol end, where the first preset time represents a time after waiting for a first preset receiving duration from a time when the first detection message is sent;
the first sending module is respectively in communication connection with the session establishing module and the first transceiving module, and is configured to transmit second notification information to the upper protocol end when the operation state of the express cabinet terminal is determined to be normal according to the first response message, where the second notification information is used to indicate that the express cabinet terminal can be reached currently, and otherwise, transmit the first notification information to the upper protocol end, and simultaneously transmit a second detection message for detecting whether the operation state of the terminal is normal or not to the express cabinet terminal through the BFD session after waiting for a preset silent duration, so that the express cabinet terminal returns a second response message corresponding to the second detection message;
the second transceiver module is in communication connection with the session establishing module, and is configured to determine whether the operation state of the express cabinet terminal is normal according to the second response message if the second response message is received before a second preset time arrives, and otherwise, remove the BFD session when the second preset time arrives, where the second preset time indicates a time after waiting for a second preset receiving duration from a time when the second detection message is sent;
and the second sending module is respectively in communication connection with the session establishing module and the second transceiving module, and is configured to transmit the second notification message to the upper protocol end when it is determined that the operation state of the express cabinet terminal is restored to normal according to the second response message, or transmit the second detection message to the express cabinet terminal again through the BFD session after waiting for a preset unit time length until the BFD session is removed or the second notification message is transmitted to the upper protocol end.
9. A computer device, characterized by comprising a memory, a processor and a transceiver which are sequentially connected in communication, wherein the memory is used for storing a computer program, the transceiver is used for sending and receiving information, and the processor is used for reading the computer program and executing the express cabinet terminal fault detection method according to any one of claims 1-7.
10. A storage medium having stored thereon instructions for performing the method of any one of claims 1 to 7 when the instructions are run on a computer.
CN202110935662.8A 2021-08-16 2021-08-16 Express cabinet terminal fault detection method and device, computer equipment and storage medium Active CN113395190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110935662.8A CN113395190B (en) 2021-08-16 2021-08-16 Express cabinet terminal fault detection method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110935662.8A CN113395190B (en) 2021-08-16 2021-08-16 Express cabinet terminal fault detection method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113395190A CN113395190A (en) 2021-09-14
CN113395190B true CN113395190B (en) 2021-11-30

Family

ID=77622538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110935662.8A Active CN113395190B (en) 2021-08-16 2021-08-16 Express cabinet terminal fault detection method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113395190B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116528245B (en) * 2023-06-25 2023-11-10 北京极智嘉科技股份有限公司 Security control method, system, mobile device and electronic device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559288A (en) * 2016-11-23 2017-04-05 北京航天自动控制研究所 A kind of quick fault testing method based on icmp packet

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099805B (en) * 2014-05-16 2019-05-07 新华三技术有限公司 A kind of bidirectional forwarding detection (BFD) method and system
US11646956B2 (en) * 2019-07-24 2023-05-09 Cisco Technology, Inc. Systems and methods for providing bidirectional forwarding detection with performance routing measurements
CN113055304A (en) * 2021-02-18 2021-06-29 新华三信息安全技术有限公司 Processing method and device for path MTU value aging

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559288A (en) * 2016-11-23 2017-04-05 北京航天自动控制研究所 A kind of quick fault testing method based on icmp packet

Also Published As

Publication number Publication date
CN113395190A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN102714607B (en) Connectivity fault management timeout period control
CN106330475B (en) Method and device for managing main and standby nodes in communication system and high-availability cluster
CN113395190B (en) Express cabinet terminal fault detection method and device, computer equipment and storage medium
CN111385107B (en) Main/standby switching processing method and device for server
CN103139818A (en) Method, system, area of effect (AOE), always on line (AOG) and terminal of maintaining long connection in acquisition of signal (AOS)
CN102769533A (en) Data processing method and data processing device
CN100466564C (en) Failure monitoring method and device of the virtual rented line
CN114143023A (en) Monitoring system for running states of multiple low-voltage transformer areas
EP2613477A1 (en) Method for triggering route switching and service provider-end provider edge device
CN101764698B (en) Automatic recovering method for power equipment
JP5647197B2 (en) Network connection device, network control method, network control program, and network system
CN101453366B (en) Method and system for on-line repair in real-time
CN114422428A (en) Restarting method and apparatus for service node, electronic device and storage medium
CN103166847B (en) Ensure the method and apparatus of Graceful Restart
CN103546491B (en) Communication link abnormity protection method based on H.248 terminal
CN106685697B (en) Method and system for recovering and processing abnormal marginal message data
CN110247821A (en) A kind of fault detection method and relevant device
CN109450683A (en) Fault detection method, device and application system and storage medium
KR20030056291A (en) The Method of Communication Fault Management using Adjacent Line Interface Board in High Speed Router
CN113949623B (en) MLAG double-master exception repairing method and device, electronic equipment and storage medium
CN115102897B (en) Stacking splitting protection method based on link aggregation
CN114257500B (en) Fault switching method, system and device for super-fusion cluster internal network
JPH11338724A (en) Standby system, standby method and recording medium
JP2004213412A (en) Duplex controller
CN106302187B (en) Database synchronization method and device and router

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant