WO2018014529A1 - Procédé de codage ainsi qu'appareil et système associés - Google Patents

Procédé de codage ainsi qu'appareil et système associés Download PDF

Info

Publication number
WO2018014529A1
WO2018014529A1 PCT/CN2017/071768 CN2017071768W WO2018014529A1 WO 2018014529 A1 WO2018014529 A1 WO 2018014529A1 CN 2017071768 W CN2017071768 W CN 2017071768W WO 2018014529 A1 WO2018014529 A1 WO 2018014529A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
data
bytes
transmission frame
transmission
Prior art date
Application number
PCT/CN2017/071768
Other languages
English (en)
Chinese (zh)
Inventor
夏宇
张磊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018014529A1 publication Critical patent/WO2018014529A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0602Systems characterised by the synchronising information used
    • H04J3/0605Special codes used as synchronising signal
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements

Definitions

  • the embodiments of the present invention relate to the field of computer technologies, and in particular, to an encoding method, related device, and system.
  • Solid State Semiconductor Industry Reliability Standard JESD204 series protocol is a serial interface standard based on serializer/deserializer (English: SERializer/DESerializer, SERDES for short). It is used to define application specific integrated circuit (English: Application Specific Integrated Circuit). :ASIC)/Field Programmable Gate Array (English: Field-Programmable Gate Array, FPGA) and Digital to Analog Converter (English: Digital to Analog Converter): Analog to Digital Converter (English: Analog to digital The interface between converter, referred to as: ADC), the topology defined by JESD204B protocol is shown in Figure 1.
  • Downstream direction The IF data of the ASIC/FPGA is transmitted to the DAC through the JESD204B interface, and then sent out from the RF air interface through the mixer (English: Mixer) and power amplifier (English: Power Amplifier, PA).
  • Upstream direction The data received from the RF air interface is amplified by a low noise amplifier (English: Low Noise Amplifier, LNA for short), and then frequency-converted to the intermediate frequency point by a demodulator (English: Demod), and then passed through the JESD204B interface after being sampled by the ADC. Transfer to ASIC/FPGA.
  • JESD204B data is transmitted in units of frames. One frame contains F bytes, and one multiframe contains K frames.
  • JESD204B data consists of three levels of data: CODE SYNC, Initial Lane Alignment (ILA) sequence and business data. The structure of these three data is shown in Figure 2.
  • Code level synchronization (CODE SYNC) consists of a continuous control word K (value K28.5).
  • the second multiframe of the ILA sequence is in turn composed of the control word R (first byte), the control word Q, the control byte, the data and the control word A (the last byte); the other multiframes of the ILA sequence are in turn controlled by the control word R ( 1 byte), data and control word A (last byte).
  • control word A value K28.3 is used for multi-lane alignment
  • control word F (value is K28.7) for frame alignment (described after control word F)
  • control word K value is K28.5) for code level synchronization
  • control word R (value K28.0) is used to indicate the start of multiple frames in the ILA sequence
  • control word R (value K28.0) is used to indicate the start of multiple frames in the ILA sequence
  • Q (value K28.4) is used to indicate the start of the control word in the ILA sequence.
  • the data frame can be encoded by the 8B10B coding technology to generate a specific pattern to distinguish Control word A, control word F and normal data.
  • the 8B10B encoding technique is to decompose a group of consecutive 8-bit data into two sets of data, one set of 3-bit data, and one set of 5-bit data, which are encoded into 1 set of 4 bits respectively. Data and a set of 6-bit data, the two sets of data constitute a set of 10 bits of data.
  • the insertion of the control word F or the control word A at the end of the data frame includes two cases. The following describes the data frame shown in FIG. 4 as an example.
  • a disadvantage of the prior art is that the 8B10B technology encodes an efficiency of 0.8, which requires a higher SERDES rate and SERDES logarithm.
  • the embodiment of the invention discloses an encoding method, a related device and a system, which can improve coding efficiency.
  • an embodiment of the present invention provides an encoding method, where the method includes:
  • the encoding terminal determines a frame type of the target JESD 204 frame in the JESD 204B data to be transmitted, and the frame type in the JESD 204B data includes a code level synchronization frame, an ILA sequence frame, and a service data frame, and the target JESD 204 frame is composed of 8 bytes. ;
  • the encoding terminal encodes the target JESD 204 frame by a 64B66B encoding technique to obtain a 66-bit transmission frame, the transmission frame is composed of 8 bytes and 2 bits, and the 2 bits are the frame header of the transmission frame. ;
  • the frame header of the transmission frame carries the first identifier, and the data carried by each byte of the 8 bytes of the transmission frame is D28.5;
  • the frame header of the transmission frame carries the first identifier, and the data carried by the preset nth byte in the 8 bytes of the transmission frame is D28. 0.
  • the 7 bytes of the 8 bytes of the transmission frame except the nth byte are one-to-one corresponding to the data in the last 7 bytes of the 8 bytes of the ILA sequence frame;
  • the encoding terminal sends the transmission frame to the decoding terminal, and the decoding terminal does not perform data on the transmission frame of the D28.5 carrying the first identifier and the data carried in each byte of 8 bytes. Checking, and the decoding terminal does not perform data verification on the transmission frame of the D28.0, the data carried by the frame header carrying the first identifier and the nth byte of the 8 bytes.
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technology.
  • the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technology.
  • the target JESD 204 frame belongs to the service data frame and the data carried by the 8 bytes of the target JESD 204 frame is D28.5
  • the frame header of the transmission frame carries a second identifier, and the data carried by the 8 bytes of the transmission frame is D28.5; the decoding terminal does not carry the second identifier and the 8 bytes to the frame header.
  • the data carried is the data check of the transmission frame of D28.5.
  • the frame header of the transmission frame carries the An identifier
  • the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3, and 7 bytes of the 8 bytes of the transmission frame except the nth byte.
  • the decoding terminal does not carry the first identifier and the data carried in the nth byte is the transmission of D28.3
  • the frame is used for data verification.
  • the frame header of the transmission frame carries the An identifier
  • the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7, and 7 bytes of the 8 bytes of the transmission frame except the nth byte.
  • the decoding terminal does not carry the first identifier and the data carried in the nth byte is the transmission of D28.3
  • the frame is used for data verification.
  • a fourth possible implementation of the first aspect when the target JESD 204 frame belongs to the service
  • the data frame and the data carried by the 8 bytes of the target JESD 204 frame are not all D28.5, and when the target JESD 204 frame is not the A frame and the F frame, the 8 bytes of the transmission frame are correspondingly carried.
  • the data in the 8 bytes of the service data frame when the data carried by the nth byte of the transmission frame is D28.3, D28.7 or D28.0, the frame header of the transmission frame carries The second identifier is configured.
  • the decoding terminal does not perform data verification on a transmission frame in which the frame header carries the second identifier and the data carried in the nth byte is D28.3, D28.7, or D28.0.
  • the fifth possible implementation in the first aspect In the mode, when the target JESD 204 frame belongs to the service data frame and the data carried by the 8 bytes of the target JESD 204 frame is not all D28.5 and the target JESD 204 frame is not an A frame and an F frame,
  • the 8 bytes of the transmission frame are one-to-one corresponding to the data in the 8 bytes of the service data frame, and the data carried in the nth byte of the transmission frame is not D28.3, D28.7, and
  • the frame header of the transmission frame carries a data check code and an inverse of the data check code
  • the decoding terminal is configured to use the data check code to carry data carried by the nth byte.
  • Data transmission is not performed for the transmission frame of D28.3, the transmission frame of D28.7, the transmission frame of D28.0, and the transmission data of 8 bytes which are not
  • the data check code is an odd check code
  • the first one of the frame headers of the transmission frame The bit is the odd parity code
  • the last bit in the frame header of the transmission frame is the inverse of the odd parity code
  • the last bit in the frame header of the transmission frame is The odd parity code is used, and the first bit in the frame header of the transmission frame is the inverse of the odd parity code.
  • the data check code is an even check code
  • the first one of the frame headers of the transmission frame The bit is the even parity code
  • the last bit in the frame header of the transmission frame is the inverse of the even parity code
  • the last bit in the frame header of the transmission frame is The even parity code
  • the first bit in the frame header of the transmission frame is the inverse of the even parity code.
  • the first identifier is 10 and the second identifier is 01, or the first identifier is 01 and the second identifier is 10.
  • an embodiment of the present invention provides an encoding method, where the method includes:
  • the decoding terminal receives a transmission frame sent by the encoding terminal, and the transmission frame is obtained by encoding, by the encoding terminal, a JESD204 frame by using a 64B66B encoding technology, where the transmission frame is composed of 8 bytes and 2 bits, and the 2 bits are The frame header of the transmission frame;
  • the encoding terminal parses the transmission frame to acquire data of the 8 bytes and the 2 bits;
  • the decoding terminal When the frame header of the transmission frame carries a preset first identifier and the data in each byte of the 8 bytes of the transmission frame is D28.5, the decoding terminal is based on the transmission frame The data in the 8 bytes generates a code level synchronization frame, and the data carried in each byte of the 8 bytes of the code level synchronization frame is D28.5;
  • the decoding terminal is based on the transmission
  • the data in the 8 bytes of the frame generates an ILA sequence frame, the 8 bytes of the ILA sequence frame one-to-one correspondence with the data in the 8 bytes of the transmission frame, and 8 of the ILA sequence frames
  • the data of the 0th byte in the byte is D28.0.
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technology.
  • the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technology.
  • a frame header of the transmission frame carries a preset second identifier
  • the data carried by the 8 bytes of the transmission frame is D28
  • the decoding terminal generates a service data frame based on the data in the 8 bytes of the transmission frame, and the data carried in each byte of the 8 bytes of the service data frame is D28.5.
  • the decoding terminal when the frame header of the transmission frame carries the first identifier and the transmission When the data carried by the nth byte of the 8 bytes of the frame is D28.3, the decoding terminal generates a service data frame based on the data in the 8 bytes of the transmission frame, where the service data frame The eight bytes one-to-one correspond to the data in the eight bytes of the transmission frame, and the data of the last byte of the eight bytes of the service data frame is D28.3.
  • the decoding terminal when the transmission frame is When the frame header carries the first identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7, the decoding terminal is based on 8 bytes of the transmission frame.
  • the data generates a service data frame, the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame, and the last byte of the 8 bytes of the service data frame
  • the data is D28.7.
  • the decoding terminal when the frame header of the transmission frame carries a pre- When the second identifier is set and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3, the decoding terminal generates a service based on data in 8 bytes of the transmission frame.
  • the data frame, the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame.
  • the fifth possible implementation in the second aspect In the mode, when the frame header of the transmission frame carries a preset second identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7, the decoding terminal is based on The data in the 8 bytes of the transmission frame generates a service data frame, and the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame.
  • the frame header of the transmission frame includes data verification. a code and an inverse of the data check code;
  • the decoding terminal checks data in 8 bytes of the transmission frame by using the data check code
  • the service data frame is generated based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame are in one-to-one correspondence. Carrying data in 8 bytes of the transmission frame.
  • the data check code is an odd check code
  • the first one of the frame headers of the transmission frame The bit is the odd parity code
  • the last bit in the frame header of the transmission frame is the inverse of the odd parity code
  • the last bit in the frame header of the transmission frame is The odd parity code
  • the first bit in the frame header of the transmission frame is the inverse of the odd parity code.
  • the data check code is an even check code
  • the first one of the frame headers of the transmission frame The bit is the even parity code
  • the last bit in the frame header of the transmission frame is the inverse of the even parity code
  • the last bit in the frame header of the transmission frame is The even parity code
  • the first bit in the frame header of the transmission frame is the inverse of the even parity code.
  • the first identifier is 10
  • the second identifier is 01
  • the first identifier is 01
  • the first identifier is 01
  • the first identifier is 01
  • the first identifier is 01
  • the first identifier is 01
  • the second identifier is 10.
  • an embodiment of the present invention provides an encoding terminal, where the encoding terminal includes a processor, a memory, and a transceiver:
  • the memory is for storing data and programs
  • the processor calls a program in the memory to perform the following operations:
  • the frame type in the JESD 204B data comprising a code level synchronization frame, an ILA sequence frame, and a service data frame, wherein the target JESD 204 frame is composed of 8 bytes;
  • the frame header of the transmission frame carries the first identifier, and the data carried by each byte of the 8 bytes of the transmission frame is D28.5;
  • the frame header of the transmission frame carries the first identifier, and the data carried by the preset nth byte in the 8 bytes of the transmission frame is D28. 0.
  • the 7 bytes of the 8 bytes of the transmission frame except the nth byte are one-to-one corresponding to the data in the last 7 bytes of the 8 bytes of the ILA sequence frame;
  • Data verification, and the decoding terminal does not perform data verification on the transmission frame of the D28.0, the data carried by the frame header carrying the first identifier and the nth byte of the 8 bytes.
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technology.
  • the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technology.
  • the target JESD 204 frame belongs to the service data frame and the data carried by the 8 bytes of the target JESD 204 frame is D28.5
  • the frame header of the transmission frame carries a second identifier, and the data carried by the 8 bytes of the transmission frame is D28.5; the decoding terminal does not carry the second identifier and the 8 bytes to the frame header.
  • the data carried is the data check of the transmission frame of D28.5.
  • the frame header of the transmission frame carries the An identifier
  • the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3, and 7 bytes of the 8 bytes of the transmission frame except the nth byte.
  • the decoding terminal does not carry the first identifier and the data carried in the nth byte is the transmission of D28.3
  • the frame is used for data verification.
  • the frame header of the transmission frame carries the first identifier, and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.
  • the 7 bytes of the 8 bytes of the transmission frame except the nth byte are one-to-one corresponding to the data in the first 7 bytes of the 8 bytes of the F frame;
  • the decoding terminal does not perform data verification on the transmission frame in which the frame header carries the first identifier and the data carried in the nth byte is D28.3.
  • a fourth possible implementation manner of the third aspect when the target JESD 204 frame belongs to the service
  • the data frame and the data carried by the 8 bytes of the target JESD 204 frame are not all D28.5, and when the target JESD 204 frame is not the A frame and the F frame, the 8 bytes of the transmission frame are correspondingly carried.
  • the data in the 8 bytes of the service data frame when the data carried by the nth byte of the transmission frame is D28.3, D28.7 or D28.0, the frame header of the transmission frame carries The second identifier is configured.
  • the decoding terminal does not perform data verification on a transmission frame in which the frame header carries the second identifier and the data carried in the nth byte is D28.3, D28.7, or D28.0.
  • the fifth possible implementation in the third aspect In the mode, when the target JESD 204 frame belongs to the service data frame and the data carried by the 8 bytes of the target JESD 204 frame is not all When D28.5 and the target JESD204 frame are not an A frame and an F frame, the 8 bytes of the transmission frame are one-to-one corresponding to the data in the 8 bytes of the service data frame, when the transmission frame When the data carried by the nth byte is not D28.3, D28.7, and D28.0, the frame header of the transmission frame carries a data check code and an inverse of the data check code, and the decoding The data used by the terminal to carry the data to the nth byte through the data check code is not a transmission frame of D28.3, a transmission frame of D28.7, a transmission frame of D28.0, and an incomplete data of 8 bytes. Perform data verification
  • the data check code is an odd parity code
  • the first one of the frame headers of the transmission frame The bit is the odd parity code
  • the last bit in the frame header of the transmission frame is the inverse of the odd parity code
  • the last bit in the frame header of the transmission frame is The odd parity code is used, and the first bit in the frame header of the transmission frame is the inverse of the odd parity code.
  • the data check code is an even check code
  • the first one of the frame headers of the transmission frame The bit is the even parity code
  • the last bit in the frame header of the transmission frame is the inverse of the even parity code
  • the last bit in the frame header of the transmission frame is The even parity code
  • the first bit in the frame header of the transmission frame is the inverse of the even parity code.
  • the first identifier is 10 and the second identifier is 01, or the first identifier is 01 and the second identifier is 10.
  • an embodiment of the present invention provides a decoding terminal, where the encoding terminal includes a processor, a memory, and a transceiver:
  • the memory is for storing data and programs
  • the processor calls a program in the memory to perform the following operations:
  • a transmission frame sent by an encoding terminal where the transmission frame is obtained by encoding, by the encoding terminal, a JESD 204 frame by using a 64B66B encoding technology, where the transmission frame is composed of 8 bytes and 2 bits, and the transmission frame a bit is a frame header of the transmission frame;
  • each byte of 8 bytes of the transmission frame is D28.5, based on 8 bytes of the transmission frame
  • the data in the data generates a code level synchronization frame, and each byte of the 8 bytes of the code level synchronization frame carries data of D28.5;
  • the transmission frame is based on the transmission frame
  • the data in 8 bytes generates an ILA sequence frame, the 8 bytes of the ILA sequence frame one-to-one corresponding to the data in the 8 bytes of the transmission frame, and the 8 bytes of the ILA sequence frame
  • the data of the 0th byte in the data is D28.0.
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technology.
  • the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technology.
  • the processor is further configured to:
  • the service is generated based on the data in the 8 bytes of the transmission frame.
  • the data frame, each byte of the 8 bytes of the service data frame carries data of D28.5.
  • the processor is further configured to:
  • the frame header of the transmission frame carries the first identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3, based on 8 bytes of the transmission frame
  • the data in the data generation service data frame, the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame, and the last word of the 8 bytes of the service data frame
  • the data for the section is D28.3.
  • the frame header of the transmission frame carries the first identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7, based on 8 bytes of the transmission frame
  • the data in the data generation service data frame, the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame, and the last word of the 8 bytes of the service data frame
  • the data for the section is D28.7.
  • the processor is further configured to:
  • the frame header of the transmission frame carries a preset second identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3, 8 words based on the transmission frame
  • the data in the section generates a service data frame, and the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame.
  • the processor is further configured to:
  • the frame header of the transmission frame carries a preset second identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7, 8 words based on the transmission frame
  • the data in the section generates a service data frame, and the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame.
  • the processor is further configured to:
  • the frame header of the transmission frame carries a preset second identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.0, 8 words based on the transmission frame
  • the data in the section generates a service data frame, and the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame.
  • the frame header of the transmission frame includes data verification.
  • the processor is further configured to:
  • the service data frame is generated based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame are in one-to-one correspondence. Carrying data in 8 bytes of the transmission frame.
  • the data check code is an odd check code
  • the first one of the frame headers of the transmission frame The bit is the odd parity code
  • the last bit in the frame header of the transmission frame is the inverse of the odd parity code
  • the last bit in the frame header of the transmission frame is The odd parity code
  • the first bit in the frame header of the transmission frame is the inverse of the odd parity code.
  • the data check code is an even check code
  • the first one of the frame headers of the transmission frame The bit is the even parity code
  • the last bit in the frame header of the transmission frame is the inverse of the even parity code
  • the last bit in the frame header of the transmission frame is The even parity code
  • the first bit in the frame header of the transmission frame is the inverse of the even parity code.
  • the first identifier is 10
  • the second identifier is 01
  • the first identifier is 01
  • the first identifier is 01
  • the first identifier is 01
  • the first identifier is 01
  • the second identifier is 10.
  • an embodiment of the present invention provides an encoding terminal, where the encoding terminal includes:
  • a determining unit configured to determine a frame type of the target JESD 204 frame in the JESD 204B data to be transmitted, where the frame type in the JESD 204B data includes a code level synchronization frame, an ILA sequence frame, and a service data frame, and the target JESD 204 frame consists of 8 Byte composition
  • a coding unit configured to encode the target JESD 204 frame by a 64B66B coding technique to obtain a 66-bit transmission frame, where the transmission frame is composed of 8 bytes and 2 bits and the 2 bits are frames of the transmission frame head;
  • the frame header of the transmission frame carries the first identifier, and the data carried by each byte of the 8 bytes of the transmission frame is D28.5;
  • the frame header of the transmission frame carries the first identifier, and the data carried by the preset nth byte in the 8 bytes of the transmission frame is D28. 0.
  • the 7 bytes of the 8 bytes of the transmission frame except the nth byte are one-to-one corresponding to the data in the last 7 bytes of the 8 bytes of the ILA sequence frame;
  • a sending unit configured to send the transmission frame to a decoding terminal, where the decoding terminal does not carry the first identifier and the data carried by each byte of 8 bytes of the frame header is a transmission frame of D28.5 Data verification, and the decoding terminal does not perform data verification on the transmission frame of the D28.0, the data carried by the frame header carrying the first identifier and the nth byte of the 8 bytes.
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal 230 decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technique. In terms of coding efficiency is greatly improved.
  • the target JESD 204 frame belongs to the service data frame and the data carried by the 8 bytes of the target JESD 204 frame is D28.5
  • the frame header of the transmission frame carries a second identifier, and the data carried by the 8 bytes of the transmission frame is D28.5; the decoding terminal does not carry the second identifier and the 8 bytes to the frame header.
  • the data carried is the data check of the transmission frame of D28.5.
  • the target JESD 204 frame belongs to the service data frame and the target JESD 204 frame
  • the frame header of the transmission frame carries the first identifier
  • the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3
  • the 8 bytes of the transmission frame are The 7 bytes except the nth byte are one-to-one corresponding to the data in the first 7 bytes of the 8 bytes of the A frame; the decoding terminal does not carry the first identifier to the frame header and The data carried by the nth byte is data verified for the transmission frame of D28.3.
  • the frame header of the transmission frame carries the first identifier, and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.
  • the 7 bytes of the 8 bytes of the transmission frame except the nth byte are one-to-one corresponding to the data in the first 7 bytes of the 8 bytes of the F frame;
  • the decoding terminal does not perform data verification on the transmission frame in which the frame header carries the first identifier and the data carried in the nth byte is D28.3.
  • a fourth possible implementation manner of the fifth aspect when the target JESD 204 frame belongs to the service
  • the data frame and the data carried by the 8 bytes of the target JESD 204 frame are not all D28.5, and when the target JESD 204 frame is not the A frame and the F frame, the 8 bytes of the transmission frame are correspondingly carried.
  • the data in the 8 bytes of the service data frame when the data carried by the nth byte of the transmission frame is D28.3, D28.7 or D28.0, the frame header of the transmission frame carries The second identifier is configured.
  • the decoding terminal does not perform data verification on a transmission frame in which the frame header carries the second identifier and the data carried in the nth byte is D28.3, D28.7, or D28.0.
  • the fifth possible implementation of the fifth aspect In the mode, when the target JESD 204 frame belongs to the service data frame and the data carried by the 8 bytes of the target JESD 204 frame is not all D28.5 and the target JESD 204 frame is not an A frame and an F frame,
  • the 8 bytes of the transmission frame are one-to-one corresponding to the data in the 8 bytes of the service data frame, and the data carried in the nth byte of the transmission frame is not D28.3, D28.7, and
  • the frame header of the transmission frame carries a data check code and an inverse of the data check code
  • the decoding terminal is configured to use the data check code to carry data carried by the nth byte.
  • Data transmission is not performed for the transmission frame of D28.3, the transmission frame of D28.7, the transmission frame of D28.0, and the transmission data of 8 bytes which are not
  • the data check code is an odd check code
  • the first one of the frame headers of the transmission frame The bit is the odd parity code
  • the last bit in the frame header of the transmission frame is the inverse of the odd parity code
  • the last bit in the frame header of the transmission frame is The odd parity code
  • the first bit in the frame header of the transmission frame is the inverse of the odd parity code.
  • the data check code is an even check code
  • the first one of the frame headers of the transmission frame The bit is the even parity code
  • the last bit in the frame header of the transmission frame is an inverse of the even parity code
  • the last bit in the frame header of the transmission frame is the inverse of the even parity code.
  • the first identifier is 10 and the second identifier is 01, or the first identifier is 01 and the second identifier is 10.
  • an embodiment of the present invention provides a decoding terminal, where the decoding terminal includes:
  • a receiving unit configured to receive a transmission frame sent by the encoding terminal, where the transmission frame is obtained by encoding, by the encoding terminal, a JESD204 frame by using a 64B66B encoding technology, where the transmission frame is composed of 8 bytes and 2 bits, and the transmission frame a bit is a frame header of the transmission frame;
  • a parsing unit configured to parse the transmission frame to acquire data in the 8 bytes and the 2 bits
  • a decoding unit configured to: when the frame header of the transmission frame carries a preset first identifier, and the data in each byte of the 8 bytes of the transmission frame is D28.5, based on the transmission frame The data in the 8 bytes generates a code level synchronization frame, and each byte of the 8 bytes of the code level synchronization frame carries data of D28.5;
  • the decoding unit is further configured to: when the frame header of the transmission frame carries the first identifier, and the data carried by the nth byte preset in the 8 bytes of the transmission frame is D28.0, Generating an ILA sequence frame based on data in 8 bytes of the transmission frame, the 8 bytes of the ILA sequence frame correspondingly carrying data in 8 bytes of the transmission frame, and the ILA sequence The data of the 0th byte of the 8 bytes of the frame is D28.0.
  • a frame header of the transmission frame carries a preset second identifier
  • data carried by 8 bytes of the transmission frame is D28
  • the decoding terminal generates a service data frame based on the data in the 8 bytes of the transmission frame, and the data carried in each byte of the 8 bytes of the service data frame is D28.5.
  • the decoding terminal when the frame header of the transmission frame carries the first identifier and the transmission When the data carried by the nth byte of the 8 bytes of the frame is D28.3, the decoding terminal generates a service data frame based on the data in the 8 bytes of the transmission frame, where the service data frame The eight bytes one-to-one correspond to the data in the eight bytes of the transmission frame, and the data of the last byte of the eight bytes of the service data frame is D28.3.
  • the decoding terminal when the transmission frame is When the frame header carries the first identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7, the decoding terminal is based on 8 bytes of the transmission frame.
  • the data generates a service data frame, the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame, and the last byte of the 8 bytes of the service data frame
  • the data is D28.7.
  • the decoding terminal when the frame header of the transmission frame carries a pre- When the second identifier is set and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3, the decoding terminal generates a service based on data in 8 bytes of the transmission frame. a data frame, the 8 bytes of the service data frame are in a one-to-one correspondence carrying the transmission frame The data in 8 bytes.
  • the fifth possible implementation in the sixth aspect In the mode, when the frame header of the transmission frame carries a preset second identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7, the decoding terminal is based on The data in the 8 bytes of the transmission frame generates a service data frame, and the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame.
  • the decoding terminal when a frame header of the transmission frame carries a preset second identifier and is carried by an nth byte of 8 bytes of the transmission frame
  • the decoding terminal when the data is D28.0, the decoding terminal generates a service data frame based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame correspond to the 8 frames of the transmission frame.
  • the data in the byte when a frame header of the transmission frame carries a preset second identifier and is carried by an nth byte of 8 bytes of the transmission frame.
  • the fourth possible implementation manner of the sixth aspect, or the sixth possible implementation manner of the sixth aspect, in the seventh possible implementation manner of the sixth aspect is not all D28.5, or the data carried by the nth byte of the 8 bytes of the transmission frame is not D28.0, D28.7, and D28.3.
  • the frame header of the transmission frame includes a data check code and an inverse of the data check code;
  • the decoding terminal checks data in 8 bytes of the transmission frame by using the data check code
  • the service data frame is generated based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame are in one-to-one correspondence. Carrying data in 8 bytes of the transmission frame.
  • the data check code is an odd check code
  • the first one of the frame headers of the transmission frame The bit is the odd parity code
  • the last bit in the frame header of the transmission frame is the inverse of the odd parity code
  • the last bit in the frame header of the transmission frame is The odd parity code
  • the first bit in the frame header of the transmission frame is the inverse of the odd parity code.
  • the data check code is an even check code
  • the first one of the frame headers of the transmission frame The bit is the even parity code
  • the last bit in the frame header of the transmission frame is the inverse of the even parity code
  • the last bit in the frame header of the transmission frame is The even parity code
  • the first bit in the frame header of the transmission frame is the inverse of the even parity code.
  • the first identifier is 10 and the second identifier is 01, or The first identifier is 01 and the second identifier is 10.
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal 230 decrypts the transmission frame by the 64B66B encoding technique to restore the mesh.
  • the standard JESD204 frame greatly improves the coding efficiency compared to the 8B10B coding technique.
  • an embodiment of the present invention provides an encoding system, where the encoding system includes an encoding terminal and a decoding terminal, where the encoding terminal is an encoding terminal described in any implementation manner of the third aspect, or the fifth aspect is described.
  • An encoding terminal; the decoding terminal is the decoding terminal described in any implementation manner of the fourth aspect, or the encoding terminal described in the sixth aspect.
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal 230 decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technique.
  • the words greatly improve the coding efficiency.
  • the encoding terminal encodes the target JESD 204 frame by using the 64B66B encoding technology to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by using the 64B66B encoding technology to restore the target JESD 204 frame, compared to the 8B10B encoding technology. In terms of coding efficiency is greatly improved.
  • FIG. 1 is a schematic diagram of a topology structure defined by a JESD204B protocol in the prior art
  • FIG. 2 is a schematic structural diagram of data based on a JESD204B protocol in the prior art
  • FIG. 3 is a schematic diagram of a scenario coded based on an 8B10B coding technique in the prior art
  • FIG. 5 is a schematic structural diagram of still another data frame in the prior art
  • FIG. 7 is a schematic flowchart diagram of an encoding method according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of data according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a scenario of converting a target JESD 204 frame to a transmission frame according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of another scenario of converting a target JESD 204 frame to a transmission frame according to an embodiment of the present invention
  • FIG. 11 is a schematic diagram of another scenario of converting a target JESD 204 frame to a transmission frame according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of another scenario of converting a target JESD 204 frame to a transmission frame according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of another scenario of converting a target JESD 204 frame to a transmission frame according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of another scenario of converting a target JESD 204 frame to a transmission frame according to an embodiment of the present invention.
  • 15 is a schematic diagram of another scenario of converting a target JESD 204 frame to a transmission frame according to an embodiment of the present invention.
  • FIG. 16 is a schematic diagram of a data check code according to an embodiment of the present disclosure.
  • 17 is a schematic diagram of a scenario of a data check code according to an embodiment of the present invention.
  • FIG. 18 is a schematic diagram of a scenario of a data check code according to an embodiment of the present invention.
  • FIG. 19 is a schematic diagram of a scenario of a data check code according to an embodiment of the present invention.
  • FIG. 20 is a schematic structural diagram of an encoding terminal according to an embodiment of the present disclosure.
  • FIG. 21 is a schematic structural diagram of a decoding terminal according to an embodiment of the present disclosure.
  • FIG. 22 is a schematic structural diagram of still another encoding terminal according to an embodiment of the present disclosure.
  • FIG. 23 is a schematic structural diagram of still another decoding terminal according to an embodiment of the present disclosure.
  • FIG. 24 is a schematic structural diagram of an encoding system according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart diagram of an encoding method according to an embodiment of the present invention, where the method includes but is not limited to the following steps.
  • Step S701 The encoding terminal determines the frame type of the target JESD 204 frame in the JESD 204 data to be transmitted.
  • the JESD204 data specifically refers to data based on the JESD204 series protocol, for example, currently using the more mature JESD204B protocol, and the JESD204C protocol that may be evolved in the future.
  • the JESD204B protocol as an example, the JESD204 data to be transmitted is composed of at least one multiframe, each multiframe includes K frames, and each frame contains F bytes, where K and F are positive integers.
  • the JESD204 data is re-segmented in units of 8 bytes to obtain a plurality of JESD204 frames of 64-bit block size, that is, the frame and the mulftiframe are defined in the prior art, and the JESD 204 frame-based
  • the amount defined by the invention since the JESD 204 data includes three parts of code level synchronization, ILA sequence, and service data, the JESD 204 frame can be correspondingly divided into three frame types: a code level synchronization frame, an ILA sequence frame, and a service data frame.
  • the encoding terminal can determine the frame type of the target JESD 204 frame through the local state machine.
  • the eight bytes described above may be sequentially referred to as the 0th byte, the 1st byte, the 2nd byte, the 3rd byte, the 4th byte, and the 5 bytes, 6th byte, and 7th byte, where the 0th byte is the first byte and the 7th byte is the last byte.
  • Step S702 The encoding terminal encodes the target JESD 204 frame by using a 64B66B encoding technique to obtain a 66-bit transmission frame, where the transmission frame is composed of 8 bytes and 2 bits and the 2 bits are the frame header of the transmission frame.
  • the encoding terminal encodes JESD 204 frames of different frame types differently.
  • the frame header of the encoded transmission frame carries the first identifier, and the data carried by each byte of the 8 bytes of the transmission frame is D28.5.
  • the data correspondence of the transmission frame obtained by the target JESD204 frame coding is as shown in FIG. 9.
  • the encoded frame header of the transmission frame carries the first identifier, and the transmission frame has 8 bytes.
  • the data carried by the preset nth byte is D28.0, and 7 bytes of the 8 bytes of the transmission frame except the nth byte are one-to-one corresponding to the 8 bytes of the ILA sequence frame. The data in the last 7 bytes.
  • the nth byte is which of the 8 bytes, and 7 bytes of the 8 bytes of the transmission frame except the nth byte and 8 of the ILA sequence frame
  • the one-to-one correspondence of the last 7 bytes in the byte may be predefined by a preset rule, so that the decoding terminal can successfully decode (parse) the transmission frame based on the preset rule when the decoding terminal subsequently receives the transmission frame.
  • the data correspondence of the transmission frame obtained by the target JESD 204 frame coding is as shown in FIG. 10 .
  • the frame header of the transmitted transmission frame carries the first
  • the second identifier indicates that the data carried by the 8 bytes of the transmission frame is D28.5.
  • the data correspondence relationship of the transmission frame obtained by the target JESD 204 frame coding is as shown in FIG. 11 .
  • the target JESD 204 frame belongs to the service data frame or the ILA sequence frame
  • the frame header of the encoded transmission frame carries the first identifier
  • the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3
  • the transmission frame is The 7 bytes of the 8 bytes except the nth byte are one-to-one corresponding to the data of 7 bytes other than the control word A among the 8 bytes of the A frame.
  • the specific one of the eight bytes of the eight bytes of the transmission frame except the first seven bytes of the eight bytes of the A frame may pass the preset.
  • the rule is predefined so that the decoding terminal can successfully decode (parse) the transmission frame based on the preset rule when the decoding terminal subsequently receives the transmission frame.
  • the data correspondence relationship of the transmission frame obtained by the target JESD204 frame is as shown in FIG. 12 .
  • the data correspondence of the transmission frame obtained by the target JESD 204 frame coding is as shown in FIG. 13 .
  • the target JESD 204 frame belongs to the ILA frame and the value of the 7th byte of the target JESD 204 frame is the control word A in the JESD 204 data
  • the target JESD 204 frame is an A frame.
  • the target JESD204 frame is unscrambled. If the following four conditions are met, the target JESD204 frame can be regarded as belonging to the A frame, and the xth byte of the target JESD204 frame is replaced by the control word A (in the following condition) Taking the xth byte as the last byte as an example for description, and the other data of the target JESD204 frame is not replaced, the transmission frame obtained after the encoding process also belongs to the A frame, and the four conditions are as follows:
  • the target JESD 204 frame only contains or is smaller than a frame of one F byte in the multiframe; in the embodiment of the present invention, when the JESD 204 frame contains data less than 1 frame, it can be processed according to 1 frame; when JESD 204 frame When the number of included data is greater than 1 frame, it can be processed according to multiple frames.
  • the frame is the last frame in the multiframe
  • the last byte of the frame is in the last byte of the target JESD 204 frame
  • the data of the last byte of the frame is the same as the data of the last byte of the previous frame of the frame.
  • the target JESD204 frame is unscrambled. If the following four conditions are met, the target JESD204 frame can be regarded as belonging to the A frame, and the xth byte of the target JESD204 frame is replaced by the control word A (in the following condition) Taking the xth byte as the last byte as an example for description, and the other data of the target JESD204 frame is not replaced, the transmission frame obtained after the encoding process also belongs to the A frame, and the four conditions are as follows:
  • the target JESD 204 frame contains a frame of a plurality of F bytes in the multiframe
  • the last frame of the multiple frames is the last frame of the multiframe
  • the last byte of the last frame is the last byte of the target JESD 204 frame
  • the data of the last byte of the last frame is the same as the data of the last byte of the previous frame of the last frame.
  • the target JESD204 frame is scrambled. If the following four conditions are met, the target JESD204 frame can be regarded as belonging to the A frame, and the xth byte of the target JESD204 frame is replaced with the control word A (in the following condition) Taking the xth byte as the last byte as an example for description, and the other data of the target JESD204 frame is not replaced, the transmission frame obtained after the encoding process also belongs to the A frame, and the four conditions are as follows:
  • the frame of the target JESD 204 only one F-byte frame in the multiframe is included.
  • the frame may be processed according to one frame; when the JESD 204 frame contains data.
  • the number is greater than 1frame, it can be processed according to multiple frames;
  • the frame is the last frame in the multiframe
  • the last byte of the frame is in the last byte of the target JESD 204 frame
  • the data of the last byte of the target JESD204 frame is D28.3.
  • the target JESD204 frame is scrambled. If the following four conditions are met, the target JESD204 frame can be regarded as belonging to the A frame, and the xth byte of the target JESD204 frame is replaced with the control word A (in the following condition) Taking the xth byte as the last byte as an example for description, and the other data of the target JESD204 frame is not replaced, the transmission frame obtained after the encoding process also belongs to the A frame, and the four conditions are as follows:
  • the target JESD 204 frame contains a frame of a plurality of F bytes in the multiframe
  • the last frame of the multiple frames is the last frame of the multiframe
  • the last byte of the last frame is the last byte of the target JESD 204 frame
  • the data of the last byte of the target JESD204 frame is D28.3.
  • the encoded frame header of the transmission frame carries the first identifier, and 8 of the transmission frames
  • the data carried by the nth byte of the byte is D28.7, and the 7 bytes except the nth byte of the 8 bytes of the transmission frame are correspondingly carried in the 8 bytes of the F frame.
  • Data in 7 bytes other than the control word F; the decoding terminal does not perform parity check on the transmission frame in which the frame header carries the first identifier and the data carried in the nth byte is D28.7.
  • the specific one of the 8 bytes of the 8 bytes of the transmission frame and the first 7 bytes of the 8 bytes of the F frame may pass the pre-specific
  • the rule is pre-defined so that the decoding terminal can successfully decode (parse) the transmission frame based on the preset rule when the decoding terminal subsequently receives the transmission frame.
  • the data correspondence of the transmission frame obtained by the target JESD204 frame coding is as shown in FIG. 14 .
  • the data correspondence of the transmission frame obtained by the target JESD204 frame encoding is as shown in FIG. 15 .
  • the target JESD204 frame is unscrambled. If the following five conditions are met, the target JESD204 frame can be regarded as belonging to the F frame, and the xth byte of the target JESD204 frame is replaced with the control word F (in the following condition) Taking the xth byte as the last byte as an example for description, and the other data of the target JESD204 frame is not replaced, the transmission frame obtained after the encoding process also belongs to the F frame, and the five conditions are as follows:
  • the frame of the target JESD 204 only one F-byte frame in the multiframe is included.
  • the frame may be processed according to one frame; when the JESD 204 frame contains data.
  • the number is greater than 1frame, it can be processed according to multiple frames.
  • the frame is not the last frame in the multiframe
  • the last byte of the frame is in the last byte of the target JESD 204 frame
  • the data of the last byte of the frame is the same as the data of the last byte of the previous frame of the frame.
  • the target JESD204 frame is unscrambled. If the following four conditions are met, the target JESD204 frame can be regarded as belonging to the F frame, and the xth byte of the target JESD204 frame is replaced with the control word F (in the following condition) Taking the xth byte as the last byte as an example for description, and the other data of the target JESD204 frame is not replaced, the transmission frame obtained after the encoding process also belongs to the F frame, and the four conditions are as follows:
  • the target JESD 204 frame contains a frame of a plurality of F bytes in the multiframe
  • the last frame of the multiple frames is not the last frame of the multiframe
  • the last byte of the last frame is the last byte of the target JESD 204 frame
  • the data of the last byte of the last frame is the same as the data of the last byte of the previous frame of the last frame.
  • the target JESD204 frame is scrambled. If the following four conditions are met, the target JESD204 frame can be regarded as belonging to the F frame, and the xth byte of the target JESD204 frame is replaced with the control word F (in the following condition) Taking the xth byte as the last byte as an example for description, and the other data of the target JESD204 frame is not replaced, the transmission frame obtained after the encoding process also belongs to the F frame, and the four conditions are as follows:
  • the frame of the target JESD 204 only one F-byte frame in the multiframe is included.
  • the frame may be processed according to one frame; when the JESD 204 frame contains data.
  • the number is greater than 1frame, it can be processed according to multiple frames;
  • the frame is not the last frame in the multiframe
  • the last byte of the frame is in the last byte of the target JESD 204 frame
  • the data of the last byte of the target JESD204 frame is D28.7.
  • the target JESD204 frame is scrambled. If the following four conditions are met, the target JESD204 frame can be regarded as belonging to the F frame, and the xth byte of the target JESD204 frame is replaced with the control word F (in the following condition) Taking the xth byte as the last byte as an example for description, and the other data of the target JESD204 frame is not replaced, the transmission frame obtained after the encoding process also belongs to the F frame, and the four conditions are as follows:
  • the target JESD 204 frame contains a frame of a plurality of F bytes in the multiframe
  • the last frame of the multiple frames is not the last frame of the multiframe
  • the last byte of the last frame is the last byte of the target JESD 204 frame
  • the data of the last byte of the target JESD204 frame is D28.7.
  • the target JESD 204 frame belongs to the service data frame and the 8 bytes of the target JESD 204 frame carry data not all D28.5 and the target JESD 204 frame is not an A frame and an F frame.
  • the encoded 8 bytes of the transmission frame correspond one-to-one with the data of the 8 bytes of the service data frame, and the data carried by the nth byte of the transmission frame is D28.3, D28. 7 or D28.0, the frame header of the transmission frame carries the second identifier.
  • the hexadecimal number corresponding to the value D28.3 is 0x7C
  • the hexadecimal number corresponding to the value D28.7 is 0xFC.
  • the hexadecimal number corresponding to the value D28.5 is 0xBC
  • the hexadecimal number corresponding to the value D28.0 is 0x1C
  • the hexadecimal number corresponding to the value D28.4 is 0x9C.
  • the eight bytes of the encoded transmission frame and the eight bytes of the service data frame may be specifically defined by the preset rule, so that the decoding terminal may subsequently receive the transmission frame.
  • the transmission frame is smoothly decoded (parsed) based on the preset rule.
  • the target JESD 204 frame belongs to the service data frame and the 8 bytes of the target JESD 204 frame carry data not all D28.5 and the target JESD 204 frame is not an A frame and an F frame.
  • the encoded 8 bytes of the transmission frame correspond to the data in the 8 bytes of the service data frame, and the data carried in the nth byte of the transmission frame is not D28.3, D28.
  • the frame header of the transmission frame carries a data check code and an inverse of the data check code, and the data check code may be a parity check code.
  • the eight bytes of the encoded transmission frame and the eight bytes of the service data frame may be specifically defined by the preset rule, so that the decoding terminal may subsequently receive the transmission frame. Based on the preset The rule successfully decodes (parses) the transmitted frame.
  • the parity code is an odd parity code
  • the first bit in the frame header of the transmission frame is the odd parity code
  • the last bit in the frame header of the transmission frame is the odd school
  • the inverse of the code is as shown in FIG. 16; or the last bit in the frame header of the transmission frame is the odd parity code, and the first bit in the frame header of the transmission frame is the odd parity code
  • the inverse of the code is shown in Figure 17.
  • the parity code is an even parity code
  • the first bit in the frame header of the transmission frame is the even parity code
  • the last bit in the frame header of the transmission frame is the even parity code
  • the first bit in the frame header of the transmission frame is the even parity code
  • the inverse of the code is shown in Figure 19.
  • the transmission coded by the JESD204 coding technology can maintain the frame header of the transmission frame as 10, or 01. Therefore, the first identifier in the embodiment of the present invention may be 01 and the second identifier may be 10 Or the first identifier is 10 and the second identifier is 01.
  • the parity code is specifically configured for the parity code to ensure that the frame header of the transmission frame is 10, or 01.
  • Step S703 The encoding terminal sends the transmission frame to the decoding terminal.
  • Step S704 The decoding terminal receives the transmission frame sent by the encoding terminal.
  • Step S705 The decoding terminal parses the transmission frame to acquire the data of the 8 bytes and the 2 bits.
  • Step S706 The decoding terminal decodes the transmission frame to obtain a JESD 204 frame, and the decoding process of different transmission frames may be different.
  • the following describes the decoding process of various transmission frames, the code level synchronization frame, the ILA sequence frame and the following description.
  • the service data frames belong to the JESD204 frame.
  • the decoding terminal When the frame header of the transmission frame carries a preset first identifier and the data in each byte of the 8 bytes of the transmission frame is D28.5, the decoding terminal is based on 8 bytes of the transmission frame.
  • the data in the data generates a code level synchronization frame, and each byte of the 8 bytes of the code level synchronization frame carries data of K28.5.
  • the decoding terminal is based on 8 words of the transmission frame.
  • the data in the section generates an ILA sequence frame, the 8 bytes of the ILA sequence frame one by one corresponding to the data in the 8 bytes of the transmission frame, and the 0th byte of the 8 bytes of the ILA sequence frame
  • the data is K28.0.
  • the ILA sequence frame is generated as a second ILA sequence frame in the ILA sequence
  • the first byte of the ILA sequence frame may be encapsulated with a value of K28.4 or D28.4.
  • the decoding terminal when the frame header of the transmission frame carries the second identifier and the data carried by the 8 bytes of the transmission frame is D28.5; the decoding terminal does not perform parity check on the transmission frame.
  • the decoding terminal generates a service data frame based on the data in the 8 bytes of the transmission frame, and the data carried by each byte of the 8 bytes of the service data frame is D28.5.
  • the decoding terminal when the frame header of the transmission frame carries the first identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3, the decoding terminal The parity of the transmission frame is not performed, and the decoding terminal generates a service data frame based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame correspond to the 8 bytes of the transmission frame.
  • the data in the data, and the data of the last byte of the 8 bytes of the service data frame is K28.3.
  • the decoding terminal when the frame header of the transmission frame carries the first identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7, the decoding terminal Do not perform parity check on the transmission frame, the decoding terminal Generating a service data frame based on the data in the 8 bytes of the transmission frame, the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame, and 8 of the service data frames The data of the last byte in the byte is K28.7.
  • the specific correspondence between the 8 bytes of the service data frame and the 8 bytes of the transmission frame may be obtained based on the foregoing preset rule, so that the target JESD 204 frame is encoded and sent to the encoded terminal.
  • the target JESD 204 frame is restored by the decoding terminal, and the target JESD 204 frame restored by the decoding terminal is substantially the same as the data in the target JESD 204 frame before encoding, and the following similarities are not described herein.
  • the decoding terminal does not perform parity check on the transmission frame, and the decoding terminal generates a service data frame based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame correspond to the 8 frames of the transmission frame.
  • the data in the byte is D28.7
  • the decoding terminal when the frame header of the transmission frame carries a preset second identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3, The decoding terminal does not perform parity check on the transmission frame, and the decoding terminal generates a service data frame based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame correspond to the 8 frames of the transmission frame. The data in the byte.
  • the decoding terminal when the frame header of the transmission frame carries a preset second identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.0, the decoding terminal does not perform parity check on the transmission frame, and the decoding terminal generates a service data frame based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame correspond to the 8 frames of the transmission frame. The data in the byte.
  • the decoding terminal checks data in 8 bytes of the transmission frame by using a parity check code preset in a frame header of the transmission frame;
  • the service data frame is generated based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame correspond one by one to carry the 8 words of the transmission frame.
  • the data in the section is not all D28.5, or when the data carried by the nth byte of the 8 bytes of the transmission frame is not In D28.0, D28.7, and D28.3
  • the decoding terminal checks data in 8 bytes of the transmission frame by using a parity check code preset in a frame header of the transmission frame;
  • the service data frame is generated based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame correspond one by one to carry the 8 words of the transmission frame.
  • the data in the section is not all D28.5, or when the data carried by the nth byte of the 8 bytes of the transmission frame is not In
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B.
  • the coding technique greatly improves the coding efficiency.
  • FIG. 20 is an encoding terminal 200 according to an embodiment of the present invention.
  • the encoding terminal 200 includes a processor 21012001, a memory 2002, and a transceiver 2003.
  • the processor 2001 and the memory 2002 and the transceiver 2003 pass The buses are connected to each other.
  • the memory 2002 includes, but is not limited to, a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM or flash memory), or a portable read only memory (CD-ROM). Memory 2002 Used for related instructions and data.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • CD-ROM portable read only memory
  • the processor 2001 may be one or more central processing units (English: Central Processing Unit, CPU for short). In the case where the processor 2001 is a CPU, the CPU may be a single core CPU or a multi-core CPU.
  • CPU Central Processing Unit
  • the processor 2001 in the encoding terminal 200 is configured to read the program code stored in the memory 2002, and perform the following operations:
  • the frame type in the JESD 204B data comprising a code level synchronization frame, an ILA sequence frame, and a service data frame, wherein the target JESD 204 frame is composed of 8 bytes;
  • the frame header of the transmission frame carries the first identifier, and the data carried by each byte of the 8 bytes of the transmission frame is D28.5;
  • the frame header of the transmission frame carries the first identifier, and the data carried by the preset nth byte in the 8 bytes of the transmission frame is D28. 0.
  • the 7 bytes of the 8 bytes of the transmission frame except the nth byte are one-to-one corresponding to the data in the last 7 bytes of the 8 bytes of the ILA sequence frame;
  • the encoding terminal 200 encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technique.
  • the words greatly improve the coding efficiency.
  • the frame header of the transmission frame carries a second identifier
  • the data carried by the 8 bytes of the transmission frame is D28.5
  • the decoding terminal does not carry the second identifier and the data carried by the 8 bytes of the frame header are all D28.5 transmission
  • the frame is used for data verification.
  • a frame header of the transmission frame carries a first identifier, where the transmission frame is The data carried by the nth byte of the 8 bytes is D28.3, and the 7 bytes of the 8 bytes of the transmission frame are respectively corresponding to the 7 bytes of the A frame.
  • a frame header of the transmission frame carries a first identifier, where the transmission frame is The data carried by the nth byte of 8 bytes is D28.7, and 7 bytes of the 8 bytes of the transmission frame except the nth byte are one-to-one corresponding to the 8 of the F frame.
  • the target JESD 204 frame belongs to the service data frame and the target
  • the 8 bytes of the JESD 204 frame correspond to the 8 of the service data frame.
  • the data in the byte when the data carried in the nth byte of the transmission frame is D28.3, D28.7 or D28.0, the frame header of the transmission frame carries the second identifier;
  • the decoding terminal does not perform data verification on a transmission frame in which the frame header carries the second identifier and the data carried in the nth byte is D28.3, D28.7, or D28.0.
  • the target JESD 204 frame belongs to the service data frame and the data carried by the 8 bytes of the target JESD 204 frame is not all D28.5 and the target JESD 204 frame is not A.
  • the 8 bytes of the transmission frame are in one-to-one correspondence with the data in the 8 bytes of the service data frame, and the data carried in the nth byte of the transmission frame is not D28. 3.
  • the frame header of the transmission frame carries a data check code and an inverse of the data check code
  • the decoding terminal is configured to pass the data check code pair
  • the data carried by n bytes is not the data frame of D28.3 transmission frame, D28.7 transmission frame, D28.0 transmission frame, and 8 bytes of data not all for D28.5 transmission frame.
  • the data check code is an odd check code
  • the first bit in the frame header of the transmission frame is the odd parity code
  • the frame header of the transmission frame The last 1 bit in the middle is the inverse of the odd parity code; or the last 1 bit in the frame header of the transmission frame is the odd parity code, and the first 1 in the frame header of the transmission frame
  • the bits are the inverse of the odd parity code.
  • the data check code is an even check code
  • the first bit in the frame header of the transmission frame is the even check code
  • the frame header of the transmission frame The last 1 bit in the middle is the inverse of the even parity code; or the last 1 bit in the frame header of the transmission frame is the even parity code, and the first 1 in the frame header of the transmission frame
  • the bits are the inverse of the even parity code.
  • the first identifier is 10 and the second identifier is 01, or the first identifier is 01 and the second identifier is 10.
  • the encoding terminal 200 encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame.
  • the coding efficiency is greatly improved.
  • FIG. 21 is a decoding terminal 210 according to an embodiment of the present invention.
  • the decoding terminal 210 includes a processor 2101, a memory 2102, and a transceiver 2103.
  • the processor 2101 and the memory 2102 and the transceiver 2103 pass.
  • the buses are connected to each other.
  • the memory 2102 includes, but is not limited to, a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM or flash memory), or a portable read only memory (CD-ROM). Memory 2102 is used for related instructions and data.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • CD-ROM portable read only memory
  • the processor 2101 may be one or more central processing units 2101 (English: Central Processing Unit, CPU for short). In the case where the processor 2101 is a CPU, the CPU may be a single core CPU or a multi-core CPU.
  • CPU Central Processing Unit
  • the processor 2101 in the decoding terminal 210 is configured to read the program code stored in the memory 2102, and perform the following operations:
  • a transmission frame sent by an encoding terminal where the transmission frame is obtained by encoding, by the encoding terminal, a JESD 204 frame by using a 64B66B encoding technology, where the transmission frame is composed of 8 bytes and 2 bits, and the transmission frame a bit is a frame header of the transmission frame;
  • each byte of 8 bytes of the transmission frame is D28.5, based on 8 bytes of the transmission frame
  • the data in the data generates a code level synchronization frame, and each byte of the 8 bytes of the code level synchronization frame carries data of D28.5;
  • the transmission frame is based on the transmission frame
  • the data in 8 bytes generates an ILA sequence frame, the 8 bytes of the ILA sequence frame one-to-one corresponding to the data in the 8 bytes of the transmission frame, and the 8 bytes of the ILA sequence frame
  • the data of the 0th byte in the data is D28.0.
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technology.
  • the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technology.
  • processor 2101 is further configured to:
  • the service is generated based on the data in the 8 bytes of the transmission frame.
  • the data frame, each byte of the 8 bytes of the service data frame carries data of D28.5.
  • processor 2101 is further configured to:
  • the frame header of the transmission frame carries the first identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3, based on 8 bytes of the transmission frame
  • the data in the data generation service data frame, the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame, and the last word of the 8 bytes of the service data frame
  • the data for the section is D28.3.
  • processor 2101 is further configured to:
  • the frame header of the transmission frame carries the first identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7, based on 8 bytes of the transmission frame
  • the data in the data generation service data frame, the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame, and the last word of the 8 bytes of the service data frame
  • the data for the section is D28.7.
  • processor 2101 is further configured to:
  • the frame header of the transmission frame carries a preset second identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.3, 8 words based on the transmission frame
  • the data in the section generates a service data frame, and the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame.
  • processor 2101 is further configured to:
  • the frame header of the transmission frame carries a preset second identifier and the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7, 8 words based on the transmission frame
  • the data in the section generates a service data frame, and the 8 bytes of the service data frame are one-to-one corresponding to the data in the 8 bytes of the transmission frame.
  • processor 2101 is further configured to:
  • the frame header of the transmission frame carries a preset second identifier and the nth byte of the 8 bytes of the transmission frame carries
  • the data of the band is D28.0
  • a service data frame is generated based on data in 8 bytes of the transmission frame, and 8 bytes of the service data frame are correspondingly carried to carry 8 bytes of the transmission frame.
  • the processor 2101 is further configured to:
  • the service data frame is generated based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame are in one-to-one correspondence. Carrying data in 8 bytes of the transmission frame.
  • the data check code is an odd check code
  • the first bit in the frame header of the transmission frame is the odd parity code
  • the frame header of the transmission frame The last 1 bit in the middle is the inverse of the odd parity code; or the last 1 bit in the frame header of the transmission frame is the odd parity code, and the first 1 in the frame header of the transmission frame
  • the bits are the inverse of the odd parity code.
  • the data check code is an even check code
  • the first bit in the frame header of the transmission frame is the even check code
  • the frame header of the transmission frame The last 1 bit in the middle is the inverse of the even parity code; or the last 1 bit in the frame header of the transmission frame is the even parity code, and the first 1 in the frame header of the transmission frame
  • the bits are the inverse of the even parity code.
  • the first identifier is 10 and the second identifier is 01, or the first identifier is 01 and the second identifier is 10.
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, as compared with The 8B10B encoding technology greatly improves the coding efficiency.
  • FIG. 22 is a schematic structural diagram of still another encoding terminal 220 according to an embodiment of the present invention.
  • the encoding terminal 220 may include a determining unit 2201, an encoding unit 2202, and a sending unit 2203, where detailed descriptions of the respective units are as follows. .
  • the determining unit 2201 is configured to determine a frame type of the target JESD 204 frame in the JESD 204B data to be transmitted, where the frame type in the JESD 204B data includes a code level synchronization frame, an ILA sequence frame, and a service data frame, and the target JESD 204 frame consists of 8 frames.
  • the encoding unit 2202 is configured to encode the target JESD 204 frame by a 64B66B encoding technique to obtain a 66-bit transmission frame, where the transmission frame is composed of 8 bytes and 2 bits and the 2 bits are frames of the transmission frame. head;
  • the frame header of the transmission frame carries the first identifier, and the data carried by each byte of the 8 bytes of the transmission frame is D28.5;
  • the frame header of the transmission frame carries the first identifier
  • the data carried by the preset nth byte in the 8 bytes of the transmission frame is D28.
  • 0, 7 bytes of the 8 bytes of the transmission frame except the nth byte are one-to-one corresponding to the last 7 bytes of the 8 bytes carrying the ILA sequence frame.
  • the sending unit 2203 is configured to send the transmission frame to the decoding terminal, where the decoding terminal does not carry the first identifier and the data carried by each byte of 8 bytes of the frame header is a transmission frame of D28.5. Data verification, and the decoding terminal does not perform data verification on the transmission frame of the D28.0, the data carried by the frame header carrying the first identifier and the nth byte of the 8 bytes.
  • the encoding 220 uses the 64B66B encoding technique to encode the target JESD 204 frame to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technique. In terms of coding efficiency is greatly improved.
  • the frame header of the transmission frame carries a second identifier
  • the data carried by the 8 bytes of the transmission frame is D28.5
  • the decoding terminal does not carry the second identifier and the data carried by the 8 bytes of the frame header are all D28.5 transmission
  • the frame is used for data verification.
  • a frame header of the transmission frame carries a first identifier, where the transmission frame is The data carried by the nth byte of the 8 bytes is D28.3, and the 7 bytes of the 8 bytes of the transmission frame are respectively corresponding to the 7 bytes of the A frame.
  • a frame header of the transmission frame carries a first identifier, where the transmission frame is The data carried by the nth byte of 8 bytes is D28.7, and 7 bytes of the 8 bytes of the transmission frame except the nth byte are one-to-one corresponding to the 8 of the F frame.
  • the target JESD 204 frame belongs to the service data frame and the data carried by the 8 bytes of the target JESD 204 frame is not all D28.5 and the target JESD 204 frame is not A.
  • the 8 bytes of the transmission frame correspond to the data in the 8 bytes of the service data frame, and the data carried in the nth byte of the transmission frame is D28. 3.
  • the frame header of the transmission frame carries the second identifier; the decoding terminal does not carry the second identifier on the frame header and the data carried in the nth byte is D28. 3.
  • the data transmission frame of D28.7 or D28.0 is used for data verification.
  • the target JESD 204 frame belongs to the service data frame and the data carried by the 8 bytes of the target JESD 204 frame is not all D28.5 and the target JESD 204 frame is not A.
  • the 8 bytes of the transmission frame are in one-to-one correspondence with the data in the 8 bytes of the service data frame, and the data carried in the nth byte of the transmission frame is not D28. 3.
  • the frame header of the transmission frame carries a data check code and an inverse of the data check code
  • the decoding terminal is configured to pass the data check code pair
  • the data carried by n bytes is not the data frame of D28.3 transmission frame, D28.7 transmission frame, D28.0 transmission frame, and 8 bytes of data not all for D28.5 transmission frame.
  • the data check code is an odd check code
  • the first bit in the frame header of the transmission frame is the odd parity code
  • the frame header of the transmission frame The last 1 bit in the middle is the inverse of the odd parity code; or the last 1 bit in the frame header of the transmission frame is the odd parity code, and the first 1 in the frame header of the transmission frame Bits The inverse of the odd parity code.
  • the data check code is an even check code
  • the first bit in the frame header of the transmission frame is the even check code
  • the frame header of the transmission frame The last 1 bit in the middle is the inverse of the even parity code; or the last 1 bit in the frame header of the transmission frame is the even parity code, and the first 1 in the frame header of the transmission frame
  • the bits are the inverse of the even parity code.
  • the first identifier is 10 and the second identifier is 01, or the first identifier is 01 and the second identifier is 10.
  • each unit in the embodiment of the present invention may also correspond to the corresponding description of the method embodiment shown in FIG. 7.
  • the encoding 220 uses the 64B66B encoding technique to encode the target JESD 204 frame to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame.
  • the coding efficiency is greatly improved.
  • FIG. 23 is a schematic structural diagram of still another decoding terminal 230 according to an embodiment of the present invention.
  • the decoding terminal 230 may include a receiving unit 2301, a parsing unit 2302, and a decoding unit 2303, where detailed descriptions of the units are as follows. .
  • the receiving unit 2301 is configured to receive a transmission frame sent by the encoding terminal, where the transmission frame is obtained by encoding, by the encoding terminal, a JESD 204 frame by using a 64B66B encoding technology, where the transmission frame is composed of 8 bytes and 2 bits, and the transmission frame is a bit is a frame header of the transmission frame;
  • the parsing unit 2302 is configured to parse the transmission frame to acquire data in the 8 bytes and the 2 bits;
  • the decoding unit 2303 is configured to: when the frame header of the transmission frame carries a preset first identifier and the data in each byte of the 8 bytes of the transmission frame is D28.5, based on the transmission frame The data in the 8 bytes generates a code level synchronization frame, and each byte of the 8 bytes of the code level synchronization frame carries data of D28.5;
  • the decoding unit 2303 is further configured to: when the frame header of the transmission frame carries the first identifier, and the data carried by the nth byte preset in the 8 bytes of the transmission frame is D28.0, Generating an ILA sequence frame based on data in 8 bytes of the transmission frame, the 8 bytes of the ILA sequence frame correspondingly carrying data in 8 bytes of the transmission frame, and the ILA sequence The data of the 0th byte of the 8 bytes of the frame is D28.0.
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal 230 decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding technique.
  • the words greatly improve the coding efficiency.
  • the decoding unit 2303 is further configured to: carry a preset second identifier in a frame header of the transmission frame, and carry data of 8 bytes of the transmission frame are all D28.5
  • the service data frame is generated based on the data in the 8 bytes of the transmission frame, and the data carried in each byte of the 8 bytes of the service data frame is D28.5.
  • the decoding unit 2303 is configured to carry the first identifier in a frame header of the transmission frame and carry the nth byte of the 8 bytes of the transmission frame.
  • a service data frame is generated based on data in 8 bytes of the transmission frame, and 8 bytes of the service data frame are correspondingly carried in 8 bytes of the transmission frame.
  • Data, and the data of the last byte of the 8 bytes of the service data frame is D28.3.
  • the decoding unit 2303 is configured to carry the first label in a frame header of the transmission frame. And when the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7, the service data frame is generated based on the data in the 8 bytes of the transmission frame, and the service data frame The 8 bytes of the data correspond to the data in the 8 bytes of the transmission frame, and the data of the last byte of the 8 bytes of the service data frame is D28.7.
  • the decoding unit 2303 is configured to carry a preset second identifier in a frame header of the transmission frame and carry an nth byte in 8 bytes of the transmission frame.
  • the decoding terminal 230 When the data is D28.3, the decoding terminal 230 generates a service data frame based on the data in the 8 bytes of the transmission frame, and the 8 bytes of the service data frame correspond to the transmission frame. Data in 8 bytes.
  • the frame header of the transmission frame carries a preset second identifier
  • the data carried by the nth byte of the 8 bytes of the transmission frame is D28.7.
  • the decoding unit 2303 is configured to generate a service data frame based on data in 8 bytes of the transmission frame, where 8 bytes of the service data frame are correspondingly carried in 8 bytes of the transmission frame. data.
  • the decoding unit 2303 is configured to carry a preset second identifier in a frame header of the transmission frame and carry an nth byte in 8 bytes of the transmission frame.
  • a service data frame is generated based on data in 8 bytes of the transmission frame, and 8 bytes of the service data frame are correspondingly carried in 8 bytes of the transmission frame. The data.
  • the frame header of the transmission frame includes a data check code and an inverse of the data check code
  • the decoding unit 2303 is configured to check data in 8 bytes of the transmission frame by using the data check code
  • the decoding unit 2303 is configured to generate a service data frame based on data in 8 bytes of the transmission frame, where the service data frame The eight bytes one by one correspond to the data in the eight bytes carrying the transmission frame.
  • the data check code is an odd check code
  • the first bit in the frame header of the transmission frame is the odd parity code
  • the frame header of the transmission frame The last 1 bit in the middle is the inverse of the odd parity code; or the last 1 bit in the frame header of the transmission frame is the odd parity code, and the first 1 in the frame header of the transmission frame
  • the bits are the inverse of the odd parity code.
  • the data check code is an even check code
  • the first bit in the frame header of the transmission frame is the even check code
  • the frame header of the transmission frame The last 1 bit in the middle is the inverse of the even parity code; or the last 1 bit in the frame header of the transmission frame is the even parity code, and the first 1 in the frame header of the transmission frame
  • the bits are the inverse of the even parity code.
  • the first identifier is 10 and the second identifier is 01, or the first identifier is 01 and the second identifier is 10.
  • each unit in the embodiment of the present invention may also correspond to the corresponding description of the method embodiment shown in FIG. 7.
  • the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal 230 decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame.
  • the coding efficiency is greatly improved.
  • FIG. 24 is an encoding system 240 according to an embodiment of the present invention.
  • the encoding system includes an encoding terminal 2401 and a decoding terminal 2402, where:
  • the encoding terminal 2401 may be the encoding terminal 200 in the embodiment shown in FIG. 20 or the encoding terminal 220 shown in FIG.
  • the decoding terminal 2402 may be the decoding terminal 210 in the embodiment shown in FIG. 21 or the decoding terminal 230 shown in FIG.
  • the encoding terminal By running the encoding system 240, the encoding terminal encodes the target JESD 204 frame using the 64B66B encoding technique to obtain a transmission frame, and the decoding terminal 230 decrypts the transmission frame by the 64B66B encoding technique to restore the target JESD 204 frame, compared to the 8B10B encoding.
  • the coding efficiency is greatly improved.
  • the encoding terminal encodes the target JESD 204 frame by using the 64B66B encoding technology to obtain a transmission frame, and the decoding terminal decrypts the transmission frame by using the 64B66B encoding technology to restore the target JESD 204 frame.
  • the coding efficiency is greatly improved.
  • the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Communication Control (AREA)

Abstract

La présente invention porte, dans des modes de réalisation, sur un procédé de codage ainsi que sur un appareil et un système associés. Le procédé comprend les étapes suivantes : un terminal de codage détermine un type de trame d'une trame JESD204 cible dans les données JESD204B qui doivent être transmises ; le terminal de codage code la trame JESD204 cible à l'aide d'une technique de codage 64B66B pour obtenir une trame de transmission de 66 bits ; le terminal de codage transmet la trame de transmission à un terminal de décodage ; le terminal de décodage omet une vérification de données d'une trame de transmission dans laquelle un en-tête de trame transporte un premier identifiant et les données transportées dans chacun des 8 octets sont D28.5 ; et le terminal de décodage omet une vérification de données d'une trame de transmission dans laquelle un en-tête de trame transporte un premier identifiant et des données transportées dans un nième octet des 8 octets est D28.0. Le procédé basé sur les modes de réalisation de la présente invention est capable d'améliorer l'efficacité de codage.
PCT/CN2017/071768 2016-07-19 2017-01-19 Procédé de codage ainsi qu'appareil et système associés WO2018014529A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610575049.9 2016-07-19
CN201610575049.9A CN106160912A (zh) 2016-07-19 2016-07-19 一种编码方法、相关设备及系统

Publications (1)

Publication Number Publication Date
WO2018014529A1 true WO2018014529A1 (fr) 2018-01-25

Family

ID=58059948

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071768 WO2018014529A1 (fr) 2016-07-19 2017-01-19 Procédé de codage ainsi qu'appareil et système associés

Country Status (2)

Country Link
CN (1) CN106160912A (fr)
WO (1) WO2018014529A1 (fr)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106160912A (zh) * 2016-07-19 2016-11-23 华为技术有限公司 一种编码方法、相关设备及系统
CN106789765A (zh) * 2016-11-18 2017-05-31 广东工业大学 一种通信链路管理方法及系统
CN106919532A (zh) * 2017-03-10 2017-07-04 重庆湃芯微电子有限公司 一种基于jesd204b的弹性缓冲器
CN106933774B (zh) * 2017-03-10 2019-08-27 重庆湃芯微电子有限公司 一种jesd204b协议中解帧的方法
CN106933773B (zh) * 2017-03-10 2019-08-23 重庆湃芯微电子有限公司 一种jesd204b协议中帧组装的方法
CN107395539A (zh) * 2017-08-31 2017-11-24 华南理工大学 一种适用于jesd204b协议中的8b10b编码器设计方法
CN109409901B (zh) * 2018-08-20 2021-08-10 同济大学 用于商品外包装的打孔式信息编解码方法
CN109815099B (zh) * 2018-12-28 2022-08-05 北京时代民芯科技有限公司 Jesd204b控制器的fpga验证方法
CN111124982B (zh) * 2019-12-17 2021-07-06 中国电子科技集团公司第五十八研究所 一种异步时钟数据同步电路

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050028066A1 (en) * 2003-07-30 2005-02-03 Alcatel Error correction on M-bit encoded links
CN101227450A (zh) * 2007-01-16 2008-07-23 华为技术有限公司 一种开销信息的传输方法、系统及设备
CN101610134A (zh) * 2009-07-10 2009-12-23 中兴通讯股份有限公司 64b/66b编解码装置及实现64b/66b编解码的方法
US20110320905A1 (en) * 2010-06-29 2011-12-29 Futurewei Technologies, Inc. Data Sending/Receiving Method with Forward Error Correction and Related Component and System for Gigabit Ethernet
CN106160912A (zh) * 2016-07-19 2016-11-23 华为技术有限公司 一种编码方法、相关设备及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2139143A3 (fr) * 2004-01-27 2010-01-27 Samsung Electronics Co., Ltd. Système d'émission/réception de diffusion numérique doté d'une performance de réception améliorée et procédé de traitement du signal correspondant
WO2007035260A1 (fr) * 2005-09-15 2007-03-29 Analog Devices, Inc. Systeme de transmission ultrarapide
CN100403825C (zh) * 2006-01-26 2008-07-16 华为技术有限公司 通用无线接口传输帧定时和帧号的方法
CN103618551A (zh) * 2013-10-18 2014-03-05 中国电子科技集团公司第十研究所 基于jesd204传输协议实现串行ad采样的方法及其装置
CN104063342B (zh) * 2014-05-30 2017-01-11 中国电子科技集团公司第十研究所 基于jesd204协议的ip核

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050028066A1 (en) * 2003-07-30 2005-02-03 Alcatel Error correction on M-bit encoded links
CN101227450A (zh) * 2007-01-16 2008-07-23 华为技术有限公司 一种开销信息的传输方法、系统及设备
CN101610134A (zh) * 2009-07-10 2009-12-23 中兴通讯股份有限公司 64b/66b编解码装置及实现64b/66b编解码的方法
US20110320905A1 (en) * 2010-06-29 2011-12-29 Futurewei Technologies, Inc. Data Sending/Receiving Method with Forward Error Correction and Related Component and System for Gigabit Ethernet
CN106160912A (zh) * 2016-07-19 2016-11-23 华为技术有限公司 一种编码方法、相关设备及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HE, YUANBO: "Research on Digital Signal Processing Platform of Radio Remote Unit", MASTER'S DISSERTATION OF UNIVERSITY OF ELECTRONIC SCIENCE AND TECHNOLOGY OF CHINA, 31 December 2015 (2015-12-31) *

Also Published As

Publication number Publication date
CN106160912A (zh) 2016-11-23

Similar Documents

Publication Publication Date Title
WO2018014529A1 (fr) Procédé de codage ainsi qu'appareil et système associés
US7707475B2 (en) 64b/66b coding apparatus and method
US10050741B2 (en) Method and apparatus for transmitting and receiving control information in a broadcasting/communication system
US9467165B2 (en) Physical layer encoding and decoding method and apparatuses thereof
US8630309B2 (en) Frame generation apparatus and method of protecting protocol header information over wideband high frequency wireless system
KR101028918B1 (ko) 무선 통신 시스템에서 프로토콜 헤더 구성 방법 및 그 장치
JP2010517392A (ja) データを符号化および復号化するための方法および機器
US11265108B2 (en) Method and device for rate matching and polar encoding
US11075652B2 (en) Polar code transmission method and apparatus
AU2013260417B2 (en) Apparatus and method of transmitting and receiving packet in a broadcasting and communication system
US11831434B2 (en) Data sending and receiving method and device
US20070168835A1 (en) Serial communications system and method
CN107733562B (zh) 极化码的编解码方法及装置
US20230224194A1 (en) Data encoding method, data decoding method, and communication apparatus
CN103312458A (zh) 混合编码方法
CN108768906B (zh) 加扰方法、设备及可读存储介质
US9749237B2 (en) Method and apparatus for aggregating and encoding received symbols including generation of a pointer for a control code
RU2646346C2 (ru) Устройство и способ передачи и приема пакета с прямой коррекцией ошибок
US20230246741A1 (en) Data Processing Method and Device in Passive Optical Network System
US11005498B1 (en) Methods and network device for uncoded bit protection in 10Gbase-T ethernet
JP2019083507A (ja) 受信装置、送信装置、受信方法及び送信方法
WO2011137820A1 (fr) Procédé, appareil et système de codage et décodage de ligne
CN113726479A (zh) Fec编码模块、方法以及fec解码模块、方法
KR101181624B1 (ko) 광대역 고주파수 무선 시스템에서 가변 길이 헤더 정보 보호를 위한 프레임 생성 장치 및 방법
CN113381836A (zh) 一种线路编码方法及装置

Legal Events

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

Ref document number: 17830178

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17830178

Country of ref document: EP

Kind code of ref document: A1