WO2020207429A1 - 报文处理方法、装置及计算机可读存储介质 - Google Patents

报文处理方法、装置及计算机可读存储介质 Download PDF

Info

Publication number
WO2020207429A1
WO2020207429A1 PCT/CN2020/083922 CN2020083922W WO2020207429A1 WO 2020207429 A1 WO2020207429 A1 WO 2020207429A1 CN 2020083922 W CN2020083922 W CN 2020083922W WO 2020207429 A1 WO2020207429 A1 WO 2020207429A1
Authority
WO
WIPO (PCT)
Prior art keywords
code block
management
bandwidth
message
dcn
Prior art date
Application number
PCT/CN2020/083922
Other languages
English (en)
French (fr)
Inventor
程伟强
王敏学
Original Assignee
中国移动通信有限公司研究院
中国移动通信集团有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国移动通信有限公司研究院, 中国移动通信集团有限公司 filed Critical 中国移动通信有限公司研究院
Publication of WO2020207429A1 publication Critical patent/WO2020207429A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/821Prioritising resource allocation or reservation requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the present disclosure relates to the field of communication technologies, and in particular, to a message processing method, device, and computer-readable storage medium.
  • the Data Communication Network (DCN) system can centrally manage network devices scattered in various places.
  • DCN networking includes in-band DCN networking and out-of-band DCN networking.
  • in-band DCN networking refers to the use of service channels provided by managed devices to complete network device management
  • out-of-band DCN networking refers to the use of channels other than service channels to transmit network management information, thereby realizing the management of network devices .
  • Group overhead is a frame structure used for network management and adjustment, with a length of 66 bits.
  • the embodiments of the present disclosure provide a message processing method, device, and computer-readable storage medium to solve the problem of insufficient bandwidth to carry management control messages when network management is performed in FlexE.
  • the embodiments of the present disclosure provide a message processing method applied to a flexible Ethernet FlexE device, including:
  • the determining the bandwidth required for the transmission management code block includes:
  • the bandwidth reserved for the FlexE instance is used as the bandwidth required to transmit the management code block.
  • the determining the bandwidth required for the transmission management code block includes:
  • the bandwidth required to transmit the management code block is determined.
  • the determining the bandwidth required to transmit the management code block according to the total bandwidth of the FlexE instance and the total reserved bandwidth of all the sub-interfaces includes:
  • bandwidth is reserved for the management code block, wherein the target interval is the quotient of the total bandwidth and the total reserved bandwidth of all sub-interfaces.
  • management code block includes the following fields:
  • Code block type field 0x4B used to indicate the code block type
  • Payload field Payload used to carry management control messages
  • Sequence number field Seq used to identify the sending sequence number of the management control message.
  • management code block further includes one or more of the following:
  • M field used to indicate the SPN in-band management channel of the slice packet network
  • the method before the determining the bandwidth required for transmitting the management code block, the method further includes:
  • the entire FlexE Instance is used as a sub-interface for Ethernet configuration.
  • the method before the determining the bandwidth required for transmitting the management code block, the method further includes:
  • the method further includes:
  • a DCN message in IP format is formed according to the DCN message, and the DCN message in IP format is sent to the DCN network.
  • embodiments of the present disclosure provide a message processing method applied to a FlexE device, including:
  • DCN message is formed by replacing the IDLE code block in the original data stream with a management code block, and the management code block is used to carry the management control message;
  • management code block includes the following fields:
  • Code block type field 0x4B used to indicate the code block type
  • Payload field Payload used to carry management control messages
  • Sequence number field Seq used to identify the sending sequence number of the management control message.
  • management code block further includes one or more of the following:
  • M field used to indicate the SPN in-band management channel of the slice packet network
  • the obtaining of a management control message according to the DCN message includes:
  • the management code block is arranged to obtain the management control message.
  • the method further includes:
  • check the management control message According to the check field, check the management control message.
  • embodiments of the present disclosure provide a message processing device, which is set in a FlexE device and includes: a processor and a transceiver;
  • the processor is configured to determine the bandwidth required to transmit a management code block, the management code block is used to carry management control messages; according to the bandwidth, the management code block is used to replace the idle IDLE code in the original data stream Block to form a data communication network DCN message;
  • the transceiver is used to send the DCN message.
  • the processor is also configured to use the bandwidth reserved for the FlexE instance Instance as the bandwidth required to transmit the management code block.
  • processor is also used for:
  • the bandwidth required to transmit the management code block is determined.
  • processor is also used for:
  • bandwidth is reserved for the management code block, wherein the target interval is the quotient of the total bandwidth and the total reserved bandwidth of all sub-interfaces.
  • management code block includes the following fields:
  • Code block type field 0x4B used to indicate the code block type
  • Payload field Payload used to carry management control messages
  • Sequence number field Seq used to identify the sending sequence number of the management control message.
  • management code block further includes one or more of the following:
  • M field used to indicate the SPN in-band management channel of the slice packet network
  • the processor is also used to: when the FlexE device is powered on, the entire FlexE Instance is used as a sub-interface for Ethernet configuration.
  • processor is also used for:
  • the transceiver is further configured to: form a DCN message in IP format according to the DCN message, and send the DCN message in IP format to a DCN network.
  • an embodiment of the present disclosure provides a message processing device, which is set in a FlexE device and includes: a processor and a transceiver;
  • the transceiver is configured to receive a DCN message; wherein the DCN message is formed by replacing an IDLE code block in an original data stream with a management code block, and the management code block is used to carry a management control message;
  • the processor is configured to obtain a management control message according to the DCN message.
  • management code block includes the following fields:
  • Code block type field 0x4B used to indicate the code block type
  • Payload field Payload used to carry management control messages
  • Sequence number field Seq used to identify the sending sequence number of the management control message.
  • management code block further includes one or more of the following:
  • M field used to indicate the SPN in-band management channel of the slice packet network
  • processor is also used for:
  • the sequence number field of the management code block obtain the transmission sequence number of the management code block; according to the transmission sequence number, arrange the management code blocks to obtain a management control message.
  • the processor is further configured to: check the management control message according to the check field.
  • an embodiment of the present disclosure provides a communication device, including: a transceiver, a memory, a processor, and a computer program stored on the memory and running on the processor;
  • the processor is configured to read the program in the memory to implement the steps in the method described in the first aspect; or implement the steps in the method described in the second aspect.
  • the embodiments of the present disclosure provide a computer-readable storage medium for storing a computer program that, when executed by a processor, implements the steps in the method described in the first aspect; or implements the steps in the second aspect The steps in the method described in the aspect.
  • the required bandwidth is set for the management code block carrying the management control message, and the management code stream is used to replace the IDLE code block in the original data stream to form a DCN message. Therefore, compared with related technologies, the solution of the embodiments of the present disclosure can provide sufficient bandwidth to carry management control messages when performing network management in FlexE.
  • FIG. 1 is a flowchart of a message processing method provided by an embodiment of the present disclosure
  • Figure 2 is a schematic diagram of out-of-band DCN and FlexE network interworking
  • Figure 3 is a flowchart of a message processing method provided by an embodiment of the present disclosure
  • Figure 4 is a structural diagram of a message processing device provided by an embodiment of the present disclosure.
  • Figure 5 is a structural diagram of a message processing device provided by an embodiment of the present disclosure.
  • Figure 6 is a structural diagram of a communication device provided by an embodiment of the present disclosure.
  • Fig. 7 is a structural diagram of a communication device provided by an embodiment of the present disclosure.
  • the related technology also provides a client (client) bearer management control message using FlexE.
  • a client's business has at least 5Gbps bandwidth. For this method, the bandwidth of the client is 5Gbps. If a 5Gbps bandwidth client is all used as DCN, it will cause great waste. If it follows the client's business, it is bound to be associated with the client's configuration. The business may have intermediate cross-connection points for processing, and if there is no special processing, these points will inevitably establish additional channels. If the client configuration changes, it will cause network topology changes and routing changes, which will bring considerable complexity to the establishment and operation of the management network.
  • embodiments of the present disclosure provide a message processing method.
  • FIG. 1 is a flowchart of a message processing method provided by an embodiment of the present disclosure, which is applied to a FlexE device, as shown in FIG. 1, and includes the following steps:
  • Step 101 Determine the bandwidth required for transmitting management code blocks, where the management code blocks are used to carry management control messages.
  • a new code block is defined, that is, a management code block, which owns a bearer management control message.
  • each field included in the management code block is managed.
  • Code block type field 0x4B 8bit, used to indicate the code block type. For example, it means that the code block is 0 code type.
  • Resv 2bit, reserved field, default 0x00.
  • Payload field Payload 32bit, used to carry management control messages.
  • M field 4bit, default 0x02, support setting, used to indicate slice packet network (Slicing Packet Network, SPN) in-band management channel.
  • SPN Slice Packet Network
  • the sequence number field Seq 4bit, which identifies the sending sequence number of the management control message, and is used for message recovery at the receiving end.
  • CRC4 4bit, for SPN operation and maintenance management (OAM) code block 0-7 bytes (excluding CRC4 and synchronization header), a total of 60bit verification; all operation and maintenance management (OAM) blocks only when the CRC check is correct effective. Algorithm polynomial: x 4 +x+1, the initial value is 0. This CRC check is also not necessary, because the Ethernet message contains a Frame Check Sequence (FCS).
  • FCS Frame Check Sequence
  • the bandwidth required to transmit the management code block can be determined in the following manner:
  • the bandwidth reserved for FlexE Instance is used as the bandwidth required to transmit management code blocks. That is, in this way, a certain amount of bandwidth is reserved for the entire FlexE Instance (for example, 100GBASE-R as a whole without segmentation), and there is no need to specifically reserve bandwidth for a certain client.
  • the bandwidth is reserved for the management code block according to a target interval, where the target interval is the quotient of the total bandwidth and the total reserved bandwidth of all sub-interfaces.
  • each time slot of FlexE is used as a sub-interface, which becomes the next hop of the route, and a maximum of 20 sub-interfaces in one Instance (for example: 100GBASE-R) are used to construct DCN.
  • a maximum of 20 sub-interfaces in one Instance for example: 100GBASE-R
  • a 100Gbps instance has 20Mbps bandwidth available. In this client configuration, 1Mbps bandwidth is deducted for every 5Gbps bandwidth.
  • Step 102 Use the management code block to replace the IDLE code block in the original data stream according to the bandwidth to form a DCN message.
  • the bandwidth determined in step 101 corresponds to the period in which the management code block is inserted into the original data stream. Therefore, according to the bandwidth, the IDLE code block to be replaced can be determined, and the management code block can be used to replace the IDLE code block, thereby forming a DCN message.
  • Step 103 Send the DCN message.
  • the required bandwidth is set for the management code block carrying the management control message, and the management code stream is used to replace the IDLE code block in the original data stream to form a DCN message. Therefore, compared with related technologies, the solution of the embodiments of the present disclosure can provide sufficient bandwidth to carry management control messages when performing network management in FlexE.
  • the embodiments of the present disclosure do not rely on the configuration of the client, and do not need to consider complex scenarios such as cross-connections, and only need to reserve part of the bandwidth.
  • the entire FlexE Instance is used as a sub-interface for Ethernet configuration.
  • the DCN message in IP format sent by the DCN network may be received, and after the DCN message in IP format is re-cut, encapsulated in all In the management code block. Or, form a DCN message in IP format according to the DCN message, and send the DCN message in IP format to a DCN network.
  • FIG. 2 it is a schematic diagram of out-of-band DCN and FlexE network interworking. That is, on the link 23 connecting the outlet of the FlexE network 21 to the DCN switch 22, the DCN message in the traditional IP format is transmitted, and the DCN switch device in the related technology does not need to be modified. Inside the FlexE network, what is transmitted is the DCN packet re-sliced by the FlexE device according to 32 bits, and the re-sliced packet is encapsulated in the newly defined management code block Payload. After reaching the destination receiving point, the DCN message can be restored according to the sequence number Seq.
  • FIG. 3 it is a flowchart of a message processing method according to an embodiment of the present disclosure, which is applied to a FlexE device and includes:
  • Step 301 Receive a DCN message; wherein the DCN message is formed by replacing the IDLE code block in the original data stream with a management code block, and the management code block is used to carry the management control message.
  • Step 302 Acquire a management control message according to the DCN message.
  • step 302 the transmission sequence number of the management code block is obtained according to the sequence number field of the management code block. Then, according to the transmission sequence number, the management code blocks are arranged to obtain a management control message. In addition, the management control message can also be checked according to the check field.
  • the required bandwidth is set for the management code block carrying the management control message, and the management code stream is used to replace the IDLE code block in the original data stream to form a DCN message. Therefore, compared with related technologies, the solution of the embodiments of the present disclosure can provide sufficient bandwidth to carry management control messages when performing network management in FlexE.
  • the message processing apparatus of the embodiment of the present disclosure is set in the FlexE device and includes a processor 401 and a transceiver 402.
  • the processor 401 is configured to determine the bandwidth required to transmit a management code block, the management code block is used to carry management control messages; according to the bandwidth, the management code block is used to replace the idle IDLE in the original data stream Code block to form DCN message of data communication network;
  • the transceiver 402 is configured to send the DCN message.
  • the processor 401 is further configured to use the bandwidth reserved for the FlexE instance Instance as the bandwidth required to transmit the management code block.
  • the processor 401 is further configured to obtain the number of sub-interfaces included in the FlexE Instance and the reserved bandwidth of each sub-interface; according to the number of sub-interfaces and the reserved bandwidth of each sub-interface, determine all sub-interfaces According to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all sub-interfaces, determine the bandwidth required to transmit the management code block.
  • the processor 401 is further configured to reserve bandwidth for the management code block according to a target interval, where the target interval is the total bandwidth and the total reserved bandwidth of all sub-interfaces Quotient.
  • management code block includes the following fields:
  • Code block type field 0x4B used to indicate the code block type
  • Payload field Payload used to carry management control messages
  • Sequence number field Seq used to identify the sending sequence number of the management control message.
  • management code block further includes one or more of the following:
  • M field used to indicate the SPN in-band management channel of the slice packet network
  • the processor 401 is further configured to use the entire FlexE instance as a sub-interface for Ethernet configuration when the FlexE device is powered on.
  • the processor 401 is further configured to receive a DCN message in IP format sent by a DCN network, and after re-slicing the DCN message in IP format, to encapsulate it in the management code block.
  • the transceiver 402 is further configured to form a DCN message in IP format according to the DCN message, and send the DCN message in IP format to the DCN network.
  • the required bandwidth is set for the management code block carrying the management control message, and the management code stream is used to replace the IDLE code block in the original data stream to form a DCN message. Therefore, compared with related technologies, the solution of the embodiments of the present disclosure can provide sufficient bandwidth to carry management control messages when performing network management in FlexE.
  • the message processing apparatus of the embodiment of the present disclosure is set in a FlexE device and includes a processor 501 and a transceiver 502.
  • the transceiver 502 is configured to receive a DCN message; wherein the DCN message is formed by replacing the IDLE code block in the original data stream with a management code block, and the management code block is used to carry the management control message;
  • the processor 501 is configured to obtain a management control message according to the DCN message.
  • management code block includes the following fields:
  • Code block type field 0x4B used to indicate the code block type
  • Payload field Payload used to carry management control messages
  • Sequence number field Seq used to identify the sending sequence number of the management control message.
  • management code block further includes one or more of the following:
  • M field used to indicate the SPN in-band management channel of the slice packet network
  • the processor 501 is further configured to: obtain the transmission sequence number of the management code block according to the sequence number field of the management code block; arrange the management code block according to the transmission sequence number to obtain a management control report Text.
  • the processor 501 is further configured to: check the management control message according to the check field.
  • the required bandwidth is set for the management code block carrying the management control message, and the management code stream is used to replace the IDLE code block in the original data stream to form a DCN message. Therefore, compared with related technologies, the solution of the embodiments of the present disclosure can provide sufficient bandwidth to carry management control messages when performing network management in FlexE.
  • the communication device of the embodiment of the present disclosure includes: a processor 600, configured to read a program in a memory 620, and execute the following process:
  • the management code block is used to carry management control messages; according to the bandwidth, the management code block is used to replace the idle IDLE code block in the original data stream to form a data communication network DCN Message
  • the transceiver 610 is configured to send the DCN message under the control of the processor 600.
  • the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 600 and various circuits of the memory represented by the memory 620 are linked together.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, no further descriptions are provided herein.
  • the bus interface provides the interface.
  • the transceiver 610 may be a plurality of elements, that is, including a transmitter and a transceiver, and provide a unit for communicating with various other devices on a transmission medium.
  • the processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 can store data used by the processor 600 when performing operations.
  • the processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 can store data used by the processor 600 when performing operations.
  • the processor 600 is also used to read the computer program and execute the following steps:
  • the bandwidth reserved for the FlexE instance is used as the bandwidth required to transmit the management code block.
  • the processor 600 is also used to read the computer program and execute the following steps:
  • the bandwidth required to transmit the management code block is determined.
  • the processor 600 is also used to read the computer program and execute the following steps:
  • bandwidth is reserved for the management code block, wherein the target interval is the quotient of the total bandwidth and the total reserved bandwidth of all sub-interfaces.
  • management code block includes the following fields:
  • Code block type field 0x4B used to indicate the code block type
  • Payload field Payload used to carry management control messages
  • Sequence number field Seq used to identify the sending sequence number of the management control message.
  • management code block further includes one or more of the following:
  • M field used to indicate the SPN in-band management channel of the slice packet network
  • the processor 600 is also used to read the computer program and execute the following steps:
  • the entire FlexE Instance is used as a sub-interface for Ethernet configuration.
  • the processor 600 is also used to read the computer program and execute the following steps:
  • the transceiver 610 is further configured to form a DCN message in IP format according to the DCN message, and send the DCN message in IP format to the DCN network.
  • the processor 600 is also used to read the computer program and execute the following steps:
  • the communication device of the embodiment of the present disclosure includes:
  • the transceiver 710 is configured to receive a DCN message; wherein the DCN message is formed by replacing an IDLE code block in the original data stream with a management code block, and the management code block is used to carry a management control message; 700. Used to read a program in the memory 720 and execute the following process: obtain a management control message according to the DCN message.
  • the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 700 and various circuits of the memory represented by the memory 720 are linked together.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, no further descriptions are provided herein.
  • the bus interface provides the interface.
  • the transceiver 710 may be a plurality of elements, including a transmitter and a transceiver, and provide a unit for communicating with various other devices on a transmission medium.
  • the processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 can store data used by the processor 700 when performing operations.
  • the processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 can store data used by the processor 700 when performing operations.
  • management code block includes the following fields:
  • Code block type field 0x4B used to indicate the code block type
  • Payload field Payload used to carry management control messages
  • Sequence number field Seq used to identify the sending sequence number of the management control message.
  • management code block further includes one or more of the following:
  • M field used to indicate the SPN in-band management channel of the slice packet network
  • the processor 700 is also used to read the computer program and execute the following steps:
  • the management code block is arranged to obtain the management control message.
  • the processor 700 is also used to read the computer program and execute the following steps:
  • check the management control message According to the check field, check the management control message.
  • the computer-readable storage medium of the embodiment of the present disclosure is used to store a computer program, and the computer program can be executed by a processor to implement the following steps:
  • the determining the bandwidth required for the transmission management code block includes:
  • the bandwidth reserved for the FlexE instance is used as the bandwidth required to transmit the management code block.
  • the determining the bandwidth required for the transmission management code block includes:
  • the bandwidth required to transmit the management code block is determined.
  • the determining the bandwidth required to transmit the management code block according to the total bandwidth of the FlexE instance and the total reserved bandwidth of all the sub-interfaces includes:
  • bandwidth is reserved for the management code block, wherein the target interval is the quotient of the total bandwidth and the total reserved bandwidth of all sub-interfaces.
  • management code block includes the following fields:
  • Code block type field 0x4B used to indicate the code block type
  • Payload field Payload used to carry management control messages
  • Sequence number field Seq used to identify the sending sequence number of the management control message.
  • management code block further includes one or more of the following:
  • M field used to indicate the SPN in-band management channel of the slice packet network
  • the method before the determining the bandwidth required for transmitting the management code block, the method further includes:
  • the entire FlexE Instance is used as a sub-interface for Ethernet configuration.
  • the method before the determining the bandwidth required for transmitting the management code block, the method further includes:
  • the method further includes:
  • a DCN message in IP format is formed according to the DCN message, and the DCN message in IP format is sent to the DCN network.
  • the computer-readable storage medium of the embodiment of the present disclosure is used to store a computer program, and the computer program can be executed by a processor to implement the following steps:
  • DCN message is formed by replacing the IDLE code block in the original data stream with a management code block, and the management code block is used to carry the management control message;
  • management code block includes the following fields:
  • Code block type field 0x4B used to indicate the code block type
  • Payload field Payload used to carry management control messages
  • Sequence number field Seq used to identify the sending sequence number of the management control message.
  • management code block further includes one or more of the following:
  • M field used to indicate the SPN in-band management channel of the slice packet network
  • the obtaining of a management control message according to the DCN message includes:
  • the management code block is arranged to obtain the management control message.
  • the method further includes:
  • check the management control message According to the check field, check the management control message.
  • the disclosed method and device can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may be separately physically included, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium.
  • the above-mentioned software function unit is stored in a storage medium, and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute part of the steps of the transceiver method described in each embodiment of the present disclosure.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

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

Abstract

本申请公开了一种报文处理方法、装置及计算机可读存储介质。该方法包括:确定传输管理码块所需的带宽,所述管理码块用于承载管理控制报文;根据所述带宽,利用所述管理码块替换原始数据流中的IDLE码块,形成数据通信网络DCN报文;发送所述DCN报文。

Description

报文处理方法、装置及计算机可读存储介质
相关申请的交叉引用
本申请主张在2019年4月11日在中国提交的中国专利申请号No.201910289151.6的优先权,其全部内容通过引用包含于此。
技术领域
本公开涉及通信技术领域,尤其涉及一种报文处理方法、装置及计算机可读存储介质。
背景技术
数据通信网络(Data Communication Network,DCN)系统能为分散在各地的网络设备进行集中管理。DCN组网包括带内DCN组网和带外DCN组网两种方式。其中,带内DCN组网是指利用被管设备提供的业务通道来完成网络设备管理,带外DCN组网是指利用业务通道以外的其他通道来传送网络管理信息,从而实现对网络设备的管理。
在灵活以太网(Flex Ethernet,FlexE)网络中也需要考虑网络设备管理的问题。目前有承载管理报的方法是,利用FlexE的group overhead(小组开销)复帧承载管理控制报文。Group overhead是用于网络管理、调整的帧结构,长度为66bit。
对于这种方法,由于在FlexE中规定的复帧的数量太少,那么将导致在做网络管理时,带宽不够用。如:32个复帧最多只有64×32bit的带宽,这么小的带宽是远远不能满足实际运用的。
发明内容
本公开实施例提供一种报文处理方法、装置及计算机可读存储介质,以解决在FlexE中进行网络管理时,没有足够的带宽承载管理控制报文的问题。
为了解决上述技术问题,本公开是这样实现的:
第一方面,本公开实施例提供了一种报文处理方法,应用于灵活以太网 FlexE设备,包括:
确定传输管理码块所需的带宽,所述管理码块用于承载管理控制报文;
根据所述带宽,利用所述管理码块替换原始数据流中的IDLE(空闲)码块,形成数据通信网络DCN报文;
发送所述DCN报文。
其中,所述确定传输管理码块所需的带宽,包括:
将为FlexE实例Instance预留的带宽作为传输管理码块所需的带宽。
其中,所述确定传输管理码块所需的带宽,包括:
获取FlexE Instance包括的子接口数量,以及每个子接口的预留带宽;
根据所述子接口数量和每个子接口的预留带宽,确定全部子接口的预留带宽总量;
根据所述FlexE Instance的总带宽以及所述全部子接口的预留带宽总量,确定传输管理码块所需的带宽。
其中,所述根据所述FlexE Instance的总带宽以及所述全部子接口的预留带宽总量,确定传输管理码块所需的带宽,包括:
按照目标间隔,为所述管理码块预留带宽,其中,所述目标间隔为所述总带宽与所述全部子接口的预留带宽总量之商。
其中,所述管理码块包括以下字段:
码块类型字段0x4B:用于表示码块类型;
有效载荷字段Payload:用于承载管理控制报文;
序号字段Seq:用于标识管理控制报文的发送序号。
其中,所述管理码块还包括以下一项或者多项:
预留字段Resv;
M字段:用于表示切片分组网SPN带内管理通道;
校验字段CRC4。
其中,在所述确定传输管理码块所需的带宽之前,所述方法还包括:
在FlexE设备上电之初,将整个FlexE Instance作为一个子接口进行以太网配置。
其中,在所述确定传输管理码块所需的带宽之前,所述方法还包括:
接收DCN网络发送的IP格式的DCN报文,将所述IP格式的DCN报文重新切包后,封装在所述管理码块中。
其中,在所述发送所述DCN报文,所述方法还包括:
根据所述DCN报文形成IP格式的DCN报文,并向DCN网络发送所述IP格式的DCN报文。
第二方面,本公开实施例提供一种报文处理方法,应用于FlexE设备,包括:
接收DCN报文;其中,所述DCN报文是利用管理码块替换原始数据流中的IDLE码块形成的,所述管理码块用于承载管理控制报文;
根据所述DCN报文获取管理控制报文。
其中,所述管理码块包括以下字段:
码块类型字段0x4B:用于表示码块类型;
有效载荷字段Payload:用于承载管理控制报文;
序号字段Seq:用于标识管理控制报文的发送序号。
其中,所述管理码块还包括以下一项或者多项:
预留字段Resv;
M字段:用于表示切片分组网SPN带内管理通道;
校验字段CRC4。
其中,所述根据所述DCN报文获取管理控制报文,包括:
根据所述管理码块的序号字段,获取所述管理码块的发送序号;
根据所述发送序号,排列所述管理码块,获取管理控制报文。
其中,所述方法还包括:
根据所述校验字段,对所述管理控制报文进行校验。
第三方面,本公开实施例提供一种报文处理装置,设置于FlexE设备中,包括:处理器和收发器;
所述处理器,用于确定传输管理码块所需的带宽,所述管理码块用于承载管理控制报文;根据所述带宽,利用所述管理码块替换原始数据流中的空闲IDLE码块,形成数据通信网络DCN报文;
所述收发器,用于发送所述DCN报文。
其中,所述处理器还用于,将为FlexE实例Instance预留的带宽作为传输管理码块所需的带宽。
其中,所述处理器还用于:
获取FlexE Instance包括的子接口数量,以及每个子接口的预留带宽;
根据所述子接口数量和每个子接口的预留带宽,确定全部子接口的预留带宽总量;
根据所述FlexE Instance的总带宽以及所述全部子接口的预留带宽总量,确定传输管理码块所需的带宽。
其中,所述处理器还用于:
按照目标间隔,为所述管理码块预留带宽,其中,所述目标间隔为所述总带宽与所述全部子接口的预留带宽总量之商。
其中,所述管理码块包括以下字段:
码块类型字段0x4B:用于表示码块类型;
有效载荷字段Payload:用于承载管理控制报文;
序号字段Seq:用于标识管理控制报文的发送序号。
其中,所述管理码块还包括以下一项或者多项:
预留字段Resv;
M字段:用于表示切片分组网SPN带内管理通道;
校验字段CRC4。
其中,所述处理器还用于:在FlexE设备上电之初,将整个FlexE Instance作为一个子接口进行以太网配置。
其中,所述处理器还用于:
接收DCN网络发送的IP格式的DCN报文,将所述IP格式的DCN报文重新切包后,封装在所述管理码块中。
其中,所述收发器还用于:根据所述DCN报文形成IP格式的DCN报文,并向DCN网络发送所述IP格式的DCN报文。
第四方面,本公开实施例提供一种报文处理装置,设置于FlexE设备中,包括:处理器和收发器;
所述收发器,用于接收DCN报文;其中,所述DCN报文是利用管理码 块替换原始数据流中的IDLE码块形成的,所述管理码块用于承载管理控制报文;
所述处理器,用于根据所述DCN报文获取管理控制报文。
其中,所述管理码块包括以下字段:
码块类型字段0x4B:用于表示码块类型;
有效载荷字段Payload:用于承载管理控制报文;
序号字段Seq:用于标识管理控制报文的发送序号。
其中,所述管理码块还包括以下一项或者多项:
预留字段Resv;
M字段:用于表示切片分组网SPN带内管理通道;
校验字段CRC4。
其中,所述处理器还用于:
根据所述管理码块的序号字段,获取所述管理码块的发送序号;根据所述发送序号,排列所述管理码块,获取管理控制报文。
其中,所述处理器还用于:根据所述校验字段,对所述管理控制报文进行校验。
第五方面,本公开实施例提供一种通信设备,包括:收发机、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;
所述处理器,用于读取存储器中的程序实现如第一方面所述的方法中的步骤;或者实现如第二方面所述的方法中的步骤。
第六方面,本公开实施例提供一种计算机可读存储介质,用于存储计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的方法中的步骤;或者实现如第二方面所述的方法中的步骤。
在本公开实施例中,为承载管理控制报文的管理码块设置需要的带宽,并利用管理码流替换原数据流中的IDLE码块形成DCN报文。因此,与相关技术相比,利用本公开实施例的方案,可在FlexE中进行网络管理时,提供足够的带宽承载管理控制报文。
附图说明
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本公开实施例提供的报文处理方法的流程图;
图2是带外DCN和FlexE网络互通示意图;
图3是本公开实施例提供的报文处理方法的流程图;
图4是本公开实施例提供的报文处理装置的结构图;
图5是本公开实施例提供的报文处理装置的结构图;
图6是本公开实施例提供的通信设备的结构图;
图7是本公开实施例提供的通信设备的结构图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
相关技术中还提供了一种利用FlexE的client(客户)承载管理控制报文。一个client的业务至少有5Gbps的带宽。对于这种方法,client的带宽是5Gbps。如果一个5Gbps带宽的client全部用来做DCN,那么会造成极大的浪费。如果随client的业务,又势必和client的配置关联起来。业务可能有中间的交叉连接点处理,如果不特别处理,则这些点势必另外建立channel(通道)。如果client的配置变化,又会导致网络拓扑变化、路由变化,会给管理网的建立和运行带来相当大的复杂性。
为解决相关技术中的问题,本公开实施例提供了一种报文处理方法。
参见图1,图1是本公开实施例提供的报文处理方法的流程图,应用于FlexE设备,如图1所示,包括以下步骤:
步骤101、确定传输管理码块所需的带宽,所述管理码块用于承载管理控制报文。
在本公开实施例中,定义新的码块,即管理码块,拥有承载管理控制报文。
如表1所示,为管理码块所包括的各字段。
表1
Figure PCTCN2020083922-appb-000001
各字段定义如下:
码块类型字段0x4B:8bit,用于表示码块类型。例如,表示该码块为0码类型。
Resv:2bit,预留字段,缺省采用0x00。
有效载荷字段Payload:32bit,用于承载管理控制报文。
M字段:4bit,缺省为0x02,支持设置,用于表示切片分组网(Slicing Packet Network,SPN)带内管理通道。
序号字段Seq:4bit,标识管理控制报文的发送序号,用于接收端的报文恢复。
校验字段CRC4:4bit,对SPN操作维护管理(OAM)码块的0-7字节(排除CRC4和同步头)中共60bit校验;所有操作维护管理(OAM)Block只有在CRC校验正确时有效。算法多项式:x 4+x+1,初始值为0。此CRC校验也可以不用,因为以太网报文含有帧校验序列(Frame Check Sequence,FCS)。
在本公开实施例中,可通过以下方式确定传输管理码块所需的带宽:
(1)将为FlexE Instance(实例)预留的带宽作为传输管理码块所需的带宽。也即,在这种方式中,为整个FlexE Instance(例如:并未切分的100GBASE-R整体)预留一定的带宽,不需要专门让某client来预留带宽。
(2)获取FlexE Instance包括的子接口数量,以及每个子接口的预留带宽,根据所述子接口数量和每个子接口的预留带宽,确定全部子接口的预留带宽总量。然后,根据所述FlexE Instance的总带宽以及所述全部子接口的预留带宽总量,确定传输管理码块所需的带宽。
具体的,按照目标间隔,为所述管理码块预留带宽,其中,所述目标间隔 为所述总带宽与所述全部子接口的预留带宽总量之商。
例如,将FlexE的每个时隙作为一个子接口,成为路由的下一跳,一个Instance(例如:100GBASE-R)最多20个子接口用于构建DCN。以一个时隙固定预留1Mbps带宽为例,每个子接口用需要多少带宽,那么就占用多少个时隙的1Mbps带宽。一个100Gbps的Instance有20Mbps带宽可用。在此client配置下,每5Gbps带宽扣除1Mbps带宽。
步骤102、根据所述带宽,利用所述管理码块替换原始数据流中的IDLE码块,形成DCN报文。
步骤101中确定的带宽,对应管理码块插入到原始数据流中的周期。因此,根据该带宽,即可确定需替换的IDLE码块,并利用该管理码块替换IDLE码块,从而形成DCN报文。
步骤103、发送所述DCN报文。
在本公开实施例中,为承载管理控制报文的管理码块设置需要的带宽,并利用管理码流替换原数据流中的IDLE码块形成DCN报文。因此,与相关技术相比,利用本公开实施例的方案,可在FlexE中进行网络管理时,提供足够的带宽承载管理控制报文。
同时,与随业务的client承载相比,本公开实施例不依赖于client的配置,不需要考虑交叉连接等复杂场景,只需预留部分带宽即可。
在FlexE设备上电之初,为实现对FlexE设备的管理,将整个FlexE Instance作为一个子接口进行以太网配置。
在实际应用中,FlexE设备上电之初,网络还没有FlexE client的配置,没有任何业务,时隙中有大量的IDLE码块。此时若想对网络进行管控,则按照默认的模式,将整个FlexE Instance(例如:并未切分的100GBASE-R整体)作为一个子接口,对其按照一般以太网进行传统配置IP,即可进行管控。
可选的,在本公开实施例中,为减小对DCN网络的影响,可接收DCN网络发送的IP格式的DCN报文,将所述IP格式的DCN报文重新切包后,封装在所述管理码块中。或者,根据所述DCN报文形成IP格式的DCN报文,并向DCN网络发送所述IP格式的DCN报文。
如图2所示,为带外DCN和FlexE网络互通示意图。也即,在FlexE网 络21的出口与DCN交换机22相连的链路23上,传送的是传统的IP格式的DCN报文,相关技术中的DCN交换机设备不需要改造。在FlexE网络内部,传送的是由FlexE设备按照32bit重新切包的DCN报文,该重新切包的报文封装在新定义的管理码块Payload中。到达目的接收点后,可根据序号Seq重新恢复DCN报文。
如图3所示,为本公开实施例报文处理方法的流程图,应用于FlexE设备,包括:
步骤301、接收DCN报文;其中,所述DCN报文是利用管理码块替换原始数据流中的IDLE码块形成的,所述管理码块用于承载管理控制报文。
步骤302、根据所述DCN报文获取管理控制报文。
其中,管理码块各字段的含义可参照前述实施例的描述。
那么,在步骤302中,根据所述管理码块的序号字段,获取所述管理码块的发送序号。然后,根据所述发送序号,排列所述管理码块,获取管理控制报文。此外,还可根据所述校验字段,对所述管理控制报文进行校验。
在本公开实施例中,为承载管理控制报文的管理码块设置需要的带宽,并利用管理码流替换原数据流中的IDLE码块形成DCN报文。因此,与相关技术相比,利用本公开实施例的方案,可在FlexE中进行网络管理时,提供足够的带宽承载管理控制报文。
如图4所示,本公开实施例的报文处理装置,设置于FlexE设备中,包括:处理器401和收发器402。
所述处理器401,用于确定传输管理码块所需的带宽,所述管理码块用于承载管理控制报文;根据所述带宽,利用所述管理码块替换原始数据流中的空闲IDLE码块,形成数据通信网络DCN报文;
所述收发器402,用于发送所述DCN报文。
可选的,所述处理器401还用于,将为FlexE实例Instance预留的带宽作为传输管理码块所需的带宽。
可选的,所述处理器401还用于,获取FlexE Instance包括的子接口数量,以及每个子接口的预留带宽;根据所述子接口数量和每个子接口的预留带宽,确定全部子接口的预留带宽总量;根据所述FlexE Instance的总带宽以及所述 全部子接口的预留带宽总量,确定传输管理码块所需的带宽。
可选的,所述处理器401还用于,按照目标间隔,为所述管理码块预留带宽,其中,所述目标间隔为所述总带宽与所述全部子接口的预留带宽总量之商。
其中,所述管理码块包括以下字段:
码块类型字段0x4B:用于表示码块类型;
有效载荷字段Payload:用于承载管理控制报文;
序号字段Seq:用于标识管理控制报文的发送序号。
其中,所述管理码块还包括以下一项或者多项:
预留字段Resv;
M字段:用于表示切片分组网SPN带内管理通道;
校验字段CRC4。
可选的,所述处理器401还用于,在FlexE设备上电之初,将整个FlexE Instance作为一个子接口进行以太网配置。
可选的,所述处理器401还用于,接收DCN网络发送的IP格式的DCN报文,将所述IP格式的DCN报文重新切包后,封装在所述管理码块中。
可选的,所述收发器402还用于,根据所述DCN报文形成IP格式的DCN报文,并向DCN网络发送所述IP格式的DCN报文。
在本公开实施例中,为承载管理控制报文的管理码块设置需要的带宽,并利用管理码流替换原数据流中的IDLE码块形成DCN报文。因此,与相关技术相比,利用本公开实施例的方案,可在FlexE中进行网络管理时,提供足够的带宽承载管理控制报文。
如图5所示,本公开实施例的报文处理装置,设置于FlexE设备中,包括:处理器501和收发器502。
所述收发器502,用于接收DCN报文;其中,所述DCN报文是利用管理码块替换原始数据流中的IDLE码块形成的,所述管理码块用于承载管理控制报文;
所述处理器501,用于根据所述DCN报文获取管理控制报文。
其中,所述管理码块包括以下字段:
码块类型字段0x4B:用于表示码块类型;
有效载荷字段Payload:用于承载管理控制报文;
序号字段Seq:用于标识管理控制报文的发送序号。
其中,所述管理码块还包括以下一项或者多项:
预留字段Resv;
M字段:用于表示切片分组网SPN带内管理通道;
校验字段CRC4。
可选的,所述处理器501还用于:根据所述管理码块的序号字段,获取所述管理码块的发送序号;根据所述发送序号,排列所述管理码块,获取管理控制报文。
可选的,所述处理器501还用于:根据所述校验字段,对所述管理控制报文进行校验。
在本公开实施例中,为承载管理控制报文的管理码块设置需要的带宽,并利用管理码流替换原数据流中的IDLE码块形成DCN报文。因此,与相关技术相比,利用本公开实施例的方案,可在FlexE中进行网络管理时,提供足够的带宽承载管理控制报文。
如图6所示,本公开实施例的通信设备包括:处理器600,用于读取存储器620中的程序,执行下列过程:
确定传输管理码块所需的带宽,所述管理码块用于承载管理控制报文;根据所述带宽,利用所述管理码块替换原始数据流中的空闲IDLE码块,形成数据通信网络DCN报文;
收发机610,用于在处理器600的控制下发送所述DCN报文。
其中,在图6中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器600代表的一个或多个处理器和存储器620代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机610可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元。处理器600负责管理总线架构和通常的处理,存储器620可以存储处理器600 在执行操作时所使用的数据。
处理器600负责管理总线架构和通常的处理,存储器620可以存储处理器600在执行操作时所使用的数据。
处理器600还用于读取所述计算机程序,执行如下步骤:
将为FlexE实例Instance预留的带宽作为传输管理码块所需的带宽。
处理器600还用于读取所述计算机程序,执行如下步骤:
获取FlexE Instance包括的子接口数量,以及每个子接口的预留带宽;
根据所述子接口数量和每个子接口的预留带宽,确定全部子接口的预留带宽总量;
根据所述FlexE Instance的总带宽以及所述全部子接口的预留带宽总量,确定传输管理码块所需的带宽。
处理器600还用于读取所述计算机程序,执行如下步骤:
按照目标间隔,为所述管理码块预留带宽,其中,所述目标间隔为所述总带宽与所述全部子接口的预留带宽总量之商。
其中,所述管理码块包括以下字段:
码块类型字段0x4B:用于表示码块类型;
有效载荷字段Payload:用于承载管理控制报文;
序号字段Seq:用于标识管理控制报文的发送序号。
其中,所述管理码块还包括以下一项或者多项:
预留字段Resv;
M字段:用于表示切片分组网SPN带内管理通道;
校验字段CRC4。
处理器600还用于读取所述计算机程序,执行如下步骤:
在FlexE设备上电之初,将整个FlexE Instance作为一个子接口进行以太网配置。
处理器600还用于读取所述计算机程序,执行如下步骤:
接收DCN网络发送的IP格式的DCN报文,将所述IP格式的DCN报文重新切包后,封装在所述管理码块中。
收发机610还用于,根据所述DCN报文形成IP格式的DCN报文,并向 DCN网络发送所述IP格式的DCN报文。
处理器600还用于读取所述计算机程序,执行如下步骤:
如图7所示,本公开实施例的通信设备包括:
收发机710,用于接收DCN报文;其中,所述DCN报文是利用管理码块替换原始数据流中的IDLE码块形成的,所述管理码块用于承载管理控制报文;处理器700,用于读取存储器720中的程序,执行下列过程:根据所述DCN报文获取管理控制报文。
其中,在图7中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器700代表的一个或多个处理器和存储器720代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机710可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元。处理器700负责管理总线架构和通常的处理,存储器720可以存储处理器700在执行操作时所使用的数据。
处理器700负责管理总线架构和通常的处理,存储器720可以存储处理器700在执行操作时所使用的数据。
其中,所述管理码块包括以下字段:
码块类型字段0x4B:用于表示码块类型;
有效载荷字段Payload:用于承载管理控制报文;
序号字段Seq:用于标识管理控制报文的发送序号。
其中,所述管理码块还包括以下一项或者多项:
预留字段Resv;
M字段:用于表示切片分组网SPN带内管理通道;
校验字段CRC4。
处理器700还用于读取所述计算机程序,执行如下步骤:
根据所述管理码块的序号字段,获取所述管理码块的发送序号;
根据所述发送序号,排列所述管理码块,获取管理控制报文。
处理器700还用于读取所述计算机程序,执行如下步骤:
根据所述校验字段,对所述管理控制报文进行校验。
此外,本公开实施例的计算机可读存储介质,用于存储计算机程序,所述计算机程序可被处理器执行实现以下步骤:
确定传输管理码块所需的带宽,所述管理码块用于承载管理控制报文;
根据所述带宽,利用所述管理码块替换原始数据流中的空闲IDLE码块,形成数据通信网络DCN报文;
发送所述DCN报文。
其中,所述确定传输管理码块所需的带宽,包括:
将为FlexE实例Instance预留的带宽作为传输管理码块所需的带宽。
其中,所述确定传输管理码块所需的带宽,包括:
获取FlexE Instance包括的子接口数量,以及每个子接口的预留带宽;
根据所述子接口数量和每个子接口的预留带宽,确定全部子接口的预留带宽总量;
根据所述FlexE Instance的总带宽以及所述全部子接口的预留带宽总量,确定传输管理码块所需的带宽。
其中,所述根据所述FlexE Instance的总带宽以及所述全部子接口的预留带宽总量,确定传输管理码块所需的带宽,包括:
按照目标间隔,为所述管理码块预留带宽,其中,所述目标间隔为所述总带宽与所述全部子接口的预留带宽总量之商。
其中,所述管理码块包括以下字段:
码块类型字段0x4B:用于表示码块类型;
有效载荷字段Payload:用于承载管理控制报文;
序号字段Seq:用于标识管理控制报文的发送序号。
其中,所述管理码块还包括以下一项或者多项:
预留字段Resv;
M字段:用于表示切片分组网SPN带内管理通道;
校验字段CRC4。
其中,在所述确定传输管理码块所需的带宽之前,所述方法还包括:
在FlexE设备上电之初,将整个FlexE Instance作为一个子接口进行以太 网配置。
其中,在所述确定传输管理码块所需的带宽之前,所述方法还包括:
接收DCN网络发送的IP格式的DCN报文,将所述IP格式的DCN报文重新切包后,封装在所述管理码块中。
其中,在所述发送所述DCN报文,所述方法还包括:
根据所述DCN报文形成IP格式的DCN报文,并向DCN网络发送所述IP格式的DCN报文。
此外,本公开实施例的计算机可读存储介质,用于存储计算机程序,所述计算机程序可被处理器执行实现以下步骤:
接收DCN报文;其中,所述DCN报文是利用管理码块替换原始数据流中的IDLE码块形成的,所述管理码块用于承载管理控制报文;
根据所述DCN报文获取管理控制报文。
其中,所述管理码块包括以下字段:
码块类型字段0x4B:用于表示码块类型;
有效载荷字段Payload:用于承载管理控制报文;
序号字段Seq:用于标识管理控制报文的发送序号。
其中,所述管理码块还包括以下一项或者多项:
预留字段Resv;
M字段:用于表示切片分组网SPN带内管理通道;
校验字段CRC4。
其中,所述根据所述DCN报文获取管理控制报文,包括:
根据所述管理码块的序号字段,获取所述管理码块的发送序号;
根据所述发送序号,排列所述管理码块,获取管理控制报文。
其中,所述方法还包括:
根据所述校验字段,对所述管理控制报文进行校验。
在本申请所提供的几个实施例中,应该理解到,所揭露方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或 一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述收发方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述是本公开的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。

Claims (30)

  1. 一种报文处理方法,应用于灵活以太网FlexE设备,包括:
    确定传输管理码块所需的带宽,所述管理码块用于承载管理控制报文;
    根据所述带宽,利用所述管理码块替换原始数据流中的空闲IDLE码块,形成数据通信网络DCN报文;
    发送所述DCN报文。
  2. 根据权利要求1所述的方法,其中,所述确定传输管理码块所需的带宽,包括:
    将为FlexE实例Instance预留的带宽作为传输管理码块所需的带宽。
  3. 根据权利要求1所述的方法,其中,所述确定传输管理码块所需的带宽,包括:
    获取FlexE Instance包括的子接口数量,以及每个子接口的预留带宽;
    根据所述子接口数量和每个子接口的预留带宽,确定全部子接口的预留带宽总量;
    根据所述FlexE Instance的总带宽以及所述全部子接口的预留带宽总量,确定传输管理码块所需的带宽。
  4. 根据权利要求3所述的方法,其中,所述根据所述FlexE Instance的总带宽以及所述全部子接口的预留带宽总量,确定传输管理码块所需的带宽,包括:
    按照目标间隔,为所述管理码块预留带宽,其中,所述目标间隔为所述总带宽与所述全部子接口的预留带宽总量之商。
  5. 根据权利要求1所述的方法,其中,所述管理码块包括以下字段:
    码块类型字段0x4B:用于表示码块类型;
    有效载荷字段Payload:用于承载管理控制报文;
    序号字段Seq:用于标识管理控制报文的发送序号。
  6. 根据权利要求5所述的方法,其中,所述管理码块还包括以下一项或者多项:
    预留字段Resv;
    M字段:用于表示切片分组网SPN带内管理通道;
    校验字段CRC4。
  7. 根据权利要求1所述的方法,其中,在所述确定传输管理码块所需的带宽之前,所述方法还包括:
    在FlexE设备上电之初,将整个FlexE Instance作为一个子接口进行以太网配置。
  8. 根据权利要求1所述的方法,其中,在所述确定传输管理码块所需的带宽之前,所述方法还包括:
    接收DCN网络发送的IP格式的DCN报文,将所述IP格式的DCN报文重新切包后,封装在所述管理码块中。
  9. 根据权利要求1所述的方法,其中,在所述发送所述DCN报文,所述方法还包括:
    根据所述DCN报文形成IP格式的DCN报文,并向DCN网络发送所述IP格式的DCN报文。
  10. 一种报文处理方法,应用于FlexE设备,包括:
    接收DCN报文;其中,所述DCN报文是利用管理码块替换原始数据流中的IDLE码块形成的,所述管理码块用于承载管理控制报文;
    根据所述DCN报文获取管理控制报文。
  11. 根据权利要求10所述的方法,其中,所述管理码块包括以下字段:
    码块类型字段0x4B:用于表示码块类型;
    有效载荷字段Payload:用于承载管理控制报文;
    序号字段Seq:用于标识管理控制报文的发送序号。
  12. 根据权利要求11所述的方法,其中,所述管理码块还包括以下一项或者多项:
    预留字段Resv;
    M字段:用于表示切片分组网SPN带内管理通道;
    校验字段CRC4。
  13. 根据权利要求12所述的方法,其中,所述根据所述DCN报文获取管理控制报文,包括:
    根据所述管理码块的序号字段,获取所述管理码块的发送序号;
    根据所述发送序号,排列所述管理码块,获取管理控制报文。
  14. 根据权利要求13所述的方法,还包括:
    根据所述校验字段,对所述管理控制报文进行校验。
  15. 一种报文处理装置,设置于FlexE设备中,包括:处理器和收发器;
    所述处理器,用于确定传输管理码块所需的带宽,所述管理码块用于承载管理控制报文;根据所述带宽,利用所述管理码块替换原始数据流中的空闲IDLE码块,形成数据通信网络DCN报文;
    所述收发器,用于发送所述DCN报文。
  16. 根据权利要求15所述的装置,其中,所述处理器还用于,将为FlexE实例Instance预留的带宽作为传输管理码块所需的带宽。
  17. 根据权利要求15所述的装置,其中,所述处理器还用于:
    获取FlexE Instance包括的子接口数量,以及每个子接口的预留带宽;
    根据所述子接口数量和每个子接口的预留带宽,确定全部子接口的预留带宽总量;
    根据所述FlexE Instance的总带宽以及所述全部子接口的预留带宽总量,确定传输管理码块所需的带宽。
  18. 根据权利要求17所述的装置,其中,所述处理器还用于:
    按照目标间隔,为所述管理码块预留带宽,其中,所述目标间隔为所述总带宽与所述全部子接口的预留带宽总量之商。
  19. 根据权利要求15所述的装置,其中,所述管理码块包括以下字段:
    码块类型字段0x4B:用于表示码块类型;
    有效载荷字段Payload:用于承载管理控制报文;
    序号字段Seq:用于标识管理控制报文的发送序号。
  20. 根据权利要求19所述的装置,其中,所述管理码块还包括以下一项或者多项:
    预留字段Resv;
    M字段:用于表示切片分组网SPN带内管理通道;
    校验字段CRC4。
  21. 根据权利要求15所述的装置,其中,所述处理器还用于:在FlexE设备上电之初,将整个FlexE Instance作为一个子接口进行以太网配置。
  22. 根据权利要求15所述的装置,其中,所述处理器还用于:
    接收DCN网络发送的IP格式的DCN报文,将所述IP格式的DCN报文重新切包后,封装在所述管理码块中。
  23. 根据权利要求15所述的装置,其中,所述收发器还用于:根据所述DCN报文形成IP格式的DCN报文,并向DCN网络发送所述IP格式的DCN报文。
  24. 一种报文处理装置,设置于FlexE设备中,包括:处理器和收发器;
    所述收发器,用于接收DCN报文;其中,所述DCN报文是利用管理码块替换原始数据流中的IDLE码块形成的,所述管理码块用于承载管理控制报文;
    所述处理器,用于根据所述DCN报文获取管理控制报文。
  25. 根据权利要求24所述的装置,其中,所述管理码块包括以下字段:
    码块类型字段0x4B:用于表示码块类型;
    有效载荷字段Payload:用于承载管理控制报文;
    序号字段Seq:用于标识管理控制报文的发送序号。
  26. 根据权利要求25所述的装置,其中,所述管理码块还包括以下一项或者多项:
    预留字段Resv;
    M字段:用于表示切片分组网SPN带内管理通道;
    校验字段CRC4。
  27. 根据权利要求26所述的装置,其中,所述处理器还用于:
    根据所述管理码块的序号字段,获取所述管理码块的发送序号;根据所述发送序号,排列所述管理码块,获取管理控制报文。
  28. 根据权利要求27所述的装置,其中,所述处理器还用于:根据所述校验字段,对所述管理控制报文进行校验。
  29. 一种通信设备,包括:收发机、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;
    所述处理器,用于读取存储器中的程序实现如权利要求1至9中任一项所述的方法中的步骤;或者实现如权利要求10至14中任一项所述的方法中的步骤。
  30. 一种计算机可读存储介质,用于存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至9中任一项所述的方法中的步骤;或者实现如权利要求10至14中任一项所述的方法中的步骤。
PCT/CN2020/083922 2019-04-11 2020-04-09 报文处理方法、装置及计算机可读存储介质 WO2020207429A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910289151.6 2019-04-11
CN201910289151.6A CN111817986B (zh) 2019-04-11 2019-04-11 一种报文处理方法、装置及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2020207429A1 true WO2020207429A1 (zh) 2020-10-15

Family

ID=72752145

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/083922 WO2020207429A1 (zh) 2019-04-11 2020-04-09 报文处理方法、装置及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN111817986B (zh)
WO (1) WO2020207429A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4125251A1 (en) * 2021-07-27 2023-02-01 Aptiv Technologies Limited Transmission method through in-vehicle switch-based network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180102834A1 (en) * 2016-10-11 2018-04-12 Ciena Corporation Partial survivability for multi-carrier and multi-module optical interfaces
CN108123813A (zh) * 2016-11-28 2018-06-05 华为技术有限公司 操作、管理和维护oam数据的传输方法和装置
CN108243035A (zh) * 2016-12-26 2018-07-03 华为技术有限公司 Dcn报文处理方法、网络设备和网络系统
CN109347648A (zh) * 2017-09-21 2019-02-15 中国移动通信有限公司研究院 Oam消息传输方法、传输设备及存储介质
CN109379764A (zh) * 2018-11-16 2019-02-22 Ut斯达康通讯有限公司 报文发送方法及装置
CN109743136A (zh) * 2018-12-29 2019-05-10 Ut斯达康通讯有限公司 传输报文传送方法、接收方法及处理装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631064B (zh) * 2008-07-14 2013-04-17 华为技术有限公司 一种数据发送与接收的方法、装置及系统
US10135760B2 (en) * 2015-06-30 2018-11-20 Ciena Corporation Flexible Ethernet chip-to-chip inteface systems and methods
US10382167B2 (en) * 2016-12-13 2019-08-13 Ciena Corporation Flexible ethernet enhanced forward error correction
CN108632061B (zh) * 2017-03-20 2020-12-15 华为技术有限公司 一种带宽调整方法及装置
CN111106964A (zh) * 2017-04-28 2020-05-05 华为技术有限公司 配置链路组的方法和设备
CN113316037B (zh) * 2017-05-02 2022-08-09 华为技术有限公司 一种业务承载的方法、设备和系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180102834A1 (en) * 2016-10-11 2018-04-12 Ciena Corporation Partial survivability for multi-carrier and multi-module optical interfaces
CN108123813A (zh) * 2016-11-28 2018-06-05 华为技术有限公司 操作、管理和维护oam数据的传输方法和装置
CN108243035A (zh) * 2016-12-26 2018-07-03 华为技术有限公司 Dcn报文处理方法、网络设备和网络系统
CN109347648A (zh) * 2017-09-21 2019-02-15 中国移动通信有限公司研究院 Oam消息传输方法、传输设备及存储介质
CN109379764A (zh) * 2018-11-16 2019-02-22 Ut斯达康通讯有限公司 报文发送方法及装置
CN109743136A (zh) * 2018-12-29 2019-05-10 Ut斯达康通讯有限公司 传输报文传送方法、接收方法及处理装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BROWN, DAVID ET AL.: "Can FlexE Deliver on Promises for Programmable and Dynamic Optical Networking", 2018 EUROPEAN CONFERENCE ON OPTICAL COMMUNICATION (ECOC), 27 September 2018 (2018-09-27), pages 1 - 4, XP033447591 *
OIF: "Bonding, Sub-Rating and Channelization for Ethernet", FLEXE WHITE PAPER, 30 June 2017 (2017-06-30), pages 1 - 10, XP055742274, Retrieved from the Internet <URL:https://www.oiforum.com/wp-content/uploads/2019/01/OIF_FlexE_White_Paper.pdf> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4125251A1 (en) * 2021-07-27 2023-02-01 Aptiv Technologies Limited Transmission method through in-vehicle switch-based network

Also Published As

Publication number Publication date
CN111817986A (zh) 2020-10-23
CN111817986B (zh) 2023-05-09

Similar Documents

Publication Publication Date Title
KR102342286B1 (ko) Dcn 메시지 처리 방법, 네트워크 디바이스, 및 네트워크 시스템
US8913623B2 (en) Method and apparatus for processing labeled flows in a communications access network
EP3641242A1 (en) Method and network device for establishing flexible ethernet path
US11700148B2 (en) Packet transmission method and device, and computer storage medium
US10673995B2 (en) Data processing method and apparatus
US20210218521A1 (en) Forwarding table generation method and forwarding device
CN114079674B (zh) 一种数据处理方法、用户面功能及装置
CN109691031B (zh) 业务报文传输方法及节点设备
US11171860B2 (en) Method for obtaining target transmission route, related device, and system
WO2020207429A1 (zh) 报文处理方法、装置及计算机可读存储介质
CN109120657B (zh) 一种业务配置方法和节点
JP7167345B2 (ja) データ伝送方法、通信機器、および記憶媒体
CN114079583A (zh) 发送组播报文的方法、获取转发表项的方法及装置
CN114221867A (zh) 一种操作管理维护oam报文处理方法及设备
CN115633279B (zh) Osu交叉设备及基于osu交叉设备的数据传输方法
KR102015111B1 (ko) 전달망에서 패킷 보호 절체 장치 및 방법
CN102546104B (zh) 一种采用通用成帧规程来传送网管信息的方法

Legal Events

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

Ref document number: 20787339

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20787339

Country of ref document: EP

Kind code of ref document: A1