WO2021136199A1 - Network device monitoring method, system, routing device, and storage medium - Google Patents

Network device monitoring method, system, routing device, and storage medium Download PDF

Info

Publication number
WO2021136199A1
WO2021136199A1 PCT/CN2020/140304 CN2020140304W WO2021136199A1 WO 2021136199 A1 WO2021136199 A1 WO 2021136199A1 CN 2020140304 W CN2020140304 W CN 2020140304W WO 2021136199 A1 WO2021136199 A1 WO 2021136199A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
network management
network device
data packet
monitoring
Prior art date
Application number
PCT/CN2020/140304
Other languages
French (fr)
Chinese (zh)
Inventor
陈锐均
曹鹏飞
黎志勇
Original Assignee
京信网络系统股份有限公司
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 京信网络系统股份有限公司 filed Critical 京信网络系统股份有限公司
Publication of WO2021136199A1 publication Critical patent/WO2021136199A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/026Capturing of monitoring data using flow identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Definitions

  • This application relates to the field of communication technology. Specifically, this application relates to a monitoring method, system, routing device, and storage medium of a network device.
  • a method for monitoring network equipment includes the following steps:
  • the first forwarding routing table is used to record the relationship between the network device and the address of the corresponding network management device;
  • the uplink data packet is forwarded to each of the target network management devices, so that each of the target network management devices monitors the original network device.
  • a monitoring system for network equipment includes:
  • the monitoring module is used to monitor the uplink data link of the monitored network device, and intercept the uplink data packet from the uplink data link;
  • An identification module configured to parse the uplink data packet and identify the original network device that uploaded the uplink data packet
  • the query module is used to query multiple target network management devices that monitor the original network device from the first forwarding routing table; wherein, the first forwarding routing table is used to record the relationship between the address of the network device and the address of the corresponding network management device Relationship;
  • the monitoring module is configured to forward the uplink data packet to each of the target network management devices, so that each of the target network management devices monitors the original network device.
  • a routing device including a memory, a processor, and a computer program stored on the memory and capable of running on the processor.
  • the processor implements the monitoring method of a network device according to any one of the above embodiments when the processor executes the computer program A step of.
  • a computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for monitoring a network device according to any one of the above embodiments are realized.
  • the foregoing monitoring method, system, routing device and storage medium for network equipment monitor the uplink data packet in the uplink data link, and query the multiple network management devices corresponding to the uplink data packet according to the first forwarding routing table, and report to each The network management device forwards the uplink data packet, and multiple network management devices monitor the original network device according to the uplink data packet, breaking the limitation that the network device can only be monitored by one network management device in the prior art; at the same time, it can be set to the first Forwarding the network management equipment corresponding to each network management device in the routing table can avoid adding network management equipment to change the network management device network address on each network device one by one, and it can also avoid setting each network device corresponding to the network management device one by one when adding network devices to be monitored.
  • the network address reduces the cost caused by setting up the monitoring of network equipment.
  • this application configures compatible network management equipment for monitoring of various types of network equipment, which can fully match the monitoring requirements of various types of network management equipment, reduce network equipment that is incompatible with other network management equipment, and improve the compatibility of network management equipment. , You can choose various types of network equipment to reduce the difficulty of selecting network equipment and reduce the cost of network equipment monitoring.
  • FIG. 1 is an implementation environment diagram of a method for monitoring network equipment provided in an embodiment
  • Figure 2 is a flowchart of a method for monitoring network equipment in an embodiment
  • Figure 3 is a flowchart of determining the network address corresponding to the network management device in an embodiment
  • Figure 4 is a flowchart of a method for monitoring a network device in another embodiment
  • Fig. 5 is a schematic structural diagram of a monitoring system for network equipment in an embodiment.
  • FIG. 1 is an implementation environment diagram of a method for monitoring a network device provided in an embodiment.
  • it includes a network management device 110, a network device 120, and a routing device 130 that connects the network management device and the network device.
  • the network management device 110 in the internal network and the network device 130 in the external network may communicate with a routing node through Ethernet.
  • the network equipment 130 may include repeater equipment.
  • the repeater equipment is a type of repeater and is a connection device on the physical layer of the network; it is suitable for the interconnection of two types of networks that are exactly the same.
  • the main function is to connect data
  • the signal is retransmitted or forwarded to expand the distance of network transmission
  • repeater equipment is the physical layer equipment of the OSI model of network equipment that regenerates and restores the signal, and the repeater equipment is the most used to extend the network distance in the local area network environment.
  • the simple and cheapest interconnection equipment, operating at the physical layer of OSI, the repeater equipment has the function of amplifying and regenerating the signal on the line, which is used to extend the length of the LAN segment.
  • the network device 120 is a device to be monitored, and can communicate with the network management device 110 through the Ethernet and the routing device 130 of the routing node.
  • the network management equipment 110 is used to monitor the network equipment and finally display the monitoring status of the network equipment.
  • the routing device 130 can be responsible for receiving and sending data, is a communication interface between multiple network management devices and network devices, and can forward the data of the network device to all network management devices, and forward the data of the network management device to a specific network device.
  • FIG. 2 is a flowchart of a monitoring method of a network device in an embodiment.
  • a monitoring method of a network device is proposed, and the monitoring method of the network device can be applied
  • the following steps may be specifically included:
  • Step S210 Monitor the uplink data link of the monitored network device, and intercept the uplink data packet from the uplink data link.
  • the routing equipment monitors the data transmitted in the uplink and downlink data links in real time.
  • the uplink and downlink data links connect the network equipment with the network equipment.
  • the network equipment and the network management equipment communicate in the uplink and downlink data links, and the network management equipment passes
  • the routing device monitors the uplink data packets of the network device.
  • the routing device intercepts the uplink data packet when it detects the uplink data packet uploaded from the network device in the uplink data link.
  • the uplink data packet can be intercepted from the uplink data link, and the uplink data packet can be buffered in the uplink data buffer memory in the routing device, so that when various processes in the uplink data processing chain are subsequently executed, the data can be retrieved from the uplink data.
  • the required data is called in the buffer memory; after the processing is completed, the processed data can be stored back in the upstream data buffer memory for invocation by other processing in the upstream data processing chain.
  • the uplink data processing chain may include data analysis processing, data forwarding processing, data sending processing, and network management agent service processing.
  • Step S220 Analyze the uplink data packet, and identify the original network device that uploaded the uplink data packet.
  • the device information of the original network device can be parsed from the uplink data packet.
  • the network device information obtained after identification can include data such as the network device number, command ID, operation type, etc.
  • the network device number can specifically include the network device information.
  • the device number and the device identification number of the network device can be parsed from the uplink data packet.
  • the IP address of the original network device and the port number of the original network device are obtained, based on the IP address of the original network device, the port number of the original network device, and the port number of the original network device.
  • the device number (rptNo) of the network device in the upstream data packet the device identification number (devNo) of the network device, the command ID (operateID), and the operation type (operateType) of the command are parsed.
  • Step S230 Query multiple target network management devices that monitor the original network device from the first forwarding routing table, where the first forwarding routing table is used to record the relationship between the network device and the address of the corresponding network management device.
  • the network device and the address of the corresponding network management device are recorded in the first forwarding routing table. Query the addresses of multiple target network management devices from the first forwarding routing table.
  • the network device can be configured with multiple network management devices correspondingly, breaking the limitation that the network device in the prior art can only set the network address of one network management device.
  • the first forwarding routing table can also record the IP addresses of all network management devices, and the second forwarding routing table can also be called.
  • the second forwarding routing table can record the difference between the network device and the device identification number of the corresponding network management device. Relationship, the corresponding network management equipment is the network management equipment that effectively monitors the network equipment.
  • FIG. 3 is a flowchart of determining the network address corresponding to the network management device in an embodiment. This step may also include: S231, querying a number of monitoring devices for the original network device in the second forwarding routing table The device identification number of the target network management device, S232.
  • the network address corresponding to the target network management device is correspondingly inquired from the first forwarding routing table, S241, and the uplink data packet is forwarded to each address according to the corresponding network address.
  • Target network management equipment so that each target network management equipment monitors the original network equipment.
  • Step S240 Forward the uplink data packet to each target network management device, so that each target network management device monitors the original network device.
  • the uplink data packet is forwarded to multiple target network management devices, and the original network device that uploads the uplink data packet is monitored by multiple target network management devices, which realizes that the network device can be monitored by multiple network management devices, breaking the network equipment in the prior art Limitations that can only be monitored by one network management device.
  • the monitoring method of the above network equipment is to monitor the uplink data packet in the uplink data link, query the multiple network management devices corresponding to the uplink data packet according to the first forwarding routing table, and forward the uplink data packet to each network management device, by Multiple network management devices monitor the original network device according to the uplink data packet, breaking the limitation that the network device can only be monitored by one network management device in the prior art; at the same time, it is possible to set the corresponding network management device in the first forwarding routing table.
  • Network management equipment can avoid adding network management equipment to change the network management equipment network address on each network equipment one by one, and it can also avoid setting the network address of each network equipment corresponding to the network management equipment one by one when adding network equipment to be monitored, reducing the monitoring of setting network equipment The cost incurred.
  • compatible network management equipment for monitoring of various types of network equipment, which can fully match the monitoring requirements of various types of network management equipment, reduce network equipment incompatible with other network management equipment, and improve the compatibility of network management equipment
  • Various types of network equipment can be selected to reduce the difficulty of selecting network equipment and reduce the cost of network equipment monitoring.
  • the method includes:
  • Step S251 Perform service processing of the network management agent on the uplink data packet to obtain device communication data.
  • the service processing of the agent mainly refers to that the agent is responsible for the execution of management instructions and reports to the network management equipment some important events that occur in the managed object in the form of notification.
  • the device communication data obtained after the service processing of the network management agent mainly reflects some important events that occur in the network device and the transmitted data packet during the uplink process.
  • Step S252 group the data packets containing the service communication data into multiple forwarded data packets, and send the multiple forwarded data packets to each target network management device.
  • the monitoring method of the above network equipment analyzes the upstream data packet to obtain the device communication data, the device communication data reflects the communication status of the network device transmitting the upstream data packet, and the device communication data is used as the monitoring data Upload to each target network management device, so that the routing device realizes the upstream network management agent.
  • the monitoring method of the network device may further include:
  • Step S261 Obtain the control data issued by any target network management device, analyze the control data, and determine the network device to be controlled.
  • Step S262 According to the first forwarding routing table, the control data is delivered to the network device to be controlled.
  • any network management equipment can control the network equipment through the issued control data.
  • the routing equipment determines the network equipment with control according to the first forwarding routing table, and sends it to the address of the network equipment. Control data.
  • the network device is controlled by the target network management device.
  • the method further includes:
  • Step S263 Read the pre-stored second forwarding routing table, and forward the control data to other target network management equipment monitored by the network equipment to be controlled according to the second forwarding routing table, where the second forwarding routing table is used to record the network equipment The relationship between the address and the network management device.
  • the second forwarding routing table records the relationship between the network device address and the network management device, and other target network management devices that are also monitored by the network device to be controlled are queried from the second forwarding routing table as other target network management devices.
  • the network equipment to be controlled is set to other target network management equipment, so that other target network management equipment can also monitor the control of the network equipment.
  • any network management equipment when any network management equipment controls the network equipment, it also determines other target network management equipment related to the network equipment to be controlled. At this time, other target network management equipment is also allowed to monitor the situation that the network equipment is controlled by any target network management equipment.
  • Comprehensive multi-network management equipment monitors network equipment.
  • FIG. 4 is a flowchart of a method for monitoring a network device in another embodiment.
  • This embodiment provides a method for monitoring a network device, which may also specifically include:
  • Step S410 Monitor the downlink data link of the monitored network device, and intercept the downlink data packet from the downlink data link.
  • the network management device monitors the uplink data packet of the network device through the routing device.
  • the routing device monitors the downlink data link, when a downlink data packet sent from the network management device appears, it intercepts the downlink data packet.
  • the downlink data packet can be intercepted from the downlink data link, and the downlink data packet can be buffered in the downlink data buffer memory in the routing device, so that when various processes in the downlink data processing chain are subsequently executed, the data can be retrieved from the downlink data.
  • the required data is called in the cache memory; after the processing is completed, the processed data can be stored back in the downstream data cache memory for other processes in the lower data processing chain to call.
  • the downlink data processing chain may include data analysis processing, data forwarding processing, data sending processing, and device proxy service processing.
  • Step S420 Analyze the downlink data packet, and identify the target network device to which the downlink data packet is to be downloaded.
  • the network address and network management port number of the target device can be parsed from the downlink data packet.
  • the IP address of the original network device and the port number of the original network device are obtained, and the IP address of the original network device and the port number of the original network device are parsed and output. (port), the device identification number (devNo) of the network device, the command ID (operateID), and the operation type of the command (operateType).
  • Step S430 According to the second forwarding routing table, query multiple same-control network management devices that monitor the target network device, where the second forwarding routing table is used to record the relationship between the network device address and the network management device.
  • the relationship between the network device address and the network management device is recorded in the second forwarding routing table.
  • the network device can be configured with multiple network management devices correspondingly, breaking the limitation that the network device in the prior art can only set the network address of one network management device.
  • IP addresses of all network management devices may also be recorded in the second forwarding routing table, and the network address corresponding to the valid network management device in the query record is convenient to subsequently send data to the network address of the network management device.
  • Step S440 Forward the downlink data packet to multiple concurrently controlled network management devices.
  • the downlink data packet is forwarded to multiple co-control network management devices that also monitor the network device. If there are multiple co-control network management devices that monitor the network device’s reception of the downlink data packet, the network device can also be affected by the downlink data link.
  • the monitoring of multiple network management equipment breaks the limitation that the network equipment can only be monitored by one network management equipment in the prior art.
  • the monitoring method of the above network equipment is to monitor the downlink data packet in the downlink data link, and query multiple co-control network management devices that are the same to monitor the network equipment according to the second forwarding routing table, and forward the downlink to each co-control network management device Data packets are monitored by multiple network management devices of the same control to the original network equipment according to the downlink data packets, breaking the limitation that the network equipment in the prior art can only be monitored by one network management device; at the same time, a second forwarding routing table can be set
  • the network management equipment corresponding to each network management device in the network management device can avoid adding network management equipment to change the network management device network address on each network device one by one, and it can also avoid setting the network address of each network device corresponding to the network management device one by one when adding network devices to be monitored. Reduce the cost of setting up network equipment monitoring.
  • compatible network management equipment for monitoring of various types of network equipment, which can fully match the monitoring requirements of various types of network management equipment, reduce network equipment incompatible with other network management equipment, and improve the compatibility of network management equipment
  • Various types of network equipment can be selected to reduce the difficulty of selecting network equipment and reduce the cost of network equipment monitoring.
  • the monitoring method of the network device further includes:
  • Step S421 Analyze the downlink data packet, and identify the original network management device that delivered the downlink data packet.
  • the steps for forwarding downlink data packets to multiple same-controlled network management devices include:
  • Step S441 Forward the downlink data packet to multiple co-control network management devices other than the original network management device.
  • the above-mentioned monitoring method for network equipment can also only control multiple network management equipment other than the original network management equipment to reduce the burden on the network.
  • the method further includes:
  • Step S451 Perform device proxy service processing on the downlink data packet to obtain the relationship between the command in the downlink data packet and the target network device.
  • the service processing of the agent mainly refers to that the agent is responsible for the execution of management instructions and reports to the network management equipment some important events that occur in the managed object in the form of notification.
  • the relationship obtained after the service processing of the device agent mainly reflects some important events that occur in the network device and the transmitted data packet in the downlink process.
  • Step S452 Upload the relationship between the command in the downlink data packet and the target network device to multiple same-control network management devices.
  • step S453 sending the downlink data packet to the target network device.
  • the actual network address of the target network device can be obtained by querying the second forwarding routing table, and then the downlink data packet is sent to the target network device according to the actual network address.
  • the above-mentioned monitoring method for network equipment parses the downstream data packet, obtains the relationship between the command in the downstream data packet and the target network equipment, so that the network management equipment monitors the situation of the downstream data transmission and makes the routing
  • the device implements a downstream device proxy.
  • the network device number, network device IP address, network device port number, and protocol type are recorded in the second forwarding routing table.
  • the network device number, network device IP address, network device port number, and protocol type are managed by the master network.
  • the device is set according to the device information of each network management device.
  • Each network management device records the device information of all network devices under its corresponding management.
  • the general network management device retrieves the device information that all network management devices need to manage, integrates and maintains it into a second forwarding routing table.
  • the total network equipment can be a designated device in the network management equipment; the total network equipment can also be integrated and maintained by multiple designated devices in the network equipment to the second forwarding routing table, backup and store the second forwarding routing table, and improve network management monitoring Disaster resistance.
  • the second forwarding routing table also records the data packet monitoring relationship between the network device and each network management device.
  • the second forwarding routing table is shown in Table 1, where PROTOCOL represents the protocol type, and the protocol type supports both MCPC and MCPA.
  • the "ACU1", “ACU2”, “ACU3”, and “ACU4" in the last four columns indicate network management equipment. If the value in the table in the following four columns is 1, it means that the data packet of this network device needs to be forwarded to the network management with value 1, which means network The data packet monitoring relationship between the device and each network management device.
  • the second forwarding routing table When the second forwarding routing table is initialized, it needs to be synthesized according to the network equipment monitored by each network management device. It is necessary to call each network management device to record a file that maintains the number of the network device, the device identification number and the ID of the network management device itself.
  • the first forwarding routing table is shown in Table 2, and records the network device network address (IP) and port (PORT) and enable (ENABLED) corresponding to each network management device ID.
  • IP network device network address
  • PORT port
  • ENABLED enable
  • FIG. 5 is a schematic structural diagram of a monitoring system for a network device in an embodiment.
  • a monitoring system for a network device is provided, which may specifically include a monitoring module 510 and an identification module 520.
  • the query module 530 and the monitoring module 540 where:
  • the monitoring module 510 is used to monitor the uplink data link of the monitored network device, and intercept the uplink data packet from the uplink.
  • the routing equipment monitors the data transmitted in the uplink and downlink data links in real time.
  • the uplink and downlink data links connect the network equipment with the network equipment.
  • the network equipment and the network management equipment communicate in the uplink and downlink data links, and the network management equipment monitors the network through the routing equipment.
  • Upstream data packets of the device The routing device intercepts the uplink data packet when it detects the uplink data packet uploaded from the network device in the uplink data link.
  • the uplink data packet can be intercepted from the uplink data link, and the uplink data packet can be buffered in the uplink data buffer memory in the routing device, so that when various processes in the uplink data processing chain are subsequently executed, the data can be retrieved from the uplink data.
  • the required data is called in the buffer memory; after the processing is completed, the processed data can be stored back in the upstream data buffer memory for invocation by other processing in the upstream data processing chain.
  • the uplink data processing chain may include data analysis processing, data forwarding processing, data sending processing, and network management agent service processing.
  • the identification module 520 is configured to analyze the uplink data packet and identify the original network device that uploaded the uplink data packet.
  • the device information of the original network device is parsed from the upstream data packet.
  • the network device information obtained after identification can include data such as network device number, command ID, operation type, etc.
  • the network device number can specifically include the device number of the network device and the network device The identification number of the device.
  • the IP address of the original network device and the port number of the original network device are obtained, according to the IP address of the original network device, the port number of the original network device, and the port number of the original network device.
  • the device number (rptNo) of the network device in the upstream data packet the device identification number (devNo) of the network device, the command ID (operateID), and the operation type (operateType) of the command are parsed.
  • the query module 530 is configured to query multiple target network management devices that monitor the original network device from the first forwarding routing table, where the first forwarding routing table is used to record the relationship between the network device address and the address of the corresponding network management device.
  • the address of the network device and the corresponding network management device is recorded in the first forwarding routing table. Query the addresses of multiple target network management devices from the first forwarding routing table.
  • the network device can be configured with multiple network management devices correspondingly, breaking the limitation that the network device in the prior art can only set the network address of one network management device.
  • IP addresses of all network management devices may also be recorded in the first forwarding routing table, and the network addresses corresponding to valid network management devices in the record can be queried.
  • the monitoring module 540 is configured to forward uplink data packets to each target network management device, so that each target network management device monitors the original network device.
  • the uplink data packet is forwarded to multiple target network management devices, and the original network device that uploads the uplink data packet is monitored by multiple target network management devices, which realizes that the network device can be monitored by multiple network management devices, breaking the network equipment in the prior art Limitations that can only be monitored by one network management device.
  • the monitoring system of the above network equipment monitors the uplink data packet in the uplink data link, queries multiple network management devices corresponding to the uplink data packet according to the first forwarding routing table, and forwards the uplink data packet to each network management device.
  • Multiple network management devices monitor the original network device according to the uplink data packet, breaking the limitation that the network device can only be monitored by one network management device in the prior art; at the same time, it is possible to set the corresponding network management device in the first forwarding routing table.
  • Network management equipment can avoid adding network management equipment to change the network management equipment network address on each network equipment one by one, and it can also avoid setting the network address of each network equipment corresponding to the network management equipment one by one when adding network equipment to be monitored, reducing the monitoring of setting network equipment The cost incurred.
  • compatible network management equipment for monitoring of various types of network equipment, which can fully match the monitoring requirements of various types of network management equipment, reduce network equipment incompatible with other network management equipment, and improve the compatibility of network management equipment
  • Various types of network equipment can be selected to reduce the difficulty of selecting network equipment and reduce the cost of network equipment monitoring.
  • the various modules in the monitoring system of the above-mentioned network equipment can be implemented in whole or in part by software, hardware and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • a routing device which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor executes the computer program, it implements what is described in any of the above embodiments. The steps of the monitoring method of network equipment described above.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the network device monitoring method described in any of the above embodiments are realized.

Abstract

Provided are a network device monitoring method, system, routing device, and storage medium, said method comprising: monitoring an uplink data link of a monitored network device, and intercepting an uplink data packet from the uplink data link; analyzing the uplink data packet to identify the original network device which uploaded the uplink data packet; querying from a first forwarding routing table a plurality of target network management devices which monitor the original network device; forwarding the uplink data packet to each of said target network management devices so that each target network management device monitors the original network device. The described method overcomes the limitation of the prior art that a network device can only be monitored by one network management device, and can avoid the need to change the network addresses of the network management devices on each network device one at a time in order to add network management devices, and can also avoid setting the network address of each network device corresponding to the network management device when adding network devices to be monitored, reducing the cost of setting up network device monitoring.

Description

网络设备的监控方法、系统、路由设备和存储介质Monitoring method, system, routing device and storage medium of network equipment 技术领域Technical field
本申请涉及通信技术领域,具体而言,本申请涉及一种网络设备的监控方法、系统、路由设备和存储介质。This application relates to the field of communication technology. Specifically, this application relates to a monitoring method, system, routing device, and storage medium of a network device.
背景技术Background technique
一般来说,一个网管系统监控网络设备,都需要在网络设备上设置网管的网络地址,这种方式,同一个设备只能由一个网管设备监控的情况。Generally speaking, when a network management system monitors network equipment, it is necessary to set the network address of the network management on the network equipment. In this way, the same equipment can only be monitored by one network management equipment.
实际生产中,不同厂家生产的网络设备都有其对应各自独立的网管系统。因此,当共同管理不同厂家的网络设备,需要把设备的网管设备网络地址设置为某一个厂家的网管设备的网络地址。In actual production, network devices produced by different manufacturers have their own independent network management systems. Therefore, when jointly managing network equipment of different manufacturers, the network address of the equipment's network management equipment needs to be set to the network address of a certain manufacturer's network management equipment.
但是,网管设备的网络地址设置为某一个厂家的网管地址后,其他厂家就监控不了设备,这影响了原有多个网络系统对网络设备的监控。改变网管设备的网络地址设置且对网络设备的改动大,导致网络设备监控的成本变高。However, after the network address of the network management equipment is set to the network management address of a certain manufacturer, other manufacturers cannot monitor the equipment, which affects the monitoring of the network equipment by multiple original network systems. Changing the network address settings of the network management equipment and making major changes to the network equipment result in higher costs for network equipment monitoring.
发明内容Summary of the invention
基于此,有必要针对上述的技术缺陷,特别是网络设备监控的成本变高的技术缺陷,提供一种网络设备的监控方法、系统、路由设备和存储介质。Based on this, it is necessary to provide a monitoring method, system, routing device, and storage medium for network equipment in response to the above technical shortcomings, especially the high cost of network equipment monitoring.
一种网络设备的监控方法,包括如下步骤:A method for monitoring network equipment includes the following steps:
监听被监控的网络设备的上行数据链路,从所述上行数据链路中截取上行数据包;Monitor the uplink data link of the monitored network device, and intercept the uplink data packet from the uplink data link;
对所述上行数据包进行解析,识别上传所述上行数据包的原网络设备;Parse the uplink data packet to identify the original network device that uploaded the uplink data packet;
从第一转发路由表中查询对所述原网络设备进行监控的多个目标网 管设备;其中,所述第一转发路由表用于记录网络设备与对应网管设备地址之间的关系;Query multiple target network management devices that monitor the original network device from the first forwarding routing table; wherein, the first forwarding routing table is used to record the relationship between the network device and the address of the corresponding network management device;
将所述上行数据包转发至各所述目标网管设备,以使各所述目标网管设备对所述原网络设备进行监控。The uplink data packet is forwarded to each of the target network management devices, so that each of the target network management devices monitors the original network device.
一种网络设备的监控系统,包括:A monitoring system for network equipment includes:
监听模块,用于监听被监控的网络设备的上行数据链路,从所述上行数据链路中截取上行数据包;The monitoring module is used to monitor the uplink data link of the monitored network device, and intercept the uplink data packet from the uplink data link;
识别模块,用于对所述上行数据包进行解析,识别上传所述上行数据包的原网络设备;An identification module, configured to parse the uplink data packet and identify the original network device that uploaded the uplink data packet;
查询模块,用于从第一转发路由表中查询对所述原网络设备进行监控的多个目标网管设备;其中,所述第一转发路由表用于记录网络设备地址与对应网管设备地址之间的关系;The query module is used to query multiple target network management devices that monitor the original network device from the first forwarding routing table; wherein, the first forwarding routing table is used to record the relationship between the address of the network device and the address of the corresponding network management device Relationship;
监控模块,用于将所述上行数据包转发至各所述目标网管设备,以使各所述目标网管设备对所述原网络设备进行监控。The monitoring module is configured to forward the uplink data packet to each of the target network management devices, so that each of the target network management devices monitors the original network device.
一种路由设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述任意一个实施例所述的网络设备的监控方法的步骤。A routing device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor. The processor implements the monitoring method of a network device according to any one of the above embodiments when the processor executes the computer program A step of.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任意一个实施例所述的网络设备的监控方法的步骤。A computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for monitoring a network device according to any one of the above embodiments are realized.
上述的网络设备的监控方法、系统、路由设备和存储介质,通过监听上行数据链路中的上行数据包,并根据第一转发路由表查询该上行数据包对应的多个网管设备,并向各个网管设备转发该上行数据包,由多个网管设备分别根据该上行数据包对原网络设备实施监控,打破现有技术中网络设备只能由一个网管设备进行监控的局限;同时可以通过设置第一转发路由表中各个网管设备对应的网管设备,可以避免增加网管设备是逐一变更各个网络设备上的网管设备网络地址,也能够避免在增加待监控的网络设备时逐一设置各个网络设备对应网管设备的网络地址,降低设置网络设备的监控所引起的成本。The foregoing monitoring method, system, routing device and storage medium for network equipment monitor the uplink data packet in the uplink data link, and query the multiple network management devices corresponding to the uplink data packet according to the first forwarding routing table, and report to each The network management device forwards the uplink data packet, and multiple network management devices monitor the original network device according to the uplink data packet, breaking the limitation that the network device can only be monitored by one network management device in the prior art; at the same time, it can be set to the first Forwarding the network management equipment corresponding to each network management device in the routing table can avoid adding network management equipment to change the network management device network address on each network device one by one, and it can also avoid setting each network device corresponding to the network management device one by one when adding network devices to be monitored. The network address reduces the cost caused by setting up the monitoring of network equipment.
另外,本申请为各种不同型号的网络设备配置对应兼容的网管设备进行监控,可以全面匹配各种型号对于网管设备监控的需求,减少不兼容其他网管设备的网络设备,提高网管设备可兼容性,可选用各种类型的网络设备,降低选用网络设备的难度,以降低网络设备监控的成本。In addition, this application configures compatible network management equipment for monitoring of various types of network equipment, which can fully match the monitoring requirements of various types of network management equipment, reduce network equipment that is incompatible with other network management equipment, and improve the compatibility of network management equipment. , You can choose various types of network equipment to reduce the difficulty of selecting network equipment and reduce the cost of network equipment monitoring.
本申请附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过实践了解到。The additional aspects and advantages of the present application will be partly given in the following description, which will become obvious from the following description, or be learned through practice.
附图说明Description of the drawings
上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages will become obvious and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, in which:
图1为一个实施例中提供的网络设备的监控方法的实施环境图;FIG. 1 is an implementation environment diagram of a method for monitoring network equipment provided in an embodiment;
图2为一个实施例中网络设备的监控方法的流程图;Figure 2 is a flowchart of a method for monitoring network equipment in an embodiment;
图3为一个实施例中确定网管设备对应网络地址的流程图;Figure 3 is a flowchart of determining the network address corresponding to the network management device in an embodiment;
图4为又一个实施例中网络设备的监控方法的流程图Figure 4 is a flowchart of a method for monitoring a network device in another embodiment
图5为一个实施例中网络设备的监控系统的结构示意图。Fig. 5 is a schematic structural diagram of a monitoring system for network equipment in an embodiment.
具体实施方式Detailed ways
如图1所示,图1为一个实施例中提供的网络设备的监控方法的实施环境图,在该实施环境中,包括网管设备110、网络设备120以及连接网管设备和网络设备的路由设备130。例如,处于内部网络中的网管设备110与处于外部网络的网络设备130之间可以通过以太网和路由节点进行通信。网络设备130可以包括直放站设备,直放站设备属于中继器的一种,是网络物理层上面的连接设备;其适用于完全相同的两类网络的互连,主要功能是通过对数据信号的重新发送或者转发,来扩大网络传输的距离;直放站设备是对信号进行再生和还原的网络设备OSI模型的物理层设备,直放站设备是局域网环境下用来延长网络距离的最简单最廉价的互联设备,操作在OSI的物理层,直放站设备对在线路上的信号具有放大再生的功能,用于扩展局域网网段的长度。As shown in FIG. 1, FIG. 1 is an implementation environment diagram of a method for monitoring a network device provided in an embodiment. In this implementation environment, it includes a network management device 110, a network device 120, and a routing device 130 that connects the network management device and the network device. . For example, the network management device 110 in the internal network and the network device 130 in the external network may communicate with a routing node through Ethernet. The network equipment 130 may include repeater equipment. The repeater equipment is a type of repeater and is a connection device on the physical layer of the network; it is suitable for the interconnection of two types of networks that are exactly the same. The main function is to connect data The signal is retransmitted or forwarded to expand the distance of network transmission; repeater equipment is the physical layer equipment of the OSI model of network equipment that regenerates and restores the signal, and the repeater equipment is the most used to extend the network distance in the local area network environment. The simple and cheapest interconnection equipment, operating at the physical layer of OSI, the repeater equipment has the function of amplifying and regenerating the signal on the line, which is used to extend the length of the LAN segment.
网络设备120是要被监控的设备,可以通过以太网和路由节点的路由 设备130与网管设备110进行通信。网管设备110用于监控网络设备以及最终展示网络设备的监控情况。路由设备130可以负责数据的接收与发送,是多个网管设备与网络设备之间的通信接口,可以将网络设备的数据转发到所有网管设备,将网管设备的数据转发到特定的网络设备。The network device 120 is a device to be monitored, and can communicate with the network management device 110 through the Ethernet and the routing device 130 of the routing node. The network management equipment 110 is used to monitor the network equipment and finally display the monitoring status of the network equipment. The routing device 130 can be responsible for receiving and sending data, is a communication interface between multiple network management devices and network devices, and can forward the data of the network device to all network management devices, and forward the data of the network management device to a specific network device.
在一个实施例中,如图2所示,图2为一个实施例中网络设备的监控方法的流程图,本实施例中提出了一种网络设备的监控方法,该网络设备的监控方法可以应用于上述的路由设备130中,具体可以包括以下步骤:In an embodiment, as shown in FIG. 2, FIG. 2 is a flowchart of a monitoring method of a network device in an embodiment. In this embodiment, a monitoring method of a network device is proposed, and the monitoring method of the network device can be applied In the above-mentioned routing device 130, the following steps may be specifically included:
步骤S210:监听被监控的网络设备的上行数据链路,从上行数据链路中截取上行数据包。Step S210: Monitor the uplink data link of the monitored network device, and intercept the uplink data packet from the uplink data link.
本步骤中,路由设备实时监听上下行数据链路中传输的数据,上下行数据链路将网络设备和网络设备进行连接,网络设备和网管设备在上下行数据链路中进行通信,网管设备通过路由设备监听网络设备的上行数据包。路由设备在监听到上行数据链路中,出现来自网络设备上传的上行数据包时,截取上行数据包。In this step, the routing equipment monitors the data transmitted in the uplink and downlink data links in real time. The uplink and downlink data links connect the network equipment with the network equipment. The network equipment and the network management equipment communicate in the uplink and downlink data links, and the network management equipment passes The routing device monitors the uplink data packets of the network device. The routing device intercepts the uplink data packet when it detects the uplink data packet uploaded from the network device in the uplink data link.
进一步地,可以从上行数据链路中截取上行数据包,并将上行数据包缓存至路由设备中的上行数据缓存存储器中,以便于后续在执行上行数据处理链中各种处理时,从上行数据缓存存储器中调用所需数据;在完成该处理后,可以将处理后的数据存回上行数据缓存存储器中,供上行数据处理链中其他的处理进行调用。上行数据处理链中可以包括数据解析的处理、数据转发的处理、数据发送的处理和网管代理的服务处理等。Further, the uplink data packet can be intercepted from the uplink data link, and the uplink data packet can be buffered in the uplink data buffer memory in the routing device, so that when various processes in the uplink data processing chain are subsequently executed, the data can be retrieved from the uplink data. The required data is called in the buffer memory; after the processing is completed, the processed data can be stored back in the upstream data buffer memory for invocation by other processing in the upstream data processing chain. The uplink data processing chain may include data analysis processing, data forwarding processing, data sending processing, and network management agent service processing.
步骤S220:对上行数据包进行解析,识别上传上行数据包的原网络设备。Step S220: Analyze the uplink data packet, and identify the original network device that uploaded the uplink data packet.
本步骤中,可以从上行数据包中解析出原网络设备的设备信息,识别后所获取的网络设备信息可以包括网络设备编号、命令ID、操作类型等数据,网络设备编号具体可以包括网络设备的设备编号以及网络设备的设备标识号。In this step, the device information of the original network device can be parsed from the uplink data packet. The network device information obtained after identification can include data such as the network device number, command ID, operation type, etc. The network device number can specifically include the network device information. The device number and the device identification number of the network device.
在数据解析的处理中,监听上行数据链路并截取上行数据包的同时,获取原网络设备的IP地址和原网络设备的端口号,根据原网络设备的IP地址、原网络设备的端口号以及上行数据包,解析出上行数据包中的网络 设备的设备编号(rptNo)、网络设备的设备标识号(devNo)、命令ID(operateID)以及命令的操作类型(operateType)。In the processing of data analysis, while monitoring the uplink data link and intercepting the uplink data packets, the IP address of the original network device and the port number of the original network device are obtained, based on the IP address of the original network device, the port number of the original network device, and the port number of the original network device. In the upstream data packet, the device number (rptNo) of the network device in the upstream data packet, the device identification number (devNo) of the network device, the command ID (operateID), and the operation type (operateType) of the command are parsed.
步骤S230:从第一转发路由表中查询对原网络设备进行监控的多个目标网管设备,其中,第一转发路由表用于记录网络设备与对应网管设备地址之间的关系。Step S230: Query multiple target network management devices that monitor the original network device from the first forwarding routing table, where the first forwarding routing table is used to record the relationship between the network device and the address of the corresponding network management device.
本步骤中,第一转发路由表中记录有网络设备与对应网管设备地址。从第一转发路由表中查询多个目标网管设备的地址。此时,网络设备可以对应配置多个网管设备,打破现有技术下网络设备只能设置一个网管设备的网络地址的局限。In this step, the network device and the address of the corresponding network management device are recorded in the first forwarding routing table. Query the addresses of multiple target network management devices from the first forwarding routing table. At this time, the network device can be configured with multiple network management devices correspondingly, breaking the limitation that the network device in the prior art can only set the network address of one network management device.
进一步地,第一转发路由表中也可以记载所有网管设备的IP地址,还可以调用第二转发路由表,第二转发路由表中可以记载这网络设备与对应网管设备的设备标识号之间的关系,对应网管设备为对网络设备进行有效监控的网管设备。如图3所示,图3为一个实施例中确定网管设备对应网络地址的流程图,本步骤中还可以包括:S231,通过第二转发路由表中查询对该原网络设备进行监控的若干个目标网管设备的设备标识号,S232,根据目标网管设备的设备标识号从第一转发路由表中对应查询目标网管设备对应的网络地址,S241,并按照对应的网络地址将上行数据包转发至各目标网管设备,以使各目标网管设备对原网络设备进行监控。Further, the first forwarding routing table can also record the IP addresses of all network management devices, and the second forwarding routing table can also be called. The second forwarding routing table can record the difference between the network device and the device identification number of the corresponding network management device. Relationship, the corresponding network management equipment is the network management equipment that effectively monitors the network equipment. As shown in FIG. 3, FIG. 3 is a flowchart of determining the network address corresponding to the network management device in an embodiment. This step may also include: S231, querying a number of monitoring devices for the original network device in the second forwarding routing table The device identification number of the target network management device, S232. According to the device identification number of the target network management device, the network address corresponding to the target network management device is correspondingly inquired from the first forwarding routing table, S241, and the uplink data packet is forwarded to each address according to the corresponding network address. Target network management equipment, so that each target network management equipment monitors the original network equipment.
步骤S240:将上行数据包转发至各目标网管设备,以使各目标网管设备对原网络设备进行监控。Step S240: Forward the uplink data packet to each target network management device, so that each target network management device monitors the original network device.
将上行数据包转发至多个目标网管设备,由多个目标网管设备对上传该上行数据包的原网络设备进行监控,实现了网络设备可以受到多个网管设备的监控,打破现有技术中网络设备只能由一个网管设备进行监控的局限。The uplink data packet is forwarded to multiple target network management devices, and the original network device that uploads the uplink data packet is monitored by multiple target network management devices, which realizes that the network device can be monitored by multiple network management devices, breaking the network equipment in the prior art Limitations that can only be monitored by one network management device.
上述网络设备的监控方法,通过监听上行数据链路中的上行数据包,并根据第一转发路由表查询该上行数据包对应的多个网管设备,并向各个网管设备转发该上行数据包,由多个网管设备分别根据该上行数据包对原网络设备实施监控,打破现有技术中网络设备只能由一个网管设备进行监控的局限;同时可以通过设置第一转发路由表中各个网管设备对应的网管 设备,可以避免增加网管设备是逐一变更各个网络设备上的网管设备网络地址,也能够避免在增加待监控的网络设备时逐一设置各个网络设备对应网管设备的网络地址,降低设置网络设备的监控所引起的成本。The monitoring method of the above network equipment is to monitor the uplink data packet in the uplink data link, query the multiple network management devices corresponding to the uplink data packet according to the first forwarding routing table, and forward the uplink data packet to each network management device, by Multiple network management devices monitor the original network device according to the uplink data packet, breaking the limitation that the network device can only be monitored by one network management device in the prior art; at the same time, it is possible to set the corresponding network management device in the first forwarding routing table. Network management equipment can avoid adding network management equipment to change the network management equipment network address on each network equipment one by one, and it can also avoid setting the network address of each network equipment corresponding to the network management equipment one by one when adding network equipment to be monitored, reducing the monitoring of setting network equipment The cost incurred.
另一方面,可以为各种不同型号的网络设备配置对应兼容的网管设备进行监控,可以全面匹配各种型号对于网管设备监控的需求,减少不兼容其他网管设备的网络设备,提高网管设备可兼容性,可选用各种类型的网络设备,降低选用网络设备的难度,以降低网络设备监控的成本。On the other hand, it is possible to configure compatible network management equipment for monitoring of various types of network equipment, which can fully match the monitoring requirements of various types of network management equipment, reduce network equipment incompatible with other network management equipment, and improve the compatibility of network management equipment Various types of network equipment can be selected to reduce the difficulty of selecting network equipment and reduce the cost of network equipment monitoring.
在一个实施例中,在从第一转发路由表中查询对原网络设备进行监控的多个目标网管设备的步骤之后,包括:In one embodiment, after the step of querying multiple target network management devices that monitor the original network device from the first forwarding routing table, the method includes:
步骤S251:对上行数据包进行网管代理的服务处理,获得设备通信数据。Step S251: Perform service processing of the network management agent on the uplink data packet to obtain device communication data.
代理的服务处理,主要指代理负责管理指令的执行,并且以通知的形式向网管设备报告被管对象发生的一些重要事件。网管代理的服务处理后得到的设备通信数据,主要反映上行过程中网络设备以及传输的数据包发生的一些重要事件。The service processing of the agent mainly refers to that the agent is responsible for the execution of management instructions and reports to the network management equipment some important events that occur in the managed object in the form of notification. The device communication data obtained after the service processing of the network management agent mainly reflects some important events that occur in the network device and the transmitted data packet during the uplink process.
步骤S252:将包含服务通信数据的数据包组包成多个转发数据包,将多个转发数据包发送至各目标网管设备。Step S252: group the data packets containing the service communication data into multiple forwarded data packets, and send the multiple forwarded data packets to each target network management device.
上述网络设备的监控方法,按照对上行数据进行网管代理的处理,对上行数据包进行解析,获取设备通信数据,设备通信数据反映网络设备的传输上行数据包的通信状态,设备通信数据作为监控数据上传至各个目标网管设备,使得路由设备实现上行网管代理。The monitoring method of the above network equipment, according to the processing of the upstream data by the network management agent, analyzes the upstream data packet to obtain the device communication data, the device communication data reflects the communication status of the network device transmitting the upstream data packet, and the device communication data is used as the monitoring data Upload to each target network management device, so that the routing device realizes the upstream network management agent.
在一个实施例中,网络设备的监控方法还可以包括:In an embodiment, the monitoring method of the network device may further include:
步骤S261:获取任意一个目标网管设备下发的控制数据,解析控制数据并确定待控制的网络设备。Step S261: Obtain the control data issued by any target network management device, analyze the control data, and determine the network device to be controlled.
步骤S262:根据第一转发路由表将控制数据下发至待控制的网络设备。Step S262: According to the first forwarding routing table, the control data is delivered to the network device to be controlled.
上述网络设备的监控方法,任意一个网管设备都可以通过下发的控制数据,对网络设备进行控制,此时路由设备根据第一转发路由表确定带控制的网络设备,向该网络设备的地址发送控制数据,网络设备接收该控制 数据后受到目标网管设备的控制。In the foregoing monitoring method for network equipment, any network management equipment can control the network equipment through the issued control data. At this time, the routing equipment determines the network equipment with control according to the first forwarding routing table, and sends it to the address of the network equipment. Control data. After receiving the control data, the network device is controlled by the target network management device.
进一步地,在根据第一转发路由表将控制数据下发至待控制的网络设备的步骤之后,还包括:Further, after the step of sending the control data to the network device to be controlled according to the first forwarding routing table, the method further includes:
步骤S263:读取预存的第二转发路由表,并根据第二转发路由表将控制数据转发至对待控制的网络设备进行监控的其他目标网管设备,其中,第二转发路由表用于记录网络设备地址与网管设备之间的关系。Step S263: Read the pre-stored second forwarding routing table, and forward the control data to other target network management equipment monitored by the network equipment to be controlled according to the second forwarding routing table, where the second forwarding routing table is used to record the network equipment The relationship between the address and the network management device.
第二转发路由表记录网络设备地址与网管设备之间的关系,根据从第二转发路由表查询其他的还对待控制的网络设备进行监控的目标网管设备,作为其他目标网管设备。将待控制的网络设备其他目标网管设备,使得其他目标网管设备也可以监控网络设备受到的控制。The second forwarding routing table records the relationship between the network device address and the network management device, and other target network management devices that are also monitored by the network device to be controlled are queried from the second forwarding routing table as other target network management devices. The network equipment to be controlled is set to other target network management equipment, so that other target network management equipment can also monitor the control of the network equipment.
上述网络设备的监控方法,在任意网管设备控制网络设备时,还确定待控制网络设备相关的其他目标网管设备,此时还使得其他目标网管设备监控网络设备受到任意目标网管设备控制的情况,达到全面的多网管设备监控网络设备。In the above-mentioned monitoring method of network equipment, when any network management equipment controls the network equipment, it also determines other target network management equipment related to the network equipment to be controlled. At this time, other target network management equipment is also allowed to monitor the situation that the network equipment is controlled by any target network management equipment. Comprehensive multi-network management equipment monitors network equipment.
在一个实施例中,如图4所示,图4为又一个实施例中网络设备的监控方法的流程图,本实施例提供一种网络设备的监控方法,还可以具体包括:In an embodiment, as shown in FIG. 4, FIG. 4 is a flowchart of a method for monitoring a network device in another embodiment. This embodiment provides a method for monitoring a network device, which may also specifically include:
步骤S410:监听被监控的网络设备的下行数据链路,从下行数据链路中截取下行数据包。Step S410: Monitor the downlink data link of the monitored network device, and intercept the downlink data packet from the downlink data link.
本步骤中,网管设备通过路由设备监听网络设备的上行数据包。路由设备在监听到下行数据链路中,出现来自网管设备下发的下行数据包时,截取下行数据包。In this step, the network management device monitors the uplink data packet of the network device through the routing device. When the routing device monitors the downlink data link, when a downlink data packet sent from the network management device appears, it intercepts the downlink data packet.
进一步地,可以从下行数据链路中截取下行数据包,并将下行数据包缓存至路由设备中的下行数据缓存存储器中,以便于后续在执行下行数据处理链中各种处理时,从下行数据缓存存储器中调用所需数据;在完成该处理后,可以将处理后的数据存回下行数据缓存存储器中,供下数据处理链中其他的处理进行调用。下行数据处理链中可以包括数据解析的处理、数据转发的处理、数据发送的处理和设备代理的服务处理等。Further, the downlink data packet can be intercepted from the downlink data link, and the downlink data packet can be buffered in the downlink data buffer memory in the routing device, so that when various processes in the downlink data processing chain are subsequently executed, the data can be retrieved from the downlink data. The required data is called in the cache memory; after the processing is completed, the processed data can be stored back in the downstream data cache memory for other processes in the lower data processing chain to call. The downlink data processing chain may include data analysis processing, data forwarding processing, data sending processing, and device proxy service processing.
步骤S420:对下行数据包进行解析,识别下行数据包待下传至的目 标网络设备。Step S420: Analyze the downlink data packet, and identify the target network device to which the downlink data packet is to be downloaded.
本步骤中,可以从下行数据包中解析出目标设备的网络地址、网管端口号。在数据解析的处理中,监听下行数据链路并截取下行数据包的同时,获取原网络设备的IP地址和原网络设备的端口号,解析输出原网络设备的IP地址、原网络设备的端口号(port)、网络设备的设备标识号(devNo)、命令ID(operateID)以及命令的操作类型(operateType)。In this step, the network address and network management port number of the target device can be parsed from the downlink data packet. In the processing of data analysis, while monitoring the downlink data link and intercepting the downlink data packet, the IP address of the original network device and the port number of the original network device are obtained, and the IP address of the original network device and the port number of the original network device are parsed and output. (port), the device identification number (devNo) of the network device, the command ID (operateID), and the operation type of the command (operateType).
步骤S430:根据第二转发路由表,查询对目标网络设备进行监控的多个同控网管设备,其中,第二转发路由表用于记录网络设备地址与网管设备之间的关系。Step S430: According to the second forwarding routing table, query multiple same-control network management devices that monitor the target network device, where the second forwarding routing table is used to record the relationship between the network device address and the network management device.
本步骤中,第二转发路由表中记录有网络设备地址与网管设备之间的关系。从第二转发路由表中查询多个同属控制该网络设备的网管设备,并将其多个网管设备作为同控网管设备。此时,网络设备可以对应配置多个网管设备,打破现有技术下网络设备只能设置一个网管设备的网络地址的局限。In this step, the relationship between the network device address and the network management device is recorded in the second forwarding routing table. Query multiple network management devices that simultaneously control the network device from the second forwarding routing table, and use the multiple network management devices as the same control network management device. At this time, the network device can be configured with multiple network management devices correspondingly, breaking the limitation that the network device in the prior art can only set the network address of one network management device.
进一步地,第二转发路由表中也可以记载所有网管设备的IP地址,查询记载中属于有效的网管设备对应的网络地址,便于后续向网管设备的网络地址发送数据。Further, the IP addresses of all network management devices may also be recorded in the second forwarding routing table, and the network address corresponding to the valid network management device in the query record is convenient to subsequently send data to the network address of the network management device.
步骤S440:将下行数据包转发至多个同控网管设备。Step S440: Forward the downlink data packet to multiple concurrently controlled network management devices.
将下行数据包转发至同属监控该网络设备的多个同控网管设备,有多个同控网管设备监控网络设备的接收下行数据包的情况,在下行数据链路中也能实现网络设备可以受到多个网管设备的监控,打破现有技术中网络设备只能由一个网管设备进行监控的局限。The downlink data packet is forwarded to multiple co-control network management devices that also monitor the network device. If there are multiple co-control network management devices that monitor the network device’s reception of the downlink data packet, the network device can also be affected by the downlink data link. The monitoring of multiple network management equipment breaks the limitation that the network equipment can only be monitored by one network management equipment in the prior art.
上述网络设备的监控方法,通过监听下行数据链路中的下行数据包,并根据第二转发路由表查询同属监控该网络设备的多个同控网管设备,并向各个同控网管设备转发该下行数据包,由多个同控网管设备分别根据该下行数据包对原网络设备实施监控,打破现有技术中网络设备只能由一个网管设备进行监控的局限;同时可以通过设置第二转发路由表中各个网管设备对应的网管设备,可以避免增加网管设备是逐一变更各个网络设备上的网管设备网络地址,也能够避免在增加待监控的网络设备时逐一设置各 个网络设备对应网管设备的网络地址,降低设置网络设备的监控所引起的成本。The monitoring method of the above network equipment is to monitor the downlink data packet in the downlink data link, and query multiple co-control network management devices that are the same to monitor the network equipment according to the second forwarding routing table, and forward the downlink to each co-control network management device Data packets are monitored by multiple network management devices of the same control to the original network equipment according to the downlink data packets, breaking the limitation that the network equipment in the prior art can only be monitored by one network management device; at the same time, a second forwarding routing table can be set The network management equipment corresponding to each network management device in the network management device can avoid adding network management equipment to change the network management device network address on each network device one by one, and it can also avoid setting the network address of each network device corresponding to the network management device one by one when adding network devices to be monitored. Reduce the cost of setting up network equipment monitoring.
另一方面,可以为各种不同型号的网络设备配置对应兼容的网管设备进行监控,可以全面匹配各种型号对于网管设备监控的需求,减少不兼容其他网管设备的网络设备,提高网管设备可兼容性,可选用各种类型的网络设备,降低选用网络设备的难度,以降低网络设备监控的成本。On the other hand, it is possible to configure compatible network management equipment for monitoring of various types of network equipment, which can fully match the monitoring requirements of various types of network management equipment, reduce network equipment incompatible with other network management equipment, and improve the compatibility of network management equipment Various types of network equipment can be selected to reduce the difficulty of selecting network equipment and reduce the cost of network equipment monitoring.
在一个实施例中,网络设备的监控方法还包括:In an embodiment, the monitoring method of the network device further includes:
步骤S421:对下行数据包进行解析,识别将下行数据包下发的原网管设备。Step S421: Analyze the downlink data packet, and identify the original network management device that delivered the downlink data packet.
将下行数据包转发至多个同控网管设备的步骤包括:The steps for forwarding downlink data packets to multiple same-controlled network management devices include:
步骤S441:将下行数据包转发至原网管设备以外的多个同控网管设备。Step S441: Forward the downlink data packet to multiple co-control network management devices other than the original network management device.
上述网络设备的监控方法,还可以仅向原网管设备以外的多个同控网管设备,降低网络负担。The above-mentioned monitoring method for network equipment can also only control multiple network management equipment other than the original network management equipment to reduce the burden on the network.
在一个实施例中,在查询对目标网络设备进行监控的多个同控网管设备的步骤之后,还包括:In one embodiment, after the step of querying multiple co-control network management devices that monitor the target network device, the method further includes:
步骤S451:对下行数据包进行设备代理的服务处理,获得下行数据包中命令与目标网络设备之间的关系。Step S451: Perform device proxy service processing on the downlink data packet to obtain the relationship between the command in the downlink data packet and the target network device.
代理的服务处理,主要指代理负责管理指令的执行,并且以通知的形式向网管设备报告被管对象发生的一些重要事件。设备代理的服务处理后得到的关系,主要反映下行过程中网络设备以及传输的数据包发生的一些重要事件。The service processing of the agent mainly refers to that the agent is responsible for the execution of management instructions and reports to the network management equipment some important events that occur in the managed object in the form of notification. The relationship obtained after the service processing of the device agent mainly reflects some important events that occur in the network device and the transmitted data packet in the downlink process.
步骤S452:将下行数据包中命令与目标网络设备之间的关系上传至多个同控网管设备。Step S452: Upload the relationship between the command in the downlink data packet and the target network device to multiple same-control network management devices.
以及步骤S453:将下行数据包发送至目标网络设备。And step S453: sending the downlink data packet to the target network device.
目标网络设备的实际网络地址可以从第二转发路由表中查询获得,然后按照实际网络地址将下行数据包发送至目标网络设备。The actual network address of the target network device can be obtained by querying the second forwarding routing table, and then the downlink data packet is sent to the target network device according to the actual network address.
上述网络设备的监控方法,按照对下行数据进行设备代理的处理,解析下行数据包,获得下行数据包中命令与目标网络设备之间的关系,以供 网管设备监控下行数据传输的情况,使得路由设备实现下行设备代理。The above-mentioned monitoring method for network equipment, according to the equipment agent processing of the downstream data, parses the downstream data packet, obtains the relationship between the command in the downstream data packet and the target network equipment, so that the network management equipment monitors the situation of the downstream data transmission and makes the routing The device implements a downstream device proxy.
在一个实施例中,第二转发路由表中记录有网络设备编号、网络设备IP地址、网络设备端口号和协议类型,网络设备编号、网络设备IP地址、网络设备端口号和协议类型由总网管设备根据各个网管设备的设备信息进行设置。In one embodiment, the network device number, network device IP address, network device port number, and protocol type are recorded in the second forwarding routing table. The network device number, network device IP address, network device port number, and protocol type are managed by the master network. The device is set according to the device information of each network management device.
各个网管设备中记录有其对应管理的所有网络设备的设备信息,总网管设备调取所有网管设备需要管理的设备信息,整合和维护成第二转发路由表。该总网络设备可以是网管设备中的一个指定设备;总网络设备也可以由网络设备中多个指定设备共同对第二转发路由表进行整合各维护,备份存储第二转发路由表,提高网管监控的抗灾性。Each network management device records the device information of all network devices under its corresponding management. The general network management device retrieves the device information that all network management devices need to manage, integrates and maintains it into a second forwarding routing table. The total network equipment can be a designated device in the network management equipment; the total network equipment can also be integrated and maintained by multiple designated devices in the network equipment to the second forwarding routing table, backup and store the second forwarding routing table, and improve network management monitoring Disaster resistance.
第二转发路由表中还记录有网络设备与各个网管设备之间的数据包监控关系。The second forwarding routing table also records the data packet monitoring relationship between the network device and each network management device.
在一个示例中,第二转发路由表如表1所示,其中PROTOCOL表示协议类型,协议类型支持MCPC和MCPA两种。后面四列的“ACU1”“ACU2”“ACU3”“ACU4”表示网管设备,后面四列中如果表格内值为1,则代表该网络设备的数据包需要转发给值为1的网管,表示网络设备与各个网管设备之间的数据包监控关系。第二转发路由表初始化的时候需根据各个网管设备监控的网络设备进行合成,需要调用每个网管设备记录各自维护网络设备的编号、设备标识号和网管设备自身的ID标识的一个文件,另外还通过主网管设备管理网络设备的编号(RPTNO)、设备标识号(DEVNO)、网络地址(IP)、端口(PORT)、协议类型(PROTOCOL)的数据及自身网管ID标识。In an example, the second forwarding routing table is shown in Table 1, where PROTOCOL represents the protocol type, and the protocol type supports both MCPC and MCPA. The "ACU1", "ACU2", "ACU3", and "ACU4" in the last four columns indicate network management equipment. If the value in the table in the following four columns is 1, it means that the data packet of this network device needs to be forwarded to the network management with value 1, which means network The data packet monitoring relationship between the device and each network management device. When the second forwarding routing table is initialized, it needs to be synthesized according to the network equipment monitored by each network management device. It is necessary to call each network management device to record a file that maintains the number of the network device, the device identification number and the ID of the network management device itself. Manage network device number (RPTNO), device identification number (DEVNO), network address (IP), port (PORT), protocol type (PROTOCOL) data and its own network management ID through the main network management device.
RPTNORPTNO DEVNODEVNO IPIP PORTPORT PROTOCOLPROTOCOL ACU1ACU1 ACU2ACU2 ACU3ACU3 ACU4ACU4
0000000000000000 0000 xxx.xxx.xxx.xxxxxx.xxx.xxx.xxx 80018001 MCPCMCPC 11 11 11 00
表1Table 1
在一个示例中,第一转发路由表如表2所示,记录了各个网管设备ID标识对应的网络设备网络地址(IP)及其端口(PORT)以及使能(ENABLED)。In an example, the first forwarding routing table is shown in Table 2, and records the network device network address (IP) and port (PORT) and enable (ENABLED) corresponding to each network management device ID.
IDID IPIP PORTPORT ENABLEDENABLED
ACU1ACU1 10.10.15.210.10.15.2 88018801 11
ACU2ACU2 10.10.15.310.10.15.3 88018801 11
ACU3ACU3 10.10.15.410.10.15.4 88018801 11
ACU4ACU4 10.10.15.510.10.15.5 88018801 11
表2Table 2
在一个实施例中,如图5所示,图5为一个实施例中网络设备的监控系统的结构示意图,本实施例中提供一种网络设备的监控系统,具体可以包括监听模块510、识别模块520、查询模块530和监控模块540,其中:In an embodiment, as shown in FIG. 5, FIG. 5 is a schematic structural diagram of a monitoring system for a network device in an embodiment. In this embodiment, a monitoring system for a network device is provided, which may specifically include a monitoring module 510 and an identification module 520. The query module 530 and the monitoring module 540, where:
监听模块510,用于监听被监控的网络设备的上行数据链路,从上行链路中截取上行数据包。The monitoring module 510 is used to monitor the uplink data link of the monitored network device, and intercept the uplink data packet from the uplink.
路由设备实时监听上下行数据链路中传输的数据,上下行数据链路将网络设备和网络设备进行连接,网络设备和网管设备在上下行数据链路中进行通信,网管设备通过路由设备监听网络设备的上行数据包。路由设备在监听到上行数据链路中,出现来自网络设备上传的上行数据包时,截取上行数据包。The routing equipment monitors the data transmitted in the uplink and downlink data links in real time. The uplink and downlink data links connect the network equipment with the network equipment. The network equipment and the network management equipment communicate in the uplink and downlink data links, and the network management equipment monitors the network through the routing equipment. Upstream data packets of the device. The routing device intercepts the uplink data packet when it detects the uplink data packet uploaded from the network device in the uplink data link.
进一步地,可以从上行数据链路中截取上行数据包,并将上行数据包缓存至路由设备中的上行数据缓存存储器中,以便于后续在执行上行数据处理链中各种处理时,从上行数据缓存存储器中调用所需数据;在完成该处理后,可以将处理后的数据存回上行数据缓存存储器中,供上行数据处理链中其他的处理进行调用。上行数据处理链中可以包括数据解析的处理、数据转发的处理、数据发送的处理和网管代理的服务处理等。Further, the uplink data packet can be intercepted from the uplink data link, and the uplink data packet can be buffered in the uplink data buffer memory in the routing device, so that when various processes in the uplink data processing chain are subsequently executed, the data can be retrieved from the uplink data. The required data is called in the buffer memory; after the processing is completed, the processed data can be stored back in the upstream data buffer memory for invocation by other processing in the upstream data processing chain. The uplink data processing chain may include data analysis processing, data forwarding processing, data sending processing, and network management agent service processing.
识别模块520,用于对上行数据包进行解析,识别上传上行数据数据包的原网络设备。The identification module 520 is configured to analyze the uplink data packet and identify the original network device that uploaded the uplink data packet.
从上行数据包中解析出原网络设备的设备信息,识别后所获取的网络设备信息可以包括网络设备编号、命令ID、操作类型等数据,网络设备编号具体可以包括网络设备的设备编号以及网络设备的设备标识号。The device information of the original network device is parsed from the upstream data packet. The network device information obtained after identification can include data such as network device number, command ID, operation type, etc. The network device number can specifically include the device number of the network device and the network device The identification number of the device.
在数据解析的处理中,监听上行数据链路并截取上行数据包的同时,获取原网络设备的IP地址和原网络设备的端口号,根据原网络设备的IP 地址、原网络设备的端口号以及上行数据包,解析出上行数据包中的网络设备的设备编号(rptNo)、网络设备的设备标识号(devNo)、命令ID(operateID)以及命令的操作类型(operateType)。In the processing of data analysis, while monitoring the uplink data link and intercepting the uplink data packet, the IP address of the original network device and the port number of the original network device are obtained, according to the IP address of the original network device, the port number of the original network device, and the port number of the original network device. In the upstream data packet, the device number (rptNo) of the network device in the upstream data packet, the device identification number (devNo) of the network device, the command ID (operateID), and the operation type (operateType) of the command are parsed.
查询模块530,用于从第一转发路由表中查询对原网络设备进行监控的多个目标网管设备,其中,第一转发路由表用于记录网络设备地址与对应网管设备地址之间的关系。The query module 530 is configured to query multiple target network management devices that monitor the original network device from the first forwarding routing table, where the first forwarding routing table is used to record the relationship between the network device address and the address of the corresponding network management device.
第一转发路由表中记录有网络设备与对应网管设备地址。从第一转发路由表中查询多个目标网管设备的地址。此时,网络设备可以对应配置多个网管设备,打破现有技术下网络设备只能设置一个网管设备的网络地址的局限。The address of the network device and the corresponding network management device is recorded in the first forwarding routing table. Query the addresses of multiple target network management devices from the first forwarding routing table. At this time, the network device can be configured with multiple network management devices correspondingly, breaking the limitation that the network device in the prior art can only set the network address of one network management device.
进一步地,第一转发路由表中也可以记载所有网管设备的IP地址,查询记载中属于有效的网管设备对应的网络地址。Further, the IP addresses of all network management devices may also be recorded in the first forwarding routing table, and the network addresses corresponding to valid network management devices in the record can be queried.
监控模块540,用于将上行数据包转发至各目标网管设备,以使各目标网管设备对原网络设备进行监控。The monitoring module 540 is configured to forward uplink data packets to each target network management device, so that each target network management device monitors the original network device.
将上行数据包转发至多个目标网管设备,由多个目标网管设备对上传该上行数据包的原网络设备进行监控,实现了网络设备可以受到多个网管设备的监控,打破现有技术中网络设备只能由一个网管设备进行监控的局限。The uplink data packet is forwarded to multiple target network management devices, and the original network device that uploads the uplink data packet is monitored by multiple target network management devices, which realizes that the network device can be monitored by multiple network management devices, breaking the network equipment in the prior art Limitations that can only be monitored by one network management device.
上述网络设备的监控系统,通过监听上行数据链路中的上行数据包,并根据第一转发路由表查询该上行数据包对应的多个网管设备,并向各个网管设备转发该上行数据包,由多个网管设备分别根据该上行数据包对原网络设备实施监控,打破现有技术中网络设备只能由一个网管设备进行监控的局限;同时可以通过设置第一转发路由表中各个网管设备对应的网管设备,可以避免增加网管设备是逐一变更各个网络设备上的网管设备网络地址,也能够避免在增加待监控的网络设备时逐一设置各个网络设备对应网管设备的网络地址,降低设置网络设备的监控所引起的成本。The monitoring system of the above network equipment monitors the uplink data packet in the uplink data link, queries multiple network management devices corresponding to the uplink data packet according to the first forwarding routing table, and forwards the uplink data packet to each network management device. Multiple network management devices monitor the original network device according to the uplink data packet, breaking the limitation that the network device can only be monitored by one network management device in the prior art; at the same time, it is possible to set the corresponding network management device in the first forwarding routing table. Network management equipment can avoid adding network management equipment to change the network management equipment network address on each network equipment one by one, and it can also avoid setting the network address of each network equipment corresponding to the network management equipment one by one when adding network equipment to be monitored, reducing the monitoring of setting network equipment The cost incurred.
另一方面,可以为各种不同型号的网络设备配置对应兼容的网管设备进行监控,可以全面匹配各种型号对于网管设备监控的需求,减少不兼容其他网管设备的网络设备,提高网管设备可兼容性,可选用各种类型的网 络设备,降低选用网络设备的难度,以降低网络设备监控的成本。On the other hand, it is possible to configure compatible network management equipment for monitoring of various types of network equipment, which can fully match the monitoring requirements of various types of network management equipment, reduce network equipment incompatible with other network management equipment, and improve the compatibility of network management equipment Various types of network equipment can be selected to reduce the difficulty of selecting network equipment and reduce the cost of network equipment monitoring.
关于网络设备的监控系统的具体限定可以参见上文中对于网络设备的监控方法的限定,在此不再赘述。上述网络设备的监控系统中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the monitoring system of the network device, please refer to the above limitation of the monitoring method of the network device, which will not be repeated here. The various modules in the monitoring system of the above-mentioned network equipment can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
在一个实施例中,提出了一种一种路由设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述任意一个实施例中所述的网络设备的监控方法的步骤。In one embodiment, a routing device is proposed, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, it implements what is described in any of the above embodiments. The steps of the monitoring method of network equipment described above.
在一个实施例中,提出了一种一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述任意一个实施例中所述的网络设备的监控方法的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the network device monitoring method described in any of the above embodiments are realized.

Claims (11)

  1. 一种网络设备的监控方法,其特征在于,包括如下步骤:A method for monitoring network equipment, which is characterized in that it comprises the following steps:
    监听被监控的网络设备的上行数据链路,从所述上行数据链路中截取上行数据包;Monitor the uplink data link of the monitored network device, and intercept the uplink data packet from the uplink data link;
    对所述上行数据包进行解析,识别上传所述上行数据包的原网络设备;Parse the uplink data packet to identify the original network device that uploaded the uplink data packet;
    从第一转发路由表中查询对所述原网络设备进行监控的多个目标网管设备;其中,所述第一转发路由表用于记录网络设备与对应网管设备地址之间的关系;Query multiple target network management devices that monitor the original network device from the first forwarding routing table; wherein, the first forwarding routing table is used to record the relationship between the network device and the address of the corresponding network management device;
    将所述上行数据包转发至各所述目标网管设备,以使各所述目标网管设备对所述原网络设备进行监控。The uplink data packet is forwarded to each of the target network management devices, so that each of the target network management devices monitors the original network device.
  2. 根据权利要求1所述的网络设备的监控方法,其特征在于,在所述从第一转发路由表中查询对所述原网络设备进行监控的多个目标网管设备的步骤之后,包括:The method for monitoring a network device according to claim 1, wherein after the step of querying a plurality of target network management devices that monitor the original network device from the first forwarding routing table, the method comprises:
    对所述上行数据包进行网管代理的服务处理,获得设备通信数据;Perform service processing of the network management agent on the uplink data packet to obtain device communication data;
    将包含所述服务通信数据的数据包组包成多个转发数据包,将所述多个转发数据包发送至各所述目标网管设备。The data packets containing the service communication data are grouped into multiple forwarded data packets, and the multiple forwarded data packets are sent to each of the target network management devices.
  3. 根据权利要求1所述的网络设备的监控方法,其特征在于,还包括:The method for monitoring network equipment according to claim 1, further comprising:
    获取任意一个所述目标网管设备下发的控制数据,解析所述控制数据并确定待控制的网络设备;Acquiring control data issued by any one of the target network management devices, analyzing the control data, and determining the network device to be controlled;
    根据所述第一转发路由表将所述控制数据下发至所述待控制的网络设备。Delivering the control data to the network device to be controlled according to the first forwarding routing table.
  4. 根据权利要求3所述的网络设备的监控方法,其特征在于,在所述根据所述第一转发路由表将所述控制数据下发至所述待控制的网络设备的步骤之后,还包括:The method for monitoring a network device according to claim 3, wherein after the step of delivering the control data to the network device to be controlled according to the first forwarding routing table, the method further comprises:
    读取预存的第二转发路由表,并根据第二转发路由表将所述控制数据转发至对所述待控制的网络设备进行监控的其他目标网管设备;其中,所 述第二转发路由表用于记录网络设备地址与网管设备之间的关系。Read the pre-stored second forwarding routing table, and forward the control data to other target network management devices that monitor the network device to be controlled according to the second forwarding routing table; wherein, the second forwarding routing table is used To record the relationship between the network device address and the network management device.
  5. 根据权利要求1所述的网络设备的监控方法,其特征在于,还包括:The method for monitoring network equipment according to claim 1, further comprising:
    监听被监控的网络设备的下行数据链路,从所述下行数据链路中截取下行数据包;Monitor the downlink data link of the monitored network device, and intercept the downlink data packet from the downlink data link;
    对所述下行数据包进行解析,识别所述下行数据包待下传至的目标网络设备;Parse the downlink data packet, and identify the target network device to which the downlink data packet is to be downloaded;
    根据第二转发路由表,查询对所述目标网络设备进行监控的多个同控网管设备,其中,所述第二转发路由表用于记录网络设备地址与网管设备之间的关系;According to the second forwarding routing table, query multiple co-control network management devices that monitor the target network device, where the second forwarding routing table is used to record the relationship between the network device address and the network management device;
    将所述下行数据包转发至所述多个同控网管设备。Forward the downlink data packet to the multiple co-control network management devices.
  6. 根据权利要求5所述的网络设备的监控方法,其特征在于,还包括:The method for monitoring network equipment according to claim 5, further comprising:
    对所述下行数据包进行解析,识别将所述下行数据包下发的原网管设备;Parse the downlink data packet, and identify the original network management device that issued the downlink data packet;
    所述将所述下行数据包转发至所述多个同控网管设备的步骤,包括:The step of forwarding the downlink data packet to the multiple co-control network management devices includes:
    将所述下行数据包转发至除所述原网管设备以外的多个同控网管设备。The downlink data packet is forwarded to multiple co-control network management devices other than the original network management device.
  7. 根据权利要求5所述的网络设备的监控方法,其特征在于,在所述查询对所述目标网络设备进行监控的多个同控网管设备的步骤之后,还包括:The method for monitoring a network device according to claim 5, characterized in that, after the step of querying multiple co-control network management devices that monitor the target network device, the method further comprises:
    对所述下行数据包进行设备代理的服务处理,获得下行数据包中命令与目标网络设备之间的关系;Perform service processing of the device proxy on the downlink data packet to obtain the relationship between the command in the downlink data packet and the target network device;
    将所述下行数据包中命令与目标网络设备之间的关系上传至所述多个同控网管设备;Uploading the relationship between the command in the downlink data packet and the target network device to the multiple co-control network management devices;
    以及将所述下行数据包发送至所述目标网络设备。And sending the downlink data packet to the target network device.
  8. 根据权利要求4、5至7中任意一项所述的网络设备的监控方法,其特征在于,所述第二转发路由表中记录有网络设备编号、网络设备IP地址、网络设备端口号和协议类型,所述网络设备编号、网管设备IP地 址、端口号和协议类型由总网管设备根据各个网管设备的设备信息进行设置;The method for monitoring a network device according to any one of claims 4, 5 to 7, wherein the second forwarding routing table records a network device number, a network device IP address, a network device port number, and a protocol Type, the network device number, network management device IP address, port number, and protocol type are set by the main network management device according to the device information of each network management device;
    所述第二转发路由表中还记录有网络设备与各个网管设备之间的数据包监控关系。The second forwarding routing table also records the data packet monitoring relationship between the network device and each network management device.
  9. 一种网络设备的监控系统,其特征在于,包括:A monitoring system for network equipment, characterized in that it comprises:
    监听模块,用于监听被监控的网络设备的上行数据链路,从所述上行数据链路中截取上行数据包;The monitoring module is used to monitor the uplink data link of the monitored network device, and intercept the uplink data packet from the uplink data link;
    识别模块,用于对所述上行数据包进行解析,识别上传所述上行数据包的原网络设备;An identification module, configured to parse the uplink data packet and identify the original network device that uploaded the uplink data packet;
    查询模块,用于从第一转发路由表中查询对所述原网络设备进行监控的多个目标网管设备;其中,所述第一转发路由表用于记录网络设备地址与对应网管设备地址之间的关系;The query module is used to query multiple target network management devices that monitor the original network device from the first forwarding routing table; wherein, the first forwarding routing table is used to record the relationship between the address of the network device and the address of the corresponding network management device Relationship;
    监控模块,用于将所述上行数据包转发至各所述目标网管设备,以使各所述目标网管设备对所述原网络设备进行监控。The monitoring module is configured to forward the uplink data packet to each of the target network management devices, so that each of the target network management devices monitors the original network device.
  10. 一种路由设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至8中任一项所述的网络设备的监控方法的步骤。A routing device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor, wherein the processor implements any one of claims 1 to 8 when the computer program is executed The steps of the method for monitoring network equipment.
  11. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至8中任一项所述的网络设备的监控方法的步骤。A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the network device monitoring method according to any one of claims 1 to 8 when the computer program is executed by a processor.
PCT/CN2020/140304 2019-12-31 2020-12-28 Network device monitoring method, system, routing device, and storage medium WO2021136199A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911411589.3 2019-12-31
CN201911411589.3A CN111181859B (en) 2019-12-31 2019-12-31 Network equipment monitoring method, system, route equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021136199A1 true WO2021136199A1 (en) 2021-07-08

Family

ID=70657879

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/140304 WO2021136199A1 (en) 2019-12-31 2020-12-28 Network device monitoring method, system, routing device, and storage medium

Country Status (2)

Country Link
CN (1) CN111181859B (en)
WO (1) WO2021136199A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111181859B (en) * 2019-12-31 2022-03-25 京信网络系统股份有限公司 Network equipment monitoring method, system, route equipment and storage medium
CN113904951B (en) * 2021-09-28 2023-07-25 济南浪潮数据技术有限公司 Data monitoring method and device of gateway equipment and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725701A (en) * 2004-07-22 2006-01-25 华为技术有限公司 Method for implementing terminal management in network equipment
CN101692649A (en) * 2009-08-03 2010-04-07 杭州华三通信技术有限公司 Method and equipment for data multi-wire monitoring
JP2010245710A (en) * 2009-04-03 2010-10-28 Mitsubishi Electric Corp Network management device, communication system, network management method, and program
CN102572397A (en) * 2012-01-04 2012-07-11 瑞斯康达科技发展股份有限公司 Video monitoring system, and device and method for data processing in video monitoring system
CN111181859A (en) * 2019-12-31 2020-05-19 京信通信系统(中国)有限公司 Network equipment monitoring method, system, route equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7102996B1 (en) * 2001-05-24 2006-09-05 F5 Networks, Inc. Method and system for scaling network traffic managers
CN100483372C (en) * 2004-04-01 2009-04-29 宝马股份公司 Method for identifying incompatibility of bus system containing a plurality of control equipments
CN101141282B (en) * 2006-09-07 2010-05-12 中兴通讯股份有限公司 Network management system and its management method
CN102332999B (en) * 2011-10-31 2013-12-25 迈普通信技术股份有限公司 Interaction system and interaction method of network management based on shared network address translation (NAT)
CN103984325A (en) * 2014-05-28 2014-08-13 梅志国 IEEE802.15.4-oriented equipment data synchronization method of intelligent housing system
CN106789362B (en) * 2017-02-20 2020-04-14 京信通信系统(中国)有限公司 Equipment management method and network management system
CN108124003B (en) * 2017-12-11 2021-03-26 中盈优创资讯科技有限公司 Network management equipment connection processing method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725701A (en) * 2004-07-22 2006-01-25 华为技术有限公司 Method for implementing terminal management in network equipment
JP2010245710A (en) * 2009-04-03 2010-10-28 Mitsubishi Electric Corp Network management device, communication system, network management method, and program
CN101692649A (en) * 2009-08-03 2010-04-07 杭州华三通信技术有限公司 Method and equipment for data multi-wire monitoring
CN102572397A (en) * 2012-01-04 2012-07-11 瑞斯康达科技发展股份有限公司 Video monitoring system, and device and method for data processing in video monitoring system
CN111181859A (en) * 2019-12-31 2020-05-19 京信通信系统(中国)有限公司 Network equipment monitoring method, system, route equipment and storage medium

Also Published As

Publication number Publication date
CN111181859B (en) 2022-03-25
CN111181859A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
US10700937B2 (en) Method for setting link speed of dual port switch
US7516211B1 (en) Methods and apparatus to configure a communication port
US20030105801A1 (en) Method, system and agent for connecting event consumers to event producers in a distributed event management system
WO2021136199A1 (en) Network device monitoring method, system, routing device, and storage medium
US11184267B2 (en) Intelligent in-band telemetry auto-configuration for IP networks
WO2021104103A1 (en) Network controller framework and data processing method
US11601360B2 (en) Automated link aggregation group configuration system
CN103763121A (en) Method and device for quickly issuing network configuration information
US10797986B2 (en) Link discovery method and apparatus
US20160028589A1 (en) Data loop detection
KR101864811B1 (en) Switching device, controller, method for configuring switching device, and method and system for processing packet
US20220353164A1 (en) Scalable in-band telemetry metadata extraction
US11005680B2 (en) Reprogramming apparatus for vehicle, reprogramming method thereof, and vehicle including the same
CN106559236B (en) Equipment resource management method and device of service board, main control board and frame type equipment
US11695738B2 (en) Unified communication gateway systems
US7895300B1 (en) Systems and methods for testing device ports in a storage area network
US10931529B2 (en) Terminal device management method, server, and terminal device for managing terminal devices in local area network
JP3740982B2 (en) Alive monitoring method for host computers connected to the network
US8285797B2 (en) Technique for controlling device management response messages
WO2017165999A1 (en) Network service implementation method, service controller, and communication system
KR102021466B1 (en) Method and apparatus for configuring test environment of tactical data link software and computer readible storage medium therefor
KR20160025472A (en) Method for recording/reading operation log information in router network based on software defined networking and apparatus thereof
CN111556102B (en) Data channel establishing method, ethernet switch and storage medium
CN104780063A (en) Login method and device for node equipment
WO2023116289A1 (en) User message forwarding method, network element, electronic device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20908983

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20908983

Country of ref document: EP

Kind code of ref document: A1