WO2017016464A1 - 一种层邻接发现的处理方法及装置 - Google Patents

一种层邻接发现的处理方法及装置 Download PDF

Info

Publication number
WO2017016464A1
WO2017016464A1 PCT/CN2016/091641 CN2016091641W WO2017016464A1 WO 2017016464 A1 WO2017016464 A1 WO 2017016464A1 CN 2016091641 W CN2016091641 W CN 2016091641W WO 2017016464 A1 WO2017016464 A1 WO 2017016464A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
information
adjacency
devices
layer adjacency
Prior art date
Application number
PCT/CN2016/091641
Other languages
English (en)
French (fr)
Inventor
高春霞
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017016464A1 publication Critical patent/WO2017016464A1/zh

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

Definitions

  • This document relates to, but is not limited to, the field of communication technologies, and in particular, to a processing method and apparatus for layer adjacency discovery.
  • the Optical Transport Network is a new generation of digital optical transmission technology system following the Plesiochronous Digital Hierarchy (PDH) and Synchronous Digital Hierarchy (SDH).
  • the OTN technology includes the complete architecture of the optical layer and the electrical layer. Each layer network has a corresponding management and monitoring mechanism.
  • the optical layer is wavelength switching
  • the electrical layer is time slot switching
  • both the optical layer and the electrical layer have network survivability mechanism. .
  • SDN Software Defined Network
  • the SDN network architecture abstraction is usually defined as three layers: the first layer is the forwarding plane entity, including the hardware and software components that implement this forwarding function; the second layer is the entity that manages and controls the first layer forwarding entity; the third layer It is based on the applications and services of the first two layers of the underlying network.
  • Software Defined Optical Network refers to the application of SDN architecture to OTN networks. In an OTN network, the control plane exists in a distributed manner, and in the SDON network, the controller manages the devices in a centralized manner. This difference leads to a cumbersome use of the OTN network in the processing of data connectivity in the SDON network. Cannot be applied to the SDON network.
  • the embodiment of the invention provides a processing method and device for layer adjacency discovery, which can simplify the processing method of layer adjacency in the SDON network.
  • An embodiment of the present invention provides a processing method for layer adjacency discovery, where the processing method includes:
  • a layer adjacency discovery between devices is performed on the device through which the layer adjacency check passes, and a layer adjacency relationship between the devices is saved.
  • the performing layer adjacency check between the devices according to the local layer access point information and the remote information includes:
  • the method further includes: after saving the layer adjacency relationship between the devices:
  • the corresponding layer adjacency relationship is cleared according to the layer neighbor discovery failure information;
  • processing method further includes:
  • performing layer adjacency fault detection on the device that successfully discovers the layer adjacency according to the local layer access point information and the remote information includes:
  • the transmitting and receiving points between the devices that are successfully found by the layer are not changed, it is determined whether the communication link between the devices in the layer adjacent to the discovery is changed, and if the communication link changes, the layer is determined. A faulty connection occurs between devices that have successfully discovered adjacency.
  • the embodiment of the invention further provides a processing device for layer adjacency discovery, the processing device comprising:
  • the layer adjacency check module is configured to receive the local layer access point information and the remote information reported by the device in the software defined optical network, and perform layer adjacency check between the devices according to the local layer access point information and the remote information. ;
  • the saving module is configured to perform layer adjacency discovery between devices for the device that the layer adjacent to pass the verification, and save the layer adjacency relationship between the devices.
  • the layer adjacency check module is configured to
  • the processing device further includes:
  • the clearing module is configured to: when the layer adjacency discovery failure information reported by the device that is successfully discovered by the layer neighboring is received, clear the corresponding layer adjacency relationship according to the layer neighbor discovery failure information;
  • the alarm module is configured to perform alarm processing when receiving the layer adjacency discovery failure information reported by the device that is successfully discovered by the layer neighboring, and the transmission point corresponding to the layer adjacency relationship is in a working state.
  • the processing device further includes:
  • a fault detection module configured to perform layer-to-layer adjacency according to the local layer access point information and remote information
  • a successful device is found to perform layer adjacency fault detection.
  • the fault detection module is configured to
  • the technical solution provided by the embodiment of the present invention includes: receiving local layer access point information and remote information reported by a device in a software-defined optical network, according to local layer access point information and remote information.
  • Embodiments of the present invention simplify layer-by-layer discovery in software-defined optical networks.
  • the controller is responsible for centrally managing the local layer access point information reported by the device, and when the device receives the remote information of other devices from the data link, according to the local layer access point.
  • the information and the remote information are layer-by-layer-verified for layer-by-layer auto-discovery.
  • This embodiment is applicable to layer-by-layer auto-discovery in a software-defined optical network, and the layer-adjacent automatic discovery operation is simple and fast.
  • FIG. 1 is a schematic flow chart of a first embodiment of a processing method for layer adjacency discovery according to the present invention
  • FIG. 2 is a schematic flow chart of the step 101 in FIG. 1;
  • FIG. 3 is a schematic diagram of performing layer adjacency check between devices in FIG. 2;
  • FIG. 4 is a schematic flow chart of a second embodiment of a processing method for layer adjacency discovery according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a third embodiment of a processing method for layer adjacency discovery according to the present invention.
  • FIG. 6 is a flow chart of the fault detection of the fault in FIG. 5;
  • FIG. 7 is a schematic diagram of fault detection of the fault in FIG. 6;
  • FIG. 8 is a flow chart of fault line fault detection in FIG. 5;
  • FIG. 9 is a schematic diagram of fault line fault detection in FIG. 8.
  • FIG. 10 is a schematic diagram of functional modules of a first embodiment of a processing device for layer adjacency discovery according to the present invention.
  • FIG. 11 is a schematic diagram of functional modules of a second embodiment of a processing device for layer adjacency discovery according to the present invention.
  • FIG. 12 is a schematic diagram of functional modules of a third embodiment of a processing device for layer adjacency discovery according to the present invention.
  • the processing method of the layer adjacency discovery includes:
  • Step 101 Receive local layer access point information and remote information reported by the device in the software-defined optical network, and perform layer adjacency check between the devices according to the local layer access point information and the remote information.
  • the layer access point in the device may include an ODU (Optical Channel Data Unit) layer and an Optical Channel Transport Unit (OTU) layer.
  • the layer access point is referred to as a Transmit Port. For TP.
  • the purpose of layer adjacency discovery is to discover two adjacent layer access points of a device that can perform data transfer.
  • the local layer access point information and the remote information reported by the device in the software-defined optical network may be received by the controller, where the local layer access point information is the first device that reports the information (the first device)
  • the information of the name set by the first device including the name of the device, including the node identification number (ID), the board address, and the port information.
  • the remote information is the information received by the first device from the data link. That is, the information sent by the second device (ie, other devices) through the data link includes the node ID, the board address, and the port address of the second device.
  • layer neighboring between devices is performed according to local layer access point information and remote information.
  • the verification may include: firstly, the first device receives the remote information received by the first device and the local layer access point information of the local device, and the controller performs the layer adjacency check between the devices, and first saves the first device and the first device. An association relationship between the two devices, and then, in the saved association relationship, whether there is a layer adjacency relationship between the first device and the second device, and performing layer adjacency check between the devices. If there is no layer adjacency relationship between the first device and the second device in this embodiment, the subsequent process is continued.
  • the second device receives the remote information from the data link, the remote information is the information sent by the first device through the data link, and the second device reports the received remote information to the controller and its own local layer access point.
  • the information is verified by the controller, and the association between the second device and the first device is saved, and then, in the saved association relationship, it is found whether there is a layer adjacency relationship between the first device and the second device. , perform layer adjacency check between devices.
  • Step 102 Perform layer adjacency discovery between devices on the device that the layer adjacent to pass the verification, and save the layer adjacency relationship between the devices.
  • the layer adjacency relationship between the first device and the second device does not exist, but the relationship between the first device and the second device has been previously saved, and the second device and the second device are also saved.
  • the relationship between the devices is determined. Therefore, it is determined that the first device and the second device are in a layer adjacency relationship, and data can be mutually transmitted.
  • the layer adjacency check passes, and the layer adjacency between the devices is automatically found successfully, and the first is saved.
  • the layer adjacency relationship between the device and the second device is assumed that the layer adjacency relationship between the first device and the second device does not exist, but the relationship between the first device and the second device has been previously saved, and the second device and the second device are also saved.
  • the relationship between the devices is determined. Therefore, it is determined that the first device and the second device are in a layer adjacency relationship, and data can be mutually transmitted.
  • the layer adjacency check passes, and the layer adjacency between the devices is automatically found successfully
  • the controller may be responsible for centrally managing the local layer access point information reported by the device.
  • the device receives the remote information of other devices from the data link, the device accesses according to the local layer.
  • the layer information and the remote information are layer-by-layer to perform layer-by-layer auto-discovery.
  • This embodiment is applicable to layer-by-layer auto-discovery in a software-defined optical network, and the layer-adjacent automatic discovery operation is simple and fast.
  • the foregoing step 101 includes:
  • Step 1011 Receive local layer access point information and remote information reported by the device in the software-defined optical network, and save the association relationship between the first transmission point corresponding to the local layer access point information and the second transmission point corresponding to the remote information. Where the remote information is sent by the other device to the device;
  • Step 1012 Search, according to the saved local layer access point information, whether there is a layer adjacency relationship between the first transmission point and the second transmission point in the saved association relationship;
  • Step 1013 If there is no layer adjacency relationship between the first transmission point and the second transmission point, search for the association relationship between the second transmission point and the first transmission point in the saved association relationship according to the remote information to perform the device. Layer contiguous check.
  • FIG. 3 describes the process of successful discovery of one layer adjacency:
  • the first device and the second device separately report the local layer access point information to the controller.
  • the escalation can be performed using, but not limited to, a packet input (packet_in) message.
  • the content of the local layer access point information should include, but is not limited to, a node ID, a board address, and port information.
  • the first device transmits the remote information through the overhead of the data link of its own transmission point TP1.
  • the remote information includes basic information of the transmission point, and the basic information is used by the controller to uniquely identify the transmission point when the information is reported to the controller.
  • the remote information includes the network element information, the board where the transmission point is located, and the port information.
  • the transmission point is a point on the device and belongs to the device.
  • the second device reports the remote information and the local layer access point information received from the TP1 data link to the controller.
  • the reported information includes the node ID of the second device, the board address of the transmission point TP2 of the second device, the port information of the TP2, the node ID of the first device, the board address of the transmission point TP1 of the first device, and the port of the TP1.
  • An address, the report includes reporting the association relationship between TP2 and TP1 to the controller;
  • the controller receives the information reported by the second device, and saves the association relationship TP2 to TP1 (TP2->TP1) of the transmission point. If there is a layer adjacency TP1 ⁇ ->TP2, if there is a layer adjacency TP1 ⁇ ->TP2, it is a discovered layer adjacency. If the layer adjacency does not change, there is no need to process; if there is no layer adjacency TP1 ⁇ ->TP2, according to the reported remote information, whether there is a TP1->TP2 association relationship. If there is no TP1->TP2 association relationship, the information reported temporarily is not processed.
  • the second device sends the remote information through the overhead of the data link of the TP2, refer to step 2 above;
  • the first device will receive the remote information and local layer access point information from the data link of TP2. Report to the controller, refer to step 3 above;
  • the controller receives the information reported by the first device, and saves the association relationship TP1->TP2 of the transmission point. If there is a layer adjacency TP1 ⁇ ->TP2, if there is a layer adjacency TP1 ⁇ ->TP2, it is a discovered layer adjacency. If the layer adjacency does not change, there is no need to process; if there is no layer adjacency TP1 ⁇ -> TP2, based on the reported remote information, whether TP2->TP1 association exists. In this example, the association relationship TP2->TP1 has been saved in the fourth step, so TP1 ⁇ ->TP2 is a layer adjacency relationship, and data can be mutually transmitted.
  • the layer adjacency relationship other than the layer adjacency relationship of TP1 ⁇ ->TP2 does not exist. Therefore, the layer adjacency automatic discovery succeeds, and the layer adjacency relationship TP1 ⁇ ->TP2 is saved.
  • the method further includes:
  • Step 103 When receiving the layer neighbor discovery failure information reported by the device that is successfully discovered by the layer neighboring, clear the corresponding layer adjacency relationship according to the layer neighbor discovery failure information.
  • Step 104 Perform alarm processing when the transmission point corresponding to the layer adjacency is in the working state.
  • step 104 may be performed when the layer neighboring discovery failure information reported by the device with the layer neighboring success is received, that is, when the layer neighboring discovery failure information reported by the device with the layer neighboring success is received, the layer adjacency relationship corresponds to The alarm processing is performed when the transfer point is in the working state.
  • the scenario in which the layer adjacency automatic discovery fails may be performed before the layer adjacency automatic discovery succeeds or the layer adjacency automatic discovery succeeds. This embodiment is described after the layer adjacency automatic discovery succeeds.
  • the first device periodically monitors the remote information received from the data link, and if the remote information is not received within the specified time, the layer neighbor discovery failure information is reported to the controller, and the layer adjacency discovery failure information is detected.
  • the node ID of TP1, the board address of TP1, and the port information of TP1, and the fault information are layer neighbor discovery failures.
  • the controller After receiving the layer neighbor discovery failure information, the controller needs to clear the related information if the association information of TP1->TP2 and the layer adjacency of TP1 ⁇ ->TP2 are saved locally. The controller determines whether to perform subsequent processing on the layer neighbor discovery failure information. If the corresponding transmission point is already in use, an alarm processing is required.
  • the processing method of layer adjacency discovery further includes:
  • Step 105 Perform layer neighbor fault detection on the device whose layer neighboring success is found according to the local layer access point information and the remote information.
  • layer adjacency fault detection is used to detect connectivity between two transmission points.
  • Layer adjacency fault detection includes faulty line fault detection and faulty fault detection.
  • the faulty line fault can be generated before the layer adjacency is found successfully or after the layer adjacency is found successfully.
  • the faulty fault must be generated after the layer adjacency is found successfully.
  • the layer neighboring fault detection is performed on the device that is successfully discovered by the neighboring layer according to the local layer access point information and the remote information, including: according to the local layer access point information and the remote information detecting layer, the neighboring device is successfully found.
  • the receiving and receiving points change; if the transmitting and receiving points between the devices that have been successfully discovered by the layer adjacency change, the faulty line fault occurs between the devices that are found to be successful in the neighboring layer; if the transmitting and receiving points between the devices whose layers are found to be successful are not changed,
  • the communication layer between the devices that find the successful neighbors is changed. If the communication link changes, the fault is detected between the devices whose success is found by the decision layer.
  • FIG. 6 and FIG. 7 describe the detection process of the misconnection failure. This example is based on the success of the above layer adjacency discovery:
  • the first device After the controller side completes the layer adjacency discovery between TP1 ⁇ ->TP2, the first device sends the remote information through the overhead of the data link of TP1;
  • the transmission point TP3 may or may not be in the second device. Taking the transmission point TP3 as an example in the second device, the remote information of the TP1 received by the transmission point TP3 from the data link is reported to the controller by the remote information and the local layer access point information.
  • the report information includes the node ID of the second device, the board address of the TP3, the port information of the TP3, the node ID of the first device, the board address of the TP1, and the port address of the TP1.
  • the controller receives the reported information and saves the association relationship of TP3->TP1. If the layer adjacency relationship TP1 ⁇ ->TP3 exists, the layer adjacency relationship is found. If the layer adjacency has not changed, there is no need to process it; TP1 ⁇ ->TP2, there is no TP1 ⁇ ->TP3, so follow-up processing is required. Finds the association between TP1 and TP3 based on the reported remote information. Because the TP1->TP2 relationship has been saved when the layer is adjacent to the automatic discovery, the TP1 transmission and reception relationship is inconsistent. The TP1 sends the message to the TP3, but the TP2 message is received. Therefore, a misline alarm will occur. This alarm is only a transient in the instance.
  • the second device sends the remote information by using the overhead of the data link of the TP3.
  • the first device receives the remote information from the data link, and reports the remote information and the local layer access point information to the controller.
  • the report information includes the node ID of the first device, the board address of the TP1, the port information of the TP1, the node ID of the second device, the board address of the TP3, and the port address of the TP3.
  • the controller receives the reported information and saves the association relationship between TP1 and TP3 to find out whether there is a layer adjacency relationship TP1 ⁇ ->TP3. If the layer adjacency relationship TP1 ⁇ -> TP3 exists, it is the discovered layer adjacency. If the layer adjacency does not change, no processing is required. In this example, TP1 ⁇ ->TP3 does not exist, so subsequent processing is required. Finds the association between TP3->TP1 based on the reported remote information. The above relationship has been saved for TP1->TP3, so TP1 ⁇ ->TP3 is a layer adjacency relationship. Data can be transferred to each other.
  • FIG. 8 and FIG. 9 describe the detection process of the faulty line fault. This example is based on the success of the above layer adjacency discovery:
  • the first device After the controller side completes the layer adjacency discovery between TP1 ⁇ ->TP2, the first device sends the remote information through the overhead of the data link of TP1;
  • the second device receives the remote information from the data link, and reports the remote information and the local layer access point information to the controller.
  • the report information includes the node ID of the second device, the board address of the TP2, the port information of the TP2, the node ID of the first device, the board address of the TP1, and the port address of the TP1.
  • the controller receives the reported information and saves the association relationship between TP2->TP1 to find out whether there is a layer adjacency relationship TP1 ⁇ ->TP2. If the layer adjacency relationship TP1 ⁇ -> TP2 exists, the layer adjacency relationship has been discovered. If the layer adjacency does not change, no processing is required. In this example, the layer adjacency relationship TP1 ⁇ ->TP2 already exists and does not need to be processed.
  • the second device sends the remote information through the overhead of the data link of the TP3.
  • the first device receives the remote information from the data link, and reports the remote information and the local layer access point information to the controller.
  • the report information includes the node ID of the first device, the board address of the TP1, the port information of the TP1, the node ID of the second device, the board address of the TP3, and the port address of the TP3.
  • the controller receives the reported information and saves the related information of TP1->TP3 to find out whether there is a layer adjacency relationship TP1 ⁇ ->TP3. If the layer adjacency relationship TP1 ⁇ -> TP3 exists, the layer adjacency relationship has been discovered. If the layer adjacency does not change, no processing is required. In this example, the layer adjacency relationship TP1 ⁇ ->TP3 does not exist, so subsequent processing is required. . Finds the association between TP3->TP1 based on the reported remote information. The association relationship between TP1 and TP2 has been saved. Therefore, the transmission and reception of TP1 are inconsistent, resulting in a faulty line fault.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing processing method.
  • the embodiment of the present invention further provides a processing device for layer adjacency discovery.
  • the processing device for layer adjacency discovery may include:
  • the layer adjacency check module 101 is configured to receive local layer access point information and remote information reported by the device in the software defined optical network, and perform layer adjacency between the devices according to the local layer access point information and the remote information. Test
  • all controllers in the management scope may be managed by one controller, and the processing device may be disposed in the controller or may be in communication connection with the controller.
  • the concept of the layer may refer to the definition in G.709.
  • the layer access point in the device may include an LO ODUK layer, a HO ODUK layer, an OTU layer, an OCH layer, an OMS layer, and an OTS layer, and the layer access point serves as a transmission.
  • the Transmit Port is simply referred to as TP.
  • the purpose of layer adjacency discovery is to discover two adjacent layer access points of a device that can perform data transfer.
  • the local layer access point information and the remote information reported by the device in the software-defined optical network may be received by the controller, where the local layer access point information is information of the first device itself that reports the information, including The information is not limited to the node ID, the board address, and the port information.
  • the remote information is the information that the first device receives from the data link, that is, the information that the second device (ie, other devices) sends over the data link, including the information. Node ID, board address, and port address of the second device.
  • performing layer adjacency check between devices according to the local layer access point information and the remote information may include: firstly, the first device receives the remote information received by the first device and the local layer access point information thereof. To the controller, the controller performs a layer adjacency check between the devices, first saves the association relationship between the first device and the second device, and then, in the saved association relationship, searches according to the saved local layer access point information. There is a layer adjacency relationship between the first device and the second device, and layer adjacency check between the devices is performed. If there is no layer adjacency relationship between the first device and the second device in this embodiment, the subsequent process is continued.
  • the second device receives the remote information from the data link, the remote information is the information sent by the first device through the data link, and the second device reports the received remote information to the controller and its own local layer access point.
  • the information is verified by the controller, and the association between the second device and the first device is saved, and then, in the saved association relationship, it is found whether there is a layer adjacency relationship between the first device and the second device. , perform layer adjacency check between devices.
  • the saving module 102 is configured to perform layer adjacency discovery between devices for the device that the layer adjacent to pass the verification, and save the layer adjacency relationship between the devices.
  • the layer adjacency relationship between the first device and the second device does not exist, but the relationship between the first device and the second device has been previously saved, and the second device and the second device are also saved.
  • the relationship between the devices is determined. Therefore, it is determined that the first device and the second device are in a layer adjacency relationship, and data can be mutually transmitted.
  • the layer adjacency check passes, and the layer adjacency between the devices is automatically found successfully, and the first is saved.
  • the layer adjacency relationship between the device and the second device is assumed that the layer adjacency relationship between the first device and the second device does not exist, but the relationship between the first device and the second device has been previously saved, and the second device and the second device are also saved.
  • the relationship between the devices is determined. Therefore, it is determined that the first device and the second device are in a layer adjacency relationship, and data can be mutually transmitted.
  • the layer adjacency check passes, and the layer adjacency between the devices is automatically found successfully
  • the controller may be responsible for centrally managing the local layer access point information reported by the device.
  • the device receives the remote information of other devices from the data link, the device accesses according to the local layer.
  • the layer information and the remote information are layer-by-layer to perform layer-by-layer auto-discovery.
  • This embodiment is applicable to layer-by-layer auto-discovery in a software-defined optical network, and the layer-adjacent automatic discovery operation is simple and fast.
  • the layer adjacency check module 101 is configured to
  • the first device and the second device separately report the local layer access point information to the controller.
  • the report can be selected but not limited to the packet_in message.
  • the content of the local layer access point information should include, but is not limited to, a node ID, a board address, and port information.
  • the first device transmits the far-end information through the overhead of the data link of its own transmission point TP1.
  • the remote information includes basic information of the transmission point, and the basic information is used by the controller to uniquely identify the transmission point when the information is reported to the controller.
  • the remote information includes the NE information and the board and port information of the transmission point.
  • the second device reports the remote information and the local layer access point information received from the TP1 data link to the controller.
  • the report information includes the node ID of the second device, the board address of the transmission point TP2 of the second device, the port information of the TP2, the node ID of the first device, the board address of the transmission point TP1 of the first device, and the port address of the TP1.
  • the report reports the association relationship between TP2 and TP1 to the controller;
  • the controller receives the information reported by the second device, and saves the association relationship TP2->TP1 of the transmission point. If there is a layer adjacency TP1 ⁇ ->TP2, if there is a layer adjacency TP1 ⁇ ->TP2, it is a discovered layer adjacency. If the layer adjacency does not change, there is no need to process; if there is no layer adjacency TP1 ⁇ ->TP2, according to the reported remote information, whether there is a TP1->TP2 association relationship. If there is no TP1->TP2 association relationship, the information reported temporarily is not processed.
  • the second device sends the remote information by using the overhead of the data link of the TP2;
  • the first device reports the remote information and the local layer access point information received from the data link of the TP2 to the controller;
  • the controller receives the information reported by the first device, and saves the association relationship TP1->TP2 of the transmission point. If there is a layer adjacency TP1 ⁇ ->TP2, if there is a layer adjacency TP1 ⁇ ->TP2, it is a discovered layer adjacency. If the layer adjacency does not change, there is no need to process; if there is no layer adjacency TP1 ⁇ -> TP2, based on the reported remote information, whether TP2->TP1 association exists. In this example, the association relationship TP2->TP1 has been saved in the fourth step, so TP1 ⁇ ->TP2 is a layer adjacency relationship, and data can be mutually transmitted.
  • the layer adjacency relationship other than the layer adjacency relationship of TP1 ⁇ ->TP2 does not exist. Therefore, the layer adjacency automatic discovery succeeds, and the layer adjacency relationship TP1 ⁇ ->TP2 is saved.
  • the layer adjacent discovery processing device further includes:
  • the clearing module 103 is configured to: when receiving the layer adjacency discovery failure information reported by the device that is successfully discovered by the layer neighboring, clear the corresponding layer adjacency relationship according to the layer adjacency discovery failure information;
  • the alarm module 104 is configured to perform alarm processing when receiving the layer adjacency discovery failure information reported by the device that is successfully discovered by the layer neighboring, and the transmission point corresponding to the layer adjacency relationship is in the working state.
  • the scenario in which the layer adjacency automatic discovery fails may be performed before the layer adjacency automatic discovery succeeds or the layer adjacency automatic discovery succeeds. This embodiment is described after the layer adjacency automatic discovery succeeds.
  • the first device periodically monitors the remote information received from the data link, and if the remote information is not received within the specified time, the layer neighbor discovery failure information is reported to the controller, and the layer adjacency discovery failure information is detected.
  • the node ID of TP1, the board address of TP1, and the port information of TP1, and the fault information are layer neighbor discovery failures.
  • the controller After receiving the layer neighbor discovery failure information, the controller needs to clear the related information if the association information of TP1->TP2 and the layer adjacency of TP1 ⁇ ->TP2 are saved locally. The controller determines whether to perform subsequent processing on the layer neighbor discovery failure information. If the corresponding transmission point is already in use, an alarm processing is required.
  • the layer adjacent discovery processing device further includes:
  • the fault detection module 105 is configured to perform layer adjacency fault detection on the device whose layer adjacent discovery is successful according to the local layer access point information and the remote information.
  • layer adjacency fault detection is used to detect connectivity between two transmission points.
  • Layer adjacency fault detection includes faulty line fault detection and faulty fault detection.
  • the faulty line fault can be generated before the layer adjacency automatic discovery succeeds or the layer adjacency automatic discovery succeeds.
  • the faulty fault must be generated after the layer adjacency automatic discovery succeeds.
  • the fault detection module 105 is configured to
  • the local layer access point information and the remote information detection layer determines whether the transmitting and receiving points between the devices that are successfully found by the neighbors are changed; if the transmitting and receiving points between the devices that have successfully discovered the layer adjacency change, the device that determines the success of the neighboring layer occurs. If there is no change in the transmission and reception point between the devices that are found to be successful in the layer adjacency, then the communication link between the devices that have successfully found the neighboring layer is changed. If the communication link changes, the neighboring layer is found to be successful. A misconnection failure occurred between devices.
  • the detection of the faulty fault includes:
  • the first device After the controller side completes the layer adjacency discovery between TP1 ⁇ ->TP2, the first device sends the remote information through the overhead of the data link of the TP1;
  • the transfer point TP3 may or may not be in the second device. Taking the transmission point TP3 as an example in the second device, the remote information of the TP1 received by the transmission point TP3 from the data link is reported to the controller by the remote information and the local layer access point information.
  • the report information includes the node ID of the second device, the board address of the TP3, the port information of the TP3, the node ID of the first device, the board address of the TP1, and the port address of the TP1.
  • the controller receives the reported information and saves the association relationship of TP3->TP1. If there is a layer adjacency relationship TP1 ⁇ ->TP3, if there is a layer adjacency relationship TP1 ⁇ ->TP3, the layer adjacency relationship that has been discovered does not need to be processed when the layer adjacency relationship does not change. It is assumed that only TP1 exists in this example. ⁇ ->TP2, there is no TP1 ⁇ ->TP3, so follow-up processing is required. Finds the association between TP1 and TP3 based on the reported remote information. Because the relationship between TP1 and TP2 has been saved in the layer auto-discovery, the TP1 transmission and reception relationship is inconsistent, and TP1 sends the message to it. TP3, but it shows that the TP2 message is received, so a misline alarm will occur. In this example, the alarm is only a transient.
  • the second device sends the remote information by using the overhead of the data link of the TP3;
  • the first device receives the remote information from the data link, and reports the remote information and the local layer access point information to the controller.
  • the report information includes the node ID of the first device, the board address of the TP1, the port information of the TP1, the node ID of the second device, the board address of the TP3, and the port address of the TP3.
  • the controller receives the reported information and saves the association relationship between TP1 and TP3 to find out whether there is a layer adjacency relationship TP1 ⁇ ->TP3. If the layer adjacency relationship TP1 ⁇ -> TP3 exists, it is the discovered layer adjacency. If the layer adjacency does not change, no processing is required. In this example, TP1 ⁇ ->TP3 does not exist, so subsequent processing is required. Finds the association between TP3->TP1 based on the reported remote information. The above relationship has been saved for TP1->TP3, so TP1 ⁇ ->TP3 is a layer adjacency relationship. Data can be transferred to each other.
  • the detection of a faulty line fault includes:
  • the first device After the controller side completes the layer adjacency automatic discovery between TP1 ⁇ ->TP2, the first device sends the remote information through the overhead of the data link of the TP1;
  • the second device receives the remote information from the data link, and reports the remote information and the local layer access point information to the controller.
  • the report information includes the node ID of the second device, the board address of the TP2, the port information of the TP2, the node ID of the first device, the board address of the TP1, and the port address of the TP1.
  • the controller receives the reported information and saves the association relationship between TP2->TP1 to find out whether there is a layer adjacency relationship TP1 ⁇ ->TP2. If there is a layer adjacency TP1 ⁇ -> TP2, it is the discovered layer adjacency. If the layer adjacency does not change, no processing is required. In this example, the layer adjacency TP1 ⁇ ->TP2 already exists and no processing is required.
  • the second device sends the remote information through the overhead of the data link of the TP3.
  • the first device receives the remote information from the data link, and reports the remote information and the local layer access point information to the controller.
  • the report information includes the node ID of the first device, the board address of the TP1, the port information of the TP1, the node ID of the second device, the board address of the TP3, and the port address of the TP3.
  • the controller receives the reported information and saves the related information of TP1->TP3 to find out whether there is a layer adjacency relationship TP1 ⁇ ->TP3. If there is a layer adjacency relationship TP1 ⁇ -> TP3, it is a discovered layer adjacency. If the layer adjacency does not change, there is no need to deal with it. In this example, there is no layer adjacency TP1 ⁇ ->TP3, so follow-up deal with. Finds the association between TP3->TP1 based on the reported remote information. The association relationship between TP1 and TP2 has been saved. Therefore, the transmission and reception of TP1 are inconsistent, resulting in a faulty line fault.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions.
  • the invention is not limited to any specific form of combination of hardware and software.

Landscapes

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

Abstract

一种层邻接发现的处理方法及装置,包括:接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,根据本地层接入点信息及远端信息进行设备间的层邻接校验;对层邻接校验通过的设备进行设备间的层邻接发现,并保存设备间的层邻接关系。本发明实施例简化了软件定义光网络中层邻接发现。

Description

一种层邻接发现的处理方法及装置 技术领域
本文涉及但不限于通信技术领域,尤其涉及一种层邻接发现的处理方法及装置。
背景技术
光传送网(Optical Transport Network,OTN)是继准同步数字系列(Plesiochronous Digital Hierarchy,PDH)、同步数字系列(Synchronous Digital Hierarchy,SDH)后的新一代数字光传送技术体制。OTN技术包括了光层和电层的完整体系结构,每一层网络都有相应的管理监控机制,光层为波长交换,电层为时隙交换,光层和电层都具有网络生存性机制。
软件定义网络(Software Defined Network,SDN)是一种新型的网络架构,它将网络的控制平面与数据转发平面进行分离,并实现可编程化控制。通常将SDN网络架构抽象定义成三层:第一层是转发面实体,包括实现这种转发功能的软硬件组件;第二层是针对第一层转发实体进行管理和控制的实体;第三层是基于前两层基础网络的应用和服务。软件定义光网络(Software Defined Optical Network,SDON)指的是将SDN的架构应用于OTN网络。在OTN网络中,控制平面以分布式的方式存在,而在SDON网络中控制器以集中的方式管理设备,这种差异导致OTN网络在数据连通性的处理方面的方法在SDON网络中使用较繁琐,无法在SDON网络中适用。
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是相关技术。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供一种层邻接发现的处理方法及装置,能够简化SDON网络中层邻接的处理方法。
本发明实施例提供一种层邻接发现的处理方法,所述处理方法包括:
接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,根据所述本地层接入点信息及远端信息进行设备间的层邻接校验;
对层邻接校验通过的设备进行设备间的层邻接发现,并保存所述设备间的层邻接关系。
可选地,所述根据所述本地层接入点信息及远端信息进行设备间的层邻接校验包括:
接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,保存接收的所述本地层接入点信息对应的第一传送点与所述远端信息对应的第二传送点的关联关系;其中,所述远端信息由所述设备从数据链路中获取;
在保存的关联关系中根据保存的本地层接入点信息查找是否存在所述第一传送点与所述第二传送点的层邻接关系;
若不存在所述第一传送点与所述第二传送点的层邻接关系,则根据所述远端信息在保存的关联关系中查找是否存在第二传送点与第一传送点的关联关系,以进行设备间的层邻接校验。
可选地,所述方法还包括:所述保存所述设备间的层邻接关系之后:
当接收到所述层邻接发现成功的设备上报的层邻接发现失败信息时,根据所述层邻接发现失败信息清除对应的层邻接关系;和/或,
当所述层邻接关系对应的传送点处于工作状态时,进行告警处理。
可选地,所述处理方法还包括:
根据所述本地层接入点信息及远端信息对层邻接发现成功的设备进行层邻接故障检测。
可选地,所述根据所述本地层接入点信息及远端信息对层邻接发现成功的设备进行层邻接故障检测包括:
根据所述本地层接入点信息及远端信息检测所述层邻接发现成功的设备间的收发点是否发生变化;
若所述层邻接发现成功的设备间的收发点发生变化,则判定所述层邻接 发现成功的设备间发生错线故障;
若所述层邻接发现成功的设备间的收发点未发生变化,则判断所述层邻接发现成功的设备间的通信链路是否发生变化,若所述通信链路发生变化,则判定所述层邻接发现成功的设备间发生错连故障。
本发明实施例还提供一种层邻接发现的处理装置,所述处理装置包括:
层邻接校验模块,设置为接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,根据所述本地层接入点信息及远端信息进行设备间的层邻接校验;
保存模块,设置为,对层邻接校验通过的设备进行设备间的层邻接发现,并保存所述设备间的层邻接关系。
可选地,所述层邻接校验模块是设置为,
接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,保存接收的所述本地层接入点信息对应的第一传送点与所述远端信息对应的第二传送点的关联关系;其中,所述远端信息由所述设备从数据链路中获取;
在保存的关联关系中根据保存的本地层接入点信息查找是否存在所述第一传送点与所述第二传送点的层邻接关系;
若不存在所述第一传送点与所述第二传送点的层邻接关系,则根据所述远端信息在保存的关联关系中查找是否存在第二传送点与第一传送点的关联关系,以进行设备间的层邻接校验。
可选地,所述处理装置还包括:
清除模块,设置为当接收到所述层邻接发现成功的设备上报的层邻接发现失败信息时,根据所述层邻接发现失败信息清除对应的所述层邻接关系;
告警模块,设置为当接收到所述层邻接发现成功的设备上报的层邻接发现失败信息,且所述层邻接关系对应的传送点处于工作状态时,进行告警处理。
可选地,所述处理装置还包括:
故障检测模块,设置为根据所述本地层接入点信息及远端信息对层邻接 发现成功的设备进行层邻接故障检测。
可选地,所述故障检测模块是设置为,
根据所述本地层接入点信息及远端信息检测所述层邻接发现成功的设备间的收发点是否发生变化;若所述层邻接发现成功的设备间的收发点发生变化,则判定所述层邻接发现成功的设备间发生错线故障;若所述层邻接发现成功的设备间的收发点未发生变化,则判断所述层邻接发现成功的设备间的通信链路是否发生变化,若所述通信链路发生变化,则判定所述层邻接发现成功的设备间发生错连故障。
与相关技术相比,本发明实施例提供的技术方案,包括:接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,根据本地层接入点信息及远端信息进行设备间的层邻接校验;对层邻接校验通过的设备进行设备间的层邻接发现,并保存设备间的层邻接关系。本发明实施例简化了软件定义光网络中层邻接发现。
本发明实施例在软件定义光网络中由控制器负责集中管理设备上报的本地层接入点信息,在设备从数据链路中接收到其他设备的远端信息时,根据该本地层接入点信息及远端信息进行层邻接校验,以进行层邻接自动发现,本实施例适用于软件定义光网络中层邻接自动发现,且层邻接自动发现操作简单快捷。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明层邻接发现的处理方法第一实施例的流程示意图;
图2为图1中步骤101的细化流程示意图;
图3为图2中进行设备间的层邻接校验的示意图;
图4为本发明层邻接发现的处理方法第二实施例的流程示意图;
图5为本发明层邻接发现的处理方法第三实施例的流程示意图;
图6为图5中错连故障检测的流程图;
图7为图6中错连故障检测的示意图;
图8为图5中错线故障检测的流程图;
图9为图8中错线故障检测的示意图;
图10为本发明层邻接发现的处理装置第一实施例的功能模块示意图;
图11为本发明层邻接发现的处理装置第二实施例的功能模块示意图;
图12为本发明层邻接发现的处理装置第三实施例的功能模块示意图。
本发明的实施方式
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
本发明提供一种层邻接发现的处理方法,参照图1,在一实施例中,该层邻接发现的处理方法包括:
步骤101,接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,根据本地层接入点信息及远端信息进行设备间的层邻接校验;
本实施例中,软件定义光网络中可以由一个控制器管理所有的管理范围内的设备。其中,层的概念可以参考G.709中的定义,设备中的层接入点可包括ODU(Optical Channel Data Unit,光信道数据单元)层、光通路传输单元(OTU,Optical Channel Transport Unit)层、OCH(Optical Channel with reduce functionality,光通路)层、OMS(Optica Multiplex Sectionl,光复用段)层和OTS(Optical Transmission Section光传送段)层,层接入点作为一个传送点(Transmit Port)简称为TP。层邻接的发现目的在于发现可以进行数据传送的设备的两个相邻的层接入点。
本实施例中,可以由控制器接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,其中,本地层接入点信息为上报该信息的第一设备(第一设备只是为了区分其他设备而设置的名称)自身的信息,包括但不限于节点身份标识号(ID)、单板地址、端口信息;远端信息为第一设备从数据链路中接收到的信息,即为第二设备(即其他设备)通过数据链路发送的信息,包括该第二设备的节点ID、单板地址、端口地址。
本实施例中,根据本地层接入点信息及远端信息进行设备间的层邻接校 验可以包括:首先由第一设备将其接收到的远端信息及自身的本地层接入点信息上报给控制器,由控制器进行设备间的层邻接校验,先保存第一设备与第二设备之间的关联关系,然后,在保存的关联关系中查找是否存在第一设备与第二设备的层邻接关系,进行设备间的层邻接校验。本实施例中如果不存在第一设备与第二设备的层邻接关系,则继续执行后续的流程。
第二设备从数据链路中接收到远端信息,远端信息为第一设备通过数据链路发送的信息,第二设备向控制器上报接收到的远端信息及自身的本地层接入点信息,由控制器进行设备间的层邻接校验,保存第二设备与第一设备之间的关联关系,然后,在保存的关联关系中查找是否存在第一设备与第二设备的层邻接关系,进行设备间的层邻接校验。
步骤102,对层邻接校验通过的设备进行设备间的层邻接发现,并保存设备间的层邻接关系。
本实施例中假设也不存在第一设备与第二设备的层邻接关系,但是由于之前已经保存了第一设备与第二设备之间的关联关系,并且本次还保存了第二设备与第一设备之间的关联关系,因此,确定第一设备与第二设备是层邻接关系,可以进行数据的相互传输,至此,层邻接校验通过,设备间的层邻接自动发现成功,保存第一设备与第二设备的层邻接关系。
本实施例在软件定义光网络中,可以由控制器负责集中管理设备上报的本地层接入点信息,在设备从数据链路中接收到其他设备的远端信息时,根据该本地层接入点信息及远端信息进行层邻接校验,以进行层邻接自动发现,本实施例适用于软件定义光网络中层邻接自动发现,且层邻接自动发现操作简单快捷。
在一可选的实施例中,如图2所示,在上述图1的实施例的基础上,上述步骤101包括:
步骤1011,接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,保存本地层接入点信息对应的第一传送点与远端信息对应的第二传送点的关联关系,其中,远端信息由其他设备发送给设备;
步骤1012,在保存的关联关系中根据保存的本地层接入点信息查找是否存在第一传送点与第二传送点的层邻接关系;
步骤1013,若不存在第一传送点与第二传送点的层邻接关系,则根据远端信息在保存的关联关系中查找是否存在第二传送点与第一传送点的关联关系,以进行设备间的层邻接校验。
请结合参阅图3,图3中的两个控制器实际上可以是同一个控制器,为了方便描述而将其分成两个,图3描述一次层邻接发现成功的过程:
1、第一设备和第二设备分别向控制器上报本地层接入点信息。上报可以选用但不限于数据包输入(packet_in)消息来进行。本地层接入点信息的内容应该包括但不限于节点ID、单板地址、端口信息;
2、第一设备通过自身的传送点TP1的数据链路的开销发送远端信息。远端信息包含本传送点的基本信息,该基本信息用于收到信息方上报给控制器时,控制器可用于唯一识别出该传送点。远端信息包括网元信息、传送点所在单板和端口信息;本发明实施例,传送点是设备上的一个点,属于设备。
3、第二设备将从TP1数据链路收到的远端信息和本地层接入点信息上报给控制器。上报的信息包括第二设备的节点ID、第二设备的传送点TP2的单板地址、TP2的端口信息、第一设备的节点ID、第一设备的传送点TP1的单板地址、TP1的端口地址,该上报包括将TP2至TP1的关联关系上报给控制器;
4、控制器收到第二设备上报的信息,保存传送点的关联关系TP2至TP1(TP2->TP1)。查找是否存在层邻接关系TP1<->TP2,如果存在层邻接关系TP1<->TP2,则是已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;如果不存在层邻接关系TP1<->TP2,根据上报的远端信息查找是否存在TP1->TP2的关联关系,如果不存在TP1->TP2的关联关系,暂存上报的信息,不做处理;
5、第二设备通过TP2的数据链路的开销发送远端信息,参考上述第2步;
6、第一设备将从TP2的数据链路收到的远端信息和本地层接入点信息上 报给控制器,参考上述第3步;
7、控制器收到第一设备上报的信息,保存传送点的关联关系TP1->TP2。查找是否存在层邻接关系TP1<->TP2,如果存在层邻接关系TP1<->TP2,则是已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;如果不存在层邻接关系TP1<->TP2,根据上报的远端信息查找是否存在TP2->TP1的关联关系。本实例中在第4步中已经保存了关联关系TP2->TP1,因此TP1<->TP2之间是层邻接关系,可以进行数据的互相传输。查找层邻接关系时,检查是否存在其他层邻接关系,其中包含了TP1或者TP2但不同于TP1<->TP2的层邻接关系。本实施例不存在除了TP1<->TP2的层邻接关系外的层邻接关系,因此,层邻接自动发现成功,保存层邻接关系TP1<->TP2。
在一可选的实施例中,如图4所示,在上述图1的实施例的基础上,在上述步骤102之后还包括:
步骤103,当接收到层邻接发现成功的设备上报的层邻接发现失败信息时,根据层邻接发现失败信息清除对应的层邻接关系;
步骤104,当层邻接关系对应的传送点处于工作状态时,进行告警处理。
需要说明的是,步骤104可以在接收到层邻接发现成功的设备上报的层邻接发现失败信息时实施,即接收到层邻接发现成功的设备上报的层邻接发现失败信息时,当层邻接关系对应的传送点处于工作状态时,进行告警处理。
层邻接自动发现失败的场景可以在层邻接自动发现成功前或层邻接自动发现成功后出现,本实施例以层邻接自动发现成功后进行说明。
本实施例中,第一设备定时监测从数据链路接收到的远端信息,如果在指定时间内未收到远端信息时,将层邻接发现失败信息上报给控制器,层邻接发现失败信息包括TP1的节点ID、TP1的单板地址和TP1的端口信息、故障信息为层邻接发现失败。控制器收到层邻接发现失败信息后,如果本地保存了TP1->TP2的关联信息,以及TP1<->TP2的层邻接关系时,需要清除掉相关信息。控制器判断是否对层邻接发现失败信息进行后续处理,如果对应的传送点已经在使用,则需要做告警处理。
在一可选的实施例中,如图5所示,在上述图1的实施例的基础上,层邻接发现的处理方法还包括:
步骤105,根据本地层接入点信息及远端信息对层邻接发现成功的设备进行层邻接故障检测。
可选的,本实施例中,层邻接故障检测用于检测两个传送点之间的连通性。层邻接故障检测包含错线故障检测和错连故障检测。错线故障的产生可以在层邻接发现成功前或者层邻接发现成功后。错连故障的产生一定是在层邻接发现成功之后。
本实施例中,根据本地层接入点信息及远端信息对层邻接发现成功的设备进行层邻接故障检测包括:根据本地层接入点信息及远端信息检测层邻接发现成功的设备间的收发点是否发生变化;若层邻接发现成功的设备间的收发点发生变化,则判定层邻接发现成功的设备间发生错线故障;若层邻接发现成功的设备间的收发点未发生变化,则判断层邻接发现成功的设备间的通信链路是否发生变化,若通信链路发生变化,则判定层邻接发现成功的设备间发生错连故障。
如图6及图7所示,图6及图7描述错连故障的检测流程。本实例基于上述的层邻接发现成功的基础上:
1、控制器侧完成TP1<->TP2之间的层邻接发现后,第一设备通过TP1的数据链路的开销发送远端信息;
2、传送点TP3可在第二设备中,也可不在第二设备中。以传送点TP3在第二设备中为例,传送点TP3从数据链路收到的TP1的远端信息,将远端信息和本地层接入点信息上报给控制器。上报信息包括第二设备的节点ID、TP3的单板地址、TP3的端口信息、第一设备的节点ID、TP1的单板地址、TP1的端口地址。
3、控制器收到上报的信息,保存TP3->TP1的关联关系。查找是否存在层邻接关系TP1<->TP3,如果存在层邻接关系TP1<->TP3,则已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;假设本实例中只存在 TP1<->TP2,不存在TP1<->TP3,所以要进行后续处理。根据上报的远端信息查找是否存在TP1->TP3的关联关系。因为在层邻接自动发现时已经保存了TP1->TP2的关系,所以此时TP1的收发关系不一致,TP1将消息发送到了TP3,却显示收到了TP2的消息,因此会出现错线告警,在本实例中此告警只是一个暂态。
4、第二设备通过TP3的数据链路的开销发送远端信息;
5、第一设备从数据链路收到远端信息,将远端信息和本地层接入点信息上报给控制器。上报信息包括第一设备的节点ID、TP1的单板地址、TP1的端口信息、第二设备的节点ID、TP3的单板地址、TP3的端口地址。
6、控制器收到上报的信息,保存TP1->TP3的关联关系,查找是否存在层邻接关系TP1<->TP3。如果存在层邻接关系TP1<->TP3,则是已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;本实例中不存在TP1<->TP3,所以要进行后续处理。根据上报的远端信息查找是否存在TP3->TP1的关联关系。上述已经保存了TP1->TP3的关联关系,因此TP1<->TP3之间是层邻接关系。可以进行数据的互相传输。查找层邻接关系,检查是否存在其他层邻接关系,其中包含了TP1或者TP3但不同于TP1<->TP3的层邻接关系。因为在实例1中保存了TP1<->TP2,所以此时产生错连故障。
如图8及图9所示,图8及图9描述错线故障的检测流程。本实例基于上述的层邻接发现成功的基础上:
1、控制器侧完成TP1<->TP2之间的层邻接发现后,第一设备通过TP1的数据链路的开销发送远端信息;
2、第二设备从数据链路收到远端信息,将远端信息和本地层接入点信息上报给控制器。上报信息包括第二设备的节点ID、TP2的单板地址、TP2的端口信息、第一设备的节点ID、TP1的单板地址、TP1的端口地址。
3、控制器收到上报的信息,保存TP2->TP1的关联关系,查找是否存在层邻接关系TP1<->TP2。如果存在层邻接关系TP1<->TP2,则已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;本实例中层邻接关系 TP1<->TP2已经存在,无需处理。
4、第二设备通过TP3的数据链路的开销发送远端信息。
5、第一设备从数据链路收到远端信息,将远端信息和本地层接入点信息上报给控制器。上报信息包括第一设备的节点ID、TP1的单板地址、TP1的端口信息、第二设备的节点ID、TP3的单板地址、TP3的端口地址。
6、控制器收到上报的信息,保存TP1->TP3的相关信息,查找是否存在层邻接关系TP1<->TP3。如果存在层邻接关系TP1<->TP3,则已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;本实例中不存在层邻接关系TP1<->TP3,所以要进行后续处理。根据上报的远端信息查找是否存在TP3->TP1的关联关系。上述已经保存了TP1->TP2的关联关系,因此TP1的收发不一致,产生错线故障。
本发明实施例还提供一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行上述的处理方法。
本发明实施例还提供一种层邻接发现的处理装置,如图10所示,在一实施例中,层邻接发现的处理装置可以包括:
层邻接校验模块101,设置为接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,根据所述本地层接入点信息及远端信息进行设备间的层邻接校验;
本实施例中,软件定义光网络中可以由一个控制器管理所有的管理范围内的设备,处理装置可以设置在控制器中,也可以与控制器通信连接。其中,层的概念可以参考G.709中的定义,设备中的层接入点可包括LO ODUK层、HO ODUK层、OTU层、OCH层、OMS层和OTS层,层接入点作为一个传送点(Transmit Port)简称为TP。层邻接的发现目的在于发现可以进行数据传送的设备的两个相邻的层接入点。
本实施例中,可以由控制器接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,其中,本地层接入点信息为上报信息的第一设备自身的信息,包括但不限于节点ID、单板地址、端口信息;远端信息为第一设备从数据链路中接收到的信息,即为第二设备(即其他设备)通过数据链路发送的信息,包括该第二设备的节点ID、单板地址、端口地址。
本实施例中,根据本地层接入点信息及远端信息进行设备间的层邻接校验可以包括:首先由第一设备将其接收到的远端信息及自身的本地层接入点信息上报给控制器,由控制器进行设备间的层邻接校验,先保存第一设备与第二设备之间的关联关系,然后,在保存的关联关系中根据保存的本地层接入点信息查找是否存在第一设备与第二设备的层邻接关系,进行设备间的层邻接校验。本实施例中如果不存在第一设备与第二设备的层邻接关系,则继续执行后续的流程。
第二设备从数据链路中接收到远端信息,远端信息为第一设备通过数据链路发送的信息,第二设备向控制器上报接收到的远端信息及自身的本地层接入点信息,由控制器进行设备间的层邻接校验,保存第二设备与第一设备之间的关联关系,然后,在保存的关联关系中查找是否存在第一设备与第二设备的层邻接关系,进行设备间的层邻接校验。
保存模块102,设置为对层邻接校验通过的设备进行设备间的层邻接发现,并保存所述设备间的层邻接关系。
本实施例中假设也不存在第一设备与第二设备的层邻接关系,但是由于之前已经保存了第一设备与第二设备之间的关联关系,并且本次还保存了第二设备与第一设备之间的关联关系,因此,确定第一设备与第二设备是层邻接关系,可以进行数据的相互传输,至此,层邻接校验通过,设备间的层邻接自动发现成功,保存第一设备与第二设备的层邻接关系。
本实施例在软件定义光网络中,可以由控制器负责集中管理设备上报的本地层接入点信息,在设备从数据链路中接收到其他设备的远端信息时,根据该本地层接入点信息及远端信息进行层邻接校验,以进行层邻接自动发现,本实施例适用于软件定义光网络中层邻接自动发现,且层邻接自动发现操作简单快捷。
在一可选的实施例中,在上述图10的实施例的基础上,层邻接校验模块101是设置为,
接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,保存接收的本地层接入点信息对应的第一传送点与所述远端信息对应的第二传送点的关联关系;其中,远端信息由设备从数据链路中获取;在保存的关联关系中查找是否存在第一传送点与所述第二传送点的层邻接关系;若不存在第一传送点与所述第二传送点的层邻接关系,则根据远端信息在保存的关联关系中查找是否存在第二传送点与第一传送点的关联关系,以进行设备间的层邻接校验。
请参阅上述图3所描述的一次层邻接发现成功的过程:
第一设备和第二设备分别向控制器上报本地层接入点信息。上报可以选用但不限于packet_in消息来进行。本地层接入点信息的内容应该包括但不限于节点ID、单板地址、端口信息;
第一设备通过自身的传送点TP1的数据链路的开销发送远端信息。远端信息包含本传送点的基本信息,该基本信息用于收到信息方上报给控制器时,控制器可用于唯一识别出该传送点。远端信息包括网元信息、传送点所在单板和端口信息;
第二设备将从TP1数据链路收到的远端信息和本地层接入点信息上报给控制器。上报信息包括第二设备的节点ID、第二设备的传送点TP2的单板地址、TP2的端口信息、第一设备的节点ID、第一设备的传送点TP1的单板地址、TP1的端口地址,该上报即将TP2至TP1的关联关系上报给控制器;
控制器收到第二设备上报的信息,保存传送点的关联关系TP2->TP1。查找是否存在层邻接关系TP1<->TP2,如果存在层邻接关系TP1<->TP2,则是已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;如果不存在层邻接关系TP1<->TP2,根据上报的远端信息查找是否存在TP1->TP2的关联关系,如果不存在TP1->TP2的关联关系,暂存上报的信息,不做处理;
第二设备通过TP2的数据链路的开销发送远端信息;
第一设备将从TP2的数据链路收到的远端信息和本地层接入点信息上报给控制器;
控制器收到第一设备上报的信息,保存传送点的关联关系TP1->TP2。查找是否存在层邻接关系TP1<->TP2,如果存在层邻接关系TP1<->TP2,则是已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;如果不存在层邻接关系TP1<->TP2,根据上报的远端信息查找是否存在TP2->TP1的关联关系。本实例中在第4步中已经保存了关联关系TP2->TP1,因此TP1<->TP2之间是层邻接关系,可以进行数据的互相传输。查找层邻接关系时,检查是否存在其他层邻接关系,其中包含了TP1或者TP2但不同于TP1<->TP2的层邻接关系。本实施例不存在除了TP1<->TP2的层邻接关系外的层邻接关系,因此,层邻接自动发现成功,保存层邻接关系TP1<->TP2。
在一可选的实施例中,如图11所示,在上述图10的实施例的基础上,层邻接发现的处理装置还包括:
清除模块103,设置为当接收到层邻接发现成功的设备上报的层邻接发现失败信息时,根据层邻接发现失败信息清除对应的所述层邻接关系;
告警模块104,设置为当接收到所述层邻接发现成功的设备上报的层邻接发现失败信息,且层邻接关系对应的传送点处于工作状态时,进行告警处理。
层邻接自动发现失败的场景可以在层邻接自动发现成功前或层邻接自动发现成功后出现,本实施例以层邻接自动发现成功后进行说明。
本实施例中,第一设备定时监测从数据链路接收到的远端信息,如果在指定时间内未收到远端信息时,将层邻接发现失败信息上报给控制器,层邻接发现失败信息包括TP1的节点ID、TP1的单板地址和TP1的端口信息、故障信息为层邻接发现失败。控制器收到层邻接发现失败信息后,如果本地保存了TP1->TP2的关联信息,以及TP1<->TP2的层邻接关系时,需要清除掉相关信息。控制器判断是否对层邻接发现失败信息进行后续处理,如果对应的传送点已经在使用,则需要做告警处理。
在一可选的实施例中,如图12所示,在上述图10的实施例的基础上,层邻接发现的处理装置还包括:
故障检测模块105,设置为根据本地层接入点信息及远端信息对层邻接发现成功的设备进行层邻接故障检测。
可选的,本实施例中,层邻接故障检测用于检测两个传送点之间的连通性。层邻接故障检测包含错线故障检测和错连故障检测。错线故障的产生可以在层邻接自动发现成功前或者层邻接自动发现成功后。错连故障的产生一定是在层邻接自动发现成功之后。
本实施例中,故障检测模块105是设置为,
根据本地层接入点信息及远端信息检测层邻接发现成功的设备间的收发点是否发生变化;若层邻接发现成功的设备间的收发点发生变化,则判定层邻接发现成功的设备间发生错线故障;若层邻接发现成功的设备间的收发点未发生变化,则判断层邻接发现成功的设备间的通信链路是否发生变化,若通信链路发生变化,则判定层邻接发现成功的设备间发生错连故障。
参阅上述的图6及图7,错连故障的检测包括:
控制器侧完成TP1<->TP2之间的层邻接发现后,第一设备通过TP1的数据链路的开销发送远端信息;
传送点TP3可在第二设备中,也可不在第二设备中。以传送点TP3在第二设备中为例,传送点TP3从数据链路收到的TP1的远端信息,将远端信息和本地层接入点信息上报给控制器。上报信息包括第二设备的节点ID、TP3的单板地址、TP3的端口信息、第一设备的节点ID、TP1的单板地址、TP1的端口地址。
控制器收到上报的信息,保存TP3->TP1的关联关系。查找是否存在层邻接关系TP1<->TP3,如果存在层邻接关系TP1<->TP3,则已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;假设本实例中只存在TP1<->TP2,不存在TP1<->TP3,所以要进行后续处理。根据上报的远端信息查找是否存在TP1->TP3的关联关系。因为在层邻接自动发现时已经保存了TP1->TP2的关系,所以此时TP1的收发关系不一致,TP1将消息发送到了 TP3,却显示收到了TP2的消息,因此会出现错线告警,在本实例中此告警只是一个暂态。
第二设备通过TP3的数据链路的开销发送远端信息;
第一设备从数据链路收到远端信息,将远端信息和本地层接入点信息上报给控制器。上报信息包括第一设备的节点ID、TP1的单板地址、TP1的端口信息、第二设备的节点ID、TP3的单板地址、TP3的端口地址。
控制器收到上报的信息,保存TP1->TP3的关联关系,查找是否存在层邻接关系TP1<->TP3。如果存在层邻接关系TP1<->TP3,则是已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;本实例中不存在TP1<->TP3,所以要进行后续处理。根据上报的远端信息查找是否存在TP3->TP1的关联关系。上述已经保存了TP1->TP3的关联关系,因此TP1<->TP3之间是层邻接关系。可以进行数据的互相传输。查找层邻接关系,检查是否存在其他层邻接关系,其中包含了TP1或者TP3但不同于TP1<->TP3的层邻接关系。因为在实例1中保存了TP1<->TP2,所以此时产生错连故障。
参阅上述的图8及图9,错线故障的检测包括:
控制器侧完成TP1<->TP2之间的层邻接自动发现后,第一设备通过TP1的数据链路的开销发送远端信息;
第二设备从数据链路收到远端信息,将远端信息和本地层接入点信息上报给控制器。上报信息包括第二设备的节点ID、TP2的单板地址、TP2的端口信息、第一设备的节点ID、TP1的单板地址、TP1的端口地址。
控制器收到上报的信息,保存TP2->TP1的关联关系,查找是否存在层邻接关系TP1<->TP2。如果存在层邻接关系TP1<->TP2,则是已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;本实例中层邻接关系TP1<->TP2已经存在,无需处理。
第二设备通过TP3的数据链路的开销发送远端信息。
第一设备从数据链路收到远端信息,将远端信息和本地层接入点信息上报给控制器。上报信息包括第一设备的节点ID、TP1的单板地址、TP1的端口信息、第二设备的节点ID、TP3的单板地址、TP3的端口地址。
控制器收到上报的信息,保存TP1->TP3的相关信息,查找是否存在层邻接关系TP1<->TP3。如果存在层邻接关系TP1<->TP3,则是已经发现的层邻接关系,该层邻接关系没有发生变化时,无需处理;本实例中不存在层邻接关系TP1<->TP3,所以要进行后续处理。根据上报的远端信息查找是否存在TP3->TP1的关联关系。上述已经保存了TP1->TP2的关联关系,因此TP1的收发不一致,产生错线故障。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请,如本发明实施方式中的具体的实现方法。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。
工业实用性
上述技术方案简化了软件定义光网络中层邻接发现。

Claims (10)

  1. 一种层邻接发现的处理方法,所述处理方法包括:
    接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,根据所述本地层接入点信息及远端信息进行设备间的层邻接校验;
    对层邻接校验通过的设备进行设备间的层邻接发现,并保存所述设备间的层邻接关系。
  2. 如权利要求1所述的处理方法,其中,所述根据所述本地层接入点信息及远端信息进行设备间的层邻接校验包括:
    接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,保存接收的所述本地层接入点信息对应的第一传送点与所述远端信息对应的第二传送点的关联关系;其中,所述远端信息由所述设备从数据链路中获取;
    在保存的关联关系中根据保存的本地层接入点信息查找是否存在所述第一传送点与所述第二传送点的层邻接关系;
    若不存在所述第一传送点与所述第二传送点的层邻接关系,则根据所述远端信息在保存的关联关系中查找是否存在第二传送点与第一传送点的关联关系,以进行设备间的层邻接校验。
  3. 如权利要求1或2所述的处理方法,所述方法还包括:所述保存所述设备间的层邻接关系之后:
    当接收到所述层邻接发现成功的设备上报的层邻接发现失败信息时,根据所述层邻接发现失败信息清除对应的所述层邻接关系;和/或,
    当所述层邻接关系对应的传送点处于工作状态时,进行告警处理。
  4. 如权利要求1或2所述的处理方法,所述处理方法还包括:
    根据所述本地层接入点信息及远端信息对所述层邻接发现成功的设备进行层邻接故障检测。
  5. 如权利要求4所述的处理方法,其中,所述根据所述本地层接入点信息及远端信息对层邻接发现成功的设备进行层邻接故障检测包括:
    根据所述本地层接入点信息及远端信息检测所述层邻接发现成功的设备 间的收发点是否发生变化;
    若所述层邻接发现成功的设备间的收发点发生变化,则判定所述层邻接发现成功的设备间发生错线故障;
    若所述层邻接发现成功的设备间的收发点未发生变化,则判断所述层邻接发现成功的设备间的通信链路是否发生变化,若所述通信链路发生变化,则判定所述层邻接发现成功的设备间发生错连故障。
  6. 一种层邻接发现的处理装置,所述处理装置包括:
    层邻接校验模块,设置为接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,根据所述本地层接入点信息及远端信息进行设备间的层邻接校验;
    保存模块,设置为对层邻接校验通过的设备进行设备间的层邻接发现,并保存所述设备间的层邻接关系。
  7. 如权利要求6所述的处理装置,其中,所述层邻接校验模块是设置为,
    接收软件定义光网络中的设备上报的本地层接入点信息及远端信息,保存接收的所述本地层接入点信息对应的第一传送点与所述远端信息对应的第二传送点的关联关系;其中,所述远端信息由所述设备从数据链路中获取;
    在保存的关联关系中根据保存的本地层接入点信息查找是否存在所述第一传送点与所述第二传送点的层邻接关系;
    若不存在所述第一传送点与所述第二传送点的层邻接关系,则根据所述远端信息在保存的关联关系中查找是否存在第二传送点与第一传送点的关联关系,以进行设备间的层邻接校验。
  8. 如权利要求6或7所述的处理装置,所述处理装置还包括:
    清除模块,设置为当接收到所述层邻接发现成功的设备上报的层邻接发现失败信息时,根据所述层邻接发现失败信息清除对应的所述层邻接关系;
    告警模块,设置为当接收到所述层邻接发现成功的设备上报的层邻接发现失败信息,且所述层邻接关系对应的传送点处于工作状态时,进行告警处理。
  9. 如权利要求6或7所述的处理装置,所述处理装置还包括:
    故障检测模块,设置为根据所述本地层接入点信息及远端信息对层邻接发现成功的设备进行层邻接故障检测。
  10. 如权利要求9所述的处理装置,其中,所述故障检测模块是设置为,
    根据所述本地层接入点信息及远端信息检测所述层邻接发现成功的设备间的收发点是否发生变化;若所述层邻接发现成功的设备间的收发点发生变化,则判定所述层邻接发现成功的设备间发生错线故障;若所述层邻接发现成功的设备间的收发点未发生变化,则判断所述层邻接发现成功的设备间的通信链路是否发生变化,若所述通信链路发生变化,则判定所述层邻接发现成功的设备间发生错连故障。
PCT/CN2016/091641 2015-07-30 2016-07-25 一种层邻接发现的处理方法及装置 WO2017016464A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510460218.XA CN106411549A (zh) 2015-07-30 2015-07-30 层邻接自动发现的处理方法及装置
CN201510460218.X 2015-07-30

Publications (1)

Publication Number Publication Date
WO2017016464A1 true WO2017016464A1 (zh) 2017-02-02

Family

ID=57884040

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/091641 WO2017016464A1 (zh) 2015-07-30 2016-07-25 一种层邻接发现的处理方法及装置

Country Status (2)

Country Link
CN (1) CN106411549A (zh)
WO (1) WO2017016464A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412826A (zh) * 2017-08-18 2019-03-01 中兴通讯股份有限公司 Sdon架构模型优化方法、装置、系统及计算机可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158747A (zh) * 2013-05-14 2014-11-19 中兴通讯股份有限公司 网络拓扑发现方法和系统
CN104283722A (zh) * 2014-10-29 2015-01-14 杭州华三通信技术有限公司 Sdn链路状态信息收集方法及装置
US8989199B1 (en) * 2014-02-24 2015-03-24 Level 3 Communications, Llc Control device discovery in networks having separate control and forwarding devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158747A (zh) * 2013-05-14 2014-11-19 中兴通讯股份有限公司 网络拓扑发现方法和系统
US8989199B1 (en) * 2014-02-24 2015-03-24 Level 3 Communications, Llc Control device discovery in networks having separate control and forwarding devices
CN104283722A (zh) * 2014-10-29 2015-01-14 杭州华三通信技术有限公司 Sdn链路状态信息收集方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412826A (zh) * 2017-08-18 2019-03-01 中兴通讯股份有限公司 Sdon架构模型优化方法、装置、系统及计算机可读存储介质

Also Published As

Publication number Publication date
CN106411549A (zh) 2017-02-15

Similar Documents

Publication Publication Date Title
US8014300B2 (en) Resource state monitoring method, device and communication network
US9237092B2 (en) Method, apparatus, and system for updating ring network topology information
US8824461B2 (en) Method and apparatus for providing a control plane across multiple optical network domains
US9680564B2 (en) Protection in metro optical networks
CN110912815B (zh) 一种网元防成环方法、装置、设备及可读存储介质
US7564780B2 (en) Time constrained failure recovery in communication networks
US9197441B2 (en) Method and system for service protection
US10033573B2 (en) Protection switching method, network, and system
US10122586B2 (en) Physical adjacency detection systems and methods
WO2022217786A1 (zh) 多总线网络跨网通信方法、装置、系统、设备和存储介质
CN112911420A (zh) 基于FlexE网络的重路由方法、电子设备和可读存储介质
JP6383232B2 (ja) 中継システムおよびスイッチ装置
WO2012083757A1 (zh) 光模块的速率协商方法及装置
US11664890B2 (en) Service processing method, control device, and storage medium
WO2017016464A1 (zh) 一种层邻接发现的处理方法及装置
KR101614301B1 (ko) Wson 시스템 중 노드 리소스 상태의 자동 복구 방법 및 장치
US11800262B2 (en) Service path switching method and related device
CN1983908B (zh) 一种标签资源管理的自纠错方法
US9608719B2 (en) Optical network connection termination on client facility failure
CN104219126A (zh) 一种有虚拟通道方式下子环协议vlan的自动学习方法和设备
CN101325456B (zh) 一种光网络中处理te链路降级的方法
US11490178B2 (en) Method for establishing service path, network device, and system
US10177840B2 (en) Communication apparatus, method of communication and communication system
CN102300132A (zh) 一种同步自动发现的配置的方法

Legal Events

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

Ref document number: 16829829

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16829829

Country of ref document: EP

Kind code of ref document: A1