Method, apparatus and device for transmitting and receiving network management information
Patent Information
- Application Number
- CN202310472385.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-03-21
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2037-03-21
AI Technical Summary
[0006]本发明要解决的技术问题是提供一种网络管理信息的收发方法、装置和设备,用以解决现有技术中FlexE模式的网元和以太网模式的网元无法对通的问题
[0039]本发明在发送端选择当前配置模式对应的传递通道发送网络管理信息;在接收端接收数据流,识别发送端的配置模式,并在该配置模式对应的传递通道获取网络管理信息。通过本发明即便发送端网元和接收端网元的配置模式不同,也可以实现对通,正确获得发送端网元发送的网络管理信息。
Smart Images

Figure CN116418647B_ABST
Abstract
Description
[0001] This application is a divisional application of application number 201710169656.X, with the parent application filed on March 21, 2017; the invention of the parent application is entitled: Method, apparatus, transmitting device and receiving device for transmitting and receiving network management information. Technical Field
[0002] This invention relates to the field of communication technology, and in particular to a method, apparatus, and device for sending and receiving network management information. Background Technology
[0003] The rapid increase in user network traffic has spurred the rapid development of communication network bandwidth. The interface bandwidth of network elements has increased from 10 Mbps to 100 Mbps, and further to 1 Gbps, 10 Gbps, and 100 Gbps. Moreover, 100 Gbps optical modules are already widely available for commercial use. While 400 Gbps optical modules have been developed, their high price—exceeding the cost of four 100 Gbps optical modules—makes commercial use of 400 Gbps optical modules impractical.
[0004] To transmit 400G services over 100G optical modules, the international standards organization defined the FlexE (FLEX-Ethernet) protocol. The FlexE protocol bundles multiple 100G optical modules together to form a high-speed transmission channel, such as... Figure 1 As shown, four 100G optical modules are bundled together using the FlexE protocol to form a 400G transmission channel, which is equivalent to the transmission speed of a single 400G optical module. This solves the transmission requirements of 400G services without increasing costs.
[0005] The FlexE protocol requires both sides of the network element to support the FlexE protocol for communication to be possible and remote network management to be achieved. When network elements are networked, each optical port is in a fixed mode by default, typically Ethernet mode (not FlexE mode). Immediately after the network element is powered on, all optical ports on both sides are in Ethernet mode. At this time, the network elements can network and communicate, the network management channel is normal, and the entire network can be remotely managed. The management device in the network issues a command to each network element to enable FlexE mode. Each network element begins to enable FlexE mode. Due to the time difference in signal transmission, some network elements start FlexE mode first, some later, and some may not receive or only partially receive the command to enable FlexE mode. This can lead to problems when network elements in FlexE mode are connected to network elements in Ethernet mode, such as... Figure 2As shown, the network element on the left is in FlexE mode, and the network element on the right is in Ethernet mode. The two network elements support different protocols and have different management channel locations, so they cannot communicate with each other, resulting in a management channel interruption. All network elements cannot connect. Moreover, if a network element fails to switch from Ethernet mode to FlexE mode, the entire network will be interrupted and paralyzed, making management impossible. Summary of the Invention
[0006] The technical problem to be solved by the present invention is to provide a method, apparatus and device for sending and receiving network management information, so as to solve the problem that network elements in FlexE mode and network elements in Ethernet mode cannot communicate with each other in the prior art.
[0007] To solve the above-mentioned technical problems, the present invention provides the following technical solution:
[0008] The present invention provides a method for receiving network management information, comprising: detecting whether a FlexE first overhead block exists in a data stream sent by a transmitting device to identify the configuration mode of the transmitting device; and receiving network management information sent by the transmitting device according to the configuration mode of the transmitting device.
[0009] The step of receiving network management information sent by the sending device according to the configuration mode of the sending device includes: selecting a transmission channel corresponding to the configuration mode according to the configuration mode of the sending device; and receiving the network management information sent by the sending device through the transmission channel.
[0010] The configuration modes of the transmitting device include: Ethernet mode and Flexible Ethernet (FlexE) mode; the transmission channels include: the Ethernet channel corresponding to the Ethernet mode and the FlexE channel corresponding to the FlexE mode.
[0011] The step of identifying the configuration mode of the transmitting device based on the data stream sent by the transmitting device includes: detecting whether there is a FlexE first overhead block in the data stream; if the presence of the FlexE first overhead block is detected in the data stream, determining that the configuration mode of the transmitting device is FlexE mode; if the absence of the FlexE first overhead block is detected in the data stream, determining that the configuration mode of the transmitting device is Ethernet mode.
[0012] The method further includes, before receiving network management information sent by the transmitting device in the transmission channel: searching for the network management information in the data stream sent by the transmitting device; if the network management information is found, inputting the network management information into the selected transmission channel so as to receive the network management information sent by the transmitting device in the selected transmission channel; searching for the first FlexE overhead block in the data stream sent by the transmitting device; if the first FlexE overhead block is found, extracting the network management information from the FlexE management channel overhead block, and inputting the extracted network management information into the selected transmission channel so as to receive the network management information sent by the transmitting device in the selected transmission channel.
[0013] Specifically, the first overhead block of FlexE refers to a 66-bit code block, in which the corresponding characteristic positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol; the FlexE management channel overhead block refers to the 4th-5th overhead block and / or the 7th-8th overhead block of FlexE carrying management information; the 4th-5th overhead block of FlexE transmits Manage channel-section management channel information, and the 7th-8th overhead block of FlexE transmits Manage channel-shim to shim management channel information.
[0014] The present invention provides a network management information receiving device, comprising: an identification module for detecting whether a FlexE first overhead block exists in a data stream sent by a transmitting device, so as to identify the configuration mode of the transmitting device; and a receiving module for receiving network management information sent by the transmitting device according to the configuration mode of the transmitting device.
[0015] The receiving module includes: a selection unit, configured to select a transmission channel corresponding to the configuration mode of the transmitting device according to the configuration mode of the transmitting device; and a receiving unit, configured to receive network management information sent by the transmitting device through the transmission channel.
[0016] The configuration modes of the transmitting device include: Ethernet mode and Flexible Ethernet (FlexE) mode; wherein the transmission channel corresponding to the Ethernet mode is an Ethernet channel, and the transmission channel corresponding to the FlexE mode is a FlexE channel.
[0017] The identification module is configured to: determine that the configuration mode of the transmitting device is FlexE mode when the first overhead block of FlexE is detected in the data stream; and determine that the configuration mode of the transmitting device is Ethernet mode when the first overhead block of FlexE is not detected in the data stream.
[0018] The device further includes: a search module, configured to search for the network management information in the data stream sent by the transmitting device before receiving the network management information sent by the transmitting device in the transmission channel; if the network management information is found, input the network management information into the selected transmission channel so as to receive the network management information sent by the transmitting device in the selected transmission channel; and an extraction module, configured to search for the first FlexE overhead block in the data stream sent by the transmitting device before receiving the network management information sent by the transmitting device in the transmission channel corresponding to the configuration mode; if the first FlexE overhead block is found, extract the network management information from the FlexE management channel overhead block and input the extracted network management information into the selected transmission channel so as to receive the network management information sent by the transmitting device in the selected transmission channel.
[0019] Specifically, the first overhead block of FlexE refers to a 66-bit code block, where the corresponding characteristic positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol. The FlexE management channel overhead block refers to the 4th-5th and / or 7th-8th overhead blocks of FlexE, which carry management information. The 4th-5th overhead block transmits Manage channel-section management channel information, and the 7th-8th overhead block transmits Manage channel-shim to shim management channel information.
[0020] The present invention also provides a receiving device, the receiving device including a processor for data processing, a memory for data storage, and a data transceiver for data transmission and / or reception. When the processor executes data stored in the memory, it performs the following operations: detecting whether there is a FlexE first overhead block in the data stream transmitted by the transmitting device to identify the configuration mode of the transmitting device; and receiving network management information transmitted by the transmitting device according to the configuration mode of the transmitting device.
[0021] The step of receiving network management information sent by the sending device according to the configuration mode of the sending device includes: selecting a transmission channel corresponding to the configuration mode according to the configuration mode of the sending device; and receiving the network management information sent by the sending device through the transmission channel.
[0022] The configuration modes of the transmitting device include: Ethernet mode and Flexible Ethernet (FlexE) mode; the transmission channels include: an Ethernet channel corresponding to Ethernet mode and a FlexE channel corresponding to FlexE mode.
[0023] The step of identifying the configuration mode of the transmitting device based on the data stream sent by the transmitting device includes: detecting whether there is a FlexE first overhead block in the data stream; if the presence of the FlexE first overhead block is detected in the data stream, determining that the configuration mode of the transmitting device is FlexE mode; if the absence of the FlexE first overhead block is detected in the data stream, determining that the configuration mode of the transmitting device is Ethernet mode.
[0024] The method further includes, before receiving network management information sent by the transmitting device in the transmission channel: searching for the network management information in the data stream sent by the transmitting device; if the network management information is found, inputting the network management information into the selected transmission channel so as to receive the network management information sent by the transmitting device in the selected transmission channel; searching for the first FlexE overhead block in the data stream sent by the transmitting device; if the first FlexE overhead block is found, extracting the network management information from the FlexE management channel overhead block, and inputting the extracted network management information into the selected transmission channel so as to receive the network management information sent by the transmitting device in the selected transmission channel.
[0025] Specifically, the first overhead block of FlexE refers to a 66-bit code block, in which the corresponding feature positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol; the FlexE management channel overhead block refers to the 4th-5th overhead block and / or the 7th-8th overhead block of FlexE carrying management information. The 4th-5th overhead block of FlexE transmits Manage channel-section management channel information, and the 7th-8th overhead block of FlexE transmits Manage channel-shim to shim management channel information.
[0026] The present invention provides a method for sending network management information, comprising: selecting a transmission channel corresponding to the configuration mode of the sending device; carrying network management information in a data stream; and sending the data stream to a receiving device through the transmission channel.
[0027] The configuration modes of the transmitting device include: Ethernet mode and Flexible Ethernet (FlexE) mode; wherein the transmission channel corresponding to the Ethernet mode is an Ethernet channel, and the transmission channel corresponding to the FlexE mode is a FlexE channel.
[0028] The step of carrying network management information in a data stream and sending the data stream to the receiving device through the transmission channel includes: if the transmission channel corresponding to the configuration mode is an Ethernet channel, then inserting the network management information into the Ethernet data stream and sending the Ethernet data stream to the receiving device through the Ethernet channel; if the transmission channel corresponding to the configuration mode is a FlexE channel, then encapsulating the network management information in the FlexE management channel overhead block of the FlexE data stream and sending the FlexE data stream to the receiving device through the FlexE channel.
[0029] Specifically, the first overhead block of FlexE refers to a 66-bit code block, in which the corresponding feature positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol; the FlexE management channel overhead block refers to the 4th-5th overhead block and / or the 7th-8th overhead block of FlexE carrying management information. The 4th-5th overhead block of FlexE transmits Manage channel-section management channel information, and the 7th-8th overhead block of FlexE transmits Manage channel-shim to shim management channel information.
[0030] The present invention provides a network management information sending device, comprising: a selection module, used to select a transmission channel corresponding to the configuration mode according to the configuration mode of the sending device; and a sending module, used to carry network management information in a data stream and send the data stream to a receiving device through the transmission channel.
[0031] The configuration modes of the transmitting device include: Ethernet mode and Flexible Ethernet (FlexE) mode; wherein the transmission channel corresponding to the Ethernet mode is an Ethernet channel, and the transmission channel corresponding to the FlexE mode is a FlexE channel.
[0032] The sending module is configured to: if the transmission channel corresponding to the configuration mode is an Ethernet channel, insert the network management information into the Ethernet data stream and send the Ethernet data stream to the receiving device through the Ethernet channel; if the transmission channel corresponding to the configuration mode is a FlexE channel, encapsulate the network management information in the FlexE management channel overhead block of the FlexE data stream and send the FlexE data stream to the receiving device through the FlexE channel.
[0033] Specifically, the first overhead block of FlexE refers to a 66-bit code block, in which the corresponding feature positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol; the FlexE management channel overhead block refers to the 4th-5th overhead block and / or the 7th-8th overhead block of FlexE carrying management information. The 4th-5th overhead block of FlexE transmits Manage channel-section management channel information, and the 7th-8th overhead block of FlexE transmits Manage channel-shim to shim management channel information.
[0034] The present invention provides a transmitting device, which includes a processor for data processing, a memory for data storage, and a data transceiver for data transmission and / or reception. When the processor executes data stored in the memory, it performs the following operations: selects a transmission channel corresponding to the configuration mode according to the configuration mode of the transmitting device; carries network management information in the data stream, and sends the data stream to a receiving device through the transmission channel.
[0035] The configuration modes of the transmitting device include: Ethernet mode and Flexible Ethernet (FlexE) mode; wherein the transmission channel corresponding to the Ethernet mode is an Ethernet channel, and the transmission channel corresponding to the FlexE mode is a FlexE channel.
[0036] The step of carrying network management information in a data stream and sending the data stream to the receiving device through the transmission channel includes: if the transmission channel corresponding to the configuration mode is an Ethernet channel, then inserting the network management information into the Ethernet data stream and sending the Ethernet data stream to the receiving device through the Ethernet channel; if the transmission channel corresponding to the configuration mode is a FlexE channel, then encapsulating the network management information in the FlexE management channel overhead block of the FlexE data stream and sending the FlexE data stream to the receiving device through the FlexE channel.
[0037] Specifically, the first overhead block of FlexE refers to a 66-bit code block, in which the corresponding feature positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol; the FlexE management channel overhead block refers to the 4th-5th overhead block and / or the 7th-8th overhead block of FlexE carrying management information. The 4th-5th overhead block of FlexE transmits Manage channel-section management channel information, and the 7th-8th overhead block of FlexE transmits Manage channel-shim to shim management channel information.
[0038] The beneficial effects of this invention are as follows:
[0039] This invention involves sending network management information at the sending end by selecting the transmission channel corresponding to the current configuration mode; and at the receiving end, receiving the data stream, identifying the sending end's configuration mode, and obtaining network management information from the transmission channel corresponding to that configuration mode. This invention enables communication even if the sending and receiving network elements have different configuration modes, ensuring the correct acquisition of the network management information sent by the sending network element. Attached Figure Description
[0040] Figure 1 This is a theoretical networking diagram of the FlexE protocol in existing technology;
[0041] Figure 2 This is a network topology diagram illustrating problems encountered in actual networking using the FlexE protocol in existing technologies.
[0042] Figure 3 This is a flowchart of a method for sending network management information according to a first embodiment of the present invention;
[0043] Figure 4 This is a schematic diagram of inserting the first overhead block of FlexE into the data stream according to the first embodiment of the present invention;
[0044] Figure 5 This is a schematic diagram of the structure of the overhead frame according to the first embodiment of the present invention;
[0045] Figure 6 This is a flowchart of a method for receiving network management information according to a second embodiment of the present invention;
[0046] Figure 7 This is a structural diagram of a network management information sending device according to a third embodiment of the present invention;
[0047] Figure 8 This is a structural diagram of a network management information receiving device according to a fourth embodiment of the present invention;
[0048] Figure 9-1This is a schematic diagram of the transmission and reception of network management information according to the fifth embodiment of the present invention;
[0049] Figure 9-2 This is a schematic diagram of the network management information transmission path of the network element transmitting end according to the fifth embodiment of the present invention;
[0050] Figure 9-3 This is a schematic diagram of the network management information receiving path of the network element receiving end according to the fifth embodiment of the present invention;
[0051] Figure 10-1 This is a schematic diagram of the transmission and reception of network management information according to the sixth embodiment of the present invention;
[0052] Figure 10-2 This is a schematic diagram of the network management information receiving path of the network element receiving end according to the sixth embodiment of the present invention;
[0053] Figure 11-1 This is a schematic diagram of the transmission and reception of network management information according to the seventh embodiment of the present invention;
[0054] Figure 11-2 This is a schematic diagram of the network management information transmission path of the network element transmitting end according to the seventh embodiment of the present invention;
[0055] Figure 12 This is a schematic diagram of the hardware structure of a transmitting device according to the eighth embodiment of the present invention;
[0056] Figure 13 This is a schematic diagram of the hardware structure of a receiving device according to the ninth embodiment of the present invention. Detailed Implementation
[0057] The main idea of this invention is that the sending end selects the transmission channel corresponding to the current configuration mode to send network management information; the receiving end receives the data stream, identifies the configuration mode of the sending end, and obtains the network management information from the transmission channel corresponding to that configuration mode. Through this invention, even if the configuration modes of the sending and receiving network elements are different, communication can still be achieved, and the network management information sent by the sending network element can be correctly obtained.
[0058] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the scope of the invention.
[0059] Example 1
[0060] This embodiment provides a method for sending network management information. The executing entity in this embodiment is a sending device, which may be an optical module.
[0061] Figure 3 This is a flowchart of a method for sending network management information according to a first embodiment of the present invention.
[0062] Step S310: Select the transmission channel corresponding to the configuration mode according to the configuration mode of the transmitting device.
[0063] It can identify the configuration mode of the transmitting device and select the transmission channel corresponding to the configuration mode.
[0064] The configuration modes for transmitting devices include: Ethernet mode and FlexE mode.
[0065] Specifically, you can query the configuration information of the transmitting device to identify whether the current configuration mode of the transmitting device is Ethernet mode or FlexE mode.
[0066] The types of transmission channels include: Ethernet channel and FlexE channel.
[0067] The transmission channel corresponding to the Ethernet mode is the Ethernet channel, and the transmission channel corresponding to the FlexE mode is the FlexE channel.
[0068] Step S320: The network management information is carried in the data stream and the data stream is sent to the receiving device through the transmission channel.
[0069] Network management information is used to implement network management. Examples of network management information include query information, reporting information, and control information.
[0070] The transmitting device transmits data streams in the appropriate format according to its configuration mode. In Ethernet mode, the transmitting device transmits Ethernet data streams; in FlexE mode, it transmits FlexE data streams.
[0071] If the transmission channel corresponding to the configuration mode of the sending device is an Ethernet channel, then the network management information is inserted into the Ethernet data stream, and the Ethernet data stream is sent to the receiving device through the Ethernet channel, so that the network management information is transmitted together with the Ethernet data stream.
[0072] If the transmission channel corresponding to the configuration mode of the sending device is a FlexE channel, the network management information is encapsulated in the FlexE management channel overhead block of the FlexE data stream, and the FlexE data stream is sent to the receiving device through the FlexE channel. Further, data blocks carrying service data and network management information are combined, with the network management information carried in a management overhead block, to generate a FlexE format data stream. Eight consecutive FlexE overhead blocks form an overhead frame, which can encapsulate network management information in one or more management channel overhead blocks.
[0073] Specifically, in FlexE mode, before transmitting data, the optical module performs 64 / 66 encoding, expanding the 64-bit data to 66 bits. The two added bits are the first two bits of the 66-bit data, serving as the start marker. The 66-bit data block is then transmitted from the optical module's optical port. Upon reception, the optical module's optical port identifies the 66-bit data block from the received data stream, recovers the original 64-bit data from it, and reassembles it into a data packet.
[0074] The FlexE protocol operates at the 64-bit to 66-bit conversion layer. Optical modules insert an overhead block every 20 * 1023 66-bit data blocks. Before sending 66-bit data blocks, they are sorted and planned, dividing them into groups of 20 66-bit data blocks, each representing a time slot, and each time slot representing a 5G bandwidth service speed. When sending the FlexE data stream, after every 1023 data block groups (1023 * 20 data blocks), the first FlexE overhead block is inserted, such as... Figure 4 As shown, the white blocks are data blocks, and the black blocks are the first overhead blocks of FlexE. After inserting an overhead block, data blocks continue to be sent. After sending the second 1023*20 data blocks, another first overhead block of FlexE is inserted, and so on. In this way, during the sending of data blocks, the first overhead blocks of FlexE are periodically inserted, with an interval of 1023*20 data blocks between two adjacent first overhead blocks.
[0075] Overhead blocks are 66-bit data blocks that are inserted every 1023*20 data blocks during data stream transmission. Overhead blocks serve a location function throughout the data stream; by locating an overhead block, the position of the first group of data blocks and subsequent groups of data blocks in the stream can be determined.
[0076] Eight consecutive overhead blocks form an overhead frame. The content of an overhead frame is as follows: Figure 5 An overhead block consists of a 2-bit block flag and a 64-bit block content. The block flag is located in the first two columns, and the block content is in the last 64 columns. The block flag of the first overhead block is 10, and the block flags of the next seven overhead blocks are 01 or SS (SS indicates that the content is indeterminate).
[0077] The contents of the first overhead block of FlexE are: 0x4B (hexadecimal 4B), the C bit of the first overhead block (indicating adjustment control), the OMF bit (indicating overhead frame multiframe indication), the RPF bit (indicating remote defect indication), the RES bit (reserved bit), the FlexE group number (indicating the bundle group number), 0x5 (hexadecimal 5), and 000000 (hexadecimal 0). 0x4B and 0x5 are the flags indicating the first overhead block. During reception, when an overhead block is detected with the corresponding positions 0x4B and 0x5, it indicates that this overhead block is the first overhead block in an overhead frame. This overhead block and the following seven consecutive overhead blocks form an overhead frame.
[0078] The second overhead block contains the C bit (indicating adjustment control), PHY MAP (indicating the usage status of the PHY (Physical Layer), PHY number (indicating the PHY where the slot is located), and the reserved part is reserved content that has not yet been defined.
[0079] The third overhead block contains the following bits: C bit (indicating adjustment control), Client calendar A (indicating the type of client service loaded in the slot), Client calendar B (indicating the type of client service loaded in the slot), CR (request to add or delete client services in the slot), CA (feedback to add or delete client services in the slot), and CRC-16 (CRC-16 checksum).
[0080] Overhead blocks 4 through 8 of FlexE can be used to carry network management information, and are called FlexE management channel overhead blocks. Further, within the overhead frame, management channel information is divided into two levels: Manage channel-section (segment-level management channel) and Manage channel-shim to shim (shim to shim management channel). The Manage channel-section is located in overhead blocks 4 and 5, and the Manage channel-shim to shim is located in overhead blocks 6 through 8, or the Manage channel-shim to shim is located only in overhead blocks 7 and 8. If the data stream needs to pass through a third-party network to reach the receiving end, network management information is carried in the Manage channel-shim to shim; otherwise, network management information is carried in the Manage channel-section and / or Manage channel-shim to shim.
[0081] Example 2
[0082] This embodiment provides a method for receiving network management information. Figure 6 This is a flowchart of a method for receiving network management information according to a second embodiment of the present invention. The executing entity in this embodiment is a receiving device.
[0083] Step S610: Identify the configuration mode of the transmitting device based on the data stream sent by the transmitting device.
[0084] Step S620: Receive network management information sent by the sending device according to the configuration mode of the sending device.
[0085] The transmission device can be configured in two modes: Ethernet mode and Flexible Ethernet (FlexE) mode.
[0086] The data stream sent by the transmitting device may be an Ethernet data stream or a FlexE data stream.
[0087] When identifying the configuration mode of the transmitting device, if the data stream is identified as an Ethernet packet format, then the data stream is an Ethernet data stream and the configuration module of the transmitting device is in Ethernet mode; if the data stream is identified as a FlexE data stream format, then the data stream is a FlexE data stream and the configuration module of the transmitting device is in FlexE mode.
[0088] If the received data stream is an Ethernet data stream, search for network management information in the Ethernet data stream; if the received data stream is a FlexE data stream, query the first overhead block of the FlexE data stream and extract the network management information from the FlexE overhead block.
[0089] Specifically, based on the configuration mode of the transmitting device, the corresponding transmission channel is selected; and the network management information sent by the transmitting device is received on the transmission channel corresponding to the configuration mode. The transmission channel corresponding to Ethernet mode is the Ethernet channel, and the transmission channel corresponding to FlexE mode is the FlexE channel.
[0090] When identifying the configuration mode of the transmitting device, the presence of the FlexE first overhead block in the data stream is detected. If the FlexE first overhead block exists in the data stream, the data stream is framed. If framing is successful, the transmitting device is in FlexE mode; otherwise, the transmitting device is in Ethernet mode. In other words, if the FlexE first overhead block does not exist in the data stream or framing fails, the transmitting device is in Ethernet mode. Further, the FlexE overhead block includes eight consecutive overhead blocks, which can encapsulate network management information within one or more management channel overhead blocks. Framing the data stream involves detecting the presence of the FlexE first overhead block in the data stream. If the FlexE first overhead block exists, its position in the overhead frame is determined. If the first to fifth FlexE first overhead blocks in the overhead frame can be detected consecutively in chronological order, framing is successful; otherwise, framing fails.
[0091] Based on the configuration mode of the transmitting device, the corresponding transmission channel is selected, i.e., the corresponding transmission channel is selected; before receiving network management information sent by the transmitting device on the transmission channel corresponding to the configuration mode, the following steps are also included:
[0092] Step A: Search for network management information in the data stream sent by the sending device. If network management information is found, input the network management information into the selected transmission channel so that the network management information sent by the sending device can be received in the selected transmission channel.
[0093] Step B: In the data stream sent by the transmitting device, locate the first FlexE overhead block. If the first FlexE overhead block is found, extract network management information from the FlexE management channel overhead block and input the extracted network management information into the selected transmission channel so that the network management information sent by the transmitting device can be received on the selected transmission channel. The first FlexE overhead block refers to a 66-bit code block, where the corresponding characteristic positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol. The FlexE management channel overhead block refers to the FlexE 4th-5th overhead blocks and / or the FlexE 7th-8th overhead blocks carrying management information. The FlexE 4th-5th overhead blocks transmit Manage channel-section management information, and the FlexE 7th-8th overhead blocks transmit Manage channel-shim to shim management information.
[0094] Steps A and B can be executed simultaneously. Since the configuration mode of the transmitting device is Ethernet mode or FlexE mode, one of the steps in steps A and B must be able to obtain network management information. The configuration mode and the selected transmission channel correspond to the data stream type (Ethernet data stream or FlexE data stream) processed by the step that obtains network management information.
[0095] This embodiment enables communication between the transmitting and receiving devices, reducing the risk of network interruption and paralysis, and enhancing network reliability.
[0096] Example 3
[0097] This embodiment provides a device for sending network management information. Figure 7 This is a structural diagram of a network management information sending device according to a third embodiment of the present invention. The network management information sending device of this embodiment can be installed in a sending device.
[0098] The device for transmitting network management information includes:
[0099] Selection module 710 is used to select the transmission channel corresponding to the configuration mode according to the configuration mode of the transmitting device.
[0100] The sending module 720 is used to carry network management information in a data stream and send the data stream to the receiving device through the transmission channel.
[0101] Furthermore, the configuration modes of the transmitting device include: Ethernet mode and Flexible Ethernet (FlexE) mode; wherein, the transmission channel corresponding to the Ethernet mode is an Ethernet channel, and the transmission channel corresponding to the FlexE mode is a FlexE channel.
[0102] Further, the sending module 720 is configured to, if the transmission channel corresponding to the configuration mode is an Ethernet channel, insert the network management information into the Ethernet data stream and send the Ethernet data stream to the receiving device through the Ethernet channel. If the transmission channel corresponding to the configuration mode is a FlexE channel, encapsulate the network management information in the FlexE management channel overhead block of the FlexE data stream and send the FlexE data stream to the receiving device through the FlexE channel.
[0103] Furthermore, the first overhead block of FlexE refers to a 66-bit code block, where the corresponding feature positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol. The FlexE management channel overhead block refers to the 4th-5th and / or 7th-8th overhead blocks carrying management information. The 4th-5th overhead block transmits Manage channel-section information, while the 7th-8th overhead block is used for Manage channel-shim to shim information.
[0104] The function of the device described in this embodiment has been described in the above method embodiments. Therefore, for any parts not detailed in the description of this embodiment, please refer to the relevant descriptions in the foregoing embodiments, which will not be repeated here.
[0105] Example 4
[0106] This embodiment provides a device for receiving network management information. Figure 8 This is a structural diagram of a network management information receiving device according to a fourth embodiment of the present invention. The network management information receiving device of this embodiment can be installed in a receiving device.
[0107] The network management information receiving device includes:
[0108] The identification module 810 is used to identify the configuration mode of the transmitting device based on the data stream sent by the transmitting device.
[0109] The receiving module 820 is used to receive network management information sent by the transmitting device according to the configuration mode of the transmitting device.
[0110] Furthermore, the receiving module 820 includes: a selection unit 821 and a receiving unit 822;
[0111] Selection unit 821 is used to select the transmission channel corresponding to the configuration mode according to the configuration mode of the transmitting device;
[0112] The receiving unit 822 is used to receive network management information sent by the sending device through the transmission channel corresponding to the configuration mode.
[0113] Furthermore, the configuration modes of the transmitting device include: Ethernet mode and Flexible Ethernet (FlexE) mode; wherein, the transmission channel corresponding to the Ethernet mode is an Ethernet channel, and the transmission channel corresponding to the FlexE mode is a FlexE channel.
[0114] Furthermore, the identification module 810 is configured to: detect whether the first FlexE overhead block exists in the data stream; if the first FlexE overhead block exists in the data stream, frame the data stream; if the framing is successful, the transmitting device is in FlexE mode, otherwise the transmitting device is in Ethernet mode.
[0115] Furthermore, the device also includes a search module and an extraction module, which are not shown in the figure.
[0116] The search module is used to search for network management information in the data stream sent by the sending device before receiving network management information sent by the sending device in the transmission channel corresponding to the configuration mode. If the network management information is found, the network management information is input into the selected transmission channel so that the network management information sent by the sending device can be received in the selected transmission channel.
[0117] The extraction module is used to search for the first FlexE overhead block in the data stream sent by the sending device before receiving network management information sent by the sending device in the transmission channel corresponding to the configuration mode. If the first FlexE overhead block is found, the network management information is extracted from the FlexE management channel overhead block, and the extracted network management information is input into the selected transmission channel so as to receive the network management information sent by the sending device in the selected transmission channel.
[0118] Furthermore, the first overhead block of FlexE refers to a 66-bit code block, where the corresponding characteristic positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol. The FlexE management channel overhead block refers to the 4th-5th and / or 7th-8th overhead blocks of FlexE, which carry management information. The 4th-5th overhead blocks of FlexE transmit Manage channel-section information, and the 7th-8th overhead blocks of FlexE transmit Manage channel-shimto-shim information.
[0119] The function of the device described in this embodiment has been described in the above method embodiments. Therefore, for any parts not detailed in the description of this embodiment, please refer to the relevant descriptions in the foregoing embodiments, which will not be repeated here.
[0120] The following are several specific examples to further describe the method for sending and receiving network management information according to the present invention.
[0121] Since a network element includes both a transmitter and a receiver, it can function as both a transmitter and a receiver.
[0122] Example 5
[0123] This embodiment provides a method for sending and receiving network management information for network elements with the same configuration mode. Figure 9-1 This is a schematic diagram of the transmission and reception of network management information according to the fifth embodiment of the present invention; Figure 9-2 This is a schematic diagram of the network management information transmission path of the network element transmitting end according to the fifth embodiment of the present invention; Figure 9-3 This is a schematic diagram of the network management information receiving path of the network element receiving end according to the fifth embodiment of the present invention.
[0124] In this embodiment, both network element 1 and network element 2 are in Ethernet mode. Network element 1 can send network management information to network element 2 and can also receive network management information sent by network element 2.
[0125] The following is a detailed explanation of the transmitting and receiving ends of network element 1:
[0126] At the transmitting end of network element 1, the customer service port outputs customer data streams, and the management information port outputs network management information. The packet insertion module inserts the network management information into the customer data stream, forming an Ethernet data stream. The management information control module controls the selector to output the Ethernet data stream through the Ethernet channel. In Ethernet mode, the FlexE frame generation module at the transmitting end discards the FlexE data stream. The management information control module is equivalent to the selection module 710 mentioned above, and the FlexE frame generation module and packet insertion module are equivalent to the transmitting module 720 mentioned above.
[0127] At the receiving end of network element 1, the Ethernet packet management information search module and the FlexE frame management channel information extraction module search for and extract network management information, respectively. Since network element 2 is in Ethernet mode, at the receiving end of network element 1, the Ethernet packet management information search module can find the correct network management information, while the FlexE frame management channel information extraction module cannot find the FlexE overhead block and therefore cannot extract the network management information, and does not output any results. The FlexE frame diagnostic module cannot find the overhead block, resulting in frame fixing failure, and outputs selection control information. The control selector outputs network management information to the management information port through the Ethernet channel. Specifically, the Ethernet packet management information search module is equivalent to the aforementioned search module, the FlexE frame management channel information extraction module is equivalent to the aforementioned extraction module, the FlexE frame diagnostic module and the management information port are equivalent to the aforementioned receiving unit 820, the FlexE frame diagnostic module is equivalent to the aforementioned selection unit 821, and the management information port is equivalent to the aforementioned receiving unit 822.
[0128] Example 6
[0129] This embodiment provides a method for sending and receiving network management information for network elements with different configuration modes. Figure 10-1 This is a schematic diagram of the transmission and reception of network management information according to the sixth embodiment of the present invention; Figure 10-2 This is a schematic diagram of the network management information receiving path of the network element receiving end according to the sixth embodiment of the present invention.
[0130] In this embodiment, network element 1 is in Ethernet mode and network element 2 is in FlexE mode. Network element 1 can send network management information to network element 2 and can also receive network management information sent by network element 2.
[0131] The following is a detailed explanation of the transmitting and receiving ends of network element 1:
[0132] refer to Figure 9-2 At the transmitting end of network element 1, the customer service port outputs customer data streams, and the management information port outputs network management information. The packet insertion module inserts the network management information into the customer data stream, forming an Ethernet data stream. The management information control module controls the selector to output Ethernet data streams through the Ethernet channel. In Ethernet mode, the FlexE frame generation module at the transmitting end is not working, therefore no FlexE data stream is output.
[0133] refer to Figure 10-2 At the receiving end of network element 1, the Ethernet packet management information search module and the FlexE frame management channel information extraction module search for and extract network management information, respectively. Since network element 2 is in FlexE mode, the data stream received at the receiving end of network element 1 is a FlexE data stream. The Ethernet packet management information search module cannot find the correct network management information or the searched content is incorrect. The FlexE frame management channel information extraction module can find the FlexE overhead block, extract the network management information, and output it. The FlexE frame diagnostic module can find the overhead block and successfully frame it, outputting selection control information. The control selector outputs network management information to the management information port through the FlexE channel.
[0134] Example 7
[0135] This embodiment provides a method for sending and receiving network management information for network elements with the same configuration mode. Figure 11-1 This is a schematic diagram of the transmission and reception of network management information according to the seventh embodiment of the present invention; Figure 11-2 This is a schematic diagram of the network management information transmission path of the network element transmitting end according to the seventh embodiment of the present invention.
[0136] In this embodiment, both network element 1 and network element 2 are in FlexE mode. Network element 1 can send network management information to network element 2 and can also receive network management information sent by network element 2.
[0137] The following is a detailed explanation of the transmitting and receiving ends of network element 1:
[0138] refer to Figure 11-2 At the transmitting end of network element 1, the customer service port outputs customer data streams, and the management information port outputs network management information. The FlexE frame generation module works normally, combining the customer service streams and network management information into a FlexE frame structure, forming a FlexE data stream. The management information control module controls the selector to output the FlexE data stream through the FlexE channel. The output result of the packet insertion module is discarded.
[0139] refer to Figure 10-2 At the receiving end of network element 1, the Ethernet packet management information search module and the FlexE frame management channel information extraction module search for and extract network management information, respectively. Since network element 2 is in FlexE mode, the data stream received at the receiving end of network element 1 is a FlexE data stream. The Ethernet packet management information search module cannot find the correct network management information or the searched content is incorrect. The FlexE frame management channel information extraction module can find the FlexE overhead block, extract the network management information, and output it. The FlexE frame diagnostic module can find the overhead block and successfully frame it, outputting selection control information. The control selector outputs network management information to the management information port through the FlexE channel.
[0140] This invention receives data streams at the receiving end of a network element, identifies the configuration mode of the sending end, and obtains network management information from the transmission channel corresponding to that configuration mode. Even if the configuration modes of the sending and receiving network elements are different, this invention can still achieve communication and correctly obtain the network management information sent by the sending network element, thus enhancing network reliability.
[0141] Example 8
[0142] This embodiment also provides a computer program, a storage medium storing the program, and a transmitting device. The program is used to select a transmission channel corresponding to the configuration mode of the transmitting device; to carry network management information in a data stream; and to transmit the data stream to a receiving device through the transmission channel.
[0143] Furthermore, the configuration modes of the transmitting device include: Ethernet mode and Flexible Ethernet (FlexE) mode; wherein, the transmission channel corresponding to the Ethernet mode is an Ethernet channel, and the transmission channel corresponding to the FlexE mode is a FlexE channel.
[0144] Further, the step of carrying network management information in a data stream and sending the data stream to the receiving device through the transmission channel includes: if the transmission channel corresponding to the configuration mode is an Ethernet channel, then inserting the network management information into the Ethernet data stream and sending the Ethernet data stream to the receiving device through the Ethernet channel; if the transmission channel corresponding to the configuration mode is a FlexE channel, then encapsulating the network management information in the first overhead block of the FlexE data stream and sending the FlexE data stream to the receiving device through the FlexE channel.
[0145] Furthermore, the first overhead block of FlexE refers to a 66-bit code block, where the corresponding characteristic positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol. The FlexE management channel overhead block refers to the 4th-5th and / or 7th-8th overhead blocks of FlexE, which carry management information. The 4th-5th overhead blocks of FlexE transmit Manage channel-section information, and the 7th-8th overhead blocks of FlexE transmit Manage channel-shimto-shim information.
[0146] The storage medium is mainly used to store the above-mentioned program. Therefore, this embodiment will not describe the program in the storage medium in detail; the storage medium only needs to be able to store the above-mentioned program.
[0147] The method for sending network management information disclosed in the foregoing embodiments can be implemented in a sending device to obtain the corresponding sending device. The network element serving as the sending device can be an optical module. Figure 12 This is a schematic diagram of the hardware structure of a transmitting device for transmitting network management information according to an embodiment of the present invention. Figure 12 As shown, the transmitting device 1200 may include one or more (only one is shown in the figure) processors 1210 (processors 1210 may include, but are not limited to, processing devices such as microprocessors (MCUs) or programmable logic devices (FPGAs), a memory 1220 for storing data, and a data transceiver 1230 for transmitting and / or receiving data. Those skilled in the art will understand that... Figure 12 The structure shown is for illustrative purposes only and does not impose a single limitation on the structure of the aforementioned electronic device. For example, the transmitting device 1200 may also include, by splitting or combining the above functions, more advanced features. Figure 12 The more or fewer components shown, or having the same Figure 12 The different configurations shown.
[0148] The memory 1220 can be used to store the software program and modules of the application software. The program instructions / modules corresponding to the method of sending network management information disclosed in the foregoing embodiments can be stored in the memory 1220. The method of sending network management information has been described in detail in the previous embodiments, so it will not be repeated in detail in this embodiment.
[0149] Processor 1210 executes various functional applications and data processing by running (executing) software programs and modules stored in memory 1220, thereby implementing the methods described above. Memory 1220 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, memory 1220 may further include memory (cloud memory) remotely located relative to processor 1210, and these remote memories can be connected to transmitting device 1200 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.
[0150] Data transceiver 1230 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of transmitting device 1200. In one example, data transceiver 1230 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, data transceiver 1230 includes a Radio Frequency (RF) module for wireless communication with the Internet.
[0151] Example 9
[0152] This embodiment also provides a computer program, a storage medium storing the program, and a receiving device. The program is used to identify the configuration mode of the transmitting device based on a data stream transmitted by the transmitting device; and to receive network management information transmitted by the transmitting device based on the configuration mode of the transmitting device.
[0153] Further, receiving network management information sent by the sending device according to the configuration mode of the sending device includes: selecting a transmission channel corresponding to the configuration mode according to the configuration mode of the sending device; and receiving the network management information sent by the sending device on the transmission channel corresponding to the configuration mode.
[0154] Furthermore, the configuration modes of the transmitting device include: Ethernet mode and Flexible Ethernet (FlexE) mode; wherein, the transmission channel corresponding to the Ethernet mode is an Ethernet channel, and the transmission channel corresponding to the FlexE mode is a FlexE channel.
[0155] Furthermore, identifying the configuration mode of the transmitting device based on the data stream transmitted by the transmitting device includes: detecting whether a FlexE first overhead block exists in the data stream; if the FlexE first overhead block exists in the data stream, framing the data stream; if framing is successful, the transmitting device is in FlexE mode, otherwise the transmitting device is in Ethernet mode.
[0156] Furthermore, before receiving the network management information sent by the transmitting device in the transmission channel corresponding to the configuration mode, the method further includes: searching for the network management information in the data stream sent by the transmitting device; if the network management information is found, inputting the network management information into the selected transmission channel so as to receive the network management information sent by the transmitting device in the selected transmission channel; searching for the first FlexE overhead block in the data stream sent by the transmitting device; if the first FlexE overhead block is found, extracting the network management information from the FlexE management channel overhead block, and inputting the extracted network management information into the selected transmission channel so as to receive the network management information sent by the transmitting device in the selected transmission channel.
[0157] Furthermore, the first overhead block of FlexE refers to a 66-bit code block, where the corresponding characteristic positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol. The FlexE management channel overhead block refers to the 4th-5th and / or 7th-8th overhead blocks of FlexE, which carry management information. The 4th-5th overhead block transmits Managechannel-section management channel information, and the 7th-8th overhead block transmits Managechannel-shimto-shim management channel information.
[0158] The storage medium is mainly used to store the above-mentioned program. Therefore, this embodiment will not describe the program in the storage medium in detail; the storage medium only needs to be able to store the above-mentioned program.
[0159] The method for receiving network management information disclosed in the foregoing embodiments can be implemented in a receiving device to obtain a corresponding receiving device. The network element serving as the receiving device can be an optical module. Figure 13This is a schematic diagram of the hardware structure of a receiving device for receiving network management information according to an embodiment of the present invention. Figure 13 As shown, the receiving device 1300 may include one or more (only one is shown in the figure) processors 1310 (processors 1310 may include, but are not limited to, microprocessors MCUs or programmable logic devices FPGAs), a memory 1320 for storing data, and a data transceiver 1330 for transmitting and / or receiving data. Those skilled in the art will understand that... Figure 13 The structure shown is for illustrative purposes only and does not impose a single limitation on the structure of the aforementioned electronic device. For example, the receiving device 1300 may also include, by splitting or combining the above functions, more advanced features. Figure 13 The more or fewer components shown, or having the same Figure 13 The different configurations shown.
[0160] The memory 1320 can be used to store the software program and modules of the application software. The program instructions / modules corresponding to the method for sending network management information of the receiving device disclosed in the foregoing embodiments can be stored in the memory 1320. The method for sending network management information has been described in detail in the previous embodiments, so it will not be repeated in detail in this embodiment.
[0161] Processor 1310 executes various functional applications and data processing by running (executing) software programs and modules stored in memory 1320, thereby implementing the methods described above. Memory 1320 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, memory 1320 may further include memory (cloud memory) remotely located relative to processor 1310, which can be connected to receiving device 1300 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.
[0162] Data transceiver 1330 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of receiving device 1300. In one example, data transceiver 1330 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, data transceiver 1330 includes a Radio Frequency (RF) module for wireless communication with the Internet.
[0163] Although preferred embodiments of the invention have been disclosed for illustrative purposes, those skilled in the art will recognize that various modifications, additions, and substitutions are possible, and therefore the scope of the invention should not be limited to the embodiments described above.
Claims
1. A method for receiving network management information, characterized in that, include: The configuration mode of the transmitting device is identified by detecting whether the first overhead block of FlexE exists in the data stream sent by the transmitting device. According to the configuration mode of the transmitting device, receive network management information sent by the transmitting device; According to the configuration mode of the transmitting device, receive network management information sent by the transmitting device, including: Select the transmission channel corresponding to the configuration mode according to the configuration mode of the transmitting device; The transmission channel receives network management information sent by the transmitting device. The configuration modes include: Ethernet mode and Flexible Ethernet (FlexE) mode; the transmission channels include: the Ethernet channel corresponding to the Ethernet mode, and the FlexE channel corresponding to the FlexE mode.
2. The method according to claim 1, characterized in that, The network management information sent by the transmitting device is received in the transmission channel, including: In the Ethernet mode, the device receives the Ethernet data stream transmitted by the transmitting device in the Ethernet channel and searches for network management information in the Ethernet data stream. In the Flexible Ethernet FlexE mode, the system receives the FlexE data stream transmitted by the transmitting device in the FlexE channel, queries the first FlexE overhead block in the FlexE data stream, and extracts network management information from the FlexE management channel overhead block.
3. The method according to claim 1, characterized in that, The step of detecting whether the first overhead block of FlexE exists in the data stream sent by the transmitting device to identify the configuration mode of the transmitting device includes: Detect whether the first overhead block of FlexE exists in the data stream; If the first overhead block of FlexE is detected in the data stream, it is determined that the configuration mode of the transmitting device is FlexE mode. If the first overhead block of FlexE is not detected in the data stream, it is determined that the configuration mode of the transmitting device is Ethernet mode.
4. The method according to any one of claims 1-3, characterized in that, The first overhead block of FlexE refers to a 66-bit code block, in which the corresponding characteristic positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol; the FlexE management channel overhead block refers to the 4th-5th and / or 7th-8th overhead blocks of FlexE that carry network management information; the 4th-5th overhead blocks of FlexE transmit Manage channel-section management channel information, and the 7th-8th overhead blocks of FlexE transmit Manage channel-shim to shim management channel information.
5. A method for sending network management information, characterized in that, include: Select the corresponding transmission channel based on the configuration mode; Network management information is carried in the data stream and sent to the receiving device through the transmission channel; The configuration modes include: Ethernet mode and Flexible Ethernet (FlexE) mode; the transmission channel corresponding to the Ethernet mode is the Ethernet channel, and the transmission channel corresponding to the FlexE mode is the FlexE channel.
6. The method as described in claim 5, characterized in that, The step of carrying network management information in a data stream and sending the data stream to the receiving device through the transmission channel includes: If the transmission channel is an Ethernet channel, the network management information is inserted into the Ethernet data stream, and the Ethernet data stream is sent to the receiving device through the Ethernet channel; If the transmission channel is a FlexE channel, the network management information is encapsulated in the FlexE management channel overhead block of the FlexE data stream, and the FlexE data stream is sent to the receiving device through the FlexE channel.
7. A network management information receiving device, characterized in that, include: The identification module is used to detect whether the first overhead block of FlexE exists in the data stream sent by the sending device, so as to identify the configuration mode of the sending device; The receiving module is configured to receive network management information sent by the transmitting device according to the configuration mode of the transmitting device; The receiving module includes: The selection unit is used to select the transmission channel corresponding to the configuration mode according to the configuration mode of the transmitting device; The receiving unit is configured to receive network management information sent by the transmitting device in the transmission channel; The configuration modes include: Ethernet mode and Flexible Ethernet (FlexE) mode; the transmission channels include: the Ethernet channel corresponding to the Ethernet mode and the FlexE channel corresponding to the FlexE mode.
8. The apparatus according to claim 7, characterized in that, The receiving unit is used to receive the Ethernet data stream sent by the transmitting device in the Ethernet channel in the Ethernet mode, and to search for network management information in the Ethernet data stream; The receiving unit is used to receive the FlexE data stream sent by the transmitting device in the FlexE channel in the FlexE mode, query the first FlexE overhead block in the FlexE data stream, and extract network management information from the FlexE management channel overhead block.
9. The apparatus according to claim 7, characterized in that, The identification module is used for: Detect whether the first overhead block of FlexE exists in the data stream; If the first overhead block of FlexE is detected in the data stream, it is determined that the configuration mode of the transmitting device is FlexE mode. If the first overhead block of FlexE is not detected in the data stream, the configuration mode of the transmitting device is determined to be Ethernet mode.
10. The apparatus according to any one of claims 7-9, characterized in that, The first overhead block of FlexE refers to a 66-bit code block, in which the corresponding characteristic positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol. The FlexE management channel overhead block refers to the 4th-5th and / or 7th-8th overhead blocks of FlexE that carry network management information. The 4th-5th overhead blocks of FlexE transmit Manage channel-section management channel information, and the 7th-8th overhead blocks of FlexE transmit Manage channel-shim to shim management channel information.
11. A device for transmitting network management information, characterized in that, include: The selection module is used to select the corresponding transmission channel based on the configuration mode; The sending module is used to carry network management information in a data stream and send the data stream to the receiving device through the transmission channel; The configuration modes include: Ethernet mode and Flexible Ethernet (FlexE) mode; the transmission channel corresponding to the Ethernet mode is the Ethernet channel, and the transmission channel corresponding to the FlexE mode is the FlexE channel.
12. The apparatus as claimed in claim 11, characterized in that, The sending module is used for: If the transmission channel is an Ethernet channel, the network management information is inserted into the Ethernet data stream, and the Ethernet data stream is sent to the receiving device through the Ethernet channel; If the transmission channel is a FlexE channel, the network management information is encapsulated in the FlexE management channel overhead block of the FlexE data stream, and the FlexE data stream is sent to the receiving device through the FlexE channel.
13. A receiving device, the receiving device comprising a processor for data processing, a memory for data storage, and a data transceiver for data transmission and / or reception, characterized in that, When the processor executes the data stored in the memory, it performs the following operations: The configuration mode of the transmitting device is identified by detecting whether the first overhead block of FlexE exists in the data stream sent by the transmitting device. According to the configuration mode of the transmitting device, receive network management information sent by the transmitting device; According to the configuration mode of the transmitting device, receive network management information sent by the transmitting device, including: Select the transmission channel corresponding to the configuration mode according to the configuration mode of the transmitting device; The transmission channel receives network management information sent by the transmitting device. The configuration modes include: Ethernet mode and Flexible Ethernet (FlexE) mode; the transmission channels include: the Ethernet channel corresponding to the Ethernet mode and the FlexE channel corresponding to the FlexE mode.
14. The receiving device according to claim 13, characterized in that, The network management information sent by the transmitting device is received in the transmission channel, including: In the Ethernet mode, the device receives the Ethernet data stream transmitted by the transmitting device in the Ethernet channel and searches for network management information in the Ethernet data stream. In the Flexible Ethernet FlexE mode, the system receives the FlexE data stream transmitted by the transmitting device in the FlexE channel, queries the first FlexE overhead block in the FlexE data stream, and extracts network management information from the FlexE management channel overhead block.
15. The receiving device according to claim 13, characterized in that, The step of detecting whether the first overhead block of FlexE exists in the data stream sent by the transmitting device to identify the configuration mode of the transmitting device includes: Detect whether the first overhead block of FlexE exists in the data stream; If the first overhead block of FlexE is detected in the data stream, it is determined that the configuration mode of the transmitting device is FlexE mode. If the first overhead block of FlexE is not detected in the data stream, it is determined that the configuration mode of the transmitting device is Ethernet mode.
16. The receiving device as described in any one of claims 13-15, characterized in that, The first overhead block of FlexE refers to a 66-bit code block, in which the corresponding characteristic positions are 0x4B and 0x5, conforming to the code block format defined by the FlexE protocol; the FlexE management channel overhead block refers to the 4th-5th and / or 7th-8th overhead blocks of FlexE that carry network management information; the 4th-5th overhead blocks of FlexE transmit Manage channel-section management channel information, and the 7th-8th overhead blocks of FlexE transmit Manage channel-shim to shim management channel information.
17. A transmitting device, the transmitting device comprising a processor for data processing, a memory for data storage, and a data transceiver for data transmission and / or reception, characterized in that, When the processor executes the data stored in the memory, it performs the following operations: Select the corresponding transmission channel based on the configuration mode; Network management information is carried in the data stream and sent to the receiving device through the transmission channel; The configuration modes include: Ethernet mode and Flexible Ethernet (FlexE) mode; the transmission channel corresponding to the Ethernet mode is the Ethernet channel, and the transmission channel corresponding to the FlexE mode is the FlexE channel.
18. The transmitting device as claimed in claim 17, characterized in that, The step of carrying network management information in a data stream and sending the data stream to the receiving device through the transmission channel includes: If the transmission channel is an Ethernet channel, the network management information is inserted into the Ethernet data stream, and the Ethernet data stream is sent to the receiving device through the Ethernet channel; If the transmission channel is a FlexE channel, the network management information is encapsulated in the FlexE management channel overhead block of the FlexE data stream, and the FlexE data stream is sent to the receiving device through the FlexE channel.
Citation Information
Patent Citations
Error detection for data frames
US7948904B1