Network topology discovery methods, devices and media

CN119232592BActive Publication Date: 2026-09-01ZTE CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310800926.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2026-09-01
Estimated Expiration
2043-06-30

AI Technical Summary

Technical Problem

[0003]光传送网(Optical Transport Network,OTN)电层具备完整的开销处理能力,使用带内开销即可完成拓扑发现,而在OTN光层中,通过带内开销如基于光通路(OpticalChanne l,OCh)的光标签技术仅能实现OCh层的拓扑发现,若在OTN光层中使用带外开销传递拓扑信息,则需要配置额外的设备,增加了管理成本

Benefits of technology

[0020]Fifthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the network topology discovery method as described in any one of the first, second, or third aspects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232592B_ABST
    Figure CN119232592B_ABST
Patent Text Reader

Abstract

This application provides a network topology discovery method, device, and 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, second topology information of a second port uploaded by a second network element device, and second OAM information. The first topology information includes at least the network element address information of the first network element device and the port information of the first port. The second topology information includes at least the network element address information of the second network element device and the port information of the second port. The second OAM information is carried in the optical signal received by the second port of the second network element device. Then, 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 based on the first topology information, the second topology information, and the second OAM information, so as to realize network topology discovery between network elements in an optical transport network at low cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In the field of transport networks, topology discovery of link resources is the foundation for completing path calculation and service establishment. Typically, in-band or out-of-band overhead is used to send and receive topology information. Transport networks need to have complete overhead regeneration and termination capabilities to achieve topology discovery.

[0003] The electrical layer of an Optical Transport Network (OTN) has complete overhead processing capabilities, and topology discovery can be completed using in-band overhead. However, in the optical layer of an OTN, topology discovery can only be achieved at the OCh layer using in-band overhead such as optical channel (OCh) based optical tagging technology. If out-of-band overhead is used to transmit topology information in the OTN optical layer, additional equipment needs to be configured, which increases management costs. Summary of the Invention

[0004] This application provides a network topology discovery, an electronic device, and a computer-readable storage medium that enable network topology discovery at low cost.

[0005] In a first aspect, embodiments of this application provide a network topology discovery method, applied to a management and control device, the method comprising:

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

[0007] The device receives second topology information and second Operation Administration and Maintenance (OAM) information from the second port reported by the second network element device. The second topology information includes at least the network element address information of the second network element device and the port information of the second port. The second OAM information is carried in the optical signal received by the second port of the second network element device.

[0008] Based on the first topology information, the second topology information, and the second OAM information, the topology relationship between the first port of the first network element device and the second port of the second network element device is determined.

[0009] Secondly, embodiments of this application provide a network topology discovery method, applied to a first network element device, the first network element device including a first port, the method comprising:

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

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

[0012] Thirdly, embodiments of this application provide a network topology discovery method applied to a second network element device, the second network element device including a second port, the method comprising:

[0013] The second port receives an optical signal sent by the first port of the first network element device, the optical signal containing second OAM information.

[0014] Send the second OAM information and the second topology information corresponding to the second port to the control device, so that the control device can determine the topology relationship between the first port of the first network element device and the second port of the second network element device based on 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 the network element address information of the first network element device and the port information of the first port;

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

[0017] Fourthly, embodiments of this application provide an electronic device, including:

[0018] One or more processors;

[0019] A memory having stored one or more programs that, when executed by one or more processors, cause the one or more processors to implement the network topology discovery method as described in any of the first, second, or third aspects.

[0020] Fifthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the network topology discovery method as described in any one of the first, second, or third aspects.

[0021] This application provides a network topology discovery method, an electronic device, and a computer-readable storage medium. In this method, a control device receives 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 topology information includes at least the network element address information of the first network element device and the port information of the first port. The second topology information includes at least the network element address information of the second network element device and the port information of the second port. The second OAM information is carried in the optical signal received by the second port of the second network element device. The control device then determines the first network element based on the first topology information, the second topology information, and the second OAM information. The topological relationship between the first port of the device and the second port of the second network element device is described in this embodiment. The control device receives the first topological information of the first port reported by the first network element device, the second topological information of the second port reported by the second network element device, and 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 topological information, the second topological information, and the second OAM information, so as to realize network topology discovery between network elements in the optical transport network at low cost. Attached Figure Description

[0022] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.

[0023] Figure 1 This is a schematic diagram of an implementation environment provided in one embodiment of this application;

[0024] Figure 2 This is a flowchart illustrating a network topology discovery method provided in one embodiment of this application;

[0025] Figure 3 This is a flowchart illustrating a network topology discovery method provided in one embodiment of this application;

[0026] Figure 4 This is a flowchart illustrating a network topology discovery method provided in one embodiment of this application;

[0027] Figure 5 This is a flowchart illustrating a network topology discovery method without customer optical input provided in one embodiment of this application;

[0028] Figure 6 This is a flowchart illustrating a network topology discovery method without customer optical input provided in one embodiment of this application;

[0029] Figure 7 This is a flowchart illustrating a network topology discovery method without customer optical input provided in one embodiment of this application;

[0030] Figure 8 This is a flowchart illustrating a network topology discovery method without customer optical input provided in one embodiment of this application;

[0031] Figure 9 This is a flowchart illustrating a network topology discovery method with customer optical input provided in one embodiment of this application;

[0032] Figure 10 This is a flowchart illustrating a network topology discovery method with customer optical input provided in one embodiment of this application;

[0033] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0034] To enable those skilled in the art to better understand the technical solutions of this application, the network topology discovery method, electronic equipment, and computer-readable storage medium provided in this application will be described in detail below with reference to the accompanying drawings.

[0035] Exemplary embodiments will be described more fully below with reference to the accompanying drawings; however, the described exemplary embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will 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 related enumerated entries.

[0037] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application. As used herein, the singular forms “a” and “the” are intended to include the plural forms as well, 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 a feature, integral, step, operation, element, and / or component is specified, but the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof is not excluded.

[0038] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is 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 specified, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one 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 this application, and will not be interpreted as having an idealized or overly formal meaning, unless expressly so defined in the embodiments of this application.

[0040] In the field of transport networks, topology discovery of link resources is the foundation for completing path calculation and service establishment. Typically, in-band or out-of-band overhead is used to send and receive topology information. Transport networks need to have complete overhead regeneration and termination capabilities to complete topology discovery.

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

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

[0043] Before introducing the technical solutions of the embodiments of this application, the application scenarios of the embodiments of this application will be described by way of example. Please refer to... Figure 1 , Figure 1 This is a schematic diagram of an implementation environment provided in one embodiment of this application, as shown below. Figure 1 As shown, the implementation environment includes a control device and multiple network element devices. The control device and the multiple network element devices are connected by communication, and there are multiple topological relationships between the multiple network element devices (not shown in the figure).

[0044] Please see Figure 2 , Figure 2 This is a flowchart illustrating a network topology discovery method provided in one embodiment of this application. This network topology discovery method is applied to management and control devices, such as… Figure 2As shown, the network topology discovery method provided in this application embodiment includes, but is not limited to, steps S210 to S230. Steps S210 to S230 will be described below.

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

[0046] Step S220: Receive second topology information and second OAM information of the second port reported by the second network element device. The second topology information includes at least the network element address information of the second network element device and the port information of the second port. 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 the topological relationship 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.

[0048] Understandably, the first network element sends first topology information to the management device, which includes at least the network element address information of the first network element and the port information of the first port. The second network element sends second topology information, which includes at least the network element address information of the second network element and the port information of the second port, as well as second OAM information. Since the second OAM information is carried in the optical signal received by the second port of the second network element, it means that there is a topological relationship between the second port of the second network element and the port of a certain network element. Therefore, the management device can determine whether there is a corresponding network topology relationship between the first port of the second network element and the second port of the second network element based on the first topology information, the second topology information, and the second OAM information, so as to realize network topology discovery between network elements in the optical transport network at low cost.

[0049] In some embodiments, the second OAM information includes third topology information, which represents the topology information corresponding to the second peer network element device. The second peer network element device represents the peer network element device of the second network element device. The third topology information includes at least the network element address information and port information of the second peer network element device. The third topology information is carried in the optical signal sent by the second peer network element device to the second port of the second network element device.

[0050] Based on the first topology information, the second topology information, and the second OAM information, the topology relationship between the first port of the first network element device and the second port of the second network element device is determined, including:

[0051] When the first topology information and the third topology information are consistent, a one-way or two-way topology relationship is established 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 and the second topology information; or...

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

[0053] Understandably, after the second network element device receives an optical signal carrying the second OAM information from the second peer network element device at its second port, the second network element device reports the second OAM information to the control device. The second OAM information includes third topology information, which at least includes the network element address information and port information of the peer network element device. When the control device receives the first topology information sent by the first network element device, 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 equipment determines the topological relationship between the first port of the first network element device and the second port of the second network element device based on the first topological information, the second topological information, and the second OAM information. Since the first topological information includes the network element address information and port information of the first network element device, the third topological information includes the network element address information and port information of the second peer network element device, and the second peer network element device sends an optical signal carrying the third topological information to the second port of the second network element device, when the first topological information and the third topological information are consistent, it indicates that the peer 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 equipment can then establish a one-way or two-way topological relationship between the first port of the first network element device and the second port of the second network element device based on the first topological information and the second topological information. In other words, the topological relationship between the first port of the first network element device and the second port of the second network element device is established based on the network element address information and port information of the first network element device, and the network element address information and port information of the second network element device.

[0055] For example, see Figure 5 , Figure 5 This document illustrates a flowchart of a network topology discovery method for network topology discovery without customer optical input, as provided in an embodiment of this application. Figure 5As shown, network element NE-A sequentially transmits signals to network element NE-B through an Optical Transport Unit (OTU), an optical transceiver unit, a filtering and coupling unit, and an optical amplifier unit. Network element NE-A sequentially receives signals transmitted by network element NE-B through an optical amplifier unit, a filtering and coupling unit, an optical transceiver unit, and an OTU unit. The network element addresses (IP addresses) of 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 located in subrack 1 of the network element and uses port 1 as the connection interface for the corresponding optical processing unit. For example, if the slot number of the optical amplifier unit in network element NE-A is 4, then the port address used by the optical amplifier unit in network element NE-A is port 1 in slot 4 of subrack 1, and its port information can be represented as TCP-ID = 1-4-0-1.

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

[0057] like Figure 5 As shown, network element NE-B, acting as the second network element device, receives an optical signal carrying third topology information from the peer network element device through the port corresponding to the optical amplifier unit. Then, network element NE-B reports the second topology information and second OAM information including the third topology information to the management device. The second topology information includes the network element address information of network element NE-B and the port information of the optical amplifier unit. The second topology information can be represented as IP address = 10.10.10.2; TCP-ID = 1-1-0-1. The management device determines that the first topology information and the third topology information are consistent, 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 transceiver integrated network element devices, and the first topology information and the third topology information are consistent, it is determined that there is a bidirectional topology 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 a transceiver integrated network element device, and the first topology information and the third topology information are consistent, it is determined that there is a unidirectional topology 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 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 carrying the third topology information. The third topology information includes the network element address information and port information of the peer network element device of the second network element device. When the first topology information and the third topology information are consistent, it indicates that the peer network element device of the second network element device is the first network element device. The control device can then establish the topology relationship 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 and the second topology information, so as to realize network topology discovery between network elements in the optical transport network at low cost.

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

[0061] The first OAM information includes first feature information, and the second OAM information includes second feature information. The first feature information represents the customer optical feature information contained in the optical signal sent by the first network element device to the first peer network element device through the first port. The second feature information represents the customer optical feature information contained in the optical signal received by the second network element device from the second peer network element device through the second port. The first peer network element device refers to the peer network element device of the first network element device, and the second peer network element device refers to the peer network element device of the second network element device.

[0062] Based on the first topology information, the second topology information, and the second OAM information, the topology relationship between the first port of the first network element device and the second port of the second network element device is determined, including:

[0063] When the first feature information and the second feature information are consistent, a one-way or two-way topology relationship is established 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 and the second topology information; or...

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

[0065] It is understandable that after the first network element device sends an optical signal carrying the first OAM information through its first port, the first network element device reports the first OAM information to itself. The first OAM information includes first feature information, which represents the customer optical feature information contained in the optical signal sent by the first network element device to the first peer network element device through its first port. The second network element device receives the customer optical feature information contained in the optical signal sent by the second peer network element device through its second port. After the control device receives the first topology information and the first OAM information sent by the first network element device, as well as 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 feature information, the second topology information, and the second feature information.

[0066] It should be understood that the control equipment determines the topological relationship 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 feature information, the second topology information, and the second feature information. Since the first feature information represents the customer optical feature information contained in the optical signal sent by the first network element device to the first peer network element device through the first port, and the second feature information represents the customer optical feature information contained in the optical signal received by the second port of the second network element device from the second peer network element device, when the first feature information and the second feature information are consistent, it indicates that the first network element device and the second network element device are peer network elements 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 equipment can then establish a one-way or two-way topological relationship 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 and the second topology information. That is, the topological relationship between the first port of the first network element device and the second port of the second network element device is established based on the network element address information and the port information of the first port of the first network element device, and the network element address information and the port information of the second port of the second network element device.

[0067] For example, see Figure 9 , Figure 9 This application provides a schematic flowchart of a network topology discovery method with customer optical input, as illustrated in an embodiment. Figure 9As shown, the optical transceiver units in slot 1 of network element devices NE-A and NE-C each generate topology information of the OCh layer through their modulation and demodulation units and send it to each other. The network element addresses (IP addresses) of 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 located in subrack 1 of the network element and uses port 1 as the connection interface for the corresponding optical processing unit. For example, if the slot number of the filtering and coupling unit in network element NE-A is 2, then the port address used by the filtering and coupling unit in network element NE-A is port 1 in slot 2 of subrack 1. Its port information can be represented as TCP-ID = 1-2-0-1.

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

[0069] like Figure 9 As shown, network element NE-B, acting as the second network element device, reports second topology information and second OAM information containing second characteristic information to the management device. The second topology information includes the network element address information of network element NE-B and the port information of the filtering coupling unit. This second topology information can be represented as IP address = 10.10.10.2; TCP-ID = 1-3-0-1. The second characteristic information represents the customer optical characteristic information contained in the optical signal received from the peer network element device by the port corresponding to the filtering coupling unit of network element NE-B, i.e., the OCh layer characteristic information detected by the filtering coupling unit. This second characteristic information can be represented as IP address = 10.10.10.1; TCP-ID = 1-1-0-1. The management device determines that the first and second characteristic information are consistent, i.e., it determines that there is a topological relationship between the port corresponding to the filtering coupling unit in the first network element device NE-A and the port corresponding to the filtering 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 transceiver integrated network element devices, and the first characteristic information and the second characteristic information are consistent, it is determined that there is a bidirectional topology 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 a transceiver integrated network element device, and the first characteristic information and the second characteristic information are consistent, it is determined that there is a unidirectional topology 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 control device receives the first topology information of the first port and the first OAM information containing the first feature information reported by the first network element device, and receives the second topology information of the second port and the second OAM information containing the second feature information reported by the second network element device. When the first feature information and the second feature 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 feature information, it indicates 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 control device can then establish the topological relationship 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 and the second topology information, so as to realize network topology discovery between network elements in the optical transport network at low cost.

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

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

[0074] It should be noted that the feature information includes, but is not limited to, customer layer topology information and customer layer ID. For example, see [link to example]. Figure 10 , Figure 10 This document illustrates a flowchart of a network topology discovery method provided in an embodiment of this application. Figure 10 As shown, the slot 1 optical transceiver units of network elements NE-A and NE-C each generate topology information of the OCh layer through their modulation and demodulation units and transmit it to each other, as follows: Figure 10 As shown, the topology information of the OCh layer can be represented 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 network element NE-A to the management and control equipment, and as the second characteristic information reported by network element NE-B to the management and control equipment.

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

[0076] It is understood that the network element device includes multiple optical processing units, each of which belongs to a different service layer and has its own port. The first port is the port corresponding to the first optical processing unit in the first network element device, and the second port is the port corresponding to the second optical processing unit in the second network element device. The first optical processing unit and the second optical processing unit are processing units with the same attributes. The network topology discovery method provided in this application embodiment realizes the discovery of network topology 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 embodiments of this application, the first optical processing unit and the second optical processing unit can both be optical processing units in the optical channel OCh layer, or both be optical processing units in the optical multiplexing section OMS layer, or both be optical processing units in the optical transmission section OTS layer. For example, as shown... 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 amplifier unit in the OTS layer. That is, the first optical processing unit and the second optical processing unit can both be optical transceivers, or both be filter coupling units, or both be optical amplifier units.

[0079] This application provides a network topology discovery method. In this method, a control device receives 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 topology information includes at least the network element address information of the first network element device and the port information of the first port. The second topology information includes at least the network element address information of the second network element device and the port information of the second port. The second OAM information is carried in the optical signal received by the second port of the second network element device. Then, the control device determines the first port and second port of the first network element device based on the first topology information, the second topology information, and the second OAM information. In this embodiment of the application, the control device receives the first topology information of the first port reported by the first network element device, the second topology information of the second port reported by the second network element device, and 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 topology 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 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 elements in the optical transport network at low cost.

[0080] Please see Figure 3 , Figure 3 This is a flowchart illustrating a network topology discovery method provided in one embodiment of this application. The network topology discovery method is applied to a first network element device, which includes a first port, such as... Figure 3 As shown, the network topology discovery method provided in this application embodiment includes, but is not limited to, steps S310 to S320.

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

[0082] Step S320: Send an optical signal carrying the 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 the second topology information corresponding to the second port to the management and control device. The second topology information includes at least 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 for a first network element device provided in this application embodiment, including specific steps, processes, and effects, can be found in the relevant descriptions in the above embodiment of the network topology discovery method for a control device, which will not be repeated here.

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

[0085] Sending an optical signal carrying second OAM information from the first port to the second port of the second network element device, including:

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

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

[0088] It is understandable that when there is no customer optical input in the optical processing unit of the first network element device, the first network element device modulates the fill optical signal through the modulation and demodulation unit based on the first topology information to obtain the modulated fill optical signal. The modulated fill optical signal carries the second OAM information, which contains 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 modulation and demodulation unit can use an external light source for modulation and input it into the optical processing unit through an optical switch. If the optical processing unit has an internal light source, the modulation and demodulation unit can also directly use the internal light source of the optical processing unit for modulation.

[0090] It should be understood that when the optical processing unit of the first network element device has no customer optical input, it adapts the fill light to the service layer optical signal and modulates the fill light so that the modulated fill light signal carries second OAM information. The second OAM information may include the first topology information of the service layer, such as the OMS layer or 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. This allows the management and control device to determine the topology relationship between the first port of the first network element device and the second port of the second network element device based on 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 layer at both ends of the network element device.

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

[0092] Sending an optical signal carrying second OAM information from the first port to the second port of the second network element device, including:

[0093] The optical signal generated based on the customer's optical signal is sent from the first port to the second port of the second network element device.

[0094] It is understandable that when the optical processing unit of the first network element device receives customer optical information input, the optical signal is generated based on the customer optical signal, and the second OAM information contains the characteristic information of the customer optical signal. The first network element device sends the optical signal generated based on the customer optical signal to the second port of the second network element device through the first port. This optical signal carries the second OAM information containing 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. This allows the management and control device to determine the topology relationship between the first port of the first network element device and the second port of the second network element device based on 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 customer optical signal includes an indicator for identifying the customer optical signal.

[0096] It should be understood that the characteristic information of the customer optical signal in the embodiments of this application includes an indicator used to identify the customer optical signal. For a detailed description, please refer to the relevant description in the network topology discovery method for management and control equipment provided in the above embodiments, which will not be repeated here.

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

[0098] It should be understood that in the embodiments of this application, the first port is the port corresponding to the first optical processing unit in the first network element device, and the second port is the port corresponding to the second optical processing unit in the second network element device. The first optical processing unit and the second optical processing unit are processing units with the same attributes. For a detailed description, please refer to the relevant description in the network topology discovery method for management and control devices provided in the above embodiments, 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 section OMS layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical transmission section OTS layer.

[0100] It should be understood that in the embodiments of this 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 section OMS layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical transport section OTS layer. For a detailed description, please refer to the relevant description in the network topology discovery method for management and control equipment provided in the above embodiments, which will not be repeated here.

[0101] Please see Figure 4 , Figure 4 This is a schematic flowchart of a network topology discovery method provided in one embodiment of this application. The network topology discovery method is applied to a second network element device, which includes a second port, such as... Figure 4 As shown, the network topology discovery method provided in this application embodiment includes, but is not limited to, steps S410 to S420.

[0102] Step S410: Receive an optical signal sent by the first port of the first network element device through the second port. The optical signal contains second OAM information.

[0103] Step S420: Send the second OAM information and the second topology information corresponding to the second port to the control device, so that the control device can determine the topology relationship between the first port of the first network element device and the second port of the second network element device based on 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 includes at least the network element address information of the first network element device and the port information of the first port, and the second topology information includes at least the network element address information of the second network element device and the port information of the second port.

[0105] It should be understood that the network topology discovery method for a first network element device provided in this application embodiment, including specific steps, processes, and effects, can be found in the relevant descriptions in the above embodiment of the network topology discovery method for a control device, which will not be repeated here.

[0106] In some embodiments, the network topology discovery method further includes: demodulating the optical signal through a modulation and demodulation unit to obtain second OAM information, wherein the second OAM information contains first topology information or contains feature information of the customer optical signal.

[0107] Understandably, when the optical processing unit of the first network element has no customer optical input, the first network element modulates the fill optical signal using a modulation and demodulation unit based on the first topology information to obtain a modulated fill optical signal. This modulated fill optical signal carries second OAM information, which includes the first topology information. At this time, the second network element modulates the optical signal using a modulation and demodulation unit based on the second OAM information in the received optical signal, so that the optical signal sent to the control equipment carries the second OAM information, which also includes the first topology information. When the optical processing unit of the first network element has customer optical input, the second OAM information sent by the first network element includes the characteristic information of the customer optical signal. At this time, the second network element demodulates the optical signal using a modulation and demodulation unit based on the second OAM information in the received optical signal, so that the optical signal sent to the control equipment carries the second OAM information, which 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 a modulation and demodulation unit based on the second OAM information in the received optical signal to obtain the second OAM information. The second OAM information contains the first topology information or the same customer optical signal feature information 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 topology relationship between the first port of the first network element device and the second port of the second network element device based on 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 customer optical signal includes an indicator for identifying the customer optical signal.

[0110] It should be understood that the characteristic information of the customer optical signal in the embodiments of this application includes an indicator used to identify the customer optical signal. For a detailed description, please refer to the relevant description in the network topology discovery method for management and control equipment provided in the above embodiments, which will not be repeated here.

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

[0112] It should be understood that in the embodiments of this application, the first port is the port corresponding to the first optical processing unit in the first network element device, and the second port is the port corresponding to the second optical processing unit in the second network element device. The first optical processing unit and the second optical processing unit are processing units with the same attributes. For a detailed description, please refer to the relevant description in the network topology discovery method for management and control devices provided in the above embodiments, 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 section OMS layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical transmission section OTS layer.

[0114] It should be understood that in the embodiments of this 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 section OMS layer; or, the first optical processing unit and the second optical processing unit are both optical processing units of the optical transport section OTS layer. For a detailed description, please refer to the relevant description in the network topology discovery method for 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 in this application embodiment in an optical transport network through specific embodiments.

[0116] like Figure 1 As shown, the optical transport network includes a control device and multiple network element devices. The control device is communicatively connected to the multiple network element devices. When the optical processing unit of the network element device acting as the optical signal transmission source detects no customer optical input, the source replaces this customer optical with filler light. The filler light is then adapted to the service layer optical signal, and the filler light is modulated to carry service layer topology information in the service layer optical signal. The service layer optical signal is then sent to the peer network element device. The network element devices acting as both the optical signal transmission source and destination report their own service layer topology information and the detected service layer topology information of the peer network element device to the control device. The control device generates a unidirectional or bidirectional service layer topology based on the received service layer topology information from both ends.

[0117] When the optical processing unit of a network element device acting as the source of optical signal transmission detects a customer optical input, the source reports the characteristic information of the detected customer optical signal and the service layer topology information of its own end to the management and control device. The network element device acting as the destination of optical signal transmission also reports the characteristic information of the detected customer optical signal and the service layer topology information of its own end to the management and control device. The management and control device compares the characteristic information received from both ends. If the characteristic information of both ends is consistent, it 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 this application is illustrated below with specific examples.

[0119] Example 1

[0120] Please see Figure 5 , Figure 5 This document illustrates a flowchart of a network topology discovery method for network topology discovery without customer optical input, as provided in an embodiment of this application. Figure 5 As shown, the network element addresses (IP addresses) of 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. Each optical processing unit is located in subrack 1 of the network element and uses port 1 as the connection interface for the corresponding optical processing unit.

[0121] When there is no customer optical input, the 4-slot optical amplifier unit of the NE-A network element device 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 4-slot optical amplifier unit 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 management and control equipment. The 1-slot optical amplifier unit 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 peer OTS layer topology information "IP address=10.10.10.1;TCP-ID=1-4-0-1" to the management and control equipment.

[0123] The control device initiates topology discovery at the OTS layer, associates with the optical amplifier units at the source and destination 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 generates an OTS layer topology from port 1 of slot 4 of network element device NE-A to port 1 of slot 1 of network element device NE-B based on the local OTS layer topology information of both ends.

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

[0125] Example 2

[0126] Please see Figure 6 , Figure 6 This document illustrates a flowchart of a network topology discovery method for network topology discovery without customer optical input, as provided in an embodiment of this application. Figure 6 As shown, the network element addresses (IP addresses) of 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. Each optical processing unit is located in subrack 1 of the network element and uses port 1 as the connection interface for the corresponding optical processing unit.

[0127] When there is no customer optical input, the 4-slot optical amplifier unit of the NE-A network element device 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 management and control equipment. 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 peer OTS layer topology information "IP address=10.10.10.1; TCP-ID=1-4-0-1" to the management and control equipment.

[0129] The control device initiates topology discovery at the OTS layer, associates with the optical amplifier units at the source and destination 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 4 of network element device NE-C, and generates an OTS layer topology from port 1 of slot 4 of network element device NE-A to port 1 of slot 4 of network element device NE-C based on the local OTS layer topology information of both ends.

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

[0131] Example 3

[0132] Please see Figure 7 , Figure 7 This document illustrates a flowchart of a network topology discovery method for network topology discovery without customer optical input, as provided in an embodiment of this application. Figure 7 As shown, the network element addresses (IP addresses) of 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. Each optical processing unit is located in subrack 1 of the network element and uses port 1 as the connection interface for the corresponding optical processing unit.

[0133] When there is no customer optical input, the 2-slot filter coupling unit of the NE-A network element 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.

[0134] The 2-slot filtering coupling unit of 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 management and control equipment. The 3-slot filtering coupling unit of 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 management and control equipment.

[0135] The control device initiates topology discovery at the OMS layer, associates with the optical amplifier units at the source and destination 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 3 of network element device NE-B, and generates an OMS layer topology from port 1 of slot 2 of network element device NE-A to port 1 of slot 3 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 be coupled through the optical switch of the filter coupling unit.

[0137] Example 4

[0138] Please see Figure 8 , Figure 8 This document illustrates a flowchart of a network topology discovery method for network topology discovery without customer optical input, as provided in an embodiment of this application. Figure 8As shown, the network element addresses (IP addresses) of 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. Each optical processing unit is located in subrack 1 of the network element and uses port 1 as the connection interface for the corresponding optical processing unit.

[0139] When there is no customer optical input, the 2-slot filter coupling unit of the NE-A network element 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.

[0140] The 2-slot filtering coupling unit of 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 management and control equipment. The 2-slot filtering coupling unit of 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 management and control equipment.

[0141] The control device initiates topology discovery at the OMS layer, associates with the optical amplifier units at the source and destination 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 port 1 of slot 4 of network element device NE-A to port 1 of slot 2 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 be coupled through the optical switch of the filter coupling unit.

[0143] Example 5

[0144] Please see Figure 9 , Figure 9 This document illustrates a flowchart of a network topology discovery method with customer optical input provided in an embodiment of this application. Figure 9 As shown, the network element addresses (IP addresses) of 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. Each optical processing unit is located in subrack 1 of the network element and uses port 1 as the connection interface for the corresponding optical processing unit.

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

[0146] The 2-slot filtering coupling unit of 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 OMS layer topology information "IP address=10.10.10.1; TCP-ID=1-2-0-1" to the management and control equipment; the 3-slot filtering coupling unit of 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 OMS layer topology information "IP address=10.10.10.2; TCP-ID=1-3-0-1" to the management and control equipment.

[0147] The control device initiates topology discovery at the OMS layer, associates with the filtering coupling unit at the source and sink ends, compares the OCh layer feature information at both ends to ensure consistency, and then forms the 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 modulation and demodulation unit only needs demodulation functionality, and the modulation and demodulation unit and the filter coupling unit can be deployed together or separately.

[0149] Example 6

[0150] Please see Figure 10 , Figure 10 This document illustrates a flowchart of a network topology discovery method with customer optical input provided in an embodiment of this application. Figure 10 As shown, the network element addresses (IP addresses) of 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. Each optical processing unit is located in subrack 1 of the network element and uses port 1 as the connection interface for the corresponding optical processing unit.

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

[0152] The 4-slot optical amplifier unit of 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 equipment; the 1-slot optical amplifier unit of 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 equipment.

[0153] The control device initiates topology discovery at the OTS layer, associates with the optical amplifier units at the source and destination ends, compares the OCh layer feature information at both ends to ensure consistency, and then forms 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 OTS layer topology information at both ends.

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

[0155] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network element device, etc.) to execute the methods described in the various embodiments of this application.

[0156] Please see Figure 11 This application also provides an electronic device, which includes, but is not limited to:

[0157] At least one processor 110;

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

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

[0160] It should be understood that the processor 110 and memory 120 can 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 (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. Alternatively, the processor 110 may employ one or more integrated circuits to execute relevant programs to implement the technical solutions provided in the embodiments of this application.

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

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

[0164] The non-transitory software program and instructions required to implement the above-described network topology discovery method are stored in memory 120. When executed by one or more processors 110, the network topology discovery method provided in any embodiment of this application is executed.

[0165] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the network topology discovery method described in any of the above embodiments.

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

[0167] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable storage medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.

[0168] Program code contained on a computer-readable storage medium may be transmitted using any suitable medium, including, but not limited to, wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

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

[0170] This application also provides a computer program product that stores program instructions. When the program instructions are executed on a computer device, the computer device performs the bandwidth adjustment method as described in any of the above embodiments.

[0171] The foregoing has provided a detailed description of the preferred embodiments of this application. However, this application is not limited to the above-described embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application. All such equivalent modifications or substitutions are included within the scope defined in this application.

Claims

1. A network topology discovery method, applied to a management and control device, the method comprising: The system receives first topology information reported by the first network element device when there is no customer optical signal input at the first port, or receives first topology information and first OAM information reported by the first network element device when there is a customer optical signal input at the first port. The first topology information includes at least the network element address information of the first network element device and the port information of the first port. The first OAM information includes first feature information, which represents the customer optical feature information contained in the optical signal sent by the first network element device to the first peer network element device through the first port. The first peer network element device refers to the peer network element device of the first network element device. The system receives second topology information and second OAM information reported by a second network element device for its second port. The second topology information includes at least the network element address information of the second network element device and the port information of the second port. The second OAM information carries the optical signal received by the second port of the second network element device. The second OAM information includes third topology information or second feature information. The third topology information includes at least the network element address information and port information of the second peer network element device. The second feature information represents the customer optical feature information contained in the optical signal received by the second port of the second network element device from the second peer network element device. The second peer network element device refers to the peer network element device of the second network element device. When the first topology information and the third topology information are consistent, or when the first feature information and the second feature information are consistent, a topology relationship between the first port of the first network element device and the second port of the second network element device is established based on the first topology information and the second topology information.

2. The method according to claim 1, characterized in that, The method further includes: When the first topology information and the third topology information are inconsistent, it is determined that there is no topology 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: When the first feature information and the second feature information are inconsistent, it is determined that there is no topology 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 1, characterized in that, The first feature information includes an indicator for identifying the customer optical signal in the optical signal sent by the first network element device to the first peer network element device through the first port, and the second feature information includes an indicator for identifying the customer optical signal in the optical signal received by the second port of the second network element device from the second peer network element device.

5. The method according to claim 1, characterized in that, The first port is the port corresponding to the first optical processing unit in the first network element device, and the second port is the port corresponding to the second optical processing unit in the second network element device. 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, Both the first optical processing unit and the second optical processing unit are optical processing units of the optical channel OCh layer; or, both the first optical processing unit and the second optical processing unit are optical processing units of the optical multiplexing section OMS layer; or, both the first optical processing unit and the second optical processing unit are optical processing units of the optical transmission section OTS layer.

7. A network topology discovery method, applied to a first network element device, the first network element device including a first port, the method comprising: Sending first topology information to the control device, and sending first OAM information to the control device when there is a customer optical signal input at the first port, wherein the first topology information includes at least the network element address information of the first network element device and the port information of the first port, and the first OAM information includes the characteristic information of the customer optical signal; The first port sends an optical signal carrying second OAM information to the second port of the second network element device, so that the second network element device sends the second OAM information and the second topology information corresponding to the second port to the control device, and the control device determines the topology relationship between the first port of the first network element device and the second port of the second network element device based on the second OAM information, the second topology information and the first topology information. The second topology information includes at least the network element address information of the second network element device and the port information of the second port. When there is no customer optical signal input at the first port, the optical signal is generated based on the filler optical signal, and the second OAM information contains the first topology information; When a customer optical signal is input at the first port, the optical signal is generated based on the customer optical signal, and the second OAM information contains the characteristic information of the customer optical signal.

8. The method according to claim 7, characterized in that, When there is no customer optical signal input at the first port, the step of sending an optical signal carrying second OAM information to the second port of the second network element device through the first port includes: Based on the first topology information, the filling optical signal is modulated by a modulation and demodulation unit to obtain the modulated filling optical signal; The modulated filler optical signal is sent from the first port to the second port of the second network element device.

9. The method according to claim 7, characterized in that, When a customer optical signal is input at the first port, the step of sending an optical signal carrying second OAM information to the second port of the second network element device through the first port includes: The optical signal generated based on the customer's optical signal is sent from the first port to the second port of the second network element device.

10. The method according to claim 9, characterized in that, The characteristic information of the customer optical signal includes an indicator used to identify the customer optical signal.

11. The method according to claim 7, characterized in that, The first port is the port corresponding to the first optical processing unit in the first network element device, and the second port is the port corresponding to the second optical processing unit in the second network element device. 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, Both the first optical processing unit and the second optical processing unit are optical processing units of the optical channel OCh layer; or, both the first optical processing unit and the second optical processing unit are optical processing units of the optical multiplexing section OMS layer; or, both the first optical processing unit and the second optical processing unit are optical processing units of the optical transmission section OTS layer.

13. A network topology discovery method, applied to a second network element device, the second network element device including a second port, the method comprising: The second port receives an optical signal sent by the first port of the first network element device, the optical signal containing second OAM information. Send the second OAM information and the second topology information corresponding to the second port to the control device, so that the control device can determine the topology relationship between the first port of the first network element device and the second port of the second network element device based on 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 the network element address information of the first network element device and the port information of the first port; The second topology information includes at least the network element address information of the second network element device and the port information of the second port; When there is no customer optical signal input at the first port, the optical signal is generated based on the filler optical signal, and the second OAM information contains the first topology information; When a customer optical signal is input at the first port, the optical signal is generated based on the customer optical signal, and the second OAM information contains the characteristic information of the customer optical signal.

14. The method according to claim 13, characterized in that, The method further includes: demodulating the optical signal through a modulation and demodulation unit to obtain the second OAM information.

15. The method according to claim 14, characterized in that, The characteristic information of the customer optical signal includes an indicator used to identify the customer optical signal.

16. The method according to claim 13, characterized in that, The first port is the port corresponding to the first optical processing unit in the first network element device, and the second port is the port corresponding to the second optical processing unit in the second network element device. 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, Both the first optical processing unit and the second optical processing unit are optical processing units of the optical channel OCh layer; or, both the first optical processing unit and the second optical processing unit are optical multiplexing section OMS layer; or, both the first optical processing unit and the second optical processing unit are optical transmission section OTS layer.

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

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

Citation Information

Patent Citations

  • Topological relation determination method, system and equipment of wavelength division equipment and storage medium

    CN114157931A