CN116261066A - Data transmission method and related equipment - Google Patents

Data transmission method and related equipment Download PDF

Info

Publication number
CN116261066A
CN116261066A CN202111508860.2A CN202111508860A CN116261066A CN 116261066 A CN116261066 A CN 116261066A CN 202111508860 A CN202111508860 A CN 202111508860A CN 116261066 A CN116261066 A CN 116261066A
Authority
CN
China
Prior art keywords
transmission data
overhead
codeword
error correction
forward error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111508860.2A
Other languages
Chinese (zh)
Inventor
喻凡
李沫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111508860.2A priority Critical patent/CN116261066A/en
Publication of CN116261066A publication Critical patent/CN116261066A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The embodiment of the application discloses a data transmission method and related equipment, which are applied to a passive optical network. The data transmission method specifically comprises the following steps: the performance is enhanced by cascading another FEC method on the basis of one FEC, and extra codeword overhead generated by the other FEC is inserted into an idle frame of data without affecting the current network equipment, so that the FEC gain performance is improved and the network power budget and the receiver sensitivity are improved under the condition of being compatible with the existing FEC.

Description

Data transmission method and related equipment
Technical Field
The embodiment of the application relates to the field of optical communication, in particular to a data transmission method and related equipment.
Background
Passive optical networks (passive optical network, PON) are fiber-based network structures that can provide a much larger bandwidth in the access network portion than conventional copper-based networks. PON is a point-to-multipoint (P2 MP) network consisting of optical line terminals (optical line terminal, OLT) located in a Central Office (CO), an optical distribution network (optical distribution network, ODN), and optical network units (optical network unit, ONUs) located at customer sites.
As the number of PON access clients increases, the link budget of the PON system needs to be increased to achieve a higher splitting ratio or a larger transmission distance span of the network, and a more straightforward and efficient solution is to increase the performance of the system forward error correction codes (forward error code, FEC). In order to improve FEC performance, another FEC method may be cascaded to enhance performance based on the current FEC of the PON, and then a transmission convergence (transmission convergence, TC) frame of the PON is divided into a plurality of sub-TC frames, each sub-TC frame adopts FEC coding with different performance to encode users corresponding to different link budgets, or another codeword of the cascade is used as an inner code, and the current FEC is used as an outer code, so that a new ONU and a standard ONU can coexist, and an added cascade inner code is selected from a plurality of encoded codewords to adapt to the optical link budgets.
However, although the above scheme can improve FEC performance, enhance system link budget, and also consider that the adaptive system channel state adopts FEC compatible with multiple code rates, the existing network device, such as the ONU device deployed in the existing network, cannot process the increased overhead of the inner code, and cannot be compatible with the existing network device.
Disclosure of Invention
The embodiment of the application provides a data transmission method and related equipment, which are used for improving FEC gain performance under the condition of being compatible with the existing FEC. The embodiment of the application also provides corresponding communication equipment, a passive optical network, a computer readable storage medium and the like.
A first aspect of the present application provides a data transmission method, including: the transmitting unit acquires first transmission data; the transmitting unit encodes the first transmission data through a first forward error correction code; the transmitting unit encodes the encoded first transmission data through a second forward error correction code to obtain first target transmission data and generate first codeword overhead, wherein the first codeword overhead is placed in an idle frame of second transmission data, and the second transmission data is transmission data subsequent to the first transmission data; the transmitting unit transmits the first target transmission data to the receiving unit.
In the application, the first transmission data is output data transmitted to the transmitting unit by the medium access control layer (media access control, MAC), and the MAC layer also generates an idle frame to be randomly inserted into the output data, that is, the idle frame is inserted into the subsequent transmission data, and the first codeword overhead obtained by encoding the first transmission data is placed in the idle frame.
In the present application, a first forward error correction code laterally encodes first transmission data, and a second forward error correction code longitudinally encodes first transmission data.
For the existing network equipment, namely the established equipment, the method is only suitable for upgrading one forward error correction code, and can not process the extra codeword overhead generated after the two forward error correction codes are upgraded, in the method, the extra codeword overhead can be inserted into idle frames for subsequent data transmission, the enhanced FEC code blocks can be suitable without changing the existing network equipment, the equipment which is deployed in a large quantity in the current existing network can be compatible, and because the enhanced FEC does not influence the original RS codeword path, the method can also be compatible with other equipment such as standard optical network units (optical network unit, ONU), optical line terminals (optical line terminal, OLT) and the like in the network, so that the non-perception upgrading on the network equipment is realized.
According to the first aspect, performance is enhanced by cascading another FEC method on the basis of one FEC, and extra code word overhead generated by the other FEC is inserted into idle frames of data without affecting current network equipment, so that FEC gain performance is improved, and network power budget and receiver sensitivity are improved under the condition of being compatible with the existing FEC.
In a possible implementation manner of the first aspect, the steps are as follows: after the transmitting unit acquires the first transmission data, the method further includes: the sending unit obtains second transmission data; the steps are as follows: after the transmitting unit encodes the encoded first transmission data by the second forward error correction code, the method further includes: the sending unit inserts the first codeword overhead into an idle frame of the second transmission data; the transmitting unit encodes second transmission data inserted with the first codeword overhead through a first forward error correction code to obtain second target transmission data and generate second codeword overhead, wherein the second codeword overhead is placed in an idle frame of transmission data subsequent to the second transmission data; the transmitting unit transmits the second target transmission data to the receiving unit.
In this possible implementation manner, the sending unit may continuously acquire the first transmission data and the second transmission data, and continuously encode the first transmission data and the second transmission data by using the first forward error correction code and the second forward error correction code, where the first codeword overhead is inserted into an idle frame of the second transmission data, and the second codeword overhead is placed in an idle frame of the subsequent transmission data, so that the feasibility of the scheme is improved.
In a possible implementation manner of the first aspect, the steps are as follows: the method further comprises, before the transmitting unit inserts the first codeword overhead into the idle frame of the second transmission data: the transmitting unit encodes the first codeword overhead through a first forward error correction code to obtain codeword overhead of the first codeword overhead; the steps are as follows: after the transmitting unit inserts the first codeword overhead into the idle frame of the second transmission data, the method further comprises: the transmitting unit inserts codeword overheads of the first codeword overheads into idle frames of the second transmission data.
In this possible implementation manner, the sending unit inserts the first codeword overhead and the codeword overhead of the first codeword overhead into the idle frame of the second transmission data sequentially or together, so that the first codeword overhead and the codeword overhead of the first codeword overhead can be directly inserted back into the first transmission data during decoding, thereby reducing decoding complexity.
In a possible implementation manner of the first aspect, the first forward error correction code and the second forward error correction code are any one of reed-solomon RS codes, repetition codes, extended hamming codes, BCH codes or shortened extended BCH codes.
In the possible implementation manner, any forward error correction code can be used for improving the FEC gain performance, multiple overhead specifications can be configured, and the enhancement upgrading schemes with different additional overheads can be flexibly selected according to the system channel, so that different gain benefits are obtained.
A second aspect of the present application provides a data transmission method, including: the receiving unit receives the first target transmission data and the second target transmission data which are continuously transmitted by the transmitting unit, wherein first codeword overhead is arranged in an idle frame of the second target transmission data, and the first codeword overhead is generated by the transmitting unit through encoding the first transmission data after the encoding of the first forward error correction code by the second forward error correction code; the receiving unit decodes the first target transmission data and the second target transmission data through a first forward error correction code to obtain first codeword overhead; the receiving unit inserts the first codeword overhead into the corresponding position in the decoded first target transmission data; the receiving unit decodes the decoded first target transmission data through the second forward error correction code, and decodes the first codeword overhead through the first forward error correction code to obtain the first transmission data.
In the present application, an idle frame randomly generated by a MAC layer is inserted into second target transmission data, a first codeword overhead generated by encoding first transmission data is placed in the idle frame, after decoding to obtain the first codeword overhead, the first codeword overhead is inserted back into the first target transmission data, then the first target transmission data inserted back with the first codeword overhead is decoded, where the decoding process may be repeated and iterated, and finally the first transmission data to be transmitted may be obtained.
In the application, when the receiving unit receives the first target transmission data and the second target transmission data, the first transmission data can be obtained after decoding is completed, when the receiving unit continues to receive the second target transmission data, the second transmission data can be obtained after decoding is completed, and so on, when the receiving unit receives an idle frame of the subsequent transmission data, the decoding of the received target transmission data can be completed, and the corresponding transmission data can be obtained.
According to the second aspect, performance is enhanced by cascading another FEC method on the basis of one FEC, and extra code word overhead generated by the other FEC is inserted into idle frames of data, so that current network equipment is not affected, and therefore FEC gain performance and network power budget and receiver sensitivity are improved under the condition of being compatible with the existing FEC.
In a possible implementation manner of the second aspect, the steps are as follows: after the receiving unit receives the first target transmission data and the second target transmission data sent by the sending unit, the method further includes: the receiving unit receives third target transmission data sent by the sending unit, and second codeword overhead is arranged in an idle frame of the third target transmission data, wherein the second codeword overhead is generated by the sending unit through encoding second transmission data after encoding the first forward error correction code by the second forward error correction code; the steps are as follows: after the receiving unit decodes the first target transmission data and the second target transmission data through the first forward error correction code, the method further includes: the receiving unit decodes the third target transmission data through the first forward error correction code to obtain second codeword overhead; the receiving unit inserts the second codeword overhead into the corresponding position in the decoded second target transmission data; the receiving unit decodes the decoded second target transmission data through the second forward error correction code, and decodes the second codeword overhead through the first forward error correction code to obtain second transmission data.
In this possible implementation manner, the receiving unit may continuously receive the first target transmission data, the second target transmission data and the third target transmission data, and continuously decode the first target transmission data, the second target transmission data and the third target transmission data by using the first forward error correction code and the second forward error correction code, so that the first transmission data and the second transmission data can be obtained after decoding is completed, thereby improving the feasibility of the scheme.
In a possible implementation manner of the second aspect, a codeword overhead of a first codeword overhead is further placed in an idle frame of the second target transmission data, where the codeword overhead of the first codeword overhead is obtained by encoding, by the sending unit, the first codeword overhead by using a first forward error correction code, and the steps are as follows: the receiving unit inserting the first codeword overhead into the corresponding position in the decoded first target transmission data includes: the receiving unit inserts the first codeword overhead and the codeword overhead of the first codeword overhead into corresponding positions in the decoded first target transmission data.
In this possible implementation manner, the sending unit inserts the first codeword overhead and the codeword overhead of the first codeword overhead together into the idle frame of the second transmission data, so that the first codeword overhead and the codeword overhead of the first codeword overhead can be directly inserted back into the first transmission data during decoding, and the decoding complexity is reduced.
In a possible implementation manner of the second aspect, the first forward error correction code and the second forward error correction code are any one of reed-solomon RS codes, repetition codes, extended hamming codes, BCH codes or shortened extended BCH codes.
In the possible implementation manner, any forward error correction code can be used for improving the FEC gain performance, multiple overhead specifications can be configured, and the enhancement upgrading schemes with different additional overheads can be flexibly selected according to the system channel, so that different gain benefits are obtained.
In a third aspect of the present application, a communication device is provided for performing the method of the first aspect or any possible implementation manner of the first aspect. In particular, the communication device comprises means or units for performing the method of the first aspect or any possible implementation of the first aspect, such as: the device comprises an acquisition unit, a first coding unit, a second coding unit and a sending unit.
In a fourth aspect of the present application, a communication device is provided for performing the method of the second aspect or any possible implementation manner of the second aspect. In particular, the communication device comprises means or units for performing the method of the second aspect or any possible implementation of the second aspect as such, as: the device comprises a receiving unit, a first decoding unit, an inserting unit and a second decoding unit.
A fifth aspect of the present application provides a communication device comprising:
a processor and a memory for storing program code, the processor for invoking the program code in the memory to cause the communication device to perform the method of the first aspect or any possible implementation of the first aspect.
A sixth aspect of the present application provides a communication device comprising:
a processor and a memory for storing program code, the processor for invoking the program code in the memory to cause the communication device to perform the method of the second aspect or any possible implementation of the second aspect of the present application.
A seventh aspect of the present application provides a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method as in the first aspect or any possible implementation of the first aspect.
An eighth aspect of the present application provides a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method as in the second aspect or any possible implementation of the second aspect.
A ninth aspect of the present application provides a computer program product storing one or more computer-executable instructions which, when executed by a processor, perform a method as described above or any one of the possible implementations of the first aspect.
A tenth aspect of the present application provides a computer program product storing one or more computer-executable instructions which, when executed by a processor, perform a method as described above in the second aspect or any one of the possible implementations of the second aspect.
An eleventh aspect of the present application provides a chip system comprising at least one processor and an interface for receiving data and/or signals, the at least one processor being adapted to support a computer device for carrying out the functions referred to in the first aspect or any one of the possible implementations of the first aspect. In one possible design, the chip system may further include memory to hold program instructions and data necessary for the computer device. The chip system can be composed of chips, and can also comprise chips and other discrete devices.
A twelfth aspect of the present application provides a chip system comprising at least one processor and an interface for receiving data and/or signals, the at least one processor being adapted to support a computer device for carrying out the functions referred to in the second aspect or any one of the possible implementations of the second aspect. In one possible design, the chip system may further include memory to hold program instructions and data necessary for the computer device. The chip system can be composed of chips, and can also comprise chips and other discrete devices.
A thirteenth aspect of the present application provides a passive optical network, comprising the communication device of the third aspect or any possible implementation manner of the third aspect and the communication device of the fourth aspect or any possible implementation manner of the fourth aspect.
In the embodiment of the invention, the performance is enhanced by cascading another FEC method on the basis of one FEC, and the extra code word overhead generated by the other FEC is inserted into the idle frame of the data without affecting the current network equipment, so that the FEC gain performance is improved and the network power budget and the receiver sensitivity are improved under the condition of being compatible with the existing FEC.
Drawings
Fig. 1 is a schematic architecture diagram of a passive optical network according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a PON downlink frame according to an embodiment of the present application;
fig. 3 is a schematic diagram of an embodiment of a data transmission method according to an embodiment of the present application;
fig. 4 is a schematic diagram of an embodiment of an enhanced FEC code block provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of an encoder provided in an embodiment of the present application;
fig. 6 is a schematic diagram of output data of a MAC layer according to an embodiment of the present application;
fig. 7 is a schematic diagram of another embodiment of an enhanced FEC code block provided in an embodiment of the present application;
Fig. 8 is a schematic diagram of an embodiment of a data flow of transmission data according to an embodiment of the present application;
fig. 9 is a schematic diagram of another embodiment of an enhanced FEC code block provided in an embodiment of the present application;
fig. 10 is a schematic diagram of another embodiment of a data flow of transmission data according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a decoder according to an embodiment of the present disclosure;
fig. 12 is a schematic view of an embodiment of a communication device according to an embodiment of the present application;
fig. 13 is a schematic view of another embodiment of a communication device provided in an embodiment of the present application;
fig. 14 is a schematic view of an embodiment of a communication device according to an embodiment of the present application;
fig. 15 is a schematic view of another embodiment of a communication device provided in an embodiment of the present application;
fig. 16 is a schematic diagram of another embodiment of a communication device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will now be described with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some, but not all embodiments of the present application. As a person of ordinary skill in the art can know, with the development of technology and the appearance of new scenes, the technical solutions provided in the embodiments of the present application are applicable to similar technical problems.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application provides a data transmission method and related equipment, which are used for improving FEC gain performance under the condition of being compatible with the existing FEC. The embodiment of the application also provides corresponding communication equipment, a passive optical network, a computer readable storage medium and the like. The following description will be made separately.
Fig. 1 is a schematic diagram of a passive optical network (passive optical network, PON) 100 for implementing an embodiment of the present invention. The PON100 may comprise an optical line terminal (optical line terminal, OLT) 110, one or more optical network units (optical network unit, ONUs) 120, and an optical distribution network (optical distribution network, ODN) 130 for coupling the OLT110 to the ONUs 120. Although four ONUs are depicted in fig. 1, in other embodiments PON100 may comprise more or fewer ONUs 120.
The PON100 may be configured as a communication network that may not require active components to distribute data between the OLT110 and the ONUs 120. Instead, the PON100 may distribute data between the OLT110 and the ONUs 120 using passive optical components in the ODN 130. The OLT110 is configured to communicate with the ONUs 120 and another network (not shown). Specifically, the OLT110 may act as an intermediary between the other network and the ONUs 120. For example, the OLT110 may forward data received from the other network to the ONU120, and forward data received from the ONU120 to the other network. The OLT110 may include at least one transmitter and at least one receiver. In case that the network protocol used by the other network is different from the protocol used in the PON100, the OLT110 may comprise a converter for converting the network protocol into the PON protocol and converting the PON protocol into the network protocol. The OLT110 is typically located at a Central Office (CO) or other like central location, but may be located at other suitable locations.
In an embodiment, the ODN130 may include an optical splitter 125 located between the OLT110 and the ONUs 120. The splitter 125 may be any suitable device for splitting optical signal combinations and forwarding the split signals to the ONUs 120. The splitter 125 may also be any suitable device for receiving signals from the ONUs 120, combining the signals into a combined received signal, and forwarding the combined received signal to the OLT 110. For example, the splitter 125 may split a downstream optical signal into n separate downstream optical signals in a downstream direction (e.g., from the OLT110 to the ONUs 120) and combine n upstream optical signals into one combined upstream optical signal in an upstream direction (e.g., from the ONUs 120 to the OLT 110), where n is equal to the number of ONUs 120. In some aspects, the OLT110 may include a bi-directional optical amplifier (optical amplifier, OA) to amplify the combined transmission signal as needed to forward the combined transmission signal to the splitter 125, and to receive the combined signal from the splitter 125 and amplify the combined received signal as needed.
The ONU120 may communicate with the OLT110 and a customer or user (not shown), and the ONU120 may act as an intermediary between the OLT110 and the customer. For example, the ONU120 may forward data from the OLT110 to the customer and forward data from the customer to the OLT 110. The ONU120 may include an optical transmitter for transmitting optical signals to the OLT110 and an optical receiver for receiving optical signals from the OLT 110. ONU120 may further comprise a converter that converts the optical signal to an electrical signal and converts the electrical signal to an optical signal. In some aspects, ONU120 may comprise a second transmitter that transmits electrical signals to the customer and a second receiver that receives electrical signals from the customer. ONU120 is similar to an optical network terminal (optical network terminal, ONT), and thus these terms are used interchangeably herein. ONUs 120 may typically be located at discrete locations, such as at a customer site, but they may be located at other suitable locations.
As the number of PON100 access clients increases, the link budget of PON100 needs to be increased to achieve a higher splitting ratio or larger transmission distance span of the network, and a more straightforward and efficient solution is to increase the performance of the system forward error correction codes (forward error code, FEC). The basic operation of the FEC scheme involves adding redundancy bytes (e.g., parity bits) to the data using encoding. Redundancy of FEC enables a receiver in PON100 to detect and correct errors in the transmitted data (e.g., introduced via a link, transmitter, receiver, storage medium, etc.), thereby avoiding the need for data retransmission. PON100 may implement any suitable type of FEC scheme, such as Reed-Solomon (RS), bose-Chaudhuri-Hocquenghem (BCH), low-density parity-check (LDPC) coding, binary convolutional coding (binary convolutional code, BCC), and so on.
RS codes are typically represented by the form of RS (n, k), where "n" represents the codeword size and "k" represents the block size. One RS (n, k) code is able to correct up to (n-k)/2 (random) symbol errors, where a symbol typically comprises an 8-bit byte. In GPON, ITU-t g.984.3 designates RS (255,239) as a PONFEC code, the content of ITU-t g.984.3 being incorporated by reference in this text, wherein the length (size) of the data section of each FEC codeword is 239 bytes, and the number of parity bytes of the codeword is 16 bytes. In an asymmetric XG-PON (XG-PON 1), ITU-t g.987.3 designates RS (248,216) as an FEC code for downstream transmissions, RS (248,232) as an FEC code for upstream transmissions, and the content of ITU-t g.987.3 is incorporated herein by reference. In TWDMPON, ITU-T G.989.3 designates RS (248,232) and RS (248,216) as FEC codes for 2.5gigabit (2.5 gigabit, 2.5G) and 10G links, respectively, the contents of ITU-T G.989.3 being incorporated herein by reference.
As shown in fig. 2, in an exemplary downlink frame structure in a 10G PON, i.e., one transmission convergence (transmission convergence, TC) frame, specifically, for a Physical (PHY) layer, the downlink frame is composed of a physical layer bit stream (PHY layer bitstream), where a frame length of one physical frame (PHY frame) is 125 μs, and for a medium access control layer (media access control, MAC), one physical frame includes a framing physical synchronization block (PSBd) and a scrambled physical frame payload (scrambled PHY frame payload), where the scrambled physical frame payload includes a plurality of framing sub-layer frames (framing sublayer frame, FS frames) including a plurality of FEC code blocks (FEC codes), each FEC code block including FEC data and FEC parity bits (FEC parity, P) reserved for filling 0.
The data transmission method provided by the embodiment of the present application is described below in conjunction with the above explanation of the passive optical network, the forward error correction code, and the data frame structure.
As shown in fig. 3, an embodiment of a data transmission method provided in an embodiment of the present application includes:
301. the transmitting unit acquires the first transmission data.
302. The transmitting unit acquires the second transmission data.
The sending unit is an OLT sending end, the MAC layer generates transmission data to be transmitted, the transmission data is transmitted to the sending unit in a data stream, the transmission data can be divided into first transmission data, second transmission data, third transmission data and the like, the first transmission data can be regarded as first segment data of the transmission data, the first transmission data includes a message frame, the second transmission data includes a message frame and an idle frame, the message frame is a TC frame, the idle frame is randomly generated by the MAC layer, that is, the idle frame is randomly inserted into the message frame, and the message frame can be divided into a first code block and a second code block. Except that the carried information and the data length may be different, the second transmission data is the same as the first transmission data, and the second transmission data is the transmission data subsequent to the first transmission data, that is, the sending unit continuously acquires the first transmission data and the second transmission data, and step 302 is performed after step 301 and before step 305.
303. The transmitting unit encodes the first transmission data by a first forward error correction code.
304. The transmitting unit encodes the encoded first transmission data by the second forward error correction code.
305. The transmitting unit inserts the first codeword overhead into an idle frame of the second transmission data.
306. The transmitting unit encodes the second transmission data inserted with the first codeword overhead by the first forward error correction code.
After the transmitting unit acquires the first transmission data, the first transmission data is encoded in sequence by the first forward error correction code and the second forward error correction code. The first forward error correction code is used for encoding the first transmission data, the second forward error correction code is used for encoding the encoded first transmission data, the first target transmission data is obtained, first codeword overhead is generated, and the first codeword overhead is used as a second code block to be placed in idle frames of subsequent transmission data, namely the second transmission data. Specifically, the transmitting unit transversely encodes the first transmission data through a first forward error correction code, then the transmitting unit interleaves the first code block, and longitudinally encodes the first code block through a second forward error correction code; the transmitting unit inserts the first codeword overhead as the second code block into the subsequent transmission data, i.e. the idle frame of the second transmission data, and finally the transmitting unit performs the lateral encoding of the second code block in the idle frame by the first forward error correction code.
The first forward error correction code and the second forward error correction code in the present application may be any one of a repetition code, an extended hamming code, an RS code, a BCH code, or a shortened extended BCH (shortened Extended-BCH, SEBCH) code.
Illustratively, the first forward error correction code is an RS code and the second forward error correction code is a BCH code. As shown in fig. 4, in the enhanced FEC code block obtained by final encoding, the enhanced FEC code block is subjected to horizontal RS encoding and vertical BCH encoding, one RS codeword is 8 bits, BCH overhead, that is, first codeword overhead is placed in information bit symbols of the RS30 and the RS31 in the vertical direction, and overhead generated by RS encoding is placed in parity check bits of the RS216 to RS248 in the horizontal direction. The enhanced FEC code block may be considered to have an approximate two-dimensional hard decision Turbo product code (Turbo Product Code, TPC) code block.
The transmitting unit encodes the first transmission data by RS code and BCH code, specifically, RS (248,216) code and BCH (248,232) code, and a TC frame is formed by 627 RS codewords after PSBd, each 31 RS codewords being an enhanced FEC code block. As shown in fig. 5, the encoder includes an RS encoding unit (RS encoder), an interleaving unit (interleaver) and a BCH encoding unit (BCH encoder), after the first transmission data is input into the encoder, taking an enhanced FEC code block as an example, the first 29 RS codewords are used as a first code block, the second 2 RS codewords are used as a second code block, the transmitting unit performs lateral RS encoding on the 31 RS codewords by the RS encoding unit, when there is data in the first 29 codewords, RS overhead is generated, the transmitting unit may place FEC parity bits in the first code block, after encoding is completed, the transmitting unit interleaves the first 29 codewords by the interleaver, that is, arranges the data of the first 29 codewords, performs two-dimensional processing to obtain longitudinal data, and then performs longitudinal BCH encoding on the longitudinal data of the first 29 codewords by the BCH encoding unit, at this time, an extra BCH overhead, i.e., a first codeword overhead, is generated, after the first codeword overhead is obtained, the first codeword overhead is placed in the last two RS codewords to be used as a second codeword, and the last 2 RS codewords are inserted into the subsequent transmission data, i.e., the idle frame randomly generated in the second transmission data by the MAC layer, if one idle frame is full, the second RS codeword is inserted into the idle frame subsequent to the idle frame, and if the idle frame is not full, the idle frame is filled with 0, where the idle frame may also exist in the first transmission data, the second transmission data is not limited to a complete enhanced FEC codeword, e.g., the second transmission data is composed of two enhanced FEC codeword blocks and 11 RS codewords, and the 11 th RS codeword is the idle frame.
Referring to fig. 6, the output data of the MAC layer includes an FS frame header and an 8-byte Mo Zhaoji-bit passive optical network encapsulation mode (XG-Passive optical network encapsulation method, XGEM) frame header, and an idle (idle) frame is randomly generated, where the output data of the MAC layer is transmitted to the transmitting unit as first transmission data and second transmission data, and for the encoded enhanced FEC code block provided in this embodiment, that is, the transmission data after FEC upgrade encoding, RS overhead is filled in the FEC parity bit, and BCH overhead is filled in the idle frame, it needs to be described that the BCH overhead needs to be subjected to RS encoding to generate codeword overhead of the first codeword overhead, and specific processing manners of RS encoding of the first codeword overhead are described below respectively:
1. the first codeword overhead is inserted into an idle frame after RS encoding:
after generating the first codeword overhead, the sending unit performs RS transverse encoding on the first codeword overhead to obtain codeword overhead of the first codeword overhead, then uses the first codeword overhead and the codeword overhead of the first codeword overhead as a second code block, inserts the second code block into subsequent transmission data, i.e. idle frames of the second transmission data, if one idle frame is full, continues to insert the second transmission data into the subsequent idle frame, and then the encoder continues to encode the second transmission data in sequence, the RS encoding unit performs transverse RS encoding on 2 RS codewords in the idle frame, and continues to generate RS overhead, where the RS overhead is generated by RS encoding on the whole of the codeword overhead of the first codeword overhead and the first codeword overhead, thereby completing encoding of the whole enhanced FEC code block. The scheme is that the first code word overhead and the whole code word overhead of the first code word overhead are used as the second code block to be inserted into the idle frame of the second transmission data, and the corresponding decoding is very simple. It should be noted that the first codeword overhead and the codeword overhead of the first codeword overhead may be inserted as a whole into an idle frame of the second transmission data, or the first codeword overhead may be inserted into the idle frame of the second transmission data and then the codeword overhead of the first codeword overhead may be inserted into the idle frame of the second transmission data to obtain a whole second code block.
Referring to fig. 7, for an integrally enhanced FEC code block, the first 29 RS code words are taken as a first code block, that is, TPC code block-a, the first code word overhead and the code word overhead of the first code word overhead are taken as a second code block, that is, TPC code block-B, referring to fig. 8, in a rate-limiting period of 10 microseconds in the data stream of the first transmission data and the second transmission data, TPC code block 1-a is transmitted by TPC code block 2-a, when TPC code block 2-a has an idle frame, TPC code block 1-B is filled in the payload (payload) portion after the frame header of the idle frame, TPC code block 1-B includes the first code word overhead of TPC code block 1, the code word overhead of the first code word overhead, and the RS overhead generated by encoding the code word overhead of the first code word overhead.
2. The first codeword overhead is inserted into the idle frame and then RS encoded:
after the first codeword overhead is generated, the sending unit firstly inserts the first codeword overhead as a second code block into subsequent transmission data, namely, idle frames of the second transmission data, if one idle frame is inserted fully, the first codeword overhead is continuously inserted into the subsequent idle frame, then the encoder continuously encodes the second transmission data in sequence, the RS encoding unit transversely RS encodes 2 RS codewords in the idle frame to generate RS overhead, and the RS overhead is generated by independently RS encoding the first codeword overhead, so that the encoding of the whole enhanced FEC code block is completed. In this scheme, only the codeword overhead of the first codeword overhead is placed in the first code block, and the overhead of idle frame storage can be controlled to be smaller.
Referring to fig. 9, for an integrally enhanced FEC code block, the first 29 RS code words are taken as a first code block, that is, a TPC code block-a, the first codeword overhead is taken as a second code block, that is, a TPC code block-B, referring to fig. 10, in the data stream of the first transmission data and the second transmission data, in a rate limiting period of 10 microseconds, for TPC code block 1 of the first transmission data and TPC code block 2 of the second transmission data, TPC code block 1-a is transmitted in succession with TPC code block 2-a, when TPC code block 2-a has an idle frame, the second code block of TPC code block 1, that is, TPC code block 1-B fills the payload portion after the frame header of the idle frame, TPC code block 1-B includes the first codeword overhead of TPC code block 1 and the RS overhead generated by encoding the first codeword overhead, and the overhead of the first codeword generated by encoding the RS laterally is still stored at TPC code block 1-a.
After the encoding is completed in any two modes, the first transmission data is encoded to obtain first target transmission data, the second transmission data is encoded in the same encoding mode as the first transmission data, the second target transmission data is obtained, and second codeword overhead is generated, the second codeword overhead is placed in an idle frame of subsequent transmission data, for example, in an idle frame of third transmission data, and the third transmission data is subsequent data of the second transmission data.
307. The transmitting unit transmits the first target transmission data to the receiving unit.
308. The transmitting unit transmits the second target transmission data to the receiving unit.
The transmitting unit sequentially transmits the first target transmission data and the second target transmission data to the receiving unit, the receiving unit receives the first target transmission data and the second target transmission data which are continuously transmitted by the transmitting unit, and a first codeword overhead is arranged in an idle frame of the second target transmission data, wherein the first codeword overhead is generated by the transmitting unit encoding the first transmission data which is encoded by the first forward error correction code through the second forward error correction code. The receiving unit may be an ONU receiving end.
309. The receiving unit decodes the first target transmission data and the second target transmission data through a first forward error correction code;
310. the receiving unit inserts the first codeword overhead into the corresponding position in the decoded first target transmission data;
311. the receiving unit decodes the decoded first target transmission data through the second forward error correction code, and decodes the first codeword overhead through the first forward error correction code.
The first forward error correction code is used for decoding the first target transmission data and the second target transmission data, the second forward error correction code is used for decoding the decoded first target transmission data, the second code block obtains first code word overhead after the first forward error correction code is decoded, and the first code word overhead is inserted into the corresponding position in the decoded first target transmission data, namely the corresponding first code block, to form a complete enhanced FEC code block. Specifically, the receiving unit performs lateral decoding on the first target transmission data through a first forward error correction code; the receiving unit inserts the first code word overhead into the corresponding position in the decoded first target transmission data, then the receiving unit interweaves the first code block and the second code block, and carries out longitudinal decoding on the first code block through the second forward error correction code, and finally the receiving unit de-interweaves the second code block, and carries out transverse decoding on the first code word overhead through the first forward error correction code, so as to obtain the first transmission data, namely the complete enhanced FEC code block.
The receiving unit decodes the first target transmission data and the second target transmission data by the RS code and the BCH code. As shown in fig. 11, the decoder includes an RS decoding unit (RS decoder), an interleaving unit (interleaver), a BCH decoding unit (BCH decoder), and a de-interleaving unit (de-interleaver), after the first target transmission data is input into the decoder, decoding is started, taking an enhanced FEC code block as an example, the first 29 RS codewords are used as first code blocks, the second 2 RS codewords are used as second code blocks and inserted into idle frames of the second target transmission data, the receiving unit performs lateral RS decoding on the 29 RS codewords by the RS decoding unit, waits after decoding is completed, and when the decoder parses the idle frames of the second target transmission data, two cases of corresponding encoding are respectively described at this time:
1. the first codeword overhead is inserted into an idle frame after RS encoding:
referring to fig. 7 and 8 correspondingly, at this time, the second code block in the idle frame of the second target transmission data includes a first codeword overhead, a codeword overhead of the first codeword overhead, and an RS overhead generated by encoding the first codeword overhead and the codeword overhead of the first codeword overhead. The RS decoding unit in the decoder firstly decodes the second code block to obtain a first code word overhead and a first code word overhead serving as the second code block, at the moment, the first code word overhead and the first code word overhead can be directly inserted back into the corresponding first code block in waiting, at the moment, the first code block and the second code block serve as a complete enhanced FEC code block, namely a TPC code block, after two-dimensional processing by the interleaving unit, the BCH decoding unit performs BCH decoding to finish BCH decoding of the first code block, finally, the second code block is input into the de-interleaving unit to finish de-interleaving, and is continuously input into the RS decoding unit to finish RS decoding of the first code word overhead in the second code block, so as to finish decoding of the complete code block, thereby realizing a quick TPC decoding process.
2. The first codeword overhead is inserted into the idle frame and then RS encoded:
referring to fig. 9 and 10 correspondingly, the second code block in the idle frame includes a first codeword overhead and an RS overhead generated by encoding the first codeword overhead. The RS decoding unit in the decoder firstly decodes the second code block to obtain first codeword overhead serving as the second code block, at the moment, the first codeword overhead in the second code block needs to be inserted back to the codeword overhead of the corresponding first codeword overhead in the corresponding first code block, at the moment, the first code block and the second code block serve as a complete enhanced FEC code block, namely a TPC code block, after two-dimensional processing of an interleaving unit, the BCH decoding unit is carried out to carry out BCH decoding on the first code block, the BCH decoding on the first code block is completed, and finally, the second code block is input into a de-interleaving unit to complete de-interleaving, and is continuously input into the RS decoding unit to complete RS decoding on the codeword overhead of the first codeword overhead in the second code block, so as to complete decoding on the complete TPC code block, thereby reducing the overhead size stored in an idle frame.
It should be noted that, the above steps may be repeated for iterative decoding, that is, after RS decoding of the second code block inserted back into the first target transmission data is completed, the above decoding process for the first target transmission data may be repeated, so as to obtain better FEC performance.
In addition, the last segment of data of the transmission data generated by the MAC layer, such as BCH overhead generated by the nth transmission data, may be placed in an idle frame of the n+1th transmission data, and the n+1th transmission data may include only the idle frame, and not include a message frame or carry no information, and may be encoded and decoded in the same manner.
Further, the sending unit may further obtain third transmission data, where the third transmission data is identical to the second transmission data except that the carried information and the data lengths may be different, the third transmission data is subsequent data of the second transmission data, the sending unit encodes the third transmission data by using the same encoding manner to obtain third target transmission data, the receiving unit receives the third target transmission data sent by the sending unit, and a second codeword overhead is placed in an idle frame of the third target transmission data, where the second codeword overhead is generated by the sending unit encoding the second transmission data encoded by the first forward error correction code through the second forward error correction code. After step 309, the receiving unit continues to decode the third target transmission data through the first forward error correction code to obtain a second codeword overhead, then inserts the second codeword overhead into a corresponding position in the decoded second target transmission data, and finally decodes the decoded second target transmission data through the second forward error correction code, and decodes the second codeword overhead through the first forward error correction code to obtain the second transmission data, thereby completing decoding of the second target transmission data, wherein a specific process is the same as a process of decoding the first target transmission data, and in addition, encoding and decoding processes of subsequent fourth transmission data, fifth transmission data and the like are the same, which is not described again in the embodiment of the present application.
In the embodiment of the invention, the performance is enhanced by cascading another FEC method on the basis of one FEC, and the extra code word overhead generated by the other FEC is inserted into the idle frame of the data without affecting the current network equipment, so that the FEC gain performance is improved and the network power budget and the receiver sensitivity are improved under the condition of being compatible with the existing FEC.
The following describes a communication device in an embodiment of the present application:
in one embodiment, a communication device includes: the processor and the memory are used for storing program codes, and the processor is used for calling the program codes in the memory so that the controller can execute the data transmission method described in the above embodiment, and the communication device can be the OLT or the ONU in fig. 1, and can also be the transmitting unit or the receiving unit described in the method embodiment. As shown in fig. 12, an OLT includes a TM layer and a MAC layer, where the MAC layer encapsulates a frame, transmission data is adapted to the MAC layer, that is, a processing layer of the frame, the TM layer is an upper layer of the MAC layer, an Optical Digital Signal Processing (ODSP) processing unit is added after the TM layer and the MAC layer, the ODSP processing unit may be integrated in a pluggable optical module, the ODSP processing unit includes an MAC processing unit and an enhanced FEC unit, the MAC processing unit may parse a TC frame in the PON, identify an idle frame therein, and the enhanced FEC unit is used to encode the transmission data, and an ONU may be correspondingly configured.
Referring to fig. 13, an embodiment of a communication device 1300 in an embodiment of the present application includes:
an acquiring unit 1301 configured to acquire first transmission data; the obtaining unit 1301 may perform step 301 in the above-described method embodiment.
A first encoding unit 1302 for encoding the first transmission data by a first forward error correction code; the first encoding unit 1302 may perform step 303 in the method embodiment described above.
The second encoding unit 1303 is configured to encode the encoded first transmission data through a second forward error correction code, obtain first target transmission data, and generate first codeword overhead, where the first codeword overhead is placed in an idle frame of the second transmission data, and the second transmission data is transmission data subsequent to the first transmission data; the second encoding unit 1303 may perform step 304 in the above-described method embodiment.
A transmitting unit 1304 for transmitting the first target transmission data to the communication device. The transmitting unit 1304 may perform step 307 in the method embodiment described above.
Optionally, the acquiring unit 1301 is further configured to acquire second transmission data; the communication device 1300 further includes: an inserting unit 1305, configured to insert the first codeword overhead into an idle frame of the second transmission data; the first encoding unit 1302 is further configured to encode the second transmission data inserted with the first codeword overhead by using the first forward error correction code, obtain the second target transmission data, and generate the second codeword overhead, where the second codeword overhead is placed in an idle frame of transmission data subsequent to the second transmission data; the transmitting unit 1304 is further configured to transmit the second target transmission data to the communication device.
Optionally, the first encoding unit 1302 is further configured to encode the first codeword overhead through a first forward error correction code, to obtain a codeword overhead of the first codeword overhead; the inserting unit 1305 is further configured to insert the codeword overhead of the first codeword overhead into the idle frame of the second transmission data.
Alternatively, the first forward error correction code and the second forward error correction code are any one of reed-solomon RS codes, repetition codes, extended hamming codes, BCH codes, or shortened extended BCH codes.
Referring to fig. 14, an embodiment of a communication device 1400 according to the present application includes:
a receiving unit 1401, configured to receive first target transmission data and second target transmission data that are continuously sent by a communication device, where a first codeword overhead is placed in an idle frame of the second target transmission data, where the first codeword overhead is generated by the communication device encoding, by using a second forward error correction code, the first transmission data encoded by using the first forward error correction code; the receiving unit 1401 may perform step 307 in the method embodiment described above.
A first decoding unit 1402, configured to decode the first target transmission data and the second target transmission data through a first forward error correction code, to obtain a first codeword overhead; the first decoding unit 1402 may perform step 309 in the above-described method embodiment.
An inserting unit 1403, configured to insert the first codeword overhead into a corresponding position in the decoded first target transmission data; the inserting unit 1403 may perform step 310 in the above-described method embodiment.
The second decoding unit 1404 is configured to decode the decoded first target transmission data by using the second forward error correction code, and decode the first codeword overhead by using the first forward error correction code, to obtain first transmission data. The second decoding unit 1404 can perform step 311 in the above-described method embodiment.
Optionally, the receiving unit 1401 is further configured to receive third target transmission data sent by the communication device, where a second codeword overhead is placed in an idle frame of the third target transmission data, where the second codeword overhead is generated by the communication device encoding, by using a second forward error correction code, second transmission data encoded by using the first forward error correction code; the first decoding unit 1402 is further configured to decode the third target transmission data through the first forward error correction code, to obtain a second codeword overhead; the inserting unit 1403 is further configured to insert the second codeword overhead into a corresponding position in the decoded second target transmission data; the second decoding unit 1404 is further configured to decode the decoded second target transmission data by using the second forward error correction code, and decode the second codeword overhead by using the first forward error correction code, to obtain second transmission data.
Optionally, the idle frame of the second target transmission data further includes a codeword overhead of the first codeword overhead, where the codeword overhead of the first codeword overhead is obtained by the communication device encoding the first codeword overhead through the first forward error correction code, and the inserting unit 1403 is specifically configured to insert the first codeword overhead and the codeword overhead of the first codeword overhead into a corresponding position in the decoded first target transmission data.
Alternatively, the first forward error correction code and the second forward error correction code are any one of reed-solomon RS codes, repetition codes, extended hamming codes, BCH codes, or shortened extended BCH codes.
As shown in fig. 15, a schematic diagram of a possible logic structure of a communication device 1500 according to an embodiment of the present application is provided. The communication apparatus 1500 includes: a processor 1501, a communication interface 1502, a memory system 1503, and a bus 1504. The processor 1501, the communication interface 1502, and the memory system 1503 are connected to each other through a bus 1504. In the embodiment of the present application, the processor 1501 is configured to control and manage the actions of the communication device 1500, for example, the processor 1501 is configured to perform the data transmission method performed by the transmitting unit described in the above embodiment. The communication interface 1502 is used to support communication by the communication device 1500. A memory system 1503 for storing program codes and data of the communication device 1500.
The processor 1501 may be a central processor unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor 1501 may also be a combination of computing functions, e.g., comprising one or more microprocessor combinations, a combination of digital signal processors and microprocessors, and the like. Bus 1504 may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 15, but not only one bus or one type of bus.
As shown in fig. 16, a schematic diagram of one possible logic structure of a communication device 1600 provided in an embodiment of the present application is shown. The communication device 1600 includes: processor 1601, communication interface 1602, storage system 1603 and bus 1604. The processor 1601, the communication interface 1602, and the storage system 1603 are interconnected by a bus 1604. In the embodiment of the present application, the processor 1601 is configured to control and manage the actions of the communication device 1600, for example, the processor 1601 is configured to perform the data transmission method performed by the receiving unit described in the above embodiment. The communication interface 1602 is for supporting communication by the communication device 1600. A storage system 1603 for storing program code and data for the communication device 1600.
The processor 1601 may be a central processor unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor 1601 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of digital signal processors and microprocessors, and the like. Bus 1604 may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 16, but not only one bus or one type of bus.
In another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein computer-executable instructions which, when executed by at least one processor of a device, perform the data transmission method described in the above embodiment.
In another embodiment of the present application, there is also provided a computer program product comprising computer-executable instructions stored in a computer-readable storage medium; the at least one processor of the device may read the computer-executable instructions from the computer-readable storage medium, the at least one processor executing the computer-executable instructions causing the device to perform the data transmission method described in the above embodiments.
In another embodiment of the present application, there is also provided a chip system including at least one processor and an interface for receiving data and/or signals, the at least one processor being configured to support implementation of the data transmission method described in the above embodiments. In one possible design, the chip system may further include memory to hold program instructions and data necessary for the computer device. The chip system can be composed of chips, and can also comprise chips and other discrete devices.
In another embodiment of the present application, there is further provided a passive optical network, where the passive optical network includes the communication device described in the foregoing embodiment, and the communication device of the passive optical network may perform the data transmission method described in the foregoing embodiment, and the passive optical network may be an architecture in fig. 1.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, random access memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (20)

1. A data transmission method, comprising:
the transmitting unit acquires first transmission data;
the transmitting unit encodes the first transmission data by a first forward error correction code;
the sending unit encodes the encoded first transmission data through a second forward error correction code to obtain first target transmission data and generate first codeword overhead, wherein the first codeword overhead is placed in an idle frame of second transmission data, and the second transmission data is transmission data subsequent to the first transmission data;
the transmitting unit transmits the first target transmission data to a receiving unit.
2. The method of claim 1, wherein after the transmitting unit acquires the first transmission data, the method further comprises:
the sending unit obtains the second transmission data;
after the transmitting unit encodes the encoded first transmission data by the second forward error correction code, the method further includes:
the sending unit inserts the first codeword overhead into an idle frame of the second transmission data;
the sending unit encodes second transmission data inserted with the first codeword overhead through the first forward error correction code to obtain second target transmission data and generate second codeword overhead, wherein the second codeword overhead is placed in an idle frame of transmission data subsequent to the second transmission data;
The transmitting unit transmits the second target transmission data to a receiving unit.
3. The method of claim 2, wherein the sending unit inserts the first codeword overhead into an idle frame of the second transmission data, the method further comprising:
the sending unit encodes the first codeword overhead through the first forward error correction code to obtain codeword overhead of the first codeword overhead;
after the sending unit inserts the first codeword overhead into the idle frame of the second transmission data, the method further includes:
the transmitting unit inserts codeword overheads of the first codeword overheads into idle frames of the second transmission data.
4. A method according to any of claims 1-3, wherein the first forward error correction code and the second forward error correction code are any one of reed-solomon RS codes, repetition codes, extended hamming codes, BCH codes or shortened extended BCH codes.
5. A data transmission method, comprising:
the method comprises the steps that a receiving unit receives first target transmission data and second target transmission data which are continuously transmitted by a transmitting unit, wherein first codeword overhead is arranged in an idle frame of the second target transmission data, and the first codeword overhead is generated by the transmitting unit through encoding the first transmission data after being encoded by a first forward error correction code through a second forward error correction code;
The receiving unit decodes the first target transmission data and the second target transmission data through the first forward error correction code to obtain the first codeword overhead;
the receiving unit inserts the first codeword overhead into a corresponding position in the decoded first target transmission data;
the receiving unit decodes the decoded first target transmission data through the second forward error correction code, and decodes the first codeword overhead through the first forward error correction code to obtain the first transmission data.
6. The method of claim 5, wherein after the receiving unit receives the first target transmission data and the second target transmission data transmitted by the transmitting unit, the method further comprises:
the receiving unit receives third target transmission data sent by the sending unit, wherein second codeword overhead is arranged in an idle frame of the third target transmission data, and the second codeword overhead is generated by the sending unit through encoding second transmission data after encoding the first forward error correction code by using the second forward error correction code;
after the receiving unit decodes the first target transmission data and the second target transmission data with the first forward error correction code, the method further includes:
The receiving unit decodes the third target transmission data through the first forward error correction code to obtain the second codeword overhead;
the receiving unit inserts the second codeword overhead into a corresponding position in the decoded second target transmission data;
and the receiving unit decodes the decoded second target transmission data through the second forward error correction code, and decodes the second codeword overhead through the first forward error correction code to obtain the second transmission data.
7. The method of claim 5, wherein the idle frame of the second target transmission data further includes a codeword overhead of the first codeword overhead, the codeword overhead of the first codeword overhead being obtained by the transmitting unit encoding the first codeword overhead with the first forward error correction code, and wherein the receiving unit inserting the first codeword overhead into a corresponding position in the decoded first target transmission data includes:
the receiving unit inserts the first codeword overhead and the codeword overhead of the first codeword overhead into corresponding positions in the decoded first target transmission data.
8. The method of any of claims 5-7, wherein the first forward error correction code and the second forward error correction code are any one of a reed-solomon RS code, a repetition code, a spread hamming code, a BCH code, or a shortened spread BCH code.
9. A communication device, comprising:
an acquisition unit configured to acquire first transmission data;
a first encoding unit configured to encode the first transmission data by a first forward error correction code;
the second coding unit is used for coding the coded first transmission data through a second forward error correction code to obtain first target transmission data and generate first codeword overhead, wherein the first codeword overhead is arranged in an idle frame of second transmission data, and the second transmission data is transmission data subsequent to the first transmission data;
and the sending unit is used for sending the first target transmission data to the communication equipment.
10. The communication device of claim 9, wherein the communication device is configured to,
the acquisition unit is further used for acquiring the second transmission data;
the communication device further includes:
an inserting unit, configured to insert the first codeword overhead into an idle frame of the second transmission data;
The first encoding unit is further configured to encode second transmission data inserted with the first codeword overhead through the first forward error correction code, obtain second target transmission data, and generate second codeword overhead, where the second codeword overhead is placed in an idle frame of transmission data subsequent to the second transmission data;
the sending unit is further configured to send the second target transmission data to a communication device.
11. The communication device of claim 10, wherein the communication device is configured to,
the first encoding unit is further configured to encode the first codeword overhead through the first forward error correction code, to obtain a codeword overhead of the first codeword overhead;
the inserting unit is further configured to insert a codeword overhead of the first codeword overhead into an idle frame of the second transmission data.
12. The communication device according to any of claims 9-11, wherein the first forward error correction code and the second forward error correction code are any one of a reed solomon RS code, a repetition code, a spread hamming code, a BCH code or a shortened spread BCH code.
13. A communication device, comprising:
the communication device comprises a receiving unit, a first forward error correction code and a second forward error correction code, wherein the receiving unit is used for receiving first target transmission data and second target transmission data which are continuously sent by the communication device, a first codeword overhead is arranged in an idle frame of the second target transmission data, and the first codeword overhead is generated by the communication device through encoding the first transmission data after the first forward error correction code is encoded by the second forward error correction code;
The first decoding unit is used for decoding the first target transmission data and the second target transmission data through the first forward error correction code to obtain the first codeword overhead;
an inserting unit, configured to insert the first codeword overhead into a corresponding position in the decoded first target transmission data;
and the second decoding unit is used for decoding the decoded first target transmission data through the second forward error correction code, and decoding the first codeword overhead through the first forward error correction code to obtain the first transmission data.
14. The communication device of claim 13, wherein the communication device is configured to,
the receiving unit is further configured to receive third target transmission data sent by the communication device, where a second codeword overhead is set in an idle frame of the third target transmission data, where the second codeword overhead is generated by the communication device encoding, by using a second forward error correction code, second transmission data encoded by using the first forward error correction code;
the first decoding unit is further configured to decode the third target transmission data through the first forward error correction code, so as to obtain the second codeword overhead;
The inserting unit is further configured to insert the second codeword overhead into a corresponding position in the decoded second target transmission data;
the second decoding unit is further configured to decode the decoded second target transmission data through the second forward error correction code, and decode the second codeword overhead through the first forward error correction code, to obtain the second transmission data.
15. The communication device of claim 13, wherein the idle frame of the second target transmission data further has a codeword overhead for the first codeword overhead, the codeword overhead for the first codeword overhead resulting from the communication device encoding the first codeword overhead with the first forward error correction code,
the inserting unit is specifically configured to insert the first codeword overhead and the codeword overhead of the first codeword overhead into a corresponding position in the decoded first target transmission data.
16. The communication device according to any of claims 13-15, wherein the first and second forward error correction codes are any one of reed-solomon RS codes, repetition codes, extended hamming codes, BCH codes or shortened extended BCH codes.
17. A passive optical network comprising a communication device according to any of claims 9-12 and a communication device according to any of claims 13-16.
18. A communication device, comprising: a processor and a memory for storing program code, the processor for invoking the program code in the memory to cause the communication device to perform the method of any of claims 1-4.
19. A communication device, comprising: a processor and a memory for storing program code, the processor for invoking the program code in the memory to cause the communication device to perform the method of any of claims 5-8.
20. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method according to any one of claims 1 to 4 or 5 to 8.
CN202111508860.2A 2021-12-10 2021-12-10 Data transmission method and related equipment Pending CN116261066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111508860.2A CN116261066A (en) 2021-12-10 2021-12-10 Data transmission method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111508860.2A CN116261066A (en) 2021-12-10 2021-12-10 Data transmission method and related equipment

Publications (1)

Publication Number Publication Date
CN116261066A true CN116261066A (en) 2023-06-13

Family

ID=86683089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111508860.2A Pending CN116261066A (en) 2021-12-10 2021-12-10 Data transmission method and related equipment

Country Status (1)

Country Link
CN (1) CN116261066A (en)

Similar Documents

Publication Publication Date Title
CN102891731B (en) Forward error correction for 64b66B coded systems
US7917833B2 (en) Communication apparatus, transmitter, receiver, and error correction optical communication system
US20220077875A1 (en) Data Transmission Method, Encoding Method, Decoding Method, Apparatus, Device, and Storage Medium
US7978972B2 (en) Optical line terminal and optical network terminal
US20020056064A1 (en) Method and apparatus for enhanced forward error correction in network
US7957642B2 (en) Efficient and simple bit error rate calculation on optical transport layer
CN109873683B (en) Data coding and decoding method and device, OLT, ONU and PON system
CN107925422A (en) Passive optical network(PON)In adaptive forward error correction(FEC)
US11695508B2 (en) Data processing method and related apparatus
CN116261066A (en) Data transmission method and related equipment
CN113875177B (en) Data transmission, encoding and decoding methods, devices, equipment and storage medium
US11792123B2 (en) Concept for a source device and a destination device of a point-to- multipoint communication network
US20230353279A1 (en) Methods, apparatuses, and optical network devices for uplink fec encoding and decoding
EP3902214A1 (en) A concept for a source device and a destination device of a point-to-multipoint communication network
Jiang et al. Analysis and implementation of FEC in 10G-EPON
Pillai et al. Multi-user encoding for forward error correction in passive optical networks
Jafaar Reed-Solomon Hybrid Codes For Optical Communications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication