CN111404728B - Network equipment fault monitoring method and network system - Google Patents

Network equipment fault monitoring method and network system Download PDF

Info

Publication number
CN111404728B
CN111404728B CN202010137549.0A CN202010137549A CN111404728B CN 111404728 B CN111404728 B CN 111404728B CN 202010137549 A CN202010137549 A CN 202010137549A CN 111404728 B CN111404728 B CN 111404728B
Authority
CN
China
Prior art keywords
network
wires
pair
network device
resistance
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
CN202010137549.0A
Other languages
Chinese (zh)
Other versions
CN111404728A (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.)
Guangdong Unipoe Iot Technology Co ltd
Original Assignee
Guangdong Unipoe Iot 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 Guangdong Unipoe Iot Technology Co ltd filed Critical Guangdong Unipoe Iot Technology Co ltd
Priority to CN202010137549.0A priority Critical patent/CN111404728B/en
Publication of CN111404728A publication Critical patent/CN111404728A/en
Application granted granted Critical
Publication of CN111404728B publication Critical patent/CN111404728B/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
    • 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/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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

Abstract

The invention provides a network equipment fault monitoring method, which comprises the following steps: and detecting the resistance value of each pair of wires of the network cable connected between the network devices, and obtaining whether the corresponding pair of wires of the network cable and the port of the network device have faults or not according to the resistance value of each pair of wires. The invention can learn the fault and check the communication interruption between the network devices without waiting for the communication interruption caused by the disconnection of the network cable, thereby realizing the acquisition of the fault existing in the network system before the communication fault of the network system, reducing the loss caused by the network maintenance, reducing the burden of the network maintenance personnel and further reducing the cost of the network maintenance. In addition, the invention also provides a network system which comprises a resistance detection module and a central control module, wherein the resistance detection module is used for detecting the resistance value of each pair of wires of the network cable and transmitting the resistance value to the central control module, and the central control module is used for obtaining whether the corresponding pair of wires of the network cable and the port of the network equipment have faults or not according to the resistance value of each pair of wires.

Description

Network equipment fault monitoring method and network system
Technical Field
The present invention relates to the field of data interaction technologies, and in particular, to a network device fault monitoring method and a network system.
Background
Network cables (Cat 5, cat5e, cat6e, etc.) are often connected between network devices (such as switches, routers, network cameras AP, etc.), and in order to ensure communication between the network devices, monitoring and maintenance are required for the network cables and the network devices (such as whether ports of the network devices have faults, whether the network devices are normally connected, whether the network cables have faults, etc.), etc.
In the past, whether the network equipment has faults or not is generally judged by whether the communication of the network equipment is abnormally interrupted or not, and if four pairs of lines capable of communicating exist in the network, the situation that whether all pairs in the network have faults or not cannot be known often, and the early detection of the faults of the network can not be realized; moreover, the failure cause (port failure of the network device or network line disconnection, a certain pair of line failures in the network line) and the failure position of the network device cannot be known, the burden of network operation and maintenance personnel is large, and the network operation and maintenance cost is high.
In addition, in the field of power transmission, it is proposed that whether a cable is broken or not is obtained by monitoring the resistance between the cable and a steel belt in real time, and then the broken position is measured by using a low-voltage pulse, so that the length of the cable must be known, and the fault position cannot be judged while data is transmitted, so that the method is difficult to be suitable for fault detection of a network cable; in addition, since the low voltage pulse detection needs to be calculated according to the reflection of the pulse, the width and the speed of the pulse are selected in a plurality of ways, the amplitude of the reflection is selected differently, and when the amplitude is too small, the pulse is deformed and cannot be measured.
Therefore, it is desirable to provide a network device fault monitoring method and a network system capable of detecting whether each pair of wires of a network has a fault.
Disclosure of Invention
The invention aims to provide a network equipment fault monitoring method and a network system capable of detecting whether each pair of wires of a network cable has faults or not, so that faults in the network system are known in advance, and the loss of network maintenance is reduced.
In order to achieve the above object, an embodiment of the present invention provides a method for monitoring a network device fault, including:
and detecting the resistance value of each pair of wires connected between network devices, and obtaining whether the corresponding pair of wires of the network device and the port of the network device have faults according to the resistance value of each pair of wires.
Specifically, if the resistance values of all the pairs of the network lines are infinite, judging that the port of the network equipment corresponding to the resistance values is faulty or that the network lines are not connected with the ports of the network equipment; if the difference between the resistance value of one pair of wires and the resistance value of other pairs of wires reaches a preset value, judging that the pair of wires with the difference between the resistance values of the other pairs of wires reaches the preset value is failed.
Preferably, the device information of the opposite-end network device is obtained by using the message sent by the opposite-end network device which is communicated with the network device, and the position of the network device is obtained by obtaining the device information of the network device.
Specifically, the device information is a name of the network device, and the network device fault monitoring method further includes: and pre-establishing a binding relation between the equipment information and the position of the equipment.
Preferably, the network equipment fault monitoring method further comprises the following steps: the fault cause and the fault position are displayed by a display device.
In order to achieve the above objective, an embodiment of the present invention provides a network system, including a plurality of network devices and a fault monitoring device, where a network cable is connected between the network devices, the fault monitoring device includes a resistance detection module and a central control module, where the resistance detection module is configured to detect resistance values of each pair of wires connected between the network devices and transmit the resistance values to the central control module, and the central control module obtains, according to the resistance values of each pair of wires, whether a fault exists in a corresponding pair of wires of the network cable and a port of the network device.
Specifically, if the resistance values of all the pairs of the network cable are infinite, the central control module judges that the port of the network equipment fails or the network cable is not connected with the port of the network equipment and outputs an alarm signal; if the difference between the resistance of one pair of wires and the resistance of other pairs of wires reaches a preset value, the central control module judges that the pair of wires with the difference between the resistance of the pair of wires and the resistance of the other pairs of wires reaches the preset value fails and outputs an alarm signal.
Preferably, each network device obtains device information of the opposite-end network device from a message sent by the opposite-end network device in communication with the network device, and the central control module obtains the location of the network device by obtaining the device information of the network device.
Specifically, the device information is the name of the network device, and the central control module establishes a binding relation between the device information and the location of the device in advance.
Preferably, the network system further comprises a display device, and the central control module sends the fault reason and the fault position to the display device to display the fault reason and the fault position.
Compared with the prior art, the invention acquires whether each pair of wires in the network wire has faults or not by detecting the resistance value of each pair of wires in the network wire, does not need to acquire the faults and perform troubleshooting until the communication between network devices is interrupted due to the disconnection of the network wire, and realizes the acquisition of the faults existing in the network system before the communication faults occur in the network system, thereby reducing the loss caused by network maintenance, reducing the burden of network maintenance personnel and further reducing the cost of the network maintenance. In addition, the equipment information of the opposite-end network equipment is obtained by utilizing the message sent by the opposite-end network equipment by the network equipment, and then the position of the network equipment is obtained by the equipment information, so that the detection of the fault position is realized, the data transmission is not required to be interrupted, the length of a network cable is not required to be known, and the fault position is simply and accurately obtained.
Drawings
Fig. 1 is a block diagram illustrating a network system according to an embodiment of the present invention.
Fig. 2 is a block diagram of a network system according to another embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further described by the following specific embodiments, but the invention is not limited in any way.
The invention discloses a network equipment fault monitoring method and a network system, which are used for realizing the detection of the line faults of network cables, the port faults of network equipment (such as a switch, a router, a network camera (AP) and the like) or the unconnected network cables, so that the faults in the network system are known intelligently, and whether the network equipment has faults or not is judged instead of the traditional method which relies on whether the communication between the network equipment is abnormally interrupted or not, thereby reducing the loss of network maintenance.
The network equipment fault monitoring method of the embodiment of the invention comprises the following steps: and detecting the resistance value of each pair of wires of the network cable connected between the network devices, and obtaining whether the corresponding pair of wires of the network cable and the port of the network device have faults or not according to the resistance value of each pair of wires. Each pair of wires generally comprises four pairs of wires, each pair of wires can perform data transmission, whether each pair of wires in the wire has faults or not is known by detecting the resistance value of each pair of wires in the wire, the fault is not required to be known and the troubleshooting is performed until the communication between network devices is interrupted due to the disconnection of the wire, the fault in the network system is known before the communication fault occurs in the network system, and therefore loss caused by network maintenance is reduced, the burden of network maintenance personnel is also reduced, and the cost of network maintenance is further reduced.
Specifically, if the resistance values of all the pairs of the network cables are infinite, judging that the port of the network equipment corresponding to the network cable fails or the network cable is not connected with the port of the network equipment; if the difference between the resistance value of one pair of lines and the resistance values of other pairs of lines reaches a preset value, judging that the pair of lines with the difference between the resistance values of other pairs of lines reaches the preset value is failed. For example, when the resistance of one pair of lines is large (e.g., the resistance of the pair of lines is infinite and the resistance of the other pair of lines is finite), the pair of lines is determined to be faulty. Incidentally, the resistance value of each pair of wires can be obtained by detecting the voltage value and the current value of each pair of wires, and how to detect the voltage value and the current value of the cable is the prior art and is not described herein.
In the normal communication process, the network devices interact with each other according to Mac addresses, and generally, the messages include Mac addresses of the network devices themselves, frame types, transmission data, frame inspection, mac addresses of opposite network devices, and the transmission data includes device information, port information, valid time, end marks, and the like. In one embodiment, the device information of the opposite end network device is obtained by using a message sent by the opposite end network device with which the network device communicates, and then the location of the network device is obtained by obtaining the device information of the network device. The device information of the opposite party is obtained by utilizing the messages between the network devices, and the corresponding position of the network device is obtained by the device information, so that the detection of the fault position is realized, the data transmission is not required to be interrupted, the length of a network cable is not required to be known, and the fault position is simply and accurately obtained.
In an embodiment, the device information is a name of a network device, and the network device fault monitoring method further includes: and pre-establishing a binding relation between the equipment information and the position of the equipment. When the device name is obtained, the location of the device can be obtained according to the binding relationship between the device information and the location of the device. Of course, in some embodiments, the device information may also be a model number of the network device, and should not be limited thereto. Optionally, the device information may also directly include the location of the device, and in a specific embodiment, the device information may be set correspondingly according to the actual situation.
In an embodiment, the network device fault monitoring method further includes: the fault reasons (the port fault of the network equipment or the network cable is not connected, and a certain pair of lines in the network cable are faulty) and the fault positions are displayed through the display device, so that maintenance personnel can conveniently check the fault positions.
The network system 100 of an embodiment of the present invention includes a plurality of network devices 10, 20 and a fault monitoring device, where a network cable 30 is connected between the network devices 10, 20, the fault monitoring device includes a resistance detection module 401 and a central control module 402, the resistance detection module 401 is configured to detect resistance values of each pair of wires of the network cable 30 connected between the network devices 10, 20 and transmit the resistance values to the central control module 402, and the central control module 402 obtains whether a fault exists in a port of the network device 10, 20 or not, and the corresponding pair of wires of the network cable 30 according to the resistance values of each pair of wires. Each network cable 30 generally comprises four pairs of wires, each pair of wires can perform data transmission, whether each pair of wires in the network cable 30 has faults or not is known by detecting the resistance value of each pair of wires in the network cable 30, and the fault is not required to be known and the troubleshooting is performed until the communication between the network devices 10 and 20 is interrupted due to the disconnection of the network cable 30, so that the fault in the network system 100 is known before the communication fault occurs in the network system 100, the loss caused by network maintenance is reduced, the burden of network maintenance personnel is reduced, and the cost of network maintenance is further reduced.
Specifically, if the resistance values of all the pairs of the network cable 30 are infinite, the central control module 402 determines that the port of the network device 10/20 is faulty or that the network cable 30 is not connected to the port of the network device 10/20 and outputs an alarm signal to notify the network maintainer; if the difference between the resistance of one pair of lines and the resistance of the other pair of lines reaches the preset value, the central control module 402 determines that the pair of lines with the difference between the resistance of the other pair of lines reaches the preset value has a fault and outputs an alarm signal to inform network maintenance personnel. For example, when the resistance of one pair of lines is large (e.g., the resistance of the pair of lines is infinite and the resistance of the other pair of lines is finite), the pair of lines is determined to be faulty.
Incidentally, the resistance detection module 401 may include a plurality of voltage detection units and a plurality of current detection units, and the voltage values and the current values of each pair of wires are detected by the voltage detection units and the current detection units to obtain the resistance values of each pair of wires, and how to detect the voltage values and the current values of the wires is the prior art and is not described herein. In addition, the central control module 402 may be independent from the network devices 10 and 20 (as shown in fig. 1), and may be a part of the network device 10/20 (as shown in fig. 2), for example, an MCU of the network device 10/20.
In the normal communication process, the network device 10 and the opposite network device 20 perform message interaction according to the Mac address, and in general, the message includes the Mac address of the network device 10 itself, a frame type, transmission data, a frame check, and the Mac address of the opposite network device 20, and the transmission data includes device information, port information, valid time, end mark, and the like. In an embodiment, each network device 10 obtains device information of the opposite network device 20 from a message sent by the opposite network device 20 in communication with the network device 10, and similarly, the opposite network device 20 obtains device information of the network device 10 from a message sent by the network device 10, and the central control module obtains the location of the corresponding network device 10, 20 by obtaining the device information of the network device 10 and the opposite network device 20. By obtaining the device information of the opposite party by using the message between the network devices 10 and 20 and obtaining the corresponding positions of the network devices 10 and 20 by the device information, the fault position is detected, the data transmission is not required to be interrupted, the length of the network cable 30 is not required to be known, and the fault position is simply and accurately obtained.
Preferably, the network devices 10 and 20 send messages periodically to each other, if the local configuration of the network device 10 sends a transformation, the message is immediately sent to the opposite network device 20, and the opposite network device 20 is notified of the transformation of the local information; likewise, if the local configuration of the network device 20 transmits a transition, a message is immediately transmitted to the opposite network device 10, and the opposite network device 10 is notified of the transition of the local information.
Further, the central control module 402 establishes a binding relationship between the device information and the location of the device in advance, and when the central control module 402 obtains the device information, the central control module 402 can obtain the location of the device according to the pre-established binding relationship. Specifically, the device information may be a device name, a model number, or the like. Optionally, the device information may also directly include the location of the device, and in a specific embodiment, the device information may be set correspondingly according to the actual situation.
In an embodiment, the network system 100 further includes a display device 50, and the central control module 402 sends the fault cause (the port of the network device is faulty or the network cable is disconnected, a certain pair of wires in the network cable is faulty) and the fault location to the display device 50 to display the fault cause and the fault location through the display device 50, so that the maintenance personnel can conveniently check the fault cause and the fault location. The display device 50 may be a background data center of the network system 100, or may be an additionally installed display.
The foregoing disclosure is merely illustrative of the principles of the present invention, and thus, it is intended that the scope of the invention be limited thereto and not by this disclosure, but by the claims appended hereto.

Claims (10)

1. A method for monitoring network equipment faults, comprising:
detecting the resistance value of each pair of wires of the network cable connected between the network devices, and obtaining whether the corresponding pair of wires of the network cable and the port of the network device have faults or not according to the resistance value of each pair of wires;
if the difference between the resistance value of one pair of wires and the resistance value of other pairs of wires reaches a preset value, judging that the pair of wires with the difference between the resistance values of the other pairs of wires reaches the preset value is failed.
2. The network device failure monitoring method according to claim 1, wherein if the resistance values of all pairs of the network lines are infinity, it is determined that the port of the network device corresponding thereto fails or that the network lines are not connected to the port of the network device.
3. The network device failure monitoring method according to claim 1 or 2, wherein the device information of the peer network device is obtained by further using a message sent by the peer network device with which the network device is in communication, and the location of the network device is obtained by obtaining the device information of the network device.
4. The network device failure monitoring method of claim 3, wherein the device information is a name of the network device, further comprising: and pre-establishing a binding relation between the equipment information and the position of the equipment.
5. A network equipment failure monitoring method according to claim 3, further comprising: the fault cause and the fault position are displayed by a display device.
6. The network system comprises a plurality of network devices, wherein a network cable is connected between the network devices, and the network system is characterized by further comprising a fault monitoring device, wherein the fault monitoring device comprises a resistance detection module and a central control module, the resistance detection module is used for detecting the resistance value of each pair of wires of the network cable connected between the network devices and transmitting the resistance value to the central control module, and the central control module obtains the corresponding pair of wires of the network cable and whether the port of the network device has a fault or not according to the resistance value of each pair of wires;
if the difference between the resistance of one pair of wires and the resistance of other pairs of wires reaches a preset value, the central control module judges that the pair of wires with the difference between the resistance of the pair of wires and the resistance of the other pairs of wires reaches the preset value fails and outputs an alarm signal.
7. The network system of claim 6, wherein if the resistance of all pairs of the network lines is infinite, the central control module determines that the port of the network device is faulty or that the network lines are not connected to the ports of the network device and outputs an alarm signal.
8. The network system according to claim 6 or 7, wherein each of the network devices obtains device information of the opposite network device from a message sent by the opposite network device in communication with the network device, and the central control module obtains the location of the network device by obtaining the device information of the network device.
9. The network system of claim 8, wherein the device information is a name of the network device, and the central control module pre-establishes a binding relationship between the device information and a location of the device.
10. The network system of claim 8, further comprising a display device, wherein the central control module sends the cause of the failure and the location of the failure to the display device to display the cause of the failure and the location of the failure.
CN202010137549.0A 2020-03-02 2020-03-02 Network equipment fault monitoring method and network system Active CN111404728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010137549.0A CN111404728B (en) 2020-03-02 2020-03-02 Network equipment fault monitoring method and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010137549.0A CN111404728B (en) 2020-03-02 2020-03-02 Network equipment fault monitoring method and network system

Publications (2)

Publication Number Publication Date
CN111404728A CN111404728A (en) 2020-07-10
CN111404728B true CN111404728B (en) 2023-06-06

Family

ID=71430504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010137549.0A Active CN111404728B (en) 2020-03-02 2020-03-02 Network equipment fault monitoring method and network system

Country Status (1)

Country Link
CN (1) CN111404728B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667425B (en) * 2020-12-30 2022-11-11 锐捷网络股份有限公司 Method and device for processing port oscillation

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218107A (en) * 2018-10-15 2019-01-15 迈普通信技术股份有限公司 Link switch-over method, device, the network equipment and network system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201066856Y (en) * 2007-07-24 2008-05-28 比亚迪股份有限公司 A network cable tester
CN103986604A (en) * 2014-05-23 2014-08-13 华为技术有限公司 Method and device for locating network fault
CN105182080B (en) * 2015-09-09 2018-01-12 浙江大华技术股份有限公司 A kind of apparatus and method and the network equipment for measuring netting twine impedance
CN109116172A (en) * 2018-08-27 2019-01-01 潍坊学院 A kind of cable detection device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218107A (en) * 2018-10-15 2019-01-15 迈普通信技术股份有限公司 Link switch-over method, device, the network equipment and network system

Also Published As

Publication number Publication date
CN111404728A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
US7289449B1 (en) Device and method for managing fault detection and fault isolation in voice and data networks
US20090003226A1 (en) Network intermediary device with connection test packets
EP0144496B1 (en) Method and apparatus for testing for wiring fault in a network
CN111404728B (en) Network equipment fault monitoring method and network system
JP3069440B2 (en) Centralized monitoring system for subscriber line multiplex transmission system.
CN108289050B (en) Ring network control system and control method for transmitter
CN106656575A (en) Fault diagnosis method suitable for longitudinal protection multiplex channel
JPH02145036A (en) Monitoring system for transmission line
US6301227B1 (en) Systems and methods for allowing transmission systems to effectively respond to automated test procedures
KR101004317B1 (en) Monitoring apparatus of an audio frequency electrical joint circuit and method of the same
US20020057198A1 (en) Danger signaling system
CN109618006B (en) RTU remote monitoring method
CN100461737C (en) Elastic packet link point internal connection fault processing method and apparatus
JP4948247B2 (en) Interlocking system with communication protocol for security equipment
JP4892665B2 (en) Subscriber line inspection system, subscriber line inspection method, and subscriber line inspection program
KR101563510B1 (en) Optical network terminal having self-test function
CN219627735U (en) Bus safety alarm system
CN220711490U (en) Real-time monitoring device for optical fiber on-off and node environment
US7743125B1 (en) Computer multiple communications port unit
KR101515305B1 (en) Signal connecting apparatus of a private security service base
JPH11168527A (en) Transmission line fault detection system
CN114518550A (en) Electrical appliance registration method and electrical appliance monitoring device
CN117376217A (en) Communication fault monitoring system and method
CN116770926A (en) Automatic system fault diagnosis device and method and working machine
CN114140969A (en) Fire-fighting management system

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