8b / 10b encoded signal processing method and apparatus, electronic device, and computer-readable medium

By converting 8B/10B encoded signals into mB/(m+1)B encoded signals and carrying location information in the service signal, the problem of large delay in rate reduction in the existing technology is solved, achieving more significant rate reduction and simplicity Hardware implementation.

WO2024193097A1PCT designated stage expired Publication Date: 2024-09-26ZTE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/135905
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-21
Filing Date
2023-12-01
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

When the existing technology reduces the rate of the 8B/10B encoded signal and then installs it into the service signal, the delay is large and the hardware implementation is complex, making it impossible to achieve a more significant rate reduction effect.

Method used

By converting the 8B/10B coded signal into a mB/(m+1)B coded signal, and carrying offset overhead to store the location information of the mB/(m+1)B coded block in the service signal, the rate is reduced proportionally. , and restore the 8B/10B encoded signal at the receiving end.

Benefits of technology

It achieves a more significant service signal rate reduction, smaller processing delay, simpler hardware implementation, and can more effectively reduce the transmission rate of 8B/10B encoded signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023135905_26092024_PF_FP
    Figure CN2023135905_26092024_PF_FP
Patent Text Reader

Abstract

The present application provides an 8B / 10B encoded signal processing method, comprising: converting an 8B / 10B encoded signal into an mB / (m+1)B encoded signal, the 8B / 10B encoded signal being composed of 8B / 10B encoded blocks, the mB / (m+1)B encoded signal being composed of mB / (m+1)B encoded blocks, and m being an integer divisible by 8; packaging the mB / (m+1)B encoded signal into a service signal, the service signal carrying offset overhead, and the offset overhead storing location information of the mB / (m+1)B encoded blocks specified in the mB / (m+1)B encoded signal; sending the service signal. The present application further provides a data processing apparatus, an electronic device, and a computer-readable medium.
Need to check novelty before this filing date? Find Prior Art

Description

8B / 10B coded signal processing method and device, electronic device, and computer-readable medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is based on the Chinese patent application with application number 202310306932.8 and application date of March 21, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field

[0003] The present application relates to the field of communication technology, and in particular to an 8B / 10B coded signal processing method, a data processing device, an electronic device, and a computer-readable medium. Background Art

[0004] The 8B / 10B coding block is a coding method for the Physical Coding Sublayer (PCS) specified by the IEEE 802.3 standard. It is used to convert a Media Access Control frame (MAC) into a fixed-rate signal. The converted fixed-rate signal contains not only the MAC frame but also control information. The control information includes the MAC frame header and trailer flags, an idle control block for rate padding, a configuration information control block for configuration information, and an error control block for indicating errors.

[0005] 8B / 10B-encoded signals consist of 8B / 10B blocks and have a fixed rate. 8B / 10B blocks are used in 1000BASE-X, the 1 Gbps Ethernet physical layer signal (8B / 10B-encoded at 1.25 Gbps), Fibre Channel signals at 1 Gbps to 8 Gbps, and DVB-ASI (Digital Video Broadcast-Asynchronous Serial Interface, an 8B / 10B-encoded signal at 270 Mbps).

[0006] Fixed-rate 8B / 10B coded signals must be encapsulated within service signals for transmission. These signals can be transmitted directly on physical media or encapsulated within service signals. Common service signals include the Optical Channel Data Unit (ODU) and Optical Service Unit (OSU) signals in the Optical Transport Network (OTN). Service signals are typically fixed-rate, fixed-length frame signals, consisting of signal frames with a fixed length and a fixed signal rate.

[0007] Currently, there are two main methods for embedding 8B / 10B coded signals into service signals:

[0008] The first method is direct loading, which is to load the 8B / 10B coded signal into the service signal through the bit-synchronous mapping procedure (BMP), the generic mapping procedure (GMP), and the idle mapping procedure (IMP).

[0009] The second method involves first subjecting the 8B / 10B coded signal to TTT (Timing Transparent Transcoding) processing, then proportionally reducing its rate. The signal is then loaded into the service signal through bit-synchronous mapping and a generic mapping procedure. The core of this method lies in TTT processing. Existing TTT processing converts 64 8B / 10B coded blocks into 75-byte GFP-T (Transparent GFP, GFP stands for Generic Framing Procedure), effectively reducing the rate of the 8B / 10B coded signal by a ratio of 15 / 16. The TTT process requires buffering 64 8B / 10B coded blocks, introducing at least 640 bits of delay. However, compared to the first method, the second method can reduce the service signal rate. A lower rate translates to lower costs and power consumption.

[0010] If the 8B / 10B coded signal needs to be rate-reduced before being loaded into the service signal, the existing technology can only use the second method. Specifically, the existing technology uses TTT processing based on GFP-T frames to achieve proportional rate reduction of the 8B / 10B coded signal. This method reduces the rate by a ratio of 15 / 16 and results in a delay of 640 bit periods. Furthermore, the complex GFP-T frame structure complicates hardware implementation. Therefore, a new method for proportionally reducing the 8B / 10B coded signal is urgently needed. Compared with the existing solution, this method reduces processing delay and achieves a more significant rate reduction effect. This method allows the service signal rate to be further reduced after the rate-reduced 8B / 10B coded signal is loaded into the service signal, and the hardware implementation is simpler.

[0011] Summary of the Invention

[0012] The present invention provides an 8B / 10B coded signal processing method, a data processing device, an electronic device, and a computer-readable medium. The present invention aims to proportionally reduce the rate of 8B / 10B coded signals, thereby reducing the signal rate of service signals. Compared with existing solutions, the processing introduces less delay, achieves a more significant rate reduction, and has simpler hardware implementation.

[0013] In a first aspect, an embodiment of the present application provides an 8B / 10B coded signal processing method, comprising: converting an 8B / 10B coded signal into an mB / (m+1)B coded signal, wherein the 8B / 10B coded signal is composed of 8B / 10B coded blocks, and the mB / (m+1)B coded signal is composed of mB / (m+1)B coded blocks, and m is an integer divisible by 8; loading the mB / (m+1)B coded signal into a service signal, wherein the service signal carries an offset overhead, and the offset overhead stores position information of a specified mB / (m+1)B coded block in the mB / (m+1)B coded signal; and sending the service signal.

[0014] In a second aspect, an embodiment of the present application provides a data processing device, the device comprising: a sending module for converting an 8B / 10B coded signal into an mB / (m+1)B coded signal, wherein the 8B / 10B coded signal is composed of an 8B / 10B coded block, and the mB / (m+1)B coded signal is composed of an mB / (m+1)B coded block, where m is an integer divisible by 8; loading the mB / (m+1)B signal into a service signal, wherein the service signal carries an offset overhead, and the offset overhead stores the mB / (m+1)B signal. The invention relates to a method for transmitting an 8B / 10B coded signal to a user, comprising: receiving a first signal receiving module, a second signal receiving module and a second signal receiving module; receiving a first signal receiving module, a second signal receiving module and a second signal receiving module; and receiving a first signal receiving module, wherein the first signal receiving module comprises a first signal receiving module and a second signal receiving module. The method comprises: receiving a first signal receiving module and a second signal receiving module, wherein the first signal receiving module comprises a first signal receiving module and a second signal receiving module. The method comprises:

[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a memory on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the 8B / 10B coded signal processing method described in the first aspect above.

[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the 8B / 10B coded signal processing method as described above.

[0017] In the embodiment of the present application, the 8B / 10B coded signal is proportionally reduced in rate and then loaded into the service signal. Compared with the existing method, the rate reduction effect is more significant, the hardware implementation is simpler, and the processing delay is smaller. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] FIG1 is a flow chart of an 8B / 10B coded signal processing method provided in an embodiment of the present application;

[0019] FIG2 is a schematic diagram of a process for converting an 8B / 10B coded signal into an 8B / 9B coded signal;

[0020] FIG3 is a schematic diagram of a process for converting an 8B / 10B coded signal into a 16B / 17B coded signal;

[0021] Figures 4a-4d are schematic diagrams of the process of converting two 9-bit information into one 16B / 17B coding block;

[0022] FIG5 is a schematic diagram of a process of loading an mB / (m+1)B signal into a service signal;

[0023] FIG6 is a schematic diagram of the structure of an optical channel data unit signal frame;

[0024] FIG7 is a schematic diagram of an exemplary offset overhead setting form of the present application;

[0025] FIG8 is a flow chart of another 8B / 10B coded signal processing method provided in an embodiment of the present application;

[0026] Figures 9a-9e are schematic diagrams showing the process of converting one 16B / 17B code block into two 9-bit information;

[0027] FIG10 is a schematic structural diagram of a data processing device provided in an embodiment of the present application;

[0028] FIG11 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] To enable those skilled in the art to better understand the technical solution of the present application, the 8B / 10B coded signal processing method, data processing device, electronic device, and computer-readable medium provided in the present application are described in detail below with reference to the accompanying drawings.

[0030] Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete and will fully convey the scope of this application to those skilled in the art.

[0031] In the absence of conflict, the various embodiments of the present application and the various features therein may be combined with each other.

[0032] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0033] The terms used herein are used only to describe specific embodiments and are not intended to limit this application. As used herein, the singular forms "a," "an," and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements, and / or components is specified, but the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or groups thereof is not excluded.

[0034] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this application, and will not be interpreted as having an idealized or overly formal meaning unless expressly defined as such herein.

[0035] The definition of 8B / 10B coding block comes from IEEE802.3. 8B / 10B coding block is a 10-bit bit block, which actually represents 9 bits of information. The 9 bits of information include a 1-bit type indicator and an 8-bit value. The 1-bit type indicator indicates whether the 8B / 10B coding block corresponds to 8-bit data information or 8-bit special information. The 8-bit value indicates the specific content of the 8-bit data information or 8-bit special information. A 1-bit type indicator of 0 indicates that the 8B / 10B coding block corresponds to 8-bit data information. In this case, the 8B / 10B coding block is also called a data code group. The data information represents the content of the media access control frame or the actual information content contained in the control information. A 1-bit type indicator of 1 indicates that the 8B / 10B coding block corresponds to 8-bit special information. In this case, the 8B / 10B coding block is also called a special coding group. The 8-bit special information indicates the type of control information. It can represent a certain control information alone or together with one or three data coding groups. For example, the idle control information consists of one special group and one data coding group, the frame header mark consists of one special group, and the configuration information consists of one special group and three data coding groups.

[0036] According to IEEE802.3, only 12 special coding groups are actually defined. If the 8B / 10B coding block is a special coding group, the 8-bit special information can only take 12 values, namely 0x1c (0x represents a hexadecimal value, 0x10 represents 16 in decimal), 0x3c, 0x5c, 0x7c, 0x9c, 0xbc, 0xdc, 0xfc, 0xf7, 0xfb, 0xfd, and 0xfe.

[0037] Although an 8B / 10B block essentially corresponds to 9 bits of information, it ultimately uses 10 bits to ensure that the number of 0s and 1s in the final 10 bits is as close as possible. This means that a 10-bit value with a high number of 0s or 1s is avoided. In practice, the number of 0s and 1s in a 10-bit 8B / 10B block can be either 5, 5, 4, 6, or 6, 4. This is because direct transmission of an 8B / 10B block over physical media must ensure that there are not too many consecutive 0s or 1s, and that the number of 0s and 1s should be 50% and 50% respectively. This means that the number of 0s and 1s within a given period should be equal. To meet these requirements, one 9-bit block actually corresponds to two 8B / 10B blocks, and these two 8B / 10B blocks can have only three possible 0s and 1s: either 5, 5, 4, 6, or 6, 4. Running disparity is used here to indicate the number of 0 bits and 1 bits. There are two types of running disparity: positive and negative. A negative running disparity indicates that the number of 0 bits in the transmitted data exceeds the number of 1 bits, while a positive running disparity indicates that the number of 1 bits in the transmitted data exceeds the number of 0 bits. Before sending an 8B / 10B code block, the current running disparity is first obtained. Then, based on whether the current running disparity is positive or negative, an appropriate 8B / 10B code block is selected for transmission. This means that one 9-bit message actually corresponds to two 8B / 10B code blocks, one corresponding to a negative current running disparity and one corresponding to a positive current running disparity. The correspondence between one 9-bit message and two 8B / 10B code blocks is shown in Table 1 below, which is derived from IEEE802.3 Table 36-1.

[0038] Table 1: Correspondence between one 9-bit message and two 8B / 10B coding blocks

[0039] According to Table 1, one 8B / 10B coded block can be converted into one 9-bit message, and one 9-bit message plus the current polarity information can be converted into one 8B / 10B coded block. Converting an 8B / 10B coded block to 9 bits reduces the rate of the 8B / 10B coded signal. However, after extracting the 8B / 10B coded signal from the service signal, a method must be found to determine the exact position of the first bit of each 8B / 10B coded block. This process is called synchronization. Individual 8B / 10B blocks contain a specific 7-bit sequence, 0011111, which always occurs within the first 7 bits of the 10-bit signal. Furthermore, 8B / 10B blocks within an 8B / 10B signal follow a specific pattern: blocks containing the 7-bit sequence 0011111 appear regularly within the signal. Therefore, if this 7-bit sequence can be found regularly, and the polarity offset of each 8B / 10B block is regular, the location of the currently found 8B / 10B block can be determined by first identifying the location of the block. If the polarity offsets of subsequent 8B / 10B blocks follow this pattern, the location of the currently found 8B / 10B block is considered correct. 9-bit information itself does not provide synchronization, so other methods are required to determine the exact location of the first bit within the 9-bit signal. In addition, after converting one 8B / 10B code block into one 9-bit information, the rate reduction effect is not good enough. If two 8B / 10B code blocks can be converted into 17 bits, the rate can be further reduced. Similarly, it is also possible to consider converting four 8B / 10B code blocks into 33 bits, or converting eight 8B / 10B code blocks into 65 bits, thereby further reducing the rate.

[0040] In view of this, in a first aspect, referring to FIG. 1 , an embodiment of the present application provides an 8B / 10B coded signal processing method, including:

[0041] S100, converting an 8B / 10B coded signal into an mB / (m+1)B coded signal, wherein the 8B / 10B coded signal is composed of 8B / 10B coded blocks, the mB / (m+1)B coded signal is composed of mB / (m+1)B coded blocks, and m is an integer divisible by 8;

[0042] S200: Loading the mB / (m+1)B signal into the service signal, wherein the service signal carries an offset overhead, and the offset overhead stores position information of the mB / (m+1)B coding block specified in the mB / (m+1)B coding signal;

[0043] S300: Send a service signal.

[0044] In an embodiment of the present application, the length of the 8B / 10B coding block is 10 bits, and the length of the mB / (m+1)B coding block is m+1 bits, wherein, when carrying the same bit content, the total number of bits required of the mB / (m+1)B coding block is less than the total number of bits required of the 8B / 10B coding block. For example, the mB / (m+1)B coded signal is an 8B / 9B coded signal, and the 8B / 9B coding block and the 8B / 10B coding block actually carry the same amount of valid information, that is, to carry 8 bits of valid information, the 8B / 10B coding block requires 10 bits and the 8B / 9B coding block requires 9 bits. Specifically, the synchronization function requires redundant information, and the 8B / 9B coding block reduces the actual number of bits by abandoning the synchronization function. For another example, consider an mB / (m+1)B coded signal, which is a 16B / 17B coded signal. Two 8B / 10B coded blocks are converted into one 16B / 17B coded block. This means that to carry 16 bits of valid information, two 8B / 10B coded blocks, totaling 20 bits, are required, while a 16B / 17B coded block requires 17 bits. Specifically, the 16B / 17B coded block not only forgoes synchronization but also discards the redundant information in the 8B / 10B coded block containing control information. Specifically, the 8B / 10B coded block's special code group has only 12 possible values, but the special code group actually uses 8 bits to represent the type of special code group. Therefore, the 8 bits of information in the special code group can actually be represented using 4 bits, resulting in 4 extra bits of redundant information. The 16B / 17B coded block manages to remove this redundant information, thereby still being able to represent both the data code group and the special code group.

[0045] The embodiments of the present application do not impose any particular limitations on the service signal. In some embodiments, the service signal is a fixed-length frame signal. For example, the service signal is an optical service unit signal or an optical channel data unit signal. In some embodiments, the service signal is a variable-length frame signal.

[0046] In an embodiment of the present application, an offset overhead is defined in the service signal to store the position information of the mB / (m+1)B coding block specified in the mB / (m+1)B coding signal. The receiving end can determine the position information of the mB / (m+1)B coding block specified in the service signal based on the offset overhead, realize the synchronization function of the coding block, and then extract the mB / (m+1)B coding signal from the service signal.

[0047] The embodiments of the present application do not impose any special restrictions on the specified mB / (m+1)B coding block. For example, the specified mB / (m+1)B coding block is any mB / (m+1)B coding block in the mB / (m+1)B coded signal. Since the length of the mB / (m+1)B coding block is fixed, once the position information of the specified mB / (m+1)B coding block is determined, the position information of all mB / (m+1)B coding blocks can be calculated.

[0048] In an embodiment of the present application, an 8B / 10B coded signal is converted into an mB / (m+1)B coded signal, and the mB / (m+1)B coded signal is loaded into a service signal for transmission. Compared with directly loading the 8B / 10B coded signal into the service signal, the rate of the service signal is lower, which is equivalent to reducing the rate of the service signal. At the receiving end, the mB / (m+1)B coded signal can be extracted from the service signal based on the offset overhead of the position information of the mB / (m+1)B coded block specified in the mB / (m+1)B coded signal stored in the service signal, and the mB / (m+1)B coded signal is converted into an 8B / 10B coded signal, thereby realizing the transmission of the 8B / 10B coded signal. When the 8B / 10B coded signal is recovered based on the mB / (m+1)B coded signal, the transmission rate of the 8B / 10B coded signal can also be restored, thereby realizing the transmission of a high-rate coded signal using a low-rate service signal.

[0049] The embodiments of the present application do not specifically limit how the service signal is sent. In some embodiments, the service signal can be sent directly. In some embodiments, the service signal can be sent indirectly. It should be noted that indirect transmission refers to the service signal being packaged into other signals and sent.

[0050] In some embodiments, the service signal is an optical channel data unit signal, and sending the service signal includes: sending the optical channel data unit signal.

[0051] The embodiment of the present application does not impose any special limitation on how to send the optical channel data unit signal.

[0052] In some embodiments, an OCU signal is encapsulated in the payload of an OCU signal at a higher rate, the OCU signal at the higher rate is then converted into an Optical Channel Transport Unit (OTU) signal, and the OTU signal is transmitted over an optical transport network. For example, an OCU-0 signal is encapsulated in an 8B / 9B encoded signal, the OCU-0 signal is encapsulated in the payload of an OCU-4 signal, the OCU-4 signal is converted into an Optical Channel Transport Unit (OTU) signal, and the OTU-4 signal is transmitted over an optical transport network.

[0053] In some embodiments, an optical channel data unit signal is converted into an optical channel transport unit signal, and the optical channel transport unit signal is transmitted in an optical transport network. For example, an optical channel data unit-2 signal is loaded with an 8B / 9B encoded signal, and the optical channel data unit-2 signal is converted into an optical channel transport unit-2 signal, and the optical channel transport unit-2 signal is transmitted in the optical transport network.

[0054] In some embodiments, an OCU signal is encapsulated into the payload of an OCU-Cn signal, which is then converted into an OCU-Cn signal. The OCU-Cn signal is then encapsulated into other signals for transmission over an optical transport network. For example, an OCU-4 signal is encapsulated into an 8B / 9B encoded signal, which is then encapsulated into the payload of an OCU-C2 signal, which is then converted into an OCU-C2 signal. The OCU-C2 signal is then encapsulated into a Flexible Optical Transport Network (FlexO) signal for transmission over the optical transport network.

[0055] The embodiment of the present application does not impose any special limitation on how to embed the mB / (m+1)B coded signal into the service signal.

[0056] Exemplarily, step S100, converting an 8B / 10B coded signal into an mB / (m+1)B coded signal, specifically includes: converting n consecutive 8B / 10B coded blocks in the 8B / 10B coded signal into one mB / (m+1)B coded block to obtain the mB / (m+1)B coded signal.

[0057] Wherein, n=m÷8, the types of the 8B / 10B coding blocks include data 8B / 10B coding blocks and special 8B / 10B coding blocks; each of the 8B / 10B coding blocks corresponds to 1 9-bit information, the 9-bit information includes a 1-bit type indicator and an 8-bit value, the 1-bit type indicator is used to indicate whether the 9-bit information corresponds to a data 8B / 10B coding block or a special 8B / 10B coding block. The mB / (m+1)B coding block includes m+1 bits of information, the m+1 bits of information include a 1-bit type indicator and an m-bit value, the type indicator bit in the m+1 bits of information is used to indicate whether the n 8B / 10B coding blocks include a special 8B / 10B coding block, and the m-bit value corresponds to the 8-bit value in the n 9-bit information.

[0058] It can be understood that when the 1-bit type indicator in the 9-bit information is 0, it indicates that the type of the 8B / 10B coding block is a data 8B / 10B coding block; when the 1-bit type indicator in the 9-bit information is 1, it indicates that the type of the 8B / 10B coding block is a special 8B / 10B coding block.

[0059] In some embodiments, the mB / (m+1)B coded signal is an 8B / 9B coded signal, the 8B / 9B coded signal includes an 8B / 9B coded block, and the length of the 8B / 9B coded block is 9 bits. Referring to FIG2 , converting the 8B / 10B coded signal into an 8B / 9B coded signal includes:

[0060] Step S111, converting the 8B / 10B coded block in the 8B / 10B coded signal into 9-bit information;

[0061] Step S112: Generate an 8B / 9B coding block corresponding to the 8B / 10B coding block according to the 1-bit type indicator and the 8-bit value in the 9-bit information;

[0062] Step S113: Obtain an 8B / 9B coded signal according to the 8B / 9B coded block corresponding to the 8B / 10B coded block.

[0063] It can be understood that the 8B / 10B coding block is converted into 9 bits of information, and the 9 bits of information include a 1-bit type indicator and an 8-bit value, wherein the 1-bit type indicator indicates whether the 8B / 10B coding block corresponds to 8 bits of data information or 8 bits of special information, and the 8-bit value indicates the specific content of the 8 bits of data information or 8 bits of special information. The 9 bits of information are used as the 8B / 9B coding block, thereby converting the 8B / 10B coding block into an 8B / 9B coding block, and the 8B / 9B coding block constitutes an 8B / 9B coded signal.

[0064] In some embodiments, the mB / (m+1)B coded signal is a 16B / 17B coded signal, the 16B / 17B coded signal includes a 16B / 17B coded block, and the length of the 16B / 17B coded block is 17 bits. Referring to FIG3 , converting the 8B / 10B coded signal to a 16B / 17B coded signal includes:

[0065] Step S121, converting two consecutive 8B / 10B coding blocks in the 8B / 10B coded signal into one 16B / 17B coding block;

[0066] Step S122: The converted 16B / 17B coding blocks are combined into a 16B / 17B coded signal.

[0067] It can be understood that two consecutive 8B / 10B coding blocks in an 8B / 10B coded signal are each converted into 9-bit information, that is, two 9-bit information is obtained, each 9-bit information includes a 1-bit type indicator and an 8-bit value, wherein the 1-bit type indicator indicates whether the 8B / 10B coding block corresponds to 8-bit data information or 8-bit special information, and the 8-bit value indicates the specific content of the 8-bit data information or 8-bit special information. The two 9-bit information is converted into 17-bit information, and the 17-bit information contains the specific content of the two 8B / 10B coding blocks, thereby converting the two 8B / 10B coding blocks into one 16B / 17B coding block, and the 16B / 17B coding blocks constitute the 16B / 17B coded signal.

[0068] Exemplarily, in step S121, converting two consecutive 8B / 10B coding blocks into one 16B / 17B coding block specifically includes:

[0069] Step S1211, converting two consecutive 8B / 10B code blocks into two 9-bit information;

[0070] Step S1212: Convert the two 9-bit information into 17-bit information, where the first bit of the 17-bit information indicates whether the two 9-bit information include at least one special 8B / 10B coding block.

[0071] Specifically, if the first bit of the 17-bit information is 0, then neither of the two 9-bit information contains a special 8B / 10B code block, and the last 16 bits of the 17-bit information are composed of the 8-bit values ​​of the two 9-bit information. The two 9-bit information here are obtained in the previous step S1211.

[0072] If the first bit in the 17-bit information is 1, the two 9-bit information include at least one special 8B / 10B coding block, the second and third bits in the 17-bit information correspond to the 1-bit type indicator in the two 9-bit information obtained in step S1211, and the last 14 bits of the 17-bit information are determined according to the following method A or B:

[0073] A. If two 9-bit information corresponds to two special 8B / 10B code blocks, convert the 8-bit value corresponding to the first special 8B / 10B code block to a 6-bit value, leave the 8-bit value corresponding to the second special 8B / 10B code block unchanged, and use the 6-bit and 8-bit values ​​as the last 14 bits of the 17-bit information.

[0074] B. If two 9-bit information pieces correspond to a special 8B / 10B coded block and a data 8B / 10B coded block, respectively, convert the 8-bit value corresponding to the special 8B / 10B coded block into a 6-bit value, leave the 8-bit value corresponding to the data 8B / 10B coded block unchanged, and use the 6-bit and 8-bit values ​​as the last 14 bits of the 17-bit information piece.

[0075] The following example illustrates the process of converting two 9-bit information into one 16B / 17B coding block.

[0076] Referring to Figure 4a, the first bit of the first 9-bit information and the first bit of the second 9-bit information are both "0", that is, the 1-bit type indicators of the two 9-bit information are both "0", and the two 9-bit information belong to the data 8B / 10B coding block. Therefore, the first bit of the 17-bit information is set to 0, and the 8-bit values ​​corresponding to the first 9-bit information and the second 9-bit information are placed in the 2nd to 9th bits and the 10th to 17th bits of the 17-bit information, respectively.

[0077] Referring to Figure 4b, the first bit in the first 9-bit information and the second 9-bit information is both "1", that is, the 1-bit type indicators of the two 9-bit information are both "1", and the two 9-bit information belong to the special 8B / 10B coding block. Therefore, the 1st to 3rd bits of the 17-bit information are all set to 1, the 8-bit value in the first 9-bit information is converted into a 6-bit value, and the 6-bit value is placed in the 4th to 9th bits of the 17-bit information, and the 8-bit value corresponding to the second 9-bit information is placed in the 10th to 17th bits of the 17-bit information.

[0078] Referring to Figure 4c, the first bit in the first 9-bit information is always "1", and the first bit in the second 9-bit information is always "0", that is, the first 9-bit information belongs to the special 8B / 10B coding block, and the second 9-bit information belongs to the data 8B / 10B coding block. Therefore, the first bit in the 17-bit information is set to 1, the second bit is set to 1, and the third bit is set to 0. The 8-bit value in the first 9-bit information is converted into a 6-bit value and the 6-bit value is placed in the 4th to 9th bits of the 17-bit information, and the 8-bit value corresponding to the second 9-bit information is placed in the 10th to 17th bits of the 17-bit information.

[0079] Referring to Figure 4d, the first bit of the first 9-bit information is "0", and the first bit of the second 9-bit information is "1", that is, the first 9-bit information belongs to the data 8B / 10B coding block, and the second 9-bit information belongs to the special 8B / 10B coding block. Therefore, the first bit of the 17-bit information is set to 1, the second bit is set to 0, and the third bit is set to 1. The 8-bit value corresponding to the first 9-bit information is placed in the 4th to 11th bits of the 17-bit information, and the 8-bit value in the second 9-bit information is converted into a 6-bit value, and the 6-bit value is placed in the 12th to 17th bits of the 17-bit information.

[0080] It can be understood that for a special 8B / 10B coding block, in the corresponding 9-bit information, the first bit is a type indicator "1", indicating that the type of the 8B / 10B coding block is a special 8B / 10B coding block, and the 2nd to 9th bits are 8-bit values, which are used to represent the specific content of the special 8B / 10B coding block. The above-mentioned A or B method converts the 8-bit value corresponding to one special 8B / 10B coding block into a 6-bit value, so that the specific content of the 16 bits of two 8B / 10B coding blocks is reduced to 14 bits. For converting the 8-bit value in the special 8B / 10B coding block into a 6-bit value, it can be implemented with reference to the following Table 2:

[0081] Table 2: Correspondence between 8-bit values ​​and 6-bit values ​​in 9-bit information corresponding to special 8B / 10B coding blocks

[0082] Table 2 above gives the 6-bit values ​​corresponding to the 8-bit values ​​in the 9-bit information corresponding to 12 special 8B / 10B coding blocks. Each 8-bit value has a unique corresponding 6-bit value. When it is necessary to convert the 8-bit value in the 9-bit information corresponding to a special 8B / 10B coding block into a 6-bit value, the 6-bit value corresponding to the current 8-bit value can be found according to the unique correspondence between the 8-bit value and the 6-bit value shown in Table 2, thereby converting the 8-bit value in the 9-bit information corresponding to the special 8B / 10B coding block into a 6-bit value.

[0083] It is understood that the service signal includes a fixed-rate signal frame, which includes an overhead and a payload, and the length of the signal frame is a fixed value. Referring to Figure 5, the mB / (m+1)B signal is loaded into the service signal, which may specifically include the following steps:

[0084] Step S210, loading the mB / (m+1)B coded signal into the payload of the signal frame, wherein the rate of the mB / (m+1)B coded signal is equal to or less than the rate of the payload of the signal frame of the service signal;

[0085] Step S220: define an offset overhead in the overhead of the signal frame, and store the position information of the specified mB / (m+1)B coding block in the offset overhead.

[0086] In step S210, the mB / (m+1)B coded signal is loaded into the payload of the signal frame, including one of the following:

[0087] When the rate of the mB / (m+1)B coded signal is equal to the rate of the payload of the signal frame of the service signal, the mB / (m+1)B coded signal is loaded into the payload of the signal frame of the service signal through bit synchronous mapping;

[0088] Alternatively, when the rate of the mB / (m+1)B coded signal is less than the rate of the payload of the signal frame of the service signal, the mB / (m+1)B coded signal is loaded into the payload of the signal frame of the service signal through a general mapping procedure. The payload of the signal frame of the service signal will include W bit blocks, each bit block has a length of P bits, and each bit block is a data block or a padding block. The mB / (m+1)B coded signal is loaded into the data block, and the data block and the padding block are distinguished by the general mapping procedure overhead. The general mapping procedure overhead is located in the overhead of the signal frame of the service signal. W and P are both integers.

[0089] In the embodiment of the present application, when the mB / (m+1)B coded signal is loaded into the service signal, all bits in the payload of the signal frame of the service signal may be used to load the mB / (m+1)B coded signal; or the payload of the signal frame of the service signal may be divided into multiple bit blocks, and the mB / (m+1)B coded signal may be loaded into only some of the bit blocks, with the remaining bit blocks used as padding information. This embodiment of the present application does not specifically limit this.

[0090] In some embodiments, all bits in the payload of a signal frame are used to carry the mB / (m+1)B coded signal, and the rate of the payload of the signal frame is equal to the rate of the mB / (m+1)B coded signal. This approach can be achieved through bit-synchronous mapping.

[0091] In some embodiments, the payload of a signal frame of a service signal is divided into multiple bit blocks, and the mB / (m+1)B coded signal is loaded into only some of the bit blocks. The bit blocks used for the mB / (m+1)B coded signal are named data bit blocks, and the bit blocks not loaded with the mB / (m+1)B coded signal are named padding bit blocks. A specific overhead of the service signal indicates whether each bit block in the payload of the signal frame of the service signal is a data bit block or a padding bit block. This approach can be implemented through a general mapping procedure.

[0092] In step S220, the designated mB / (m+1)B coding block may be any mB / (m+1)B coding block in the mB / (m+1)B coded signal, which is not particularly limited in the embodiment of the present application.

[0093] In some embodiments, the service signal is an optical channel data unit signal. As shown in Figure 6, the optical channel data unit signal frame consists of 4×3824 bytes, which are arranged in 4 rows and 3824 columns, of which the bytes from the 1st column to the 16th column are overheads, and the bytes from the 17th column to the 3824th column are payloads. The offset overhead can be defined in each row of overhead in the optical channel data unit signal frame, or in some rows of overhead in the optical channel data unit signal frame. The embodiments of the present application do not impose special restrictions on this. In some embodiments, an offset overhead corresponds to a row of the optical channel data unit signal frame, and the offset overhead stores the position information of the mB / (m+1)B coding block specified in the payload of the row.

[0094] It should be noted that the embodiment of the present application does not impose any special limitation on how to store the position information of the specified mB / (m+1)B coding block in the offset overhead.

[0095] It is understandable that the position information of the mB / (m+1)B coding block specified in the mB / (m+1)B coding signal can be stored in the offset overhead in the following manner A or B depending on the loading method:

[0096] A. If the loading mode is bit synchronous mapping, the first mB / (m+1)B coding block in the payload of the signal frame is used as the designated mB / (m+1)B coding block, and the bit offset value U of the first bit in the payload of the signal frame relative to the designated mB / (m+1)B coding block is stored in the offset overhead.

[0097] B. If the loading method is the general mapping procedure, the first mB / (m+1)B coding block in the payload of the signal frame is used as the designated mB / (m+1)B coding block, and the bit offset value U of the first bit of the first data block in the payload of the signal frame relative to the designated mB / (m+1)B coding block is stored in the offset overhead, where the value range of U is an integer from 1 to m+1.

[0098] It should be noted that U is an integer greater than or equal to 1 and less than or equal to m+1.

[0099] In some embodiments, the service signal is an optical channel data unit signal. The embodiments of the present application do not specifically limit how to store the location information of the specified mB / (m+1)B coding block in the offset overhead when the mB / (m+1)B coding signal is loaded into the optical channel data unit signal.

[0100] In some embodiments, the position information of the specified mB / (m+1)B coding block is stored in the offset overhead, including: storing the bit offset value of the specified mB / (m+1)B coding block relative to the fixed position in the optical channel data unit signal frame in the offset overhead.

[0101] The embodiment of the present application does not impose any special restrictions on the specific location of the fixed position in the optical channel data unit signal frame and the specified mB / (m+1)B coding block.

[0102] In some embodiments, the fixed position is the starting position of the payload of the optical channel data unit signal frame, the specified mB / (m+1)B coding block is the first mB / (m+1)B coding block in the payload of the optical channel data unit signal frame, and the bit offset value of the specified mB / (m+1)B coding block relative to the fixed position includes: the fixed position is located at the Uth bit of the specified mB / (m+1)B coding block, and the value of U is 1 to m+1. For example, if the first mB / (m+1)B coding block in the payload of the optical channel data unit signal frame is a complete mB / (m+1)B coding block, then U is equal to 1, i.e., the first bit of the payload of the optical channel data unit signal frame is located at the first bit of the specified mB / (m+1)B coding block; if the first mB / (m+1)B coding block in the payload of the optical channel data unit signal frame is an incomplete mB / (m+1)B coding block, for example, the first mB / (m+1)B coding block in the payload of the optical channel data unit signal frame has 30 bits in the current signal frame and 3 bits in the previous signal frame, then U is equal to 4, i.e., the first bit of the payload of the optical channel data unit signal frame is located at the fourth bit of the specified mB / (m+1)B coding block.

[0103] An embodiment of implementing an offset overhead is shown in FIG7 . In FIG7 , the service signal is an optical channel data unit signal, and the signal frame consists of 4*3824 bytes. An offset overhead is defined for each row. The offset overhead is 1 byte long and is located in the 16th column of each row. The payload of the service signal contains all 32B / 33B coded signals, that is, a 32B / 33B coded block is 33 bits long. The 32B / 33B coded block containing the first bit of the payload of each row of the signal frame of the service signal is used as the designated 32B / 33B coded block. The bit offset value U of the first bit of the payload of each row of the signal frame of the service signal relative to the designated 32B / 33B coded block is stored in the offset overhead of each row, where U is an integer ranging from 1 to 33, indicating that the first bit of the payload of each row of the signal frame of the service signal is located at the Uth bit among the 33 bits of the designated 32B / 33B coded block. In Figure 7, the first bit of the first row of payload of the signal frame of the service signal corresponds to the first bit of a 32B / 33B coding block, that is, a complete 32B / 33B coding block is located exactly at the starting position of the first row of payload, and the content of the offset overhead is 1 at this time; the first 32B / 33B coding block in the second row of payload is an incomplete 32B / 33B coding block, with 28 bits located in the second row and 5 bits located in the first row of payload, that is, the first bit of the second row of payload of the signal frame of the service signal corresponds to the sixth bit of a 32B / 33B coding block, so the content of the second row of offset overhead is 6; the first 32B / 33B coding block in the third row of payload is an incomplete 32B / 33B coding block. For a 3B coding block, 10 bits are located in the second row of payload and 23 bits are located in the third row of payload. That is, the first bit of the third row of payload in the signal frame of the service signal corresponds to the 11th bit of a 32B / 33B coding block, so the content of the third row of offset overhead is 11. The first 32B / 33B coding block in the fourth row of payload is an incomplete 32B / 33B coding block, with 15 bits located in the third row of payload and 18 bits located in the fourth row of payload. That is, the first bit of the fourth row of payload in the signal frame of the service signal corresponds to the 16th bit of a 32B / 33B coding block, so the content of the fourth row of offset overhead is 16.

[0104] In another embodiment of the implementation of the offset overhead, the service signal is an optical channel data unit signal, and the signal frame consists of 4*3824 bytes. An offset overhead is defined in the signal frame. The offset overhead is 1 byte long and is located in the 16th column of the 1st row. The payload of the service signal is entirely filled with 32B / 33B coded signals, that is, a 32B / 33B coded block is 33 bits long. The 32B / 33B coded block where the first bit of the 1st row payload of the signal frame of the service signal is located is used as the designated 32B / 33B coded block, and the bit offset value U of the first bit of the 1st row payload of the signal frame of the service signal relative to the designated 32B / 33B coded block is stored in the offset overhead, where U is an integer and the value range of U is 1 to 33. U indicates that the first bit of the 1st row payload of the signal frame of the service signal is located at the Uth bit among the 33 bits of the designated 32B / 33B coded block.

[0105] In some embodiments, referring to FIG8 , the 8B / 10B coded signal processing method further includes:

[0106] Step S400, receiving a service signal;

[0107] Step S500, determining the position information of the mB / (m+1)B coding block specified in the mB / (m+1)B coding signal according to the offset overhead carried by the serving signal;

[0108] Step S600, extracting an mB / (m+1)B coded signal from the service signal according to the location information;

[0109] Step S700: Convert the extracted mB / (m+1)B coded signal into an 8B / 10B coded signal.

[0110] Exemplarily, in step S500, determining the position information of the mB / (m+1)B coding block specified in the mB / (m+1)B coding signal according to the offset overhead carried by the serving signal specifically includes:

[0111] Step S510: Using the first mB / (m+1)B coding block in the payload of the signal frame as the designated mB / (m+1)B coding block;

[0112] Step S520: If the mB / (m+1)B coded signal is loaded into the service signal through bit-synchronous mapping, the offset overhead indicates the bit offset value U of the first bit in the payload of the signal frame relative to the specified mB / (m+1)B coded block. The position of the first mB / (m+1)B coded block in the payload of the signal frame is determined according to the bit offset value U.

[0113] Step S530: If the mB / (m+1)B coded signal is loaded into the service signal through the general mapping procedure, the offset overhead represents the bit offset value U of the first bit of the first data block in the payload of the signal frame relative to the specified mB / (m+1)B coded block, and the position of the first mB / (m+1)B coded block in the payload of the signal frame is determined according to the bit offset value U.

[0114] Exemplarily, in step S600, extracting the mB / (m+1)B coded signal from the service signal specifically includes:

[0115] Step S610: If the mB / (m+1)B coded signal is loaded into the service signal through bit-synchronous mapping, extract the mB / (m+1)B coded signal from the payload of the signal frame of the service signal;

[0116] Step S620, if the mB / (m+1)B coded signal is loaded into the service signal through the general mapping procedure, the data block and the padding block are identified from the payload of the signal frame of the service signal according to the general mapping procedure overhead, and the mB / (m+1)B coded signal is taken out from the data block.

[0117] Exemplarily, in step S700, converting the extracted mB / (m+1)B coded signal into an 8B / 10B coded signal specifically includes:

[0118] Step S710: convert one mB / (m+1)B coding block into n 9-bit information, convert the n 9-bit information into corresponding n 8B / 10B coding blocks, and the 8B / 10B coding blocks form an 8B / 10B coded signal.

[0119] Wherein n=m÷8, the mB / (m+1)B coding block includes m+1 bits of information, the m+1 bits of information include a 1-bit type indicator and an m-bit value, the 1-bit type indicator in the m+1-bit information is used to indicate whether the n 8B / 10B coding blocks include a special 8B / 10B coding block, and the m-bit value corresponds to the 8-bit value in the n 9-bit information.

[0120] In some embodiments, the mB / (m+1)B coded signal is an 8B / 9B coded signal, the 8B / 9B coded signal is composed of an 8B / 9B coded block, and the length of the 8B / 9B coded block is 9 bits; in step S710, 1 mB / (m+1)B coded block is converted into n 9-bit information, including: generating the 9-bit information according to the 8B / 9B coded block, the 9-bit information including a 1-bit type indicator and an 8-bit value.

[0121] In some embodiments, the mB / (m+1)B coded signal is a 16B / 17B coded signal, the 16B / 17B coded signal is composed of 16B / 17B coded blocks, and the length of the 16B / 17B coded blocks is 17 bits. In step S710, converting one mB / (m+1)B coded block into n 9-bit information includes converting one 16B / 17B coded block into two 9-bit information by obtaining 17 bits of information corresponding to the 16B / 17B coded block, and converting the 17 bits of information into two 9-bit information, where each 9-bit information includes a 1-bit type indicator and an 8-bit value.

[0122] In some embodiments, 17-bit information is converted into 2 9-bit information, including: if the first bit in the 17-bit information is 0, then the two 1-bit type indicators of the two 9-bit information are both 0, and the 8-bit values ​​of the two 9-bit information correspond to the 2nd to 16th bits in the 17-bit information.

[0123] In some embodiments, converting the 17-bit information into two 9-bit information includes: if the first bit in the 17-bit information is 1, performing one of the following methods A to D according to the values ​​of the second and third bits in the 17-bit information:

[0124] A. If the first bit of the 17-bit information is 1, and the values ​​of the second and third bits of the 17-bit information are both 1, then the 1-bit type indicators of the two 9-bit information are both 1, and the 6 bits from the 4th to the 9th bit of the 17-bit information are converted to 8 bits to serve as the 8-bit value of the first 9-bit information, and the 8 bits from the 10th to the 17th bit of the 17-bit information are used as the 8-bit value of the second 9-bit information;

[0125] B. If the first bit of the 17-bit information is 1, the second bit of the 17-bit information is 1, and the value of the third bit is 0, then the 1-bit type indicator of the first 9-bit information is set to 1, the 6 bits from the 4th bit to the 9th bit of the 17-bit information are converted to 8 bits to serve as the 8-bit value of the first 9-bit information, the 1-bit type indicator of the second 9-bit information is set to 0, and the 8 bits from the 10th bit to the 17th bit of the 17-bit information are used as the 8-bit value of the second 9-bit information;

[0126] C. If the first bit of the 17-bit information is 1, the second bit of the 17-bit information is 0, and the value of the third bit is 1, then the 1-bit type indicator of the first 9-bit information is set to 0, and the 8 bits from the 4th bit to the 11th bit of the 17-bit information are used as the 8-bit value of the first 9-bit information, the 1-bit type indicator of the second 9-bit information is set to 1, and the 6 bits from the 12th bit to the 17th bit of the 17-bit information are converted to 8 bits and used as the 8-bit value of the second 9-bit information;

[0127] D. If the first bit in the 17-bit information is 1, and the values ​​of the second and third bits in the 17-bit information are both 0, then the two 1-bit type indicators of the two 9-bit information are both 1, and the two 8-bit values ​​of the two 9-bit information are both set to 8-bit error flags, and the error flags are specific 8-bit values.

[0128] The following example illustrates the process of converting one 16B / 17B code block into two 9-bit information blocks.

[0129] Referring to FIG9a , if the first bit of the 17-bit information is 0, the first bits of the two 9-bit information are both set to 0, and bits 2-9 of the first 9-bit information correspond to bits 2-9 of the 17-bit information, and bits 2-9 of the second 9-bit information correspond to bits 10-17 of the 17-bit information;

[0130] Referring to FIG9b , if bits 1 to 3 of the 17-bit information are all 1, the first bits of the two 9-bit information are both set to 1, the 6-bit values ​​of bits 4 to 9 of the 17-bit information are converted into 8-bit values, and the 8-bit values ​​are placed in bits 2 to 9 of the first 9-bit information; and the 8-bit values ​​of bits 10 to 17 of the 17-bit information are placed in bits 2 to 9 of the second 9-bit information.

[0131] Referring to FIG. 9 c , the first bit of the 17-bit information is 1, the second bit is 1, and the third bit is 0; the first bit of the first 9-bit information is set to 1, the 6-bit value of bits 4-9 of the 17-bit information is converted to an 8-bit value, and the 8-bit value is placed in bits 2-9 of the first 9-bit information; the first bit of the second 9-bit information is set to 0, and the 8-bit value of bits 10-17 of the 17-bit information is placed in bits 2-9 of the second 9-bit information;

[0132] Referring to FIG. 9 d , the first bit of the 17-bit information is 1, the second bit is 0, and the third bit is 1; the first bit of the first 9-bit information is set to 0, and the 8-bit value of bits 4-11 of the 17-bit information is placed in bits 2-9 of the first 9-bit information; the first bit of the second 9-bit information is set to 1, and the 6-bit value of bits 12-17 of the 17-bit information is converted to an 8-bit value, and the 8-bit value is placed in bits 2-9 of the second 9-bit information;

[0133] Referring to Figure 9e, the first bit of the 17-bit information is 1, the second and third bits are 0, the first bit of the first 9-bit information is set to 1, and the 8-bit value of the 4th to 11th bits in the 17-bit information is placed in the 2nd to 9th bits of the first 9-bit information; the first bit of the second 9-bit information is set to 1, the 6-bit value of the 12th to 17th bits in the 17-bit information is converted into an 8-bit value, and the 8-bit value is placed in the 2nd to 9th bits of the second 9-bit information.

[0134] To convert the 6-bit value in a special 8B / 10B code block to an 8-bit value, refer to Table 3 below:

[0135] Table 3: Correspondence between 6-bit values ​​and 8-bit values ​​in 9-bit information corresponding to special 8B / 10B coding blocks

[0136] In some embodiments, step S710, converting n 9-bit information into corresponding n 8B / 10B coding blocks, includes performing the following processing on each 9-bit information:

[0137] If the first bit of the 9-bit information is 1, the 9-bit information corresponds to a special 8B / 10B coding block. The specific special 8B / 10B coding block is determined based on the 8-bit value of the 9-bit information and the current polarity deviation.

[0138] If the 8-bit value of the 9-bit information is an error indicator, the 9-bit information corresponds to a special 8B / 10B code block representing the error information;

[0139] If the first bit of the 9-bit information is 0, the 9-bit information corresponds to one data 8B / 10B coding block, and the specific corresponding data 8B / 10B coding block is determined according to the 8-bit value of the 9-bit information and the current polarity deviation.

[0140] In a second aspect, referring to FIG10 , a data processing device is provided for an embodiment of the present application. The data processing device 800 includes:

[0141] The sending module 801 is configured to convert an 8B / 10B coded signal into an mB / (m+1)B coded signal, where the 8B / 10B coded signal is composed of 8B / 10B coded blocks, and the mB / (m+1)B coded signal is composed of mB / (m+1)B coded blocks, where m is an integer divisible by 8; load the mB / (m+1)B signal into a service signal, where the service signal carries an offset overhead that stores position information of a specified mB / (m+1)B coded block in the mB / (m+1)B coded signal; and send the service signal.

[0142] The receiving module 802 is configured to receive a service signal; determine, based on an offset overhead carried by the service signal, the position information of a specified mB / (m+1)B coding block in the mB / (m+1)B coding signal; extract the mB / (m+1)B coding signal from the service signal based on the position information; and convert the extracted mB / (m+1)B coding signal into an 8B / 10B coding signal.

[0143] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / modules are based on the same concept as the method embodiment of this application. Their specific functions and technical effects can be found in the method embodiment section and will not be repeated here.

[0144] In a third aspect, referring to FIG11 , an electronic device provided in an embodiment of the present application is shown. The electronic device 900 includes but is not limited to:

[0145] at least one processor 910;

[0146] at least one memory 920, for storing at least one program;

[0147] When the at least one program is executed by the at least one processor 910 , the 8B / 10B coded signal processing method described in any of the above embodiments is performed.

[0148] It should be understood that the processor 910 and the memory 920 may be connected via a bus or other means.

[0149] It should be understood that the processor 910 can be a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. Alternatively, the processor 910 uses one or more integrated circuits to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.

[0150] Memory 920, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the 8B / 10B coded signal processing method executed on the electronic device side described in any embodiment of this application. Processor 910 implements the aforementioned 8B / 10B coded signal processing method by executing the non-transitory software program and instructions stored in memory 920.

[0151] The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store and execute the above-mentioned 8B / 10B coded signal processing method. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 920 may optionally include a memory remotely located relative to the processor 910, and these remote memories may be connected to the processor 910 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0152] The non-transient software programs and instructions required to implement the above-mentioned 8B / 10B coded signal processing method are stored in the memory 920. When executed by one or more processors 910, the 8B / 10B coded signal processing method provided by any embodiment of the present application is executed.

[0153] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a program executable by a processor. When the program executable by the processor is executed by the processor, it is used to implement the 8B / 10B coded signal processing method described in any of the above embodiments.

[0154] The computer storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media.Computer-readable media can be computer-readable signal media or computer-readable storage media.Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or components, or any combination thereof.More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination thereof.In this document, computer-readable storage media can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0155] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0156] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0157] Computer program code for performing the operations of the present application can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (such as through the Internet using an Internet service provider).

[0158] The above is a detailed description of the preferred implementation of the present application, but the present application is not limited to the above implementation. Those skilled in the art can make various equivalent modifications or substitutions without violating the essence of the present application. These equivalent modifications or substitutions are all included in the scope defined by the present application.

Claims

1. A method for processing an 8B / 10B coded signal, comprising: Converting an 8B / 10B coded signal into an mB / (m+1)B coded signal, wherein the 8B / 10B coded signal is composed of 8B / 10B coded blocks, the mB / (m+1)B coded signal is composed of mB / (m+1)B coded blocks, and m is an integer divisible by 8; Loading the mB / (m+1)B coded signal into a service signal, wherein the service signal carries an offset overhead, and the offset overhead stores position information of a specified mB / (m+1)B coded block in the mB / (m+1)B coded signal; The service signal is sent.

2. The method according to claim 1, wherein: The step of converting the 8B / 10B coded signal into an mB / (m+1)B coded signal comprises: Converting n consecutive 8B / 10B coding blocks in the 8B / 10B coding signal into one mB / (m+1)B coding block to obtain the mB / (m+1)B coding signal; Among them, n=m÷8, the types of the 8B / 10B coding blocks include data 8B / 10B coding blocks and special 8B / 10B coding blocks; each of the 8B / 10B coding blocks corresponds to 1 9-bit information, and the 9-bit information includes a 1-bit type indicator and an 8-bit value; the mB / (m+1)B coding block includes m+1 bits of information, and the m+1 bits of information include a 1-bit type indicator and an m-bit value. The 1-bit type indicator in the m+1-bit information is used to indicate whether the n 8B / 10B coding blocks include a special 8B / 10B coding block, and the m-bit value corresponds to the 8-bit value in the n 9-bit information.

3. The method according to claim 2, wherein: When the 1-bit type indicator in the 9-bit information is 0, it indicates that the type of the 8B / 10B coding block is a data 8B / 10B coding block; When the 1-bit type indicator in the 9-bit information is 1, it indicates that the type of the 8B / 10B coding block is a special 8B / 10B coding block.

4. The 8B / 10B coded signal processing method according to claim 3, wherein: The mB / (m+1)B coded signal is an 8B / 9B coded signal, the 8B / 9B coded signal includes an 8B / 9B coded block, and the length of the 8B / 9B coded block is 9 bits; Converting the 8B / 10B coded signal into the 8B / 9B coded signal comprises: Converting the 8B / 10B coded block in the 8B / 10B coded signal into the 9-bit information; Generate the 8B / 9B coding block corresponding to the 8B / 10B coding block according to the 1-bit type indicator and the 8-bit value in the 9-bit information; The 8B / 9B coded signal is obtained according to the 8B / 9B coded block corresponding to the 8B / 10B coded block.

5. The 8B / 10B coded signal processing method according to claim 3, wherein: The mB / (m+1)B coded signal is a 16B / 17B coded signal, the 16B / 17B coded signal includes a 16B / 17B coded block, and the length of the 16B / 17B coded block is 17 bits; Converting the 8B / 10B coded signal into the 16B / 17B coded signal comprises: Converting two consecutive 8B / 10B coded blocks in the 8B / 10B coded signal into one 16B / 17B coded block; The converted 16B / 17B coded blocks are combined into the 16B / 17B coded signal.

6. The 8B / 10B coded signal processing method according to claim 5, wherein: Converting two consecutive 8B / 10B coding blocks into one 16B / 17B coding block, comprising: Converting two consecutive 8B / 10B coding blocks into two 9-bit information; The two 9-bit information are converted into 17-bit information, and the first bit in the 17-bit information indicates whether the two 9-bit information include at least one special 8B / 10B coding block.

7. The 8B / 10B coded signal processing method according to claim 6, wherein: Converting the two 9-bit information into 17-bit information includes: If the first bit in the 17-bit information is 0, then neither of the two 9-bit information includes a special 8B / 10B coding block, and the last 16 bits of the 17-bit information are composed of 8-bit values ​​in the two 9-bit information; If the first bit in the 17-bit information is 1, the two 9-bit information include at least one special 8B / 10B coding block, the second and third bits in the 17-bit information correspond to the 1-bit type indicator in the two 9-bit information, respectively, and the last 14 bits of the 17-bit information are obtained in the following manner: If two of the 9-bit information correspond to two special 8B / 10B coding blocks, convert the 8-bit value corresponding to the first special 8B / 10B coding block into a 6-bit value, and keep the 8-bit value corresponding to the second special 8B / 10B coding block unchanged, and use the 6-bit value and the 8-bit value as the last 14 bits of the 17-bit information; If two 9-bit information correspond to a special 8B / 10B coding block and a data 8B / 10B coding block respectively, the 8-bit value corresponding to the special 8B / 10B coding block is converted into a 6-bit value, and the 8-bit value corresponding to the data 8B / 10B coding block remains unchanged, and the 6-bit value and the 8-bit value are used as the last 14 bits in the 17-bit information.

8. The method according to claim 1, wherein: The service signal includes a signal frame of a fixed rate, the signal frame includes an overhead and a payload, and the length of the signal frame is a fixed value; Loading the mB / (m+1)B signal into the service signal comprises: loading the mB / (m+1)B coded signal into the payload of the signal frame, wherein the rate of the mB / (m+1)B coded signal is equal to or less than the rate of the payload of the signal frame of the service signal; The step of loading the mB / (m+1)B coded signal into the payload of the signal frame comprises one of the following: when the rate of the mB / (m+1)B coded signal is equal to the rate of the payload of the signal frame of the service signal, loading the mB / (m+1)B coded signal into the payload of the signal frame of the service signal through bit synchronous mapping; or, When the rate of the mB / (m+1)B coded signal is less than the rate of the payload of the signal frame of the service signal, the mB / (m+1)B coded signal is loaded into the payload of the signal frame of the service signal through a general mapping procedure. The payload of the signal frame of the service signal will include W bit blocks, each of which has a length of P bits, and each of the bit blocks is a data block or a padding block. The mB / (m+1)B coded signal is loaded into the data block, and the data block and the padding block are distinguished by a general mapping procedure overhead. The general mapping procedure overhead is located in the overhead of the signal frame of the service signal, and W and P are both integers.

9. The method according to claim 8, wherein: The position information of the mB / (m+1)B coded block specified in the mB / (m+1)B coded signal is stored in the offset overhead in the following manner: If the loading mode is bit synchronous mapping, the first mB / (m+1)B coding block in the payload of the signal frame is used as the designated mB / (m+1)B coding block, and the bit offset value U of the first bit in the payload of the signal frame relative to the designated mB / (m+1)B coding block is stored in the offset overhead; If the loading method is a general mapping procedure, the first mB / (m+1)B coding block in the payload of the signal frame is used as the designated mB / (m+1)B coding block, and the bit offset value U of the first bit of the first data block in the payload of the signal frame relative to the designated mB / (m+1)B coding block is stored in the offset overhead, where the value range of U is an integer from 1 to m+1.

10. The method according to claim 9, wherein: After sending the service signal, the method further includes: receiving the service signal; Determining, according to the offset overhead carried by the service signal, position information of a specified mB / (m+1)B coding block in the mB / (m+1)B coding signal; extracting the mB / (m+1)B coded signal from the service signal according to the location information; The extracted mB / (m+1)B coded signal is converted into the 8B / 10B coded signal.

11. The method according to claim 10, wherein: Determining, according to the offset overhead carried by the service signal, position information of a specified mB / (m+1)B coding block in the mB / (m+1)B coding signal, including: Using the first mB / (m+1)B coding block in the payload of the signal frame as the designated mB / (m+1)B coding block; If the mB / (m+1)B coded signal is loaded into the service signal through bit synchronous mapping, the offset overhead represents the bit offset value U of the first bit in the payload of the signal frame relative to the specified mB / (m+1)B coded block, and the position of the first mB / (m+1)B coded block in the payload of the signal frame is determined according to the bit offset value U; If the mB / (m+1)B coded signal is loaded into the service signal through a general mapping procedure, the offset overhead represents the bit offset value U of the first bit of the first data block in the payload of the signal frame relative to the specified mB / (m+1)B coded block, and the position of the first mB / (m+1)B coded block in the payload of the signal frame is determined according to the bit offset value U.

12. The method according to claim 11, wherein: Extracting the mB / (m+1)B coded signal from the service signal comprises: If the mB / (m+1)B coded signal is loaded into the service signal through bit synchronous mapping, extracting the mB / (m+1)B coded signal from the payload of the signal frame of the service signal; If the mB / (m+1)B coded signal is loaded into the service signal through a general mapping procedure, the data block and the padding block are identified from the payload of the signal frame of the service signal according to the general mapping procedure overhead, and the mB / (m+1)B coded signal is taken out from the data block.

13. The 8B / 10B coded signal processing method according to claim 12, wherein: Converting the extracted mB / (m+1)B coded signal into the 8B / 10B coded signal comprises: Converting one of the mB / (m+1)B coding blocks into n 9-bit information, converting the n 9-bit information into corresponding n 8B / 10B coding blocks, the 8B / 10B coding blocks forming the 8B / 10B coded signal; Wherein n=m÷8, the mB / (m+1)B coding block includes m+1 bits of information, the m+1 bits of information include a 1-bit type indicator and an m-bit value, the 1-bit type indicator in the m+1 bits of information is used to indicate whether the n 8B / 10B coding blocks include a special 8B / 10B coding block, and the m-bit value corresponds to the 8-bit value in the n 9-bit information.

14. The 8B / 10B coded signal processing method according to claim 13, wherein: The mB / (m+1)B coded signal is an 8B / 9B coded signal, the 8B / 9B coded signal is composed of an 8B / 9B coded block, and the length of the 8B / 9B coded block is 9 bits; Converting one of the mB / (m+1)B coding blocks into n 9-bit information includes: The 9-bit information is generated according to the 8B / 9B coding block, and the 9-bit information includes a 1-bit type indicator and an 8-bit value.

15. The method according to claim 13, wherein: The mB / (m+1)B coded signal is a 16B / 17B coded signal, the 16B / 17B coded signal is composed of a 16B / 17B coded block, and the length of the 16B / 17B coded block is 17 bits; Converting one of the mB / (m+1)B coding blocks into n 9-bit information includes: Convert one of the 16B / 17B coding blocks into two of the 9-bit information in the following manner: obtain 17 bits of information corresponding to the 16B / 17B coding block, convert the 17 bits of information into two of the 9-bit information, and one of the 9-bit information includes a 1-bit type indicator and an 8-bit value.

16. The method according to claim 15, wherein: The converting the 17-bit information into two 9-bit information includes: If the first bit of the 17-bit information is 0, the two 1-bit type indicators of the two 9-bit information are both 0, and the 8-bit values ​​of the two 9-bit information correspond to the second to 16th bits of the 17-bit information.

17. The method according to claim 16, wherein: The converting the 17-bit information into two 9-bit information further includes: if the first bit in the 17-bit information is 1, performing the following processing according to the values ​​of the second bit and the third bit in the 17-bit information: If the first bit of the 17-bit information is 1, and the values ​​of the second bit and the third bit of the 17-bit information are both 1, the 1-bit type indicators of the two 9-bit information are both 1, and 6 bits from the 4th bit to the 9th bit of the 17-bit information are converted into 8 bits as the 8-bit value of the first 9-bit information, and 8 bits from the 10th bit to the 17th bit of the 17-bit information are used as the 8-bit value of the second 9-bit information; If the first bit of the 17-bit information is 1, the second bit of the 17-bit information is 1, and the value of the third bit is 0, the 1-bit type indicator of the first 9-bit information is set to 1, 6 bits from the 4th bit to the 9th bit of the 17-bit information are converted into 8 bits as the 8-bit value of the first 9-bit information, the 1-bit type indicator of the second 9-bit information is set to 0, and 8 bits from the 10th bit to the 17th bit of the 17-bit information are used as the 8-bit value of the second 9-bit information; If the first bit of the 17-bit information is 1, the second bit of the 17-bit information is 0, and the value of the third bit is 1, the 1-bit type indicator of the first 9-bit information is set to 0, 8 bits from the 4th bit to the 11th bit of the 17-bit information are used as the 8-bit value of the first 9-bit information, the 1-bit type indicator of the second 9-bit information is set to 1, and 6 bits from the 12th bit to the 17th bit of the 17-bit information are converted into 8 bits as the 8-bit value of the second 9-bit information; If the first bit in the 17-bit information is 1, and the values ​​of the second bit and the third bit in the 17-bit information are both 0, then the two 1-bit type indicators of the two 9-bit information are both 1, and the two 8-bit values ​​of the two 9-bit information are both set to 8-bit error indicators, and the error indicator is a specific 8-bit value.

18. The method according to claim 13, wherein: Converting n 9-bit information into corresponding n 8B / 10B coding blocks includes performing the following processing for each 9-bit information: If the first bit of the 9-bit information is 1, the 9-bit information corresponds to a special 8B / 10B coding block, and the specific corresponding special 8B / 10B coding block is determined according to the 8-bit value of the 9-bit information and the current polarity deviation; If the 8-bit value of the 9-bit information is the error indicator, the 9-bit information corresponds to a special 8B / 10B coding block representing error information; If the first bit of the 9-bit information is 0, the 9-bit information corresponds to one data 8B / 10B coding block, and the specific corresponding data 8B / 10B coding block is determined according to the 8-bit value of the 9-bit information and the current polarity deviation.

19. A data processing device, comprising: A sending module, used to execute the method described in any one of claims 1 to 9; A receiving module, used to execute the method described in any one of claims 10-18.

20. An electronic device, comprising: one or more processors; A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the 8B / 10B coded signal processing method according to any one of claims 1 to 18.

21. A computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method for processing an 8B / 10B coded signal according to any one of claims 1 to 18 is implemented.

Citation Information

Patent Citations

  • Coding / decoding methods and devices

    CN101692633A

  • Data processing method, communication equipment and communication system

    CN106301678A

  • Service processing method, device and equipment

    CN113645524A

  • Coding scheme using a transition indicator for signal transmission in optical communications networks

    US20020156913A1