CN111181859A - Network equipment monitoring method, system, route equipment and storage medium - Google Patents

Network equipment monitoring method, system, route equipment and storage medium Download PDF

Info

Publication number
CN111181859A
CN111181859A CN201911411589.3A CN201911411589A CN111181859A CN 111181859 A CN111181859 A CN 111181859A CN 201911411589 A CN201911411589 A CN 201911411589A CN 111181859 A CN111181859 A CN 111181859A
Authority
CN
China
Prior art keywords
network
equipment
network management
monitoring
data packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911411589.3A
Other languages
Chinese (zh)
Other versions
CN111181859B (en
Inventor
陈锐均
曹鹏飞
黎志勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Systems China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Comba Telecom Systems China Ltd filed Critical Comba Telecom Systems China Ltd
Priority to CN201911411589.3A priority Critical patent/CN111181859B/en
Publication of CN111181859A publication Critical patent/CN111181859A/en
Priority to PCT/CN2020/140304 priority patent/WO2021136199A1/en
Application granted granted Critical
Publication of CN111181859B publication Critical patent/CN111181859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a monitoring method, a system, a routing device and a storage medium of a network device, wherein the method comprises the following steps: monitoring an uplink data link of the monitored network equipment, and intercepting an uplink data packet from the uplink data link; analyzing the uplink data packet, and identifying the original network equipment which uploads the uplink data packet; inquiring a plurality of target network management devices for monitoring the original network device from the first forwarding routing table; and forwarding the uplink data packet to each target network management device so that each target network management device monitors the original network device. The method breaks through the limitation that the network equipment can only be monitored by one network management equipment in the prior art, can avoid that the network management equipment is added to change the network addresses of the network management equipment on each network equipment one by one, can also avoid that the network addresses of the network management equipment corresponding to each network equipment are set one by one when the network equipment to be monitored is added, and reduces the cost caused by setting the monitoring of the network equipment.

Description

Network equipment monitoring method, system, route equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and a system for monitoring a network device, a routing device, and a storage medium.
Background
Generally, a network device monitored by a network management system needs to set a network address of a network manager on the network device, and in this way, the same device can only be monitored by one network management device.
In actual production, network devices produced by different manufacturers have corresponding independent network management systems. Therefore, when network devices of different manufacturers are managed together, the network address of the network management device of the device needs to be set as the network address of the network management device of a certain manufacturer.
However, after the network address of the network management device is set as the network management address of a certain manufacturer, other manufacturers cannot monitor the device, which affects the monitoring of network devices by a plurality of original network systems. The network address setting of the network management equipment is changed, and the change of the network equipment is large, so that the monitoring cost of the network equipment is high.
Disclosure of Invention
In view of the above, it is necessary to provide a monitoring method, a monitoring system, a routing device, and a storage medium for a network device, in order to overcome the above technical drawbacks, particularly the technical drawback that the monitoring cost of the network device becomes high.
A monitoring method of network equipment comprises the following steps:
monitoring an uplink data link of monitored network equipment, and intercepting an uplink data packet from the uplink data link;
analyzing the uplink data packet, and identifying the original network equipment which uploads the uplink data packet;
inquiring a plurality of target network management devices for monitoring the original network device from a first forwarding routing table; the first forwarding routing table is used for recording the relation between the network equipment and the corresponding network management equipment address;
and forwarding the uplink data packet to each target network management device so that each target network management device monitors the original network device.
In one embodiment, after the step of querying the plurality of target network management devices monitoring the original network device from the first forwarding routing table, the method includes:
performing service processing of a network management agent on the uplink data packet to obtain equipment communication data;
and packaging the data packets containing the service communication data into a plurality of forwarding data packets, and sending the plurality of forwarding data packets to each target network management device.
In one embodiment, the monitoring method of the network device further includes:
acquiring control data issued by any one of the target network management devices, analyzing the control data and determining a network device to be controlled;
and sending the control data to the network equipment to be controlled according to the first forwarding routing table.
In an embodiment, 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:
reading a pre-stored second forwarding routing table, and forwarding the control data to other target network management equipment for monitoring the network equipment to be controlled according to the second forwarding routing table; and the second forwarding routing table is used for recording the relationship between the network equipment address and the network management equipment.
In one embodiment, the monitoring method of the network device further includes:
monitoring a downlink data link of monitored network equipment, and intercepting a downlink data packet from the downlink data link;
analyzing the downlink data packet, and identifying target network equipment to which the downlink data packet is to be downloaded;
inquiring a plurality of co-control network management devices for monitoring the target network device according to a second forwarding routing table, wherein the second forwarding routing table is used for recording the relationship between the network device address and the network management devices;
and forwarding the downlink data packet to the plurality of the network management devices under the same control.
In one embodiment, the monitoring method of the network device further includes:
analyzing the downlink data packet, and identifying the original network management equipment which issues the downlink data packet;
the step of forwarding the downlink data packet to the plurality of co-control network management devices includes:
and forwarding the downlink data packet to a plurality of network management devices under the same control except the original network management device.
In an embodiment, after the step of querying a plurality of pieces of co-control network management equipment for monitoring the target network equipment, the method further includes:
performing service processing of equipment proxy on the downlink data packet to obtain the relation between the command in the downlink data packet and the target network equipment;
uploading the relation between the command in the downlink data packet and the target network equipment to the plurality of pieces of same-control network management equipment;
and sending the downlink data packet to the target network device.
In one embodiment, the second forwarding routing table records a network device number, a network device IP address, a network device port number, and a protocol type, where the network device number, the network management device IP address, the network device port number, and the protocol type are set by the central network management device according to 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.
A monitoring system for a network device, comprising:
the monitoring module is used for monitoring an uplink data link of the monitored network equipment and intercepting an uplink data packet from the uplink data link;
the identification module is used for analyzing the uplink data packet and identifying the original network equipment which uploads the uplink data packet;
the query module is used for querying a plurality of target network management devices for monitoring the original network device from a first forwarding routing table; the first forwarding routing table is used for recording the relation between the network equipment address and the corresponding network management equipment address;
and the monitoring module is used for forwarding the uplink data packet to each target network management device so that each target network management device monitors the original network device.
A routing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method for monitoring a network device according to any of the above embodiments when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the monitoring method of a network device according to any one of the above-mentioned embodiments.
According to the monitoring method, the monitoring system, the monitoring routing equipment and the monitoring storage medium of the network equipment, the uplink data packet in the uplink data link is monitored, the plurality of network management equipment corresponding to the uplink data packet are inquired according to the first forwarding routing table, the uplink data packet is forwarded to each network management equipment, and the plurality of network management equipment respectively monitor the original network equipment according to the uplink data packet, so that the limitation that the network equipment can only be monitored by one network management equipment in the prior art is broken; meanwhile, by setting the network management equipment corresponding to each network management equipment in the first forwarding routing table, the network addresses of the network management equipment on each network equipment can be prevented from being changed one by one when the network equipment to be monitored is added, the network addresses of the network management equipment corresponding to each network equipment can be prevented from being set one by one when the network equipment to be monitored is added, and the cost caused by monitoring of the network equipment is reduced.
In addition, the network management equipment which is correspondingly compatible is configured for various types of network equipment for monitoring, the requirements of various types on the monitoring of the network management equipment can be comprehensively matched, the network equipment which is not compatible with other network management equipment is reduced, the compatibility of the network management equipment is improved, various types of network equipment can be selected, the difficulty of selecting the network equipment is reduced, and the monitoring cost of the network equipment is reduced.
Additional aspects and advantages of the application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice.
Drawings
The foregoing and/or additional aspects and advantages will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is an implementation environment diagram of a monitoring method for a network device provided in one embodiment;
FIG. 2 is a flow diagram of a method for monitoring network devices in one embodiment;
FIG. 3 is a flow chart illustrating determining a network address corresponding to a network management device in an embodiment;
FIG. 4 is a flowchart of a monitoring method of a network device in yet another embodiment
Fig. 5 is a schematic structural diagram of a monitoring system of a network device in one embodiment.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those within the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As shown in fig. 1, fig. 1 is a diagram of an implementation environment of a monitoring method for a network device provided in an embodiment, in the implementation environment, including a network management device 110, a network device 120, and a routing device 130 connecting 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 can communicate with each other through the ethernet and the routing node. The network device 130 may include a repeater device, which belongs to one of the repeaters and is a connection device above a network physical layer; the method is suitable for interconnection of two types of networks which are completely the same, and the main function is to expand the distance of network transmission by resending or forwarding data signals; the repeater equipment is physical layer equipment of an OSI model of network equipment for regenerating and restoring signals, is the simplest and cheapest interconnection equipment for prolonging the network distance under the local area network environment, operates on the OSI physical layer, and has the functions of amplifying and regenerating the signals on the line and expanding the length of a local area network segment.
The network device 120 is a device to be monitored and may communicate with the network management device 110 via the ethernet and the routing device 130 of the routing node. The network management device 110 is used for monitoring the network device and finally displaying the monitoring condition of the network device. The routing device 130 may be responsible for receiving and sending data, is a communication interface between a plurality of network management devices and a network device, and may forward the data of the network device to all the network management devices and forward the data of the network management device to a specific network device.
In an embodiment, as shown in fig. 2, fig. 2 is a flowchart of a monitoring method of a network device in an embodiment, where this embodiment proposes a monitoring method of a network device, and the monitoring method of a network device may be applied to the routing device 130, and specifically may include the following steps:
step S210: and monitoring an uplink data link of the monitored network equipment, and intercepting an uplink data packet from the uplink data link.
In this step, the routing device monitors data transmitted in the uplink and downlink data links in real time, the uplink and downlink data links connect the network device and the network device, the network device and the network management device communicate in the uplink and downlink data links, and the network management device monitors an uplink data packet of the network device through the routing device. When monitoring the uplink data link, the routing equipment intercepts the uplink data packet when the uplink data packet uploaded from the network equipment occurs.
Furthermore, the uplink data packet may be intercepted from the uplink data link, and the uplink data packet is buffered in the uplink data buffer memory in the routing device, so as to call the required data from the uplink data buffer memory when various processes in the uplink data processing chain are executed in the following; after the processing is completed, the processed data may be stored back to the uplink data cache memory for being called by other processing in the uplink data processing chain. The uplink data processing chain may include data parsing processing, data forwarding processing, data transmission processing, service processing of a network management agent, and the like.
Step S220: and analyzing the uplink data packet, and identifying the original network equipment for uploading the uplink data packet.
In this step, the device information of the original network device may be analyzed from the uplink data packet, the obtained network device information after identification may include data such as a network device number, a command ID, an operation type, and the like, and the network device number may specifically include a device number of the network device and a device identification number of the network device.
In the process of data analysis, an uplink data link is monitored and an uplink data packet is intercepted, an IP address of an original network device and a port number of the original network device are obtained, and a device number (rptNo) of the network device, a device identification number (devNo) of the network device, a command ID (operatateid) and an operation type (operatatetype) of the command in the uplink data packet are analyzed according to the IP address of the original network device, the port number of the original network device and the uplink data packet.
Step S230: and inquiring a plurality of target network management devices for monitoring the original network device from a first forwarding routing table, wherein the first forwarding routing table is used for recording the relation between the network device and the address of the corresponding network management device.
In this step, the first forwarding routing table records the network device and the address of the corresponding network management device. And inquiring the addresses of the target network management devices from the first forwarding routing table. At this time, the network device can be configured with a plurality of network management devices correspondingly, and the limitation that the network device can only set the network address of one network management device in the prior art is broken.
Furthermore, the first forwarding routing table may also record IP addresses of all network management devices, and may also call a second forwarding routing table, where the second forwarding routing table may record a relationship between the network device and a device identification number of a corresponding network management device, and the corresponding network management device is a network management device that effectively monitors the network device. As shown in fig. 3, fig. 3 is a flowchart of determining a network address corresponding to a network management device in an embodiment, and this step may further include: s231, querying device identification numbers of a plurality of target network management devices for monitoring the original network device through the second forwarding routing table, S232, querying a network address corresponding to the target network management device from the first forwarding routing table according to the device identification number of the target network management device, S241, and forwarding the uplink data packet to each target network management device according to the corresponding network address, so that each target network management device monitors the original network device.
Step S240: and forwarding 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 a plurality of target network management devices, and the plurality of target network management devices monitor the original network device which uploads the uplink data packet, so that the network device can be monitored by the plurality of network management devices, and the limitation that the network device can be monitored only by one network management device in the prior art is broken.
In the monitoring method of the network equipment, the limitation that the network equipment can only be monitored by one network management equipment in the prior art is broken through by monitoring the uplink data packet in the uplink data link, inquiring the plurality of network management equipments corresponding to the uplink data packet according to the first forwarding routing table, forwarding the uplink data packet to each network management equipment and monitoring the original network equipment by the plurality of network management equipments according to the uplink data packet; meanwhile, by setting the network management equipment corresponding to each network management equipment in the first forwarding routing table, the network addresses of the network management equipment on each network equipment can be prevented from being changed one by one when the network equipment to be monitored is added, the network addresses of the network management equipment corresponding to each network equipment can be prevented from being set one by one when the network equipment to be monitored is added, and the cost caused by monitoring of the network equipment is reduced.
On the other hand, the network management equipment which is correspondingly compatible can be configured for various types of network equipment for monitoring, the requirements of various types on the monitoring of the network management equipment can be comprehensively matched, the network equipment which is not compatible with other network management equipment is reduced, the compatibility of the network management equipment is improved, various types of network equipment can be selected, the difficulty of selecting the network equipment is reduced, and the monitoring cost of the network equipment is reduced.
In one embodiment, after the step of querying the plurality of target network management devices monitoring the original network device from the first forwarding routing table, the method includes:
step S251: and performing service processing of a network management agent on the uplink data packet to obtain equipment communication data.
The service processing of the agent mainly means that the agent is responsible for the execution of the management instruction and reports some important events of the managed object to the network management equipment in a form of notification. The device communication data obtained after the service processing of the network management agent mainly reflects some important events of the network device and the transmitted data packet in the uplink process.
Step S252: and packaging the data packets containing the service communication data into a plurality of forwarding data packets, and sending the plurality of forwarding data packets to each target network management device.
According to the monitoring method of the network equipment, the uplink data packet is analyzed according to the processing of the network management agent on the uplink data, the equipment communication data are obtained, the equipment communication data reflect the communication state of the network equipment for transmitting the uplink data packet, and the equipment communication data are uploaded to each target network management equipment as the monitoring data, so that the routing equipment can realize the uplink network management agent.
In one embodiment, the monitoring method of the network device may further include:
step S261: and acquiring control data issued by any target network management equipment, analyzing the control data and determining the network equipment to be controlled.
Step S262: and transmitting the control data to the network equipment to be controlled according to the first forwarding routing table.
In the monitoring method of the network equipment, any network management equipment can control the network equipment through the issued control data, at the moment, the routing equipment determines the network equipment with control according to the first forwarding routing table, sends the control data to the address of the network equipment, and the network equipment is controlled by the target network management equipment after receiving the control data.
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:
step S263: and reading a pre-stored second forwarding routing table, and forwarding the control data to other target network management equipment for monitoring the network equipment to be controlled according to the second forwarding routing table, wherein the second forwarding routing table is used for recording the relationship between the network equipment address and the network management equipment.
And the second forwarding routing table records the relationship between the network equipment address and the network management equipment, and inquires other target network management equipment which monitors the network equipment to be controlled from the second forwarding routing table to serve as other target network management equipment. And other target network management devices of the network device to be controlled can also monitor the control of the network device.
According to the monitoring method of the network equipment, when any network management equipment controls the network equipment, other target network management equipment related to the network equipment to be controlled is also determined, and at the moment, the other target network management equipment monitors the condition that the network equipment is controlled by any target network management equipment, so that comprehensive monitoring of the network equipment by the multiple network management equipment is achieved.
In an embodiment, as shown in fig. 4, fig. 4 is a flowchart of a monitoring method for a network device in another embodiment, where this embodiment provides a monitoring method for a network device, and the monitoring method may further specifically include:
step S410: and monitoring a downlink data link of the monitored network equipment, and intercepting a 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 monitoring the downlink data link, the routing device intercepts the downlink data packet when the downlink data packet sent by the network management device appears.
Furthermore, the downlink data packet may be intercepted from the downlink data link, and the downlink data packet is cached in the downlink data cache memory in the routing device, so that the required data is called from the downlink data cache memory when various processes in the downlink data processing chain are executed subsequently; after the processing is completed, the processed data may be stored back to the downlink data cache memory for being called by other processing in the lower data processing chain. The downlink data processing chain may include a data parsing process, a data forwarding process, a data sending process, a service process of a device agent, and the like.
Step S420: and analyzing the downlink data packet, and identifying the target network equipment to which the downlink data packet is to be downloaded.
In this step, the network address and the network management port number of the target device can be analyzed from the downlink data packet. In the data analysis process, the downlink data link is monitored and the downlink data packet is intercepted, and simultaneously, 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, the port number (port) of the original network device, the device identification number (devNo) of the network device, the command ID (operateID) and the operation type (operatType) of the command are analyzed and output.
Step S430: and inquiring a plurality of network management devices under the same control for monitoring the target network device according to a second forwarding routing table, wherein the second forwarding routing table is used for recording the relation between the network device address and the network management device.
In this step, the second forwarding routing table records the relationship between the network device address and the network management device. And inquiring a plurality of network management devices which control the network device in the same genus from the second forwarding routing table, and taking the plurality of network management devices as the network management devices in the same control. At this time, the network device can be configured with a plurality of network management devices correspondingly, and the limitation that the network device can only set the network address of one network management device in the prior art is broken.
Furthermore, the second forwarding routing table may also record IP addresses of all network management devices, and query the network addresses corresponding to the effective network management devices in the record, so as to facilitate subsequent data transmission to the network addresses of the network management devices.
Step S440: and forwarding the downlink data packet to a plurality of network management devices in the same control.
The downlink data packet is forwarded to a plurality of same-control network management devices which belong to the same network device for monitoring, the condition that the plurality of same-control network management devices monitor the downlink data packet received by the network device can be realized in a downlink data link, and the limitation that the network device can only be monitored by one network management device in the prior art is broken.
According to the monitoring method of the network equipment, the downlink data packet in the downlink data link is monitored, the plurality of the same-control network management equipment which belongs to the same monitoring network equipment are inquired according to the second forwarding routing table, the downlink data packet is forwarded to each same-control network management equipment, and the plurality of the same-control network management equipment respectively monitor the original network equipment according to the downlink data packet, so that the limitation that the network equipment can only be monitored by one network management equipment in the prior art is broken; meanwhile, by setting the network management equipment corresponding to each network management equipment in the second forwarding routing table, the network addresses of the network management equipment on each network equipment can be prevented from being changed one by one when the network equipment to be monitored is added, the network addresses of the network management equipment corresponding to each network equipment can be prevented from being set one by one when the network equipment to be monitored is added, and the cost caused by setting the monitoring of the network equipment is reduced.
On the other hand, the network management equipment which is correspondingly compatible can be configured for various types of network equipment for monitoring, the requirements of various types on the monitoring of the network management equipment can be comprehensively matched, the network equipment which is not compatible with other network management equipment is reduced, the compatibility of the network management equipment is improved, various types of network equipment can be selected, the difficulty of selecting the network equipment is reduced, and the monitoring cost of the network equipment is reduced.
In one embodiment, the monitoring method of the network device further includes:
step S421: and analyzing the downlink data packet, and identifying the original network management equipment which issues the downlink data packet.
The step of forwarding the downlink data packet to a plurality of network management devices in the same control system comprises the following steps:
step S441: and forwarding the downlink data packet to a plurality of network management devices under the same control except the original network management device.
The monitoring method of the network equipment can only use a plurality of same control network management equipment except the original network management equipment, thereby reducing the network burden.
In one embodiment, after the step of querying the plurality of the peer network management devices monitoring the target network device, the method further includes:
step S451: and performing service processing of the equipment proxy on the downlink data packet to obtain the relation between the command in the downlink data packet and the target network equipment.
The service processing of the agent mainly means that the agent is responsible for the execution of the management instruction and reports some important events of the managed object to the network management equipment in a form of notification. The relationship obtained after the service processing of the device agent mainly reflects some important events occurring in the network device and the transmitted data packet in the downlink process.
Step S452: and uploading the relation between the command in the downlink data packet and the target network equipment to a plurality of pieces of network management equipment with the same control.
And step S453: and sending the downlink data packet to the target network equipment.
The actual network address of the target network device may 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.
According to the monitoring method of the network equipment, the downlink data is subjected to equipment proxy processing, the downlink data packet is analyzed, and the relation between the command in the downlink data packet and the target network equipment is obtained, so that the network management equipment monitors the condition of downlink data transmission, and the routing equipment realizes downlink equipment proxy.
In one embodiment, the second forwarding routing table records a network device number, a network device IP address, a network device port number, and a protocol type, and the network device number, the network device IP address, the network device port number, and the protocol type are set by the central network management device according to the device information of each network management device.
The device information of all the network devices correspondingly managed by each network management device is recorded in each network management device, and the master network management device calls the device information to be managed by all the network management devices and integrates and maintains the device information into a second forwarding routing table. The total network device can be a designated device in the network management devices; the total network device can also integrate and maintain the second forwarding routing table by a plurality of designated devices in the network device together, backup and store the second forwarding routing table, and improve the disaster resistance of network management monitoring.
The second forwarding routing table also records the data packet monitoring relationship between the network device and each network management device.
In one example, the second forwarding routing table is shown in table 1, where PROTOCOL indicates a PROTOCOL type that supports both MCPC and MCPA. "ACU 1", "ACU 2", "ACU 3" and "ACU 4" in the following four columns represent network management equipment, and if the value in the table in the following four columns is 1, a data packet representing the network equipment needs to be forwarded to the network management with the value of 1, so as to represent the data packet monitoring relationship between the network equipment and each network management equipment. When the second forwarding routing table is initialized, it needs to be synthesized according to the network devices monitored by each network management device, and it needs to call each network management device to record a file that respectively maintains the serial number of the network device, the device identification number, and the ID of the network management device itself, and in addition, it also manages the data of the serial number (RPTNO), the device identification number (DEVNO), the network address (IP), the PORT (PORT), the PROTOCOL type (PROTOCOL), and the ID of the network management device itself through the main network management device.
RPTNO DEVNO IP PORT PROTOCOL ACU1 ACU2 ACU3 ACU4
00000000 00 xxx.xxx.xxx.xxx 8001 MCPC 1 1 1 0
TABLE 1
In one example, the first forwarding routing table records the network device network address (IP) and its PORT (PORT) and enable (enable) corresponding to each network management device ID as shown in table 2.
ID IP PORT ENABLED
ACU1 10.10.15.2 8801 1
ACU2 10.10.15.3 8801 1
ACU3 10.10.15.4 8801 1
ACU4 10.10.15.5 8801 1
TABLE 2
In an embodiment, as shown in fig. 5, fig. 5 is a schematic structural diagram of a monitoring system of a network device in an embodiment, and the monitoring system of a network device provided in this embodiment may specifically include a monitoring module 510, an identification module 520, an inquiry module 530, and a monitoring module 540, where:
the monitoring module 510 is configured to monitor an uplink of the monitored network device, and intercept an uplink data packet from the uplink.
The routing equipment monitors data transmitted in an uplink data link and a downlink data link in real time, the uplink data link and the downlink data link connect the network equipment with the network equipment, the network equipment and the network management equipment communicate in the uplink data link and the downlink data link, and the network management equipment monitors an uplink data packet of the network equipment through the routing equipment. When monitoring the uplink data link, the routing equipment intercepts the uplink data packet when the uplink data packet uploaded from the network equipment occurs.
Furthermore, the uplink data packet may be intercepted from the uplink data link, and the uplink data packet is buffered in the uplink data buffer memory in the routing device, so as to call the required data from the uplink data buffer memory when various processes in the uplink data processing chain are executed in the following; after the processing is completed, the processed data may be stored back to the uplink data cache memory for being called by other processing in the uplink data processing chain. The uplink data processing chain may include data parsing processing, data forwarding processing, data transmission processing, service processing of a network management agent, and the like.
The identifying module 520 is configured to parse the uplink data packet and identify an original network device that uploads the uplink data packet.
The device information of the original network device is analyzed from the uplink data packet, the obtained network device information after identification may include data such as a network device number, a command ID, an operation type, and the like, and the network device number may specifically include a device number of the network device and a device identification number of the network device.
In the process of data analysis, an uplink data link is monitored and an uplink data packet is intercepted, an IP address of an original network device and a port number of the original network device are obtained, and a device number (rptNo) of the network device, a device identification number (devNo) of the network device, a command ID (operatateid) and an operation type (operatatetype) of the command in the uplink data packet are analyzed according to the IP address of the original network device, the port number of the original network device and the uplink data packet.
The query module 530 is configured to query, from a first forwarding routing table, a plurality of target network management devices that monitor an original network device, where the first forwarding routing table is used to record a relationship between a network device address and a corresponding network management device address.
The first forwarding routing table records network equipment and addresses of corresponding network management equipment. And inquiring the addresses of the target network management devices from the first forwarding routing table. At this time, the network device can be configured with a plurality of network management devices correspondingly, and the limitation that the network device can only set the network address of one network management device in the prior art is broken.
Further, the first forwarding routing table may also record IP addresses of all network management devices, and query the network addresses corresponding to the network management devices that belong to the record.
And a monitoring module 540, configured to 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 a plurality of target network management devices, and the plurality of target network management devices monitor the original network device which uploads the uplink data packet, so that the network device can be monitored by the plurality of network management devices, and the limitation that the network device can be monitored only by one network management device in the prior art is broken.
In the monitoring system of the network equipment, the limitation that the network equipment can only be monitored by one network management equipment in the prior art is broken through by monitoring the uplink data packet in the uplink data link, inquiring the plurality of network management equipments corresponding to the uplink data packet according to the first forwarding routing table, forwarding the uplink data packet to each network management equipment and monitoring the original network equipment by the plurality of network management equipments according to the uplink data packet; meanwhile, by setting the network management equipment corresponding to each network management equipment in the first forwarding routing table, the network addresses of the network management equipment on each network equipment can be prevented from being changed one by one when the network equipment to be monitored is added, the network addresses of the network management equipment corresponding to each network equipment can be prevented from being set one by one when the network equipment to be monitored is added, and the cost caused by monitoring of the network equipment is reduced.
On the other hand, the network management equipment which is correspondingly compatible can be configured for various types of network equipment for monitoring, the requirements of various types on the monitoring of the network management equipment can be comprehensively matched, the network equipment which is not compatible with other network management equipment is reduced, the compatibility of the network management equipment is improved, various types of network equipment can be selected, the difficulty of selecting the network equipment is reduced, and the monitoring cost of the network equipment is reduced.
For specific limitations of the monitoring system of the network device, reference may be made to the above limitations of the monitoring method of the network device, which are not described herein again. The modules in the monitoring system of the network device may be implemented wholly or partially by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a routing device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the steps of the monitoring method for a network device described in any one of the above embodiments are implemented.
In an embodiment, a computer-readable storage medium is proposed, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for monitoring a network device as described in any one of the above embodiments.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (11)

1. A monitoring method of network equipment is characterized by comprising the following steps:
monitoring an uplink data link of monitored network equipment, and intercepting an uplink data packet from the uplink data link;
analyzing the uplink data packet, and identifying the original network equipment which uploads the uplink data packet;
inquiring a plurality of target network management devices for monitoring the original network device from a first forwarding routing table; the first forwarding routing table is used for recording the relation between the network equipment and the corresponding network management equipment address;
and forwarding the uplink data packet to each target network management device so that each target network management device monitors the original network device.
2. The method for monitoring network devices according to claim 1, wherein after the step of querying the plurality of target network management devices monitoring the original network device from the first forwarding routing table, the method comprises:
performing service processing of a network management agent on the uplink data packet to obtain equipment communication data;
and packaging the data packets containing the service communication data into a plurality of forwarding data packets, and sending the plurality of forwarding data packets to each target network management device.
3. The method for monitoring a network device 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 a network device to be controlled;
and sending the control data to the network equipment to be controlled according to the first forwarding routing table.
4. The method for monitoring a network device according to claim 3, wherein 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 comprises:
reading a pre-stored second forwarding routing table, and forwarding the control data to other target network management equipment for monitoring the network equipment to be controlled according to the second forwarding routing table; and the second forwarding routing table is used for recording the relationship between the network equipment address and the network management equipment.
5. The method for monitoring a network device according to claim 1, further comprising:
monitoring a downlink data link of monitored network equipment, and intercepting a downlink data packet from the downlink data link;
analyzing the downlink data packet, and identifying target network equipment to which the downlink data packet is to be downloaded;
inquiring a plurality of co-control network management devices for monitoring the target network device according to a second forwarding routing table, wherein the second forwarding routing table is used for recording the relationship between the network device address and the network management devices;
and forwarding the downlink data packet to the plurality of the network management devices under the same control.
6. The method for monitoring a network device according to claim 5, further comprising:
analyzing the downlink data packet, and identifying the original network management equipment which issues the downlink data packet;
the step of forwarding the downlink data packet to the plurality of co-control network management devices includes:
and forwarding the downlink data packet to a plurality of network management devices under the same control except the original network management device.
7. The method for monitoring network devices according to claim 5, wherein after the step of querying the plurality of co-controlled network management devices monitoring the target network device, the method further comprises:
performing service processing of equipment proxy on the downlink data packet to obtain the relation between the command in the downlink data packet and the target network equipment;
uploading the relation between the command in the downlink data packet and the target network equipment to the plurality of pieces of same-control network management equipment;
and sending the downlink data packet to the target network device.
8. The method according to any one of claims 4 and 5 to 7, wherein a network device number, a network device IP address, a network device port number, and a protocol type are recorded in the second forwarding routing table, and the network device number, the network management device IP address, the port number, and the protocol type are set by the central 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 a network device, comprising:
the monitoring module is used for monitoring an uplink data link of the monitored network equipment and intercepting an uplink data packet from the uplink data link;
the identification module is used for analyzing the uplink data packet and identifying the original network equipment which uploads the uplink data packet;
the query module is used for querying a plurality of target network management devices for monitoring the original network device from a first forwarding routing table; the first forwarding routing table is used for recording the relation between the network equipment address and the corresponding network management equipment address;
and the monitoring module is used for forwarding the uplink data packet to each target network management device so that each target network management device monitors the original network device.
10. A routing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method for monitoring a network device according to any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for monitoring a network device of any one of claims 1 to 8.
CN201911411589.3A 2019-12-31 2019-12-31 Network equipment monitoring method, system, route equipment and storage medium Active CN111181859B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN111181859A true CN111181859A (en) 2020-05-19
CN111181859B CN111181859B (en) 2022-03-25

Family

ID=70657879

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

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

Citations (10)

* 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
CN1926485A (en) * 2004-04-01 2007-03-07 宝马股份公司 Method for identifying incompatibility of bus system containing a plurality of control equipments
CN101141282A (en) * 2006-09-07 2008-03-12 中兴通讯股份有限公司 Network management system and its management method
CN101692649A (en) * 2009-08-03 2010-04-07 杭州华三通信技术有限公司 Method and equipment for data multi-wire monitoring
CN102332999A (en) * 2011-10-31 2012-01-25 迈普通信技术股份有限公司 Interaction system and interaction method of network management based on shared network address translation (NAT)
CN102572397A (en) * 2012-01-04 2012-07-11 瑞斯康达科技发展股份有限公司 Video monitoring system, and device and method for data processing in video monitoring system
US8477609B1 (en) * 2001-05-24 2013-07-02 F5 Networks, Inc. Method and system for scaling network traffic managers
CN103984325A (en) * 2014-05-28 2014-08-13 梅志国 IEEE802.15.4-oriented equipment data synchronization method of intelligent housing system
CN106789362A (en) * 2017-02-20 2017-05-31 京信通信技术(广州)有限公司 A kind of device management method and network management system
CN108124003A (en) * 2017-12-11 2018-06-05 中盈优创资讯科技有限公司 Network management device connection processing method, apparatus and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010245710A (en) * 2009-04-03 2010-10-28 Mitsubishi Electric Corp Network management device, communication system, network management method, and program
CN111181859B (en) * 2019-12-31 2022-03-25 京信网络系统股份有限公司 Network equipment monitoring method, system, route equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8477609B1 (en) * 2001-05-24 2013-07-02 F5 Networks, Inc. Method and system for scaling network traffic managers
CN1926485A (en) * 2004-04-01 2007-03-07 宝马股份公司 Method for identifying incompatibility of bus system containing a plurality of control equipments
CN1725701A (en) * 2004-07-22 2006-01-25 华为技术有限公司 Method for implementing terminal management in network equipment
CN101141282A (en) * 2006-09-07 2008-03-12 中兴通讯股份有限公司 Network management system and its management method
CN101692649A (en) * 2009-08-03 2010-04-07 杭州华三通信技术有限公司 Method and equipment for data multi-wire monitoring
CN102332999A (en) * 2011-10-31 2012-01-25 迈普通信技术股份有限公司 Interaction system and interaction method of network management based on shared network address translation (NAT)
CN102572397A (en) * 2012-01-04 2012-07-11 瑞斯康达科技发展股份有限公司 Video monitoring system, and device and method for data processing in video monitoring system
CN103984325A (en) * 2014-05-28 2014-08-13 梅志国 IEEE802.15.4-oriented equipment data synchronization method of intelligent housing system
CN106789362A (en) * 2017-02-20 2017-05-31 京信通信技术(广州)有限公司 A kind of device management method and network management system
CN108124003A (en) * 2017-12-11 2018-06-05 中盈优创资讯科技有限公司 Network management device connection processing method, apparatus and system

Cited By (3)

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

Also Published As

Publication number Publication date
CN111181859B (en) 2022-03-25
WO2021136199A1 (en) 2021-07-08

Similar Documents

Publication Publication Date Title
EP3422638B1 (en) Method of communication failure reporting and corresponding apparatus
US20050032537A1 (en) Channel selection method, and wireless station and wireless terminal employing it
US5303243A (en) Network management system capable of easily switching from an active to a backup manager
EP2654336B1 (en) Method, apparatus and system for access point (ap) to manage wireless repeater(s)
CN111181859B (en) Network equipment monitoring method, system, route equipment and storage medium
US20030105801A1 (en) Method, system and agent for connecting event consumers to event producers in a distributed event management system
EP2544406B1 (en) Method and management agent for event notifications correlation
CN102938794A (en) Address resolution protocol (ARP) message forwarding method, exchanger and controller
CN103763121A (en) Method and device for quickly issuing network configuration information
KR20050104364A (en) Determination of groupmembers prior of monitoring groups of network nodes
CN101764751A (en) Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
US10320616B2 (en) Method and a system for sideband server management
US20210306246A1 (en) Scalable in-band telemetry metadata extraction
US11695738B2 (en) Unified communication gateway systems
CN103200107A (en) Message transmitting method and message transmitting equipment
US5946317A (en) Multi-master supervisory system
US10931529B2 (en) Terminal device management method, server, and terminal device for managing terminal devices in local area network
CN102474434B (en) Traffic control apparatus and data communication system including same
CN105227422A (en) A kind of method of transmitting video data based on polymerization network interface and device
CN105049239A (en) Interface connection relation identification method and system
KR101783097B1 (en) Method for recording/reading operation log information in router network based on software defined networking and apparatus thereof
KR101697289B1 (en) System for integrating multi wireless networks based on software defined network and method therefor
CN104219178A (en) Openflow-based control message processing method, Openflow-based control message transmitting device, Openflow-based control message receiving device and Openflow-based control message processing system
CN104426771A (en) Message forwarding method and message forwarding device
CN105191231A (en) Gateway device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510663 Shenzhou Road 10, Science City, Guangdong, Guangzhou

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Science City, Guangdong, Guangzhou

Applicant before: Comba Telecom System (China) Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant