CN111984453A - Network inspection equipment based on watchdog and use method thereof - Google Patents

Network inspection equipment based on watchdog and use method thereof Download PDF

Info

Publication number
CN111984453A
CN111984453A CN202010873232.3A CN202010873232A CN111984453A CN 111984453 A CN111984453 A CN 111984453A CN 202010873232 A CN202010873232 A CN 202010873232A CN 111984453 A CN111984453 A CN 111984453A
Authority
CN
China
Prior art keywords
watchdog
module
network
equipment
reset
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.)
Pending
Application number
CN202010873232.3A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202010873232.3A priority Critical patent/CN111984453A/en
Publication of CN111984453A publication Critical patent/CN111984453A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a network inspection device based on a watchdog, which comprises an inspection outer shell and watchdog chips, wherein one side of the inspection outer shell is provided with a connecting port, the inspection outer shell is connected with network equipment through the connecting port, an inspection module is fixedly arranged inside the inspection outer shell, the inspection module is provided with the watchdog chip, a processing module and a power supply control module, the inspection module is connected with a mobile terminal through a wireless network, the two watchdog chips are respectively provided with a first watchdog unit and a second watchdog unit, the first watchdog unit is used for automatic reset when the state of the network equipment is abnormal, and the second watchdog unit is used for automatic reset when the state of the inspection equipment is abnormal, and the network inspection device has the advantages that: the first watchdog unit is used for automatic network equipment reset to realize network self-healing, the second watchdog unit is used for automatic inspection equipment reset, and mobile terminal APP generates equipment fault reset data and charts, the network equipment management of being convenient for.

Description

Network inspection equipment based on watchdog and use method thereof
The technical field is as follows:
the invention belongs to the technical field of watchdog, and particularly relates to network inspection equipment based on a watchdog and a using method thereof.
Background art:
with the increasing economic level and the continuous improvement of technology, the network is rapidly developed, and network devices and components are physical entities connected to the network. The variety of network devices is great and increasing. The basic network devices are: computers (whether personal computers or servers), hubs, switches, bridges, routers, gateways, Network Interface Cards (NICs), Wireless Access Points (WAPs), printers and modems, fiber optic transceivers, fiber optic cables.
In the equipment accessed to the network, most of the equipment adopts a non-management plug-and-play design, once the equipment has faults such as crash and the like, the equipment often needs to go to a fault site to restart to recover the service, and the fault cannot be self-healed, so the invention provides the network inspection equipment based on the watchdog and the use method thereof to solve the problems.
The invention content is as follows:
the invention aims to solve the problems, provides a watchdog-based network inspection device and a using method thereof, and solves the defects that most devices adopt a non-management plug-and-play design in network access devices, once the devices have faults such as crash and the like, the devices often need to go to a fault site to restart to recover services, and the faults cannot be self-healed.
In order to solve the above problems, the present invention provides a technical solution:
the utility model provides an equipment of patrolling and examining based on watchdog network, is including patrolling and examining shell body and watchdog chip, the one side of patrolling and examining the shell body is equipped with connection port, it is connected with network equipment through connection port to patrol and examine the shell body, the inside fixed mounting who patrols and examines the shell body has the module of patrolling and examining, it installs watchdog chip, processing module and power control module to patrol and examine in the module, it passes through wireless network and is connected with mobile terminal to patrol and examine the module, the watchdog chip is provided with two, two be equipped with first watchdog unit and second watchdog unit on the watchdog chip respectively, first watchdog unit is used for the automatic re-setting when network equipment state is unusual, second watchdog unit is used for patrolling and examining the automatic re-setting when equipment state is unusual.
As a preferred technical solution of the present invention, the first watchdog unit includes a first watchdog feeding signal, a first watchdog timing module, and a first reset control module, an output end of the first watchdog feeding signal is connected to an input end of the first watchdog timing module, an output end of the first watchdog timing module is connected to an input end of the first reset control module, an output end of the first reset control module is connected to an input end of the processing module, an output end of the processing module is connected to the power control module, the automatic storage module, and the network device module, and an output end of the processing module is connected to the terminal APP through the wireless module.
As a preferred technical scheme of the present invention, the first dog feeding signal outputs a signal to a dog feeding end at intervals, and clears the first WDT, and if the first WDT does not feed dogs for a predetermined time, and generally when the program flies, the second WDT timing exceeds, a reset signal is given to the network device MCU to reset the network device MCU, so as to prevent the network device MCU from crashing.
As a preferred technical solution of the present invention, the second watchdog unit includes a second dog feeding signal, a second watchdog timing module, and a second reset control module, an output end of the second dog feeding signal is connected to an input end of the second watchdog timing module, an output end of the second watchdog timing module is connected to an input end of the second reset control module, and an output end of the second reset control module is connected to an input end of the processing module.
As a preferred technical scheme of the invention, the second dog feeding signal outputs a signal to the dog feeding end at intervals, and clears the second WDT, if the second WDT does not feed dogs for a specified time, and generally when the program flies, the second WDT is timed to exceed, a reset signal is given to the MCU of the inspection device, so that the MCU of the inspection device is reset, and the MCU of the inspection device is prevented from crashing.
As a preferred technical scheme of the invention, a fault alarm module and a positioning module are further arranged inside the inspection casing, the output end of the fault alarm module is connected with an audible and visual alarm, the audible and visual alarm is used for giving an alarm, and the output end of the positioning module is connected with the input end of the processing module.
As a preferable technical scheme of the invention, the processing module adopts an AT89C51 singlechip.
A method for using inspection equipment based on a watchdog network comprises the following steps:
s1, connecting the watchdog network inspection equipment with the network equipment, and periodically detecting the network equipment and the inspection equipment by a watchdog chip on the inspection module;
s2, outputting a signal to a dog feeding end at intervals by the dog feeding signal, and clearing the WDT;
s3, recording the time when the zero-clearing watchdog signal is not received, and comparing the recording time with the preset zero-clearing time;
s4, if the time exceeds the set time and the dog is not fed, generally when the program is run away, WDT timing exceeds, a reset signal is given to the MCU to reset the MCU, so as to prevent the MCU from crashing;
and S5, the automatic storage module records the reset time of the MCU, and sends the equipment fault signal to the terminal APP through the wireless module to generate equipment fault reset data and a chart.
The invention has the beneficial effects that:
the invention relates to a network inspection device based on a watchdog and a use method thereof, wherein the inspection device is connected with the network device through two watchdog chips arranged in an inspection card shell, a first watchdog unit and a second watchdog unit are respectively arranged on the two watchdog chips, the first watchdog unit is used for automatic reset when the state of the network device is abnormal, namely the state of the inspection device is periodically based on the watchdog function, when the state of the device is abnormal, the device is automatically reset to realize network self-healing, the second watchdog unit is used for automatic reset when the state of the inspection device is abnormal, the device is automatically reset and healed when the network inspection device is in fault, so as to ensure the normal operation of the network inspection device, and the device reset signals are all sent to a mobile terminal through a wireless network to generate device fault reset data and an APP (application) so as to facilitate personnel to dynamically manage the operation of the network device, And data backup.
Description of the drawings:
for ease of illustration, the invention is described in detail by the following detailed description and the accompanying drawings.
FIG. 1 is a schematic structural view of the present invention;
FIG. 2 is a schematic diagram of the operation of a first watchdog unit of the present invention;
FIG. 3 is a schematic diagram of the operation of the second watchdog unit of the present invention;
fig. 4 is a diagram of a watchdog use method of the present invention.
In the figure: 1. inspecting an outer shell; 2. a connection port; 3. a routing inspection module; 4. a watchdog chip; 5. a wireless network; 6. a mobile terminal.
The specific implementation mode is as follows:
as shown in fig. 1 to 4, the following technical solutions are adopted in the present embodiment: the utility model provides an equipment of patrolling and examining based on watchdog network, is including patrolling and examining shell body 1 and watchdog chip 4, the one side of patrolling and examining shell body 1 is equipped with connection port 2, it is connected with network equipment through connection port 2 to patrol and examine shell body 1, the inside fixed mounting of patrolling and examining shell body 1 has module 3 of patrolling and examining, it installs watchdog chip 4, processing module and power control module on the module 3 to patrol and examine, it is connected with mobile terminal 6 through wireless network 5 to patrol and examine module 3, watchdog chip 4 is provided with two, two be equipped with first watchdog unit and second watchdog unit on the watchdog chip 4 respectively, first watchdog unit is used for the automatic re-setting when network equipment state is unusual, the automatic re-setting when second watchdog unit is used for patrolling and examining equipment state.
Wherein, first watchdog unit includes first dog signal, first watchdog timing module and first reset control module, the output of first dog signal is connected with the input of first watchdog timing module, the output of first watchdog timing module is connected with first reset control module's input, first reset control module's output is connected with processing module's input, processing module's output and power control module, automatic storage module and network equipment module are connected, processing module's output passes through wireless module and is connected with terminal APP.
The first dog feeding signal outputs a signal to a dog feeding end at intervals, the first WDT is cleared, if the first WDT does not feed dogs for a specified time, and generally when a program flies, the second WDT is timed to exceed, a reset signal is sent to the network equipment MCU, so that the network equipment MCU is reset, and the network equipment MCU is prevented from crashing.
The second watchdog unit comprises a second watchdog feeding signal, a second watchdog timing module and a second reset control module, the output end of the second watchdog feeding signal is connected with the input end of the second watchdog timing module, the output end of the second watchdog timing module is connected with the input end of the second reset control module, and the output end of the second reset control module is connected with the input end of the processing module.
And if the second WDT does not feed dogs in a specified time, generally when the program flies, the second WDT exceeds the timing, a reset signal is given to the MCU of the inspection equipment, so that the MCU of the inspection equipment is reset, and the MCU of the inspection equipment is prevented from crashing.
Wherein, the inside of patrolling and examining shell body 1 still is equipped with fault alarm module and orientation module, fault alarm module's output and audible-visual annunciator are connected, audible-visual annunciator is used for the alarm, orientation module's output and processing module's input are connected.
Wherein, the processing module adopts an AT89C51 singlechip.
A method for using inspection equipment based on a watchdog network comprises the following steps:
s1, connecting the watchdog network inspection equipment with the network equipment, and periodically detecting the network equipment and the inspection equipment by the watchdog chip 4 on the inspection module;
s2, outputting a signal to a dog feeding end at intervals by the dog feeding signal, and clearing the WDT;
s3, recording the time when the zero-clearing watchdog signal is not received, and comparing the recording time with the preset zero-clearing time;
s4, if the time exceeds the set time and the dog is not fed, generally when the program is run away, WDT timing exceeds, a reset signal is given to the MCU to reset the MCU, so as to prevent the MCU from crashing;
and S5, the automatic storage module records the reset time of the MCU, and sends the equipment fault signal to the terminal APP through the wireless module to generate equipment fault reset data and a chart.
Specifically, the method comprises the following steps: a network inspection device based on a watchdog and a using method thereof are disclosed, when in use, firstly, the network inspection device of the watchdog is connected with the network device, a watchdog chip 4 on an inspection module 3 periodically detects the network device and the inspection device, a signal is output to a watchdog feeding end by a watchdog feeding signal at intervals, the watchdog feeding end clears the watchdog, the time of not receiving the cleared watchdog signal is recorded, the recording time is compared with the preset clearing time, if the watchdog feeding is not carried out after the preset time is exceeded, generally, when a program flies, the timing of WDT is exceeded, a reset signal is given to an MCU to reset the MCU, the MCU is prevented from being halted, an automatic storage module records the reset time of the MCU, the fault signal of the device is sent to a terminal APP through a wireless module to generate fault reset data and a diagram of the device, a signal is output to the watchdog feeding end by a first watchdog feeding signal at intervals, clearing the first WDT, and if the first WDT does not feed dogs after the specified time, generally when the program flies, and the second WDT exceeds the specified time, giving a reset signal to the network equipment MCU to reset the network equipment MCU, so as to prevent the network equipment MCU from crashing; two dog feeding signals output a signal to a dog feeding end at intervals, the signal is reset to a second WDT, if the dog feeding is not carried out after the specified time is exceeded, and generally when a program runs off, the second WDT is timed to exceed, a reset signal is given to an MCU of the inspection equipment to reset the MCU of the inspection equipment, the MCU of the inspection equipment is prevented from crashing, the inspection equipment is connected with the network equipment through two watchdog chips 4 arranged in an inspection card shell, a first watchdog unit and a second watchdog unit are respectively arranged on the two watchdog chips 4, the first watchdog unit is used for automatically resetting when the state of the network equipment is abnormal, namely, the state of the inspection equipment is periodically based on the function of the watchdog, when the state of the equipment is abnormal, the automatic resetting equipment is realized, the second watchdog unit is used for automatically resetting when the state of the inspection equipment is abnormal, and automatically resetting is cured when the network equipment is in fault, normal operation with the network equipment of patrolling and examining of assurance, and the APP on mobile terminal 6 is all sent through wireless network 5 to the equipment reset signal, generates equipment trouble reset data and chart to the management of personnel to network equipment, and data backup.
While there have been shown and described what are at present considered to be the fundamental principles of the invention and its essential features and advantages, it will be understood by those skilled in the art that the invention is not limited by the embodiments described above, which are merely illustrative of the principles of the invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents.

Claims (8)

1. The utility model provides an equipment of patrolling and examining based on watchdog network, includes patrols and examines shell body (1) and watchdog chip (4), its characterized in that: patrol and examine one side of shell body (1) and be equipped with connection port (2), it is connected with network equipment through connection port (2) to patrol and examine shell body (1), the inside fixed mounting who patrols and examines shell body (1) has module (3) of patrolling and examining, it installs watchdog chip (4), processing module and power control module on module (3) to patrol and examine, it is connected with mobile terminal (6) through wireless network (5) to patrol and examine module (3), watchdog chip (4) are provided with two, two be equipped with first watchdog unit and second watchdog unit on watchdog chip (4) respectively, first watchdog unit is used for the automatic re-setting when network equipment state is unusual, the automatic re-setting when second watchdog unit is used for patrolling and examining equipment state is unusual.
2. The watchdog-based network inspection device according to claim 1, wherein: first watchdog unit includes first dog signal, first watchdog timing module and first reset control module, the output of first dog signal is connected with the input of first watchdog timing module, the output of first watchdog timing module is connected with first reset control module's input, first reset control module's output is connected with processing module's input, processing module's output and power control module, automatic storage module and network equipment module are connected, processing module's output passes through wireless module and is connected with terminal APP.
3. The watchdog-based network inspection device according to claim 2, wherein: the first dog feeding signal outputs a signal to a dog feeding end at intervals, the first WDT is cleared, if the first WDT does not feed dogs for a specified time, and generally when a program flies, the second WDT is timed to exceed, a reset signal is given to the network equipment MCU, so that the network equipment MCU is reset, and the network equipment MCU is prevented from crashing.
4. The watchdog-based network inspection device according to claim 1, wherein: the second watchdog unit comprises a second watchdog feeding signal, a second watchdog timing module and a second reset control module, the output end of the second watchdog feeding signal is connected with the input end of the second watchdog timing module, the output end of the second watchdog timing module is connected with the input end of the second reset control module, and the output end of the second reset control module is connected with the input end of the processing module.
5. The watchdog-based network inspection device according to claim 2, wherein: the second dog feeding signal outputs a signal to the dog feeding end at intervals, the second WDT is cleared, if the second dog feeding signal does not feed dogs within a specified time, and generally when a program runs off, the second WDT is timed to exceed, a reset signal is given to the MCU of the inspection equipment, so that the MCU of the inspection equipment is reset, and the MCU of the inspection equipment is prevented from crashing.
6. The watchdog-based network inspection device according to claim 1, wherein: the inside of patrolling and examining shell body (1) still is equipped with failure alarm module and orientation module, failure alarm module's output is connected with audible-visual annunciator, audible-visual annunciator is used for the alarm, orientation module's output is connected with processing module's input.
7. The watchdog-based network inspection device according to claim 6, wherein: the processing module adopts an AT89C51 singlechip.
8. A method for using inspection equipment based on a watchdog network is characterized in that: the using method comprises the following steps:
s1, connecting the watchdog network inspection equipment with the network equipment, and periodically detecting the network equipment and the inspection equipment by a watchdog chip (4) on the inspection module;
s2, outputting a signal to a dog feeding end at intervals by the dog feeding signal, and clearing the WDT;
s3, recording the time when the zero-clearing watchdog signal is not received, and comparing the recording time with the preset zero-clearing time;
s4, if the time exceeds the set time and the dog is not fed, generally when the program is run away, WDT timing exceeds, a reset signal is given to the MCU to reset the MCU, so as to prevent the MCU from crashing;
and S5, the automatic storage module records the reset time of the MCU, and sends the equipment fault signal to the terminal APP through the wireless module to generate equipment fault reset data and a chart.
CN202010873232.3A 2020-08-26 2020-08-26 Network inspection equipment based on watchdog and use method thereof Pending CN111984453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010873232.3A CN111984453A (en) 2020-08-26 2020-08-26 Network inspection equipment based on watchdog and use method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010873232.3A CN111984453A (en) 2020-08-26 2020-08-26 Network inspection equipment based on watchdog and use method thereof

Publications (1)

Publication Number Publication Date
CN111984453A true CN111984453A (en) 2020-11-24

Family

ID=73440707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010873232.3A Pending CN111984453A (en) 2020-08-26 2020-08-26 Network inspection equipment based on watchdog and use method thereof

Country Status (1)

Country Link
CN (1) CN111984453A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325827A (en) * 2021-06-09 2021-08-31 深圳朗道智通科技有限公司 Unmanned vehicle watchdog system with active protection function
CN116708139A (en) * 2023-07-21 2023-09-05 北京六方云信息技术有限公司 Network equipment fault processing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003140779A (en) * 2001-11-06 2003-05-16 Nissan Motor Co Ltd Watch dog timer diagnosing system
KR20040054835A (en) * 2002-12-18 2004-06-26 삼성전자주식회사 Hard Ware Watchdog Circuit and Method
CN105242980A (en) * 2015-10-26 2016-01-13 上海斐讯数据通信技术有限公司 Complementary watchdog system and complementary watchdog monitoring method
WO2017143762A1 (en) * 2016-02-25 2017-08-31 中兴通讯股份有限公司 Terminal, crash reset control circuit and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003140779A (en) * 2001-11-06 2003-05-16 Nissan Motor Co Ltd Watch dog timer diagnosing system
KR20040054835A (en) * 2002-12-18 2004-06-26 삼성전자주식회사 Hard Ware Watchdog Circuit and Method
CN105242980A (en) * 2015-10-26 2016-01-13 上海斐讯数据通信技术有限公司 Complementary watchdog system and complementary watchdog monitoring method
WO2017143762A1 (en) * 2016-02-25 2017-08-31 中兴通讯股份有限公司 Terminal, crash reset control circuit and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325827A (en) * 2021-06-09 2021-08-31 深圳朗道智通科技有限公司 Unmanned vehicle watchdog system with active protection function
CN116708139A (en) * 2023-07-21 2023-09-05 北京六方云信息技术有限公司 Network equipment fault processing method, device, equipment and storage medium
CN116708139B (en) * 2023-07-21 2023-10-20 北京六方云信息技术有限公司 Network equipment fault processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109086155A (en) Server failure localization method, device, equipment and computer readable storage medium
US20060212754A1 (en) Multiprocessor system
CN111984453A (en) Network inspection equipment based on watchdog and use method thereof
CN100565470C (en) A kind of blog management method and device
CN101296135A (en) Fault information processing method and device
CN103778049A (en) Embedded system development log system
CN104104542B (en) RS 485-based real-time intelligent obstacle removing method
CN108733191A (en) The detecting system and method for communication equipment power fail warning
CN113246887A (en) Sequential circuit control method and device, electronic equipment and storage medium
CN116126772A (en) UART serial port management system and method applied to ARM server
CN112345881A (en) Ring network power supply cable fault positioning system and method based on cloud platform
CN107623597B (en) Miniaturized POTN equipment and remote power failure prompting method
CN100555260C (en) The integrating device of master-controlled bottom layer managing plane and method
CN113176982A (en) Device and method for realizing VPX architecture-based chassis management system
CN203896047U (en) Electric power protection system
DE112011105853T5 (en) Management of buffer feed control by connection status
CN206460446U (en) A kind of supervising device for ruggedized computer mainboard
CN112885093A (en) Edge calculation device for monitoring highway traffic incident
CN101854263A (en) Method, system and management server for analysis processing of network topology
CN116540856A (en) Device, method and server for correcting state after power supply module fault recovery
CN213122961U (en) Industrial control system and electronic equipment
CN113741656A (en) VPX architecture-based chassis management system and method
DE212021000093U1 (en) Signal acquisition device for an energy environment monitoring system
CN206627947U (en) A kind of information records Debug card
CN221367007U (en) Axle counting equipment monitoring device capable of reducing maintenance workload

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201124