WO2023141777A1 - Communication method and network device - Google Patents

Communication method and network device Download PDF

Info

Publication number
WO2023141777A1
WO2023141777A1 PCT/CN2022/073868 CN2022073868W WO2023141777A1 WO 2023141777 A1 WO2023141777 A1 WO 2023141777A1 CN 2022073868 W CN2022073868 W CN 2022073868W WO 2023141777 A1 WO2023141777 A1 WO 2023141777A1
Authority
WO
WIPO (PCT)
Prior art keywords
pcs
code blocks
code block
data
ethernet service
Prior art date
Application number
PCT/CN2022/073868
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Priority to PCT/CN2022/073868 priority Critical patent/WO2023141777A1/en
Priority to CN202280005148.7A priority patent/CN116806418A/en
Publication of WO2023141777A1 publication Critical patent/WO2023141777A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted

Definitions

  • the present application relates to the technical field of communication, and in particular to a communication method and network equipment.
  • the 802.3-based Ethernet defined by the Institute of Electrical and Electronics Engineers (IEEE) has been used as a service interface in various occasions.
  • OIF optical internetworking forum, Optical Internet Forum
  • FlexE Flexible Ethernet
  • the channelization application scenario for Ethernet services combines sub-rate and inverse multiplexing technologies, and supports bundling PMD inverse multiplexing of multiple channels of standard Ethernet into a large-bandwidth FlexE service layer, which carries multiple channels of FlexE Services, such as a 250G and five 10G FlexE services are transmitted through a 300G FlexE service layer, and the 300G FlexE service layer is formed by inverse multiplexing of 3 channels of 100GEPMD.
  • OTN optical transport network, optical transport network
  • the traditional technical solution is to identify each FlexE service, and directly map each FlexE service to an ODUk (Optical Channel Data Unit-k, optical channel data unit k) container or ODUflex (Optical Channel Data Unit-flexible, flexible optical channel data unit)
  • ODUk Optical Channel Data Unit-k, optical channel data unit k
  • ODUflex Optical Channel Data Unit-flexible, flexible optical channel data unit
  • the FlexE service is divided into multiple data queues that meet the requirements of small-bandwidth ODUk/ODUflex containers, and additional control code blocks for identifying FlexE services are inserted between the data code blocks that make up each data queue, and the additional down-inserted control code blocks
  • the code block will occupy the bandwidth, and the previous stage needs to reserve the bandwidth in advance, and perform rate adaptation in advance, resulting in a waste of bandwidth resources.
  • Embodiments of the present application provide a communication method and network equipment, which can reduce bandwidth waste.
  • a communication method is provided.
  • the method can be performed by a sending device, and the sending device can also be a module or a chip in the sending device, and the sending device can also be a chip or a system on a chip.
  • the method includes the following steps: first, the sending device receives a plurality of physical coding sublayer PCS The data code block and marker code block of the channel; the Ethernet service identifier is inserted into the marker code block of multiple physical coding sublayer PCS channels, and the Ethernet service identifier is used to indicate the data code block in the PCS channel where the marker code block is located Ethernet services; the data code blocks and marker code blocks in multiple PCS channels are mapped to an optical transport network container; exemplary, the optical transport network container includes an optical channel data unit k container or a flexible optical channel data unit container ; Send the OTN container to the OTN.
  • each PCS channel includes a plurality of marker code blocks set at intervals, and adjacent marker code blocks include Multiple data code blocks used to carry the original data stream.
  • the sending device since the sending device directly inserts the Ethernet service identifier into the marking code blocks of the multiple physical coding sublayer PCS channels of the Ethernet service, it does not carry the data on the PCS channel.
  • the code blocks of multiple physical sublayer PCS channels are used for other processing, and then the data code blocks and marker code blocks in multiple PCS channels are mapped to an optical transport network container.
  • each data stream can include at least one physical sub-layer PCS channel bearer Sub-data streams, and then map the combined data streams to an optical transport network container with matching bandwidth and send them to the optical transport network, so that the PCS channel itself has an identification code block for data block alignment, because each The identification code block corresponds to a PCS channel, and in the scheme of the present application, the identification code block simultaneously carries the Ethernet service identifier used to indicate the Ethernet service carried by the data code block in the PCS channel where the marking code block is located, so receiving After receiving the OTN container transmitted by the OTN, the device can align the data code blocks of each PCS channel according to the identification code block, and align the same The data code blocks in the PCS channel corresponding to the Ethernet service identifier are combined to restore the original data stream. In this way, since there is no need
  • the marked code block includes an alignment identifier AM
  • the Ethernet service identifier is set in the BIP 7 field of the AM.
  • the above-mentioned AM can be used for the marker code block, and the encoding (encoding) corresponding to AM includes M 0 , M 1 , M 2 , BIP 3 , M 3 , M 4 , M 5 , M 6 , BIP 7 field.
  • an Ethernet service identifier (such as a client ID (Client ID, CID)) can be set in the BIP 7 field of the AM.
  • the codeword mark includes a rate matching RC identifier
  • the identifier of the PCS channel is carried in bits [29:26] of the rate matching RC identifier
  • the Ethernet service identifier is carried in bits [65:58] of the RC identifier ].
  • RSFEC Reed Solomon forward error correction
  • CWM rate matching
  • the positions of RC and AM in the PCS channel are the same and the content is different.
  • bit[29:26] can enter and exit the number of PCS channel.
  • Fill in the Ethernet service identifier in Bit [65:58] (for example, it may specifically be a client identifier (Client ID, CID)).
  • the 200GE Ethernet service has 8 pairs of RCs, and bits [29:26] in 8 different RC0/1 are respectively Fill in 0x0/0x1/0x2/0x3.../0x7 in sequence
  • the 400GE Ethernet service has 16 pairs of RCs, and bits [29:26] in 16 different RC0/1 are respectively filled with 0x0/0x1/0x2/0x3.../0xf in sequence.
  • a PCS channel includes a plurality of marked code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marked code blocks, and each PCS channel corresponds to a marked code block; the data code The block carries the original data flow of the Ethernet service.
  • the marker code block and the data code block are 66-Bit code blocks formed in a 64/66-Bit encoding manner.
  • a communication method is provided.
  • the method can be performed by a receiving device, and the receiving device can also be a module or a chip in the receiving device, and the receiving device can also be a chip or a system on a chip.
  • the method includes the following steps: first, the receiving device transmits multiple Data code blocks and marker code blocks in multiple PCS channels are respectively demapped in an optical transport network container.
  • the marker code blocks contain Ethernet service identifiers, and the Ethernet service identifiers are used to indicate the PCS channels in which the marker code blocks are located.
  • the PCS channel itself has an identification code block for data block alignment, and each identification code block corresponds to a PCS channel, and in the solution of the present application, the identification code block carries the Ethernet service identification, so the receiving device After receiving the optical transport network container transmitted by the optical transport network, the data code blocks of each PCS channel can be aligned according to the identification code block, and the same Ethernet The data code blocks in the PCS channel corresponding to the network service identifier are combined to restore the original data stream. In this way, since there is no need to additionally insert control code blocks between multiple data code blocks of the PCS channel, bandwidth occupation is avoided.
  • the tag code block includes an AM
  • the Ethernet service identifier is set in the BIP 7 field of the AM.
  • the tag code block includes a rate-matching RC identifier
  • the identifier of the PCS channel is carried in bits [29:26] of the rate-matching RC identifier
  • the Ethernet service identifier is carried in bits [65] of the rate-matching RC identifier. :58].
  • a PCS channel includes a plurality of marked code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marked code blocks, and each PCS channel corresponds to a marked code block; the data code The block carries the original data flow of the Ethernet service.
  • the data code block includes a 66Bit code block; the receiving device recovers the original data stream of the Ethernet service from the data code block in the PCS channel where the marked code block with the same Ethernet service identifier is located, including : The data code blocks in the PCS channel where the marked code blocks with the same Ethernet service identifier are located are decoded in a 64/66Bit decoding manner and combined into the original data stream of the Ethernet service.
  • a sending device may be a module or a chip in the sending device, the sending device may also be a chip or a system on a chip, including: a receiver, configured to receive multiple physical coding sublayer PCS channels The data code block and the marking code block; the processor is configured to insert an Ethernet service identifier into the marking code blocks of the plurality of physical coding sublayer PCS channels, and the Ethernet service identifier is used to indicate the marking code block The Ethernet service carried by the data code block in the PCS channel where it is located; the data code block and the marker code block in the multiple PCS channels are mapped to an optical transport network container; the transmitter is used to The OTN container is sent to the OTN.
  • a receiving device may be a module or a chip in the receiving device, the receiving device may also be a chip or a system on a chip, including: a receiver, configured to receive multiple an optical transport network container; a processor, which is used to respectively demap data code blocks and mark code blocks in multiple PCS channels in multiple optical transport network containers transmitted in the optical transport network, and the mark code blocks contain Ethernet service identifier, the Ethernet service identifier is used to indicate the Ethernet service carried by the data code block in the PCS channel where the marker code block is located; the marker code with the same Ethernet service identifier The data code block in the PCS channel where the block is located recovers the original data flow of the Ethernet service.
  • a fifth aspect provides a computer-readable storage medium for storing a computer program, and the computer program includes instructions for executing the communication method described in the first aspect or the second aspect and possible implementations thereof.
  • a computer program product comprising: computer program code, when the computer program code is run on a computer, the computer executes the first aspect or the second aspect and its possibility The communication method described in the implementation of the .
  • a communication system includes the sending device described in the above aspect and the receiving device described in the above aspect.
  • the technical effect brought by any design method in the third aspect can refer to the technical effect brought by the different design methods in the first aspect above, and will not be repeated here.
  • the technical effects brought about by any design method in the fourth aspect please refer to the technical effects brought about by the different design methods in the second aspect above, which will not be repeated here.
  • the technical effects brought about by any one of the design methods in the fifth aspect, the sixth aspect and the seventh aspect please refer to the technical effects brought about by the different design methods in the above-mentioned first aspect and the second aspect, and will not be repeated here.
  • FIG. 1 is a schematic diagram of a partial architecture of an Ethernet provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a field structure of an AM provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an Ethernet communication system provided in an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a sending device and a receiving device provided in an embodiment of the present application
  • FIG. 5 is a schematic diagram of a communication method provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a transmission method of a data code block and a marker code block provided by an embodiment of the present application
  • FIG. 7 is a schematic structural diagram of an RC provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an RC provided by another embodiment of the present application.
  • FIG. 9 is a schematic diagram of combining sub-data streams of multiple PCS channels into multiple data streams according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a communication method provided by another embodiment of the present application.
  • FIG. 11 is a schematic diagram of splitting multiple data streams into sub-data streams of multiple PCS channels provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a sending device provided by another embodiment of the present application.
  • Fig. 13 is a schematic structural diagram of a receiving device provided by another embodiment of the present application.
  • an Ethernet port usually appears as a data-oriented logical concept, called a logical port or simply a port, and an Ethernet physical interface appears as a hardware concept, called a physical interface or simply an interface.
  • an Ethernet port is marked with a media access control address (MAC) address.
  • MAC media access control address
  • the speed of an Ethernet port is determined based on the speed of the Ethernet physical interface.
  • the maximum bandwidth of an Ethernet port corresponds to the bandwidth of an Ethernet physical interface, such as 10 megabit per second (megabit per second, Mbps), 100Mbps, 1000Mbps (1Gbps), 10Gbps, 40Gbps, 100Gbps, and 400Gbps Ethernet physical interface. Ethernet has gained wide application and considerable development in the past quite a period of time.
  • the speed of Ethernet ports has been increased by 10 times, from 10Mbps to 100Mbps, 1000Mbps (1Gbps), 10Gbps, 40Gbps, 100Gbps, and 400Gbps.
  • the bandwidth growth required by mainstream applications does not show such a 10-fold growth characteristic, such as 50Gbps, 75Gbps, 200Gbps, etc.
  • the industry hopes to provide support for Ethernet ports (virtual connections) of bandwidths such as 50Gbps, 60Gbps, 75Gbps, 200Gbps and 150Gbps.
  • some flexible bandwidth ports can be provided, and these ports can share one or several Ethernet physical interfaces, for example, two 40GE ports and two 10GE ports share one 100G physical interface; Make flexible rate adjustments as demand changes, such as adjusting from 200Gbps to 330Gbps, or 50Gbps to 20Gbps, to improve port usage efficiency or extend its service life cycle.
  • make flexible rate adjustments as demand changes such as adjusting from 200Gbps to 330Gbps, or 50Gbps to 20Gbps, to improve port usage efficiency or extend its service life cycle.
  • they can be cascaded and bundled to support a stack increase in the logical port rate (for example, two 100GE physical interfaces can be cascaded and bundled to support 200GE logical ports).
  • FlexE supports functions such as subrate, channelization, and inverse multiplexing for Ethernet services. For example, for the sub-rate application scenarios of Ethernet services, FlexE can support the transmission of 250G Ethernet services (MAC code stream) using three existing 100GE physical interfaces.
  • FlexE can support the transmission of 200G Ethernet services using two existing 100GE PMD layers.
  • FlexE can support several logical ports to share one or more physical interfaces, and can support the multiplexing of multiple low-speed Ethernet services into high-speed flexible Ethernet.
  • Ethernet Since Ethernet is widely used as service interfaces in access networks and metropolitan area networks, the FlexE technology based on the service flow aggregation function of Ethernet technology can realize seamless connection with the Ethernet interfaces of the underlying service network.
  • the introduction of these FlexE sub-rate, channelization and inverse multiplexing functions greatly expands the application scenarios of Ethernet, enhances the flexibility of Ethernet applications, and makes Ethernet technology gradually penetrate into the transport network field.
  • FlexE provides a feasible evolution direction for the virtualization of Ethernet physical links.
  • Flexible Ethernet needs to support several virtual Ethernet data connections on a set of cascaded physical interfaces. For example, four 100GE physical interfaces are cascaded and bundled to support several logical ports. When the bandwidth of some logical ports in several logical ports decreases, the bandwidth of other logical ports increases, and the total amount of reduced bandwidth is equal to the total amount of increased bandwidth. The bandwidth of several logical ports can be flexibly adjusted at a block speed and used together.
  • FlexE draws on synchronous digital hierarchy (SDH)/optical transfer network (OTN) technology to construct a fixed frame format for physical interface transmission and implement time-division multiplexing (TDM) time slots divided.
  • SDH synchronous digital hierarchy
  • OTN optical transfer network
  • the TDM time slot division granularity of FlexE is 66 bits, which can just bear a corresponding 64B/66B bit block.
  • a FlexE frame contains 8 lines, the position of the first 64B/66B bit block in each line is the FlexE overhead block, after the overhead block is the payload area for time slot division, with 66 bits as the granularity, corresponding to 20x1023 66-bit bearer spaces,
  • the bandwidth of the 100GE interface is divided into 20 time slots, and the bandwidth of each time slot is about 5 Gbps.
  • FlexE implements multiple transmission channels on a single physical interface through interleaving and multiplexing, that is, multiple time slots.
  • 1G Ethernet uses 8/10Bit encoding, and 1GE physical layer links transmit 8/10 bit block streams; 10GE/40GE/ 100GE uses 64/66Bit encoding, and 10GE/40GE/100GE physical layer links transmit 64/66-bit block streams.
  • other encoding methods will appear, such as 128/130Bit encoding and 256/258Bit encoding.
  • For the M1/M2 bit block stream there are different types of bit blocks and they are clearly regulated in the standard.
  • the code pattern definition of 64/66Bit encoding is used as an example to illustrate, in which the two bits "10" or "01" in the header are 64/66-bit block synchronization head bit, and the last 64Bit is used to carry payload data.
  • the FlexE technology realizes the decoupling of the MAC layer and the physical layer by introducing the FlexE shim (shim) on the basis of IEEE802.3 (as shown by the dotted line in Figure 1).
  • a parallel data stream is formed through a media independent interface (MII or media independent interface), and these data streams are combined into 64-bit data signals, and then the flexible Ethernet pad (FlexEshim) performs 64B/66B encoding on the data from the MII interface to generate a 66-bit block consisting of two parts, one part is a 2-bit synchronization header, and the other part is a 64
  • the payload of bit, the logical serial flow of this 64B/66B block is called FlexE client (FlexE client) in FlexE technology.
  • the FlexE technology adds a FlexE shim layer on top of the original scramble (Scramble), bypasses the original 64B/66B codec processing, and puts the 64B/66B codec processing in the FlexE shim top of the cushion.
  • the FlexE architecture includes the MAC layer, the FlexE shim layer, and the physical layer.
  • the MAC layer belongs to a sublayer of the data link layer, and is connected to the logical link control layer.
  • the physical layer can be divided into physical coding sublayer (physical coding sublayer, PCS), physical medium access (physical medium attachment, PMA) sublayer and PMD sublayer.
  • FIG. 1 also shows the architecture in which the MAC layer is directly connected to the physical layer in the traditional Ethernet, and under this architecture, 64B/66B encoding is performed on the data of the MAC layer at the PCS layer.
  • the functions of the above layers are realized by corresponding chips or modules.
  • PCS In the process of sending signals, PCS is used to encode data, scrambled (scrambled), insert overhead (overhead, OH) and insert alignment markers (alignment markers, AM) and other operations; in the process of receiving signals, PCS is The inverse process of the above steps will be performed. Sending and receiving signals can be realized by different functional modules of PCS.
  • AM is periodically added to each PCS lane.
  • the form of AM is a specially defined 66-bit data block with a control block sync header. These AMs interrupt any data transfers already in progress, and AMs are inserted into all PCS lanes at the same time. Space for AM is created by periodically removing the inter packet gap (IPG) from the XLGMII/CGMII data stream.
  • IPG inter packet gap
  • AMs are not scrambled and do not conform to the encoding rules, since AM is added after the 64B/66B data block in the sending PCS channel, and AM is 64B after the data block in the receiving PCS channel /66B is removed before decoding.
  • the purpose of AM unscrambling is to allow the receiving device to find the AM, align the data blocks in the PCS lanes, and reassemble the aggregate stream before descrambling.
  • AM shall be inserted after every 16383 66-bit data code blocks on each PCS channel.
  • the corresponding relationship between the number of the PCS lane (PCS lane number) and the encoding (encoding) of each channel is shown in Table 1, which makes the above processing have a basis for judgment.
  • an AM is periodically added behind each channel.
  • the role of the AM is to be responsible for the requeuing of the PCS channel and the reassembly of the overall data at the receiving end.
  • the data from the PCS channel due to the skew in the transmission process, makes the arrival time of the data of the PCS channel different, and the order of arrival is different from that of the sending end.
  • PCS lane number and encoding to rearrange channel data and reassemble high-speed data streams.
  • the PCS lane number is used to indicate the number of the channel, each channel has a unique number, and encodings of each PCS lane are different from each other.
  • the above M 0 , M 1 , M 2 , BIP 3 , M 3 , M 4 , M 5 , M 6 , and BIP 7 are all fields defined in the AM format stipulated in the IEEE 802.3 standard, and the occupied bit positions and lengths are shown in Fig. 2 can be seen.
  • M 4 , M 5 , and M 6 are bit-by-bit flips of M 0 , M 1 , and M 2 respectively.
  • Each alignment marker has two bit-interleaved parity fields BIP 3 and BIP 7 , BIP 7 being the bitwise inversion of BIP 3 .
  • the main functions of the PMA sublayer are link monitoring, carrier monitoring, encoding and decoding, sending clock synthesis and receiving clock recovery.
  • the main functions of the PMD sublayer are scrambling/descrambling, coding and decoding of data streams, DC restoration and adaptive equalization of received signals.
  • FIG. 1 is only an example, and the architecture applicable to this application is not limited to the traditional Ethernet and the FlexE architecture shown in FIG. 1.
  • a reconciliation sublayer reconciliation sublayer, RS
  • FEC forward error correction
  • FIG. 3 is a schematic structural diagram of an Ethernet communication system provided in an embodiment of the present invention.
  • the network devices in the Ethernet communication system in the embodiment of the present invention may at least include a sending device 100 and a receiving device Device 200.
  • the sending device 100 and the receiving device 200 may establish a communication connection through an optical transport network OTN.
  • the Ethernet communication system can realize uplink transmission and downlink transmission, wherein the uplink transmission is that the sending device 100 sends the Flex Ethernet service to the OTN network, and the downlink transmission is that the receiving device 200 receives the Flex E service through the OTN network.
  • the network device may be a client device such as a router or a switch, or a network end device such as an Ethernet device, an OTN device, or an SDH device.
  • the network device in this embodiment of the present application may also be referred to as a communication device, which may be a general-purpose device or a dedicated device, which is not specifically limited in this embodiment of the present application.
  • FIG. 4 it is a schematic structural diagram of the sending device 100 and the receiving device 200 provided in this embodiment of the present application.
  • the sending device 100 includes at least one processor (in FIG. 4, it is illustrated by including a processor 101 as an example) and at least one transceiver (in FIG. 4, it is illustrated by an example of including a transceiver 103 ).
  • the sending device 100 may also include at least one memory (in FIG. 4, a memory 102 is used as an example for illustration), and when used as a user equipment, the sending device may also include at least one output device (the example in FIG. 4 An example of including one output device 104 is used for illustration) and at least one input device (in FIG. 4, an example of including one input device 105 is used for illustration).
  • a communication link may include a pathway for the transfer of information between the aforementioned components.
  • the processor 101 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, a specific application integrated circuit (application-specific integrated circuit, ASIC), or one or more integrated circuits used to control the execution of the program program of this application. circuit.
  • the processor 301 may also include multiple CPUs, and the processor 101 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
  • a processor herein may refer to one or more devices, circuits, or processing cores for processing data such as computer program instructions.
  • the storage 102 may be a device having a storage function.
  • it may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other types of memory that can store information and instructions
  • a dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be stored by a computer Any other medium, but not limited to.
  • the memory 102 may exist independently and be connected to the processor 101 through a communication line.
  • the memory 102 can also be integrated with the processor 101 .
  • the memory 102 is used to store computer-executed instructions for implementing the solution of the present application, and the execution is controlled by the processor 101 .
  • the processor 101 is configured to execute computer-executed instructions stored in the memory 102, so as to implement the communication method performed by the sending device in the embodiment of the present application.
  • the processor 101 may also perform functions related to the sending device in the communication method provided in the following embodiments of the present application, and the transceiver 103 is responsible for communicating with other devices or communication networks.
  • the embodiment of the application does not specifically limit this.
  • the computer-executed instructions in the embodiments of the present application may also be referred to as application program codes or computer program codes, which are not specifically limited in the embodiments of the present application.
  • Transceiver 103 may use any transceiver-like device for communicating with other devices or communication networks.
  • the transceiver 103 includes a transmitter (transmitter, Tx) and a receiver (receiver, Rx).
  • Tx transmitter
  • Rx receiver
  • the sending device 103 sends an OTN container through the transmitter.
  • Output device 104 is in communication with processor 101 and may display information in a variety of ways.
  • the output device 304 may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a cathode ray tube (cathode ray tube, CRT) display device, or a projector (projector), etc.
  • the input device 105 communicates with the processor 101 and can accept user input in various ways.
  • the input device 105 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.
  • the receiving device 200 includes at least one processor (in FIG. 4, it is illustrated by including a processor 201 as an example), and at least one transceiver (in FIG. 4, it is illustrated by an example of including a transceiver 203).
  • the receiving device 200 may further include at least one network interface (in FIG. 4 , one network interface 204 is used as an example for illustration).
  • the receiving device 200 may further include at least one memory (in FIG. 4 , a memory 202 is included as an example for illustration).
  • the processor 201, the memory 202, the transceiver 203 and the network interface 204 are connected through communication lines.
  • the network interface 204 is used to connect to the core network device through a link (such as an S1 interface), or connect to a network interface (not shown in FIG. 4 ) of other network devices through a wired or wireless link (such as an X2 interface).
  • a link such as an S1 interface
  • a network interface not shown in FIG. 4
  • a wired or wireless link such as an X2 interface
  • the memory 202 is used for storing computer-executed instructions for implementing the solution of the present application, and the execution is controlled by the processor 101 .
  • the processor 201 is configured to execute computer-executed instructions stored in the memory 202, so as to implement the communication method performed by the receiving device in the embodiment of the present application.
  • the processor 201 may also perform functions related to the receiving device in the communication method provided in the following embodiments of the present application, and the transceiver 203 is responsible for communicating with other devices or communication networks.
  • the embodiment of the application does not specifically limit this.
  • the computer-executed instructions in the embodiments of the present application may also be referred to as application program codes or computer program codes, which are not specifically limited in the embodiments of the present application.
  • Transceiver 203 may use any transceiver-like device for communicating with other devices or communication networks.
  • the transceiver 203 includes a transmitter (transmitter, Tx) and a receiver (receiver, Rx).
  • Tx transmitter
  • Rx receiver
  • the receiving device 200 transmits an OTN container through the receiver.
  • the structure shown in FIG. 4 does not constitute a specific limitation on the sending device 100 or the receiving device 200 .
  • the sending device 100 or the receiving device 200 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the sending device 100 can also be used as a receiving device, and the receiving device 200 can also be used as a sending device.
  • the sending device receives data code blocks and marker code blocks of multiple physical coding sublayer PCS channels.
  • a PCS channel includes a plurality of marking code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marking code blocks.
  • each PCS channel uses a marking code block for the PCS
  • the number of the channel is numbered, that is, the multiple marked code blocks set at intervals in a PCS channel are the same, and the marked code blocks set in different PCS channels are different; the data code block carries the original data flow of the Ethernet service; in the specific implementation, Taking the data flow of the 100GE Ethernet service at the PCS layer as an example, it includes multiple code blocks encoded in 66-Bit atomic data blocks in 64/66Bit encoding, such as data code blocks and marker code blocks.
  • the 66Bit code blocks in the data stream of the PCS layer of the 100GE Ethernet service can be transmitted in 20 PCS channels, and the marked code blocks are used to align each PCS channel
  • the data code block is used to carry the original data stream of the MAC layer.
  • the above-mentioned AM can be used for the marking code block, as shown in Figure 2 and Table 1. Since the encoding corresponding to each AM is different, taking the PCS channel of 5G bandwidth as an example, Then 20 PCS channels can be indicated. Specifically, after acquiring the Ethernet service, the sending end device allocates 20 PCS channels of 5G bandwidth to the Ethernet service according to the bandwidth occupied by the Ethernet service.
  • the sending device inserts the Ethernet service identifier into the marker code blocks of multiple physical coding sublayer PCS channels.
  • the Ethernet service identifier is used to indicate the Ethernet service carried by the data code block in the PCS channel where the marked code block is located; like this, the 20 PCS channels of 5G bandwidth in step S101 are used to carry the Ethernet service , insert the Ethernet service identifier of the Ethernet service into the marking code blocks in the 20 5G bandwidth PCS channels.
  • an Ethernet service identifier (specifically, a client identifier (Client ID, CID)) may be inserted into the BIP 7 field of the AM.
  • FIG. 6 it shows the transmission sequence of each data code block in multiple PCS channels. For example, referring to Fig.
  • each PCS channel there are 16383 data code blocks between every two adjacent AMs, as shown in Figure 6, there are 16383 data code blocks between AM1 and AM2.
  • the black arrows in FIG. 6 show the transmission sequence of each data code block and AM.
  • each data code block may be scrambled according to different PCS channels.
  • AM is not scrambled because AM is used to align data code blocks in each PCS channel at the receiving end.
  • each PCS channel includes marker code blocks AM1 and AM2, and AM1 and AM2 in the same PCS channel are the same; AM1 and AM2 in different PCS channels are different, for example, PCS channel 1 AM1 and AM2 in PCS channel 1 are the same, but the position of insertion is different; in order to distinguish PCS channel 1 and PCS channel 2, AM1 and AM2 in PCS channel 1 are different from AM1 and AM2 in PCS channel 2.
  • the codeword identification ( code word marker, CWM, which identifies the code block) is replaced by a rate matching (rate compensation, RC) identification.
  • RC rate matching
  • FIG. 7 the formats of RC0 and RC1 are shown, and their length and AM are both 66B.
  • the positions of RC and AM in the PCS channel are the same and the content is different. Since the protocol needs to scramble the RC and the data code block according to the PCS channel where they are located, the RC code cannot directly distinguish the PCS channel. In the embodiment of this application 8, the number of the PCS channel can be inserted into bits [29:26] of RC0 ⁇ RC1.
  • the sending device maps the data code blocks and marker code blocks in multiple PCS lanes to an OTN container.
  • the sending device may respectively combine sub-data streams carried by multiple PCS channels into one or more data streams.
  • the sub-data flow includes the data code blocks in the PCS channel and the data queue formed by the marked code blocks.
  • the sub-data streams contained in one or more PCS channels can be freely combined into p data streams, and the sum of the bandwidth of each data stream n1, n2...np is equal to 100G.
  • the bandwidths of the data streams in n1, n2...np can be the same or different.
  • FIG. 9 for any Ethernet service, the description is as follows in conjunction with the 66Bit code block shown in FIG.
  • the identifier of the PCS channel, y identifies the position of the code block in the PCS channel (the yth 66-Bit code block).
  • the data code blocks 0.0, 1.0, 2.0, 3.0, and the data code blocks 0.1, 1.1, 2.1, 3.1 of PCS channels 0-3 can be combined into n0 data streams, and then the n0 data streams can be loaded into the 20G bandwidth optical Transport network container; can combine data code blocks 4.0, 10.0, 11.0 and data code blocks 4.1, 10.1, 12.1 of PCS channels 4, 10, and 11 into n1 data streams, and then load n1 data streams into 15G bandwidth Optical transport network container.
  • the optical transport network container includes an optical channel data unit k container or a flexible optical channel data unit container.
  • bitmap bitmap, BMP
  • bitmap is performed on the combined p data streams respectively, and loaded into the payload (payload) of the OTN container.
  • the sending device sends each OTN container to the OTN.
  • each PCS channel usually when the sending device receives data code blocks and mark code blocks of multiple physical coding sublayer PCS channels, each PCS channel includes a plurality of mark code blocks set at intervals, and between adjacent mark code blocks It includes multiple data code blocks used to carry the original data stream.
  • the sending device since the sending device directly inserts the Ethernet service identifier into the marking code blocks of the multiple physical coding sublayer PCS channels of the Ethernet service, it does not directly insert the Ethernet service identifier into the PCS channel Do other processing for the code blocks carried, and then map the data code blocks and marker code blocks in multiple PCS channels carried by multiple physical sub-layer PCS channels to an optical transport network container, for example, multiple physical sub-layer
  • the sub-data streams carried by the PCS channel are respectively combined into one or more data streams, and the sub-data streams include the data code blocks in the PCS channel and the data queue formed by the marked code blocks; each data stream can include at least one physical sub-layer PCS channel
  • the sub-data flows carried by the sub-flows are then mapped to an optical transport network container with matching bandwidth and sent to the optical transport network.
  • the identification code block since the PCS channel itself has an identification code block for data block alignment, due to Each identification code block corresponds to a PCS channel, and in the solution of this application, the identification code block also carries the Ethernet service identifier used to indicate the Ethernet service carried by the data code block in the PCS channel where the marking code block is located, Therefore, after receiving the optical transport network container transmitted by the optical transport network, the receiving device can align the data code blocks of each PCS channel according to the identification code block, and according to the PCS channel corresponding to the identification code block and the carried Ethernet service identifier, The data code blocks in the PCS channels corresponding to the same Ethernet service identifier are combined to restore the original data stream.
  • the solution provided by the embodiments of the present application is the PCS channel.
  • the code blocks are directly encapsulated into the optical transport network container according to the original rate. Since no control code blocks are added between the divided code blocks, the transmission rate will not be changed, so clock transparent transmission can be supported.
  • the communication method provided by the embodiment of the present application will be described below with reference to FIG. 1 to FIG. 4 and FIG. 10 , taking the downlink transmission of data received by the receiving device shown in FIG. 3 from the Ethernet as an example.
  • the receiving device respectively demaps data code blocks and marker code blocks in multiple PCS channels from multiple optical transport network containers transmitted in the optical transport network.
  • the receiving device can demap p ODUFlexes to obtain p data streams. Since the marked code block contains the Ethernet service identifier, the Ethernet service identifier is used to indicate the Ethernet service carried by the data code block in the PCS channel where the marked code block is located. In this way, the receiving device obtains the sub-data stream carried by each PCS channel according to the marked code block in the p-data stream. Specifically, in step S201, the receiving device may split each data stream into data stream bandwidth BW/5 parts according to the data stream bandwidth (bandwidt, BW) according to the 66-bit granularity.
  • sub-data streams of all 20 PCS channels can be obtained.
  • the sub-data flow includes the data code blocks in the PCS channel and the data queue formed by the marked code blocks.
  • the receiving device recovers the original data stream of the Ethernet service from the data code block in the PCS channel where the marked code block with the same Ethernet service identifier is located.
  • the data code block of each PCS channel is scrambled in step S101, the data code block needs to be descrambled before step S202.
  • the marked code block is not descrambled; in the 200G/400GE Ethernet service scenario, when the marked code block uses RC, the marked code block needs to be descrambled at the same time. Then align the data code blocks contained in the sub-data streams of each PCS channel according to the marked code blocks, and finally recombine and merge the data code blocks in each PCS channel to obtain the original data code stream. 64/66Bit decoding is performed on the data code block.
  • the sub-data streams carried by each PCS channel are sequentially obtained according to the identification of the PCS channel, Then get data code blocks 0.0,0.1 in PCS channel 0, data code blocks 1.0,1.1 in PCS channel 1; data code blocks 2.0,2.1 in PCS channel 2, data code blocks 3.0,3.1 in PCS channel 3;
  • the sub-data streams carried by each PCS channel are sequentially obtained according to the identification of the PSC channel, and the data code block 11.0 in the PCS channel 11 is obtained, 11.1, data code blocks 12.0, 12.1 in PCS channel 12; then merge the data code blocks of each PCS channel to obtain the first data code block 0.0, 1.0, 2.0, 3.0, 4.0, 11.0 of each PCS channel of the Ethernet service
  • each identification code block corresponds to a PCS channel and carries the flexible Ethernet service identification
  • the receiving device can use the identification code block to The data code blocks of each PCS channel are aligned, and according to the PCS channel corresponding to the identification code block and the flexible Ethernet service identifier carried, the data code blocks in the PCS channel corresponding to the same flexible Ethernet service identifier are combined to restore the original data flow.
  • bandwidth occupation is avoided.
  • there is no need to insert additional control code blocks there will be no time slot overhead for the PCS channel, so that it can be directly compatible with the current Ethernet communication method.
  • the solution provided by the embodiments of the present application is the PCS channel.
  • the code blocks are directly encapsulated into the optical transport network container according to the original rate. Since no control code blocks are added between the divided code blocks, the transmission rate will not be changed, so clock transparent transmission can be supported.
  • the above-mentioned network devices and terminal devices include corresponding hardware structures and/or software modules for performing various functions.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the embodiment of the present application may divide the network device into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 12 shows a schematic structural diagram of a sending device.
  • the sending device may be a chip or a system-on-a-chip in the sending device, or other combined devices, components, etc. that can realize the functions of the sending device above, and the sending device may be used to perform the functions of the sending device involved in the above embodiments.
  • the sending device shown in FIG. 12 includes: a processing unit 1201 , a sending unit 1202 , and a receiving unit 1203 .
  • the receiving unit 1203 is configured to receive data code blocks and marker code blocks of a plurality of physical coding sublayer PCS channels;
  • the processing unit 1201 is configured to insert Ethernet services into the marker code blocks of the multiple physical coding sublayer PCS channels identification, the Ethernet service identification is used to indicate the Ethernet service carried by the data code block in the PCS channel where the mark code block is located; the data code block and the mark code block in the multiple PCS channels
  • the block is mapped to an OTN container;
  • the sending unit 1202 is configured to send each OTN container to the OTN.
  • the codeword mark includes an alignment identifier AM, and the Ethernet service identifier is set in a BIP 7 field of the AM.
  • the codeword mark includes a rate matching RC identifier
  • the identifier of the physical coding sublayer channel is carried in the bits [29:26] of the rate matching RC identifier
  • the Ethernet service identifier is carried in the bits [29:26] of the RC identifier 65:58].
  • a PCS channel includes a plurality of marked code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marked code blocks, and each PCS channel corresponds to a marked code block; the data code The block carries the original data stream of the Ethernet service.
  • the mark code block and the data code block are 66-Bit code blocks formed in a 64/66-Bit encoding manner.
  • the sending device is presented in a form of dividing various functional modules in an integrated manner.
  • a “module” here may refer to a specific ASIC, a circuit, a processor and a memory executing one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the above-mentioned functions.
  • the sending device may take the form of the sending device shown in FIG. 4 .
  • the processor 101 in FIG. 4 may invoke the computer-executed instructions stored in the memory 103, so that the sending device executes the method for communication in the foregoing method embodiments.
  • the functions/implementation process of the receiving unit 1203, the sending unit 1202, and the processing unit 1201 in FIG. 12 can be implemented by the processor 101 in FIG.
  • the function/implementation process of the processing unit 1201 can be realized by the processor 101 in FIG. 4 calling the computer execution instructions stored in the memory 103, and the function/implementation process of the sending unit 1202 in FIG. 103 in the transmitter to achieve.
  • the function/implementation process of the receiving unit 1203 in FIG. 12 may be implemented by the receiver in the transceiver 103 in FIG. 4 .
  • the communication device provided in this embodiment can execute the above-mentioned communication method, the technical effect it can obtain can refer to the above-mentioned method embodiment, which will not be repeated here.
  • the embodiments of the present application may divide the receiving device into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 13 shows a schematic structural diagram of a receiving device.
  • the receiving device may be a chip or a system-on-a-chip in the above receiving device, or other combination devices, components, etc. that can realize the functions of the above receiving device, and the receiving device may be used to perform the functions of the receiving device involved in the above embodiments.
  • the receiving device shown in FIG. 13 includes: a receiving unit 1301 and a processing unit 1302 .
  • the receiving unit 1301 is configured to receive multiple optical transport network containers transmitted in the optical transport network;
  • the processing unit 1302 is configured to respectively demap multiple PCS channels from the multiple optical transport network containers transmitted in the optical transport network
  • a data code block and a marked code block, the marked code block contains an Ethernet service identifier, and the Ethernet service identifier is used to indicate the data code block carried by the data code block in the PCS channel where the marked code block is located Ethernet service: restore the original data flow of the Ethernet service to the data code block in the PCS channel where the marked code block with the same Ethernet service identifier is located.
  • the codeword mark includes an alignment identifier AM, and the Ethernet service identifier is set in a BIP 7 field of the AM.
  • the codeword mark includes a rate matching RC identifier
  • the identifier of the physical coding sublayer channel is carried in bits [29:26] of the rate matching RC identifier
  • the Ethernet service The flag is carried in bits [65:58] of the rate matching RC flag.
  • one PCS channel includes a plurality of marker code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marker code blocks, and each PCS channel corresponds to a The tag code block; the data code block bears the original data flow of the Ethernet service.
  • the data code block includes a 66Bit code block; the processing unit 1302 is specifically configured to convert the data code block in the PCS channel where the marked code block with the same Ethernet service identifier is located After being decoded in a 64/66Bit decoding manner, it is combined into the original data stream of the Ethernet service.
  • the receiving device is presented in a form of dividing various functional modules in an integrated manner.
  • a “module” here may refer to a specific ASIC, a circuit, a processor and a memory executing one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the above-mentioned functions.
  • the receiving device can take the form of the receiving device shown in FIG. 4 .
  • the processor 201 in FIG. 4 may invoke the computer-executed instructions stored in the memory 203, so that the receiving device executes the communication method in the foregoing method embodiments.
  • the functions/implementation process of the receiving unit 1301 and the processing unit 1302 in FIG. 13 can be realized by calling the computer execution instructions stored in the memory 203 by the processor 201 in FIG. 4; or, the processing unit 1302 in FIG. 13
  • the function/implementation process can be realized by the processor 201 in FIG. 4 calling the computer execution instructions stored in the memory 203, and the function/implementation process of the receiving unit 1301 in FIG. 13 can be realized by the receiver of the transceiver 203 in FIG. 4 to fulfill.
  • the receiving device provided in this embodiment can execute the above-mentioned communication method, the technical effect it can obtain can refer to the above-mentioned method embodiment, and details are not repeated here.
  • the embodiment of the present application also provides a communication device (for example, the communication device may be a chip or a chip system), the communication device includes a processor and an interface, and the processor is used to read instructions to perform any of the above methods Methods in the Examples.
  • the communication device further includes a memory.
  • the memory is used to store necessary program instructions and data, and the processor can call the program code stored in the memory to instruct the communication device to execute the method in any one of the above method embodiments.
  • the memory may not be in the communication device.
  • the communication device is a system-on-a-chip, it may be composed of a chip, or may include a chip and other discrete devices, which is not specifically limited in this embodiment of the present application.
  • the sending unit 1202 may be a transmitter when transmitting information; when the communication device is a receiving device, the receiving unit 1301 may be a receiver when receiving information;
  • the machine may be a radio frequency circuit.
  • the communication device includes a storage unit, the storage unit is used to store computer instructions, the processor is connected to the memory in communication, and the processor executes the computer instructions stored in the memory, so that the communication device executes the method involved in the method embodiment.
  • the processor may be a general central processing unit (CPU), a microprocessor, or an application specific integrated circuit (ASIC).
  • the sending unit 1202 and the receiving unit 1301 may be input and/or output interfaces, pins or circuits, and the like.
  • the processing unit 1201 and the processing unit 1302 can execute the computer-executed instructions stored in the storage unit, so that the chip in the communication device executes the method involved in the method embodiment.
  • the storage unit is a storage unit in the chip, such as a register, a cache, etc., and the storage unit may also be a storage unit located outside the chip in the terminal device or network device, such as only Read only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM), etc.
  • ROM Read only memory
  • RAM random access memory
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • a software program it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server, or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or may be a data storage device including one or more servers, data centers, etc. that can be integrated with the medium.
  • the available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.
  • the computer may include the aforementioned apparatus.

Abstract

The embodiments of the present application relate to the technical field of communications. Provided are a communication method and a network device, which can reduce wasted bandwidth. The method comprises: a sending device receiving data code blocks and flag code blocks of a plurality of physical coding sub-layer (PCS) channels; inserting an Ethernet service identifier into the flag code blocks of the plurality of PCS channels, wherein the Ethernet service identifier is used for indicating an Ethernet service which is carried by a data code block in the PCS channel where the flag code blocks are located; mapping the data code blocks and flag code blocks in the plurality of PCS channels into an optical transport network container; and sending the optical transport network container to an optical transport network.

Description

通信方法及网络设备Communication method and network equipment 技术领域technical field
本申请涉及通信技术领域,尤其涉及一种通信方法及网络设备。The present application relates to the technical field of communication, and in particular to a communication method and network equipment.
背景技术Background technique
电气与电子工程师协会(institute of electrical and electronics engineers,IEEE)定义的基于802.3的以太网已经作为业务的接口,应用在各种场合。目前,OIF(optical internetworking forum,光互联论坛)在讨论扩展传统的以太网的应用场景,以支持针对以太网业务的子速率、通道化、反向复用等功能,并称这种以太网技术为Flex Ethernet(灵活以太网,简称FlexE)。比如,针对以太网业务的子速率应用场景,支持将50G的以太网业务采用现有的100GE的PMD(physical medium dependent,物理媒质相关子层)进行传送。针对以太网业务的反向复用场景,支持将200G的以太网业务采用2路现有的100GE的PMD进行传送。针对以太网业务的通道化应用场景结合了子速率和反向复用技术,支持将多路标准以太网的PMD反向复用捆绑成一个大带宽的FlexE服务层,FlexE服务层承载多路FlexE业务,比如一个250G和5个10G FlexE业务通过一个300G FlexE服务层传送,300G FlexE服务层由3路100GEPMD反向复用而成。在传统的OTN(optical tra nsport network,光传送网)网络传输中,FlexE服务层承载的各路FlexE业务的目的地各不相同,导致不能将FlexE服务层作为一个整体传输。传统的技术方案是识别出各个FlexE业务,将各个FlexE业务直接映射到ODUk(Optical Channel Data Unit-k,光通道数据单元k)容器或者ODUflex(Optical Channel Data Unit-flexible,灵活光通道数据单元)容器中传送,一个FlexE业务对应一个ODUk/ODUflex容器。这样,当FlexE业务超过传统OTN网络的单个线路接口带宽时,就必须升级线路接口的带宽,需要对传统的OTN网络按照业务路径进行端到端的改造,导致OTN网络的建网成本较高。The 802.3-based Ethernet defined by the Institute of Electrical and Electronics Engineers (IEEE) has been used as a service interface in various occasions. At present, OIF (optical internetworking forum, Optical Internet Forum) is discussing the expansion of traditional Ethernet application scenarios to support functions such as sub-rate, channelization, and inverse multiplexing for Ethernet services, and calls this Ethernet technology It is Flex Ethernet (Flexible Ethernet, referred to as FlexE). For example, for the sub-rate application scenarios of Ethernet services, it is supported to transmit 50G Ethernet services using the existing 100GE PMD (physical medium dependent, physical medium dependent sublayer). For the inverse multiplexing scenario of Ethernet services, it supports the transmission of 200G Ethernet services using two existing 100GE PMDs. The channelization application scenario for Ethernet services combines sub-rate and inverse multiplexing technologies, and supports bundling PMD inverse multiplexing of multiple channels of standard Ethernet into a large-bandwidth FlexE service layer, which carries multiple channels of FlexE Services, such as a 250G and five 10G FlexE services are transmitted through a 300G FlexE service layer, and the 300G FlexE service layer is formed by inverse multiplexing of 3 channels of 100GEPMD. In traditional OTN (optical transport network, optical transport network) network transmission, the destinations of the various FlexE services carried by the FlexE service layer are different, resulting in the inability to transmit the FlexE service layer as a whole. The traditional technical solution is to identify each FlexE service, and directly map each FlexE service to an ODUk (Optical Channel Data Unit-k, optical channel data unit k) container or ODUflex (Optical Channel Data Unit-flexible, flexible optical channel data unit) A FlexE service corresponds to an ODUk/ODUflex container. In this way, when the FlexE service exceeds the bandwidth of a single line interface of the traditional OTN network, the bandwidth of the line interface must be upgraded, and the traditional OTN network needs to be reconstructed end-to-end according to the service path, resulting in high network construction costs of the OTN network.
为了让大带宽的FlexE业务能够使用多个小带宽ODUk/ODUflex容器进行传送,以解决上述问题。通常是将FlexE业务分为多个满足小带宽ODUk/ODUflex容器的数据队列,并且在组成各个数据队列的数据码块之间额外插入用于识别FlexE业务的控制码块,而额外下插的控制码块会占用带宽,需要前级提前预留带宽,提前做速率适配,造成带宽资源的浪费。In order to allow the FlexE service with large bandwidth to be transmitted using multiple small-bandwidth ODUk/ODUflex containers, the above-mentioned problems can be solved. Usually, the FlexE service is divided into multiple data queues that meet the requirements of small-bandwidth ODUk/ODUflex containers, and additional control code blocks for identifying FlexE services are inserted between the data code blocks that make up each data queue, and the additional down-inserted control code blocks The code block will occupy the bandwidth, and the previous stage needs to reserve the bandwidth in advance, and perform rate adaptation in advance, resulting in a waste of bandwidth resources.
发明内容Contents of the invention
本申请的实施例提供一种通信方法及网络设备,能够降低带宽的浪费。Embodiments of the present application provide a communication method and network equipment, which can reduce bandwidth waste.
第一方面,提供一种通信方法。该方法可以由发送设备执行,该发送设备也可以为发送设备内的模块或芯片,发送设备也可以为芯片或片上系统,该方法包括如下步骤:首先,发送设备接收多个物理编码子层PCS通道的数据码块和标记码块;在多个物理编码子层PCS通道的标记码块中插入以太网业务标识,以太网业务标识用来指示标记码块所在的PCS通道中的数据码块承载的以太网业务;将多个PCS通道中的数据码块和标记码块映射至一个光传送网容器中;示例性的,光传送网容器包括光通道数 据单元k容器或者灵活光通道数据单元容器;将光传送网容器发送到光传送网络中。上述方案中,通常发送设备在接收多个物理编码子层PCS通道的数据码块和标记码块时,每个PCS通道包括间隔设置的多个标记码块,相邻的标记码块之间包括多个用于承载原始数据流的数据码块,在该方案中由于发送设备直接在以太网业务的多个物理编码子层PCS通道的标记码块中插入以太网业务标识,并不对PCS通道承载的码块做其他处理,然后将多个物理子层PCS通道承载的将多个PCS通道中的数据码块和标记码块映射至一个光传送网容器中,例如可以将多个物理子层PCS通道承载的子数据流分别组合为一个或多个数据流,子数据流包括PCS通道中的数据码块以及标记码块形成的数据队列;每个数据流可以包括至少一个物理子层PCS通道承载的子数据流,然后将组合成的各个数据流分别映射至带宽匹配的一个光传送网容器中发送至光传送网络中,这样PCS通道自身带有用于数据块对齐的标识码块,由于每个标识码块对应一个PCS通道,而在本申请的方案中,标识码块同时携带了用来指示标记码块所在的PCS通道中的数据码块承载的以太网业务的以太网业务标识,因此接收设备在接收到光传送网络传输的光传送网容器后,可以根据标识码块对各个PCS通道的数据码块进行对齐,并根据标识码块对应的PCS通道以及携带的以太网业务标识,将相同的以太网业务标识对应的PCS通道中的数据码块进行组合以恢复原始数据流。这样由于无需在PCS通道的多个数据码块之间额外插入控制码块,因此避免了对带宽的占用。In a first aspect, a communication method is provided. The method can be performed by a sending device, and the sending device can also be a module or a chip in the sending device, and the sending device can also be a chip or a system on a chip. The method includes the following steps: first, the sending device receives a plurality of physical coding sublayer PCS The data code block and marker code block of the channel; the Ethernet service identifier is inserted into the marker code block of multiple physical coding sublayer PCS channels, and the Ethernet service identifier is used to indicate the data code block in the PCS channel where the marker code block is located Ethernet services; the data code blocks and marker code blocks in multiple PCS channels are mapped to an optical transport network container; exemplary, the optical transport network container includes an optical channel data unit k container or a flexible optical channel data unit container ; Send the OTN container to the OTN. In the above scheme, when the sending device usually receives data code blocks and marker code blocks of multiple physical coding sublayer PCS channels, each PCS channel includes a plurality of marker code blocks set at intervals, and adjacent marker code blocks include Multiple data code blocks used to carry the original data stream. In this solution, since the sending device directly inserts the Ethernet service identifier into the marking code blocks of the multiple physical coding sublayer PCS channels of the Ethernet service, it does not carry the data on the PCS channel. The code blocks of multiple physical sublayer PCS channels are used for other processing, and then the data code blocks and marker code blocks in multiple PCS channels are mapped to an optical transport network container. For example, multiple physical sublayer PCS The sub-data streams carried by the channel are respectively combined into one or more data streams, and the sub-data streams include the data code blocks in the PCS channel and the data queue formed by the marked code blocks; each data stream can include at least one physical sub-layer PCS channel bearer Sub-data streams, and then map the combined data streams to an optical transport network container with matching bandwidth and send them to the optical transport network, so that the PCS channel itself has an identification code block for data block alignment, because each The identification code block corresponds to a PCS channel, and in the scheme of the present application, the identification code block simultaneously carries the Ethernet service identifier used to indicate the Ethernet service carried by the data code block in the PCS channel where the marking code block is located, so receiving After receiving the OTN container transmitted by the OTN, the device can align the data code blocks of each PCS channel according to the identification code block, and align the same The data code blocks in the PCS channel corresponding to the Ethernet service identifier are combined to restore the original data stream. In this way, since there is no need to additionally insert control code blocks between multiple data code blocks of the PCS channel, bandwidth occupation is avoided.
在一种可能的实现方式中,标记码块包括对齐标识AM,以太网业务标识设置于AM的BIP 7字段中。以100GE的以太网业务为例,标记码块可以采用上述的AM,AM对应的编码(encoding)在IEEE802.3标准规定的格式中包括M 0,M 1,M 2,BIP 3,M 3,M 4,M 5,M 6,BIP 7字段,本申请的实施例中可以将以太网业务标识(例如客户端标识(Client ID,CID))设置于AM的BIP 7字段中。 In a possible implementation manner, the marked code block includes an alignment identifier AM, and the Ethernet service identifier is set in the BIP 7 field of the AM. Taking the 100GE Ethernet service as an example, the above-mentioned AM can be used for the marker code block, and the encoding (encoding) corresponding to AM includes M 0 , M 1 , M 2 , BIP 3 , M 3 , M 4 , M 5 , M 6 , BIP 7 field. In the embodiment of the present application, an Ethernet service identifier (such as a client ID (Client ID, CID)) can be set in the BIP 7 field of the AM.
在一种可能的实现方式中,码字标记包括速率匹配RC标识,PCS通道的标识携带于速率匹配RC标识的比特[29:26],以太网业务标识携带于RC标识的比特[65:58]。以200G/400GE的以太网业务为例,在G.709协议中将200G/400GE的以太网业务的里德所罗门前向纠错(reed solomon forward error correction,RSFEC)层的码字标识(code word marker,CWM)即AM替换为速率匹配(rate compensation,RC)标识。RC与AM在PCS通道中的位置相同内容不同,由于在协议中需要对RC以及数据码块同时依据所在的PCS通道进行加扰,因此RC的编码无法直接区分PCS通道,在本申请的实施例中,可以在RC0\RC1中bit[29:26]出入PCS通道的编号。在Bit[65:58]填入以太网业务标识(例如具体可以是客户端标识(Client ID,CID))。其中,200GE的以太网业务的每个PCS通道支持最小颗粒的带宽为200/8=25G,则200GE的以太网业务有8对RC,8个不同的RC0/1中bit[29:26]分别依次填入0x0/0x1/0x2/0x3…/0x7;400GE的以太网每个PCS通道支持可被拆分成的最小颗粒为400/16=25G。则400GE的以太网业务有16对RC,16个不同的RC0/1中bit[29:26]分别依次填入0x0/0x1/0x2/0x3…/0xf。In a possible implementation, the codeword mark includes a rate matching RC identifier, the identifier of the PCS channel is carried in bits [29:26] of the rate matching RC identifier, and the Ethernet service identifier is carried in bits [65:58] of the RC identifier ]. Taking the 200G/400GE Ethernet service as an example, in the G.709 protocol, the code word identification (code word) of the Reed Solomon forward error correction (reed solomon forward error correction, RSFEC) layer of the 200G/400GE Ethernet service marker, CWM) that AM is replaced by a rate matching (rate compensation, RC) mark. The positions of RC and AM in the PCS channel are the same and the content is different. Since the protocol needs to scramble the RC and the data code block according to the PCS channel where they are located, the RC code cannot directly distinguish the PCS channel. In the embodiment of this application In RC0\RC1, bit[29:26] can enter and exit the number of PCS channel. Fill in the Ethernet service identifier in Bit [65:58] (for example, it may specifically be a client identifier (Client ID, CID)). Among them, each PCS channel of the 200GE Ethernet service supports the minimum particle bandwidth of 200/8=25G, then the 200GE Ethernet service has 8 pairs of RCs, and bits [29:26] in 8 different RC0/1 are respectively Fill in 0x0/0x1/0x2/0x3.../0x7 in sequence; each PCS channel of 400GE Ethernet supports the smallest particle that can be split into 400/16=25G. Then the 400GE Ethernet service has 16 pairs of RCs, and bits [29:26] in 16 different RC0/1 are respectively filled with 0x0/0x1/0x2/0x3.../0xf in sequence.
在一种可能的实现方式中,一个PCS通道包括间隔设置的多个标记码块,相邻的标记码块之间包括多个数据码块,每个PCS通道对应一种标记码块;数据码块承载以太网业务的原始数据流。In a possible implementation, a PCS channel includes a plurality of marked code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marked code blocks, and each PCS channel corresponds to a marked code block; the data code The block carries the original data flow of the Ethernet service.
在一种可能的实现方式中,标记码块以及数据码块为采用64/66Bit编码方式形成的66Bit的码块。In a possible implementation manner, the marker code block and the data code block are 66-Bit code blocks formed in a 64/66-Bit encoding manner.
在一种可能的实现方式中,在一个PCS通道中,相邻的两个标记码块之间间隔16383个数据码块。In a possible implementation manner, in one PCS channel, there are 16383 data code blocks between two adjacent marker code blocks.
第二方面,提供一种通信方法。该方法可以由接收设备执行,该接收设备也可以为接收设备内的模块或芯片,接收设备也可以为芯片或片上系统,该方法包括如下步骤:首先,接收设备在光传送网络中传送的多个光传送网容器中分别解映射出多个PCS通道中的数据码块和标记码块,标记码块中包含以太网业务标识,以太网业务标识用来指示标记码块所在的PCS通道中的所述数据码块承载的以太网业务;其次,接收设备将具有相同以太网业务标识的标记码块所在的PCS通道中的数据码块恢复以太网业务的原始数据流。这样由于PCS通道自身带有用于数据块对齐的标识码块,并且每个标识码块对应标记一个PCS通道,而在本申请的方案中,标识码块携带了以太网业务标识,因此接收设备在接收到光传送网络传输的光传送网容器后,可以根据标识码块对各个PCS通道的数据码块进行对齐,并根据标识码块对应的PCS通道以及携带的以太网业务标识,将相同的以太网业务标识对应的PCS通道中的数据码块进行组合以恢复原始数据流。这样由于无需在PCS通道的多个数据码块之间额外插入控制码块,因此避免了对带宽的占用。In a second aspect, a communication method is provided. The method can be performed by a receiving device, and the receiving device can also be a module or a chip in the receiving device, and the receiving device can also be a chip or a system on a chip. The method includes the following steps: first, the receiving device transmits multiple Data code blocks and marker code blocks in multiple PCS channels are respectively demapped in an optical transport network container. The marker code blocks contain Ethernet service identifiers, and the Ethernet service identifiers are used to indicate the PCS channels in which the marker code blocks are located. The Ethernet service carried by the data code block; secondly, the receiving device recovers the original data flow of the Ethernet service from the data code block in the PCS channel where the marked code block with the same Ethernet service identifier is located. In this way, since the PCS channel itself has an identification code block for data block alignment, and each identification code block corresponds to a PCS channel, and in the solution of the present application, the identification code block carries the Ethernet service identification, so the receiving device After receiving the optical transport network container transmitted by the optical transport network, the data code blocks of each PCS channel can be aligned according to the identification code block, and the same Ethernet The data code blocks in the PCS channel corresponding to the network service identifier are combined to restore the original data stream. In this way, since there is no need to additionally insert control code blocks between multiple data code blocks of the PCS channel, bandwidth occupation is avoided.
在一种可能的实现方式中,标记码块包括AM,以太网业务标识设置于AM的BIP 7域中。 In a possible implementation manner, the tag code block includes an AM, and the Ethernet service identifier is set in the BIP 7 field of the AM.
在一种可能的实现方式中,标记码块包括速率匹配RC标识,PCS通道的标识携带于速率匹配RC标识的比特[29:26],以太网业务标识携带于速率匹配RC标识的比特[65:58]。In a possible implementation, the tag code block includes a rate-matching RC identifier, the identifier of the PCS channel is carried in bits [29:26] of the rate-matching RC identifier, and the Ethernet service identifier is carried in bits [65] of the rate-matching RC identifier. :58].
在一种可能的实现方式中,一个PCS通道包括间隔设置的多个标记码块,相邻的标记码块之间包括多个数据码块,每个PCS通道对应一种标记码块;数据码块承载以太网业务的原始数据流。In a possible implementation, a PCS channel includes a plurality of marked code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marked code blocks, and each PCS channel corresponds to a marked code block; the data code The block carries the original data flow of the Ethernet service.
在一种可能的实现方式中,数据码块包括66Bit的码块;接收设备将具有相同以太网业务标识的标记码块所在的PCS通道中的数据码块恢复以太网业务的原始数据流,包括:将具有相同以太网业务标识的标记码块所在的PCS通道中的数据码块以64/66Bit解码方式解码后组合为以太网业务的原始数据流。In a possible implementation, the data code block includes a 66Bit code block; the receiving device recovers the original data stream of the Ethernet service from the data code block in the PCS channel where the marked code block with the same Ethernet service identifier is located, including : The data code blocks in the PCS channel where the marked code blocks with the same Ethernet service identifier are located are decoded in a 64/66Bit decoding manner and combined into the original data stream of the Ethernet service.
在一种可能的实现方式中,在一个PCS通道中,相邻的两个标记码块之间间隔16383个数据码块。In a possible implementation manner, in one PCS channel, there are 16383 data code blocks between two adjacent marker code blocks.
第三方面,提供了一种发送设备,该发送设备可以为发送设备内的模块或芯片,发送设备也可以为芯片或片上系统,包括:接收机,用于接收多个物理编码子层PCS通道的数据码块和标记码块;处理器,用于在所述多个物理编码子层PCS通道的标记码块中插入以太网业务标识,所述以太网业务标识用来指示所述标记码块所在的所述PCS通道中的所述数据码块承载的以太网业务;将所述多个PCS通道中的数据码块和标记码块映射至一个光传送网容器中;发射机,用于将所述光传送网容器发送到光传送网络中。In a third aspect, a sending device is provided, the sending device may be a module or a chip in the sending device, the sending device may also be a chip or a system on a chip, including: a receiver, configured to receive multiple physical coding sublayer PCS channels The data code block and the marking code block; the processor is configured to insert an Ethernet service identifier into the marking code blocks of the plurality of physical coding sublayer PCS channels, and the Ethernet service identifier is used to indicate the marking code block The Ethernet service carried by the data code block in the PCS channel where it is located; the data code block and the marker code block in the multiple PCS channels are mapped to an optical transport network container; the transmitter is used to The OTN container is sent to the OTN.
第四方面,提供了一种接收设备,该接收设备可以为接收设备内的模块或芯片, 接收设备也可以为芯片或片上系统,包括:接收机,用于接收在光传送网络中传送的多个光传送网容器;处理器,用于在光传送网络中传送的多个光传送网容器中分别解映射出多个PCS通道中的数据码块和标记码块,所述标记码块中包含以太网业务标识,所述以太网业务标识用来指示所述标记码块所在的所述PCS通道中的所述数据码块承载的以太网业务;将具有相同以太网业务标识的所述标记码块所在的所述PCS通道中的所述数据码块恢复所述以太网业务的原始数据流。In a fourth aspect, a receiving device is provided, the receiving device may be a module or a chip in the receiving device, the receiving device may also be a chip or a system on a chip, including: a receiver, configured to receive multiple an optical transport network container; a processor, which is used to respectively demap data code blocks and mark code blocks in multiple PCS channels in multiple optical transport network containers transmitted in the optical transport network, and the mark code blocks contain Ethernet service identifier, the Ethernet service identifier is used to indicate the Ethernet service carried by the data code block in the PCS channel where the marker code block is located; the marker code with the same Ethernet service identifier The data code block in the PCS channel where the block is located recovers the original data flow of the Ethernet service.
第五方面,提供一种计算机可读存储介质,用于存储计算机程序,所述计算机程序包括用于执行第一方面或第二方面及其可能的实现方式中所述的通信方法的指令。A fifth aspect provides a computer-readable storage medium for storing a computer program, and the computer program includes instructions for executing the communication method described in the first aspect or the second aspect and possible implementations thereof.
第六方面,提供一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码在计算机上运行时,使得所述计算机执行如第一方面或第二方面及其可能的实现方式中所述的通信方法。In a sixth aspect, a computer program product is provided, the computer program product comprising: computer program code, when the computer program code is run on a computer, the computer executes the first aspect or the second aspect and its possibility The communication method described in the implementation of the .
第七方面,提供一种通信系统,该通信系统包括上述方面所述的发送设备和上述方面所述的接收设备。According to a seventh aspect, a communication system is provided, and the communication system includes the sending device described in the above aspect and the receiving device described in the above aspect.
其中,第三方面中任一种设计方式所带来的技术效果可参见上述第一方面中不同设计方式所带来的技术效果,此处不再赘述。第四方面中任一种设计方式所带来的技术效果可参见上述第二方面中不同设计方式所带来的技术效果,此处不再赘述。第五方面、第六方面以及第七方面中任一种设计方式所带来的技术效果可参见上述第一方面以及第二方面中不同设计方式所带来的技术效果,此处不再赘述。Wherein, the technical effect brought by any design method in the third aspect can refer to the technical effect brought by the different design methods in the first aspect above, and will not be repeated here. For the technical effects brought about by any design method in the fourth aspect, please refer to the technical effects brought about by the different design methods in the second aspect above, which will not be repeated here. For the technical effects brought about by any one of the design methods in the fifth aspect, the sixth aspect and the seventh aspect, please refer to the technical effects brought about by the different design methods in the above-mentioned first aspect and the second aspect, and will not be repeated here.
附图说明Description of drawings
图1为本申请的实施例提供的一种以太网的部分架构示意图;FIG. 1 is a schematic diagram of a partial architecture of an Ethernet provided by an embodiment of the present application;
图2为本申请的实施例提供的一种AM的字段结构示意图;FIG. 2 is a schematic diagram of a field structure of an AM provided by an embodiment of the present application;
图3为本发明实施例中提供的一种以太网通信系统的结构示意图;FIG. 3 is a schematic structural diagram of an Ethernet communication system provided in an embodiment of the present invention;
图4为本申请实施例提供的发送设备和接收设备的结构示意图;FIG. 4 is a schematic structural diagram of a sending device and a receiving device provided in an embodiment of the present application;
图5为本申请的实施例提供的一种通信方法示意图;FIG. 5 is a schematic diagram of a communication method provided by an embodiment of the present application;
图6为本申请的实施例提供的一种数据码块以及标记码块的发送方式示意图;FIG. 6 is a schematic diagram of a transmission method of a data code block and a marker code block provided by an embodiment of the present application;
图7为本申请的实施例提供的一种RC的结构示意图;FIG. 7 is a schematic structural diagram of an RC provided by an embodiment of the present application;
图8为本申请的另一实施例提供的一种RC的结构示意图;FIG. 8 is a schematic structural diagram of an RC provided by another embodiment of the present application;
图9为本申请的实施例提供的一种将多个PCS通道的子数据流组合为多个数据流的示意图;FIG. 9 is a schematic diagram of combining sub-data streams of multiple PCS channels into multiple data streams according to an embodiment of the present application;
图10为本申请的另一实施例提供的一种通信方法示意图;FIG. 10 is a schematic diagram of a communication method provided by another embodiment of the present application;
图11为本申请的实施例提供的一种将多个数据流拆分为多个PCS通道的子数据流的示意图;FIG. 11 is a schematic diagram of splitting multiple data streams into sub-data streams of multiple PCS channels provided by an embodiment of the present application;
图12为本申请的另一实施例提供的一种发送设备的结构示意图;FIG. 12 is a schematic structural diagram of a sending device provided by another embodiment of the present application;
图13为本申请的另一实施例提供的一种接收设备的结构示意图。Fig. 13 is a schematic structural diagram of a receiving device provided by another embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The following will describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them.
在以太网中,以太网端口通常作为面向数据的逻辑上的概念出现,称为逻辑端口或简称为端口,以太网物理接口则为硬件上的概念出现,称为物理接口或简称为接口。 通常,用一个媒体存取控制地址(media access control address,MAC)地址标记一个以太网端口。传统地,以太网端口的速率的确定以以太网物理接口的速率为基础。一般情况下,一个以太网端口最大带宽对应一个以太网物理接口的带宽,例如10兆比特每秒(megabit per second,Mbps)、100Mbps、1000Mbps(1Gbps)、10Gbps、40Gbps、100Gbps以及400Gbps等以太网物理接口。以太网在过去的相当一段时间内获得了广泛的应用和长足的发展。以太网端口速率以10倍提升,从10Mbps向100Mbps、1000Mbps(1Gbps)、10Gbps、40Gbps、100Gbps、400Gbps不断演进发展。技术越发展,带宽颗粒差异越大,越容易出现与实际应用需求期望的偏差。主流应用需求的带宽增长并不呈现这样的10倍增长特征,例如50Gbps、75Gbps、200Gbps等。业界希望提供对50Gbps、60Gbps、75Gbps、200Gbps和150Gbps等带宽的以太网端口(虚拟连接)的支持。In Ethernet, an Ethernet port usually appears as a data-oriented logical concept, called a logical port or simply a port, and an Ethernet physical interface appears as a hardware concept, called a physical interface or simply an interface. Typically, an Ethernet port is marked with a media access control address (MAC) address. Traditionally, the speed of an Ethernet port is determined based on the speed of the Ethernet physical interface. In general, the maximum bandwidth of an Ethernet port corresponds to the bandwidth of an Ethernet physical interface, such as 10 megabit per second (megabit per second, Mbps), 100Mbps, 1000Mbps (1Gbps), 10Gbps, 40Gbps, 100Gbps, and 400Gbps Ethernet physical interface. Ethernet has gained wide application and considerable development in the past quite a period of time. The speed of Ethernet ports has been increased by 10 times, from 10Mbps to 100Mbps, 1000Mbps (1Gbps), 10Gbps, 40Gbps, 100Gbps, and 400Gbps. The more the technology develops, the greater the granularity of the bandwidth will be, and the deviation from the actual application requirements will be more likely to occur. The bandwidth growth required by mainstream applications does not show such a 10-fold growth characteristic, such as 50Gbps, 75Gbps, 200Gbps, etc. The industry hopes to provide support for Ethernet ports (virtual connections) of bandwidths such as 50Gbps, 60Gbps, 75Gbps, 200Gbps and 150Gbps.
一方面,更进一步地,希望能够提供一些灵活带宽的端口,这些端口可以共同使用一个或者若干个以太网物理接口,例如2个40GE端口和2个10GE端口共同使用一个100G物理接口;并能够随着需求的变化做出灵活的速率调整,例如从200Gbps调整为330Gbps,或者50Gbps调整为20Gbps,以提高端口使用效率或者延长其使用生命周期。对于固定速率的物理链路,可以将其级联捆绑,以支持逻辑端口速率的堆叠增加(例如,将2个100GE物理接口堆叠级联捆绑以支持200GE逻辑端口)。另一方面,能够将物理接口灵活堆叠所得到的带宽资源池化,将其带宽按照颗粒(例如,5G为一个颗粒)分配给特定的以太网逻辑端口,实现若干以太网虚拟连接对堆叠级联的物理链路组的高效共享。由此,FlexE的概念应运而生,灵活以太网又称为灵活虚拟以太网。FlexE支持针对以太网业务的子速率、通道化、反向复用等功能。例如,针对以太网业务的子速率应用场景,FlexE能够支持将250G的以太网业务(MAC码流)采用3路现有的100GE的物理接口进行传送。针对以太网业务的反向复用场景,FlexE能够支持将200G的以太网业务采用2路现有的100GE的PMD层进行传送。针对以太网业务的通道化场景,FlexE能够支持若干个逻辑端口共同使用一个或者多个物理接口,能够支持将多路低速率的以太网业务复用到高速率的灵活以太网的中。On the one hand, further, it is hoped that some flexible bandwidth ports can be provided, and these ports can share one or several Ethernet physical interfaces, for example, two 40GE ports and two 10GE ports share one 100G physical interface; Make flexible rate adjustments as demand changes, such as adjusting from 200Gbps to 330Gbps, or 50Gbps to 20Gbps, to improve port usage efficiency or extend its service life cycle. For fixed-rate physical links, they can be cascaded and bundled to support a stack increase in the logical port rate (for example, two 100GE physical interfaces can be cascaded and bundled to support 200GE logical ports). On the other hand, it is possible to pool the bandwidth resources obtained by flexible stacking of physical interfaces, and allocate its bandwidth to specific Ethernet logical ports according to granules (for example, 5G is a granule), so as to realize the stack cascading of several Ethernet virtual connections efficient sharing of physical link groups. As a result, the concept of FlexE came into being, and flexible Ethernet is also called flexible virtual Ethernet. FlexE supports functions such as subrate, channelization, and inverse multiplexing for Ethernet services. For example, for the sub-rate application scenarios of Ethernet services, FlexE can support the transmission of 250G Ethernet services (MAC code stream) using three existing 100GE physical interfaces. For the inverse multiplexing scenario of Ethernet services, FlexE can support the transmission of 200G Ethernet services using two existing 100GE PMD layers. For the channelization scenario of Ethernet services, FlexE can support several logical ports to share one or more physical interfaces, and can support the multiplexing of multiple low-speed Ethernet services into high-speed flexible Ethernet.
由于接入网和城域网中大量采用以太网作为业务接口,这种基于以太网技术的业务流量汇聚功能的FlexE技术能够实现和底层业务网络的以太网接口的无缝连接。这些FlexE的子速率、通道化和反向复用功能的引入,极大的扩展了以太网的应用场合,增强了以太网应用的灵活性,并使得以太网技术逐渐向传送网领域渗透。Since Ethernet is widely used as service interfaces in access networks and metropolitan area networks, the FlexE technology based on the service flow aggregation function of Ethernet technology can realize seamless connection with the Ethernet interfaces of the underlying service network. The introduction of these FlexE sub-rate, channelization and inverse multiplexing functions greatly expands the application scenarios of Ethernet, enhances the flexibility of Ethernet applications, and makes Ethernet technology gradually penetrate into the transport network field.
FlexE为以太网物理链路的虚拟化,提供了一个可行的演进方向。灵活以太网需要在级联的一组物理接口上支持若干个虚拟的以太网数据连接。例如,4个100GE物理接口级联捆绑,支持若干逻辑端口。若干逻辑端口中一部分逻辑端口的带宽减小,则另外一部分逻辑端口的带宽增大,并且带宽减小的总量和带宽增大的总量相等,若干逻辑端口的带宽块速弹性调整,共同使用4个100GE物理接口。FlexE借鉴同步数字体系(synchronous digital hierarchy,SDH)/光传输网络(optical transfer network,OTN)技术,对物理接口传输构建固定帧格式,并进行时分复用(time-division multiplexing,TDM)的时隙划分。以现有的FlexE帧格式举例说明。FlexE的TDM时隙划分粒度是66比特,正好可以对应承载一个64B/66B比特块。一个FlexE帧包含8 行,每行第一个64B/66B比特块位置为FlexE开销块,开销块后为进行时隙划分的净荷区域,以66比特为粒度,对应20x1023个66比特承载空间,100GE接口的带宽划分20个时隙,每个时隙的带宽约为5Gbps。FlexE通过交织复用的方式在单个物理接口上实现了多个传输通道,即实现了多个时隙。若干个物理接口可以捆绑,该若干个物理接口的全部的时隙可以组合承载一个以太网逻辑端口。例如10GE需要两个时隙,25GE需要5个时隙等。逻辑端口上可见的仍为顺序传输的64B/66B比特块,每个逻辑端口对应一个MAC,传输相应的以太网报文,对报文的起始结束和对空闲填充的识别与传统以太网相同。FlexE只是一种接口技术,可在Ethernet物理层链路传递M1/M2比特块流,比如1G Ethernet采用8/10Bit编码,1GE物理层链路传递的就是8/10比特块流;10GE/40GE/100GE采用64/66Bit编码,10GE/40GE/100GE物理层链路传递的就是64/66比特块流。未来随着Ethernet技术发展,还也会出现其他编码方式,比如可能出现128/130Bit编码、256/258Bit编码等。对于M1/M2比特块流,存在不同类型的比特块并且在标准中明确规范,下面以64/66Bit编码的码型定义为例进行说明,其中首部的2个Bit“10”或“01”是64/66比特块同步头比特,后64Bit用于承载净荷数据。FlexE provides a feasible evolution direction for the virtualization of Ethernet physical links. Flexible Ethernet needs to support several virtual Ethernet data connections on a set of cascaded physical interfaces. For example, four 100GE physical interfaces are cascaded and bundled to support several logical ports. When the bandwidth of some logical ports in several logical ports decreases, the bandwidth of other logical ports increases, and the total amount of reduced bandwidth is equal to the total amount of increased bandwidth. The bandwidth of several logical ports can be flexibly adjusted at a block speed and used together. Four 100GE physical ports. FlexE draws on synchronous digital hierarchy (SDH)/optical transfer network (OTN) technology to construct a fixed frame format for physical interface transmission and implement time-division multiplexing (TDM) time slots divided. Take the existing FlexE frame format as an example. The TDM time slot division granularity of FlexE is 66 bits, which can just bear a corresponding 64B/66B bit block. A FlexE frame contains 8 lines, the position of the first 64B/66B bit block in each line is the FlexE overhead block, after the overhead block is the payload area for time slot division, with 66 bits as the granularity, corresponding to 20x1023 66-bit bearer spaces, The bandwidth of the 100GE interface is divided into 20 time slots, and the bandwidth of each time slot is about 5 Gbps. FlexE implements multiple transmission channels on a single physical interface through interleaving and multiplexing, that is, multiple time slots. Several physical interfaces can be bundled, and all time slots of the several physical interfaces can be combined to carry one Ethernet logical port. For example, 10GE needs two time slots, 25GE needs 5 time slots, etc. The 64B/66B bit blocks that can be seen on the logical port are still transmitted sequentially. Each logical port corresponds to a MAC and transmits the corresponding Ethernet message. The identification of the start and end of the message and the idle filling are the same as the traditional Ethernet. . FlexE is just an interface technology that can transmit M1/M2 bit block streams on Ethernet physical layer links. For example, 1G Ethernet uses 8/10Bit encoding, and 1GE physical layer links transmit 8/10 bit block streams; 10GE/40GE/ 100GE uses 64/66Bit encoding, and 10GE/40GE/100GE physical layer links transmit 64/66-bit block streams. With the development of Ethernet technology in the future, other encoding methods will appear, such as 128/130Bit encoding and 256/258Bit encoding. For the M1/M2 bit block stream, there are different types of bit blocks and they are clearly regulated in the standard. The code pattern definition of 64/66Bit encoding is used as an example to illustrate, in which the two bits "10" or "01" in the header are 64/66-bit block synchronization head bit, and the last 64Bit is used to carry payload data.
此外更具体的,FlexE技术通过在IEEE802.3基础上引入FlexE垫层(shim)实现了MAC层与物理层解耦(如图1中的虚线所示),从实现灵活以太网技术的FlexE垫层在IEEE802.3栈内的位置来看,特定带宽的数据流到达MAC层之后,经过介质无关接口(media independent interface,MII或称为媒体独立接口)形成并行数据流,并将这些数据流组合成64比特的数据信号,随后灵活以太网垫层(FlexEshim)对MII接口来的数据进行64B/66B编码,生成由两部分组成的66比特块,一部分是2比特的同步头,另外一部分是64比特的有效载荷,该64B/66B块的逻辑串行流在FlexE技术中被称作FlexE客户端(FlexE client)。也就是说,FlexE技术在原先的扰码(Scramble)之上增加了一个FlexE shim垫层,并旁路了原先的64B/66B编解码处理,同时将64B/66B编解码处理置于该FlexE shim垫层的最上面。其实现如图1所示,FlexE的部分架构包括MAC层、FlexE shim层和物理层。其中,MAC层属于数据链路层的一个子层,上接逻辑链路控制层。物理层又可分为物理编码子层(physical coding sublayer,PCS)、物理介质接入(physical medium attachment,PMA)子层和PMD子层。图1也示出了在传统以太网中,MAC层与物理层直接连接的架构,在该架构下在PCS层对MAC层的数据进行64B/66B编码。上述各个层的功能均由相应的芯片或模块实现。In addition, more specifically, the FlexE technology realizes the decoupling of the MAC layer and the physical layer by introducing the FlexE shim (shim) on the basis of IEEE802.3 (as shown by the dotted line in Figure 1). From the perspective of the position of the layer in the IEEE802.3 stack, after the data stream of a specific bandwidth reaches the MAC layer, a parallel data stream is formed through a media independent interface (MII or media independent interface), and these data streams are combined into 64-bit data signals, and then the flexible Ethernet pad (FlexEshim) performs 64B/66B encoding on the data from the MII interface to generate a 66-bit block consisting of two parts, one part is a 2-bit synchronization header, and the other part is a 64 The payload of bit, the logical serial flow of this 64B/66B block is called FlexE client (FlexE client) in FlexE technology. That is to say, the FlexE technology adds a FlexE shim layer on top of the original scramble (Scramble), bypasses the original 64B/66B codec processing, and puts the 64B/66B codec processing in the FlexE shim top of the cushion. Its realization is shown in Figure 1. Part of the FlexE architecture includes the MAC layer, the FlexE shim layer, and the physical layer. Wherein, the MAC layer belongs to a sublayer of the data link layer, and is connected to the logical link control layer. The physical layer can be divided into physical coding sublayer (physical coding sublayer, PCS), physical medium access (physical medium attachment, PMA) sublayer and PMD sublayer. FIG. 1 also shows the architecture in which the MAC layer is directly connected to the physical layer in the traditional Ethernet, and under this architecture, 64B/66B encoding is performed on the data of the MAC layer at the PCS layer. The functions of the above layers are realized by corresponding chips or modules.
在发送信号的过程中,PCS用于对数据进行编码、扰码(scrambled)、插入开销(overhead,OH)以及插入对齐标签(alignment marker,AM)等操作;在接收信号的过程中,PCS则会进行上述步骤的逆处理过程。发送和接收信号可以由PCS的不同功能模块实现。In the process of sending signals, PCS is used to encode data, scrambled (scrambled), insert overhead (overhead, OH) and insert alignment markers (alignment markers, AM) and other operations; in the process of receiving signals, PCS is The inverse process of the above steps will be performed. Sending and receiving signals can be realized by different functional modules of PCS.
在现有的IEEE P802.3ba标准中定义的AM的格式,如表1所示,在下面针对标准技术中对AM的处理进行描述。在标准IEEE P802.3ba中,为了支持在接收PCS处偏斜校正以对齐PCS通道中的数据码块并重新排序各个PCS通道,AM被定期添加到每个PCS通道。AM的形式是具有一个控制块同步头的一个特殊定义的66bit的数据块。这些AM中断任何已在进行中的数据传输,并且AM在同一时间被插入到所有PCS通道。 AM的空间是通过周期性地从XLGMII/CGMII数据流删除帧间间隙(inter packet gap,IPG)创建的。AM的其他特殊的性质是它们不加扰和不符合编码规则,这是由于AM在发送PCS通道中64B/66B的数据码块之后被添加,并且AM在接收PCS通道中的数据码块进行64B/66B解码之前被删除。AM不加扰是为了允许接收设备找到AM、对齐PCS通道中的数据码块和在进行解扰之前重新组装集合流。AM应在每个PCS通道上每16383个66bit的数据码块之后插入。此外,在进行上述处理时,PCS通道的号码(PCS lane number)与每个通道的编码(encoding)对应关系如表1所示,这使得上述处理具备了判定依据。在100GbE技术中,在每个通道的后面都周期性地增加一个AM,AM的作用是:在接收端负责PCS通道的重新排队和整体数据的重新组合。在接收端,从PCS通道来的数据,由于在传输过程中的偏斜,使得PCS通道的数据到达的时间不同,到达的顺序和发送端的也不一样,这时,就需要通过根据AM中的PCS lane number和encoding来重新排列通道数据和重新组合高速的数据流。The format of AM defined in the existing IEEE P802.3ba standard is shown in Table 1, and the processing of AM in the standard technology is described below. In standard IEEE P802.3ba, to support deskew at the receiving PCS to align data blocks in PCS lanes and to reorder individual PCS lanes, AM is periodically added to each PCS lane. The form of AM is a specially defined 66-bit data block with a control block sync header. These AMs interrupt any data transfers already in progress, and AMs are inserted into all PCS lanes at the same time. Space for AM is created by periodically removing the inter packet gap (IPG) from the XLGMII/CGMII data stream. Other special properties of AMs are that they are not scrambled and do not conform to the encoding rules, since AM is added after the 64B/66B data block in the sending PCS channel, and AM is 64B after the data block in the receiving PCS channel /66B is removed before decoding. The purpose of AM unscrambling is to allow the receiving device to find the AM, align the data blocks in the PCS lanes, and reassemble the aggregate stream before descrambling. AM shall be inserted after every 16383 66-bit data code blocks on each PCS channel. In addition, when performing the above processing, the corresponding relationship between the number of the PCS lane (PCS lane number) and the encoding (encoding) of each channel is shown in Table 1, which makes the above processing have a basis for judgment. In the 100GbE technology, an AM is periodically added behind each channel. The role of the AM is to be responsible for the requeuing of the PCS channel and the reassembly of the overall data at the receiving end. At the receiving end, the data from the PCS channel, due to the skew in the transmission process, makes the arrival time of the data of the PCS channel different, and the order of arrival is different from that of the sending end. PCS lane number and encoding to rearrange channel data and reassemble high-speed data streams.
Figure PCTCN2022073868-appb-000001
Figure PCTCN2022073868-appb-000001
表1Table 1
其中,PCS lane number用来指示通道的号码,各个通道具有唯一的号码,每个PCS lane的encoding都彼此不同。上述M 0,M 1,M 2,BIP 3,M 3,M 4,M 5,M 6,BIP 7都是IEEE 802.3标准规定的AM格式中定义的字段,所占据的比特位置和长度从图2可以看 出来。M 4,M 5,M 6分别是M 0,M 1,M 2的逐位翻转。每个对齐标记有两个位交错奇偶字段BIP 3和BIP 7,BIP 7是BIP 3的逐位反转。 Wherein, the PCS lane number is used to indicate the number of the channel, each channel has a unique number, and encodings of each PCS lane are different from each other. The above M 0 , M 1 , M 2 , BIP 3 , M 3 , M 4 , M 5 , M 6 , and BIP 7 are all fields defined in the AM format stipulated in the IEEE 802.3 standard, and the occupied bit positions and lengths are shown in Fig. 2 can be seen. M 4 , M 5 , and M 6 are bit-by-bit flips of M 0 , M 1 , and M 2 respectively. Each alignment marker has two bit-interleaved parity fields BIP 3 and BIP 7 , BIP 7 being the bitwise inversion of BIP 3 .
PMA子层的主要功能是链路监测、载波监测、编译码、发送时钟合成以及接收时钟恢复。PMD子层的主要功能是数据流的加扰/解扰、编译码以及对接收信号进行直流恢复和自适应均衡。The main functions of the PMA sublayer are link monitoring, carrier monitoring, encoding and decoding, sending clock synthesis and receiving clock recovery. The main functions of the PMD sublayer are scrambling/descrambling, coding and decoding of data streams, DC restoration and adaptive equalization of received signals.
应理解,上述图1示出的架构仅是举例说明,适用于本申请的架构不限传统以太网、以及图1展示的FlexE架构,在一些架构中例如,在MAC子层和FlexE shim层之间还可以存在一个调和子层(reconciliation sublayer,RS),用于提供MII与MAC子层之间的信号映射机制;PCS与PMA子层之间还可以存在一个前向纠错(forward error correction,FEC)子层,用于增强发送的数据的可靠性,等等。It should be understood that the above-mentioned architecture shown in FIG. 1 is only an example, and the architecture applicable to this application is not limited to the traditional Ethernet and the FlexE architecture shown in FIG. 1. In some architectures, for example, between the MAC sublayer and the FlexE shim layer There may also be a reconciliation sublayer (reconciliation sublayer, RS) between them, which is used to provide a signal mapping mechanism between the MII and the MAC sublayer; there may also be a forward error correction (forward error correction, RS) between the PCS and the PMA sublayer. FEC) sublayer for enhancing the reliability of transmitted data, etc.
参见图3,图3是本发明实施例中提供的一种以太网通信系统的结构示意图,如图所示本发明实施例中的以太网通信系统中的网络设备至少可以包括发送设备100以及接收设备200。其中,发送设备100与接收设备200可以通过光传送网络OTN建立通信连接。以太网通信系统可以实现上行传输和下行传输,其中上行传输为发送设备100向OTN网络发送Flex Ethernet业务,下行传输为接收设备200通过OTN网络接收Flex E业务。具体的,网络设备可以为路由器、交换机等客户端设备,或者以太网设备、OTN设备、SDH设备等网络端设备。Referring to FIG. 3, FIG. 3 is a schematic structural diagram of an Ethernet communication system provided in an embodiment of the present invention. As shown in the figure, the network devices in the Ethernet communication system in the embodiment of the present invention may at least include a sending device 100 and a receiving device Device 200. Wherein, the sending device 100 and the receiving device 200 may establish a communication connection through an optical transport network OTN. The Ethernet communication system can realize uplink transmission and downlink transmission, wherein the uplink transmission is that the sending device 100 sends the Flex Ethernet service to the OTN network, and the downlink transmission is that the receiving device 200 receives the Flex E service through the OTN network. Specifically, the network device may be a client device such as a router or a switch, or a network end device such as an Ethernet device, an OTN device, or an SDH device.
可选的,本申请实施例中的网络设备也可以称之为通信装置,其可以是一个通用设备或者是一个专用设备,本申请实施例对此不作具体限定。Optionally, the network device in this embodiment of the present application may also be referred to as a communication device, which may be a general-purpose device or a dedicated device, which is not specifically limited in this embodiment of the present application.
可选的,如图4所示,为本申请实施例提供的发送设备100和接收设备200的结构示意图。Optionally, as shown in FIG. 4 , it is a schematic structural diagram of the sending device 100 and the receiving device 200 provided in this embodiment of the present application.
其中,发送设备100包括至少一个处理器(图4中示例性的以包括一个处理器101为例进行说明)和至少一个收发器(图4中示例性的以包括一个收发器103为例进行说明)。可选的,发送设备100还可以包括至少一个存储器(图4中示例性的以包括一个存储器102为例进行说明),作为用户设备时,发送设备还可以包括至少一个输出设备(图4中示例性的以包括一个输出设备104为例进行说明)和至少一个输入设备(图4中示例性的以包括一个输入设备105为例进行说明)。Wherein, the sending device 100 includes at least one processor (in FIG. 4, it is illustrated by including a processor 101 as an example) and at least one transceiver (in FIG. 4, it is illustrated by an example of including a transceiver 103 ). Optionally, the sending device 100 may also include at least one memory (in FIG. 4, a memory 102 is used as an example for illustration), and when used as a user equipment, the sending device may also include at least one output device (the example in FIG. 4 An example of including one output device 104 is used for illustration) and at least one input device (in FIG. 4, an example of including one input device 105 is used for illustration).
处理器101、存储器102和收发器103通过通信线路相连接。通信线路可包括一通路,在上述组件之间传送信息。The processor 101, the memory 102 and the transceiver 103 are connected through communication lines. A communication link may include a pathway for the transfer of information between the aforementioned components.
处理器101可以是通用中央处理器(central processing unit,CPU)、微处理器、特定应用集成电路(application-specific integrated circuit,ASIC),或者一个或多个用于控制本申请方案程序执行的集成电路。在具体实现中,作为一种实施例,处理器301也可以包括多个CPU,并且处理器101可以是单核(single-CPU)处理器或多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路或用于处理数据(例如计算机程序指令)的处理核。The processor 101 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, a specific application integrated circuit (application-specific integrated circuit, ASIC), or one or more integrated circuits used to control the execution of the program program of this application. circuit. In a specific implementation, as an embodiment, the processor 301 may also include multiple CPUs, and the processor 101 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, or processing cores for processing data such as computer program instructions.
存储器102可以是具有存储功能的装置。例如可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备、随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only  memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器102可以是独立存在,通过通信线路与处理器101相连接。存储器102也可以和处理器101集成在一起。The storage 102 may be a device having a storage function. For example, it may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other types of memory that can store information and instructions A dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage ( including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be stored by a computer Any other medium, but not limited to. The memory 102 may exist independently and be connected to the processor 101 through a communication line. The memory 102 can also be integrated with the processor 101 .
其中,存储器102用于存储执行本申请方案的计算机执行指令,并由处理器101来控制执行。具体的,处理器101用于执行存储器102中存储的计算机执行指令,从而实现本申请实施例中发送设备执行的所述的通信方法。Wherein, the memory 102 is used to store computer-executed instructions for implementing the solution of the present application, and the execution is controlled by the processor 101 . Specifically, the processor 101 is configured to execute computer-executed instructions stored in the memory 102, so as to implement the communication method performed by the sending device in the embodiment of the present application.
或者,可选的,本申请实施例中,也可以是处理器101执行本申请下述实施例提供的通信方法中的发送设备相关的功能,收发器103负责与其他设备或通信网络通信,本申请实施例对此不作具体限定。Or, optionally, in the embodiment of the present application, the processor 101 may also perform functions related to the sending device in the communication method provided in the following embodiments of the present application, and the transceiver 103 is responsible for communicating with other devices or communication networks. The embodiment of the application does not specifically limit this.
可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码或者计算机程序代码,本申请实施例对此不作具体限定。Optionally, the computer-executed instructions in the embodiments of the present application may also be referred to as application program codes or computer program codes, which are not specifically limited in the embodiments of the present application.
收发器103可以使用任何收发器一类的装置,用于与其他设备或通信网络通信。收发器103包括发射机(transmitter,Tx)和接收机(receiver,Rx),例如在本申请的实施例中发送设备103通过发射机发送光传送网容器。 Transceiver 103 may use any transceiver-like device for communicating with other devices or communication networks. The transceiver 103 includes a transmitter (transmitter, Tx) and a receiver (receiver, Rx). For example, in the embodiment of the present application, the sending device 103 sends an OTN container through the transmitter.
输出设备104和处理器101通信,可以以多种方式来显示信息。例如,输出设备304可以是液晶显示器(liquid crystal display,LCD),发光二极管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。 Output device 104 is in communication with processor 101 and may display information in a variety of ways. For example, the output device 304 may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a cathode ray tube (cathode ray tube, CRT) display device, or a projector (projector), etc.
输入设备105和处理器101通信,可以以多种方式接受用户的输入。例如,输入设备105可以是鼠标、键盘、触摸屏设备或传感设备等。The input device 105 communicates with the processor 101 and can accept user input in various ways. For example, the input device 105 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.
接收设备200包括至少一个处理器(图4中示例性的以包括一个处理器201为例进行说明)、至少一个收发器(图4中示例性的以包括一个收发器203为例进行说明).此外,接收设备200还可以包括至少一个网络接口(图4中示例性的以包括一个网络接口204为例进行说明)。可选的,接收设备200还可以包括至少一个存储器(图4中示例性的以包括一个存储器202为例进行说明)。其中,处理器201、存储器202、收发器203和网络接口204通过通信线路相连接。网络接口204用于通过链路(例如S1接口)与核心网设备连接,或者通过有线或无线链路(例如X2接口)与其它网络设备的网络接口进行连接(图4中未示出),本申请实施例对此不作具体限定。另外,处理器201、存储器202和收发器203的相关描述可参考发送设备100中处理器101、存储器102和收发器103的描述,在此不再赘述。The receiving device 200 includes at least one processor (in FIG. 4, it is illustrated by including a processor 201 as an example), and at least one transceiver (in FIG. 4, it is illustrated by an example of including a transceiver 203). In addition, the receiving device 200 may further include at least one network interface (in FIG. 4 , one network interface 204 is used as an example for illustration). Optionally, the receiving device 200 may further include at least one memory (in FIG. 4 , a memory 202 is included as an example for illustration). Wherein, the processor 201, the memory 202, the transceiver 203 and the network interface 204 are connected through communication lines. The network interface 204 is used to connect to the core network device through a link (such as an S1 interface), or connect to a network interface (not shown in FIG. 4 ) of other network devices through a wired or wireless link (such as an X2 interface). The embodiment of the application does not specifically limit this. In addition, for related descriptions of the processor 201, the memory 202, and the transceiver 203, reference may be made to the description of the processor 101, the memory 102, and the transceiver 103 in the sending device 100, and details are not repeated here.
其中,存储器202用于存储执行本申请方案的计算机执行指令,并由处理器101来控制执行。具体的,处理器201用于执行存储器202中存储的计算机执行指令,从而实现本申请实施例中接收设备执行的所述的通信方法。Wherein, the memory 202 is used for storing computer-executed instructions for implementing the solution of the present application, and the execution is controlled by the processor 101 . Specifically, the processor 201 is configured to execute computer-executed instructions stored in the memory 202, so as to implement the communication method performed by the receiving device in the embodiment of the present application.
或者,可选的,本申请实施例中,也可以是处理器201执行本申请下述实施例提供的通信方法中的接收设备相关的功能,收发器203负责与其他设备或通信网络通信,本申请实施例对此不作具体限定。Or, optionally, in the embodiment of the present application, the processor 201 may also perform functions related to the receiving device in the communication method provided in the following embodiments of the present application, and the transceiver 203 is responsible for communicating with other devices or communication networks. The embodiment of the application does not specifically limit this.
可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码或者计算机程序代码,本申请实施例对此不作具体限定。Optionally, the computer-executed instructions in the embodiments of the present application may also be referred to as application program codes or computer program codes, which are not specifically limited in the embodiments of the present application.
收发器203可以使用任何收发器一类的装置,用于与其他设备或通信网络通信。收发器203包括发射机(transmitter,Tx)和接收机(receiver,Rx),例如在本申请的实施例中接收设备200通过接收机传送光传送网容器。 Transceiver 203 may use any transceiver-like device for communicating with other devices or communication networks. The transceiver 203 includes a transmitter (transmitter, Tx) and a receiver (receiver, Rx). For example, in the embodiment of the present application, the receiving device 200 transmits an OTN container through the receiver.
可以理解的是,图4所示的结构并不构成对发送设备100或接收设备200的具体限定。比如,在本申请另一些实施例中,发送设备100或接收设备200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。此外,在某些场景下发送设备100也可以用作为接收设备,接收设备200也可以用作发送设备。It can be understood that the structure shown in FIG. 4 does not constitute a specific limitation on the sending device 100 or the receiving device 200 . For example, in some other embodiments of the present application, the sending device 100 or the receiving device 200 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware. In addition, in some scenarios, the sending device 100 can also be used as a receiving device, and the receiving device 200 can also be used as a sending device.
下面将结合图1至图5,以图3所示的发送设备向以太网发送数据的上行传输为例,对本申请实施例提供的通信方法进行展开说明。The following will describe the communication method provided by the embodiment of the present application by taking the uplink transmission of data sent by the sending device to the Ethernet shown in FIG. 3 as an example with reference to FIG. 1 to FIG. 5 .
S101、发送设备接收多个物理编码子层PCS通道的数据码块和标记码块。S101. The sending device receives data code blocks and marker code blocks of multiple physical coding sublayer PCS channels.
其中,一个PCS通道包括间隔设置的多个标记码块,相邻的标记码块之间包括多个数据码块,如上述表1所述,每个PCS通道使用一种标记码块对该PCS通道的号码进行编号,即一个PCS通道中间隔设置的多个标记码块均相同,不同的PCS通道中设置的标记码块不同;数据码块承载以太网业务的原始数据流;具体实现中,以100GE的以太网业务在PCS层的数据流为例,其包括以64/66Bit编码方式以66Bit的原子数据块为单位编码的多个码块,例如数据码块和标记码块。以每个PCS通道支持5G带宽颗粒为例,则100GE的以太网业务在PCS层的数据流中的66Bit的码块可以在20个PCS通道中传输,其中标记码块用于对齐各个PCS通道中的数据码块,数据码块用于承载MAC层的原始数据流。Wherein, a PCS channel includes a plurality of marking code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marking code blocks. As described in Table 1 above, each PCS channel uses a marking code block for the PCS The number of the channel is numbered, that is, the multiple marked code blocks set at intervals in a PCS channel are the same, and the marked code blocks set in different PCS channels are different; the data code block carries the original data flow of the Ethernet service; in the specific implementation, Taking the data flow of the 100GE Ethernet service at the PCS layer as an example, it includes multiple code blocks encoded in 66-Bit atomic data blocks in 64/66Bit encoding, such as data code blocks and marker code blocks. Taking each PCS channel supporting 5G bandwidth granularity as an example, the 66Bit code blocks in the data stream of the PCS layer of the 100GE Ethernet service can be transmitted in 20 PCS channels, and the marked code blocks are used to align each PCS channel The data code block is used to carry the original data stream of the MAC layer.
示例性的,以100GE的以太网业务为例,标记码块可以采用上述的AM,如图2以及表1所示,由于每个AM对应的encoding不同,因此以5G带宽的PCS通道为例,则可以指示20个PCS通道。具体的,发送端设备在获取该以太网业务后,根据该以太网业务占用的带宽为该以太网业务分配20个5G带宽的PCS通道。Exemplarily, taking the 100GE Ethernet service as an example, the above-mentioned AM can be used for the marking code block, as shown in Figure 2 and Table 1. Since the encoding corresponding to each AM is different, taking the PCS channel of 5G bandwidth as an example, Then 20 PCS channels can be indicated. Specifically, after acquiring the Ethernet service, the sending end device allocates 20 PCS channels of 5G bandwidth to the Ethernet service according to the bandwidth occupied by the Ethernet service.
S102、发送设备在多个物理编码子层PCS通道的标记码块中插入以太网业务标识。S102. The sending device inserts the Ethernet service identifier into the marker code blocks of multiple physical coding sublayer PCS channels.
在步骤S102中,以太网业务标识用来指示标记码块所在的PCS通道中的数据码块承载的以太网业务;这样如步骤S101中的20个5G带宽的PCS通道用来承载该以太网业务时,则在该20个5G带宽的PCS通道中的标记码块中均插入该以太网业务的以太网业务标识。例如可以是在AM的BIP 7字段中插入以太网业务标识(具体可以是客户端标识(Client ID,CID))。具体的,参照图6所示,示出了多个PCS通道中各个数据码块的传输顺序。例如,参照图6示出了IEEE 802.3中定义的20个PCS通道(0-19)中,每个PCS通道中的将数据码块(66B)按照PCS通道排列的传输顺序,其中在每个PCS通道,每两个相邻的AM之间间隔16383个数据码块,如图6所示,AM1与AM2之间间隔16383个数据码块。其中图6中黑色箭头示出了各个数据码块以及AM的传输顺序。需要说明的是,在传输各个PCS通道中的数据码块时,可以依据不同的PCS通道对各个数据码块进行加扰。其中,由于AM用于在接收端对各个PCS通道中的数据码块进行对齐,因此对AM不进行加扰。需要说明的是,图6中每个PCS通道中均包含有标 记码块AM1和AM2,并且同一个PCS通道中的AM1和AM2相同;不同的PCS通道中的AM1和AM2不同,例如PCS通道1中的AM1和AM2相同,只是插入的位置不同;为了区分PCS通道1和PCS通道2,PCS通道1中的AM1和AM2与PCS通道2中的AM1和AM2不同。 In step S102, the Ethernet service identifier is used to indicate the Ethernet service carried by the data code block in the PCS channel where the marked code block is located; like this, the 20 PCS channels of 5G bandwidth in step S101 are used to carry the Ethernet service , insert the Ethernet service identifier of the Ethernet service into the marking code blocks in the 20 5G bandwidth PCS channels. For example, an Ethernet service identifier (specifically, a client identifier (Client ID, CID)) may be inserted into the BIP 7 field of the AM. Specifically, referring to FIG. 6 , it shows the transmission sequence of each data code block in multiple PCS channels. For example, referring to Fig. 6, it is shown that among the 20 PCS channels (0-19) defined in IEEE 802.3, the data code blocks (66B) in each PCS channel are arranged according to the transmission order of the PCS channels, wherein in each PCS channel, there are 16383 data code blocks between every two adjacent AMs, as shown in Figure 6, there are 16383 data code blocks between AM1 and AM2. The black arrows in FIG. 6 show the transmission sequence of each data code block and AM. It should be noted that, when transmitting data code blocks in each PCS channel, each data code block may be scrambled according to different PCS channels. Wherein, AM is not scrambled because AM is used to align data code blocks in each PCS channel at the receiving end. It should be noted that, in Fig. 6, each PCS channel includes marker code blocks AM1 and AM2, and AM1 and AM2 in the same PCS channel are the same; AM1 and AM2 in different PCS channels are different, for example, PCS channel 1 AM1 and AM2 in PCS channel 1 are the same, but the position of insertion is different; in order to distinguish PCS channel 1 and PCS channel 2, AM1 and AM2 in PCS channel 1 are different from AM1 and AM2 in PCS channel 2.
此外,以200G/400GE的以太网业务为例,在G.709协议中将200G/400GE的以太网业务的里德所罗门前向纠错(reed solomon forward error correction,RSFEC)层的码字标识(code word marker,CWM,即标识码块)替换为速率匹配(rate compensation,RC)标识。具体的,参照图7所示,示出了RC0和RC1的格式,其长度与AM均为66B。RC与AM在PCS通道中的位置相同内容不同,由于在协议中需要对RC以及数据码块同时依据所在的PCS通道进行加扰,因此RC的编码无法直接区分PCS通道,在本申请的实施例中,参照图8所示,可以在RC0\RC1中bit[29:26]插入PCS通道的编号。在Bit[65:58]填入以太网业务标识(例如具体可以是客户端标识(Client ID,CID))。其中,200GE的以太网业务的每个PCS通道支持最小颗粒的带宽为200/8=25G,则200GE的以太网业务有8对RC,8个不同的RC0/1中bit[29:26]分别依次填入0x0/0x1/0x2/0x3…/0x7;400GE的以太网每个PCS通道支持可被拆分成的最小颗粒为400/16=25G。则400GE的以太网业务有16对RC,16个不同的RC0/1中bit[29:26]分别依次填入0x0/0x1/0x2/0x3…/0xf。In addition, taking the 200G/400GE Ethernet service as an example, in the G.709 protocol, the codeword identification ( code word marker, CWM, which identifies the code block) is replaced by a rate matching (rate compensation, RC) identification. Specifically, referring to FIG. 7 , the formats of RC0 and RC1 are shown, and their length and AM are both 66B. The positions of RC and AM in the PCS channel are the same and the content is different. Since the protocol needs to scramble the RC and the data code block according to the PCS channel where they are located, the RC code cannot directly distinguish the PCS channel. In the embodiment of this application 8, the number of the PCS channel can be inserted into bits [29:26] of RC0\RC1. Fill in the Ethernet service identifier in Bit [65:58] (for example, it may specifically be a client identifier (Client ID, CID)). Among them, each PCS channel of the 200GE Ethernet service supports the minimum particle bandwidth of 200/8=25G, then the 200GE Ethernet service has 8 pairs of RCs, and bits [29:26] in 8 different RC0/1 are respectively Fill in 0x0/0x1/0x2/0x3.../0x7 in sequence; each PCS channel of 400GE Ethernet supports the smallest particle that can be split into 400/16=25G. Then the 400GE Ethernet service has 16 pairs of RCs, and bits [29:26] in 16 different RC0/1 are respectively filled with 0x0/0x1/0x2/0x3.../0xf in sequence.
S103、发送设备将多个PCS通道中的数据码块和标记码块映射至一个光传送网容器中。S103. The sending device maps the data code blocks and marker code blocks in multiple PCS lanes to an OTN container.
示例性的,发送设备可以将多个PCS通道承载的子数据流分别组合为一个或多个数据流。子数据流包括PCS通道中的数据码块以及标记码块形成的数据队列。可以根据配置,将一个或多个PCS通道包含的子数据流自由组合为p个数据流,各个数据流n1、n2…np带宽之和等于100G。n1、n2…np中各个数据流的带宽可以相同,也可以不同。示例性的,参照图9所示,对于任一以太网业务,结合图9中示出的66Bit的码块进行说明如下,对于每个66Bit的码块示例性的标记为x.y,其中,x表示PCS通道的标识,y标识该码块在PCS通道中的位置(第y个66Bit的码块)。这样可以将PCS通道0-3的数据码块0.0、1.0、2.0、3.0,以及数据码块0.1、1.1、2.1、3.1组合为n0数据流,并在后续将n0数据流装入20G带宽的光传送网容器;可以将PCS通道4、10以及11的数据码块4.0、10.0、11.0,以及数据码块4.1、10.1、12.1组合为n1数据流,并在后续将n1数据流装入15G带宽的光传送网容器。示例性的,光传送网容器包括光通道数据单元k容器或者灵活光通道数据单元容器。在该步骤中,将组合的p个数据流分别进行位映射(bitmap,BMP),装入光传送网容器的载荷(payload)中。Exemplarily, the sending device may respectively combine sub-data streams carried by multiple PCS channels into one or more data streams. The sub-data flow includes the data code blocks in the PCS channel and the data queue formed by the marked code blocks. According to the configuration, the sub-data streams contained in one or more PCS channels can be freely combined into p data streams, and the sum of the bandwidth of each data stream n1, n2...np is equal to 100G. The bandwidths of the data streams in n1, n2...np can be the same or different. Exemplarily, as shown in FIG. 9, for any Ethernet service, the description is as follows in conjunction with the 66Bit code block shown in FIG. The identifier of the PCS channel, y identifies the position of the code block in the PCS channel (the yth 66-Bit code block). In this way, the data code blocks 0.0, 1.0, 2.0, 3.0, and the data code blocks 0.1, 1.1, 2.1, 3.1 of PCS channels 0-3 can be combined into n0 data streams, and then the n0 data streams can be loaded into the 20G bandwidth optical Transport network container; can combine data code blocks 4.0, 10.0, 11.0 and data code blocks 4.1, 10.1, 12.1 of PCS channels 4, 10, and 11 into n1 data streams, and then load n1 data streams into 15G bandwidth Optical transport network container. Exemplarily, the optical transport network container includes an optical channel data unit k container or a flexible optical channel data unit container. In this step, bitmap (bitmap, BMP) is performed on the combined p data streams respectively, and loaded into the payload (payload) of the OTN container.
S104、发送设备将各个光传送网容器发送到光传送网络中。S104. The sending device sends each OTN container to the OTN.
这样上述方案中,通常发送设备在接收多个物理编码子层PCS通道的数据码块和标记码块时,每个PCS通道包括间隔设置的多个标记码块,相邻的标记码块之间包括多个用于承载原始数据流的数据码块,在该方案中由于发送设备直接在以太网业务的多个物理编码子层PCS通道的标记码块中插入以太网业务标识,并不对PCS通道承载的码块做其他处理,然后将多个物理子层PCS通道承载的将多个PCS通道中的数据码 块和标记码块映射至一个光传送网容器中,例如可以将多个物理子层PCS通道承载的子数据流分别组合为一个或多个数据流,子数据流包括PCS通道中的数据码块以及标记码块形成的数据队列;每个数据流可以包括至少一个物理子层PCS通道承载的子数据流,然后将组合成的各个数据流分别映射至带宽匹配的一个光传送网容器中发送至光传送网络中,这样由于PCS通道自身带有用于数据块对齐的标识码块,由于每个标识码块对应一个PCS通道,而在本申请的方案中,标识码块同时携带了用来指示标记码块所在的PCS通道中的数据码块承载的以太网业务的以太网业务标识,因此接收设备在接收到光传送网络传输的光传送网容器后,可以根据标识码块对各个PCS通道的数据码块进行对齐,并根据标识码块对应的PCS通道以及携带的以太网业务标识,将相同的以太网业务标识对应的PCS通道中的数据码块进行组合以恢复原始数据流。这样由于无需在PCS通道的多个数据码块之间额外插入控制码块,因此避免了对带宽的占用。此外,由于无需插入额外的控制码块,因此也不会造成对PCS通道的时隙开销,从而能够直接兼容目前的以太网通信方式,此外,本申请的实施例提供的方案是PCS通道中的码块直接按照原始速率封装入光传送网容器,由于并不会在划分后的码块之间增加控制码块,因此并不会改变传输速率,因此可以支持时钟透传。In the above scheme, usually when the sending device receives data code blocks and mark code blocks of multiple physical coding sublayer PCS channels, each PCS channel includes a plurality of mark code blocks set at intervals, and between adjacent mark code blocks It includes multiple data code blocks used to carry the original data stream. In this solution, since the sending device directly inserts the Ethernet service identifier into the marking code blocks of the multiple physical coding sublayer PCS channels of the Ethernet service, it does not directly insert the Ethernet service identifier into the PCS channel Do other processing for the code blocks carried, and then map the data code blocks and marker code blocks in multiple PCS channels carried by multiple physical sub-layer PCS channels to an optical transport network container, for example, multiple physical sub-layer The sub-data streams carried by the PCS channel are respectively combined into one or more data streams, and the sub-data streams include the data code blocks in the PCS channel and the data queue formed by the marked code blocks; each data stream can include at least one physical sub-layer PCS channel The sub-data flows carried by the sub-flows are then mapped to an optical transport network container with matching bandwidth and sent to the optical transport network. In this way, since the PCS channel itself has an identification code block for data block alignment, due to Each identification code block corresponds to a PCS channel, and in the solution of this application, the identification code block also carries the Ethernet service identifier used to indicate the Ethernet service carried by the data code block in the PCS channel where the marking code block is located, Therefore, after receiving the optical transport network container transmitted by the optical transport network, the receiving device can align the data code blocks of each PCS channel according to the identification code block, and according to the PCS channel corresponding to the identification code block and the carried Ethernet service identifier, The data code blocks in the PCS channels corresponding to the same Ethernet service identifier are combined to restore the original data stream. In this way, since there is no need to additionally insert control code blocks between multiple data code blocks of the PCS channel, bandwidth occupation is avoided. In addition, since there is no need to insert additional control code blocks, there will be no time slot overhead for the PCS channel, so that it can be directly compatible with the current Ethernet communication method. In addition, the solution provided by the embodiments of the present application is the PCS channel. The code blocks are directly encapsulated into the optical transport network container according to the original rate. Since no control code blocks are added between the divided code blocks, the transmission rate will not be changed, so clock transparent transmission can be supported.
下面将结合图1至图4以及图10,以图3所示的接收设备自以太网接收数据的下行传输为例,对本申请实施例提供的通信方法进行展开说明。The communication method provided by the embodiment of the present application will be described below with reference to FIG. 1 to FIG. 4 and FIG. 10 , taking the downlink transmission of data received by the receiving device shown in FIG. 3 from the Ethernet as an example.
S201、接收设备在光传送网络中传送的多个光传送网容器中分别解映射出多个PCS通道中的数据码块和标记码块。S201. The receiving device respectively demaps data code blocks and marker code blocks in multiple PCS channels from multiple optical transport network containers transmitted in the optical transport network.
具体的,接收设备可以将p个ODUFlex解映射得到p个数据流。由于标记码块中包含以太网业务标识,以太网业务标识用来指示标记码块所在的PCS通道中的数据码块承载的以太网业务。这样,接收设备根据p数据流中的标记码块,获取每个PCS通道承载的子数据流。具体的,在步骤S201中,接收设备可以是根据数据流带宽(bandwidt,BW),将每个数据流按照66bit为颗粒分拆为数据流带宽BW/5份。如果p个数据流n1、n2…np带宽之和等于100G,则对于所有p个数据流全部完成分拆之后,可以得到所有20个PCS通道的子数据流。子数据流包括PCS通道中的数据码块以及标记码块形成的数据队列。Specifically, the receiving device can demap p ODUFlexes to obtain p data streams. Since the marked code block contains the Ethernet service identifier, the Ethernet service identifier is used to indicate the Ethernet service carried by the data code block in the PCS channel where the marked code block is located. In this way, the receiving device obtains the sub-data stream carried by each PCS channel according to the marked code block in the p-data stream. Specifically, in step S201, the receiving device may split each data stream into data stream bandwidth BW/5 parts according to the data stream bandwidth (bandwidt, BW) according to the 66-bit granularity. If the sum of the bandwidths of the p data streams n1, n2...np is equal to 100G, after splitting all the p data streams, sub-data streams of all 20 PCS channels can be obtained. The sub-data flow includes the data code blocks in the PCS channel and the data queue formed by the marked code blocks.
S202、接收设备将具有相同以太网业务标识的标记码块所在的PCS通道中的数据码块恢复以太网业务的原始数据流。S202. The receiving device recovers the original data stream of the Ethernet service from the data code block in the PCS channel where the marked code block with the same Ethernet service identifier is located.
由于在步骤S101中对每个PCS通道的数据码块进行了加扰,因此在步骤S202之前还需要对数据码块进行解扰,其中如上所述,在100GE的以太网业务场景下,标记码块采用AM时,则对标记码块不进行解扰;在200G/400GE的以太网业务场景下,标记码块采用RC时,则需要同时标记码块进行解扰。然后将各个PCS通道的子数据流包含的数据码块根据标记码块进行对齐,最后重新组合合并各个PCS通道中的数据码块得到原始数据码流,其中可以理解的是合并时需要首先对各个数据码块进行64/66Bit解码。Since the data code block of each PCS channel is scrambled in step S101, the data code block needs to be descrambled before step S202. When the AM block is used, the marked code block is not descrambled; in the 200G/400GE Ethernet service scenario, when the marked code block uses RC, the marked code block needs to be descrambled at the same time. Then align the data code blocks contained in the sub-data streams of each PCS channel according to the marked code blocks, and finally recombine and merge the data code blocks in each PCS channel to obtain the original data code stream. 64/66Bit decoding is performed on the data code block.
例如,参照图11所示,对数据流n0所包含的数据码块0.0、1.0、2.0、3.0、0.1、1.1、2.1、3.1,根据PCS通道的标识依次获取各个PCS通道承载的子数据流,则得到PCS通道0中的数据码块0.0,0.1,PCS通道1中的数据码块1.0,1.1;PCS通 道2中的数据码块2.0,2.1,PCS通道3中的数据码块3.0,3.1;对数据流n1所包含的数据码块4.0、11.0、12.0、4.1、11.1、12.1,根据PSC通道的标识依次获取各个PCS通道承载的子数据流,则得到PCS通道11中的数据码块11.0,11.1,PCS通道12中的数据码块12.0,12.1;之后将各个PCS通道的数据码块合并,获取以太网业务的各个PCS通道第一个数据码块0.0、1.0、2.0、3.0、4.0、11.0、12.0,获取以太网业务的各个PCS通道第二个数据码块0.1、1.1、2.1、3.1、4.1、11.1、12.1。For example, as shown in FIG. 11 , for the data code blocks 0.0, 1.0, 2.0, 3.0, 0.1, 1.1, 2.1, and 3.1 contained in the data stream n0, the sub-data streams carried by each PCS channel are sequentially obtained according to the identification of the PCS channel, Then get data code blocks 0.0,0.1 in PCS channel 0, data code blocks 1.0,1.1 in PCS channel 1; data code blocks 2.0,2.1 in PCS channel 2, data code blocks 3.0,3.1 in PCS channel 3; For the data code blocks 4.0, 11.0, 12.0, 4.1, 11.1, and 12.1 contained in the data stream n1, the sub-data streams carried by each PCS channel are sequentially obtained according to the identification of the PSC channel, and the data code block 11.0 in the PCS channel 11 is obtained, 11.1, data code blocks 12.0, 12.1 in PCS channel 12; then merge the data code blocks of each PCS channel to obtain the first data code block 0.0, 1.0, 2.0, 3.0, 4.0, 11.0 of each PCS channel of the Ethernet service , 12.0, to obtain the second data code block 0.1, 1.1, 2.1, 3.1, 4.1, 11.1, 12.1 of each PCS channel of the Ethernet service.
在本申请的方案中,由于每个标识码块对应一个PCS通道,同时携带了灵活以太网业务标识,因此接收设备在接收到光传送网络传输的光传送网容器后,可以根据标识码块对各个PCS通道的数据码块进行对齐,并根据标识码块对应的PCS通道以及携带的灵活以太网业务标识,将相同的灵活以太网业务标识对应的PCS通道中的数据码块进行组合以恢复原始数据流。这样由于无需在PCS通道的多个数据码块之间额外插入控制码块,因此避免了对带宽的占用。此外,由于无需插入额外的控制码块,因此也不会造成对PCS通道的时隙开销,从而能够直接兼容目前的以太网通信方式,此外,本申请的实施例提供的方案是PCS通道中的码块直接按照原始速率封装入光传送网容器,由于并不会在划分后的码块之间增加控制码块,因此并不会改变传输速率,因此可以支持时钟透传。In the solution of this application, since each identification code block corresponds to a PCS channel and carries the flexible Ethernet service identification, after receiving the OTN container transmitted by the optical transport network, the receiving device can use the identification code block to The data code blocks of each PCS channel are aligned, and according to the PCS channel corresponding to the identification code block and the flexible Ethernet service identifier carried, the data code blocks in the PCS channel corresponding to the same flexible Ethernet service identifier are combined to restore the original data flow. In this way, since there is no need to additionally insert control code blocks between multiple data code blocks of the PCS channel, bandwidth occupation is avoided. In addition, since there is no need to insert additional control code blocks, there will be no time slot overhead for the PCS channel, so that it can be directly compatible with the current Ethernet communication method. In addition, the solution provided by the embodiments of the present application is the PCS channel. The code blocks are directly encapsulated into the optical transport network container according to the original rate. Since no control code blocks are added between the divided code blocks, the transmission rate will not be changed, so clock transparent transmission can be supported.
可以理解的是,上述网络设备和终端设备等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法操作,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above-mentioned functions, the above-mentioned network devices and terminal devices include corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art should easily realize that, in combination with the units and algorithm operations of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本申请实施例可以根据上述方法示例对网络设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the network device into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
比如,以采用集成的方式划分各个功能模块的情况下,图12示出了一种发送设备的结构示意图。该发送设备可以为发送设备中的芯片或者片上系统,或其他可实现上述发送设备功能的组合器件、部件等,该发送设备可以用于执行上述实施例中涉及的发送设备的功能。For example, in the case of dividing various functional modules in an integrated manner, FIG. 12 shows a schematic structural diagram of a sending device. The sending device may be a chip or a system-on-a-chip in the sending device, or other combined devices, components, etc. that can realize the functions of the sending device above, and the sending device may be used to perform the functions of the sending device involved in the above embodiments.
作为一种可能的实现方式,图12所示的发送设备包括:处理单元1201、发送单元1202和接收单元1203。接收单元1203,用于接收多个物理编码子层PCS通道的数据码块和标记码块;处理单元1201,用于在所述多个物理编码子层PCS通道的标记码块中插入以太网业务标识,所述以太网业务标识用来指示所述标记码块所在的所述PCS通道中的所述数据码块承载的以太网业务;将所述多个PCS通道中的数据码块和标记码块映射至一个光传送网容器中;发送单元1202,用于将各个所述光传送网容器发送到光传送网络中。As a possible implementation manner, the sending device shown in FIG. 12 includes: a processing unit 1201 , a sending unit 1202 , and a receiving unit 1203 . The receiving unit 1203 is configured to receive data code blocks and marker code blocks of a plurality of physical coding sublayer PCS channels; the processing unit 1201 is configured to insert Ethernet services into the marker code blocks of the multiple physical coding sublayer PCS channels identification, the Ethernet service identification is used to indicate the Ethernet service carried by the data code block in the PCS channel where the mark code block is located; the data code block and the mark code block in the multiple PCS channels The block is mapped to an OTN container; the sending unit 1202 is configured to send each OTN container to the OTN.
在一种可能是实现方式中,所述码字标记包括对齐标识AM,所述以太网业务标识 设置于所述AM的BIP 7字段中。 In a possible implementation manner, the codeword mark includes an alignment identifier AM, and the Ethernet service identifier is set in a BIP 7 field of the AM.
在一种可能的实现方式中,码字标记包括速率匹配RC标识,物理编码子层通道的标识携带于速率匹配RC标识的比特[29:26],以太网业务标识携带于RC标识的比特[65:58]。In a possible implementation, the codeword mark includes a rate matching RC identifier, the identifier of the physical coding sublayer channel is carried in the bits [29:26] of the rate matching RC identifier, and the Ethernet service identifier is carried in the bits [29:26] of the RC identifier 65:58].
在一种可能的实现方式中,一个PCS通道包括间隔设置的多个标记码块,相邻的标记码块之间包括多个数据码块,每个PCS通道对应一种标记码块;数据码块承载以太网业务的原始数据流。In a possible implementation, a PCS channel includes a plurality of marked code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marked code blocks, and each PCS channel corresponds to a marked code block; the data code The block carries the original data stream of the Ethernet service.
在一种可能的实现方式中,所述标记码块以及所述数据码块为采用64/66Bit编码方式形成的66Bit的码块。In a possible implementation manner, the mark code block and the data code block are 66-Bit code blocks formed in a 64/66-Bit encoding manner.
在一种可能的实现方式中,在一个物理编码子层通道中,相邻的两个标记码块之间间隔16383个数据码块。In a possible implementation manner, in a physical coding sublayer channel, there are 16383 data code blocks between two adjacent marker code blocks.
其中,上述方法实施例涉及的各操作的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Wherein, all relevant content of each operation involved in the above method embodiment can be referred to the function description of the corresponding function module, and will not be repeated here.
在本实施例中,该发送设备以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该发送设备可以采用图4所示的发送设备的形式。In this embodiment, the sending device is presented in a form of dividing various functional modules in an integrated manner. A "module" here may refer to a specific ASIC, a circuit, a processor and a memory executing one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the above-mentioned functions. In a simple embodiment, those skilled in the art can imagine that the sending device may take the form of the sending device shown in FIG. 4 .
比如,图4中的处理器101可以通过调用存储器103中存储的计算机执行指令,使得发送设备执行上述方法实施例中的用于通信方法。For example, the processor 101 in FIG. 4 may invoke the computer-executed instructions stored in the memory 103, so that the sending device executes the method for communication in the foregoing method embodiments.
示例性的,图12中的接收单元1203、发送单元1202和处理单元1201的功能/实现过程可以通过图4中的处理器101调用存储器103中存储的计算机执行指令来实现;或者,图12中的处理单元1201的功能/实现过程可以通过图4中的处理器101调用存储器103中存储的计算机执行指令来实现,图12中的发送单元1202的功能/实现过程可以通过图4中的收发器103中的发射机来实现。图12中的接收单元1203的功能/实现过程可以通过图4中的收发器103中的接收机来实现。Exemplarily, the functions/implementation process of the receiving unit 1203, the sending unit 1202, and the processing unit 1201 in FIG. 12 can be implemented by the processor 101 in FIG. The function/implementation process of the processing unit 1201 can be realized by the processor 101 in FIG. 4 calling the computer execution instructions stored in the memory 103, and the function/implementation process of the sending unit 1202 in FIG. 103 in the transmitter to achieve. The function/implementation process of the receiving unit 1203 in FIG. 12 may be implemented by the receiver in the transceiver 103 in FIG. 4 .
由于本实施例提供的通信装置可执行上述的通信方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。Since the communication device provided in this embodiment can execute the above-mentioned communication method, the technical effect it can obtain can refer to the above-mentioned method embodiment, which will not be repeated here.
本申请实施例可以根据上述方法示例对接收设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present application may divide the receiving device into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
比如,以采用集成的方式划分各个功能模块的情况下,图13示出了一种接收设备的结构示意图。该接收设备可以为上述接收设备中的芯片或者片上系统,或其他可实现上述接收设备功能的组合器件、部件等,该接收设备可以用于执行上述实施例中涉及的接收设备的功能。For example, in the case of dividing various functional modules in an integrated manner, FIG. 13 shows a schematic structural diagram of a receiving device. The receiving device may be a chip or a system-on-a-chip in the above receiving device, or other combination devices, components, etc. that can realize the functions of the above receiving device, and the receiving device may be used to perform the functions of the receiving device involved in the above embodiments.
作为一种可能的实现方式,图13所示的接收设备包括:接收单元1301和处理单元1302。接收单元1301,用于接收在光传送网络中传送的多个光传送网容器;处理单元1302,用于在光传送网络中传送的多个光传送网容器中分别解映射出多个PCS通道 中的数据码块和标记码块,所述标记码块中包含以太网业务标识,所述以太网业务标识用来指示所述标记码块所在的所述PCS通道中的所述数据码块承载的以太网业务;将具有相同以太网业务标识的所述标记码块所在的所述PCS通道中的所述数据码块恢复所述以太网业务的原始数据流。As a possible implementation manner, the receiving device shown in FIG. 13 includes: a receiving unit 1301 and a processing unit 1302 . The receiving unit 1301 is configured to receive multiple optical transport network containers transmitted in the optical transport network; the processing unit 1302 is configured to respectively demap multiple PCS channels from the multiple optical transport network containers transmitted in the optical transport network A data code block and a marked code block, the marked code block contains an Ethernet service identifier, and the Ethernet service identifier is used to indicate the data code block carried by the data code block in the PCS channel where the marked code block is located Ethernet service: restore the original data flow of the Ethernet service to the data code block in the PCS channel where the marked code block with the same Ethernet service identifier is located.
在一种可能是实现方式中,所述码字标记包括对齐标识AM,所述以太网业务标识设置于所述AM的BIP 7字段中。 In a possible implementation manner, the codeword mark includes an alignment identifier AM, and the Ethernet service identifier is set in a BIP 7 field of the AM.
在一种可能是实现方式中,所述码字标记包括速率匹配RC标识,所述物理编码子层通道的标识携带于所述速率匹配RC标识的比特[29:26],所述以太网业务标识携带于所述速率匹配RC标识的比特[65:58]。In a possible implementation manner, the codeword mark includes a rate matching RC identifier, the identifier of the physical coding sublayer channel is carried in bits [29:26] of the rate matching RC identifier, and the Ethernet service The flag is carried in bits [65:58] of the rate matching RC flag.
在一种可能是实现方式中,一个所述PCS通道包括间隔设置的多个标记码块,相邻的所述标记码块之间包括多个数据码块,每个所述PCS通道对应一种所述标记码块;所述数据码块承载所述以太网业务的原始数据流。In a possible implementation manner, one PCS channel includes a plurality of marker code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marker code blocks, and each PCS channel corresponds to a The tag code block; the data code block bears the original data flow of the Ethernet service.
在一种可能是实现方式中,所述数据码块包括66Bit的码块;处理单元1302具体用于将具有相同以太网业务标识的所述标记码块所在的所述PCS通道中的数据码块以64/66Bit解码方式解码后组合为所述以太网业务的原始数据流。In a possible implementation manner, the data code block includes a 66Bit code block; the processing unit 1302 is specifically configured to convert the data code block in the PCS channel where the marked code block with the same Ethernet service identifier is located After being decoded in a 64/66Bit decoding manner, it is combined into the original data stream of the Ethernet service.
在一种可能是实现方式中,在一个所述物理编码子层通道中,相邻的两个所述标记码块之间间隔16383个数据码块。In a possible implementation manner, in one physical coding sublayer channel, there are 16383 data code blocks between two adjacent marker code blocks.
其中,上述方法实施例涉及的各操作的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Wherein, all relevant content of each operation involved in the above method embodiment can be referred to the function description of the corresponding function module, and will not be repeated here.
在本实施例中,该接收设备以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该接收设备可以采用图4所示的接收设备的形式。In this embodiment, the receiving device is presented in a form of dividing various functional modules in an integrated manner. A "module" here may refer to a specific ASIC, a circuit, a processor and a memory executing one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the above-mentioned functions. In a simple embodiment, those skilled in the art can imagine that the receiving device can take the form of the receiving device shown in FIG. 4 .
比如,图4中的处理器201可以通过调用存储器203中存储的计算机执行指令,使得接收设备执行上述方法实施例中的通信方法。For example, the processor 201 in FIG. 4 may invoke the computer-executed instructions stored in the memory 203, so that the receiving device executes the communication method in the foregoing method embodiments.
示例性的,图13中的接收单元1301和处理单元1302的功能/实现过程可以通过图4中的处理器201调用存储器203中存储的计算机执行指令来实现;或者,图13中的处理单元1302的功能/实现过程可以通过图4中的处理器201调用存储器203中存储的计算机执行指令来实现,图13中的接收单元1301的功能/实现过程可以通过图4中的收发器203的接收机来实现。Exemplarily, the functions/implementation process of the receiving unit 1301 and the processing unit 1302 in FIG. 13 can be realized by calling the computer execution instructions stored in the memory 203 by the processor 201 in FIG. 4; or, the processing unit 1302 in FIG. 13 The function/implementation process can be realized by the processor 201 in FIG. 4 calling the computer execution instructions stored in the memory 203, and the function/implementation process of the receiving unit 1301 in FIG. 13 can be realized by the receiver of the transceiver 203 in FIG. 4 to fulfill.
由于本实施例提供的接收设备可执行上述的通信方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。Since the receiving device provided in this embodiment can execute the above-mentioned communication method, the technical effect it can obtain can refer to the above-mentioned method embodiment, and details are not repeated here.
可选的,本申请实施例还提供了一种通信装置(例如,该通信装置可以是芯片或芯片系统),该通信装置包括处理器和接口,处理器用于读取指令以执行上述任一方法实施例中的方法。在一种可能的设计中,该通信装置还包括存储器。该存储器,用于保存必要的程序指令和数据,处理器可以调用存储器中存储的程序代码以指令该通信装置执行上述任一方法实施例中的方法。当然,存储器也可以不在该通信装置中。该通信装置是芯片系统时,可以由芯片构成,也可以包含芯片和其他分立器件,本申请实施例对此不作具体限定。Optionally, the embodiment of the present application also provides a communication device (for example, the communication device may be a chip or a chip system), the communication device includes a processor and an interface, and the processor is used to read instructions to perform any of the above methods Methods in the Examples. In a possible design, the communication device further includes a memory. The memory is used to store necessary program instructions and data, and the processor can call the program code stored in the memory to instruct the communication device to execute the method in any one of the above method embodiments. Of course, the memory may not be in the communication device. When the communication device is a system-on-a-chip, it may be composed of a chip, or may include a chip and other discrete devices, which is not specifically limited in this embodiment of the present application.
具体的,当通信装置为发送设备,发送单元1202在传送信息时可以为发射机,当通信装置为接收设备时,接收单元1301在接收信息时可以为接收机,此外收发器、发射机或接收机可以为射频电路,当通信装置包含存储单元时,该存储单元用于存储计算机指令,处理器与存储器通信连接,处理器执行存储器存储的计算机指令,使通信装置执行方法实施例涉及的方法。其中,处理器可以是一个通用中央处理器(CPU),微处理器,特定应用集成电路(application specific intergrated circuit,ASIC)。Specifically, when the communication device is a sending device, the sending unit 1202 may be a transmitter when transmitting information; when the communication device is a receiving device, the receiving unit 1301 may be a receiver when receiving information; The machine may be a radio frequency circuit. When the communication device includes a storage unit, the storage unit is used to store computer instructions, the processor is connected to the memory in communication, and the processor executes the computer instructions stored in the memory, so that the communication device executes the method involved in the method embodiment. Wherein, the processor may be a general central processing unit (CPU), a microprocessor, or an application specific integrated circuit (ASIC).
当通信装置为芯片时,发送单元1202、接收单元1301可以是输入和/或输出接口、管脚或电路等。该处理单元1201、处理单元1302可执行存储单元存储的计算机执行指令,以使该通信装置内的芯片执行方法实施例所涉及的方法。可选地,所述存储单元为所述芯片内的存储单元,如寄存器、缓存等,所述存储单元还可以是所述终端设备或网络设备内的位于所述芯片外部的存储单元,如只读存储器(read only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。When the communication device is a chip, the sending unit 1202 and the receiving unit 1301 may be input and/or output interfaces, pins or circuits, and the like. The processing unit 1201 and the processing unit 1302 can execute the computer-executed instructions stored in the storage unit, so that the chip in the communication device executes the method involved in the method embodiment. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, etc., and the storage unit may also be a storage unit located outside the chip in the terminal device or network device, such as only Read only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM), etc.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。本申请实施例中,计算机可以包括前面所述的装置。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server, or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or may be a data storage device including one or more servers, data centers, etc. that can be integrated with the medium. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc. In the embodiment of the present application, the computer may include the aforementioned apparatus.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present application has been described in conjunction with various embodiments here, however, in the process of implementing the claimed application, those skilled in the art can understand and Other variations of the disclosed embodiments are implemented. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that these measures cannot be combined to advantage.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Although the application has been described in conjunction with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and drawings are merely illustrative of the application as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of this application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (16)

  1. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    发送设备接收多个物理编码子层PCS通道的数据码块和标记码块;The sending device receives data code blocks and marker code blocks of multiple physical coding sublayer PCS channels;
    所述发送设备在所述多个物理编码子层PCS通道的标记码块中插入以太网业务标识,所述以太网业务标识用来指示所述标记码块所在的所述PCS通道中的所述数据码块承载的以太网业务;The sending device inserts an Ethernet service identifier into the marker code blocks of the plurality of physical coding sublayer PCS channels, and the Ethernet service identifier is used to indicate the PCS channel in which the marker code block is located. Ethernet services carried by data code blocks;
    所述发送设备将所述多个PCS通道中的数据码块和标记码块映射至一个光传送网容器中;The sending device maps the data code blocks and marker code blocks in the multiple PCS channels to an optical transport network container;
    所述发送设备将所述光传送网容器发送到光传送网络中。The sending device sends the OTN container to the OTN.
  2. 根据权利要求1所述的通信方法,其特征在于,所述标记码块包括对齐标识AM,所述以太网业务标识设置于所述AM的BIP 7字段中。 The communication method according to claim 1, wherein the tag code block includes an alignment identifier AM, and the Ethernet service identifier is set in the BIP 7 field of the AM.
  3. 根据权利要求1所述的通信方法,其特征在于,所述标记码块包括速率匹配RC标识,所述物理编码子层PCS通道的标识携带于所述RC标识的比特[29:26],所述以太网业务标识携带于所述RC标识的比特[65:58]。The communication method according to claim 1, wherein the marked code block includes a rate matching RC identifier, and the identifier of the physical coding sublayer PCS channel is carried in bits [29:26] of the RC identifier, so The Ethernet service identifier is carried in bits [65:58] of the RC identifier.
  4. 根据权利要求1-3任一项所述的通信方法,其特征在于,一个所述PCS通道包括间隔设置的多个标记码块,相邻的所述标记码块之间包括多个数据码块,每个所述PCS通道对应一种所述标记码块;所述数据码块承载所述以太网业务的原始数据流。The communication method according to any one of claims 1-3, wherein one PCS channel includes a plurality of marker code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marker code blocks , each of the PCS channels corresponds to one type of the tag code block; the data code block bears the original data stream of the Ethernet service.
  5. 根据权利要求1-4任一项所述的通信方法,其特征在于,所述标记码块以及所述数据码块为采用64/66Bit编码方式形成的66Bit的码块。The communication method according to any one of claims 1-4, wherein the mark code block and the data code block are 66Bit code blocks formed by adopting a 64/66Bit encoding method.
  6. 根据权利要求1-5任一项所述的通信方法,其特征在于,在一个所述PCS通道中,相邻的两个所述标记码块之间间隔16383个数据码块。The communication method according to any one of claims 1-5, characterized in that, in one PCS channel, there are 16383 data code blocks between two adjacent marker code blocks.
  7. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    接收设备在光传送网络中传送的多个光传送网容器中分别解映射出多个PCS通道中的数据码块和标记码块,所述标记码块中包含以太网业务标识,所述以太网业务标识用来指示所述标记码块所在的所述PCS通道中的所述数据码块承载的以太网业务;The receiving device respectively demaps data code blocks and marked code blocks in multiple PCS channels in multiple optical transport network containers transmitted in the optical transport network, the marked code blocks contain Ethernet service identifiers, and the Ethernet The service identifier is used to indicate the Ethernet service carried by the data code block in the PCS channel where the marker code block is located;
    所述接收设备将具有相同以太网业务标识的所述标记码块所在的所述PCS通道中的所述数据码块恢复所述以太网业务的原始数据流。The receiving device recovers the original data stream of the Ethernet service from the data code block in the PCS channel where the marked code block with the same Ethernet service identifier is located.
  8. 根据权利要求7所述的通信方法,其特征在于,所述标记码块包括对齐标识AM,所述以太网业务标识设置于所述AM的BIP 7字段中。 The communication method according to claim 7, wherein the tag code block includes an alignment identifier AM, and the Ethernet service identifier is set in the BIP 7 field of the AM.
  9. 根据权利要求7所述的通信方法,其特征在于,所述标记码块包括速率匹配RC标识,所述PCS通道的标识携带于所述速率匹配RC标识的比特[29:26],所述以太网业务标识携带于所述速率匹配RC标识的比特[65:58]。The communication method according to claim 7, wherein the tag code block includes a rate-matching RC identifier, and the identifier of the PCS channel is carried in bits [29:26] of the rate-matching RC identifier, and the Ethernet The network service identifier is carried in bits [65:58] of the rate matching RC identifier.
  10. 根据权利要求7-9任一项所述的通信方法,其特征在于,一个所述PCS通道包括间隔设置的多个标记码块,相邻的所述标记码块之间包括多个数据码块,每个所述PCS通道对应一种所述标记码块;所述数据码块承载所述以太网业务的原始数据流。The communication method according to any one of claims 7-9, wherein one PCS channel includes a plurality of marker code blocks arranged at intervals, and a plurality of data code blocks are included between adjacent marker code blocks , each of the PCS channels corresponds to one type of the tag code block; the data code block bears the original data stream of the Ethernet service.
  11. 根据权利要求7-10任一项所述的通信方法,其特征在于,所述数据码块包括66Bit的码块;所述接收设备将具有相同以太网业务标识的所述标记码块所在的所述PCS通道中的所述数据码块恢复所述以太网业务的原始数据流,包括:将具有相同以太网业务标识的所述标记码块所在的所述PCS通道中的数据码块以64/66Bit解码方式 解码后组合为所述以太网业务的原始数据流。The communication method according to any one of claims 7-10, wherein the data code block includes a 66Bit code block; The data code block in the PCS channel restores the original data flow of the Ethernet service, including: converting the data code block in the PCS channel where the marked code block with the same Ethernet service identifier is located to 64/ After being decoded in a 66Bit decoding mode, the original data stream of the Ethernet service is combined.
  12. 根据权利要求7-11任一项所述的通信方法,其特征在于,在一个所述PCS通道中,相邻的两个所述标记码块之间间隔16383个数据码块。The communication method according to any one of claims 7-11, characterized in that, in one PCS channel, there are 16383 data code blocks between two adjacent marker code blocks.
  13. 一种发送设备,其特征在于,包括:A sending device, characterized in that it includes:
    接收机,用于接收多个物理编码子层PCS通道的数据码块和标记码块;a receiver, configured to receive data code blocks and marker code blocks of multiple physical coding sublayer PCS channels;
    处理器,用于在所述多个物理编码子层PCS通道的标记码块中插入以太网业务标识,所述以太网业务标识用来指示所述标记码块所在的所述PCS通道中的所述数据码块承载的以太网业务;将所述多个PCS通道中的数据码块和标记码块映射至一个光传送网容器中;A processor, configured to insert an Ethernet service identifier into the marker code blocks of the plurality of physical coding sublayer PCS channels, where the Ethernet service identifier is used to indicate all of the PCS channels in which the marker code block is located The Ethernet service carried by the data code block; the data code block and the mark code block in the multiple PCS channels are mapped to an optical transport network container;
    发射机,用于将所述光传送网容器发送到光传送网络中。A transmitter, configured to send the OTN container to the OTN.
  14. 一种接收设备,其特征在于,包括:A receiving device, characterized in that it comprises:
    接收机,用于接收在光传送网络中传送的多个光传送网容器;a receiver for receiving a plurality of optical transport network containers transmitted in the optical transport network;
    处理器,用于在光传送网络中传送的多个光传送网容器中分别解映射出多个PCS通道中的数据码块和标记码块,所述标记码块中包含以太网业务标识,所述以太网业务标识用来指示所述标记码块所在的所述PCS通道中的所述数据码块承载的以太网业务;将具有相同以太网业务标识的所述标记码块所在的所述PCS通道中的所述数据码块恢复所述以太网业务的原始数据流。The processor is configured to respectively demap data code blocks and mark code blocks in multiple PCS channels in multiple optical transport network containers transmitted in the optical transport network, and the mark code blocks contain Ethernet service identifiers, so The Ethernet service identifier is used to indicate the Ethernet service carried by the data code block in the PCS channel where the marked code block is located; the PCS where the marked code block with the same Ethernet service identifier is located The data code blocks in the channel restore the original data flow of the Ethernet service.
  15. 一种计算机可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序包括用于执行如权利要求1-12中任一项所述的通信方法的指令。A computer-readable storage medium, characterized by being used to store a computer program, the computer program including instructions for executing the communication method according to any one of claims 1-12.
  16. 一种计算机程序产品,其特征在于,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码在计算机上运行时,使得所述计算机执行如权利要求1-12中任一项所述的通信方法。A computer program product, characterized in that the computer program product comprises: computer program code, when the computer program code is run on a computer, the computer is made to execute the computer according to any one of claims 1-12. communication method.
PCT/CN2022/073868 2022-01-25 2022-01-25 Communication method and network device WO2023141777A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/073868 WO2023141777A1 (en) 2022-01-25 2022-01-25 Communication method and network device
CN202280005148.7A CN116806418A (en) 2022-01-25 2022-01-25 Communication method and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/073868 WO2023141777A1 (en) 2022-01-25 2022-01-25 Communication method and network device

Publications (1)

Publication Number Publication Date
WO2023141777A1 true WO2023141777A1 (en) 2023-08-03

Family

ID=87470087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/073868 WO2023141777A1 (en) 2022-01-25 2022-01-25 Communication method and network device

Country Status (2)

Country Link
CN (1) CN116806418A (en)
WO (1) WO2023141777A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090207866A1 (en) * 2008-02-19 2009-08-20 Chris Cholas Apparatus and methods for utilizing statistical multiplexing to ensure quality of service in a network
CN105871502A (en) * 2015-01-22 2016-08-17 华为技术有限公司 Method of using Ethernet channel to transmit service signal and communication device
CN106788855A (en) * 2015-11-23 2017-05-31 华为技术有限公司 The optical transfer network bearing method and device of a kind of flexible Ethernet service
CN110719143A (en) * 2015-07-30 2020-01-21 华为技术有限公司 Method, transmitter and receiver for data transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090207866A1 (en) * 2008-02-19 2009-08-20 Chris Cholas Apparatus and methods for utilizing statistical multiplexing to ensure quality of service in a network
CN105871502A (en) * 2015-01-22 2016-08-17 华为技术有限公司 Method of using Ethernet channel to transmit service signal and communication device
CN111147185A (en) * 2015-01-22 2020-05-12 华为技术有限公司 Method and communication equipment for transmitting service signal by using Ethernet channel
CN110719143A (en) * 2015-07-30 2020-01-21 华为技术有限公司 Method, transmitter and receiver for data transmission
CN106788855A (en) * 2015-11-23 2017-05-31 华为技术有限公司 The optical transfer network bearing method and device of a kind of flexible Ethernet service

Also Published As

Publication number Publication date
CN116806418A (en) 2023-09-26

Similar Documents

Publication Publication Date Title
US10425177B2 (en) Flexible ethernet switching systems and methods
US8743915B2 (en) Method and apparatus for transmitting packet in optical transport network
US8412040B2 (en) Method and apparatus for mapping traffic using virtual concatenation
WO2013125621A1 (en) Multi-lane transmission device and multi-lane transmission method
EP3909209B1 (en) Ethernet signal format using 256b/257b block encoding
US11277217B2 (en) Flexible Ethernet switching systems and methods
WO2020168898A1 (en) Flexible ethernet communication method and network device
WO2018228420A1 (en) Transmission network system, and data exchange and transmission method, device and apparatus
WO2019029419A1 (en) Method and device for pass-through of service frequency
WO2019090696A1 (en) Method and apparatus for transporting optical transport unit signal
US20220021472A1 (en) CPRI Data Block Transmission Method and Apparatus
EP1339183B1 (en) Method and device for transporting ethernet frames over a transport SDH/SONET network
WO2023109424A1 (en) Data transmission method and related device
WO2023141777A1 (en) Communication method and network device
US7583599B1 (en) Transporting stream client signals via packet interface using GFP mapping
WO2020168897A1 (en) Flexible ethernet communication method and network device
CN110830152B (en) Method for receiving code block stream, method for transmitting code block stream and communication device
WO2024032269A1 (en) Communication method, related apparatus and computer-readable storage medium
WO2024002188A1 (en) Method for flexible ethernet, and network device and storage medium
WO2022037090A1 (en) Interface, data processing method and apparatus, and network device
JP7192195B2 (en) Method for receiving code block stream, method for transmitting code block stream, and communication device
WO2023083175A1 (en) Packet transmission method and communication apparatus
WO2022001166A1 (en) Interface, electronic device, and communication system
KR102337650B1 (en) Method and device for bit block stream processing, rate matching and exchange
CN114915371A (en) Communication method, device and chip system

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202280005148.7

Country of ref document: CN

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

Ref document number: 22922628

Country of ref document: EP

Kind code of ref document: A1