WO2015074280A1 - Processing device, processing method and communication system of bit stream - Google Patents

Processing device, processing method and communication system of bit stream Download PDF

Info

Publication number
WO2015074280A1
WO2015074280A1 PCT/CN2013/087792 CN2013087792W WO2015074280A1 WO 2015074280 A1 WO2015074280 A1 WO 2015074280A1 CN 2013087792 W CN2013087792 W CN 2013087792W WO 2015074280 A1 WO2015074280 A1 WO 2015074280A1
Authority
WO
WIPO (PCT)
Prior art keywords
bitstreams
group
module
carriers
bitstream
Prior art date
Application number
PCT/CN2013/087792
Other languages
French (fr)
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 华为技术有限公司
Priority to CN201380002682.3A priority Critical patent/CN103843275B/en
Priority to PCT/CN2013/087792 priority patent/WO2015074280A1/en
Publication of WO2015074280A1 publication Critical patent/WO2015074280A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/02Arrangements for detecting or preventing errors in the information received by diversity reception
    • H04L1/04Arrangements for detecting or preventing errors in the information received by diversity reception using frequency diversity
    • 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

Definitions

  • the present invention relates to the field of information transmission technologies, and in particular, to a bit stream processing device, and to a bit stream processing method and a communication system.
  • Multi-carrier Modulation refers to dividing a data stream into a plurality of parallel sub-streams such that the sub-streams have a much lower transmission bit rate and then modulating the sub-streams onto multiple carriers.
  • Multi-carrier modulation technology including OFDM (Orthogonal Frequency Division) Multiplex, Orthogonal Frequency Division Multiplexing), Wavelet OFDM (Wavelet Orthogonal Frequency Division Multiplexing) or Filter Bank Multi-Carrier (Filter Bank) Multicarrier), etc.
  • OFDM technology is the most widely used multi-carrier modulation technique.
  • a carrier is divided into a number of orthogonal subcarriers, a data stream is converted into a plurality of parallel substreams, and a substream is modulated onto each subcarrier for transmission.
  • ICI can be reduced between subchannels due to the orthogonality between subcarriers (Inter Carrier Interference, inter-carrier interference).
  • Sub-data stream modulation usually includes QAM (Quadrature Amplitude) Modulation, Quadrature Amplitude Modulation), PSK (Phase Shift) Keying, phase shift keying, etc.
  • QAM Quadrature Amplitude Modulation
  • PSK Phase Shift
  • time-frequency domain conversion is generally implemented by fast Fourier transform or inverse transform (FFT/IFFT).
  • FEC Forward Error
  • the data transmission rate is continuously increased, and the bit error rate in the transmission process is put forward higher, and the bit error rate directly affects the effective coding gain of the FEC coding, thereby reducing the data transmission.
  • the bit error rate has become an urgent problem to be solved.
  • the embodiment of the invention provides a bit stream processing device, a processing method and a communication system, which can reduce the bit error rate and improve the effective coding gain.
  • a first aspect of the embodiments of the present invention provides a bitstream processing device, where the processing device includes: an encoding module, configured to perform FEC encoding on a bitstream to obtain an encoded bitstream; and a mapping module, configured to The first set of bitstreams in the bitstream of the encoding module are sequentially mapped onto the first one of the plurality of carriers, Mapping a second set of bitstreams in the bitstream from the encoding module adjacent to the first set of bitstreams to a second one of the plurality of carriers in reverse order, wherein the plurality of carriers Each of the subcarriers corresponds to a set of bitstreams in the bitstream from the encoding module.
  • the encoding module performs, when performing the FEC encoding, encoding, by using a first quantity of bits as a coding unit, where the first quantity is greater than 2.
  • the FEC encoding type used by the encoding module to perform the FEC encoding is a Reed Solomon RS code or BCH code.
  • the mapping module includes: a sorting unit, configured to: The second group of bitstreams are sorted in reverse order; a mapping unit, configured to map the first group of bitstreams and the second group of bitstreams that are sorted in reverse order to the first subcarrier and the second On the subcarrier.
  • the mapping module is specifically configured to alternate between sequential and reverse order A plurality of consecutive sets of bitstreams in the bitstream from the encoding module are mapped into respective sets of subcarriers.
  • the processing device further includes: a constellation module, configured to perform constellation mapping on the mapped subcarriers Obtaining a constellation symbol; a transmitting module for modulating and transmitting a constellation symbol from the constellation module.
  • the bit stream from the encoding module is the encoding a subsequent bit stream; or the bit stream from the encoding module is a bit stream obtained by interleaving the encoded bit stream, wherein the interleaving is performed with a second number of bits as a granularity.
  • a second aspect of the embodiments of the present invention provides a processing device for a bitstream, where the processing device includes: a demapping module, configured to sequentially demap the first of the bitstreams from the first subcarriers of the plurality of carriers. a group bit stream, in which a second group of bitstreams adjacent to the first group of bitstreams in the bitstream are demapped in reverse order from a second one of the plurality of carriers, wherein the first The group bit stream is sequentially mapped on the first subcarrier, and the second group bit stream is mapped on the second subcarrier in reverse order, and each of the plurality of carriers corresponds to the bit stream a set of bitstreams; a decoding module, configured to perform FEC decoding on the bitstream from the demapping module to obtain a decoded bitstream.
  • a demapping module configured to sequentially demap the first of the bitstreams from the first subcarriers of the plurality of carriers.
  • the decoding module performs the FEC decoding, where the first number of bits are used as a decoding unit, where the first quantity is greater than 2.
  • the FEC decoding type used by the decoding module to perform the FEC decoding is a Reed Solomon RS code or BCH code.
  • the demapping module includes: a demapping unit, configured to De-mapping a first set of bitstreams in the bitstream on a first one of the plurality of carriers, and de-mapping the first set of bitstreams in the bitstream from a second one of the plurality of carriers a second set of bitstreams adjacent to each other; a sorting unit for ordering the second set of bitstreams from the demapping unit in order.
  • the demapping module is specifically used from multiple carriers A plurality of sets of subcarriers are alternately used in a sequential and reverse order manner to demap successive sets of bitstreams in the bitstream.
  • the processing device further includes: a receiving module, configured to receive and demodulate a constellation symbol; Performing constellation demapping on the constellation symbols from the receiving module to obtain a plurality of carriers, and outputting the plurality of carriers to the demapping module.
  • the bit stream from the demapping module is a demapped bitstream; or the bitstream from the demapping module is a bitstream obtained after the demapped bitstream is deinterleaved, wherein the deinterleaving is a second number of bits For particle size.
  • a third aspect of the embodiments of the present invention provides a method for processing a bitstream, where the processing method includes: performing FEC encoding on a bitstream to obtain an encoded bitstream; and using a first group of bits in the encoded bitstream.
  • the stream is sequentially mapped to the first one of the plurality of carriers, and the second group of bitstreams adjacent to the first group of bitstreams in the encoded bitstream are mapped to the plurality of carriers in reverse order And on a second subcarrier, wherein each of the plurality of carriers corresponds to a group of bitstreams from the encoded bitstream.
  • performing the FEC encoding is performed by using a first quantity of bits as a coding unit, where the first quantity is greater than 2.
  • the first group of bit streams in the encoded bit stream are sequentially mapped to a first one of the plurality of carriers And mapping, in reverse order, the second group of bitstreams in the encoded bitstream adjacent to the first group of bitstreams to the second one of the plurality of carriers, including: encoding The second group of bitstreams adjacent to the first group of bitstreams are sorted in reverse order; the first set of bitstreams and the second set of bitstreams sorted by reverse order are respectively mapped to multiple On the first subcarrier and the second subcarrier in the carrier.
  • the first one of the encoded bit streams is The group bit stream is sequentially mapped to the first one of the plurality of carriers, and the second group of bit streams adjacent to the first group of bit streams in the encoded bit stream are mapped to the plurality in reverse order
  • the step of the second subcarrier in the carrier is specifically: alternately using sequential and reverse sequential manners to map consecutive groups of bitstreams in the encoded bitstream to corresponding ones of the plurality of carriers .
  • a fourth aspect of the embodiments of the present invention provides a method for processing a bitstream, where the processing method includes: de-mapping a first group of bitstreams in a bitstream from a first subcarrier of a plurality of carriers, Decoding a second set of bitstreams adjacent to the first set of bitstreams in the bitstream in reverse order on a second one of the plurality of carriers, wherein the first set of bitstreams are sequentially mapped And on the first subcarrier, the second group of bitstreams are mapped on the second subcarrier in reverse order, and each of the plurality of carriers corresponds to a group of bitstreams in the bitstream; FEC decoding is performed on the demapped bit stream to obtain a decoded bit stream.
  • performing the FEC decoding is performed by using a first quantity of bits as a decoding unit, where the first quantity is greater than 2.
  • the first group of bit streams in the bit stream are demapped sequentially from the first one of the plurality of carriers,
  • Decomposing, in a reverse order, a second set of bitstreams in the bitstream adjacent to the first set of bitstreams on a second subcarrier of the plurality of carriers comprises: from a first one of the plurality of carriers Demaping a first set of bitstreams in the bitstream, and de-mapping a second set of bitstreams in the bitstream adjacent to the first set of bitstreams from a second one of the plurality of carriers;
  • the demapped second set of bitstreams are sorted in reverse order.
  • the pressing from the first one of the multiple carriers Demap out a first set of bitstreams in the bitstream, and demap out a second of the bitstreams adjacent to the first set of bitstreams in reverse order from a second one of the plurality of carriers
  • the step of grouping the bit stream is specifically: de-mapping successive sets of bit streams in the bit stream by alternately using sequential and reverse order on multiple sets of subcarriers of the plurality of carriers.
  • a fifth aspect of the embodiments of the present invention provides a communication system, where the communication system includes a sending device and a receiving device, where the sending device includes: an encoding module, configured to perform forward error correction FEC encoding on the bit stream, and obtain the encoding.
  • a mapping module configured to sequentially map the first group of bitstreams in the bitstream from the encoding module to the first one of the plurality of carriers, Mapping a second set of bitstreams in the bitstream from the encoding module adjacent to the first set of bitstreams to a second one of the plurality of carriers in reverse order, wherein the plurality of carriers Each of the subcarriers corresponds to a set of bitstreams in the bitstream from the encoding module; a transmitting module configured to modulate and transmit subcarriers from the mapping module; the receiving device includes: a receiving module, configured to receive And demodulating a set of subcarriers from the plurality of carriers of the transmitting module; a demapping module, configured to sequentially demap the bitstream from the first subcarriers of the plurality of carriers from the receiving module a first set of bitstreams, in reverse order from a second subcarrier of the plurality of carriers from the receiving module, a second set of bitstreams adjacent to the first set
  • the encoding module performs the FEC encoding, where the first number of bits are used as a coding unit, and the decoding module performs the FEC decoding.
  • the encoding is performed with the first number of bits as a decoding unit, wherein the first number is greater than two.
  • the mapping module is specifically configured to use a bit from the encoding module in an alternate order and a reverse order manner. Continuous sets of bitstreams in the stream are mapped into corresponding groups of subcarriers; the demapping module is specifically configured to alternately use sequential and reverse order from multiple sets of subcarriers of the plurality of carriers from the receiving module The manner demaps successive sets of bitstreams in the bitstream.
  • the processing device, the processing method, and the communication system of the bitstream when the FEC-encoded bit stream is mapped to subcarriers in multiple carriers, the first group of bitstreams in the bitstream are sequentially mapped. Going to the first subcarrier, mapping the second group of bitstreams adjacent to the first group of bitstreams to the second subcarriers in reverse order, since the order and the reverse order are opposite to each other, the high bit error rate in the first group of bitstreams The bits of the bit error and the high bit error rate in the second set of bitstreams will be adjacent to each other.
  • the bits of the high bit error rate in the adjacent two sets of bitstreams will be concentrated in one coding unit, such that Fewer coding units are erroneous, and fewer decoding units are required to correct errors, thereby reducing the bit error rate and increasing the effective coding gain.
  • FIG. 1 is a schematic structural diagram of a first embodiment of a processing apparatus for a bitstream according to the present invention
  • FIG. 2A is a schematic diagram showing a correspondence relationship between a mapping module and a byte after mapping a bit stream in FIG. 1;
  • 2B is a schematic diagram showing a correspondence relationship between a bit stream and a byte after being mapped in the prior art
  • FIG. 3 is a schematic diagram of information mapping of a plurality of sets of bitstreams by the mapping module of FIG. 1;
  • FIG. 4 is a schematic structural diagram of an embodiment of a mapping module of FIG. 1;
  • FIG. 5 is a schematic diagram of an application scenario of the mapping module in FIG. 4; FIG.
  • FIG. 6 is a schematic diagram of another application scenario of the mapping module in FIG. 5;
  • FIG. 7 is a schematic structural diagram of a second embodiment of a processing apparatus for a bitstream according to the present invention.
  • FIG. 8 is a schematic structural diagram of an embodiment of the demapping module of FIG. 7;
  • FIG. 9 is a schematic flow chart of a first embodiment of a method for processing a bitstream according to the present invention.
  • FIG. 10 is a schematic diagram of a specific process of mapping a bit stream according to the present invention.
  • FIG. 11 is a schematic flowchart diagram of a second embodiment of a method for processing a bitstream according to the present invention.
  • FIG. 12 is a schematic diagram of a specific process of demapping a bit stream according to the present invention.
  • FIG. 13 is a schematic structural diagram of a third embodiment of a processing apparatus for a bitstream according to the present invention.
  • FIG. 14 is a schematic structural diagram of a fourth embodiment of a processing apparatus for a bitstream according to the present invention.
  • Figure 15 is a block diagram showing an embodiment of a communication system of the present invention.
  • the techniques described herein can be used in various communication systems, such as current 2G (2nd-generation, third generation mobile communication technology), 3G (3rd-generation, third generation mobile communication technology) communication systems, and next generation communication systems, such as Global System for Mobile Communications (GSM, Global System for Mobile communications), Code Division Multiple Access (CDMA, Code Division Multiple) Access) system, Time Division Multiple Access (TDMA) system, Wideband Code Division Multiple Access (WCDMA, Wideband Code) Division Multiple Access Wireless), Frequency Division Multiple Access (FDMA, Frequency Division Multiple) Addressing) system, orthogonal frequency division multiple access (OFDMA, Orthogonal Frequency-Division Multiple Access) system, single carrier FDMA (SC-FDMA) system, general packet radio service (GPRS, General Packet Radio Service) systems, Long Term Evolution (LTE) systems, and other such communication systems.
  • GSM Global System for Mobile Communications
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • FDMA Wideband Code
  • system and “network” are used interchangeably herein.
  • the term “and/or” in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • FIG. 1 is a schematic structural diagram of a first embodiment of a processing apparatus for a bitstream according to the present invention.
  • the processing device of this embodiment includes an encoding module 11 and a mapping module 13.
  • the processing module may further include an interleaving module 12, a constellation module 14, and a sending module 15, and may further include other modules.
  • the encoding module 11 is configured to perform FEC encoding on the bit stream to obtain an encoded bit stream. Wherein, after performing FEC encoding, redundant bits (also called parity bits) are added to the original bit stream, and there is a specific correspondence between the redundant bits and the original bit stream. When the encoded bit stream needs to be decoded, the error can be detected and corrected by a specific correspondence.
  • the encoding module 11 performs FEC encoding, the encoding is performed by using the first number of bits as the coding unit, where the first quantity is greater than 2.
  • the FEC encoding type used by the encoding module 11 for FEC encoding may be an RS (need-solomon) code or a BCH code.
  • the RS code has a finite field of 2 m , and each coding unit contains information of m bits, and m is greater than 2.
  • the RS code can well correct burst errors in the communication system. Because the error correction capability of the RS code is related to the number of error symbols of the RS code, it has little to do with the number of error bits in a single symbol. Therefore, no matter how many bits of a symbol in the RS code are erroneous, as long as the error correction capability of the RS code is within the range, the implementation of the error correction has little effect.
  • the number of error bits that may be generated is relatively fixed.
  • the error bits are grouped, the number of error bits in some symbols is increased, and the error bits in other symbols are added. The number is reduced, some symbols change from the presence of the error bit to the absence of the error bit, so in general, the centralized error bit can reduce the total number of error symbols, thereby reducing the total number of symbols that need to be corrected, and reducing the correction of the communication system. Wrong request. In the case where the error correction capability of the communication system is determined, concentrating the error bits can reduce the bit error rate to some extent.
  • the FEC encoding type used by the encoding module 11 to perform FEC encoding may also be a block code such as a Hamming code (Block). Codes), can also be TPC (Turbo Product Code, Turbo Product Code), LDPC (Low Density Parity Check) Code, low density parity check code) and other convolutional codes (Convolutional Codes) are not limited here. These coding types are not for the erroneous bits in the coding unit, but only for the coding unit, that is, regardless of how many bits in the coding unit are erroneous, only the coding unit is considered to be in error.
  • the interleaving module 12 is configured to interleave the bitstream from the encoding module 11. Among them, the interleaving is performed with a certain number of bits as the granularity. After the interleaving, the FEC-encoded bit stream will be reordered, so that a burst error that may occur in the communication system becomes a random error.
  • the mapping module 13 is configured to sequentially map the first group of bit streams in the bit stream obtained after the interleaving to the first subcarriers of the plurality of carriers, And mapping a second group of bitstreams adjacent to the first group of bitstreams in the bitstream obtained after the interleaving into a second subcarrier of the plurality of carriers, wherein each of the plurality of carriers corresponds to A set of bitstreams from the bitstream of encoding module 11.
  • the inventors of the present invention found in the long-term research and development that in the OFDM technology, the sub-data streams are mapped onto the sub-carriers in a fixed order. Since the sub-data stream is actually a bit stream, the bit stream is divided into multiple groups, and each group is mapped to a corresponding sub-carrier according to a fixed order from a low bit to a high bit or from a high bit to a low bit.
  • the bit error rate of the bit stream on the subcarrier from the low bit to the high bit is monotonously distributed, that is, the data of the low bit has a higher error than the data of the high bit.
  • the code rate or high bit data has a higher bit error rate than the lower bit data.
  • the receiving end When the receiving end performs FEC decoding, it usually decodes with 1 byte (8 bits) as the decoding unit.
  • the bit with high bit error rate When the subcarrier is in error during transmission, the bit with high bit error rate will be dispersed in different bytes. The receiving end needs to correct each error byte. When the number of bytes in error is large, the bit error rate will increase, and the effective coding gain of the receiving end will also decrease.
  • DSL Digital Subscriber Line, Digital Subscriber Line
  • AWGN Additional White Gaussian Under Noise, additive white Gaussian noise
  • the constellation points on the constellation diagram corresponding to QAM are tested and simulated, and the bit error rate is statistically calculated for each of the 14 bits.
  • the bit error rate carried by each subcarrier exhibits a monotonous characteristic (increment or decrement), and the result is as shown in the table. 1 shows:
  • the error probability of the lowest two bits (0, 1) accounts for 51.6% of all errors. More than half of all errors.
  • the error probability of the highest two bits (12, 13) only accounts for 0.4% of all errors, and its coding gain is much higher than other bits.
  • the first group of bitstreams and the second group of bitstreams are adjacent, meaning that the physical and logical positions of the first group of bitstreams and the second group of bitstreams are adjacent, for example, before mapping
  • the first set of bitstreams is the bits of the first bit to the seventh bit of the interleaved bitstream
  • the second set of bitstreams is the bits of the eighth bit to the sixteenth bit of the interleaved bitstream
  • the bits of the seventh bit and the bits of the eighth bit are adjacent.
  • the first set of bitstreams and the second set of bitstreams may contain different numbers of bits, as previously described, the first set of bitstreams includes seven bits and the second set of bitstreams comprises nineteen bits.
  • FIG. 2A is a schematic diagram of the mapping relationship between the mapping module and the byte after the mapping module in FIG. 1
  • FIG. 2B is a schematic diagram of the corresponding relationship between the bit stream and the byte in the prior art.
  • the FEC encoding takes one byte (eight bits) as a coding unit, and the bits of the first group of bit streams and the high bits of the second group of bit streams have a high error rate.
  • the bits of the seventh bit of the first group of bitstream high bit error rate and the bits of the thirteenth bit of the bit error rate of the second group of bitstreams are just in one byte, so that only one Byte error
  • the prior art maps in a fixed ascending order
  • the bits of the seventh bit of the first set of bitstreams are in the first byte
  • the sixteenth of the second set of bitstreams The bits of the bit are in the second byte, so both bytes contain bits with a high bit error rate, so both bytes will fail. It can be seen that the number of bytes of error in the prior art is increased, and the bit error rate is increased.
  • first subcarrier and the second subcarrier of the multiple carriers should be subcarriers with logical locations adjacent to each other, and on this basis, the physical locations may be adjacent. That is, the first subcarrier and the second subcarrier should be adjacent in coding order such that the bits of the seventh bit of the first group of bitstreams and the sixteenth bit of the second set of bitstreams The bits are logically adjacent.
  • the mapping module 11 is specifically configured to map consecutive groups of bit streams in the bit stream obtained after the interleaving into the corresponding groups of subcarriers in an alternate order and a reverse order manner.
  • the interleaved bit stream may include a third group of bit streams, a fourth group of bit streams, etc., in addition to the first group of bit streams and the second group of bit streams, which are easily understood by those skilled in the art.
  • the plurality of subcarriers may include a third subcarrier, a fourth subcarrier, and the like in addition to the first subcarrier and the second subcarrier.
  • the first group of bitstreams are sequentially mapped to the first subcarrier
  • the second group of bitstreams are mapped to the second subcarriers in reverse order
  • the third group of bitstreams are sequentially mapped to the first subcarriers
  • the fourth group The bit stream is mapped to the fourth subcarrier in reverse order
  • the other groups of bit streams are alternately mapped to the corresponding subcarriers in this manner.
  • the bit stream after the mapping is completed is as shown in FIG. 3, wherein the abscissa indicates the grouping order of the bit stream, the ordinate indicates the number of bits of a group of bit streams, and the bar indicates a group of bit streams, and the arrows in the figure indicate a group The ordering direction of the bit stream. As can be seen from the figure, the order of the adjacent two bit streams is reversed.
  • the order may be an ascending order of a low bit to a high bit in a set of bit streams, or may be a descending order opposite to the ascending order.
  • the constellation module 14 is configured to perform constellation mapping on the mapped subcarriers to obtain constellation symbols.
  • Each subcarrier corresponds to a constellation point on the constellation after the constellation mapping, and a constellation point is represented by a constellation symbol. Constellation mapping can improve the anti-interference ability of the communication system.
  • the transmitting module 15 is for modulating and transmitting constellation symbols from the constellation module 14.
  • the processing device may only include an encoding module 11 and a mapping module 13 for performing FEC encoding on the bit stream to obtain an encoded bit stream.
  • the mapping module 13 sequentially maps the first group of bit streams in the bit stream from the encoding module 11 onto the first one of the plurality of carriers, And mapping, in reverse order, a second group of bitstreams in the bitstream from the encoding module 11 that are adjacent to the first group of bitstreams to a second one of the plurality of carriers, wherein each of the plurality of carriers corresponds to A set of bitstreams in the bitstream of encoding module 11.
  • the bit stream from the encoding module 11 is an encoded bit stream, and the encoded bit stream does not need to be interleaved.
  • the bit stream from the mapping module 11 can be transmitted to other devices by other separate transmitting devices.
  • the first group of bit streams in the bit stream are sequentially mapped to the first sub-carrier.
  • bits of the high bit error rate and the second group in the first group of bitstreams will be adjacent to each other and concentrated in one byte of the FEC encoding, so that fewer bytes are erroneous compared to the prior art, and the number of bytes that need to be corrected during decoding is thus reduced. Therefore, the bit error rate can be reduced and the effective coding gain can be improved.
  • FIG. 4 is a schematic structural diagram of an embodiment of the mapping module in FIG. 1 .
  • the mapping module 13 of the present embodiment includes a sorting unit 131 and a mapping unit 132.
  • the sorting unit 131 is configured to sort the second group of bitstreams in reverse order. After the bit stream is acquired, the sorting unit 131 may divide the bit stream into multiple groups according to the number of bits that each subcarrier can carry, and each group of bit streams corresponds to one subcarrier. The sorting unit 131 takes the initial ordering of the first group of bitstreams as an order, and then the initial ordering of the first group of bitstreams remains unchanged, and the initial ordering of the second group of bitstreams is reversed, for example, The order of a set of bitstreams is from a high bit to a low bit, while the ordering of the second set of bitstreams is from a low bit to a high bit.
  • the mapping unit 132 is configured to map the first group of bitstreams and the second group of bitstreams sorted in reverse order onto the first subcarrier and the second subcarrier, respectively.
  • the bits in the first group of bitstreams sorted by the mapping unit 132 are sequentially mapped onto the first subcarrier, and then the bits in the second group of bitstreams are sequentially mapped onto the second subcarrier.
  • mapping module 13 The specific application scenarios of the mapping module 13 are described in detail below:
  • FIG. 5 is a schematic diagram of an application scenario of the mapping module in FIG. 4 .
  • the sorting unit 131 confirms the number of bits that can be carried by a group of subcarriers among the plurality of carriers according to the bit table (b1, b2, b3, ..., bn), where bn indicates that the nth subcarrier can be carried. The number of bits. Then the number of bits of the nth group of bitstreams is also bn.
  • the sorting unit 131 obtains a first set of bitstreams (u 1 , u 2 , . . . , u b1 ) from the bitstream, where u 1 represents the bits of the first bit and u b1 represents the bits of the b1th bit.
  • the sorting unit 131 sequentially sorts the first group of bit streams (u 1 , u 2 , . . . , u b1 ), and the sorted first group of bit streams (u 1 , u 2 , . . .
  • u b1 becomes (u b1 , u b1-1 ,...,u 1 ); and then obtaining a second set of bit streams (u b1+1 , u b1+2 ,..., u b1+b2 ) from the bit stream, where u b1+1 represents the first
  • the bit of the bit, u b1 + b2 represents the bit of the b2 bit
  • the sorting unit 131 maintains the order of the second set of bit streams (u b1+1 , u b1+2 , ..., u b1 + b2 ) unchanged.
  • the mapping unit 132 maps the sorted first group of bit streams (u b1 , u b1-1 , . . . , u 1 ) onto the first subcarrier, and the mapped first group of bit streams becomes (v b1-1 , v b1 ,...,v 0 ), where v b1-1 corresponds to u 1 and v 0 corresponds to u b1 .
  • a second set of bitstreams (u b1+1 , u b1+2 , . . . , u b1+b2 ) is mapped onto the second subcarrier.
  • the mapped second set of bitstreams becomes (w 0 , w 1 , . . .
  • the sorting unit 131 and the mapping unit 132 sort and map the third group of bit streams and the fourth group of bit streams and the other groups of bit streams in the same manner.
  • FIG. 6 is a schematic diagram of another application scenario of the mapping module in FIG. 5 .
  • the sorting unit 131 still confirms the number of bits that can be carried by a group of subcarriers among the plurality of carriers according to the bit table (b1, b2, b3, ..., bn), where bn indicates that the nth subcarrier can carry The number of bits. Then the number of bits of the nth group of bitstreams is also bn.
  • TCM Troellis
  • the sorting unit 131 obtains a set of bit streams (u 1 , u 2 , . . . , u b1-2 , u b1-1 , u b1 , u b1+1 , u b1+2 , . . . , u b1+b2 from the bit stream. -2 , u b1+b2-1 ), the 3 bits (u b1-1 , u b1 , u b1+1 ) are TCM encoded.
  • u b1-1 is represented by k 3
  • u B1 and u b1+1 are processed by convolutional coding to obtain 3 bits (k 0 , k 1 , k 2 ), and bits (w 0 are obtained according to 4 bits (k 0 , k 1 , k 2 , k 3 ).
  • the original bit stream (u 1 , u 2 ,..., u b1-2 , u b1-1 , u b1 , u b1+1 , u b1+2 ,..., u b1+b2-2 , u b1+b2 -1 ) will become (v 0 , v 1 , ..., v b1-1 , w 0 , w 1 , ..., w b2-1 ) from which the first set of bit streams (v 0 , v 1 ,... , v b1-1 ) and obtaining a second set of bit streams (w 0 , w 1 , . . .
  • the mapping unit 132 maps the sorted first set of bit streams (v b1-1 , v b1-2 , . . . , v 2 , v 1 , v 0 ) onto the first subcarrier.
  • a second set of bitstreams (w 0 , w 1 , w 2 , . . . , w b2-2 , w b2-1 ) is mapped onto the second subcarrier.
  • the bit v 0 on the first subcarrier is adjacent to the bit w 0 on the second subcarrier, and both the bit v 0 and the bit w 0 are bits of a high bit or a low bit.
  • the sorting unit 131 and the mapping unit 132 sort and map the third group of bit streams and the fourth group of bit streams and the other groups of bit streams in the same manner.
  • the sorting unit 131 may keep the ordering of the first group of bitstreams unchanged and reorder the second group of bitstreams.
  • the mapping module 13 does not include the sorting unit 131. That is, the mapping module 13 does not alternate the ordering and the reverse ordering of the first group of bitstreams and the second group of bitstreams, but by the mapping unit 132.
  • the first group of bit streams and the second group of bit streams that are not sorted are respectively mapped to the first subcarrier and the second subcarrier by using the reverse mapping order, and the same effect as the foregoing embodiment can be achieved.
  • FIG. 7 is a schematic structural diagram of a second embodiment of a processing apparatus for a bitstream according to the present invention.
  • the processing device of this embodiment includes a demapping module 23 and a decoding module 25.
  • the receiving module 21, the constellation module 22, and the de-interleaving module 24 may be further included, and of course, other modules may be further included.
  • the receiving module 21 is configured to receive and demodulate constellation symbols.
  • the constellation module 22 is configured to perform constellation demapping on the constellation symbols from the receiving module 21 to obtain a plurality of carriers, and output the plurality of carriers to the demapping module 23.
  • one constellation symbol corresponds to one constellation point on the constellation diagram
  • one constellation point corresponds to one subcarrier.
  • constellation demapping a set of subcarriers of a plurality of carriers can be obtained from constellation symbols.
  • the demapping module 23 is configured to sequentially demap the first group of bitstreams in the bitstream from the first subcarriers of the plurality of carriers, and demap the bitstreams from the second subcarriers of the plurality of carriers in reverse order a second group of bitstreams adjacent to the first set of bitstreams, wherein the first set of bitstreams are sequentially mapped on the first subcarrier, and the second set of bitstreams are mapped in reverse order on the second subcarrier, the plurality of Each subcarrier in the carrier corresponds to a set of bitstreams in the bitstream.
  • the first group of bitstreams and the second group of bitstreams are adjacent, meaning that the physical and logical positions of the first group of bitstreams and the second group of bitstreams are adjacent.
  • the first group of bitstreams is the first bit to the seventh bit of the bitstream to be demapped
  • the second set of bitstreams is the eighth bit to the sixteenth of the bitstream to be demapped.
  • the bit of the bit, before performing demapping, the order of the first group of bit streams on the first subcarrier is ascending order of the first bit to the seventh bit
  • the order of the second group of bit streams on the second subcarrier is The descending order of the sixteenth bit to the eighth bit, the bit of the seventh bit and the bit of the sixteenth bit are adjacent.
  • the order of the first group of bitstreams on the first subcarrier is in descending order of the first bit to the seventh bit, and the ordering of the second group of bitstreams on the second subcarrier is the eighth bit to The ascending order of the sixteenth bit, so that the order of the two sets of demapped bitstreams is the original order, that is, from the low bit to the high bit.
  • first subcarrier and the second subcarrier of the multiple carriers should be subcarriers with logical locations adjacent to each other, and on this basis, the physical locations may be adjacent. That is, the first subcarrier and the second subcarrier should be adjacent in the coding order such that the bits of the seventh bit of the first group of bitstreams and the bits of the second group of bitstreams before the demapping The bits of the sixteen bits are logically adjacent.
  • the demapping module 23 is specifically configured to de-map the consecutive groups of bit streams in the bit stream by using sequential and reverse ordering on multiple sets of subcarriers of the multiple carriers.
  • the bit stream may include a third group of bit streams, a fourth group of bit streams, etc., in addition to the first group of bit streams and the second group of bit streams, which are within the scope of those skilled in the art, Not to elaborate.
  • the plurality of subcarriers may include a third subcarrier, a fourth subcarrier, and the like in addition to the first subcarrier and the second subcarrier.
  • the first group of bitstreams are demapped in order
  • the second group of bitstreams are demapped in reverse order
  • the third group of bitstreams are demapped in order
  • the fourth group of bitstreams are demapped in reverse order
  • the other groups of bitstreams are used. This approach alternates between sequential and reverse order demapping.
  • the order may be an ascending order of a low bit to a high bit in a set of bit streams, or may be a descending order opposite to the ascending order.
  • the deinterleaving module 24 is used for deinterleaving the bitstream from the demapping module 23. After deinterleaving, the demapped bitstreams may be sorted in an initial order.
  • the decoding module 25 is configured to perform FEC decoding on the bit stream from the demapping module 24 to obtain a decoded bit stream. Wherein, after performing FEC encoding, errors in the demapped bitstream can be corrected and redundant bits are removed to obtain useful bit information.
  • the decoding module 25 performs decoding during FEC decoding with a certain number of bits as decoding units, wherein the first number is greater than two.
  • the FEC decoding type used by the decoding module 25 to perform FEC decoding may be an RS code or a BCH code.
  • the FEC decoding type used by the decoding module 25 to perform FEC decoding may also be a block code such as a Hamming code, or a convolutional code such as a turbo product code or an LDPC. limited. These decoding types are not for the erroneous bits in the decoding unit, but only for the decoding unit, that is, regardless of how many bits in the decoding unit are erroneous, only the decoding unit is considered to be in error.
  • the bit rate is low.
  • the bits of the adjacent bits, the bits of the first set of bitstreams and the second set of bitstreams are erroneously concentrated in one byte, thereby reducing the number of erroneous bytes.
  • the processing device may only include a demapping module 23 and a decoding module 25, and the demapping module 23 is configured to sequentially demap the first group of the bitstreams from the first one of the plurality of carriers.
  • a bitstream that demaps a second set of bitstreams in the bitstream adjacent to the first set of bitstreams in reverse order from a second one of the plurality of carriers, wherein the first set of bitstreams are sequentially mapped in the first On the subcarrier, the second group of bitstreams are mapped in reverse order on the second subcarrier, and each of the plurality of carriers corresponds to a group of bitstreams in the bitstream.
  • the decoding module 25 is configured to perform FEC decoding on the bit stream from the demapping module 23 to obtain a decoded bit stream. That is to say, the bit stream from the demapping module 23 is the demapped bit stream, that is, the demapped bit stream is directly decoded by the decoding module 25 without deinterleaving. Before the mapping by the demapping module 23, the subcarriers may be received by other separate receiving devices and sent to the demapping module 23.
  • the first group of bitstreams in the bitstream are sequentially mapped on the first subcarrier, and the second group of bitstreams adjacent to the first group of bitstreams are mapped in reverse order.
  • the first group of bitstreams and the bits of the second group of bitstreams are adjacent to each other, and when the first group of bitstreams and the second group of bitstreams are demapped, the first group of bitstreams are sequentially demapped The second group of bitstreams are demapped in reverse order.
  • the bits of the high bit error rate on the adjacent two sets of bitstreams are still adjacent, so that in the FEC decoding, the erroneous bits are concentrated in the FEC decoding.
  • the number of bytes that need to be corrected is reduced, the bit error rate can be reduced, and the effective decoding gain can be improved.
  • FIG. 8 is a schematic structural diagram of an embodiment of the demapping module in FIG. 7 .
  • the demapping module 23 of the present embodiment includes a demapping unit 231 and a sorting unit 232.
  • the demapping unit 231 is configured to demap the first group of bit streams in the bit stream from the first subcarriers of the plurality of carriers, and demap the bit stream from the second subcarrier of the plurality of carriers to be the first A second set of bitstreams adjacent to the group bitstream.
  • Each of the set of subcarriers acquired by the demapping unit 231 carries a set of bitstreams on each subcarrier.
  • the first group of bitstreams are sorted sequentially
  • the second set of bitstreams is sorted in reverse order.
  • the first set of bitstreams is still ordered sequentially.
  • the second set of bitstreams is still sorted in reverse order.
  • the sorting unit 232 is configured to sort the second group of bit streams from the demapping unit 231 in reverse order. Wherein, after sorting, the first group of bit streams and the second group of bit streams are sequentially ordered.
  • the demapping module 23 does not include the sorting unit 232, that is, the demapping module 23 does not alternate the ordering and the reverse ordering of the first set of bitstreams and the second set of bitstreams, but by solving The mapping unit 231 alternately demaps the first group of subcarriers and the second group of subcarriers from the first subcarrier and the second subcarrier by using the reverse demapping sequence, and can achieve the same effect as the foregoing embodiment. Detailed.
  • FIG. 9 is a schematic flowchart of a first embodiment of a method for processing a bitstream according to the present invention.
  • the processing method of the bit stream includes the following steps:
  • the FEC encoding is performed with the first number of bits as the coding unit, wherein the first number is greater than two.
  • the FEC coding type used when performing FEC coding may be an RS code or a BCH code.
  • the FEC encoding type used in the FEC encoding may be a block code such as a Hamming code, or a convolutional code such as a turbo product code or an LDPC, which is not limited herein.
  • coding types are not for the erroneous bits in the coding unit, but only for the coding unit, that is, regardless of how many bits in the coding unit are erroneous, only the coding unit is considered to be in error.
  • S32 Map the first group of bitstreams in the encoded bitstream to the first subcarriers of the plurality of carriers in sequence, and select the second group of bits in the encoded bitstream adjacent to the first group of bitstreams.
  • the stream is mapped in reverse order to a second one of the plurality of carriers, wherein each of the plurality of carriers corresponds to a set of bitstreams from the encoded bitstream.
  • first group of bitstreams and the second group of bitstreams are adjacent, meaning that the physical and logical positions of the first group of bitstreams and the second group of bitstreams are adjacent, for example, before mapping, the first group of bits The stream is the bit from the first bit to the seventh bit in the interleaved bit stream, and the second group bit stream is the bit from the eighth bit to the sixteenth bit in the interleaved bit stream, then the seventh bit The bits and the bits of the eighth bit are adjacent.
  • the first set of bitstreams and the second set of bitstreams may contain different numbers of bits, as previously described, the first set of bitstreams includes seven bits and the second set of bitstreams comprises nineteen bits.
  • the first group of bitstreams on the first subcarrier are sorted in ascending order of the first bit to the seventh bit, and the second set of bitstreams on the second subcarrier are sorted into the sixteenth bit to In the descending order of the eighth bit, the bit of the seventh bit and the bit of the sixteenth bit are adjacent.
  • first subcarrier and the second subcarrier of the multiple carriers should be subcarriers with logical locations adjacent to each other, and on this basis, the physical locations may be adjacent. That is, the first subcarrier and the second subcarrier should be adjacent in coding order such that the bits of the seventh bit of the first group of bitstreams and the sixteenth bit of the second set of bitstreams The bits are logically adjacent.
  • step S32 is specifically: alternately using sequential and reverse order to map consecutive groups of bit streams in the encoded bit stream to corresponding groups of subcarriers of multiple carriers.
  • the interleaved bit stream may include a third group of bit streams, a fourth group of bit streams, etc., in addition to the first group of bit streams and the second group of bit streams, which are easily understood by those skilled in the art.
  • the plurality of subcarriers may include a third subcarrier, a fourth subcarrier, and the like in addition to the first subcarrier and the second subcarrier.
  • the first group of bitstreams are sequentially mapped to the first subcarrier
  • the second group of bitstreams are mapped to the second subcarriers in reverse order
  • the third group of bitstreams are sequentially mapped to the first subcarriers
  • the fourth group The bit stream is mapped to the fourth subcarrier in reverse order
  • the other groups of bit streams are alternately mapped to the corresponding subcarriers in this manner.
  • the order may be an ascending order of a low bit to a high bit in a set of bit streams, or may be a descending order opposite to the ascending order.
  • the processing method further includes: performing constellation mapping on the mapped subcarriers to obtain constellation symbols; and modulating and transmitting the constellation symbols.
  • Each subcarrier corresponds to a constellation point on the constellation after the constellation mapping, and a constellation point is represented by a constellation symbol. Constellation mapping can improve the anti-interference ability of the communication system.
  • the first group of bitstreams in the bitstream are sequentially mapped onto the first subcarrier.
  • mapping the second group of bitstreams adjacent to the first group of bitstreams to the second subcarriers in reverse order since the order and the reverse order are opposite to each other, the bits of the high bit error rate and the second group in the first group of bitstreams.
  • the bits of high bit error rate in the bitstream will be adjacent to each other and concentrated in one coding unit of FEC coding, so that fewer bytes are erroneous compared to the prior art, and the number of bytes that need to be corrected during decoding is thus reduced. Therefore, the bit error rate can be reduced and the effective coding gain can be improved.
  • Step S32 includes:
  • S321 Sort the second group of bitstreams adjacent to the first group of bitstreams in the encoded bitstream in reverse order.
  • the bit stream may be divided into multiple groups according to the number of bits that each subcarrier can carry, and each group of bit streams corresponds to one subcarrier.
  • the initial ordering of the first set of bitstreams is taken as an order, then the initial ordering of the first set of bitstreams remains unchanged, no sorting is required, and the initial ordering of the second set of bitstreams is reverse ordered. For example, the ordering of the first set of bitstreams is from a high bit to a low bit, and the ordering of the second set of bitstreams is from a low bit to a high bit.
  • S322 Map the first group of bitstreams and the second group of bitstreams sorted in reverse order to the first subcarriers and the second subcarriers of the plurality of carriers, respectively.
  • bits in the sorted first group of bitstreams are sequentially mapped onto the first subcarrier, and then the bits in the second group of bitstreams are sequentially mapped onto the second subcarrier.
  • FIG. 11 is a schematic flowchart of a second embodiment of a method for processing a bitstream according to the present invention.
  • the processing method of the bit stream includes the following steps:
  • S41 Demap the first group of bitstreams in the bitstream in sequence from the first subcarriers of the plurality of carriers, and demap the bitstreams from the second subcarriers of the plurality of carriers in the reverse order. a second group of bitstreams adjacent to the group bitstream, wherein the first group of bitstreams are sequentially mapped on the first subcarrier, and the second group of bitstreams are mapped in reverse order on the second subcarrier, each of the plurality of carriers Each subcarrier corresponds to a set of bitstreams in the bitstream.
  • the first group of bitstreams and the second group of bitstreams are adjacent, meaning that the physical and logical positions of the first group of bitstreams and the second group of bitstreams are adjacent.
  • the first group of bitstreams is the first bit to the seventh bit of the bitstream to be demapped
  • the second set of bitstreams is the eighth bit to the sixteenth of the bitstream to be demapped.
  • the bit of the bit, before performing demapping, the order of the first group of bit streams on the first subcarrier is ascending order of the first bit to the seventh bit
  • the order of the second group of bit streams on the second subcarrier is The descending order of the sixteenth bit to the eighth bit, the bit of the seventh bit and the bit of the sixteenth bit are adjacent.
  • the order of the first group of bitstreams on the first subcarrier is in descending order of the first bit to the seventh bit, and the ordering of the second group of bitstreams on the second subcarrier is the eighth bit to The ascending order of the sixteenth bit, so that the order of the two sets of demapped bitstreams is the original order, that is, from the low bit to the high bit.
  • first subcarrier and the second subcarrier of the multiple carriers should be subcarriers with logical locations adjacent to each other, and on this basis, the physical locations may be adjacent. That is, the first subcarrier and the second subcarrier should be adjacent in the coding order such that the bits of the seventh bit of the first group of bitstreams and the bits of the second group of bitstreams before the demapping The bits of the sixteen bits are logically adjacent.
  • step S41 is specifically: de-mapping successive sets of bitstreams in the bitstream by alternately using sequential and reverse order on multiple sets of subcarriers of the plurality of carriers.
  • the bit stream may include a third group of bit streams, a fourth group of bit streams, etc., in addition to the first group of bit streams and the second group of bit streams, which are within the scope of those skilled in the art, Not to elaborate.
  • the plurality of subcarriers may include a third subcarrier, a fourth subcarrier, and the like in addition to the first subcarrier and the second subcarrier.
  • the first group of bitstreams are demapped in order
  • the second group of bitstreams are demapped in reverse order
  • the third group of bitstreams are demapped in order
  • the fourth group of bitstreams are demapped in reverse order
  • the other groups of bitstreams are used. This approach alternates between sequential and reverse order demapping.
  • the order may be an ascending order of a low bit to a high bit in a set of bit streams, or may be a descending order opposite to the ascending order.
  • S42 Perform FEC decoding on the demapped bitstream to obtain a decoded bitstream.
  • FEC decoding is performed with a certain number of bits as decoding units, wherein the first number is greater than two.
  • the FEC decoding type used when performing FEC decoding may be an RS code or a BCH code.
  • the FEC decoding type used in the FEC decoding may be a block code such as a Hamming code, or a convolutional code such as a turbo product code or an LDPC, which is not limited herein.
  • decoding types are not for the erroneous bits in the decoding unit, but only for the decoding unit, that is, regardless of how many bits in the decoding unit are erroneous, only the decoding unit is considered to be in error.
  • the bit rate is low.
  • the bits of the adjacent bits, the bits of the first set of bitstreams and the second set of bitstreams are erroneously concentrated in one byte, thereby reducing the number of erroneous bytes.
  • the first group of bitstreams in the bitstream are sequentially mapped on the first subcarrier, and the second group of bitstreams adjacent to the first group of bitstreams are mapped in reverse order.
  • the first group of bitstreams and the bits of the second group of bitstreams are adjacent to each other, and when the first group of bitstreams and the second group of bitstreams are demapped, the first group of bitstreams are sequentially demapped The second group of bitstreams are demapped in reverse order.
  • the bits of the high bit error rate on the adjacent two sets of bitstreams are still adjacent, so that in the FEC decoding, the erroneous bits are concentrated in the FEC decoding.
  • the number of bytes that need to be corrected is reduced, the bit error rate can be reduced, and the effective decoding gain can be improved.
  • Step S41 includes:
  • S411 De-mapping a first group of bitstreams in a bitstream from a first one of the plurality of carriers, and de-mapping the second group of the plurality of carriers from the first group of bitstreams The second set of bitstreams of the neighbors.
  • the obtained one of the set of subcarriers carries a set of bitstreams on each of the subcarriers.
  • the first group of bitstreams are sorted sequentially
  • the second set of bitstreams is sorted in reverse order.
  • the first set of bitstreams is still ordered sequentially.
  • the second set of bitstreams is still sorted in reverse order.
  • S412 Sort the demapped second group of bitstreams in reverse order.
  • the first group of bit streams and the second group of bit streams are sequentially ordered.
  • FIG. 13 is a schematic structural diagram of a third embodiment of a processing apparatus for a bitstream according to the present invention.
  • the processing device includes a processor (processer) 51, a memory (memory) 52, and a bus 53. And communication interface (communication Interface)54.
  • the processor 51, the memory 52 and the communication interface 54 are connected to one another via a bus 53.
  • the communication interface 54 is for connection with a subsequent device (not shown).
  • Bus 53 can be a peripheral component interconnection standard (English: Peripheral Component Interconnect, abbreviation: PCI) bus or extended industry standard structure (English: Extended Industry Standard Architecture, abbreviation: EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 13, but it does not mean that there is only one bus or one type of bus.
  • the memory 52 is used to store programs.
  • the program can include program code, the program code including computer operating instructions.
  • Memory 52 may contain high speed random access memory (English: random-access Memory, abbreviation: RAM) memory, may also include non-volatile memory (English: non-volatile memory, abbreviated: NVM), such as at least one disk storage.
  • RAM random-access Memory
  • NVM non-volatile memory
  • the processor 51 may be a central processing unit (English: central processing) Unit, abbreviation: CPU).
  • the processor 51 executes the program stored in the memory 52, and is used to implement the processing method of the bit stream provided by the embodiment of the present invention, including:
  • the reverse order is mapped to a second one of the plurality of carriers, wherein each of the plurality of carriers corresponds to a set of bitstreams from the encoded bitstream.
  • the first number of bits are used as the coding unit, where the first number is greater than 2.
  • the mapping process specifically includes: sorting the second group of bitstreams adjacent to the first group of bitstreams in the encoded bitstream in reverse order; and dividing the first group of bitstreams and the second group in reverse order
  • the group bit stream is mapped to the first subcarrier and the second subcarrier of the plurality of carriers, respectively.
  • mapping process is specifically: alternately using sequential and reverse-ordered manners to map consecutive sets of bitstreams in the encoded bitstream to corresponding ones of the plurality of carriers.
  • the communication interface 54 can be integrated or solidified in hardware, which can be a chip, such as an FPGA (Field-Programmable Gate) Array, Field Programmable Gate Array), AISC (Application Specific Integrated) Circuit, ASIC, DSP (Digital Signal Process), ARM (Advanced RISC) Machines, advanced simplification command system set computers) and other chips.
  • FPGA Field-Programmable Gate
  • AISC Application Specific Integrated Circuit
  • ASIC Application Specific Integrated
  • DSP Digital Signal Process
  • ARM Advanced RISC Machines
  • advanced simplification command system set computers advanced simplification command system set computers
  • FIG. 14 is a schematic structural diagram of a fourth embodiment of a processing apparatus for a bitstream according to the present invention.
  • the processing device includes a processor 61, a memory 62, and a bus 63. And communication interface (communication Interface) 64.
  • the processor 61, the memory 62 and the communication interface 64 are connected to one another via a bus 63.
  • the communication interface 64 is used to connect with subsequent devices (not shown).
  • Bus 63 can be a peripheral component interconnect standard (English: Peripheral Component Interconnect, abbreviation: PCI) bus or extended industry standard structure (English: Extended Industry Standard Architecture, abbreviation: EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 14, but it does not mean that there is only one bus or one type of bus.
  • the memory 62 is used to store programs.
  • the program can include program code, the program code including computer operating instructions.
  • Memory 62 may contain high speed random access memory (English: random-access Memory, abbreviation: RAM) memory, may also include non-volatile memory (English: non-volatile memory, abbreviated: NVM), such as at least one disk storage.
  • RAM random-access Memory
  • NVM non-volatile memory
  • the processor 61 may be a central processing unit (English: central processing) Unit, abbreviation: CPU).
  • the processor 61 executes the program stored in the memory 62, and is used to implement the processing method of the bit stream provided by the embodiment of the present invention, including:
  • FEC decoding is performed on the demapped bit stream to obtain a decoded bit stream.
  • the decoding is performed with the first number of bits as the decoding unit, wherein the first number is greater than 2.
  • the process of demapping specifically includes: de-mapping a first group of bitstreams in the bitstream from a first one of the plurality of carriers, and de-mapping the bits from the second of the plurality of carriers a second set of bitstreams in the stream adjacent to the first set of bitstreams; sorting the demapped second set of bitstreams in reverse order.
  • the demapping process is specifically: de-mapping successive sets of bit streams in the bit stream by using sequential and reverse ordering on multiple sets of subcarriers of the multiple carriers.
  • the communication interface 64 can be integrated or solidified in hardware, which can be a chip, such as an FPGA (Field-Programmable Gate) Array, Field Programmable Gate Array), AISC (Application Specific Integrated) Circuit, ASIC, DSP (Digital Signal Process), ARM (Advanced RISC) Machines, advanced simplification command system set computers) and other chips.
  • FPGA Field-Programmable Gate
  • AISC Application Specific Integrated
  • ASIC Application Specific Integrated
  • DSP Digital Signal Process
  • ARM Advanced RISC
  • the communication system includes a transmitting device including an encoding module 71, a mapping module 72, and a transmitting module 73.
  • the receiving device includes a receiving module 81, a demapping module 82, and a decoding module 83.
  • the encoding module 71 is configured to perform FEC encoding on the bit stream to obtain an encoded bit stream.
  • the mapping module 72 is configured to sequentially map the first group of bit streams in the bit stream from the encoding module 71 onto the first one of the plurality of carriers, And mapping a second group of bitstreams in the bitstream from the encoding module 71 adjacent to the first group of bitstreams to a second one of the plurality of carriers in reverse order, wherein each of the plurality of carriers corresponds to A set of bitstreams in the bitstream of encoding module 71.
  • the transmitting module 73 is configured to modulate and transmit subcarriers from the mapping module 72.
  • the receiving module 81 is configured to receive and demodulate a group of subcarriers from the plurality of carriers of the transmitting module 73.
  • the demapping module 82 is configured to sequentially demap the first group of bitstreams in the bitstream from the first one of the plurality of carriers from the receiving module 81, from the second of the plurality of carriers from the receiving module 81. A second set of bitstreams in the bitstream adjacent to the first set of bitstreams are demapped in reverse order on the subcarriers.
  • the decoding module 83 is configured to perform FEC decoding on the bit stream from the demapping module 82 to obtain a decoded bit stream.
  • the encoding module 71, the mapping module 72, the demapping module 82, and the decoding module 83 of the present embodiment refer to the processing device and the processing method of the bit stream according to any of the preceding embodiments, which are easily understood by those skilled in the art. I will not repeat them here.
  • the processing device, the processing method, and the communication system of the bit stream of the present invention when the FEC-encoded bit stream is mapped to the sub-carriers of the plurality of carriers, sequentially processes the first group of bit streams in the bit stream.
  • mapping to the first subcarrier, mapping the second group of bitstreams adjacent to the first group of bitstreams to the second subcarrier in reverse order, and demaping the subcarriers before performing FEC decoding, from the first subcarrier Demap the first set of bitstreams in reverse order, and sequentially demap the second set of bitstreams in the bitstream adjacent to the first set of bitstreams from the second subcarriers, since the order and the reverse order are mutually
  • the bits of the high bit error rate in the first set of bitstreams and the bits of the high bit error rate in the second set of bitstreams will be adjacent to each other after encoding and before decoding, if the subcarriers are transmitting errors, high errors.
  • the bit of the rate will be concentrated in one of the encoding/decoding units of the FEC encoding/decoding, so that the number of decoding units that need to be error-corrected at the time of decoding is reduced as compared with the encoding/decoding unit that is erroneous in the prior art, thereby enabling Reduced transmission
  • the bit error rate and improve the effective encoding and decoding gain.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the coupling or direct coupling or communication connection to each other may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • all or part of the technical solution of the present invention may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, The management server, or network device, etc. or processor, performs all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, and a read only memory (English: read-only Memory, abbreviation: ROM), RAM, disk or optical disc, etc.
  • ROM read only memory
  • RAM disk or optical disc, etc.

Abstract

Provided are a processing device, processing method and communication system of a bit stream. The processing device comprises: an encoding module for performing FEC encoding on bit streams and acquiring the encoded bit streams; and a mapping module for mapping a first group of bit streams in the bit streams from the encoding module onto a first sub-carrier in a plurality of carriers in sequence, and mapping a second group of bit streams adjacent to the first group of bit streams in the bit streams from the encoding module onto a second sub-carrier in the plurality of carriers in an inverse order, wherein each sub-carrier in the plurality of carriers corresponds to a group of bit streams in the bit streams from the encoding module. The implementation of the present invention can reduce the bit error rate and improve effective encoding gain.

Description

比特流的处理设备、处理方法和通信系统  Bit stream processing device, processing method and communication system
【技术领域】[Technical Field]
本发明涉及信息传输技术领域,具体涉及一种比特流的处理设备,还涉及一种比特流的处理方法和通信系统。The present invention relates to the field of information transmission technologies, and in particular, to a bit stream processing device, and to a bit stream processing method and a communication system.
【背景技术】 【Background technique】
通信系统的多载波调制(Multi-carrier Modulation)是指将数据流分为多个并行的子数据流,从而使子数据流具有低得多的传输比特速率,再将这些子数据流调制到多个载波上。Multi-carrier modulation of communication systems (Multi-carrier Modulation) refers to dividing a data stream into a plurality of parallel sub-streams such that the sub-streams have a much lower transmission bit rate and then modulating the sub-streams onto multiple carriers.
多载波调制技术包括OFDM(Orthogonal Frequency Division Multiplex,正交频分复用)技术、Wavelet OFDM(小波正交频分复用)技术或滤波器组多载波(Filter Bank Multicarrier)等,而OFDM技术是使用得最广泛的多载波调制技术。OFDM技术中,将载波分成若干正交子载波,将数据流转换成多个并行的子数据流,再将子数据流调制到每个子载波上进行传输。由于子载波之间保持正交,可以减少子信道之间的ICI(Inter Carrier Interference,载波间干扰)。子数据流的调制方式通常包括QAM(Quadrature Amplitude Modulation,正交调幅)、PSK(Phase Shift Keying,移相键控)等,时频域转换则一般通过快速傅里叶变换或逆变换(FFT/IFFT)实现。Multi-carrier modulation technology including OFDM (Orthogonal Frequency Division) Multiplex, Orthogonal Frequency Division Multiplexing), Wavelet OFDM (Wavelet Orthogonal Frequency Division Multiplexing) or Filter Bank Multi-Carrier (Filter Bank) Multicarrier), etc., and OFDM technology is the most widely used multi-carrier modulation technique. In OFDM technology, a carrier is divided into a number of orthogonal subcarriers, a data stream is converted into a plurality of parallel substreams, and a substream is modulated onto each subcarrier for transmission. ICI can be reduced between subchannels due to the orthogonality between subcarriers (Inter Carrier Interference, inter-carrier interference). Sub-data stream modulation usually includes QAM (Quadrature Amplitude) Modulation, Quadrature Amplitude Modulation), PSK (Phase Shift) Keying, phase shift keying, etc., time-frequency domain conversion is generally implemented by fast Fourier transform or inverse transform (FFT/IFFT).
在OFDM技术中,通常会在子载波传输前进行FEC(Forward Error Correction,前向纠错)编码,使得一旦传输发生差错时,接收端可以发现错误乃至纠正错误。In OFDM technology, FEC (Forward Error) is usually performed before subcarrier transmission. Correction, forward error correction coding, so that when an error occurs in the transmission, the receiver can find the error or even correct the error.
现有技术的通信系统中,数据传输速率的不断增大,对传输过程中的误码率提出了更高的要求,而误码率又直接影响FEC编码的有效编码增益,因此降低数据传输的误码率成为亟待解决的问题。 In the prior art communication system, the data transmission rate is continuously increased, and the bit error rate in the transmission process is put forward higher, and the bit error rate directly affects the effective coding gain of the FEC coding, thereby reducing the data transmission. The bit error rate has become an urgent problem to be solved.
【发明内容】 [Summary of the Invention]
本发明实施例提供一种比特流的处理设备、处理方法和通信系统,能够降低误码率,提高有效编码增益。The embodiment of the invention provides a bit stream processing device, a processing method and a communication system, which can reduce the bit error rate and improve the effective coding gain.
本发明实施例第一方面提供一种比特流的处理设备,所述处理设备包括:编码模块,用于对比特流进行FEC编码,得到编码后的比特流;映射模块,用于将来自所述编码模块的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上, 将来自所述编码模块的比特流中与所述第一组比特流相邻的第二组比特流按逆序映射到所述多个载波中的第二子载波上,其中,所述多个载波中的每个子载波对应来自所述编码模块的比特流中的一组比特流。A first aspect of the embodiments of the present invention provides a bitstream processing device, where the processing device includes: an encoding module, configured to perform FEC encoding on a bitstream to obtain an encoded bitstream; and a mapping module, configured to The first set of bitstreams in the bitstream of the encoding module are sequentially mapped onto the first one of the plurality of carriers, Mapping a second set of bitstreams in the bitstream from the encoding module adjacent to the first set of bitstreams to a second one of the plurality of carriers in reverse order, wherein the plurality of carriers Each of the subcarriers corresponds to a set of bitstreams in the bitstream from the encoding module.
结合第一方面,在第一方面的第一种可能的实现方式中,所述编码模块进行所述FEC编码时以第一数量的比特作为编码单元进行编码,其中所述第一数量大于2。In conjunction with the first aspect, in a first possible implementation manner of the first aspect, the encoding module performs, when performing the FEC encoding, encoding, by using a first quantity of bits as a coding unit, where the first quantity is greater than 2.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述编码模块进行所述FEC编码时所采用的FEC编码类型为里德所罗门RS码或BCH码。With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the FEC encoding type used by the encoding module to perform the FEC encoding is a Reed Solomon RS code or BCH code.
结合第一方面或其第一种到第二种中任一种可能的实现方式,在第一方面的第三种可能的实现方式中,所述映射模块包括:排序单元,用于将所述第二组比特流按逆序进行排序;映射单元,用于将所述第一组比特流和所述按逆序排序后的第二组比特流分别映射到所述第一子载波和所述第二子载波上。In conjunction with the first aspect, or any one of the first to the second possible implementations, in a third possible implementation of the first aspect, the mapping module includes: a sorting unit, configured to: The second group of bitstreams are sorted in reverse order; a mapping unit, configured to map the first group of bitstreams and the second group of bitstreams that are sorted in reverse order to the first subcarrier and the second On the subcarrier.
结合第一方面或其第一种到第三种中任一种可能的实现方式,在第一方面的第四种可能的实现方式中,所述映射模块具体用于交替使用顺序和逆序的方式将来自所述编码模块的比特流中的连续的多组比特流映射到相应的多组子载波中。In conjunction with the first aspect, or any one of the first to the third possible implementation manners, in a fourth possible implementation manner of the first aspect, the mapping module is specifically configured to alternate between sequential and reverse order A plurality of consecutive sets of bitstreams in the bitstream from the encoding module are mapped into respective sets of subcarriers.
结合第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述处理设备还包括:星座模块,用于对所述映射后的子载波进行星座映射,得到星座符号;发送模块,用于调制并发送来自所述星座模块的星座符号。With reference to the fourth possible implementation of the first aspect, in a fifth possible implementation manner of the first aspect, the processing device further includes: a constellation module, configured to perform constellation mapping on the mapped subcarriers Obtaining a constellation symbol; a transmitting module for modulating and transmitting a constellation symbol from the constellation module.
结合第一方面或其第一种到第五种中任一种可能的实现方式,在第一方面的第六种可能的实现方式中,所述来自所述编码模块的比特流为所述编码后的比特流;或者,所述来自所述编码模块的比特流为所述编码后的比特流经过交织后所得到的比特流,其中,交织是以第二数量的比特为粒度进行的。With reference to the first aspect, or any one of the first to fifth possible implementation manners, in a sixth possible implementation manner of the first aspect, the bit stream from the encoding module is the encoding a subsequent bit stream; or the bit stream from the encoding module is a bit stream obtained by interleaving the encoded bit stream, wherein the interleaving is performed with a second number of bits as a granularity.
本发明实施例第二方面提供一种比特流的处理设备,所述处理设备包括:解映射模块,用于从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上按逆序解映射出所述比特流中与所述第一组比特流相邻的第二组比特流,其中,所述第一组比特流按顺序映射在所述第一子载波上,所述第二组比特流按逆序映射在所述第二子载波上,所述多个载波中的每个子载波对应所述比特流中的一组比特流;解码模块,用于对来自所述解映射模块的比特流进行FEC解码,得到解码后的比特流。A second aspect of the embodiments of the present invention provides a processing device for a bitstream, where the processing device includes: a demapping module, configured to sequentially demap the first of the bitstreams from the first subcarriers of the plurality of carriers. a group bit stream, in which a second group of bitstreams adjacent to the first group of bitstreams in the bitstream are demapped in reverse order from a second one of the plurality of carriers, wherein the first The group bit stream is sequentially mapped on the first subcarrier, and the second group bit stream is mapped on the second subcarrier in reverse order, and each of the plurality of carriers corresponds to the bit stream a set of bitstreams; a decoding module, configured to perform FEC decoding on the bitstream from the demapping module to obtain a decoded bitstream.
结合第二方面,在第二方面的第一种可能的实现方式中,所述解码模块进行所述FEC解码时以第一数量的比特作为解码单元进行解码,其中所述第一数量大于2。With reference to the second aspect, in a first possible implementation manner of the second aspect, the decoding module performs the FEC decoding, where the first number of bits are used as a decoding unit, where the first quantity is greater than 2.
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述解码模块进行所述FEC解码时所采用的FEC解码类型为里德所罗门RS码或BCH码。With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the FEC decoding type used by the decoding module to perform the FEC decoding is a Reed Solomon RS code or BCH code.
结合第二方面或其第一种到第二种中任一种可能的实现方式,在第二方面的第三种可能的实现方式中,所述解映射模块包括:解映射单元,用于从多个载波中的第一子载波上解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上解映射出所述比特流中与第一组比特流相邻的第二组比特流;排序单元,用于将来自所述解映射单元的所述第二组比特流按顺序进行排序。With reference to the second aspect, or any one of the first to the second possible implementation manners, in a third possible implementation manner of the second aspect, the demapping module includes: a demapping unit, configured to De-mapping a first set of bitstreams in the bitstream on a first one of the plurality of carriers, and de-mapping the first set of bitstreams in the bitstream from a second one of the plurality of carriers a second set of bitstreams adjacent to each other; a sorting unit for ordering the second set of bitstreams from the demapping unit in order.
结合第二方面或其第一种到第三种中任一种可能的实现方式,在第二方面的第四种可能的实现方式中,所述解映射模块具体用于从多个载波中的多组子载波上交替使用顺序和逆序的方式解映射出所述比特流中的连续的多组比特流。With reference to the second aspect, or any one of the first to the third possible implementation manners, in a fourth possible implementation manner of the second aspect, the demapping module is specifically used from multiple carriers A plurality of sets of subcarriers are alternately used in a sequential and reverse order manner to demap successive sets of bitstreams in the bitstream.
结合第二方面的第四种可能的实现方式,在第二方面的第五种可能的实现方式中,所述处理设备还包括:接收模块,用于接收并解调星座符号;星座模块,用于对来自所述接收模块的星座符号进行星座解映射,得到多个载波,并将所述多个载波输出到所述解映射模块。With reference to the fourth possible implementation of the second aspect, in a fifth possible implementation manner of the second aspect, the processing device further includes: a receiving module, configured to receive and demodulate a constellation symbol; Performing constellation demapping on the constellation symbols from the receiving module to obtain a plurality of carriers, and outputting the plurality of carriers to the demapping module.
结合第二方面或其第一种到第五种中任一种可能的实现方式,在第二方面的第六种可能的实现方式中,所述来自所述解映射模块的比特流为所述解映射后的比特流;或者,所述来自所述解映射模块的比特流为所述解映射后的比特流经过解交织后所得到的比特流,其中,解交织是以第二数量的比特为粒度进行的。With reference to the second aspect, or any one of the first to fifth possible implementation manners, in a sixth possible implementation manner of the second aspect, the bit stream from the demapping module is a demapped bitstream; or the bitstream from the demapping module is a bitstream obtained after the demapped bitstream is deinterleaved, wherein the deinterleaving is a second number of bits For particle size.
本发明实施例第三方面提供一种比特流的处理方法,所述处理方法包括:对比特流进行FEC编码,得到编码后的比特流;将所述编码后的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上,将所述编码后的比特流中与所述第一组比特流相邻的第二组比特流按逆序映射到所述多个载波中的第二子载波上,其中,所述多个载波中的每个子载波对应来自所述编码后的比特流中的一组比特流。A third aspect of the embodiments of the present invention provides a method for processing a bitstream, where the processing method includes: performing FEC encoding on a bitstream to obtain an encoded bitstream; and using a first group of bits in the encoded bitstream. The stream is sequentially mapped to the first one of the plurality of carriers, and the second group of bitstreams adjacent to the first group of bitstreams in the encoded bitstream are mapped to the plurality of carriers in reverse order And on a second subcarrier, wherein each of the plurality of carriers corresponds to a group of bitstreams from the encoded bitstream.
结合第三方面,在第三方面的第一种可能的实现方式中,进行所述FEC编码时以第一数量的比特作为编码单元进行编码,其中所述第一数量大于2。In conjunction with the third aspect, in a first possible implementation manner of the third aspect, performing the FEC encoding is performed by using a first quantity of bits as a coding unit, where the first quantity is greater than 2.
结合第三方面,在第三方面的第二种可能的实现方式中,所述将所述编码后的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上,将所述编码后的比特流中与所述第一组比特流相邻的第二组比特流按逆序映射到所述多个载波中的第二子载波上的步骤包括:将所述编码后的比特流中与第一组比特流相邻的第二组比特流按逆序进行排序;将所述第一组比特流和所述按逆序排序后的第二组比特流分别映射到多个载波中的第一子载波和第二子载波上。With reference to the third aspect, in a second possible implementation manner of the third aspect, the first group of bit streams in the encoded bit stream are sequentially mapped to a first one of the plurality of carriers And mapping, in reverse order, the second group of bitstreams in the encoded bitstream adjacent to the first group of bitstreams to the second one of the plurality of carriers, including: encoding The second group of bitstreams adjacent to the first group of bitstreams are sorted in reverse order; the first set of bitstreams and the second set of bitstreams sorted by reverse order are respectively mapped to multiple On the first subcarrier and the second subcarrier in the carrier.
结合第三方面或其第一种至第二种中任一种可能的实现方式,在第三方面的第三种可能的实现方式中,所述将所述编码后的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上,将所述编码后的比特流中与所述第一组比特流相邻的第二组比特流按逆序映射到所述多个载波中的第二子载波上的步骤具体为:交替使用顺序和逆序的方式将所述编码后的比特流中的连续的多组比特流映射到多个载波中相应的多组子载波中。With reference to the third aspect, or any one of the first to the second possible implementation manners, in a third possible implementation manner of the third aspect, the first one of the encoded bit streams is The group bit stream is sequentially mapped to the first one of the plurality of carriers, and the second group of bit streams adjacent to the first group of bit streams in the encoded bit stream are mapped to the plurality in reverse order The step of the second subcarrier in the carrier is specifically: alternately using sequential and reverse sequential manners to map consecutive groups of bitstreams in the encoded bitstream to corresponding ones of the plurality of carriers .
本发明实施例第四方面提供一种比特流的处理方法,所述处理方法包括:从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上按逆序解映射出所述比特流中与所述第一组比特流相邻的第二组比特流,其中,所述第一组比特流按顺序映射在所述第一子载波上,所述第二组比特流按逆序映射在所述第二子载波上,所述多个载波中的每个子载波对应所述比特流中的一组比特流;对所述解映射后的比特流进行FEC解码,得到解码后的比特流。A fourth aspect of the embodiments of the present invention provides a method for processing a bitstream, where the processing method includes: de-mapping a first group of bitstreams in a bitstream from a first subcarrier of a plurality of carriers, Decoding a second set of bitstreams adjacent to the first set of bitstreams in the bitstream in reverse order on a second one of the plurality of carriers, wherein the first set of bitstreams are sequentially mapped And on the first subcarrier, the second group of bitstreams are mapped on the second subcarrier in reverse order, and each of the plurality of carriers corresponds to a group of bitstreams in the bitstream; FEC decoding is performed on the demapped bit stream to obtain a decoded bit stream.
结合第四方面,在第四方面的第一种可能的实现方式中,进行所述FEC解码时以第一数量的比特作为解码单元进行解码,其中所述第一数量大于2。With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, performing the FEC decoding is performed by using a first quantity of bits as a decoding unit, where the first quantity is greater than 2.
结合第四方面,在第四方面的第二种可能的实现方式中,所述从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上按逆序解映射出所述比特流中与所述第一组比特流相邻的第二组比特流的步骤包括:从多个载波中的第一子载波上解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上解映射出所述比特流中与第一组比特流相邻的第二组比特流;将所述解映射后的第二组比特流按逆序进行排序。With reference to the fourth aspect, in a second possible implementation manner of the fourth aspect, the first group of bit streams in the bit stream are demapped sequentially from the first one of the plurality of carriers, Decomposing, in a reverse order, a second set of bitstreams in the bitstream adjacent to the first set of bitstreams on a second subcarrier of the plurality of carriers comprises: from a first one of the plurality of carriers Demaping a first set of bitstreams in the bitstream, and de-mapping a second set of bitstreams in the bitstream adjacent to the first set of bitstreams from a second one of the plurality of carriers; The demapped second set of bitstreams are sorted in reverse order.
结合第四方面或其第一种到第二种中任一种可能的实现方式,在第四方面的第三种可能的实现方式中,所述从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上按逆序解映射出所述比特流中与所述第一组比特流相邻的第二组比特流的步骤具体为:从多个载波中的多组子载波上交替使用顺序和逆序的方式解映射出所述比特流中的连续的多组比特流。With reference to the fourth aspect, or any one of the first to the second possible implementation manners, in a third possible implementation manner of the fourth aspect, the pressing from the first one of the multiple carriers Demap out a first set of bitstreams in the bitstream, and demap out a second of the bitstreams adjacent to the first set of bitstreams in reverse order from a second one of the plurality of carriers The step of grouping the bit stream is specifically: de-mapping successive sets of bit streams in the bit stream by alternately using sequential and reverse order on multiple sets of subcarriers of the plurality of carriers.
本发明实施例第五方面提供一种通信系统,所述通信系统包括发送设备和接收设备,其中,所述发送设备包括:编码模块,用于对比特流进行前向纠错FEC编码,得到编码后的比特流;映射模块,用于将来自所述编码模块的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上, 将来自所述编码模块的比特流中与所述第一组比特流相邻的第二组比特流按逆序映射到所述多个载波中的第二子载波上,其中,所述多个载波中的每个子载波对应来自所述编码模块的比特流中的一组比特流;发送模块,用于调制并发送来自所述映射模块的子载波;所述接收设备包括:接收模块,用于接收并解调来自所述发送模块的多个载波中的一组子载波;解映射模块,用于从来自所述接收模块的多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从来自所述接收模块的多个载波中的第二子载波上按逆序解映射出所述比特流中与所述第一组比特流相邻的第二组比特流;解码模块,用于对来自所述解映射模块的比特流进行FEC解码,得到解码后的比特流。A fifth aspect of the embodiments of the present invention provides a communication system, where the communication system includes a sending device and a receiving device, where the sending device includes: an encoding module, configured to perform forward error correction FEC encoding on the bit stream, and obtain the encoding. a bit stream; a mapping module, configured to sequentially map the first group of bitstreams in the bitstream from the encoding module to the first one of the plurality of carriers, Mapping a second set of bitstreams in the bitstream from the encoding module adjacent to the first set of bitstreams to a second one of the plurality of carriers in reverse order, wherein the plurality of carriers Each of the subcarriers corresponds to a set of bitstreams in the bitstream from the encoding module; a transmitting module configured to modulate and transmit subcarriers from the mapping module; the receiving device includes: a receiving module, configured to receive And demodulating a set of subcarriers from the plurality of carriers of the transmitting module; a demapping module, configured to sequentially demap the bitstream from the first subcarriers of the plurality of carriers from the receiving module a first set of bitstreams, in reverse order from a second subcarrier of the plurality of carriers from the receiving module, a second set of bitstreams adjacent to the first set of bitstreams in the bitstream a decoding module, configured to perform FEC decoding on the bit stream from the demapping module to obtain a decoded bit stream.
结合第五方面,在第五方面的第一种可能的实现方式中,所述编码模块进行所述FEC编码时以第一数量的比特作为编码单元进行编码;所述解码模块进行所述FEC解码时以所述第一数量的比特作为解码单元进行编码,其中所述第一数量大于2。With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the encoding module performs the FEC encoding, where the first number of bits are used as a coding unit, and the decoding module performs the FEC decoding. The encoding is performed with the first number of bits as a decoding unit, wherein the first number is greater than two.
结合第五方面或其第一种可能的实现方式,在第五方面的第二种可能的实现方式中,所述映射模块具体用于交替使用顺序和逆序的方式将来自所述编码模块的比特流中的连续的多组比特流映射到相应的多组子载波中;所述解映射模块具体用于从来自所述接收模块的多个载波中的多组子载波上交替使用顺序和逆序的方式解映射出所述比特流中的连续的多组比特流。With reference to the fifth aspect, or the first possible implementation manner thereof, in a second possible implementation manner of the fifth aspect, the mapping module is specifically configured to use a bit from the encoding module in an alternate order and a reverse order manner. Continuous sets of bitstreams in the stream are mapped into corresponding groups of subcarriers; the demapping module is specifically configured to alternately use sequential and reverse order from multiple sets of subcarriers of the plurality of carriers from the receiving module The manner demaps successive sets of bitstreams in the bitstream.
本发明实施例的比特流的处理设备、处理方法和通信系统中,在进行FEC编码后的比特流映射到多个载波中的子载波时,将比特流中的第一组比特流按顺序映射到第一子载波上,将与第一组比特流相邻的第二组比特流按逆序映射到第二子载波上,由于顺序和逆序互为相反,第一组比特流中高误码率的比特位和第二组比特流中高误码率的比特位将彼此邻接,如果子载波在传输时发生差错,相邻两组比特流中高误码率的比特位将集中在一个编码单元中,使得更少的编码单元出错,需要纠错的解码单元也更少,从而能够降低误码率,提高有效编码增益。In the processing device, the processing method, and the communication system of the bitstream according to the embodiment of the present invention, when the FEC-encoded bit stream is mapped to subcarriers in multiple carriers, the first group of bitstreams in the bitstream are sequentially mapped. Going to the first subcarrier, mapping the second group of bitstreams adjacent to the first group of bitstreams to the second subcarriers in reverse order, since the order and the reverse order are opposite to each other, the high bit error rate in the first group of bitstreams The bits of the bit error and the high bit error rate in the second set of bitstreams will be adjacent to each other. If the subcarriers are erroneously transmitted, the bits of the high bit error rate in the adjacent two sets of bitstreams will be concentrated in one coding unit, such that Fewer coding units are erroneous, and fewer decoding units are required to correct errors, thereby reducing the bit error rate and increasing the effective coding gain.
【附图说明】 [Description of the Drawings]
图1是本发明比特流的处理设备第一实施例的结构示意图;1 is a schematic structural diagram of a first embodiment of a processing apparatus for a bitstream according to the present invention;
图2A是图1中的映射模块映射比特流后与字节的对应关系示意图;2A is a schematic diagram showing a correspondence relationship between a mapping module and a byte after mapping a bit stream in FIG. 1;
图2B是现有技术中比特流经过映射后与字节的对应关系示意图;2B is a schematic diagram showing a correspondence relationship between a bit stream and a byte after being mapped in the prior art;
图3是图1中的映射模块映射多组比特流的信息示意图;3 is a schematic diagram of information mapping of a plurality of sets of bitstreams by the mapping module of FIG. 1;
图4是图1中映射模块一实施例的结构示意图;4 is a schematic structural diagram of an embodiment of a mapping module of FIG. 1;
图5是图4中映射模块一种应用场景的示意图;FIG. 5 is a schematic diagram of an application scenario of the mapping module in FIG. 4; FIG.
图6是图5中映射模块另一种应用场景的示意图;6 is a schematic diagram of another application scenario of the mapping module in FIG. 5;
图7是本发明比特流的处理设备第二实施例的结构示意图;7 is a schematic structural diagram of a second embodiment of a processing apparatus for a bitstream according to the present invention;
图8是图7中解映射模块一实施例的结构示意图;8 is a schematic structural diagram of an embodiment of the demapping module of FIG. 7;
图9是本发明比特流的处理方法第一实施例的流程示意图;9 is a schematic flow chart of a first embodiment of a method for processing a bitstream according to the present invention;
图10是本发明映射比特流的具体流程示意图;10 is a schematic diagram of a specific process of mapping a bit stream according to the present invention;
图11是本发明比特流的处理方法第二实施例的流程示意图;11 is a schematic flowchart diagram of a second embodiment of a method for processing a bitstream according to the present invention;
图12是本发明对比特流进行解映射的具体流程示意图;12 is a schematic diagram of a specific process of demapping a bit stream according to the present invention;
图13是本发明比特流的处理设备第三实施例的结构示意图;13 is a schematic structural diagram of a third embodiment of a processing apparatus for a bitstream according to the present invention;
图14是本发明比特流的处理设备第四实施例的结构示意图;14 is a schematic structural diagram of a fourth embodiment of a processing apparatus for a bitstream according to the present invention;
图15是本发明通信系统一实施例的结构示意图。Figure 15 is a block diagram showing an embodiment of a communication system of the present invention.
【具体实施方式】 【detailed description】
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本发明。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, for purposes of illustration and description, reference However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the invention.
本文中描述的技术可用于各种通信系统,例如当前2G(2nd-generation,第三代移动通信技术),3G(3rd-generation,第三代移动通信技术)通信系统和下一代通信系统,例如全球移动通信系统(GSM,Global System for Mobile communications),码分多址(CDMA,Code Division Multiple Access)系统,时分多址(TDMA,Time Division Multiple Access)系统,宽带码分多址(WCDMA,Wideband Code Division Multiple Access Wireless),频分多址(FDMA,Frequency Division Multiple Addressing)系统,正交频分多址(OFDMA,Orthogonal Frequency-Division Multiple Access)系统,单载波FDMA(SC-FDMA)系统,通用分组无线业务(GPRS,General Packet Radio Service)系统,长期演进(LTE,Long Term Evolution)系统,以及其他此类通信系统。The techniques described herein can be used in various communication systems, such as current 2G (2nd-generation, third generation mobile communication technology), 3G (3rd-generation, third generation mobile communication technology) communication systems, and next generation communication systems, such as Global System for Mobile Communications (GSM, Global System for Mobile communications), Code Division Multiple Access (CDMA, Code Division Multiple) Access) system, Time Division Multiple Access (TDMA) system, Wideband Code Division Multiple Access (WCDMA, Wideband Code) Division Multiple Access Wireless), Frequency Division Multiple Access (FDMA, Frequency Division Multiple) Addressing) system, orthogonal frequency division multiple access (OFDMA, Orthogonal Frequency-Division Multiple Access) system, single carrier FDMA (SC-FDMA) system, general packet radio service (GPRS, General Packet Radio Service) systems, Long Term Evolution (LTE) systems, and other such communication systems.
另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。Additionally, the terms "system" and "network" are used interchangeably herein. The term "and/or" in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
请参阅图1,是本发明比特流的处理设备第一实施例的结构示意图。本实施例的处理设备包括编码模块11和映射模块13,可选的,还可包括交织模块12、星座模块14和发送模块15,当然进一步还可以包括其它模块。Please refer to FIG. 1, which is a schematic structural diagram of a first embodiment of a processing apparatus for a bitstream according to the present invention. The processing device of this embodiment includes an encoding module 11 and a mapping module 13. Optionally, the processing module may further include an interleaving module 12, a constellation module 14, and a sending module 15, and may further include other modules.
编码模块11用于对比特流进行FEC编码,得到编码后的比特流。其中,进行FEC编码后,原始的比特流中加入了冗余比特(也称为校验比特),并且冗余比特和原始的比特流之间存在特定的对应关系。当编码后的比特流需要解码时,通过特定的对应关系可以检测并纠正错误。可选地,编码模块11进行FEC编码时以第一数量的比特作为编码单元进行编码,其中第一数量大于2。编码模块11进行FEC编码时所采用的FEC编码类型可以为RS(need-solomon,里德所罗门)码或BCH码。The encoding module 11 is configured to perform FEC encoding on the bit stream to obtain an encoded bit stream. Wherein, after performing FEC encoding, redundant bits (also called parity bits) are added to the original bit stream, and there is a specific correspondence between the redundant bits and the original bit stream. When the encoded bit stream needs to be decoded, the error can be detected and corrected by a specific correspondence. Optionally, when the encoding module 11 performs FEC encoding, the encoding is performed by using the first number of bits as the coding unit, where the first quantity is greater than 2. The FEC encoding type used by the encoding module 11 for FEC encoding may be an RS (need-solomon) code or a BCH code.
在实际应用中,RS码有限域2m,每个编码单元都包含有m个比特的信息,m大于2。RS码可以很好地纠正通信系统中的突发错误。因为RS码的纠错能力与RS码的错误符号数有关,而与单个符号中错误比特数的多少关系不大。因此,RS码中一个符号中无论有多少个比特发生错误,只要在RS码的纠错能力范围内,对其纠错的实现,影响不大。用同样的多载波承载数据时,总体来说,可能产生的错误比特数是相对固定的,如果把错误比特集中起来,会使得某些符号中的错误比特数增加,而另外一些符号中错误比特数减少,有些符号由存在错误比特变为不存在错误比特,所以从总体上讲,集中错误比特能减少了错误符号总数,从而降低了需要纠错的总的符号数,降低了通信系统对纠错的要求。在通信系统纠错能力确定的情况下,将错误比特集中起来能一定程度上减低误码率。In practical applications, the RS code has a finite field of 2 m , and each coding unit contains information of m bits, and m is greater than 2. The RS code can well correct burst errors in the communication system. Because the error correction capability of the RS code is related to the number of error symbols of the RS code, it has little to do with the number of error bits in a single symbol. Therefore, no matter how many bits of a symbol in the RS code are erroneous, as long as the error correction capability of the RS code is within the range, the implementation of the error correction has little effect. When carrying data with the same multi-carrier, in general, the number of error bits that may be generated is relatively fixed. If the error bits are grouped, the number of error bits in some symbols is increased, and the error bits in other symbols are added. The number is reduced, some symbols change from the presence of the error bit to the absence of the error bit, so in general, the centralized error bit can reduce the total number of error symbols, thereby reducing the total number of symbols that need to be corrected, and reducing the correction of the communication system. Wrong request. In the case where the error correction capability of the communication system is determined, concentrating the error bits can reduce the bit error rate to some extent.
值得注意的是,在其它一些实施例中,编码模块11进行FEC编码时所采用的FEC编码类型还可以为Hamming码等分组码(Block Codes),也可以为TPC(Turbo Product Code,Turbo乘积码)、LDPC(Low Density Parity Check Code,低密度奇偶校验码)等卷积码(Convolutional Codes),在此不作限定。这些编码类型并不针对编码单元中出错的比特,而只针对该编码单元,也就是说,不论编码单元中多少个比特出错,都只认为该编码单元出错。It should be noted that, in other embodiments, the FEC encoding type used by the encoding module 11 to perform FEC encoding may also be a block code such as a Hamming code (Block). Codes), can also be TPC (Turbo Product Code, Turbo Product Code), LDPC (Low Density Parity Check) Code, low density parity check code) and other convolutional codes (Convolutional Codes) are not limited here. These coding types are not for the erroneous bits in the coding unit, but only for the coding unit, that is, regardless of how many bits in the coding unit are erroneous, only the coding unit is considered to be in error.
交织模块12用于对来自编码模块11的比特流进行交织。其中,交织是以一定数量的比特为粒度进行的。其中,进行交织后,进行FEC编码后的比特流将重新排序,使得通信系统中可能出现的突发错误变为随机错误。The interleaving module 12 is configured to interleave the bitstream from the encoding module 11. Among them, the interleaving is performed with a certain number of bits as the granularity. After the interleaving, the FEC-encoded bit stream will be reordered, so that a burst error that may occur in the communication system becomes a random error.
映射模块13用于将经过交织后所得到的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上, 将经过交织后所得到的比特流中与第一组比特流相邻的第二组比特流按逆序映射到多个载波中的第二子载波上,其中,多个载波中的每个子载波对应来自编码模块11的比特流中的一组比特流。The mapping module 13 is configured to sequentially map the first group of bit streams in the bit stream obtained after the interleaving to the first subcarriers of the plurality of carriers, And mapping a second group of bitstreams adjacent to the first group of bitstreams in the bitstream obtained after the interleaving into a second subcarrier of the plurality of carriers, wherein each of the plurality of carriers corresponds to A set of bitstreams from the bitstream of encoding module 11.
其中,本发明的发明人在长期的研发中发现,在OFDM技术中,子数据流是采用固定不变的顺序映射到子载波上。由于子数据流实际是比特流,比特流分为多组,每一组均是按照从低比特位到高比特位或者从高比特位到低比特位的固定顺序映射到相应的子载波上,当子载波在传输中发生差错时,子载波上的比特流从低比特位到高比特位的误码率呈单调性分布,即低比特位的数据具有比高比特位的数据更高的误码率或者高比特位的数据具有比低比特位的数据更高的误码率。接收端进行FEC解码时,通常是以1个字节(8个比特)为解码单元进行解码,当子载波在传输中发生差错时,误码率高的比特位将分散在不同的字节中,接收端则需要对每个出错字节进行纠错,当出错的字节数量很多时,误码率将提高,接收端的有效编码增益也会降低。以DSL(Digital Subscriber Line,数字用户线 )通信系统为例,在AWGN(Additive White Gaussian Noise,加性高斯白噪声)的下,每个子载波内的比特呈现规律性的误码率分布情况,对b=14(16384 QAM对应的星座图上的星座点进行测试和仿真,并对其14个比特分别进行误码率统计,各个子载波承载的比特误码率呈现出单调的特性(递增或递减),结果如表1所示:Among them, the inventors of the present invention found in the long-term research and development that in the OFDM technology, the sub-data streams are mapped onto the sub-carriers in a fixed order. Since the sub-data stream is actually a bit stream, the bit stream is divided into multiple groups, and each group is mapped to a corresponding sub-carrier according to a fixed order from a low bit to a high bit or from a high bit to a low bit. When an error occurs in the transmission of the subcarrier, the bit error rate of the bit stream on the subcarrier from the low bit to the high bit is monotonously distributed, that is, the data of the low bit has a higher error than the data of the high bit. The code rate or high bit data has a higher bit error rate than the lower bit data. When the receiving end performs FEC decoding, it usually decodes with 1 byte (8 bits) as the decoding unit. When the subcarrier is in error during transmission, the bit with high bit error rate will be dispersed in different bytes. The receiving end needs to correct each error byte. When the number of bytes in error is large, the bit error rate will increase, and the effective coding gain of the receiving end will also decrease. With DSL (Digital Subscriber Line, Digital Subscriber Line) Communication system as an example, in AWGN (Additive White Gaussian Under Noise, additive white Gaussian noise, the bits in each subcarrier exhibit a regular error rate distribution, for b=14 (16384) The constellation points on the constellation diagram corresponding to QAM are tested and simulated, and the bit error rate is statistically calculated for each of the 14 bits. The bit error rate carried by each subcarrier exhibits a monotonous characteristic (increment or decrement), and the result is as shown in the table. 1 shows:
表1 星座点的仿真结果
比特 错误次数 比重(误码率)
0 210798 0.2586
1 210322 0.2580
2 104143 0.1278
3 104458 0.1282
4 50877 0.0624
5 51161 0.0628
6 24316 0.0298
7 24565 0.0301
8 11146 0.0137
9 11260 0.0138
10 4569 0.0056
11 4573 0.0056
12 1425 0.0017
13 1495 0.0018
Table 1 Simulation results of constellation points
Bit Number of errors Specific gravity (bit error rate)
0 210798 0.2586
1 210322 0.2580
2 104143 0.1278
3 104458 0.1282
4 50877 0.0624
5 51161 0.0628
6 24316 0.0298
7 24565 0.0301
8 11146 0.0137
9 11260 0.0138
10 4569 0.0056
11 4573 0.0056
12 1425 0.0017
13 1495 0.0018
从表1中可知,最低两比特(0,1)的出错概率占到所有出错次数51.6%, 大于所有出错次数的一半。而最高两比特(12,13)的出错概率只占到所有出错次数的0.4 %, 其编码增益远远高于其它比特。As can be seen from Table 1, the error probability of the lowest two bits (0, 1) accounts for 51.6% of all errors. More than half of all errors. The error probability of the highest two bits (12, 13) only accounts for 0.4% of all errors, and its coding gain is much higher than other bits.
在本实施例中,第一组比特流和第二组比特流相邻,是指第一组比特流和第二组比特流的物理和逻辑位置相邻,举例来说,在进行映射之前,第一组比特流为交织后的比特流中第一比特位到第七比特位的比特,第二组比特流为交织后的比特流中第八比特位到第十六比特位的比特,则第七比特位的比特和第八比特位的比特是相邻的。并且,第一组比特流和第二组比特流包含的比特数量也可不同,如前所述,第一组比特流包含七个比特,而第二组比特流包含九个比特。在进行映射之后,第一子载波上第一组比特流的排序为第一比特位到第七比特位的升序,而第二子载波上第二组比特流的排序为第十六比特位到第八比特位的降序,则第七比特位的比特和第十六比特位的比特是相邻的。请结合参阅图2A和图2B,图2A是图1中的映射模块映射比特流后与字节的对应关系示意图,图2B是现有技术中比特流经过映射后与字节的对应关系示意图。其中,FEC编码以一个字节(八个比特)作为编码单元,第一组比特流和第二组比特流中的高比特位的比特具有高误码率。如图2A所示,第一组比特流高误码率的第七比特位的比特和第二组比特流中高误码率的第十六比特位的比特刚好处于一个字节中,从而只有一个字节出错,如图2B所示,现有技术采用固定的升序进行映射,第一组比特流的第七比特位的比特位于第一个字节中,而第二组比特流的第十六比特位的比特位于第二个字节中,从而两个字节都包含具有高误码率的比特,因此两个字节都将出错。可见,现有技术出错的字节数增加了,误码率升高了。In this embodiment, the first group of bitstreams and the second group of bitstreams are adjacent, meaning that the physical and logical positions of the first group of bitstreams and the second group of bitstreams are adjacent, for example, before mapping, The first set of bitstreams is the bits of the first bit to the seventh bit of the interleaved bitstream, and the second set of bitstreams is the bits of the eighth bit to the sixteenth bit of the interleaved bitstream, The bits of the seventh bit and the bits of the eighth bit are adjacent. Also, the first set of bitstreams and the second set of bitstreams may contain different numbers of bits, as previously described, the first set of bitstreams includes seven bits and the second set of bitstreams comprises nineteen bits. After mapping, the first group of bitstreams on the first subcarrier are sorted in ascending order of the first bit to the seventh bit, and the second set of bitstreams on the second subcarrier are sorted into the sixteenth bit to In the descending order of the eighth bit, the bit of the seventh bit and the bit of the sixteenth bit are adjacent. Referring to FIG. 2A and FIG. 2B, FIG. 2A is a schematic diagram of the mapping relationship between the mapping module and the byte after the mapping module in FIG. 1, and FIG. 2B is a schematic diagram of the corresponding relationship between the bit stream and the byte in the prior art. Wherein, the FEC encoding takes one byte (eight bits) as a coding unit, and the bits of the first group of bit streams and the high bits of the second group of bit streams have a high error rate. As shown in FIG. 2A, the bits of the seventh bit of the first group of bitstream high bit error rate and the bits of the thirteenth bit of the bit error rate of the second group of bitstreams are just in one byte, so that only one Byte error, as shown in Figure 2B, the prior art maps in a fixed ascending order, the bits of the seventh bit of the first set of bitstreams are in the first byte, and the sixteenth of the second set of bitstreams The bits of the bit are in the second byte, so both bytes contain bits with a high bit error rate, so both bytes will fail. It can be seen that the number of bytes of error in the prior art is increased, and the bit error rate is increased.
进一步地,多个载波中的第一子载波和第二子载波应当为逻辑位置相邻的子载波,在此基础上,可以为物理位置相邻。也就是说,第一子载波和第二子载波,应当在编码顺序上相邻,使得前述的第一组比特流的第七比特位的比特与第二组比特流的第十六比特位的比特在逻辑上相邻。Further, the first subcarrier and the second subcarrier of the multiple carriers should be subcarriers with logical locations adjacent to each other, and on this basis, the physical locations may be adjacent. That is, the first subcarrier and the second subcarrier should be adjacent in coding order such that the bits of the seventh bit of the first group of bitstreams and the sixteenth bit of the second set of bitstreams The bits are logically adjacent.
在本实施例中,可选地,映射模块11具体用于交替使用顺序和逆序的方式将经过交织后所得到的比特流中的连续的多组比特流映射到相应的多组子载波中。其中,相应地,交织后的比特流除了包括第一组比特流和第二组比特流以外,还可包括第三组比特流、第四组比特流等,其在本技术领域人员容易理解的范围内,不一一细述。同时,多个子载波中除了包括第一子载波和第二子载波以外,还可包括第三子载波、第四子载波等。那么,第一组比特流按顺序映射到第一子载波上,第二组比特流按逆序映射到第二子载波上,第三组比特流按顺序映射到第一子载波上,第四组比特流按逆序映射到第四子载波上,其它的各组比特流均采用这种方式交替采用顺序和逆序映射到相应的子载波上。映射完成后的比特流如图3所示,其中,横坐标表示比特流的分组顺序,纵坐标表示一组比特流具有的比特数,柱形表示一组比特流,图中的箭头表示一组比特流的排序方向。由图可知,相邻两组比特流的排序方向相反。In this embodiment, the mapping module 11 is specifically configured to map consecutive groups of bit streams in the bit stream obtained after the interleaving into the corresponding groups of subcarriers in an alternate order and a reverse order manner. Accordingly, the interleaved bit stream may include a third group of bit streams, a fourth group of bit streams, etc., in addition to the first group of bit streams and the second group of bit streams, which are easily understood by those skilled in the art. In the scope, not to elaborate. Meanwhile, the plurality of subcarriers may include a third subcarrier, a fourth subcarrier, and the like in addition to the first subcarrier and the second subcarrier. Then, the first group of bitstreams are sequentially mapped to the first subcarrier, the second group of bitstreams are mapped to the second subcarriers in reverse order, and the third group of bitstreams are sequentially mapped to the first subcarriers, the fourth group The bit stream is mapped to the fourth subcarrier in reverse order, and the other groups of bit streams are alternately mapped to the corresponding subcarriers in this manner. The bit stream after the mapping is completed is as shown in FIG. 3, wherein the abscissa indicates the grouping order of the bit stream, the ordinate indicates the number of bits of a group of bit streams, and the bar indicates a group of bit streams, and the arrows in the figure indicate a group The ordering direction of the bit stream. As can be seen from the figure, the order of the adjacent two bit streams is reversed.
需要注意的是,在本实施例中,不仅顺序和逆序互为相反,而且顺序可以是一组比特流中低比特位到高比特位的升序,也可以是与该升序相反的降序。It should be noted that in this embodiment, not only the order and the reverse order are opposite to each other, but the order may be an ascending order of a low bit to a high bit in a set of bit streams, or may be a descending order opposite to the ascending order.
星座模块14用于对映射后的子载波进行星座映射,得到星座符号。其中,每一个子载波经过星座映射后,对应星座图上的一个星座点,而一个星座点用一个星座符号表示。星座映射可以提高通信系统的抗干扰能力。The constellation module 14 is configured to perform constellation mapping on the mapped subcarriers to obtain constellation symbols. Each subcarrier corresponds to a constellation point on the constellation after the constellation mapping, and a constellation point is represented by a constellation symbol. Constellation mapping can improve the anti-interference ability of the communication system.
发送模块15用于调制并发送来自星座模块14的星座符号。The transmitting module 15 is for modulating and transmitting constellation symbols from the constellation module 14.
在更多实施例中,处理设备可以只包括编码模块11和映射模块13,编码模块11用于对比特流进行FEC编码,得到编码后的比特流。映射模块13将来自编码模块11的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上, 将来自编码模块11的比特流中与第一组比特流相邻的第二组比特流按逆序映射到多个载波中的第二子载波上,其中,多个载波中的每个子载波对应来自编码模块11的比特流中的一组比特流。也就是说,来自编码模块11的比特流为编码后的比特流,该编码后的比特流无需经过交织。映射模块11映射后,可由其它单独的发送设备将来自映射模块11的比特流发送至其它设备。In a further embodiment, the processing device may only include an encoding module 11 and a mapping module 13 for performing FEC encoding on the bit stream to obtain an encoded bit stream. The mapping module 13 sequentially maps the first group of bit streams in the bit stream from the encoding module 11 onto the first one of the plurality of carriers, And mapping, in reverse order, a second group of bitstreams in the bitstream from the encoding module 11 that are adjacent to the first group of bitstreams to a second one of the plurality of carriers, wherein each of the plurality of carriers corresponds to A set of bitstreams in the bitstream of encoding module 11. That is to say, the bit stream from the encoding module 11 is an encoded bit stream, and the encoded bit stream does not need to be interleaved. After the mapping module 11 is mapped, the bit stream from the mapping module 11 can be transmitted to other devices by other separate transmitting devices.
本发明实施例的比特流的处理设备中,在进行FEC编码后的比特流映射到多个载波中的子载波时,将比特流中的第一组比特流按顺序映射到第一子载波上,将与第一组比特流相邻的第二组比特流按逆序映射到第二子载波上,由于顺序和逆序互为相反,第一组比特流中高误码率的比特位和第二组比特流中高误码率的比特位将彼此邻接,并集中于FEC编码的一个字节中,从而相较于现有技术出错的字节更少,在解码时需要纠错的字节数因此减少,从而能够降低误码率,提高有效编码增益。In the processing device of the bit stream according to the embodiment of the present invention, when the FEC-encoded bit stream is mapped to the sub-carriers of the plurality of carriers, the first group of bit streams in the bit stream are sequentially mapped to the first sub-carrier. And mapping the second group of bitstreams adjacent to the first group of bitstreams to the second subcarriers in reverse order, since the order and the reverse order are opposite to each other, the bits of the high bit error rate and the second group in the first group of bitstreams The bits of high bit error rate in the bitstream will be adjacent to each other and concentrated in one byte of the FEC encoding, so that fewer bytes are erroneous compared to the prior art, and the number of bytes that need to be corrected during decoding is thus reduced. Therefore, the bit error rate can be reduced and the effective coding gain can be improved.
请结合参阅图4,是图1中映射模块一实施例的结构示意图。本实施例的映射模块13包括排序单元131和映射单元132。 Please refer to FIG. 4 , which is a schematic structural diagram of an embodiment of the mapping module in FIG. 1 . The mapping module 13 of the present embodiment includes a sorting unit 131 and a mapping unit 132.
排序单元131用于将第二组比特流按逆序进行排序。其中,排序单元131在获取到比特流后,可以根据每个子载波能够承载的比特数将比特流划分为多组,每一组比特流对应一个子载波。排序单元131将第一组比特流的初始排序作为顺序,那么第一组比特流的初始排序保持不变,不需进行排序,而将第二组比特流的初始排序进行逆序排序,例如,第一组比特流的排序为从高比特位到低比特位,而第二组比特流的排序为从低比特位到高比特位。The sorting unit 131 is configured to sort the second group of bitstreams in reverse order. After the bit stream is acquired, the sorting unit 131 may divide the bit stream into multiple groups according to the number of bits that each subcarrier can carry, and each group of bit streams corresponds to one subcarrier. The sorting unit 131 takes the initial ordering of the first group of bitstreams as an order, and then the initial ordering of the first group of bitstreams remains unchanged, and the initial ordering of the second group of bitstreams is reversed, for example, The order of a set of bitstreams is from a high bit to a low bit, while the ordering of the second set of bitstreams is from a low bit to a high bit.
映射单元132用于将第一组比特流和按逆序排序后的第二组比特流分别映射到第一子载波和第二子载波上。其中,映射单元132排序后的第一组比特流中的各比特依次映射到第一子载波上,然后将第二组比特流中的各比特依次映射到第二子载波上。The mapping unit 132 is configured to map the first group of bitstreams and the second group of bitstreams sorted in reverse order onto the first subcarrier and the second subcarrier, respectively. The bits in the first group of bitstreams sorted by the mapping unit 132 are sequentially mapped onto the first subcarrier, and then the bits in the second group of bitstreams are sequentially mapped onto the second subcarrier.
下面将详细介绍映射模块13的具体应用场景:The specific application scenarios of the mapping module 13 are described in detail below:
请参阅图5,是图4中映射模块一种应用场景的示意图。在本应用场景中,排序单元131根据比特表(b1,b2,b3,…,bn)确认多个载波中的一组子载波能够承载的比特数,其中,bn表示第n个子载波能够承载的比特数。则第n组比特流的比特数也为bn。Please refer to FIG. 5 , which is a schematic diagram of an application scenario of the mapping module in FIG. 4 . In this application scenario, the sorting unit 131 confirms the number of bits that can be carried by a group of subcarriers among the plurality of carriers according to the bit table (b1, b2, b3, ..., bn), where bn indicates that the nth subcarrier can be carried. The number of bits. Then the number of bits of the nth group of bitstreams is also bn.
排序单元131从比特流中获取第一组比特流(u1,u2,…,ub1),其中,u1表示第一比特位的比特,ub1表示第b1比特位的比特。排序单元131对第一组比特流(u1,u2,…,ub1)进行顺序排序,排序后第一组比特流(u1,u2,…,ub1)变为(ub1,ub1-1,…,u1);再从比特流中获取第二组比特流(u b1+1,ub1+2,…,ub1+b2),其中,u b1+1表示第1比特位的比特,ub1+b2表示第b2比特位的比特,排序单元131保持第二组比特流(u b1+1,ub1+2,…,ub1+b2)的顺序不变。The sorting unit 131 obtains a first set of bitstreams (u 1 , u 2 , . . . , u b1 ) from the bitstream, where u 1 represents the bits of the first bit and u b1 represents the bits of the b1th bit. The sorting unit 131 sequentially sorts the first group of bit streams (u 1 , u 2 , . . . , u b1 ), and the sorted first group of bit streams (u 1 , u 2 , . . . , u b1 ) becomes (u b1 , u b1-1 ,...,u 1 ); and then obtaining a second set of bit streams (u b1+1 , u b1+2 ,..., u b1+b2 ) from the bit stream, where u b1+1 represents the first The bit of the bit, u b1 + b2 represents the bit of the b2 bit, and the sorting unit 131 maintains the order of the second set of bit streams (u b1+1 , u b1+2 , ..., u b1 + b2 ) unchanged.
映射单元132将排序后的第一组比特流(ub1,ub1-1,…,u1)映射到第一子载波上,映射后的第一组比特流变为(vb1-1,vb1,…,v0),其中,vb1-1对应u1,v0对应ub1。将第二组比特流(ub1+1,ub1+2,…,ub1+b2)映射到第二子载波上。映射后的第二组比特流变为(w0, w1,…,wb2-1),其中,w0对应ub1+1,wb2-1对应ub1+b2。第一子载波上的比特v0和第二子载波上的比特w0相邻,比特v0和比特w0均为高比特位或低比特位的比特。排序单元131和映射单元132采用同样的方式对第三组比特流和第四组比特流以及其它各组比特流进行排序和映射。The mapping unit 132 maps the sorted first group of bit streams (u b1 , u b1-1 , . . . , u 1 ) onto the first subcarrier, and the mapped first group of bit streams becomes (v b1-1 , v b1 ,...,v 0 ), where v b1-1 corresponds to u 1 and v 0 corresponds to u b1 . A second set of bitstreams (u b1+1 , u b1+2 , . . . , u b1+b2 ) is mapped onto the second subcarrier. The mapped second set of bitstreams becomes (w 0 , w 1 , . . . , w b2-1 ), where w 0 corresponds to u b1+1 and w b2-1 corresponds to u b1+b2 . The bit v 0 on the first subcarrier is adjacent to the bit w 0 on the second subcarrier, and both the bit v 0 and the bit w 0 are bits of a high bit or a low bit. The sorting unit 131 and the mapping unit 132 sort and map the third group of bit streams and the fourth group of bit streams and the other groups of bit streams in the same manner.
请参阅图6,是图5中映射模块另一种应用场景的示意图。在本应用场景中,排序单元131仍然根据比特表(b1,b2,b3,…,bn)确认多个载波中的一组子载波能够承载的比特数,其中,bn表示第n个子载波能够承载的比特数。则第n组比特流的比特数也为bn。与前一应用场景不同之处在于,排序单元131在对各组比特流进行排序的过程中进行TCM(Trellis Coded Modulation,网格编码调制)编码。Please refer to FIG. 6 , which is a schematic diagram of another application scenario of the mapping module in FIG. 5 . In this application scenario, the sorting unit 131 still confirms the number of bits that can be carried by a group of subcarriers among the plurality of carriers according to the bit table (b1, b2, b3, ..., bn), where bn indicates that the nth subcarrier can carry The number of bits. Then the number of bits of the nth group of bitstreams is also bn. The difference from the previous application scenario is that the sorting unit 131 performs TCM (Trellis) in the process of sorting each group of bitstreams. Coded Modulation, Coding.
排序单元131从比特流中获取一组比特流(u1,u2,…,ub1-2,ub1-1,ub1,ub1+1, ub1+2,…,ub1+b2-2,ub1+b2-1),将其中的3比特(ub1-1,ub1,ub1+1)进行TCM编码,具体过程为,将ub1-1在以k3表示,ub1和ub1+1采用卷积编码处理,得到3个比特(k0,k1,k2),根据4个比特(k0,k1,k2,k3)得到比特(w0,w1,v0,v1),其中,v0=k3,v1= k1⊕k3,w0= k2⊕k3,w1= k0⊕k1⊕k2⊕k3The sorting unit 131 obtains a set of bit streams (u 1 , u 2 , . . . , u b1-2 , u b1-1 , u b1 , u b1+1 , u b1+2 , . . . , u b1+b2 from the bit stream. -2 , u b1+b2-1 ), the 3 bits (u b1-1 , u b1 , u b1+1 ) are TCM encoded. The specific process is that u b1-1 is represented by k 3 , u B1 and u b1+1 are processed by convolutional coding to obtain 3 bits (k 0 , k 1 , k 2 ), and bits (w 0 are obtained according to 4 bits (k 0 , k 1 , k 2 , k 3 ). w 1 , v 0 , v 1 ), where v 0 =k 3 , v 1 = k 1 ⊕k 3 , w 0 = k 2 ⊕k 3 , w 1 = k 0 ⊕k 1 ⊕k 2 ⊕k 3 .
则原先的比特流(u1,u2,…,ub1-2,ub1-1,ub1,ub1+1,ub1+2,…,ub1+b2-2,ub1+b2-1)将变为(v0,v1,…,vb1-1,w0,w1,…,wb2-1),从其中获取第一组比特流(v0,v1,…,vb1-1)以及从其中获取第二组比特流(w0,w1,…,wb2-1),将第一组比特流(v0,v1,…,vb1-1)进行顺序排序后变为(vb1-1,vb1-2,…,v2,v1,v0),第二组比特流(w0,w1,…,wb2-1)的排序保持不变。Then the original bit stream (u 1 , u 2 ,..., u b1-2 , u b1-1 , u b1 , u b1+1 , u b1+2 ,..., u b1+b2-2 , u b1+b2 -1 ) will become (v 0 , v 1 , ..., v b1-1 , w 0 , w 1 , ..., w b2-1 ) from which the first set of bit streams (v 0 , v 1 ,... , v b1-1 ) and obtaining a second set of bit streams (w 0 , w 1 , . . . , w b2-1 ) therefrom , the first set of bit streams (v 0 , v 1 , . . . , v b1-1 ) After sorting sequentially, it becomes (v b1-1 , v b1-2 , . . . , v 2 , v 1 , v 0 ), and the order of the second group of bit streams (w 0 , w 1 , . . . , w b2-1 ) constant.
映射单元132将排序后的第一组比特流(vb1-1,vb1-2,…,v2,v1,v0)映射到第一子载波上。将第二组比特流(w0,w1, w2,…, wb2-2,wb2-1)映射到第二子载波上。第一子载波上的比特v0和第二子载波上的比特w0相邻,比特v0和比特w0均为高比特位或低比特位的比特。排序单元131和映射单元132采用同样的方式对第三组比特流和第四组比特流以及其它各组比特流进行排序和映射。The mapping unit 132 maps the sorted first set of bit streams (v b1-1 , v b1-2 , . . . , v 2 , v 1 , v 0 ) onto the first subcarrier. A second set of bitstreams (w 0 , w 1 , w 2 , . . . , w b2-2 , w b2-1 ) is mapped onto the second subcarrier. The bit v 0 on the first subcarrier is adjacent to the bit w 0 on the second subcarrier, and both the bit v 0 and the bit w 0 are bits of a high bit or a low bit. The sorting unit 131 and the mapping unit 132 sort and map the third group of bit streams and the fourth group of bit streams and the other groups of bit streams in the same manner.
在上述两种应用场景中,排序单元131可保持第一组比特流的排序不变,而对第二组比特流进行重新排序。In the above two application scenarios, the sorting unit 131 may keep the ordering of the first group of bitstreams unchanged and reorder the second group of bitstreams.
在更多实施例中,映射模块13并不包括排序单元131,也就是说,映射模块13并不对第一组比特流和第二组比特流交替采用顺序和逆序进行排序,而通过映射单元132交替采用相反的映射顺序将没有经过排序的第一组比特流和第二组比特流分别映射到第一子载波和第二子载波上,也能达到与前述实施例同样的效果,此处不作详述。In further embodiments, the mapping module 13 does not include the sorting unit 131. That is, the mapping module 13 does not alternate the ordering and the reverse ordering of the first group of bitstreams and the second group of bitstreams, but by the mapping unit 132. The first group of bit streams and the second group of bit streams that are not sorted are respectively mapped to the first subcarrier and the second subcarrier by using the reverse mapping order, and the same effect as the foregoing embodiment can be achieved. Detailed.
请参阅图7,是本发明比特流的处理设备第二实施例的结构示意图。本实施例的处理设备包括解映射模块23、和解码模块25,可选地,还可包括接收模块21、星座模块22和解交织模块24,当然进一步还可以包括其它模块。Please refer to FIG. 7, which is a schematic structural diagram of a second embodiment of a processing apparatus for a bitstream according to the present invention. The processing device of this embodiment includes a demapping module 23 and a decoding module 25. Optionally, the receiving module 21, the constellation module 22, and the de-interleaving module 24 may be further included, and of course, other modules may be further included.
接收模块21用于接收并解调星座符号。The receiving module 21 is configured to receive and demodulate constellation symbols.
星座模块22用于对来自接收模块21的星座符号进行星座解映射,得到多个载波,并将多个载波输出到解映射模块23。其中,一个星座符号对应星座图上的一个星座点,而一个星座点对应一个子载波。通过星座解映射,可以根据星座符号获得多个载波中的一组子载波。The constellation module 22 is configured to perform constellation demapping on the constellation symbols from the receiving module 21 to obtain a plurality of carriers, and output the plurality of carriers to the demapping module 23. Wherein, one constellation symbol corresponds to one constellation point on the constellation diagram, and one constellation point corresponds to one subcarrier. By constellation demapping, a set of subcarriers of a plurality of carriers can be obtained from constellation symbols.
解映射模块23用于从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从多个载波中的第二子载波上按逆序解映射出比特流中与第一组比特流相邻的第二组比特流,其中,第一组比特流按顺序映射在第一子载波上,第二组比特流按逆序映射在第二子载波上,多个载波中的每个子载波对应比特流中的一组比特流。The demapping module 23 is configured to sequentially demap the first group of bitstreams in the bitstream from the first subcarriers of the plurality of carriers, and demap the bitstreams from the second subcarriers of the plurality of carriers in reverse order a second group of bitstreams adjacent to the first set of bitstreams, wherein the first set of bitstreams are sequentially mapped on the first subcarrier, and the second set of bitstreams are mapped in reverse order on the second subcarrier, the plurality of Each subcarrier in the carrier corresponds to a set of bitstreams in the bitstream.
其中,第一组比特流和第二组比特流相邻,是指第一组比特流和第二组比特流的物理和逻辑位置相邻。举例来说,第一组比特流为待解映射的比特流中第一比特位到第七比特位的比特,第二组比特流为待解映射的比特流中第八比特位到第十六比特位的比特,在进行解映射之前,第一子载波上第一组比特流的排序为第一比特位到第七比特位的升序,而第二子载波上第二组比特流的排序为第十六比特位到第八比特位的降序,第七比特位的比特和第十六比特位的比特是相邻的。在进行解映射之后,第一子载波上第一组比特流的排序为第一比特位到第七比特位的降序,而第二子载波上第二组比特流的排序为第八比特位到第十六比特位的升序,从而解映射出的两组比特流的排序为原始排序,即从低比特位到高比特位。Wherein, the first group of bitstreams and the second group of bitstreams are adjacent, meaning that the physical and logical positions of the first group of bitstreams and the second group of bitstreams are adjacent. For example, the first group of bitstreams is the first bit to the seventh bit of the bitstream to be demapped, and the second set of bitstreams is the eighth bit to the sixteenth of the bitstream to be demapped. The bit of the bit, before performing demapping, the order of the first group of bit streams on the first subcarrier is ascending order of the first bit to the seventh bit, and the order of the second group of bit streams on the second subcarrier is The descending order of the sixteenth bit to the eighth bit, the bit of the seventh bit and the bit of the sixteenth bit are adjacent. After performing demapping, the order of the first group of bitstreams on the first subcarrier is in descending order of the first bit to the seventh bit, and the ordering of the second group of bitstreams on the second subcarrier is the eighth bit to The ascending order of the sixteenth bit, so that the order of the two sets of demapped bitstreams is the original order, that is, from the low bit to the high bit.
进一步地,多个载波中的第一子载波和第二子载波应当为逻辑位置相邻的子载波,在此基础上,可以为物理位置相邻。也就是说,第一子载波和第二子载波,应当在编码顺序上相邻,使得在解映射之前,前述的第一组比特流的第七比特位的比特与第二组比特流的第十六比特位的比特在逻辑上相邻。Further, the first subcarrier and the second subcarrier of the multiple carriers should be subcarriers with logical locations adjacent to each other, and on this basis, the physical locations may be adjacent. That is, the first subcarrier and the second subcarrier should be adjacent in the coding order such that the bits of the seventh bit of the first group of bitstreams and the bits of the second group of bitstreams before the demapping The bits of the sixteen bits are logically adjacent.
在本实施例中,可选地,解映射模块23具体用于从多个载波中的多组子载波上交替使用顺序和逆序的方式解映射出比特流中的连续的多组比特流。其中,相应地,比特流除了包括第一组比特流和第二组比特流以外,还可包括第三组比特流、第四组比特流等,其在本技术领域人员容易理解的范围内,不一一细述。同时,多个子载波中除了包括第一子载波和第二子载波以外,还可包括第三子载波、第四子载波等。那么,第一组比特流按顺序解映射,第二组比特流按逆序解映射,第三组比特流按顺序解映射,第四组比特流按逆序解映射,其它的各组比特流均采用这种方式交替采用顺序和逆序解映射。In this embodiment, optionally, the demapping module 23 is specifically configured to de-map the consecutive groups of bit streams in the bit stream by using sequential and reverse ordering on multiple sets of subcarriers of the multiple carriers. Wherein, the bit stream may include a third group of bit streams, a fourth group of bit streams, etc., in addition to the first group of bit streams and the second group of bit streams, which are within the scope of those skilled in the art, Not to elaborate. Meanwhile, the plurality of subcarriers may include a third subcarrier, a fourth subcarrier, and the like in addition to the first subcarrier and the second subcarrier. Then, the first group of bitstreams are demapped in order, the second group of bitstreams are demapped in reverse order, the third group of bitstreams are demapped in order, the fourth group of bitstreams are demapped in reverse order, and the other groups of bitstreams are used. This approach alternates between sequential and reverse order demapping.
需要注意的是,在本实施例中,不仅顺序和逆序互为相反,而且顺序可以是一组比特流中低比特位到高比特位的升序,也可以是与该升序相反的降序。It should be noted that in this embodiment, not only the order and the reverse order are opposite to each other, but the order may be an ascending order of a low bit to a high bit in a set of bit streams, or may be a descending order opposite to the ascending order.
解交织模块24用于来自解映射模块23的比特流进行解交织。其中,进行解交织后,可以使解映射后的比特流按照初始顺序排序。The deinterleaving module 24 is used for deinterleaving the bitstream from the demapping module 23. After deinterleaving, the demapped bitstreams may be sorted in an initial order.
解码模块25用于对来自解映射模块24的比特流进行FEC解码,得到解码后的比特流。其中,进行FEC编码后,可以纠正解映射后的比特流中的错误并去除其中的冗余比特,得到有用的比特信息。优选地,解码模块25进行FEC解码时以一定数量的比特作为解码单元进行解码,其中第一数量大于2。解码模块25进行FEC解码时所采用的FEC解码类型可以为RS码或BCH码。The decoding module 25 is configured to perform FEC decoding on the bit stream from the demapping module 24 to obtain a decoded bit stream. Wherein, after performing FEC encoding, errors in the demapped bitstream can be corrected and redundant bits are removed to obtain useful bit information. Preferably, the decoding module 25 performs decoding during FEC decoding with a certain number of bits as decoding units, wherein the first number is greater than two. The FEC decoding type used by the decoding module 25 to perform FEC decoding may be an RS code or a BCH code.
值得注意的是,在其它一些实施例中,解码模块25进行FEC解码时所采用的FEC解码类型还可以为Hamming码等分组码,也可以为Turbo乘积码、LDPC等卷积码,在此不作限定。这些解码类型并不针对解码单元中出错的比特,而只针对该解码单元,也就是说,不论解码单元中多少个比特出错,都只认为该解码单元出错。It should be noted that, in other embodiments, the FEC decoding type used by the decoding module 25 to perform FEC decoding may also be a block code such as a Hamming code, or a convolutional code such as a turbo product code or an LDPC. limited. These decoding types are not for the erroneous bits in the decoding unit, but only for the decoding unit, that is, regardless of how many bits in the decoding unit are erroneous, only the decoding unit is considered to be in error.
在解映射之后,如果FEC解码以一个字节作为解码单元,由于第一组比特流和第二组比特流中误码率高的比特位上的比特相邻,误码率低的比特位上的比特相邻,第一组比特流和第二组比特流出错的比特将集中在一个字节中,从而能减少错误字节的数量。After demapping, if the FEC decoding takes one byte as the decoding unit, since the bits in the first group of bitstreams and the bits of the second group of bitstreams with high bit error rate are adjacent, the bit rate is low. The bits of the adjacent bits, the bits of the first set of bitstreams and the second set of bitstreams are erroneously concentrated in one byte, thereby reducing the number of erroneous bytes.
在更多实施例中,处理设备可以只包括解映射模块23和解码模块25,解映射模块23用于从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从多个载波中的第二子载波上按逆序解映射出比特流中与第一组比特流相邻的第二组比特流,其中,第一组比特流按顺序映射在第一子载波上,第二组比特流按逆序映射在第二子载波上,多个载波中的每个子载波对应比特流中的一组比特流。解码模块25用于对来自解映射模块23的比特流进行FEC解码,得到解码后的比特流。也就是说,来自解映射模块23的比特流为解映射后的比特流,即解映射后的比特流直接经解码模块25解码,无需经过解交织。解映射模块23映射前,可由其它单独的接收设备接收子载波并将比特流发送至解映射模块23。In further embodiments, the processing device may only include a demapping module 23 and a decoding module 25, and the demapping module 23 is configured to sequentially demap the first group of the bitstreams from the first one of the plurality of carriers. a bitstream that demaps a second set of bitstreams in the bitstream adjacent to the first set of bitstreams in reverse order from a second one of the plurality of carriers, wherein the first set of bitstreams are sequentially mapped in the first On the subcarrier, the second group of bitstreams are mapped in reverse order on the second subcarrier, and each of the plurality of carriers corresponds to a group of bitstreams in the bitstream. The decoding module 25 is configured to perform FEC decoding on the bit stream from the demapping module 23 to obtain a decoded bit stream. That is to say, the bit stream from the demapping module 23 is the demapped bit stream, that is, the demapped bit stream is directly decoded by the decoding module 25 without deinterleaving. Before the mapping by the demapping module 23, the subcarriers may be received by other separate receiving devices and sent to the demapping module 23.
本发明实施例的比特流的处理设备中,比特流中的第一组比特流按顺序映射在第一子载波上,与第一组比特流相邻的第二组比特流按逆序映射在第二子载波上,第一组比特流和第二组比特流中高误码率的比特相邻,而解映射第一组比特流和第二组比特流时,第一组比特流按顺序解映射,第二组比特流按逆序解映射,由于顺序和逆序互为相反,相邻两组比特流上高误码率的比特仍然相邻,从而在进行FEC解码时,出错的比特集中于FEC解码的一个解码单元中,需要纠错的字节数减少,能够降低误码率,提高有效解码增益。In the processing device of the bitstream according to the embodiment of the present invention, the first group of bitstreams in the bitstream are sequentially mapped on the first subcarrier, and the second group of bitstreams adjacent to the first group of bitstreams are mapped in reverse order. On the two subcarriers, the first group of bitstreams and the bits of the second group of bitstreams are adjacent to each other, and when the first group of bitstreams and the second group of bitstreams are demapped, the first group of bitstreams are sequentially demapped The second group of bitstreams are demapped in reverse order. Since the order and the reverse order are opposite to each other, the bits of the high bit error rate on the adjacent two sets of bitstreams are still adjacent, so that in the FEC decoding, the erroneous bits are concentrated in the FEC decoding. In one decoding unit, the number of bytes that need to be corrected is reduced, the bit error rate can be reduced, and the effective decoding gain can be improved.
请结合参阅图8,是图7中解映射模块一实施例的结构示意图。本实施例的解映射模块23包括解映射单元231和排序单元232。Please refer to FIG. 8 , which is a schematic structural diagram of an embodiment of the demapping module in FIG. 7 . The demapping module 23 of the present embodiment includes a demapping unit 231 and a sorting unit 232.
解映射单元231用于从多个载波中的第一子载波上解映射出比特流中的第一组比特流,从多个载波中的第二子载波上解映射出比特流中与第一组比特流相邻的第二组比特流。其中,解映射单元231获取到的一组子载波中,每个子载波上承载一组比特流。解映射前,第一组比特流为顺序排序 第二组比特流为逆序排序。解映射后,第一组比特流仍然为顺序排序 第二组比特流仍然为逆序排序。The demapping unit 231 is configured to demap the first group of bit streams in the bit stream from the first subcarriers of the plurality of carriers, and demap the bit stream from the second subcarrier of the plurality of carriers to be the first A second set of bitstreams adjacent to the group bitstream. Each of the set of subcarriers acquired by the demapping unit 231 carries a set of bitstreams on each subcarrier. Before demapping, the first group of bitstreams are sorted sequentially The second set of bitstreams is sorted in reverse order. After demapping, the first set of bitstreams is still ordered sequentially. The second set of bitstreams is still sorted in reverse order.
排序单元232用于将来自解映射单元231的第二组比特流按逆序进行排序。其中,经过排序后,第一组比特流和第二组比特流均为顺序排序。The sorting unit 232 is configured to sort the second group of bit streams from the demapping unit 231 in reverse order. Wherein, after sorting, the first group of bit streams and the second group of bit streams are sequentially ordered.
在更多实施例中,解映射模块23并不包括排序单元232,也就是说,解映射模块23并不对第一组比特流和第二组比特流交替采用顺序和逆序进行排序,而通过解映射单元231交替采用相反的解映射顺序从第一子载波和第二子载波上解映射出第一组子载波和第二组子载波,也能达到与前述实施例同样的效果,此处不作详述。In further embodiments, the demapping module 23 does not include the sorting unit 232, that is, the demapping module 23 does not alternate the ordering and the reverse ordering of the first set of bitstreams and the second set of bitstreams, but by solving The mapping unit 231 alternately demaps the first group of subcarriers and the second group of subcarriers from the first subcarrier and the second subcarrier by using the reverse demapping sequence, and can achieve the same effect as the foregoing embodiment. Detailed.
请参阅图9,是本发明比特流的处理方法第一实施例的流程示意图。比特流的处理方法包括以下步骤:Please refer to FIG. 9, which is a schematic flowchart of a first embodiment of a method for processing a bitstream according to the present invention. The processing method of the bit stream includes the following steps:
S31:对比特流进行FEC编码,得到编码后的比特流。S31: FEC encoding the bit stream to obtain an encoded bit stream.
其中,进行FEC编码后,原始的比特流中加入了冗余比特,并且冗余比特和原始的比特流之间存在特定的对应关系。当编码后的比特流需要解码时,通过特定的对应关系可以检测并纠正错误。优选地,进行FEC编码时以第一数量的比特作为编码单元进行编码,其中第一数量大于2。进行FEC编码时所采用的FEC编码类型可以为RS码或BCH码。Wherein, after performing FEC encoding, redundant bits are added to the original bit stream, and there is a specific correspondence between the redundant bits and the original bit stream. When the encoded bit stream needs to be decoded, the error can be detected and corrected by a specific correspondence. Preferably, the FEC encoding is performed with the first number of bits as the coding unit, wherein the first number is greater than two. The FEC coding type used when performing FEC coding may be an RS code or a BCH code.
值得注意的是,在其它一些实施例中,进行FEC编码时所采用的FEC编码类型还可以为Hamming码等分组码,也可以为Turbo乘积码、LDPC等卷积码,在此不作限定。这些编码类型并不针对编码单元中出错的比特,而只针对该编码单元,也就是说,不论编码单元中多少个比特出错,都只认为该编码单元出错。It is to be noted that, in other embodiments, the FEC encoding type used in the FEC encoding may be a block code such as a Hamming code, or a convolutional code such as a turbo product code or an LDPC, which is not limited herein. These coding types are not for the erroneous bits in the coding unit, but only for the coding unit, that is, regardless of how many bits in the coding unit are erroneous, only the coding unit is considered to be in error.
S32:将编码后的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上,将编码后的比特流中与第一组比特流相邻的第二组比特流按逆序映射到多个载波中的第二子载波上,其中,多个载波中的每个子载波对应来自编码后的比特流中的一组比特流。S32: Map the first group of bitstreams in the encoded bitstream to the first subcarriers of the plurality of carriers in sequence, and select the second group of bits in the encoded bitstream adjacent to the first group of bitstreams. The stream is mapped in reverse order to a second one of the plurality of carriers, wherein each of the plurality of carriers corresponds to a set of bitstreams from the encoded bitstream.
其中,第一组比特流和第二组比特流相邻,是指第一组比特流和第二组比特流的物理和逻辑位置相邻,举例来说,在进行映射之前,第一组比特流为交织后的比特流中第一比特位到第七比特位的比特,第二组比特流为交织后的比特流中第八比特位到第十六比特位的比特,则第七比特位的比特和第八比特位的比特是相邻的。并且,第一组比特流和第二组比特流包含的比特数量也可不同,如前所述,第一组比特流包含七个比特,而第二组比特流包含九个比特。在进行映射之后,第一子载波上第一组比特流的排序为第一比特位到第七比特位的升序,而第二子载波上第二组比特流的排序为第十六比特位到第八比特位的降序,则第七比特位的比特和第十六比特位的比特是相邻的。Wherein the first group of bitstreams and the second group of bitstreams are adjacent, meaning that the physical and logical positions of the first group of bitstreams and the second group of bitstreams are adjacent, for example, before mapping, the first group of bits The stream is the bit from the first bit to the seventh bit in the interleaved bit stream, and the second group bit stream is the bit from the eighth bit to the sixteenth bit in the interleaved bit stream, then the seventh bit The bits and the bits of the eighth bit are adjacent. Also, the first set of bitstreams and the second set of bitstreams may contain different numbers of bits, as previously described, the first set of bitstreams includes seven bits and the second set of bitstreams comprises nineteen bits. After mapping, the first group of bitstreams on the first subcarrier are sorted in ascending order of the first bit to the seventh bit, and the second set of bitstreams on the second subcarrier are sorted into the sixteenth bit to In the descending order of the eighth bit, the bit of the seventh bit and the bit of the sixteenth bit are adjacent.
进一步地,多个载波中的第一子载波和第二子载波应当为逻辑位置相邻的子载波,在此基础上,可以为物理位置相邻。也就是说,第一子载波和第二子载波,应当在编码顺序上相邻,使得前述的第一组比特流的第七比特位的比特与第二组比特流的第十六比特位的比特在逻辑上相邻。Further, the first subcarrier and the second subcarrier of the multiple carriers should be subcarriers with logical locations adjacent to each other, and on this basis, the physical locations may be adjacent. That is, the first subcarrier and the second subcarrier should be adjacent in coding order such that the bits of the seventh bit of the first group of bitstreams and the sixteenth bit of the second set of bitstreams The bits are logically adjacent.
在本实施例中,可选地,步骤S32具体为:交替使用顺序和逆序的方式将所述编码后的比特流中的连续的多组比特流映射到多个载波中相应的多组子载波中。其中,相应地,交织后的比特流除了包括第一组比特流和第二组比特流以外,还可包括第三组比特流、第四组比特流等,其在本技术领域人员容易理解的范围内,不一一细述。同时,多个子载波中除了包括第一子载波和第二子载波以外,还可包括第三子载波、第四子载波等。那么,第一组比特流按顺序映射到第一子载波上,第二组比特流按逆序映射到第二子载波上,第三组比特流按顺序映射到第一子载波上,第四组比特流按逆序映射到第四子载波上,其它的各组比特流均采用这种方式交替采用顺序和逆序映射到相应的子载波上。In this embodiment, optionally, step S32 is specifically: alternately using sequential and reverse order to map consecutive groups of bit streams in the encoded bit stream to corresponding groups of subcarriers of multiple carriers. in. Accordingly, the interleaved bit stream may include a third group of bit streams, a fourth group of bit streams, etc., in addition to the first group of bit streams and the second group of bit streams, which are easily understood by those skilled in the art. In the scope, not to elaborate. Meanwhile, the plurality of subcarriers may include a third subcarrier, a fourth subcarrier, and the like in addition to the first subcarrier and the second subcarrier. Then, the first group of bitstreams are sequentially mapped to the first subcarrier, the second group of bitstreams are mapped to the second subcarriers in reverse order, and the third group of bitstreams are sequentially mapped to the first subcarriers, the fourth group The bit stream is mapped to the fourth subcarrier in reverse order, and the other groups of bit streams are alternately mapped to the corresponding subcarriers in this manner.
需要注意的是,在本实施例中,不仅顺序和逆序互为相反,而且顺序可以是一组比特流中低比特位到高比特位的升序,也可以是与该升序相反的降序。It should be noted that in this embodiment, not only the order and the reverse order are opposite to each other, but the order may be an ascending order of a low bit to a high bit in a set of bit streams, or may be a descending order opposite to the ascending order.
在其它实施例中,步骤S32之后,处理方法还包括:对映射后的子载波进行星座映射,得到星座符号;调制并发送星座符号。其中,每一个子载波经过星座映射后,对应星座图上的一个星座点,而一个星座点用一个星座符号表示。星座映射可以提高通信系统的抗干扰能力。In other embodiments, after step S32, the processing method further includes: performing constellation mapping on the mapped subcarriers to obtain constellation symbols; and modulating and transmitting the constellation symbols. Each subcarrier corresponds to a constellation point on the constellation after the constellation mapping, and a constellation point is represented by a constellation symbol. Constellation mapping can improve the anti-interference ability of the communication system.
本发明实施例的比特流的处理方法中,在进行FEC编码后的比特流映射到多个载波中的子载波时,将比特流中的第一组比特流按顺序映射到第一子载波上,将与第一组比特流相邻的第二组比特流按逆序映射到第二子载波上,由于顺序和逆序互为相反,第一组比特流中高误码率的比特位和第二组比特流中高误码率的比特位将彼此邻接,并集中于FEC编码的一个编码单元中,从而相较于现有技术出错的字节更少,在解码时需要纠错的字节数因此减少,从而能够降低误码率,提高有效编码增益。In the method for processing a bitstream according to the embodiment of the present invention, when the FEC-encoded bitstream is mapped to subcarriers in multiple carriers, the first group of bitstreams in the bitstream are sequentially mapped onto the first subcarrier. And mapping the second group of bitstreams adjacent to the first group of bitstreams to the second subcarriers in reverse order, since the order and the reverse order are opposite to each other, the bits of the high bit error rate and the second group in the first group of bitstreams The bits of high bit error rate in the bitstream will be adjacent to each other and concentrated in one coding unit of FEC coding, so that fewer bytes are erroneous compared to the prior art, and the number of bytes that need to be corrected during decoding is thus reduced. Therefore, the bit error rate can be reduced and the effective coding gain can be improved.
请结合参阅图10,是本发明映射比特流的具体流程示意图。步骤S32包括:Please refer to FIG. 10, which is a schematic flowchart of a specific process of mapping a bit stream according to the present invention. Step S32 includes:
S321:将编码后的比特流中与第一组比特流相邻的第二组比特流按逆序进行排序。S321: Sort the second group of bitstreams adjacent to the first group of bitstreams in the encoded bitstream in reverse order.
其中,在获取到编码后的比特流后,可以根据每个子载波能够承载的比特数将比特流划分为多组,每一组比特流对应一个子载波。将第一组比特流的初始排序作为顺序,那么第一组比特流的初始排序保持不变,不需进行排序,而将第二组比特流的初始排序进行逆序排序。,例如,第一组比特流的排序为从高比特位到低比特位,而第二组比特流的排序为从低比特位到高比特位。After obtaining the encoded bit stream, the bit stream may be divided into multiple groups according to the number of bits that each subcarrier can carry, and each group of bit streams corresponds to one subcarrier. The initial ordering of the first set of bitstreams is taken as an order, then the initial ordering of the first set of bitstreams remains unchanged, no sorting is required, and the initial ordering of the second set of bitstreams is reverse ordered. For example, the ordering of the first set of bitstreams is from a high bit to a low bit, and the ordering of the second set of bitstreams is from a low bit to a high bit.
S322:将第一组比特流和按逆序排序后的第二组比特流分别映射到多个载波中的第一子载波和第二子载波上。S322: Map the first group of bitstreams and the second group of bitstreams sorted in reverse order to the first subcarriers and the second subcarriers of the plurality of carriers, respectively.
其中,排序后的第一组比特流中的各比特依次映射到第一子载波上,然后将第二组比特流中的各比特依次映射到第二子载波上。The bits in the sorted first group of bitstreams are sequentially mapped onto the first subcarrier, and then the bits in the second group of bitstreams are sequentially mapped onto the second subcarrier.
请参阅图11,是本发明比特流的处理方法第二实施例的流程示意图。比特流的处理方法包括以下步骤:Please refer to FIG. 11, which is a schematic flowchart of a second embodiment of a method for processing a bitstream according to the present invention. The processing method of the bit stream includes the following steps:
S41:从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从多个载波中的第二子载波上按逆序解映射出比特流中与第一组比特流相邻的第二组比特流,其中,第一组比特流按顺序映射在第一子载波上,第二组比特流按逆序映射在第二子载波上,多个载波中的每个子载波对应比特流中的一组比特流。S41: Demap the first group of bitstreams in the bitstream in sequence from the first subcarriers of the plurality of carriers, and demap the bitstreams from the second subcarriers of the plurality of carriers in the reverse order. a second group of bitstreams adjacent to the group bitstream, wherein the first group of bitstreams are sequentially mapped on the first subcarrier, and the second group of bitstreams are mapped in reverse order on the second subcarrier, each of the plurality of carriers Each subcarrier corresponds to a set of bitstreams in the bitstream.
其中,第一组比特流和第二组比特流相邻,是指第一组比特流和第二组比特流的物理和逻辑位置相邻。举例来说,第一组比特流为待解映射的比特流中第一比特位到第七比特位的比特,第二组比特流为待解映射的比特流中第八比特位到第十六比特位的比特,在进行解映射之前,第一子载波上第一组比特流的排序为第一比特位到第七比特位的升序,而第二子载波上第二组比特流的排序为第十六比特位到第八比特位的降序,第七比特位的比特和第十六比特位的比特是相邻的。在进行解映射之后,第一子载波上第一组比特流的排序为第一比特位到第七比特位的降序,而第二子载波上第二组比特流的排序为第八比特位到第十六比特位的升序,从而解映射出的两组比特流的排序为原始排序,即从低比特位到高比特位。Wherein, the first group of bitstreams and the second group of bitstreams are adjacent, meaning that the physical and logical positions of the first group of bitstreams and the second group of bitstreams are adjacent. For example, the first group of bitstreams is the first bit to the seventh bit of the bitstream to be demapped, and the second set of bitstreams is the eighth bit to the sixteenth of the bitstream to be demapped. The bit of the bit, before performing demapping, the order of the first group of bit streams on the first subcarrier is ascending order of the first bit to the seventh bit, and the order of the second group of bit streams on the second subcarrier is The descending order of the sixteenth bit to the eighth bit, the bit of the seventh bit and the bit of the sixteenth bit are adjacent. After performing demapping, the order of the first group of bitstreams on the first subcarrier is in descending order of the first bit to the seventh bit, and the ordering of the second group of bitstreams on the second subcarrier is the eighth bit to The ascending order of the sixteenth bit, so that the order of the two sets of demapped bitstreams is the original order, that is, from the low bit to the high bit.
进一步地,多个载波中的第一子载波和第二子载波应当为逻辑位置相邻的子载波,在此基础上,可以为物理位置相邻。也就是说,第一子载波和第二子载波,应当在编码顺序上相邻,使得在解映射之前,前述的第一组比特流的第七比特位的比特与第二组比特流的第十六比特位的比特在逻辑上相邻。Further, the first subcarrier and the second subcarrier of the multiple carriers should be subcarriers with logical locations adjacent to each other, and on this basis, the physical locations may be adjacent. That is, the first subcarrier and the second subcarrier should be adjacent in the coding order such that the bits of the seventh bit of the first group of bitstreams and the bits of the second group of bitstreams before the demapping The bits of the sixteen bits are logically adjacent.
在本实施例中,可选地,步骤S41具体为:从多个载波中的多组子载波上交替使用顺序和逆序的方式解映射出所述比特流中的连续的多组比特流。其中,相应地,比特流除了包括第一组比特流和第二组比特流以外,还可包括第三组比特流、第四组比特流等,其在本技术领域人员容易理解的范围内,不一一细述。同时,多个子载波中除了包括第一子载波和第二子载波以外,还可包括第三子载波、第四子载波等。那么,第一组比特流按顺序解映射,第二组比特流按逆序解映射,第三组比特流按顺序解映射,第四组比特流按逆序解映射,其它的各组比特流均采用这种方式交替采用顺序和逆序解映射。In this embodiment, optionally, step S41 is specifically: de-mapping successive sets of bitstreams in the bitstream by alternately using sequential and reverse order on multiple sets of subcarriers of the plurality of carriers. Wherein, the bit stream may include a third group of bit streams, a fourth group of bit streams, etc., in addition to the first group of bit streams and the second group of bit streams, which are within the scope of those skilled in the art, Not to elaborate. Meanwhile, the plurality of subcarriers may include a third subcarrier, a fourth subcarrier, and the like in addition to the first subcarrier and the second subcarrier. Then, the first group of bitstreams are demapped in order, the second group of bitstreams are demapped in reverse order, the third group of bitstreams are demapped in order, the fourth group of bitstreams are demapped in reverse order, and the other groups of bitstreams are used. This approach alternates between sequential and reverse order demapping.
需要注意的是,在本实施例中,不仅顺序和逆序互为相反,而且顺序可以是一组比特流中低比特位到高比特位的升序,也可以是与该升序相反的降序。It should be noted that in this embodiment, not only the order and the reverse order are opposite to each other, but the order may be an ascending order of a low bit to a high bit in a set of bit streams, or may be a descending order opposite to the ascending order.
S42:对解映射后的比特流进行FEC解码,得到解码后的比特流。S42: Perform FEC decoding on the demapped bitstream to obtain a decoded bitstream.
其中,进行FEC编码后,可以纠正解映射后的比特流中的错误并去除其中的冗余比特,得到有用的比特信息。优选地,进行FEC解码时以一定数量的比特作为解码单元进行解码,其中第一数量大于2。进行FEC解码时所采用的FEC解码类型可以为RS码或BCH码。Wherein, after performing FEC encoding, errors in the demapped bitstream can be corrected and redundant bits are removed to obtain useful bit information. Preferably, FEC decoding is performed with a certain number of bits as decoding units, wherein the first number is greater than two. The FEC decoding type used when performing FEC decoding may be an RS code or a BCH code.
值得注意的是,在其它一些实施例中,进行FEC解码时所采用的FEC解码类型还可以为Hamming码等分组码,也可以为Turbo乘积码、LDPC等卷积码,在此不作限定。这些解码类型并不针对解码单元中出错的比特,而只针对该解码单元,也就是说,不论解码单元中多少个比特出错,都只认为该解码单元出错。It is to be noted that, in other embodiments, the FEC decoding type used in the FEC decoding may be a block code such as a Hamming code, or a convolutional code such as a turbo product code or an LDPC, which is not limited herein. These decoding types are not for the erroneous bits in the decoding unit, but only for the decoding unit, that is, regardless of how many bits in the decoding unit are erroneous, only the decoding unit is considered to be in error.
在解映射之后,如果FEC解码以一个字节作为解码单元,由于第一组比特流和第二组比特流中误码率高的比特位上的比特相邻,误码率低的比特位上的比特相邻,第一组比特流和第二组比特流出错的比特将集中在一个字节中,从而能减少错误字节的数量。After demapping, if the FEC decoding takes one byte as the decoding unit, since the bits in the first group of bitstreams and the bits of the second group of bitstreams with high bit error rate are adjacent, the bit rate is low. The bits of the adjacent bits, the bits of the first set of bitstreams and the second set of bitstreams are erroneously concentrated in one byte, thereby reducing the number of erroneous bytes.
本发明实施例的比特流的处理方法中,比特流中的第一组比特流按顺序映射在第一子载波上,与第一组比特流相邻的第二组比特流按逆序映射在第二子载波上,第一组比特流和第二组比特流中高误码率的比特相邻,而解映射第一组比特流和第二组比特流时,第一组比特流按顺序解映射,第二组比特流按逆序解映射,由于顺序和逆序互为相反,相邻两组比特流上高误码率的比特仍然相邻,从而在进行FEC解码时,出错的比特集中于FEC解码的一个解码单元中,需要纠错的字节数减少,能够降低误码率,提高有效解码增益。In the method for processing a bitstream according to the embodiment of the present invention, the first group of bitstreams in the bitstream are sequentially mapped on the first subcarrier, and the second group of bitstreams adjacent to the first group of bitstreams are mapped in reverse order. On the two subcarriers, the first group of bitstreams and the bits of the second group of bitstreams are adjacent to each other, and when the first group of bitstreams and the second group of bitstreams are demapped, the first group of bitstreams are sequentially demapped The second group of bitstreams are demapped in reverse order. Since the order and the reverse order are opposite to each other, the bits of the high bit error rate on the adjacent two sets of bitstreams are still adjacent, so that in the FEC decoding, the erroneous bits are concentrated in the FEC decoding. In one decoding unit, the number of bytes that need to be corrected is reduced, the bit error rate can be reduced, and the effective decoding gain can be improved.
请结合参阅图12,是本发明对比特流进行解映射的具体流程示意图。步骤S41包括:Please refer to FIG. 12, which is a schematic flowchart of a specific process for de-mapping a bit stream according to the present invention. Step S41 includes:
S411:从多个载波中的第一子载波上解映射出比特流中的第一组比特流,从多个载波中的第二子载波上解映射出比特流中与第一组比特流相邻的第二组比特流。S411: De-mapping a first group of bitstreams in a bitstream from a first one of the plurality of carriers, and de-mapping the second group of the plurality of carriers from the first group of bitstreams The second set of bitstreams of the neighbors.
其中,获取到的一组子载波中,每个子载波上承载一组比特流。解映射前,第一组比特流为顺序排序 第二组比特流为逆序排序。解映射后,第一组比特流仍然为顺序排序 第二组比特流仍然为逆序排序。The obtained one of the set of subcarriers carries a set of bitstreams on each of the subcarriers. Before demapping, the first group of bitstreams are sorted sequentially The second set of bitstreams is sorted in reverse order. After demapping, the first set of bitstreams is still ordered sequentially. The second set of bitstreams is still sorted in reverse order.
S412:将解映射后的第二组比特流按逆序进行排序。S412: Sort the demapped second group of bitstreams in reverse order.
其中,经过排序后,第一组比特流和第二组比特流均为顺序排序。Wherein, after sorting, the first group of bit streams and the second group of bit streams are sequentially ordered.
请参阅图13,是本发明比特流的处理设备第三实施例的结构示意图。处理设备包括处理器(processer)51、存储器(memory)52、总线53 以及通信接口(communication interface)54。其中,处理器51,存储器52和通信接口54通过总线53相互连接。通信接口54用于与后续设备(图未示)连接。Please refer to FIG. 13, which is a schematic structural diagram of a third embodiment of a processing apparatus for a bitstream according to the present invention. The processing device includes a processor (processer) 51, a memory (memory) 52, and a bus 53. And communication interface (communication Interface)54. The processor 51, the memory 52 and the communication interface 54 are connected to one another via a bus 53. The communication interface 54 is for connection with a subsequent device (not shown).
总线53可以是外设部件互连标准(英文:Peripheral Component Interconnect,缩写:PCI)总线或扩展工业标准结构(英文:Extended Industry Standard Architecture,缩写:EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。 Bus 53 can be a peripheral component interconnection standard (English: Peripheral Component Interconnect, abbreviation: PCI) bus or extended industry standard structure (English: Extended Industry Standard Architecture, abbreviation: EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 13, but it does not mean that there is only one bus or one type of bus.
存储器52用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器52可能包含高速随机存取存储器(英文:random-access memory,缩写:RAM)存储器,也可能还包括非易失性存储器(英文:non-volatile memory,缩写:NVM),例如至少一个磁盘存储器。The memory 52 is used to store programs. In particular, the program can include program code, the program code including computer operating instructions. Memory 52 may contain high speed random access memory (English: random-access Memory, abbreviation: RAM) memory, may also include non-volatile memory (English: non-volatile memory, abbreviated: NVM), such as at least one disk storage.
处理器51可能是一个中央处理器(英文:central processing unit,缩写:CPU)。The processor 51 may be a central processing unit (English: central processing) Unit, abbreviation: CPU).
处理器51执行存储器52所存放的程序,用于实现本发明实施例提供的比特流的处理方法,包括:The processor 51 executes the program stored in the memory 52, and is used to implement the processing method of the bit stream provided by the embodiment of the present invention, including:
对比特流进行FEC编码,得到编码后的比特流;Performing FEC encoding on the bit stream to obtain an encoded bit stream;
将编码后的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上,将编码后的比特流中与第一组比特流相邻的第二组比特流按逆序映射到多个载波中的第二子载波上,其中,多个载波中的每个子载波对应来自编码后的比特流中的一组比特流。Mapping the first set of bitstreams in the encoded bitstream to the first one of the plurality of carriers in sequence, and pressing the second set of bitstreams in the encoded bitstream adjacent to the first set of bitstreams The reverse order is mapped to a second one of the plurality of carriers, wherein each of the plurality of carriers corresponds to a set of bitstreams from the encoded bitstream.
可选地,进行FEC编码时以第一数量的比特作为编码单元进行编码,其中第一数量大于2。Optionally, when the FEC encoding is performed, the first number of bits are used as the coding unit, where the first number is greater than 2.
可选地,映射的过程具体包括:将编码后的比特流中与第一组比特流相邻的第二组比特流按逆序进行排序;将第一组比特流和按逆序排序后的第二组比特流分别映射到多个载波中的第一子载波和第二子载波上。Optionally, the mapping process specifically includes: sorting the second group of bitstreams adjacent to the first group of bitstreams in the encoded bitstream in reverse order; and dividing the first group of bitstreams and the second group in reverse order The group bit stream is mapped to the first subcarrier and the second subcarrier of the plurality of carriers, respectively.
可选的,映射的过程具体为:交替使用顺序和逆序的方式将编码后的比特流中的连续的多组比特流映射到多个载波中相应的多组子载波中。Optionally, the mapping process is specifically: alternately using sequential and reverse-ordered manners to map consecutive sets of bitstreams in the encoded bitstream to corresponding ones of the plurality of carriers.
处理器51的具体实现过程请参照前述实施例的比特流的处理设备和处理方法,此处不再赘述。For the specific implementation process of the processor 51, refer to the processing device and the processing method of the bit stream in the foregoing embodiment, and details are not described herein again.
本实施例的处理器51、存储器52、总线53 以及通信接口54可以集成或固化于硬件中,该硬件可以是一块芯片,例如FPGA(Field-Programmable Gate Array,现场可编程门阵列)、AISC(Application Specific Integrated Circuit,专用集成电路)、DSP(Digital Signal Process,数字信号处理)、ARM(Advanced RISC Machines,高级精简指令系统集计算机)等芯片。The processor 51, the memory 52, and the bus 53 of this embodiment And the communication interface 54 can be integrated or solidified in hardware, which can be a chip, such as an FPGA (Field-Programmable Gate) Array, Field Programmable Gate Array), AISC (Application Specific Integrated) Circuit, ASIC, DSP (Digital Signal Process), ARM (Advanced RISC) Machines, advanced simplification command system set computers) and other chips.
请参阅图14,是本发明比特流的处理设备第四实施例的结构示意图。处理设备包括处理器(processer)61、存储器(memory)62、总线63 以及通信接口(communication interface)64。其中,处理器61,存储器62和通信接口64通过总线63相互连接。通信接口64用于与后续设备(图未示)连接。Referring to FIG. 14, which is a schematic structural diagram of a fourth embodiment of a processing apparatus for a bitstream according to the present invention. The processing device includes a processor 61, a memory 62, and a bus 63. And communication interface (communication Interface) 64. The processor 61, the memory 62 and the communication interface 64 are connected to one another via a bus 63. The communication interface 64 is used to connect with subsequent devices (not shown).
总线63可以是外设部件互连标准(英文:Peripheral Component Interconnect,缩写:PCI)总线或扩展工业标准结构(英文:Extended Industry Standard Architecture,缩写:EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图14中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。 Bus 63 can be a peripheral component interconnect standard (English: Peripheral Component Interconnect, abbreviation: PCI) bus or extended industry standard structure (English: Extended Industry Standard Architecture, abbreviation: EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 14, but it does not mean that there is only one bus or one type of bus.
存储器62用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器62可能包含高速随机存取存储器(英文:random-access memory,缩写:RAM)存储器,也可能还包括非易失性存储器(英文:non-volatile memory,缩写:NVM),例如至少一个磁盘存储器。The memory 62 is used to store programs. In particular, the program can include program code, the program code including computer operating instructions. Memory 62 may contain high speed random access memory (English: random-access Memory, abbreviation: RAM) memory, may also include non-volatile memory (English: non-volatile memory, abbreviated: NVM), such as at least one disk storage.
处理器61可能是一个中央处理器(英文:central processing unit,缩写:CPU)。The processor 61 may be a central processing unit (English: central processing) Unit, abbreviation: CPU).
处理器61执行存储器62所存放的程序,用于实现本发明实施例提供的比特流的处理方法,包括:The processor 61 executes the program stored in the memory 62, and is used to implement the processing method of the bit stream provided by the embodiment of the present invention, including:
从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从多个载波中的第二子载波上按逆序解映射出比特流中与第一组比特流相邻的第二组比特流,其中,第一组比特流按顺序映射在第一子载波上,第二组比特流按逆序映射在第二子载波上,多个载波中的每个子载波对应比特流中的一组比特流;Demap the first group of bitstreams in the bitstream sequentially from the first subcarriers of the plurality of carriers, and demap the bitstreams from the first group of bits in a reverse order from the second of the plurality of carriers Flowing a second set of bitstreams adjacent to each other, wherein the first set of bitstreams are sequentially mapped on the first subcarrier, and the second set of bitstreams are mapped in reverse order on the second subcarrier, each of the plurality of carriers Corresponding to a set of bitstreams in the bitstream;
对解映射后的比特流进行FEC解码,得到解码后的比特流。FEC decoding is performed on the demapped bit stream to obtain a decoded bit stream.
可选地,进行FEC解码时以第一数量的比特作为解码单元进行解码,其中第一数量大于2。Optionally, when the FEC decoding is performed, the decoding is performed with the first number of bits as the decoding unit, wherein the first number is greater than 2.
可选的,解映射的过程具体包括:从多个载波中的第一子载波上解映射出比特流中的第一组比特流,从多个载波中的第二子载波上解映射出比特流中与第一组比特流相邻的第二组比特流;将解映射后的第二组比特流按逆序进行排序。Optionally, the process of demapping specifically includes: de-mapping a first group of bitstreams in the bitstream from a first one of the plurality of carriers, and de-mapping the bits from the second of the plurality of carriers a second set of bitstreams in the stream adjacent to the first set of bitstreams; sorting the demapped second set of bitstreams in reverse order.
可选地,解映射的过程具体为:从多个载波中的多组子载波上交替使用顺序和逆序的方式解映射出比特流中的连续的多组比特流。Optionally, the demapping process is specifically: de-mapping successive sets of bit streams in the bit stream by using sequential and reverse ordering on multiple sets of subcarriers of the multiple carriers.
处理器61的具体实现过程请参照前述实施例的比特流的处理设备和处理方法,此处不再赘述。For the specific implementation process of the processor 61, refer to the processing device and the processing method of the bit stream in the foregoing embodiment, and details are not described herein again.
本实施例的处理器61、存储器62、总线63 以及通信接口64可以集成或固化于硬件中,该硬件可以是一块芯片,例如FPGA(Field-Programmable Gate Array,现场可编程门阵列)、AISC(Application Specific Integrated Circuit,专用集成电路)、DSP(Digital Signal Process,数字信号处理)、ARM(Advanced RISC Machines,高级精简指令系统集计算机)等芯片。The processor 61, the memory 62, and the bus 63 of this embodiment And the communication interface 64 can be integrated or solidified in hardware, which can be a chip, such as an FPGA (Field-Programmable Gate) Array, Field Programmable Gate Array), AISC (Application Specific Integrated) Circuit, ASIC, DSP (Digital Signal Process), ARM (Advanced RISC) Machines, advanced simplification command system set computers) and other chips.
请参见图15,是本发明通信系统一实施例的结构示意图。通信系统包括发送设备和接收设备,发送设备包括编码模块71、映射模块72和发送模块73,接收设备包括接收模块81、解映射模块82和解码模块83。Referring to FIG. 15, which is a schematic structural diagram of an embodiment of a communication system according to the present invention. The communication system includes a transmitting device including an encoding module 71, a mapping module 72, and a transmitting module 73. The receiving device includes a receiving module 81, a demapping module 82, and a decoding module 83.
编码模块71用于对比特流进行FEC编码,得到编码后的比特流。The encoding module 71 is configured to perform FEC encoding on the bit stream to obtain an encoded bit stream.
映射模块72用于将来自编码模块71的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上, 将来自编码模块71的比特流中与第一组比特流相邻的第二组比特流按逆序映射到多个载波中的第二子载波上,其中,多个载波中的每个子载波对应来自编码模块71的比特流中的一组比特流。The mapping module 72 is configured to sequentially map the first group of bit streams in the bit stream from the encoding module 71 onto the first one of the plurality of carriers, And mapping a second group of bitstreams in the bitstream from the encoding module 71 adjacent to the first group of bitstreams to a second one of the plurality of carriers in reverse order, wherein each of the plurality of carriers corresponds to A set of bitstreams in the bitstream of encoding module 71.
发送模块73用于调制并发送来自映射模块72的子载波。The transmitting module 73 is configured to modulate and transmit subcarriers from the mapping module 72.
接收模块81用于接收并解调来自发送模块73的多个载波中的一组子载波。The receiving module 81 is configured to receive and demodulate a group of subcarriers from the plurality of carriers of the transmitting module 73.
解映射模块82用于从来自接收模块81的多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从来自接收模块81的多个载波中的第二子载波上按逆序解映射出比特流中与第一组比特流相邻的第二组比特流。The demapping module 82 is configured to sequentially demap the first group of bitstreams in the bitstream from the first one of the plurality of carriers from the receiving module 81, from the second of the plurality of carriers from the receiving module 81. A second set of bitstreams in the bitstream adjacent to the first set of bitstreams are demapped in reverse order on the subcarriers.
解码模块83用于对来自解映射模块82的比特流进行FEC解码,得到解码后的比特流。The decoding module 83 is configured to perform FEC decoding on the bit stream from the demapping module 82 to obtain a decoded bit stream.
其中,本实施例的编码模块71、映射模块72、解映射模块82和解码模块83请参见前面任实施例所述的比特流的处理设备和处理方法,在本领域技术人员容易结合理解的范围内,在此不作赘述。For the encoding module 71, the mapping module 72, the demapping module 82, and the decoding module 83 of the present embodiment, refer to the processing device and the processing method of the bit stream according to any of the preceding embodiments, which are easily understood by those skilled in the art. I will not repeat them here.
通过上述方式,本发明的比特流的处理设备、处理方法和通信系统,在进行FEC编码后的比特流映射到多个载波中的子载波时,将比特流中的第一组比特流按顺序映射到第一子载波上,将与第一组比特流相邻的第二组比特流按逆序映射到第二子载波上,在进行FEC解码前解映射子载波时,从第一子载波上按逆序解映射出第一组比特流,从第二子载波上按顺序解映射出所述比特流中与所述第一组比特流相邻的第二组比特流,由于顺序和逆序互为相反,第一组比特流中高误码率的比特位和第二组比特流中高误码率的比特位在编码后和解码前都将彼此邻接,如果子载波在传输时发生差错,高误码率的比特位将集中于FEC编/解码的一个编/解码单元中,从而相较于现有技术出错的编/解码单元更少,在解码时需要纠错的解码单元数量因此减少,从而能够降低传输过程中的误码率,提高有效编解码增益。In the above manner, the processing device, the processing method, and the communication system of the bit stream of the present invention, when the FEC-encoded bit stream is mapped to the sub-carriers of the plurality of carriers, sequentially processes the first group of bit streams in the bit stream. Mapping to the first subcarrier, mapping the second group of bitstreams adjacent to the first group of bitstreams to the second subcarrier in reverse order, and demaping the subcarriers before performing FEC decoding, from the first subcarrier Demap the first set of bitstreams in reverse order, and sequentially demap the second set of bitstreams in the bitstream adjacent to the first set of bitstreams from the second subcarriers, since the order and the reverse order are mutually Conversely, the bits of the high bit error rate in the first set of bitstreams and the bits of the high bit error rate in the second set of bitstreams will be adjacent to each other after encoding and before decoding, if the subcarriers are transmitting errors, high errors. The bit of the rate will be concentrated in one of the encoding/decoding units of the FEC encoding/decoding, so that the number of decoding units that need to be error-corrected at the time of decoding is reduced as compared with the encoding/decoding unit that is erroneous in the prior art, thereby enabling Reduced transmission The bit error rate and improve the effective encoding and decoding gain.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. Alternatively, the coupling or direct coupling or communication connection to each other may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,管理服务器,或者网络设备等)或处理器执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(英文:read-only memory,缩写:ROM)、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solution of the present invention may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, The management server, or network device, etc. or processor, performs all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, and a read only memory (English: read-only Memory, abbreviation: ROM), RAM, disk or optical disc, etc. Various media that can store program code.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformation of the present invention and the contents of the drawings may be directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (25)

  1. 一种比特流的处理设备,其特征在于,所述处理设备包括:A processing device for a bit stream, the processing device comprising:
    编码模块,用于对比特流进行前向纠错FEC编码,得到编码后的比特流;An encoding module, configured to perform forward error correction FEC encoding on the bit stream to obtain an encoded bit stream;
    映射模块,用于将来自所述编码模块的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上, 将来自所述编码模块的比特流中与所述第一组比特流相邻的第二组比特流按逆序映射到所述多个载波中的第二子载波上,其中,所述多个载波中的每个子载波对应来自所述编码模块的比特流中的一组比特流。a mapping module, configured to sequentially map the first group of bitstreams in the bitstream from the encoding module to the first one of the plurality of carriers, Mapping a second set of bitstreams in the bitstream from the encoding module adjacent to the first set of bitstreams to a second one of the plurality of carriers in reverse order, wherein the plurality of carriers Each of the subcarriers corresponds to a set of bitstreams in the bitstream from the encoding module.
  2. 根据权利要求1所述的处理设备,其特征在于,所述编码模块进行所述FEC编码时以第一数量的比特作为编码单元进行编码,其中所述第一数量大于2。The processing device according to claim 1, wherein the encoding module performs encoding of the FEC encoding with a first number of bits as a coding unit, wherein the first number is greater than two.
  3. 根据权利要求2所述的处理设备,其特征在于,所述编码模块进行所述FEC编码时所采用的FEC编码类型为里德所罗门RS码或BCH码。The processing device according to claim 2, wherein the FEC encoding type used by the encoding module to perform the FEC encoding is a Reed Solomon RS code or a BCH code.
  4. 根据权利要求1至3任一项所述的处理设备,其特征在于,所述映射模块包括:The processing device according to any one of claims 1 to 3, wherein the mapping module comprises:
    排序单元,用于将所述第二组比特流按逆序进行排序;a sorting unit, configured to sort the second group of bitstreams in reverse order;
    映射单元,用于将所述第一组比特流和所述按逆序排序后的第二组比特流分别映射到所述第一子载波和所述第二子载波上。And a mapping unit, configured to map the first group of bitstreams and the second group of bitstreams that are sorted in reverse order onto the first subcarrier and the second subcarrier, respectively.
  5. 根据权利要求1至4任一项所述的处理设备,其特征在于,所述映射模块具体用于交替使用顺序和逆序的方式将来自所述编码模块的比特流中的连续的多组比特流映射到相应的多组子载波中。The processing device according to any one of claims 1 to 4, wherein the mapping module is specifically configured to alternately use a sequence and a reverse order to continuously contiguous groups of bitstreams in a bitstream from the encoding module. Mapped to the corresponding multiple sets of subcarriers.
  6. 根据权利要求5所述的处理设备,其特征在于,所述处理设备还包括: The processing device according to claim 5, wherein the processing device further comprises:
    星座模块,用于对所述映射后的子载波进行星座映射,得到星座符号;a constellation module, configured to perform constellation mapping on the mapped subcarriers to obtain a constellation symbol;
    发送模块,用于调制并发送来自所述星座模块的星座符号。And a sending module, configured to modulate and transmit a constellation symbol from the constellation module.
  7. 根据权利要求1至6任一项所述的处理设备,其特征在于:A processing apparatus according to any one of claims 1 to 6, wherein:
    所述来自所述编码模块的比特流为所述编码后的比特流;The bit stream from the encoding module is the encoded bit stream;
    或者,所述来自所述编码模块的比特流为所述编码后的比特流经过交织后所得到的比特流,其中,交织是以第二数量的比特为粒度进行的。Alternatively, the bit stream from the encoding module is a bit stream obtained by interleaving the encoded bit stream, wherein the interleaving is performed with a second number of bits as a granularity.
  8. 一种比特流的处理设备,其特征在于,所述处理设备包括:A processing device for a bit stream, the processing device comprising:
    解映射模块,用于从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上按逆序解映射出所述比特流中与所述第一组比特流相邻的第二组比特流,其中,所述第一组比特流按顺序映射在所述第一子载波上,所述第二组比特流按逆序映射在所述第二子载波上,所述多个载波中的每个子载波对应所述比特流中的一组比特流;a demapping module, configured to sequentially demap a first group of bitstreams in a bitstream from a first one of the plurality of carriers, and demap the packets from the second subcarrier of the plurality of carriers in reverse order a second set of bitstreams in the bitstream adjacent to the first set of bitstreams, wherein the first set of bitstreams are sequentially mapped onto the first subcarrier, the second set of bitstreams Mapping on the second subcarrier in reverse order, each of the plurality of carriers corresponding to a group of bitstreams in the bitstream;
    解码模块,用于对来自所述解映射模块的比特流进行前向纠错FEC解码,得到解码后的比特流。And a decoding module, configured to perform forward error correction FEC decoding on the bit stream from the demapping module to obtain a decoded bit stream.
  9. 根据权利要求8所述的处理设备,其特征在于,所述解码模块进行所述FEC解码时以第一数量的比特作为解码单元进行解码,其中所述第一数量大于2。The processing device according to claim 8, wherein the decoding module performs decoding of the FEC decoding with a first number of bits as a decoding unit, wherein the first number is greater than two.
  10. 根据权利要求9所述的处理设备,其特征在于,所述解码模块进行所述FEC解码时所采用的FEC解码类型为里德所罗门RS码或BCH码。The processing device according to claim 9, wherein the FEC decoding type used by the decoding module to perform the FEC decoding is a Reed Solomon RS code or a BCH code.
  11. 根据权利要求8至10任一项所述的处理设备,其特征在于,所述解映射模块包括:The processing device according to any one of claims 8 to 10, wherein the demapping module comprises:
    解映射单元,用于从多个载波中的第一子载波上解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上解映射出所述比特流中与第一组比特流相邻的第二组比特流;a demapping unit, configured to demap a first group of bitstreams in the bitstream from a first one of the plurality of carriers, and demap the bitstream from a second one of the plurality of carriers a second set of bitstreams adjacent to the first set of bitstreams;
    排序单元,用于将来自所述解映射单元的所述第二组比特流按逆序进行排序。a sorting unit for ordering the second group of bitstreams from the demapping unit in reverse order.
  12. 根据权利要求8至11任一项所述的处理设备,其特征在于,所述解映射模块具体用于从多个载波中的多组子载波上交替使用顺序和逆序的方式解映射出所述比特流中的连续的多组比特流。The processing device according to any one of claims 8 to 11, wherein the demapping module is specifically configured to demap the plurality of subcarriers from a plurality of carriers in an alternate order and a reverse order manner. A contiguous set of bitstreams in a bitstream.
  13. 根据权利要求10所述的处理设备,其特征在于,所述处理设备还包括:The processing device according to claim 10, wherein the processing device further comprises:
    接收模块,用于接收并解调星座符号;a receiving module, configured to receive and demodulate a constellation symbol;
    星座模块,用于对来自所述接收模块的星座符号进行星座解映射,得到多个载波,并将所述多个载波输出到所述解映射模块。And a constellation module, configured to perform constellation demapping on constellation symbols from the receiving module, obtain multiple carriers, and output the multiple carriers to the demapping module.
  14. 根据权利要求8至13任一项所述的处理设备,其特征在于,所述来自所述解映射模块的比特流为所述解映射后的比特流;The processing device according to any one of claims 8 to 13, wherein the bit stream from the demapping module is the demapped bit stream;
    或者,所述来自所述解映射模块的比特流为所述解映射后的比特流经过解交织后所得到的比特流,其中,解交织是以第二数量的比特为粒度进行的。Or the bit stream from the demapping module is a bit stream obtained after the demapped bit stream is deinterleaved, wherein the deinterleaving is performed by using a second number of bits as a granularity.
  15. 一种比特流的处理方法,其特征在于,所述处理方法包括:A method for processing a bit stream, characterized in that the processing method comprises:
    对比特流进行前向纠错FEC编码,得到编码后的比特流;Performing forward error correction FEC encoding on the bit stream to obtain an encoded bit stream;
    将所述编码后的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上,将所述编码后的比特流中与所述第一组比特流相邻的第二组比特流按逆序映射到所述多个载波中的第二子载波上,其中,所述多个载波中的每个子载波对应来自所述编码后的比特流中的一组比特流。Mapping the first set of bitstreams in the encoded bitstream to a first one of the plurality of carriers in sequence, and locating the encoded bitstream adjacent to the first set of bitstreams A second set of bitstreams are mapped in reverse order to a second one of the plurality of carriers, wherein each of the plurality of carriers corresponds to a set of bitstreams from the encoded bitstream.
  16. 根据权利要求13所述的处理方法,其特征在于,进行所述FEC编码时以第一数量的比特作为编码单元进行编码,其中所述第一数量大于2。The processing method according to claim 13, wherein the FEC encoding is performed by encoding the first number of bits as a coding unit, wherein the first number is greater than two.
  17. 根据权利要求13所述的处理方法,其特征在于,所述将所述编码后的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上,将所述编码后的比特流中与所述第一组比特流相邻的第二组比特流按逆序映射到所述多个载波中的第二子载波上的步骤包括:The processing method according to claim 13, wherein the mapping the first group of bitstreams in the encoded bitstream to the first subcarriers of the plurality of carriers in sequence, the encoding The step of mapping the second group of bitstreams adjacent to the first group of bitstreams to the second one of the plurality of carriers in the reverse bitstream includes:
    将所述编码后的比特流中与第一组比特流相邻的第二组比特流按逆序进行排序;And sorting the second group of bitstreams adjacent to the first group of bitstreams in the encoded bitstream in reverse order;
    将所述第一组比特流和所述按逆序排序后的第二组比特流分别映射到多个载波中的第一子载波和第二子载波上。And mapping the first group of bitstreams and the reverse-ordered second group of bitstreams to first and second subcarriers of the plurality of carriers, respectively.
  18. 根据权利要求15至17任一项所述的处理方法,其特征在于,所述将所述编码后的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上,将所述编码后的比特流中与所述第一组比特流相邻的第二组比特流按逆序映射到所述多个载波中的第二子载波上的步骤具体为:The processing method according to any one of claims 15 to 17, wherein the first group of bit streams in the encoded bit stream are sequentially mapped onto a first one of a plurality of carriers And the step of mapping the second group of bitstreams in the encoded bitstream adjacent to the first group of bitstreams to the second one of the plurality of carriers in reverse order is specifically:
    交替使用顺序和逆序的方式将所述编码后的比特流中的连续的多组比特流映射到多个载波中相应的多组子载波中。The successive sets of bitstreams in the encoded bitstream are mapped into corresponding sets of subcarriers of the plurality of carriers alternately using sequential and reverse ordering.
  19. 一种比特流的处理方法,其特征在于,所述处理方法包括:A method for processing a bit stream, characterized in that the processing method comprises:
    从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上按逆序解映射出所述比特流中与所述第一组比特流相邻的第二组比特流,其中,所述第一组比特流按顺序映射在所述第一子载波上,所述第二组比特流按逆序映射在所述第二子载波上,所述多个载波中的每个子载波对应所述比特流中的一组比特流;Dislocating a first group of bitstreams in a bitstream from a first subcarrier of the plurality of carriers, and demaping the bitstreams from a second subcarrier of the plurality of carriers in reverse order a second group of bitstreams adjacent to the first set of bitstreams, wherein the first set of bitstreams are sequentially mapped on the first subcarrier, and the second set of bitstreams are mapped in reverse order And on the second subcarrier, each of the multiple carriers corresponds to a group of bitstreams in the bitstream;
    对所述解映射后的比特流进行前向纠错FEC解码,得到解码后的比特流。Performing forward error correction FEC decoding on the demapped bit stream to obtain a decoded bit stream.
  20. 根据权利要求17所述的处理方法,其特征在于,进行所述FEC解码时以第一数量的比特作为解码单元进行解码,其中所述第一数量大于2。The processing method according to claim 17, wherein the decoding is performed with the first number of bits as a decoding unit when the FEC decoding is performed, wherein the first number is greater than two.
  21. 根据权利要求17所述的处理方法,其特征在于,所述从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上按逆序解映射出所述比特流中与所述第一组比特流相邻的第二组比特流的步骤包括:The processing method according to claim 17, wherein the first group of bitstreams in the bitstream are demapped sequentially from the first one of the plurality of carriers, from the plurality of carriers The step of de-mapping the second group of bitstreams in the bitstream adjacent to the first group of bitstreams in a reverse order on the second subcarrier comprises:
    从多个载波中的第一子载波上解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上解映射出所述比特流中与第一组比特流相邻的第二组比特流;De-mapping a first set of bitstreams in the bitstream from a first one of the plurality of carriers, and de-mapping the first set of bits in the bitstream from a second one of the plurality of carriers Flowing a second set of bitstreams adjacent to each other;
    将所述解映射后的第二组比特流按逆序进行排序。The demapped second set of bitstreams are sorted in reverse order.
  22. 根据权利要求19至21任一项所述的处理方法,其特征在于,所述从多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从所述多个载波中的第二子载波上按逆序解映射出所述比特流中与所述第一组比特流相邻的第二组比特流的步骤具体为:The processing method according to any one of claims 19 to 21, wherein the first group of bitstreams in the bitstream are demapped sequentially from the first one of the plurality of carriers, from the The step of de-mapping the second group of bitstreams adjacent to the first group of bitstreams in the bitstream in a reverse order on the second subcarrier of the plurality of carriers is specifically:
    从多个载波中的多组子载波上交替使用顺序和逆序的方式解映射出所述比特流中的连续的多组比特流。A plurality of sets of bitstreams in the bitstream are de-mapped alternately from a plurality of sets of subcarriers of the plurality of carriers in a sequential and reverse order manner.
  23. 一种通信系统,其特征在于,所述通信系统包括发送设备和接收设备,其中,A communication system, characterized in that the communication system comprises a transmitting device and a receiving device, wherein
    所述发送设备包括:The sending device includes:
    编码模块,用于对比特流进行前向纠错FEC编码,得到编码后的比特流;An encoding module, configured to perform forward error correction FEC encoding on the bit stream to obtain an encoded bit stream;
    映射模块,用于将来自所述编码模块的比特流中的第一组比特流按顺序映射到多个载波中的第一子载波上, 将来自所述编码模块的比特流中与所述第一组比特流相邻的第二组比特流按逆序映射到所述多个载波中的第二子载波上,其中,所述多个载波中的每个子载波对应来自所述编码模块的比特流中的一组比特流;a mapping module, configured to sequentially map the first group of bitstreams in the bitstream from the encoding module to the first one of the plurality of carriers, Mapping a second set of bitstreams in the bitstream from the encoding module adjacent to the first set of bitstreams to a second one of the plurality of carriers in reverse order, wherein the plurality of carriers Each of the subcarriers corresponds to a set of bitstreams in the bitstream from the encoding module;
    发送模块,用于调制并发送来自所述映射模块的子载波;a sending module, configured to modulate and transmit a subcarrier from the mapping module;
    所述接收设备包括:The receiving device includes:
    接收模块,用于接收并解调来自所述发送模块的多个载波中的一组子载波;a receiving module, configured to receive and demodulate a group of subcarriers from the plurality of carriers of the sending module;
    解映射模块,用于从来自所述接收模块的多个载波中的第一子载波上按顺序解映射出比特流中的第一组比特流,从来自所述接收模块的多个载波中的第二子载波上按逆序解映射出所述比特流中与所述第一组比特流相邻的第二组比特流;a demapping module, configured to sequentially demap a first group of bitstreams in the bitstream from a first one of the plurality of carriers from the receiving module, from among a plurality of carriers from the receiving module Decoding a second set of bitstreams in the bitstream adjacent to the first set of bitstreams in reverse order on the second subcarrier;
    解码模块,用于对来自所述解映射模块的比特流进行FEC解码,得到解码后的比特流。And a decoding module, configured to perform FEC decoding on the bit stream from the demapping module to obtain a decoded bit stream.
  24. 根据权利要求23所述的通信系统,其特征在于,所述编码模块进行所述FEC编码时以第一数量的比特作为编码单元进行编码;所述解码模块进行所述FEC解码时以所述第一数量的比特作为解码单元进行编码,其中所述第一数量大于2。The communication system according to claim 23, wherein said encoding module performs encoding of said FEC encoding with a first number of bits as a coding unit; said decoding module performs said FEC decoding with said A number of bits are encoded as a decoding unit, wherein the first number is greater than two.
  25. 根据权利要求22或23所述的通信系统,其特征在于,所述映射模块具体用于交替使用顺序和逆序的方式将来自所述编码模块的比特流中的连续的多组比特流映射到相应的多组子载波中;The communication system according to claim 22 or 23, wherein the mapping module is specifically configured to map successive sets of bit streams in the bit stream from the encoding module to corresponding ones in an alternate order and a reverse order manner. Multiple sets of subcarriers;
    所述解映射模块具体用于从来自所述接收模块的多个载波中的多组子载波上交替使用顺序和逆序的方式解映射出所述比特流中的连续的多组比特流。The demapping module is specifically configured to de-map consecutive groups of bitstreams in the bitstream by using sequential and reverse ordering on multiple sets of subcarriers from the plurality of carriers of the receiving module.
PCT/CN2013/087792 2013-11-25 2013-11-25 Processing device, processing method and communication system of bit stream WO2015074280A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380002682.3A CN103843275B (en) 2013-11-25 2013-11-25 Processing device, processing method and communication system of bit streams
PCT/CN2013/087792 WO2015074280A1 (en) 2013-11-25 2013-11-25 Processing device, processing method and communication system of bit stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/087792 WO2015074280A1 (en) 2013-11-25 2013-11-25 Processing device, processing method and communication system of bit stream

Publications (1)

Publication Number Publication Date
WO2015074280A1 true WO2015074280A1 (en) 2015-05-28

Family

ID=50804811

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087792 WO2015074280A1 (en) 2013-11-25 2013-11-25 Processing device, processing method and communication system of bit stream

Country Status (2)

Country Link
CN (1) CN103843275B (en)
WO (1) WO2015074280A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11342969B2 (en) 2018-03-16 2022-05-24 Huawei Technologies Co., Ltd. Simplified detection for spatial modulation and space-time block coding with antenna selection

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465485A (en) * 2014-09-02 2017-12-12 上海数字电视国家工程研究中心有限公司 Code modulating method and information processing method
CN109075900B (en) * 2016-04-12 2020-10-23 华为技术有限公司 Method and apparatus for signal spreading and multiplexing
US10735143B2 (en) * 2017-11-07 2020-08-04 Huawei Technologies Co., Ltd. System and method for bit mapping in multiple access
CN114553365A (en) * 2020-11-26 2022-05-27 华为技术有限公司 Encoding method, decoding method, network equipment, system and storage medium
CN112953681B (en) * 2021-02-20 2022-03-29 Tcl华星光电技术有限公司 Decoding method, decoding apparatus, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192834A (en) * 2006-11-30 2008-06-04 株式会社东芝 Error correcting apparatus and error correcting method
JP4160959B2 (en) * 2005-02-09 2008-10-08 株式会社日立国際電気 Predistortion amplifier
CN101867441A (en) * 2009-04-14 2010-10-20 中兴通讯股份有限公司 Star map mapping method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8296354B2 (en) * 2004-12-03 2012-10-23 Microsoft Corporation Flexibly transferring typed application data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4160959B2 (en) * 2005-02-09 2008-10-08 株式会社日立国際電気 Predistortion amplifier
CN101192834A (en) * 2006-11-30 2008-06-04 株式会社东芝 Error correcting apparatus and error correcting method
CN101867441A (en) * 2009-04-14 2010-10-20 中兴通讯股份有限公司 Star map mapping method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11342969B2 (en) 2018-03-16 2022-05-24 Huawei Technologies Co., Ltd. Simplified detection for spatial modulation and space-time block coding with antenna selection

Also Published As

Publication number Publication date
CN103843275A (en) 2014-06-04
CN103843275B (en) 2017-02-22

Similar Documents

Publication Publication Date Title
WO2015074280A1 (en) Processing device, processing method and communication system of bit stream
JP5253092B2 (en) Data processing apparatus and method
AU759184B2 (en) Transmission of digital signals by orthogonal frequency division multiplexing
KR101459153B1 (en) Data processing apparatus and method
US7418048B2 (en) Tone ordered discrete multitone interleaver
WO2010053237A1 (en) Apparatus for transmitting and receiving a signal and method of transmitting and receiving a signal
KR101463623B1 (en) Data processing apparatus and method
WO2011132970A2 (en) Method of reducing peak-to-average power ratio, cubic metric and block error rate in ofdm systems using network coding
KR20120041251A (en) Data transmission using low density parity check coding and constellation mapping
US7099401B2 (en) Discrete multitone interleaver
WO2010071272A1 (en) Apparatus for transmitting and receiving a signal and method of transmitting and receiving a signal
EP2510516A2 (en) Method for encoding information object and encoder using the same
CN101669342B (en) Orthogonal frequency-division multiplexing (ofdm) transmitting and receiving device for transmismitting and receiving an OFDM symbol having symbols interleaved variably, and methods thereof
WO2010055981A1 (en) Apparatus for transmitting and receiving a signal and method of transmitting and receiving a signal
WO2015012553A1 (en) Transmitting apparatus and receiving apparatus, and signal processing method thereof
WO2010067928A1 (en) Apparatus for transmitting and receiving a signal and method of transmitting and receiving a signal
KR101373646B1 (en) OFDM transmitting/receiving device for transmitting/receiving OFDM symbols comprising LDPC coded data, and methods thereof
JP2001086007A (en) Communication device and communication method
KR20130009198A (en) Method for de-interleaving and broadcast recieving apparatus
Ibraheem et al. Design and simulation of asymmetric digital subscriber line (ADSL) modem
WO2024049262A1 (en) Method, communication device, processing device, and storage medium for transmitting information block, and method, communication device, processing device, and storage medium for receiving information block
KR20080079163A (en) Apparatus and method for transmitting, and apparatus and method reciving in communication system
US10361803B2 (en) Reception device, reception method, transmission device, and transmission method
JP2022059425A (en) Transmitter and receiver
ValizadehAslani et al. A Survey and Classification on Application of Coding Techniques in PAPR Reduction

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: 13897896

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: 13897896

Country of ref document: EP

Kind code of ref document: A1