Establishment method of emergency maintenance channel, electronic equipment and storage medium

By establishing an emergency maintenance channel in the data communication network, the problem of network element decontrol is solved, remote diagnosis and troubleshooting of network management stations is realized, network reliability and maintainability are improved, and maintenance costs are reduced.

CN119232548APending Publication Date: 2024-12-31ZTE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310794688.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-29
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In the data communication network, if the network element to be activated is abnormally de-managed or cannot be managed, the problem cannot be solved remotely, resulting in business continuity and additional costs.

Method used

By sending link layer protocol messages to downstream network equipment, establishing an emergency maintenance channel, remote diagnosis and troubleshooting between the network management station and the network element are realized, and ensuring that the network element is correctly connected to the data communication network.

Benefits of technology

It improves the reliability and maintainability of the data communication network, saves the maintenance cost of network element activation, and improves the user's network quality awareness and maintenance capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232548A_ABST
    Figure CN119232548A_ABST
Patent Text Reader

Abstract

The invention discloses an emergency maintenance channel establishment method, electronic equipment and a storage medium, and belongs to the technical field of communication. The method comprises: in response to a diagnosis instruction, sending a first link layer protocol message to a second network device, the diagnosis instruction being sent by a network management station under the condition that the second network device is out of management, and the second network device being a downstream network device of the first network device; and under the condition that a second link layer protocol message fed back by the second network device for the received first link layer protocol message is received, establishing an emergency maintenance channel with the second network device according to the second link layer protocol message, the emergency maintenance channel is used for message interaction between the first network equipment and the second network equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of communication technology, and in particular to a method for establishing an emergency maintenance channel, an electronic device, and a storage medium. Background Art

[0002] In the scenario of convenient activation of the Data Communication Network (DCN), it is common that the network elements to be activated are abnormally disconnected or cannot be managed. When such problems occur, operation and maintenance personnel need to be dispatched to the site to handle them, and the problems cannot be solved remotely. If such problems cannot be handled in time, the network elements to be activated will be disconnected for a long time, thereby affecting business continuity and causing additional cost burden. Summary of the invention

[0003] The embodiments of the present application provide a method for establishing an emergency maintenance channel, an electronic device, and a storage medium, which can solve the problem of how to perform remote processing when a network element is disconnected or other failure occurs.

[0004] In order to solve the above technical problems, this application is implemented as follows:

[0005] In a first aspect, a method for establishing an emergency maintenance channel is provided, which is applied to a first network device connected to a DCN network, comprising: in response to a diagnostic instruction, sending a first link layer protocol message to a second network device, wherein the diagnostic instruction is issued by a network management station when the second network device is out of management, and the second network device is a downstream network device of the first network device; in case of receiving a second link layer protocol message fed back by the second network device in response to the received first link layer protocol message, establishing an emergency maintenance channel with the second network device according to the second link layer protocol message, wherein the emergency maintenance channel is used for message interaction between the first network device and the second network device.

[0006] In a second aspect, a method for establishing an emergency maintenance channel is provided, which is applied to a second network device connected to a DCN network, comprising: receiving a first link layer protocol message sent by a first network device, wherein the second network device is a downstream network device of the first network device, and the first link layer protocol message is issued by the first network device in response to a diagnostic instruction, and the diagnostic instruction is issued by a network management station when the second network device is out of management; feeding back a second link layer protocol message to the first network device in response to the first link layer protocol message; and executing an operation of establishing an emergency maintenance channel with the first network device, wherein the emergency maintenance channel is used for message interaction between the second network device and the first network device.

[0007] According to a third aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.

[0008] In a fourth aspect, a storage medium is provided, wherein at least one computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement the steps of the method described in the first aspect above, or to implement the steps of the method described in the second aspect above.

[0009] In a fifth aspect, a computer program product is provided, the computer program product comprising at least one computer program, the computer program being loaded and executed by a processor to implement the steps of the method described in the first aspect above, or to implement the steps of the method described in the second aspect above.

[0010] In an embodiment of the present application, by sending a first link layer protocol message to a second network device and receiving a second link layer protocol message fed back by the second network device in response to the first link layer protocol message, message interaction at the physical link layer is achieved, and an emergency maintenance channel is established between the downstream network device, i.e., the second network device, so that information transmission of the DCN network can be achieved, so that the second network device can be correctly connected to the DCN network, thereby further enabling the network management station to normally manage the managed device, i.e., the second network device, which helps the network management station to directly perform diagnosis and troubleshooting remotely, thereby improving the reliability and maintainability of the DCN network, saving the maintenance cost of DCN network element activation, and improving the maintainability of DCN network elements and the user's overall network quality perception. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0012] Figure 1 A schematic diagram showing a flow chart of a method for establishing an emergency maintenance channel provided by an exemplary embodiment of the present application;

[0013] Figure 2 A flow chart showing another method for establishing an emergency maintenance channel provided by an exemplary embodiment of the present application is shown;

[0014] Figure 3 A schematic diagram of an application scenario of a method for establishing an emergency maintenance channel provided by an exemplary embodiment of the present application is shown;

[0015] Figure 4A flowchart of another method for establishing an emergency maintenance channel provided by an exemplary embodiment of the present application is shown;

[0016] Figure 5 It is a structural block diagram of an electronic device according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0017] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0018] In order to better understand the technical solution provided by this application, the technology involved in this application is first introduced.

[0019] Data Communication Network (DCN) refers to the network that transmits configuration, maintenance, alarm and other information between the Network Management System (NMS) and the Network Element (NE). Communication equipment is usually scattered in different places, with coverage ranging from tens of kilometers to thousands of kilometers. In order to facilitate management, these scattered devices need to be centrally managed. At present, DCN can be used to complete the unified management and operation and maintenance of various devices in the network management center, reducing costs.

[0020] Usually, the DCN conveniently opens the network by directly connecting the device of the off-management service to the upper-level device, and the upper-level device communicates with the device of the off-management service through preset routing protocols and assigned IP addresses. This allows the network management station to learn the route of the off-management service, and the network management station can send the relevant configuration of the device to the device of the off-management service through the automatically opened route. In this way, the so-called convenient opening function is completed, that is, there is no need for professional personnel to go down to the station for configuration, and the device can be directly connected to the network so that the network manager can manage this device. However, during the DCN network opening process, the DCN off-management service network element is often unreachable, that is, the network manager cannot manage the network element of the off-management service. This failure is generally caused by the following reasons:

[0021] 1. The disconnected network element and the access device are unreachable.

[0022] 2. The disconnected NE and access device are reachable, but the network management station cannot access the disconnected NE.

[0023] In the related art, if such a problem occurs, a technician must be sent to the site to handle it, and the problem cannot be solved by remote means.

[0024] In view of this, the present application proposes a method for establishing an emergency maintenance channel, an electronic device and a storage medium, which can build an emergency maintenance channel when problems such as network elements being out of management, network elements being unable to go online, or the network management station being unable to reach the DCN network elements occur, so that the network management station can directly perform diagnosis and troubleshooting remotely.

[0025] Figure 1 A flow chart of a method for establishing an emergency maintenance channel in an embodiment of the present application is shown. The method 100 can be executed by a first network device connected to a DCN network. Figure 1 As shown, the method may include the following steps.

[0026] S110: In response to the diagnostic instruction, send a first link layer protocol message to the second network device.

[0027] The diagnosis instruction is issued by the network management station when the second network device is out of management, and the second network device is a downstream network device of the first network device.

[0028] It is understandable that the network management station first judges the current DCN network situation, and determines whether the second network device can be managed according to whether the network management channel is reachable. If the second network device fails to access the DCN network normally, the following situation may occur: the network management channel of the second network device is unreachable, and the upstream access device of the second network device, that is, the network management channel of the first network device, is reachable. At this time, the network management station needs to issue a diagnostic instruction to the first network device for the DCN emergency maintenance channel of the unmanaged device, that is, the second network device, and the diagnostic instruction is used to instruct the first network device to establish an emergency maintenance channel with the unmanaged second network device. After receiving the above diagnostic instruction, the first network device can send a first link layer protocol message to the second network device. Optionally, the first link layer protocol message can carry a listening request information for listening to whether the second network device responds to the link layer protocol message carrying DCN information. It should be noted that the link layer protocol message in this application can be, but is not limited to, a link layer discovery protocol (Link Layer Discovery Protocol, LLDP) message, a custom Ethernet message, and a point to point protocol (Point to Point Protocol, PPP) message.

[0029] S120: When receiving a second link layer protocol message fed back by the second network device in response to the received first link layer protocol message, establish an emergency maintenance channel with the second network device according to the second link layer protocol message.

[0030] It can be understood that after receiving the first link layer protocol message, the second network device can feedback the second link layer protocol message to the first network device, and the first network device can establish an emergency maintenance channel with the second network device based on the second link layer protocol message, wherein the emergency maintenance channel is used for message interaction between the first network device and the second network device.

[0031] In addition, the first network device sends a first link layer protocol message to the second network device, and the second network device replies with a second link layer protocol message after receiving the first link layer protocol message, indicating that there is at least one link layer reachable connection between the first network device and the second network device. Then, the first network device can establish an emergency maintenance channel with the second network device based on the link layer reachable connection. Through this channel, the DCN configuration of the second network device can be processed accordingly, and the second network device can be restored accordingly through this channel, so that the second network device can rebuild the DCN network again.

[0032] In an embodiment of the present application, by sending a first link layer protocol message to a second network device and receiving a second link layer protocol message fed back by the second network device in response to the first link layer protocol message, message interaction at the physical link layer is achieved, and an emergency maintenance channel is established between the downstream network device, i.e., the second network device, so that information transmission of the DCN network can be achieved, so that the second network device can be correctly connected to the DCN network, thereby further enabling the network management station to normally manage this hosted device, i.e., the second network device, which helps the network management station to directly perform diagnosis and troubleshooting remotely, thereby improving the reliability and maintainability of the DCN network, saving the maintenance cost of DCN network element activation, and improving the maintainability of DCN network elements and the user's overall network quality perception.

[0033] Furthermore, the method for establishing an emergency maintenance channel provided in the embodiment of the present application can be applied in DCN network networking, which can improve the activation success rate, avoid configuration errors of DCN off-management equipment, or repair faults that can be recovered by restarting.

[0034] In one implementation, an emergency maintenance channel is established with the second network device based on the second link layer protocol message, including: establishing an emergency maintenance channel through the first port of the first network device and the second port of the second network device, wherein the first port is the port for the first network device to receive the second link layer protocol message, and the second port is the port for the second network device to send the second link layer protocol message.

[0035] It can be understood that the first network device can send a first link layer protocol message to the second network device through the first port, and then receive the second link layer protocol message sent by the second network device through the second port through the first port. It can be seen that the first network device and the second network device can communicate messages through the first port and the second port. Therefore, the first network device can establish an emergency maintenance channel with the second port of the second network device through the first port. Among them, in another implementation, when multiple second link layer protocol messages are received, the first port is the port where the first network device first receives the second link layer protocol message, and the second port is the port where the second network device first sends the second link layer protocol message. It can be understood that the first network device can send the first link layer protocol message to the second network device through multiple ports, that is, the first network device can send multiple first link layer protocol messages to the second network device. Then, after the second network device receives the first link layer protocol message through multiple ports, it can send the second link layer protocol message to each port where the first link layer protocol message is received. Therefore, the first port can be the port of the second link layer protocol message first received by the first network device, and the second port can be the port of the second link layer protocol message first received by the second network device. Optionally, in the case of receiving multiple second link layer protocol messages, the first port can be any one of the ports of the first network device receiving the second link layer protocol message, and the second port can be any one of the ports of the second network device sending the second link layer protocol message.

[0036] In this implementation, when the first network device determines that the first port and the second port can communicate messages, it can determine that there is at least one physical link between the first network device and the second network device, and establish an emergency maintenance channel through the physical link, thereby ensuring the reliability and stability of the emergency maintenance channel.

[0037] In one implementation, sending a first link layer protocol message to a second network device may include: sending a first link layer protocol message through at least one currently effective uplink port of the first network device. Among them, the currently effective uplink port may be an uplink port for all uplink ports that enable the DCN convenient activation function. Enabling the DCN convenient activation function means that the DCN convenient activation function is enabled, that is, at least one uplink port in the first network device has been configured to be connected to the data center network DCN. This uplink port can be used to implement the communication and management functions of the data center network and can exchange data with other devices. In this implementation, sending a first link layer protocol message through an uplink port that enables the DCN convenient activation function can quickly realize the connection and configuration of the second network device, so that the second network device can be quickly included in the management scope of the DCN, thereby simplifying the network management process.

[0038] In one implementation, the second link layer protocol message carries the second configuration parameters of the second network device; after establishing an emergency maintenance channel with the second network device according to the second link layer protocol message, the method may also include: obtaining the first configuration parameters of the first network device; when the second configuration parameters are inconsistent with the first configuration parameters, sending a third link layer protocol message to the second network device, the third link layer protocol message carries the first configuration parameters, and the third link layer protocol message is used to instruct the second network device to update the configuration parameters of the second network device to the first configuration parameters.

[0039] It can be understood that, when it is determined that the first configuration parameter of the first network device is inconsistent with the second configuration parameter of the second network device, a third link layer protocol message can be sent to the second network device through the emergency maintenance channel, and the third link layer protocol message carries the first configuration parameter, indicating the second network device to update the configuration parameter of the second network device to the first configuration parameter. In another implementation, the second configuration parameter includes: the virtual local area network VLAN identifier of the second network device; the first configuration parameter includes: the VLAN identifier of the first network device. That is, the first configuration parameter can be the DCN enabling information of the first network device, and the DCN enabling information can include the DCNvlan of the first network device; the second configuration parameter can be the DCN enabling information of the second network device, and the DCN enabling information can include the DCN vlan of the second network device. After receiving the DCN enabling information of the second network device, the first network device can determine whether the DCN vlan and other information contained in the DCN enabling information are consistent with its own DCN information. If not, the correct DCN vlan and other configuration information are carried to the second network device through the third link layer protocol message. Optionally, the DCN enabling information can also include a DCN IP address.

[0040] In this implementation, by modifying the configuration parameters of the second network device, it is possible to prevent configuration errors of key parameters such as DCNvlan. If the configuration parameters of the second network device are incorrect, the second network device may still be unable to correctly access the DCN network.

[0041] In another implementation, after sending a third link layer protocol message to the second network device, the method may further include: when a predetermined condition is met and no network management channel reconstruction request is received from the second network device, sending a fourth link layer protocol message to the second network device, wherein the fourth link layer protocol message carries a restart instruction, and the restart instruction is used to instruct the second network device to restart; wherein the predetermined condition includes at least one of the following: the first predetermined time arrives; the number of message communications with the second network device reaches a threshold.

[0042] It is understandable that after receiving the first configuration parameters carried by the third link layer protocol message, the second network device can reconfigure according to the first configuration parameters on the emergency maintenance channel, and try to rebuild the DCN network with the first network device, that is, send a network management channel reconstruction request. If the second network device does not send a network management channel reconstruction request for a long time, the first network device sends a restart instruction through the fourth link layer protocol message after the first predetermined time arrives or the number of message communications with the second network device reaches a threshold. This is because if the second network device does not send a network management channel reconstruction request for a long time when the configuration parameters have been updated, it may be due to a fault or abnormality in the second network device itself, such as process freezes, resource alarms, network congestion and other problems. By restarting the device and reinitializing the software and hardware environment of the second network device, these abnormal conditions can be cleared so that the second network device can return to normal working status.

[0043] In one implementation, after sending the fourth link layer protocol message to the second network device, the method further includes: re-executing the operation of establishing the emergency maintenance channel with the restarted second network device. It is understandable that after the second network device is restarted based on the restart instruction, other unknown anomalies may be successfully resolved, but the previously established emergency maintenance channel may be unavailable, so the first network device needs to re-establish the emergency maintenance channel with the second network device.

[0044] In one implementation, after re-establishing the emergency maintenance channel with the restarted second network device, the method further includes: sending an alarm message to the network management station when the second scheduled time arrives and the network management channel reconstruction message sent by the second network device is not received. It can be understood that if the first network device is still unable to complete the network management channel reconstruction with the second network device, then after a certain period or preset time interval, that is, when the second scheduled time arrives, the first network device can send an alarm to the network management station to inform the second network device that the DCN network activation has failed, so as to notify the technical staff to perform further diagnosis and processing.

[0045] In one implementation, in the case where the emergency maintenance channel fails to be established with the second network device according to the second link layer protocol message, the method further includes: sending an alarm message to the network management station. It is understandable that if the first network device is still unable to complete the establishment of the emergency channel with the second network device, the first network device can send an alarm to the network management station to inform the second network device that the DCN network activation has failed, so as to notify the technicians to perform further diagnosis and processing.

[0046] Figure 2A flow chart of a method for establishing an emergency maintenance channel in an embodiment of the present application is shown. The method 200 can be executed by a second network device connected to a DCN network. Figure 2 As shown, the method may include the following steps.

[0047] S210: Receive a first link layer protocol message sent by a first network device.

[0048] The second network device is a downstream network device of the first network device, the first link layer protocol message is sent by the first network device in response to a diagnostic instruction, and the diagnostic instruction is sent by the network management station when the second network device is out of management.

[0049] It can be understood that the network management station judges the current DCN network situation and determines whether the second network device can be managed according to whether the network management channel is reachable. If the second network device fails to access the DCN network normally, at this time, the network management station needs to issue a diagnostic instruction to the first network device for the DCN emergency maintenance channel of the unmanaged device, i.e., the second network device. The first network device can send a first link layer protocol message to the second network device based on the diagnostic instruction, and the second network device can receive the first link layer protocol message sent by the first network device.

[0050] S220: Feedback a second link layer protocol message to the first network device in response to the first link layer protocol message.

[0051] It is understandable that after receiving the first link layer protocol message, the second network device can feed back the second link layer protocol message to the first network device.

[0052] S230: Execute an operation of establishing an emergency maintenance channel with the first network device.

[0053] The emergency maintenance channel is used for message interaction between the second network device and the first network device. It is understandable that the second network device establishes the emergency maintenance channel with the first network device by sending the second link layer protocol message, and implements message interaction through the emergency maintenance channel.

[0054] Among them, in one implementation, executing the operation of establishing an emergency maintenance channel with the first network device may include: establishing an emergency maintenance channel with the first port of the first network device through the second port of the second network device, wherein the first port is the port for the first network device to receive the second link layer protocol message, and the second port is the port for the second network device to send the second link layer protocol message.

[0055] It can be understood that the second network device can receive the first link layer protocol message sent by the first network device through the second port, then send the second link layer protocol message through the second port, and then establish an emergency maintenance channel with the first port of the first network device through the second port.

[0056] In an embodiment of the present application, a second link layer protocol message is fed back to the first network device through the received first link layer protocol message, thereby realizing message interaction at the physical link layer, and executing the operation of establishing an emergency maintenance channel with the first network device. An emergency maintenance channel is established between the second network device and its upstream network device, namely the first network device, so that information transmission of the DCN network can be realized, so that the second network device can be correctly connected to the DCN network, thereby further enabling the network management station to normally manage the device to be activated, which helps the network management station to directly perform diagnosis and troubleshooting remotely, thereby improving the reliability and maintainability of the DCN network, saving the maintenance cost of DCN network element activation, and improving the maintainability of DCN network elements and the customer's overall network quality perception.

[0057] In one implementation, the second link layer protocol message carries the second configuration parameters of the second network device; after executing the operation of establishing an emergency maintenance channel with the first network device, the method may also include: receiving a third link layer protocol message sent by the first network device, wherein the third link layer protocol message carries the first configuration parameters, and the third link layer protocol message is sent by the first network device when it is determined that the second configuration parameters are inconsistent with the first configuration parameters of the first network device; updating the configuration parameters of the second network device to the first configuration parameters.

[0058] It is understandable that when the first network device determines that its first configuration parameter is inconsistent with the second configuration parameter of the second network device, a third link layer protocol message can be sent to the second network device through the emergency maintenance channel, and the third link layer protocol message carries the first configuration parameter. After receiving the third link layer protocol message sent by the first network device, the second network device updates its own configuration parameter to the first configuration parameter. Among them, in another implementation method, the second configuration parameter may include: the VLAN identifier of the second network device; the first configuration parameter may easily include: the VLAN identifier of the first network device. It should be noted that the specific content of the first configuration parameter and the second configuration parameter can be referred to. Figure 1 The description of the first configuration parameter and the second configuration parameter in the embodiment will not be repeated here.

[0059] In one implementation, after the configuration parameters of the second network device are updated to the first configuration parameters, the method further includes: sending a network management channel reconstruction message to the network management station through the first network device. It can be understood that after the configuration parameters of the second network device are updated to the first configuration parameters, at this time, the configuration parameters of the second network device are correct, and after the configuration parameters are updated correctly, the first network device can send a network management channel reconstruction message to the network management station to reconstruct the network management channel.

[0060] In one implementation, after sending the network management channel reconstruction message, the method also includes: receiving a fourth link layer protocol message sent by the first network device, wherein the fourth link layer protocol message carries a restart instruction, and the fourth link layer protocol message is sent by the first network device when a predetermined condition is met and the network management channel reconstruction request sent by the second network device is not received; executing a restart process according to the restart instruction; wherein the predetermined condition includes at least one of the following: the first predetermined time arrives; the number of times the first network device communicates messages with the second network device reaches a threshold.

[0061] It can be understood that after receiving the first configuration parameters carried by the third link layer protocol message, the second network device can re-configure according to the first configuration parameters on the emergency maintenance channel, and try to rebuild the DCN network with the first network device, that is, send a network management channel reconstruction request. If the second network device does not send a network management channel reconstruction request for a long time, the first network device will send a restart instruction through a fourth link layer protocol message after the first predetermined time arrives or the number of message communications with the second network device reaches a threshold. After receiving the fourth link layer protocol message, the first network device can restart according to the restart instruction carried by the fourth link layer protocol message to clear the abnormal situation of the second network device itself and return it to a normal working state.

[0062] In one implementation, after executing the restart process according to the restart instruction, the method further includes: executing an operation of re-establishing an emergency maintenance channel with the first network device. In another implementation, after executing an operation of re-establishing an emergency maintenance channel with the first network device, the method further includes: sending a network management channel reconstruction message to the network management station through the first network device.

[0063] It is understandable that after the second network device is restarted based on the restart instruction, other unknown exceptions may be successfully resolved, but the previously established emergency maintenance channel may be unavailable. Therefore, the first network device is required to re-establish the emergency maintenance channel. After re-establishing the emergency maintenance channel, the second network device needs to send a network management channel reconstruction message to the network management station.

[0064] Figure 3A schematic diagram of an application scenario of the method for establishing an emergency maintenance channel in an embodiment of the present application is shown, such as Figure 3 As shown, the off-management device B is the second network device, which is directly connected to the device A in the DCN network, that is, the first network device. Device A is the upstream device, and device B is the downstream device. Figure 4 For example Figure 3 The application scenario shown is described below.

[0065] S410: Issue a diagnosis instruction.

[0066] The network management station finds that device B has not been successfully activated, and initiates DCN emergency maintenance channel processing on the upstream DCN network device A in the DCN network.

[0067] S415: Send a first LLDP message.

[0068] The upstream DCN network device A finds that the DCN function is enabled on ports 1, 2, 3, and 4, and ports 3 and 4 are in the UP state, then the device A sends the first LLDP message carrying the DCN listening request information to the managed device B through ports 3 and 4. It should be noted that this embodiment is described only by taking the LLDP message as an example, and the upstream DCN network device A may also send other types of link layer protocol messages to the managed device B.

[0069] S420: Send a second LLDP message.

[0070] Hosting device B receives the first LLDP message on port 3, which includes DCN listening request information. Device B then carries its DCN related information in the second LLDP message and replies to device A from port 3, which carries the DCNvlan ID 4093 of device B.

[0071] It should be noted that no matter which port the off-management device B receives the first LLDP message, as long as any port of the off-management device B has the DCN convenient activation function enabled, the port that receives this message will reply with the corresponding link layer protocol message. In other words, even if the port that receives the first LLDP message is not DCN enabled, as long as one port is DCN enabled, the second LLDP message will be replied to the upstream DCN network device A. This can prevent errors such as the port connected to the upstream DCN network device A should be configured with the DCN enabling function but is abnormally not configured.

[0072] In addition, if the upstream DCN network device A sends the first LLDP message through the in-band service port, and the managed device B has only the DCN function enabled on the out-of-band management port, the managed device B can also reply on the in-band service port that receives the message. By switching to the in-band service port, the abnormality of the out-of-band management port of the managed device B can be prevented.

[0073] S425: Establish a DCN emergency maintenance channel.

[0074] When the upstream DCN network device A receives the second LLDP message replied by the managed device B on port 3, the DCN emergency maintenance channel is established on port 3 of device A and port 3 of device B.

[0075] S430: Verify DCN VLAN.

[0076] The upstream DCN network device A queries its own DCN VLAN ID as 4094, and receives the DCN VLAN ID of device B as 4093, so the verification fails.

[0077] S435: If the verification fails, send a third LLDP message.

[0078] The upstream DCN network device A sends the third LLDP message to device B through port 3, carrying the correct DCN VLAN ID 4094.

[0079] S440: Modify DCN configuration information.

[0080] Hosted device B receives the LLDP message and finds that its VLAN ID is 4094. It then modifies its own DCN configuration information based on this VLAN ID and configures the DCN VLAN to 4094.

[0081] S445: Configure and enable the DCN function.

[0082] Managed device B enables the DCN function on emergency maintenance channel port 3 and sets the DCN VLAN ID to 4094.

[0083] S450: Perform OSPF protocol interaction.

[0084] Hosting device B presets OSPF area 0 based on the preset DCN IP address 10.10.10.1, and performs OSPF protocol interaction with upstream DCN network device A on port 3.

[0085] S455: Establish OSFP routing.

[0086] The upstream DCN network device A connects with the managed device B using the Shortest Path First (OSFP) protocol, learns the DCN IP address of the downstream device, and establishes an OSFP route.

[0087] S460: Activate DCN network routing.

[0088] The DCN network route from the network management station to the managed device B is automatically calculated according to the route of DCN network OSPF area 0.

[0089] In this embodiment, the network management station is used to establish a DCN emergency maintenance channel according to the port that can communicate, and use this channel to adjust the DCN configuration of the off-management device, so that the downstream device can rebuild the DCN network connection and communicate with the network management station; the upstream DCN network device A is used to send link layer protocol messages to all ports with DCN function enabled to monitor the downstream device status; the downstream device, i.e., the managed device, is used to reply the DCN information of the device through the port that receives the monitoring message, including DCN vlan and other information. Among them, S410 to S425 are used to establish the DCN emergency maintenance channel, S430 to S440 are used for the upstream device to adjust the downstream device parameters, and S445 to S460 are used to rebuild the DCN network connection on the emergency maintenance channel. Through S410 to S460, when the network management station finds that the off-management device is unreachable, the process of initiating the DCN emergency maintenance channel establishment for the unreachable device and reconnecting the DCN network can be completed. It should be noted that there is at least one physical link layer reachable path between the existing reachable upstream device and the unreachable downstream device of the DCN network.

[0090] In addition, if after processing from S410 to S460, the network management station still cannot manage the unmanaged device, it can instruct the upstream DCN network device A to issue a restart command to the managed device B, requiring the managed device B to restart and try to activate it again. If it still cannot be activated successfully, after a preset time or preset cycle, the upstream DCN network device A will alert the network management station of the failure to activate the downstream unmanaged device, so as to notify the technical staff to perform further manual processing.

[0091] like Figure 5 As shown, the embodiment of the present application also provides an electronic device 500, including a processor 501 and a memory 502, the memory 502 stores a program or instruction that can be run on the processor 501, and the program or instruction is executed by the processor 501 to implement the above Figures 1 to 4 The various steps of the illustrated embodiments can achieve the same technical effect, and will not be described again here to avoid repetition.

[0092] The embodiment of the present application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the above Figures 1 to 4 The various processes of the illustrated embodiments can achieve the same technical effect, and will not be described again here to avoid repetition.

[0093] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.

[0094] The present application also provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the above Figures 1 to 4 The various processes of the embodiments shown in the embodiment can achieve the same technical effect, and to avoid repetition, they will not be described again here.

[0095] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0096] The present application embodiment further provides a computer program / program product, wherein the computer program / program product is stored in a storage medium, and the computer program / program product is executed by at least one processor to implement the above Figures 1 to 4 The various processes of the embodiments shown in the embodiment can achieve the same technical effect, and to avoid repetition, they will not be described again here.

[0097] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0098] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general hardware platform, and of course, can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable a terminal or a network-side device to execute the methods described in each embodiment of the present application.

[0099] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.

Claims

1. A method for establishing an emergency maintenance channel, applied to a first network device accessing a DCN network, characterized in that: include: In response to a diagnostic instruction, sending a first link layer protocol message to the second network device, wherein the diagnostic instruction is issued by the network management station when the second network device is out of management, and the second network device is a downstream network device of the first network device; When receiving a second link layer protocol message fed back by the second network device in response to the received first link layer protocol message, an emergency maintenance channel is established with the second network device according to the second link layer protocol message, wherein the emergency maintenance channel is used for message interaction between the first network device and the second network device.

2. The method according to claim 1, characterized in that The establishing an emergency maintenance channel with the second network device according to the second link layer protocol message includes: The emergency maintenance channel is established through the first port of the first network device and the second port of the second network device, wherein the first port is the port for the first network device to receive the second link layer protocol message, and the second port is the port for the second network device to send the second link layer protocol message.

3. The method according to claim 2, characterized in that When multiple second link layer protocol messages are received, the first port is the port where the first network device first receives the second link layer protocol message, and the second port is the port where the second network device first sends the second link layer protocol message.

4. The method according to claim 1, characterized in that The sending the first link layer protocol message to the second network device includes: The first link layer protocol message is sent through at least one currently effective uplink port of the first network device.

5. The method according to claim 1, characterized in that The second link layer protocol message carries a second configuration parameter of the second network device; After establishing the emergency maintenance channel with the second network device according to the second link layer protocol message, the method further includes: Acquire a first configuration parameter of the first network device; When the second configuration parameters are inconsistent with the first configuration parameters, a third link layer protocol message is sent to the second network device, wherein the third link layer protocol message carries the first configuration parameters, and the third link layer protocol message is used to instruct the second network device to update the configuration parameters of the second network device to the first configuration parameters.

6. The method according to claim 5, characterized in that The second configuration parameter includes: a virtual local area network VLAN identifier of the second network device; the first configuration parameter includes: a VLAN identifier of the first network device.

7. The method according to claim 5 or 6, characterized in that: After sending the third link layer protocol message to the second network device, the method further includes: When a predetermined condition is met and no network management channel reconstruction request sent by the second network device is received, sending a fourth link layer protocol message to the second network device, wherein the fourth link layer protocol message carries a restart instruction, and the restart instruction is used to instruct the second network device to restart; The predetermined condition includes at least one of the following: Arrive at the first scheduled time; The number of times of message communication with the second network device reaches a threshold.

8. The method according to claim 7, characterized in that After sending the fourth link layer protocol message to the second network device, the method further includes: Re-execute the operation of establishing the emergency maintenance channel with the restarted second network device.

9. The method according to claim 8, characterized in that After re-establishing the emergency maintenance channel with the restarted second network device, the method further includes: When the second scheduled time arrives and the network management channel reconstruction message sent by the second network device is not received, an alarm message is sent to the network management station.

10. The method according to any one of claims 1 to 6, characterized in that: In the case where the emergency maintenance channel fails to be established with the second network device according to the second link layer protocol message, the method further includes: sending an alarm message to the network management station.

11. A method for establishing an emergency maintenance channel, applied to a second network device connected to a DCN network, characterized in that: include: receiving a first link layer protocol message sent by a first network device, wherein the second network device is a downstream network device of the first network device, the first link layer protocol message is sent by the first network device in response to a diagnostic instruction, and the diagnostic instruction is sent by a network management station when the second network device is out of management; Feedback a second link layer protocol message to the first network device in response to the first link layer protocol message; An operation of establishing an emergency maintenance channel with the first network device is performed, wherein the emergency maintenance channel is used for message interaction between the second network device and the first network device.

12. The method according to claim 11, characterized in that The operation of establishing an emergency maintenance channel with the first network device includes: The emergency maintenance channel is established through the second port of the second network device and the first port of the first network device, wherein the first port is the port for the first network device to receive the second link layer protocol message, and the second port is the port for the second network device to send the second link layer protocol message.

13. The method according to claim 11, characterized in that The second link layer protocol message carries a second configuration parameter of the second network device; After the operation of establishing an emergency maintenance channel with the first network device is performed, the method further includes: receiving a third link layer protocol message sent by the first network device, wherein the third link layer protocol message carries a first configuration parameter, and the third link layer protocol message is sent by the first network device when it is determined that the second configuration parameter is inconsistent with the first configuration parameter of the first network device; Update the configuration parameters of the second network device to the first configuration parameters.

14. The method according to claim 13, characterized in that The second configuration parameter includes: a VLAN ID of the second network device; the first configuration parameter includes: a VLAN ID of the first network device.

15. The method according to claim 13 or 14, characterized in that After updating the configuration parameters of the second network device to the first configuration parameters, the method further includes: A network management channel reconstruction message is sent to the network management station through the first network device.

16. The method according to claim 15, characterized in that After sending the network management channel reconstruction message, the method further includes: receiving a fourth link layer protocol message sent by the first network device, wherein the fourth link layer protocol message carries a restart instruction, and the fourth link layer protocol message is sent by the first network device when a predetermined condition is met and the network management channel reconstruction request sent by the second network device is not received; Execute the restart process according to the restart instruction; The predetermined condition includes at least one of the following: Arrive at the first scheduled time; The number of times the first network device communicates with the second network device via messages reaches a threshold.

17. The method according to claim 16, characterized in that After executing the restart process according to the restart instruction, the method further includes: An operation of re-establishing the emergency maintenance channel with the first network device is performed.

18. The method according to claim 17, characterized in that After the operation of re-establishing the emergency maintenance channel with the first network device is performed, the method further includes: A network management channel reconstruction message is sent to the network management station through the first network device.

19. An electronic device, characterized in that: The electronic device includes a processor and a memory, and the memory stores a program or instruction that can be run on the processor. When the program or instruction is executed by the processor, it implements the method for establishing an emergency maintenance channel as described in any one of claims 1 to 10, or implements the method for establishing an emergency maintenance channel as described in any one of claims 11 to 18.

20. A storage medium, characterized in that: The storage medium stores programs or instructions, and when the programs or instructions are executed by the processor, they implement the method for establishing an emergency maintenance channel as described in any one of claims 1 to 10, or implement the method for establishing an emergency maintenance channel as described in any one of claims 11 to 18.

Citation Information

Patent Citations

  • Method, network management equipment and system for remotely managing detached node

    CN102142977A

  • Method and system for managing networks, and network element devices

    CN104702430A

  • Method and system for automatically discovering and accessing network element in DCN network

    CN115941498A

  • Network management implementation method, network element devices and system

    WO2014183726A1