Network topology discovery method, device and medium

By receiving and analyzing the topological information and operation management and maintenance information reported by the network element equipment, using in-band overhead to realize the topological relationship determination between network element equipment in the optical transmission network, solving the problem of high topological discovery cost in the optical transmission network. Achieved low-cost network topology discovery.

CN119232592AActive Publication Date: 2024-12-31ZTE CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202310800926.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31
Estimated Expiration
2043-06-30

AI Technical Summary

Technical Problem

In optical transmission networks, the prior art requires the configuration of additional equipment to transmit topological information through out-of-band overhead, which increases management costs and complexity, making it difficult to achieve network topological discovery at low cost.

Method used

By receiving topology information and operation management and maintenance information reported by network element devices, the topology relationship between network element devices is determined, and the in-band overhead is used to realize network topology discovery between network element devices in optical transmission networks, reducing costs.

Benefits of technology

The low-cost network topology discovery between network element devices in the optical transmission network is realized, which avoids the management complexity and cost of additional device configurations and improves the efficiency of topology relationship determination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232592A_ABST
    Figure CN119232592A_ABST
Patent Text Reader

Abstract

Provided are a network topology discovery method, device and medium, in the network topology discovery method, a management and control device receiving first topology information of a first port reported by a first network element device, second topology information of a second port uploaded by a second network element device, and second OAM information, the first topological information at least comprises network element address information of the first network element equipment and port information of the first port, the second topological information at least comprises network element address information of the second network element equipment and port information of the second port, and the second OAM information is carried in an optical signal received by the second port of the second network element equipment; and then the management and control equipment determines a topological relation between the first port of the first network element equipment and the second port of the second network element equipment according to the first topological information, the second topological information and the second OAM information, so that network topology discovery between the network element equipment in the optical transport network is realized at low cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a network topology discovery method, device and medium. Background Art

[0002] In the transport network field, using topology to discover link resources is the basis for completing path calculation and service establishment. Usually, in-band or out-of-band overhead is used to send and receive topology information. The transport network needs to have complete overhead regeneration and termination capabilities to achieve topology discovery.

[0003] The optical transport network (OTN) electrical layer has complete overhead processing capabilities and can complete topology discovery using in-band overhead. However, in the OTN optical layer, in-band overhead such as optical label technology based on optical channel (OCh) can only realize topology discovery at the OCh layer. If out-of-band overhead is used to transmit topology information in the OTN optical layer, additional equipment needs to be configured, increasing management costs. Summary of the invention

[0004] The embodiments of the present application provide a network topology discovery, an electronic device, and a computer-readable storage medium, which can realize network topology discovery at a low cost.

[0005] In a first aspect, an embodiment of the present application provides a network topology discovery method, which is applied to a management and control device, and the method includes:

[0006] Receiving first topology information of a first port reported by a first network element device, wherein the first topology information at least includes network element address information of the first network element device and port information of the first port;

[0007] Receiving second topology information of a second port and second operation administration and maintenance (OAM) information reported by a second network element device, wherein the second topology information at least includes network element address information of the second network element device and port information of the second port, and the second OAM information is carried in an optical signal received by the second port of the second network element device;

[0008] A topological relationship between the first port of the first network element device and the second port of the second network element device is determined according to the first topology information, the second topology information, and the second OAM information.

[0009] In a second aspect, an embodiment of the present application provides a network topology discovery method, which is applied to a first network element device, where the first network element device includes a first port, and the method includes:

[0010] Sending first topology information to the management and control device, wherein the first topology information at least includes network element address information of the first network element device and port information of the first port;

[0011] An optical signal carrying second OAM information is sent to the second port of the second network element device through the first port, so that the second network element device sends the second OAM information and second topology information corresponding to the second port to the control device, and the second topology information at least includes the network element address information of the second network element device and the port information of the second port.

[0012] In a third aspect, an embodiment of the present application provides a network topology discovery method, which is applied to a second network element device, where the second network element device includes a second port, and the method includes:

[0013] receiving, through the second port, an optical signal sent by the first port of the first network element device, wherein the optical signal includes second OAM information;

[0014] Sending the second OAM information and the second topology information corresponding to the second port to the control device, so that the control device determines the topological relationship between the first port of the first network element device and the second port of the second network element device according to the second OAM information, the second topology information and the first topology information received from the first network element device;

[0015] The first topology information includes at least network element address information of the first network element device and port information of the first port;

[0016] The second topology information at least includes network element address information of the second network element device and port information of the second port.

[0017] In a fourth aspect, an embodiment of the present application provides an electronic device, including:

[0018] one or more processors;

[0019] A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the network topology discovery method as described in any one of the first aspect, the second aspect or the third aspect.

[0020] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the network topology discovery method as described in any one of the first aspect, the second aspect or the third aspect is implemented.

[0021] The embodiment of the present application provides a network topology discovery method, an electronic device, and a computer-readable storage medium. In the network topology discovery method, a control device receives first topology information of a first port reported by a first network element device and second topology information of a second port uploaded by a second network element device, as well as second OAM information, wherein the first topology information at least includes network element address information of the first network element device and port information of the first port, the second topology information at least includes network element address information of the second network element device and port information of the second port, and the second OAM information is carried in an optical signal received by the second port of the second network element device. Then, the control device determines the first network element according to the first topology information, the second topology information, and the second OAM information. A topological relationship between a first port of a device and a second port of a second network element device. In an embodiment of the present application, a control device receives first topology information of the first port reported by the first network element device, second topology information of the second port reported by the second network element device, and second OAM information. Since the second OAM information is carried in the optical signal received by the second port of the second network element device, that is, there is a topological relationship between the second port of the second network element device and a port of a certain network element device, the control device can determine the topological relationship between the first port of the second network element device and the second port of the second network element device based on the first topology information, the second topology information and the second OAM information, thereby realizing network topology discovery between network element devices in the optical transport network at a low cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0023] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;

[0024] Figure 2 It is a flowchart of a network topology discovery method provided by an embodiment of the present application;

[0025] Figure 3 It is a flowchart of a network topology discovery method provided by an embodiment of the present application;

[0026] Figure 4 It is a flowchart of a network topology discovery method provided by an embodiment of the present application;

[0027] Figure 5 It is a flowchart of a network topology discovery method without client optical input provided by an embodiment of the present application;

[0028] Figure 6 It is a flowchart of a network topology discovery method without client optical input provided by an embodiment of the present application;

[0029] Figure 7 It is a flowchart of a network topology discovery method without client optical input provided by an embodiment of the present application;

[0030] Figure 8 It is a flowchart of a network topology discovery method without client optical input provided by an embodiment of the present application;

[0031] Fig. 9 It is a flowchart of a network topology discovery method when there is client optical input provided by an embodiment of the present application;

[0032] Fig.10 It is a flowchart of a network topology discovery method when there is client optical input provided by an embodiment of the present application;

[0033] Fig.11 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the technical solution of the present application, the network topology discovery method, electronic device, and computer-readable storage medium provided by the present application are described in detail below in conjunction with the accompanying drawings.

[0035] The exemplary embodiments will be described more fully below with reference to the accompanying drawings, but the described exemplary embodiments may be embodied in different forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, the purpose of providing these embodiments is to make this application thorough and complete and to enable those skilled in the art to fully understand the scope of this application.

[0036] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0037] The terms used herein are only used to describe specific embodiments and are not intended to limit the present application. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof is not excluded.

[0038] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0039] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present application, and will not be interpreted as having an idealized or excessive formal meaning, unless clearly defined in the present application examples.

[0040] In the transport network field, using topology to discover link resources is the basis for completing path calculation and service establishment. Usually, in-band or out-of-band overhead is used to send and receive topology information. The transport network needs to have complete overhead regeneration and termination capabilities to complete topology discovery.

[0041] The optical transport network (OTN) electrical layer has complete overhead processing capabilities, and topology discovery can be completed using in-band overhead. However, in the OTN optical layer, in-band overhead, such as optical label technology based on Optical Channel (OCh), can only realize topology discovery at the OCh layer. Therefore, out-of-band overhead is usually used in the OTN optical layer to transmit topology information, but out-of-band overhead requires the configuration of additional equipment, which increases the complexity and cost of management.

[0042] Based on this, the embodiments of the present application provide a network topology discovery method, an electronic device, and a computer-readable storage medium, which can realize network topology discovery at a low cost.

[0043] Before introducing the technical solution of the embodiment of the present application, the application scenario of the embodiment of the present application is first exemplified. Figure 1 , Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes a control device and multiple network element devices. The control device is communicatively connected to the multiple network element devices, and there are multiple topological relationships between the multiple network element devices (not shown in the figure).

[0044] See also Figure 2 , Figure 2 1 is a flow chart of a network topology discovery method provided by an embodiment of the present application. The network topology discovery method is applied to control devices, such as Figure 2As shown, the network topology discovery method provided in the embodiment of the present application includes but is not limited to steps S210 to S230, and steps S210 to S230 are described below.

[0045] Step S210: receiving first topology information of a first port reported by a first network element device, wherein the first topology information at least includes network element address information of the first network element device and port information of the first port.

[0046] Step S220, receiving second topology information and second OAM information of the second port reported by the second network element device, wherein the second topology information at least includes the network element address information of the second network element device and the port information of the second port, and the second OAM information is carried in the optical signal received by the second port of the second network element device.

[0047] Step S230: Determine a topological relationship between a first port of a first network element device and a second port of a second network element device according to the first topology information, the second topology information, and the second OAM information.

[0048] It can be understood that the first network element device sends first topology information including at least the network element address information of the first network element device and the port information of the first port to the control device, and the second network element device sends second topology information including at least the network element address information of the second network element device and the port information of the second port and second OAM information to the control device. Since the second OAM information is carried in the optical signal received by the second port of the second network element device, it means that there is a topological relationship between the second port of the second network element device and the port of a certain network element device. Therefore, the control device can determine whether there is a corresponding network topology relationship between the first port of the second network element device and the second port of the second network element device based on the first topology information, the second topology information and the second OAM information, so as to realize network topology discovery between network element devices in the optical transmission network at low cost.

[0049] In some embodiments, the second OAM information includes third topology information, the third topology information indicates topology information corresponding to the second opposite network element device, the second opposite network element device indicates an opposite network element device of the second network element device, the third topology information includes at least network element address information and port information of the second opposite network element device, and the third topology information is carried in an optical signal sent by the second opposite network element device to the second port of the second network element device;

[0050] Determining a topological relationship between a first port of a first network element device and a second port of a second network element device according to the first topology information, the second topology information, and the second OAM information includes:

[0051] When the first topology information and the third topology information are consistent, a unidirectional or bidirectional topology relationship between a first port of the first network element device and a second port of the second network element device is established according to the first topology information and the second topology information; or,

[0052] When the first topology information and the third topology information are inconsistent, it is determined that no topology exists between the first port of the first network element device and the second port of the second network element device.

[0053] It can be understood that after the second network element device receives the optical signal carrying the second OAM information sent by the second opposite network element device at the second port, the second network element device reports the second OAM information to the control device, wherein the second OAM information includes the third topology information, and the third topology information at least includes the network element address information and port information of the opposite network element device of the second network element device. After the control device receives the first topology information sent by the first network element device and the second topology information sent by the second network element device, and the second OAM information including the third topology information, the control device determines whether there is a topology between the first port of the first network element device and the second port of the second network element device based on the first topology information, the second topology information and the second OAM information.

[0054] It should be understood that the control device determines the topological relationship between the first port of the first network element device and the second port of the second network element device according to the first topology information, the second topology information and the second OAM information. Since the first topology information includes the network element address information of the first network element device and the port information of the first port, the third topology information includes the network element address information and the port information of the second opposite network element device, and the second opposite network element device sends an optical signal carrying the third topology information to the second port of the second network element device, then when the first topology information and the third topology information are consistent, it indicates that the opposite network element device of the second network element device is the first network element device, and the first network element device sends an optical signal to the second port of the second network element device through the first port, that is, there is a topological relationship between the first port of the first network element device and the second port of the second network element device. The control device can establish a unidirectional or bidirectional topological relationship between the first port of the first network element device and the second port of the second network element device according to the first topology information and the second topology information, that is, establish a topological relationship between the first port of the first network element device and the second port of the second network element device according to the network element address information of the first network element device and the port information of the first port, and the network element address information of the second network element device and the port information of the second port.

[0055] For example, see Figure 5 , Figure 5 The flowchart of the network topology discovery method without client optical input provided by the embodiment of the present application is shown as follows: Figure 5As shown, the network element NE-A sends a signal to the network element NE-B through the optical transport unit (OTU), the optical transceiver unit, the filter coupling unit, and the optical amplifier unit in sequence. The network element NE-A receives the signal sent by the network element NE-B through the optical amplifier unit, the filter coupling unit, the optical transceiver unit, and the OTU unit in sequence. The network element addresses (IP addresses) of the network elements NE-A, NE-B, and NE-C are 10.10.10.1, 10.10.10.2, and 10.10.10.3, respectively. Each optical processing unit is in the 1st subrack of the network element, and uses 1 port as the connection interface of the corresponding optical processing unit. For example, the slot number of the optical amplifier unit in the network element NE-A is 4, and the port address used by the optical amplifier unit in the network element NE-A is 1st subrack, 4th slot, 1st port, and its port information can represent TCP-ID=1-4-0-1.

[0056] like Figure 5 As shown, the network element NE-A, as the first network element device, reports the first topology information to the management and control device. The first topology information includes the network element address information of the network element NE-A and the port information of the optical amplifier unit. The first topology information can be expressed as IPaddress=10.10.10.1; TCP-ID=1-4-0-1. Then, the network element NE-A sends the third topology information to the opposite network element device through the port corresponding to the optical amplifier unit. The third topology information includes the network element address information of the network element NE-A and the port information of the optical amplifier unit. The third topology information can be expressed as IP address=10.10.10.1; TCP-ID=1-4-0-1.

[0057] like Figure 5 As shown, the network element NE-B, as the second network element device, receives the optical signal carrying the third topology information sent by the opposite network element device through the port corresponding to the optical amplifier unit, and then the network element NE-B reports the second topology information and the second OAM information including the third topology information to the control device. The second topology information includes the network element address information of the network element NE-B and the port information of the optical amplifier unit. The second topology information can be expressed as IP address = 10.10.10.2; TCP-ID = 1-1-0-1. The control device determines that the first topology information is consistent with the third topology information, that is, it determines that there is a topological relationship between the port corresponding to the optical amplifier unit in the first network element device NE-A and the port corresponding to the optical amplifier unit in the second network element device NE-B.

[0058] It should be noted that if the first network element device and the second network element device are integrated transceiver network element devices, when the first topology information and the third topology information are consistent, it is determined that there is a bidirectional topological relationship between the first port of the first network element device and the second port of the second network element device; if the first network element device or the second network element device is not an integrated transceiver network element device, then when the first topology information and the third topology information are consistent, it is determined that there is a unidirectional topological relationship between the first port of the first network element device and the second port of the second network element device.

[0059] It should be understood that the management and control device receives the first topology information of the first port reported by the first network element device, and receives the second topology information of the second port reported by the second network element device, and the second OAM information carrying the third topology information, and the third topology information includes the network element address information and port information of the opposite network element device of the second network element device. When the first topology information and the third topology information are consistent, it represents that the opposite network element device of the second network element device is the first network element device. The management and control device can establish a topological relationship between the first port of the first network element device and the second port of the second network element device according to the first topology information and the second topology information, and realize network topology discovery between network element devices in the optical transmission network at a low cost.

[0060] In some embodiments, the network topology discovery method further includes: receiving first OAM information reported by a first network element device, the first OAM information being carried in an optical signal sent by a first port of the first network element device;

[0061] The first OAM information includes first characteristic information, and the second OAM information includes second characteristic information, wherein the first characteristic information indicates the customer optical characteristic information contained in the optical signal sent by the first network element device to the first opposite network element device through the first port, and the second characteristic information indicates the customer optical characteristic information contained in the optical signal received by the second port of the second network element device from the second opposite network element device, the first opposite network element device indicates the opposite network element device of the first network element device, and the second opposite network element device indicates the opposite network element device of the second network element device;

[0062] Determining a topological relationship between a first port of a first network element device and a second port of a second network element device according to the first topology information, the second topology information, and the second OAM information includes:

[0063] When the first characteristic information and the second characteristic information are consistent, a unidirectional or bidirectional topological relationship between a first port of the first network element device and a second port of the second network element device is established according to the first topological information and the second topological information; or,

[0064] When the first characteristic information and the second characteristic information are inconsistent, it is determined that no topology exists between the first port of the first network element device and the second port of the second network element device.

[0065] It can be understood that after the first network element device sends an optical signal carrying the first OAM information at the first port, the first network element device reports the first OAM information to the first network element device, wherein the first OAM information includes the first characteristic information, and the first characteristic information represents the customer optical characteristic information contained in the optical signal sent by the first network element device to the first opposite network element device through the first port, and the second network element device receives the customer optical characteristic information contained in the optical signal sent by the second opposite network element device at the second port. After the control device receives the first topology information and the first OAM information sent by the first network element device and the second topology information and the second OAM information sent by the second network element device, the control device determines whether there is a topology between the first port of the first network element device and the second port of the second network element device based on the first topology information, the first characteristic information, the second topology information and the second characteristic information.

[0066] It should be understood that the control device determines the topological relationship between the first port of the first network element device and the second port of the second network element device according to the first topology information, the first characteristic information, the second topology information and the second characteristic information. Since the first characteristic information represents the customer optical characteristic information contained in the optical signal sent by the first network element device to the first opposite network element device through the first port, and the second characteristic information represents the customer optical characteristic information included in the optical signal received by the second port of the second network element device from the second opposite network element device, when the first characteristic information and the second characteristic information are consistent, it represents that the first network element device and the second network element device are opposite network element devices of each other, and the first port of the first network element device and the second port of the second network element device transmit the same customer service. The control device can establish a unidirectional or bidirectional topological relationship between the first port of the first network element device and the second port of the second network element device according to the first topology information and the second topology information, that is, establish a topological relationship between the first port of the first network element device and the second port of the second network element device according to the network element address information of the first network element device and the port information of the first port, and the network element address information of the second network element device and the port information of the second port.

[0067] For example, see Fig. 9 , Fig. 9 FIG. 1 shows a flow chart of a network topology discovery method when there is client optical input provided by an embodiment of the present application. Fig. 9As shown, the optical transceiver units in slot 1 of the network element device NE-A and the network element device NE-C respectively generate topology information of the OCh layer through the modulation and demodulation units and send them to each other, wherein the network element addresses (IP addresses) of the network elements NE-A, NE-B, and NE-C are 10.10.10.1, 10.10.10.2, and 10.10.10.3 respectively, and each optical processing unit is in sub-rack 1 of the network element, and uses port 1 as the connection interface of the corresponding optical processing unit. For example, the slot number of the filter coupling unit in the network element NE-A is 2, and the port address used by the filter coupling unit in the network element NE-A is port 1 in slot 2 of sub-rack 1, and its port information can represent TCP-ID=1-2-0-1.

[0068] like Fig. 9 As shown, the network element NE-A, as the first network element device, reports the first topology information and the first OAM information containing the first characteristic information to the management and control device. The first topology information contains the network element address information of the network element NE-A and the port information of the filtering coupling unit. The first topology information can be expressed as IP address = 10.10.10.1; TCP-ID = 1-2-0-1. The first characteristic information represents the customer optical characteristic information contained in the optical signal sent by the network element device NE-A to the opposite segment network element device through the port corresponding to the filtering coupling unit, that is, the characteristic information of the OCh layer detected by the filtering coupling unit. The first characteristic information can be expressed as IP address = 10.10.10.1; TCP-ID = 1-1-0-1.

[0069] like Fig. 9 As shown, the network element NE-B, as the second network element device, reports the second topology information and the second OAM information including the second characteristic information to the control device. The second topology information includes the network element address information of the network element NE-B and the port information of the filter coupling unit. The second topology information can be expressed as IP address = 10.10.10.2; TCP-ID = 1-3-0-1. The second characteristic information indicates the customer optical characteristic information contained in the optical signal received by the port corresponding to the filter coupling unit of the network element NE-B from the opposite network element device, that is, the characteristic information of the OCh layer detected by the filter coupling unit. The second characteristic information can be expressed as IP address = 10.10.10.1; TCP-ID = 1-1-0-1. The control device determines that the first characteristic information and the second characteristic information are consistent, that is, it determines that there is a topological relationship between the port corresponding to the filter coupling unit in the first network element device NE-A and the port corresponding to the filter coupling unit in the second network element device NE-B.

[0070] It should be noted that if the first network element device and the second network element device are integrated transceiver network element devices, when the first characteristic information and the second characteristic information are consistent, it is determined that there is a bidirectional topological relationship between the first port of the first network element device and the second port of the second network element device; if the first network element device or the second network element device is not an integrated transceiver network element device, then when the first characteristic information and the second characteristic information are consistent, it is determined that there is a unidirectional topological relationship between the first port of the first network element device and the second port of the second network element device.

[0071] It should be understood that the management and control device receives the first topology information of the first port reported by the first network element device and the first OAM information containing the first characteristic information, and receives the second topology information of the second port reported by the second network element device and the second OAM information containing the second characteristic information. When the first characteristic information and the second characteristic information are consistent, that is, the optical signal sent by the first port of the first network element device and the optical signal received by the second port of the second network element device contain the same customer optical characteristic information, which represents that the optical signal sent by the first port of the first network element device passes through the second port of the second network element device. The management and control device can establish a topological relationship between the first port of the first network element device and the second port of the second network element device according to the first topology information and the second topology information, and realize network topology discovery between network element devices in the optical transmission network at a low cost.

[0072] In some embodiments, the first characteristic information includes an indicator for identifying a client optical signal in an optical signal sent by the first network element device to the first opposite network element device through the first port, and the second characteristic information includes an indicator for identifying a client optical signal in an optical signal received by the second port of the second network element device from the second opposite network element device.

[0073] It can be understood that the characteristic information refers to an indicator that can identify the client layer optical signal in the management domain where the control device is located, and is carried in the OAM information in the client layer signal. Specifically, for the first characteristic information, the first characteristic information includes an indicator for identifying the client optical signal in the optical signal sent by the first network element device to the first opposite network element device through the first port. For the second characteristic information, the second characteristic information includes an indicator for identifying the client optical signal in the optical signal received by the second port of the second network element device from the second opposite network element device.

[0074] It should be noted that the characteristic information includes but is not limited to the topology information of the client layer, the ID of the client layer, etc. For example, see Fig.10 , Fig.10 A schematic diagram of a network topology discovery method provided in an embodiment of the present application is shown. Fig.10 As shown, the optical transceiver units in slot 1 of the network element NE-A and the network element NE-C generate the topology information of the OCh layer through the modem unit and send them to each other, as shown in FIG. Fig.10 As shown, the topology information of the OCh layer can be expressed as IP address = 10.10.10.1; TCP-ID = 1-1-0-1, then the topology information of the OCh layer can be used as the first characteristic information reported by the network element NE-A to the control device, and at the same time as the second characteristic information reported by the network element NE-B to the control device.

[0075] In some embodiments, the first port is a port corresponding to a first optical processing unit in a first network element device, the second port is a port corresponding to a second optical processing unit in a second network element device, and the first optical processing unit and the second optical processing unit are processing units with the same properties.

[0076] It can be understood that the network element device includes multiple optical processing units, each optical processing unit belongs to a different service layer and corresponds to its own port, the first port is the port corresponding to the first optical processing unit in the first network element device, the second port is the port corresponding to the second optical processing unit in the second network element device, and the first optical processing unit and the second optical processing unit are processing units with the same properties. The network topology discovery method provided in the embodiment of the present application is used to realize network topology discovery in different service layers.

[0077] In some embodiments, the first optical processing unit and the second optical processing unit are both optical processing units of the optical channel (OCh) layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical multiplexing segment (OMS) layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical transmission segment (OTS) layer.

[0078] It should be noted that, in the embodiment of the present application, the first optical processing unit and the second optical processing unit may both be optical processing units of the optical channel OCh layer, or both be optical processing units of the optical multiplexing section OMS layer, or both be optical processing units in the optical transmission section OTS layer. For example, Figure 5 As shown, the network element device includes an optical transceiver unit in the OCh layer, a filter coupling unit in the OMS layer, and an optical amplification unit in the OTS layer, that is, the first optical processing unit and the second optical processing unit can both be optical transceiver units, or both are filter coupling units, or both are optical amplification units.

[0079] The embodiment of the present application provides a network topology discovery method, in which a control device receives first topology information of a first port reported by a first network element device and second topology information of a second port uploaded by a second network element device, as well as second OAM information, wherein the first topology information at least includes network element address information of the first network element device and port information of the first port, the second topology information at least includes network element address information of the second network element device and port information of the second port, and the second OAM information is carried in an optical signal received by the second port of the second network element device, and then the control device determines the first port and the second port of the first network element device according to the first topology information, the second topology information and the second OAM information. The topological relationship between the second port of the second network element device. In the embodiment of the present application, the control device receives the first topology information of the first port reported by the first network element device and the second topology information of the second port reported by the second network element device, as well as the second OAM information. Since the second OAM information is carried in the optical signal received by the second port of the second network element device, that is, there is a topological relationship between the second port of the second network element device and the port of a certain network element device, the control device can determine the topological relationship between the first port of the second network element device and the second port of the second network element device based on the first topology information, the second topology information and the second OAM information, and realize the network topology discovery between the network element devices in the optical transmission network at a low cost.

[0080] See also Figure 3 , Figure 3 1 is a flow chart of a network topology discovery method provided by an embodiment of the present application. The network topology discovery method is applied to a first network element device, the first network element device includes a first port, such as Figure 3 As shown, the network topology discovery method provided in the embodiment of the present application includes but is not limited to steps S310 to S320.

[0081] Step S310: Send first topology information to the management and control device, wherein the first topology information at least includes network element address information of a first network element device and port information of a first port.

[0082] Step S320, sending an optical signal carrying second OAM information to the second port of the second network element device through the first port, so that the second network element device sends the second OAM information and second topology information corresponding to the second port to the management and control device, and the second topology information at least includes the network element address information of the second network element device and the port information of the second port.

[0083] It should be understood that the network topology discovery method applied to the first network element device provided in the embodiment of the present application, for the specific steps, processes, effects and other descriptions, please refer to the relevant description in the network topology discovery method applied to the management and control device provided in the above embodiment, which will not be repeated here.

[0084] In some embodiments, when there is no client optical input to the optical processing unit of the first network element device itself, the optical signal is generated based on the fill optical signal; the second OAM information includes the first topology information;

[0085] Sending an optical signal carrying second OAM information to a second port of a second network element device through the first port includes:

[0086] Based on the first topology information, the filling optical signal is modulated by a modulation and demodulation unit to obtain a modulated filling optical signal.

[0087] The modulated filling optical signal is sent to the second port of the second network element device through the first port.

[0088] It can be understood that when there is no customer optical input to the optical processing unit of the first network element device itself, the first network element device modulates the fill optical signal through the modulation and demodulation unit based on the first topology information to obtain a modulated fill optical signal, and the modulated fill optical signal carries the second OAM information, and the second OAM information includes the first topology information. Then, the first network element device sends the modulated fill optical signal to the second port of the second network element device through the first port.

[0089] It should be noted that the modem unit can use an external light source for modulation and input it into the optical processing unit through an optical switch. When the optical processing unit has an internal light source, the modem unit can also directly use the internal light source of the optical processing unit for modulation.

[0090] It should be understood that when there is no customer optical input in the optical processing unit of the first network element device itself, the fill light is adapted to the service layer optical signal, and the fill light is modulated so that the modulated fill light signal carries the second OAM information. The second OAM information may include the first topology information of the service layer such as the OMS layer or the OTS layer. Finally, the modulated fill light signal is sent to the second port of the second network element device. The second network element device receives the optical signal carrying the second OAM information through the second port, and reports the first topology information included in the second OAM information and the second topology information corresponding to the second port to the management and control device, so that the management and control device can determine the topological relationship between the first port of the first network element device and the second port of the second network element device according to the topology information reported by the first network element device and the second network element device, thereby realizing the network topology discovery of the service layers at both ends of the network element devices.

[0091] In some embodiments, when a client optical signal is input to the optical processing unit of the first network element device itself, the optical signal is generated based on the client optical signal; the second OAM information includes characteristic information of the client optical signal;

[0092] Sending an optical signal carrying second OAM information to a second port of a second network element device through the first port includes:

[0093] The optical signal generated based on the client optical signal is sent to the second port of the second network element device through the first port.

[0094] It can be understood that when the optical processing unit of the first network element device itself has customer optical information input, the optical signal is generated based on the customer optical signal, the second OAM information includes characteristic information of the customer optical signal, and the first network element device sends an optical signal generated based on the customer optical signal to the second port of the second network element device through the first port, and the optical signal carries the second OAM information including the characteristic information of the customer optical signal, so that the second network element device receives the optical signal carrying the second OAM information through the second port, and reports the characteristic information included in the second OAM information and the second topology information corresponding to the second port to the management and control device, so that the management and control device can determine the topological relationship between the first port of the first network element device and the second port of the second network element device according to the topology information and characteristic information reported by the first network element device and the second network element device.

[0095] In some embodiments, the characteristic information of the client optical signal includes an indicator for identifying the client optical signal.

[0096] It should be understood that the characteristic information of the client optical signal in the embodiment of the present application includes an indicator for identifying the client optical signal. For specific descriptions, please refer to the relevant descriptions in the network topology discovery method applied to the management and control device provided in the above embodiment, which will not be repeated here.

[0097] In some embodiments, the first port is a port corresponding to a first optical processing unit in a first network element device, the second port is a port corresponding to a second optical processing unit in a second network element device, and the first optical processing unit and the second optical processing unit are processing units with the same properties.

[0098] It should be understood that in the embodiment of the present application, the first port is the port corresponding to the first optical processing unit in the first network element device, the second port is the port corresponding to the second optical processing unit in the second network element device, and the first optical processing unit and the second optical processing unit are processing units with the same properties. For specific descriptions, please refer to the relevant descriptions in the network topology discovery method applied to the management and control device provided in the above embodiment, which will not be repeated here.

[0099] In some embodiments, the first optical processing unit and the second optical processing unit are both optical processing units of the optical channel OCh layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical multiplexing segment OMS layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical transmission segment OTS layer.

[0100] It should be understood that in the embodiments of the present application, the first optical processing unit and the second optical processing unit are both optical processing units of the optical channel OCh layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical multiplexing segment OMS layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical transmission segment OTS layer. For specific descriptions, please refer to the relevant description in the network topology discovery method applied to the management and control equipment provided in the above embodiments, which will not be repeated here.

[0101] See also Figure 4 , Figure 4 1 is a flow chart of a network topology discovery method provided by an embodiment of the present application. The network topology discovery method is applied to a second network element device, the second network element device includes a second port, such as Figure 4 As shown, the network topology discovery method provided in the embodiment of the present application includes but is not limited to steps S410 to S420.

[0102] Step S410: receiving an optical signal sent by a first port of a first network element device through a second port, where the optical signal includes second OAM information.

[0103] Step S420, sending the second OAM information and the second topology information corresponding to the second port to the control device, so that the control device determines the topological relationship between the first port of the first network element device and the second port of the second network element device according to the second OAM information, the second topology information and the first topology information received from the first network element device.

[0104] The first topology information at least includes network element address information of the first network element device and port information of the first port, and the second topology information at least includes network element address information of the second network element device and port information of the second port.

[0105] It should be understood that the network topology discovery method applied to the first network element device provided in the embodiment of the present application, for the specific steps, processes, effects and other descriptions, please refer to the relevant description in the network topology discovery method applied to the management and control device provided in the above embodiment, which will not be repeated here.

[0106] In some embodiments, the network topology discovery method further includes: demodulating the optical signal by a modulation and demodulation unit to obtain second OAM information, where the second OAM information includes the first topology information or includes characteristic information of the client optical signal.

[0107] It can be understood that when the optical processing unit of the first network element device itself has no customer optical input, the first network element device modulates the fill optical signal through the modulation and demodulation unit based on the first topology information to obtain a modulated fill optical signal, so that the modulated fill optical signal carries the second OAM information, and the second OAM information includes the first topology information. At this time, the second network element device modulates the optical signal through the modulation and demodulation unit according to the second OAM information in the received optical signal, so that the optical signal sent to the control device carries the second OAM information, and the second OAM information also includes the first topology information. When the optical processing unit of the first network element device itself has a customer optical input, the second OAM information sent by the first network element device includes the characteristic information of the customer optical signal. At this time, the second network element device demodulates the optical signal through the modulation and demodulation unit according to the second OAM information in the received optical signal, so that the optical signal sent to the control device carries the second OAM information, and the second OAM information also includes the characteristic information of the customer optical signal.

[0108] It should be understood that the second network element device demodulates the optical signal through the modem unit according to the second OAM information in the received optical signal to obtain the second OAM information, and the second OAM information includes the first topology information or the characteristic information of the client optical signal that is the same as the first OAM information. After sending the second OAM information and the second topology information corresponding to the second port to the control device, the control device can determine the topological relationship between the first port of the first network element device and the second port of the second network element device according to the second OAM information, the second topology information and the first topology information received from the first network element device.

[0109] In some embodiments, the characteristic information of the client optical signal includes an indicator for identifying the client optical signal.

[0110] It should be understood that the characteristic information of the client optical signal in the embodiment of the present application includes an indicator for identifying the client optical signal. For specific descriptions, please refer to the relevant descriptions in the network topology discovery method applied to the management and control device provided in the above embodiment, which will not be repeated here.

[0111] In some embodiments, the first port is a port corresponding to a first optical processing unit in a first network element device, the second port is a port corresponding to a second optical processing unit in a second network element device, and the first optical processing unit and the second optical processing unit are processing units with the same properties.

[0112] It should be understood that in the embodiment of the present application, the first port is the port corresponding to the first optical processing unit in the first network element device, the second port is the port corresponding to the second optical processing unit in the second network element device, and the first optical processing unit and the second optical processing unit are processing units with the same properties. For specific descriptions, please refer to the relevant descriptions in the network topology discovery method applied to the management and control device provided in the above embodiment, which will not be repeated here.

[0113] In some embodiments, the first optical processing unit and the second optical processing unit are both optical processing units of the optical channel OCh layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical multiplexing segment OMS layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical transmission segment OTS layer.

[0114] It should be understood that in the embodiments of the present application, the first optical processing unit and the second optical processing unit are both optical processing units of the optical channel OCh layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical multiplexing segment OMS layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical transmission segment OTS layer. For specific descriptions, please refer to the relevant description in the network topology discovery method applied to the management and control equipment provided in the above embodiments, which will not be repeated here.

[0115] The following describes the implementation of the network topology discovery method provided by the embodiment of the present application in the optical transport network through a specific embodiment.

[0116] like Figure 1 As shown, the optical transmission network includes a control device and multiple network element devices. The control device is connected to multiple network element devices in communication. When the optical processing unit of the network element device as the source of optical signal transmission detects that there is no customer light input, the source replaces the customer light with fill light, and then adapts the fill light to the service layer optical signal, and modulates the fill light so that the service layer optical signal carries the service layer topology information, and then sends the service layer optical signal to the opposite network element device. The network element devices as the source and destination of optical signal transmission each report the service layer topology information of the local end and the service layer topology information of the detected opposite network element device to the control device, and the control device generates a unidirectional or bidirectional service layer topology based on the service layer topology information received from both ends.

[0117] When the optical processing unit of the network element device serving as the source end of optical signal transmission detects customer optical input, the source end reports the characteristic information of the detected customer optical signal and the service layer topology information of the local end to the management and control device, and the network element device serving as the destination end of optical signal transmission reports the characteristic information of the detected customer optical signal and the service layer topology information of the local end to the management and control device. The management and control device compares the characteristic information received from both ends. When the characteristic information from both ends is consistent, the management and control device generates a unidirectional or bidirectional service layer topology based on the service layer topology information received from both ends.

[0118] The network topology discovery method provided in the embodiment of the present application is described below through specific examples.

[0119] Example 1

[0120] See also Figure 5 , Figure 5 The flowchart of the network topology discovery method without client optical input provided by the embodiment of the present application is shown as follows: Figure 5 As shown, the network element addresses (IP addresses) of the network element devices NE-A, NE-B, and NE-C are 10.10.10.1, 10.10.10.2, and 10.10.10.3 respectively, and each optical processing unit is in 1 subrack of the network element, and uses 1 port as the connection interface of the corresponding optical processing unit.

[0121] When there is no client optical input, the 4-slot optical amplifier unit of the network element device NE-A generates OTS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-4-0-1" through the modem unit and sends the OTS layer topology information to the peer network element device.

[0122] The optical amplifier unit in slot 4 of network element device NE-A reports the local OTS layer topology information "IP address = 10.10.10.1TCP-ID = 1-4-0-1" to the control device. The optical amplifier unit in slot 1 of network element device NE-B reports the local OTS layer topology information "IP address = 10.10.10.2; TCP-ID = 1-1-0-1" and the detected opposite end OTS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-4-0-1" to the control device.

[0123] The control device initiates OTS layer topology discovery, associates with the optical amplifier unit at the source and sink ends, compares the local OTS layer topology information of slot 4 of network element device NE-A with the remote OTS layer topology information of slot 1 of network element device NE-B, and then generates an OTS layer topology from slot 4 and port 1 of network element device NE-A to slot 1 and port 1 of network element device NE-B based on the local OTS layer topology information of both ends.

[0124] In this example, the modem unit and the optical amplifier unit can be deployed together or separately. The modem unit can use an external light source for modulation and input it to the optical amplifier unit through an optical switch, or directly use the internal light source of the optical amplifier for modulation.

[0125] Example 2

[0126] See also Figure 6 , Figure 6 The flowchart of the network topology discovery method without client optical input provided by the embodiment of the present application is shown as follows: Figure 6 As shown, the network element addresses (IP addresses) of the network element devices NE-A, NE-B, and NE-C are 10.10.10.1, 10.10.10.2, and 10.10.10.3 respectively, and each optical processing unit is in 1 subrack of the network element, and uses 1 port as the connection interface of the corresponding optical processing unit.

[0127] When there is no client optical input, the 4-slot optical amplifier unit of the network element device NE-A generates OTS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-4-0-1" through the modem unit and sends the OTS layer topology information to the peer network element device.

[0128] The 4-slot optical amplifier unit of network element device NE-A reports the local OTS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-4-0-1" to the control device, and the 4-slot optical amplifier unit of network element device NE-C reports the local OTS layer topology information "IP address = 10.10.10.3; TCP-ID = 1-4-0-1" and the detected opposite end OTS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-4-0-1" to the control device.

[0129] The control device initiates OTS layer topology discovery, associates with the optical amplifier unit at the source and sink ends, compares the local OTS layer topology information of the 4-slot NE-A network element device and the remote OTS layer topology information of the 4-slot NE-C network element device, and generates an OTS layer topology from the 4-slot 1 port of the network element device NE-A to the 4-slot 1 port of the network element device NE-C based on the local OTS layer topology information of both ends.

[0130] In this example, the modem unit and the optical amplifier unit can be deployed together or separately. The modem unit can use an external light source for modulation and input it to the optical amplifier unit through an optical switch, or directly use the internal light source of the optical amplifier for modulation.

[0131] Example 3

[0132] See also Figure 7 , Figure 7 The flowchart of the network topology discovery method without client optical input provided by the embodiment of the present application is shown as follows: Figure 7 As shown, the network element addresses (IP addresses) of the network element devices NE-A, NE-B, and NE-C are 10.10.10.1, 10.10.10.2, and 10.10.10.3 respectively, and each optical processing unit is in 1 subrack of the network element, and uses 1 port as the connection interface of the corresponding optical processing unit.

[0133] When there is no customer optical input, the 2-slot filter coupling unit of the network element device NE-A generates OMS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-2-0-1" through the modem unit and sends the OMS layer topology information to the peer network element device.

[0134] The 2-slot filter coupling unit of the network element device NE-A reports the local OMS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-2-0-1" to the control device, and the 3-slot filter coupling unit of the network element device NE-B reports the local OMS layer topology information "IP address = 10.10.10.2; TCP-ID = 1-3-0-1" and the detected peer OMS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-2-0-1" to the control device.

[0135] The control device initiates OMS layer topology discovery, associates with the optical amplifier unit at the source and sink ends, compares the local OMS layer topology information of slot 2 of network element device NE-A with the opposite OMS layer topology information of slot 3 of network element device NE-B, and generates an OMS layer topology from slot 2, port 1 of network element device NE-A to slot 3, port 1 of network element device NE-B based on the local OMS layer topology information of both ends.

[0136] In this example, since the filter coupling unit has no internal light source, the modulation and demodulation unit needs to use an external light source for modulation and coupling through the optical switch of the filter coupling unit.

[0137] Example 4

[0138] See also Figure 8 , Figure 8 The flowchart of the network topology discovery method without client optical input provided by the embodiment of the present application is shown as follows: Figure 8As shown, the network element addresses (IP addresses) of the network element devices NE-A, NE-B, and NE-C are 10.10.10.1, 10.10.10.2, and 10.10.10.3 respectively, and each optical processing unit is in 1 subrack of the network element, and uses 1 port as the connection interface of the corresponding optical processing unit.

[0139] When there is no customer optical input, the 2-slot filter coupling unit of the network element device NE-A generates OMS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-2-0-1" through the modem unit and sends the OMS layer topology information to the peer network element device.

[0140] The 2-slot filtering coupling unit of the network element device NE-A reports the local OMS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-2-0-1" to the control device, and the 2-slot filtering coupling unit of the network element device NE-C reports the local OMS layer topology information "IP address = 10.10.10.3; TCP-ID = 1-2-0-1" and the detected peer OMS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-2-0-1" to the control device.

[0141] The control device initiates OMS layer topology discovery, associates with the optical amplifier unit at the source and sink ends, compares the local OMS layer topology information of slot 2 of network element device NE-A with the remote OMS layer topology information of slot 2 of network element device NE-C, and generates an OMS layer topology from slot 4, port 1 of network element device NE-A to slot 2, port 1 of network element device NE-C based on the local OMS layer topology information of both ends.

[0142] In this example, since the filter coupling unit has no internal light source, the modulation and demodulation unit needs to use an external light source for modulation and coupling through the optical switch of the filter coupling unit.

[0143] Example 5

[0144] See also Fig. 9 , Fig. 9 The flowchart of the network topology discovery method when there is client optical input provided by the embodiment of the present application is shown as follows: Fig. 9 As shown, the network element addresses (IP addresses) of the network element devices NE-A, NE-B, and NE-C are 10.10.10.1, 10.10.10.2, and 10.10.10.3 respectively, and each optical processing unit is in 1 subrack of the network element, and uses 1 port as the connection interface of the corresponding optical processing unit.

[0145] The optical transceiver units in slot 1 of the network element devices NE-A and NE-C generate OCh layer topology information through their respective modem units and send the information to each other.

[0146] The 2-slot filter coupling unit of the network element device NE-A reports the detected characteristic information of the OCh layer "IP address = 10.10.10.1; TCP-ID = 1-1-0-1" and the local OMS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-2-0-1" to the management and control device; the 3-slot filter coupling unit of the network element device NE-B reports the detected characteristic information of the OCh layer "IP address = 10.10.10.1; TCP-ID = 1-1-0-1" and the local OMS layer topology information "IP address = 10.10.10.2; TCP-ID = 1-3-0-1" to the management and control device.

[0147] The control device initiates OMS layer topology discovery, associates with the filter coupling unit at the source and sink ends, compares the OCh layer feature information at both ends, and then forms an OMS layer topology from slot 2, port 1 of network element device NE-A to slot 3, port 1 of network element device NE-B based on the OMS layer topology information at both ends.

[0148] In this example, the modem unit only needs a demodulation function, and the modem unit and the filter coupling unit can be deployed together or separately.

[0149] Example 6

[0150] See also Fig.10 , Fig.10 The flowchart of the network topology discovery method when there is client optical input provided by the embodiment of the present application is shown as follows: Fig.10 As shown, the network element addresses (IP addresses) of the network element devices NE-A, NE-B, and NE-C are 10.10.10.1, 10.10.10.2, and 10.10.10.3 respectively, and each optical processing unit is in 1 subrack of the network element, and uses 1 port as the connection interface of the corresponding optical processing unit.

[0151] The optical transceiver units in slot 1 of the network element devices NE-A and NE-C generate OCh layer topology information through their respective modem units and send the information to each other.

[0152] The 4-slot optical amplifier unit of the network element device NE-A reports the detected OCh layer characteristic information "IP address = 10.10.10.1; TCP-ID = 1-1-0-1" and the local OTS layer topology information "IP address = 10.10.10.1; TCP-ID = 1-4-0-1" to the management and control device; the 1-slot optical amplifier unit of the network element device NE-B reports the detected OCh layer characteristic information "IP address = 10.10.10.1; TCP-ID = 1-1-0-1" and the local OTS layer topology information "IP address = 10.10.10.2; TCP-ID = 1-1-0-1" to the management and control device.

[0153] The control device initiates OTS layer topology discovery, associates with the optical amplifier unit at the source and sink ends, compares the OCh layer feature information at both ends, and then forms an OTS layer topology from the 4th slot and 1st port of the network element device NE-A to the 1st slot and 1st port of the network element device NE-B based on the OTS layer topology information at both ends.

[0154] In this example, the modem unit only needs a demodulation function, and the modem unit and the filter coupling unit can be deployed together or separately.

[0155] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network element device, etc.) to execute the methods described in each embodiment of the present application.

[0156] See also Fig.11 The present application also provides an electronic device, the electronic device 100 includes but is not limited to:

[0157] at least one processor 110;

[0158] At least one memory 120, used to store at least one program;

[0159] When at least one program is executed by at least one processor 110 , the network topology discovery method described in any of the above embodiments is performed.

[0160] It should be understood that the processor 110 and the memory 120 may be connected via a bus or other means.

[0161] It should be understood that the processor 110 may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. Alternatively, the processor 110 may be one or more integrated circuits for executing related programs to implement the technical solutions provided in the embodiments of the present application.

[0162] The memory 120 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs and non-transitory computer executable programs, such as the bandwidth adjustment method performed by the electronic device side described in any embodiment of the present application. The processor 110 implements the above-mentioned network topology discovery method by running the non-transitory software programs and instructions stored in the memory 120.

[0163] The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store and execute the above-mentioned bandwidth adjustment method. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 120 may optionally include a memory remotely disposed relative to the processor 110, and these remote memories may be connected to the processor 110 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0164] The non-transient software programs and instructions required to implement the above-mentioned network topology discovery method are stored in the memory 120, and when executed by one or more processors 110, the network topology discovery method provided by any embodiment of the present application is executed.

[0165] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the network topology discovery method described in any of the above embodiments is implemented.

[0166] The computer storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media. Computer-readable storage medium can be a computer-readable signal medium or a computer-readable storage medium. Computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive) of computer-readable storage medium include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.

[0167] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0168] The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0169] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0170] An embodiment of the present application further provides a computer program product, which stores program instructions. When the program instructions are executed on a computer device, the computer device implements the bandwidth adjustment method described in any of the above embodiments.

[0171] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above implementation. Those skilled in the art can make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the present application.

Claims

1. A network topology discovery method, applied to a management and control device, the method comprising: Receiving first topology information of a first port reported by a first network element device, wherein the first topology information at least includes network element address information of the first network element device and port information of the first port; Receiving second topology information and second OAM information of a second port reported by a second network element device, wherein the second topology information at least includes network element address information of the second network element device and port information of the second port, and the second OAM information is carried in an optical signal received by the second port of the second network element device; A topological relationship between the first port of the first network element device and the second port of the second network element device is determined according to the first topology information, the second topology information, and the second OAM information.

2. The method according to claim 1, characterized in that The second OAM information includes third topology information, the third topology information indicates topology information corresponding to a second opposite-end network element device, the second opposite-end network element device indicates an opposite-end network element device of the second network element device, the third topology information includes at least network element address information and port information of the second opposite-end network element device, and the third topology information is carried in an optical signal sent by the second opposite-end network element device to the second port of the second network element device; Determining a topological relationship between the first port of the first network element device and the second port of the second network element device according to the first topology information, the second topology information, and the second OAM information includes: When the first topology information is consistent with the third topology information, establishing a unidirectional or bidirectional topology relationship between the first port of the first network element device and the second port of the second network element device according to the first topology information and the second topology information; or, When the first topology information and the third topology information are inconsistent, it is determined that no topology exists between the first port of the first network element device and the second port of the second network element device.

3. The method according to claim 1, characterized in that The method further includes: receiving first OAM information reported by a first network element device, where the first OAM information is carried in an optical signal sent by the first port of the first network element device; The first OAM information includes first characteristic information, and the second OAM information includes second characteristic information, wherein the first characteristic information indicates the client optical characteristic information contained in the optical signal sent by the first network element device to the first opposite network element device through the first port, and the second characteristic information indicates the client optical characteristic information contained in the optical signal received by the second port of the second network element device from the second opposite network element device, the first opposite network element device indicates the opposite network element device of the first network element device, and the second opposite network element device indicates the opposite network element device of the second network element device; The determining, according to the first topology information, the second topology information, and the second OAM information, a topological relationship between the first port of the first network element device and the second port of the second network element device includes: When the first characteristic information and the second characteristic information are consistent, a unidirectional or bidirectional topological relationship between the first port of the first network element device and the second port of the second network element device is established according to the first topology information and the second topology information; or, When the first characteristic information and the second characteristic information are inconsistent, it is determined that no topology exists between the first port of the first network element device and the second port of the second network element device.

4. The method according to claim 3, characterized in that The first characteristic information includes an indicator for identifying a client optical signal in the optical signal sent by the first network element device to the first opposite network element device through the first port, and the second characteristic information includes an indicator for identifying a client optical signal in the optical signal received by the second port of the second network element device from the second opposite network element device.

5. The method according to claim 1, characterized in that The first port is a port corresponding to a first optical processing unit in the first network element device, the second port is a port corresponding to a second optical processing unit in the second network element device, and the first optical processing unit and the second optical processing unit are processing units with the same attributes.

6. The method according to claim 5, characterized in that The first optical processing unit and the second optical processing unit are both optical processing units of the optical channel OCh layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical multiplexing segment OMS layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical transmission segment OTS layer.

7. A network topology discovery method, applied to a first network element device, wherein the first network element device includes a first port, the method comprising: Sending first topology information to the management and control device, wherein the first topology information at least includes network element address information of the first network element device and port information of the first port; An optical signal carrying second OAM information is sent to the second port of the second network element device through the first port, so that the second network element device sends the second OAM information and second topology information corresponding to the second port to the control device, and the second topology information at least includes the network element address information of the second network element device and the port information of the second port.

8. The method according to claim 7, characterized in that When there is no client optical signal input to the optical processing unit of the first network element device itself, the optical signal is generated based on the fill optical signal; the second OAM information includes the first topology information; The sending an optical signal carrying second OAM information to a second port of a second network element device through the first port includes: Based on the first topology information, modulate the filling optical signal through a modulation and demodulation unit to obtain the modulated filling optical signal; The modulated filling optical signal is sent to the second port of the second network element device through the first port.

9. The method according to claim 7, characterized in that: When a client optical signal is input to the optical processing unit of the first network element device itself, the optical signal is generated based on the client optical signal; and the second OAM information includes characteristic information of the client optical signal; The sending an optical signal carrying second OAM information to a second port of a second network element device through the first port includes: The optical signal generated based on the client optical signal is sent to the second port of the second network element device through the first port.

10. The method according to claim 9, characterized in that The characteristic information of the client optical signal includes an indicator for identifying the client optical signal.

11. The method according to claim 7, characterized in that The first port is a port corresponding to a first optical processing unit in the first network element device, the second port is a port corresponding to a second optical processing unit in the second network element device, and the first optical processing unit and the second optical processing unit are processing units with the same attributes.

12. The method according to claim 11, characterized in that The first optical processing unit and the second optical processing unit are both optical processing units of the optical channel OCh layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical multiplexing segment OMS layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical transmission segment OTS layer.

13. A network topology discovery method, applied to a second network element device, wherein the second network element device includes a second port, the method comprising: receiving, through the second port, an optical signal sent by the first port of the first network element device, wherein the optical signal includes second OAM information; Sending the second OAM information and the second topology information corresponding to the second port to the control device, so that the control device determines the topological relationship between the first port of the first network element device and the second port of the second network element device according to the second OAM information, the second topology information and the first topology information received from the first network element device; The first topology information includes at least network element address information of the first network element device and port information of the first port; The second topology information at least includes network element address information of the second network element device and port information of the second port.

14. The method according to claim 13, characterized in that The method further includes: demodulating the optical signal by a modulation and demodulation unit to obtain the second OAM information, where the second OAM information includes the first topology information or includes characteristic information of the client optical signal.

15. The method according to claim 14, characterized in that The characteristic information of the client optical signal includes an indicator for identifying the client optical signal.

16. The method according to claim 13, characterized in that The first port is a port corresponding to a first optical processing unit in the first network element device, the second port is a port corresponding to a second optical processing unit in the second network element device, and the first optical processing unit and the second optical processing unit are processing units with the same attributes.

17. The method according to claim 16, characterized in that The first optical processing unit and the second optical processing unit are both optical processing units of the optical channel OCh layer; or, the first optical processing unit and the second optical processing unit are both optical multiplexing segment OMS layer; or, the first optical processing unit and the second optical processing unit are both optical transmission segment OTS layer.

18. An electronic device comprising: one or more processors; A memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement: The network topology discovery method according to any one of claims 1 to 6; or, The network topology discovery method according to any one of claims 7 to 12; or, A network topology discovery method as described in any one of claims 13 to 17.

19. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the program implements: The network topology discovery method according to any one of claims 1 to 6; or, The network topology discovery method according to any one of claims 7 to 12; or, A network topology discovery method as described in any one of claims 13 to 17.

Citation Information

Patent Citations

  • Method and system for automatic discovery of Ethernet link

    CN101640610A

  • Three-layer topology determining method and device in SDN network

    CN104283791A

  • Method and device for collecting topological information in SDN network

    CN104320345A

  • Topology Discovery Method For Hfc Network, Network Device, And Network System

    CN107683584A

  • Topology collection method and device

    CN107888520A