Data transmission method, apparatus, device, and system, and readable storage medium
The data transmission method addresses the need for higher speeds by transforming and encoding data using FEC codes, ensuring efficient and flexible data transmission with improved error correction.
Patent Information
- Application Number
- JP2024525670
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-10-30
- Filing Date
- 2022-07-19
- Publication Date
- 2024-10-10
- Estimated Expiration
- 2042-07-19
AI Technical Summary
The increasing demand for high-speed data transmission in low-latency scenarios, such as in data centers, is not adequately met by current technologies, necessitating improved methods to achieve higher transmission rates.
A data transmission method that involves transforming channels of first data into channels of second data with increased rates by using forward error correction (FEC) codes, including alignment, decoding, and encoding processes to enhance data transmission speed and flexibility across various scenarios.
The method enables high-speed data transmission by increasing the sum of data rates, improving error correction performance, and adapting to diverse transmission requirements, thereby enhancing data quality and efficiency.
Smart Images

Figure 2024537500000001_ABST
Abstract
Description
[Technical field]
[0001] This application claims priority to Chinese Patent Application No. 202111278595.3, entitled "Data Transmission Method, Apparatus, Device, and System, and Readable Storage Medium," filed with the China State Intellectual Property Office on October 30, 2021, which is incorporated herein by reference in its entirety.
[0002] TECHNICAL FIELD Embodiments of the present application relate to the field of communication technology, and in particular to a data transmission method, apparatus, device and system, and a readable storage medium. [Background technology]
[0003] As the demand for data transmission is constantly increasing, the demand for transmission speed is also increasing. For example, in scenarios requiring low latency transmission, such as data centers, data transmission must be performed at a high transmission rate. Therefore, there is an urgent need for a data transmission method that can achieve a high transmission rate. Summary of the Invention
[0004] The present application provides a data transmission method, apparatus, device and system, as well as a readable storage medium, for improving data transmission speed. [Means for solving the problem]
[0005] According to a first aspect, a data transmission method is provided, the method including: a first module obtaining at least one channel of first data encoded based on a first forward error correction FEC code, converting the at least one channel of first data to obtain at least one channel of second data, where a sum of the rates of the at least one channel of second data is equal to or greater than a sum of the rates of the at least one channel of first data, and transmitting the obtained at least one channel of second data.
[0006] In this method, at least one channel of first data is converted to obtain at least one channel of second data whose sum of speeds is equal to or greater than the sum of speeds of the at least one channel of first data, thereby enabling data transmission to be performed at a high speed.
[0007] In one possible implementation, the first module converting the at least one channel of first data to obtain the at least one channel of second data includes the first module aligning the at least one channel of first data, obtaining a plurality of first codewords based on the alignment result, decoding the plurality of first codewords, and obtaining the at least one channel of second data based on the decoding result.
[0008] In one possible implementation, obtaining at least one channel of second data based on the decoding result includes: encoding the decoding result based on a second FEC code to obtain a plurality of second codewords; and obtaining at least one channel of second data based on the plurality of second codewords. For the decoding results obtained based on different first data, the first module can encode the decoding results by using the same second FEC code or different second FEC codes to flexibly adapt to transmission scenarios and transmission requirements.
[0009] In one possible implementation, the step of obtaining at least one channel of second data based on a plurality of second codewords includes a step of interleaving the plurality of second codewords and a step of obtaining at least one channel of second data based on a result of the interleaving.
[0010] In one possible implementation, the first data includes an alignment indicator AM, the AM being used to align at least one channel of the first data, and the step of encoding the decoding result based on the second FEC code to obtain a plurality of second codewords includes a step of removing the AM in the decoding result to obtain a plurality of second codewords, and a step of encoding the decoding result obtained by removing the AM based on the second FEC code.
[0011] In one possible implementation, the step of encoding the decoded result obtained by removing the AM based on the second FEC code to obtain a plurality of second codewords includes a step of combining the decoded result obtained by removing the AM with one channel of third data in a sequential transmission manner to obtain a plurality of second codewords and a step of encoding the one channel of third data, or a step of converting the decoded result obtained by removing the AM into at least two channels of third data to obtain a plurality of second codewords and a step of encoding the at least two channels of third data.
[0012] In one possible implementation, the step of converting the decoding result obtained by removing the AM into third data of at least two channels includes the steps of combining the decoding result obtained by removing the AM into fourth data of one channel, and converting the fourth data of one channel into third data of at least two channels.
[0013] In one possible implementation, the step of encoding the one-channel third data to obtain a plurality of second codewords includes performing overall encoding on the one-channel third data based on the second FEC code to obtain a plurality of second codewords, or converting the one-channel third data into at least two-channel fifth data and encoding the at least two-channel fifth data based on the second FEC code separately to obtain a plurality of second codewords. The rate of the fifth data is less than the rate of the third data. In this method, the third data can be encoded in various manners to obtain a plurality of second codewords. Therefore, the transmission scenarios and transmission requirements to which this method is applicable are flexible. In addition, when the number of channels of the third data is multiple channels, the number of channels of the third data and the second FEC code used to encode the third data can be flexibly set to be applicable to various transmission scenarios and transmission requirements.
[0014] In one possible implementation, the step of encoding the at least two channels of third data to obtain a plurality of second codewords includes a step of performing overall encoding on the at least two channels of third data based on the second FEC code to obtain a plurality of second codewords, or a step of individually encoding the at least two channels of third data based on the second FEC code to obtain a plurality of second codewords.
[0015] In one possible implementation, the step of separately encoding the at least two channels of third data based on the second FEC code to obtain a plurality of second codewords includes the steps of separately performing overall encoding on the at least two channels of third data based on the second FEC code to obtain a plurality of second codewords, or converting each of the at least two channels of third data into at least two channels of sixth data and separately encoding the at least two channels of sixth data based on the second FEC code to obtain a plurality of second codewords, where the rate of the sixth data is less than the rate of the third data.
[0016] In one possible implementation, the step of obtaining at least one channel of second data based on the decoding result includes the steps of marking error code blocks in the multiple code blocks included in the decoding result, and obtaining at least one channel of second data based on the marked decoding result. Since the first module can mark the error code blocks in the decoding result, when later receiving the second data obtained based on the decoding result, the receiving module can perform effective error correction on the data based on the marked error code blocks, thereby improving the error correction performance and improving the quality of data transmission.
[0017] In one possible implementation, the first module converting the at least one channel of first data to obtain the at least one channel of second data includes the first module aligning the at least one channel of first data, obtaining a plurality of first code words based on the alignment result, and obtaining the at least one channel of second data based on the plurality of first code words.
[0018] In one possible implementation, the step of obtaining at least one channel of second data based on a plurality of first codewords includes a step of combining the plurality of first codewords and a step of obtaining at least one channel of second data based on the combination result.
[0019] In one possible implementation, the step of combining a plurality of first codewords and obtaining at least one channel of second data based on the combination result includes a step of combining a plurality of first codewords to one channel of second data in a sequential transmission manner, or a step of combining a plurality of first codewords to at least two channels of second data.
[0020] In one possible implementation, the first data of at least one channel is data obtained by interleaving, and the step of obtaining a plurality of first codewords based on the alignment result includes a step of deinterleaving the alignment result, and a step of obtaining a plurality of first codewords based on the deinterleaving result.
[0021] In one possible implementation, the first module converting the at least one channel of first data to obtain the at least one channel of second data includes the first module encoding the at least one channel of first data based on a second FEC code to obtain a plurality of third codewords, and the first module obtaining the at least one channel of second data based on the plurality of third codewords. The first module can re-encode the first data obtained by encoding based on the first FEC code using the second FEC code, and the second data has a higher coding gain, so that effective error correction can be performed on the data in which bit errors occur when the second data is transmitted over a channel prone to bit errors, thereby improving the quality of data transmission.
[0022] In one possible implementation, the step of obtaining at least one channel of second data based on a plurality of third codewords includes a step of interleaving the plurality of third codewords and a step of obtaining at least one channel of second data based on a result of the interleaving.
[0023] In one possible implementation, the first module encoding the first data of at least one channel based on the second FEC code to obtain a plurality of third codewords includes combining the first data of at least one channel into seventh data of one channel in a sequential transmission manner to obtain a plurality of third codewords, and encoding the seventh data of one channel, or converting the first data of at least one channel into seventh data of at least two channels to obtain a plurality of third codewords, and encoding the seventh data of at least two channels. In this method, the seventh data can be encoded in various manners to obtain a plurality of third codewords. Therefore, the transmission scenarios and transmission requirements to which this method is applicable are flexible. In addition, when the number of channels of the seventh data is a plurality of channels, the number of channels of the seventh data and the second FEC code used to encode the seventh data can be flexibly set to be applicable to a variety of transmission scenarios and transmission requirements.
[0024] In one possible implementation, the step of converting the at least one channel of first data into the at least two channels of seventh data includes the steps of combining the at least one channel of first data into the one channel of eighth data, and converting the one channel of eighth data into the at least two channels of seventh data.
[0025] In one possible implementation, the step of encoding the seventh data of one channel to obtain a plurality of third codewords includes performing overall encoding on the seventh data of one channel based on a second FEC code to obtain a plurality of third codewords, or converting the seventh data of one channel into ninth data of at least two channels and separately encoding the ninth data of at least two channels based on the second FEC code to obtain a plurality of third codewords, where the rate of the ninth data is less than the rate of the seventh data.
[0026] In one possible implementation, the step of encoding the at least two channels of seventh data to obtain a plurality of third codewords includes a step of performing overall encoding on the at least two channels of seventh data based on the second FEC code to obtain a plurality of third codewords, or a step of individually encoding the at least two channels of seventh data based on the second FEC code to obtain a plurality of third codewords.
[0027] In one possible implementation, the step of separately encoding the at least two channels of seventh data based on the second FEC code to obtain a plurality of third codewords includes the steps of separately performing overall encoding on the at least two channels of seventh data based on the second FEC code to obtain a plurality of third codewords, or converting each of the at least two channels of seventh data into at least two channels of tenth data and separately encoding the at least two channels of tenth data based on the second FEC code to obtain a plurality of third codewords, where the rate of the tenth data is less than the rate of the seventh data.
[0028] In one possible implementation, the first module transmitting the at least one channel of second data includes the first module inserting synchronization data into the at least one channel of second data, and transmitting data obtained by inserting the synchronization data.
[0029] In one possible implementation, the first module inserting synchronization data into the second data of the at least one channel includes determining an AM corresponding to the second data of each channel of the second data of the at least one channel, and inserting the AM corresponding to the second data of each channel as synchronization data into the second data of each channel.
[0030] In one possible implementation, the AM corresponding to the second data of each channel is obtained by adjusting the AM included in the corresponding first data, and the AM corresponding to the second data of each channel is the entire content of the AM included in the corresponding first data, or the AM corresponding to the second data of each channel is a partial content of the AM included in the corresponding first data.
[0031] According to a second aspect, a data transmission method is provided. The method includes a third module obtaining at least one channel of second data. The at least one channel of second data is data obtained by converting at least one channel of first data, a sum of the rates of the at least one channel of second data is equal to or greater than a sum of the rates of the at least one channel of first data, and the first data is data encoded based on a first forward error correction FEC code. The third module converts the at least one channel of second data to obtain the at least one channel of first data.
[0032] According to a third aspect, there is provided a data transmission device for use in a first module, the device comprising: an acquisition unit configured to acquire at least one channel of first data, the first data being data encoded based on a first forward error correction (FEC) code; a conversion unit configured to convert the at least one channel of first data to obtain the at least one channel of second data, the sum of the rates of the at least one channel of second data being equal to or greater than the sum of the rates of the at least one channel of first data; a transmitting unit configured to transmit at least one channel of second data; Includes.
[0033] In one possible implementation, the conversion unit is configured to align at least one channel of first data, obtain a plurality of first codewords based on the alignment result, decode the plurality of first codewords, and obtain at least one channel of second data based on the decoding result.
[0034] In one possible implementation, the conversion unit is configured to encode the decoding result based on a second FEC code to obtain a plurality of second codewords, and to obtain at least one channel of second data based on the plurality of second codewords.
[0035] In one possible implementation, the transform unit is configured to interleave a plurality of second codewords and obtain at least one channel of second data based on the interleaving result.
[0036] In one possible implementation, the first data includes an alignment indicator AM, and the AM is used to align the first data of at least one channel. The conversion unit is configured to remove the AM in the decoding result and encode the decoding result obtained by removing the AM based on the second FEC code to obtain a plurality of second codewords.
[0037] In one possible implementation, the conversion unit is configured to combine the decoding result obtained by removing the AM with one channel of third data in a sequential transmission manner to obtain a plurality of second codewords, and encode the one channel of third data, or convert the decoding result obtained by removing the AM into at least two channels of third data to obtain a plurality of second codewords, and encode the at least two channels of third data.
[0038] In one possible implementation, the conversion unit is configured to combine the decoding result obtained by removing the AM into one channel of fourth data, and convert the one channel of fourth data into at least two channels of third data.
[0039] In one possible implementation, the conversion unit is configured to perform overall encoding on the one-channel third data based on the second FEC code to obtain a plurality of second codewords, or convert the one-channel third data into at least two-channel fifth data and separately encode the at least two-channel fifth data based on the second FEC code to obtain a plurality of second codewords, where the rate of the fifth data is less than the rate of the third data.
[0040] In one possible implementation, the conversion unit is configured to perform overall encoding on the at least two channels of third data based on the second FEC code to obtain a plurality of second codewords, or to individually encode the at least two channels of third data based on the second FEC code to obtain a plurality of second codewords.
[0041] In one possible implementation, the conversion unit is configured to: individually perform overall encoding on the at least two channels of third data based on the second FEC code to obtain a plurality of second codewords; or convert each of the at least two channels of third data into at least two channels of sixth data and individually encode the at least two channels of sixth data based on the second FEC code to obtain a plurality of second codewords, where the rate of the sixth data is less than the rate of the third data.
[0042] In one possible implementation, the conversion unit is configured to mark erroneous code blocks in the plurality of code blocks included in the decoding result, and to obtain second data of at least one channel based on the marked decoding result.
[0043] In one possible implementation, the conversion unit is configured to align at least one channel of first data, obtain a plurality of first code words based on the alignment result, and obtain at least one channel of second data based on the plurality of first code words.
[0044] In one possible implementation, the conversion unit is configured to combine a plurality of first codewords and obtain at least one channel of second data based on the combination result.
[0045] In one possible implementation, the conversion unit is configured to combine multiple first codewords to one channel of second data in a sequential transmission manner, or to combine multiple first codewords to at least two channels of second data.
[0046] In one possible implementation, the transform unit is configured to deinterleave the alignment result, and to obtain a plurality of first codewords based on the deinterleaving result.
[0047] In one possible implementation, the conversion unit is configured to encode at least one channel of first data based on a second FEC code to obtain a plurality of third codewords, and to obtain at least one channel of second data based on the plurality of third codewords.
[0048] In one possible implementation, the transform unit is configured to interleave a plurality of third codewords and obtain at least one channel of second data based on the interleaving result.
[0049] In one possible implementation, the conversion unit is configured to combine at least one channel of first data with one channel of seventh data in a sequential transmission manner to obtain a plurality of third codewords, and encode the one channel of seventh data, or to convert at least one channel of first data into at least two channels of seventh data, and encode the at least two channels of seventh data to obtain a plurality of third codewords.
[0050] In one possible implementation, the conversion unit is configured to combine first data of at least one channel into eighth data of one channel, and convert the eighth data of one channel into seventh data of at least two channels.
[0051] In one possible implementation, the conversion unit is configured to perform overall encoding on the one-channel seventh data based on the second FEC code to obtain a plurality of third codewords, or convert the one-channel seventh data into at least two-channel ninth data and separately encode the at least two-channel ninth data based on the second FEC code to obtain a plurality of third codewords, where the rate of the ninth data is less than the rate of the seventh data.
[0052] In one possible implementation, the conversion unit is configured to perform overall encoding on the at least two channels of seventh data based on the second FEC code to obtain a plurality of third codewords, or to individually encode the at least two channels of seventh data based on the second FEC code to obtain a plurality of third codewords.
[0053] In one possible implementation, the conversion unit is configured to: individually perform overall encoding on the at least two channels of seventh data based on the second FEC code to obtain a plurality of third codewords; or convert each of the at least two channels of seventh data into at least two channels of tenth data and individually encode the at least two channels of tenth data based on the second FEC code to obtain a plurality of third codewords, where the rate of the tenth data is less than the rate of the seventh data.
[0054] In one possible implementation, the sending unit is configured to insert synchronization data into second data of at least one channel, and to send data obtained by inserting the synchronization data.
[0055] In one possible implementation, the transmitting unit is configured to determine an AM corresponding to the second data of each channel of the at least one channel of the second data, and insert the AM corresponding to the second data of each channel into the second data of each channel as synchronization data.
[0056] In one possible implementation, the AM corresponding to the second data of each channel is obtained by adjusting the AM included in the corresponding first data, and the AM corresponding to the second data of each channel is the entire content of the AM included in the corresponding first data, or the AM corresponding to the second data of each channel is a partial content of the AM included in the corresponding first data.
[0057] According to a fourth aspect, there is provided a data transmission device for use in a third module, the data transmission device comprising: an acquisition unit configured to acquire at least one channel of second data, the at least one channel of second data being data acquired by converting the at least one channel of first data, a sum of the rates of the at least one channel of second data being equal to or greater than a sum of the rates of the at least one channel of first data, and the first data being data encoded based on a first forward error correction FEC code; a conversion unit configured to convert the at least one channel of second data to obtain the at least one channel of first data; Includes.
[0058] According to a fifth aspect, there is provided a data transmission device, the device including a processor coupled to a memory, the memory storing at least one program instruction or code, the at least one program instruction or code being loaded and executed by the processor to enable the device to perform a data transmission method according to either the first or second aspect.
[0059] According to a sixth aspect, there is provided a data transmission system, the system including a first data transmission device configured to perform the first aspect or any of the methods according to the first aspect, and a second data transmission device configured to perform the second aspect or any of the methods according to the second aspect.
[0060] According to a seventh aspect, there is provided a computer readable storage medium storing at least one program instruction or code which, when loaded and executed by a processor, enables the computer to perform the data transmission method according to either the first or second aspect.
[0061] Another communication device is provided. The device includes a communication interface, a memory, and a processor. The memory and the processor communicate with each other through an internal connection path. The memory is configured to store instructions. The processor is configured to execute the instructions stored in the memory to control the communication interface to receive data and to control the communication interface to transmit data. In addition, when the processor executes the instructions stored in the memory, the processor is enabled to perform a method according to the first aspect or any one of the possible implementations of the first aspect, or is enabled to perform a method according to the second aspect or any one of the possible implementations of the second aspect.
[0062] For example, there may be one or more processors and one or more memories.
[0063] For example, the memory and the processor may be integrated, or the memory and the processor may be located separately.
[0064] In a particular implementation, the memory may be a non-transitory memory, such as a read only memory (ROM). The memory and the processor may be integrated on the same chip, or may be separately located on separate chips. The type of memory and the manner in which the memory and the processor are located are not limited by this application.
[0065] A computer program product is provided, which comprises computer program code which, when executed on a computer, enables the computer to carry out the method of the aforementioned aspects.
[0066] A chip is provided, the chip including a processor configured to retrieve and execute instructions stored in the memory from the memory so as to enable a device in which the chip is installed to perform the method of the aforementioned aspect.
[0067] Another chip is provided, the chip including an input interface, an output interface, a processor, and a memory. The input interface, the output interface, the processor, and the memory are connected to each other through internal connection paths. The processor is configured to execute code in the memory. The processor is configured to execute the method of the previous aspect when the code is executed.
[0068] A device is provided, the device including a chip according to any one of the preceding solutions.
[0069] A device is provided, the device including the first module of any one of the preceding solutions and / or the third module of any one of the preceding solutions.
[0070] It should be understood that the beneficial effects achieved by the technical solutions of the third to seventh aspects and corresponding possible implementations of the embodiments of the present application should refer to the aforementioned technical effects in the first, second and corresponding possible implementations, and details will not be repeated here. [Brief description of the drawings]
[0071] [Figure 1] FIG. 2 is a schematic diagram of an implementation scenario of a data transmission method according to an embodiment of the present application; [Diagram 2]2 is a flowchart of a data transmission method according to an embodiment of the present application; [Diagram 3] FIG. 2 is a schematic diagram of first data and second data according to an embodiment of the present application; [Figure 4] FIG. 2 is another schematic diagram of the first data and the second data according to an embodiment of the present application; [Diagram 5] FIG. 2 is a schematic diagram of a process for obtaining at least one channel of second data according to an embodiment of the present application. [Figure 6] FIG. 13 is a schematic diagram of another process for obtaining at least one channel of second data according to an embodiment of the present application. [Figure 7] FIG. 2 is a schematic diagram of a process for marking an error code block according to an embodiment of the present application; [Figure 8] FIG. 4 is a schematic diagram of another process for marking error code blocks according to an embodiment of the present application; [Figure 9] FIG. 4 is a schematic diagram of another process for marking error code blocks according to an embodiment of the present application; [Figure 10] FIG. 4 is a schematic diagram of another process for marking error code blocks according to an embodiment of the present application; [Figure 11] FIG. 13 is a schematic diagram of a process of combining with third data according to an embodiment of the present application. [Figure 12] FIG. 2 is another schematic diagram of the first data and the second data according to an embodiment of the present application; [Figure 13] FIG. 2 is another schematic diagram of the first data and the second data according to an embodiment of the present application; [Figure 14] FIG. 1 is a schematic diagram of an implementation environment of an application scenario according to an embodiment of the present application. [Figure 15] FIG. 2 is a schematic diagram of an implementation environment of another application scenario according to an embodiment of the present application. [Figure 16] FIG. 2 is a schematic diagram of an implementation environment of another application scenario according to an embodiment of the present application. [Figure 17] FIG. 2 is a schematic diagram of an implementation environment of another application scenario according to an embodiment of the present application. [Figure 18] 4 is a flowchart of another data transmission method according to an embodiment of the present application. [Figure 19] FIG. 2 is a schematic diagram of the structure of a data transmitting device according to an embodiment of the present application; [Figure 20] FIG. 2 is a schematic diagram of the structure of another data transmitting device according to an embodiment of the present application; [Figure 21] FIG. 2 is a schematic diagram of the structure of another data transmitting device according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0072] The terms used in the implementation of this application are only used to describe the embodiments of this application and are not intended to limit the application. Hereinafter, the embodiments of this application will be described with reference to the accompanying drawings.
[0073] In the field of communications technology, as the demand for data transmission grows relentlessly, the demand for transmission speeds is increasing, and it is gradually becoming more difficult to meet the demands with the current transmission speeds. For example, in scenarios requiring low latency transmission such as data centers, it is gradually becoming more difficult to meet the latency requirements with 200 Gigabit Ethernet (GE) / 400GE, and higher transmission speeds, such as 800GE / 1.6 Terabit Ethernet (TE), are required for data transmission.
[0074] In this case, the embodiment of the present application provides a data transmission method. In the method, at least one channel of first data is converted to obtain at least one channel of second data. The sum of the speeds of the at least one channel of second data is equal to or greater than the sum of the speeds of the at least one channel of first data. In this way, data transmission can be performed at a high speed. The method provided in the embodiment of the present application is applicable to forward error correction (FEC) architectures of end-to-end FEC architecture, segment-by-segment architecture, and concatenated FEC architecture. In addition, in the case of segment-by-segment FEC architecture and concatenated FEC architecture, current modules can be reused in the method of the embodiment of the present application to reduce the overhead of optical fibers, modules, and components.
[0075] FIG. 1 illustrates an implementation scenario of a data transmission method according to an embodiment of the present application. The implementation scenario includes multiple modules, which can exchange information with each other to perform data transmission. As illustrated in FIG. 1, data transmission can be performed between a first module 101 and a second module 102, and between the first module 101 and a third module 103. It should be noted that the implementation scenario illustrated in FIG. 1 can include N modules, where N is a positive integer equal to or greater than 2. In FIG. 1, only an example in which the number of modules is 3 is used for explanation. In addition, these modules can be located in the same chip or in separate chips.
[0076] Referring to the implementation scenario shown in FIG. 1, the data transmission method provided in the embodiment of the present application is shown in FIG. 2, which includes but is not limited to S201-S203.
[0077] S201: A first module obtains first data of at least one channel, where the first data is data encoded based on a first FEC code.
[0078] The speed of the first data is not limited in this embodiment of the present application. In some embodiments, the speed of the first data is any one of 50 gigabits per second (Gb / s), 100 Gb / s, 200 Gb / s, 400 Gb / s, 800 Gb / s, 1.6 terabits per second (Tb / s), 3.2 Tb / s, 6.4 Tb / s, or another non-standard speed. For example, when there are multiple channels of first data, the speeds of the first data of the multiple channels may be the same or different. For example, as shown in FIG. 3, the first module obtains four channels of first data, and the speeds of the first data of the four channels are all 200GE. In another example, as shown in FIG. 4, the first module obtains four channels of first data, and the speeds of the first data of the four channels are 100GE, 100GE, 200GE, and 400GE, respectively.
[0079] In addition, the first data of at least one channel is data encoded based on the same first FEC code or different first FEC codes. The first FEC code is not limited in this embodiment of the present application. For example, the first FEC code is any one of Reed-Solomon (RS) code, Bose-Chaudhuri-Hocquenghem (BCH) code, fire code, turbo code, turbo product code (TPC), staircase code, and low-density parity-check (LDPC) code.
[0080] The manner in which the first module obtains the first data of at least one channel is not limited in this embodiment of the present application. For example, the first module and the second module can perform data transmission, and the first module receives the first data of at least one channel transmitted by the second module. For example, the first module is disposed in a first chip, and the second module is disposed in a second chip, and the first module receiving the first data of at least one channel transmitted by the second module includes, but is not limited to, the first module receiving the first data transmitted by the second module through a channel of an attachment unit interface (AUI).
[0081] In addition to encoding using the first FEC code, other processing may be further performed on the first data. The processing manner of the other processing performed on the first data in addition to encoding using the first FEC code is not limited in this embodiment of the present application. For example, the first data is data that is encoded based on the first FEC code and distributed using a physical medium attachment sublayer (PMA), the first data is data that is encoded based on the first FEC code and is subjected to interleaving processing and PMA distribution, etc.
[0082] S202: A first module converts at least one channel of first data to obtain at least one channel of second data, and a sum of the rates of the at least one channel of second data is greater than or equal to a sum of the rates of the at least one channel of first data.
[0083] The speed of the second data is not limited to this embodiment of the present application. To transmit data at a higher speed, the sum of the speeds of the second data after conversion is equal to or greater than the sum of the speeds of the first data before conversion. In other words, the sum of the speeds of all the first data before conversion is equal to or less than the sum of the speeds of all the second data after conversion. In some embodiments, the speed of the second data is any one of 400Gb / s, 800Gb / s, 1.6Tb / s, 3.2Tb / s, 6.4Tb / s, or another non-standard speed. For example, when there are multiple channels of second data, the speeds of the second data of the multiple channels may be the same or different.
[0084] For example, the first module converting at least one channel of first data to obtain at least one channel of second data includes, but is not limited to, the following three cases:
[0085] Case 1: In the case of a segment-by-segment FEC architecture, the first module converting the at least one channel of first data to obtain the at least one channel of second data includes the first module aligning the at least one channel of first data, obtaining a plurality of first codewords based on the alignment result, decoding the plurality of first codewords, and obtaining the at least one channel of second data based on the decoding result.
[0086] For example, the first module aligning the first data of at least one channel includes, but is not limited to, separately aligning the first data of at least one channel. For example, the first module converts each of the first data of at least one channel into first sub-data of at least one channel, and aligns the first sub-data of at least one channel belonging to the first data of the same channel.
[0087] In some embodiments, the first data includes an alignment marker (AM), and the AM is used to align the first data of the at least one channel. For example, when the first data includes an AM, aligning the first data of the at least one channel includes, but is not limited to, AM lock and deskew. The AM lock is used to search for a codeword boundary, specifically, to align the first data of the at least one channel. After the codeword boundary is found, deskew may be performed in a manner specified in a standard, for example, in a manner specified in each or future versions of the Institute of Electrical and Electronics Engineers (IEEE) 802.3, to obtain a plurality of first codewords. In some embodiments, aligning the first data of the at least one channel by the first module includes the first module converting the first data of the at least one channel into first sub-data of the at least one channel, and performing AM lock and deskew on the first sub-data of the at least one channel. For example, see the AM lock / deskew steps shown in Figures 5 and 6 for aligning the first data of at least one channel.
[0088] For example, the alignment result of aligning the first data of at least one channel includes at least one first codeword sequence, and the one first codeword sequence corresponds to the first data of the one channel. For example, if the first data of the at least one channel is non-interleaved data, obtaining the multiple first codewords based on the alignment result includes, but is not limited to, obtaining the multiple first codewords based on the interval of the code length for each first codeword sequence of the at least one first codeword sequence. For example, if the first data of the at least one channel is interleaved data, obtaining the multiple first codewords based on the alignment result includes, but is not limited to, performing de-interleaving on the alignment result and obtaining the multiple first codewords based on the de-interleaving result. For example, de-interleaving is performed on each first codeword sequence of the at least one first codeword sequence, and the multiple first codewords are obtained based on the de-interleaving result. The interleaving method of the first data of the at least one channel is not limited in this application. For example, the interleaving method of the first data of at least one channel includes, but is not limited to, at least one of codeword interleaving or interlane interleaving.When deinterleaving is performed on the aligned result, corresponding deinterleaving is performed according to the interleaving method of the first data of at least one channel.For example, for the step of obtaining a plurality of first codewords, please refer to the step of obtaining FEC1 (first FEC code) codewords shown in Figures 5 and 6.
[0089] After obtaining the plurality of first codewords, the first module decodes the plurality of first codewords to obtain a decoding result. For example, an FEC1 decoding step is shown in FIG. 5 and FIG. 6. In some embodiments, decoding the plurality of first codewords to obtain a decoding result includes, but is not limited to, decoding the plurality of first codewords and discarding check bits of the plurality of first codewords to obtain a decoding result. In other words, the decoding result may include information bits of the plurality of first codewords and does not include check bits of the plurality of first codewords. For example, when decoding the plurality of first codewords, the first module decodes the plurality of first codewords based on a first FEC code.
[0090] In some embodiments, obtaining at least one channel of second data based on the decoding result includes, but is not limited to, S1-1 and S1-2.
[0091] S1-1: Encode the decoding result based on a second FEC code to obtain a plurality of second codewords.
[0092] The second FEC code is not limited in this embodiment of the present application. For example, the second FEC code is any one of RS code, BCH code, Fire code, Turbo code, Turbo product code, Staircase code, or LDPC code. For example, when the decoding result includes the decoding result obtained separately based on the first data of each channel, and the decoding result is encoded based on the second FEC code, the decoding result obtained based on different first data can be encoded based on the same second FEC code or different second FEC code. This is not limited in this embodiment of the present application.
[0093] In some embodiments, when the first data includes an AM, encoding the decoded result based on the second FEC code to obtain a plurality of second codewords includes: deleting the AM in the decoded result, and encoding the decoded result obtained by deleting the AM based on the second FEC code to obtain a plurality of second codewords. The manner of deleting the AM in the decoded result is not limited in this embodiment of the present application. For example, when the codeword boundary is obtained by AM locking, the position of the AM is obtained, so that the AM can be deleted based on the position of the AM.
[0094] In some embodiments, obtaining at least one channel of second data based on the decoding result includes marking erroneous code blocks in the plurality of code blocks included in the decoding result, and obtaining at least one channel of second data based on the marked decoding result. In one possible implementation, the plurality of code blocks included in the decoding result are inverse transcoded, erroneous code blocks in the plurality of code blocks obtained by the inverse transcoding are marked, and at least one channel of second data is obtained based on the plurality of code blocks marked with the erroneous code blocks. For example, as shown in Figures 7 and 8, the decoding result includes n 257-bit code block streams. The plurality of 257-bit code block streams are inverse transcoded to obtain n 66-bit code block streams, erroneous code blocks in the n 66-bit code block streams are marked, and at least one channel of second data is obtained based on the n 66-bit code block streams marked with the erroneous code blocks.
[0095] In another possible implementation, a plurality of code blocks included in the decoded result are inverse transcoded, erroneous code blocks in the plurality of code blocks obtained by the inverse transcoding are marked, the plurality of code blocks marked with the erroneous code blocks are transcoded, and at least one channel of second data is obtained based on the plurality of code blocks obtained by the transcoding. For example, as shown in Figures 9 and 10, the decoded result includes n 257-bit code block streams. The n 257-bit code block streams are inverse transcoded to obtain n 66-bit code block streams, erroneous code blocks in the n 66-bit code block streams are marked, and the n 66-bit code block streams marked with the erroneous code blocks are transcoded to obtain n 257-bit code block streams, and at least one channel of second data is obtained based on the n 257-bit code block streams.
[0096] Optionally, the operation of marking the error code block may be performed based on the decoding result obtained by deleting the AM. Specifically, after the AM in the decoding result is deleted, the error code block in the decoding result obtained by deleting the AM is marked, and at least one channel of second data is obtained based on the decoding result obtained by deleting the AM and marked with the error code block. The error code block is marked to deal with the error code caused by AUI transmission, system noise, etc.
[0097] For example, encoding the decoding result obtained by removing the AM based on the second FEC code to obtain a plurality of second codewords includes, but is not limited to, the following two schemes:
[0098] Scheme 1 for obtaining multiple second code words: To obtain multiple second code words, the decoding results obtained by removing AM are combined with the third data of one channel in a sequential transmission manner, and the third data of one channel is encoded.
[0099] The decoding result obtained by deleting the AM is combined with the third data of one channel in a sequential transmission manner, so that the decoding result obtained by deleting the AM based on the first data of each channel included in the third data may appear periodically. For example, the decoding result obtained by deleting the AM includes n 257-bit code block streams, and the n 257-bit code block streams are sequentially transmitted, so that the data belonging to the n 257-bit code block streams and in the third data of one channel obtained by combining appear periodically. The sequential transmission granularity is not limited in this embodiment of the present application, and includes, but is not limited to, 5440-bit, 5140-bit, 257-bit, 66-bit, 10-bit, 2-bit, or 1-bit.
[0100] For example, if the decoding result obtained by removing AM includes decoding results obtained by removing AM and corresponding to the first data of multiple channels, the decoding results obtained by removing AM and corresponding to the first data of each channel are transmitted sequentially, and the decoding results are combined with the third data of one channel. For example, the decoding result obtained by removing AM includes four code block streams, namely, code block stream A, code block stream B, code block stream C, and code block stream D. Code block stream A includes code blocks A.1, A.2, A.3, A.4, A.5, A.6, A.7, etc. Code block stream B includes code blocks B.1, B.2, B.3, B.4, B.5, B.6, B.7, etc. Code block stream C includes code blocks C.1, C.2, C.3, C.4, C.5, C.6, C.7, etc. The code block stream D includes code blocks D.1, D.2, D.3, D.4, D.5, D.6, D.7, etc. In this case, in some embodiments, when the decoding result obtained by deleting AM is combined with the third data of one channel in a sequential transmission manner, the state of the code blocks in each code block stream included in the third data of the channel is shown in (a) of Figure 11, and the arrangement of the code blocks included in the third data is A.1, B.1, C.1, D.1, A.2, B.2, C.2, D.2, A.3, etc.
[0101] In some embodiments, combining the decoding result obtained by removing the AM with the third data of one channel in a sequential transmission manner includes, but is not limited to, combining the decoding result obtained by removing the AM with the third data of one channel at a reference rate in a sequential transmission manner. For example, in response to the sum of the speeds of the obtained first data being less than the reference rate, the decoding result obtained by removing the AM and the first reference data are combined with the third data of one channel at a reference rate. Take an example in which the sum of the speeds of the obtained first data is 400GE and the reference rate is 800GE. In this case, the decoding result obtained by removing the AM and the first reference data of 400GE are combined with the third data of one channel at 800GE. The first reference data may be idle data and may be set based on an application scenario. The content of the first reference data is not limited in this embodiment of the present application. The reference rate may be set based on experience or practical requirements. This is not limited in this embodiment of the present application. The manner of combining the decoding result obtained by removing the AM and the first reference data with the third data of one channel at a reference rate is also not limited in this embodiment of the present application. For example, the decoded result obtained by removing the AM and the first reference data are combined with one channel of third data at a reference rate in a sequential transmission manner, or the decoded result obtained by removing the AM is combined, and the combined data and the first reference data are combined with one channel of third data at a reference rate in a sequential transmission manner.
[0102] In some embodiments, when the decoding result obtained by removing AM includes the decoding result obtained by removing AM and corresponding to the first data of multiple channels, combining the decoding result obtained by removing AM with the third data of one channel at the reference rate in a sequential transmission manner includes sequentially transmitting the decoding result obtained by removing AM and corresponding to the first data of each channel and the padded data block, and combining the decoding result and the padded data block with the third data of one channel. It is continued to use as an example that the decoding result obtained by removing AM includes a code block stream A, a code block stream B, a code block stream C, and a code block stream D. The padded data block may be meaningless data, for example, pseudo-random binary sequence (PRBS) data, or may be meaningful data. The content of the padded data block is not limited in this embodiment of the present application and may be flexibly set based on the application scenario. In some embodiments, when the decoded result obtained by removing the AM and the padded data block are combined into the third data of one channel in a sequential transmission manner, the state of the code blocks in each code block stream included in the third data of the channel is shown in (b) of Figure 11, and the arrangement of the code blocks included in the third data is A.1, B.1, C.1, D.1, A.2, padded data block, B.2, C.2, D.2, A.3, etc.
[0103] In some embodiments, combining the decoding result obtained by removing AM with the third data of one channel in a sequential transmission manner includes, but is not limited to, interleaving the decoding result obtained by removing AM, and combining the interleaved decoding result obtained by removing AM with the third data of one channel in a sequential transmission manner. The interleaving manner of the decoding result obtained by removing AM is not limited in this application. For example, for the manner of combining the decoding result obtained by removing AM with the third data of one channel, please refer to the data interleaving and distribution step shown in FIG. 5.
[0104] For example, encoding the one-channel third data to obtain a plurality of second codewords includes, but is not limited to, performing overall encoding on the one-channel third data based on the second FEC code to obtain a plurality of second codewords, or converting the one-channel third data into at least two-channel fifth data and encoding the at least two-channel fifth data individually based on the second FEC code to obtain a plurality of second codewords. The rate of the fifth data is less than the rate of the third data. For example, the third data is one-channel 800GE data, and overall encoding is performed on the third data based on the second FEC code to obtain a plurality of second codewords. Alternatively, the third data is converted into two-channel 400GE fifth data, and the two-channel fifth data are individually encoded based on the second FEC code to obtain a plurality of second codewords. For example, the overall encoding is used to encode the data to be encoded as one-channel data. The manner of converting the one-channel third data into at least two-channel fifth data is not limited in this application. For example, one channel of third data is converted into at least two channels of fifth data in a sequential transmission manner. For the step of encoding one channel of third data to obtain multiple second codewords, please refer to the FEC2 (second FEC code) encoding step and processing step shown in Figure 5.
[0105] The whole coding refers to combining multiple channel data into one channel data for coding, or the whole coding is used to code the data to be coded as one channel data. Therefore, performing the whole coding on the one channel third data based on the second FEC code refers to coding the one channel third data as one channel data.
[0106] Method 2 for obtaining multiple second code words: To obtain multiple second code words, the decoded result obtained by removing the AM is converted into third data of at least two channels, and the third data of at least two channels is encoded.
[0107] For example, the rate of the third data may be a reference rate, and the number of channels and the reference rate of the third data may be set based on experience or practical requirements. This is not limited in this embodiment of the present application. In some embodiments, the decoding result obtained by removing the AM is converted into at least two channels of third data in a sequential transmission manner. For example, converting the decoding result obtained by removing the AM into at least two channels of third data includes, but is not limited to, interleaving the decoding result obtained by removing the AM, and converting the interleaved decoding result obtained by removing the AM into at least two channels of third data. The interleaving manner of the decoding result obtained by removing the AM is not limited in the present application. For example, for the manner of converting the decoding result obtained by removing the AM into at least two channels of third data, please refer to the data interleaving and distribution step shown in FIG. 6.
[0108] For example, if the sum of the speeds of the first data of at least one channel is less than the sum of the speeds of the third data of at least two channels, the decoded result obtained by removing the AM and the second reference data are both converted into the third data of at least two channels at the reference speed. For example, the speeds of the first data of four channels obtained are 400GE, 400GE, 400GE, and 200GE, and the reference speed is 800GE. The decoded result obtained by removing the AM and the second reference data of 200GE are both converted into the third data of two channels at 800GE. In another example, the speed of the first data of one channel obtained is 1.6TE, and the reference speed is 800GE. The decoded result obtained by removing the AM and the second reference data of 1.6TE are both converted into the third data of four channels at 800GE. The second reference data may be idle data and may be set based on the application scenario. The content of the second reference data is not limited in this embodiment of the present application. For example, the second reference data may include multiple padded data blocks. The state of the padded data block included in each of the at least two channels of third data is not limited in this embodiment of the present application.
[0109] For example, if the sum of the rates of the first data of at least one channel is equal to the sum of the rates of the third data of at least two channels, the decoded result obtained by removing the AM is converted into the third data of at least two channels. For example, as shown in Figure 12, the rates of the first data of four channels obtained are all 400GE, and the decoded result obtained by removing the AM is converted into the third data of two channels with a rate of 800GE. In another example, as shown in Figure 13, the rate of the first data of one channel obtained is 1.6TE, and the decoded result obtained by removing the AM is converted into the third data of two channels with a rate of 800GE.
[0110] In some embodiments, when the number of channels of the first data is a plurality of channels, for any one channel of the at least two channels of the third data, the third data of any one channel may include only a decoded result obtained by removing the AM and being a part of the first data, or may include a decoded result obtained by removing the AM and being the first data of each channel. It is continued to be used as an example that the decoded result obtained by removing the AM includes code block stream A, code block stream B, code block stream C, and code block stream D. In some embodiments, when the decoded result obtained by removing the AM is combined with the third data of the two channels in a sequential transmission manner, the state of the code blocks in each code block stream included in the third data of the two channels is shown in (c) of FIG. The sequence of the code blocks included in the third data of one channel is A.1, C.1, A.2, C.2, A.3, C.3, A.4, C.4, A.5, etc., and the sequence of the code blocks included in the third data of the other channel is B.1, D.1, B.2, D.2, B.3, D.3, B.4, D.4, B.5, etc. Please note that (c) of FIG. 11 is only an example in which the code block stream A and the code block stream C are combined into the third data of one channel, and the code block stream B and the code block stream D are combined into the third data of one channel. However, this is not used to limit the implementation. The third data of each channel can be obtained by aggregating any two code block streams.
[0111] In some other embodiments, when the decoded result obtained by removing the AM is combined with the third data of the two channels in a sequential transmission manner, the state of the code blocks in each code block stream included in the third data of the two channels is shown in (d) of Figure 11. The sequence of the code blocks included in the third data of one channel is A.1, B.1, C.1, D.1, A.3, B.3, C.3, D.3, C.5, A.5, etc., and the sequence of the code blocks included in the third data of the other channel is A.2, B.2, C.2, D.2, A.4, B.4, C.4, D.4, B.6, etc.
[0112] In addition, in the process of obtaining the third data by combining, the schemes shown in (a), (c) and (d) of FIG. 11 may instead include sequentially sending the padded data block and the data to be combined. For a specific process, please refer to the scheme in (b) of FIG. 11. Here, the details are not repeated one by one. Optionally, the padded data block is not necessarily sent periodically, or may be sent at various intervals. For example, one padded data block is sent at an interval of a certain number of data, or multiple padded data blocks are inserted at an interval of a certain number of data.
[0113] For example, converting the decoded result obtained by removing AM into third data of at least two channels includes combining the decoded result obtained by removing AM into fourth data of one channel, and converting the fourth data of one channel into third data of at least two channels. For example, the obtained first data of four channels are all 400GE data, and the decoded result obtained by removing AM is combined into fourth data of one channel of 1.6TE, and the fourth data of one channel of 1.6TE is converted into third data of two channels of 800GE.
[0114] When the third data of at least two channels is encoded, a whole encoding or separate encoding scheme may be used instead. For example, encoding the third data of at least two channels to obtain a plurality of second codewords includes performing whole encoding on the third data of at least two channels based on a second FEC code to obtain a plurality of second codewords, or separately encoding the third data of at least two channels based on a second FEC code to obtain a plurality of second codewords. For the step of encoding the third data of at least two channels to obtain a plurality of second codewords, please refer to the FEC2 (second FEC code) encoding step and processing step shown in Figure 6.
[0115] In some embodiments, encoding the third data of at least two channels separately based on the second FEC code to obtain a plurality of second codewords includes: performing overall encoding on the third data of at least two channels separately based on the second FEC code to obtain a plurality of second codewords; or converting each of the third data of at least two channels into sixth data of at least two channels and separately encoding the sixth data of at least two channels based on the second FEC code to obtain a plurality of second codewords. The rate of the sixth data is less than the rate of the third data. The principle of the process of converting each of the third data of at least two channels into sixth data of at least two channels and separately encoding the sixth data of at least two channels based on the second FEC code is the same as the principle of the related process of converting the third data of one channel into fifth data of at least two channels and separately encoding the fifth data of at least two channels based on the second FEC code in the above-mentioned method 1 to obtain a plurality of second codewords. Details will not be repeated here. The whole coding refers to combining multiple channels of data into one channel of data for coding, or the whole coding is used to code the data to be coded as one channel of data. Therefore, performing the whole coding on the at least two channels of third data based on the second FEC code refers to coding all the third data of the at least two channels of third data as one channel of data.
[0116] According to the method provided in this embodiment of the present application, the third data can be coded in various manners to obtain multiple second codewords.Therefore, the transmission scenarios and transmission requirements to which this method can be applied are flexible.In addition, when the number of channels of the third data is multiple channels, the number of channels of the third data and the second FEC code used to code the third data can be flexibly set to be applicable to various transmission scenarios and transmission requirements.
[0117] S1-2: Obtain second data of at least one channel based on a plurality of second codewords.
[0118] For example, obtaining at least one channel of second data based on a plurality of second codewords includes, but is not limited to, interleaving the plurality of second codewords and obtaining at least one channel of second data based on the interleaving result. The manner of interleaving the plurality of second codewords is not limited in this embodiment of the present application. For example, at least one of codeword interleaving and interlane interleaving may be performed on the plurality of second codewords.
[0119] Case 2: The first module aligns first data of at least one channel, obtains a plurality of first codewords based on the alignment result, and obtains second data of at least one channel based on the plurality of first codewords.
[0120] The principle of the method in which the first module aligns the first data of at least one channel and obtains a plurality of first code words according to the alignment result is the same as the principle of the related process of the above-mentioned method 1. Details are not repeated here.
[0121] For example, obtaining at least one channel of second data based on a plurality of first code words includes combining a plurality of first code words and obtaining at least one channel of second data based on the combination result. For example, combining a plurality of first code words and obtaining at least one channel of second data based on the combination result includes, but is not limited to, the following two manners:
[0122] Combining scheme 1: A plurality of first codewords are combined with one channel of second data in a sequential transmission manner.
[0123] Since the multiple first code words are combined with the second data of one channel in a sequential transmission manner, the multiple first code words included in the second data and obtained based on the first data of each channel may appear periodically. The principle of the method of combining the multiple first code words with the second data of one channel in a sequential transmission manner is the same as the principle of the above-mentioned related process of combining the decoding result obtained by removing AM with the third data of one channel in a sequential transmission manner. Details will not be repeated here.
[0124] Combining scheme 2: A plurality of first codewords are combined with at least two channels of second data.
[0125] For example, the principle of the method of combining multiple first codewords into at least two channels of second data is the same as the principle of the above-mentioned related process of converting the decoded result obtained by removing AM into at least two channels of third data, and the details will not be repeated here.
[0126] It should be noted that regardless of the above combining manner, the second data may be interleaved data, and the interleaving manner is not limited in this embodiment of the present application.
[0127] Case 3: The first module encodes at least one channel of first data based on a second FEC code to obtain a plurality of third codewords, and the first module obtains at least one channel of second data based on the plurality of third codewords.
[0128] For example, the first module encoding the first data of at least one channel based on the second FEC code to obtain a plurality of third codewords includes, but is not limited to, the following two manners:
[0129] Method 1 for obtaining multiple third code words: To obtain multiple third code words, the first data of at least one channel is combined with the seventh data of one channel in a sequential transmission manner, and the seventh data of the one channel is encoded.
[0130] In some embodiments, combining at least one channel of first data with one channel of seventh data in a sequential transmission manner includes, but is not limited to, a first module aligning at least one channel of first data, obtaining a plurality of first code words based on the alignment result, and combining the plurality of first code words with one channel of seventh data in a sequential transmission manner. The sequential transmission granularity is not limited in this embodiment of the present application, and includes, but is not limited to, 5440-bit, 5140-bit, 257-bit, 66-bit, 10-bit, 2-bit, or 1-bit. The principle of the method in which the first module aligns at least one channel of first data and obtains a plurality of first code words based on the alignment result is the same as the principle of the related process of the above-mentioned method 1. Details will not be repeated here.
[0131] In some embodiments, combining the first data of at least one channel with the seventh data of one channel in a sequential transmission manner includes, but is not limited to, combining the first data of at least one channel with the seventh data of one channel at a reference rate in a sequential transmission manner. For example, in response to the sum of the speeds of the obtained first data being less than the reference rate, the first data of at least one channel and the third reference data are combined with the seventh data of one channel at a reference rate. Take an example where the sum of the speeds of the obtained first data is 400GE and the reference rate is 800GE. In this case, the first data of at least one channel and the third reference data of 400GE are combined with the seventh data of one channel at 800GE. The third reference data may be idle data. The content of the third reference data is not limited in this embodiment of the present application. For example, the third reference data is determined based on an application scenario. It should be noted that the reference rate may be set based on experience or practical requirements. This is not limited in this embodiment of the present application. The manner of combining the first data and the third reference data of at least one channel into the seventh data of one channel at the reference rate is not limited in this embodiment of the present application. For example, the first data and the third reference data of at least one channel are combined into the seventh data of one channel at the reference rate in a sequential transmission manner, or the first data of at least one channel is combined, and the combined data and the third reference data are combined into the seventh data of one channel at the reference rate in a sequential transmission manner.
[0132] For example, encoding the seventh data of one channel to obtain a plurality of third codewords includes, but is not limited to, performing overall encoding on the seventh data of one channel based on a second FEC code to obtain a plurality of third codewords, or converting the seventh data of one channel into ninth data of at least two channels and encoding the ninth data of at least two channels individually based on the second FEC code to obtain a plurality of third codewords. The rate of the ninth data is less than the rate of the seventh data. For example, the seventh data is one channel of 800GE data, and overall encoding is performed on the seventh data based on the second FEC code to obtain a plurality of third codewords. Or, the seventh data is converted into two channels of 400GE ninth data, and the ninth data of two channels is encoded individually based on the second FEC code to obtain a plurality of third codewords. For example, the overall encoding is used to encode the data to be encoded as one channel of data. The manner of converting the seventh data of one channel into the ninth data of at least two channels is not limited in this application. For example, the seventh data of one channel is converted into the ninth data of at least two channels in a sequential transmission manner.
[0133] Method 2 for obtaining multiple third code words: To obtain multiple third code words, at least one channel of first data is converted into at least two channels of seventh data, and the at least two channels of seventh data are encoded.
[0134] For example, the rate of the seventh data may be a reference rate, and the number of channels and the reference rate of the seventh data may be set based on experience and practical requirements, which is not limited in this embodiment of the present application. In some embodiments, at least one channel of first data is converted into at least two channels of seventh data in a sequential transmission manner.
[0135] For example, if the sum of the rates of the first data of at least one channel is less than the sum of the rates of the seventh data of at least two channels, the first data of at least one channel and the fourth reference data are both converted to seventh data of at least two channels at the reference rate. For example, the rates of the first data of four channels obtained are 400GE, 400GE, 400GE, and 200GE, and the reference rate is 800GE. The first data of at least one channel and the fourth reference data of 200GE are both converted to seventh data of two channels of 800GE. In another example, the rate of the first data of one channel obtained is 1.6TE, and the reference rate is 800GE. The first data of at least one channel and the fourth reference data of 1.6TE are both converted to seventh data of four channels of 800GE.
[0136] For example, if the sum of the rates of the first data of the at least one channel is equal to the sum of the rates of the seventh data of the at least two channels, the first data of the at least one channel is converted to seventh data of the at least two channels.
[0137] In some embodiments, when the number of channels of the first data is multiple channels, for any one channel of the at least two channels of the seventh data, the seventh data of any one channel may include only a portion of the data of the first data, or may include data of the first data of each channel.
[0138] For example, converting the at least one channel of first data into at least two channels of seventh data includes combining the at least one channel of first data into one channel of eighth data and converting the one channel of eighth data into at least two channels of seventh data. For example, the obtained four channels of first data are all 400GE data, and the four channels of first data are combined into one channel of 1.6TE eighth data, and the one channel of 1.6TE eighth data is converted into two channels of 800GE seventh data.
[0139] When the seventh data of at least two channels is encoded, a whole encoding or separate encoding scheme may be used instead. For example, encoding the seventh data of at least two channels to obtain a plurality of third codewords includes performing whole encoding on the seventh data of at least two channels based on a second FEC code to obtain a plurality of third codewords, or separately encoding the seventh data of at least two channels based on a second FEC code to obtain a plurality of third codewords.
[0140] In some embodiments, encoding the seventh data of at least two channels separately based on the second FEC code to obtain a plurality of third codewords includes: performing overall encoding on the seventh data of at least two channels separately based on the second FEC code to obtain a plurality of third codewords; or converting each of the seventh data of at least two channels into tenth data of at least two channels and separately encoding the tenth data of at least two channels based on the second FEC code to obtain a plurality of third codewords. The rate of the tenth data is less than the rate of the seventh data. The principle of the process of converting each of the seventh data of at least two channels into tenth data of at least two channels and separately encoding the tenth data of at least two channels based on the second FEC code is the same as the principle of the related process of converting the seventh data of one channel into ninth data of at least two channels and separately encoding the ninth data of at least two channels based on the second FEC code in the above-mentioned method 1 to obtain a plurality of third codewords. Details will not be repeated here.
[0141] For example, obtaining at least one channel of second data based on a plurality of third codewords includes, but is not limited to, interleaving the plurality of third codewords and obtaining at least one channel of second data based on the interleaving result. The manner of interleaving the plurality of third codewords is not limited in this embodiment of the present application. For example, at least one of codeword interleaving or interlane interleaving may be performed on the plurality of third codewords.
[0142] According to the method provided in this embodiment of the present application, the seventh data can be coded in various ways to obtain multiple third codewords.Therefore, the transmission scenarios and transmission requirements to which this method can be applied are flexible.In addition, when the channel number of the seventh data is multiple channels, the channel number of the seventh data and the second FEC code used to code the seventh data can be flexibly set to be applicable to various transmission scenarios and transmission requirements.
[0143] S203: The first module transmits second data of at least one channel.
[0144] For example, the first module transmitting the second data of at least one channel includes the first module inserting synchronization data into the second data of the at least one channel and transmitting data obtained by inserting the synchronization data, where the synchronization data includes, but is not limited to, at least one of an AM, a coherent digital signal processing (DSP) frame header, a training symbol, or a pilot symbol.
[0145] In some embodiments, the first module inserting synchronization data into the second data of the at least one channel includes determining an AM corresponding to the second data of each channel of the at least one channel of the second data, and inserting the AM corresponding to the second data of each channel into the second data of each channel as synchronization data. For example, the AM corresponding to the second data of each channel is obtained by adjusting the AM included in the corresponding first data, and the AM corresponding to the second data of each channel is the entire content of the AM included in the corresponding first data, or the AM corresponding to the second data of each channel is a partial content of the AM included in the corresponding first data. Adjusting the AM included in the corresponding first data includes, but is not limited to, adjusting the content or length of the AM based on various granularities.
[0146] In some embodiments, when the obtained first data is the first data of multiple channels, the AM included in any one of the first data of multiple channels can be used as the AM corresponding to the second data of any one channel. It should be noted that the AM corresponding to the second data of all channels can be the same or different. For example, the AM of the second data of each channel can be determined based on actual requirements.
[0147] For example, when transmitting at least one channel of second data, the first module can further perform other processing, for example, perform processing such as multiplexing (mux), training sequence (TS) / pilot symbol (pilot symbol) insertion, frequency adjustment, and optical modulation on the at least one channel of second data, and transmit the at least one channel of processed second data. For example, a modulation step and an output step are shown in FIG. 5 and FIG. 6. Regardless of whether the data transmitted by the first module is data obtained by inserting synchronization data or data obtained by other processing, the multiplexing granularity used when the first module transmits data includes, but is not limited to, FEC codeword, 257-bit, 66-bit, 10-bit, or 1-bit. This is not limited in this embodiment of the present application.
[0148] According to the method provided in this embodiment of the present application, the first data of at least one channel is converted to obtain the second data of at least one channel, the sum of the rates of which is equal to or greater than the sum of the rates of the first data of the at least one channel, so that the data transmission can be performed at a high speed. In addition, the first module can use the second FEC code to re-encode the first data obtained by encoding based on the first FEC code, and the second data has a higher coding gain, so that effective error correction can be performed on the data with bit errors when the second data is transmitted through a channel prone to bit errors, and the quality of the data transmission can be improved.
[0149] Next, referring to the method steps shown in FIG. 2, the data transmission method provided in this embodiment of the present application will be described using an example in which a first module is disposed in a first chip and a second module is disposed in a second chip in the following several scenarios:
[0150] Scenario 1: The first chip and the second chip are used in a segment-by-segment FEC architecture.
[0151] For example, scenario 1 corresponds to case 1 in the embodiment shown in Figure 2. The implementation environment of this scenario can be shown in Figure 14, and the data transmission process is as follows:
[0152] The second chip transmits eight channels of first data to the first chip through the AUI. The media access control (MAC) rates of the first data are all 100 Gb / s, and the first data are all data encoded based on the RS (544, 514) FEC code. The second chip transmits one channel of first data through one AUI, and the transmission rate is 106.25 Gb / s. The first chip includes eight processing units, and each processing unit is configured to process one channel of first data. After receiving the eight channels of first data, the first chip separately performs AM lock on the first data of each channel to align the first data to obtain a plurality of first codewords. Since the first data is data encoded based on the RS (544, 514) FEC code, the plurality of first codewords are codewords encoded based on the RS (544, 514) FEC code. For example, if the first data is data obtained by interleaving, the first chip performs AM lock on the first data to obtain an alignment result, and then performs deinterleaving on the alignment result to obtain a plurality of first codewords based on the deinterleaving. After obtaining the plurality of first codewords, the first chip decodes the plurality of first codewords. In one possible implementation, the first chip interleaves the decoded result, and obtains at least one channel of second data based on the interleaved decoded result. After obtaining the decoded result, the first chip deletes the AM in the decoded result. The AM can be used to determine the AM corresponding to each of the at least one channel of second data. It should be noted that the first chip may perform processing on the first data of all channels at the same time, or may perform processing on the first data of one channel and then perform processing on the first data of another channel. This is not limited in this embodiment of the present application.
[0153] Furthermore, the first chip performs data combining based on the decoding result obtained by removing the AM. For example, the decoding result obtained by removing the AM is combined into one channel of 800GE third data in a sequential transmission manner, or the decoding result obtained by removing the AM is converted into at least two channels of 800GE third data. The first chip performs data processing on the third data, for example, encoding the third data to obtain a plurality of second code words, and obtaining at least one channel of second data based on the plurality of second code words.
[0154] Finally, the first chip inserts AM as synchronous data into at least one channel of the second data, and executes a transmitter (TX) DSP on the data obtained by inserting the synchronous data to obtain 800G coherent light.
[0155] In another possible implementation, the implementation environment of the scenario is shown in Figure 15, and the data transmission process is as follows:
[0156] The second chip transmits one channel of first data to the first chip through the AUI. The MAC rate of the first data is 1.6 Tb / s, and the first data is data encoded and interleaved using 2xRS(544, 514) FEC code. The second chip transmits one channel of first data through 16 AUIs, one AUI is used for one channel of first sub-data, and the transmission rate is 106.25 Gb / s. After receiving the first data, the first chip performs AM lock / deskew on the first data to align the first data to obtain a plurality of first codewords. Since the first data is data encoded based on the RS(544, 514) FEC code, the plurality of first codewords are codewords encoded based on the RS(544, 514) FEC code. For example, if the first data is data obtained by interleaving, the first chip performs AM lock on the first data to obtain an alignment result, and then performs deinterleaving on the alignment result to obtain a plurality of first codewords based on the deinterleaving. After obtaining the plurality of first codewords, the first chip decodes the plurality of first codewords. In one possible implementation, the first chip interleaves the decoded result and obtains at least one channel of second data based on the interleaved decoded result. After obtaining the decoded result, the first chip deletes the AM in the decoded result. The AM may be used to determine an AM corresponding to each of the at least one channel of second data.
[0157] Furthermore, the first chip performs data distribution on the decoding result obtained by removing the AM. For example, the decoding result obtained by removing the AM is converted into two-channel 800GE third data. The first chip performs data processing on the two-channel third data, for example, encoding the two-channel third data to obtain a plurality of second code words, and obtaining two-channel second data according to the plurality of second code words. It should be noted that the processing on the two-channel third data may be the same or different.
[0158] Then, the first chip inserts AM as synchronous data into the two-channel second data, and executes TX DSP on the data obtained by inserting the synchronous data to obtain two-channel 800G coherent light. The processing on the two-channel second data may be the same or different. In this way, the wavelengths of the obtained two-channel 800G coherent light may be the same or different.
[0159] Scenario 2: The first chip and the second chip are used in an end-to-end FEC architecture.
[0160] For example, scenario 2 corresponds to case 2 in the embodiment shown in Figure 2. The implementation environment of this scenario is shown in Figure 16, and the data transmission process is as follows:
[0161] The second chip transmits eight channels of first data to the first chip through the AUI. The MAC rates of the first data are all 100 Gb / s, and the first data are all data encoded based on the RS(544, 514) FEC code. The second chip transmits one channel of first data through one AUI, and the transmission rate is 106.25 Gb / s. The first chip includes eight processing units, and each processing unit is configured to process one channel of first data. After receiving the eight channels of first data, the first chip separately performs AM lock on the first data of each channel to align the first data to obtain a plurality of first codewords. Since the first data is data encoded based on the RS(544, 514) FEC code, the plurality of first codewords are codewords encoded based on the RS(544, 514) FEC code. For example, if the first data is data obtained by interleaving, the first chip performs AM lock on the first data to obtain an alignment result, and then performs deinterleaving on the alignment result to obtain a plurality of first code words based on the deinterleaving. The first chip may perform processing on the first data of all channels simultaneously, or may perform processing on the first data of one channel and then perform processing on the first data of another channel. This is not limited in this embodiment of the present application.
[0162] Further, the first chip performs data combining based on the multiple first code words. For example, the multiple first code words are combined into one channel of 800GE second data in a sequential transmission manner, or the multiple first code words are converted into at least two channels of 800GE second data. For example, the second data may be data that has been subjected to data processing. For example, the second data is interleaved data. Finally, the first chip performs TX DSP on the at least one channel of the second data to obtain 800G coherent light.
[0163] Scenario 3: The first chip and the second chip are used in a concatenated FEC architecture.
[0164] For example, scenario 3 corresponds to case 3 in the embodiment shown in Figure 2. The implementation environment of this scenario is shown in Figure 17, and the data transmission process is as follows:
[0165] The second chip transmits eight channels of first data to the first chip through the AUI. The MAC rates of the first data are all 100 Gb / s, and the first data are all data encoded based on the RS(544, 514) FEC code. The second chip transmits one channel of first data through one AUI, and the transmission rate is 106.25 Gb / s. The first chip includes eight processing units, and each processing unit is configured to process one channel of first data. After receiving the eight channels of first data, the first chip separately performs AM lock on the first data of each channel to align the first data to obtain a plurality of first codewords. Since the first data is data encoded based on the RS(544, 514) FEC code, the plurality of first codewords are codewords encoded based on the RS(544, 514) FEC code. For example, when the first data is data obtained by interleaving, the first chip performs AM lock on the first data to obtain an alignment result, and then performs deinterleaving on the alignment result to obtain a plurality of first code words based on the deinterleaving. For example, the first chip can further interleave the obtained plurality of first code words to obtain a plurality of interleaved first code words. The first chip may perform processing on the first data of all channels simultaneously, or may perform processing on the first data of one channel and then perform processing on the first data of another channel. This is not limited in this embodiment of the present application.
[0166] Furthermore, the first chip performs data combining based on the first data of all channels, for example, the first code words are combined into one channel of 800GE seventh data, or the first code words are converted into at least two channels of 800GE seventh data. The first chip performs data processing on the seventh data, for example, encodes the seventh data to obtain a plurality of third code words, and obtains at least one channel of second data based on the plurality of third code words.
[0167] And the first chip performs TX DSP on at least one channel of second data to obtain 800G coherent light.
[0168] Above, the data transmission method is described using the first module as an example. The following describes the process in which the third module performs data transmission after the first module transmits at least one channel of second data. As shown in Figure 18, the data transmission method includes the following steps:
[0169] S1801: A third module obtains second data of at least one channel, the second data of the at least one channel being data obtained by converting first data of the at least one channel, a sum of the rate of the second data of the at least one channel being greater than or equal to a sum of the rate of the first data of the at least one channel, and the first data being data encoded based on a first FEC code.
[0170] With reference to the implementation environment shown in Fig. 1, the third module obtains at least one channel of second data transmitted by the first module. With reference to the embodiment shown in Fig. 2, there are multiple ways for the first module to obtain at least one channel of second data. In this embodiment of the present application, the details are not repeated one by one here. For details, please refer to the contents of the embodiment shown in Fig. 2.
[0171] S1802: A third module converts at least one channel of second data to obtain at least one channel of first data.
[0172] There are multiple ways for the first module to obtain at least one channel of second data, so there are multiple cases of the second data. For different cases of the second data, the third module can use different ways to perform processing. For example, if the second data is data encoded based on a second FEC code, the third module decodes the second data based on the second FEC code to obtain decoded data.
[0173] Then, the third module can further process the decoded data. The manner in which the third module processes the second data is not limited in this embodiment of the present application. For example, the decoded data is subsequently sent to another module. In addition, the third module may be disposed in a third chip, the first module is disposed in the first chip, and the third module receives at least one channel of the second data sent by the first module through the AUI.
[0174] According to the method provided in this embodiment of the present application, the at least one channel of second data is converted to obtain at least one channel of first data whose sum of speeds is equal to or less than the sum of speeds of the at least one channel of second data, so that data transmission can be performed at a high speed. In addition, the second data can be data encoded based on the first FEC code and the second FEC code, so that the second data can be decoded using the second FEC code, and effective error correction can be performed on the data with bit errors when the data is transmitted through a channel prone to bit errors, so that the quality of data transmission can be improved.
[0175] An embodiment of the present application further provides a data transmission device. Figure 19 is a schematic diagram of the structure of a data transmission device according to an embodiment of the present application. Based on the following units shown in Figure 19, the data transmission device shown in Figure 19 can perform all or part of the work performed by the first module. It should be understood that the device may include more additional units than the units shown, or may omit some units shown in the device. This is not limited in this embodiment of the present application. As shown in Figure 19, the device includes: An acquisition unit 1901 configured to acquire first data of at least one channel, the first data being data encoded based on a first FEC code; a conversion unit 1902 configured to convert the at least one channel of first data to obtain the at least one channel of second data, wherein a sum of the rates of the at least one channel of second data is equal to or greater than a sum of the rates of the at least one channel of first data; a transmitting unit 1903 configured to transmit at least one channel of second data; Includes.
[0176] In one possible implementation, the conversion unit 1902 is configured to align at least one channel of first data, obtain a plurality of first codewords based on the alignment result, decode the plurality of first codewords, and obtain at least one channel of second data based on the decoding result.
[0177] In one possible implementation, the conversion unit 1902 is configured to encode the decoding result based on a second FEC code to obtain a plurality of second codewords, and to obtain at least one channel of second data based on the plurality of second codewords.
[0178] In one possible implementation, the transform unit 1902 is configured to interleave a plurality of second codewords, and obtain at least one channel of second data based on the interleaving result.
[0179] In one possible implementation, the first data includes an alignment indicator AM, and the AM is used to align the first data of at least one channel. The conversion unit 1902 is configured to remove the AM in the decoding result, and encode the decoding result obtained by removing the AM based on the second FEC code to obtain a plurality of second codewords.
[0180] In one possible implementation, the conversion unit 1902 is configured to combine the decoding result obtained by removing the AM with one channel of third data in a sequential transmission manner to obtain multiple second codewords, and encode the one channel of third data, or convert the decoding result obtained by removing the AM into at least two channels of third data to obtain multiple second codewords, and encode the at least two channels of third data.
[0181] In one possible implementation, the conversion unit 1902 is configured to combine the decoding result obtained by removing the AM into one channel of fourth data, and convert the one channel of fourth data into at least two channels of third data.
[0182] In one possible implementation, the conversion unit 1902 is configured to perform overall encoding on the one-channel third data based on the second FEC code to obtain a plurality of second codewords, or to convert the one-channel third data into at least two-channel fifth data and separately encode the at least two-channel fifth data based on the second FEC code to obtain a plurality of second codewords, where the rate of the fifth data is less than the rate of the third data.
[0183] In one possible implementation, the conversion unit 1902 is configured to perform overall encoding on at least two channels of third data based on the second FEC code to obtain a plurality of second codewords, or to individually encode the at least two channels of third data based on the second FEC code to obtain a plurality of second codewords.
[0184] In one possible implementation, the conversion unit 1902 is configured to perform full encoding on the at least two channels of third data based on the second FEC code separately to obtain a plurality of second codewords, or convert each of the at least two channels of third data into at least two channels of sixth data and separately encode the at least two channels of sixth data based on the second FEC code to obtain a plurality of second codewords, where the rate of the sixth data is less than the rate of the third data.
[0185] In one possible implementation, the conversion unit 1902 is configured to mark erroneous code blocks in the multiple code blocks included in the decoding result, and obtain second data of at least one channel based on the marked decoding result.
[0186] In one possible implementation, the conversion unit 1902 is configured to align at least one channel of first data, obtain a plurality of first codewords based on the alignment result, and obtain at least one channel of second data based on the plurality of first codewords.
[0187] In one possible implementation, the transform unit 1902 is configured to combine a plurality of first codewords and obtain at least one channel of second data based on the combination result.
[0188] In one possible implementation, the conversion unit 1902 is configured to combine multiple first codewords into one channel of second data in a sequential transmission manner, or to combine multiple first codewords into at least two channels of second data.
[0189] In one possible implementation, the transform unit 1902 is configured to deinterleave the alignment result, and obtain a plurality of first codewords based on the deinterleaving result.
[0190] In one possible implementation, the conversion unit 1902 is configured to encode at least one channel of first data based on a second FEC code to obtain a plurality of third codewords, and to obtain at least one channel of second data based on the plurality of third codewords.
[0191] In one possible implementation, the transform unit 1902 is configured to interleave a plurality of third codewords, and obtain at least one channel of second data based on the interleaving result.
[0192] In one possible implementation, the conversion unit 1902 is configured to combine at least one channel of first data to one channel of seventh data in a sequential transmission manner to obtain a plurality of third codewords and encode the one channel of seventh data, or to convert at least one channel of first data to at least two channels of seventh data to obtain a plurality of third codewords and encode the at least two channels of seventh data.
[0193] In one possible implementation, the conversion unit 1902 is configured to combine first data of at least one channel into eighth data of one channel, and convert the eighth data of one channel into seventh data of at least two channels.
[0194] In one possible implementation, the conversion unit 1902 is configured to perform overall encoding on the seventh data of one channel based on the second FEC code to obtain a plurality of third codewords, or to convert the seventh data of one channel into ninth data of at least two channels to obtain a plurality of third codewords, and to separately encode the ninth data of at least two channels based on the second FEC code, where the rate of the ninth data is less than the rate of the seventh data.
[0195] In one possible implementation, the conversion unit 1902 is configured to perform overall encoding on the at least two channels of seventh data based on the second FEC code to obtain a plurality of third codewords, or to individually encode the at least two channels of seventh data based on the second FEC code to obtain a plurality of third codewords.
[0196] In one possible implementation, the conversion unit 1902 is configured to perform overall encoding on the at least two channels of seventh data based on the second FEC code separately to obtain a plurality of third codewords, or convert each of the at least two channels of seventh data into at least two channels of tenth data and separately encode the at least two channels of tenth data based on the second FEC code to obtain a plurality of third codewords, where the rate of the tenth data is less than the rate of the seventh data.
[0197] In one possible implementation, the sending unit 1903 is configured to insert synchronization data into second data of at least one channel, and to send the data obtained by inserting the synchronization data.
[0198] In one possible implementation, the transmitting unit 1903 is configured to determine an AM corresponding to the second data of each channel of the at least one channel of the second data, and insert the AM corresponding to the second data of each channel into the second data of each channel as synchronization data.
[0199] In one possible implementation, the AM corresponding to the second data of each channel is obtained by adjusting the AM included in the corresponding first data, and the AM corresponding to the second data of each channel is the entire content of the AM included in the corresponding first data, or the AM corresponding to the second data of each channel is a partial content of the AM included in the corresponding first data.
[0200] Figure 20 is a schematic diagram of the structure of a data transmission device according to an embodiment of the present application. Based on the following units shown in Figure 20, the data transmission device shown in Figure 20 can perform all or part of the work performed by the third module. It should be understood that the device may include more additional units than the units shown, or may omit some units shown in the device. This is not limited in this embodiment of the present application. As shown in Figure 20, the device includes: an acquisition unit 2001 configured to acquire at least one channel of second data, the at least one channel of second data being data acquired by converting the at least one channel of first data, a sum of the rates of the at least one channel of second data being equal to or greater than a sum of the rates of the at least one channel of first data, and the first data being data encoded based on a first forward error correction FEC code; a conversion unit 2002 configured to convert at least one channel of second data to obtain at least one channel of first data; Includes.
[0201] It should be understood that when the apparatus provided in FIG. 19 and FIG. 20 implements the functions of the apparatus, the division into the above-mentioned functional modules is only used as an example for explanation. In actual application, the above-mentioned functions may be assigned to different functional units for implementation based on requirements. In other words, the internal structure of the device is divided into various functional units to implement all or part of the above-mentioned functions. In addition, the apparatus and method embodiments provided in the above-mentioned embodiments belong to the same concept. For the specific implementation process thereof, please refer to the method embodiment. Details will not be repeated here.
[0202] One embodiment of the present application provides a data transmission device, the device including a processor, coupled to a memory, the memory storing at least one program instruction or code, the at least one program instruction or code being loaded and executed by the processor to enable the data transmission device to perform a method of the aforementioned method embodiments.
[0203] FIG. 21 is a schematic diagram of the structure of a data transmitting device 1100 according to an exemplary embodiment of the present application. The data transmitting device 1100 is a sender / receiver device. The data transmitting device 1100 shown in FIG. 21 is configured to perform operations related to the data transmitting method shown in FIG. 2. The data transmitting device 1100 is, for example, a network device such as a switch or a router, or other devices including a chip-connected mode (such as a server or a PC). The hardware structure of the data transmitting device 1100 includes a communication interface 1101 and a processor 1102. Optionally, the communication interface 1101 and the processor 1102 are connected using a bus 1104. The communication interface 1101 is configured to obtain the first data and transmit the second data. The processor can store instructions or program codes and call the instructions or program codes to perform the functions performed by the first module or the functions performed by the third module. Optionally, the data transmitting device 1100 further includes a memory 1103. The memory 1103 stores instructions or program codes, and the processor 1102 is configured to call the instructions or program codes in the memory 1103 to enable the data transmitting device 1100 to execute the associated processing steps of the first module in the aforementioned method embodiment. In a particular embodiment, the data transmitting device 1100 of this embodiment of the present application may include the first module in the aforementioned method embodiment. The processor 1102 in the data transmitting device 1100 reads the instructions or program codes in the memory 1103 to enable the data transmitting device 1100 shown in FIG. 21 to execute all or part of the work performed by the first module.
[0204] In a particular embodiment, the data transmission device 1100 of this embodiment of the present application includes the third module in the above-mentioned method embodiment. The processor 1102 in the data transmission device 1100 reads instructions or program codes in the memory 1103 to enable the data transmission device 1100 shown in FIG. 21 to perform all or part of the work performed by the third module.
[0205] For example, the processor 1102 may be a general-purpose central processing unit (CPU), a digital signal processor (DSP), a network processor (NP), a graphics processing unit (GPU), a neural-network processing unit (NPU), a data processing unit (DPU), a microprocessor, or one or more integrated circuits configured to implement the solutions of the present application. For example, the processor 1102 may include an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The PLD may be, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. The processor may implement or execute various logic blocks, modules, and circuits described with reference to the contents disclosed in the embodiments of the present application, or the processor may be a combination of processors performing computational functions, such as a combination including one or more microprocessors, or a combination of a DSP and a microprocessor.
[0206] Optionally, the data transmitting device 1100 further includes a bus 1104. The bus 1104 is configured to transfer information between components of the data transmitting device 1100. The bus 1104 may be a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, etc. The bus 1104 can be classified as an address bus, a data bus, a control bus, etc. For ease of representation, there is only one thick line to represent a bus in FIG. 21, but this does not mean that there is only one bus or only one type of bus. In addition to being connected using the bus 1104, the components of the data transmitting device 1100 in FIG. 21 may be further connected in another manner. The manner in which the components are connected is not limited in this embodiment of the present application.
[0207] The memory 1103 may be, for example, but not limited to, a read-only memory (ROM) or other type of static storage capable of storing static information and instructions, or a random access memory (RAM) or other type of dynamic storage capable of storing information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other compact disc storage device, an optical disc storage device (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store expected program code in the form of instructions or data structures and that can be accessed by a computer. For example, the memory 1103 may exist independently and be connected to the processor 1102 through the bus 1104. Alternatively, the memory 1103 may be integrated with the processor 1102.
[0208] The communication interface 1101 is configured to communicate with another device or a communication network using a device such as a transceiver. The communication network may be an Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc. The communication interface 1101 may include a wired communication interface and may further include a wireless communication interface. Specifically, the communication interface 1101 may be an ethernet interface, a fast ethernet (FE) interface, a gigabit ethernet (GE) interface, an asynchronous transfer mode (ATM) interface, a wireless local area network (WLAN) interface, a cellular network communication interface, or a combination thereof. The ethernet interface may be an optical interface, an electrical interface, or a combination thereof. In this embodiment of the present application, the communication interface 1101 may be used for the data transmitting device 1100 to communicate with another device.
[0209] In a specific implementation, in one embodiment, the processor 1102 may include one or more CPUs. Each of the processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here may be one or more devices, circuits, and / or processing cores configured to process data (e.g., computer program instructions).
[0210] In a specific implementation, in one embodiment, the data transmitting device 1100 may include multiple processors, each of which may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU), where a processor may be one or more devices, circuits, and / or processing cores configured to process data (e.g., computer program instructions).
[0211] In a specific implementation, in one embodiment, the data transmission device 1100 may further include an output device and an input device. The output device communicates with the processor 1102 and can display information in multiple ways. For example, the output device may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device communicates with the processor 1102 and can receive input from a user in multiple ways. For example, the input device may be a mouse, a keyboard, a touch screen device, or a sensor device.
[0212] In some embodiments, the memory 1103 is configured to store program code for implementing the solutions of the present application, and the processor 1102 can execute the program code stored in the memory 1103. In other words, the data transmission device 1100 can implement the data transmission method provided in the method embodiment by using the processor 1102 and the program code in the memory 1103. The program code may include one or more software modules. Optionally, the processor 1102 may instead store program code or instructions for implementing the solutions of the present application.
[0213] In a specific embodiment, the data transmission device 1100 of this embodiment of the present application may include the first module in the above-mentioned method embodiment. The processor 1102 in the data transmission device 1100 reads the program code in the memory 1103 or the program code or instructions stored in the processor 1102 to enable the data transmission device 1100 shown in FIG. 21 to perform all or part of the work performed by the first module.
[0214] In a specific embodiment, the data transmission device 1100 of this embodiment of the present application may include the third module in the above-mentioned method embodiment. The processor 1102 in the data transmission device 1100 reads the program code in the memory 1103 or the program code or instructions stored in the processor 1102 to enable the data transmission device 1100 shown in FIG. 21 to perform all or part of the work performed by the third module.
[0215] The data transmitting device 1100 may further correspond to the apparatus shown in Figure 19 and Figure 20. Each functional unit in the apparatus shown in Figure 19 and Figure 20 is realized by using the software of the data transmitting device 1100. In other words, after the processor 1102 in the data transmitting device 1100 reads the program code stored in the memory 1103, the functional units included in the apparatus shown in Figure 19 and Figure 20 are generated.
[0216] The steps of the data transmission method shown in FIG. 2 to FIG. 18 are accomplished by integrated logic circuits of hardware in the processor of the data transmission device 1100 or by instructions in the form of software. The steps of the methods disclosed with reference to the embodiments of the present application may be performed and accomplished directly using a hardware processor, or may be performed and accomplished using a combination of hardware and software modules in the processor. The software modules may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, or a register. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the aforementioned method in cooperation with the hardware of the processor. To avoid repetition, the details will not be repeated here.
[0217] An embodiment of the present application further provides a data transmission system, the system including a first data transmission device and a second data transmission device, the first data transmission device configured to perform the method performed by the first module shown in FIG. 2, and the second data transmission device configured to perform the method performed by the third module shown in FIG.
[0218] For the functions of the first data transmitting device and the second data transmitting device in the system, please refer to the related descriptions shown in Figure 2 and Figure 18. Details will not be repeated one by one here.
[0219] It is to be understood that the processor may be a CPU, or may be another general purpose processor, a DSP, an ASIC, an FPGA, or another programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. The general purpose processor may be a microprocessor, any conventional processor, etc. It is noted that the processor may be a processor supporting the advanced reduced instruction set computing machines (ARM) architecture.
[0220] Further, in optional embodiments, the memory may include read-only memory and random access memory and may provide instructions and data to the processor. The memory may further include non-volatile random access memory. For example, the memory may further store information regarding the device type.
[0221] The memory may be volatile or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be ROM, programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), EEPROM, or flash memory. The volatile memory may be RAM, which acts as an external cache. By way of example and not of description, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchlink dynamic random access memory (SLDRAM), and direct rambus random access memory (DR RAM).
[0222] There is further provided a computer-readable storage medium, which stores at least one program instruction or code, which, when loaded and executed by a processor, enables the computer to perform the data transmission method illustrated in Figures 2 to 18.
[0223] The present application provides a computer program, which when executed by a computer, enables the processor or computer to perform corresponding steps and / or procedures in the above-mentioned method embodiments.
[0224] A chip is provided, the chip including a processor configured to retrieve and execute instructions stored in the memory from the memory so as to enable a device in which the chip is installed to perform the method of the aforementioned aspect.
[0225] Another chip is provided, the chip including an input interface, an output interface, a processor, and a memory. The input interface, the output interface, the processor, and the memory are connected to each other through internal connection paths. The processor is configured to execute code in the memory. The processor is configured to execute the method of the previous aspect when the code is executed.
[0226] A device is provided, the device including a chip according to any one of the preceding solutions.
[0227] A device is provided, the device including the first chip of any one of the preceding solutions and / or the third chip of any one of the preceding solutions.
[0228] In some embodiments, in FIG. 14 to FIG. 17, the second chip may be a transmitting device, e.g., a physical layer (PHY) chip in a router, switch, or server, and the first chip may be an interface of a receiving device, e.g., a chip in an optical module or a clock data recovery (CDR) / retimer chip. In some embodiments, the first chip may be a transmitting device, e.g., a PHY chip in a router, switch, or server, and the third chip may be an interface of a receiving device, e.g., a chip in an optical module or a CDR / retimer chip. The PHY chip may be a chip disposed on a substrate of a computing device. The chip may be any one or any combination of a CPU, NP, NPU, FPGA, programmable logic controller (PLC), etc.
[0229] In some embodiments, the first chip and the second chip communicate with each other over the AUI. In some embodiments, the third chip and the first chip communicate with each other over the AUI.
[0230] All or part of the embodiments may be implemented using software, hardware, firmware, or any combination thereof. When the embodiments are implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded into a computer and executed, the procedures or functions according to the present application are generated completely or partially. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired (e.g., coaxial cable, optical fiber, digital subscriber line) manner or in a wireless (e.g., infrared, radio wave, or microwave) manner. The computer-readable storage medium may be any available medium accessible by a computer, or may be a data storage device such as a server or data center that integrates one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk drive, or a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), a semiconductor medium (e.g., a solid state disk), etc.
[0231] In the above specific implementation, the objectives, technical solutions and beneficial effects of the present application are further described in detail. It should be understood that the above description is only a specific implementation of the present application, and is not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made based on the technical solutions of the present application shall fall within the protection scope of the present application.
[0232] Those skilled in the art can see by referring to the method steps and modules described in the embodiments disclosed herein that the method steps and modules can be implemented by using software, hardware, firmware, or any combination thereof. In order to clearly describe the compatibility of hardware and software, the steps and configurations of the embodiments are generally described in terms of functions in the above description. Whether a function is performed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can implement the described functions using various methods for each specific application, but it should not be considered that such implementation goes beyond the scope of this application.
[0233] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be implemented by hardware, or can be implemented by a program that instructs related hardware. The program can be stored in a computer-readable storage medium. The above-mentioned storage medium can be a read-only memory, a magnetic disk, a compact disk, etc.
[0234] When implementing the embodiments using software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer program instructions. In one example, the method according to the embodiments of the present application can be described in the context of machine-executable instructions. For example, the machine-executable instructions are included in a program module in a component for execution on a target real or virtual processor. Generally, a program module includes routines, programs, libraries, objects, classes, components, data structures, etc., to perform particular tasks or implement particular abstract data structures. In various embodiments, the functionality of the program modules may be combined or divided among the program modules described. The machine-executable instructions for the program modules may be executed locally or in a distributed device. In a distributed device, the program modules may be located in both local and remote storage media.
[0235] The computer program code used to implement the methods of the embodiments of the present application may be written in one or more programming languages. The computer program code may be provided to a processor of a general purpose computer, a special purpose computer, or another programmable data processing apparatus such that, when executed by the computer or another programmable data processing apparatus, the functions / operations specified in the flowcharts and / or block diagrams are performed. The program code may be executed entirely on the computer, partially on the computer, as a stand-alone software package, partially on the computer and partially on a remote computer, or entirely on a remote computer or server.
[0236] In the context of embodiments of the present application, computer program code and associated data may be carried on any suitable carrier to enable a device, apparatus, or processor to perform the various types of processes and operations described above. Examples of carriers include signals, computer readable media, etc.
[0237] Examples of signals may include electrical signals, optical signals, radio signals, audio signals, or other forms of propagated signals such as carrier waves or infrared signals.
[0238] A machine-readable medium may be any tangible medium that contains or stores a program used in or associated with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More specific examples of machine-readable storage media include electrical connections with one or more wires, a portable computer disk, a hard disk drive, a RAM, a ROM, an erasable programmable read-only memory (EPROM or flash memory), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0239] For convenience of description, it can be clearly understood by those skilled in the art that the detailed work processes of the above-mentioned systems, devices and modules should refer to the corresponding processes in the above-mentioned method embodiments, and the details will not be described repeatedly here.
[0240] In some embodiments provided in the present application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the described device embodiment is only an example. For example, the division into modules is only a logical division of functions, and there may be other division methods in actual application. For example, multiple modules or components may be combined or integrated into another system, and some characteristics may be ignored or not implemented. Furthermore, the shown or discussed mutual couplings or direct couplings or communication connections may be indirect couplings or communication connections implemented using some interfaces, devices, or modules, or may be electrical, mechanical, or other forms of connection.
[0241] The modules described as separate parts may or may not be physically separate, and the parts shown as modules may or may not be physical modules, specifically, may be located in one place or distributed over multiple network modules. Some or all of the modules may be selected based on actual requirements to achieve the objectives of the solutions of the embodiments of the present application.
[0242] In addition, the functional modules of the embodiments of the present application may be integrated into one processing module, or each of the modules may exist physically alone, or two or more modules may be integrated into one module. The aforementioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0243] When the integrated module is implemented in the form of a software function module and sold or used as an independent product, the integrated module may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be essentially, or the part that contributes to the prior art, or all or part of the technical solution may be expressed in the form of a software product. The computer software product includes some instructions stored in a storage medium and instructing a computer device (which may be a personal computer, a server, a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present application. The aforementioned storage medium includes any medium that can store program code, such as a USB flash drive, a removable hard disk drive, a ROM, a RAM, a magnetic disk, an optical disk, etc.
[0244] In this application, terms such as "first" and "second" are used to distinguish between the same or similar items having essentially the same function. It should be understood that there is no logical or chronological dependency between "first", "second" and "nth" and that there is no limitation on the quantity or order of execution. Although various elements are described in the following description using terms such as "first" and "second", it should also be understood that these elements should not be limited by these terms. These terms are used merely to distinguish one element from another element. For example, a first module can be referred to as a second module, and similarly, a second module can be referred to as a first module, without departing from the scope of the various examples described.
[0245] It should be further understood that the sequence numbers of the processes do not mean the execution order in the embodiments of the present application. The execution order of the processes should be determined based on the functions and internal logic of the processes, and should not be construed as any limitation on the implementation process of the embodiments of the present application.
[0246] In this application, the term "at least one" means one or more, and the term "a plurality of" means two or more. For example, a plurality of second packets means two or more second packets. The terms "system" and "network" may be used interchangeably herein.
[0247] It is to be understood that the terminology used in the description of the various examples herein is intended to describe particular examples only and is not intended to constitute a limitation. As used in the description of the various examples and the appended claims, the singular forms "one" ("a" and "an") and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.
[0248] It is to be further understood that the term "include" (also referred to as "includes," "including," "comprises," and / or "comprising") as used herein specifies the presence of stated features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or components.
[0249] It is further understood that the term "if" may also be interpreted to mean "when" (or "upon"), "in response to determining," or "in response to detecting." Similarly, the phrases "if it is determined that" or "if (a stated condition or event) is detected" may also be interpreted to mean "when it is determined that," "in response to determining," "when (a stated condition or event) is detected," or "in response to detecting (a stated condition or event)," depending on the context.
[0250] It should be understood that determining B based on A does not mean that B is determined based only on A; B may instead be determined based on A and / or other information.
[0251] It should be understood that references throughout this specification to "one embodiment," "an embodiment," and "a possible implementation" mean that a particular feature, structure, or characteristic associated with an embodiment or implementation is included in at least one embodiment of the present application. Thus, "in one embodiment," "in an embodiment," or "in a possible implementation" appearing throughout this specification do not necessarily refer to the same embodiment. Furthermore, these particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. [Explanation of symbols]
[0252] 1 Connection methods, scenarios, and cases 2. Connection methods, scenarios, and cases 3 Scenarios and cases 101 First Module 102 Second Module 103 Third Module 1100 Data transmission device 1101 Communication Interface 1102 Processor 1103 Memory 1104 Bus 1901 Acquired Units 1902 Conversion Unit 1903 Transmitter Unit 2001 Acquired Units 2002 Conversion Unit
Claims
1. obtaining, by a first module, at least one channel of first data, the at least one channel of first data being data encoded based on a first forward error correcting FEC code; converting, by the first module, the at least one channel of first data to obtain at least one channel of second data, wherein a sum of the rates of the at least one channel of second data is equal to or greater than a sum of the rates of the at least one channel of first data; transmitting, by the first module, second data of the at least one channel; A data transmission method comprising:
2. The step of converting, by the first module, the at least one channel of first data to obtain at least one channel of second data, further comprises: aligning, by the first module, the first data of the at least one channel; and obtaining a plurality of first code words based on an alignment result; decoding the plurality of first code words; and obtaining second data of the at least one channel based on a decoding result; 2. The method of claim 1, comprising:
3. The step of obtaining second data of the at least one channel based on a decoding result includes: encoding the decoded result based on a second FEC code to obtain a plurality of second codewords; obtaining second data for the at least one channel based on the plurality of second codewords; 3. The method of claim 2, comprising:
4. The step of obtaining second data of the at least one channel based on the plurality of second codewords includes: interleaving the plurality of second code words; and obtaining second data of the at least one channel based on a result of the interleaving.
4. The method of claim 3, comprising:
5. The first data includes an alignment indicator AM, and the AM is used to align the at least one channel of first data, and the step of encoding the decoding result based on a second FEC code to obtain a plurality of second codewords includes: removing the AM in the decoded result to obtain the second codewords; and encoding the decoded result obtained by removing the AM based on the second FEC code.
5. The method of claim 3 or 4, comprising:
6. The step of encoding the decoded result obtained by removing the AM based on the second FEC code to obtain the plurality of second codewords includes: Combining the decoded result obtained by removing the AM with a third data of one channel in a progressive transmission manner to obtain the plurality of second codewords; and encoding the third data of the one channel; or converting the decoded result obtained by removing the AM into third data of at least two channels to obtain the plurality of second code words; and encoding the third data of at least two channels.
6. The method of claim 5, comprising:
7. The step of converting the decoded result obtained by removing the AM into third data of at least two channels includes: combining the decoded result obtained by removing the AM with a fourth data of one channel; and converting the fourth data of the one channel into third data of the at least two channels.
7. The method of claim 6, comprising:
8. The step of encoding the one channel of third data to obtain the plurality of second codewords includes: performing overall coding on the one channel of third data based on the second FEC code to obtain the plurality of second codewords; or converting the one channel of third data into at least two channels of fifth data to obtain the plurality of second codewords; and separately encoding the at least two channels of fifth data based on the second FEC code, where a rate of the fifth data is less than a rate of the third data.
7. The method of claim 6, comprising:
9. The step of encoding the at least two channels of third data to obtain the plurality of second codewords comprises: performing overall coding on the at least two channels of third data based on the second FEC code to obtain the plurality of second codewords; or separately encoding the at least two channels of third data based on the second FEC code to obtain the plurality of second codewords.
8. The method of claim 6 or 7, comprising:
10. The step of separately encoding the at least two channels of third data based on the second FEC code to obtain the plurality of second codewords includes: performing overall encoding on the at least two channels of third data separately based on the second FEC code to obtain the plurality of second codewords; or converting each of the at least two channels of third data into at least two channels of sixth data to obtain the plurality of second codewords; and separately encoding the at least two channels of sixth data based on the second FEC code, wherein a rate of the sixth data is less than a rate of the third data; 10. The method of claim 9, comprising:
11. The step of obtaining second data of the at least one channel based on a decoding result includes: marking an error code block among a plurality of code blocks included in the decoding result; and obtaining second data of the at least one channel based on the marked decoding result.
11. The method according to any one of claims 2 to 10, comprising:
12. The step of converting, by the first module, the at least one channel of first data to obtain at least one channel of second data, further comprises: aligning, by the first module, the first data of the at least one channel; and obtaining a plurality of first code words based on an alignment result; obtaining second data for the at least one channel based on the plurality of first codewords; 2. The method of claim 1, comprising:
13. The step of obtaining second data of the at least one channel based on the plurality of first codewords includes: combining the plurality of first code words; and obtaining second data of the at least one channel based on a combination result.
13. The method of claim 12, comprising:
14. The step of combining the plurality of first code words and the step of obtaining the second data of the at least one channel based on a combination result include: combining the plurality of first codewords with a second channel of data in a sequential transmission manner; or combining said plurality of first codewords with at least two channels of second data; 14. The method of claim 13, comprising:
15. The first data of the at least one channel is data obtained by interleaving, and the step of obtaining a plurality of first code words based on the alignment result includes: deinterleaving the alignment result; and obtaining the first codewords based on the deinterleaving result.
15. The method of any one of claims 2 to 14, comprising:
16. The step of converting, by the first module, the at least one channel of first data to obtain at least one channel of second data, further comprises: encoding, by the first module, the at least one channel of first data based on a second FEC code to obtain a plurality of third codewords; obtaining, by the first module, second data of the at least one channel based on the plurality of third code words; 2. The method of claim 1, comprising:
17. The step of obtaining second data of the at least one channel based on the plurality of third code words includes: interleaving the plurality of third code words; and obtaining second data of the at least one channel based on a result of the interleaving.
17. The method of claim 16, comprising:
18. The step of encoding, by the first module, the first data of the at least one channel based on a second FEC code to obtain a plurality of third codewords, further comprises: combining the at least one channel of first data with one channel of seventh data in a progressive transmission manner to obtain the plurality of third codewords; and encoding the one channel of seventh data; or converting the at least one channel of first data into at least two channels of seventh data to obtain the plurality of third codewords; and encoding the at least two channels of seventh data.
18. The method of claim 16 or 17, comprising:
19. The step of converting the at least one channel first data into at least two channels seventh data comprises: combining the first data of the at least one channel into eighth data of one channel; and converting the eighth data of the one channel into seventh data of the at least two channels.
20. The method of claim 18, comprising:
20. The step of encoding the seventh data of the one channel to obtain the plurality of third codewords includes: performing overall coding on the seventh data of the one channel based on the second FEC code to obtain the third codewords; or converting the seventh data of the one channel into ninth data of at least two channels to obtain the plurality of third codewords; and separately encoding the ninth data of the at least two channels according to the second FEC code, wherein a rate of the ninth data is less than a rate of the seventh data.
20. The method of claim 18, comprising:
21. The step of encoding the at least two channels of seventh data to obtain the plurality of third codewords comprises: performing overall coding on the at least two channels of seventh data based on the second FEC code to obtain the plurality of third codewords; or separately encoding the at least two channels of seventh data based on the second FEC code to obtain the plurality of third codewords.
20. The method of claim 18 or 19, comprising:
22. The step of separately encoding the at least two channels of seventh data based on the second FEC code to obtain the plurality of third codewords includes: performing overall coding on the at least two channels of seventh data separately based on the second FEC code to obtain the plurality of third codewords; or converting each of the at least two channels of seventh data into at least two channels of tenth data to obtain the plurality of third codewords; and separately encoding the at least two channels of tenth data based on the second FEC code, wherein a rate of the tenth data is less than a rate of the seventh data; 22. The method of claim 21 , comprising:
23. The step of transmitting, by the first module, the second data of the at least one channel, further comprises: inserting, by the first module, synchronization data into the second data of the at least one channel; and transmitting data obtained by inserting the synchronization data.
23. The method of any one of claims 1 to 22, comprising:
24. The step of inserting synchronization data into the at least one channel of second data by the first module includes: determining an AM corresponding to each channel of second data of the at least one channel of second data; inserting the AM corresponding to the second data of each channel into the second data of each channel as synchronization data; 24. The method of claim 23, comprising:
25. the AM corresponding to the second data of each channel is obtained by adjusting the AM included in the corresponding first data; The AM corresponding to the second data of each channel is the entire content of the AM included in the corresponding first data; or The AM corresponding to the second data of each channel is a partial content of the AM included in the corresponding first data; The method of claim 24.
26. obtaining, by a third module, at least one channel of second data, the at least one channel of second data being data obtained by converting at least one channel of first data, a sum of the rates of the at least one channel of second data being equal to or greater than a sum of the rates of the at least one channel of first data, and the first data being data encoded based on a first forward error correcting FEC code; converting, by the third module, the at least one channel of second data to obtain the at least one channel of first data; A data transmission method comprising:
27. A data transmission device, the device being used in a first module, the device comprising: an acquisition unit configured to acquire at least one channel of first data, the first data being data encoded based on a first forward error correction (FEC) code; a conversion unit configured to convert the at least one channel of first data to obtain at least one channel of second data, the sum of the rates of the at least one channel of second data being equal to or greater than the sum of the rates of the at least one channel of first data; a transmitting unit configured to transmit the at least one channel of second data; A data transmission device comprising:
28. 28. The apparatus of claim 27, wherein the conversion unit is configured to align the at least one channel of first data, obtain a plurality of first codewords based on the alignment result, decode the plurality of first codewords, and obtain the at least one channel of second data based on the decoding result.
29. 30. The apparatus of claim 28, wherein the conversion unit is configured to encode the decoding result based on a second FEC code to obtain a plurality of second codewords, and to obtain second data for the at least one channel based on the plurality of second codewords.
30. 30. The apparatus of claim 29, wherein the conversion unit is configured to interleave the plurality of second codewords and obtain second data for the at least one channel based on an interleaving result.
31. 31. The apparatus of claim 29 or 30, wherein the first data includes an alignment indicator AM, the AM being used to align the first data of the at least one channel, and the conversion unit is configured to remove the AM in the decoding result to obtain the plurality of second codewords, and to encode the decoding result obtained by removing the AM based on the second FEC code.
32. 32. The apparatus of claim 31 , wherein the conversion unit is configured to: combine the decoding result obtained by removing the AM into one channel of third data in a progressive transmission manner to obtain the plurality of second codewords, and encode the one channel of third data; or convert the decoding result obtained by removing the AM into at least two channels of third data to obtain the plurality of second codewords, and encode the at least two channels of third data.
33. 33. The apparatus of claim 32, wherein the conversion unit is configured to combine the decoding result obtained by removing the AM into fourth data of one channel, and convert the fourth data of the one channel into third data of the at least two channels.
34. 33. The apparatus of claim 32, wherein the conversion unit is configured to: perform overall encoding on the one channel of third data based on the second FEC code to obtain the plurality of second codewords; or convert the one channel of third data to at least two channels of fifth data and individually encode the at least two channels of fifth data based on the second FEC code to obtain the plurality of second codewords, wherein a rate of the fifth data is less than a rate of the third data.
35. 34. The apparatus of claim 32 or 33, wherein the conversion unit is configured to: perform overall encoding on the at least two channels of third data based on the second FEC code to obtain the plurality of second codewords; or to individually encode the at least two channels of third data based on the second FEC code to obtain the plurality of second codewords.
36. 36. The apparatus of claim 35, wherein the conversion unit is configured to: individually perform overall encoding on the at least two channels of third data based on the second FEC code to obtain the plurality of second codewords; or convert each of the at least two channels of third data into at least two channels of sixth data and individually encode the at least two channels of sixth data based on the second FEC code to obtain the plurality of second codewords, wherein a rate of the sixth data is less than a rate of the third data.
37. 37. The apparatus of claim 28, wherein the conversion unit is configured to mark erroneous code blocks in a plurality of code blocks included in the decoding result, and obtain second data of the at least one channel based on the marked decoding result.
38. 28. The apparatus of claim 27, wherein the conversion unit is configured to align first data of the at least one channel, obtain a plurality of first code words based on an alignment result, and obtain second data of the at least one channel based on the plurality of first code words.
39. 40. The apparatus of claim 38, wherein the transform unit is configured to combine the plurality of first codewords and obtain the at least one channel of second data based on a combination result.
40. 40. The apparatus of claim 39, wherein the conversion unit is configured to combine the plurality of first codewords into one channel of second data in a sequential transmission manner, or to combine the plurality of first codewords into at least two channels of second data.
41. 41. The apparatus of claim 28, wherein the transform unit is configured to deinterleave the alignment result and obtain the plurality of first codewords based on the deinterleaving result.
42. 28. The apparatus of claim 27, wherein the conversion unit is configured to encode the first data of the at least one channel based on a second FEC code to obtain a plurality of third codewords, and to obtain the second data of the at least one channel based on the plurality of third codewords.
43. 43. The apparatus of claim 42, wherein the transform unit is configured to interleave the plurality of third codewords and obtain the at least one channel of second data based on an interleaving result.
44. 44. The apparatus of claim 42 or 43, wherein the conversion unit is configured to: combine the first data of the at least one channel to seventh data of one channel in a sequential transmission manner to obtain the plurality of third codewords, and encode the seventh data of the one channel; or convert the first data of the at least one channel to seventh data of at least two channels, and encode the seventh data of the at least two channels to obtain the plurality of third codewords.
45. 45. The apparatus of claim 44, wherein the conversion unit is configured to combine first data of the at least one channel into eighth data of one channel and convert the eighth data of the one channel into seventh data of the at least two channels.
46. 45. The apparatus of claim 44, wherein the conversion unit is configured to: perform overall encoding on the seventh data of the one channel based on the second FEC code to obtain the plurality of third codewords; or convert the seventh data of the one channel to ninth data of at least two channels and individually encode the ninth data of the at least two channels based on the second FEC code to obtain the plurality of third codewords, wherein a rate of the ninth data is less than a rate of the seventh data.
47. 46. The apparatus of claim 44 or 45, wherein the conversion unit is configured to: perform overall encoding on the at least two channels of seventh data based on the second FEC code to obtain the plurality of third codewords; or individually encode the at least two channels of seventh data based on the second FEC code to obtain the plurality of third codewords.
48. 48. The apparatus of claim 47, wherein the conversion unit is configured to: individually perform overall encoding on the at least two channels of seventh data based on the second FEC code to obtain the plurality of third codewords; or convert each of the at least two channels of seventh data to at least two channels of tenth data and individually encode the at least two channels of tenth data based on the second FEC code to obtain the plurality of third codewords, wherein a rate of the tenth data is less than a rate of the seventh data.
49. 49. The apparatus according to any one of claims 27 to 48, wherein the transmitting unit is configured to insert synchronization data into second data of the at least one channel, and to transmit data obtained by inserting the synchronization data.
50. 50. The apparatus of claim 49, wherein the transmitting unit is configured to determine an AM corresponding to the second data of each channel of the second data of the at least one channel, and insert the AM corresponding to the second data of each channel into the second data of each channel as synchronization data.
51. 51. The apparatus of claim 50, wherein the AM corresponding to the second data of each channel is obtained by adjusting the AM included in the corresponding first data, and the AM corresponding to the second data of each channel is the entire content of the AM included in the corresponding first data, or the AM corresponding to the second data of each channel is a partial content of the AM included in the corresponding first data.
52. A data transmission device, the device being used in a third module, the device comprising: an acquisition unit configured to acquire at least one channel of second data, the at least one channel of second data being data acquired by converting at least one channel of first data, a sum of the rates of the at least one channel of second data being equal to or greater than a sum of the rates of the at least one channel of first data, and the first data being data encoded based on a first forward error correction FEC code; a conversion unit configured to convert the at least one channel of second data to obtain the at least one channel of first data; A data transmission device comprising:
53. A data transmission device comprising a processor, the processor coupled to a memory, the memory storing at least one program instruction or code, the at least one program instruction or code being loaded and executed by the processor to enable the data transmission device to perform a method according to any one of claims 1 to 26.
54. A data transmission system comprising a first data transmission device and a second data transmission device, the first data transmission device configured to perform the method of any one of claims 1 to 25 and the second data transmission device configured to perform the method of claim 26.
55. 27. A computer readable storage medium storing at least one program instruction or code, the program instruction or code being loaded and executed by a computer to enable the computer to perform a method according to any one of claims 1 to 26.
56. 27. A computer program product comprising computer program code which, when executed on a computer, enables the computer to carry out the method of any one of claims 1 to 26.
Citation Information
Patent Citations
A method and apparatus for optical monitor channel processing in an optical network
CN109257093A
A data transmission system having a relay station between a transmitting station and a receiving station
JP2001515297A
Packet relay device and method thereof, packet reception device and method thereof, packet relay program and recording medium recording program, and packet reception program and recording medium recording program
JP2005012753A
Signal quality information notification method and relay communication device
JP2019220883A
Optical Supervisory Channel Processing Method and Apparatus in Optical Network
US20200153529A1
