CN118054860A - Data processing method, device, equipment and readable storage medium - Google Patents

Data processing method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN118054860A
CN118054860A CN202211434078.5A CN202211434078A CN118054860A CN 118054860 A CN118054860 A CN 118054860A CN 202211434078 A CN202211434078 A CN 202211434078A CN 118054860 A CN118054860 A CN 118054860A
Authority
CN
China
Prior art keywords
bit
code block
data
order
encoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211434078.5A
Other languages
Chinese (zh)
Inventor
蔡谦
张德朝
李晗
王东
孙将
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202211434078.5A priority Critical patent/CN118054860A/en
Publication of CN118054860A publication Critical patent/CN118054860A/en
Pending legal-status Critical Current

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

The invention provides a data processing method, a device, equipment and a readable storage medium, and relates to the technical field of communication. The method comprises the following steps: serializing the service data to obtain serialized data, wherein the serialized data comprises a plurality of binary bits; coding the serialized data according to a predefined rule to obtain third-order coded data, wherein the third-order coded data comprises a predefined code block, a first code block and a second code block, the first bit is one bit with a first bit value, and the second bit is one bit with a second bit value; and obtaining and transmitting an optical signal according to the third-order coded data. The optical signal is obtained by the third-order coded data, so that the optical signal can realize the third-order transmission modulation, the problem of transmission performance degradation of the 4-order modulation is reduced on the basis of retaining the transmission of the multi-order modulation, the long-distance transmission performance is optimized, more transmission allowance can be provided, and the requirement of a future transmission network is better met.

Description

Data processing method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data processing method, apparatus, device, and readable storage medium.
Background
In the related art, 5G transmission is based on a Slice Packet Network (SPN) mechanism. After entering the SPN transmission equipment through the user network interface (User Network Interface, UNI), the data is classified by the data to distinguish the data types, and then enters the network node interface (Network Node Interface, NNI) forwarding flow. For multi-service access, the SPN needs to support transmission pipelines of various different services, including 5G, 4G, customer collection, home width, and the like, and different transmission grades are required for different services, including bandwidth, time delay, jitter, reliability, security, and the like, and different transmission pipelines need to be configured to meet the requirements. On the line interface, a 4 pulse amplitude modulation (Pulse Amplitude Modulation, PAM) modulation interface is generally adopted to support the service transmission with the rates of 50g,100g and the like. Because 4-order modulation is adopted on the line optical interface, the service signal is modulated into 4-order signals through PAM4 digital signal Processing (DIGITAL SIGNAL Processing, DSP), and the 4-order signals are transmitted on the line side, so that the baud rate of the laser can be reduced by half, and the system implementation is optimized. Meanwhile, the high order also causes a problem that line side loss including optical fiber transmission loss, optical interface loss and multipath reflection loss is introduced due to the transmission of 10KM or more, and the transmission performance is deteriorated, resulting in error code of the transmission data.
Disclosure of Invention
The invention aims to provide a data processing method, a device, equipment and a readable storage medium, which are used for solving the problem that the transmission performance is deteriorated by the existing scheme of modulating a service signal into a 4-order signal.
To achieve the above object, an embodiment of the present invention provides a data processing method, applied to an encoding apparatus, including:
Serializing the service data to obtain serialized data, wherein the serialized data comprises a plurality of binary bits;
The serialization data is encoded according to a predefined rule to obtain third-order encoded data, wherein the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with the bit value being the first bit value, and the second bit is one bit with the bit value being the second bit value;
and obtaining and transmitting an optical signal according to the third-order coded data.
Optionally, encoding the serialized data according to a predefined rule to obtain third order encoded data, including:
encoding at least two bits with preset bit values in the serialized data to obtain at least one predefined code block;
Encoding first bits of the serialized data that are not encoded into a first code block, and encoding second bits of the serialized data that are not encoded into a second code block;
And obtaining third-order coded data according to the predefined code block, the first code block and the second code block.
Optionally, obtaining an optical signal according to the third-order encoded data includes:
performing linear modulation processing on the third-order coded data to obtain a third-order analog signal;
And obtaining the optical signal according to the third-order analog signal.
Optionally, serializing the service data to obtain serialized data, including:
and processing the service data through an analog-digital conversion ADC module and a serializer to obtain serialized data.
The embodiment of the invention also provides a data processing method which is applied to the decoding equipment and comprises the following steps:
according to the obtained optical signal, third-order coded data are obtained, wherein the third-order coded data comprise a predefined code block, a first code block and a second code block, the predefined code block is obtained by coding at least two bits with bit values being preset bit values, the first code block is obtained by coding first bits, the second code block is obtained by coding second bits, the first bits are one bit with the bit values being the first bit values, and the second bits are one bit with the bit values being the second bit values;
Performing decoding processing on the third-order coded data to obtain third-order decoded data, wherein the third-order decoded data comprises a first bit, a second bit and a predefined code block;
And obtaining service data according to the two bits corresponding to the predefined code block, the first bit and the second bit.
Optionally, obtaining third-order encoded data according to the obtained optical signal includes:
Acquiring a third-order analog signal according to the optical signal;
and carrying out linear demodulation processing on the third-order analog signal to obtain third-order coded data.
Optionally, obtaining service data according to the two bits corresponding to the predefined code block, the first bit and the second bit includes:
Obtaining serialized data according to the two bits, the first bit and the second bit corresponding to the predefined code block;
And processing the serialized data through a digital-to-analog DAC module and a serializer to obtain the service data.
The embodiment of the invention also provides a data processing device, which is applied to the encoding equipment and comprises:
the first processing module is used for carrying out serialization processing on the service data to obtain serialized data, wherein the serialized data comprises a plurality of binary bits;
The second processing module is used for encoding the serialized data according to a predefined rule to obtain third-order encoded data, wherein the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with the bit value being the first bit value, and the second bit is one bit with the bit value being the second bit value;
and the transmission module is used for obtaining and transmitting the optical signal according to the third-order coded data.
The embodiment of the invention also provides a data processing device, which is applied to decoding equipment and comprises:
The third processing module is used for obtaining third-order coded data according to the obtained optical signal, wherein the third-order coded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by coding at least two bits with a bit value being a preset bit value, the first code block is obtained by coding a first bit, the second code block is obtained by coding a second bit, the first bit is one bit with the bit value being the first bit value, and the second bit is one bit with the bit value being the second bit value;
A fourth processing module, configured to decode the third-order encoded data to obtain third-order decoded data, where the third-order decoded data includes a first bit, a second bit, and a predefined code block;
and a fifth processing module, configured to obtain service data according to the two bits corresponding to the predefined code block, the first bit and the second bit.
The embodiment of the invention also provides a data processing device, which is applied to the encoding equipment and comprises: a first transceiver and a first processor;
The first processor is used for serializing the service data to obtain serialized data, and the serialized data comprises a plurality of binary bits; the serialization data is encoded according to a predefined rule to obtain third-order encoded data, wherein the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with the bit value being the first bit value, and the second bit is one bit with the bit value being the second bit value; and obtaining an optical signal according to the third-order coded data and transmitting the optical signal through a first transceiver.
The embodiment of the invention also provides a data processing device, which is applied to decoding equipment and comprises: a second transceiver and a second processor;
The second processor is configured to obtain third-order encoded data according to the obtained optical signal, where the third-order encoded data includes a predefined code block, a first code block and a second code block, where the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with a bit value being the first bit value, and the second bit is one bit with a bit value being the second bit value;
Performing decoding processing on the third-order coded data to obtain third-order decoded data, wherein the third-order decoded data comprises a first bit, a second bit and a predefined code block;
And obtaining service data according to the two bits corresponding to the predefined code block, the first bit and the second bit.
The embodiment of the invention also provides a data processing device, which comprises: a transceiver, a processor, a memory, and a program or instructions stored on the memory and executable on the processor; the processor, when executing the program or instructions, implements the steps of the data processing method as described above.
The embodiment of the present invention also provides a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the data processing method as described above.
The technical scheme of the invention has the following beneficial effects:
In the embodiment of the invention, the service data is serialized to obtain serialized data; the method comprises the steps of encoding serialized data according to a predefined rule to obtain third-order encoded data, wherein the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with bit values being preset bit values, the first code block is obtained by encoding first bits, the second code block is obtained by encoding second bits, the first bits are one bit with the bit values being the first bit values, and the second bits are one bit with the bit values being the second bit values; and obtaining and transmitting an optical signal according to the third-order coded data. The optical signal is obtained by the third-order coded data, so that the optical signal can realize the third-order transmission modulation, the problem of transmission performance degradation of the 4-order modulation is reduced on the basis of retaining the transmission of the multi-order modulation, the long-distance transmission performance is optimized, more transmission allowance can be provided, and the requirement of a future transmission network is better met.
Drawings
FIG. 1 is a flowchart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of serializing service data according to an embodiment of the present invention;
FIG. 3 is a second schematic diagram illustrating serializing processing of service data according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of third order encoding of serialized data in accordance with an embodiment of the invention;
FIG. 5 is a schematic diagram of modulation by a third order modem according to an embodiment of the present invention;
FIG. 6 is a second flowchart of a data processing method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 8 is a second block diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 9 is a block diagram showing a data processing apparatus according to an embodiment of the present invention;
FIG. 10 is a second block diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 11 is a third block diagram of a data processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved more apparent, the following detailed description will be given with reference to the accompanying drawings and specific embodiments.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
In addition, the terms "system" and "network" are often used interchangeably herein.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B may be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may also determine B from a and/or other information.
As shown in fig. 1, an embodiment of the present invention provides a data processing method, which is applied to an encoding device, including:
Step 101: and serializing the service data to obtain serialized data, wherein the serialized data comprises a plurality of binary bits.
Optionally, serializing the service data to obtain serialized data, including:
and processing the service data through an analog-digital conversion ADC module and a serializer to obtain serialized data.
As shown in fig. 2, if the ADC module is an NRZ module, the ADC module directly decodes one or more 01 data, and simultaneously sends the decoded 01 data to a serializer (serialize) for serializing, and outputs serial 01 data (i.e., serialized data).
As shown in fig. 3, if the ADC module is a PAM4 module, the data of 00, 01, 10, and 11 are decoded, and sent to a serializer (serialize) for serializing, and serial 01 data (i.e., serialized data) is output.
Optionally, during the reverse processing, after receiving the serial 01 data, the serializer performs corresponding NRZ or PAM4 encoding, and sends the encoded data through the DAC.
Step 102: the serialization data is encoded according to a predefined rule to obtain third-order encoded data, the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with the bit value being the first bit value, and the second bit is one bit with the bit value being the second bit value.
Optionally, the predefined rule includes: encoding at least two bits of a bit value of a preset bit value as C2, predefining a code block for C2; the first bit is then encoded as C1 and the second bit is encoded as C2.
For example, consecutive serial 01 is encoded as C2 or consecutive serial 11 is encoded as C2 or consecutive serial 10 is encoded as C2 or consecutive serial 00 is encoded as C2.
Alternatively, the first bit may be specifically 0, and the second bit may be 1, that is, the first bit value is 0, and the second bit value is 1;
or the first bit is 1, the second bit is 0, that is, the first bit value is 1, and the second bit value is 0.
Step 103: and obtaining and transmitting an optical signal according to the third-order coded data.
Here, the encoding device obtains an optical signal and transmits the optical signal to the decoding device.
The encoding device in the embodiment of the application can be specifically an encoding device in a high-speed electric chip, and the decoding device can be specifically a decoding device in the high-speed electric chip.
The data processing method of the embodiment of the invention carries out serialization processing on the service data to obtain serialized data; the method comprises the steps of encoding serialized data according to a predefined rule to obtain third-order encoded data, wherein the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with bit values being preset bit values, the first code block is obtained by encoding first bits, the second code block is obtained by encoding second bits, the first bits are one bit with the bit values being the first bit values, and the second bits are one bit with the bit values being the second bit values; and obtaining and transmitting an optical signal according to the third-order coded data. The optical signal is obtained by the third-order coded data, so that the optical signal can realize the third-order transmission modulation, the problem of transmission performance degradation of the 4-order modulation is reduced on the basis of retaining the transmission of the multi-order modulation, the long-distance transmission performance is optimized, more transmission allowance can be provided, and the requirement of a future transmission network is better met.
Optionally, encoding the serialized data according to a predefined rule to obtain third order encoded data, including:
encoding at least two bits with preset bit values in the serialized data to obtain at least one predefined code block;
Encoding first bits of the serialized data that are not encoded into a first code block, and encoding second bits of the serialized data that are not encoded into a second code block;
And obtaining third-order coded data according to the predefined code block, the first code block and the second code block.
In one implementation of the present application, as shown in FIG. 4, consecutive serial 01 is encoded as C2, 0 is encoded as C0 (first code block), 1 is encoded as C1 (second code block), and after encoding serialized data 100110101010010101, C1C 0C 2C 1C 2C 2C 2C 0C 2C 2C 2 is obtained.
Optionally, obtaining an optical signal according to the third-order encoded data includes:
performing linear modulation processing on the third-order coded data to obtain a third-order analog signal;
And obtaining the optical signal according to the third-order analog signal.
In one implementation of the present application, as shown in fig. 5, the third-order analog signal is obtained by linearly modulating the third-order encoded data with a third-order modem. The third-order analog signal is obtained, then is processed and sent to the optical chip to be converted into an optical signal, and then is transmitted.
The method of the embodiment of the invention carries out serialization processing on the business data to obtain serialized data; the method comprises the steps of encoding serialized data according to a predefined rule to obtain third-order encoded data, wherein the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with bit values being preset bit values, the first code block is obtained by encoding first bits, the second code block is obtained by encoding second bits, the first bits are one bit with the bit values being the first bit values, and the second bits are one bit with the bit values being the second bit values; and obtaining and transmitting an optical signal according to the third-order coded data. The optical signal is obtained by the third-order coded data, so that the optical signal can realize the third-order transmission modulation, the problem of transmission performance degradation of the 4-order modulation is reduced on the basis of retaining the transmission of the multi-order modulation, the long-distance transmission performance is optimized, more transmission allowance can be provided, and the requirement of a future transmission network is better met.
As shown in fig. 6, an embodiment of the present application further provides a data processing method, which is applied to a decoding device, including:
Step 601: according to the obtained optical signal, third-order coded data are obtained, wherein the third-order coded data comprise a predefined code block, a first code block and a second code block, the predefined code block is obtained by coding at least two bits with bit values being preset bit values, the first code block is obtained by coding first bits, the second code block is obtained by coding second bits, the first bits are one bit with the bit values being the first bit values, and the second bits are one bit with the bit values being the second bit values;
Step 602: and decoding the third-order coded data to obtain third-order decoded data, wherein the third-order decoded data comprises a first bit, a second bit and a predefined code block.
Step 603: and obtaining service data according to the two bits corresponding to the predefined code block, the first bit and the second bit.
Here, the decoding apparatus obtains the service data and transmits the data to the server HOST.
Optionally, obtaining third-order encoded data according to the obtained optical signal includes:
Acquiring a third-order analog signal according to the optical signal;
and carrying out linear demodulation processing on the third-order analog signal to obtain third-order coded data.
Optionally, obtaining service data according to the two bits corresponding to the predefined code block, the first bit and the second bit includes:
Obtaining serialized data according to the two bits, the first bit and the second bit corresponding to the predefined code block;
And processing the serialized data through a digital-to-analog DAC module and a serializer to obtain the service data.
It should be noted that, in the embodiment of the present invention, the data processing method executed by the decoding device is a method corresponding to the data processing method executed by the encoding device, and the specific implementation process will not be described in detail.
According to the method, third-order coding data are obtained according to the obtained optical signals; performing decoding processing on the third-order coded data to obtain third-order decoded data, wherein the third-order decoded data comprises a first bit, a second bit and a predefined code block; and obtaining service data according to the two bits corresponding to the predefined code block, the first bit and the second bit. The optical signal is obtained by the third-order coded data, so that the optical signal can realize the third-order transmission modulation, the problem of transmission performance degradation of the 4-order modulation is reduced on the basis of retaining the transmission of the multi-order modulation, the long-distance transmission performance is optimized, more transmission allowance can be provided, and the requirement of a future transmission network is better met.
As shown in fig. 7, an embodiment of the present invention further provides a data processing apparatus 700, applied to an encoding device, including:
a first processing module 701, configured to serialize service data to obtain serialized data, where the serialized data includes a plurality of binary bits;
A second processing module 702, configured to encode the serialized data according to a predefined rule to obtain third-order encoded data, where the third-order encoded data includes a predefined code block, a first code block and a second code block, where the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with a bit value being a first bit value, and the second bit is one bit with a bit value being a second bit value;
and the transmission module 703 is configured to obtain an optical signal according to the third-order encoded data and send the optical signal.
Optionally, the second processing module includes:
a first processing sub-module, configured to encode at least two bits with a bit value being a preset bit value in the serialized data, to obtain at least one predefined code block;
A second processing sub-module configured to encode first bits of the serialized data that are not encoded into a first code block and encode second bits of the serialized data that are not encoded into a second code block;
And the third processing sub-module is used for obtaining third-order coded data according to the predefined code block, the first code block and the second code block.
Optionally, the transmission module includes:
The first acquisition sub-module is used for carrying out linear modulation processing on the third-order coded data to obtain a third-order analog signal;
And the second acquisition sub-module is used for obtaining the optical signal according to the third-order analog signal.
Optionally, the first processing module is configured to process the service data through an analog-to-digital conversion ADC module and a serializer, to obtain serialized data.
The data processing device of the embodiment of the invention carries out serialization processing on service data to obtain serialized data; the method comprises the steps of encoding serialized data according to a predefined rule to obtain third-order encoded data, wherein the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with bit values being preset bit values, the first code block is obtained by encoding first bits, the second code block is obtained by encoding second bits, the first bits are one bit with the bit values being the first bit values, and the second bits are one bit with the bit values being the second bit values; and obtaining and transmitting an optical signal according to the third-order coded data. The optical signal is obtained by the third-order coded data, so that the optical signal can realize the third-order transmission modulation, the problem of transmission performance degradation of the 4-order modulation is reduced on the basis of retaining the transmission of the multi-order modulation, the long-distance transmission performance is optimized, more transmission allowance can be provided, and the requirement of a future transmission network is better met.
As shown in fig. 8, an embodiment of the present invention further provides a data processing apparatus 800, which is applied to a decoding device, and includes:
A third processing module 801, configured to obtain third-order encoded data according to the obtained optical signal, where the third-order encoded data includes a predefined code block, a first code block and a second code block, where the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with a bit value being the first bit value, and the second bit is one bit with a bit value being the second bit value;
a fourth processing module 802, configured to decode the third-order encoded data to obtain third-order decoded data, where the third-order decoded data includes a first bit, a second bit, and a predefined code block;
And a fifth processing module 803, configured to obtain service data according to the two bits corresponding to the predefined code block, the first bit and the second bit.
Optionally, the third processing module includes:
The third acquisition sub-module is used for acquiring a third-order analog signal according to the optical signal;
And the fourth acquisition sub-module is used for carrying out linear demodulation processing on the third-order analog signals to obtain third-order coded data.
Optionally, the fifth processing module includes:
A fifth obtaining sub-module, configured to obtain serialized data according to two bits corresponding to the predefined code block, the first bit and the second bit;
And the sixth acquisition sub-module is used for processing the serialized data through the digital-analog DAC module and the serializer to obtain the service data.
In the embodiment of the invention, third-order coding data are obtained according to the acquired optical signals; performing decoding processing on the third-order coded data to obtain third-order decoded data, wherein the third-order decoded data comprises a first bit, a second bit and a predefined code block; and obtaining service data according to the two bits corresponding to the predefined code block, the first bit and the second bit. The optical signal is obtained by the third-order coded data, so that the optical signal can realize the third-order transmission modulation, the problem of transmission performance degradation of the 4-order modulation is reduced on the basis of retaining the transmission of the multi-order modulation, the long-distance transmission performance is optimized, more transmission allowance can be provided, and the requirement of a future transmission network is better met.
As shown in fig. 9, an embodiment of the present invention further provides a data processing apparatus, applied to an encoding device, including: a first transceiver 920 and a first processor 910;
The first processor 910 is configured to serialize service data to obtain serialized data, where the serialized data includes a plurality of binary bits; the serialization data is encoded according to a predefined rule to obtain third-order encoded data, wherein the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with the bit value being the first bit value, and the second bit is one bit with the bit value being the second bit value; and obtaining an optical signal according to the third-order coded data and transmitting the optical signal through a first transceiver.
It should be noted that, the device is a device corresponding to a method embodiment executed by the encoding apparatus, and all implementation manners of the method embodiment can be applied to the device embodiment, and the same technical effects can be achieved, which is not described herein.
As shown in fig. 10, an embodiment of the present invention further provides a data processing apparatus, which is applied to a decoding device, including: a second transceiver 1020 and a second processor 1010;
The second processor 1010 is configured to obtain third-order encoded data according to the obtained optical signal, where the third-order encoded data includes a predefined code block, a first code block and a second code block, where the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with a bit value being the first bit value, and the second bit is one bit with a bit value being the second bit value;
Performing decoding processing on the third-order coded data to obtain third-order decoded data, wherein the third-order decoded data comprises a first bit, a second bit and a predefined code block;
And obtaining service data according to the two bits corresponding to the predefined code block, the first bit and the second bit.
It should be noted that, the device is a device corresponding to a method embodiment executed by the decoding apparatus, and all implementation manners of the method embodiment can be applied to the device embodiment, and the same technical effects can be achieved, which is not described herein.
As shown in fig. 11, the embodiment of the present invention further provides a data processing apparatus, as shown in fig. 11, including a transceiver 1110, a processor 1100, a memory 1120, and a program or an instruction stored in the memory 1120 and executable on the processor 1100; the processor 1100, when executing the programs or instructions, performs the steps of the methods described above.
The transceiver 1110 is configured to receive and transmit data under the control of the processor 1100.
Wherein in fig. 11, a bus architecture may comprise any number of interconnected buses and bridges, and in particular one or more processors represented by processor 1100 and various circuits of memory represented by memory 1120, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The transceiver 1110 may be a number of elements, i.e., include a transmitter and a receiver, providing a means for communicating with various other apparatus over a transmission medium. The user interface 1130 may also be an interface capable of interfacing with an inscribed desired device for a different user device, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 1100 is responsible for managing the bus architecture and general processing, and the memory 1120 may store data used by the processor 1100 in performing operations.
The readable storage medium of the embodiment of the present invention stores a program or an instruction, which when executed by a processor, implements the steps in the data processing method described above, and can achieve the same technical effects, and is not described herein again for avoiding repetition.
Wherein the processor is a processor in the data processing apparatus described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a magnetic disk or an optical disk.
It is further noted that the terminals described in this specification include, but are not limited to, smartphones, tablets, etc., and that many of the functional components described are referred to as modules in order to more particularly emphasize their implementation independence.
In an embodiment of the invention, the modules may be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different bits which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Likewise, operational data may be identified within modules and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices.
Where a module may be implemented in software, taking into account the level of existing hardware technology, a module may be implemented in software, and one skilled in the art may, without regard to cost, build corresponding hardware circuitry, including conventional Very Large Scale Integration (VLSI) circuits or gate arrays, and existing semiconductors such as logic chips, transistors, or other discrete components, to achieve the corresponding functions. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
The exemplary embodiments described above are described with reference to the drawings, many different forms and embodiments are possible without departing from the spirit and teachings of the present invention, and therefore, the present invention should not be construed as limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will convey the scope of the invention to those skilled in the art. In the drawings, the size of the elements and relative sizes may be exaggerated for clarity. The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Unless otherwise indicated, a range of values includes the upper and lower limits of the range and any subranges therebetween.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (13)

1. A data processing method applied to an encoding apparatus, comprising:
Serializing the service data to obtain serialized data, wherein the serialized data comprises a plurality of binary bits;
The serialization data is encoded according to a predefined rule to obtain third-order encoded data, wherein the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with the bit value being the first bit value, and the second bit is one bit with the bit value being the second bit value;
and obtaining and transmitting an optical signal according to the third-order coded data.
2. The method of claim 1, wherein encoding the serialized data according to a predefined rule results in third order encoded data, comprising:
encoding at least two bits with preset bit values in the serialized data to obtain at least one predefined code block;
Encoding first bits of the serialized data that are not encoded into a first code block, and encoding second bits of the serialized data that are not encoded into a second code block;
And obtaining third-order coded data according to the predefined code block, the first code block and the second code block.
3. The method of claim 1, wherein obtaining an optical signal from the third-order encoded data comprises:
performing linear modulation processing on the third-order coded data to obtain a third-order analog signal;
And obtaining the optical signal according to the third-order analog signal.
4. The method of claim 2, wherein serializing the traffic data to obtain serialized data comprises:
and processing the service data through an analog-digital conversion ADC module and a serializer to obtain serialized data.
5. A data processing method applied to a decoding apparatus, comprising:
according to the obtained optical signal, third-order coded data are obtained, wherein the third-order coded data comprise a predefined code block, a first code block and a second code block, the predefined code block is obtained by coding at least two bits with bit values being preset bit values, the first code block is obtained by coding first bits, the second code block is obtained by coding second bits, the first bits are one bit with the bit values being the first bit values, and the second bits are one bit with the bit values being the second bit values;
Performing decoding processing on the third-order coded data to obtain third-order decoded data, wherein the third-order decoded data comprises a first bit, a second bit and a predefined code block;
And obtaining service data according to the two bits corresponding to the predefined code block, the first bit and the second bit.
6. The method of claim 5, wherein obtaining third-order encoded data from the acquired optical signal comprises:
Acquiring a third-order analog signal according to the optical signal;
and carrying out linear demodulation processing on the third-order analog signal to obtain third-order coded data.
7. The method of claim 5, wherein obtaining service data based on the two bits corresponding to the predefined code block, the first bit, and the second bit, comprises:
Obtaining serialized data according to the two bits, the first bit and the second bit corresponding to the predefined code block;
And processing the serialized data through a digital-to-analog DAC module and a serializer to obtain the service data.
8. A data processing apparatus for use in an encoding device, comprising:
the first processing module is used for carrying out serialization processing on the service data to obtain serialized data, wherein the serialized data comprises a plurality of binary bits;
The second processing module is used for encoding the serialized data according to a predefined rule to obtain third-order encoded data, wherein the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with the bit value being the first bit value, and the second bit is one bit with the bit value being the second bit value;
and the transmission module is used for obtaining and transmitting the optical signal according to the third-order coded data.
9. A data processing apparatus for use in a decoding device, comprising:
The third processing module is used for obtaining third-order coded data according to the obtained optical signal, wherein the third-order coded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by coding at least two bits with a bit value being a preset bit value, the first code block is obtained by coding a first bit, the second code block is obtained by coding a second bit, the first bit is one bit with the bit value being the first bit value, and the second bit is one bit with the bit value being the second bit value;
A fourth processing module, configured to decode the third-order encoded data to obtain third-order decoded data, where the third-order decoded data includes a first bit, a second bit, and a predefined code block;
and a fifth processing module, configured to obtain service data according to the two bits corresponding to the predefined code block, the first bit and the second bit.
10. A data processing apparatus for use in an encoding device, comprising: a first transceiver and a first processor;
The first processor is used for serializing the service data to obtain serialized data, and the serialized data comprises a plurality of binary bits; the serialization data is encoded according to a predefined rule to obtain third-order encoded data, wherein the third-order encoded data comprises a predefined code block, a first code block and a second code block, the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with the bit value being the first bit value, and the second bit is one bit with the bit value being the second bit value; and obtaining an optical signal according to the third-order coded data and transmitting the optical signal through a first transceiver.
11. A data processing apparatus for use in a decoding device, comprising: a second transceiver and a second processor;
The second processor is configured to obtain third-order encoded data according to the obtained optical signal, where the third-order encoded data includes a predefined code block, a first code block and a second code block, where the predefined code block is obtained by encoding at least two bits with a bit value being a preset bit value, the first code block is obtained by encoding a first bit, the second code block is obtained by encoding a second bit, the first bit is one bit with a bit value being the first bit value, and the second bit is one bit with a bit value being the second bit value;
Performing decoding processing on the third-order coded data to obtain third-order decoded data, wherein the third-order decoded data comprises a first bit, a second bit and a predefined code block;
And obtaining service data according to the two bits corresponding to the predefined code block, the first bit and the second bit.
12. A data processing apparatus comprising: a transceiver, a processor, a memory, and a program or instructions stored on the memory and executable on the processor; the program or the instructions, when executed by the processor, implement the steps of the data processing method according to any one of claims 1 to 4, or implement the steps of the data processing method according to any one of claims 5 to 7.
13. A readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the data processing method according to any one of claims 1 to 4 or the steps of the data processing method according to any one of claims 5 to 7.
CN202211434078.5A 2022-11-16 2022-11-16 Data processing method, device, equipment and readable storage medium Pending CN118054860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211434078.5A CN118054860A (en) 2022-11-16 2022-11-16 Data processing method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211434078.5A CN118054860A (en) 2022-11-16 2022-11-16 Data processing method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN118054860A true CN118054860A (en) 2024-05-17

Family

ID=91047162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211434078.5A Pending CN118054860A (en) 2022-11-16 2022-11-16 Data processing method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN118054860A (en)

Similar Documents

Publication Publication Date Title
US5856980A (en) Baseband encoding method and apparatus for increasing the transmission rate over a communication medium
JP3489705B2 (en) Fractional bit multilevel coding
US6000054A (en) Method and apparatus for encoding and decoding binary information using restricted coded modulation and parallel concatenated convolution codes
US6556581B1 (en) Ethernet to phase shift key converter
US4523323A (en) Digital signal communication system for multi-level modulation including unique encoder and decoder
US20100246708A1 (en) Radio communication apparatus, radio communication method, and radio communication system
CN111181652B (en) PS-PAM4 system based on bit weighted distribution matching
EP0880838B1 (en) Method of communicating according to a trellis code chosen from a fixed set of baseband signal points
CN1325573A (en) Method and devie for adapting a transmission data rate or a transmitter power to the transmission quality of a trausmission channel
CN118054860A (en) Data processing method, device, equipment and readable storage medium
US6134696A (en) Encoding and decoding rate-1/n convolutional codes and their punctured versions
CN1917410B (en) Method for encoding and modulating channel inn SCDMA system
CN113660060A (en) Signal modulation and demodulation method, data transmission radio station, MCU and storage medium thereof
CN105103446B (en) A kind of signal processing apparatus
US7751718B2 (en) Efficient transmission of digital return path data in cable television return path
US4283789A (en) Data transmission method and devices for practicing said method
Das Review of digital communication
CN101106460A (en) Ethernet receiving and transmission device based on TV coaxial line
KR102184181B1 (en) security information sending method for 1-bit ADC wiretap channel
AU674851B2 (en) Integrated services digital network complementary modem
US6775297B1 (en) Computer-based conversion of digital signals
Sreekanth Digital microwave communication systems: with selected topics in mobile communications
KR100390582B1 (en) Line code transmission using pulse width bit inversion
CN116683995A (en) Probability shaping eight-stage pulse amplitude modulation method and system based on Huffman coding
CN117424648A (en) Digital forward method and system based on non-uniform protection code modulation

Legal Events

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