WO2016141551A1 - Interleaving processing method and device - Google Patents

Interleaving processing method and device Download PDF

Info

Publication number
WO2016141551A1
WO2016141551A1 PCT/CN2015/073949 CN2015073949W WO2016141551A1 WO 2016141551 A1 WO2016141551 A1 WO 2016141551A1 CN 2015073949 W CN2015073949 W CN 2015073949W WO 2016141551 A1 WO2016141551 A1 WO 2016141551A1
Authority
WO
WIPO (PCT)
Prior art keywords
bit
bits
resource block
sub
unit
Prior art date
Application number
PCT/CN2015/073949
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 PCT/CN2015/073949 priority Critical patent/WO2016141551A1/en
Publication of WO2016141551A1 publication Critical patent/WO2016141551A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/01Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/27Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes using interleaving techniques

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an interleaving processing method and apparatus in a WLAN (Wireless Local Area Networks) system based on OFMDA.
  • WLAN Wireless Local Area Networks
  • the transmission data bits are processed using an interleaving processing technique.
  • the interleaving processing technique After the interleaving processing technique is employed, successive transmission data bits are spread out, and the transmission data bits can be transmitted in a discontinuous manner. In this way, even if a string of errors occurs during transmission, when the message is restored to a successive bit string, the error becomes a single (or a shorter length), and then the channel coding error correction function is used to correct the error, so that Accurate recovery of original transmission data bits.
  • the 802.11a/g/n/ac/ah protocol uses OFDM (Orthogonal Frequency Division Multiplexing) technology for data transmission.
  • OFDM is a multi-carrier technology, which divides the frequency domain into a plurality of mutually orthogonal data subcarriers, and maps the intermodulation processing and the modulated signal corresponding to the modulated transmission data bits to corresponding data subcarriers, respectively. Transmission, and the number of data subcarriers is fixed.
  • OFDMA Orthogonal Frequency Division Multiple Access
  • OFDMA divides the transmission bandwidth into orthogonal sets of subcarriers that do not overlap each other, and allocates different subcarrier sets to different users of orthogonal frequency division multiple access to implement multiple access.
  • OFDM technology OFDMA system can dynamically allocate available bandwidth resources to users in need, and it is easier to optimize the utilization of system resources. Since different subcarrier sets in each OFDM symbol will be allocated to different users, and the number and size of RUs allocated to a single user are very flexible, the original full-band interleaving scheme will result in data between different users.
  • next-generation WLAN technology needs to redesign a more effective bit interleaving scheme for the frequency band occupied by each user in the OFDMA system, and improve the system performance without increasing the system complexity as much as possible.
  • the embodiment of the invention provides an interleaving processing method and device, which can improve system performance.
  • an interleaving processing apparatus for use in an OFMDA-based WLAN system, the apparatus comprising: a packet unit, a bit offloading unit, and a plurality of sub-resource block interleaving units, wherein the grouping unit is configured to be based on a user equipment
  • the resource block RU currently allocated to divide the plurality of bits in the encoded data stream corresponding to the user equipment into a plurality of sets of input bits, and the number of each input bit of the plurality of input bits is determined by the size of the RU a quantity determining unit;
  • the bit stream dividing unit is configured to allocate each group of input bits in the plurality of sets of bits to at least one sub-resource block interleave unit corresponding to each set of input bits; the sub-resource block interleaving And a unit, configured to discretely interleave a plurality of bits input into each of the sub-resource block interleaving units.
  • the grouping unit is specifically configured to: divide the bit into a first bit group and a second bit group, where the first bit group corresponds to M 1 sub-resources a block interleaving unit, where the second bit group corresponds to the M 2 sub-resource block interleaving units, and the size of the RU to be processed by the sub-resource block interleaving unit corresponding to the first bit group is greater than the sub-resource block interlacing corresponding to the second bit group.
  • the sub-resource block interleaving unit currently needs to process the size of the RU
  • RU 2 indicates the size of the RU that the sub-resource block interleaving unit corresponding to the second bit group currently needs to process
  • [] represents the rounding operation.
  • the grouping unit is specifically configured to: generate a random driving code, where the random driving code includes multiple indicator bits, and the multiple indicator bits are Each of the plurality of indicator bits is used to assign a bit corresponding to each indicator bit to the first bit group or the second.
  • N 1 [RU 1 /RU 2 ] ⁇ M 1
  • N 2 M 2
  • RU 1 indicates the size of the RU that the sub-resource block interleaving unit corresponding to the first bit group needs to process
  • RU 2 indicates that the sub-resource block interleave unit corresponding to the second bit group currently needs to be processed.
  • the size of RU, [] represents the rounding operation.
  • the random driving code includes a first indicator bit and a second indicator bit, where the first indicator bit is used to be the first The bit corresponding to the indicator bit is allocated to the first bit group, and the second indicator bit is used to allocate the bit corresponding to the first indicator bit to the second bit group.
  • the bit offloading unit is configured to sequentially or alternately allocate each s bit in each input bit group to each input bit.
  • the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is represented by for:
  • the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is expressed as:
  • k is the input number of the bit to which the i-th RU unit is allocated
  • k is a non-negative integer
  • n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
  • the apparatus further includes a total bit splitting unit, wherein an output bit stream of the bit splitting unit is sequentially input in units of r bits To the total bit splitting unit, the total bit splitting unit is configured to interleave the r bits and then allocate them to the plurality of sub-resource block interleaving units in a certain order, where r is a positive integer.
  • the apparatus further includes a total resource block interleaving unit, where the multiple sub-resource block interleaving units input the output bits to the total resource block.
  • the total resource block interleaving unit is configured to perform discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
  • the total resource block interleaving unit is further configured to: when the number of the sub resource block interleaving units corresponding to the xth bit group is greater than When the odd number is 1, the last position of the interleaved unit of the total resource block is vacated.
  • the multiple resource block interleaving units are further configured to: serially output the discrete interleaved multiple bits in a certain order or in parallel Output.
  • each sub-resource block interleaving unit is specifically configured to: according to an order of RUs that each sub-resource block interleave unit currently needs to process,
  • the bits in each of the sub-resource block interleaving units are cyclically shifted by s bits to the right or left.
  • the bit direction in the interleaving unit of each sub-resource block is in accordance with an order of RUs that each sub-resource block interleaving unit currently needs to process s-bit right circular shift, the x-th bit group corresponding to the first I RU RU th input bits and output bits j correspondence is:
  • n 0, 1, ..., n is the number of RUs currently allocated by the user equipment, m is the modulation order, and k is the position number of the input bit of the i-th RU RU, j is the position number of the output bit of the i-th RU unit, and n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
  • an interleaving processing method is provided, which is applied to an OFMDA-based WLAN system, the method comprising: according to a resource block RU to which a user equipment is currently allocated, a packet unit in the encoded data stream corresponding to the user equipment
  • the plurality of bits are divided into a plurality of sets of input bits, the number of each of the plurality of sets of input bits being determined by the size and number of the RUs; the bit shunting unit according to each set of input bits of the plurality of sets of bits
  • the order is allocated to at least one sub-resource block interleave unit corresponding to each set of input bits; the sub-resource block interleave unit discretely interleaves a plurality of bits input into each sub-resource block interleave unit.
  • the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into multiple groups of inputs according to the resource block RU to which the user equipment is currently allocated.
  • the grouping unit is configured to use the resource block RU to which the user equipment is currently allocated, and the grouping unit is configured to use the plurality of encoded data streams corresponding to the user equipment.
  • the bit is divided into a plurality of sets of input bits, including: allocating consecutive N 1 bits to the first bit group and allocating consecutive N 2 bits to the second bit group in each allocation period of an allocation cycle,
  • N 1 [RU 1 /RU 2 ] ⁇ M 1
  • N 2 M 2
  • RU 1 represents the size of the RU that the sub-resource block interleaving unit corresponding to the first bit group needs to process
  • RU 2 represents the first
  • [] represents the rounding operation.
  • the grouping unit is configured to use the resource block RU to which the user equipment is currently allocated, and the grouping unit is configured to use the plurality of encoded data streams corresponding to the user equipment.
  • the grouping unit is configured to use the resource block RU to which the user equipment is currently allocated, and the grouping unit is configured to use the plurality of encoded data streams corresponding to the user equipment.
  • the bit is divided into a plurality of sets of input bits, including: generating a random driving code, where the random driving code includes a plurality of indicator bits, and the plurality of indicator bits are in one-to-one correspondence with a plurality of bits in the encoded data stream corresponding to the user equipment,
  • N 1 [RU 1 /RU 2 ] ⁇ M 1
  • N 2 M 2
  • RU 1 represents the child corresponding to the first bit group
  • the RU 2 indicates the size of the RU that the sub-
  • the random driving code includes a first indicator bit and a second indicator bit, where the first indicator bit is used to be the first The bit corresponding to the indicator bit is allocated to the first bit group, and the second indicator bit is used to allocate the bit corresponding to the first indicator bit to the second bit group.
  • the bit splitting unit sequentially or alternately allocates each s bits in each input bit group to each of the bits Entering at least two sub-resource block interleave units corresponding to the bit group, where s is a positive integer greater than zero.
  • the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is represented by for:
  • the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is expressed as:
  • k is the input number of the bit to which the i-th RU unit is allocated
  • k is a non-negative integer
  • n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
  • the method further includes: outputting the bit stream of the bit splitting unit into the total bit shunting unit in units of r bits;
  • the total bit shunting unit interleaves the r bits and respectively allocates them to the plurality of sub-resource block interleaving units in a certain order, where r is a positive integer.
  • the method further includes: the multiple sub-resource block interleaving units input the output bits into the total resource block interleaving unit; the total resource The block interleaving unit performs discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
  • the total resource block interleaving unit at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group Performing discrete interleaving includes: performing, by the total resource block interleaving unit, discrete interleaving of at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group according to a preset list; or the total resource block The interleaving unit interleaves the at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group according to the row-column rule.
  • the total resource block interleaving unit at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group
  • the interleaving according to the row and column rules includes: when the number of sub-resource block interleaving units corresponding to the xth bit group is an odd number greater than 1, the last position of the interleaved unit of the total resource block is vacated.
  • each of the plurality of sub-resource block interleaving units inputs the sub-resource block
  • the plurality of bits of the interleaving unit are discretely interleaved, including: serially outputting or sequentially outputting the plurality of bits after the discrete interleaving in a certain order.
  • each of the plurality of sub-resource block interleaving units is to input multiple bits of the inter-resource unit of each sub-resource block
  • Performing discrete interleaving includes: each of the plurality of sub-resource block interleaving units cyclically shifts bits in each of the sub-resource block interleaving units according to an order of the each sub-resource block interleaving unit.
  • each of the plurality of sub-resource block interleaving units is configured according to an order of each of the sub-resource block interleaving units
  • the bits in the sub-resource block interleaving unit are cyclically shifted, including: each sub-resource block interleave unit, according to the order of the RUs that each sub-resource block interleave unit needs to process, the bit in each inter-resource block interleave unit Rotate the s bit right or left.
  • the bit direction in the interleave unit of each sub-resource block is in accordance with an order of RUs that each sub-resource block interleave unit currently needs to process s-bit right circular shift, the x-th bit group corresponding to the first I RU RU th input bits and output bits j correspondence is:
  • the method and apparatus for interleaving processing in the embodiment of the present invention are applied to an OFDMA-based WLAN system, and the encoded data stream corresponding to the user equipment is configured by the grouping unit according to the size and number of RUs allocated by the current user equipment.
  • the plurality of bits are divided into a plurality of sets of input bits; the bit splitting unit divides the bits included in each of the plurality of input bit groups according to one a predetermined order is allocated to all sub-resource block interleave units corresponding to each bit group; each sub-resource block interleave unit of the plurality of sub-resource block interleaving units discretizes a plurality of bits input to each of the sub-resource block interleave units Interleaving, the interleaving scheme is applicable when a single user equipment is allocated multiple RUs, and the performance is excellent and the implementation is simple, thereby improving the performance of the system without increasing system complexity.
  • FIG. 1 is a block diagram of a BICM part system in BCC encoding in the existing WLAN standard
  • FIG. 2 is a schematic diagram of a first embodiment of performing three sub-interleaving processes for data bits to be transmitted in the prior art
  • FIG. 3 is a schematic diagram of a second embodiment of performing three sub-interleaving processes for data bits to be transmitted in the prior art
  • FIG. 4a is a schematic structural diagram of a first embodiment of a WLAN device according to the present invention.
  • 4b is a schematic diagram of an interleaving processing unit in a first embodiment structure of a WLAN device according to the present invention
  • FIG. 6 is a schematic block diagram of an apparatus for interleaving processing according to an embodiment of the present invention.
  • FIG. 7 is another schematic block diagram of an apparatus for interleaving processing according to an embodiment of the present invention.
  • FIG. 8 is still another schematic block diagram of an apparatus for interleaving processing according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an interleaving manner of a sub-resource block interleaving unit according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of another interleaving manner of a sub-resource block interleaving unit according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a third embodiment of a WLAN device according to the present invention.
  • FIG. 12 is a flowchart of a first implementation manner of an interleaving processing method in a WLAN system according to the present invention
  • FIG. 13 is a flowchart of a second implementation manner of an interleaving processing method in a WLAN system according to the present invention.
  • FIG. 14 is a third implementation manner of an interleaving processing method in a WLAN system according to the present invention.
  • FIG. 15 is a schematic structural diagram of another embodiment of a WLAN system according to the present invention.
  • FIG. 16 is a schematic diagram showing performance comparison of four interleaving schemes when coding and modulating into MCS0 under the Channel D NLOS channel.
  • BICM bit-interleaved coded modulation
  • FIG. 1 is a block diagram of the BICM part of the Binary Convolutional Code (BCC) encoding in the existing WLAN standard.
  • the interleaver is serially cascaded between the BCC encoder and the constellation mapper, where the interleaver interleaves the bits of the OFDM symbol to obtain frequency domain coded diversity.
  • the system includes the following components: a Forward Error Control (FEC) unit for performing a channel coding operation on the data bits to obtain a channel-coded data bit stream.
  • FEC Forward Error Control
  • SP Stream Parser
  • the interleaver (Interlever) is used to interleave each spatial data stream, and may be interleaved multiple times, for example, three times.
  • the Constellation Mapper is used to map the interleaved bitstream to the constellation points in the modulation constellation to obtain a constellation symbol data stream.
  • a Cyclic Shift Delay (CSD) unit is used to perform a cyclic shift delay operation on each spatial data stream.
  • the first interleaving processing unit is configured to map adjacent data bits to be transmitted onto non-adjacent data subcarriers.
  • k denotes an input position label of the first interleaving processing unit
  • i denotes a corresponding output position label (or an input position label of the first interleaving processing unit) after the data bit to be transmitted passes through the first interleaving processing unit; the mapping relationship between k and i may be for:
  • N COL , N ROW are the interleaving parameters processed by the known first interleaving processing unit; N CBPSSI is the number of input/output locations processed by the first interleaving processing unit, and N CBPSSI is equal to the number of data subcarriers multiplied by the modulation order number; Indicates the rounding operation. It is worth noting that N COL and N ROW are all determined by the number of data subcarriers.
  • the second interleaving processing unit is configured to alternately map adjacent coded bits to a low significant bit (LSB) and a high significant bit (MSB) in the constellation, to prevent the coded bits from being continuously mapped to the low significant bits.
  • i denotes an output position label after the first interleaving of the first interleaving processing unit, and is also an input position label processed by the second interleaving processing unit
  • j denotes an output position label after the data bit to be transmitted is interleaved by the second interleaving processing unit, i
  • the mapping relationship with j can be:
  • the third interleaving processing unit is configured to perform frequency rotation on other spatial streams to reduce correlation between adjacent bits of different spatial streams.
  • j denotes an output position number after the interleaving process of the second interleaving processing unit, and is also an input position number of the interleaving process of the third interleaving processing unit
  • r denotes an output position number of the data bit to be transmitted after being interleaved by the third interleaving processing unit. If the number of spatial streams N ss is greater than or equal to 2 and less than or equal to 4, the mapping relationship between j and r can be:
  • N BPSCS is a modulation order
  • N ROT is an interleaving parameter of a known third interleaving processing unit interleaving process. If the number of spatial streams is greater than 4, the mapping relationship between j and r can be:
  • J(i ss ) is the stream bit cyclic shift coefficient in the above formula
  • i ss is the sequence number of the spatial bit stream
  • J(i ss ) is related to i ss .
  • the relationship between the two is as follows:
  • the number of data subcarriers may be 52; when the bandwidth is 40 MHz, the number of data subcarriers may be 108; when the bandwidth is 80 MHz, the number of data subcarriers may be Thought 234. It is not limited to the above-mentioned cases, and may be set according to actual needs, and details are not described herein again.
  • the input position of each sub-interlacing process has a one-to-one correspondence with the output position, but an embodiment that does not correspond one-to-one in the order of the input position may be adopted.
  • FIG. 3 it is a schematic diagram of a second embodiment for performing three sub-interleaving processes on data bits to be transmitted in the prior art.
  • the input position of the transmission data bit 1 shown in FIG. 3 before the first sub-interleaving process is the first input position of the first sub-interleave processing
  • the output position after the first sub-interleave processing may be performed.
  • the input position before the second sub-interleave processing of the transmission data bit is the second input position of the second sub-interleave processing
  • the second input position is performed.
  • the output position after the second sub-interlacing process may be the third output position of the second sub-interlacing process, and the relationship between the input position and the output position of the third sub-interlacing process is not described again, and may be performed according to actual needs and corresponding protocols. set up.
  • the data bits to be transmitted after the interleaving process are modulated to obtain a modulated signal, and then the modulated signal is mapped to the corresponding data subcarrier for transmission.
  • each of the input/output positions for interleaving in the interleaver corresponds to a corresponding data subcarrier, that is, data bits to be transmitted through any input/output position are mapped to corresponding data. After the subcarrier is sent and sent.
  • the data of a single user equipment corresponds to the entire frequency band
  • the size of the interleaver corresponds to the bandwidth size (for example: 20M/40M/80M)
  • the parameters of the interleaver need only Three bandwidth designs are available.
  • a single user equipment may be assigned a number of flexible and flexible RUs, such that the number of frequency bands corresponding to the user equipment is large.
  • the fixed-length bit interleaver of a single bandwidth defined by the existing WLAN standard cannot be reused, and a more flexible interleaver needs to be redesigned; for an OFDMA-based WLAN system, a single user equipment When multiple RUs are assigned, the redesigned interleaving scheme requires superior performance and simplicity of implementation.
  • the first embodiment of the present invention provides an OFDMA-based WLAN system architecture diagram, where the WLAN system uses a serial cascading device when allocating multiple RUs for a single user equipment, and the serial cascading mode can be adopted.
  • a four-level processor as shown in FIG. 4, wherein the WLAN device includes an access point (AP) and a terminal, such as a transmitting end being an AP and a receiving end being a terminal, as shown in FIG. 4a, where the transmitting The terminal includes: an FEC unit, a splitter, an interleaving processing device, a constellation mapper, and a cyclic shift delay unit, wherein, as shown in FIG. 4b, the interleave processing device in the OFMDA-based WLAN system further includes a packet unit, a bit split unit, and a sub Resource block interleaving unit.
  • a splitter is configured to allocate a single bit stream in the FEC unit to the iss spatial data stream, where the spatial data stream refers to a MIMO multi-antenna that needs to be converted from a single data stream to an iss data stream, so that multiple antennas simultaneously transmit data.
  • a grouping unit configured to divide, according to the resource block RU to which the user equipment is currently allocated, a plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, each group of input bits of the multiple sets of input bits
  • the number of the RUs is determined by the size and number of the RUs to which the user equipment is currently allocated; and each set of input bits corresponds to at least one sub-resource block interleaving unit, and the sub-resource interleave units corresponding to the same set of input bits currently need to process the same RU.
  • the transmitting end may include iss grouping units, one grouping unit corresponding to one spatial data stream, and the iss grouping unit respectively assigning bits of the iss spatial data stream to each group of input bits.
  • the grouping unit may be a user equipment corresponding to the plurality of bits of the coded data stream into a first bit group and second bit group, wherein the first bit group corresponding to the resource block interleaver M 1 sub-unit,
  • the second bit group corresponds to the M 2 sub-resource block interleaving units, and the size of the RU that needs to be processed by each sub-resource block interleaving unit corresponding to the first bit group is greater than that of each sub-resource block corresponding to the second bit group.
  • bit-splitting unit for allocating bits to which each bit group is allocated in a certain order All sub-resource block interleave units corresponding to each bit group.
  • the bit stream splitting unit can be a bit stream splitter.
  • the interleaving processing apparatus may include a bit stream splitter for respectively processing the number of bits included in each bit group; the interleaving processing apparatus may also include a plurality of bit stream splitters, and each bit stream splitter corresponds to one A bit group for processing a bit stream in the group, and the present invention is not limited thereto.
  • the bit offloading unit is configured to sequentially or alternately allocate each s of the bits included in each bit group to the sub-resource block interleaving unit corresponding to each bit group, where s is a positive integer greater than 0.
  • bit number assigned to the ith RU RU corresponding to the xth bit group is j, and the corresponding relationship is:
  • bit number assigned to the ith RU RU corresponding to the xth bit group is j, and the corresponding relationship is:
  • k is the input number of the bit to which the ith RU RU is allocated
  • k is a non-negative integer
  • n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
  • each sub-resource interleaving unit is configured to discretely interleave a plurality of bits input to each of the sub-resource block interleaving units.
  • the specific discrete interleaving process includes at least one of the following:
  • Each of the plurality of sub-resource block interleaving units is configured to discretely interleave the input bits, and the discrete interleaving is serially outputted in a certain order or output to the mapping unit in parallel;
  • Each of the plurality of sub-resource block interleaving units may be further configured to input the input bits in the order of the rows and output them in a column manner.
  • each of the sub-resource block interleaving units may be configured to alternately map the bits output according to the column to the low significant bit and the high significant bit in the constellation; and/or each sub-resource block interleaving unit is configured to interleave according to each sub-resource block.
  • the order of the cells cyclically shifts the inner bits thereof.
  • the each sub-resource block interleaving unit may cyclically shift its inner bits to the right or left by s bits according to the order of the RUs.
  • the apparatus for interleaving processing may further include a total bit splitting unit, where the total bit splitting unit is located between the bit splitting unit and the plurality of sub-resource block interleaving units, and the output bit stream of the bit shunting unit is per r
  • the bits are sequentially input to the total bit splitting unit, which is the total ratio
  • the special offloading unit is configured to interleave the r bits and allocate them to the plurality of sub resource block interleaving units in a certain order, where r is a positive integer.
  • the apparatus for the interleaving process may further include a total resource block interleaving unit, where the total resource block interleaving unit is located between the multiple sub-resource block interleaving units and the constellation mapper, and the multiple sub-resource block interleaving units will output The bit is input to the total resource block interleaving unit; the total resource block interleaving unit is configured to perform discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
  • a constellation mapper is configured to map the bit stream output after the interleaving to a constellation point in the modulation constellation to obtain a constellation symbol data stream.
  • a cyclic shift delay unit is configured to perform a cyclic shift delay operation on each spatial data stream.
  • the receiving end includes:
  • a constellation demapper configured to demap the received constellation symbols into bit data to obtain a received bit data stream
  • a deinterleaver configured to perform a deinterleaving operation on the received bit data stream to obtain each spatial bit stream after deinterleaving
  • bit converger for combining bits in a plurality of sub-resource block interleaving units corresponding to each bit group into a plurality of sets of single bit data streams in a corresponding order
  • An anti-packet unit configured to combine the bit data streams of each group to obtain a single bit data stream of all groups
  • a combiner for combining iss spatial data streams into a single bit data stream
  • An FEC decoder unit is configured to perform a channel decoding operation on a single bit data stream to obtain a sequence of information data bits.
  • the receiving end performs corresponding processing according to the processing of the transmitting end, and details are not described herein again.
  • the apparatus for interleaving processing in the embodiment of the present invention is applied to an OFDMA-based WLAN system, where a plurality of bits in an encoded data stream corresponding to a user equipment are used by a grouping unit according to the size and number of RUs allocated by the current user equipment.
  • the bit shunting unit assigns bits included in each of the plurality of input bit groups to all of the sub-resource block interleaving units corresponding to each of the bit groups in a certain order;
  • Each of the resource block interleaving units performs discrete interleaving on a plurality of bits input to each of the sub-resource block interleaving units, and the interleaving scheme is applicable when a single user equipment is allocated a plurality of RUs, and the performance is excellent It is simple enough to improve system performance without increasing system complexity.
  • the WLAN device sending end includes the following components:
  • FEC encoder unit used for error control coding (or channel coding) on a bit stream to obtain a channel coded data bit stream;
  • a splitter is used to allocate a single bit stream in the FEC unit to the iss spatial data stream. Assuming that there are iss spatial data streams on the data transmitting end, the splitter allocates the channel-coded single-bit stream to the iss spatial data stream;
  • the iss grouping unit is configured to divide, according to the resource block RU to which the user equipment is currently allocated, the plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, each of the multiple sets of input bits.
  • the number of input bits is determined by the size and number of RUs to which the user equipment is currently allocated, and each set of input bits corresponds to at least one sub-resource block interleaving unit, and the sub-resource block interleaving unit corresponding to the same set of input bits currently needs to be processed by the RU. Same size;
  • bit stream splitter configured to allocate bits included in the xth bit group to all sub-resource block interleave units corresponding to each bit group in a certain order
  • each sub-resource interleaving unit is configured to discretely interleave the input bits, and the plurality of sub-resource block interleaving units input the output bits into the total resource block interleaving unit, where the x-th bit group corresponds
  • the n sub-resource block interleaving units are taken as an example, and the n sub-resource block interleaving units perform interleaving processing on the bits in the x-th bit group;
  • a total resource block interleaving unit configured to perform discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group;
  • a constellation mapper is configured to map the interleaved bitstream to a constellation point in the modulation constellation to obtain a constellation symbol data stream.
  • a cyclic shift delay unit is configured to perform a cyclic shift delay operation on each spatial data stream.
  • the interleaving processing apparatus may include a grouping unit, a bit component, and M sub-resource block interleaving. unit.
  • the grouping unit is configured to divide, according to the size and quantity of the resource block RU to which the user equipment is currently allocated, the plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, each group of input bits.
  • the grouping unit is configured to divide, according to the size and quantity of the resource block RU to which the user equipment is currently allocated, the plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, each group of input bits.
  • the sub-resource block interleaving unit corresponding to the same set of input bits
  • the sub-resource block interleaving unit currently needs to process the same RU, and all the sub-resource block interleave units corresponding to all the group input bits have a total of M. .
  • the grouping unit may divide the plurality of bits in the encoded data stream corresponding to the user equipment into a first bit group and a second bit group according to the size and quantity of the resource block RU to which the user equipment is currently allocated.
  • the first bit group includes M 1 sub-resource block interleaving units
  • the second bit group includes M 2 sub-resource block interleaving units, and the size of the RU currently required to be processed by each sub-resource block interleaving unit corresponding to the first bit group
  • Each of the sub-resource block interleaving units corresponding to the second bit group is currently required to process the size of the RU
  • M 1 and M 2 are positive integers
  • M M 1 +M 2 , where M is the current sub-resource block interleaving unit. The total number.
  • the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into the first bit group and the second bit group according to the size and quantity of the resource block RU to which the user equipment is currently allocated.
  • [] represents the rounding operation.
  • the size of the system FFT in the 40M bandwidth is 256 points, and at this time, the 40M bandwidth is divided into 8 small RUs and 1 large RU, wherein Each small RU contains 24 data subcarriers and 2 pilot subcarriers, and each large RU contains 234 data subcarriers and 8 pilot subcarriers.
  • the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs.
  • the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit,
  • the two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
  • the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into the first bit according to the size and quantity of the resource block RU to which the user equipment is currently allocated.
  • the size of the system FFT in the 40M bandwidth is 256 points, and at this time, the 40M bandwidth is divided into 8 small RUs and 1 large RU, wherein Each small RU contains 24 data subcarriers and 2 pilot subcarriers, and each large RU contains 234 data subcarriers and 8 pilot subcarriers.
  • the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs.
  • the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit,
  • the two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
  • the grouping unit may alternately move to the first bit group and the second bit group through a combination of a conventional bit interleaver and a selection switch.
  • a kind of allocation bit may be used to determine the size of the RU corresponding to the first bit group.
  • the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into the first bit according to the size and quantity of the resource block RU to which the user equipment is currently allocated.
  • the grouping unit may be further configured to generate a random driving code, where the random driving code includes a plurality of indicator bits, and the plurality of indicator bits are a plurality of bits in the encoded data stream corresponding to the user equipment.
  • N 1 [RU 1 /RU 2 ] ⁇ M 1
  • N 2 M 2
  • RU 1 represents the first bit
  • the RU 2 indicates the size of the RU that the sub-resource block interleaving unit in the second bit group needs to process
  • [] represents the rounding operation.
  • the random driving code may include a first indicator bit and a second indicator bit, where the first indicator bit is used to allocate a bit corresponding to the first indicator bit to the first bit group, the second indication The bit is used to allocate the bit corresponding to the first indicator bit to the second bit group.
  • the size of the system FFT in the 40M bandwidth is 256 points, and at this time, the 40M bandwidth is divided into 8 small RUs and 1 large RU, wherein Each small RU contains 24 data subcarriers and 2 pilot subcarriers, and each large RU contains 234 data subcarriers and 8 pilot subcarriers.
  • the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs.
  • the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit,
  • the two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
  • the grouping unit may generate a random driving code by using a random bit interleaver, where the random driving code includes a plurality of indicator bits, and the plurality of indicator bits are a plurality of bits in the encoded data stream corresponding to the user equipment.
  • the random driving code may include a first indicator bit “0”, a second indicator bit “1”, and the random driver code may be “01101110011101000101...”, wherein the first indicator bit “0” is used to indicate the indication.
  • the bit corresponding to the bit is allocated to the first bit group; the second indicator bit "1" is used to indicate that the bit corresponding to the indicator bit is allocated to the second bit group.
  • the ratio of the number of bits allocated to the first bit group to the number of bits allocated to the second bit group is N 1 /N 2 , where N is larger than the second bit group.
  • the random driving code may include a first indicator bit and a second indicator bit, where the first indicator bit is “00”, and is used to indicate that the bit corresponding to the indicator bit is allocated to the first bit group;
  • the second indication bit is "11" for indicating that the bit corresponding to the indication bit is allocated to the second bit group, and the present invention is not limited thereto.
  • the bits included in each bit group are further interleaved and output by the bit stream splitter and the corresponding multiple resource block interleaving units.
  • the interleaving process can be performed by the following method.
  • the sub-resource block interleaving unit may perform the interleaving process by using the sub-resource block interleaving unit in the interleaving processing apparatus of the embodiment of the present invention; if the input bit group is used, Corresponding to a plurality of sub-resource block interleaving units, the bits included in each bit group can be further interleaved by the following method, as shown in FIG.
  • bit group corresponds to At least two sub-resource block interleaving units are assumed.
  • bit group corresponds to n sub-resource block interleaving units
  • bit-dividing unit included in the x-th bit group is processed by the interleaving scheme of the present invention.
  • the specific processing flow is as follows:
  • the bit-dividing unit interleaves each bit of the xth bit group to a plurality of RUs corresponding to the plurality of sub-resource block interleaving units corresponding to the user equipment in the x-th bit group.
  • m log 2 M be the system modulation order, and M be the constellation size. If the xth bit group corresponds to n sub-resource block interleaving units, that is, the xth bit group corresponds to n RUs, the bit shunting unit may The bit-by-bit interleaving is assigned to RU1 to RUn.
  • any one of the bit groups corresponds to four sub-resource block interleaving units, corresponding to four RUs, or four RUs of the same size are currently allocated to the user equipment at the same time, and four sub-resources corresponding to four RUs are grouped by the grouping unit.
  • the block interleaving unit corresponds to the same bit group at the same time, and the number of data subcarriers in each RU is three, and the modulation mode of the system is 64QAM, and there are 72 bits in the data stream of one OFDMA symbol bit.
  • the order of the bit data streams is (0, 1, ..., 71), and is decomposed one by one to four RUs as shown in the following table:
  • the bit-split unit may also allocate a set of interlaces to RU1 to RUn for each s-bit, and the corresponding relationship of the bit number assigned to the i-th RU of the x-th bit group is j is as follows:
  • k represents the bit number input by each resource block interleaving unit
  • k is a non-negative integer
  • s represents the number of bits allocated consecutively for each resource block interleaving unit
  • n is the sub-resource block interleaving unit corresponding to the xth bit group The number.
  • the order of the bit data stream is (0, 1, ..., 71), and at least two bits can be decomposed into four RUs as shown in the following table:
  • the bit-split unit in the embodiment of the present invention is not limited to the allocation of s bit sequences in the data stream to RU1 to RUn.
  • q RUs may be selected for alternate allocation.
  • the corresponding bit of the x-th bit group The bit number assigned to the i RU RUs is j, and the corresponding relationship is:
  • the n RU interleaving units include an RU1 interleaving unit, an RU2 interleaving unit, an RU3 interleaving unit, and a RUn interleaving unit.
  • the interleaving manner for each RU interleaving unit may adopt the following implementation manner:
  • Each sub-resource block interleaving unit is configured to input the bits input in the order of rows and output them in a column manner, and each sub-resource block interleaving unit after discrete interleaving serially outputs or discretely interleaves in a certain order.
  • the sub-resource block interleaving units are output in parallel.
  • Each of the corresponding n RU interleaved units in the xth bit group may adopt a row and column interleaver, that is, a travel list, and the parameter is (N ROW , N COL ).
  • the bits before and after the interleaving be x k and w i respectively , where k is the bit position number before interleaving, the number before the x k interleaving is the bit corresponding to the k bit position, i is the bit position number after the interleaving, and the number after w i interleaving is For the bit corresponding to the position of the i bit, the specific interleaving formula is:
  • N COL and N ROW are the interleaving parameters processed by the known first interleaving processing unit.
  • bit order in the first RU after the interleaving is as follows:
  • the order of bits in RU1 is: (0,4,8,12,16,20,24,28,1,5,9,13,17,21,25,29,2,6, ...,27,31).
  • Each of the sub-resource block interleaving units is configured to cyclically shift the inner bits according to the order of each sub-resource block interleave unit, and the cyclically shifted bits are serially output in a certain order in each sub-resource block interleave unit, or FIG. 9 is a schematic diagram of a specific interleaving manner of a sub-resource block interleaving unit according to an embodiment of the present invention.
  • Each of the bit interleaving units alternately maps adjacent coded bits to low significant bits and high significant bits in the constellation.
  • i is the pre-interleaving bit
  • the position number, the number before the w i interleaving is the bit corresponding to the i bit position
  • j is the bit position number after the interleaving
  • the number corresponding to the j bit position after the y j interleaving the number of bits after the N CBPSS is encoded for the data stream
  • the specific interweaving formula is:
  • N CBPSS is the number of coded bits per spatial data stream.
  • Embodiment 1 and Embodiment 2 can perform independent interleaving, that is, only interleaving once, or can be interleaved in combination, that is, interleaving according to Embodiment 1 and performing Interleaving 2, that is, interleaving twice.
  • Each of the sub-resource block interleaving units is used by each sub-resource block interleaving unit to output in columns
  • the bits are alternately mapped to the low significant bits and the high significant bits in the constellation diagram, and the cyclically shifted bits are serially output in a certain order in each sub-resource block interleaving unit or each sub-resource block interleaved unit after discrete interleaving Parallel output.
  • n is the number of RUs corresponding to the user equipment currently in the xth bit group
  • m is the modulation order
  • k is the i-th RU RU
  • j is the bit position number outputted after the I/Q interleaving in the i-th RU RU.
  • the xth bit group corresponds to 4 sub resource block interleaving units, and also corresponds to 4 RUs, or it is assumed that 4 RUs of the same size are simultaneously allocated to a single user equipment, and the number of data subcarriers in each RU is Three, the modulation mode of the system is 64QAM, then there are 72 bits in the data stream of one OFDMA symbol bit.
  • the sequence of each bit in Table 1 and 4 RUs is as shown in Table 6:
  • the cyclic shift in the RU I/Q interleaving unit can also be performed to the left, at this time:
  • the third embodiment of the present invention can be interleaved independently, and only interleaved once, or can be interleaved in combination with the first embodiment. That is, according to the first embodiment, the third embodiment is interleaved, that is, interleaved twice.
  • the total number of corresponding sub-resource block interleave units in all the bit groups is N, that is, the number of RUs allocated by the user equipment.
  • the total RU interleaving unit is located between the N sub-resource block interleaving units and the constellation mapper.
  • Each of the N sub-resource block interleaving units is configured to discretely interleave the input bits and output the data to the total resource block in parallel.
  • the total resource block interleaving unit is configured to perform discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
  • the total resource block interleaving unit does not interleave internal bits of each sub-RU interleaving unit, and performs overall replacement operations only between multiple RUs corresponding to each bit group, thereby increasing the frequency of the system in a case where the complexity is low. Diversity coding gain.
  • the size of the total RU interleaving unit is much smaller than that of the conventional bit interleaver. Therefore, the interleaving rule can be pre-stored as a list, and the RU position number comparison before and after the interleaving is saved in the list, and the list is queried when the interleaving operation is performed.
  • the RU The weaver can also be interleaved using simple interleaving rules, such as a row and column interleaver.
  • the number of rows and columns interleaver columns can be fixed first, and the number of rows can be gradually increased as the interleaving elements increase.
  • the number of rows and columns of interleaver rows can also be fixed first, and the number of columns can be gradually increased as the interleaving elements increase.
  • the interleaving rules are as shown in Table 7 when the elements to be interleaved are even and odd.
  • n is an even number
  • p is an even number.
  • the table in the left table indicates that each row and column of the row and column interleaver can be filled when the number of elements to be interleaved is n, and the last element of the last row of the row and column interleaver is filled when the element to be interleaved is p. Empty, this element can be ignored during write and read operations.
  • the xth bit group corresponds to 4 sub resource block interleaving units, and also corresponds to 4 RUs, or if there are 4 simultaneous RUs of the same size allocated to a single user equipment, and the number of data subcarriers in each RU
  • the modulation mode of the system is 64QAM, and there are 72 bits in the data stream of one OFDMA symbol bit.
  • Table 8 the sequence of each bit in Table 6 and 4 RUs is as shown in Table 8:
  • the total RU interleaving unit can also be incorporated into the bit decomposing unit, and the bit decomposing unit changes the bit allocation rule to achieve the same function as the RU interleaver.
  • each of the sub-resource block interleaving units after the discrete interleaving is outputted in parallel to the total RU interleave unit to perform interleaving between the RUs
  • the embodiment of the present invention may also adopt a total RU interleave unit, and each sub-resource block is interleaved.
  • the units are serially output to the constellation mapping unit in a certain order, and the specific serial output may be alternated or other discrete manners, and the present invention will not be described in detail.
  • the bit shunting unit assigns bits included in each of the plurality of input bit groups to all of the sub-resource block interleaving units corresponding to each of the bit groups in a certain order;
  • Each of the resource block interleaving units is configured to discretely interleave a plurality of bits input to each of the sub-resource block interleaving units, where the interleaving scheme is applicable when a single user equipment is allocated multiple RUs, and the performance is excellent and the implementation is simple. Thereby improving the performance of the system without increasing system complexity.
  • FIG. 11 is a schematic structural diagram of a third embodiment of a WLAN device according to an embodiment of the present invention. As shown in FIG. 11, different from the second embodiment of the WLAN device according to the embodiment of the present invention is a bit splitter and a sub-resource block.
  • a total bit splitting unit is added between the interleaving units, and the sub-resource block interleaving unit is directly connected to the constellation. After the bit-split unit is added, the total bit-splitting unit is added.
  • N RUs are allocated to the same user equipment together, and the grouping unit is used to divide the plurality of bits corresponding to the user equipment according to the size of each RU.
  • Each set of input bits corresponds to an RU of the same size, where the xth bit group corresponds to n sub resource block interleaving units, and the n sub resource block interleaving units also correspond to n same size RUs, for example, for the bit processing flow in each bit group described as follows:
  • the bit shunting unit inputs the bit stream of the xth bit group into the total bit shunting unit in units of r bits, and interleaves the r bits by the total bit shunting unit, and sends the n resources corresponding to the xth bit group.
  • the block interleaving unit, the n resource block interleaving unit processing flow is the same as the previous scheme description.
  • the bit shunt unit will output the shunt at this time.
  • the bit stream is input to the total bit stream unit in units of every 8 bits. For example, if the output bits of the bit shunting unit are (0, 1, 2, 3, 4, 5, 6, 7), the total bit shunting unit interleaves the interleaving interleaving unit shown in Table 9 and outputs the bit order from top to bottom. It is (0, 2, 4, 6, 1, 3, 5, 7).
  • the 8 bits are written to the respective resource blocks, and then the 8 bits are read in to repeat the above process until each resource block is filled.
  • the OFDMAA-based WLAN system in the above embodiment adopts the above system architecture, not only solves the problem that the bit interleaver cannot be reused, but also the interleaver length based on the design is more flexible, when a single user equipment is allocated multiple RUs of different sizes.
  • the interleaving scheme of the above design is excellent in performance and simple in implementation, thereby improving system performance without increasing system complexity.
  • the embodiment provides a method for interleaving processing in an OFDMA-based WLAN system, and the executor of the method may be a WLAN device including an interleaver, as shown in FIG. 12, which is sent in a WLAN system provided by the present invention.
  • the flowchart of the first implementation manner of the interleaving processing method includes the following steps:
  • the packet unit divides, according to the resource block RU to which the user equipment is currently allocated, the plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, and each group of the input bits of the multiple sets of input bits The number is determined by the size and number of the RU.
  • the same input bit group corresponds to at least one RU, and the at least one RU corresponds to the same number of sub-resource block interleave units, and the RUs corresponding to the same input bit group have the same size.
  • the grouping unit may be a user equipment corresponding to the plurality of bits of the coded data stream into a first bit group and second bit group, wherein the first bit group corresponding to the resource block interleaver M 1 sub-unit,
  • the second bit group corresponds to the M 2 sub-resource block interleaving units, and the size of the RU that needs to be processed by each sub-resource block interleaving unit corresponding to the first bit group is greater than that of each sub-resource block corresponding to the second bit group.
  • the random driving code may include a first indicator bit and a second indicator bit, where the first indicator bit is used to allocate a bit corresponding to the first indicator bit to the first bit group, the second indication The bit is used to allocate the bit corresponding to the first indicator bit to the second bit group.
  • the bit offloading unit allocates the bits of each bit group to all the sub-resource block interleaving units corresponding to each bit group in a certain order.
  • the bit offloading unit is configured to sequentially or alternately allocate each s of the bits of each bit group to the sub-resource block interleaving unit corresponding to each bit group, where s is a positive integer greater than 0.
  • bit number assigned to the ith RU RU corresponding to the xth bit group is j, and the corresponding relationship is:
  • bit number assigned to the ith RU RU corresponding to the xth bit group is j, and the corresponding relationship is:
  • k is the input number of the bit to which the i-th RU unit is allocated
  • k is a non-negative integer
  • n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
  • Each of the plurality of sub-resource block interleaving units performs discrete interleaving on a plurality of bits input to each of the sub-resource block interleaving units.
  • the plurality of resource block interleaving units perform discrete interleaving of the input bits, and specifically: each of the plurality of sub-resource block interleaving units is used for discretely interleaving the input bits, and the discrete interleaving is performed in a certain order. Output or parallel output to the mapping unit.
  • the sub-resource block interleaving unit performs discrete interleaving on the input bits, where the inter-interleaving unit inputs the input bits in the order of the rows and then according to the column manner. And performing outputting; and/or each of the plurality of sub-resource block interleaving units cyclically shifting bits in each of the sub-resource block interleaving units according to an order of the each sub-resource block interleaving unit.
  • the sub-resource block interleaving unit inputs the input bits in the order of the rows and outputs them in a column manner.
  • the method further includes: each sub-resource block interleaving unit alternately maps the bits output according to the columns to the low-significant bits in the constellation diagram. And high effective bits.
  • Each of the sub-resource block interleaving units cyclically shifts the inner bits according to the order of each sub-resource block interleave unit, specifically: the per-sub-resource block interleaving unit cyclically shifts its inner bits to the right or left according to the order of the RUs. Bit s bit.
  • the output bit j correspondence is:
  • n 0, 1, ...
  • n the number of RUs corresponding to the xth bit group in the RU currently allocated by the user equipment
  • m the modulation order
  • k the i thth The position number of the input bit in the RU
  • j the position number of the output bit in the i-th RU RU.
  • the method further includes: outputting the bit stream of the bit shunting unit into the total bit shunting unit in units of r bits; the total bit shunting unit interleaving the r bits in a certain order And respectively allocated to the plurality of sub-resource block interleaving units, where r is a positive integer.
  • the method further includes: the multiple sub-resource block interleaving units input the output bits into the total resource block interleaving unit; the total resource block interleaving unit is in the sub-resource block interleaving unit corresponding to each bit group At least two sub-resource block interleaving units perform discrete interleaving.
  • the total resource block interleaving unit performs discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group, including: according to a preset list, The total resource block interleaving unit performs discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group; or the total resource block interleaving unit sub-resource block corresponding to each bit group At least two sub-resource block interleaving units in the interleaving unit perform interleaving according to the row and column rules.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the method of the interleaving process in the embodiment of the present invention is applied to the OFDMA-based WLAN system, and the plurality of bits in the encoded data stream corresponding to the user equipment are used by the grouping unit according to the size and number of the RUs allocated by the current user equipment.
  • the bit shunting unit assigns bits included in each of the plurality of input bit groups to all of the sub-resource block interleaving units corresponding to each of the bit groups in a certain order;
  • Each of the resource block interleaving units is configured to discretely interleave a plurality of bits input to each of the sub-resource block interleaving units, where the interleaving scheme is applicable when a single user equipment is allocated multiple RUs, and the performance is excellent and the implementation is simple. Thereby improving the performance of the system without increasing system complexity.
  • the flowchart of the second implementation manner of the interleaving processing method in the WLAN system provided by the present invention includes the following steps:
  • S201 Perform error control coding (or channel coding) on the bit data stream to obtain a channel coded data bit stream, where the step of performing the step may be an FEC encoder;
  • the packet unit divides, according to the resource block RU to which the user equipment is currently allocated, the plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, and each group of the input bits of the plurality of input bits The number is determined by the size and number of the RU.
  • the same input bit group corresponds to at least one RU, and the at least one RU corresponds to the same number of sub-resource block interleave units, and the RUs corresponding to the same input bit group have the same size.
  • S202 may further allocate the S201 processed single bit stream to the iss spatial data stream by using a bit splitter, and then group by the grouping unit, and in S202, execute the iss spatial data streams in a certain order. Assigned to each bit group separately. Assuming that the data sender has an iss spatial data stream, the splitter or processor allocates the channel-coded single-bit stream to the iss spatial data stream;
  • the bit splitting unit allocates the bits of each bit group to each of the bits in a certain order. All sub-resource block interleave units corresponding to each bit group.
  • Each of the plurality of sub-resource block interleaving units performs discrete interleaving on a plurality of bits input to each of the sub-resource block interleaving units.
  • S205 Perform discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
  • S206 Mapping the interleaved bit stream to a constellation point in the modulation constellation to obtain a constellation symbol data stream
  • the cyclic shift delay unit performs a cyclic shift delay operation on each spatial data stream.
  • S204 and S205 may be performed in an interleaver, where the interleaver includes a plurality of sub-resource block interleaving units and a total resource block interleaving unit.
  • S207 can be executed in a constellation mapper, and S208 can be executed in a cyclic shift delay.
  • the execution of the above steps in the embodiments of the present invention is not limited to the above-mentioned independent components, and the processor may perform S101 to S108.
  • the grouping unit may divide the plurality of bits in the encoded data stream corresponding to the user equipment into the first bit group and the second according to the size and quantity of the resource block RU to which the user equipment is currently allocated.
  • a bit group where the first bit group includes M 1 sub-resource block interleaving units, where the second bit group includes M 2 sub-resource block interleaving units, and each sub-resource block interleaving unit corresponding to the first bit group currently needs to be processed.
  • the grouping unit divides the multiple bits in the encoded data stream corresponding to the user equipment into the first bit group and the first according to the size and quantity of the resource block RU to which the user equipment is currently allocated.
  • a bin in particular, the packet unit may allocate consecutive N 1 bits to the first bit group and allocate consecutive N 2 bits to the second bit group in each allocation cycle of an allocation cycle
  • N 1 [RU 1 /RU 2 ] ⁇ M 1
  • N 2 M 2
  • RU 1 represents the size of the RU that each sub-resource block interleaving unit corresponding to the first bit group needs to process
  • RU 2 represents The second bit group corresponds to the size of the RU that each sub-resource block interleaving unit currently needs to process
  • [] represents a rounding operation.
  • each small RU contains 24 data subcarriers and 2 pilot subcarriers.
  • Each large RU contains 234 data subcarriers and 8 pilot subcarriers.
  • the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs.
  • the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit,
  • the two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
  • the grouping unit divides the multiple bits in the encoded data stream corresponding to the user equipment into the first bit group and the first according to the size and quantity of the resource block RU to which the user equipment is currently allocated.
  • the size of the system FFT in the 40M bandwidth is 256 points, and at this time, the 40M bandwidth is divided into 8 small RUs and 1 large RU, wherein Each small RU contains 24 data subcarriers and 2 pilot subcarriers, and each large RU contains 234 data subcarriers and 8 pilot subcarriers.
  • the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs.
  • the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit,
  • the two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
  • the grouping unit may alternately move to the first bit group and the second bit group through a combination of a conventional bit interleaver and a selection switch.
  • a kind of allocation bit may be used to determine the size of the RU corresponding to the first bit group.
  • the selection switch of the two bit groups adopts centralized control, and restarts after the selection switches of both bit groups are turned off, and continues to receive the bits transmitted by the conventional bit interleaving.
  • the grouping unit divides the multiple bits in the encoded data stream corresponding to the user equipment into the first bit group and the first according to the size and quantity of the resource block RU to which the user equipment is currently allocated.
  • the packet unit may further generate a random driving code, where the random driving code includes a plurality of indicator bits, and the plurality of indicator bits are in one-to-one correspondence with a plurality of bits in the encoded data stream corresponding to the user equipment,
  • the sub-resource block interleaving unit currently needs to process the size of the RU, and RU 2 indicates
  • the random driving code may include a first indicator bit and a second indicator bit, where the first indicator bit is used to allocate a bit corresponding to the first indicator bit to the first bit group, the second indication The bit is used to allocate the bit corresponding to the first indicator bit to the second bit group.
  • the size of the system FFT in the 40M bandwidth is 256 points, and at this time, the 40M bandwidth is divided into 8 small RUs and 1 large RU, wherein Each small RU contains 24 data subcarriers and 2 pilot subcarriers Waves, each large RU contains 234 data subcarriers and 8 pilot subcarriers.
  • the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs.
  • the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit,
  • the two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
  • the grouping unit may generate a random driving code by using a random bit interleaver, where the random driving code includes a plurality of indicator bits, and the plurality of indicator bits are a plurality of bits in the encoded data stream corresponding to the user equipment.
  • the random driving code may include a first indicator bit “0”, a second indicator bit “1”, and the random driver code may be “01101110011101000101...”, wherein the first indicator bit “0” is used to indicate the indication.
  • the bit corresponding to the bit is allocated to the first bit group; the second indicator bit "1" is used to indicate that the bit corresponding to the indicator bit is allocated to the second bit group.
  • the ratio of the number of bits allocated to the first bit group to the number of bits allocated to the second bit group is N 1 /N 2 , where N is greater than the second bit group.
  • the random driving code may include a first indicator bit and a second indicator bit, where the first indicator bit is “00”, and is used to indicate that the bit corresponding to the indicator bit is allocated to the first bit group;
  • the second indication bit is "11" for indicating that the bit corresponding to the indication bit is allocated to the second bit group, and the present invention is not limited thereto.
  • the bits of the xth bit group may be interleaved in the following manner:
  • Each bit of the xth bit group is interleaved to a plurality of RUs corresponding to the user equipment in the xth bit group.
  • m log 2 M be the system modulation order, and M be the constellation size, then the bit shunting unit can be allocated to RU1 to RUn bit by bit.
  • s max ⁇ 1,m/2 ⁇ , s denote the number of bits allocated continuously for each resource block interleaving unit, the bit shunt unit input is y j , and the i th RUs corresponding to the xth bit group are allocated
  • the corresponding relationship of the bit number to j is as follows:
  • the xth bit group corresponds to 4 sub resource block interleaving units, and also corresponds to 4 RUs, or it is assumed that 4 simultaneous RUs of the same size are allocated to a single user equipment, and the number of data subcarriers in each RU
  • the modulation mode of the system is 64QAM, and there are 72 bits in the data stream of one OFDMA symbol bit.
  • the order of the bit data streams is (0, 1, ..., 71), and is decomposed into 4 RUs as shown in Table 1 above, and details are not described herein again.
  • the S203 may assign a set of interlaces to the RU1 to the RUn, and the corresponding relationship of the bit number assigned to the i-th RU of the xth bit group is as follows:
  • k represents the input bit number of each resource block interleaving unit
  • k is a non-negative integer
  • s represents the number of bits allocated consecutively for each resource block interleaving unit
  • n is the sub-resource block interleaving unit corresponding to the xth bit group The number.
  • the order of the bit data stream is (0, 1, ..., 71), and at least two bits can be decomposed into four RUs as shown in Table 2 above, and details are not described herein again.
  • S203 is not limited to the allocation of s bit sequences in the data stream to RU1 to RUn.
  • q RUs may be selected for alternate allocation.
  • the i th RUs corresponding to the xth bit group are allocated.
  • the bit number to be obtained is j, and the corresponding relationship is:
  • the n RU interleaving units include an RU1 interleaving unit, an RU2 interleaving unit, an RU3 interleaving unit, and a RUn interleaving unit.
  • the interleaving manner of each RU interleaving unit may adopt the following implementation manner:
  • each sub-resource block interleaving unit inputs the input bits in the order of the rows.
  • the input and output are performed in a column manner, and each of the sub-resource block interleaving units after the discrete interleaving is serially output in a certain order or each sub-resource block interleaving unit after the discrete interleaving is output in parallel.
  • Each of the n RU interleaving units corresponding to the xth bit group adopts a row and column interleaver, that is, a travel list, and the parameter is (N ROW , N COL ).
  • the bits before and after the interleaving be x k and w i respectively , where k is the bit position number before interleaving, the number before the x k interleaving is the bit corresponding to the k bit position, i is the bit position number after the interleaving, and the number after w i interleaving is For the bit corresponding to the position of the i bit, the specific interleaving formula is:
  • N COL and N ROW are the interleaving parameters processed by the known first interleaving processing unit.
  • bit sequence in the first RU after the interleaving is as shown in Table 4 above, and details are not described herein again.
  • the order of bits in RU1 is: (0,4,8,12,16,20,24,28,1,5,9,13,17,21,25,29,2,6, ...,27,31).
  • each sub-resource block interleaving unit cyclically shifts its inner bit according to the order of each sub-resource block interleaving unit, and the cyclically shifted bits are serially output in a certain order in each sub-resource block interleaving unit. Or parallel output after discrete interleaving.
  • interleaving method of the specific implementation refer to FIG. 9 above:
  • Each of the bit interleaving units alternately maps adjacent coded bits to low significant bits and high significant bits in the constellation.
  • the bits before and after the interleaving be w i and y j respectively , where i is the bit position number before the interleaving, the number before the w i interleaving is the bit corresponding to the i bit position, j is the bit position number after the interleaving, and the number after the interleaving is y j
  • the bit corresponding to the j-bit position, N CBPSS is the number of bits after encoding the data stream, and the specific interleaving formula is:
  • N CBPSS is the number of coded bits per spatial data stream.
  • Embodiment 1 and Embodiment 2 can perform independent interleaving, that is, only interleaving once, or can be interleaved in combination, that is, interleaving according to Embodiment 1 and performing Interleaving 2, that is, interleaving twice.
  • each sub-resource block interleaving unit per sub-resource block interleaving unit alternately maps the bits output according to the column to the low-significant bits and the high-significant bits in the constellation diagram, and the cyclically shifted bits are in each sub-resource block interleaving unit.
  • Each of the sub-resource block interleaving units serially output or discretely interleaved in a certain order is output in parallel.
  • each of the sub-resource block interleaving units may also adopt an RU I/Q interleaving manner, in particular, each of the RUs respectively performs a rotation operation on the I/Q path bits corresponding to the constellation points, so as to prevent the coding bits from being continuously mapped to the constellation.
  • the specific interleaving method can refer to Figure 10 above.
  • n 0, 1, ...
  • n the number of RUs currently allocated by the user equipment in the xth bit group
  • m the modulation order
  • k the i-th RU RU
  • j the bit position number output after I/Q interleaving in the i-th RU RU.
  • the xth bit group corresponds to 4 sub resource block interleaving units, and also corresponds to 4 RUs, or it is assumed that 4 same size RUs are allocated to a single user equipment, and the number of data subcarriers in each RU is 3
  • the modulation mode of the system is 64QAM, and there are 72 bits in the data stream of one OFDMA symbol bit. According to the above decomposition method, the sequence of each bit in the first and second RUs is as shown in Table 6 above, and details are not described herein again.
  • the cyclic shift in the RU I/Q interleaving unit can also be performed to the left, at this time:
  • the third embodiment of the present invention can be interleaved independently, and only interleaved once, or can be interleaved in combination with the first embodiment. That is, according to the first embodiment, the third embodiment is interleaved, that is, interleaved twice.
  • the total number of corresponding sub-resource block interleave units in all the bit groups in the embodiment of the present invention is N, that is, the number of RUs allocated by the user equipment.
  • the total RU interleaving unit is located between the N sub-resource block interleaving units and the constellation mapper.
  • Each of the N sub-resource block interleaving units is configured to discretely interleave the input bits and output the data to the total resource block in parallel.
  • S205 performs discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving units in each bit group.
  • the S205 does not interleave the internal bits of each sub-RU interleaving unit, and performs an overall replacement operation only between the RUs corresponding to each bit group, thereby improving the frequency diversity coding gain of the system when the implementation complexity is low.
  • the size of the total RU interleaving unit is much smaller than that of the conventional bit interleaver, so the interleaving rule can be pre-stored as a list, and the list is queried when performing the interleaving operation.
  • the RU interleaver can also perform interleaving using simple interleaving rules, such as a row and column interleaver.
  • the number of rows and columns interleaver columns can be fixed first, and the number of rows can be gradually increased as the interleaving elements increase.
  • the number of rows and columns of interleaver rows can also be fixed first, and the number of columns can be gradually increased as the interleaving elements increase.
  • the interleaving rules are as shown in the following Table 7 when the elements to be interleaved are even and odd, and details are not described herein again.
  • n is an even number
  • p is an even number.
  • the table in the left table indicates that each row and column of the row and column interleaver can be filled when the number of elements to be interleaved is n, and the last element of the last row of the row and column interleaver is filled when the element to be interleaved is p. Empty, this element can be ignored during write and read operations.
  • the xth bit group corresponds to 4 sub resource block interleaving units, and also corresponds to 4 RUs, or it is assumed that 4 RUs of the same size are simultaneously allocated to a single user equipment, and the number of data subcarriers in each RU is Three, the modulation mode of the system is 64QAM, then there are 72 bits in the data stream of one OFDMA symbol bit.
  • the sequence of each bit in the four RUs is as shown in Table 8 above, and details are not described herein again.
  • S204 and S205 can use independent interleavers, and can be processed by an interleaver.
  • the OFDMAA-based WLAN system in the embodiment of the present invention adopts the above system architecture, not only solves the problem that the bit interleaver cannot be reused, but also the interleaver length based on the design is more flexible.
  • the above The designed interleaving scheme requires excellent performance and is simple to implement.
  • FIG. 14 is a schematic flowchart diagram of a third implementation manner of an interleaving method for a WLAN device according to the present invention. As shown in FIG. 14, the method includes:
  • S301 Perform error control coding (or channel coding) on the bit data stream to obtain a channel-coded data bit stream, where the step of performing may be an FEC encoder;
  • the packet unit divides, according to the resource block RU to which the user equipment is currently allocated, the plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, and each group of the input bits of the plurality of input bits The number is determined by the size and number of the RU.
  • the same input bit group corresponds to at least one RU, and the at least one RU corresponds to the same number of sub-resource block interleave units, and the RUs corresponding to the same input bit group have the same size.
  • the bit splitting unit inputs the bits of each bit group into the total bit shunting unit in units of r bits.
  • Each of the plurality of sub-resource block interleaving units performs discrete interleaving on a plurality of bits input to each of the sub-resource block interleaving units.
  • S306 Mapping the interleaved bit stream to a constellation point in the modulation constellation to obtain a constellation symbol data stream
  • the cyclic shift delay unit performs a cyclic shift delay operation on each spatial data stream.
  • the method is different from the second embodiment of the interleaving method of the WLAN device in the embodiment of the present invention in FIG. 13 is:
  • the output bit stream of the shunt is sequentially input into the total bit shunting unit in units of r bits, and S304 interleaves the r bits into a plurality of resource block interleaving units, and the processing flow of the plurality of resource block interleaving units in S305
  • S304 can be performed by a total bit splitting unit or by a processor.
  • the bit shunt unit will output the shunt at this time.
  • the bit stream is input to the total bit stream unit in units of every 8 bits. For example, if the output bits of the bit shunting unit are (0, 1, 2, 3, 4, 5, 6, 7), the total bit shunting unit is interleaved as shown in Table 9 above, and the output bit order is from top to bottom. It is (0, 2, 4, 6, 1, 3, 5, 7).
  • the 8 bits are written to the respective resource blocks, and then the 8 bits are read in to repeat the above process until each resource block is filled.
  • the OFDMAA-based WLAN system in the above embodiment adopts the above system architecture, not only solves the problem that the bit interleaver cannot be reused, but also the interleaver length based on the design is more flexible.
  • the above design The interleaving scheme requires excellent performance and is simple to implement.
  • the WLAN device in the foregoing embodiment may be a base station or a user terminal or a processor or a chip that performs the foregoing method.
  • the method in the foregoing embodiment is not limited to being executed by a physical device, and may be executed by software.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the method of the interleaving process in the embodiment of the present invention is applied to the OFDMA-based WLAN system, and the plurality of bits in the encoded data stream corresponding to the user equipment are used by the grouping unit according to the size and number of the RUs allocated by the current user equipment.
  • the bit shunting unit assigns bits included in each of the plurality of input bit groups to the order in a certain order
  • Each sub-resource block interleave unit corresponding to each bit group; each sub-resource block interleave unit of the plurality of sub-resource block interleave units discretely interleaves a plurality of bits input to each of the sub-resource block interleave units, the interleaving scheme is applicable When a single user equipment is allocated multiple RUs, and the performance is excellent, the implementation is simple, thereby improving the performance of the system without increasing the complexity of the system.
  • the embodiment of the invention provides a schematic diagram of another WLAN device, as shown in FIG.
  • the WLAN device includes an access point (AP) and a terminal, wherein the access point includes a transmitter and a processor 1.
  • the terminal includes a receiver and a processor 2.
  • the processor 1 can handle the functions of all the specific embodiments in FIG. 4 to FIG. 10.
  • the processor 2 performs corresponding processing according to the processing of the processing one. This is described in detail in the foregoing embodiment, and details are not described herein again.
  • the advantages of the design of the present invention are compared by simulation in the following. Taking the FFT size of 256 points in the 20M bandwidth of the OFMDA system as an example, the 20M bandwidth is divided into 8 RUs, each of which contains 24 data subcarriers and 2 pilot subcarriers, and the 8 RUs are simultaneously Assigned to the same user device.
  • BP + IntPerRU represents a prior art one interleaving scheme
  • PIS1 and PIS2 are respectively the second embodiment and the third embodiment of the present invention.
  • the required module parameters of the interleaving scheme of the present invention are very simple, so The low hardware implementation complexity, as shown in Figure 16, compares the performance of the four interleaving schemes when encoding and modulating to MCS0 under the Channel D NLOS channel.
  • the disclosed systems, devices, and The method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • 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 objectives of the embodiments of the present invention.
  • 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.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform 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, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

Provided in the embodiments of the present invention are an interleaving processing method and device. The apparatus comprises: a grouping unit, a bit branch unit and multiple sub-resource unit interleaving units, wherein, the grouping unit is configured to divide multiple bits of an encoded data stream corresponding to a user equipment into multiple sets of input bits according to a resource unit (RU) currently allocated to the user equipment, the number of each set of multiple sets of input bits is determined by the size and number of the RU; the bit branch unit is configured to allocate each set of multiple sets of input bits to at least one sub-resource unit interleaving unit corresponding to each set of input bits according to a certain order; each of multiple sub-resource unit interleaving units is configured to perform discrete interleaving on multiple bits inputted into each sub-resource unit interleaving unit. The above apparatus and method can improve system performance.

Description

交织处理方法和设备Interlacing processing method and device 技术领域Technical field
本发明涉及通信技术领域,尤其涉及基于OFMDA的WLAN(Wireless Local Area Networks,无线局域网)系统中的交织处理方法和设备。The present invention relates to the field of communications technologies, and in particular, to an interleaving processing method and apparatus in a WLAN (Wireless Local Area Networks) system based on OFMDA.
背景技术Background technique
在WLAN系统中进行通信时,传输信息比特差错经常是成串行发生的。然而,信道编码仅在检测和校正单个差错与不太长的差错串时才有效。When communicating in a WLAN system, transmission information bit errors often occur serially. However, channel coding is only effective when detecting and correcting single errors and not too long error strings.
为了解决上述问题,采用交织处理技术对传输数据比特进行处理。采用交织处理技术后,将连续的传输数据比特分散开,并可以将传输数据比特以非连续的方式发送。这样,传输过程中即使发生了成串差错,在恢复成一条相继比特串的消息时,差错也变成单个(或长度较短),这时再使用信道编码纠错功能纠正差错,以可以更准确的恢复原传输数据比特。In order to solve the above problem, the transmission data bits are processed using an interleaving processing technique. After the interleaving processing technique is employed, successive transmission data bits are spread out, and the transmission data bits can be transmitted in a discontinuous manner. In this way, even if a string of errors occurs during transmission, when the message is restored to a successive bit string, the error becomes a single (or a shorter length), and then the channel coding error correction function is used to correct the error, so that Accurate recovery of original transmission data bits.
在802.11a/g协议中,需要对传输数据比特进行两次子交织处理,在802.11n/ac/ah议中,需要进行三次子交织处理,且任意一次子交织处理的交织处理参数可以由数据子载波数量决定,即当数据子载波数量变化时,交织处理参数也需要随之进行相应的变化。In the 802.11a/g protocol, two sub-interleaving processes are required for the transmission data bits. In the 802.11n/ac/ah protocol, three sub-interleaving processes are required, and the interleaving processing parameters of any one of the sub-interleaving processes may be performed by the data. The number of subcarriers is determined, that is, when the number of data subcarriers changes, the interleaving processing parameters also need to be changed accordingly.
另外,802.11a/g/n/ac/ah协议均采用OFDM(Orthogonal Frequency Division Multiplexing,正交频分复用)技术进行数据传输。OFDM是一种多载波技术,是将频域划分成若干个相互正交的数据子载波,并将进行交织处理以及调制后的传输数据比特对应的调制信号分别映射到相应的数据子载波上进行传输,且数据子载波的数量是固定的。In addition, the 802.11a/g/n/ac/ah protocol uses OFDM (Orthogonal Frequency Division Multiplexing) technology for data transmission. OFDM is a multi-carrier technology, which divides the frequency domain into a plurality of mutually orthogonal data subcarriers, and maps the intermodulation processing and the modulated signal corresponding to the modulated transmission data bits to corresponding data subcarriers, respectively. Transmission, and the number of data subcarriers is fixed.
为了进一步提高多用户设备下系统的传输效率,下一代WLAN标准将引入正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)技术。OFDMA将传输带宽划分成正交的互不重叠的一系列子载波集,将不同的子载波集分配给正交频分多址的不同用户实现多址。与OFDM技术相比,OFDMA系统可动态地把可用带宽资源分配给需要的用户,更容易实现系统资源的优化利用。由于每个OFDM符号中不同的子载波集将分配给不同的用户,而单个用户被分配到的RU的数目及大小都非常灵活,这样原有全频带交织方案将会造成不同用户之间数据的交织,从而影响已优 化的用户子载波分配。因此,下一代WLAN技术需要针对OFDMA系统中各个用户所占频带重新设计更有效的比特交织方案,在尽可能不增加系统复杂度的前提下提高系统性能。In order to further improve the transmission efficiency of the system under multi-user equipment, the next-generation WLAN standard will introduce Orthogonal Frequency Division Multiple Access (OFDMA) technology. OFDMA divides the transmission bandwidth into orthogonal sets of subcarriers that do not overlap each other, and allocates different subcarrier sets to different users of orthogonal frequency division multiple access to implement multiple access. Compared with OFDM technology, OFDMA system can dynamically allocate available bandwidth resources to users in need, and it is easier to optimize the utilization of system resources. Since different subcarrier sets in each OFDM symbol will be allocated to different users, and the number and size of RUs allocated to a single user are very flexible, the original full-band interleaving scheme will result in data between different users. Interweaving, thus affecting the excellent User subcarrier allocation. Therefore, the next-generation WLAN technology needs to redesign a more effective bit interleaving scheme for the frequency band occupied by each user in the OFDMA system, and improve the system performance without increasing the system complexity as much as possible.
发明内容Summary of the invention
本发明实施例提供了一种交织处理方法和设备,能够提高系统性能。The embodiment of the invention provides an interleaving processing method and device, which can improve system performance.
第一方面,提供了一种交织处理装置,应用于基于OFMDA的WLAN系统中,该装置包括:分组单元,比特分流单元和多个子资源块交织单元,其中,该分组单元,用于根据用户设备当前被分配到的资源块RU,将该用户设备对应的编码数据流中的多个比特分为多组输入比特,该多组输入比特中的每一组输入比特的数量由该RU的大小和数量确定;该比特分流单元,用于将该多组比特中的每一组输入比特按照一定的次序分配到该每一组输入比特对应的至少一个子资源块交织单元中;该子资源块交织单元,用于将输入到每个子资源块交织单元中的多个比特进行离散交织。In a first aspect, an interleaving processing apparatus is provided for use in an OFMDA-based WLAN system, the apparatus comprising: a packet unit, a bit offloading unit, and a plurality of sub-resource block interleaving units, wherein the grouping unit is configured to be based on a user equipment The resource block RU currently allocated to divide the plurality of bits in the encoded data stream corresponding to the user equipment into a plurality of sets of input bits, and the number of each input bit of the plurality of input bits is determined by the size of the RU a quantity determining unit; the bit stream dividing unit is configured to allocate each group of input bits in the plurality of sets of bits to at least one sub-resource block interleave unit corresponding to each set of input bits; the sub-resource block interleaving And a unit, configured to discretely interleave a plurality of bits input into each of the sub-resource block interleaving units.
结合第一方面,在第一方面的一种实现方式中,该分组单元具体用于:将该比特分为第一比特组和第二比特组,其中,该第一比特组对应M1个子资源块交织单元,该第二比特组对应M2个子资源块交织单元,该第一比特组对应的子资源块交织单元当前需要处理的RU的大小,大于该第二比特组对应的子资源块交织单元当前需要处理的RU的大小,M1和M2为正整数,且M=M1+M2,M为该用户设备当前被分配到的RU的数量。With reference to the first aspect, in an implementation manner of the first aspect, the grouping unit is specifically configured to: divide the bit into a first bit group and a second bit group, where the first bit group corresponds to M 1 sub-resources a block interleaving unit, where the second bit group corresponds to the M 2 sub-resource block interleaving units, and the size of the RU to be processed by the sub-resource block interleaving unit corresponding to the first bit group is greater than the sub-resource block interlacing corresponding to the second bit group. The size of the RU that the unit currently needs to process, M 1 and M 2 are positive integers, and M = M 1 + M 2 , where M is the number of RUs to which the user equipment is currently assigned.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该分组单元具体用于:在一个分配循环的每个分配周期内,向该第一比特组分配连续的N1个比特,并向该第二比特组分配连续的N2个比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。In combination with the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the grouping unit is specifically configured to allocate a continuous N to the first bit group in each allocation period of an allocation cycle. 1 bit, and allocates consecutive N 2 bits to the second bit group, where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , and RU 1 represents the first bit group corresponding The sub-resource block interleaving unit currently needs to process the size of the RU, and RU 2 indicates the size of the RU that the sub-resource block interleaving unit corresponding to the second bit group currently needs to process, and [] represents the rounding operation.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该分组单元具体用于:交替地向该第一比特组和该第二比特组中分配该用户设备对应的编码数据流中的多个比特;当该第一比特组被分配了N1比特时,停止向该第一比特组中分配比特,其中,N1=[RU1/RU2]·M1,RU1表示该第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示该 第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算;当该第二组比特被分配了N2比特时,停止向该第二比特组中分配比特,其中,N2=M2;当该第一比特组被分配了N1个比特,且该第二比特组被分配了N2个比特时,交替地向该第一比特组和该第二比特组中分配该用户设备对应的编码数据流中的多个比特。In combination with the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the grouping unit is specifically configured to: alternately allocate the user equipment corresponding to the first bit group and the second bit group Encoding a plurality of bits in the data stream; when the first bit group is allocated N 1 bits, stopping assigning bits to the first bit group, where N 1 =[RU 1 /RU 2 ]·M 1 , RU 1 indicates the size of the RU that the sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 indicates the size of the RU that the sub-resource block interleave unit corresponding to the second bit group needs to process, [] indicates An integer operation; when the second set of bits is allocated N 2 bits, stopping assigning bits to the second set of bits, where N 2 = M 2 ; when the first set of bits is allocated N 1 bits, And when the second bit group is allocated N 2 bits, a plurality of bits in the encoded data stream corresponding to the user equipment are alternately allocated to the first bit group and the second bit group.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该分组单元具体用于:生成随机驱动码,该随机驱动码包括多个指示位,该多个指示位与该用户设备对应的编码数据流中的多个比特一一对应,该多个指示位中的每个指示位用于将该每个指示位对应的比特分配到该第一比特组或该第二比特组中,其中,分配到该第一比特组的比特数与分配到该第二比特组的比特数的比值为N1/N2,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。In combination with the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the grouping unit is specifically configured to: generate a random driving code, where the random driving code includes multiple indicator bits, and the multiple indicator bits are Each of the plurality of indicator bits is used to assign a bit corresponding to each indicator bit to the first bit group or the second. In the bit group, wherein the ratio of the number of bits allocated to the first bit group to the number of bits allocated to the second bit group is N 1 /N 2 , where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 = M 2 , where RU 1 indicates the size of the RU that the sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 indicates that the sub-resource block interleave unit corresponding to the second bit group currently needs to be processed. The size of RU, [] represents the rounding operation.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该随机驱动码包括第一指示位和第二指示位,其中,该第一指示位用于将该第一指示位对应的比特分配到该第一比特组,该第二指示位用于将该第一指示位对应的比特分配到该第二比特组。In conjunction with the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the random driving code includes a first indicator bit and a second indicator bit, where the first indicator bit is used to be the first The bit corresponding to the indicator bit is allocated to the first bit group, and the second indicator bit is used to allocate the bit corresponding to the first indicator bit to the second bit group.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该比特分流单元用于将该每个输入比特组中每s个比特顺序或者交替分配到该每个输入比特组对应的至少两个子资源块交织单元中,其中s为大于0的正整数。In combination with the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the bit offloading unit is configured to sequentially or alternately allocate each s bit in each input bit group to each input bit. The at least two sub-resource block interleaving units corresponding to the group, where s is a positive integer greater than zero.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,若s为1,则第x个比特组对应的第iRU个RU所分配到的比特的输出序号j表示为:With reference to the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, if s is 1, the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is represented by for:
j=(iRU-1)+n·kj=(i RU -1)+n·k
若s大于1,则该第x个比特组对应的第iRU个RU所分配到的比特的输出序号j表示为:If s is greater than 1, the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is expressed as:
Figure PCTCN2015073949-appb-000001
Figure PCTCN2015073949-appb-000001
其中k表示该第iRU个RU所分配到的比特的输入序号,k为非负整数,n为该第x个比特组对应的子资源块交织单元的个数。 Where k is the input number of the bit to which the i-th RU unit is allocated, k is a non-negative integer, and n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该装置还包括总比特分流单元,其中,该比特分流单元的输出比特流以每r个比特为单元顺序输入至总比特分流单元,该总比特分流单元用于将该r个比特进行交织后按照一定的次序分别分配到该多个子资源块交织单元中,其中r为正整数。With reference to the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the apparatus further includes a total bit splitting unit, wherein an output bit stream of the bit splitting unit is sequentially input in units of r bits To the total bit splitting unit, the total bit splitting unit is configured to interleave the r bits and then allocate them to the plurality of sub-resource block interleaving units in a certain order, where r is a positive integer.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该装置还包括总资源块交织单元,其中,该多个子资源块交织单元将输出的比特输入到总资源块交织单元中;该总资源块交织单元用于对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织。With reference to the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the apparatus further includes a total resource block interleaving unit, where the multiple sub-resource block interleaving units input the output bits to the total resource block. In the interleaving unit, the total resource block interleaving unit is configured to perform discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该总资源块交织单元具体用于:根据预先设定的列表,对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织;或者对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元按照行列规则进行交织。In combination with the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the total resource block interleaving unit is specifically configured to: use the sub-resource block corresponding to each bit group according to a preset list. At least two sub-resource block interleaving units in the interleaving unit perform discrete interleaving; or at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group are interleaved according to a row-column rule.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该总资源块交织单元还用于:当第x个比特组对应的子资源块交织单元的个数为大于1的奇数时,对该总资源块交织单元的最后一个位置空出。In combination with the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the total resource block interleaving unit is further configured to: when the number of the sub resource block interleaving units corresponding to the xth bit group is greater than When the odd number is 1, the last position of the interleaved unit of the total resource block is vacated.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该多个资源块交织单元还用于:将离散交织后的多个比特按照一定的次序串行输出或者并行输出。In combination with the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the multiple resource block interleaving units are further configured to: serially output the discrete interleaved multiple bits in a certain order or in parallel Output.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该多个子资源块交织单元中的每个子资源块交织单元具体用于:根据该每个子资源块交织单元的顺序将该每个子资源块交织单元内的比特进行循环移位。With reference to the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, each of the multiple resource block interleaving units is specifically configured to: according to the interleaving unit of each sub-resource block The bits in each of the sub-resource block interleaving units are cyclically shifted in order.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该每个子资源块交织单元具体用于:根据该每个子资源块交织单元当前需要处理的RU的顺序,将该每个子资源块交织单元内的比特向右或者向左循环移位s位。With reference to the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the each sub-resource block interleaving unit is specifically configured to: according to an order of RUs that each sub-resource block interleave unit currently needs to process, The bits in each of the sub-resource block interleaving units are cyclically shifted by s bits to the right or left.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,根据该每个子资源块交织单元当前需要处理的RU的顺序,将该每个子资源块交织单元内的比特向右循环移位s位,则第x个比特组对应的第iRU个RU输入比特与输出比特j对应关系为: With reference to the first aspect and the foregoing implementation manner, in another implementation manner of the first aspect, the bit direction in the interleaving unit of each sub-resource block is in accordance with an order of RUs that each sub-resource block interleaving unit currently needs to process s-bit right circular shift, the x-th bit group corresponding to the first I RU RU th input bits and output bits j correspondence is:
Figure PCTCN2015073949-appb-000002
Figure PCTCN2015073949-appb-000002
根据该每个子资源块交织单元当前需要处理的RU的顺序,将该每个子资源块交织单元内的比特向左循环移位s位,则该第x个比特组对应的第iRU个RU输入比特与输出比特j对应关系为:The sequence of the interleaving block of each sub-resource unit RU currently need to be processed, each of the sub-block interleaved bits within the resource unit bit left cyclic shift s, the x-th bit group corresponding to the first input I RU RU th The correspondence between the bit and the output bit j is:
Figure PCTCN2015073949-appb-000003
Figure PCTCN2015073949-appb-000003
其中1≤iRU≤n,k=0,1,…,n为该用户设备当前被分配的RU的数目,m为调制阶数,k为该第iRU个RU的输入比特的位置序号,j为该第iRU个RU的输出比特的位置序号,n为该第x个比特组对应的子资源块交织单元的个数。Where 1 ≤ i RU ≤ n, k = 0, 1, ..., n is the number of RUs currently allocated by the user equipment, m is the modulation order, and k is the position number of the input bit of the i-th RU RU, j is the position number of the output bit of the i-th RU unit, and n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
第二方面,提供了一种交织处理方法,应用于基于OFMDA的WLAN系统中,该方法包括:根据用户设备当前被分配到的资源块RU,分组单元将该用户设备对应的编码数据流中的多个比特分为多组输入比特,该多组输入比特中的每一组输入比特的数量由该RU的大小和数量确定;比特分流单元将该多组比特中的每一组输入比特按照一定的次序分配到该每一组输入比特对应的至少一个子资源块交织单元中;子资源块交织单元将输入到每个子资源块交织单元中的多个比特进行离散交织。In a second aspect, an interleaving processing method is provided, which is applied to an OFMDA-based WLAN system, the method comprising: according to a resource block RU to which a user equipment is currently allocated, a packet unit in the encoded data stream corresponding to the user equipment The plurality of bits are divided into a plurality of sets of input bits, the number of each of the plurality of sets of input bits being determined by the size and number of the RUs; the bit shunting unit according to each set of input bits of the plurality of sets of bits The order is allocated to at least one sub-resource block interleave unit corresponding to each set of input bits; the sub-resource block interleave unit discretely interleaves a plurality of bits input into each sub-resource block interleave unit.
结合第二方面,在第二方面的一种实现方式中,该根据用户设备当前被分配到的资源块RU,分组单元将该用户设备对应的编码数据流中的多个比特分为多组输入比特,包括:该分组单元将该多个比特分为第一比特组和第二比特组,其中,该第一比特组对应M1个子资源块交织单元,该第二比特组对应M2个子资源块交织单元,该第一比特组对应的子资源块交织单元当前需要处理的RU的大小,大于该第二比特组对应的子资源块交织单元当前需要处理的RU的大小,M1和M2为正整数,且M=M1+M2,M为该用户设备当前被分配到的RU的数量。With reference to the second aspect, in an implementation manner of the second aspect, the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into multiple groups of inputs according to the resource block RU to which the user equipment is currently allocated. a bit, comprising: the grouping unit dividing the plurality of bits into a first bit group and a second bit group, wherein the first bit group corresponds to M 1 sub-resource block interleaving units, and the second bit group corresponds to M 2 sub-resources a block interleaving unit, the size of the RU that needs to be processed by the sub-resource block interleaving unit corresponding to the first bit group is greater than the size of the RU currently required to be processed by the sub-resource block interleave unit corresponding to the second bit group, M 1 and M 2 Is a positive integer, and M = M 1 + M 2 , where M is the number of RUs to which the user equipment is currently assigned.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该根据用户设备当前被分配到的资源块RU,分组单元将该用户设备对应的编码数据流中的多个比特分为多组输入比特,包括:在一个分配循环的每个分配周期内,向该第一比特组分配连续的N1个比特,并向该第二比特组分配连续的N2个比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比 特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, the grouping unit is configured to use the resource block RU to which the user equipment is currently allocated, and the grouping unit is configured to use the plurality of encoded data streams corresponding to the user equipment. The bit is divided into a plurality of sets of input bits, including: allocating consecutive N 1 bits to the first bit group and allocating consecutive N 2 bits to the second bit group in each allocation period of an allocation cycle, Wherein, N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , and RU 1 represents the size of the RU that the sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 represents the first The size of the RU that the sub-resource block interleaving unit corresponding to the second bit needs to process, [] represents the rounding operation.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该根据用户设备当前被分配到的资源块RU,分组单元将该用户设备对应的编码数据流中的多个比特分为多组输入比特,包括:交替地向该第一比特组和该第二比特组中分配该用户设备对应的编码数据流中的多个比特;当该第一比特组被分配了N1比特时,停止向该第一比特组中分配比特,其中,N1=[RU1/RU2]·M1,RU1表示该第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算;当该第二组比特被分配了N2比特时,停止向该第二比特组中分配比特,其中,N2=M2;当该第一比特组被分配了N1个比特,且该第二比特组被分配了N2个比特时,交替地向该第一比特组和该第二比特组中分配该用户设备对应的编码数据流中的多个比特。With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, the grouping unit is configured to use the resource block RU to which the user equipment is currently allocated, and the grouping unit is configured to use the plurality of encoded data streams corresponding to the user equipment. The bit is divided into a plurality of sets of input bits, including: alternately allocating a plurality of bits in the encoded data stream corresponding to the user equipment to the first bit group and the second bit group; when the first bit group is allocated N When 1 bit is used, the allocation of bits to the first bit group is stopped, where N 1 =[RU 1 /RU 2 ]·M 1 , and RU 1 indicates that the sub-resource block interleaving unit corresponding to the first bit group currently needs to be processed. The size of RU, RU 2 indicates the size of the RU that the sub-resource block interleaving unit corresponding to the second bit group needs to process, [] represents the rounding operation; when the second group of bits is allocated N 2 bits, the stopping Allocating bits in the second bit group, where N 2 = M 2 ; when the first bit group is allocated N 1 bits, and the second bit group is allocated N 2 bits, alternately Allocating the first bit group and the second bit group A plurality of bits corresponding to the user equipment encoded data stream.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该根据用户设备当前被分配到的资源块RU,分组单元将该用户设备对应的编码数据流中的多个比特分为多组输入比特,包括:生成随机驱动码,该随机驱动码包括多个指示位,该多个指示位与该用户设备对应的编码数据流中的多个比特一一对应,该多个指示位中的每个指示位用于将该每个指示位对应的比特分配到该第一比特组或该第二比特组中,其中,分配到该第一比特组的比特数与分配到该第二比特组的比特数的比值为N1/N2,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, the grouping unit is configured to use the resource block RU to which the user equipment is currently allocated, and the grouping unit is configured to use the plurality of encoded data streams corresponding to the user equipment. The bit is divided into a plurality of sets of input bits, including: generating a random driving code, where the random driving code includes a plurality of indicator bits, and the plurality of indicator bits are in one-to-one correspondence with a plurality of bits in the encoded data stream corresponding to the user equipment, Each of the indicator bits is used to allocate a bit corresponding to each indicator bit to the first bit group or the second bit group, wherein the number of bits allocated to the first bit group is allocated to The ratio of the number of bits of the second bit group is N 1 /N 2 , where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , and RU 1 represents the child corresponding to the first bit group The size of the RU that the resource block interleaving unit currently needs to process, the RU 2 indicates the size of the RU that the sub-resource block interleaving unit corresponding to the second bit group needs to process, and [] represents the rounding operation.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该随机驱动码包括第一指示位和第二指示位,其中,该第一指示位用于将该第一指示位对应的比特分配到该第一比特组,该第二指示位用于将该第一指示位对应的比特分配到该第二比特组。In conjunction with the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, the random driving code includes a first indicator bit and a second indicator bit, where the first indicator bit is used to be the first The bit corresponding to the indicator bit is allocated to the first bit group, and the second indicator bit is used to allocate the bit corresponding to the first indicator bit to the second bit group.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该比特分流单元将该每个输入比特组中每s个比特顺序或者交替分配到该每个 输入比特组对应的至少两个子资源块交织单元中,其中s为大于0的正整数。With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, the bit splitting unit sequentially or alternately allocates each s bits in each input bit group to each of the bits Entering at least two sub-resource block interleave units corresponding to the bit group, where s is a positive integer greater than zero.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,若s为1,则第x个比特组对应的第iRU个RU所分配到的比特的输出序号j表示为:With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, if s is 1, the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is represented by for:
j=(iRU-1)+n·kj=(i RU -1)+n·k
若s大于1,则该第x个比特组对应的第iRU个RU所分配到的比特的输出序号j表示为:If s is greater than 1, the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is expressed as:
Figure PCTCN2015073949-appb-000004
Figure PCTCN2015073949-appb-000004
其中k表示该第iRU个RU所分配到的比特的输入序号,k为非负整数,n为该第x个比特组对应的子资源块交织单元的个数。Where k is the input number of the bit to which the i-th RU unit is allocated, k is a non-negative integer, and n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该方法还包括:该比特分流单元的输出比特流以每r个比特为单元顺序输入至总比特分流单元;该总比特分流单元将该r个比特进行交织后按照一定的次序分别分配到该多个子资源块交织单元中,其中r为正整数。With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, the method further includes: outputting the bit stream of the bit splitting unit into the total bit shunting unit in units of r bits; The total bit shunting unit interleaves the r bits and respectively allocates them to the plurality of sub-resource block interleaving units in a certain order, where r is a positive integer.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该方法还包括:该多个子资源块交织单元将输出的比特输入到总资源块交织单元中;该总资源块交织单元对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织。With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, the method further includes: the multiple sub-resource block interleaving units input the output bits into the total resource block interleaving unit; the total resource The block interleaving unit performs discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该总资源块交织单元对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织,包括:根据预先设定的列表,该总资源块交织单元对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织;或者该总资源块交织单元对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元按照行列规则进行交织。With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, the total resource block interleaving unit at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group Performing discrete interleaving includes: performing, by the total resource block interleaving unit, discrete interleaving of at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group according to a preset list; or the total resource block The interleaving unit interleaves the at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group according to the row-column rule.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该总资源块交织单元对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元按照行列规则进行交织,包括:当第x个比特组对应的子资源块交织单元的个数为大于1的奇数时,对该总资源块交织单元的最后一个位置空出。With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, the total resource block interleaving unit at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group The interleaving according to the row and column rules includes: when the number of sub-resource block interleaving units corresponding to the xth bit group is an odd number greater than 1, the last position of the interleaved unit of the total resource block is vacated.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该多个子资源块交织单元中的每个子资源块交织单元将输入该每个子资源块 交织单元的多个比特进行离散交织,包括:将离散交织后的多个比特按照一定的次序串行输出或者并行输出。With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, each of the plurality of sub-resource block interleaving units inputs the sub-resource block The plurality of bits of the interleaving unit are discretely interleaved, including: serially outputting or sequentially outputting the plurality of bits after the discrete interleaving in a certain order.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该多个子资源块交织单元中的每个子资源块交织单元将输入该每个子资源块交织单元的多个比特进行离散交织,包括:该多个子资源块交织单元中的每个子资源块交织单元根据该每个子资源块交织单元的顺序将该每个子资源块交织单元内的比特进行循环移位。With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, each of the plurality of sub-resource block interleaving units is to input multiple bits of the inter-resource unit of each sub-resource block Performing discrete interleaving includes: each of the plurality of sub-resource block interleaving units cyclically shifts bits in each of the sub-resource block interleaving units according to an order of the each sub-resource block interleaving unit.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该多个子资源块交织单元中的每个子资源块交织单元根据该每个子资源块交织单元的顺序将该每个子资源块交织单元内的比特进行循环移位,包括:该每个子资源块交织单元根据该每个子资源块交织单元当前需要处理的RU的顺序,将该每个子资源块交织单元内的比特向右或者向左循环移位s位。With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, each of the plurality of sub-resource block interleaving units is configured according to an order of each of the sub-resource block interleaving units The bits in the sub-resource block interleaving unit are cyclically shifted, including: each sub-resource block interleave unit, according to the order of the RUs that each sub-resource block interleave unit needs to process, the bit in each inter-resource block interleave unit Rotate the s bit right or left.
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,根据该每个子资源块交织单元当前需要处理的RU的顺序,将该每个子资源块交织单元内的比特向右循环移位s位,则第x个比特组对应的第iRU个RU输入比特与输出比特j对应关系为:With reference to the second aspect and the foregoing implementation manner, in another implementation manner of the second aspect, the bit direction in the interleave unit of each sub-resource block is in accordance with an order of RUs that each sub-resource block interleave unit currently needs to process s-bit right circular shift, the x-th bit group corresponding to the first I RU RU th input bits and output bits j correspondence is:
Figure PCTCN2015073949-appb-000005
Figure PCTCN2015073949-appb-000005
根据该每个子资源块交织单元当前需要处理的RU的顺序,将该每个子资源块交织单元内的比特向左循环移位s位,则第x个比特组对应的第iRU个RU输入比特与输出比特j对应关系为:The sequence of the interleaving block of each sub-resource unit RU currently need to be processed, each of the sub-block interleaved bits within the resource unit bit left cyclic shift s, the x-th bit group corresponding to the first input bits I RU RU th Correspondence with output bit j is:
Figure PCTCN2015073949-appb-000006
Figure PCTCN2015073949-appb-000006
其中1≤iRU≤n,k=0,1,…,n为该用户设备当前被分配的RU的数目,m为调制阶数,k为该第iRU个RU的输入比特的位置序号,j为该第iRU个RU的输出比特的位置序号,n为该第x个比特组对应的子资源块交织单元的个数。Where 1 ≤ i RU ≤ n, k = 0, 1, ..., n is the number of RUs currently allocated by the user equipment, m is the modulation order, and k is the position number of the input bit of the i-th RU RU, j is the position number of the output bit of the i-th RU unit, and n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
基于上述技术方案,本发明实施例的交织处理的方法和装置,应用于基于OFMDA的WLAN系统中,通过分组单元按照当前用户设备被分配的RU的大小和数量,将用户设备对应的编码数据流中的多个比特分为多组输入比特;比特分流单元将多个输入比特组中的每个输入比特组包括的比特按照一 定的次序分配到该每个比特组对应的所有子资源块交织单元中;由多个子资源块交织单元中的每个子资源块交织单元将输入该每个子资源块交织单元的多个比特进行离散交织,该交织方案适用于单个用户设备被分配多个RU时,且性能优异实现简单,从而在不增加系统复杂度的情况下,提高系统的性能。Based on the above technical solution, the method and apparatus for interleaving processing in the embodiment of the present invention are applied to an OFDMA-based WLAN system, and the encoded data stream corresponding to the user equipment is configured by the grouping unit according to the size and number of RUs allocated by the current user equipment. The plurality of bits are divided into a plurality of sets of input bits; the bit splitting unit divides the bits included in each of the plurality of input bit groups according to one a predetermined order is allocated to all sub-resource block interleave units corresponding to each bit group; each sub-resource block interleave unit of the plurality of sub-resource block interleaving units discretizes a plurality of bits input to each of the sub-resource block interleave units Interleaving, the interleaving scheme is applicable when a single user equipment is allocated multiple RUs, and the performance is excellent and the implementation is simple, thereby improving the performance of the system without increasing system complexity.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为现有WLAN标准中BCC编码时BICM部分系统框图;1 is a block diagram of a BICM part system in BCC encoding in the existing WLAN standard;
图2为现有技术中为对待传输数据比特进行三次子交织处理的第一实施方式示意图;2 is a schematic diagram of a first embodiment of performing three sub-interleaving processes for data bits to be transmitted in the prior art;
图3为现有技术中为对待传输数据比特进行三次子交织处理的第二实施方式示意图;3 is a schematic diagram of a second embodiment of performing three sub-interleaving processes for data bits to be transmitted in the prior art;
图4a为发明提供的一种WLAN设备的第一实施方式结构示意图;4a is a schematic structural diagram of a first embodiment of a WLAN device according to the present invention;
图4b为发明提供的一种WLAN设备的第一实施方式结构中交织处理单元的示意图;4b is a schematic diagram of an interleaving processing unit in a first embodiment structure of a WLAN device according to the present invention;
图5为本发明提供的一种WLAN设备的第二实施方式结构示意图;FIG. 5 is a schematic structural diagram of a second embodiment of a WLAN device according to the present invention; FIG.
图6为根据本发明实施例的交织处理的装置的示意性框图。FIG. 6 is a schematic block diagram of an apparatus for interleaving processing according to an embodiment of the present invention.
图7为根据本发明实施例的交织处理的装置的另一示意性框图。FIG. 7 is another schematic block diagram of an apparatus for interleaving processing according to an embodiment of the present invention.
图8为根据本发明实施例的交织处理的装置的再一示意性框图。FIG. 8 is still another schematic block diagram of an apparatus for interleaving processing according to an embodiment of the present invention.
图9为本发明实施例提供的子资源块交织单元交织方式的示意图;FIG. 9 is a schematic diagram of an interleaving manner of a sub-resource block interleaving unit according to an embodiment of the present invention;
图10为本发明实施例提供的子资源块交织单元另一交织方式的示意图;FIG. 10 is a schematic diagram of another interleaving manner of a sub-resource block interleaving unit according to an embodiment of the present disclosure;
图11为本发明提供的一种WLAN设备的第三实施方式结构示意图;11 is a schematic structural diagram of a third embodiment of a WLAN device according to the present invention;
图12为本发明提供的一种WLAN系统中的交织处理方法的第一实施方式的流程图;12 is a flowchart of a first implementation manner of an interleaving processing method in a WLAN system according to the present invention;
图13为本发明提供的一种WLAN系统中的交织处理方法的第二实施方式的流程图;FIG. 13 is a flowchart of a second implementation manner of an interleaving processing method in a WLAN system according to the present invention;
图14为本发明提供的一种WLAN系统中的交织处理方法的第三实施方 式的流程图;FIG. 14 is a third implementation manner of an interleaving processing method in a WLAN system according to the present invention. Flow chart
图15为本发明提供的一种WLAN系统中另一实施例的架构示意图;FIG. 15 is a schematic structural diagram of another embodiment of a WLAN system according to the present invention;
图16为四种交织方案在Channel D NLOS信道下编码调制为MCS0时性能比较示意图。FIG. 16 is a schematic diagram showing performance comparison of four interleaving schemes when coding and modulating into MCS0 under the Channel D NLOS channel.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
目前在802.11a/g/n/ac/ah标准中,采用了基于比特交织编码调制(it-Interleaved Coded Modulation,BICM)的系统框架,如图1所示意,串行级联一个信道编码器、一分流器、一个比特交织器和一个无记忆的星座映射器。在衰落信道下,BICM系统通过级联交织器增加信道编码增益,从而有效提高系统传输可靠度。Currently, in the 802.11a/g/n/ac/ah standard, a system framework based on bit-interleaved coded modulation (BICM) is adopted, as shown in Fig. 1, serially cascading a channel coder, A shunt, a bit interleaver, and a memoryless constellation mapper. Under the fading channel, the BICM system increases the channel coding gain through the cascade interleaver, thereby effectively improving the system transmission reliability.
现有WLAN标准结合了OFDM和BICM技术,在OFDM调制之前对信道编码比特序列进行交织操作,从而在无线衰落信道下获得频域编码分集增益。The existing WLAN standard combines OFDM and BICM techniques to interleave a channel coded bit sequence prior to OFDM modulation to obtain a frequency domain coded diversity gain over a wireless fading channel.
图1为现有WLAN标准中二进制卷积码(Binary Convolutional Code,BCC)编码时BICM部分系统框图。如图可见,交织器串行级联在BCC编码器和星座映射器之间,图中交织器对OFDM符号的比特进行交织操作以获得频域编码分集。该系统包括如下元件:前向差错控制(Forward Error Control,FEC)单元,用以对数据比特进行信道编码操作,得到信道编码后数据比特流。分流器(Stream Parser,SP)用以将FEC单元中的单比特流分配到iss个空间数据流。交织器(Interlever)用以对每个空间数据流进行交织操作,可以交织多次,例如可以为3次。星座映射器(Constellation Mapper)用以将交织后比特流映射至调制星座图中的星座点上,得到星座符号数据流。循环移位延迟(Cyclic Shift Delay,CSD)单元用以分别对各个空间数据流进行循环移位延迟操作。Figure 1 is a block diagram of the BICM part of the Binary Convolutional Code (BCC) encoding in the existing WLAN standard. As can be seen, the interleaver is serially cascaded between the BCC encoder and the constellation mapper, where the interleaver interleaves the bits of the OFDM symbol to obtain frequency domain coded diversity. The system includes the following components: a Forward Error Control (FEC) unit for performing a channel coding operation on the data bits to obtain a channel-coded data bit stream. A Stream Parser (SP) is used to allocate a single bit stream in the FEC unit to the iss spatial data stream. The interleaver (Interlever) is used to interleave each spatial data stream, and may be interleaved multiple times, for example, three times. The Constellation Mapper is used to map the interleaved bitstream to the constellation points in the modulation constellation to obtain a constellation symbol data stream. A Cyclic Shift Delay (CSD) unit is used to perform a cyclic shift delay operation on each spatial data stream.
当采用BCC编码时均需要进行频域的交织处理,其中802.11a/g标准交织处理两次,802.11n/ac/ah标准由于引入了MIMO(Multiple Input Multiple  Output,多入多出)技术,需要交织处理三次。其中,802.11a/g标准进行的两次子交织处理与802.11n/ac/ah标准进行前两次子交织处理的方法相同。When BCC coding is adopted, frequency domain interleaving processing is required, where 802.11a/g standard interleaving is performed twice, and 802.11n/ac/ah standard introduces MIMO (Multiple Input Multiple) Output, multiple input and multiple output technology, need to be interleaved three times. The two sub-interleaving processes performed by the 802.11a/g standard are the same as the first two sub-interleaving processes performed by the 802.11n/ac/ah standard.
为了可以更清楚的对本方案进行描述,首先,对802.11n/ac/ah标准中,进行三次子交织处理的方法进行简单描述。In order to describe the scheme more clearly, first, a method of performing three sub-interleaving processing in the 802.11n/ac/ah standard is briefly described.
如图2所示,为对待传输数据比特进行三次子交织处理的示意图。第一交织处理单元用以将相邻的待传输数据比特映射到不相邻的数据子载波上。k表示第一交织处理单元输入位置标号,i表示待传输数据比特经过第一交织处理单元后,对应的输出位置标号(或第一交织处理单元的输入位置标号);k与i的映射关系可以为:As shown in FIG. 2, a schematic diagram of performing three sub-interleaving processes for data bits to be transmitted. The first interleaving processing unit is configured to map adjacent data bits to be transmitted onto non-adjacent data subcarriers. k denotes an input position label of the first interleaving processing unit, and i denotes a corresponding output position label (or an input position label of the first interleaving processing unit) after the data bit to be transmitted passes through the first interleaving processing unit; the mapping relationship between k and i may be for:
Figure PCTCN2015073949-appb-000007
Figure PCTCN2015073949-appb-000007
其中,NCOL、NROW为已知的第一交织处理单元处理的交织参数;NCBPSSI为第一交织处理单元处理的输入/输出位置个数,且NCBPSSI等于数据子载波数量乘以调制阶数;
Figure PCTCN2015073949-appb-000008
表示下取整操作。值得说明的是,NCOL、NROW均由数据子载波数量决定。
Where N COL , N ROW are the interleaving parameters processed by the known first interleaving processing unit; N CBPSSI is the number of input/output locations processed by the first interleaving processing unit, and N CBPSSI is equal to the number of data subcarriers multiplied by the modulation order number;
Figure PCTCN2015073949-appb-000008
Indicates the rounding operation. It is worth noting that N COL and N ROW are all determined by the number of data subcarriers.
第二交织处理单元用以将相邻的编码比特交错地映射到星座图中低有效位(LSB)和高有效位(MSB),避免编码比特连续映射于低有效位。i表示第一交织处理单元第一次交织之后的输出位置标号,也是第二交织处理单元处理的输入位置标号,j表示待传输数据比特经过第二交织处理单元交织处理后的输出位置标号,i与j的映射关系可以为:The second interleaving processing unit is configured to alternately map adjacent coded bits to a low significant bit (LSB) and a high significant bit (MSB) in the constellation, to prevent the coded bits from being continuously mapped to the low significant bits. i denotes an output position label after the first interleaving of the first interleaving processing unit, and is also an input position label processed by the second interleaving processing unit, and j denotes an output position label after the data bit to be transmitted is interleaved by the second interleaving processing unit, i The mapping relationship with j can be:
Figure PCTCN2015073949-appb-000009
Figure PCTCN2015073949-appb-000009
其中,s=max(NBPSCS/2,1)。Where s=max(N BPSCS /2,1).
第三交织处理单元用以对其它空间流进行了频率旋转,降低不同空间流相邻比特之间的相关性。j表示第二交织处理单元交织处理后的输出位置标号,也是第三交织处理单元交织处理的输入位置标号,r表示待传输数据比特经过第三交织处理单元交织处理后的输出位置标号。如果空间流数目Nss大于等于2小于等于4,j与r的映射关系可以为:The third interleaving processing unit is configured to perform frequency rotation on other spatial streams to reduce correlation between adjacent bits of different spatial streams. j denotes an output position number after the interleaving process of the second interleaving processing unit, and is also an input position number of the interleaving process of the third interleaving processing unit, and r denotes an output position number of the data bit to be transmitted after being interleaved by the third interleaving processing unit. If the number of spatial streams N ss is greater than or equal to 2 and less than or equal to 4, the mapping relationship between j and r can be:
Figure PCTCN2015073949-appb-000010
Figure PCTCN2015073949-appb-000010
j=0,1,…,NCBPSSI-1,iss=1,2,3…Nss j=0,1,...,N CBPSSI -1,i ss =1,2,3...N ss
其中,NBPSCS为调制阶数;NROT为已知的第三交织处理单元交织处理的交织参数。如果空间流数目大于4,则j与r的映射关系可以为:Wherein, N BPSCS is a modulation order; N ROT is an interleaving parameter of a known third interleaving processing unit interleaving process. If the number of spatial streams is greater than 4, the mapping relationship between j and r can be:
r={j-J(iss)·NROT·NBPSCS}mod NCBPSSI, r = {jJ (i ss) · N ROT · N BPSCS} mod N CBPSSI,
j=0,1,2,…NCBPSSI-1,iss=1,2,3…Nss j=0,1,2,...N CBPSSI -1,i ss =1,2,3...N ss
其中,J(iss)为上式中流比特循环移位系数,iss则指空间比特流的序号,J(iss)取值与iss有关,二者的关系如下表所示:Where J(i ss ) is the stream bit cyclic shift coefficient in the above formula, i ss is the sequence number of the spatial bit stream, and J(i ss ) is related to i ss . The relationship between the two is as follows:
iss i ss J(iss)J(i ss )
11 00
22 55
33 22
44 77
55 33
66 66
77 11
88 44
另外,不同带宽与交织参数的关系如下表所示可以为:In addition, the relationship between different bandwidths and interleaving parameters can be as follows:
ParameterParameter 20MHz20MHz 40MHz40MHz 80MHz80MHz
NCOL N COL 1313 1818 2626
NROW N ROW 4×NBPSCS N BPSCS 6×NBPSCS N BPSCS 9×NBPSCS 9×N BPSCS
NROT(NSS≤4)N ROT (N SS ≤ 4) 1111 2929 5858
NROT(NSS>4)N ROT (N SS >4) 66 1313 2828
其中,NCOL、NROW为已知的第一交织处理单元处理的交织参数,NROT为流比特循环移位的块大小系数,NBPSCS为调制阶数。Where N COL and N ROW are the interleaving parameters processed by the known first interleaving processing unit, N ROT is the block size coefficient of the stream bit cyclic shift, and N BPSCS is the modulation order.
值得说明的是,不同带宽时的数据子载波数量也可以不同,且在某一带宽下,数据子载波的数量固定不变。It is worth noting that the number of data subcarriers in different bandwidths may also be different, and the number of data subcarriers is fixed under a certain bandwidth.
例如,当带宽为20MHz时,数据子载波数量可以为52;当带宽为40MHz时,数据子载波数量可以为108;当带宽为80MHz时,数据子载波数量可 以为234。并不限于上述列举的情况,还可以根据实际需要进行设定,在此不再赘述。For example, when the bandwidth is 20 MHz, the number of data subcarriers may be 52; when the bandwidth is 40 MHz, the number of data subcarriers may be 108; when the bandwidth is 80 MHz, the number of data subcarriers may be Thought 234. It is not limited to the above-mentioned cases, and may be set according to actual needs, and details are not described herein again.
值得说明的是,上述实施方式中每次子交织处理的输入位置与输出位置是一一对应的,但也可采用不是按输入位置的次序一一对应的实施方式。例如图3所示,为现有技术中为对待传输数据比特进行三次子交织处理的第二实施方式示意图。It should be noted that, in the above embodiment, the input position of each sub-interlacing process has a one-to-one correspondence with the output position, but an embodiment that does not correspond one-to-one in the order of the input position may be adopted. For example, as shown in FIG. 3, it is a schematic diagram of a second embodiment for performing three sub-interleaving processes on data bits to be transmitted in the prior art.
其中,图3所示的传输数据比特1在进行第一次子交织处理前的输入位置为第一次子交织处理的第一个输入位置,在进行第一次子交织处理之后的输出位置可能为第一次子交织处理的第二个输出位置,则此时,该传输数据比特进行第二次子交织处理前的输入位置为第二次子交织处理的第二个输入位置,进行第二次子交织处理之后的输出位置可能为第二次子交织处理的第三个输出位置,第三次子交织处理的输入位置与输出位置关系不再赘述,且可以根据实际需要与相应的协议进行设定。Wherein, the input position of the transmission data bit 1 shown in FIG. 3 before the first sub-interleaving process is the first input position of the first sub-interleave processing, and the output position after the first sub-interleave processing may be performed. For the second output position of the first sub-interleave processing, at this time, the input position before the second sub-interleave processing of the transmission data bit is the second input position of the second sub-interleave processing, and the second input position is performed. The output position after the second sub-interlacing process may be the third output position of the second sub-interlacing process, and the relationship between the input position and the output position of the third sub-interlacing process is not described again, and may be performed according to actual needs and corresponding protocols. set up.
进一步的,WLAN设备在对待传输数据比特进行交织处理后,对进行交织处理后的待传输数据比特进行调制,得到调制信号,然后,将调制信号映射到相应的数据子载波上发送。Further, after the WLAN device performs interleaving processing on the data bits to be transmitted, the data bits to be transmitted after the interleaving process are modulated to obtain a modulated signal, and then the modulated signal is mapped to the corresponding data subcarrier for transmission.
如图3所示,交织器中的每个用于进行交织的输入/输出位置均与相应的数据子载波对应,即经过任意输入/输出位置的待传输数据比特均会被映射到相应的数据子载波上后并被发送。As shown in FIG. 3, each of the input/output positions for interleaving in the interleaver corresponds to a corresponding data subcarrier, that is, data bits to be transmitted through any input/output position are mapped to corresponding data. After the subcarrier is sent and sent.
本实施例对对待传输数据比特进行调制的方法、和输入/输出位置与数据子载波的对应关系不作限定,为本领域技术人员熟知的技术,且可以根据实际需要进行设定,在此不再赘述。The method for modulating the data bits to be transmitted and the correspondence between the input/output locations and the data subcarriers are not limited in this embodiment, and are well-known in the art, and can be set according to actual needs, and are no longer Narration.
对于传统OFDM系统,单个用户设备的数据对应于整个频带,交织器的大小对应于该带宽大小(例如:20M/40M/80M),而交织器的参数(NROW,NCOL)则只需针对三种带宽设计即可。然而,对于OFDMA系统,单个用户设备则可能被分配数目灵活大小灵活的RU,这样该用户设备所对应的频带大小数目众多。在这种情况下,采用上述技术将需要设计数目众多的交织器,并且每个交织器大小均为m·n·NRU,其中NRU为每个RU内数据子载波的个数,m为调制阶数,n为该用户设备所分配到的RU数目。由此可见,上述技术需要保存一组参数各异的比特交织器,对于WLAN系统其实现复杂度过高。 For a conventional OFDM system, the data of a single user equipment corresponds to the entire frequency band, the size of the interleaver corresponds to the bandwidth size (for example: 20M/40M/80M), and the parameters of the interleaver (N ROW , N COL ) need only Three bandwidth designs are available. However, for an OFDMA system, a single user equipment may be assigned a number of flexible and flexible RUs, such that the number of frequency bands corresponding to the user equipment is large. In this case, using the above technique would require designing a large number of interleavers, and each interleaver size is m·n·N RU , where N RU is the number of data subcarriers within each RU, m is The modulation order, n is the number of RUs allocated to the user equipment. It can be seen that the above technology needs to save a set of bit interleavers with different parameters, and the implementation complexity is too high for the WLAN system.
更进一步,下一代WLAN系统引入OFDMA后,现有WLAN标准所定义的单个带宽下固定长度的比特交织器无法重用,需重新设计长度更灵活的交织器;对于基于OFDMA的WLAN系统,单个用户设备被分配多个RU时,重新设计的交织方案需要性能优异且实现简单。Furthermore, after the introduction of OFDMA in the next-generation WLAN system, the fixed-length bit interleaver of a single bandwidth defined by the existing WLAN standard cannot be reused, and a more flexible interleaver needs to be redesigned; for an OFDMA-based WLAN system, a single user equipment When multiple RUs are assigned, the redesigned interleaving scheme requires superior performance and simplicity of implementation.
为了解决上述问题,本发明第一实施例提供一种基于OFDMA的WLAN系统架构图,其中该WLAN系统为单个用户设备分配多个RU时采用串行级联装置,该串行级联方式可以采用四级处理器,如图4所示,其中该WLAN设备,其包括接入点(Access point,AP)和终端,如发射端是AP,接收端为终端,如图4a所示,其中在发射端包括:FEC单元、分流器、交织处理装置、星座映射器和循环移位延迟单元,其中,如图4b所示,基于OFMDA的WLAN系统中的交织处理装置又包括分组单元、比特分流单元和子资源块交织单元。In order to solve the above problem, the first embodiment of the present invention provides an OFDMA-based WLAN system architecture diagram, where the WLAN system uses a serial cascading device when allocating multiple RUs for a single user equipment, and the serial cascading mode can be adopted. A four-level processor, as shown in FIG. 4, wherein the WLAN device includes an access point (AP) and a terminal, such as a transmitting end being an AP and a receiving end being a terminal, as shown in FIG. 4a, where the transmitting The terminal includes: an FEC unit, a splitter, an interleaving processing device, a constellation mapper, and a cyclic shift delay unit, wherein, as shown in FIG. 4b, the interleave processing device in the OFMDA-based WLAN system further includes a packet unit, a bit split unit, and a sub Resource block interleaving unit.
FEC编码器单元,用于对数据比特进行信道编码操作,得到信道编码后数据比特流。The FEC encoder unit is configured to perform channel coding operation on the data bits to obtain a channel-coded data bit stream.
分流器,用于将FEC单元中的单比特流分配到iss个空间数据流,其中空间数据流指MIMO多天线时需要从单数据流转为iss个数据流,以便多个天线同时发送数据。A splitter is configured to allocate a single bit stream in the FEC unit to the iss spatial data stream, where the spatial data stream refers to a MIMO multi-antenna that needs to be converted from a single data stream to an iss data stream, so that multiple antennas simultaneously transmit data.
分组单元,用于根据用户设备当前被分配到的资源块RU,将该用户设备对应的编码数据流中的多个比特分为多组输入比特,该多组输入比特中的每一组输入比特的数量由用户设备当前被分配到的RU的大小和数量确定;且每组输入比特对应至少一个子资源块交织单元,同一组输入比特对应的子资源块交织单元当前需要处理的RU的大小相同。a grouping unit, configured to divide, according to the resource block RU to which the user equipment is currently allocated, a plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, each group of input bits of the multiple sets of input bits The number of the RUs is determined by the size and number of the RUs to which the user equipment is currently allocated; and each set of input bits corresponds to at least one sub-resource block interleaving unit, and the sub-resource interleave units corresponding to the same set of input bits currently need to process the same RU. .
可选地,该发射端可以包括iss个分组单元,一个分组单元对应一个空间数据流,iss个分组单元分别将iss个空间数据流的比特分配到每组输入比特中。Optionally, the transmitting end may include iss grouping units, one grouping unit corresponding to one spatial data stream, and the iss grouping unit respectively assigning bits of the iss spatial data stream to each group of input bits.
具体地,该分组单元可以将该用户设备对应的编码数据流中的多个比特分为第一比特组和第二比特组,其中,该第一比特组对应了M1个子资源块交织单元,该第二比特组对应了M2个子资源块交织单元,该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小,均大于该第二比特组对应的每个子资源块交织单元当前需要处理的RU的大小,M1和M2为正整数,且M=M1+M2,M为用户设备当前被分配到的资源块RU的数量。 Specifically, the grouping unit may be a user equipment corresponding to the plurality of bits of the coded data stream into a first bit group and second bit group, wherein the first bit group corresponding to the resource block interleaver M 1 sub-unit, The second bit group corresponds to the M 2 sub-resource block interleaving units, and the size of the RU that needs to be processed by each sub-resource block interleaving unit corresponding to the first bit group is greater than that of each sub-resource block corresponding to the second bit group. The size of the RU that the unit currently needs to process, M 1 and M 2 are positive integers, and M = M 1 + M 2 , where M is the number of resource blocks RU to which the user equipment is currently assigned.
可选地,该分组单元将该用户设备对应的编码数据流中的多个比特分为第一比特组和第二比特组,该分组单元可以用于在一个分配循环的每个分配周期内,向该第一比特组分配连续的N1个比特,并向该第二比特组分配连续的N2个比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的每个子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。Optionally, the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into a first bit group and a second bit group, and the grouping unit may be used in each allocation period of one allocation cycle, Allocating consecutive N 1 bits to the first bit group and allocating consecutive N 2 bits to the second bit group, where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , RU 1 indicates the size of the RU that each sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 indicates the size of the RU that each sub-resource block interleave unit corresponding to the second bit group needs to process. ] indicates a rounding operation.
可选地,该分组单元将该用户设备对应的编码数据流中的多个比特分为第一比特组和第二比特组,该分组单元还可以用于交替地向该第一比特组和该第二比特组中分配该用户设备对应的编码数据流中的多个比特;当该第一比特组被分配了N1比特时,停止向该第一比特组分配比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的每个子资源块交织单元当前需要处理的RU的大小,[]表示取整运算;当第二比特组被分配了N2比特时,停止向该第二比特组分配比特,其中,N2=M2;当该第一比特组被分配了N1个比特,且该第二比特组被分配了N2个比特时,再交替地向该第一比特组和该第二比特组中分配该用户设备对应的编码数据流中的多个比特,该第一比特组和该第二比特组,继续接收被分配的比特。Optionally, the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into a first bit group and a second bit group, where the grouping unit is further configured to alternately apply to the first bit group and the Allocating a plurality of bits in the encoded data stream corresponding to the user equipment in the second bit group; when the first bit group is allocated N 1 bits, stopping allocating bits to the first bit group, where N 1 =[ RU 1 /RU 2 ·· M 1 , N 2 =M 2 , where RU 1 represents the size of the RU that each sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 represents the corresponding bit of the second bit group. The size of the RU that each sub-resource block interleaving unit currently needs to process, [] represents a rounding operation; when the second bit group is allocated N 2 bits, the allocation of bits to the second bit group is stopped, where N 2 =M 2 ; when the first bit group is allocated N 1 bit, and the second bit group is allocated N 2 bits, the user is allocated to the first bit group and the second bit group alternately a plurality of bits in the encoded data stream corresponding to the device, the first bit group The second bit group, the bits are allocated to continue the reception.
可选地,该分组单元将该用户设备对应的编码数据流中的多个比特分为第一比特组和第二比特组,该分组单元还可以用于生成随机驱动码,该随机驱动码包括多个指示位,该多个指示位与该用户设备对应的编码数据流中的多个比特一一对应,该多个指示位中的每个指示位用于将该每个指示位对应的比特分配到该第一比特组或该第二比特组中,其中,分配到该第一比特组的比特数与分配到该第二比特组的比特数的比值为N1/N2,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。Optionally, the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into a first bit group and a second bit group, where the grouping unit is further configured to generate a random driving code, where the random driving code includes a plurality of indicator bits, the plurality of indicator bits are in one-to-one correspondence with a plurality of bits in the encoded data stream corresponding to the user equipment, and each of the plurality of indicator bits is used for the bit corresponding to each indicator bit Assigned to the first bit group or the second bit group, wherein a ratio of the number of bits allocated to the first bit group to the number of bits allocated to the second bit group is N 1 /N 2 , where N 1 = [RU 1 /RU 2 ]·M 1 , N 2 = M 2 , RU 1 represents the size of the RU that the sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 represents the second bit group The size of the RU that the corresponding sub-resource block interleaving unit currently needs to process, and [] represents the rounding operation.
可选地,该随机驱动码可以包括第一指示位和第二指示位,其中,该第一指示位用于将该第一指示位对应的比特分配到该第一比特组,该第二指示位用于将该第一指示位对应的比特分配到该第二比特组。Optionally, the random driving code may include a first indicator bit and a second indicator bit, where the first indicator bit is used to allocate a bit corresponding to the first indicator bit to the first bit group, the second indication The bit is used to allocate the bit corresponding to the first indicator bit to the second bit group.
比特分流单元,用于将每个比特组分配到的比特按照一定的次序分配到 该每个比特组对应的所有子资源块交织单元中。该比特分流单元可以为比特分流器。可选地,该交织处理装置中可以包括一个比特分流器,用于分别处理每个比特组包括的比特数;该交织处理装置中也可以包括多个比特分流器,每个比特分流器对应一个比特组,用于处理该组内的比特数据流,本发明并不限于此。a bit-splitting unit for allocating bits to which each bit group is allocated in a certain order All sub-resource block interleave units corresponding to each bit group. The bit stream splitting unit can be a bit stream splitter. Optionally, the interleaving processing apparatus may include a bit stream splitter for respectively processing the number of bits included in each bit group; the interleaving processing apparatus may also include a plurality of bit stream splitters, and each bit stream splitter corresponds to one A bit group for processing a bit stream in the group, and the present invention is not limited thereto.
具体地,比特分流单元用于将该每个比特组包括的比特中每s个比特顺序或者交替分配到该每个比特组对应的子资源块交织单元中,其中s为大于0的正整数。Specifically, the bit offloading unit is configured to sequentially or alternately allocate each s of the bits included in each bit group to the sub-resource block interleaving unit corresponding to each bit group, where s is a positive integer greater than 0.
若s为1,则第x个比特组对应的第iRU个RU所分配到的比特序号为j,则其对应关系为:If s is 1, the bit number assigned to the ith RU RU corresponding to the xth bit group is j, and the corresponding relationship is:
j=(iRU-1)+n·k。j=(i RU -1)+n·k.
若s大于1,则第x个比特组对应的第iRU个RU所分配到的比特序号为j,则其对应关系为:If s is greater than 1, the bit number assigned to the ith RU RU corresponding to the xth bit group is j, and the corresponding relationship is:
Figure PCTCN2015073949-appb-000011
Figure PCTCN2015073949-appb-000011
其中k表示该第iRU个RU所分配到的比特的输入序号,k为非负整数,n为该第x比特组对应的子资源块交织单元的个数。Where k is the input number of the bit to which the ith RU RU is allocated, k is a non-negative integer, and n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
多个子资源块交织单元,其中每个子资源交织单元用于将输入该每个子资源块交织单元的多个比特进行离散交织。具体的离散交织过程至少包括下面一种:a plurality of sub-resource block interleaving units, wherein each sub-resource interleaving unit is configured to discretely interleave a plurality of bits input to each of the sub-resource block interleaving units. The specific discrete interleaving process includes at least one of the following:
多个子资源块交织单元中每个子资源块交织单元用于将输入的比特进行离散交织,离散交织后照一定的次序串行输出或并行输出到映射单元中;Each of the plurality of sub-resource block interleaving units is configured to discretely interleave the input bits, and the discrete interleaving is serially outputted in a certain order or output to the mapping unit in parallel;
多个子资源块交织单元中每个子资源块交织单元还可以用于将输入的比特按照行的顺序进行输入再按照列的方式进行输出。具体地,每个子资源块交织单元可以用于将按照列输出的比特交替的映射到星座图中低有效位和高有效位;和/或每个子资源块交织单元用于根据每个子资源块交织单元的顺序将其内比特进行循环移位,可选地,该每个子资源块交织单元可以根据RU的顺序将其内比特向右或者向左循环移位s位。Each of the plurality of sub-resource block interleaving units may be further configured to input the input bits in the order of the rows and output them in a column manner. Specifically, each of the sub-resource block interleaving units may be configured to alternately map the bits output according to the column to the low significant bit and the high significant bit in the constellation; and/or each sub-resource block interleaving unit is configured to interleave according to each sub-resource block. The order of the cells cyclically shifts the inner bits thereof. Alternatively, the each sub-resource block interleaving unit may cyclically shift its inner bits to the right or left by s bits according to the order of the RUs.
可选地,该交织处理的装置还可以包括总比特分流单元,其中,该总比特分流单元位于该比特分流单元与多个子资源块交织单元之间,该比特分流单元的输出比特流以每r个比特为单元顺序输入至总比特分流单元,该总比 特分流单元用于将该r个比特进行交织后按照一定的次序分别分配到该多个子资源块交织单元中,其中r为正整数。Optionally, the apparatus for interleaving processing may further include a total bit splitting unit, where the total bit splitting unit is located between the bit splitting unit and the plurality of sub-resource block interleaving units, and the output bit stream of the bit shunting unit is per r The bits are sequentially input to the total bit splitting unit, which is the total ratio The special offloading unit is configured to interleave the r bits and allocate them to the plurality of sub resource block interleaving units in a certain order, where r is a positive integer.
可选地,该交织处理的装置还可以包括总资源块交织单元,其中,该总资源块交织单元位于多个子资源块交织单元与星座映射器之间,该多个子资源块交织单元将输出的比特输入到总资源块交织单元中;该总资源块交织单元用于对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织。Optionally, the apparatus for the interleaving process may further include a total resource block interleaving unit, where the total resource block interleaving unit is located between the multiple sub-resource block interleaving units and the constellation mapper, and the multiple sub-resource block interleaving units will output The bit is input to the total resource block interleaving unit; the total resource block interleaving unit is configured to perform discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
星座映射器,用于将交织后输出的比特流映射至调制星座图中的星座点上,得到星座符号数据流。A constellation mapper is configured to map the bit stream output after the interleaving to a constellation point in the modulation constellation to obtain a constellation symbol data stream.
循环移位延迟单元,用于分别对各个空间数据流进行循环移位延迟操作。A cyclic shift delay unit is configured to perform a cyclic shift delay operation on each spatial data stream.
其中在接收端包括:Among them, the receiving end includes:
星座解映射器,用于将接收到的星座符号解映射为比特数据,得到接收比特数据流;a constellation demapper, configured to demap the received constellation symbols into bit data to obtain a received bit data stream;
解交织器,用于对接收比特数据流进行解交织操作,得到解交织后的各个空间比特数据流;a deinterleaver, configured to perform a deinterleaving operation on the received bit data stream to obtain each spatial bit stream after deinterleaving;
比特合流器,用于将每个比特组对应的多个子资源块交织单元中的比特按照相应的次序合并为多组单个比特数据流;a bit converger for combining bits in a plurality of sub-resource block interleaving units corresponding to each bit group into a plurality of sets of single bit data streams in a corresponding order;
反分组单元,用于将每组的比特数据流进行合并,得到所有组的单个比特数据流;An anti-packet unit, configured to combine the bit data streams of each group to obtain a single bit data stream of all groups;
合流器,用于将iss个空间数据流合并为单个比特数据流;a combiner for combining iss spatial data streams into a single bit data stream;
FEC解码器单元,用于对单个比特数据流进行信道译码操作,得到信息数据比特序列。An FEC decoder unit is configured to perform a channel decoding operation on a single bit data stream to obtain a sequence of information data bits.
其中接收端根据发送端的处理进行相应的处理,在此不再详细赘述。The receiving end performs corresponding processing according to the processing of the transmitting end, and details are not described herein again.
因此,本发明实施例的交织处理的装置,应用于基于OFMDA的WLAN系统中,通过分组单元按照当前用户设备被分配的RU的大小和数量,将用户设备对应的编码数据流中的多个比特分为多组输入比特;比特分流单元将多个输入比特组中的每个输入比特组包括的比特按照一定的次序分配到该每个比特组对应的所有子资源块交织单元中;由多个子资源块交织单元中的每个子资源块交织单元将输入该每个子资源块交织单元的多个比特进行离散交织,该交织方案适用于单个用户设备被分配多个RU时,且性能优异实 现简单,从而在不增加系统复杂度的情况下,提高系统的性能。Therefore, the apparatus for interleaving processing in the embodiment of the present invention is applied to an OFDMA-based WLAN system, where a plurality of bits in an encoded data stream corresponding to a user equipment are used by a grouping unit according to the size and number of RUs allocated by the current user equipment. Dividing into a plurality of sets of input bits; the bit shunting unit assigns bits included in each of the plurality of input bit groups to all of the sub-resource block interleaving units corresponding to each of the bit groups in a certain order; Each of the resource block interleaving units performs discrete interleaving on a plurality of bits input to each of the sub-resource block interleaving units, and the interleaving scheme is applicable when a single user equipment is allocated a plurality of RUs, and the performance is excellent It is simple enough to improve system performance without increasing system complexity.
作为一个实施例,如图5所示,本实施例提供的一种WLAN设备的第二实施方式结构示意图,该WLAN设备发送端包括以下元件:As an embodiment, as shown in FIG. 5, a schematic structural diagram of a second implementation manner of a WLAN device according to this embodiment is provided. The WLAN device sending end includes the following components:
FEC编码器单元:用以对比特数据流进行差错控制编码(或称为信道编码),得到信道编码后数据比特流;FEC encoder unit: used for error control coding (or channel coding) on a bit stream to obtain a channel coded data bit stream;
分流器,用于将FEC单元中的单比特流分配到iss个空间数据流。假设数据发送端有iss个空间数据流,则分流器将信道编码后的单比特流分配到iss个空间数据流;A splitter is used to allocate a single bit stream in the FEC unit to the iss spatial data stream. Assuming that there are iss spatial data streams on the data transmitting end, the splitter allocates the channel-coded single-bit stream to the iss spatial data stream;
iss个分组单元,用于根据用户设备当前被分配到的资源块RU,将该用户设备对应的编码数据流中的多个比特分为多组输入比特,该多组输入比特中的每一组输入比特的数量由用户设备当前被分配到的RU的大小和数量确定,且每组输入比特对应至少一个子资源块交织单元,同一组输入比特对应的子资源块交织单元当前需要处理的RU的大小相同;The iss grouping unit is configured to divide, according to the resource block RU to which the user equipment is currently allocated, the plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, each of the multiple sets of input bits. The number of input bits is determined by the size and number of RUs to which the user equipment is currently allocated, and each set of input bits corresponds to at least one sub-resource block interleaving unit, and the sub-resource block interleaving unit corresponding to the same set of input bits currently needs to be processed by the RU. Same size;
比特分流器,用于将第x个比特组包括的比特按照一定的次序分配到该每个比特组对应的所有子资源块交织单元中;a bit stream splitter, configured to allocate bits included in the xth bit group to all sub-resource block interleave units corresponding to each bit group in a certain order;
多个子资源块交织单元,其中每个子资源交织单元用于将输入的比特进行离散交织,多个子资源块交织单元将输出的比特输入到总资源块交织单元中,这里以第x个比特组对应n个子资源块交织单元为例,则该n个子资源块交织单元对该第x个比特组内的比特进行交织处理;a plurality of sub-resource block interleaving units, wherein each sub-resource interleaving unit is configured to discretely interleave the input bits, and the plurality of sub-resource block interleaving units input the output bits into the total resource block interleaving unit, where the x-th bit group corresponds The n sub-resource block interleaving units are taken as an example, and the n sub-resource block interleaving units perform interleaving processing on the bits in the x-th bit group;
总资源块交织单元,用于对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织;a total resource block interleaving unit, configured to perform discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group;
星座映射器,用于将交织后比特流映射至调制星座图中的星座点上,得到星座符号数据流。A constellation mapper is configured to map the interleaved bitstream to a constellation point in the modulation constellation to obtain a constellation symbol data stream.
循环移位延迟单元,用于分别对各个空间数据流进行循环移位延迟操作。A cyclic shift delay unit is configured to perform a cyclic shift delay operation on each spatial data stream.
具体地,在本发明实施例中,对于一个基于OFDMA的系统,假设当前将M个大小不同的RU一起分配给同一用户设备,交织处理装置可以包括分组单元、比特分量器以及M个子资源块交织单元。Specifically, in the embodiment of the present invention, for an OFDMA-based system, it is assumed that M RUs of different sizes are currently allocated to the same user equipment together, and the interleaving processing apparatus may include a grouping unit, a bit component, and M sub-resource block interleaving. unit.
具体地,该分组单元,用于根据用户设备当前被分配到的资源块RU的大小和数量,将该用户设备对应的编码数据流中的多个比特分为多组输入比特,每组输入比特对应至少一个子资源块交织单元,同一组输入比特对应的 子资源块交织单元当前需要处理的RU的大小相同,所有组输入比特对应的所有子资源块交织单元共M个。。Specifically, the grouping unit is configured to divide, according to the size and quantity of the resource block RU to which the user equipment is currently allocated, the plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, each group of input bits. Corresponding to at least one sub-resource block interleaving unit, corresponding to the same set of input bits The sub-resource block interleaving unit currently needs to process the same RU, and all the sub-resource block interleave units corresponding to all the group input bits have a total of M. .
具体地,该分组单元将该用户设备对应的编码数据流中的多个比特,根据用户设备当前被分配到的资源块RU的大小和数量,可以分为第一比特组和第二比特组,其中,该第一比特组包括M1个子资源块交织单元,该第二比特组包括M2个子资源块交织单元,该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小均大于该第二比特组对应的每个子资源块交织单元当前需要处理的RU的大小,M1和M2为正整数,且M=M1+M2,M为当前子资源块交织单元的总数量。Specifically, the grouping unit may divide the plurality of bits in the encoded data stream corresponding to the user equipment into a first bit group and a second bit group according to the size and quantity of the resource block RU to which the user equipment is currently allocated. The first bit group includes M 1 sub-resource block interleaving units, and the second bit group includes M 2 sub-resource block interleaving units, and the size of the RU currently required to be processed by each sub-resource block interleaving unit corresponding to the first bit group Each of the sub-resource block interleaving units corresponding to the second bit group is currently required to process the size of the RU, and M 1 and M 2 are positive integers, and M=M 1 +M 2 , where M is the current sub-resource block interleaving unit. The total number.
可选地,该分组单元将该用户设备对应的编码数据流中的多个比特,根据用户设备当前被分配到的资源块RU的大小和数量,分为第一比特组和第二比特组,该分组单元可以用于在一个分配循环的每个分配周期内,向该第一比特组分配连续的N1个比特,并向该第二比特组分配连续的N2个比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的每个子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。Optionally, the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into the first bit group and the second bit group according to the size and quantity of the resource block RU to which the user equipment is currently allocated. the grouping unit may be used within each allocation period of a dispensing cycle, the group assigned consecutive bits of the N 1 to the first bit, and assign consecutive N 2 bits of the second bit group, wherein, N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , where RU 1 represents the size of the RU that each sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 represents the second bit group. Corresponding to each sub-resource block interleave unit currently needs to process the size of the RU, [] represents the rounding operation.
作为一个实施例,如图6所示,对于一个基于OFDMA的系统,假设40M带宽下系统FFT的大小为256点,且此时该40M带宽被划分为8个小RU和1个大RU,其中每个小RU内包含24个数据子载波和2个导频子载波,每个大RU内包含234个数据子载波和8个导频子载波。As an embodiment, as shown in FIG. 6, for an OFDMA-based system, it is assumed that the size of the system FFT in the 40M bandwidth is 256 points, and at this time, the 40M bandwidth is divided into 8 small RUs and 1 large RU, wherein Each small RU contains 24 data subcarriers and 2 pilot subcarriers, and each large RU contains 234 data subcarriers and 8 pilot subcarriers.
当将该8个小RU和1个大RU分配给同一用户设备,且系统采用64QAM调制时,对应地,该用户设备被分配了9个子资源块交织单元,分组单元首先将根据这些RU的大小,将该用户设备对应的编码数据流中的多个比特进行分组,分为第一比特组和第二比特组,且第一比特组对应1个大RU,即对应一个子资源交织单元,第二比特组对应8个小RU,即对应八个子资源块交织单元。When the 8 small RUs and 1 large RU are allocated to the same user equipment, and the system adopts 64QAM modulation, correspondingly, the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs. And the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit, The two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
如图6所示,由于第一比特组对应的RU的大小大于第二比特组,则在一个分配循环的每个分配周期内,向该第一比特组分配连续的N1个比特,并向该第二比特组分配连续的N2个比特,其中,N1=[RU1/RU2]·M1=[234/24]·1=10,N2=M2=8,即在每个分配周期内,向该第一比特组分配连续的10个比特,并向该第二比特组分配连续的8个比 特。As shown in FIG. 6, since the size of the RU corresponding to the first bit group is larger than the second bit group, consecutive N 1 bits are allocated to the first bit group in each allocation period of one allocation cycle, and The second bit group is allocated consecutive N 2 bits, where N 1 =[RU 1 /RU 2 ]·M 1 =[234/24]·1=10, N 2 =M 2 =8, ie at each During the allocation period, consecutive 10 bits are allocated to the first bit group, and consecutive 8 bits are allocated to the second bit group.
在本发明实施例中,可选地,该分组单元将该用户设备对应的编码数据流中的多个比特,根据用户设备当前被分配到的资源块RU的大小和数量,分为第一比特组和第二比特组,该分组单元还可以用于交替地向该第一比特组和该第二比特组中分配用户设备对应的多个比特;当该第一比特组被分配了N1比特时,停止向该第一比特组分配比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的每个子资源块交织单元当前需要处理的RU的大小,[]表示取整运算;当第二比特组被分配了N2比特时,停止向该第二比特组分配比特,其中,N2=M2;当该第一比特组被分配了N1个比特,且该第二比特组被分配了N2个比特时,再交替地向该第一比特组和该第二比特组中分配该用户设备对应的编码数据流中的多个比特,该第一比特组和该第二比特组,继续接收被分配的比特。In the embodiment of the present invention, optionally, the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into the first bit according to the size and quantity of the resource block RU to which the user equipment is currently allocated. a group and a second bit group, the grouping unit may be further configured to alternately allocate a plurality of bits corresponding to the user equipment to the first bit group and the second bit group; when the first bit group is allocated N 1 bit Stop assigning bits to the first bit group, where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , and RU 1 represents each sub-resource block interleaving unit corresponding to the first bit group The size of the RU that needs to be processed currently, RU 2 indicates the size of the RU that each sub-resource block interleave unit corresponding to the second bit group needs to process, [] represents a rounding operation; when the second bit group is allocated N 2 bits Stop assigning bits to the second bit group, where N 2 = M 2 ; when the first bit group is allocated N 1 bit, and the second bit group is allocated N 2 bits, Alternating the allocation to the first bit group and the second bit group A plurality of bits in the encoded data stream corresponding to the user equipment, the first bit group and the second bit group continuing to receive the allocated bits.
作为一个实施例,如图7所示,对于一个基于OFDMA的系统,假设40M带宽下系统FFT的大小为256点,且此时该40M带宽被划分为8个小RU和1个大RU,其中每个小RU内包含24个数据子载波和2个导频子载波,每个大RU内包含234个数据子载波和8个导频子载波。As an embodiment, as shown in FIG. 7, for an OFDMA-based system, it is assumed that the size of the system FFT in the 40M bandwidth is 256 points, and at this time, the 40M bandwidth is divided into 8 small RUs and 1 large RU, wherein Each small RU contains 24 data subcarriers and 2 pilot subcarriers, and each large RU contains 234 data subcarriers and 8 pilot subcarriers.
当将该8个小RU和1个大RU分配给同一用户设备,且系统采用64QAM调制时,对应地,该用户设备被分配了9个子资源块交织单元,分组单元首先将根据这些RU的大小,将该用户设备对应的编码数据流中的多个比特进行分组,分为第一比特组和第二比特组,且第一比特组对应1个大RU,即对应一个子资源交织单元,第二比特组对应8个小RU,即对应八个子资源块交织单元。When the 8 small RUs and 1 large RU are allocated to the same user equipment, and the system adopts 64QAM modulation, correspondingly, the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs. And the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit, The two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
如图7所示,由于第一比特组对应的RU的大小大于第二比特组,则该分组单元可以通过传统比特交织器和选择开关的组合,交替地向第一比特组和第二比特组种分配比特。具体地,传统比特交织器用于轮流分配给每组比特组单个比特,第一比特组的选择开关一旦接收到N1比特后关闭,即停止向该第一比特组分配比特;第二比特组的选择开关一旦接收到N2比特后关闭,即停止向该第二比特组分配比特,其中,N1=[RU1/RU2]·M1=[234/24]·1=10,N2=M2=8。两个比特组的选择开关采用集中式控制,一旦两个比特组的选择开关都关闭后才重启,继续接收传统 比特交织发送的比特。As shown in FIG. 7, since the size of the RU corresponding to the first bit group is larger than the second bit group, the grouping unit may alternately move to the first bit group and the second bit group through a combination of a conventional bit interleaver and a selection switch. A kind of allocation bit. Specifically, the conventional bit interleaver is configured to allocate a single bit to each group of bit groups in turn, and the selection switch of the first bit group is turned off after receiving the N 1 bit, that is, the bit is allocated to the first bit group; the second bit group is The selection switch, once closed after receiving N 2 bits, stops assigning bits to the second bit group, where N 1 =[RU 1 /RU 2 ]·M 1 =[234/24]·1=10, N 2 =M 2 =8. The selection switch of the two bit groups adopts centralized control, and restarts after the selection switches of both bit groups are turned off, and continues to receive the bits transmitted by the conventional bit interleaving.
在本发明实施例中,可选地,该分组单元将该用户设备对应的编码数据流中的多个比特,根据用户设备当前被分配到的资源块RU的大小和数量,分为第一比特组和第二比特组,该分组单元还可以用于生成随机驱动码,该随机驱动码包括多个指示位,该多个指示位与该用户设备对应的编码数据流中的多个比特一一对应,该多个指示位中的每个指示位用于将该每个指示位对应的比特分配到该第一比特组或该第二比特组中,其中,分配到该第一比特组的比特数与分配到该第二比特组的比特数的比值为N1/N2,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组中的子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组中的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。In the embodiment of the present invention, optionally, the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into the first bit according to the size and quantity of the resource block RU to which the user equipment is currently allocated. a group and a second bit group, the grouping unit may be further configured to generate a random driving code, where the random driving code includes a plurality of indicator bits, and the plurality of indicator bits are a plurality of bits in the encoded data stream corresponding to the user equipment. Correspondingly, each of the plurality of indicator bits is used to allocate a bit corresponding to each indicator bit to the first bit group or the second bit group, wherein the bit allocated to the first bit group is The ratio of the number to the number of bits allocated to the second bit group is N 1 /N 2 , where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , and RU 1 represents the first bit The size of the RU that the sub-resource block interleaving unit currently needs to process, the RU 2 indicates the size of the RU that the sub-resource block interleaving unit in the second bit group needs to process, and [] represents the rounding operation.
可选地,该随机驱动码可以包括第一指示位和第二指示位,其中,该第一指示位用于将该第一指示位对应的比特分配到该第一比特组,该第二指示位用于将该第一指示位对应的比特分配到该第二比特组。Optionally, the random driving code may include a first indicator bit and a second indicator bit, where the first indicator bit is used to allocate a bit corresponding to the first indicator bit to the first bit group, the second indication The bit is used to allocate the bit corresponding to the first indicator bit to the second bit group.
作为一个实施例,如图8所示,对于一个基于OFDMA的系统,假设40M带宽下系统FFT的大小为256点,且此时该40M带宽被划分为8个小RU和1个大RU,其中每个小RU内包含24个数据子载波和2个导频子载波,每个大RU内包含234个数据子载波和8个导频子载波。As an embodiment, as shown in FIG. 8, for an OFDMA-based system, it is assumed that the size of the system FFT in the 40M bandwidth is 256 points, and at this time, the 40M bandwidth is divided into 8 small RUs and 1 large RU, wherein Each small RU contains 24 data subcarriers and 2 pilot subcarriers, and each large RU contains 234 data subcarriers and 8 pilot subcarriers.
当将该8个小RU和1个大RU分配给同一用户设备,且系统采用64QAM调制时,对应地,该用户设备被分配了9个子资源块交织单元,分组单元首先将根据这些RU的大小,将该用户设备对应的编码数据流中的多个比特进行分组,分为第一比特组和第二比特组,且第一比特组对应1个大RU,即对应一个子资源交织单元,第二比特组对应8个小RU,即对应八个子资源块交织单元。When the 8 small RUs and 1 large RU are allocated to the same user equipment, and the system adopts 64QAM modulation, correspondingly, the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs. And the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit, The two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
如图8所示,分组单元可以采用随机比特交织器,生成随机驱动码,该随机驱动码包括多个指示位,该多个指示位与该用户设备对应的编码数据流中的多个比特一一对应,该随机驱动码可以包括第一指示位“0”,第二指示位“1”,随机驱动码可以为“01101110011101000101…”,其中,第一指示位“0”用于指示将该指示位对应的比特分配到该第一比特组;第二指示位“1”用于指示将该指示位对应的比特分配到该第二比特组。由于第一比特组对应的RU的大小大于第二比特组,则分配到该第一比特组的比特数与分 配到该第二比特组的比特数的比值为N1/N2,其中,N1=[RU1/RU2]·M1=[234/24]·1=10,N2=M2=8。As shown in FIG. 8, the grouping unit may generate a random driving code by using a random bit interleaver, where the random driving code includes a plurality of indicator bits, and the plurality of indicator bits are a plurality of bits in the encoded data stream corresponding to the user equipment. Correspondingly, the random driving code may include a first indicator bit “0”, a second indicator bit “1”, and the random driver code may be “01101110011101000101...”, wherein the first indicator bit “0” is used to indicate the indication. The bit corresponding to the bit is allocated to the first bit group; the second indicator bit "1" is used to indicate that the bit corresponding to the indicator bit is allocated to the second bit group. The ratio of the number of bits allocated to the first bit group to the number of bits allocated to the second bit group is N 1 /N 2 , where N is larger than the second bit group. 1 = [RU 1 /RU 2 ]·M 1 =[234/24]·1=10, N 2 =M 2 =8.
可选地,该随机驱动码可以包括第一指示位和第二指示位,其中,第一指示位为“00”,用于指示将该指示位对应的比特分配到该第一比特组;第二指示位为“11”,用于指示将该指示位对应的比特分配到该第二比特组,本发明并不限于此。Optionally, the random driving code may include a first indicator bit and a second indicator bit, where the first indicator bit is “00”, and is used to indicate that the bit corresponding to the indicator bit is allocated to the first bit group; The second indication bit is "11" for indicating that the bit corresponding to the indication bit is allocated to the second bit group, and the present invention is not limited thereto.
在本发明实施例中,将比特分配至每个比特组后,对于每个比特组内包括的比特,均经过比特分流器和对应的多个子资源块交织单元的进一步交织处理并输出。具体地,可以通过下面的方法进行交织处理。In the embodiment of the present invention, after the bits are allocated to each bit group, the bits included in each bit group are further interleaved and output by the bit stream splitter and the corresponding multiple resource block interleaving units. Specifically, the interleaving process can be performed by the following method.
在本发明实施例中,对于一个基于OFDMA的系统,假设N个RU被一起分配给同一用户设备,经过上述的分组单元分为多个输入比特组后,若该输入比特组中只对应了一个子资源块交织单元,则可以通过对该子资源块交织单元内的比特进行交织处理,即采用本发明实施例的交织处理装置中的子资源块交织单元进行离散交织处理;若该输入比特组对应了多个子资源块交织单元,则每个比特组包括的比特可以通过下面的方法进一步进行交织处理,如图5所示,这里以第x个比特组为例进行说明,该输入比特组对应了至少两个子资源块交织单元,如假设该比特组对应了n个子资源块交织单元,该第x个比特组包括的比特分流单元采用本发明交织方案进行处理,具体处理流程举例说明如下:In the embodiment of the present invention, for an OFDMA-based system, it is assumed that N RUs are allocated to the same user equipment together, and after the foregoing grouping unit is divided into multiple input bit groups, if only one of the input bit groups is associated The sub-resource block interleaving unit may perform the interleaving process by using the sub-resource block interleaving unit in the interleaving processing apparatus of the embodiment of the present invention; if the input bit group is used, Corresponding to a plurality of sub-resource block interleaving units, the bits included in each bit group can be further interleaved by the following method, as shown in FIG. 5, where the x-th bit group is taken as an example, and the input bit group corresponds to At least two sub-resource block interleaving units are assumed. For example, the bit group corresponds to n sub-resource block interleaving units, and the bit-dividing unit included in the x-th bit group is processed by the interleaving scheme of the present invention. The specific processing flow is as follows:
比特分流单元将第x个比特组的每个比特交错分配给该用户设备在第x个比特组对应的多个子资源块交织单元所对应的多个RU。令m=log2M为系统调制阶数,M为星座图大小,若该第x个比特组对应n个子资源块交织单元,即该第x个比特组对应n个RU,则比特分流单元可逐个比特交错分配给RU1到RUn。令s=max{1,m/2},s表示连续为每个资源块交织单元分配的比特个数,比特分流单元输入为yj,第x个比特组对应的第iRU个RU所分配到的比特序号为j的对应关系如下:The bit-dividing unit interleaves each bit of the xth bit group to a plurality of RUs corresponding to the plurality of sub-resource block interleaving units corresponding to the user equipment in the x-th bit group. Let m=log 2 M be the system modulation order, and M be the constellation size. If the xth bit group corresponds to n sub-resource block interleaving units, that is, the xth bit group corresponds to n RUs, the bit shunting unit may The bit-by-bit interleaving is assigned to RU1 to RUn. Let s=max{1,m/2}, s denote the number of bits allocated continuously for each resource block interleaving unit, the bit shunt unit input is y j , and the i th RUs corresponding to the xth bit group are allocated The corresponding relationship of the bit number to j is as follows:
j=(iRU-1)+n·kj=(i RU -1)+n·k
其中1≤iRU≤n,k表示每个资源块交织单元输入的比特序号,k为非负整数,取值范围为k=0,1,2,3…。Where 1 ≤ i RU ≤ n, k represents the bit number input by each resource block interleaving unit, and k is a non-negative integer, and the value ranges from k=0, 1, 2, 3, .
进一步假设同时有多个RU被分配给单个用户设备,分组单元进行分组 后,其中任意一个比特组对应了4个子资源块交织单元,对应有4个RU,或者当前同时分配给该用户设备4个大小相同的RU,则经过分组单元将4个RU对应的4个子资源块交织单元同时对应于同一比特组,且每个RU内数据子载波的数目为3个,系统的调制方式为64QAM,则对于一个OFDMA符号比特数据流中共有72个比特。则按照上述分解方式,该比特数据流的顺序为(0,1,…,71),逐一分解到4个RU如下表所示:Further assume that multiple RUs are simultaneously assigned to a single user equipment, and grouping units are grouped Then, any one of the bit groups corresponds to four sub-resource block interleaving units, corresponding to four RUs, or four RUs of the same size are currently allocated to the user equipment at the same time, and four sub-resources corresponding to four RUs are grouped by the grouping unit. The block interleaving unit corresponds to the same bit group at the same time, and the number of data subcarriers in each RU is three, and the modulation mode of the system is 64QAM, and there are 72 bits in the data stream of one OFDMA symbol bit. According to the above decomposition method, the order of the bit data streams is (0, 1, ..., 71), and is decomposed one by one to four RUs as shown in the following table:
表1Table 1
kk 第一RUFirst RU 第二RUSecond RU 第三RUThird RU 第四RUFourth RU
00 00 11 22 33
11 44 55 66 77
22 88 99 1010 1111
33 1212 1313 1414 1515
44 1616 1717 1818 1919
55 2020 21twenty one 22twenty two 23twenty three
66 24twenty four 2525 2626 2727
77 2828 2929 3030 3131
88 3232 3333 3434 3535
99 3636 3737 3838 3939
1010 4040 4141 4242 4343
1111 4444 4545 4646 4747
1212 4848 4949 5050 5151
1313 5252 5353 5454 5555
1414 5656 5757 5858 5959
1515 6060 6161 6262 6363
1616 6464 6565 6666 6767
1717 6868 6969 7070 7171
比特分流单元也可将每s个比特为一组交错分配给RU1到RUn,则第x个比特组对应的第iRU个RU所分配到的比特序号为j的对应关系如下: The bit-split unit may also allocate a set of interlaces to RU1 to RUn for each s-bit, and the corresponding relationship of the bit number assigned to the i-th RU of the x-th bit group is j is as follows:
Figure PCTCN2015073949-appb-000012
Figure PCTCN2015073949-appb-000012
其中k表示每个资源块交织单元输入的比特序号,k为非负整数,s表示连续为每个资源块交织单元分配的比特个数,n为第x个比特组对应的子资源块交织单元的个数。Where k represents the bit number input by each resource block interleaving unit, k is a non-negative integer, s represents the number of bits allocated consecutively for each resource block interleaving unit, and n is the sub-resource block interleaving unit corresponding to the xth bit group The number.
按照上述分解方式及上述假设,该比特数据流的顺序为(0,1,…,71),可以将至少两个比特为例分解到4个RU如下表所示:According to the above decomposition method and the above assumption, the order of the bit data stream is (0, 1, ..., 71), and at least two bits can be decomposed into four RUs as shown in the following table:
表2Table 2
kk 第一RUFirst RU 第二RUSecond RU 第三RUThird RU 第四RUFourth RU
00 0,10,1 2,32,3 4,54,5 6,76,7
11 8,98,9 10,1110,11 12,1312,13 14,1514,15
22 16,1716,17 18,1918,19 20,2120,21 22,2322,23
33 24,2524,25 26,2726,27 28,2928,29 30,3130,31
44 32,3332,33 34,3534,35 36,3736,37 38,3938,39
55 40,4140,41 42,4342,43 44,4544,45 46,4746,47
66 48,4948,49 50,5150,51 52,5352,53 54,5554,55
77 56,5756,57 58,5958,59 60,6160,61 62,6362,63
88 64,6564,65 66,6766,67 68,6968,69 70,7170,71
本发明实施例中比特分流单元并不限于将数据流中的s个比特顺序的分配至RU1到RUn,例如可以选择相隔q个RU进行交替分配,这种情况下第x个比特组对应的第iRU个RU所分配到的比特序号为j,则其对应关系为:The bit-split unit in the embodiment of the present invention is not limited to the allocation of s bit sequences in the data stream to RU1 to RUn. For example, q RUs may be selected for alternate allocation. In this case, the corresponding bit of the x-th bit group The bit number assigned to the i RU RUs is j, and the corresponding relationship is:
Figure PCTCN2015073949-appb-000013
Figure PCTCN2015073949-appb-000013
其中
Figure PCTCN2015073949-appb-000014
保证交替分配至RU集末尾时返回RU集的开端,从而使比特分配到所有RU,其中k表示每个资源块交织单元输入的比特序号,k为非负整数,s表示连续为每个资源块交织单元分配的比特个数。
among them
Figure PCTCN2015073949-appb-000014
It is guaranteed to return to the beginning of the RU set when it is alternately allocated to the end of the RU set, so that the bits are allocated to all RUs, where k represents the bit number input by each resource block interleaving unit, k is a non-negative integer, and s represents continuous for each resource block. The number of bits allocated by the interleaving unit.
按照上述分解方式及上述假设,该比特数据流的顺序为(0,1,…,71),令q=2,可以将至少两个比特为例分解到4个RU如下表所示: According to the above decomposition method and the above assumption, the order of the bit data stream is (0, 1, ..., 71), and q = 2, and at least two bits can be decomposed into 4 RUs as shown in the following table:
表3table 3
kk 第一RUFirst RU 第二RUSecond RU 第三RUThird RU 第四RUFourth RU
00 00 22 11 33
11 44 66 55 77
22 88 1010 99 1111
33 1212 1414 1313 1515
44 1616 1818 1717 1919
55 2020 22twenty two 21twenty one 23twenty three
66 24twenty four 2626 2525 2727
77 2828 3030 2929 3131
88 3232 3434 3333 3535
99 3636 3838 3737 3939
1010 4040 4242 4141 4343
1111 4444 4646 4545 4747
1212 4848 5050 4949 5151
1313 5252 5454 5353 5555
1414 5656 5858 5757 5959
1515 6060 6262 6161 6363
1616 6464 6666 6565 6767
1717 6868 7070 6969 7171
其中,n个RU交织单元包括RU1交织单元,RU2交织单元,RU3交织单元…RUn交织单元,其中,对于每个RU交织单元的交织方式可以采用如下的实施方式:The n RU interleaving units include an RU1 interleaving unit, an RU2 interleaving unit, an RU3 interleaving unit, and a RUn interleaving unit. The interleaving manner for each RU interleaving unit may adopt the following implementation manner:
实施方式1 Embodiment 1
每个子资源块交织单元用于将输入其中的比特按照行的顺序进行输入再按照列的方式进行输出,离散交织后的每个子资源块交织单元按照一定的次序串行输出或者离散交织后的每个子资源块交织单元并行输出。Each sub-resource block interleaving unit is configured to input the bits input in the order of rows and output them in a column manner, and each sub-resource block interleaving unit after discrete interleaving serially outputs or discretely interleaves in a certain order. The sub-resource block interleaving units are output in parallel.
其中第x个比特组中对应的n个RU交织单元中每一个RU交织单元可 以采用行列交织器,即行进列出,其参数为(NROW,NCOL)。令交织前后的比特分别为xk和wi,其中k为交织前比特位置序号,xk交织前序号为k比特位置所对应的比特,i为交织后比特位置序号,wi交织后序号为i比特位置所对应的比特,则具体交织公式为:Each of the corresponding n RU interleaved units in the xth bit group may adopt a row and column interleaver, that is, a travel list, and the parameter is (N ROW , N COL ). Let the bits before and after the interleaving be x k and w i respectively , where k is the bit position number before interleaving, the number before the x k interleaving is the bit corresponding to the k bit position, i is the bit position number after the interleaving, and the number after w i interleaving is For the bit corresponding to the position of the i bit, the specific interleaving formula is:
Figure PCTCN2015073949-appb-000015
Figure PCTCN2015073949-appb-000015
其中,NCOL、NROW为已知的第一交织处理单元处理的交织参数。Where N COL and N ROW are the interleaving parameters processed by the known first interleaving processing unit.
其中以RU1为例,假设该RU内数据子载波个数为12,系统所采用调制方式为16QAM,令NCOL=4,NROW=2×4=8,RU1中交织前的比特顺序为(0,1,…,32),则该交织后第一RU中比特顺序如下表所示:Taking RU1 as an example, it is assumed that the number of data subcarriers in the RU is 12, and the modulation mode adopted by the system is 16QAM, so that N COL = 4, N ROW = 2 × 4 = 8, and the bit order before interleaving in RU1 is ( 0, 1, ..., 32), then the bit order in the first RU after the interleaving is as follows:
表4Table 4
  第1列 Column 1 第2列Column 2 第3列 Column 3 第4列Column 4
第1行 Line 1 00 11 22 33
第2行Line 2 44 55 66 77
第3行 Line 3 88 99 1010 1111
第4行Line 4 1212 1313 1414 1515
第5行 Line 5 1616 1717 1818 1919
第6行 Line 6 2020 21twenty one 22twenty two 23twenty three
第7行 Line 7 24twenty four 2525 2626 2727
第8行 Line 8 2828 2929 3030 3131
按列读取比特后,RU1内比特顺序为:(0,4,8,12,16,20,24,28,1,5,9,13,17,21,25,29,2,6,…,27,31)。After reading the bits in columns, the order of bits in RU1 is: (0,4,8,12,16,20,24,28,1,5,9,13,17,21,25,29,2,6, ...,27,31).
实施方式2Embodiment 2
其中每个子资源块交织单元用于根据每个子资源块交织单元的顺序将其内比特进行循环移位,循环移位后的比特在每个子资源块交织单元中按照一定的次序串行输出,或者离散交织后并行输出,具体实施方式如图9所示,为本发明实施例提供的子资源块交织单元具体交织方式的示意图。 Each of the sub-resource block interleaving units is configured to cyclically shift the inner bits according to the order of each sub-resource block interleave unit, and the cyclically shifted bits are serially output in a certain order in each sub-resource block interleave unit, or FIG. 9 is a schematic diagram of a specific interleaving manner of a sub-resource block interleaving unit according to an embodiment of the present invention.
其中每个比特交织单元将相邻的编码比特交错地映射到星座图中低有效位和高有效位。令m=log2M为星座点调制阶数(16QAM时m=4),s=max{1,m/2},令交织前后的比特分别为wi和yj,其中i为交织前比特位置序号,wi交织前序号为i比特位置所对应的比特,j为交织后比特位置序号,yj交织后序号为j比特位置所对应的比特,NCBPSS为该数据流编码后比特数目则具体交织公式为:Each of the bit interleaving units alternately maps adjacent coded bits to low significant bits and high significant bits in the constellation. Let m=log 2 M be the constellation point modulation order (m=4 in 16QAM), s=max{1, m/2}, so that the bits before and after interleaving are w i and y j respectively , where i is the pre-interleaving bit The position number, the number before the w i interleaving is the bit corresponding to the i bit position, j is the bit position number after the interleaving, the number corresponding to the j bit position after the y j interleaving, and the number of bits after the N CBPSS is encoded for the data stream The specific interweaving formula is:
Figure PCTCN2015073949-appb-000016
Figure PCTCN2015073949-appb-000016
其中NCBPSS为每个空间数据流的编码比特数。Where N CBPSS is the number of coded bits per spatial data stream.
其中以RU1为例,假设该RU内数据子载波个数为12,系统所采用调制方式为BPSK,令NCOL=4,NROW=3,承接上表,则该交织后RU1中比特顺序如下表所示:Taking RU1 as an example, assuming that the number of data subcarriers in the RU is 12, the modulation mode adopted by the system is BPSK, and N COL = 4, N ROW = 3, and the upper table is followed, the bit order in the RU1 after the interleaving is as follows The table shows:
表5table 5
  第1列 Column 1 第2列Column 2 第3列 Column 3 第4列Column 4
第1行 Line 1 00 55 22 77
第2行Line 2 44 11 66 33
第3行 Line 3 88 1313 1010 1515
第4行Line 4 1212 99 1414 1111
第5行 Line 5 1616 21twenty one 1818 23twenty three
第6行 Line 6 2020 1717 22twenty two 1919
第7行 Line 7 24twenty four 2929 2626 3131
第8行 Line 8 2828 2525 3030 2727
其中上述的实施方式1与实施方式2可以进行各自独立的交织,即只交织一次,也可以采用结合在一起交织,即按照实施方式1交织完再进行实施方式2进行交织,即交织两次。The above-mentioned Embodiment 1 and Embodiment 2 can perform independent interleaving, that is, only interleaving once, or can be interleaved in combination, that is, interleaving according to Embodiment 1 and performing Interleaving 2, that is, interleaving twice.
实施方式3 Embodiment 3
其中每个子资源块交织单元每个子资源块交织单元用以将按照列输出 的比特交替的映射到星座图中低有效位和高有效位,循环移位后的比特在每个子资源块交织单元中按照一定的次序串行输出或者离散交织后的每一子资源块交织单元并行输出。Each of the sub-resource block interleaving units is used by each sub-resource block interleaving unit to output in columns The bits are alternately mapped to the low significant bits and the high significant bits in the constellation diagram, and the cyclically shifted bits are serially output in a certain order in each sub-resource block interleaving unit or each sub-resource block interleaved unit after discrete interleaving Parallel output.
本发明实施方式3中每个子资源块交织单元还可以采用RU I/Q交织方式,具体是将每个RU对星座点对应I/Q路比特分别进行旋转操作,避免编码比特连续映射于星座图中低有效位,具体交织方式如下如图10所示:In the third embodiment of the present invention, each of the sub-resource block interleaving units may also adopt an RU I/Q interleaving manner, in particular, each of the RUs respectively performs a rotation operation on the I/Q path bits corresponding to the constellation points, so as to prevent the coding bits from being continuously mapped to the constellation. The medium and low significant bits are as follows:
图10所示为RU I/Q交织单元举例,若调制方式为64QAM,可见RU1内所有比特位置均不变,而RU2数据s=m/2=3比特为一组进行向右循环移位1位,RU3数据3比特为一组进行向右循环移位2位,以此类推。FIG. 10 shows an example of an RU I/Q interleaving unit. If the modulation mode is 64QAM, all bit positions in the RU1 are unchanged, and the RU2 data s=m/2=3 bits are cyclically shifted to the right. Bit, RU3 data 3 bits are cyclically shifted to the right by 2 bits, and so on.
令s=max{1,m/2},第x个比特组对应的第iRU个RU输入比特为
Figure PCTCN2015073949-appb-000017
RU I/Q交织单元输出为
Figure PCTCN2015073949-appb-000018
则其对应关系为:
So s = max {1, m / 2}, the corresponding x-th bit group of input bits I as RU RU th
Figure PCTCN2015073949-appb-000017
The RU I/Q interleaving unit outputs
Figure PCTCN2015073949-appb-000018
Then the corresponding relationship is:
Figure PCTCN2015073949-appb-000019
Figure PCTCN2015073949-appb-000019
其中1≤iRU≤n,k=0,1,…,n为该用户设备当前在第x个比特组中对应的RU的数目,m为调制阶数,k为第iRU个RU中I/Q交织前输入的比特位置序号,j为该第iRU个RU中I/Q交织后输出的比特位置序号。Where 1 ≤ i RU ≤ n, k = 0, 1, ..., n is the number of RUs corresponding to the user equipment currently in the xth bit group, m is the modulation order, and k is the i-th RU RU The bit position number input before the /Q interleaving, and j is the bit position number outputted after the I/Q interleaving in the i-th RU RU.
假设第x个比特组对应了4个子资源块交织单元,也对应了4个RU,或假设同时有4个大小相同的RU被分配给单个用户设备,且每个RU内数据子载波的数目为3个,系统的调制方式为64QAM,则对于一个OFDMA符号比特数据流中共有72个比特。则按照上述分解方式,承接表1,4个RU中各个比特顺序如表6所示:It is assumed that the xth bit group corresponds to 4 sub resource block interleaving units, and also corresponds to 4 RUs, or it is assumed that 4 RUs of the same size are simultaneously allocated to a single user equipment, and the number of data subcarriers in each RU is Three, the modulation mode of the system is 64QAM, then there are 72 bits in the data stream of one OFDMA symbol bit. According to the above decomposition method, the sequence of each bit in Table 1 and 4 RUs is as shown in Table 6:
表6Table 6
kk 第一RUFirst RU 第二RUSecond RU 第三RUThird RU 第四RUFourth RU
00 00 99 66 33
11 44 11 1010 77
22 88 55 22 1111
33 1212 21twenty one 1818 1515
44 1616 1313 22twenty two 1919
55 2020 1717 1414 23twenty three
66 24twenty four 3333 3030 2727
77 2828 2525 3434 3131
88 3232 2929 2626 3535
99 3636 4545 4242 3939
1010 4040 3737 4646 4343
1111 4444 4141 3838 4747
1212 4848 5757 5454 5151
1313 5252 4949 5858 5555
1414 5656 5353 5050 5959
1515 6060 6969 6666 6363
1616 6464 6161 7070 6767
1717 6868 6565 6262 7171
同时,RU I/Q交织单元中循环移位也可向左进行,此时:At the same time, the cyclic shift in the RU I/Q interleaving unit can also be performed to the left, at this time:
Figure PCTCN2015073949-appb-000020
Figure PCTCN2015073949-appb-000020
其中1≤iRU≤n,k=0,1,2,……。Where 1 ≤ i RU ≤ n, k = 0, 1, 2, ....
其中本发明实施方式3可以独立进行交织,只交织一次,也可以与本实施方式1结合在一起交织,即按照实施方式1交织完再进行实施方式3进行交织,即交织两次。The third embodiment of the present invention can be interleaved independently, and only interleaved once, or can be interleaved in combination with the first embodiment. That is, according to the first embodiment, the third embodiment is interleaved, that is, interleaved twice.
本发明实施例中,所有比特组中对应的子资源块交织单元的总数量为N,即该用户设备被分配的RU数目。其中总RU交织单元位于该N个子资源块交织单元与星座映射器之间,该N个子资源块交织单元中每个子资源块交织单元用于将输入的比特进行离散交织后并行输出到总资源块交织单元中;该总资源块交织单元用于对每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织。In the embodiment of the present invention, the total number of corresponding sub-resource block interleave units in all the bit groups is N, that is, the number of RUs allocated by the user equipment. The total RU interleaving unit is located between the N sub-resource block interleaving units and the constellation mapper. Each of the N sub-resource block interleaving units is configured to discretely interleave the input bits and output the data to the total resource block in parallel. In the interleaving unit, the total resource block interleaving unit is configured to perform discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
其中,总资源块交织单元不对各个子RU交织单元内部比特进行交织,仅对每个比特组对应的多个RU之间进行整体置换操作,从而在实现复杂度较低的情况下提高系统的频率分集编码增益。该总RU交织单元的大小远小于传统比特交织器,因此其交织规则可以预存为一个列表,列表中保存交织前后RU位置序号对照,具体执行交织操作时查询该列表。同时,该RU交 织器也可采用简单的交织规则进行交织,例如行列交织器。采用行列交织器时,可以首先固定该行列交织器列的数目,随着交织元素的增加可逐步增加行的数目。同时,也可首先固定该行列交织器行的数目,随着交织元素的增加可逐步增加列的数目。The total resource block interleaving unit does not interleave internal bits of each sub-RU interleaving unit, and performs overall replacement operations only between multiple RUs corresponding to each bit group, thereby increasing the frequency of the system in a case where the complexity is low. Diversity coding gain. The size of the total RU interleaving unit is much smaller than that of the conventional bit interleaver. Therefore, the interleaving rule can be pre-stored as a list, and the RU position number comparison before and after the interleaving is saved in the list, and the list is queried when the interleaving operation is performed. At the same time, the RU The weaver can also be interleaved using simple interleaving rules, such as a row and column interleaver. When the row and column interleaver is used, the number of rows and columns interleaver columns can be fixed first, and the number of rows can be gradually increased as the interleaving elements increase. At the same time, the number of rows and columns of interleaver rows can also be fixed first, and the number of columns can be gradually increased as the interleaving elements increase.
其中,固定该行列交织器列的数目为2时,则待交织元素为偶数和奇数时交织规则如表7所示。这里n为偶数,p为偶数,左侧表格中表示待交织元素为n个时行列交织器每行每列均可被填满,而待交织元素为p个时行列交织器最后一行末尾元素被空出,此时写入和读出操作时忽略该元素即可。Wherein, when the number of the row and column interleaver columns is fixed to 2, the interleaving rules are as shown in Table 7 when the elements to be interleaved are even and odd. Where n is an even number and p is an even number. The table in the left table indicates that each row and column of the row and column interleaver can be filled when the number of elements to be interleaved is n, and the last element of the last row of the row and column interleaver is filled when the element to be interleaved is p. Empty, this element can be ignored during write and read operations.
表7Table 7
Figure PCTCN2015073949-appb-000021
Figure PCTCN2015073949-appb-000021
假设第x个比特组对应了4个子资源块交织单元,也对应了4个RU,或假设同时有4个大小相同的RU被分配给单个用户设备时,且每个RU内数据子载波的数目为3个,系统的调制方式为64QAM,则对于一个OFDMA符号比特数据流中共有72个比特。则按照上述分解方式,承接表6,4个RU中各个比特顺序如表8所示:It is assumed that the xth bit group corresponds to 4 sub resource block interleaving units, and also corresponds to 4 RUs, or if there are 4 simultaneous RUs of the same size allocated to a single user equipment, and the number of data subcarriers in each RU For three, the modulation mode of the system is 64QAM, and there are 72 bits in the data stream of one OFDMA symbol bit. According to the above decomposition method, the sequence of each bit in Table 6 and 4 RUs is as shown in Table 8:
表8Table 8
kk 第一RUFirst RU 第二RUSecond RU 第三RUThird RU 第四RUFourth RU
00 00 66 99 33
11 44 1010 11 77
22 88 22 55 1111
33 1212 1818 21twenty one 1515
44 1616 22twenty two 1313 1919
55 2020 1414 1717 23twenty three
66 24twenty four 3030 3333 2727
77 2828 3434 2525 3131
88 3232 2626 2929 3535
99 3636 4242 4545 3939
1010 4040 4646 3737 4343
1111 4444 3838 4141 4747
1212 4848 5454 5757 5151
1313 5252 5858 4949 5555
1414 5656 5050 5353 5959
1515 6060 6666 6969 6363
1616 6464 7070 6161 6767
1717 6868 6262 6565 7171
另外,该总RU交织单元也可合并到比特分解单元,比特分解单元改变比特分配规则,达到和采用RU交织器相同功能。In addition, the total RU interleaving unit can also be incorporated into the bit decomposing unit, and the bit decomposing unit changes the bit allocation rule to achieve the same function as the RU interleaver.
另外,上述实施例为离散交织后的每个子资源块交织单元并行输出至总RU交织单元中进行RU之间的交织,本发明实施例也可以采用不需要总RU交织单元,每个子资源块交织单元按照一定的次序串行输出至星座映射单元中,具体串行输出可以采用交替或者其他的离散方式,本发明不再详细赘述。In addition, in the foregoing embodiment, each of the sub-resource block interleaving units after the discrete interleaving is outputted in parallel to the total RU interleave unit to perform interleaving between the RUs, and the embodiment of the present invention may also adopt a total RU interleave unit, and each sub-resource block is interleaved. The units are serially output to the constellation mapping unit in a certain order, and the specific serial output may be alternated or other discrete manners, and the present invention will not be described in detail.
因此,本发明实施例的交织处理的装置,应用于基于OFMDA的WLAN系统中,通过分组单元按照当前用户设备被分配的RU的大小和数量,将用户设备对应的编码数据流中的多个比特分为多组输入比特;比特分流单元将多个输入比特组中的每个输入比特组包括的比特按照一定的次序分配到该每个比特组对应的所有子资源块交织单元中;由多个子资源块交织单元中的每个子资源块交织单元将输入该每个子资源块交织单元的多个比特进行离散交织,该交织方案适用于单个用户设备被分配多个RU时,且性能优异实现简单,从而在不增加系统复杂度的情况下,提高系统的性能。Therefore, the apparatus for interleaving processing in the embodiment of the present invention is applied to an OFDMA-based WLAN system, where a plurality of bits in an encoded data stream corresponding to a user equipment are used by a grouping unit according to the size and number of RUs allocated by the current user equipment. Dividing into a plurality of sets of input bits; the bit shunting unit assigns bits included in each of the plurality of input bit groups to all of the sub-resource block interleaving units corresponding to each of the bit groups in a certain order; Each of the resource block interleaving units is configured to discretely interleave a plurality of bits input to each of the sub-resource block interleaving units, where the interleaving scheme is applicable when a single user equipment is allocated multiple RUs, and the performance is excellent and the implementation is simple. Thereby improving the performance of the system without increasing system complexity.
图11为本发明实施例提供的一种WLAN设备的第三实施方式结构示意图;如图11所示,与本发明实施例WLAN设备的第二实施方式不同的是在比特分流器与子资源块交织单元之间增加总比特分流单元,而子资源块交织单元直接与星座器相连。在比特分流单元后增加总比特分流单元,对于一个基于OFDMA的系统,假设N个RU被一起分配给同一用户设备,经过分组单元,根据各个RU的大小,将该用户设备对应的多个比特分为多个比特组, 每组输入比特对应相同大小的RU,其中第x比特组对应n个子资源块交织单元,n个子资源块交织单元也对应n个大小相同的RU,则对于每个比特组中的比特处理流程举例说明如下:FIG. 11 is a schematic structural diagram of a third embodiment of a WLAN device according to an embodiment of the present invention; as shown in FIG. 11, different from the second embodiment of the WLAN device according to the embodiment of the present invention is a bit splitter and a sub-resource block. A total bit splitting unit is added between the interleaving units, and the sub-resource block interleaving unit is directly connected to the constellation. After the bit-split unit is added, the total bit-splitting unit is added. For an OFDMA-based system, it is assumed that N RUs are allocated to the same user equipment together, and the grouping unit is used to divide the plurality of bits corresponding to the user equipment according to the size of each RU. For multiple bit groups, Each set of input bits corresponds to an RU of the same size, where the xth bit group corresponds to n sub resource block interleaving units, and the n sub resource block interleaving units also correspond to n same size RUs, for example, for the bit processing flow in each bit group described as follows:
比特分流单元将第x比特组的比特流以每r个比特为单元顺序输入总比特分流单元,由总比特分流单元对该r个比特进行交织后送入第x个比特组对应的n个资源块交织单元,n个资源块交织单元处理流程与之前方案描述相同。The bit shunting unit inputs the bit stream of the xth bit group into the total bit shunting unit in units of r bits, and interleaves the r bits by the total bit shunting unit, and sends the n resources corresponding to the xth bit group. The block interleaving unit, the n resource block interleaving unit processing flow is the same as the previous scheme description.
假设第x个比特组对应了4个子资源块交织单元,也对应了4个RU,或假设同时有4个大小相同的RU被分配给单个用户设备,则此时比特分流单元将分流器的输出比特流以每8个比特为单元顺序输入总比特分流单元。例如,比特分流单元的输出比特为(0,1,2,3,4,5,6,7),则总比特分流单元按下表9所示行列交织器交织后输出比特顺序从上至下为(0,2,4,6,1,3,5,7)。将该8个比特写入各个资源块,然后再读入8个比特重复上述过程,直到各个资源块均被填满。Suppose the xth bit group corresponds to 4 sub-resource block interleaving units, and also corresponds to 4 RUs, or assumes that 4 simultaneous RUs of the same size are allocated to a single user equipment, then the bit shunt unit will output the shunt at this time. The bit stream is input to the total bit stream unit in units of every 8 bits. For example, if the output bits of the bit shunting unit are (0, 1, 2, 3, 4, 5, 6, 7), the total bit shunting unit interleaves the interleaving interleaving unit shown in Table 9 and outputs the bit order from top to bottom. It is (0, 2, 4, 6, 1, 3, 5, 7). The 8 bits are written to the respective resource blocks, and then the 8 bits are read in to repeat the above process until each resource block is filled.
表9Table 9
00 11
22 33
44 55
66 77
上述实施例中基于OFMDA的WLAN系统,采用上述的系统架构,不但解决比特交织器无法重用的问题,而且基于该设计的交织器长度更灵活,当单个用户设备被分配多个大小不同的RU时,上述设计的交织方案性能优异且实现简单,从而在不增加系统复杂度的情况下,提高系统的性能。The OFDMAA-based WLAN system in the above embodiment adopts the above system architecture, not only solves the problem that the bit interleaver cannot be reused, but also the interleaver length based on the design is more flexible, when a single user equipment is allocated multiple RUs of different sizes. The interleaving scheme of the above design is excellent in performance and simple in implementation, thereby improving system performance without increasing system complexity.
上文中结合图1至图11,详细描述了根据本发明实施例的交织处理的装置,下面将结合图12至图15,描述根据本发明实施例的交织处理的方法。The apparatus for interleaving processing according to an embodiment of the present invention is described in detail above with reference to FIGS. 1 through 11, and a method of interleaving processing according to an embodiment of the present invention will be described below with reference to FIGS. 12 through 15.
本实施例提供一种基于OFDMA的WLAN系统中的交织处理的方法,该方法的执行主体可以为包含有交织器的WLAN设备,如图12所示,为本发明提供的一种WLAN系统中发送端的交织处理方法的第一实施方式的流程图,具体包括如下步骤: The embodiment provides a method for interleaving processing in an OFDMA-based WLAN system, and the executor of the method may be a WLAN device including an interleaver, as shown in FIG. 12, which is sent in a WLAN system provided by the present invention. The flowchart of the first implementation manner of the interleaving processing method includes the following steps:
S101,根据用户设备当前被分配到的资源块RU,分组单元将该用户设备对应的编码数据流中的多个比特分为多组输入比特,该多组输入比特中的每一组输入比特的数量由该RU的大小和数量确定。S101. The packet unit divides, according to the resource block RU to which the user equipment is currently allocated, the plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, and each group of the input bits of the multiple sets of input bits The number is determined by the size and number of the RU.
其中,同一输入比特组对应至少一个RU,该至少一个RU对应相同数量的子资源块交织单元,且同一输入比特组对应的RU的大小相同。The same input bit group corresponds to at least one RU, and the at least one RU corresponds to the same number of sub-resource block interleave units, and the RUs corresponding to the same input bit group have the same size.
具体地,该分组单元可以将该用户设备对应的编码数据流中的多个比特分为第一比特组和第二比特组,其中,该第一比特组对应了M1个子资源块交织单元,该第二比特组对应了M2个子资源块交织单元,该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小,均大于该第二比特组对应的每个子资源块交织单元当前需要处理的RU的大小,M1和M2为正整数,且M=M1+M2,M为用户设备当前被分配到的资源块RU的数量。Specifically, the grouping unit may be a user equipment corresponding to the plurality of bits of the coded data stream into a first bit group and second bit group, wherein the first bit group corresponding to the resource block interleaver M 1 sub-unit, The second bit group corresponds to the M 2 sub-resource block interleaving units, and the size of the RU that needs to be processed by each sub-resource block interleaving unit corresponding to the first bit group is greater than that of each sub-resource block corresponding to the second bit group. The size of the RU that the unit currently needs to process, M 1 and M 2 are positive integers, and M = M 1 + M 2 , where M is the number of resource blocks RU to which the user equipment is currently assigned.
可选地,该分组单元将该用户设备对应的编码数据流中的多个比特分为第一比特组和第二比特组,该分组单元可以用于在一个分配循环的每个分配周期内,向该第一比特组分配连续的N1个比特,并向该第二比特组分配连续的N2个比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的每个子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。Optionally, the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into a first bit group and a second bit group, and the grouping unit may be used in each allocation period of one allocation cycle, Allocating consecutive N 1 bits to the first bit group and allocating consecutive N 2 bits to the second bit group, where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , RU 1 indicates the size of the RU that each sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 indicates the size of the RU that each sub-resource block interleave unit corresponding to the second bit group needs to process. ] indicates a rounding operation.
可选地,该分组单元将该用户设备对应的编码数据流中的多个比特分为第一比特组和第二比特组,该分组单元还可以用于交替地向该第一比特组和该第二比特组中分配该用户设备对应的编码数据流中的多个比特;当该第一比特组被分配了N1比特时,停止向该第一比特组分配比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的每个子资源块交织单元当前需要处理的RU的大小,[]表示取整运算;当第二比特组被分配了N2比特时,停止向该第二比特组分配比特,其中,N2=M2;当该第一比特组被分配了N1个比特,且该第二比特组被分配了N2个比特时,再交替地向该第一比特组和该第二比特组中分配该用户设备对应的编码数据流中的多个比特,该第一比特组和该第二比特组,继续接收被分配的比特。Optionally, the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into a first bit group and a second bit group, where the grouping unit is further configured to alternately apply to the first bit group and the Allocating a plurality of bits in the encoded data stream corresponding to the user equipment in the second bit group; when the first bit group is allocated N 1 bits, stopping allocating bits to the first bit group, where N 1 =[ RU 1 /RU 2 ·· M 1 , N 2 =M 2 , where RU 1 represents the size of the RU that each sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 represents the corresponding bit of the second bit group. The size of the RU that each sub-resource block interleaving unit currently needs to process, [] represents a rounding operation; when the second bit group is allocated N 2 bits, the allocation of bits to the second bit group is stopped, where N 2 =M 2 ; when the first bit group is allocated N 1 bit, and the second bit group is allocated N 2 bits, the user is allocated to the first bit group and the second bit group alternately a plurality of bits in the encoded data stream corresponding to the device, the first bit group The second bit group, the bits are allocated to continue the reception.
可选地,该分组单元将该用户设备对应的编码数据流中的多个比特分为第一比特组和第二比特组,该分组单元还可以用于生成随机驱动码,该随机 驱动码包括多个指示位,该多个指示位与该用户设备对应的编码数据流中的多个比特一一对应,该多个指示位中的每个指示位用于将该每个指示位对应的比特分配到该第一比特组或该第二比特组中,其中,分配到该第一比特组的比特数与分配到该第二比特组的比特数的比值为N1/N2,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。Optionally, the grouping unit divides the plurality of bits in the encoded data stream corresponding to the user equipment into a first bit group and a second bit group, where the grouping unit is further configured to generate a random driving code, where the random driving code includes a plurality of indicator bits, the plurality of indicator bits are in one-to-one correspondence with a plurality of bits in the encoded data stream corresponding to the user equipment, and each of the plurality of indicator bits is used for the bit corresponding to each indicator bit Assigned to the first bit group or the second bit group, wherein a ratio of the number of bits allocated to the first bit group to the number of bits allocated to the second bit group is N 1 /N 2 , where N 1 = [RU 1 /RU 2 ]·M 1 , N 2 = M 2 , RU 1 represents the size of the RU that the sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 represents the second bit group The size of the RU that the corresponding sub-resource block interleaving unit currently needs to process, and [] represents the rounding operation.
可选地,该随机驱动码可以包括第一指示位和第二指示位,其中,该第一指示位用于将该第一指示位对应的比特分配到该第一比特组,该第二指示位用于将该第一指示位对应的比特分配到该第二比特组。Optionally, the random driving code may include a first indicator bit and a second indicator bit, where the first indicator bit is used to allocate a bit corresponding to the first indicator bit to the first bit group, the second indication The bit is used to allocate the bit corresponding to the first indicator bit to the second bit group.
S102,比特分流单元将该每个比特组的比特按照一定的次序分配到该每个比特组对应的所有子资源块交织单元中。S102. The bit offloading unit allocates the bits of each bit group to all the sub-resource block interleaving units corresponding to each bit group in a certain order.
具体地,比特分流单元用于将该每个比特组的比特中每s个比特顺序或者交替分配到该每个比特组对应的子资源块交织单元中,其中s为大于0的正整数。Specifically, the bit offloading unit is configured to sequentially or alternately allocate each s of the bits of each bit group to the sub-resource block interleaving unit corresponding to each bit group, where s is a positive integer greater than 0.
若s为1,则第x比特组对应的第iRU个RU所分配到的比特序号为j,则其对应关系为:If s is 1, the bit number assigned to the ith RU RU corresponding to the xth bit group is j, and the corresponding relationship is:
j=(iRU-1)+n·kj=(i RU -1)+n·k
若s大于1,则第x比特组对应的第iRU个RU所分配到的比特序号为j,则其对应关系为:If s is greater than 1, the bit number assigned to the ith RU RU corresponding to the xth bit group is j, and the corresponding relationship is:
Figure PCTCN2015073949-appb-000022
Figure PCTCN2015073949-appb-000022
其中k表示第iRU个RU所分配到的比特的输入序号,k为非负整数,n为该第x比特组对应的子资源块交织单元的个数。Where k is the input number of the bit to which the i-th RU unit is allocated, k is a non-negative integer, and n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
S103,该多个子资源块交织单元中的每个子资源块交织单元将输入该每个子资源块交织单元的多个比特进行离散交织。S103. Each of the plurality of sub-resource block interleaving units performs discrete interleaving on a plurality of bits input to each of the sub-resource block interleaving units.
其中该多个资源块交织单元将输入的比特进行离散交织具体为:多个子资源块交织单元中每个子资源块交织单元用于将输入的比特进行离散交织,离散交织后照一定的次序串行输出或并行输出到映射单元中。The plurality of resource block interleaving units perform discrete interleaving of the input bits, and specifically: each of the plurality of sub-resource block interleaving units is used for discretely interleaving the input bits, and the discrete interleaving is performed in a certain order. Output or parallel output to the mapping unit.
其中该每个子资源块交织单元将输入的比特进行离散交织具体为:该每个子资源块交织单元将输入的比特按照行的顺序进行输入再按照列的方式 进行输出;和/或该多个子资源块交织单元中的每个子资源块交织单元根据该每个子资源块交织单元的顺序将该每个子资源块交织单元内的比特进行循环移位。The sub-resource block interleaving unit performs discrete interleaving on the input bits, where the inter-interleaving unit inputs the input bits in the order of the rows and then according to the column manner. And performing outputting; and/or each of the plurality of sub-resource block interleaving units cyclically shifting bits in each of the sub-resource block interleaving units according to an order of the each sub-resource block interleaving unit.
其中该每个子资源块交织单元将输入的比特按照行的顺序进行输入再按照列的方式进行输出进一步包括:每个子资源块交织单元将按照列输出的比特交替的映射到星座图中低有效位和高有效位。The sub-resource block interleaving unit inputs the input bits in the order of the rows and outputs them in a column manner. The method further includes: each sub-resource block interleaving unit alternately maps the bits output according to the columns to the low-significant bits in the constellation diagram. And high effective bits.
其中该每个子资源块交织单元根据每个子资源块交织单元的顺序将其内比特进行循环移位具体为:该每个子资源块交织单元根据RU的顺序将其内比特向右或者向左循环移位s位。Each of the sub-resource block interleaving units cyclically shifts the inner bits according to the order of each sub-resource block interleave unit, specifically: the per-sub-resource block interleaving unit cyclically shifts its inner bits to the right or left according to the order of the RUs. Bit s bit.
根据该每个子资源块交织单元当前需要处理的RU的顺序,将该每个子资源块交织单元内的比特向右循环移位s位,则第x比特组对应的第iRU个RU输入比特与输出比特j对应关系为:The sequence of the interleaving block of each sub-resource unit RU currently need to be processed, the resource block for each sub-bit right circular shift s interleaved bits within a cell, the I RU RU th input bits of the bit group corresponding to x The output bit j correspondence is:
Figure PCTCN2015073949-appb-000023
Figure PCTCN2015073949-appb-000023
根据该每个子资源块交织单元当前需要处理的RU的顺序,将该每个子资源块交织单元内的比特向左循环移位s位,则该第x比特组对应的第iRU个RU输入比特与输出比特j对应关系为:The sequence of the interleaving block of each sub-resource unit RU currently need to be processed, each of the sub-block interleaved bits within the resource unit bit left cyclic shift s, the x-th bit group corresponding to the first input bits I RU RU th Correspondence with output bit j is:
Figure PCTCN2015073949-appb-000024
Figure PCTCN2015073949-appb-000024
其中1≤iRU≤n,k=0,1,…,n为该用户设备当前被分配的RU中第x个比特组对应的RU的数目,m为调制阶数,k为第iRU个RU中输入比特的位置序号,j为第iRU个RU中输出比特的位置序号。Where 1 ≤ i RU ≤ n, k = 0, 1, ..., n is the number of RUs corresponding to the xth bit group in the RU currently allocated by the user equipment, m is the modulation order, and k is the i thth The position number of the input bit in the RU, and j is the position number of the output bit in the i-th RU RU.
其中在S102之后,该方法还包括:该比特分流单元的输出比特流以每r个比特为单元顺序输入至总比特分流单元;该总比特分流单元将该r个比特进行交织后按照一定的次序分别分配到该多个子资源块交织单元中,其中r为正整数。After the step S102, the method further includes: outputting the bit stream of the bit shunting unit into the total bit shunting unit in units of r bits; the total bit shunting unit interleaving the r bits in a certain order And respectively allocated to the plurality of sub-resource block interleaving units, where r is a positive integer.
其中在S103之后,该方法还包括:该多个子资源块交织单元将输出的比特输入到总资源块交织单元中;该总资源块交织单元对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织。After the S103, the method further includes: the multiple sub-resource block interleaving units input the output bits into the total resource block interleaving unit; the total resource block interleaving unit is in the sub-resource block interleaving unit corresponding to each bit group At least two sub-resource block interleaving units perform discrete interleaving.
具体地,该总资源块交织单元对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织,包括:根据预先设定的列表, 该总资源块交织单元对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织;或者该总资源块交织单元对该每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元按照行列规则进行交织。Specifically, the total resource block interleaving unit performs discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group, including: according to a preset list, The total resource block interleaving unit performs discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group; or the total resource block interleaving unit sub-resource block corresponding to each bit group At least two sub-resource block interleaving units in the interleaving unit perform interleaving according to the row and column rules.
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention. The implementation process constitutes any limitation.
因此,本发明实施例的交织处理的方法,应用于基于OFMDA的WLAN系统中,通过分组单元按照当前用户设备被分配的RU的大小和数量,将用户设备对应的编码数据流中的多个比特分为多组输入比特;比特分流单元将多个输入比特组中的每个输入比特组包括的比特按照一定的次序分配到该每个比特组对应的所有子资源块交织单元中;由多个子资源块交织单元中的每个子资源块交织单元将输入该每个子资源块交织单元的多个比特进行离散交织,该交织方案适用于单个用户设备被分配多个RU时,且性能优异实现简单,从而在不增加系统复杂度的情况下,提高系统的性能。Therefore, the method of the interleaving process in the embodiment of the present invention is applied to the OFDMA-based WLAN system, and the plurality of bits in the encoded data stream corresponding to the user equipment are used by the grouping unit according to the size and number of the RUs allocated by the current user equipment. Dividing into a plurality of sets of input bits; the bit shunting unit assigns bits included in each of the plurality of input bit groups to all of the sub-resource block interleaving units corresponding to each of the bit groups in a certain order; Each of the resource block interleaving units is configured to discretely interleave a plurality of bits input to each of the sub-resource block interleaving units, where the interleaving scheme is applicable when a single user equipment is allocated multiple RUs, and the performance is excellent and the implementation is simple. Thereby improving the performance of the system without increasing system complexity.
可选地,本发明提供的一种WLAN系统中的交织处理方法的第二实施方式的流程图,如图13所示,包括如下步骤:Optionally, the flowchart of the second implementation manner of the interleaving processing method in the WLAN system provided by the present invention, as shown in FIG. 13, includes the following steps:
S201:对比特数据流进行差错控制编码(或称为信道编码),得到信道编码后数据比特流,其中执行该步骤的可以为FEC编码器;S201: Perform error control coding (or channel coding) on the bit data stream to obtain a channel coded data bit stream, where the step of performing the step may be an FEC encoder;
S202:根据用户设备当前被分配到的资源块RU,分组单元将该用户设备对应的编码数据流中的多个比特分为多组输入比特,该多组输入比特中的每一组输入比特的数量由该RU的大小和数量确定。S202: The packet unit divides, according to the resource block RU to which the user equipment is currently allocated, the plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, and each group of the input bits of the plurality of input bits The number is determined by the size and number of the RU.
其中,同一输入比特组对应至少一个RU,该至少一个RU对应相同数量的子资源块交织单元,且同一输入比特组对应的RU的大小相同。The same input bit group corresponds to at least one RU, and the at least one RU corresponds to the same number of sub-resource block interleave units, and the RUs corresponding to the same input bit group have the same size.
可选地,S202还可以通过比特分流器将S201处理后的单比特流分配到iss个空间数据流,然后再通过分组单元进行分组,并在S202中,按照一定的次序将iss个空间数据流分别分配到每个比特组中。假设数据发送端有iss个空间数据流,则分流器或者处理器将信道编码后的单比特流分配到iss个空间数据流;Optionally, S202 may further allocate the S201 processed single bit stream to the iss spatial data stream by using a bit splitter, and then group by the grouping unit, and in S202, execute the iss spatial data streams in a certain order. Assigned to each bit group separately. Assuming that the data sender has an iss spatial data stream, the splitter or processor allocates the channel-coded single-bit stream to the iss spatial data stream;
S203:比特分流单元将该每个比特组的比特按照一定的次序分配到该每 个比特组对应的所有子资源块交织单元中。S203: The bit splitting unit allocates the bits of each bit group to each of the bits in a certain order. All sub-resource block interleave units corresponding to each bit group.
S204:多个子资源块交织单元中的每个子资源块交织单元将输入该每个子资源块交织单元的多个比特进行离散交织;S204: Each of the plurality of sub-resource block interleaving units performs discrete interleaving on a plurality of bits input to each of the sub-resource block interleaving units.
S205:对每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织;S205: Perform discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
S206:将交织后比特流映射至调制星座图中的星座点上,得到星座符号数据流;S206: Mapping the interleaved bit stream to a constellation point in the modulation constellation to obtain a constellation symbol data stream;
S207:循环移位延迟单元分别对各个空间数据流进行循环移位延迟操作。S207: The cyclic shift delay unit performs a cyclic shift delay operation on each spatial data stream.
其中S204与S205可以执行在交织器中,该交织器包括多个子资源块交织单元和总资源块交织单元。S207可以执行在一星座映射器中,S208可以执行在循环移位延迟器中。更进一步,本发明实施例执行上述各个步骤并不限于上述的各个独立的元件,亦可采用处理器执行S101至S108。S204 and S205 may be performed in an interleaver, where the interleaver includes a plurality of sub-resource block interleaving units and a total resource block interleaving unit. S207 can be executed in a constellation mapper, and S208 can be executed in a cyclic shift delay. Furthermore, the execution of the above steps in the embodiments of the present invention is not limited to the above-mentioned independent components, and the processor may perform S101 to S108.
对于一个基于OFDMA的系统,假设当前将N个大小不同的RU一起分配给同一用户设备,则S202和S203具体操作如下:For an OFDMA-based system, it is assumed that N different sizes of RUs are currently allocated to the same user equipment, and S202 and S203 are specifically operated as follows:
具体地,在S202中,分组单元将该用户设备对应的编码数据流中的多个比特,根据用户设备当前被分配到的资源块RU的大小和数量,可以分为第一比特组和第二比特组,其中,该第一比特组包括M1个子资源块交织单元,该第二比特组包括M2个子资源块交织单元,该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小均大于该第二比特组对应的每个子资源块交织单元当前需要处理的RU的大小,M1和M2为正整数,且M=M1+M2,M为多个子资源块交织单元的数量。Specifically, in S202, the grouping unit may divide the plurality of bits in the encoded data stream corresponding to the user equipment into the first bit group and the second according to the size and quantity of the resource block RU to which the user equipment is currently allocated. a bit group, where the first bit group includes M 1 sub-resource block interleaving units, where the second bit group includes M 2 sub-resource block interleaving units, and each sub-resource block interleaving unit corresponding to the first bit group currently needs to be processed. The size of the RU is greater than the size of the RU currently to be processed by each sub-resource block interleave unit corresponding to the second bit group, M 1 and M 2 are positive integers, and M=M 1 +M 2 , where M is a plurality of sub-resource blocks. The number of interleaved units.
可选地,在S202中,该分组单元将该用户设备对应的编码数据流中的多个比特,根据用户设备当前被分配到的资源块RU的大小和数量,分为第一比特组和第二比特组,具体地,该分组单元可以在一个分配循环的每个分配周期内,向该第一比特组分配连续的N1个比特,并向该第二比特组分配连续的N2个比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应每个子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。Optionally, in S202, the grouping unit divides the multiple bits in the encoded data stream corresponding to the user equipment into the first bit group and the first according to the size and quantity of the resource block RU to which the user equipment is currently allocated. A bin, in particular, the packet unit may allocate consecutive N 1 bits to the first bit group and allocate consecutive N 2 bits to the second bit group in each allocation cycle of an allocation cycle Where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , and RU 1 represents the size of the RU that each sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 represents The second bit group corresponds to the size of the RU that each sub-resource block interleaving unit currently needs to process, and [] represents a rounding operation.
作为一个实施例,如图6所示,对于一个基于OFDMA的系统,假设 40M带宽下系统FFT的大小为256点,且此时该40M带宽被划分为8个小RU和1个大RU,其中每个小RU内包含24个数据子载波和2个导频子载波,每个大RU内包含234个数据子载波和8个导频子载波。As an embodiment, as shown in Figure 6, for an OFDMA-based system, assume The size of the system FFT is 256 points under the 40M bandwidth, and the 40M bandwidth is divided into 8 small RUs and 1 large RU, where each small RU contains 24 data subcarriers and 2 pilot subcarriers. Each large RU contains 234 data subcarriers and 8 pilot subcarriers.
当将该8个小RU和1个大RU分配给同一用户设备,且系统采用64QAM调制时,对应地,该用户设备被分配了9个子资源块交织单元,分组单元首先将根据这些RU的大小,将该用户设备对应的编码数据流中的多个比特进行分组,分为第一比特组和第二比特组,且第一比特组对应1个大RU,即对应一个子资源交织单元,第二比特组对应8个小RU,即对应八个子资源块交织单元。When the 8 small RUs and 1 large RU are allocated to the same user equipment, and the system adopts 64QAM modulation, correspondingly, the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs. And the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit, The two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
如图6所示,由于第一比特组对应的RU的大小大于第二比特组,则在一个分配循环的每个分配周期内,向该第一比特组分配连续的N1个比特,并向该第二比特组分配连续的N2个比特,其中,N1=[RU1/RU2]·M1=[234/24]·1=10,N2=M2=8,即在每个分配周期内,向该第一比特组分配连续的10个比特,并向该第二比特组分配连续的8个比特。As shown in FIG. 6, since the size of the RU corresponding to the first bit group is larger than the second bit group, consecutive N 1 bits are allocated to the first bit group in each allocation period of one allocation cycle, and The second bit group is allocated consecutive N 2 bits, where N 1 =[RU 1 /RU 2 ]·M 1 =[234/24]·1=10, N 2 =M 2 =8, ie at each During the allocation period, consecutive 10 bits are allocated to the first bit group, and consecutive 8 bits are allocated to the second bit group.
可选地,在S202中,该分组单元将该用户设备对应的编码数据流中的多个比特,根据用户设备当前被分配到的资源块RU的大小和数量,分为第一比特组和第二比特组,具体地,该分组单元还可以交替地向该第一比特组和该第二比特组中分配多个比特;当该第一比特组被分配了N1比特时,停止向该第一比特组分配比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的每个子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的每个子资源块交织单元当前需要处理的RU的大小,[]表示取整运算;当第二比特组被分配了N2比特时,停止向该第二比特组分配比特,其中,N2=M2;当该第一比特组被分配了N1个比特,且该第二比特组被分配了N2个比特时,再交替地向该第一比特组和该第二比特组中分配该用户设备对应的编码数据流中的多个比特,该第一比特组和该第二比特组,继续接收被分配的比特。Optionally, in S202, the grouping unit divides the multiple bits in the encoded data stream corresponding to the user equipment into the first bit group and the first according to the size and quantity of the resource block RU to which the user equipment is currently allocated. a group of bits, in particular, the grouping unit may alternately allocate a plurality of bits to the first group of bits and the second group of bits; when the first group of bits is allocated with N 1 bits, stopping to the second group a bit allocation bit, where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , and RU 1 represents the RU of each sub-resource block interleaving unit corresponding to the first bit group that needs to be processed Size, RU 2 indicates the size of the RU that each sub-resource block interleaving unit corresponding to the second bit group needs to process, [] represents a rounding operation; when the second bit group is allocated N 2 bits, the a bit allocation bit, where N 2 = M 2 ; when the first bit group is allocated N 1 bit, and the second bit group is allocated N 2 bits, then alternately to the first a bit group and a code corresponding to the user equipment allocated in the second bit group According to the bitstream the plurality of the first bit group and the second bit group, the bits are allocated to continue the reception.
作为一个实施例,如图7所示,对于一个基于OFDMA的系统,假设40M带宽下系统FFT的大小为256点,且此时该40M带宽被划分为8个小RU和1个大RU,其中每个小RU内包含24个数据子载波和2个导频子载波,每个大RU内包含234个数据子载波和8个导频子载波。 As an embodiment, as shown in FIG. 7, for an OFDMA-based system, it is assumed that the size of the system FFT in the 40M bandwidth is 256 points, and at this time, the 40M bandwidth is divided into 8 small RUs and 1 large RU, wherein Each small RU contains 24 data subcarriers and 2 pilot subcarriers, and each large RU contains 234 data subcarriers and 8 pilot subcarriers.
当将该8个小RU和1个大RU分配给同一用户设备,且系统采用64QAM调制时,对应地,该用户设备被分配了9个子资源块交织单元,分组单元首先将根据这些RU的大小,将该用户设备对应的编码数据流中的多个比特进行分组,分为第一比特组和第二比特组,且第一比特组对应1个大RU,即对应一个子资源交织单元,第二比特组对应8个小RU,即对应八个子资源块交织单元。When the 8 small RUs and 1 large RU are allocated to the same user equipment, and the system adopts 64QAM modulation, correspondingly, the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs. And the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit, The two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
如图7所示,由于第一比特组对应的RU的大小大于第二比特组,则该分组单元可以通过传统比特交织器和选择开关的组合,交替地向第一比特组和第二比特组种分配比特。具体地,传统比特交织器用于轮流分配给每组比特组单个比特,第一比特组的选择开关一旦接收到N1比特后关闭,即停止向该第一比特组分配比特;第二比特组的选择开关一旦接收到N2比特后关闭,即停止向该第二比特组分配比特,其中,N1=[RU1/RU2]·M1=[234/24]·1=10,N2=M2=8。两个比特组的选择开关采用集中式控制,一旦两个比特组的选择开关都关闭后才重启,继续接收传统比特交织发送的比特。As shown in FIG. 7, since the size of the RU corresponding to the first bit group is larger than the second bit group, the grouping unit may alternately move to the first bit group and the second bit group through a combination of a conventional bit interleaver and a selection switch. A kind of allocation bit. Specifically, the conventional bit interleaver is configured to allocate a single bit to each group of bit groups in turn, and the selection switch of the first bit group is turned off after receiving the N 1 bit, that is, the bit is allocated to the first bit group; the second bit group is The selection switch, once closed after receiving N 2 bits, stops assigning bits to the second bit group, where N 1 =[RU 1 /RU 2 ]·M 1 =[234/24]·1=10, N 2 =M 2 =8. The selection switch of the two bit groups adopts centralized control, and restarts after the selection switches of both bit groups are turned off, and continues to receive the bits transmitted by the conventional bit interleaving.
可选地,在S202中,该分组单元将该用户设备对应的编码数据流中的多个比特,根据用户设备当前被分配到的资源块RU的大小和数量,分为第一比特组和第二比特组,具体地,该分组单元还可以生成随机驱动码,该随机驱动码包括多个指示位,该多个指示位与该用户设备对应的编码数据流中的多个比特一一对应,该多个指示位中的每个指示位用于将该每个指示位对应的比特分配到该第一比特组或该第二比特组中,其中,分配到该第一比特组的比特数与分配到该第二比特组的比特数的比值为N1/N2,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示该第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示该第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。Optionally, in S202, the grouping unit divides the multiple bits in the encoded data stream corresponding to the user equipment into the first bit group and the first according to the size and quantity of the resource block RU to which the user equipment is currently allocated. a packet, in particular, the packet unit may further generate a random driving code, where the random driving code includes a plurality of indicator bits, and the plurality of indicator bits are in one-to-one correspondence with a plurality of bits in the encoded data stream corresponding to the user equipment, Each of the plurality of indicator bits is used to allocate a bit corresponding to each indicator bit to the first bit group or the second bit group, wherein the number of bits allocated to the first bit group is The ratio of the number of bits allocated to the second bit group is N 1 /N 2 , where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , and RU 1 represents the first bit group corresponding The sub-resource block interleaving unit currently needs to process the size of the RU, and RU 2 indicates the size of the RU that the sub-resource block interleaving unit corresponding to the second bit group currently needs to process, and [] represents the rounding operation.
可选地,该随机驱动码可以包括第一指示位和第二指示位,其中,该第一指示位用于将该第一指示位对应的比特分配到该第一比特组,该第二指示位用于将该第一指示位对应的比特分配到该第二比特组。Optionally, the random driving code may include a first indicator bit and a second indicator bit, where the first indicator bit is used to allocate a bit corresponding to the first indicator bit to the first bit group, the second indication The bit is used to allocate the bit corresponding to the first indicator bit to the second bit group.
作为一个实施例,如图8所示,对于一个基于OFDMA的系统,假设40M带宽下系统FFT的大小为256点,且此时该40M带宽被划分为8个小RU和1个大RU,其中每个小RU内包含24个数据子载波和2个导频子载 波,每个大RU内包含234个数据子载波和8个导频子载波。As an embodiment, as shown in FIG. 8, for an OFDMA-based system, it is assumed that the size of the system FFT in the 40M bandwidth is 256 points, and at this time, the 40M bandwidth is divided into 8 small RUs and 1 large RU, wherein Each small RU contains 24 data subcarriers and 2 pilot subcarriers Waves, each large RU contains 234 data subcarriers and 8 pilot subcarriers.
当将该8个小RU和1个大RU分配给同一用户设备,且系统采用64QAM调制时,对应地,该用户设备被分配了9个子资源块交织单元,分组单元首先将根据这些RU的大小,将该用户设备对应的编码数据流中的多个比特进行分组,分为第一比特组和第二比特组,且第一比特组对应1个大RU,即对应一个子资源交织单元,第二比特组对应8个小RU,即对应八个子资源块交织单元。When the 8 small RUs and 1 large RU are allocated to the same user equipment, and the system adopts 64QAM modulation, correspondingly, the user equipment is allocated 9 sub-resource block interleaving units, and the grouping unit will firstly be based on the size of the RUs. And the plurality of bits in the encoded data stream corresponding to the user equipment are grouped into a first bit group and a second bit group, and the first bit group corresponds to one large RU, that is, corresponding to one sub-resource interleaving unit, The two-bit group corresponds to eight small RUs, that is, corresponding to eight sub-resource block interleaving units.
如图8所示,分组单元可以采用随机比特交织器,生成随机驱动码,该随机驱动码包括多个指示位,该多个指示位与该用户设备对应的编码数据流中的多个比特一一对应,该随机驱动码可以包括第一指示位“0”,第二指示位“1”,随机驱动码可以为“01101110011101000101…”,其中,第一指示位“0”用于指示将该指示位对应的比特分配到该第一比特组;第二指示位“1”用于指示将该指示位对应的比特分配到该第二比特组。由于第一比特组对应的RU的大小大于第二比特组,则分配到该第一比特组的比特数与分配到该第二比特组的比特数的比值为N1/N2,其中,N1=[RU1/RU2]·M1=[234/24]·1=10,N2=M2=8。As shown in FIG. 8, the grouping unit may generate a random driving code by using a random bit interleaver, where the random driving code includes a plurality of indicator bits, and the plurality of indicator bits are a plurality of bits in the encoded data stream corresponding to the user equipment. Correspondingly, the random driving code may include a first indicator bit “0”, a second indicator bit “1”, and the random driver code may be “01101110011101000101...”, wherein the first indicator bit “0” is used to indicate the indication. The bit corresponding to the bit is allocated to the first bit group; the second indicator bit "1" is used to indicate that the bit corresponding to the indicator bit is allocated to the second bit group. The ratio of the number of bits allocated to the first bit group to the number of bits allocated to the second bit group is N 1 /N 2 , where N is greater than the second bit group. 1 = [RU 1 /RU 2 ]·M 1 =[234/24]·1=10, N 2 =M 2 =8.
可选地,该随机驱动码可以包括第一指示位和第二指示位,其中,第一指示位为“00”,用于指示将该指示位对应的比特分配到该第一比特组;第二指示位为“11”,用于指示将该指示位对应的比特分配到该第二比特组,本发明并不限于此。Optionally, the random driving code may include a first indicator bit and a second indicator bit, where the first indicator bit is “00”, and is used to indicate that the bit corresponding to the indicator bit is allocated to the first bit group; The second indication bit is "11" for indicating that the bit corresponding to the indication bit is allocated to the second bit group, and the present invention is not limited thereto.
在本发明实施例中,对于一个基于OFDMA的系统,假设N个RU被一起分配给同一用户设备,经过上述S202,在S203中,以第x个比特组为例进行说明,该组对应了至少两个子资源块交织单元,该第x个比特组的比特可以采用如下的方式进行交织:In the embodiment of the present invention, for an OFDMA-based system, it is assumed that N RUs are allocated to the same user equipment together, and after S202, in S203, the xth bit group is taken as an example, and the group corresponds to at least Two sub-resource block interleaving units, the bits of the xth bit group may be interleaved in the following manner:
将第x个比特组的每个比特交错分配给该用户设备在第x个比特组中对应的多个RU。令m=log2M为系统调制阶数,M为星座图大小,则比特分流单元可逐个比特交错分配给RU1到RUn。令s=max{1,m/2},s表示连续为每个资源块交织单元分配的比特个数,比特分流单元输入为yj,第x个比特组对应的第iRU个RU所分配到的比特序号为j的对应关系如下:Each bit of the xth bit group is interleaved to a plurality of RUs corresponding to the user equipment in the xth bit group. Let m=log 2 M be the system modulation order, and M be the constellation size, then the bit shunting unit can be allocated to RU1 to RUn bit by bit. Let s=max{1,m/2}, s denote the number of bits allocated continuously for each resource block interleaving unit, the bit shunt unit input is y j , and the i th RUs corresponding to the xth bit group are allocated The corresponding relationship of the bit number to j is as follows:
j=(iRU-1)+n×kj=(i RU -1)+n×k
其中1≤iRU≤n,k表示每个资源块交织单元的输入比特序号,k为非负 整数,取值范围为k=0,1,…。Where 1 ≤ i RU ≤ n, k represents the input bit number of each resource block interleaving unit, and k is a non-negative integer, and the value ranges from k=0, 1, .
进一步假设第x个比特组对应了4个子资源块交织单元,也对应了4个RU,或假设同时有4个大小相同的RU被分配给单个用户设备,且每个RU内数据子载波的数目为3个,系统的调制方式为64QAM,则对于一个OFDMA符号比特数据流中共有72个比特。则按照上述分解方式,该比特数据流的顺序为(0,1,…,71),逐一分解到4个RU如上表1所示,此不再赘述。It is further assumed that the xth bit group corresponds to 4 sub resource block interleaving units, and also corresponds to 4 RUs, or it is assumed that 4 simultaneous RUs of the same size are allocated to a single user equipment, and the number of data subcarriers in each RU For three, the modulation mode of the system is 64QAM, and there are 72 bits in the data stream of one OFDMA symbol bit. According to the above decomposition manner, the order of the bit data streams is (0, 1, ..., 71), and is decomposed into 4 RUs as shown in Table 1 above, and details are not described herein again.
该S203可将每s个比特为一组交错分配给RU1到RUn,第x个比特组对应的第iRU个RU所分配到的比特序号为j的对应关系如下:The S203 may assign a set of interlaces to the RU1 to the RUn, and the corresponding relationship of the bit number assigned to the i-th RU of the xth bit group is as follows:
Figure PCTCN2015073949-appb-000025
Figure PCTCN2015073949-appb-000025
其中k表示每个资源块交织单元的输入比特序号,k为非负整数,s表示连续为每个资源块交织单元分配的比特个数,n为第x个比特组对应的子资源块交织单元的个数。Where k represents the input bit number of each resource block interleaving unit, k is a non-negative integer, s represents the number of bits allocated consecutively for each resource block interleaving unit, and n is the sub-resource block interleaving unit corresponding to the xth bit group The number.
按照上述分解方式及上述假设,该比特数据流的顺序为(0,1,…,71),可以将至少两个比特为例分解到4个RU如上表2所示,此不再赘述:According to the above decomposition method and the above assumption, the order of the bit data stream is (0, 1, ..., 71), and at least two bits can be decomposed into four RUs as shown in Table 2 above, and details are not described herein again.
其中S203并不限于将数据流中的s个比特顺序的分配至RU1到RUn,例如可以选择相隔q个RU进行交替分配,这种情况下第x个比特组对应的第iRU个RU所分配到的比特序号为j,则其对应关系为:Wherein S203 is not limited to the allocation of s bit sequences in the data stream to RU1 to RUn. For example, q RUs may be selected for alternate allocation. In this case, the i th RUs corresponding to the xth bit group are allocated. The bit number to be obtained is j, and the corresponding relationship is:
Figure PCTCN2015073949-appb-000026
Figure PCTCN2015073949-appb-000026
其中
Figure PCTCN2015073949-appb-000027
保证交替分配至RU集末尾时返回RU集的开端,从而使比特分配到所有RU,其中k表示每个资源块交织单元输入的比特序号,k为非负整数,s表示连续为每个资源块交织单元分配的比特个数。
among them
Figure PCTCN2015073949-appb-000027
It is guaranteed to return to the beginning of the RU set when it is alternately allocated to the end of the RU set, so that the bits are allocated to all RUs, where k represents the bit number input by each resource block interleaving unit, k is a non-negative integer, and s represents continuous for each resource block. The number of bits allocated by the interleaving unit.
按照上述分解方式及上述假设,该比特数据流的顺序为(0,1,…,71),令q=2,可以将至少两个比特为例分解到4个RU如上表3所示,此不再赘述:According to the above decomposition method and the above assumption, the order of the bit data stream is (0, 1, ..., 71), and q = 2, and at least two bits can be decomposed into 4 RUs as shown in Table 3 above. No longer:
其中,n个RU交织单元包括RU1交织单元,RU2交织单元,RU3交织单元…RUn交织单元,其中每个RU交织单元的交织方式可以采用如下的实施方式:The n RU interleaving units include an RU1 interleaving unit, an RU2 interleaving unit, an RU3 interleaving unit, and a RUn interleaving unit. The interleaving manner of each RU interleaving unit may adopt the following implementation manner:
实施方式1 Embodiment 1
在S204中,每个子资源块交织单元将输入的比特按照行的顺序进行输 入再按照列的方式进行输出,离散交织后的每个子资源块交织单元按照一定的次序串行输出或者离散交织后的每个子资源块交织单元并行输出。In S204, each sub-resource block interleaving unit inputs the input bits in the order of the rows. The input and output are performed in a column manner, and each of the sub-resource block interleaving units after the discrete interleaving is serially output in a certain order or each sub-resource block interleaving unit after the discrete interleaving is output in parallel.
其中第x个比特组对应的n个RU交织单元中每一个RU交织单元采用行列交织器,即行进列出,其参数为(NROW,NCOL)。令交织前后的比特分别为xk和wi,其中k为交织前比特位置序号,xk交织前序号为k比特位置所对应的比特,i为交织后比特位置序号,wi交织后序号为i比特位置所对应的比特,则具体交织公式为:Each of the n RU interleaving units corresponding to the xth bit group adopts a row and column interleaver, that is, a travel list, and the parameter is (N ROW , N COL ). Let the bits before and after the interleaving be x k and w i respectively , where k is the bit position number before interleaving, the number before the x k interleaving is the bit corresponding to the k bit position, i is the bit position number after the interleaving, and the number after w i interleaving is For the bit corresponding to the position of the i bit, the specific interleaving formula is:
Figure PCTCN2015073949-appb-000028
Figure PCTCN2015073949-appb-000028
其中,NCOL、NROW为已知的第一交织处理单元处理的交织参数。Where N COL and N ROW are the interleaving parameters processed by the known first interleaving processing unit.
其中以RU1为例,假设该RU内数据子载波个数为12,系统所采用调制方式为16QAM,令NCOL=4,NROW=2×4=8,RU1中交织前的比特顺序为(0,1,…,32),则该交织后第一RU中比特顺序如上表4所示,此不再赘述。Taking RU1 as an example, it is assumed that the number of data subcarriers in the RU is 12, and the modulation mode adopted by the system is 16QAM, so that N COL = 4, N ROW = 2 × 4 = 8, and the bit order before interleaving in RU1 is ( 0, 1, ..., 32), the bit sequence in the first RU after the interleaving is as shown in Table 4 above, and details are not described herein again.
按列读取比特后,RU1内比特顺序为:(0,4,8,12,16,20,24,28,1,5,9,13,17,21,25,29,2,6,…,27,31)。After reading the bits in columns, the order of bits in RU1 is: (0,4,8,12,16,20,24,28,1,5,9,13,17,21,25,29,2,6, ...,27,31).
实施方式2Embodiment 2
在S204中,每个子资源块交织单元根据每个子资源块交织单元的顺序将其内比特进行循环移位,循环移位后的比特在每一子资源块交织单元中按照一定的次序串行输出,或者离散交织后并行输出,具体实施方式交织方式可以参考上述图9:In S204, each sub-resource block interleaving unit cyclically shifts its inner bit according to the order of each sub-resource block interleaving unit, and the cyclically shifted bits are serially output in a certain order in each sub-resource block interleaving unit. Or parallel output after discrete interleaving. For the interleaving method of the specific implementation, refer to FIG. 9 above:
其中每个比特交织单元将相邻的编码比特交错地映射到星座图中低有效位和高有效位。令交织前后的比特分别为wi和yj,其中i为交织前比特位置序号,wi交织前序号为i比特位置所对应的比特,j为交织后比特位置序号,yj交织后序号为j比特位置所对应的比特,NCBPSS为该数据流编码后比特数目则具体交织公式为:Each of the bit interleaving units alternately maps adjacent coded bits to low significant bits and high significant bits in the constellation. Let the bits before and after the interleaving be w i and y j respectively , where i is the bit position number before the interleaving, the number before the w i interleaving is the bit corresponding to the i bit position, j is the bit position number after the interleaving, and the number after the interleaving is y j The bit corresponding to the j-bit position, N CBPSS is the number of bits after encoding the data stream, and the specific interleaving formula is:
Figure PCTCN2015073949-appb-000029
Figure PCTCN2015073949-appb-000029
其中NCBPSS为每个空间数据流的编码比特数。Where N CBPSS is the number of coded bits per spatial data stream.
其中以RU1为例,假设该RU内数据子载波个数为12,系统所采用调制方式为BPSK,令NCOL=4,NROW=3,承接上表,则该交织后RU1中比特 顺序如上表5所示,此不再赘述。Taking RU1 as an example, assuming that the number of data subcarriers in the RU is 12, the modulation mode adopted by the system is BPSK, and N COL = 4, N ROW = 3, and the above table is followed, the bit order in the RU1 after the interleaving is as above Table 5 shows that this is not repeated here.
其中上述的实施方式1与实施方式2可以进行各自独立的交织,即只交织一次,也可以采用结合在一起交织,即按照实施方式1交织完再进行实施方式2进行交织,即交织两次。The above-mentioned Embodiment 1 and Embodiment 2 can perform independent interleaving, that is, only interleaving once, or can be interleaved in combination, that is, interleaving according to Embodiment 1 and performing Interleaving 2, that is, interleaving twice.
实施方式3 Embodiment 3
在S204中,每个子资源块交织单元每个子资源块交织单元将按照列输出的比特交替的映射到星座图中低有效位和高有效位,循环移位后的比特在每个子资源块交织单元中按照一定的次序串行输出或者离散交织后的每个子资源块交织单元并行输出。In S204, each sub-resource block interleaving unit per sub-resource block interleaving unit alternately maps the bits output according to the column to the low-significant bits and the high-significant bits in the constellation diagram, and the cyclically shifted bits are in each sub-resource block interleaving unit. Each of the sub-resource block interleaving units serially output or discretely interleaved in a certain order is output in parallel.
本发明实施方式3中每个子资源块交织单元还可以采用RU I/Q交织方式,具体是将每个RU对星座点对应I/Q路比特分别进行旋转操作,避免编码比特连续映射于星座图中低有效位,具体交织方式可以参考上述图10。In the third embodiment of the present invention, each of the sub-resource block interleaving units may also adopt an RU I/Q interleaving manner, in particular, each of the RUs respectively performs a rotation operation on the I/Q path bits corresponding to the constellation points, so as to prevent the coding bits from being continuously mapped to the constellation. For the medium and low effective bits, the specific interleaving method can refer to Figure 10 above.
图10所示为RU I/Q交织单元举例,若调制方式为64QAM,可见RU1内所有比特位置均不变,而RU2数据s=m/2=3比特为一组进行向右循环移位1位,RU3数据3比特为一组进行向右循环移位2位,以此类推。FIG. 10 shows an example of an RU I/Q interleaving unit. If the modulation mode is 64QAM, all bit positions in the RU1 are unchanged, and the RU2 data s=m/2=3 bits are cyclically shifted to the right. Bit, RU3 data 3 bits are cyclically shifted to the right by 2 bits, and so on.
令s=max{1,m/2},第iRU个RU输入比特为
Figure PCTCN2015073949-appb-000030
RU I/Q交织单元输出为
Figure PCTCN2015073949-appb-000031
则其对应关系为:
So s = max {1, m / 2}, the first I RU RU th input bits
Figure PCTCN2015073949-appb-000030
The RU I/Q interleaving unit outputs
Figure PCTCN2015073949-appb-000031
Then the corresponding relationship is:
Figure PCTCN2015073949-appb-000032
Figure PCTCN2015073949-appb-000032
其中1≤iRU≤n,k=0,1,…,n为该用户设备当前在第x个比特组中所分配RU的数目,m为调制阶数,k为第iRU个RU中I/Q交织前输入的比特位置序号,j为第iRU个RU中I/Q交织后输出的比特位置序号。Where 1 ≤ i RU ≤ n, k = 0, 1, ..., n is the number of RUs currently allocated by the user equipment in the xth bit group, m is the modulation order, and k is the i-th RU RU The bit position number input before /Q interleaving, and j is the bit position number output after I/Q interleaving in the i-th RU RU.
假设第x个比特组对应了4个子资源块交织单元,也对应了4个RU,或假设同时有4个大小相同RU被分配给单个用户设备,且每个RU内数据子载波的数目为3个,系统的调制方式为64QAM,则对于一个OFDMA符号比特数据流中共有72个比特。则按照上述分解方式,承接表1,4个RU中各个比特顺序如上表6所示,此不再赘述。It is assumed that the xth bit group corresponds to 4 sub resource block interleaving units, and also corresponds to 4 RUs, or it is assumed that 4 same size RUs are allocated to a single user equipment, and the number of data subcarriers in each RU is 3 The modulation mode of the system is 64QAM, and there are 72 bits in the data stream of one OFDMA symbol bit. According to the above decomposition method, the sequence of each bit in the first and second RUs is as shown in Table 6 above, and details are not described herein again.
同时,RU I/Q交织单元中循环移位也可向左进行,此时:At the same time, the cyclic shift in the RU I/Q interleaving unit can also be performed to the left, at this time:
Figure PCTCN2015073949-appb-000033
Figure PCTCN2015073949-appb-000033
其中1≤iRU≤n,k=0,1,2,…。Where 1 ≤ i RU ≤ n, k = 0, 1, 2, ....
其中本发明实施方式3可以独立进行交织,只交织一次,也可以与本实施方式1结合在一起交织,即按照实施方式1交织完再进行实施方式3进行交织,即交织两次。The third embodiment of the present invention can be interleaved independently, and only interleaved once, or can be interleaved in combination with the first embodiment. That is, according to the first embodiment, the third embodiment is interleaved, that is, interleaved twice.
本发明实施例中的所有比特组中对应的子资源块交织单元的总数量为N,即该用户设备被分配的RU数目。其中总RU交织单元位于该N个子资源块交织单元与星座映射器之间,该N个子资源块交织单元中每个子资源块交织单元用于将输入的比特进行离散交织后并行输出到总资源块交织单元中;S205对每个比特组中的子资源块交织单元中的至少两个子资源块交织单元进行离散交织。The total number of corresponding sub-resource block interleave units in all the bit groups in the embodiment of the present invention is N, that is, the number of RUs allocated by the user equipment. The total RU interleaving unit is located between the N sub-resource block interleaving units and the constellation mapper. Each of the N sub-resource block interleaving units is configured to discretely interleave the input bits and output the data to the total resource block in parallel. In the interleaving unit; S205 performs discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving units in each bit group.
其中,S205不对各个子RU交织单元内部比特进行交织,仅对每个比特组对应的RU之间进行整体置换操作,从而在实现复杂度较低的情况下提高系统的频率分集编码增益。该总RU交织单元的大小远小于传统比特交织器,因此其交织规则可以预存为一个列表,具体执行交织操作时查询该列表。同时,该RU交织器也可采用简单的交织规则进行交织,例如行列交织器。采用行列交织器时,可以首先固定该行列交织器列的数目,随着交织元素的增加可逐步增加行的数目。同时,也可首先固定该行列交织器行的数目,随着交织元素的增加可逐步增加列的数目。The S205 does not interleave the internal bits of each sub-RU interleaving unit, and performs an overall replacement operation only between the RUs corresponding to each bit group, thereby improving the frequency diversity coding gain of the system when the implementation complexity is low. The size of the total RU interleaving unit is much smaller than that of the conventional bit interleaver, so the interleaving rule can be pre-stored as a list, and the list is queried when performing the interleaving operation. At the same time, the RU interleaver can also perform interleaving using simple interleaving rules, such as a row and column interleaver. When the row and column interleaver is used, the number of rows and columns interleaver columns can be fixed first, and the number of rows can be gradually increased as the interleaving elements increase. At the same time, the number of rows and columns of interleaver rows can also be fixed first, and the number of columns can be gradually increased as the interleaving elements increase.
其中,固定该行列交织器列的数目为2时,则待交织元素为偶数和奇数时交织规则如上表7所示,此不再赘述。这里n为偶数,p为偶数,左侧表格中表示待交织元素为n个时行列交织器每行每列均可被填满,而待交织元素为p个时行列交织器最后一行末尾元素被空出,此时写入和读出操作时忽略该元素即可。Wherein, when the number of the row and column interleaver columns is fixed to be 2, the interleaving rules are as shown in the following Table 7 when the elements to be interleaved are even and odd, and details are not described herein again. Where n is an even number and p is an even number. The table in the left table indicates that each row and column of the row and column interleaver can be filled when the number of elements to be interleaved is n, and the last element of the last row of the row and column interleaver is filled when the element to be interleaved is p. Empty, this element can be ignored during write and read operations.
假设第x个比特组对应了4个子资源块交织单元,也对应了4个RU,或假设同时有4个大小相同的RU被分配给单个用户设备,且每个RU内数据子载波的数目为3个,系统的调制方式为64QAM,则对于一个OFDMA符号比特数据流中共有72个比特。则按照上述分解方式,承接表6,4个RU中各个比特顺序如上表8所示,此不再赘述。It is assumed that the xth bit group corresponds to 4 sub resource block interleaving units, and also corresponds to 4 RUs, or it is assumed that 4 RUs of the same size are simultaneously allocated to a single user equipment, and the number of data subcarriers in each RU is Three, the modulation mode of the system is 64QAM, then there are 72 bits in the data stream of one OFDMA symbol bit. According to the above decomposition method, the sequence of each bit in the four RUs is as shown in Table 8 above, and details are not described herein again.
另外,如上述该,S204与S205可以采用独立的交织器,可以采用一交织器进行处理。In addition, as described above, S204 and S205 can use independent interleavers, and can be processed by an interleaver.
另外,上述实施例中S205为离散交织后的每一子资源块交织单元并行 输出至总RU交织单元中进行RU之间的交织,本发明实施例也可以采用不需要总RU交织单元,每个子资源块交织单元按照一定的次序串行输出至星座映射单元中,具体串行输出可以采用交替或者其他的离散方式,本发明不再详细赘述。In addition, in the foregoing embodiment, S205 is a parallel interleaving unit of each sub-resource block after discrete interleaving. Outputting to the total RU interleaving unit for interleaving between the RUs, the embodiment of the present invention may also adopt a total RU interleaving unit, and each sub-resource block interleaving unit is serially outputted to the constellation mapping unit in a certain order, specifically serial The output may be alternated or otherwise discrete, and the present invention will not be described in detail.
本发明实施例中基于OFMDA的WLAN系统,采用上述的系统架构,不但解决比特交织器无法重用的问题,而且基于该设计的交织器长度更灵活,当单个用户设备被分配多个RU时,上述设计的交织方案需要性能优异且实现简单。The OFDMAA-based WLAN system in the embodiment of the present invention adopts the above system architecture, not only solves the problem that the bit interleaver cannot be reused, but also the interleaver length based on the design is more flexible. When a single user equipment is allocated multiple RUs, the above The designed interleaving scheme requires excellent performance and is simple to implement.
对于一个基于OFDMA的系统,假设当前有N个RU被分配给用户设备,经过分组单元分组,其中第x个比特组对应了n个子资源块交织单元,n个子资源块交织单元当前需要处理n个RU,为解决上述问题,图14为本发明提供的一种WLAN设备的交织方法的第三实施方式流程示意图;如图14所示,该方法包括:For an OFDMA-based system, it is assumed that there are currently N RUs allocated to user equipments, and packet grouping, wherein the xth bit group corresponds to n sub-resource block interleaving units, and n sub-resource block interleaving units currently need to process n For the solution of the above problem, FIG. 14 is a schematic flowchart diagram of a third implementation manner of an interleaving method for a WLAN device according to the present invention; as shown in FIG. 14, the method includes:
S301:对比特数据流进行差错控制编码(或称为信道编码),得到信道编码后数据比特流,其中执行该步骤的可以为FEC编码器;S301: Perform error control coding (or channel coding) on the bit data stream to obtain a channel-coded data bit stream, where the step of performing may be an FEC encoder;
S302:根据用户设备当前被分配到的资源块RU,分组单元将该用户设备对应的编码数据流中的多个比特分为多组输入比特,该多组输入比特中的每一组输入比特的数量由该RU的大小和数量确定。S302: The packet unit divides, according to the resource block RU to which the user equipment is currently allocated, the plurality of bits in the encoded data stream corresponding to the user equipment into multiple sets of input bits, and each group of the input bits of the plurality of input bits The number is determined by the size and number of the RU.
其中,同一输入比特组对应至少一个RU,该至少一个RU对应相同数量的子资源块交织单元,且同一输入比特组对应的RU的大小相同。The same input bit group corresponds to at least one RU, and the at least one RU corresponds to the same number of sub-resource block interleave units, and the RUs corresponding to the same input bit group have the same size.
可选地,S302还可以通过比特分流器将S301处理后的单比特流分配到iss个空间数据流,然后再通过分组单元进行分组,并在S302中,按照一定的次序将iss个空间数据流分别分配到每个比特组中。假设数据发送端有iss个空间数据流,则分流器或者处理器将信道编码后的单比特流分配到iss个空间数据流;Optionally, S302 may further allocate the S301 processed single bit stream to the iss spatial data stream by using a bit splitter, and then group by the grouping unit, and in S302, execute the iss spatial data streams in a certain order. Assigned to each bit group separately. Assuming that the data sender has an iss spatial data stream, the splitter or processor allocates the channel-coded single-bit stream to the iss spatial data stream;
S303:比特分流单元将该每个比特组的比特以每r个比特为单元顺序输入至总比特分流单元;S303: The bit splitting unit inputs the bits of each bit group into the total bit shunting unit in units of r bits.
S304:总比特分流单元将该r个比特进行交织后按照一定的次序分别分配到该每个比特组对应的多个子资源块交织单元中;S304: The total bit splitting unit interleaves the r bits and allocates them to the plurality of sub-resource block interleaving units corresponding to each bit group in a certain order;
S305:多个子资源块交织单元中的每个子资源块交织单元将输入该每个子资源块交织单元的多个比特进行离散交织; S305: Each of the plurality of sub-resource block interleaving units performs discrete interleaving on a plurality of bits input to each of the sub-resource block interleaving units.
S306:将交织后比特流映射至调制星座图中的星座点上,得到星座符号数据流;S306: Mapping the interleaved bit stream to a constellation point in the modulation constellation to obtain a constellation symbol data stream;
S307:循环移位延迟单元分别对各个空间数据流进行循环移位延迟操作。S307: The cyclic shift delay unit performs a cyclic shift delay operation on each spatial data stream.
其中,该方法与与图13本发明实施例WLAN设备的交织方法的第二实施方式不同的是:The method is different from the second embodiment of the interleaving method of the WLAN device in the embodiment of the present invention in FIG. 13 is:
S303将分流器的输出比特流以r个比特为单元顺序输入总比特分流单元,S304将该r个比特进行交织后送入多个资源块交织单元,S305中多个资源块交织单元处理流程与之前方案描述相同,其中S304可以由一总比特分流单元执行,亦可用处理器执行。S303, the output bit stream of the shunt is sequentially input into the total bit shunting unit in units of r bits, and S304 interleaves the r bits into a plurality of resource block interleaving units, and the processing flow of the plurality of resource block interleaving units in S305 The previous scheme is the same, wherein S304 can be performed by a total bit splitting unit or by a processor.
假设第x个比特组对应了4个子资源块交织单元,也对应了4个RU,或假设同时有4个大小相同的RU被分配给单个用户设备,则此时比特分流单元将分流器的输出比特流以每8个比特为单元顺序输入总比特分流单元。例如,比特分流单元的输出比特为(0,1,2,3,4,5,6,7),则总比特分流单元按上表9所示行列交织器交织后输出比特顺序从上至下为(0,2,4,6,1,3,5,7)。将该8个比特写入各个资源块,然后再读入8个比特重复上述过程,直到各个资源块均被填满。Suppose the xth bit group corresponds to 4 sub-resource block interleaving units, and also corresponds to 4 RUs, or assumes that 4 simultaneous RUs of the same size are allocated to a single user equipment, then the bit shunt unit will output the shunt at this time. The bit stream is input to the total bit stream unit in units of every 8 bits. For example, if the output bits of the bit shunting unit are (0, 1, 2, 3, 4, 5, 6, 7), the total bit shunting unit is interleaved as shown in Table 9 above, and the output bit order is from top to bottom. It is (0, 2, 4, 6, 1, 3, 5, 7). The 8 bits are written to the respective resource blocks, and then the 8 bits are read in to repeat the above process until each resource block is filled.
上述实施例中基于OFMDA的WLAN系统,采用上述的系统架构,不但解决比特交织器无法重用的问题,而且基于该设计的交织器长度更灵活,当单个用户设备被分配多个RU时,上述设计的交织方案需要性能优异且实现简单。The OFDMAA-based WLAN system in the above embodiment adopts the above system architecture, not only solves the problem that the bit interleaver cannot be reused, but also the interleaver length based on the design is more flexible. When a single user equipment is allocated multiple RUs, the above design The interleaving scheme requires excellent performance and is simple to implement.
上述实施例中的WLAN设备可以是基站或者用户终端或者执行上述方法的处理器或者芯片,上述实施例的方法并不限于实体装置执行,亦可用软件执行。The WLAN device in the foregoing embodiment may be a base station or a user terminal or a processor or a chip that performs the foregoing method. The method in the foregoing embodiment is not limited to being executed by a physical device, and may be executed by software.
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention. The implementation process constitutes any limitation.
因此,本发明实施例的交织处理的方法,应用于基于OFMDA的WLAN系统中,通过分组单元按照当前用户设备被分配的RU的大小和数量,将用户设备对应的编码数据流中的多个比特分为多组输入比特;比特分流单元将多个输入比特组中的每个输入比特组包括的比特按照一定的次序分配到该 每个比特组对应的所有子资源块交织单元中;由多个子资源块交织单元中的每个子资源块交织单元将输入该每个子资源块交织单元的多个比特进行离散交织,该交织方案适用于单个用户设备被分配多个RU时,且性能优异实现简单,从而在不增加系统复杂度的情况下,提高系统的性能。Therefore, the method of the interleaving process in the embodiment of the present invention is applied to the OFDMA-based WLAN system, and the plurality of bits in the encoded data stream corresponding to the user equipment are used by the grouping unit according to the size and number of the RUs allocated by the current user equipment. Dividing into a plurality of sets of input bits; the bit shunting unit assigns bits included in each of the plurality of input bit groups to the order in a certain order Each sub-resource block interleave unit corresponding to each bit group; each sub-resource block interleave unit of the plurality of sub-resource block interleave units discretely interleaves a plurality of bits input to each of the sub-resource block interleave units, the interleaving scheme is applicable When a single user equipment is allocated multiple RUs, and the performance is excellent, the implementation is simple, thereby improving the performance of the system without increasing the complexity of the system.
本发明实施例提供另一WLAN设备的示意图,如图16所示。其中该WLAN设备包括一接入点(Access point,AP)和一终端,其中该接入点包括一发射器和处理器一,该终端包括一接收器以及一处理器二。其中处理器一可以处理图4至图10所有具体实施例的功能,同样,处理器二根据处理一的处理做相应的处理,此在上述实施例中有详细的介绍,此处不再赘述。The embodiment of the invention provides a schematic diagram of another WLAN device, as shown in FIG. The WLAN device includes an access point (AP) and a terminal, wherein the access point includes a transmitter and a processor 1. The terminal includes a receiver and a processor 2. The processor 1 can handle the functions of all the specific embodiments in FIG. 4 to FIG. 10. Similarly, the processor 2 performs corresponding processing according to the processing of the processing one. This is described in detail in the foregoing embodiment, and details are not described herein again.
为了更好的呈现本发明设计的效果,下面通过仿真的方式比较本发明设计的优势。以OFMDA系统20M带宽下FFT大小为256点为例,该20M带宽被划分为8个RU,每个RU内包含24个数据子载波和2个导频子载波,且该8个RU均被同时分配给同一用户设备。令SingleInt表示现有技术一交织方案,其中该比特交织器的参数为(NROW,NCOL)=(8m,24)。BP+IntPerRU表示现有技术一交织方案,其第二级处理单元比特交织器1参数为(NROW,NCOL)=(3m,8)。PIS1和PIS2则分别为本发明的第二实施方式与的第三实施方式,当用户设备分配到大小相同、数目的不同RU时,本发明交织方案的所需模块参数调整十分简单,因此具有很低的硬件实现复杂度,如图16所示,为四种交织方案在Channel D NLOS信道下编码调制为MCS0时性能比较。In order to better present the effects of the design of the present invention, the advantages of the design of the present invention are compared by simulation in the following. Taking the FFT size of 256 points in the 20M bandwidth of the OFMDA system as an example, the 20M bandwidth is divided into 8 RUs, each of which contains 24 data subcarriers and 2 pilot subcarriers, and the 8 RUs are simultaneously Assigned to the same user device. Let SingleInt denote a prior art-interleaving scheme in which the parameter of the bit interleaver is (N ROW , N COL )=(8m, 24). BP + IntPerRU represents a prior art one interleaving scheme, and the second stage processing unit bit interleaver 1 has a parameter of (N ROW , N COL )=(3m, 8). PIS1 and PIS2 are respectively the second embodiment and the third embodiment of the present invention. When the user equipment is allocated to different RUs of the same size and number, the required module parameters of the interleaving scheme of the present invention are very simple, so The low hardware implementation complexity, as shown in Figure 16, compares the performance of the four interleaving schemes when encoding and modulating to MCS0 under the Channel D NLOS channel.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, for clarity of hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和 方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and The method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。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 objectives of the embodiments of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。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盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。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, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform 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, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。 The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent person can be easily conceived within the technical scope of the present invention by any person skilled in the art. Modifications or substitutions are intended to be included within the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims (32)

  1. 一种交织处理装置,应用于基于OFMDA的WLAN系统中,其特征在于,包括:分组单元,比特分流单元和多个子资源块交织单元,其中,An interleaving processing apparatus is applied to an OFMDA-based WLAN system, and includes: a packet unit, a bit offloading unit, and a plurality of sub-resource block interleaving units, where
    所述分组单元,用于根据用户设备当前被分配到的资源块RU,将所述用户设备对应的编码数据流中的多个比特分为多组输入比特,所述多组输入比特中的每一组输入比特的数量由所述RU的大小和数量确定;The grouping unit is configured to divide, according to the resource block RU to which the user equipment is currently allocated, a plurality of bits in the encoded data stream corresponding to the user equipment into a plurality of groups of input bits, each of the plurality of groups of input bits The number of input bits is determined by the size and number of the RUs;
    所述比特分流单元,用于将所述多组比特中的每一组输入比特按照一定的次序分配到所述每一组输入比特对应的至少一个子资源块交织单元中;The bit-splitting unit is configured to allocate each group of input bits of the plurality of groups of bits to at least one sub-resource block interleave unit corresponding to each group of input bits in a certain order;
    所述多个子资源块交织单元中的每个子资源块交织单元,用于将输入到每个子资源块交织单元中的多个比特进行离散交织。Each of the plurality of sub-resource block interleaving units is configured to discretely interleave a plurality of bits input into each sub-resource block interleaving unit.
  2. 根据权利要求1所述的装置,其特征在于,所述分组单元具体用于:The device according to claim 1, wherein the grouping unit is specifically configured to:
    将所述比特分为第一比特组和第二比特组,其中,所述第一比特组对应M1个子资源块交织单元,所述第二比特组对应M2个子资源块交织单元,所述第一比特组对应的子资源块交织单元当前需要处理的RU的大小,大于所述第二比特组对应的子资源块交织单元当前需要处理的RU的大小,M1和M2为正整数,且M=M1+M2,M为所述用户设备当前被分配到的RU的数量。Dividing the bit into a first bit group and a second bit group, where the first bit group corresponds to M 1 sub-resource block interleaving units, and the second bit group corresponds to M 2 sub-resource block interleave units, The size of the RU that needs to be processed by the sub-resource block interleaving unit corresponding to the first bit group is greater than the size of the RU currently required to be processed by the sub-resource block interleave unit corresponding to the second bit group, and M 1 and M 2 are positive integers. And M=M 1 +M 2 , where M is the number of RUs to which the user equipment is currently assigned.
  3. 根据权利要求2所述的装置,其特征在于,所述分组单元具体用于:The device according to claim 2, wherein the grouping unit is specifically configured to:
    在一个分配循环的每个分配周期内,向所述第一比特组分配连续的N1个比特,并向所述第二比特组分配连续的N2个比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示所述第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示所述第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。Each of the allocation cycles of an allocation cycle allocates consecutive N 1 bits to the first group of bits and allocates consecutive N 2 bits to the second group of bits, where N 1 =[RU 1 /RU 2 ··M 1 , N 2 =M 2 , RU 1 represents the size of the RU that the sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 represents the sub-bit corresponding to the second bit group The size of the RU that the resource block interleaving unit currently needs to process, and [] represents the rounding operation.
  4. 根据权利要求2所述的装置,其特征在于,所述分组单元具体用于:The device according to claim 2, wherein the grouping unit is specifically configured to:
    交替地向所述第一比特组和所述第二比特组中分配所述用户设备对应的编码数据流中的多个比特;Allocating a plurality of bits in the encoded data stream corresponding to the user equipment to the first bit group and the second bit group alternately;
    当所述第一比特组被分配了N1比特时,停止向所述第一比特组中分配比特,其中,N1=[RU1/RU2]·M1,RU1表示所述第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示所述第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算;Stop assigning bits to the first bit group when the first bit group is allocated N 1 bits, where N 1 =[RU 1 /RU 2 ]·M 1 , and RU 1 represents the first bit The size of the RU that the sub-resource block interleaving unit corresponding to the bit group needs to process, the RU 2 indicates the size of the RU that the sub-resource block interleave unit corresponding to the second bit group needs to process, and [] represents a rounding operation;
    当所述第二比特组被分配了N2比特时,停止向所述第二比特组中分配 比特,其中,N2=M2When the second bit group is allocated N 2 bits, stopping allocating bits into the second bit group, where N 2 = M 2 ;
    当所述第一比特组被分配了N1个比特,且所述第二比特组被分配了N2个比特时,交替地向所述第一比特组和所述第二比特组中分配所述用户设备对应的编码数据流中的多个比特。When the first bit group is allocated N 1 bits and the second bit group is allocated N 2 bits, the first bit group and the second bit group are alternately allocated A plurality of bits in the encoded data stream corresponding to the user equipment.
  5. 根据权利要求2所述的装置,其特征在于,所述分组单元具体用于:The device according to claim 2, wherein the grouping unit is specifically configured to:
    生成随机驱动码,所述随机驱动码包括多个指示位,所述多个指示位与所述用户设备对应的编码数据流中的多个比特一一对应,所述多个指示位中的每个指示位用于将所述每个指示位对应的比特分配到所述第一比特组或所述第二比特组中,其中,分配到所述第一比特组的比特数与分配到所述第二比特组的比特数的比值为N1/N2,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示所述第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示所述第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。Generating a random driving code, where the random driving code includes a plurality of indicator bits, the plurality of indicator bits are in one-to-one correspondence with a plurality of bits in the encoded data stream corresponding to the user equipment, and each of the plurality of indicator bits The indicator bit is configured to allocate a bit corresponding to each indicator bit to the first bit group or the second bit group, wherein a number of bits allocated to the first bit group is allocated to the The ratio of the number of bits of the second bit group is N 1 /N 2 , where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , and RU 1 represents the child corresponding to the first bit group The size of the RU that the resource block interleaving unit currently needs to process, the RU 2 indicates the size of the RU that the sub-resource block interleaving unit corresponding to the second bit group needs to process, and [] represents the rounding operation.
  6. 根据权利要求5所述的装置,其特征在于,所述随机驱动码包括第一指示位和第二指示位,其中,所述第一指示位用于将所述第一指示位对应的比特分配到所述第一比特组,所述第二指示位用于将所述第一指示位对应的比特分配到所述第二比特组。The apparatus according to claim 5, wherein the random driving code comprises a first indicator bit and a second indicator bit, wherein the first indicator bit is used to allocate a bit corresponding to the first indicator bit To the first bit group, the second indicator bit is used to allocate a bit corresponding to the first indicator bit to the second bit group.
  7. 根据权利要求1至6中任一项所述的装置,其特征在于,所述比特分流单元用于将所述每个输入比特组中每s个比特顺序或者交替分配到所述每个输入比特组对应的至少两个子资源块交织单元中,其中s为大于0的正整数。The apparatus according to any one of claims 1 to 6, wherein the bit shunting unit is configured to sequentially or alternately allocate every s bits in each of the input bit groups to each of the input bits The at least two sub-resource block interleaving units corresponding to the group, where s is a positive integer greater than zero.
  8. 根据权利要求7所述的装置,其特征在于,The device of claim 7 wherein:
    若s为1,则第x个比特组对应的第iRU个RU所分配到的比特的输出序号j表示为:If s is 1, the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is expressed as:
    j=(iRU-1)+n·kj=(i RU -1)+n·k
    若s大于1,则所述第x个比特组对应的第iRU个RU所分配到的比特的输出序号j表示为:If s is greater than 1, the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is expressed as:
    Figure PCTCN2015073949-appb-100001
    Figure PCTCN2015073949-appb-100001
    其中k表示所述第iRU个RU所分配到的比特的输入序号,k为非负整数,n为所述第x个比特组对应的子资源块交织单元的个数。Where k is the input number of the bit to which the ith RU RU is allocated, k is a non-negative integer, and n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
  9. 根据权利要求1至8任何一项所述的装置,其特征在于,所述装置 还包括总比特分流单元,其中,所述比特分流单元的输出比特流以每r个比特为单元顺序输入至总比特分流单元,所述总比特分流单元用于将所述r个比特进行交织后按照一定的次序分别分配到所述多个子资源块交织单元中,其中r为正整数。Apparatus according to any one of claims 1 to 8, wherein said apparatus A total bit splitting unit is further included, wherein an output bit stream of the bit shunting unit is sequentially input to a total bit shunting unit in units of r bits, and the total bit shunting unit is configured to interleave the r bits Allocating to the plurality of sub-resource block interleaving units in a certain order, where r is a positive integer.
  10. 根据权利要求1至8任何一项所述的装置,其特征在于,所述装置还包括总资源块交织单元,其中,所述多个子资源块交织单元将输出的比特输入到总资源块交织单元中;所述总资源块交织单元用于对所述每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织。The apparatus according to any one of claims 1 to 8, wherein the apparatus further comprises a total resource block interleaving unit, wherein the plurality of sub-resource block interleaving units input the output bits to the total resource block interleaving unit The total resource block interleaving unit is configured to perform discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
  11. 根据权利要求10所述的装置,其特征在于,所述总资源块交织单元具体用于:The apparatus according to claim 10, wherein the total resource block interleaving unit is specifically configured to:
    根据预先设定的列表,对所述每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织;或者Performing discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group according to a preset list; or
    对所述每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元按照行列规则进行交织。And interleaving at least two sub-resource block interleave units in the sub-resource block interleaving unit corresponding to each bit group according to a row-column rule.
  12. 根据权利要求11所述的装置,其特征在于,所述总资源块交织单元还用于:The apparatus according to claim 11, wherein the total resource block interleaving unit is further configured to:
    当第x个比特组对应的子资源块交织单元的个数为大于1的奇数时,对所述总资源块交织单元的最后一个位置空出。When the number of sub-resource block interleaving units corresponding to the xth bit group is an odd number greater than 1, the last position of the interleaved unit of the total resource block is vacated.
  13. 根据权利要求1至12任何一项所述的装置,其特征在于,所述多个资源块交织单元还用于:The apparatus according to any one of claims 1 to 12, wherein the plurality of resource block interleaving units are further configured to:
    将离散交织后的多个比特按照一定的次序串行输出或者并行输出。The discretely interleaved plurality of bits are serially outputted or output in parallel in a certain order.
  14. 根据权利要求13所述的装置,其特征在于,所述多个子资源块交织单元中的每个子资源块交织单元具体用于:The apparatus according to claim 13, wherein each of the plurality of sub-resource block interleaving units is specifically configured to:
    根据所述每个子资源块交织单元的顺序将所述每个子资源块交织单元内的比特进行循环移位。The bits in each of the sub-resource block interleaving units are cyclically shifted according to the order of each of the sub-resource block interleaving units.
  15. 根据权利要求14所述的装置,其特征在于,所述每个子资源块交织单元具体用于:The apparatus according to claim 14, wherein each of the sub-resource block interleaving units is specifically configured to:
    根据所述每个子资源块交织单元当前需要处理的RU的顺序,将所述每个子资源块交织单元内的比特向右或者向左循环移位s位。The bits in each of the sub-resource block interleaving units are cyclically shifted by s bits to the right or left according to the order of the RUs that each sub-resource block interleaving unit currently needs to process.
  16. 根据权利要求15所述的装置,其特征在于,The device of claim 15 wherein:
    根据所述每个子资源块交织单元当前需要处理的RU的顺序,将所述每 个子资源块交织单元内的比特向右循环移位s位,则第x个比特组对应的第iRU个RU输入比特与输出比特j对应关系为:And according to the sequence of the RUs that each of the sub-resource block interleaving units currently need to process, the bits in each of the sub-resource block interleaving units are cyclically shifted to the right by s bits, and the ith RU- th RU corresponding to the x-th bit group is The correspondence between the input bit and the output bit j is:
    Figure PCTCN2015073949-appb-100002
    Figure PCTCN2015073949-appb-100002
    根据所述每个子资源块交织单元当前需要处理的RU的顺序,将所述每个子资源块交织单元内的比特向左循环移位s位,则所述第x个比特组对应的第iRU个RU输入比特与输出比特j对应关系为:The order of the interleaving block of each sub-resource unit is currently in need of treatment of RU, the interleaved bits of each sub-resource blocks in the unit s-bit left cyclic shift is the x-th bit group corresponding to the first RU I The correspondence between the RU input bits and the output bits j is:
    Figure PCTCN2015073949-appb-100003
    Figure PCTCN2015073949-appb-100003
    其中1≤iRU≤n,k=0,1,…,n为所述用户设备当前被分配的RU的数目,m为调制阶数,k为所述第iRU个RU的输入比特的位置序号,j为所述第iRU个RU的输出比特的位置序号,n为所述第x个比特组对应的子资源块交织单元的个数。Where 1 ≤ i RU ≤ n, k = 0, 1, ..., n is the number of RUs currently allocated by the user equipment, m is a modulation order, and k is the position of the input bits of the ith RU RUs a sequence number, j is a position number of an output bit of the i-th RU unit, and n is a number of sub-resource block interleave units corresponding to the x-th bit group.
  17. 一种交织处理方法,应用于基于OFMDA的WLAN系统中,其特征在于,包括:An interleaving processing method is applied to an OFMDA-based WLAN system, and includes:
    根据用户设备当前被分配到的资源块RU,分组单元将所述用户设备对应的编码数据流中的多个比特分为多组输入比特,所述多组输入比特中的每一组输入比特的数量由所述RU的大小和数量确定;The grouping unit divides a plurality of bits in the encoded data stream corresponding to the user equipment into a plurality of sets of input bits according to the resource block RU to which the user equipment is currently allocated, and each of the plurality of input bits of the plurality of input bits The number is determined by the size and number of the RUs;
    比特分流单元将所述多组比特中的每一组输入比特按照一定的次序分配到所述每一组输入比特对应的至少一个子资源块交织单元中;The bit splitting unit allocates each of the plurality of sets of bits to the at least one sub-resource block interleaving unit corresponding to each set of input bits in a certain order;
    子资源块交织单元将输入到每个子资源块交织单元中的多个比特进行离散交织。The sub-resource block interleaving unit discretely interleaves a plurality of bits input into each sub-resource block interleaving unit.
  18. 根据权利要求17所述的装置,其特征在于,所述根据用户设备当前被分配到的资源块RU,分组单元将所述用户设备对应的编码数据流中的多个比特分为多组输入比特,包括:The apparatus according to claim 17, wherein the grouping unit divides a plurality of bits in the encoded data stream corresponding to the user equipment into a plurality of groups of input bits according to the resource block RU to which the user equipment is currently allocated. ,include:
    所述分组单元将所述多个比特分为第一比特组和第二比特组,其中,所述第一比特组对应M1个子资源块交织单元,所述第二比特组对应M2个子资源块交织单元,所述第一比特组对应的子资源块交织单元当前需要处理的RU的大小,大于所述第二比特组对应的子资源块交织单元当前需要处理的RU的大小,M1和M2为正整数,且M=M1+M2,M为所述用户设备当前被分配到的RU的数量。 The grouping unit divides the plurality of bits into a first bit group and a second bit group, where the first bit group corresponds to M 1 sub-resource block interleaving units, and the second bit group corresponds to M 2 sub-resources a block interleaving unit, the size of the RU that needs to be processed by the sub-resource block interleaving unit corresponding to the first bit group is larger than the size of the RU currently required to be processed by the sub-resource block interleave unit corresponding to the second bit group, M 1 and M 2 is a positive integer, and M = M 1 + M 2 , where M is the number of RUs to which the user equipment is currently assigned.
  19. 根据权利要求18所述的装置,其特征在于,所述根据用户设备当前被分配到的资源块RU,分组单元将所述用户设备对应的编码数据流中的多个比特分为多组输入比特,包括:The apparatus according to claim 18, wherein the grouping unit divides a plurality of bits in the encoded data stream corresponding to the user equipment into a plurality of sets of input bits according to the resource block RU to which the user equipment is currently allocated. ,include:
    在一个分配循环的每个分配周期内,向所述第一比特组分配连续的N1个比特,并向所述第二比特组分配连续的N2个比特,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示所述第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示所述第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。Each of the allocation cycles of an allocation cycle allocates consecutive N 1 bits to the first group of bits and allocates consecutive N 2 bits to the second group of bits, where N 1 =[RU 1 /RU 2 ··M 1 , N 2 =M 2 , RU 1 represents the size of the RU that the sub-resource block interleaving unit corresponding to the first bit group needs to process, and RU 2 represents the sub-bit corresponding to the second bit group The size of the RU that the resource block interleaving unit currently needs to process, and [] represents the rounding operation.
  20. 根据权利要求18所述的装置,其特征在于,所述根据用户设备当前被分配到的资源块RU,分组单元将所述用户设备对应的编码数据流中的多个比特分为多组输入比特,包括:The apparatus according to claim 18, wherein the grouping unit divides a plurality of bits in the encoded data stream corresponding to the user equipment into a plurality of sets of input bits according to the resource block RU to which the user equipment is currently allocated. ,include:
    交替地向所述第一比特组和所述第二比特组中分配所述用户设备对应的编码数据流中的多个比特;Allocating a plurality of bits in the encoded data stream corresponding to the user equipment to the first bit group and the second bit group alternately;
    当所述第一比特组被分配了N1比特时,停止向所述第一比特组中分配比特,其中,N1=[RU1/RU2]·M1,RU1表示所述第一比特组对应的子资源块交织单元当前需要处理的RU的大小,RU2表示所述第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算;Stop assigning bits to the first bit group when the first bit group is allocated N 1 bits, where N 1 =[RU 1 /RU 2 ]·M 1 , and RU 1 represents the first bit The size of the RU that the sub-resource block interleaving unit corresponding to the bit group needs to process, the RU 2 indicates the size of the RU that the sub-resource block interleave unit corresponding to the second bit group needs to process, and [] represents a rounding operation;
    当所述第二组比特被分配了N2比特时,停止向所述第二比特组中分配比特,其中,N2=M2When the second set of bits is allocated N 2 bits, stopping allocating bits into the second set of bits, where N 2 = M 2 ;
    当所述第一比特组被分配了N1个比特,且所述第二比特组被分配了N2个比特时,交替地向所述第一比特组和所述第二比特组中分配所述用户设备对应的编码数据流中的多个比特。When the first bit group is allocated N 1 bits and the second bit group is allocated N 2 bits, the first bit group and the second bit group are alternately allocated A plurality of bits in the encoded data stream corresponding to the user equipment.
  21. 根据权利要求18所述的装置,其特征在于,所述根据用户设备当前被分配到的资源块RU,分组单元将所述用户设备对应的编码数据流中的多个比特分为多组输入比特,包括:The apparatus according to claim 18, wherein the grouping unit divides a plurality of bits in the encoded data stream corresponding to the user equipment into a plurality of sets of input bits according to the resource block RU to which the user equipment is currently allocated. ,include:
    生成随机驱动码,所述随机驱动码包括多个指示位,所述多个指示位与所述用户设备对应的编码数据流中的多个比特一一对应,所述多个指示位中的每个指示位用于将所述每个指示位对应的比特分配到所述第一比特组或所述第二比特组中,其中,分配到所述第一比特组的比特数与分配到所述第二比特组的比特数的比值为N1/N2,其中,N1=[RU1/RU2]·M1,N2=M2,RU1表示所述第一比特组对应的子资源块交织单元当前需要处理的RU的大 小,RU2表示所述第二比特组对应的子资源块交织单元当前需要处理的RU的大小,[]表示取整运算。Generating a random driving code, where the random driving code includes a plurality of indicator bits, the plurality of indicator bits are in one-to-one correspondence with a plurality of bits in the encoded data stream corresponding to the user equipment, and each of the plurality of indicator bits The indicator bit is configured to allocate a bit corresponding to each indicator bit to the first bit group or the second bit group, wherein a number of bits allocated to the first bit group is allocated to the The ratio of the number of bits of the second bit group is N 1 /N 2 , where N 1 =[RU 1 /RU 2 ]·M 1 , N 2 =M 2 , and RU 1 represents the child corresponding to the first bit group The size of the RU that the resource block interleaving unit currently needs to process, the RU 2 indicates the size of the RU that the sub-resource block interleaving unit corresponding to the second bit group needs to process, and [] represents the rounding operation.
  22. 根据权利要求21所述的装置,其特征在于,所述随机驱动码包括第一指示位和第二指示位,其中,所述第一指示位用于将所述第一指示位对应的比特分配到所述第一比特组,所述第二指示位用于将所述第一指示位对应的比特分配到所述第二比特组。The apparatus according to claim 21, wherein the random driving code comprises a first indicator bit and a second indicator bit, wherein the first indicator bit is used to allocate a bit corresponding to the first indicator bit To the first bit group, the second indicator bit is used to allocate a bit corresponding to the first indicator bit to the second bit group.
  23. 根据权利要求17至22中任一项所述的方法,其特征在于,所述比特分流单元将所述每个输入比特组中每s个比特顺序或者交替分配到所述每个输入比特组对应的至少两个子资源块交织单元中,其中s为大于0的正整数。The method according to any one of claims 17 to 22, wherein the bit splitting unit sequentially or alternately assigns every s bits in each of the input bit groups to each of the input bit groups. Of at least two sub-resource block interleaving units, where s is a positive integer greater than zero.
  24. 根据权利要求23所述的装置,其特征在于,The device according to claim 23, wherein
    若s为1,则第x个比特组对应的第iRU个RU所分配到的比特的输出序号j表示为:If s is 1, the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is expressed as:
    j=(iRU-1)+n·kj=(i RU -1)+n·k
    若s大于1,则所述第x个比特组对应的第iRU个RU所分配到的比特的输出序号j表示为:If s is greater than 1, the output sequence number of the bit allocated by the ith RU RU corresponding to the xth bit group is expressed as:
    Figure PCTCN2015073949-appb-100004
    Figure PCTCN2015073949-appb-100004
    其中k表示所述第iRU个RU所分配到的比特的输入序号,k为非负整数,n为所述第x个比特组对应的子资源块交织单元的个数。Where k is the input number of the bit to which the ith RU RU is allocated, k is a non-negative integer, and n is the number of sub-resource block interleaving units corresponding to the x-th bit group.
  25. 根据权利要求17至24任何一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 17 to 24, wherein the method further comprises:
    所述比特分流单元的输出比特流以每r个比特为单元顺序输入至总比特分流单元;The output bit stream of the bit shunting unit is sequentially input to the total bit shunting unit in units of r bits;
    所述总比特分流单元将所述r个比特进行交织后按照一定的次序分别分配到所述多个子资源块交织单元中,其中r为正整数。The total bit offloading unit interleaves the r bits and respectively allocates them to the plurality of sub-resource block interleaving units in a certain order, where r is a positive integer.
  26. 根据权利要求17至24任何一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 17 to 24, wherein the method further comprises:
    所述多个子资源块交织单元将输出的比特输入到总资源块交织单元中;The plurality of sub-resource block interleaving units input the output bits into the total resource block interleaving unit;
    所述总资源块交织单元对所述每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织。The total resource block interleaving unit performs discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group.
  27. 根据权利要求26所述的方法,其特征在于,所述总资源块交织单 元对所述每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织,包括:The method of claim 26, wherein said total resource block interleaving list Performing discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group, including:
    根据预先设定的列表,所述总资源块交织单元对所述每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元进行离散交织;或者And the total resource block interleaving unit performs discrete interleaving on at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group according to a preset list; or
    所述总资源块交织单元对所述每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元按照行列规则进行交织。The total resource block interleaving unit interleaves at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group according to a row-column rule.
  28. 根据权利要求27所述的装置,其特征在于,所述总资源块交织单元对所述每个比特组对应的子资源块交织单元中的至少两个子资源块交织单元按照行列规则进行交织,包括:The apparatus according to claim 27, wherein the total resource block interleaving unit interleaves at least two sub-resource block interleaving units in the sub-resource block interleaving unit corresponding to each bit group according to a row-column rule, including :
    当第x个比特组对应的子资源块交织单元的个数为大于1的奇数时,对所述总资源块交织单元的最后一个位置空出。When the number of sub-resource block interleaving units corresponding to the xth bit group is an odd number greater than 1, the last position of the interleaved unit of the total resource block is vacated.
  29. 根据权利要求17至28任何一项所述的装置,其特征在于,所述多个子资源块交织单元中的每个子资源块交织单元将输入所述每个子资源块交织单元的多个比特进行离散交织,包括:The apparatus according to any one of claims 17 to 28, wherein each of the plurality of sub-resource block interleaving units discretizes a plurality of bits input to each of the sub-resource block interleaving units Interwoven, including:
    将离散交织后的多个比特按照一定的次序串行输出或者并行输出。The discretely interleaved plurality of bits are serially outputted or output in parallel in a certain order.
  30. 根据权利要求29所述的方法,其特征在于,所述多个子资源块交织单元中的每个子资源块交织单元将输入所述每个子资源块交织单元的多个比特进行离散交织,包括:The method according to claim 29, wherein each of the plurality of sub-resource block interleaving units discretely interleaves a plurality of bits input to each of the sub-resource block interleaving units, including:
    所述多个子资源块交织单元中的每个子资源块交织单元根据所述每个子资源块交织单元的顺序将所述每个子资源块交织单元内的比特进行循环移位。Each of the plurality of sub-resource block interleaving units cyclically shifts bits in each of the sub-resource block interleaving units according to an order of the each sub-resource block interleaving unit.
  31. 根据权利要求30所述的方法,其特征在于,所述多个子资源块交织单元中的每个子资源块交织单元根据所述每个子资源块交织单元的顺序将所述每个子资源块交织单元内的比特进行循环移位,包括:The method according to claim 30, wherein each of the plurality of sub-resource block interleaving units is configured to interleave each sub-resource block according to an order of each of the sub-resource block interleaving units The bits are cyclically shifted, including:
    所述每个子资源块交织单元根据所述每个子资源块交织单元当前需要处理的RU的顺序,将所述每个子资源块交织单元内的比特向右或者向左循环移位s位。Each of the sub-resource block interleaving units cyclically shifts bits in each of the sub-resource block interleaving units to the right or left by s bits according to the order of the RUs that each sub-resource block interleave unit currently needs to process.
  32. 根据权利要求31所述的方法,其特征在于,The method of claim 31, wherein
    根据所述每个子资源块交织单元当前需要处理的RU的顺序,将所述每个子资源块交织单元内的比特向右循环移位s位,则第x个比特组对应的第iRU个RU输入比特与输出比特j对应关系为: According to the sequence of the RUs that each sub-resource block interleaving unit currently needs to process, the bits in each of the sub-resource block interleaving units are cyclically shifted to the right by s bits, and the ith RU- th RU corresponding to the x-th bit group is The correspondence between the input bit and the output bit j is:
    Figure PCTCN2015073949-appb-100005
    Figure PCTCN2015073949-appb-100005
    根据所述每个子资源块交织单元当前需要处理的RU的顺序,将所述每个子资源块交织单元内的比特向左循环移位s位,则第x个比特组对应的第iRU个RU输入比特与输出比特j对应关系为:According to the order of the RUs that each sub-resource block interleaving unit currently needs to process, the bits in each of the sub-resource block interleaving units are cyclically shifted to the left by s bits, and the ith RU- th RU corresponding to the x-th bit group is The correspondence between the input bit and the output bit j is:
    Figure PCTCN2015073949-appb-100006
    Figure PCTCN2015073949-appb-100006
    其中1≤iRU≤n,k=0,1,…,n为所述用户设备当前被分配的RU的数目,m为调制阶数,k为所述第iRU个RU的输入比特的位置序号,j为所述第iRU个RU的输出比特的位置序号,n为所述第x个比特组对应的子资源块交织单元的个数。 Where 1 ≤ i RU ≤ n, k = 0, 1, ..., n is the number of RUs currently allocated by the user equipment, m is a modulation order, and k is the position of the input bits of the ith RU RUs a sequence number, j is a position number of an output bit of the i-th RU unit, and n is a number of sub-resource block interleave units corresponding to the x-th bit group.
PCT/CN2015/073949 2015-03-10 2015-03-10 Interleaving processing method and device WO2016141551A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/073949 WO2016141551A1 (en) 2015-03-10 2015-03-10 Interleaving processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/073949 WO2016141551A1 (en) 2015-03-10 2015-03-10 Interleaving processing method and device

Publications (1)

Publication Number Publication Date
WO2016141551A1 true WO2016141551A1 (en) 2016-09-15

Family

ID=56878726

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073949 WO2016141551A1 (en) 2015-03-10 2015-03-10 Interleaving processing method and device

Country Status (1)

Country Link
WO (1) WO2016141551A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110011757A (en) * 2018-01-05 2019-07-12 维沃移动通信有限公司 The processing method and communication equipment of basic interleave unit
TWI696370B (en) * 2017-08-07 2020-06-11 聯發科技股份有限公司 Method for interleaving encoded bits and wireless equipment
US20200305164A1 (en) * 2019-03-22 2020-09-24 Qualcomm Incorporated Data parsing to support resource unit aggregation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1998176A (en) * 2004-07-01 2007-07-11 高通股份有限公司 Advanced MIMO interleaving
WO2008015543A2 (en) * 2006-08-01 2008-02-07 Nokia Corporation Shared control channel structure for multi-user mimo resource allocation
CN101155406A (en) * 2006-09-29 2008-04-02 华为技术有限公司 Resource allocation indicating method and device
CN101282122A (en) * 2007-04-03 2008-10-08 中兴通讯股份有限公司 Method for partitioning encoding block
US20100086072A1 (en) * 2008-10-07 2010-04-08 Motorola, Inc. Communication system and method of operation therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1998176A (en) * 2004-07-01 2007-07-11 高通股份有限公司 Advanced MIMO interleaving
WO2008015543A2 (en) * 2006-08-01 2008-02-07 Nokia Corporation Shared control channel structure for multi-user mimo resource allocation
CN101155406A (en) * 2006-09-29 2008-04-02 华为技术有限公司 Resource allocation indicating method and device
CN101282122A (en) * 2007-04-03 2008-10-08 中兴通讯股份有限公司 Method for partitioning encoding block
US20100086072A1 (en) * 2008-10-07 2010-04-08 Motorola, Inc. Communication system and method of operation therefor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI696370B (en) * 2017-08-07 2020-06-11 聯發科技股份有限公司 Method for interleaving encoded bits and wireless equipment
CN110011757A (en) * 2018-01-05 2019-07-12 维沃移动通信有限公司 The processing method and communication equipment of basic interleave unit
US20200305164A1 (en) * 2019-03-22 2020-09-24 Qualcomm Incorporated Data parsing to support resource unit aggregation
US11728942B2 (en) * 2019-03-22 2023-08-15 Qualcomm Incorporated Data parsing to support resource unit aggregation

Similar Documents

Publication Publication Date Title
WO2016074226A1 (en) Interleaving processing method and apparatus in wlan system based on ofmda
JP6339214B2 (en) Broadcast signal transmitting apparatus, broadcast signal receiving apparatus, broadcast signal transmitting method, and broadcast signal receiving method
KR100578675B1 (en) Transmission of digital signals by orthogonal frequency division multiplexing
US8799735B2 (en) Channel interleaver having a constellation-based unit-wise permuation module
RU2375822C2 (en) System and method for time separation
US20050283705A1 (en) Bit interleaver for a MIMO system
KR101103472B1 (en) System, method, and computer-readable medium for multilevel shaping for wireless communication systems
CN110199490B (en) Probability shaping operation method and device
WO2016111430A1 (en) Broadcast signal transmission apparatus, broadcast signal reception apparatus, broadcast signal transmission method, and broadcast signal reception method
KR102004274B1 (en) Broadcast signal transmitting apparatus, broadcast signal receiving apparatus, broadcast signal transmitting method, and broadcast signal receiving method
JP2008295057A5 (en)
CN110650543A (en) Method and device for uplink data transmission
JPWO2012172804A1 (en) Transmission processing method, transmitter, reception processing method, and receiver
KR20020079334A (en) Method and apparatus for transporting and receiving data in cdma mobile system
WO2009092247A1 (en) Interleaving method based on ldpc code, deinterleaving method, interleaver, and deinterleaver thereof
EP3076556A1 (en) Transmission method, transmission device, receiving method, and receiving device
US8693570B2 (en) Communication methods and systems having data permutation
WO2017011946A1 (en) Unequal error protection-based data transmission method, apparatus and device
WO2016141551A1 (en) Interleaving processing method and device
TW200915768A (en) System and method for frequency diversity
Liang Combining block-coded modulation codes and improved constellation extended schemes to reduce peak-to-average power ratio in orthogonal frequency-division multiplexing systems
KR20100096509A (en) Apparatus and method for interleaving in communication system
KR20100105222A (en) Apparatus and method for interleaving in communication system

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

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

Country of ref document: EP

Kind code of ref document: A1