CN111817986B - Message processing method and device and computer readable storage medium - Google Patents

Message processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN111817986B
CN111817986B CN201910289151.6A CN201910289151A CN111817986B CN 111817986 B CN111817986 B CN 111817986B CN 201910289151 A CN201910289151 A CN 201910289151A CN 111817986 B CN111817986 B CN 111817986B
Authority
CN
China
Prior art keywords
code block
bandwidth
management
management code
message
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910289151.6A
Other languages
Chinese (zh)
Other versions
CN111817986A (en
Inventor
程伟强
王敏学
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910289151.6A priority Critical patent/CN111817986B/en
Priority to PCT/CN2020/083922 priority patent/WO2020207429A1/en
Publication of CN111817986A publication Critical patent/CN111817986A/en
Application granted granted Critical
Publication of CN111817986B publication Critical patent/CN111817986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The invention discloses a message processing method, a message processing device and a computer readable storage medium, which relate to the technical field of communication and are used for solving the problem that a bandwidth is insufficient to bear management control messages when network management is carried out in FlexE. The method comprises the following steps: determining a bandwidth required by transmitting a management code block, wherein the management code block is used for bearing a management control message; according to the bandwidth, the management code block is utilized to replace an IDLE code block in the original data stream, so as to form a DCN message of the data communication network; and sending the DCN message. The embodiment of the invention can solve the problem that the bandwidth is insufficient to bear the management control message when the network management is carried out in the FlexE.

Description

Message processing method and device and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for processing a message, and a computer readable storage medium.
Background
The DCN (Data Communication Network ) system can perform centralized management for network devices scattered throughout the area. The DCN networking comprises two modes of in-band DCN networking and out-of-band DCN networking. The in-band DCN networking refers to using a service channel provided by the managed device to complete network device management, and the out-of-band DCN networking refers to using other channels except the service channel to transmit network management information, so as to realize management of the network device.
The problem of network device management also needs to be considered in FlexE (Flex Ethernet) networks. The current method for carrying the management report is to carry the management control report by using the group overhead of the FlexE. The Group overhead is a frame structure for network management and adjustment, and has a length of 66 bits.
With this approach, the number of multiframes specified in FlexE is too small, which results in insufficient bandwidth for network management. Such as: the 32 multiframes have a bandwidth of 64×32 bits at most, and such a small bandwidth is far from practical application.
Disclosure of Invention
The embodiment of the invention provides a message processing method, a message processing device and a computer readable storage medium, which are used for solving the problem that a sufficient bandwidth is not carried for carrying management control messages when network management is carried out in FlexE.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for processing a packet, which is applied to a flexible ethernet FlexE device, including:
determining a bandwidth required by transmitting a management code block, wherein the management code block is used for bearing a management control message;
according to the bandwidth, the IDLE code blocks in the original data stream are replaced by the management code blocks to form a DCN message of the data communication network;
and sending the DCN message.
Wherein the determining the bandwidth required for transmitting the management code block includes:
the bandwidth reserved for FlexE Instance is taken as the bandwidth required for transmitting the management code block.
Wherein the determining the bandwidth required for transmitting the management code block includes:
acquiring the number of sub-interfaces included in a FlexE Instance and the reserved bandwidth of each sub-interface;
determining the total reserved bandwidth of all sub-interfaces according to the number of the sub-interfaces and the reserved bandwidth of each sub-interface;
and determining the bandwidth required by transmitting the management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all the sub-interfaces.
Wherein the determining the bandwidth required for transmitting the management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all sub-interfaces includes:
and reserving the bandwidth for the management code block according to a target interval, wherein the target interval is the quotient of the total bandwidth and the reserved bandwidth total quantity of all the sub-interfaces.
Wherein the management code block includes the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
Wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
Wherein prior to said determining the bandwidth required to transmit the management code block, the method further comprises:
at the beginning of powering up the FlexE device, the entire FlexE Instance is configured as a sub-interface for ethernet.
Wherein prior to said determining the bandwidth required to transmit the management code block, the method further comprises:
and receiving a DCN message in an IP format sent by a DCN network, and encapsulating the DCN message in the IP format in the management code block after re-cutting the DCN message in the IP format.
Wherein, in the sending the DCN message, the method further includes:
forming a DCN message in an IP format according to the DCN message, and sending the DCN message in the IP format to a DCN network.
In a second aspect, an embodiment of the present invention provides a method for processing a packet, which is applied to FlexE devices, and includes:
receiving a DCN message; the DCN message is formed by replacing an IDLE code block in an original data stream by a management code block, wherein the management code block is used for bearing a management control message;
and acquiring a management control message according to the DCN message.
Wherein the management code block includes the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
Wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
Wherein, the obtaining the management control message according to the DCN message includes:
acquiring a sending sequence number of the management code block according to the sequence number field of the management code block;
and according to the sending sequence numbers, arranging the management code blocks to obtain management control messages.
Wherein the method further comprises:
and checking the management control message according to the check field.
In a third aspect, an embodiment of the present invention provides a message processing apparatus, provided in a FlexE device, including: a processor and a transceiver;
the processor is used for determining the bandwidth required by transmitting a management code block, and the management code block is used for bearing a management control message; according to the bandwidth, the management code block is utilized to replace an IDLE IDLE code block in the original data stream, so as to form a DCN message of the data communication network;
the transceiver is configured to send the DCN message.
Wherein the processor is further configured to take the bandwidth reserved for the FlexE Instance as the bandwidth required for transmitting the management code block.
Wherein the processor is further configured to:
acquiring the number of sub-interfaces included in a FlexE Instance and the reserved bandwidth of each sub-interface;
determining the total reserved bandwidth of all sub-interfaces according to the number of the sub-interfaces and the reserved bandwidth of each sub-interface;
and determining the bandwidth required by transmitting the management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all the sub-interfaces.
Wherein the processor is further configured to:
and reserving the bandwidth for the management code block according to a target interval, wherein the target interval is the quotient of the total bandwidth and the reserved bandwidth total quantity of all the sub-interfaces.
Wherein the management code block includes the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
Wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
Wherein the processor is further configured to: at the beginning of powering up the FlexE device, the entire FlexE Instance is configured as a sub-interface for ethernet.
Wherein the processor is further configured to:
and receiving a DCN message in an IP format sent by a DCN network, and encapsulating the DCN message in the IP format in the management code block after re-cutting the DCN message in the IP format.
Wherein the transceiver is further configured to: forming a DCN message in an IP format according to the DCN message, and sending the DCN message in the IP format to a DCN network.
In a fourth aspect, an embodiment of the present invention provides a packet processing device, provided in a FlexE device, including: a processor and a transceiver;
the transceiver is configured to receive a DCN packet; the DCN message is formed by replacing an IDLE code block in an original data stream by a management code block, wherein the management code block is used for bearing a management control message;
and the processor is used for acquiring a management control message according to the DCN message.
Wherein the management code block includes the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
Wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
Wherein the processor is further configured to:
acquiring a sending sequence number of the management code block according to the sequence number field of the management code block; and according to the sending sequence numbers, arranging the management code blocks to obtain management control messages.
Wherein the processor is further configured to: and checking the management control message according to the check field.
In a fifth aspect, an embodiment of the present invention provides a communication device, including: a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor;
the processor is configured to read a program in the memory to implement the steps in the method according to the first aspect; or to implement the steps in the method as described in the second aspect.
In a sixth aspect, an embodiment of the present invention provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method according to the first aspect; or to implement the steps in the method as described in the second aspect.
In the embodiment of the invention, the required bandwidth is set for the management code block carrying the management control message, and the management code stream is utilized to replace the IDLE code block in the original data stream to form the DCN message. Therefore, compared with the prior art, by utilizing the scheme of the embodiment of the invention, enough bandwidth bearing management control messages can be provided when network management is carried out in the FlexE.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 is a flow chart of a message processing method provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of out-of-band DCN and FlexE network interworking;
FIG. 3 is a flowchart of a message processing method according to an embodiment of the present invention;
FIG. 4 is a block diagram of a message processing apparatus according to an embodiment of the present invention;
FIG. 5 is a block diagram of a message processing apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram of a communication device according to an embodiment of the present invention;
fig. 7 is a block diagram of a communication device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The prior art also provides a client (client) bearer management control message using FlexE. The traffic of one client has a bandwidth of at least 5Gbps. For this approach, the bandwidth of the client is 5Gbps. If a client with a bandwidth of 5Gbps is used as DCN, it is very wasteful. If the business of the client is followed, the business of the client is also related to the configuration of the client. Traffic may have intermediate cross-point processing and if not specifically processed, these points would have to additionally establish channels. If the configuration of clients changes, network topology changes and routing changes are caused, and considerable complexity is brought to the establishment and operation of the management network.
In order to solve the problems in the prior art, the embodiment of the invention provides a message processing method.
Referring to fig. 1, fig. 1 is a flowchart of a message processing method provided by an embodiment of the present invention, which is applied to FlexE devices, as shown in fig. 1, and includes the following steps:
step 101, determining a bandwidth required for transmitting a management code block, where the management code block is used for carrying a management control message.
In the embodiment of the invention, a new code block, namely a management code block, is defined and is provided with a bearing management control message.
As shown in table 1, each field included in the management code block is included.
TABLE 1
0 1 2-9 10-11 12-33 34-37 38-53 54-61 62-65
1 0 0x4B Resv Payload M Payload Seq CRC4
The fields are defined as follows:
code block type field 0x4B:8 bits for indicating the code block type. For example, the code block is indicated as being of the 0 code type.
Resv:2bit, reserved field, default to 0x00.
Payload field Payload:32 bits for carrying management control messages.
M field: 4bit, default to 0x02, support settings for representing SPN (Slicing Packet Network, slice packet network) in-band management channels.
Sequence number field Seq:4bit, the sending sequence number of the identification management control message is used for message recovery of the receiving end.
Check field CRC4:4 bits, checking 60 bits in total for 0-7 bytes (excluding CRC4 and synchronization header) of an SPN operation maintenance management (OAM) code block; all operation and maintenance administration (OAM) blocks are only valid if the CRC check is correct. Algorithm polynomial: x is x 4 +x+1, with an initial value of 0. This CRC check may also be unnecessary because the ethernet message contains FCS (Frame Check Sequence ).
In an embodiment of the present invention, the bandwidth required for transmitting the management code block may be determined by:
(1) The bandwidth reserved for FlexE Instance is taken as the bandwidth required for transmitting the management code block. That is, in this manner, a certain bandwidth is reserved for the entire FlexE Instance (e.g., 100GBASE-R whole that is not split), and there is no need to exclusively let a client reserve bandwidth.
(2) And acquiring the number of sub-interfaces included in the FlexE Instance and the reserved bandwidth of each sub-interface, and determining the total reserved bandwidth of all the sub-interfaces according to the number of the sub-interfaces and the reserved bandwidth of each sub-interface. And then, determining the bandwidth required by transmitting the management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all the sub-interfaces.
Specifically, bandwidth is reserved for the management code block according to a target interval, wherein the target interval is the quotient of the total bandwidth and the total reserved bandwidth of all sub-interfaces.
For example, using each slot of FlexE as a sub-interface, one Instance (e.g., 100 GBASE-R) up to 20 sub-interfaces is used to construct the DCN, which becomes the next hop for the route. Taking a fixed reservation of 1Mbps bandwidth for one slot as an example, how much bandwidth is needed for each sub-interface, then the 1Mbps bandwidth of how many slots is occupied. An Instance of 100Gbps has 20Mbps bandwidth available. Under this client configuration, 1Mbps bandwidth is subtracted per 5Gbps bandwidth.
And 102, replacing an IDLE code block in the original data stream by using the management code block according to the bandwidth to form a DCN message.
The bandwidth determined in step 101 corresponds to the period of insertion of the management code block into the original data stream. Therefore, according to the bandwidth, the IDLE code block to be replaced can be determined, and the IDLE code block is replaced by the management code block, so that the DCN message is formed.
Step 103, sending the DCN message.
In the embodiment of the invention, the required bandwidth is set for the management code block carrying the management control message, and the management code stream is utilized to replace the IDLE code block in the original data stream to form the DCN message. Therefore, compared with the prior art, by utilizing the scheme of the embodiment of the invention, enough bandwidth bearing management control messages can be provided when network management is carried out in the FlexE.
Meanwhile, compared with client bearing of the follow-up service, the embodiment of the invention does not depend on the configuration of clients, does not need to consider complex scenes such as cross connection and the like, and only needs to reserve part of bandwidth.
At the beginning of powering up the FlexE device, in order to implement management of the FlexE device, the entire FlexE Instance is configured as a sub-interface for ethernet.
In practical application, at the beginning of powering up the FlexE device, the network has no FlexE client configuration, no service, and a large number of IDLE code blocks in the time slot. If the network is to be managed, the whole FlexE Instance (for example, the whole 100GBASE-R which is not segmented) is used as a subinterface according to a default mode, and the network is managed by performing conventional configuration IP according to a general ethernet.
Optionally, in the embodiment of the present invention, in order to reduce the influence on the DCN network, the DCN packet in the IP format sent by the DCN network may be received, and after the DCN packet in the IP format is re-packetized, the DCN packet is encapsulated in the management code block. Or forming a DCN message in an IP format according to the DCN message, and sending the DCN message in the IP format to a DCN network.
As shown in fig. 2, an interworking schematic of the out-of-band DCN and FlexE networks is shown. That is, on the link 23 where the egress of the FlexE network 21 is connected to the DCN switch 22, the DCN message in the conventional IP format is transmitted, and the existing DCN switch device does not need to be modified. Inside the FlexE network, the DCN packets are transferred, which are repackaged by the FlexE device according to 32 bits, the repackaged packets being encapsulated in a newly defined management code block Payload. And after the target receiving point is reached, the DCN message can be restored again according to the sequence number Seq.
As shown in fig. 3, a flowchart of a message processing method according to an embodiment of the present invention is applied to FlexE devices, and includes:
step 301, receiving a DCN message; the DCN message is formed by replacing an IDLE code block in the original data stream with a management code block, wherein the management code block is used for bearing a management control message.
And 302, acquiring a management control message according to the DCN message.
The meaning of each field of the management code block can be referred to the description of the foregoing embodiment.
Then, in step 302, the transmission sequence number of the management code block is obtained according to the sequence number field of the management code block. And then, according to the sending sequence number, arranging the management code blocks to obtain a management control message. In addition, the management control message can be checked according to the check field.
In the embodiment of the invention, the required bandwidth is set for the management code block carrying the management control message, and the management code stream is utilized to replace the IDLE code block in the original data stream to form the DCN message. Therefore, compared with the prior art, by utilizing the scheme of the embodiment of the invention, enough bandwidth bearing management control messages can be provided when network management is carried out in the FlexE.
As shown in fig. 4, a message processing apparatus according to an embodiment of the present invention is disposed in a FlexE device, and includes: a processor 401 and a transceiver 402.
The processor 401 is configured to determine a bandwidth required for transmitting a management code block, where the management code block is used to carry a management control packet; according to the bandwidth, the management code block is utilized to replace an IDLE IDLE code block in the original data stream, so as to form a DCN message of the data communication network;
the transceiver 402 is configured to send the DCN packet.
Optionally, the processor 401 is further configured to take the bandwidth reserved for FlexE Instance as the bandwidth required for transmitting the management code block.
Optionally, the processor 401 is further configured to obtain the number of subinterfaces included in the FlexE Instance and a reserved bandwidth of each subinterface; determining the total reserved bandwidth of all sub-interfaces according to the number of the sub-interfaces and the reserved bandwidth of each sub-interface; and determining the bandwidth required by transmitting the management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all the sub-interfaces.
Optionally, the processor 401 is further configured to reserve a bandwidth for the management code block according to a target interval, where the target interval is a quotient of the total bandwidth and a total reserved bandwidth of the all subinterfaces.
Wherein the management code block includes the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
Wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
Optionally, the processor 401 is further configured to perform ethernet configuration with the entire FlexE Instance as a sub-interface at the beginning of powering up the FlexE device.
Optionally, the processor 401 is further configured to receive a DCN packet in an IP format sent by the DCN network, and encapsulate the DCN packet in the IP format in the management code block after re-packetizing the DCN packet.
Optionally, the transceiver 402 is further configured to form a DCN message in an IP format according to the DCN message, and send the DCN message in the IP format to a DCN network.
In the embodiment of the invention, the required bandwidth is set for the management code block carrying the management control message, and the management code stream is utilized to replace the IDLE code block in the original data stream to form the DCN message. Therefore, compared with the prior art, by utilizing the scheme of the embodiment of the invention, enough bandwidth bearing management control messages can be provided when network management is carried out in the FlexE.
As shown in fig. 5, a message processing apparatus according to an embodiment of the present invention is disposed in a FlexE device, and includes: a processor 501 and a transceiver 502.
The transceiver 502 is configured to receive a DCN packet; the DCN message is formed by replacing an IDLE code block in an original data stream by a management code block, wherein the management code block is used for bearing a management control message;
the processor 501 is configured to obtain a management control message according to the DCN message.
Wherein the management code block includes the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
Wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
Optionally, the processor 501 is further configured to: acquiring a sending sequence number of the management code block according to the sequence number field of the management code block; and according to the sending sequence numbers, arranging the management code blocks to obtain management control messages.
Optionally, the processor 501 is further configured to: and checking the management control message according to the check field.
In the embodiment of the invention, the required bandwidth is set for the management code block carrying the management control message, and the management code stream is utilized to replace the IDLE code block in the original data stream to form the DCN message. Therefore, compared with the prior art, by utilizing the scheme of the embodiment of the invention, enough bandwidth bearing management control messages can be provided when network management is carried out in the FlexE.
As shown in fig. 6, the communication device of the embodiment of the present invention includes: the processor 600, configured to read the program in the memory 620, performs the following procedures:
determining a bandwidth required by transmitting a management code block, wherein the management code block is used for bearing a management control message; according to the bandwidth, the management code block is utilized to replace an IDLE IDLE code block in the original data stream, so as to form a DCN message of the data communication network;
a transceiver 610 for transmitting the DCN message under the control of the processor 600.
Wherein in fig. 6, a bus architecture may comprise any number of interconnected buses and bridges, and in particular one or more processors represented by processor 600 and various circuits of memory represented by memory 620, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. Transceiver 610 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 in performing operations.
The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 in performing operations.
The processor 600 is further configured to read the computer program, and perform the following steps:
the bandwidth reserved for FlexE Instance is taken as the bandwidth required for transmitting the management code block.
The processor 600 is further configured to read the computer program, and perform the following steps:
acquiring the number of sub-interfaces included in a FlexE Instance and the reserved bandwidth of each sub-interface;
determining the total reserved bandwidth of all sub-interfaces according to the number of the sub-interfaces and the reserved bandwidth of each sub-interface;
and determining the bandwidth required by transmitting the management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all the sub-interfaces.
The processor 600 is further configured to read the computer program, and perform the following steps:
and reserving the bandwidth for the management code block according to a target interval, wherein the target interval is the quotient of the total bandwidth and the reserved bandwidth total quantity of all the sub-interfaces.
Wherein the management code block includes the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
Wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
The processor 600 is further configured to read the computer program, and perform the following steps:
at the beginning of powering up the FlexE device, the entire FlexE Instance is configured as a sub-interface for ethernet.
The processor 600 is further configured to read the computer program, and perform the following steps:
and receiving a DCN message in an IP format sent by a DCN network, and encapsulating the DCN message in the IP format in the management code block after re-cutting the DCN message in the IP format.
The transceiver 610 is further configured to form a DCN message in an IP format according to the DCN message, and send the DCN message in the IP format to a DCN network.
The processor 600 is further configured to read the computer program, and perform the following steps:
as shown in fig. 7, the communication device of the embodiment of the present invention includes:
a transceiver 710 for receiving DCN messages; the DCN message is formed by replacing an IDLE code block in an original data stream by a management code block, wherein the management code block is used for bearing a management control message; the processor 700 is configured to read the program in the memory 720, and execute the following procedures: and acquiring a management control message according to the DCN message.
Wherein in fig. 7, a bus architecture may comprise any number of interconnected buses and bridges, and in particular one or more processors represented by processor 700 and various circuits of memory represented by memory 720, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The transceiver 710 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 may store data used by the processor 700 in performing operations.
The processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 may store data used by the processor 700 in performing operations.
Wherein the management code block includes the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
Wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
The processor 700 is further configured to read the computer program, and perform the following steps:
acquiring a sending sequence number of the management code block according to the sequence number field of the management code block;
and according to the sending sequence numbers, arranging the management code blocks to obtain management control messages.
The processor 700 is further configured to read the computer program, and perform the following steps:
and checking the management control message according to the check field.
Furthermore, a computer-readable storage medium of an embodiment of the present invention stores a computer program executable by a processor to implement the steps of:
determining a bandwidth required by transmitting a management code block, wherein the management code block is used for bearing a management control message;
according to the bandwidth, the management code block is utilized to replace an IDLE IDLE code block in the original data stream, so as to form a DCN message of the data communication network;
and sending the DCN message.
Wherein the determining the bandwidth required for transmitting the management code block includes:
the bandwidth reserved for FlexE Instance is taken as the bandwidth required for transmitting the management code block.
Wherein the determining the bandwidth required for transmitting the management code block includes:
acquiring the number of sub-interfaces included in a FlexE Instance and the reserved bandwidth of each sub-interface;
determining the total reserved bandwidth of all sub-interfaces according to the number of the sub-interfaces and the reserved bandwidth of each sub-interface;
and determining the bandwidth required by transmitting the management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all the sub-interfaces.
Wherein the determining the bandwidth required for transmitting the management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all sub-interfaces includes:
and reserving the bandwidth for the management code block according to a target interval, wherein the target interval is the quotient of the total bandwidth and the reserved bandwidth total quantity of all the sub-interfaces.
Wherein the management code block includes the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
Wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
Wherein prior to said determining the bandwidth required to transmit the management code block, the method further comprises:
at the beginning of powering up the FlexE device, the entire FlexE Instance is configured as a sub-interface for ethernet.
Wherein prior to said determining the bandwidth required to transmit the management code block, the method further comprises:
and receiving a DCN message in an IP format sent by a DCN network, and encapsulating the DCN message in the IP format in the management code block after re-cutting the DCN message in the IP format.
Wherein, in the sending the DCN message, the method further includes:
forming a DCN message in an IP format according to the DCN message, and sending the DCN message in the IP format to a DCN network.
Furthermore, a computer-readable storage medium of an embodiment of the present invention stores a computer program executable by a processor to implement the steps of:
receiving a DCN message; the DCN message is formed by replacing an IDLE code block in an original data stream by a management code block, wherein the management code block is used for bearing a management control message;
and acquiring a management control message according to the DCN message.
Wherein the management code block includes the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
Wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
Wherein, the obtaining the management control message according to the DCN message includes:
acquiring a sending sequence number of the management code block according to the sequence number field of the management code block;
and according to the sending sequence numbers, arranging the management code blocks to obtain management control messages.
Wherein the method further comprises:
and checking the management control message according to the check field.
In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform part of the steps of the transceiving method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (26)

1. The message processing method is applied to flexible Ethernet FlexE equipment and is characterized by comprising the following steps:
determining a bandwidth required by transmitting a management code block, wherein the management code block is used for bearing a management control message;
according to the bandwidth, the management code block is utilized to replace an IDLE IDLE code block in the original data stream, so as to form a DCN message of the data communication network;
sending the DCN message;
the bandwidth is reserved for the management code block according to the target interval and is used as the bandwidth required by transmitting the management code block; the IDLE code block is determined as follows:
the bandwidth is used as a period for inserting the management code block into the original data stream, and the IDLE code block is determined in the original data stream;
alternatively, the determining the bandwidth required for transmitting the management code block includes:
acquiring the number of sub-interfaces included in a FlexE Instance and the reserved bandwidth of each sub-interface;
determining the total reserved bandwidth of all sub-interfaces according to the number of the sub-interfaces and the reserved bandwidth of each sub-interface;
determining the bandwidth required by transmitting a management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all sub-interfaces;
wherein the target interval is a quotient of the total bandwidth and a reserved bandwidth total amount of the all subinterfaces.
2. The method of claim 1, wherein said determining the bandwidth required to transmit the management code block comprises:
the bandwidth reserved for FlexE Instance is taken as the bandwidth required for transmitting the management code block.
3. The method of claim 1, wherein the management code block comprises the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
4. A method according to claim 3, wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
5. The method of claim 1, wherein prior to said determining the bandwidth required to transmit a management code block, the method further comprises:
at the beginning of powering up the FlexE device, the entire FlexE Instance is configured as a sub-interface for ethernet.
6. The method of claim 1, wherein prior to said determining the bandwidth required to transmit a management code block, the method further comprises:
and receiving a DCN message in an IP format sent by a DCN network, and encapsulating the DCN message in the IP format in the management code block after re-cutting the DCN message in the IP format.
7. The method of claim 1, wherein, at the sending the DCN message, the method further comprises:
forming a DCN message in an IP format according to the DCN message, and sending the DCN message in the IP format to a DCN network.
8. The message processing method is applied to FlexE equipment and is characterized by comprising the following steps:
receiving a DCN message; the DCN message is formed by replacing an IDLE code block in an original data stream by a management code block, wherein the management code block is used for bearing a management control message;
acquiring a management control message according to the DCN message;
the bandwidth is reserved for the management code block according to the target interval and is used as the bandwidth required by transmitting the management code block; the IDLE code block is determined as follows:
the bandwidth is used as a period for inserting the management code block into the original data stream, and the IDLE code block is determined in the original data stream;
alternatively, the bandwidth required to transmit the management code block is determined as follows:
acquiring the number of sub-interfaces included in a FlexE Instance and the reserved bandwidth of each sub-interface;
determining the total reserved bandwidth of all sub-interfaces according to the number of the sub-interfaces and the reserved bandwidth of each sub-interface;
determining the bandwidth required by transmitting a management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all sub-interfaces;
wherein the target interval is a quotient of the total bandwidth and a reserved bandwidth total amount of the all subinterfaces.
9. The method of claim 8, wherein the management code block comprises the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
10. The method of claim 9, wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
11. The method of claim 10, wherein the obtaining the management control message according to the DCN message comprises:
acquiring a sending sequence number of the management code block according to the sequence number field of the management code block;
and according to the sending sequence numbers, arranging the management code blocks to obtain management control messages.
12. The method of claim 11, wherein the method further comprises:
and checking the management control message according to the check field.
13. The message processing device is arranged in a FlexE device, and is characterized by comprising: a processor and a transceiver;
the processor is used for determining the bandwidth required by transmitting a management code block, and the management code block is used for bearing a management control message; according to the bandwidth, the management code block is utilized to replace an IDLE IDLE code block in the original data stream, so as to form a DCN message of the data communication network;
the transceiver is configured to send the DCN packet;
the bandwidth is reserved for the management code block according to the target interval and is used as the bandwidth required by transmitting the management code block; the IDLE code block is determined as follows:
the bandwidth is used as a period for inserting the management code block into the original data stream, and the IDLE code block is determined in the original data stream;
alternatively, the processor is further configured to:
acquiring the number of sub-interfaces included in a FlexE Instance and the reserved bandwidth of each sub-interface;
determining the total reserved bandwidth of all sub-interfaces according to the number of the sub-interfaces and the reserved bandwidth of each sub-interface;
determining the bandwidth required by transmitting a management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all sub-interfaces;
wherein the target interval is a quotient of the total bandwidth and a reserved bandwidth total amount of the all subinterfaces.
14. The apparatus of claim 13, wherein the processor is further configured to use a bandwidth reserved for FlexE Instance as a bandwidth required for transmitting a management code block.
15. The apparatus of claim 13, wherein the management code block comprises the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
16. The apparatus of claim 15, wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
17. The apparatus of claim 13, wherein the processor is further configured to: at the beginning of powering up the FlexE device, the entire FlexE Instance is configured as a sub-interface for ethernet.
18. The apparatus of claim 13, wherein the processor is further configured to:
and receiving a DCN message in an IP format sent by a DCN network, and encapsulating the DCN message in the IP format in the management code block after re-cutting the DCN message in the IP format.
19. The apparatus of claim 13, wherein the transceiver is further configured to: forming a DCN message in an IP format according to the DCN message, and sending the DCN message in the IP format to a DCN network.
20. The message processing device is arranged in a FlexE device, and is characterized by comprising: a processor and a transceiver;
the transceiver is configured to receive a DCN packet; the DCN message is formed by replacing an IDLE code block in an original data stream by a management code block, wherein the management code block is used for bearing a management control message;
the processor is used for acquiring a management control message according to the DCN message;
the bandwidth is reserved for the management code block according to the target interval and is used as the bandwidth required by transmitting the management code block; the IDLE code block is determined as follows:
the bandwidth is used as a period for inserting the management code block into the original data stream, and the IDLE code block is determined in the original data stream;
alternatively, the bandwidth required to transmit the management code block is determined as follows:
acquiring the number of sub-interfaces included in a FlexE Instance and the reserved bandwidth of each sub-interface;
determining the total reserved bandwidth of all sub-interfaces according to the number of the sub-interfaces and the reserved bandwidth of each sub-interface;
determining the bandwidth required by transmitting a management code block according to the total bandwidth of the FlexE Instance and the total reserved bandwidth of all sub-interfaces;
wherein the target interval is a quotient of the total bandwidth and a reserved bandwidth total amount of the all subinterfaces.
21. The apparatus of claim 20, wherein the management code block comprises the following fields:
code block type field 0x4B: for representing the code block type;
payload field Payload: the device is used for bearing the management control message;
sequence number field Seq: and the sending sequence number is used for identifying the management control message.
22. The apparatus of claim 21, wherein the management code block further comprises one or more of:
a reserved field Resv;
m field: the method is used for representing the in-band management channel of the slice packet network SPN;
the check field CRC4.
23. The apparatus of claim 22, wherein the processor is further configured to:
acquiring a sending sequence number of the management code block according to the sequence number field of the management code block; and according to the sending sequence numbers, arranging the management code blocks to obtain management control messages.
24. The apparatus of claim 23, wherein the processor is further configured to: and checking the management control message according to the check field.
25. A communication device, comprising: a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; it is characterized in that the method comprises the steps of,
the processor for reading a program in a memory to implement the steps in the method of any of claims 1 to 7; or to carry out the steps of the method according to any one of claims 8 to 12.
26. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 7; or to carry out the steps of the method according to any one of claims 9 to 12.
CN201910289151.6A 2019-04-11 2019-04-11 Message processing method and device and computer readable storage medium Active CN111817986B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910289151.6A CN111817986B (en) 2019-04-11 2019-04-11 Message processing method and device and computer readable storage medium
PCT/CN2020/083922 WO2020207429A1 (en) 2019-04-11 2020-04-09 Message processing method and apparatus, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910289151.6A CN111817986B (en) 2019-04-11 2019-04-11 Message processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111817986A CN111817986A (en) 2020-10-23
CN111817986B true CN111817986B (en) 2023-05-09

Family

ID=72752145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910289151.6A Active CN111817986B (en) 2019-04-11 2019-04-11 Message processing method and device and computer readable storage medium

Country Status (2)

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

Families Citing this family (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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631064A (en) * 2008-07-14 2010-01-20 华为技术有限公司 Method, device and system for sending and receiving data
CN109347648A (en) * 2017-09-21 2019-02-15 中国移动通信有限公司研究院 OAM message transmission method, transmission device and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10135760B2 (en) * 2015-06-30 2018-11-20 Ciena Corporation Flexible Ethernet chip-to-chip inteface systems and methods
US10333614B2 (en) * 2016-10-11 2019-06-25 Ciena Corporation Partial survivability for multi-carrier and multi-module optical interfaces
CN108123813B (en) * 2016-11-28 2020-06-02 华为技术有限公司 Transmission method and device for operation, administration and maintenance OAM data
US10382167B2 (en) * 2016-12-13 2019-08-13 Ciena Corporation Flexible ethernet enhanced forward error correction
CN108243035B (en) * 2016-12-26 2021-04-09 华为技术有限公司 DCN message processing method, network equipment and network system
CN108632061B (en) * 2017-03-20 2020-12-15 华为技术有限公司 Bandwidth adjusting method and device
CN108809674B (en) * 2017-04-28 2020-01-10 华为技术有限公司 Method and apparatus for configuring link group
CN113316037B (en) * 2017-05-02 2022-08-09 华为技术有限公司 Method, equipment and system for carrying service
CN109379764B (en) * 2018-11-16 2022-02-25 Ut斯达康通讯有限公司 Message sending method and device
CN109743136B (en) * 2018-12-29 2021-08-27 Ut斯达康通讯有限公司 Transmission message transmitting method, receiving method and processing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631064A (en) * 2008-07-14 2010-01-20 华为技术有限公司 Method, device and system for sending and receiving data
CN109347648A (en) * 2017-09-21 2019-02-15 中国移动通信有限公司研究院 OAM message transmission method, transmission device and storage medium

Also Published As

Publication number Publication date
CN111817986A (en) 2020-10-23
WO2020207429A1 (en) 2020-10-15

Similar Documents

Publication Publication Date Title
AU2017435222B2 (en) Method and apparatus for sending and receiving clock synchronization packet
US6751230B1 (en) Upstream channel multicast media access control (MAC) address method for data-over-cable systems
CN102136959B (en) Ethernet link management method, device and system
US11575439B1 (en) Apparatus and method for joint profile-based slicing of mobile access and optical backhaul
CN113972997A (en) Method and equipment for transmitting data
CN113300876A (en) DCN message processing method, network equipment and network system
EP3267721A1 (en) Air-interface protocol stack configuration method, and data transmission method and device
CN114079674B (en) Data processing method, user plane function and device
CN108696588A (en) A kind of sending method and equipment of information
US20230164624A1 (en) Service data processing, exchange and extraction methods, devices, and computer-readable medium
US11171860B2 (en) Method for obtaining target transmission route, related device, and system
US10306028B2 (en) Data processing method and apparatus
CN111817986B (en) Message processing method and device and computer readable storage medium
CN113055293A (en) Routing method and device in software defined wide area network and communication system
CN109120657B (en) Service configuration method and node
CN104125599A (en) WLAN (wireless local area network) access point and user terminal information acquisition, correlation and statistical analysis method
US9774458B2 (en) Method for transporting Ethernet and non-Ethernet traffic over the same medium
EP4087315A1 (en) Port resource reservation method, electronic device, and storage medium
US10826636B2 (en) Optical supervisory channel processing method and apparatus in optical network
JP7167345B2 (en) DATA TRANSMISSION METHOD, COMMUNICATION DEVICE, AND STORAGE MEDIUM
CN114079583A (en) Method for sending multicast message, method and device for obtaining forwarding table item
CN110601910A (en) Information transmission system based on flexE service and transmission method thereof
CN114615136B (en) FlexE interface management method for 5G smart grid slice
CN117176632A (en) Message receiving method, message sending method, message forwarding device and message forwarding system
US10727978B2 (en) Method and apparatus for transmitting control messages in an optical transmission network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant