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

By converting the 8B/10B coded signal into mB/(m+1)B coded signal and carrying location information in the service signal, the existing technology problems of large delay and hardware complexity when the 8B/10B coded signal is reduced in rate are solved. This provides a more significant rate reduction and simplifies hardware implementation.

CN118694475APending Publication Date: 2024-09-24ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310306932.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-21
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the prior art, when the 8B/10B coded signal is reduced in rate and then loaded into the service signal, the delay is large and the hardware implementation is complex. There is a lack of a simple and effective proportional reduction method, resulting in an insignificant 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. Transmission of 8B/10B encoded signals.

Benefits of technology

Achieving more significant rate reduction effects, reducing processing latency, and simplifying hardware implementation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

The invention provides an 8B / 10B coding signal processing method, which comprises the following steps that: an 8B / 10B coding signal is converted into an mB / (m + 1) B coding signal, the 8B / 10B coding signal is composed of 8B / 10B coding blocks, the mB / (m + 1) B coding signal is composed of mB / (m + 1) B coding blocks, and m is an integer which can be exactly divided by 8; the mB / (m + 1) B signal is loaded into a service signal, the service signal carries offset overhead, and the offset overhead stores position information of a specified mB / (m + 1) B coding block in the mB / (m + 1) B coding signal; and sending the service signal. The invention further provides a data processing device, electronic equipment and a computer readable medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] 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

[0002] The 8B / 10B coding block is a coding method of the physical coding sublayer (PCS) established by the IEEE802.3 standard, which is used to convert the media access control frame (Media Access Control Frame) into a fixed-rate signal. The converted fixed-rate signal contains control information in addition to the media access control frame, wherein the control information includes the frame header flag and frame tail flag of the media access control frame, an idle control block for implementing rate filling, a configuration information control block for indicating configuration information, and an error control block for indicating the existence of an error.

[0003] 8B / 10B coded signals are composed of 8B / 10B coded blocks with a fixed rate. 8B / 10B coded blocks are used for Ethernet physical layer signals 1000BASE-X with a rate of 1Gbps (8B / 10B coded signals with a rate of 1.25Gbps), Fibre Channel signals with a rate of 1Gbps to 8Gbps, and digital video broadcast signals DVB-ASI (Digital Video Broadcast-Asynchronous Serial Interface, 8B / 10B coded signals with a rate of 270Mbps).

[0004] Fixed-rate 8B / 10B coded signals need to be loaded into service signals for transmission. Fixed-rate 8B / 10B coded signals can be directly transmitted in physical media, or they may be loaded into service signals for transmission. Common service signals include optical channel data unit signals (ODU) and optical service unit signals (OSU) in the optical transport network (OTN). Service signals are generally fixed-rate fixed-length frame signals, that is, signals composed of signal frames with a fixed length and a fixed signal rate.

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

[0006] The first method is direct loading, that is, loading 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);

[0007] The second method is to first process the 8B / 10B coded signal through TTT (Timing Transparent Transcoding) and then reduce its rate in proportion, and then load it into the service signal through bit synchronization mapping and general mapping procedures. The core of this method lies in TTT processing. The existing TTT processing is to convert 64 8B / 10B coded blocks into GFP-T (Transparent GFP, GFP is the abbreviation of Generic Framing Procedure) with a length of 75 bytes, which is equivalent to reducing the rate of the 8B / 10B coded signal by a ratio of 15 / 16. During the TTT processing, 64 8B / 10B coded blocks need to be cached, which means that at least 640 bits of delay are introduced. However, compared with the first method, the second method can reduce the rate of the service signal. A lower rate means lower cost and power consumption.

[0008] If it is necessary to reduce the rate of the 8B / 10B coded signal before loading it into the service signal, only the second method can be used in the prior art. That is, the prior art uses TTT processing based on GFP-T frames to achieve proportional reduction of the 8B / 10B coded signal rate. This method reduces the rate by a ratio of 15 / 16, and the delay is 640 bit cycles. In addition, the GFP-T frame structure is complex, which leads to complex hardware implementation. Therefore, a new method for proportionally reducing the 8B / 10B coded signal is urgently needed. Compared with the existing solution, the processing delay is small and the rate reduction effect is more obvious. Therefore, after the 8B / 10B coded signal with a reduced rate is loaded into the service signal, the rate of the service signal can be further reduced, and the hardware implementation is simpler. Summary of the invention

[0009] The embodiment of the present application provides an 8B / 10B coded signal processing method, a data processing device, an electronic device, and a computer-readable medium. The embodiment of the present application aims to achieve a proportional reduction in the rate of the 8B / 10B coded signal, so that the signal rate of the service signal can be reduced. Compared with the existing solution, the delay introduced in the processing process is smaller, the effect of reducing the rate is more significant, and the hardware implementation is simpler.

[0010] In a first aspect, an embodiment of the present application provides an 8B / 10B coded signal processing method, including:

[0011] 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;

[0012] 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;

[0013] The service signal is sent.

[0014] In a second aspect, an embodiment of the present application provides a data processing device, the device comprising:

[0015] A sending module, configured to convert 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, where m is an integer divisible by 8; load the mB / (m+1)B signal into a service signal, wherein the service signal carries an offset overhead, and the offset overhead stores position information of the mB / (m+1)B coded block specified in the mB / (m+1)B coded signal; and send the service signal;

[0016] A receiving module is used to receive the service signal; determine 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 service signal; extract the mB / (m+1)B coding signal from the service signal according to the position information; and convert the extracted mB / (m+1)B coding signal into the 8B / 10B coding signal.

[0017] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0018] one or more processors;

[0019] A memory having one or more programs stored thereon, 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 as described in the first aspect above.

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

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

[0022] Figure 1 It is a flowchart of an 8B / 10B coded signal processing method provided in an embodiment of the present application;

[0023] Figure 2 It is a schematic diagram of the process of converting an 8B / 10B coded signal into an 8B / 9B coded signal;

[0024] Figure 3 It is a flow chart of converting 8B / 10B coded signal into 16B / 17B coded signal;

[0025] Figure 4a-4d It is a schematic diagram of the process of converting two 9-bit information into one 16B / 17B encoding block;

[0026] Figure 5 It is a schematic diagram of the process of loading the mB / (m+1)B signal into the service signal;

[0027] Figure 6 It is a schematic diagram of the structure of an optical channel data unit signal frame;

[0028] Figure 7 This is a schematic diagram of an exemplary offset overhead setting form of the present application;

[0029] Figure 8 It is a flowchart of another 8B / 10B coded signal processing method provided in an embodiment of the present application;

[0030] Figure 9a-9e It is a schematic diagram of the process of converting one 16B / 17B code block into two 9-bit information;

[0031] Fig.10 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;

[0032] Fig.11 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] In order 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 by the present application are described in detail below in conjunction with the accompanying drawings.

[0034] Example embodiments will be described more fully below 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. On the contrary, the purpose of providing these embodiments is to make this application thorough and complete and to enable those skilled in the art to fully understand the scope of this application.

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

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

[0037] The terms used herein are only used to describe specific embodiments and are not intended to limit the present 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.

[0038] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those 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 explicitly defined herein.

[0039] 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 bits of data information or 8 bits of 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 bits of data information. At this time, the 8B / 10B coding block is also called a data code group. The data information indicates the content in 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 bits of special information. At this time, the 8B / 10B coding block is also called a special code group. e-groups), 8 bits of special information indicate the type of control information, which can represent a certain control information alone or together with 1 or 3 data coding groups. For example, idle control information consists of 1 special grouping and 1 data coding group, frame header identification consists of 1 special grouping, and configuration information consists of 1 special grouping and 3 data coding groups.

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

[0041] Although the 8B / 10B coding block essentially corresponds to 9 bits of information, 10 bits are used in the end to ensure that the number of 0 and 1 bits in the final 10 bits is as close as possible, that is, try not to select a 10-bit value with many 0s or many 1s. In the actual 10-bit data of the 8B / 10B coding block, the number of 0 and 1 bits is either 5, 5, or 4, 6, or 6, 4, and there are only three possibilities. Because if the 8B / 10B coding block is directly transmitted on the physical medium, it must be ensured that there are not too many consecutive 0 bits and consecutive 1 bits, and the occurrence of 0 and 1 accounts for 50% each, that is, the number of 0 bits and the number of 1 bits that appear in a period of time should be the same. In order to meet the above requirements, 1 9-bit information actually corresponds to 2 8B / 10B coding blocks, and the number of 0 and 1 bits in these two 8B / 10B coding blocks has only three cases, that is, either all 5, 5, or 4, 6, or 6, 4. The polarity deviation (Running Disparity) is used here to indicate the number of 0 bits and 1 bits. There are two types of polarity deviation, positive and negative. The current negative polarity deviation indicates that the number of 0 bits in the data that has been sent is greater than the number of 1 bits. The current positive polarity deviation indicates that the number of 1 bits in the data that has been sent is greater than the number of 0 bits. Before sending an 8B / 10B coded block, the current polarity deviation must be obtained first, and then a suitable 8B / 10B coded block is selected for transmission based on whether the current polarity deviation is positive or negative. That is, 1 9-bit information actually corresponds to 2 8B / 10B coded blocks, one of which corresponds to a negative current polarity deviation and the other corresponds to a positive current polarity deviation. The correspondence between 1 9-bit information and 2 8B / 10B coded blocks is shown in Table 1 below. The content of Table 1 comes from IEEE802.3 Table 36-1.

[0042] Table 1: Correspondence between 1 9-bit information and 2 8B / 10B coding blocks

[0043]

[0044]

[0045]

[0046]

[0047]

[0048]

[0049]

[0050]

[0051] According to Table 1, one 8B / 10B coded block can be converted into one 9-bit information, and one 9-bit information plus the current polarity information can be converted into one 8B / 10B coded block. Converting an 8B / 10B coded block into 9-bit information can reduce the rate of the 8B / 10B coded signal, but after extracting the 8B / 10B coded signal from the service signal, there must be a way to determine the exact position of the first bit of each 8B / 10B coded block. This process is called synchronization. Individual 8B / 10B coding blocks will contain a specific 7-bit sequence 0011111, and this 7-bit sequence must be located in the first 7 bits of the 10 bits. In addition, the 8B / 10B coding blocks contained in the 8B / 10B coded signal have a specific appearance rule. Individual 8B / 10B coding blocks containing the 7-bit sequence 0011111 will definitely appear regularly in the 8B / 10B coded signal. In this way, as long as this 7-bit sequence can be found regularly, and the polarity offset of each 8B / 10B coding block is regular, after the first 7-bit sequence found identifies the position of an 8B / 10B coding block, if the polarity offsets of subsequent consecutive 8B / 10B coding blocks conform to the rule, the position of the currently found 8B / 10B coding block is considered to be correct. 9-bit information itself does not have a synchronization function, so other methods are needed to find the exact position of the first bit in the 9-bit information. In addition, after converting one 8B / 10B coding block into one 9-bit information, the effect of reducing the rate is not good enough. If two 8B / 10B coding blocks can be converted into 17 bits, the rate can be further reduced. Similarly, it is also possible to consider converting four 8B / 10B coding blocks into 33 bits, or converting eight 8B / 10B coding blocks into 65 bits, thereby further reducing the rate.

[0052] In view of this, firstly, refer to Figure 1 , the embodiment of the present application provides an 8B / 10B coded signal processing method, including:

[0053] 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;

[0054] 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;

[0055] S300: Send a service signal.

[0056] 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 of the mB / (m+1)B coding block required is less than the total number of bits of the 8B / 10B coding block required. 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, the mB / (m+1)B coded signal is a 16B / 17B coded signal, in which two 8B / 10B coded blocks are converted into one 16B / 17B coded block, that is, to carry 16 bits of valid information, two 8B / 10B coded blocks with a total of 20 bits are required, and a 16B / 17B coded block requires 17 bits. Specifically, the 16B / 17B coded block not only abandons the synchronization function, but also loses the redundant information in the 8B / 10B coded block containing control information, that is, the special coding group of the 8B / 10B coded block has only 12 values, but the special coding group actually uses 8 bits to represent the type of the special coding group, so that the 8-bit information of the special coding group can actually be represented by 4 bits, that is, there are 4 more bits of redundant information. The 16B / 17B coded block can try to remove the redundant information, so that the data coding group and the special coding group can still be represented at the same time.

[0057] The embodiments of the present application do not specifically limit 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.

[0058] 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, implement the synchronization function of the coding block, and then extract the mB / (m+1)B coding signal from the service signal.

[0059] The embodiment of the present application does not specifically limit 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 coding signal. Since the length of the mB / (m+1)B coding block is constant, 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.

[0060] 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 according to 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 restored from 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.

[0061] The embodiments of the present application do not specifically limit how to send the service signal. 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 sending means that the service signal is packed into other signals and sent.

[0062] 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.

[0063] The embodiment of the present application does not specifically limit how to send the optical channel data unit signal.

[0064] In some embodiments, an optical channel data unit signal is loaded into a payload of an optical channel data unit signal of a higher rate, and then the optical channel data unit signal of the higher rate is converted into an optical channel transport unit (OTU) signal, and the optical channel transport unit signal is transmitted in an optical transport network. For example, an optical channel data unit-0 signal is loaded into an 8B / 9B encoded signal, the optical channel data unit-0 signal is loaded into a payload of an optical channel data unit-4 signal, the optical channel data unit-4 signal is converted into an optical channel transport unit-4 signal, and the optical channel transport unit-4 signal is transmitted in an optical transport network.

[0065] In some embodiments, the optical channel data unit signal is converted into an optical channel transport unit signal, and the optical channel transport unit signal is transmitted in the optical transport network. For example, the optical channel data unit-2 signal is loaded with an 8B / 9B encoded signal, 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.

[0066] In some embodiments, the OCU signal is loaded into the payload of the OCU-Cn signal, and then the OCU-Cn signal is converted into the OCU-Cn signal, and the OCU-Cn signal is loaded into other signals for transmission in the optical transport network. For example, the OCU-4 signal is loaded into the 8B / 9B encoded signal, the OCU-4 signal is loaded into the payload of the OCU-C2 signal, the OCU-C2 signal is converted into the OCU-C2 signal, and the OCU-C2 signal is loaded into the Flexible Optical Transport Network (FlexO) signal for transmission in the optical transport network.

[0067] The embodiment of the present application does not specifically limit how to load the mB / (m+1)B coded signal into the service signal.

[0068] 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.

[0069] 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 indication 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.

[0070] 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.

[0071] In some embodiments, the mB / (m+1)B coded signal is an 8B / 9B coded signal, the 8B / 9B coded signal comprises an 8B / 9B coded block, and the length of the 8B / 9B coded block is 9 bits. Figure 2, converting 8B / 10B coded signals into 8B / 9B coded signals, including:

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

[0073] Step S112, generating 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;

[0074] Step S113, obtaining an 8B / 9B coded signal according to the 8B / 9B coded block corresponding to the 8B / 10B coded block.

[0075] It can be understood that the 8B / 10B coding block is converted into 9-bit information, and the 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 the 8-bit special information. The 9-bit information is used as an 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.

[0076] 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. Figure 3 , converting 8B / 10B coded signals into 16B / 17B coded signals, including:

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

[0078] Step S122, the converted 16B / 17B coding blocks are combined into a 16B / 17B coding signal.

[0079] It can be understood that two consecutive 8B / 10B coding blocks in the 8B / 10B coded signal are converted into 9-bit information respectively, 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 includes the specific content of the two 8B / 10B coding blocks, so that the two 8B / 10B coding blocks are converted into one 16B / 17B coding block, and the 16B / 17B coding blocks constitute a 16B / 17B coded signal.

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

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

[0082] 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 includes at least one special 8B / 10B coding block.

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

[0084] 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 in the 17-bit information are determined according to the following A or B method:

[0085] A. If two 9-bit information correspond to two special 8B / 10B coding blocks, the 8-bit value corresponding to the first special 8B / 10B coding block is converted to a 6-bit value, the 8-bit value corresponding to the second special 8B / 10B coding block remains unchanged, and the 6-bit value and the 8-bit value are used as the last 14 bits of the 17-bit information;

[0086] B. 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, 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 of the 17-bit information.

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

[0088] Reference Figure 4a , the first bit in the first 9-bit information and the first bit in 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 in 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.

[0089] Reference Figure 4b , the first bit in the first 9-bit information and the second 9-bit information are 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 in the 17-bit information are 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.

[0090] Reference Figure 4c , the first bit in the first 9-bit information is all "1", and the first bit in the second 9-bit information is all "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.

[0091] Reference 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.

[0092] It can be understood that for the special 8B / 10B coding block, in the corresponding 9-bit information, the first bit is the 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 a special 8B / 10B coding block into a 6-bit value, so that the specific content of 16 bits of 2 8B / 10B coding blocks is reduced to 14 bits. For the conversion of 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:

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

[0094] 8-bit value 6-bit value 000 11100 00 0000 001 11100 00 0001 010 11100 00 0010 011 11100 00 0011 100 11100 00 0100 101 11100 00 0101 110 11100 00 0110 111 11100 00 0111 111 10111 00 1000 111 11011 00 1001 111 11101 00 1010 111 11110 00 1011

[0095] The above Table 2 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 of which 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.

[0096] It can be understood that 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. Figure 5 , loading the mB / (m+1)B signal into the service signal, which may specifically include the following steps:

[0097] 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;

[0098] 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.

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

[0100] 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;

[0101] 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.

[0102] 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 a plurality of bit blocks, and the mB / (m+1)B coded signal may be loaded into only some of the bit blocks, and the remaining bit blocks may be used as padding information. The embodiment of the present application does not specifically limit this.

[0103] In some embodiments, all bits in the payload of the 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 method can be implemented through bit synchronization mapping.

[0104] In some embodiments, the payload of the signal frame of the 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, wherein the bit blocks used for the mB / (m+1)B coded signal are named data bit blocks, and the bit blocks without the mB / (m+1)B coded signal are named padding bit blocks. The specific overhead of the service signal indicates whether each bit block of the payload of the signal frame of the service signal is a data bit block or a padding bit block. This method can be implemented through a general mapping procedure.

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

[0106] In some embodiments, the service signal is an optical channel data unit signal. Figure 6 As shown, the optical channel data unit signal frame is composed of 4×3824 bytes, which are arranged in 4 rows and 3824 columns, wherein 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 overheads of the optical channel data unit signal frame, or in some rows of overheads in the optical channel data unit signal frame. The embodiments of the present application do not specifically limit 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.

[0107] It should be noted that the embodiment of the present application does not specifically limit how to store the location information of the specified mB / (m+1)B coding block in the offset overhead.

[0108] 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 according to different loading methods:

[0109] 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.

[0110] 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.

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

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

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

[0114] The embodiment of the present application does not specifically limit the specific position of the fixed position in the optical channel data unit signal frame and the specified mB / (m+1)B coding block.

[0115] 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, U is equal to 1, that is, 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 located in the current signal frame and 3 bits located in the previous signal frame, then U is equal to 4, that is, 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.

[0116] For an implementation example of offset overhead, see Figure 7 . Figure 7 In the figure, 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 is fully loaded 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 each row of the payload of the signal frame of the service signal is located is used as the designated 32B / 33B coded block, and the first bit of each row of the payload of the signal frame of the service signal is stored in the offset overhead of each row relative to the bit offset value U in the designated 32B / 33B coded block, wherein U is an integer, and the value range of U is 1 to 33. U indicates that the first bit of each row of the 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. Figure 7 In the figure, 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 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 incomplete For a complete 32B / 33B coding block, 10 bits are located in the 2nd row of payload and 23 bits are located in the 3rd row of payload, that is, the 1st bit of the 3rd row of payload of the signal frame of the service signal corresponds to the 11th bit of a 32B / 33B coding block, so the content of the 3rd row offset overhead is 11; the first 32B / 33B coding block in the 4th row of payload is an incomplete 32B / 33B coding block, 15 bits are located in the 3rd row of payload and 18 bits are located in the 4th row of payload, that is, the 1st bit of the 4th row of payload of the signal frame of the service signal corresponds to the 16th bit of a 32B / 33B coding block, so the content of the 4th row offset overhead is 16.

[0117] 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 completely loaded 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 of the payload of the signal frame of the service signal is located is used as the designated 32B / 33B coded block, and the first bit of the 1st row of the payload of the signal frame of the service signal is stored in the offset overhead relative to the bit offset value U in the designated 32B / 33B coded block, wherein U is an integer, and the value range of U is 1 to 33. U indicates that the first bit of the 1st row of the 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.

[0118] In some embodiments, reference Figure 8 , the 8B / 10B coded signal processing method further includes:

[0119] Step S400, receiving a service signal;

[0120] 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 service signal;

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

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

[0123] 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 service signal specifically includes:

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

[0125] 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, 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;

[0126] 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.

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

[0128] Step S610, if the mB / (m+1)B coded signal is loaded into the service signal through bit synchronous mapping, then the mB / (m+1)B coded signal is taken out from the payload of the signal frame of the service signal;

[0129] 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.

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

[0131] Step S710, converting 1 mB / (m+1)B coding block into n 9-bit information, converting n 9-bit information into corresponding n 8B / 10B coding blocks, and the 8B / 10B coding blocks constitute an 8B / 10B coded signal.

[0132] 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.

[0133] In some embodiments, the mB / (m+1)B coded signal is an 8B / 9B coded signal, the 8B / 9B coded signal is composed of 8B / 9B coded blocks, 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, and the 9-bit information includes a 1-bit type indicator and an 8-bit value.

[0134] In some embodiments, 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. 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 the following method: obtaining 17 bits of information corresponding to the 16B / 17B coded block, converting the 17 bits of information into two 9-bit information, and one 9-bit information includes a 1-bit type indicator and an 8-bit value.

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

[0136] 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 AD according to the values ​​of the second bit and the third bit in the 17-bit information:

[0137] A. 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 the 6 bits from the 4th bit to the 9th bit of the 17-bit information are converted into 8 bits to serve as the 8-bit value of the first 9-bit information, 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;

[0138] 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, 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;

[0139] 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, the 1-bit type indicator of the first 9-bit information is set to 0, and 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;

[0140] D. 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.

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

[0142] See also Figure 9a , the first bit of the 17-bit information is 0, then the first bits of the two 9-bit information are both set to 0, the 2nd to 9th bits of the first 9-bit information correspond to the 2nd to 9th bits of the 17-bit information, and the 2nd to 9th bits of the second 9-bit information correspond to the 10th to 17th bits of the 17-bit information;

[0143] See also Figure 9b , the 1st to 3rd bits of the 17-bit information are all 1, then the first bits of the two 9-bit information are all set to 1, the 6-bit values ​​of the 4th to 9th bits of the 17-bit information are converted into 8-bit values, and the 8-bit values ​​are placed in the 2nd to 9th bits of the first 9-bit information; the 8-bit values ​​of the 10th to 17th bits of the 17-bit information are placed in the 2nd to 9th bits of the second 9-bit information;

[0144] See also Fig.9c , 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 the 4th to 9th bits of the 17-bit information is converted to an 8-bit value, and the 8-bit value 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 0, and the 8-bit value of the 10th to 17th bits of the 17-bit information is placed in the 2nd to 9th bits of the second 9-bit information;

[0145] See also Figure 9d, 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 the 4th to 11th bits of 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 of 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;

[0146] See also Fig.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 of 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 of 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.

[0147] The conversion of the 6-bit value in the special 8B / 10B coding block into an 8-bit value can be implemented by referring to the following Table 3:

[0148] Table 3: Correspondence between 6-bit value and 8-bit value in 9-bit information corresponding to special 8B / 10B coding block

[0149] 6-bit value 8-bit value 00 0000 000 11100 00 0001 001 11100 00 0010 010 11100 00 0011 011 11100 00 0100 100 11100 00 0101 101 11100 00 0110 110 11100 00 0111 111 11100 00 1000 111 10111 00 1001 111 11011 00 1010 111 11101 00 1011 111 11110

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

[0151] 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;

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

[0153] 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.

[0154] Second, see Fig.10 , an embodiment of the present application provides a data processing device, the data processing device 800 includes:

[0155] The sending module 801 is used to convert 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, where m is an integer divisible by 8; load the mB / (m+1)B signal into a service signal, wherein the service signal carries an offset overhead, and the offset overhead stores position information of the mB / (m+1)B coded block specified in the mB / (m+1)B coded signal; and send the service signal;

[0156] The receiving module 802 is used to receive a service signal; determine 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 service signal; extract the mB / (m+1)B coding signal from the service signal according to the position information; and convert the extracted mB / (m+1)B coding signal into an 8B / 10B coding signal.

[0157] 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 the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0158] Thirdly, see Fig.11 , is an electronic device provided in an embodiment of the present application, and the electronic device 900 includes but is not limited to:

[0159] at least one processor 910;

[0160] At least one memory 920, used to store at least one program;

[0161] 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.

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

[0163] It should be understood that the processor 910 may be a central processing unit (CPU). The processor may 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 gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. Alternatively, the processor 910 may be one or more integrated circuits for executing related programs to implement the technical solutions provided in the embodiments of the present application.

[0164] The memory 920 is a non-transitory computer-readable storage medium that 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 by the electronic device side described in any embodiment of the present application. The processor 910 implements the above-mentioned 8B / 10B coded signal processing method by running the non-transitory software program and instructions stored in the memory 920.

[0165] 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 an application 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 arranged 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.

[0166] The non-transitory 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.

[0167] 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.

[0168] 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 devices, or any combination of the above. More specific examples (non-exhaustive lists) 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-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. 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.

[0169] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0170] The program code embodied on the 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.

[0171] Computer program code for performing the operations of the present application may 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 may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0172] The above is a specific 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 spirit 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.