CN106850281B - Network equipment management method - Google Patents

Network equipment management method Download PDF

Info

Publication number
CN106850281B
CN106850281B CN201710035893.7A CN201710035893A CN106850281B CN 106850281 B CN106850281 B CN 106850281B CN 201710035893 A CN201710035893 A CN 201710035893A CN 106850281 B CN106850281 B CN 106850281B
Authority
CN
China
Prior art keywords
network element
centralized management
message
network
transmission channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710035893.7A
Other languages
Chinese (zh)
Other versions
CN106850281A (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.)
Shenzhen Tg Net Botone Technology Co ltd
Original Assignee
Shenzhen Tg Net Botone Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tg Net Botone Technology Co ltd filed Critical Shenzhen Tg Net Botone Technology Co ltd
Priority to CN201710035893.7A priority Critical patent/CN106850281B/en
Publication of CN106850281A publication Critical patent/CN106850281A/en
Application granted granted Critical
Publication of CN106850281B publication Critical patent/CN106850281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0253Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information
    • 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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol

Abstract

The invention relates to a network equipment management method, after the network element obtains the IP address of the centralized management equipment, set up the transmission channel suitable for connectionless transport layer protocol with the said centralized management equipment according to the said IP address; wherein the transmission channel is capable of passing through a router. And then, the network element receives the control message from the centralized management equipment through the transmission channel, performs corresponding operation, and sends the message to the centralized management equipment. Therefore, the network equipment management method removes the constraint of the network element and the centralized management equipment on the geographical position by adopting the transmission channel of the connectionless transmission protocol, so that one centralized management equipment can manage local area networks in multiple places, the equipment cost is saved, more network managers are not needed, and the labor cost is saved.

Description

Network equipment management method
Technical Field
The present invention relates to the field of network technologies, and in particular, to a network device management method.
Background
The network becomes an indispensable tool in the modern society, and once the network state is abnormal, the aspects of work and life of people are influenced. Especially, in some business enterprises, various data, processes, communications and the like which are processed daily are realized based on the network, and once the network is broken down, the operation of the whole company is broken down, thereby causing great loss to the company. Moreover, the network itself is also vulnerable, especially the local area network, and under the condition of being attacked by virus or being in continuous use, the whole network is easily broken down, such as: common ARP (Address Resolution Protocol) spoofing, MAC (Media Access Control) spoofing, DHCP (dynamic host Configuration Protocol) spoofing, broadcast storm, network loop, and the like. To address these problems with local area networks, various network solutions have emerged.
The traditional network solution is to adopt a mode of a centralized management device + all network elements (such as switches, routers, APs (Wireless Access points, etc.) and the like) in the local area network, which can be monitored and managed by the centralized management device, to implement centralized management and unified maintenance of all network elements in the local area network. However, in the conventional network solution, each centralized management device can only manage all network elements in the local area network, and the application range is narrow.
Disclosure of Invention
Therefore, it is necessary to provide a network device management method for solving the problem that each centralized management device in the conventional network solution can only manage all network elements in the local area network.
A network device management method, performed by a network element in a network, comprising:
acquiring an IP address of the centralized management equipment;
establishing a transmission channel suitable for a connectionless transport layer protocol with the centralized management equipment according to the IP address; wherein the transmission channel is capable of passing through a router;
and receiving the control message from the centralized management equipment through the transmission channel, performing corresponding operation, and sending the message to the centralized management equipment.
In one embodiment, the step of acquiring the IP address of the centralized management device includes:
receiving controlled information input by a user;
and when judging that the user is controlled by the centralized management equipment according to the controlled information, acquiring the IP address of the centralized management equipment.
In one embodiment, the step of establishing a transmission channel adapted to a connectionless transport layer protocol with the centralized management device according to the IP address comprises:
sending a first message which accords with the connectionless transmission protocol to the centralized management equipment according to the IP address; the first message at least enables the centralized management equipment to identify the position of the network element in the network;
when a first confirmation message which accords with the connectionless transmission protocol and is from the centralized management equipment is judged to be received, the establishment of the transmission channel with the centralized management equipment is confirmed; wherein the first acknowledgement message is used to represent that the centralized management device has received the first message.
In one embodiment, the step of receiving the control packet from the centralized management device through the transmission channel and performing corresponding operation, and sending the packet to the centralized management device includes:
sending a second message to the centralized management equipment through the transmission channel; wherein the second message includes configuration information of the network element;
when the second confirmation message from the centralized management equipment is received through the transmission channel and the state machine is in the off-line state, the state machine is switched to the on-line state; after the state machine is switched to the on-line state and the network element sends the second message with updated configuration information again, whether the second confirmation message is received or not does not need to be judged.
In one embodiment, after the step of switching the state machine to the online state when it is determined that the second acknowledgment packet from the centralized management device is received through the transmission channel and the state machine is in the offline state, the step of receiving the control packet from the centralized management device through the transmission channel and performing corresponding operation, and the step of sending the packet to the centralized management device further includes:
after judging that the control message from the centralized management equipment is received through the transmission channel, executing related configuration operation according to the control message;
and sending the second message after updating the configuration information to the centralized management equipment through the transmission channel.
In one embodiment, the connectionless transport protocol is user datagram protocol.
A network device management method, performed by a centralized management device in a network, comprising:
establishing a transmission channel conforming to a connectionless transport layer protocol with a network element under a request of the network element; wherein the transmission channel is capable of passing through a router;
and sending a control message to the network element through the transmission channel, and receiving a message from the network element.
In one embodiment, the step of establishing a transport channel conforming to a connectionless transport layer protocol with a network element at the request of the network element comprises:
receiving a first message which accords with the connectionless transmission protocol from the network element; the first message at least enables the centralized management equipment to identify the position of the network element in the network;
sending a first confirmation message conforming to the connectionless transmission protocol to the network element to establish the transmission channel with the network element; wherein the first acknowledgement message is used to represent that the centralized management device has received the first message.
In one embodiment, the step of sending a control packet to the network element through the transmission channel and receiving a packet from the network element includes:
receiving a second message from the network element through the transmission channel; wherein the second message includes configuration information of the network element;
analyzing the second message, and adding the analyzed configuration information into a network element database; the network element database comprises configuration information of all network elements controlled by the centralized management equipment;
and sending a second confirmation message to the network element through the transmission channel.
In one embodiment, after the step of sending the second acknowledgment packet to the network element through the transmission channel, the step of sending a control packet to the network element through the transmission channel and receiving a packet from the network element further includes:
when judging that a network administrator needs to configure a network element, acquiring new configuration information set by the network administrator for the network element;
and sending a control message comprising the new configuration information to the network element through the transmission channel.
The network equipment management method has the beneficial effects that: in the network equipment management method, after the network element acquires the IP address of the centralized management equipment, a transmission channel suitable for a connectionless transport layer protocol is established with the centralized management equipment according to the IP address, and the transmission channel can pass through a router, so that the network element and the centralized management equipment can still normally communicate even if not in the same local area network. Then, the network element receives the control message from the centralized management device through the transmission channel, performs corresponding operation, and sends the message to the centralized management device, so that the centralized management device can manage the network element. Therefore, the network equipment management method removes the constraint of the network element and the centralized management equipment on the geographical position by adopting the transmission channel of the connectionless transmission protocol, so that one centralized management equipment can manage local area networks in multiple places, the equipment cost is saved, more network managers are not needed, and the labor cost is saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings of the embodiments can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a network device management processing method according to an embodiment;
fig. 2 is a flowchart of one specific implementation of step S100 in the network device management method according to the embodiment shown in fig. 1;
fig. 3 is a flowchart of one specific implementation of step S200 in the network device management method according to the embodiment shown in fig. 1;
fig. 4 is a flowchart of one specific implementation of step S300 in the network device management method according to the embodiment shown in fig. 1;
FIG. 5 is a flowchart illustrating an embodiment of a method for managing network devices according to the embodiment shown in FIG. 1;
fig. 6 is a flowchart of a network device management method according to another embodiment;
fig. 7 is a flowchart of one implementation of step S400 in the network device management method according to the embodiment shown in fig. 6;
fig. 8 is a flowchart of one specific implementation of step S500 in the network device management method according to the embodiment shown in fig. 6;
fig. 9 is a flowchart of one specific implementation of the network device management method according to the embodiment shown in fig. 6.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
An embodiment provides a network device management method, which is executed by a network element in a network. The network element is the smallest unit that can be monitored and managed in network management, such as a switch, a router, an AP, and the like. The network device management method provided by the embodiment of the invention includes the following contents, please refer to fig. 1.
Step S100, obtaining an IP (Internet Protocol) address of the centralized management equipment.
The centralized management equipment is a high-efficiency special operation and maintenance management network system integrating network centralized monitoring, accident early warning, management and maintenance functions, and manages and maintains the network through a management channel when the network fails or is interrupted, so that a network administrator does not need to directly intervene the network equipment on site.
In addition, after the network element acquires the IP address of the centralized management device, it is expected that the network element is controlled by the centralized management device. The IP address of the centralized management device may be input to the network element by the user, or the network element may obtain the IP address of the centralized management device in the network according to the instruction of the user.
And S200, establishing a transmission channel suitable for a connectionless transport layer protocol with the centralized management equipment according to the IP address. Wherein the transmission channel is capable of passing through the router.
In the embodiment of the invention, the connectionless transport layer protocol means that the source end and the terminal do not establish connection before data transmission, and the source end directly sends the data to the network. The transmission channel can pass through a router, representing that the transmission channel can carry out data transmission across a local area network, i.e. can pass through a gateway. Specifically, the connectionless transport layer Protocol may be a UDP (user datagram Protocol), and at this time, the transmission channel established between the network element and the centralized management device is a UDP channel.
In this step, since the network element already knows the IP address of the centralized management device and the transmission channel uses a connectionless transmission protocol, the network element can communicate with the centralized management device according to the IP address and by using the connectionless transmission protocol, so that the centralized management device knows that the network element is to be managed and establishes the transmission channel, and then the centralized management device and the network element can transmit data to each other by using the transmission channel, and the transmitting end can directly transmit data without establishing a connection with the receiving end every time the transmitting end transmits data. In addition, the transmission channel can pass through the gateway, so that even if the network element and the centralized management equipment are not in the same local area network, the data can still be normally transmitted between the network element and the centralized management equipment, and the purpose of cross-three-layer or more centralized management of the network element is realized.
Step S300, receiving the control message from the centralized management equipment through the transmission channel, performing corresponding operation, and sending the message to the centralized management equipment.
In this step, after receiving the control packet, the network element may perform corresponding operations, such as changing relevant configuration information, under the control of the centralized management device. And the network element can feed back information to the centralized management equipment, so that the centralized management equipment can know the real-time state of the network element in time, and unified management is facilitated.
Therefore, the network device management method provided in the embodiment of the present invention removes the constraints of the network element and the centralized management device on the geographical location by using the transmission channel conforming to the connectionless transmission protocol, so that one centralized management device can manage local area networks in multiple places, thereby saving the device cost, requiring no more network administrators, and saving the labor cost.
In one embodiment, one of the embodiments of step S100 includes the following contents, please refer to fig. 2.
And S110, receiving controlled information input by a user.
The controlled information can indicate whether the network element is controlled by the centralized management device, in other words, the network element can decide whether to accept the control of the centralized management device according to the information input by the user. Because there is more than one centralized management device in the internet, in order to prevent an illegal centralized management device from acquiring company network information or malicious attacks, in the embodiment of the present invention, the initiative for establishing communication with the centralized management device is at a network element. The network element can choose whether to accept the management of the centralized management device, and can also automatically disconnect the centralized management device at any time after accepting the management.
And S120, when judging that the user is controlled by the centralized management equipment according to the controlled information, acquiring the IP address of the centralized management equipment.
Since there may be a plurality of centralized management devices, the user can control which centralized management device the network element selects to accept for management by configuring the IP address of the centralized management device, and can accept for management of only one centralized management device or simultaneously accept for management of a plurality of centralized management devices.
Specifically, step S120 may include the following contents, please refer to fig. 5.
And S121, judging whether the user is controlled by the centralized management equipment according to the controlled information, if so, executing the step S122, and otherwise, ending the operation.
And S122, acquiring the IP address of the centralized management equipment.
In one embodiment, step S200 includes the following, please refer to fig. 3.
Step S210, sending a first message which accords with a connectionless transmission protocol to the centralized management equipment according to the IP address. The first message at least enables the centralized management equipment to identify the position of the network element in the network.
When the centralized management equipment identifies the position of the network element in the network, the data can be mutually transmitted with the network element. Specifically, the first packet may be a Hello packet that satisfies a UDP protocol, and the specific content thereof may include: network element name, MAC address, device model, key, etc.
Step S220, when the first confirmation message which accords with the connectionless transmission protocol and is received from the centralized management equipment is judged, the establishment of a transmission channel with the centralized management equipment is confirmed. The first acknowledgement message is used for representing that the centralized management equipment has received the first message.
After the centralized management device receives the first message, it can know that the network element has selected to accept the management of the centralized management device. And when the centralized management equipment sends the first confirmation message, the transmission channel is successfully established.
Specifically, one embodiment of step S220 includes the following contents, please continue to refer to fig. 5.
Step S221, judging whether a first confirmation message which accords with a connectionless transmission protocol and is from the centralized management equipment is received, if so, executing the content included in the step S300; otherwise, the operation is ended.
When the network element does not receive the first acknowledgement packet, the centralized management device may not exist, or the IP address of the centralized management device is wrong, or other unexpected situations may occur. Therefore, the embodiment of the invention can find the network fault as early as possible by sending the first message first and detecting whether the first confirmation message is received, thereby avoiding further deterioration of the network fault.
In one embodiment, one of the specific implementation manners of step S300 includes the following contents, please refer to fig. 4.
And S310, sending a second message to the centralized management equipment through the transmission channel. Wherein the second message includes configuration information of the network element.
Specifically, the second packet may be a join packet that satisfies the connectionless transport protocol, and the specific content may include: the device model, the device MAC address, the device IP address and the mask code, the device software version number and the hardware version number, the port state, the port flow and the like, so that the centralized management device can check the network condition, the log information and the like in real time, and the network element can be managed conveniently to ensure the normal operation of the network.
And S320, switching the state machine to an online state when the second confirmation message from the centralized management equipment is received through the transmission channel and the state machine is in an offline state. After the state machine is switched to the on-line state, the network element sends the second message with the updated configuration information again, and whether the second confirmation message is received or not does not need to be judged.
And the second confirmation message represents that the centralized management equipment has successfully received the second message. In addition, the second acknowledgement message may also be used to detect the network element, and at this time, even if the second acknowledgement message sent by the network element is not received, the centralized management device may also periodically send the second acknowledgement message. Specifically, the second acknowledgment packet may be a probe packet, and the specific content thereof may include: a source MAC address (i.e. the MAC address of the centrally managed device), a destination MAC address (i.e. the MAC address of the network element).
In addition, online and offline are two states of the state machine. In the embodiment of the present invention, when the state machine is in the offline state, the network element needs to determine whether the centralized management device receives the second message after sending the second message, that is, whether the second determination message is received needs to be determined; when the state machine is in the on-line state, the network element sends the second message, and can directly execute the subsequent operation without waiting for the reply of the centralized management equipment.
Before the network element starts to execute the network device management method provided by the embodiment of the invention, the state machine is in the offline state by default, so that after the network element sends the second message, the subsequent steps can be continuously executed after the second confirmation message sent by the centralized management device is received. And after the network element receives the second confirmation message, the state machine is switched to the online state. In the subsequent operation process, under the control of the centralized management device, the configuration information of the network element is updated at any time, that is, the network element also continues to send the second message after the configuration information is updated to the centralized management device, however, because the state machine is already in the on-line state at this time, after the second message is sent again in the subsequent process, the network element can directly execute the subsequent operation without waiting for the reply of the centralized management device, thereby reducing the operation burden of the network element and the centralized management device, and improving the operation speed.
Specifically, one embodiment of step S320 includes the following contents, please refer to fig. 6.
Step S321, judging whether a second confirmation message from the centralized management equipment is received, if so, executing step S322; otherwise, step S324 is executed.
Step S322, judging whether the state machine is in an on-line state, if so, executing the specific content in the step S330; otherwise, step S323 is performed.
And S323, switching the state machine to an online state.
Step S324, a first counter records the number n of times.
Specifically, the first counter is started after the state machine is in an offline state and the network element sends the second message, the first counter is recorded every set time (for example, 3 seconds), the initial value of n is zero, if the network element receives the second confirmation message sent by the centralized management equipment within 3 seconds after sending the second message, the first counter sets n to zero, and the recording is stopped; if the network element does not receive the second confirmation message sent by the centralized management equipment within 3 seconds, the first counter adds 1 to n, and if the network element does not receive the second confirmation message within the next 3 seconds, the first counter adds 1 to n, and so on.
Step S325, judging whether n is larger than a set threshold value, if yes, executing step S326; otherwise, step S310 is performed.
The threshold is set to 3, for example.
S326, judging whether the state machine is in an off-line state, if so, ending the operation; otherwise, step S327 is executed.
And S327, switching the state machine to an offline state.
Therefore, the embodiment of the present invention, by adopting the above counting manner, can stop the operation of the network element when the network failure is determined.
With continued reference to fig. 4, the embodiment of step S300 further includes the following steps after step S320.
And S330, after judging that the control message from the centralized management equipment is received through the transmission channel, executing related configuration operation according to the control message.
The centralized management device can update the configuration information of the network element through the control message. And executing the relevant configuration operation, namely updating relevant configuration information by the network element according to the content of the control message.
Specifically, one embodiment of step S330 includes the following contents, please continue to refer to fig. 6.
S331, judging whether a control message from the centralized management equipment is received through a transmission channel, and if so, executing S332; otherwise, step S321 is performed.
And S332, executing related configuration operation according to the control message.
Referring to fig. 4, after step S330, the embodiment of step S300 further includes:
step S340, sending the second message after the configuration information is updated to the centralized management equipment through the transmission channel.
After the step is completed, the centralized management device may still continuously issue the control message, and at this time, the state machine of the network element is in the on-line state, so that the step S331 may be continuously executed without waiting for a reply from the centralized management device, so as to avoid missing the control message issued by the centralized management device.
It should be understood that the specific implementation manner of the network device management method is not limited to the above, for example, in step S210, the first message sent by the network element to the centralized management device may also include the content of the second message, and the network element does not need to perform the step of sending the second message.
In another embodiment, another network device management method is provided, performed by a centralized management device in a network. It should be noted that the network device management method provided in this embodiment corresponds to the network device management method provided in the previous embodiment. Referring to fig. 6, a network device management method according to an embodiment of the present invention includes the following steps.
Step S400, a transmission channel conforming to a connectionless transport layer protocol is established with the network element under the request of the network element. Wherein the transmission channel is capable of passing through the router.
This step is performed before the network element has performed step S100, in other words, the centralized management device can start to perform step S400 only after the network element is willing to accept the control of the centralized management device. Wherein, under the request of the network element, the representative network element is willing to accept the management of the centralized management device. It should be noted that all the network elements appearing below refer to network elements that are willing to be controlled by a centralized management device.
The connectionless transport layer protocol means that the source end and the terminal do not establish a connection before transmitting data, and the source end directly sends the data to the network. The transmission channel can pass through a router, representing that the transmission channel can carry out data transmission across a local area network, i.e. can pass through a gateway. Specifically, the connectionless transport layer Protocol may be a UDP (User Datagram Protocol), and at this time, the transmission channel established between the network element and the centralized management device is a UDP channel.
Before the step is executed, because the network element already knows the IP address of the centralized management device and the transmission channel adopts a connectionless transmission protocol, the network element can communicate with the centralized management device according to the IP address and by using the connectionless transmission protocol, so that the centralized management device knows that the network element is to be controlled and establishes the transmission channel, and then the centralized management device and the network element can mutually transmit data by using the transmission channel, and the transmitting end can directly transmit the data without establishing a connection with the receiving end every time the transmitting end transmits the data. In addition, the transmission channel can pass through the gateway, so that data can be normally transmitted between the network element and the centralized management equipment even if the network element and the centralized management equipment are not in the same local area network, and the effect of cross-three-layer or more centralized management of the network element can be realized.
Step S500, sending a control message to a network element through a transmission channel, and receiving a message from the network element.
In this step, after the centralized management device sends the control packet, it can control the network element to perform corresponding operations, for example, control the network element to change the relevant configuration information. And the network element can also feed back information to the centralized management equipment, so that the centralized management equipment can know the real-time state of the network element in time, and the unified management is convenient.
Therefore, the network management method provided by the embodiment of the invention removes the constraint of the network element and the centralized management equipment on the geographical position by adopting the transmission channel of the connectionless transmission protocol, so that one centralized management equipment can manage local area networks in multiple places, the equipment cost is saved, more network managers are not needed, and the labor cost is saved.
In one embodiment, one specific implementation of step S400 includes the following, please refer to fig. 7.
Step S410, receiving a first message which accords with a connectionless transmission protocol from a network element. The first message at least enables the centralized management equipment to identify the position of the network element in the network.
After the network element executes step S210 in the previous embodiment, the centralized management device may receive the first packet and confirm the first packet, thereby ensuring stable establishment of the transmission channel. In addition, after the centralized management device receives the first message, the centralized management device can firstly establish and update a channel database by taking the MAC address as a key word. The channel database includes the name, MAC address, device model, source port number of the first packet, and source IP address of each controlled network element.
Step S420, a first confirmation message which accords with the connectionless transmission protocol is sent to the network element so as to establish a transmission channel with the network element. The first acknowledgement message is used for representing that the centralized management equipment has received the first message.
After the step is completed, the network element may execute step S220 in the previous embodiment.
In one embodiment, one of the specific implementation manners of step S500 includes the following contents, please refer to fig. 8.
Step S510, receiving a second message from the network element through the transmission channel. Wherein the second message includes configuration information of the network element.
After the network element executes step S310 in the previous embodiment, the centralized management device may receive the second packet.
Specifically, step S510 includes the following contents, please refer to fig. 9.
Step S511, judging whether a second message from the network element is received through the transmission channel, if so, executing step S520; otherwise, step S512 is executed.
And S512, recording the number n of times by a second counter.
Specifically, the second counter starts recording every set time (for example, 3 seconds) after the centralized management device sends the first acknowledgment packet to the network element, and the initial value of n is zero. If the centralized management equipment sends the first confirmation message and receives a second message from the network element within 3 seconds, the second counter sets n to zero and stops recording; if the centralized management equipment does not receive the second message from the network element within 3 seconds, the second counter adds 1 to n, if the second message is not received within the next 3 seconds, the second counter adds 1 to n, and so on.
S513, judging whether n is larger than a set threshold value, and if yes, finishing the operation; otherwise, step S511 is performed.
The threshold is set to 3, for example.
Therefore, by adopting the counting mode, the embodiment of the invention can lead the centralized management equipment to stop running in time when the network fault is found.
One embodiment of step S500 further includes the following contents after step S510, please continue to refer to fig. 8.
And S520, analyzing the second message, and adding the analyzed configuration information into a network element database. Wherein the network element database comprises configuration information of all network elements controlled by the centralized management equipment.
The centralized management device may generate a network element database including configuration information of each network element by analyzing the second packet sent by each network element. After the network element database is arranged, network topology, logs, unified reports, real-time flow, equipment lists and the like can be formed, so that a network administrator can check the state of each network element at any time.
Step S530, a second confirmation message is sent to the network element through the transmission channel.
After the step is executed, the network element may execute step S320 in the previous embodiment.
Step S560, when the network element is judged to be configured by the network administrator, new configuration information set by the network administrator for the network element is obtained.
Specifically, a network administrator can control each network element by logging in a World Wide Web (global Wide area network) page of the centralized management device, thereby implementing centralized management and unified maintenance.
Specifically, one embodiment of step S560 includes the following, please continue to refer to fig. 9.
Step S561, judging whether a network administrator wants to configure the network element, if yes, executing step S562; otherwise, the above step S511 is continuously executed.
Step 562, acquiring new configuration information set by a network administrator.
All the above interactions between the centralized management device and the network administrator can be completed through the web page.
One embodiment of step S500 further includes the following contents after step S560, please continue to refer to fig. 8.
Step S570, sending the control message including the new configuration information to the network element through the transmission channel.
After the step is executed, the network element may execute step S330 in the previous embodiment.
Further, with continuing reference to fig. 9, the network device management method according to the embodiment of the present invention further includes the following steps between step S530 and step S560.
Step S540, judging whether the network administrator checks the configuration information, if so, executing step S550; otherwise, step S511 is continuously performed.
If the network administrator does not view the configuration information of the network element, the representative network administrator does not change the configuration information of the network element, so step S511 may be continuously performed.
And S550, displaying the configuration information which the network administrator desires to view.
Specifically, the centralized management device may display the configuration information of the relevant network element through a web page. The network administrator may also input information to the centralized management device via a web page to interact with the centralized management device. Then, the network administrator can jump to the specific network element interface through the web management interface
Therefore, the network device management method provided by the embodiment of the invention enables a network administrator to know the implementation state of each local area network at any time, and can directly configure any controlled network element, thereby improving the maintenance efficiency.
Fig. 1 to 9 are schematic flow charts of the method according to the embodiment of the present invention. It should be understood that, although the steps in the flowcharts of fig. 1 to 9 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence 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 some of the steps in fig. 1-9 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A network device management method, performed by a network element in a network, comprising:
acquiring an IP address of a centralized management device, comprising:
receiving controlled information input by a user;
when judging that the user is controlled by the centralized management equipment according to the controlled information, acquiring the IP address of the centralized management equipment;
establishing a transmission channel suitable for a connectionless transport layer protocol with the centralized management equipment according to the IP address; wherein the transmission channel is capable of passing through a router; the connectionless transport layer protocol means that a source end and a terminal do not establish connection before data transmission, and the source end directly sends the data to a network;
and receiving the control message from the centralized management equipment through the transmission channel, performing corresponding operation, and sending the message to the centralized management equipment.
2. The network device management method according to claim 1, wherein the step of establishing a transport channel adapted to a connectionless transport layer protocol with the centralized management device according to the IP address comprises:
sending a first message which accords with the connectionless transmission protocol to the centralized management equipment according to the IP address; the first message at least enables the centralized management equipment to identify the position of the network element in the network;
when a first confirmation message which accords with the connectionless transmission protocol and is from the centralized management equipment is judged to be received, the establishment of the transmission channel with the centralized management equipment is confirmed; wherein the first acknowledgement message is used to represent that the centralized management device has received the first message.
3. The network device management method according to claim 1, wherein the step of receiving the control packet from the centralized management device through the transmission channel and performing corresponding operations, and the step of sending the packet to the centralized management device includes:
sending a second message to the centralized management equipment through the transmission channel; wherein the second message includes configuration information of the network element;
when the second confirmation message from the centralized management equipment is received through the transmission channel and the state machine is in the off-line state, the state machine is switched to the on-line state; after the state machine is switched to the on-line state and the network element sends the second message with updated configuration information again, whether the second confirmation message is received or not does not need to be judged.
4. The network device management method according to claim 3, wherein after the step of switching the state machine to an on-line state when it is determined that the second acknowledgment packet from the centralized management device is received through the transmission channel and the state machine is in an off-line state, the step of receiving the control packet from the centralized management device through the transmission channel and performing corresponding operation, and the step of sending the packet to the centralized management device further comprises:
after judging that the control message from the centralized management equipment is received through the transmission channel, executing related configuration operation according to the control message;
and sending the second message after updating the configuration information to the centralized management equipment through the transmission channel.
5. The method according to any of claims 1 to 4, wherein the connectionless transport protocol is user datagram protocol.
6. A network device management method, performed by a centralized management device in a network, comprising:
establishing a transmission channel conforming to a connectionless transport layer protocol with a network element under a request of the network element; wherein the transmission channel is capable of passing through a router; the request is a request that the network element receives controlled information input by a user, acquires the IP address of the centralized management when the network element judges that the user is appointed to be controlled by the centralized management equipment according to the controlled information, and sends the IP address to the centralized management equipment according to the IP address; the connectionless transport layer protocol means that a source end and a terminal do not establish connection before data transmission, and the source end directly sends the data to a network;
and sending a control message to the network element through the transmission channel, and receiving a message from the network element.
7. The method of claim 6, wherein the step of establishing a transport channel conforming to a connectionless transport layer protocol with the network element at the request of the network element comprises:
receiving a first message which accords with the connectionless transmission protocol from the network element; the first message at least enables the centralized management equipment to identify the position of the network element in the network;
sending a first confirmation message conforming to the connectionless transmission protocol to the network element to establish the transmission channel with the network element; wherein the first acknowledgement message is used to represent that the centralized management device has received the first message.
8. The method according to claim 6, wherein the step of sending the control packet to the network element through the transmission channel and receiving the packet from the network element comprises:
receiving a second message from the network element through the transmission channel; wherein the second message includes configuration information of the network element;
analyzing the second message, and adding the analyzed configuration information into a network element database; the network element database comprises configuration information of all network elements controlled by the centralized management equipment;
and sending a second confirmation message to the network element through the transmission channel.
9. The method of claim 8, wherein after the step of sending the second acknowledgement packet to the network element via the transmission channel, the step of sending a control packet to the network element via the transmission channel and receiving a packet from the network element further comprises:
when judging that a network administrator needs to configure a network element, acquiring new configuration information set by the network administrator for the network element;
and sending a control message comprising the new configuration information to the network element through the transmission channel.
10. The method according to claim 8, wherein the step of receiving the second packet from the network element via the transmission channel comprises:
judging whether a second message from the network element is received through the transmission channel, if so, executing the step of analyzing the second message, and adding the analyzed configuration information into a network element database; otherwise, executing the step of recording the number n of times by a second counter;
judging whether n is larger than a set threshold value, if so, ending the operation; otherwise, executing step to judge whether to receive the second message from the network element through the transmission channel.
CN201710035893.7A 2017-01-18 2017-01-18 Network equipment management method Active CN106850281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710035893.7A CN106850281B (en) 2017-01-18 2017-01-18 Network equipment management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710035893.7A CN106850281B (en) 2017-01-18 2017-01-18 Network equipment management method

Publications (2)

Publication Number Publication Date
CN106850281A CN106850281A (en) 2017-06-13
CN106850281B true CN106850281B (en) 2020-08-04

Family

ID=59124912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710035893.7A Active CN106850281B (en) 2017-01-18 2017-01-18 Network equipment management method

Country Status (1)

Country Link
CN (1) CN106850281B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733697B (en) * 2017-09-28 2021-03-02 上海斐讯数据通信技术有限公司 Log collection method and system and router
CN110519209B (en) * 2018-05-22 2022-01-11 视联动力信息技术股份有限公司 Network management operation method and system of video networking equipment
CN109067861A (en) * 2018-07-23 2018-12-21 日海智能科技股份有限公司 Communication means, device, equipment and medium based on Internet of Things

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094104A (en) * 2007-07-30 2007-12-26 中兴通讯股份有限公司 Method and device for carrying out device management through proxy of security network management
CN103475506A (en) * 2013-08-27 2013-12-25 大唐移动通信设备有限公司 Multi-equipment management control method and multi-equipment management control system
CN105207853A (en) * 2015-10-12 2015-12-30 深圳市万网博通科技有限公司 Local area network monitoring management method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7873060B2 (en) * 2008-10-18 2011-01-18 Fortinet, Inc. Accelerating data communication using tunnels

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094104A (en) * 2007-07-30 2007-12-26 中兴通讯股份有限公司 Method and device for carrying out device management through proxy of security network management
CN103475506A (en) * 2013-08-27 2013-12-25 大唐移动通信设备有限公司 Multi-equipment management control method and multi-equipment management control system
CN105207853A (en) * 2015-10-12 2015-12-30 深圳市万网博通科技有限公司 Local area network monitoring management method

Also Published As

Publication number Publication date
CN106850281A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
US7843842B2 (en) Method and system for initiating a remote trace route
CN100558051C (en) Two-way conversion link is carried out the method for fault detect
US7496659B1 (en) Method and apparatus for monitoring the availability of network resources
EP2725742B1 (en) Method and device for processing location information about fault point
EP1601158A2 (en) Method for the discovery of devices connected to an IP network and device to carry out said method
KR20150031316A (en) System and method using rsvp hello suppression for graceful restart capable neighbors
CN106850281B (en) Network equipment management method
EP2553870B1 (en) An operations, administrations and management proxy and a method for handling operations, administrations and management messages
CN109600293B (en) GRE tunnel establishment method and system
CN107078946A (en) Processing method, the device and system of business stream process strategy
CN104683188A (en) Method for quickly detecting communication of IP channel of household router
US8612626B2 (en) Group member detection among nodes of a network
CN108289044B (en) Data forwarding method, link state method for determining static route and network equipment
CN102711159A (en) ZigBee protocol-based method and system for processing lost node
EP3381220A1 (en) Method and apparatus for access point to station connection
CN107786441B (en) Communication method, OpenFlow switch and communication system
KR20160131532A (en) Adaptive Bidirectional Forwarding Detection protocol and equipment for maximizing service availability in network system
CN114363147A (en) Improved error handling for media access control security
CN102469063B (en) Routing protocol security alliance management method, Apparatus and system
CN103107942A (en) Tracking method and device of static route
US9380084B2 (en) Method, apparatus and system for implementing login of IP telephone number
JP2008244822A (en) Address duplication avoidance method, system, router
JP4579746B2 (en) Connection management device, connection management device control method, and control program
JP5135292B2 (en) IP telephone exchange and IP telephone system
JP2003229880A (en) Wide area monitor and control system

Legal Events

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