Method, system and device for determining topology relationship of wavelength division equipment and storage medium

By using optical layer data interaction and optical signal technology to configure messages to determine the topology of wavelength division multiplexing (WDM) devices, the problem of low efficiency and accuracy in topology model construction in optical transport networks is solved, and more efficient topology model construction is achieved.

CN114157931BActive Publication Date: 2026-02-03ZTE CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010931558.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-07
Publication Date
2026-02-03
Estimated Expiration
2040-09-07

AI Technical Summary

Technical Problem

Existing optical transport networks have low efficiency and accuracy in constructing topology models, relying on electrical signals to transmit topology information.

Method used

By exchanging data at the optical layer, using optical signal modulation, amplitude modulation, or frequency division techniques to configure messages, receive and synthesize messages from wavelength division multiplexing (WDM) equipment, and determine their topology.

Benefits of technology

It improves the coverage of optical layer networking and enhances the efficiency and accuracy of topology model construction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114157931B_ABST
    Figure CN114157931B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a kind of topological relationship determination method of wave division equipment, control system, wave division equipment and storage medium, belong to optical network technical field.The method comprises: receiving the first synthesis message sent by first wave division equipment and the second synthesis message sent by second wave division equipment, according to the first synthesis message and the second synthesis message, determine the topological relationship of first wave division equipment and second wave division equipment;Wherein, the first synthesis message is the message obtained by synthesizing the message of first wave division equipment itself with the message of second wave division equipment received through first optical interface, and the second synthesis message is the message obtained by synthesizing the message of second wave division equipment itself with the message of first wave division equipment received through second optical interface.The technical scheme of the embodiment of the application carries out information interaction in optical layer, constructs the topological relationship between wave division equipment, covers the scene of optical layer networking, and also improves the efficiency and accuracy of constructing topological model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical network technology, and in particular to a method for determining the topology of a wavelength division multiplexing (WDM) device, a control system, a WDM device, and a storage medium. Background Technology

[0002] In optical transport networks (OTNs), the transmission of topology information, particularly the relationships between devices, largely relies on electrical signal transmission to build the topology model. For example, the TTI overhead within the OTN overhead is used for sending and receiving topology information. However, this method depends on electrical layer services, resulting in low efficiency and accuracy in topology model construction. Summary of the Invention

[0003] The main objective of this invention is to provide a method for determining the topology of a wavelength division multiplexing (WDM) device, a control system, a WDM device, and a storage medium, aiming to improve the efficiency and accuracy of topology model construction.

[0004] In a first aspect, embodiments of the present invention provide a method for determining the topology of a wavelength division multiplexing (WDM) device, comprising:

[0005] The system receives a first composite message sent by a first wavelength division multiplexing (WDM) device and a second composite message sent by a second WDM device. Based on the first composite message and the second composite message, the system determines the topology relationship between the first WDM device and the second WDM device. The first composite message is a message obtained by combining the first WDM device's own message with the message received by the second WDM device through a first optical interface. The second composite message is a message obtained by combining the second WDM device's own message with the message received by the first WDM device through a second optical interface.

[0006] Secondly, embodiments of the present invention provide a method for determining the topology of a wavelength division multiplexing (WDM) device, comprising:

[0007] The device receives packets from the peer WDM device via its local optical interface, combines its own packets with those from the peer WDM device to obtain a first composite message, and then sends its own packets to the peer WDM device so that the peer WDM device can combine its own packets with those from the peer WDM device to obtain a second composite message. The second composite message is then sent to the control system. Finally, the first composite message is sent to the control system so that the control system can determine the topology between the local WDM device and the peer WDM device based on the first composite message and the second composite message.

[0008] Thirdly, embodiments of the present invention also provide a control system, the control system including a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for implementing communication between the processor and the memory, wherein when the computer program is executed by the processor, it implements the steps of the method for determining the topology of any wavelength division multiplexing (WDM) device as provided in this specification.

[0009] Fourthly, embodiments of the present invention also provide a wavelength division multiplexing (WDM) device, wherein the control system includes a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for implementing communication between the processor and the memory, wherein when the computer program is executed by the processor, it implements the steps of the topology determination method for any WDM device provided in this specification.

[0010] Fifthly, embodiments of the present invention also provide a storage medium for computer-readable storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the method for determining the topology of a wavelength division multiplexing (WDM) device as described in the first aspect or to implement the steps of the method for determining the topology of a WDM device as described in the second aspect.

[0011] This invention provides a method for determining the topology of a wavelength division multiplexing (WDM) device, a control system, the WDM device itself, and a storage medium. The invention receives a first composite message from a first WDM device and a second composite message from a second WDM device. The topology relationship between the first and second WDM devices is then determined based on these messages. The first composite message is obtained by combining the first WDM device's own packets with packets received from the second WDM device via a first optical interface. The second composite message is obtained by combining the second WDM device's own packets with packets received from the first WDM device via a second optical interface. By determining the topology relationship between the first and second WDM devices using the packets from both devices, and by enabling data interaction at the optical layer via optical interfaces, this invention covers optical layer networking scenarios and improves the efficiency and accuracy of topology model construction. Attached Figure Description

[0012] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0013] Figure 1 A flowchart illustrating a method for determining the topology of a wavelength division multiplexing (WDM) device according to an embodiment of the present invention;

[0014] Figure 2a A simplified schematic diagram of the message format of the first and second wavelength division multiplexing (WDM) devices provided in an embodiment of the present invention;

[0015] Figure 2b A detailed schematic diagram illustrating the message formats of the first and second wavelength division multiplexing (WDM) devices provided in this embodiment of the invention;

[0016] Figure 3 A schematic diagram illustrating a method for determining the topology of a wavelength division multiplexing (WDM) device according to an embodiment of the present invention;

[0017] Figure 4 A flowchart illustrating a method for determining the topology of a wavelength division multiplexing (WDM) device according to an embodiment of the present invention;

[0018] Figure 5 This is a schematic diagram illustrating the message exchange process between the local and remote wavelength division multiplexing (WDM) equipment.

[0019] Figure 6 A schematic block diagram of the structure of a control system provided in an embodiment of the present invention;

[0020] Figure 7 This is a schematic block diagram of a wavelength division multiplexing (WDM) device provided in an embodiment of the present invention. Detailed Implementation

[0021] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0022] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.

[0023] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0024] This invention provides a method for determining the topology of a wavelength division multiplexing (WDM) device, a control system, a WDM device, and a storage medium. The method for determining the topology of the WDM device can be applied to mobile terminals or servers, such as mobile phones, tablets, laptops, desktop computers, personal digital assistants, and wearable devices.

[0025] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0026] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a method for determining the topology of a wavelength division multiplexing (WDM) device, as provided in an embodiment of the present invention.

[0027] like Figure 1 As shown, the method for determining the topology of the wavelength division multiplexing (WDM) device includes step S101.

[0028] Step S101: Receive a first composite message sent by the first wavelength division multiplexing (WDM) device and a second composite message sent by the second WDM device, and determine the topology relationship between the first WDM device and the second WDM device based on the first composite message and the second composite message.

[0029] The first composite message is a message obtained by combining the first wavelength division multiplexing (WDM) device's own message with the message received by the second WDM device through the first optical interface, and the second composite message is a message obtained by combining the second WDM device's own message with the message received by the first WDM device through the second optical interface.

[0030] The first WDM device sends a first composite message to the control system, and the second WDM device sends a second composite message to the control system. This allows the control system to determine the topology between the first and second WDM devices upon receiving the first and second composite messages. In some embodiments, determining the topology between the first and second WDM devices involves determining whether the fiber optic link between them is a bidirectional link.

[0031] Since message exchange is required between the first and second wavelength division multiplexing (WDM) devices to obtain the first and second composite messages, in some embodiments, the messages between the first and second WDM devices are messages configured based on optical signal modulation (EMC), amplitude modulation (AM), or frequency division multiplexing (FDM) techniques. The method includes obtaining the messages between the first and second WDM devices based on G.metro's TOM message extension or other optical tag messages.

[0032] The TOM message is configured based on optical signal modulation, amplitude modulation, or frequency division techniques, so that the first and second wavelength division devices can exchange messages in the form of TOM messages at the optical layer.

[0033] Taking frequency division technology as an example, the specific steps for configuring TOM messages are as follows:

[0034] 1. The TEE transmitter is turned off and enters standby mode.

[0035] 2. The TEE transmitter is off, but preparations are underway to begin the adjustment phase.

[0036] 3. The TEE transmitter scans the modulation frequency and transmits at the required modulation power, transmitting pilot signals at the modulation depth during modulation.

[0037] 4. The TEE transmitter operates in the required channel, transmits pilot signals at the modulation depth of normal operation mode, and adjusts the output optical power and center frequency.

[0038] 5. The TEE operates at the required optical power and center frequency, transmits pilot signals at the modulation depth of normal operation mode, and transmits service traffic (i.e., normal operation mode).

[0039] 6. The TEE operates at the required optical power and center frequency, transmits THMC, and transmits service traffic (i.e., normal operation mode).

[0040] After completing the above steps, the TOM message configuration can be completed. That is, the first and second wave division devices can use TOM messages to exchange messages at the optical layer.

[0041] In some embodiments, obtaining the messages of the first WDM device and the second WDM device includes: determining the TOM value of the TOM message and writing the connection information of the first WDM device and the connection information of the second WDM device into the TOM message to obtain the messages of the first WDM device and the second WDM device.

[0042] The connection information for the first wave of distribution devices includes their local IP address, local TCP-ID, proxy network ID, and proxy network address. Similarly, the connection information for the second wave of distribution devices also includes their local IP address, local TCP-ID, proxy network ID, and proxy network address.

[0043] Since different TOM values ​​in a TOM message represent different message types and message contents, after determining the TOM value in the TOM message, the connection information of the first wavelet device and the connection information of the second wavelet device can be written into two TOM messages respectively, thereby obtaining the message of the first wavelet device and the message of the second wavelet device.

[0044] For example, the correspondence between TOM values ​​and message types and message content can be shown in the table below:

[0045] TOM value Message Type Message content 0 idle 1 frequency Frequency value 2 Light power during adjustment Optical power setting value during adjustment 3 Pilot frequency The pilot frequency used for TEE to HEE is for channel tagging. 4 Start scanning (adjustment) 5 closure 6 Stop scanning (adjustment) 7 Change optical power New optical power 8 Change frequency New optical frequency 9 Send business traffic 10 Send pilot 11 Stop sending pilot signals 12-1023 System reservation 1024-4027 Other private messages

[0046] In some embodiments, different TOM message types can be selected for message interaction between the first and second wave division multiplexing (WDM) devices by changing the TOM value in the TOM message. For example, the TOM value can be set to 9, which means selecting the message type for sending service traffic for message interaction between the first and second WDM devices. Alternatively, the TOM value can be set to a value between 1024 and 4027 (inclusive), which means selecting the message type for private messages for message interaction between the first and second WDM devices.

[0047] Once the message type of the TOM message is determined, the connection information of the first wave of sub-devices can be written into the TOM message with the determined message type to obtain the message of the first wave of sub-devices. Similarly, the connection information of the second wave of sub-devices can be written into the TOM message with the determined message type to obtain the message of the second wave of sub-devices.

[0048] The formats of the messages obtained from the first and second wave sub-devices are as follows: Figure 2a and Figure 2b As shown, Figure 2a This is a simplified diagram of the message format. Figure 2b This is a detailed diagram of the message format. The Arabic numerals above the Format ID and Format-specific data represent bits. The Format ID is the format identifier used to identify different messages, and the Format-specific data represents the detailed content within the message.

[0049] like Figure 2bAs shown, the format-specific data includes DA DCN context ID, DA DCN context ID cont'd, DA DCN address, DA DCN address cont'd, and Local TCP-ID. DA DCN context ID is the Discovery Agent Data Communication Network ID, representing the agent network ID, occupying 16 bits. It can be left as 0 when filling in. DA DCN context ID cont'd indicates Discovery Agent Data Communication Network ID continued, indicating more agent network IDs. DA DCN address represents the agent network address, occupying 32 bits. The management IPv4 address of the WDM device can be entered. DA DCN address cont'd indicates more agent network addresses. Local TCP-ID represents the local TCP-ID, occupying 32 bits. The subrack, slot, subcard, and port number of the WDM device can be entered separately, with each occupying 8 bits.

[0050] After filling in the message content according to the above format to obtain the messages of the first and second wave division devices, the first and second wave division devices can exchange messages to obtain the first composite message and the second composite message.

[0051] It should be noted that the first composite message and the second composite message can either be written into a TOM message, allowing the first and second wavelength division multiplexing (WDM) devices to directly send the first and second composite messages to the control system at the optical layer using TOM messages, or they can choose not to write into a TOM message and instead send the first and second composite messages to the control system in other ways.

[0052] The second WDM device sends its own message to the first WDM device. After receiving the message from the second WDM device, the first WDM device combines its own message with the message from the second WDM device to obtain a first composite message, which is then sent to the control system. The first WDM device then sends its own message to the second WDM device. After receiving the message from the first WDM device, the second WDM device combines its own message with the message from the first WDM device to obtain a second composite message, which is also sent to the control system. This allows the control system to determine the topology relationship between the first and second WDM devices based on the first and second composite messages.

[0053] In some embodiments, determining the topological relationship between the first wavelength division multiplexing (WDM) device and the second wavelength division multiplexing (WDM) device based on the first composite message and the second composite message includes: determining whether the first composite message and the second composite message are the same; if the first composite message and the second composite message are the same, then determining that the topological relationship between the first WDM device and the second WDM device is a bidirectional connection relationship.

[0054] After receiving the first composite message sent by the first wavelength division multiplexing (WDM) device and the second composite message sent by the second WDM device, the control system can determine whether the first composite message and the second composite message are the same. If the first composite message and the second composite message are the same, it is considered that the first WDM device and the second WDM device are directly connected in both directions, and a bidirectional optical fiber link is formed between the first WDM device and the second WDM device. That is, the topology relationship between the first WDM device and the second WDM device is determined to be a bidirectional connection relationship.

[0055] In some embodiments, since the message from the first WDM device includes connection information of the first WDM device, and the message from the second WDM device includes connection information of the second WDM device, determining whether the first composite message and the second composite message are the same includes: determining whether the connection information of the first WDM device in the first composite message and the connection information of the first WDM device in the second composite message are the same, and whether the connection information of the second WDM device in the first composite message and the connection information of the second WDM device in the second composite message are the same; if the connection information of the first WDM device in the first composite message and the connection information of the second WDM device in the second composite message are the same, then it is determined that the first composite message and the second composite message are the same.

[0056] The connection information of the first WDM device in the first composite message and the connection information of the first WDM device in the second composite message are compared to see if they are the same. Similarly, the connection information of the second WDM device in the first composite message and the connection information of the second WDM device in the second composite message are also compared to see if they are the same. If the connection information of the first WDM device in the first composite message and the connection information of the second WDM device in the second composite message are the same, then the first composite message and the second composite message are considered to be the same.

[0057] If the connection information of the first WDM device in the first composite message is different from that in the second composite message, or if the connection information of the second WDM device in the first composite message is different from that in the second composite message, or if the connection information of the first WDM device in the first composite message is different from that in the second composite message, or if the connection information of the first WDM device in the first composite message is different from that in the second composite message, or if the connection information of the second WDM device in the first composite message is also different from that in the second composite message, then the first composite message and the second composite message are considered to be different.

[0058] After confirming that the first composite message and the second composite message are the same, the topological relationship between the first WDM device and the second WDM device can be determined to be a bidirectional connection, thus completing the determination of the topological relationship between the first WDM device and the second WDM device.

[0059] Please see Figure 3 , Figure 3 This is a schematic diagram illustrating a method for determining the topology of a wavelength division multiplexing (WDM) device according to an embodiment of the present invention.

[0060] like Figure 3 As shown, for example, the local IP address of the first wave division device is 10.10.10.1, and the local TCP-ID is 1. The local IP address of the second wave division device is 10.10.10.2, and the local TCP-ID is 2.

[0061] The first wave division device writes its own connection information, namely its local IP address and local TCP-ID, into the TOM message to obtain the message DM (DA DCN address = 10.10.10.1 TCP-ID = 1) of the first wave division device, and then sends the message of the first wave division device to the second wave division device.

[0062] Similarly, the second wave division device writes its own connection information, namely its local IP address and local TCP-ID, into the TOM message to obtain the second wave division device's message DM (DA DCN address = 10.10.10.2 TCP-ID = 2), and sends the second wave division device's message to the first wave division device.

[0063] After receiving a message from the second wave division multiplexing (WDM) device, the first WDM device combines its own message with the message from the second WDM device to obtain the first combined information, and then sends the first combined information to the control system. Here, `localipadd` and `localTCP-ID` represent the message from the first WDM device, and `peeripadd` and `peerTCP-ID` represent the message from the second WDM device.

[0064] Similarly, after receiving the message from the first wave division multiplexing (WDM) device, the second WDM device combines its own message with the message from the first WDM device to obtain the second combined information, and then sends the second combined information to the control system. Here, `localipadd` and `localTCP-ID` represent the message from the second WDM device, and `peeripadd` and `peerTCP-ID` represent the message from the first WDM device.

[0065] After receiving the first composite information and the second composite information, the control system compares whether the first composite information and the second composite information are the same. When the first composite information and the second composite information are the same, a bidirectional optical fiber link is formed between the first wavelength division multiplexing (WDM) device and the second WDM device.

[0066] The above embodiment provides a method for determining the topology of a wavelength division multiplexing (WDM) device. This method involves receiving a first composite message from a first WDM device and a second composite message from a second WDM device. The topology relationship between the first and second WDM devices is then determined based on these messages. The first composite message is obtained by combining the first WDM device's own packets with packets received from the second WDM device via a first optical interface. The second composite message is obtained by combining the second WDM device's own packets with packets received from the first WDM device via a second optical interface. By determining the topology relationship between the first and second WDM devices using the packets from both devices, and by enabling data interaction at the optical layer via optical interfaces, this method covers optical layer networking scenarios, increases coverage, and improves the efficiency and accuracy of topology model construction.

[0067] Please see Figure 4 , Figure 4 This is a flowchart illustrating a method for determining the topology of a wavelength division multiplexing (WDM) device, as provided in an embodiment of the present invention.

[0068] like Figure 4 As shown, the method for determining the topology of the wavelength division multiplexing (WDM) device includes steps S201 to S203.

[0069] S201. Receive the message sent by the remote wavelength division multiplexing (WDM) device through the local optical interface, and combine the local message with the message of the remote WDM device to obtain the first combined message.

[0070] The local WDM device receives messages sent by the remote WDM device, which refers to the WDM device that exchanges messages with the local WDM device. After receiving the message sent by the remote WDM device, the local WDM device combines its own message with the message sent by the remote WDM device to obtain the first composite message of the local WDM device.

[0071] In one embodiment, both the message itself and the message from the peer wavelength division multiplexing device are G.metro TOM messages.

[0072] S202. Send its own message to the peer WDM device so that the peer WDM device can combine its own message with the peer WDM device's message to obtain a second composite message, and send the second composite message to the control system.

[0073] After the local WDM device sends its own message to the remote WDM device, the remote WDM device combines the received message from the local WDM device with the message from the remote WDM device to obtain a second composite message, and then sends the obtained second composite message to the control system.

[0074] In some embodiments, the method includes: modulating its own message to obtain a modulated message; and sending its own message to a peer wavelength division multiplexing (WDM) device, including: sending the modulated message to the peer WDM device.

[0075] Taking the TOM message as an example of the message between the local and remote wavelength division multiplexing (WDM) devices, after the local WDM device writes its connection information into the TOM message and obtains its own message, it can perform modulation processing on its own message, i.e., the message of the local WDM device, when sending the message of the local WDM device to the remote WDM device. The modulation processing can be, for example, top modulation processing, to obtain the modulated message, and then send the modulated message to the remote WDM device.

[0076] Please see Figure 5 This is a schematic diagram illustrating the message exchange process between the local and remote wavelength division multiplexing (WDM) devices.

[0077] After generating its own message, the local wavelength division multiplexing (WDM) device sends its message through the TOM message channel. Then, the message is tuned through the G.metro channel to obtain the tuned message. Finally, the tuned message is sent to the remote WDM device through the optical port of the local WDM device via the established fiber optic link.

[0078] Similarly, after generating its own message, the peer wavelength division multiplexing (WDM) device sends its message through the TOM message channel, and then the message is tuned through the G.metro channel to obtain the tuned message of the second WDM device. Finally, the tuned message of the peer WDM device is sent to the local WDM device through the optical port of the peer WDM device via the already connected optical fiber link.

[0079] S203. Send the first composite message to the control system so that the control system can determine the topology relationship between the local wavelength division multiplexing (WDM) equipment and the remote wavelength division multiplexing (WDM) equipment based on the first composite message and the second composite message.

[0080] The local wavelength division multiplexing (WDM) device sends a first composite message to the control system, which then determines the topology between the local WDM device and the remote WDM device based on the first composite message and the second composite message.

[0081] After receiving the first composite message and the second composite message, the control system can determine the topology between the local wavelength division multiplexing (WDM) equipment and the remote wavelength division multiplexing (WDM) equipment by determining whether the first composite message and the second composite message are the same.

[0082] The above embodiment provides a method for determining the topology of a wavelength division multiplexing (WDM) device. The local WDM device receives messages from the remote WDM device, combines its own messages with those of the remote WDM device to obtain a first composite message, and then sends its own messages back to the remote WDM device. The remote WDM device then combines its own messages with those of the remote WDM device to obtain a second composite message, which is sent to the control system. Finally, the first composite message is sent to the control system, enabling the control system to determine the topology relationship between the local and remote WDM devices based on the first and second composite messages. The local and remote WDM messages are G.metro TOM messages. Using TOM messages for data interaction at the optical layer increases coverage and improves the efficiency and accuracy of the control system in constructing the topology model.

[0083] Please see Figure 6 , Figure 6 This is a schematic block diagram of a control system provided in an embodiment of the present invention.

[0084] like Figure 6 As shown, the control system 300 includes a processor 301 and a memory 302, which are connected by a bus 303, such as an I2C (Inter-integrated Circuit) bus.

[0085] Specifically, processor 301 provides computing and control capabilities to support the operation of the entire control system. Processor 301 can be a Central Processing Unit (CPU), but it can 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 can be a microprocessor or any conventional processor.

[0086] Specifically, the memory 302 can be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a portable hard drive, etc.

[0087] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the embodiments of the present invention, and does not constitute a limitation on the control system to which the embodiments of the present invention are applied. A specific server may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0088] The processor is used to run a computer program stored in a memory, and when executing the computer program, implements any of the wavelength division multiplexing (WDM) device topology determination methods provided in the embodiments of the present invention.

[0089] In one embodiment, the processor is configured to run a computer program stored in memory, and when executing the computer program, perform the following steps:

[0090] The system receives a first composite message sent by a first wavelength division multiplexing (WDM) device and a second composite message sent by a second WDM device. Based on the first composite message and the second composite message, the system determines the topology relationship between the first WDM device and the second WDM device. The first composite message is a message obtained by combining the first WDM device's own message with the message received by the second WDM device through a first optical interface. The second composite message is a message obtained by combining the second WDM device's own message with the message received by the first WDM device through a second optical interface.

[0091] In one embodiment, when the processor determines the topological relationship between the first wavelength division multiplexing (WDM) device and the second wavelength division multiplexing (WDM) device based on the first synthesis message and the second synthesis message, it is configured to:

[0092] Determine whether the first synthesized message and the second synthesized message are the same; if the first synthesized message and the second synthesized message are the same, then determine that the topology relationship between the first wavelength division multiplexing (WDM) device and the second WDM device is a bidirectional connection relationship.

[0093] In one embodiment, the message from the first wavelength division multiplexing (WDM) device includes connection information of the first WDM device, and the message from the second WDM device includes connection information of the second WDM device; the processor, when implementing the step of determining whether the first synthesized message and the second synthesized message are the same, is configured to:

[0094] Determine whether the connection information of the first wavelength division multiplexing (WDM) device in the first composite message is the same as the connection information of the first WDM device in the second composite message, and whether the connection information of the second WDM device in the first composite message is the same as the connection information of the second WDM device in the second composite message; if the connection information of the first WDM device in the first composite message is the same as the connection information of the first WDM device in the second composite message, and the connection information of the second WDM device in the first composite message is the same as the connection information of the second WDM device in the second composite message, then determine that the first composite message and the second composite message are the same.

[0095] In one embodiment, the messages from the first and second wavelength division multiplexing (WDM) devices are messages configured based on optical signal modulation (EMG), amplitude modulation (AM), or frequency division multiplexing (FDM) techniques; the processor is used to implement:

[0096] Based on G.metro's TOM message extension or other optical tag messages, the messages of the first and second wavelength division multiplexing (WDM) devices are obtained.

[0097] In one embodiment, when the processor obtains the messages from the first wavelength division multiplexing (WDM) device and the second WDM device, it is configured to:

[0098] The TOM value of the TOM message is determined, and the connection information of the first WDM device and the connection information of the second WDM device are written into the TOM message to obtain the messages of the first WDM device and the second WDM device.

[0099] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the control system described above can be referred to the corresponding process in the aforementioned embodiment of the method for determining the topology of wavelength division multiplexing (WDM) equipment, and will not be repeated here.

[0100] Please see Figure 7 , Figure 7 This is a schematic block diagram of a wavelength division multiplexing (WDM) device provided in an embodiment of the present invention.

[0101] like Figure 7 As shown, the control system 400 includes a processor 401 and a memory 402, which are connected via a bus 403, such as an I2C (Inter-integrated Circuit) bus.

[0102] Specifically, processor 401 provides computing and control capabilities to support the operation of the entire wavelength division multiplexing (WDM) equipment. Processor 401 can be a Central Processing Unit (CPU), but it can 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 can be a microprocessor or any conventional processor.

[0103] Specifically, the memory 402 can be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a portable hard drive, etc.

[0104] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the embodiments of the present invention, and does not constitute a limitation on the control system to which the embodiments of the present invention are applied. A specific server may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0105] The processor is used to run a computer program stored in a memory, and when executing the computer program, implements any of the wavelength division multiplexing (WDM) device topology determination methods provided in the embodiments of the present invention.

[0106] In one embodiment, the processor is configured to run a computer program stored in memory, and when executing the computer program, perform the following steps:

[0107] The device receives packets from the peer WDM device via its local optical interface, combines its own packets with the packets from the peer WDM device to obtain a first composite message, and then sends its own packets to the peer WDM device so that the peer WDM device can combine its own packets with the packets from the peer WDM device to obtain a second composite message. The second composite message is then sent to the control system. The first composite message is then sent to the control system so that the control system can determine the topology relationship between the local WDM device and the peer WDM device based on the first composite message and the second composite message. The local packets and the packets from the peer WDM device are G.metro TOM messages.

[0108] In one embodiment, the processor is configured to implement:

[0109] The processor modulates its own message to obtain a modulated message; when the processor sends its own message to the peer wavelength division device, it is used to send the modulated message to the peer wavelength division device.

[0110] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the wavelength division multiplexing (WDM) equipment described above can be referred to the corresponding process in the aforementioned embodiments of the method for determining the topology of WDM equipment, and will not be repeated here.

[0111] This invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs that can be executed by one or more processors to implement the steps of any wavelength division multiplexing (WDM) device topology determination method provided in the specification of this invention.

[0112] The storage medium can be an internal storage unit of the control system or wavelength division multiplexing (WDM) device described in the foregoing embodiments, such as a hard drive or memory of the control system or WDM device. Alternatively, the storage medium can be an external storage device of the control system or WDM device, such as a pluggable hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the control system or WDM device.

[0113] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware embodiments, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0114] It should be understood that the term "and / or" as used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, herein, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0115] The sequence numbers of the above embodiments of the present invention are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The above descriptions are only specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for determining the topology of a wavelength division multiplexing (WDM) device, characterized in that, The method includes: Receive a first composite message sent by the first wavelength division multiplexing (WDM) device and a second composite message sent by the second WDM device, and determine the topological relationship between the first WDM device and the second WDM device based on the first composite message and the second composite message; Wherein, the first composite message is a message obtained by combining the first wavelength division device's own message with the message received by the second wavelength division device through the first optical interface, and the second composite message is a message obtained by combining the second wavelength division device's own message with the message received by the first wavelength division device through the second optical interface. The step of determining the topological relationship between the first wavelength division multiplexing (WDM) device and the second wavelength division multiplexing (WDM) device based on the first composite message and the second composite message includes: Determine whether the first synthesized message and the second synthesized message are the same; If the first synthesized message and the second synthesized message are the same, then the topological relationship between the first wavelength division multiplexing (WDM) device and the second WDM device is determined to be a bidirectional connection. The messages of the first and second wavelength division multiplexing (WDM) devices are TOM messages based on G.metro. The TOM messages are configured based on the optical signal modulation technology, amplitude modulation technology, or frequency division technology to obtain the messages of the first and second WDM devices.

2. The method for determining the topology of a wavelength division multiplexing (WDM) device according to claim 1, characterized in that, The message from the first wavelength division multiplexing (WDM) device includes the connection information of the first WDM device, and the message from the second WDM device includes the connection information of the second WDM device; determining whether the first composite message and the second composite message are the same includes: Determine whether the connection information of the first wavelength division multiplexing device in the first synthesis message is the same as the connection information of the first wavelength division multiplexing device in the second synthesis message, and whether the connection information of the second wavelength division multiplexing device in the first synthesis message is the same as the connection information of the second wavelength division multiplexing device in the second synthesis message; If the connection information of the first wavelength division multiplexing (WDM) device in the first composite message is the same as the connection information of the first WDM device in the second composite message, and the connection information of the second WDM device in the first composite message is the same as the connection information of the second WDM device in the second composite message, then it is determined that the first composite message and the second composite message are the same.

3. The method for determining the topology of a wavelength division multiplexing (WDM) device according to claim 1, characterized in that, The process of obtaining messages from the first wavelength division multiplexing (WDM) device and the second WDM device includes: The TOM value of the TOM message is determined, and the connection information of the first WDM device and the connection information of the second WDM device are written into the TOM message to obtain the messages of the first WDM device and the second WDM device.

4. A method for determining the topology of a wavelength division multiplexing (WDM) device, characterized in that, The method includes: The local optical interface receives messages sent by the remote wavelength division multiplexing (WDM) device, and combines its own message with the message from the remote WDM device to obtain a first composite message. The device sends its own message to the peer wavelength division multiplexing (WDM) device, so that the peer WDM device can combine its own message with the message of the peer WDM device to obtain a second composite message, and send the second composite message to the control system. The first synthesized message is sent to the control system, so that the control system determines the topology relationship between the local wavelength division multiplexing (WDM) device and the peer WDM device based on the first synthesized message and the second synthesized message, including: determining whether the first synthesized message and the second synthesized message are the same; if the first synthesized message and the second synthesized message are the same, then determining that the topology relationship between the local WDM device and the peer WDM device is a bidirectional connection relationship; configuring TOM messages based on optical signal modulation technology, amplitude modulation technology, or frequency division technology to obtain its own message and the message of the peer WDM device, wherein the message of its own message and the message of the peer WDM device are G.metro TOM messages.

5. The method for determining topological relationships according to claim 4, characterized in that, The method includes: The message itself is modulated to obtain a modulated message; Sending its own message to the peer wavelength division multiplexing (WDM) device includes: The modulated message is sent to the peer wavelength division multiplexing (WDM) device.

6. A control system, characterized in that, The control system includes a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for establishing communication between the processor and the memory, wherein when the computer program is executed by the processor, it implements the steps of the method for determining the topology of a wavelength division multiplexing (WDM) device as described in any one of claims 1 to 3.

7. A wavelength division multiplexing (WDM) device, characterized in that, The wavelength division multiplexing (WDM) device includes a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for establishing communication between the processor and the memory, wherein when the computer program is executed by the processor, it implements the steps of the method for determining the topology of the WDM device as described in any one of claims 4 to 5.

8. A storage medium for computer-readable storage, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the steps of the method for determining the topology of a wavelength division multiplexing (WDM) device according to any one of claims 1 to 3, or to implement the steps of the method for determining the topology of a WDM device according to any one of claims 4 to 5.

Citation Information

Patent Citations

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

    CN104283791A

  • Method and device for collecting topological information in SDN network

    CN104320345A

  • Topology collection method and device

    CN107888520A