WO2016177266A1 - 数据传输处理方法及装置 - Google Patents

数据传输处理方法及装置 Download PDF

Info

Publication number
WO2016177266A1
WO2016177266A1 PCT/CN2016/079312 CN2016079312W WO2016177266A1 WO 2016177266 A1 WO2016177266 A1 WO 2016177266A1 CN 2016079312 W CN2016079312 W CN 2016079312W WO 2016177266 A1 WO2016177266 A1 WO 2016177266A1
Authority
WO
WIPO (PCT)
Prior art keywords
coded data
bits
blocks
data block
sequence
Prior art date
Application number
PCT/CN2016/079312
Other languages
English (en)
French (fr)
Inventor
李立广
袁志锋
许进
徐俊
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016177266A1 publication Critical patent/WO2016177266A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Definitions

  • This document relates to the field of data transmission processing technologies, and in particular, to a data transmission processing method and apparatus.
  • IEEE 802.11 is a wireless LAN standard. It is mainly used to solve the wireless access data network of user terminals in office LANs. The service is mainly limited to data communication. Because it cannot meet people's needs in terms of speed and transmission distance, After years of research and discussion, the IEEE team has introduced several standards, such as 802.11a, 802.11b, 802.11m, 802.11ac, 802.11ad, 802.11aj and so on. 802.11aj is based on China's millimeter-wave band to develop a next-generation wireless LAN standard with an operating frequency around 45 gigahertz (GHz) and an available bandwidth of around 5 GHz. The maximum throughput is expected to reach 10 gigabits per second (Gbps).
  • GHz gigahertz
  • Gbps gigabits per second
  • a general wireless digital communication system includes a majority of a transmitting end and a receiving end, wherein a general transmitting end includes a source module, a channel coding module, and a modulation.
  • the module and the transmitting module, etc., and the receiving end solves the source data according to the opposite operation, generally including the receiving module, the demodulating module, the channel decoding module, and the acquiring source data module.
  • it is also required to spread the data before the data signal is transmitted, so there are also a spread spectrum module and a despreading module in the communication module.
  • channel coding is a key module, mainly to improve the reliability of data transmission, and to correct the errors in the transmission process by using the redundant information of the channel coded codeword; the purpose and function of the spread spectrum technology is Before the information is transmitted, the spectrum of the transmitted signal is subjected to widening processing to obtain a strong anti-interference ability and a high transmission rate by using a wide spectrum, and different users can be carried by using different patterns on the same frequency band. Information, therefore, spread spectrum can also increase the band multiplexing rate.
  • LDPC Low Density Parity Check Code
  • Turbo coding Turbo coding
  • convolutional coding convolutional coding
  • RS Reed-solomon Codes
  • the bit rate and code length can be flexibly set, which is very suitable for various communication data.
  • the Turbo coding method is mainly adopted; the current coding output of the convolutional coding is not only related to The current information is also related to some previous information. Similar to the convolution characteristics, the decoding effect is better, and it is also used in many systems.
  • RS coding is a shortest code distance maximization code, and decoding can be implemented by pipeline. Decoding, high decoding speed and high throughput.
  • the data packet or the codeword information block needs to be verified, that is, some check sequence is added, so that The receiving end uses the check sequence to determine whether the received data packet or the encoded codeword information block is correct or not.
  • the commonly used calibration method is a cyclic redundancy check code sequence.
  • the length of the information block and the length of the check code can be set arbitrarily. It is very simple to use.
  • the modulo-2 division and remainder algorithm is performed on the complete data block. Whether the remainder is all zero determines the correctness of the received data block, and the cyclic redundancy check code is used in more communication systems.
  • the spreading code sequence is a pseudo-random sequence, such as an m sequence, an M sequence, a gold sequence, a Gray sequence, and the like.
  • the principle of spreading is to spread the spectrum of the transmitted signal using a spreading code sequence unrelated to the data to be transmitted, so that the bandwidth of the transmitted signal is much larger than the minimum bandwidth required for the transmitted data. Therefore, the spread spectrum signal has: a spreading code
  • the sequence is an unpredictable random signal, which can randomize the transmitted data information and increase the confidentiality of the data signal.
  • the bandwidth of the spread code sequence is much larger than the bandwidth of the data information to be transmitted. After the spread spectrum, the bandwidth of the data signal can be broadened.
  • the spreading code sequence has stronger anti-interference ability, stronger code division multiple access capability and stronger high-speed scalability.
  • the present invention provides a data transmission processing method and apparatus.
  • a data transmission processing method includes:
  • the logical operation processing includes one of the following operations:
  • the step of copying the coded data block to be spread into a plurality of copies, and performing the logical operation processing of the plurality of copies of the coded data block in units of the coded data block and the predetermined sequence by bit includes:
  • the constellation symbol modulated by the constellation mapping of the coded data to be spread is copied into a plurality of copies, and the plurality of copies of the constellation symbols obtained by the copying are in units of constellation symbols of the encoded data block and the predetermined complex sequence by element
  • the steps of the multiplication processing include:
  • Constellation mapping modulation is performed on m1 coded data blocks to obtain constellation symbols; constellation symbols obtained by constellation mapping modulation are copied to h parts in units of constellation symbols of the coded data blocks, where h and m1 are integers, h ⁇ 2, m1 ⁇ 1;
  • the method Also includes:
  • Forward error correction coding is performed on m0 information blocks to obtain m1 code data blocks, wherein m0 and m1 are integers, and m1 ⁇ m0 ⁇ 1.
  • the method further includes:
  • bit length of the information block in the m0 information blocks is determined according to the following manner:
  • k is forward error correction coding
  • ceil(x) represents the smallest integer greater than or equal to the real number x
  • mod(x1, x2) represents the remainder operation of the integer x1 to the integer x2.
  • the step of performing forward error correction coding on the m0 information blocks includes:
  • the m0 pieces of information are subjected to LDPC coding or Turbo coding or convolutional coding to obtain m0 error correction coded data blocks.
  • the steps of performing LDPC coding or Turbo coding or convolutional coding on the m0 information blocks include:
  • Ci is an error correction coded data block.
  • Ci is a check coded data block, and b is an integer. , b ⁇ 1.
  • the 0th set S0 [0, 1, 2, ..., (m0-1)].
  • the method further includes:
  • a cyclic redundancy check sequence of length d bits is added to each of the m0 information blocks, where d is an integer and d>0.
  • the method further includes:
  • pad_i is an integer
  • k is forward error correction coding requires input information The number of bits, which are '0' elements or '1' elements.
  • the method further includes:
  • the padding bits padding in the m0 error correction coded data blocks are removed, and bit data obtained by XOR coding of the padding bits in the b check coded data blocks is removed.
  • the preset sequence of the lengths a1, a2, and a3 bits and the preset complex sequence of the lengths a4, a5, and a6 are preset, or are random, or are generated by a pseudo-random method. .
  • the method further includes:
  • Pseudo-random initial state information is transmitted to the receiving end of the total encoded data block.
  • the preset sequence of lengths a1, a2, and a3 bits is a preset binary sequence of Barker barcodes;
  • the preset complex sequence of lengths a4, a5, and a6 is a preset barker code sequence.
  • a1, a2, a4, and a5 are respectively one of the following:
  • the present invention also provides a data transmission processing apparatus, including a replication module and a processing module, wherein
  • the copying module is configured to: copy the coded data block to be spread into a plurality of copies; the processing module is configured to: copy the plurality of copies of the coded data block into units of the coded data block and the predetermined sequence by bit Perform logical operations; or,
  • the copying module is configured to: copy the constellation symbols modulated by the constellation mapping to be coded into a plurality of copies; the processing module is configured to: copy the obtained plurality of the constellation symbols to encode the data block The constellation symbol is multiplied by the element in a predetermined complex sequence.
  • the logical operation processing includes one of the following operations:
  • the copying module is configured to copy the coded data block to be spread into multiple copies in the following manner: copying m1 pieces of coded data to h parts in units of coded data blocks, where h, M1 is an integer, h ⁇ 2, m1 ⁇ 1;
  • the copying module is configured to: copy the constellation symbols modulated by the constellation data to be spread by the constellation mapping into multiple parts according to the following manner: performing constellation mapping modulation on the m1 coded data blocks to obtain constellation symbols, and constelling the constellation The constellation symbol obtained by mapping modulation is copied to h parts in units of constellation symbols of the coded data block; wherein h and m1 are integers, h ⁇ 2, m1 ⁇ 1;
  • the apparatus further includes a forward error correction coding module, wherein
  • the forward error correction coding module is configured to perform forward error correction coding on the m0 information blocks to obtain m1 coded data blocks, where m0 and m1 are integers, and m1 ⁇ m0 ⁇ 1.
  • the device further includes a segmentation module, wherein
  • the bit length is determined as follows:
  • k is forward error correction coding
  • ceil(x) represents the smallest integer greater than or equal to the real number x
  • mod(x1, x2) represents the remainder operation of the integer x1 to the integer x2.
  • the forward error correction coding module includes:
  • the first coding unit is configured to perform LDPC coding or Turbo coding or convolutional coding on the m0 information blocks to obtain m0 error correction coded data blocks.
  • the forward error correction coding module further includes:
  • a second coding unit configured to: perform an exclusive-OR encoding on the m0 coded data blocks, where m0 ⁇ 2, to obtain b check coded data blocks, where the b check coded data blocks are
  • Ci is an error correction coded data block.
  • Ci is a check coded data block, and b is an integer. , b ⁇ 1.
  • the 0th set S0 [0, 1, 2, ..., (m0-1)].
  • the device further includes an adding module, wherein
  • the adding module is configured to: add a length to each of the m0 information blocks A d-bit cyclic redundancy check sequence in which d is an integer and d>0.
  • the device further includes a filling module, wherein
  • the padding module is configured to: fill the dummy bit of the pad_i to the i-th information block of the m0 information blocks after adding the cyclic redundancy check sequence, so that the bit length of each information block reaches k bits ;
  • pad_i is an integer
  • k is the number of input information bits required for forward error correction coding
  • the dummy bit is a '0' element or a '1' element.
  • the device further includes a removal module, wherein
  • the removing module is configured to: remove padding bits that are filled in the m0 error correction encoded data blocks, and remove bit data in the b check coded data blocks that are completely XOR-coded by padding bits.
  • the preset sequence of the lengths a1, a2, and a3 bits and the preset complex sequence of the lengths a4, a5, and a6 are preset, or are random, or are generated by a pseudo-random method. .
  • the device further includes a transmitting module, wherein
  • the sending module is configured to: when the preset sequence of the lengths a1, a2, and a3 bits and the preset complex sequence of the lengths a4, a5, and a6 are generated by a pseudo-random device, send a pseudo-random Initial state information to the receiving end of the total encoded data block.
  • the preset sequence of lengths a1, a2, and a3 bits is a preset binary sequence of Barker barcodes;
  • the preset complex sequence of lengths a4, a5, and a6 is a preset barker code sequence.
  • a1, a2, a4, and a5 are respectively one of the following:
  • the coded data block to be spread is copied into a plurality of copies, and the copied plurality of coded data blocks are logically processed in units of the coded data block and the predetermined sequence by bits; or
  • the constellation symbol modulated by the constellation mapping is copied into multiple copies, and the copied plurality of constellation symbols are multiplied by the element of the constellation symbol of the encoded data block and the predetermined complex sequence is multiplied by the element, and the related technology is solved.
  • the coding method in the channel does not make good use of channel error correction.
  • the problem of coding gain makes it possible to make better use of the coding gain.
  • FIG. 1 is a schematic diagram of a data communication system according to the related art
  • FIG. 2 is a flowchart 1 of a data transmission method according to an embodiment of the present invention.
  • FIG. 3 is a second flowchart of a data transmission method according to an embodiment of the present invention.
  • FIG. 4 is a preferred flowchart of a data transmission processing method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of forward error correction coding in a data transmission processing method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a data transmission processing apparatus according to an embodiment of the present invention.
  • FIG. 7 is a block diagram showing a preferred structure of a data transmission processing apparatus according to an embodiment of the present invention.
  • FIG. 8 is a block diagram of a forward error correction encoding apparatus in a data transmission processing apparatus in accordance with a preferred embodiment of the present invention.
  • FIG. 9 is a diagram showing a generation structure of a pseudo random sequence in accordance with a preferred embodiment of the present invention.
  • Figure 10 is a diagram showing the data transmission processing procedure in accordance with a preferred embodiment 4 of the present invention.
  • FIG. 2 is a flowchart 1 of a data transmission processing method according to an embodiment of the present invention. As shown in FIG. 2, the flow includes the following steps:
  • Step S200 copying the coded data block to be spread into multiple copies
  • Step S201 the plurality of encoded data blocks obtained by the copying are logically processed in units of the encoded data block and the predetermined sequence by bits.
  • FIG. 3 is a second flowchart of a data transmission processing method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S300 copying the constellation symbols modulated by the constellation mapping of the coded data to be spread into multiple copies
  • Step S301 multiplying the plurality of constellation symbols obtained by the copying into the constellation symbols of the encoded data block and multiplying the predetermined complex sequence by the elements.
  • spreading is performed in units of coded data blocks, thereby solving the problem that the coding method in the related art in the related art cannot use the channel error correction coding gain well, and can be better. Use coding gain.
  • the above logical operation processing may be an exclusive OR operation, an AND operation or an OR operation.
  • the manner of logical operations is not limited in the present invention.
  • the logical operation adopts an exclusive OR operation; in the embodiment of the present invention, the exclusive OR operation is taken as an example for description and description.
  • the above-mentioned coded data block is obtained by forward error correction coding of the information block.
  • FIG. 4 is an optional flowchart of a data transmission processing method according to an embodiment of the present invention. As shown in FIG. 4, the process includes the following steps:
  • Step S400 dividing a source data block of length L to obtain m0 information blocks
  • Step S401 performing forward error correction coding on m0 information blocks to obtain m1 coded data blocks
  • step S200 to step S201 m1 pieces of coded data blocks are copied to h parts in units of coded data blocks, where h is an integer, h ⁇ 2;
  • the i-th bit in the large coded data block composed of the m1 ⁇ h coded data blocks and the i-th bit in the preset sequence of length a3 bits are logically processed to obtain a total coded data block with a bit length of n.
  • the constellation symbols are obtained by performing constellation mapping modulation on the m1 coded data blocks, and the constellation symbols obtained by constellation mapping are copied to the h parts in units of constellation symbols of the coded data blocks, where h is an integer. , h ⁇ 2;
  • the frequency division is performed in units of error correction code blocks (corresponding to coded data blocks), and all error correction coding blocks are combined into one larger coding block by using an exclusive OR coding method, and the coding in the related art in the related art is solved.
  • the method can not make good use of the problem of channel error correction coding gain, so that the coding gain can be better utilized, the performance is excellent at a relatively low coding rate, and the data transmission performance of the fading channel or the multipath channel can be improved; Since the copy transmission is performed in units of error correction coding blocks during transmission, the receiving end can start error correction code decoding before completely receiving the current error correction coded copy block (it is not necessary to wait until all the copy blocks are completely received). Thereby, the system receiving speed can be improved.
  • bit length of the 0th to (m0-1)th information blocks may be obtained in one of the following manners:
  • ceil(x) represents the smallest integer greater than or equal to the real number x
  • mod(x1, x2) represents the remainder operation of the integer x1 for the integer x2
  • k0 is an integer greater than 0 and less than or equal to k.
  • k is the number of input information bits required for forward error correction coding, and k is an integer greater than zero.
  • performing forward error correction coding on the m0 information blocks includes: performing LDPC coding or Turbo coding or convolutional coding on the m0 information blocks, and obtaining m0 error correction coding data blocks;
  • the m0 error correction coded data blocks are XOR-coded to obtain b check coded data blocks, wherein the coding mode of the jth check coded data block in the b check coded data blocks is encoded.
  • m0 is greater than or equal to 2
  • the set S0 is equal to the set [0, 1, 2, ..., (m0-1)].
  • the method before performing LDPC coding or Turbo coding or convolutional coding on the m0 information blocks, the method further includes: adding a cyclic redundancy check sequence to each information block, and the sequence length is d bits, where d is an integer greater than zero.
  • the method further includes: filling the i-th information block a dummy bit of length pad_i, such that all information blocks are up to k bits in length;
  • pad_i is the bit length of the i-th information block padding
  • pad_i is an integer greater than or equal to 0
  • k is the number of input information bits required for forward error correction coding
  • k is an integer greater than zero.
  • the method further includes: after performing exclusive-OR coding on the m0 error correction coded data blocks to obtain b check coded data blocks, and removing the m0 error correction coded data blocks.
  • the padding bits are removed, and the bit data of the b parity coded data blocks that are completely XOR-coded by the padding bits is removed.
  • FIG. 5 is a flowchart of forward error correction coding in a data transmission processing method according to an embodiment of the present invention. As shown in FIG. 5, the flow includes the following steps:
  • Step S500 adding a cyclic redundancy check sequence to each information block, the sequence length being d bits, where d is an integer greater than 0;
  • Step S501 filling the i-th information block with dummy bits of length pad_i, so that all information blocks have a length of k bits; wherein pad_i is the bit length filled by the i-th information block, and pad_i is an integer greater than or equal to 0.
  • Step S502 performing LDPC encoding or Turbo encoding or convolution encoding on the m0 information blocks
  • Step S503 the XOR code obtains b check code data blocks, and if m0 is greater than or equal to 2, the m0 error correction code data blocks are XOR coded to obtain b check code data blocks, wherein b check code data blocks
  • Step S504 the padding bits in the m0 error correction coded data blocks are removed, and the bit data in the b check coded data blocks that is completely XOR-coded by the padding bits is removed, to obtain m1 coded data blocks.
  • the foregoing preset sequence of lengths a1, a2, and a3 bits and the preset complex sequence of lengths a4, a5, and a6 are preset, or are random, or are generated by a pseudo-random method.
  • pseudo-random initial state information may also be transmitted to the total encoded data.
  • the receiving end of the block may also be transmitted to the total encoded data.
  • the preset sequence of lengths a1, a2, and a3 bits is a preset binary sequence of barker codes;
  • the preset complex sequence of lengths a4, a5, and a6 is a preset barker code sequence.
  • the values of a1, a2, a4, and a5 are one of the following: 4, 5, 7, 11, and 13. Moreover, the values of a1, a2, a4, and a5 may be equal or unequal.
  • a data transmission processing device for implementing the above-mentioned embodiments and optional embodiments.
  • the descriptions of the modules involved in the device are described below.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 6 is a schematic structural diagram of a data transmission processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes the following modules: a replication module 62 and a processing module 64.
  • the copying module 62 is coupled to the processing module 64, and configured to: copy the encoded data block to be spread into multiple copies; and the processing module 64 is configured to: copy the multiple encoded data blocks obtained by using the encoded data block into units. Performing logical operations on a predetermined sequence with bits; or,
  • the copying module 62 is configured to: copy the constellation symbols modulated by the constellation to be spread by the constellation mapping into a plurality of copies; and the processing module 64 is configured to: copy the obtained plurality of constellation symbols to the constellation symbols of the encoded data block.
  • the unit is multiplied by the predetermined complex sequence by element.
  • the foregoing apparatus further includes: a forward error correction coding module, coupled to the replication module 62, configured to perform forward error correction coding on the information block to obtain an encoded data block to be spread.
  • a forward error correction coding module coupled to the replication module 62, configured to perform forward error correction coding on the information block to obtain an encoded data block to be spread.
  • the forward error correction coding module is configured to perform forward error correction coding on the m0 information blocks to obtain m1 coded data blocks, where m0 and m1 are integers, and m1 ⁇ m0 ⁇ 1.
  • the copying module 62 is configured to: in the unit of the encoded data block, copy m1 pieces of coded data to h parts, where h is an integer, h ⁇ 2;
  • the processing module 64 is configured to: perform logical operation processing on all bits of the j1th copy block of the i1-th coded data block that are copied and the j1th bit in the preset sequence of length a1 bits, to obtain a total coded data block;
  • the processing module 64 is configured to perform logical operation on the i-th bit in the large coded data block composed of the m1 ⁇ h coded data blocks and the i3th bit in the preset sequence of the length a3 bits, to obtain the bit length.
  • the copying module 62 is configured to perform constellation mapping modulation on the m1 coded data blocks to obtain a constellation symbol, and copy the constellation symbols obtained by the constellation mapping to the h parts in units of constellation symbols of the encoded data block; h is an integer, h ⁇ 2;
  • the processing module 64 is configured to: multiply the i-th constellation symbol in the copied large constellation symbol data block and the i-th element in the preset complex sequence of length a6 to obtain a total data stream of length n;
  • k is forward error correction coding
  • ceil(x) represents the smallest integer greater than or equal to the real number x
  • mod(x1, x2) represents the remainder operation of the integer x1 to the integer x2.
  • the forward error correction coding module includes: a first coding unit configured to perform LDPC coding or Turbo coding or convolutional coding on the m0 information blocks to obtain m0 error correction coding data blocks.
  • the forward error correction coding module may further include: a second coding unit configured to perform an exclusive OR coding on the m0 coded data blocks in the case of m0 ⁇ 2, to obtain b check coded data blocks,
  • a second coding unit configured to perform an exclusive OR coding on the m0 coded data blocks in the case of m0 ⁇ 2, to obtain b check coded data blocks,
  • Ci is an error correction coded data block
  • b is an integer and b ⁇ 1.
  • the 0th set S0 [0, 1, 2, ..., (m0-1)].
  • the foregoing apparatus further includes: an adding module, coupled to the forward error correction encoding module, configured to: add a cyclic redundancy check sequence of length d bits to each information block of the m0 information blocks, where d is an integer and d>0.
  • an adding module coupled to the forward error correction encoding module, configured to: add a cyclic redundancy check sequence of length d bits to each information block of the m0 information blocks, where d is an integer and d>0.
  • the foregoing apparatus further includes: a filling module, respectively coupled between the adding module and the forward error correction encoding module, configured to: fill the dummy bits of the length of the pad_i to the m0 after adding the cyclic redundancy check sequence The i-th information block in the information block, such that the bit length of each information block reaches k bits; wherein pad_i is an integer, pad_i ⁇ 0, k > 0, k is the number of input information bits required for forward error correction coding, dumb
  • the meta bit is a '0' element or a '1' element.
  • the apparatus further includes: a removing module, coupled to the forward error correction encoding module, configured to: remove padding bits filled in the m0 error correction encoded data blocks, and remove the b check coded data blocks completely Bit data obtained by XOR encoding padding bits.
  • a removing module coupled to the forward error correction encoding module, configured to: remove padding bits filled in the m0 error correction encoded data blocks, and remove the b check coded data blocks completely Bit data obtained by XOR encoding padding bits.
  • the preset sequence of length a1, a2, a3 bits and the preset complex sequence of length a4, a5, a6 are preset, or are random, or are generated by a pseudo-random method.
  • the foregoing apparatus may further include: a sending module, coupled to the processing module 64, configured to: the preset sequence of lengths a1, a2, and a3 bits and the preset complex sequence of lengths a4, a5, and a6 are pseudo
  • a sending module coupled to the processing module 64, configured to: the preset sequence of lengths a1, a2, and a3 bits and the preset complex sequence of lengths a4, a5, and a6 are pseudo
  • pseudo-random initial state information is transmitted to the receiving end of the total encoded data block.
  • the preset sequence of lengths a1, a2, and a3 bits is a preset binary sequence of barker codes;
  • the preset complex sequence of lengths a4, a5, and a6 is a preset barker code sequence.
  • the values of a1, a2, a4, and a5 are one of the following: 4, 5, 7, 11, and 13. Moreover, the values of a1, a2, a4, and a5 may be equal or unequal.
  • the above sequence may be, for example, an M sequence, a barker code sequence, a gold sequence, a kasami sequence, a Gray sequence, a walsh code sequence, and other pseudo noises (Pseudo-Noise). Code, referred to as PN) sequence.
  • PN pseudo noises
  • FIG. 7 is a block diagram showing an optional structure of a data transmission processing apparatus according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes:
  • the segmentation module 700 is configured to divide the source data packet of length L to obtain m0 information blocks;
  • the forward error correction coding module 701 is configured to perform forward error correction coding on the m0 information blocks to obtain m1 coded data blocks.
  • L is an integer greater than 0
  • m0 is an integer greater than or equal to 1
  • h is an integer greater than 1
  • m1 is an integer greater than or equal to m0.
  • FIG. 8 is a block diagram showing an optional structure of a forward error correction encoding module in a data transmission processing apparatus according to an embodiment of the present invention.
  • the forward error correction encoding module includes the following units:
  • Adding unit 800 adding a cyclic redundancy check sequence to each information block, the sequence length being d bits, where d is an integer greater than 0;
  • the padding unit 801 fills the i-th information block with dummy bits of length pad_i such that all information blocks reach k bits in length; wherein pad_i is the bit length of the i-th information block padding, and pad_i is greater than or equal to 0.
  • the first encoding unit 802 performs LDPC encoding or Turbo encoding or convolution encoding on the m0 information blocks;
  • the second coding unit 803 obtains b check code data blocks by XOR coding. If m0 is greater than or equal to 2, the m0 error correction code data blocks are XOR-coded to obtain b check code data blocks, wherein b checksums
  • the removing unit 804 removes the padding bits in the m0 error correction coded data blocks, and removes the bit data in the b check coded data blocks that is completely XOR-coded by the padding bits to obtain m1 coded data blocks.
  • the coding scheme design for the control PHY of the IEEE802.11aj (45 GHz) communication system, IEEE802.11aj (45 GHz) mainly works in the frequency band around 45 GHz.
  • An access point (Access Point, AP for short) transmits data to a station (station, abbreviated as STA) or transmits data to an access point by the STA.
  • the physical layer data needs to be encoded to improve the number. According to the reliability of the transmission.
  • the terminals that can be used may include: handheld devices such as mobile phones, tablet computers, reading machines, electronic watches, and other electronic devices that need to access, for example, the Internet.
  • the error correction coding method used is LDPC coding, the code rate is 1/2, the code length is 672 bits, and the spreading factor is 42, so the information bits required for LDPC coding are 336 bits, and the check bits are 336 bits.
  • the encoding processing method for the data header includes:
  • Performing forward error correction coding on the information block including filling 2 bits in the header of the information block, and expanding the information block length to 42 bits, and the length is exactly equal to the spreading factor of the LDPC code (the spreading factor is equal to 42, the purpose is Repeating with the expansion factor as the base, the LDPC code decoding performance is better), expressed as ([0,0], b 0 , b 1 ,..., b 39 ), and then repeating the filled information block once to obtain
  • the spread data block is obtained, and the length is 376 ⁇ h bits.
  • h 16 or 12.
  • the transmission data block of length 376 ⁇ h bits is modulated into a complex constellation symbol, wherein the constellation modulation adopts Differential Binary Phase Shift Keying (DBPSK), and the modulation process is as follows:
  • DBPSK Differential Binary Phase Shift Keying
  • BPSK binary phase shift keying
  • the coding scheme for the control physical layer (control PHY) of the IEEE802.11aj (45G) communication system, IEEE802.11aj (45G) mainly works in the frequency band around 45 GHz.
  • control PHY control physical layer
  • the terminals that can be used may include: handheld devices such as mobile phones, tablet computers, reading machines, electronic watches, and other electronic devices that need to access, for example, the Internet.
  • the error correction coding method used is LDPC coding, the code rate is 1/2, the code length is 672 bits, and the spreading factor is 42, so the information bits required for LDPC coding are 336 bits, and the check bits are 336 bits.
  • the encoding processing method of the data domain data (source data block) includes:
  • the '0' element of the bit, the first to the 12th information blocks are filled with the 13-bit '0' element, and the length is up to 336 bits
  • the full padding in the data block generates bits (since the padding bits are at the head of the data block, so the fully padding bits are the first 12 bits), and fully padding the generated bits means that all the padding bits are cumulatively XOR-coded.
  • the receiving end The error correction code decoding can be started before the copy block of the current error correction code is completely received (it is not necessary to wait until all the copy blocks are completely received), so that the system reception speed can be improved.
  • the above data block to be transmitted is modulated into a complex constellation symbol, wherein the constellation modulation adopts DBPSK, and the modulation process is as follows: the output data block output sequence is expressed as [c 0 , c 1 , c 2 , c 3 , c 4 ,...]
  • the basic matrix of the above LDPC coding is shown in Table 1 (the expansion factor is 42): Send the header total coded data block.
  • the error correction coding method used is LDPC coding, the code rate is 1/2, the code length is 672 bits, and the spreading factor is 42, so the information bits required for LDPC coding are 336 bits, the check bits are 336 bits, and the cyclic redundancy is corrected.
  • the code sequence is 8 bits long.
  • the method for encoding the source data packet includes:
  • XOR code can convert all LDPC codes into one larger code block
  • forward error correction Encoding can improve the overall transmission performance of the source data packet
  • the structure is as shown in Figure 9.
  • the initialization of the register is all ones, and the transceiver is pre-set.
  • the sender does not need to send the initial state information to the receiver; or the initial value of the register is random and sent by the sender to the receiver. If the register status is "1011011", the sender needs to send "1011011” to the receiver. end. In this way, the overall spectrum of the copied data blocks is randomly and uniformly distributed, which is beneficial to the overall performance of the source data block transmission; at the same time, since the transmission is repeated in units of error correction coding blocks in the transmission process, the receiving end
  • the error correction code decoding can be started before the copy block of the current error correction code is completely received (it is not necessary to wait until all the copy blocks are completely received), so that the system reception speed can be improved.
  • the structure is shown in Figure 9.
  • the initialization of the register is all ones, and the transceiver is pre-set.
  • the sender does not need to send the initial state information to the receiver; or the initial value of the register is random and sent by the sender to the receiver. If the initial value of the register is "1101001", the sender needs to initialize the register information. 1101001" is sent to the receiving end.
  • the receiving end The error correction code decoding can be started before the copy block of the current error correction code is completely received (it is not necessary to wait until all the copy blocks are completely received), so that the system reception speed can be improved.
  • the receiving end The error correction code decoding can be started before the copy block of the current error correction code is completely received (it is not necessary to wait until all the copy blocks are completely received), so that the system reception speed can be improved.
  • the structure is as shown in FIG. 9 , the initialization of the register is all 1, and the transceiver is preset. The sender does not need to send the initial state information to the receiver; or the initial value of the register is random and sent by the sender to the receiver. If the initial value of the register is "1001001", the sender needs to initialize the register information. "1001001" is sent to the receiving end.
  • the error correction coding method used is LDPC coding, the code rate is 1/2, the code length is 672 bits, and the spreading factor is 42, so the information bits required for LDPC coding are 336 bits, and the check bits are 336 bits.
  • the data encoding processing method of the source data packet includes:
  • ceil(x) represents the smallest integer greater than or equal to the real number x.
  • the information block is filled with 14-bit '0' elements, and the 16th information block is filled with 24-bit '0' elements.
  • the padding bits (the number of padding bits of the 0th to 15th LDPC code blocks is 14 bits, and the number of padding bits of the 16th LDPC code block is 24 bits), respectively, to completely fill the generated
  • the random sequence S [0 0 0 0 0 1 0 1 1 1 0 0 0 1 1 0 1 1 0 0 1 0 0 1 0 0 00 1 0 1 0]; this can make the overall spectrum of the copied h data block It is a random and even distribution, which is beneficial to the overall performance of the source data packet transmission.
  • the receiving end can completely receive the current error correction coded copy block.
  • the error correction code decoding is started (it is not necessary to wait until all the copy blocks are completely received), thereby improving the system receiving speed.
  • the basic matrix of the above LDPC encoding is the same as that of the first embodiment.
  • the error correction coding method used is LDPC coding, the code rate is 1/2, the code length is 2048 bits, and the spreading factor is 128. Therefore, the information bits required for LDPC coding are 1024 bits, and the check bits are 1024 bits.
  • the data encoding processing method for the source data block includes:
  • the structure is as shown in FIG. 9, and the initialization of the register is all ones.
  • the overall spectrum of the copied h data blocks can be randomly and uniformly distributed, which is beneficial to the overall performance of the source data packet transmission; at the same time, since the transmission is repeated in units of error correction coding blocks in the transmission process. Therefore, the receiving end can start the error correction code decoding before completely receiving the copy block of the current error correction code (it is not necessary to wait until all the copy blocks are completely received), thereby improving the system receiving speed.
  • the above sequence S is not limited to the above sequence, and the complex sequence R is not limited to the above production method.
  • the coding scheme design for the control PHY of the IEEE802.11aj (45 GHz) communication system, IEEE802.11aj (45 GHz) mainly works in the frequency band around 45 GHz.
  • An access point (Access Point, AP for short) transmits data to a station (station, referred to as STA) or a STA transmits data to an access point AP.
  • the physical layer data needs to be encoded to improve the reliability of data transmission.
  • the terminals that can be used may include: handheld devices such as mobile phones, tablet computers, reading machines, electronic watches, and other electronic devices that need to access, for example, the Internet.
  • the transport header and the data field need to be processed.
  • the header length is 56 bits, and the data field length is variable.
  • the header contains at least one of the following parameters: the length of the header and the encoding modulation mode, and the cyclic redundancy check code of the header.
  • the error correction coding method used is LDPC coding, the code rate is 1/2, the code length is 672 bits, and the spreading factor is 42, so the information bits required for LDPC coding are 336 bits, and the check bits are 336 bits.
  • the processing method for the data header (header) and the data domain (data) includes:
  • the 56-bit header is first filled with 28 dummy bits (the header is filled with '0' elements) to obtain an 84-bit data block containing two consecutive sub-blocks each having a length of 42 bits.
  • m1 1 encoded data block (b 0 , b 1 , ..., b 55 , p 0 , p 1 , ..., p 335 ), length 392 bits;
  • the '0' element of the bit, the first to the 12th information blocks are filled with the 13-bit '0' element, and the length is up to 336 bits
  • the full padding in the data block generates bits (since the padding bits are at the head of the data block, so the fully padding bits are the first 12 bits), and fully padding the generated bits means that all the padding bits are cumulatively XOR-coded.
  • Bit data can transform all LDPC codes into a larger coding block, thereby improving the overall transmission performance of the source data packet;
  • the receiving end The error correction code decoding can be started before the copy block of the current error correction code is completely received (it is not necessary to wait until all the copy blocks are completely received), so that the system reception speed can be improved.
  • the coding scheme design for the control PHY of the IEEE802.11aj (45 GHz) communication system, IEEE802.11aj (45 GHz) mainly works in the frequency band around 45 GHz.
  • An access point (Access Point, AP for short) transmits data to a station (station, referred to as STA) or a STA transmits data to an access point AP.
  • the physical layer data needs to be encoded to improve the reliability of data transmission.
  • the terminals that can be used may include: handheld devices such as mobile phones, tablet computers, reading machines, electronic watches, and other electronic devices that need to access, for example, the Internet.
  • the CPHY consists of two parts: a header and a data field.
  • the length of the header portion is 56 bits, and the length of the data portion is variable. These two parts are independently coded, and both use 1/2 code rate LDPC coding.
  • the encoding steps are as follows:
  • the data field (data) part is variable in length, and its length is Length byte, and LDPC encoding is performed.
  • the encoding steps are as follows:
  • the effective information length of the first N CW1 LDPC code blocks is L DPCW1 bits
  • the effective information length of the remaining N CW -N CW1 LDPC code blocks is L DPCW1 -1 bits
  • the parameters L DPCW1 and N CW1 are calculated as follows:
  • N CW1 mod((Length ⁇ 8), (L DPCW1 -1))
  • the fully padding generation bit refers to: all bit data obtained by padding bits through 1-bit XOR encoding; obtaining a data field (code) codeword
  • c 0 is a header encoded codeword
  • F in the formula is a preset barker sequence.
  • Embodiment 10 The difference between Embodiment 10 and Embodiments 1 to 9 lies in the error correction coding method, and the error correction coding method used is convolutional coding, RS coding, Turbo coding or BCH coding.
  • the performance of the overall data packet is improved, thereby improving the reception robustness, and the performance is superior to the conventional data encoding scheme.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • the embodiment of the invention also discloses a computer program, comprising program instructions, which, when executed by a computer, enable the computer to perform any of the above methods of data transmission processing.
  • the embodiment of the invention also discloses a carrier carrying the computer program.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the technical solution of the present invention solves the problem that the coding mode in the related art cannot make good use of the channel error correction coding gain, so that the coding gain can be better utilized. Therefore, the present invention has strong industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Error Detection And Correction (AREA)

Abstract

一种数据传输处理方法及装置,其中,该方法包括:将待扩频的编码数据块复制成多份,并将复制得到的多份编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理;或者将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份,并将复制得到的多份星座符号以编码数据块的星座符号为单位与预定复序列按元素相乘处理。通过本发明技术方案,解决了相关技术中的编码方式不能很好利用信道纠错编码增益的问题,从而能够更好的利用编码增益。

Description

数据传输处理方法及装置 技术领域
本文涉及数据传输处理技术领域,具体而言,涉及一种数据传输处理方法及装置。
背景技术
IEEE802.11制定的是一个无线局域网标准,主要用于解决办公室局域网等中用户终端的无线接入数据网络,业务主要限于数据通信,由于为了在速率和传输距离上都不能满足人们的需要,因此,经过多年的研究讨论,IEEE小组相继推出多个标准,如802.11a、802.11b、802.11m、802.11ac、802.11ad、802.11aj等等。而802.11aj是根据中国的毫米波频段制定下一代无线局域网标准,工作频率在45吉赫兹(GHz)附近,可用带宽达到5GHz左右,预计最大吞吐量能达到10吉比特每秒(Gbps)。
图1是根据相关技术的数据通信系统示意图,如图1所示,一般无线数字通信系统中,包括发送端和接收端两个大部分,其中一般发送端包括信源模块、信道编码模块、调制模块和发射模块等,而接收端则是按相反的操作解出信源数据,一般包括接收模块、解调模块、信道译码模块和获取信源数据模块等。一般地,还需要在数据信号发送之前对数据进行扩频,所以所述的通信模块中还有扩频模块和解扩频模块。在数字通信中,信道编码是一个关键模块,主要是为了提高数据传输的可靠性,利用信道编码码字的冗余信息将数据在传输过程出现的错误纠正过来;扩频技术的目的和作用是在传输信息之前,先对所传信号进行频谱的扩宽处理,以便利用宽频谱获得较强的抗干扰能力、较高的传输速率,而且由于在相同频带上利用不同码型可以承载不同用户的信息,因此,扩频也可以提高频带复用率。
常用的纠错编码技术如低密度既有校验码(Low Density Parity Check Code,简称为LDPC)编码、涡轮(Turbo)编码、卷积编码、里所码(Reed-solomon Codes,简称为RS)编码等。其中,LDPC是低密度奇偶校验编码,它的校验矩阵非常稀疏,故而译码复杂度不高,同时具有天然的译码并行性,可以并行译码获得比较高的译码吞吐量,而且性能非常接近香农 极限,现在LDPC编码方式已用于多种通信系统中;Turbo编码通过两个分量码对信息进行编码,利用两部分分量码进行迭代译码,可以提高译码性能,在中低码率时性能非常好,而且码率和码长可以比较灵活设置,很好适应各种通信数据,在相关技术的长期演进(LTE)通信系统中主要采用的是Turbo编码方式;卷积编码当前编码输出不仅与当前信息有关还和以前的若干信息有关,类似于卷积特性,译码效果比较好,在许多系统中也都有使用;RS编码是一种最短码距最大化码,而且译码可以采用流水线式译码,译码速度高速而且吞吐量高。
为了让接收端能正确判断接收到的数据包或者编码码字中的信息块是正确的,在数字通信中还需要对数据包或者码字信息块进行校验,即添加一些校验序列,使得接收端利用该校验序列判断接收的数据包或者编码码字信息块正确与否。常用的校验方法为循环冗余校验码序列,其信息块长度以及校验码长度可以任意设置,使用非常简便,数据块接收完时,对完整数据块进行模二除求余算法,通过余数是否为全零判断该接收数据块的正确性,在较多通信系统中都使用循环冗余校验码。
扩频方法中需要一种扩频码序列,一般采用的扩频码序列为一些伪随机序列,如:m序列、M序列、高德(gold)序列、格雷序列等。扩频的原理是使用与被传输数据无关的扩频码序列对传输信号进行频谱扩展,使得传输信号的带宽远大于被传输数据所需的最小带宽,因此经过扩频的信号具有:扩频码序列是不可预测的随机的信号,可以使得传输数据信息随机化,同时可以增加数据信号的保密性;扩频码序列带宽远大于欲传输数据信息的带宽,扩频后可以将数据信号的带宽展宽;扩频码序列具有更强的抗干扰能力、更强的码分多址能力以及更强的高速可扩展能力。
在一些室内通信或者其他需要极低信噪比才能工作的场景中,由于信道质量比较差,为了使得一些通信数据能正常传输,则需要支持采用极低编码码率进行通信,增加信号传输的性能,从而可以提高信号的抗干扰能力。由于在编码码率较低的情况下,需要付出更大的功率代价,才能达到相应的性能要求,不能充分地利用纠错编码增益;而且在中长码长下,码率越低,译码复杂度也会很高。
发明内容
针对相关技术中的编码方式不能很好利用信道纠错编码增益的问题,尚未提出有效的解决方案。
为了解决上述技术问题,本发明提供了一种数据传输处理方法及装置。
本发明采用如下技术方案:
一种数据传输处理方法,包括:
将待扩频的编码数据块复制成多份,并将复制得到的多份所述编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理;或者
将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份,并将复制得到的多份所述星座符号以编码数据块的星座符号为单位与预定复序列按元素相乘处理。
进一步地,所述逻辑运算处理包括以下运算之一:
异或运算、与运算、或运算。
进一步地,将待扩频的编码数据块复制成多份,并将复制得到的多份所述编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理的步骤包括:
以编码数据块为单位,复制m1个编码数据块至h份,其中,h、m1为整数,h≥2,m1≥1;
将复制得到的第i1个编码数据块的第j1份复制块的所有比特与长度为a1比特的预设序列中第j1比特进行逻辑运算处理,得到总编码数据块;其中,a1为整数,a1≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者,将复制得到的由m1×h个编码数据块构成的大编码数据块中第i2个编码数据块的所有比特与长度为a2比特的预设序列中第i2比特进行逻辑运算处理,得到由m1×h个编码数据块构成的总编码数据块;其中,a2为整数,a2≥h≥2;i2=0,1,2,…,m1×h-1;或者,将复制得到的由m1×h个编码数据块构成的大编码数据块中第i3比特与长度为a3比特的预设序列中第i3比特进行逻辑运算处理,得到比特长度为n的总编码数据块;其中,a3、n均为整数,a3≥n;i3=0,1,2,…,n-1。
进一步地,将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份,并将复制得到的多份所述星座符号以编码数据块的星座符号为单位与预定复序列按元素相乘处理的步骤包括:
对m1个编码数据块进行星座映射调制,得到星座符号;将星座映射调制得到的星座符号以编码数据块的星座符号为单位复制至h份,其中,h、m1为整数,h≥2,m1≥1;
将复制得到的大星座符号数据块中第i1个编码数据块的星座符号的第j1份星座符号复制块中的所有星座符号与长度为a4的预设复序列中第j1个元素相乘,得到总数据流;其中,a4为整数,a4≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者,将复制得到的大星座符号数据块中第i2个编码数据块的所有星座符号与长度为a5的预设复序列中第i2个元素相乘,得到总数据流;其中,a5为整数,a5≥h≥2;i2=0,1,2,…,m1×h-1;或者,将复制得到的大星座符号数据块中第i3个星座符号与长度为a6的预设复序列中第i3个元素相乘,得到长度为n的总数据流;其中,a6为整数,a6≥n;i3=0,1,2,…,n-1。
进一步地,在所述将待扩频的编码数据块复制成多份,或者在所述将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份的步骤之前,所述方法还包括:
对m0个信息块进行前向纠错编码,得到m1个编码数据块,其中,m0、m1均为整数,m1≥m0≥1。
进一步地,在所述对m0个信息块进行前向纠错编码的步骤之前,所述方法还包括:
对长度为L比特的源数据块进行划分,得到所述m0个信息块,其中,m0=ceil(L/k0);
其中,所述m0个信息块中信息块的比特长度根据以下方式确定:
第0~m2-1个信息块的比特长度为k1=ceil(L/m0),第m2~m0-1个信息块的比特长度为k2=k1-1,其中,m2=mod(L,k2);或者
第0~m0-2个信息块的比特长度为k1=ceil(L/m0),第m0-1个信息块的比特长度为k2=L-k1×(m0-1);
其中,m0、m2、L、k0、k1、k2均为整数,m0≥2,m0≥m2≥L≥1,k≥k0>0,k1>0,k2>0,k为前向纠错编码需要输入信息比特数目,ceil(x)表示大于等于实数x的最小整数,mod(x1,x2)表示整数x1对整数x2的求余操作。
进一步地,对m0个信息块进行前向纠错编码的步骤包括:
对所述m0个信息块进行LDPC编码或者Turbo编码或者卷积编码,得到m0个纠错编码数据块。
进一步地,在m0≥2的情况下,对所述m0个信息块进行LDPC编码或者Turbo编码或者卷积编码的步骤包括:
对所述m0个编码数据块进行异或编码,得到b个校验编码数据块,其中,所述b个校验编码数据块中的第j个校验编码数据块的编码方式为
Figure PCTCN2016079312-appb-000001
总的编码数据块数为m1=m0+b;
其中,第j集合Sj是集合[0、1、2、…、m0+j-1]的一个子集,j=0、1、2、…、b-1,Σ表示累积异或运算;当i=0、1、…、m0-1时,Ci是纠错编码数据块,当i=m0、m0+1、…、m0+b-1时,Ci是校验编码数据块,b为整数,b≥1。
进一步地,在b=1的情况下,第0个集合S0=[0,1,2,…,(m0-1)]。
进一步地,在对所述m0个信息块进行LDPC编码或者Turbo编码或者卷积编码的步骤之前,所述方法还包括:
对所述m0个信息块中的每个信息块添加长度为d比特的循环冗余校验序列,其中,d为整数,d>0。
进一步地,在对所述m0个信息块中的每个信息块添加长度为d比特的循环冗余校验序列的步骤之后,且在对所述m0个信息块进行LDPC编码或者Turbo编码或者卷积编码的步骤之前,所述方法还包括:
填充长度为pad_i的哑元比特至添加循环冗余校验序列后的所述m0个信息块中第i个信息块,使得每个信息块的比特长度都达到k比特;
其中,pad_i为整数,pad_i≥0,k>0,k为前向纠错编码需要输入信息 比特数目,所述哑元比特是‘0’元素或者‘1’元素。
进一步地,在对所述m0个编码数据块进行异或编码,得到b个校验编码数据块的步骤之后,所述方法还包括:
去除填充在所述m0个纠错编码数据块中的填充比特,以及去除所述b个校验编码数据块中完全由填充比特经过异或编码得到的比特数据。
进一步地,所述长度为a1、a2、a3比特的预设序列和所述长度为a4、a5、a6的预设复序列是预先设定的、或者是随机的、或者是伪随机方法产生的。
进一步地,在所述长度为a1、a2、a3比特的预设序列和所述长度为a4、a5、a6的预设复序列是伪随机方法产生的情况下,所述方法还包括:
发送伪随机的初始状态信息至所述总编码数据块的接收端。
进一步地,所述长度为a1、a2、a3比特的预设序列是预先设定的巴克barker码二进制序列;所述长度为a4、a5、a6的预设复序列是预先设定的barker码序列。
进一步地,所述a1、a2、a4、a5的取值分别为以下之一:
4、5、7、11、13。
此外,本发明还提供了一种数据传输处理装置,包括复制模块和处理模块,其中
所述复制模块设置成:将待扩频的编码数据块复制成多份;所述处理模块,设置成:将复制得到的多份所述编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理;或者,
所述复制模块设置成:将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份;所述处理模块设置成:将复制得到的多份所述星座符号以编码数据块的星座符号为单位与预定复序列按元素相乘处理。
进一步地,所述逻辑运算处理包括以下运算之一:
异或运算、与运算、或运算。
进一步地,所述复制模块设置成按照如下方式将待扩频的编码数据块复制成多份:以编码数据块为单位,复制m1个编码数据块至h份,其中,h、 m1为整数,h≥2,m1≥1;
所述处理模块设置成按照如下方式将复制得到的多份所述编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理:将复制得到的第i1个编码数据块的第j1份复制块的所有比特与长度为a1比特的预设序列中第j1比特进行逻辑运算处理,得到总编码数据块;其中,a1为整数,a1≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者,将复制得到的由m1×h个编码数据块构成的大编码数据块中第i2个编码数据块的所有比特与长度为a2比特的预设序列中第i2比特进行逻辑运算处理,得到由m1×h个编码数据块构成的总编码数据块;其中,a2为整数,a2≥h≥2;i2=0,1,2,…,m1×h-1;或者,将复制得到的由m1×h个编码数据块构成的大编码数据块中第i3比特与长度为a3比特的预设序列中第i3比特进行逻辑运算处理,得到比特长度为n的总编码数据块;其中,a3、n均为整数,a3≥n;i3=0,1,2,…,n-1。
进一步地,所述复制模块设置成按照如下方式将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份:对m1个编码数据块进行星座映射调制,得到星座符号,将星座映射调制得到的星座符号以编码数据块的星座符号为单位复制至h份;其中,h、m1为整数,h≥2,m1≥1;
所述处理模块设置成按照如下方式将复制得到的多份所述星座符号以编码数据块的星座符号为单位与预定复序列按元素相乘处理:将复制得到的大星座符号数据块中第i1个编码数据块的星座符号的第j1份星座符号复制块中的所有星座符号与长度为a4的预设复序列中第j1个元素相乘,得到总数据流;其中,a4为整数,a4≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者,将复制得到的大星座符号数据块中第i2个编码数据块的所有星座符号与长度为a5的预设复序列中第i2个元素相乘,得到总数据流;其中,a5为整数,a5≥h≥2;i2=0,1,2,…,m1×h-1;或者,将复制得到的大星座符号数据块中第i3个星座符号与长度为a6的预设复序列中第i3个元素相乘,得到长度为n的总数据流;其中,a6为整数,a6≥n;i3=0,1,2,…,n-1。
进一步地,所述装置还包括前向纠错编码模块,其中
所述前向纠错编码模块设置成:对m0个信息块进行前向纠错编码,得到m1个编码数据块,其中,m0、m1均为整数,m1≥m0≥1。
进一步地,所述装置还包括分割模块,其中
所述分割模块设置成:对长度为L比特的源数据块进行划分,得到所述m0个信息块,其中,m0=ceil(L/k0);其中,所述m0个信息块中信息块的比特长度根据以下方式确定:
第0~m2-1个信息块的比特长度为k1=ceil(L/m0),第m2~m0-1个信息块的比特长度为k2=k1-1,其中,m02=mod(L,k2);或者
第0~m0-2个信息块的比特长度为k1=ceil(L/m0),第m0-1个信息块的比特长度为k2=L-k1×(m0-1);
其中,m0、m2、L、k0、k1、k2均为整数,m0≥2,m0≥m2≥L≥1,k≥k0>0,k1>0,k2>0,k为前向纠错编码需要输入信息比特数目,ceil(x)表示大于等于实数x的最小整数,mod(x1,x2)表示整数x1对整数x2的求余操作。
进一步地,所述前向纠错编码模块包括:
第一编码单元,设置成:对所述m0个信息块进行LDPC编码或者Turbo编码或者卷积编码,得到m0个纠错编码数据块。
进一步地,所述前向纠错编码模块还包括:
第二编码单元,设置成:在m0≥2的情况下,对所述m0个编码数据块进行异或编码,得到b个校验编码数据块,其中,所述b个校验编码数据块中的第j个校验编码数据块的编码方式为
Figure PCTCN2016079312-appb-000002
总的编码数据块数为m1=m0+b;
其中,第j集合Sj是集合[0、1、2、…、m0+j-1]的一个子集,j=0、1、2、…、b-1,Σ表示累积异或运算;当i=0、1、…、m0-1时,Ci是纠错编码数据块,当i=m0、m0+1、…、m0+b-1时,Ci是校验编码数据块,b为整数,b≥1。
进一步地,在b=1的情况下,第0个集合S0=[0,1,2,…,(m0-1)]。
进一步地,所述装置还包括添加模块,其中
所述添加模块设置成:对所述m0个信息块中的每个信息块添加长度为 d比特的循环冗余校验序列,其中,d为整数,d>0。
进一步地,所述装置还包括填充模块,其中
所述填充模块设置成:填充长度为pad_i的哑元比特至添加循环冗余校验序列后的所述m0个信息块中第i个信息块,使得每个信息块的比特长度都达到k比特;
其中,pad_i为整数,pad_i≥0,k>0,k为前向纠错编码需要输入信息比特数目,所述哑元比特是‘0’元素或者‘1’元素。
进一步地,所述装置还包括去除模块,其中
所述去除模块设置成:去除填充在所述m0个纠错编码数据块中的填充比特,以及去除所述b个校验编码数据块中完全由填充比特经过异或编码得到的比特数据。
进一步地,所述长度为a1、a2、a3比特的预设序列和所述长度为a4、a5、a6的预设复序列是预先设定的、或者是随机的、或者是伪随机方法产生的。
进一步地,所述装置还包括发送模块,其中
所述发送模块设置成:在所述长度为a1、a2、a3比特的预设序列和所述长度为a4、a5、a6的预设复序列是伪随机装置产生的情况下,发送伪随机的初始状态信息至所述总编码数据块的接收端。
进一步地,所述长度为a1、a2、a3比特的预设序列是预先设定的巴克barker码二进制序列;所述长度为a4、a5、a6的预设复序列是预先设定的barker码序列。
进一步地,a1、a2、a4、a5的取值分别为以下之一:
4、5、7、11、13。
通过本发明,采用将待扩频的编码数据块复制成多份,并将复制得到的多份编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理;或者将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份,并将复制得到的多份星座符号以编码数据块的星座符号为单位与预定复序列按元素相乘处理的方式,解决了相关技术中的编码方式不能很好利用信道纠错 编码增益的问题,从而能够更好的利用编码增益。
附图概述
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据相关技术的数据通信系统示意图;
图2是根据本发明实施例的数据传输方法的流程图一;
图3是根据本发明实施例的数据传输方法的流程图二;
图4是根据本发明实施例的数据传输处理方法的优选流程图;
图5是根据本发明实施例的数据传输处理方法中的前向纠错编码的流程图;
图6是根据本发明实施例的数据传输处理装置的结构示意图;
图7是根据本发明实施例的数据传输处理装置的优选结构框图;
图8是根据本发明优选实施例的数据传输处理装置中前向纠错编码装置的框图;
图9是根据本发明优选实施例的伪随机序列的产生结构图;
图10是根据本发明优选实施例4的数据传输处理过程的示意图。
本发明的较佳实施方式
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优 点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
本实施例提供了一种数据传输处理方法,图2是根据本发明实施例的数据传输处理方法的流程图一,如图2所示,该流程包括如下步骤:
步骤S200,将待扩频的编码数据块复制成多份;
步骤S201,将复制得到的多份编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理。
图3是根据本发明实施例的数据传输处理方法的流程图二,如图3所示,该流程包括如下步骤:
步骤S300,将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份;
步骤S301,将复制得到的多份星座符号以编码数据块的星座符号为单位与预定复序列按元素相乘处理。
通过图2或者图3所示的步骤,以编码数据块为单位进行扩频,从而解决了相关技术中相关技术中的编码方式不能很好的利用信道纠错编码增益的问题,能够更好的利用编码增益。
其中,上述的逻辑运算处理可以是异或运算、与运算或者或运算。在本发明中并不限制逻辑运算的方式。较优的,逻辑运算采用异或运算的方式;在本发明实施例中以异或运算为例进行描述和说明。
可选地,上述的编码数据块是通过对信息块的前向纠错编码而获得的。
可选地,在对信息块进行前向纠错编码之前,上述方法还包括:对长度为L比特的源数据块进行划分得到m0个信息块,其中,m0=ceil(L/k0)。
可选地,图4是根据本发明实施例的数据传输处理方法的可选流程图, 如图4所示,该流程包括如下步骤:
步骤S400,对长度为L的源数据块进行划分得到m0个信息块;
步骤S401,对m0个信息块进行前向纠错编码,获得m1个编码数据块;
步骤S402,
在步骤S200~步骤S201中,以编码数据块为单位,复制m1个编码数据块至h份,其中,h为整数,h≥2;
将复制得到的第i1个编码数据块的第j1份复制块的所有比特与长度为a1比特的预设序列中第j1比特进行逻辑运算处理,得到总编码数据块;其中,a1为整数,a1≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者
将复制得到的由m1×h个编码数据块构成的大编码数据块中第i2个编码数据块的所有比特与长度为a2比特的预设序列中第i2比特进行逻辑运算处理,得到由m1×h个编码数据块构成的总编码数据块;其中,a2为整数,a2≥h≥2;i2=0,1,2,…,m1×h-1;或者
将复制得到的由m1×h个编码数据块构成的大编码数据块中第i3比特与长度为a3比特的预设序列中第i3比特进行逻辑运算处理,得到比特长度为n的总编码数据块;其中,a3、n均为整数,a3≥n;i3=0,1,2,…,n-1;
在步骤S300~步骤S301中,对m1个编码数据块进行星座映射调制,得到星座符号;将星座映射调制得到的星座符号以编码数据块的星座符号为单位复制至h份,其中,h为整数,h≥2;
将复制得到的大星座符号数据块中第i1个编码数据块的星座符号的第j1份星座符号复制块中的所有星座符号与长度为a4的预设复序列中第j1个元素相乘,得到总数据流;其中,a4为整数,a4≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者
将复制得到的大星座符号数据块中第i2个编码数据块的所有星座符号与长度为a5的预设复序列中第i2个元素相乘,得到总数据流;其中,a5为整数,a5≥h≥2;i2=0,1,2,…,m1×h-1;或者
将复制得到的大星座符号数据块中第i3个星座符号与长度为a6的预设复序列中第i3个元素相乘,得到长度为n的总数据流;其中,a6为整数,a6≥n; i3=0,1,2,…,n-1。
通过本发明,采用对m0个信息数据块(即信息块)进行前向纠错编码,获得m1个编码数据块;对第i个编码数据块复制h份,且对h份中第j份数据块的所有比特与随机序列中第j比特进行异或,i=0、1、2、…、m0-1,j=0、1、2、…、h-1,以及其他的处理方法,从而得到要发送的数据。其中采用以纠错码块(相当于编码数据块)为单位进行扩频,以及采用异或编码方法将所有纠错编码块组合成一个较大编码块,解决了相关技术中相关技术中的编码方式不能很好的利用信道纠错编码增益的问题,从而能够更好的利用编码增益,在比较低的编码码率下性能优异,且可以提高衰落信道或者多径信道的数据传输性能;同时,由于在传输过程中是按纠错编码块为单位进行复制传输的,所以接收端可以在完全接收当前纠错编码的复制块之前启动纠错码译码(无需等到所有复制块全收完),从而可以提高系统接收速度。
可选地,进行划分时,可以采用以下方式之一获得第0~(m0-1)个信息块的比特长度:
方式0:第0~(m2-1)个信息块的比特长度为k1=ceil(L/m0),第m2~(m0-1)个信息块的比特长度为k2=k1-1,其中,m2=mod(L,k2);
方式1:第0~(m0-2)个信息块的比特长度为k1=ceil(L/m0),第(m0-1)个信息块的比特长度为k2=L-k1×(m0-1);
其中,L是大于0的整数,ceil(x)表示大于等于实数x的最小整数,mod(x1,x2)表示整数x1对整数x2的求余操作,k0是大于0且小于等于k的整数,k是前向纠错编码需要输入信息比特数目,k是大于0的整数。
可选地,对m0个信息块进行前向纠错编码包括:对m0个信息块进行LDPC编码或者Turbo编码或者卷积编码,获得m0个纠错编码数据块;其中,
如果m0大于等于2,则对m0个纠错编码数据块进行异或编码得到b个校验编码数据块,其中,b个校验编码数据块中的第j个校验编码数据块的编码方式为
Figure PCTCN2016079312-appb-000003
总的编码数据块数为m1=m0+b;
其中,第j集合Sj是集合[0、1、2、…、(m0+j-1)]的一个子集,j=0、1、2、…、(b-1),求和公式是累积异或运算,i∈Sj是指i取值为集合Sj中的所有 元素值,Ci是第i个编码数据块,其中,当i=0、1、…、(m0-1)时,Ci是纠错编码数据块,当i=m0、m0+1、…、(m0+b-1)时,Ci是校验编码数据块,b是大于等于1的整数。
可选地,在上述前向纠错编码过程中,如果m0大于等于2,且b=1,即对m0个纠错编码数据块进行异或编码得到1个校验编码数据块,则第0个集合S0等于集合[0,1,2,…,(m0-1)]。
可选地,在上述前向纠错编码中,在对m0个信息块进行LDPC编码或者Turbo编码或者卷积编码之前,还包括:对每个信息块添加循环冗余校验序列,序列长度为d比特,其中d是大于0的整数。
可选地,在上述前向纠错编码中,在添加循环冗余校验序列之后,对m0个信息块进行LDPC编码或者Turbo编码或者卷积编码之前,还包括:对第i个信息块填充长度为pad_i的哑元比特,使得所有信息块的长度都达到k比特;
其中,pad_i是第i个信息块填充的比特长度,pad_i是大于等于0的整数,哑元比特是‘0’元素或者‘1’元素,i=0,1,2,…(m0-1),k是前向纠错编码需要输入信息比特数目,k是大于0的整数。
可选地,在上述的前向纠错编码中,上述方法还包括:对m0个纠错编码数据块进行异或编码得到b个校验编码数据块之后,去除填充m0个纠错编码数据块中的填充比特,并去除b个校验编码数据块中完全由填充比特经过异或编码得到的比特数据。
图5是根据本发明实施例的数据传输处理方法中的前向纠错编码的流程图,如图5所示,该流程包括如下步骤:
步骤S500,对每个信息块添加循环冗余校验序列,序列长度为d比特,其中d是大于0的整数;
步骤S501,对第i个信息块填充长度为pad_i的哑元比特,使得所有信息块的长度都达到k比特;其中,pad_i是第i个信息块填充的比特长度,pad_i是大于等于0的整数,哑元比特是‘0’元素或者‘1’元素,i=0,1,2,…(m0-1),k是前向纠错编码需要输入信息比特数目,k是大于0的整数。
步骤S502,对m0个信息块进行LDPC编码或者Turbo编码或者卷积编码;
步骤S503,异或编码得到b个校验编码数据块,如果m0大于等于2,对m0个纠错编码数据块进行异或编码得到b个校验编码数据块,其中b个校验编码数据块中的第j个校验编码数据块的编码方式为
Figure PCTCN2016079312-appb-000004
总的编码数据块数为m1=m0+b;其中,第j集合Sj是集合[0、1、2、…、(m0+j-1)]的一个子集,j=0、1、2、…、(b-1),求和公式是累积异或运算,i∈Sj是指i取值为集合Sj中的所有元素值,Ci是第i个编码数据块,当i=0、1、…、(m0-1)时,Ci是纠错编码数据块,当i=m0、m0+1、…、(m0+b-1)时,Ci是校验编码数据块,b是大于等于1的整数;
步骤S504,去除填充m0个纠错编码数据块中的填充比特,并去除b个校验编码数据块中完全由填充比特经过异或编码得到的比特数据,获得m1个编码数据块。
可选地,上述的长度为a1、a2、a3比特的预设序列和长度为a4、a5、a6的预设复序列是预先设定的、或者是随机的、或者是伪随机方法产生的。
其中,在长度为a1、a2、a3比特的预设序列和长度为a4、a5、a6的预设复序列是伪随机方法产生的情况下,还可以发送伪随机的初始状态信息至总编码数据块的接收端。
可选地,长度为a1、a2、a3比特的预设序列是预先设定的barker码二进制序列;长度为a4、a5、a6的预设复序列是预先设定的barker码序列。
可选地,a1、a2、a4、a5的取值为以下之一:4、5、7、11、13。并且,a1、a2、a4、a5的取值可以相等也可以不等。
在本实施例中还提供了一种数据传输处理装置,用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图6是根据本发明实施例的数据传输处理装置的结构示意图,如图6所示,该装置包括如下模块:复制模块62和处理模块64,
其中,复制模块62,耦合至处理模块64,设置成:将待扩频的编码数据块复制成多份;处理模块64,设置成:将复制得到的多份编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理;或者,
复制模块62,设置成:将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份;处理模块64,设置成:将复制得到的多份星座符号以编码数据块的星座符号为单位与预定复序列按元素相乘处理。
可选地,上述装置还包括:前向纠错编码模块,耦合至复制模块62,设置成:对信息块进行前向纠错编码,得到待扩频的编码数据块。
可选地,前向纠错编码模块,设置成:对m0个信息块进行前向纠错编码,得到m1个编码数据块,其中,m0、m1均为整数,m1≥m0≥1。
可选地,复制模块62,设置成:以编码数据块为单位,复制m1个编码数据块至h份,其中,h为整数,h≥2;
处理模块64,设置成:将复制得到的第i1个编码数据块的第j1份复制块的所有比特与长度为a1比特的预设序列中第j1比特进行逻辑运算处理,得到总编码数据块;其中,a1为整数,a1≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者
处理模块64,设置成:将复制得到的由m1×h个编码数据块构成的大编码数据块中第i2个编码数据块的所有比特与长度为a2比特的预设序列中第i2比特进行逻辑运算处理,得到由m1×h个编码数据块构成的总编码数据块;其中,a2为整数,a2≥h≥2;i2=0,1,2,…,m1×h-1;或者
处理模块64,设置成:将复制得到的由m1×h个编码数据块构成的大编码数据块中第i3比特与长度为a3比特的预设序列中第i3比特进行逻辑运算处理,得到比特长度为n的总编码数据块;其中,a3、n均为整数,a3≥n;i3=0,1,2,…,n-1。
可选地,复制模块62,设置成:对m1个编码数据块进行星座映射调制,得到星座符号,将星座映射调制得到的星座符号以编码数据块的星座符号为单位复制至h份;其中,h为整数,h≥2;
处理模块64,设置成:将复制得到的大星座符号数据块中第i1个编码 数据块的星座符号的第j1份星座符号复制块中的所有星座符号与长度为a4的预设复序列中第j1个元素相乘,得到总数据流;其中,a4为整数,a4≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者
处理模块64,设置成:将复制得到的大星座符号数据块中第i2个编码数据块的所有星座符号与长度为a5的预设复序列中第i2个元素相乘,得到总数据流;其中,a5为整数,a5≥h≥2;i2=0,1,2,…,m1×h-1;或者
处理模块64,设置成:将复制得到的大星座符号数据块中第i3个星座符号与长度为a6的预设复序列中第i3个元素相乘,得到长度为n的总数据流;其中,a6为整数,a6≥n;i3=0,1,2,…,n-1。
可选地,上述装置还包括:分割模块,耦合至前向纠错编码模块,设置成:对长度为L的源数据块进行划分,得到m0个信息块,其中,m0=ceil(L/k0);其中,m0个信息块中信息块的比特长度根据以下方式确定:
第0~m2-1个信息块的比特长度为k1=ceil(L/m0),第m2~m0-1个信息块的比特长度为k2=k1-1,其中,m02=mod(L,k2);或者
第0~m0-2个信息块的比特长度为k1=ceil(L/m0),第m0-1个信息块的比特长度为k2=L-k1×(m0-1);
其中,m0、m2、L、k0、k1、k2均为整数,m0≥2,m0≥m2≥L≥1,k≥k0>0,k1>0,k2>0,k为前向纠错编码需要输入信息比特数目,ceil(x)表示大于等于实数x的最小整数,mod(x1,x2)表示整数x1对整数x2的求余操作。
可选地,前向纠错编码模块包括:第一编码单元,设置成:对m0个信息块进行LDPC编码或者Turbo编码或者卷积编码,得到m0个纠错编码数据块.
可选地,前向纠错编码模块还可以包括:第二编码单元,设置成:在m0≥2的情况下,对m0个编码数据块进行异或编码,得到b个校验编码数据块,其中,b个校验编码数据块中的第j个校验编码数据块的编码方式为
Figure PCTCN2016079312-appb-000005
总的编码数据块数为m1=m0+b;其中,第j集合Sj是集合[0、1、2、…、m0+j-1]的一个子集,j=0、1、2、…、b-1,Σ表示累积异或运算;当i=0、1、…、m0-1时,Ci是纠错编码数据块,当i=m0、m0+1、…、 m0+b-1时,Ci是校验编码数据块,b为整数,b≥1。
可选地,在b=1的情况下,第0个集合S0=[0,1,2,…,(m0-1)]。
可选地,上述装置还包括:添加模块,耦合至前向纠错编码模块,设置成:对m0个信息块中的每个信息块添加长度为d比特的循环冗余校验序列,其中,d为整数,d>0。
可选地,上述装置还包括:填充模块,分别耦合至添加模块和前向纠错编码模块之间,设置成:填充长度为pad_i的哑元比特至添加循环冗余校验序列后的m0个信息块中第i个信息块,使得每个信息块的比特长度都达到k比特;其中,pad_i为整数,pad_i≥0,k>0,k为前向纠错编码需要输入信息比特数目,哑元比特是‘0’元素或者‘1’元素。
可选地,上述装置还包括:去除模块,耦合至前向纠错编码模块,设置成:去除填充在m0个纠错编码数据块中的填充比特,以及去除b个校验编码数据块中完全由填充比特经过异或编码得到的比特数据。
可选地,长度为a1、a2、a3比特的预设序列和长度为a4、a5、a6的预设复序列是预先设定的、或者是随机的、或者是伪随机方法产生的。
可选地,上述装置还可以包括:发送模块,耦合至处理模块64,设置成:在长度为a1、a2、a3比特的预设序列和长度为a4、a5、a6的预设复序列是伪随机装置产生的情况下,发送伪随机的初始状态信息至总编码数据块的接收端。
可选地,长度为a1、a2、a3比特的预设序列是预先设定的barker码二进制序列;长度为a4、a5、a6的预设复序列是预先设定的barker码序列。
可选地,a1、a2、a4、a5的取值为以下之一:4、5、7、11、13。并且,a1、a2、a4、a5的取值可以相等也可以不等。
可选地,以上的序列可以是,如M序列、巴克(barker)码序列、gold序列、卡萨米(kasami)序列、格雷序列、威尔士(walsh)码序列,以及其他伪噪声(Pseudo-Noise Code,简称为PN)序列。
图7是根据本发明实施例的数据传输处理装置的可选结构框图,如图7所示,该装置包括:
分割模块700,配置为对长度为L的源数据包进行划分得到m0个信息块;
前向纠错编码模块701,配置为对m0个信息块进行前向纠错编码,获得m1个编码数据块;
复制处理模块702(设置成:执行上述复制模块62和处理模块64的功能),配置为对m1个编码数据块中第i1个编码数据块复制h份,且对h份数据块的第j1份中所有比特与长度为a1比特的序列中第j1比特进行异或,i1=0、1、2、…、m1-1,j1=0、1、2、…、h-1,得到总编码数据块,a1是大于等于h的整数;
或者,对所有m1个编码数据块复制h份,得到由m1×h个编码数据块构成的大编码数据块,然后将该大编码数据块中第i2个编码数据块的所有比特与长度为a2比特的序列中第i2比特进行异或,i2=0,1,2,…,m1×h-1,得到需要的总编码数据块,a2是大于等于m1×h的整数;
或者,对所有m1个编码数据块复制h份,得到由m1×h个编码数据块构成的大编码数据块,然后将该大编码数据块第i3比特与长度为a3比特的序列中第i3比特进行异或,得到需要的总编码数据块,i3=0,1,2,…,n-1,n为大编码数据块的比特长度,a3是大于等于n的整数;
或者,将复制得到的大星座符号数据块中第i1个编码数据块的星座符号的第j1份星座符号中所有星座符号与长度为a4的预设复序列中第j1个元素相乘,得到总数据流;其中,a4为整数,a4≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者
将复制得到的大星座符号数据块中第i2个编码数据块的所有星座符号与长度为a5的预设复序列中第i2个元素相乘,得到总数据流;其中,a5为整数,a5≥h≥2;i2=0,1,2,…,m1×h-1;或者
将复制得到的大星座符号数据块中第i3个星座符号与长度为a6的预设复序列中第i3个元素相乘,得到总数据流;其中,a6为整数,a6≥m1×h;i3=0,1,2,…,m1×h-1;
其中,L是大于0的整数,m0是大于等于1的整数,h是大于1的整数,m1是大于等于m0的整数。
图8是根据本发明实施例的数据传输处理装置中的前向纠错编码模块的可选结构框图,如图8所示,该前向纠错编码模块包括如下单元:
添加单元800,对每个信息块添加循环冗余校验序列,序列长度为d比特,其中d是大于0的整数;
填充单元801,对第i个信息块填充长度为pad_i的哑元比特,使得所有信息块的长度都达到k比特;其中,pad_i是第i个信息块填充的比特长度,pad_i是大于等于0的整数,哑元比特是‘0’元素或者‘1’元素,i=0,1,2,…(m0-1),k是前向纠错编码需要输入信息比特数目,k是大于0的整数。
第一编码单元802,对m0个信息块进行LDPC编码或者Turbo编码或者卷积编码;
第二编码单元803,异或编码得到b个校验编码数据块,如果m0大于等于2,对m0个纠错编码数据块进行异或编码得到b个校验编码数据块,其中b个校验编码数据块中的第j个校验编码数据块的编码方式为
Figure PCTCN2016079312-appb-000006
总的编码数据块数为m1=m0+b;其中,第j集合Sj是集合[0、1、2、…、(m0+j-1)]的一个子集,j=0、1、2、…、(b-1),求和公式是累积异或运算,i∈Sj是指i取值为集合Sj中的所有元素值,Ci是第i个编码数据块,当i=0、1、…、(m0-1)时,Ci是纠错编码数据块,当i=m0、m0+1、…、(m0+b-1)时,Ci是校验编码数据块,b是大于等于1的整数;
去除单元804,去除填充m0个纠错编码数据块中的填充比特,并去除b个校验编码数据块中完全由填充比特经过异或编码得到的比特数据,获得m1个编码数据块。
为了使本发明实施例的描述更加清楚,下面结合可选实施例进行描述和说明。
实施例1
用于IEEE802.11aj(45GHz)通信系统的控制物理层(control PHY)的编码方案设计,IEEE802.11aj(45GHz)主要工作于45GHz附近的频段。由接入点(Access Point,简称为AP)传输数据到站点(station,简称为STA)或者由STA传输数据到接入点,需要对物理层数据进行编码处理,以提高数 据传输的可靠性。其中可以使用的终端可以包括:手机、平板电脑、阅读机、电子表等手持设备,也可以是其他需要接入如互联网的电子设备。
在本实施例中,需要编码传输一个数据头(header,相当于上述源数据块),长度为40比特。所用的纠错编码方式为LDPC编码,码率为1/2,码长为672比特,扩展因子为42,所以LDPC编码需要的信息比特为336比特,校验比特为336比特。对该数据头的编码处理方法,包括:
对该40比特的源数据块进行划分得到m0=1个信息块,由于源数据块比较少,所以只构成1个信息块,长度只有40比特;
对该1个信息块进行前向纠错编码,包括,在该信息块的首部填充2比特,将信息块长度扩展到42比特,长度正好等于LDPC码的扩展因子(扩展因子等于42,目的在于以扩展因子为基数进行重复,LDPC码译码性能更优),表示为([0,0],b0,b1,…,b39),然后对填充后的信息块重复1次,获得重复后数据块,表示为B'=([0,0],b0,b1,…,b39,[0,0],b0,b1,…,b39)。对重复后数据块进行再填充252比特,扩展到336比特,再进行1/2码率LDPC编码获得编码码字C=([0,…,0]1×252,B',[p0,…,p335]),满足LDPC编码要求H×CT=0,其中,[p0,…,p335]是LDPC编码得到的校验比特。合并数据头header(源数据块)的所有比特和LDPC编码的所有校验比特得到m1=1个编码数据块(b0,b1,…,b39,p0,p1,…,p335),长度为376比特;
对该m1=1个编码数据块复制h份,且第j份的所有比特与长度为32比特的序列S中的第j比特进行异或,j=0,1,2,…,(h-1)。从而得到扩频后的发送数据块,长度为376×h比特。其中序列S是由32位的格雷序列S’=[-1-1-1-1-1+1-1+1+1+1-1-1-1+1+1-1+1+1-1-1+1-1-1+1-1-1-1-1+1-1+1-1]经过计算变换得到的,计算方式为S=0.5×S’+0.5,即序列S=[0 0 0 0 0 10 1 1 1 0 0 0 1 1 0 1 1 0 0 1 0 0 1 0 0 0 0 1 0 1 0],h=16或者12。这样可以使得复制的h份数据块的整体频谱是随机均匀分布,有利于源数据包传输的整体性能,而且操作简单;
将长度为376×h比特的发送数据块进行调制成复数星座符号,其中星座调制采用差分二进制相移键控(Differential Binary Phase Shift Keying,简称为DBPSK),调制过程如下:
发送数据块输出序列表示为[c0,c1,c2,c3,c4,…],首先变换成非差分二进制相移键控(BPSK)数据流为sk=2ck-1,然后差分DBPSK数据流为dk=sk×d(k-1),其中,初始化d-1=1;最后,得到发送的数据流波形:rk=dk×exp(jπk/2),k=0,1,2,3,4,5…。发送数据流波形。
实施例2
用于IEEE802.11aj(45G)通信系统的控制物理层(control PHY)的编码方案设计,IEEE802.11aj(45G)主要工作于45GHz附近的频段。由接入点传输数据到站点或者由站点传输数据到接入点,需要对物理层数据进行编码处理,以提高数据传输的可靠性。其中可以使用的终端可以包括:手机、平板电脑、阅读机、电子表等手持设备,也可以是其他需要接入如互联网的电子设备。
在本实施例中,需要传输数据域(data,相当于上述源数据块)大小为L=4096比特(512字节)。所用的纠错编码方式为LDPC编码,码率为1/2,码长为672比特,扩展因子为42,所以LDPC编码需要的信息比特为336比特,校验比特为336比特。对该数据域data(源数据块)的编码处理方法,包括:
LDPC码块的有效信息长度最长为k0=328比特,数据域data需要的LDPC码块数为m0=ceil(L/k0)=13;在m0=13个LDPC码块中,第0~(m2-1)个信息块的比特长度为k1=ceil(L/m0)=316,第m2~(m0-1)个信息块的比特长度为k2=k1-1=315,其中,m2=mod(L,k2)=1(即第0个信息块的比特长度为316,第1~12个信息块的比特长度为315);其中,ceil(x)表示大于等于实数x的最小整数,mod(x1,x2)表示整数x1对整数x2的求余操作。
按照以上计算得到的每个信息块的长度,对数据域data进行划分得到13信息块,对每个信息块添加d=8比特的循环冗余校验码序列,然后第0个信息块填充12比特的‘0’元素,第1~12个信息块填充13比特的‘0’元素,长度都达到336比特,第e个信息块可以表示为
Figure PCTCN2016079312-appb-000007
其中,Be是划分得到的第e个信息块,e=0,1,2,…,12;进行码率为1/2的LDPC编码,获得LDPC码字Ce=(B'e,[p0,…,p335]),满足LDPC编码要求
Figure PCTCN2016079312-appb-000008
共有m0=13个LDPC码块(大于等于2),对m0=13个纠错编码数据块 进行异或编码得到b=1个校验编码数据块,第0个校验编码数据块的编码方式为
Figure PCTCN2016079312-appb-000009
总的编码数据块数为m1=m0+b=14;其中,集合S0等于集合[0,1,2,…,(m0-1)],求和公式是累积异或运算,i∈S0是指i取值为集合S0中所有元素值,Ci是第i个编码数据块,当i=0、1、…、12时,Ci是纠错编码数据块,当i=13时,Ci是校验编码数据块;去除所有LDPC编码块中的填充比特(第0个LDPC码块填充比特数为12比特,第1~12个LDPC码块填充比特数为13比特),去除校验编码数据块中的完全填充生成比特(由于填充比特是在数据块的首部,所以该完全填充比特是最前面的12比特),完全填充生成比特是指:全是由填充比特经过累积异或编码得到的比特数据;通过以上前向纠错编码,可以得到m1=14个编码数据块(包括13个LDPC码块和1个校验编码数据块);异或编码可以将所有的LDPC编码转变成为一个更大的编码块,从而可以提高源数据包的整体传输性能;
对m1=14个编码数据块中的第i个编码数据块复制h份,且h份数据块中第j份的所有比特与长度为32比特的序列S中的第j比特进行异或,i=0,1,2,…,13,j=0,1,2,…,(h-1),h=29,从而得到需要的发送数据块。其中的序列S是由32位的格雷序列S’=[-1-1-1-1-1+1-1+1+1+1-1-1-1+1+1-1+1+1-1-1+1-1-1+1-1-1-1-1+1-1+1-1]经过计算变换得到的,计算方式为S=0.5×S’+0.5,即序列S=[0 0 0 0 0 1 0 1 1 1 0 0 0 1 1 0 1 1 0 0 1 0 0 1 0 0 0 01 0 1 0];序列S是预先设定的,收发两端都是已知的。这样可以使得复制的h份数据块的整体频谱是随机均匀分布,有利于源数据包传输的整体性能;同时,由于在传输过程中是按纠错编码块为单位进行重复传输的,所以接收端可以在完全接收当前纠错编码的复制块之前启动纠错码译码(无需等到所有复制块全收完),从而可以提高系统接收速度。
将以上需要发送的数据块进行调制成复数星座符号,其中星座调制采用DBPSK,,调制过程如下:发送数据块输出序列表示为[c0,c1,c2,c3,c4,…],首先变换成非差分BPSK数据流为sk=2ck-1,然后差分DBPSK数据流为dk=sk×d(k-1),其中,初始化d-1=1;最后,得到发送的数据流波形:rk=dk×exp(jπk/2),k=0,1,2,3,4,5…。发送数据流波形。
其中,以上的LDPC编码的基础矩阵如表1所示(扩展因子为42):发 送数据头总编码数据块。
表1
-1 0 -1 0 -1 0 -1 0 0 -1 -1 -1 -1 -1 -1 -1
0 -1 -1 34 -1 12 -1 36 18 0 -1 -1 -1 -1 -1 -1
8 -1 0 -1 0 -1 0 -1 -1 13 0 -1 -1 -1 -1 -1
-1 16 40 -1 32 -1 22 -1 -1 -1 19 0 -1 -1 -1 -1
-1 20 -1 22 -1 2 -1 28 32 -1 -1 21 0 -1 -1 -1
30 -1 18 -1 -1 14 -1 30 -1 37 -1 -1 31 0 -1 -1
40 -1 12 -1 38 -1 6 -1 -1 -1 26 -1 -1 13 0 -1
-1 24 -1 20 10 -1 2 -1 -1 -1 -1 18 -1 -1 5 0
实施例3
在本实施例中,需要传输的源数据包大小为L=3280比特(410字节)。所用的纠错编码方式为LDPC编码,码率为1/2,码长为672比特,扩展因子为42,所以LDPC编码需要的信息比特为336比特,校验比特为336比特,循环冗余校验码序列长度为8比特。对该源数据包的编码处理方法,包括:
LDPC码块的有效信息长度最长为k0=328比特,数据域(data)需要的LDPC码块数为m0=ceil(L/k0)=10;在m0=10个LDPC码块中,第0~9个信息块的比特长度为k1=ceil(L/m0)=328,没有比特长度为k2=k1-1=327的信息块,因为m2=mod(L,k2)=10;其中,ceil(x)表示大于等于实数x的最小整数,mod(x1,x2)表示整数x1对整数x2的求余操作;
按以上计算出的信息块长度,对数据域(data)进行划分得到10信息块,对每个信息块添加d=8比特的循环冗余校验码序列,由于此时所有信息块的长度都达到336比特了,所以不需要填充比特了,第e个信息数据块可以表示为
Figure PCTCN2016079312-appb-000010
其中,Be是信息分块后的第e个信息块,e=0,1,2,...,9;进行码率为1/2的LDPC编码,获得LDPC码字Ce=(B′e,[p0,…,p335]),满足LDPC编码要求
Figure PCTCN2016079312-appb-000011
共有m0=10个LDPC码块(大于等于2),对m0=10个纠错编码数据块进行异或编码得到b=1个校验编码数据块,第0个校验编码数据块的编码方式为
Figure PCTCN2016079312-appb-000012
总的编码数据块数为m1=m0+b=11;其中,集合S0等于集合[0,1,2,...,(m0-1)],求和公式是累积异或运算,i∈S0是指i为集合S0中所有 元素值,Ci是第i个编码数据块,当i=0、1、…、9时,Ci是纠错编码数据块,当i=10时,Ci是校验编码数据块;由于没有填充比特,所以不需要去除所有LDPC编码块中的填充比特以及校验编码数据块中的完全填充生成比特,完全填充生成比特是指:全是由填充比特经过累积异或编码得到的比特数据。从而得到m1=11个编码数据块(包括10个LDPC码块和1个校验编码数据块);异或编码可以将所有的LDPC编码转变成为一个更大的编码块;通过以上前向纠错编码,可以可以提高源数据包的整体传输性能;
对m1=11个编码数据块中的第i个编码数据块复制h份,且的h份数据块中第j份的所有比特与序列S中的第j比特进行异或,i=0,1,2,…,10,j=0,1,2,…,(h-1),h=29,从而得到需要的发送数据块。其中的序列S是由一个本原多项式为D(x)=x7+x4+1产生的伪随机序列,结构如图9所示,寄存器的初始化为全1,收发端是预先设定的,不需要发送端发送该初始状态信息给接收端;或者寄存器初始值是随机的,并由发送端发送给接收端,如寄存器状态为“1011011”,则发送端需要将“1011011”发送给接收端。这样可以使得复制的h份数据块的整体频谱是随机均匀分布,有利于源数据块传输的整体性能;同时,由于在传输过程中是按纠错编码块为单位进行重复传输的,所以接收端可以在完全接收当前纠错编码的复制块之前启动纠错码译码(无需等到所有复制块全收完),从而可以提高系统接收速度。
将以上需要发送的数据块进行调制成复数星座符号,其中星座调制采用差分二进制相移键控,调制过程如下:发送数据块输出序列表示为[c0,c1,c2,c3,c4,…],首先变换成非差分BPSK数据流为sk=2ck-1,然后差分DBPSK数据流为dk=sk×d(k-1),其中,初始化d-1=1;最后,得到发送的数据流波形:rk=dk×exp(jπk/2),k=0,1,2,3,4,5…。发送数据流波形。
实施例4
实施例4与实施例3的不同在于:对所有11个编码数据块分别复制h份后,得到由11×h个编码数据块构成的大编码数据块,然后将该大编码数据块第j比特与随机序列S中的第j比特进行异或,从而得到需要的发送数据块,j=0,1,2,…,n-1,h=29,n为大编码数据块的长度,n=672×11×29=214368;或者,对所有11个编码数据块分别复制h份后,得到由11×h个编码数据块 构成的大编码数据块,然后将该大编码数据块中第i个编码数据块的所有比特与随机序列S中的第i比特进行异或,从而得到需要的发送数据块,i=0,1,2,…,(11×h-1),h=29,如图10所示;
其中的序列S是由一个本原多项式为D(x)=x7+x4+1生成的伪随机序列,结构如图9所示,寄存器的初始化为全1,收发端是预先设定的,不需要发送端发送该初始状态信息给接收端;或者寄存器初始值是随机的,并由发送端发送给接收端,如寄存器初始值为“1101001”,则发送端需要将寄存器初始值信息“1101001”发送给接收端。这样可以使得复制的h份数据块的整体频谱是随机均匀分布,有利于源数据包传输的整体性能;同时,由于在传输过程中是按纠错编码块为单位进行重复传输的,所以接收端可以在完全接收当前纠错编码的复制块之前启动纠错码译码(无需等到所有复制块全收完),从而可以提高系统接收速度。
将以上需要发送的数据块进行调制成复数星座符号,其中星座调制采用差分二进制相移键控,调制过程如下:发送数据块输出序列表示为[c0,c1,c2,c3,c4,…],首先变换成非差分BPSK数据流为sk=2ck-1,然后差分DBPSK数据流为dk=sk×d(k-1),其中,初始化d-1=1;最后,得到发送的数据流波形:rk=dk×exp(jπk/2),k=0,1,2,3,4,5…。发送数据流波形。
实施例5
实施例5与实施例3的不同在于:对所有11个编码数据块分别复制h份后,得到大编码数据块,h=29。
将以上大编码数据块进行调制成复数星座符号,其中星座调制采用差分二进制相移键控,调制过程如下:发送数据块输出序列表示为[c0,c1,c2,c3,c4,…],首先变换成非差分BPSK数据流为sk=2ck-1,然后差分DBPSK数据流为dk=sk×d(k-1),其中,初始化d-1=1;最后,将所有的DBPSK数据流星座符号的第k星座符号乘以随机序列S中的第k元素,得到发送的数据流波形:rk=dk×Sk,k=0,1,2,3,4,5…,g,其中Sk是随机序列S的第k比特,随机序列S是复数随机序列Sk=exp((2Rk-1)×jπk/2),式中的j是虚数单位,R是一个伪随机序列(由本原多项式为D(x)=x7+x4+1生成的随机序列,结构如图9所示, 寄存器的初始化为全1),g是所有所有DBPSK数据流星座符号的数目,g=7392。这样可以使得复制的h份数据块的整体频谱是随机均匀分布,有利于源数据包传输的整体性能;同时,由于在传输过程中是按纠错编码块为单位进行重复传输的,所以接收端可以在完全接收当前纠错编码的复制块之前启动纠错码译码(无需等到所有复制块全收完),从而可以提高系统接收速度。
其中的伪随机序列R是本原多项式为D(x)=x7+x4+1经过计算变换得到的序列,结构如图9所示,寄存器的初始化为全1,收发端是预先设定的,不需要发送端发送该初始状态信息给接收端;或者寄存器初始值是随机的,并由发送端发送给接收端,如寄存器初始值为“1001001”,则发送端需要将寄存器初始值信息“1001001”发送给接收端。
实施例6
在数字通信系统中,需要传输的源数据包大小为L=5328比特(666字节)。所用的纠错编码方式为LDPC编码,码率为1/2,码长为672比特,扩展因子为42,所以LDPC编码需要的信息比特为336比特,校验比特为336比特。对该源数据包的数据编码处理方法,包括:
LDPC码块的有效信息长度最长为k0=328比特,需要的LDPC码块数为m0=ceil(L/k0)=17;在m0=17个LDPC码块中,第0~15个信息块的比特长度为k1=ceil(L/m0)=314,第16个信息块的比特长度为k2=L-k1×(m0-1)=304(与以上实施例1~5不同在于信息分块得到的各个信息块长度不同);其中,ceil(x)表示大于等于实数x的最小整数。
按以上计算得到的信息块长度,对源数据包进行信息分块得到m0=17个信息块,对每个信息块添加d=8比特的循环冗余校验码序列;然后第0~15个信息块填充14比特的‘0’元素,第16个信息块填充24比特的‘0’元素,所有信息块的长度都达到336比特,第e个信息块可以表示为
Figure PCTCN2016079312-appb-000013
其中,Be是信息分块得到的第e个信息块,e=0,1,2,…,16;进行码率为1/2的LDPC编码,获得LDPC码字Ce=(B'e,[p0,…,p335]),满足LDPC编码要求
Figure PCTCN2016079312-appb-000014
共有m0=17个LDPC码块(大于等于2),对m0=17个纠错编码数据块 进行异或编码得到b=2个校验编码数据块,第0个校验编码数据块的编码方式为
Figure PCTCN2016079312-appb-000015
第1个校验编码数据块的编码方式为
Figure PCTCN2016079312-appb-000016
总的编码数据块数为m1=m0+b=19;其中,集合S0等于集合[0,1,2,…,16],集合S1等于集合[0,2,4,…,16],即集合S1是集合[0,1,2,…,17]中的偶数元素构成的集合,求和公式是累积异或运算,i∈Sj是指i为集合Sj中所有元素值,Ci是第i个编码数据块,当i=0、1、…、16时,Ci是LDPC纠错编码数据块,当i=17、18时,Ci是校验编码数据块;去除所有LDPC编码块中的填充比特(第0~15个LDPC码块填充比特数为14比特,第16个LDPC码块填充比特数为24比特),分别去2个除校验编码数据块中的完全填充生成比特(由于填充比特是在数据块的首部,所以该完全填充比特是最前面的14比特),完全填充生成比特是指:全是由填充比特经过累积异或编码得到的比特数据;通过以上前向纠错编码,可以得到m1=19个编码数据块(包括17个LDPC码块和2个校验编码数据块);异或编码可以将所有的LDPC编码转变成为一个更大的编码块,从而可以提高源数据包的整体传输性能;
对m1=19个编码数据块中的第i个编码数据块复制h份,且h份数据块中第j份的所有比特与随机序列S中的第j比特进行异或,i=0,1,2,…,18,j=0,1,2,…,(h-1),h=28,从而得到需要的发送数据块。其中的随机序列S是由32位的格雷序列S’=[-1-1-1-1-1+1-1+1+1+1-1-1-1+1+1-1+1+1-1-1+1-1-1+1-1-1-1-1+1-1+1-1]经过计算变换得到的,计算方式为S=0.5×S’+0.5,即随机序列S=[0 0 0 0 0 1 0 1 1 1 0 0 0 1 1 0 1 1 0 0 1 0 0 1 0 0 00 1 0 1 0];这样可以使得复制的h份数据块的整体频谱是随机均匀分布,有利于源数据包传输的整体性能;同时,由于在传输过程中是按纠错编码块为单位进行重复传输的,所以接收端可以在完全接收当前纠错编码的复制块之前启动纠错码译码(无需等到所有复制块全收完),从而可以提高系统接收速度。
将以上需要发送的数据块进行调制成复数星座符号,其中星座调制采用差分二进制相移键控,调制过程如下:发送数据块输出序列表示为[c0,c1,c2,c3,c4,…],首先变换成非差分BPSK数据流为sk=2ck-1,然后差分DBPSK数据流为dk=sk×d(k-1),其中,初始化d-1=1;最后,得到发送的数据流波形:rk=dk×exp(jπk/2),k=0,1,2,3,4,5…。发送数据流波形。
其中,以上的LDPC编码的基础矩阵与实施例1是一样的。
实施例7
在本实施例中,需要传输的源数据块大小为L=8192比特(1024字节)。所用的纠错编码方式为LDPC编码,码率为1/2,码长为2048比特,扩展因子为128,所以LDPC编码需要的信息比特为1024比特,校验比特为1024比特。对该源数据块的数据编码处理方法,包括:
LDPC码块的有效信息长度最长为k0=1024比特,需要的LDPC码块数为m0=ceil(L/k0)=8;在m0=8个LDPC码块中,第0~7个信息块的比特长度为k1=ceil(L/m0)=1024,没有比特长度为k2=k1-1=1023的信息块;
按以上计算得到的信息块长度,对源数据包进行信息分块得到m0=8个信息块,由于信息块长度已经达到1024比特,所以不需要进行填充比特;然后进行码率为1/2的LDPC编码,获得LDPC码字Ce=(Be,[p0,…,p1023]),满足LDPC编码要求
Figure PCTCN2016079312-appb-000017
其中,e=0、1、2、…、7,H是LDPC编码的校验矩阵,Be是第e个信息块;通过以上编码获得m1=m0=8个LDPC编码数据块;
对m1=8个LDPC编码数据块中第i1个LDPC编码数据块复制h份,i1=0、1、2、…、7,且对h份数据块的第j1份中所有比特与长度为a1比特的序列S中第j1比特进行异或,j1=0、1、2、…、(h-1),得到要的总编码数据块,a1是大于等于h的整数,其中,h=16或者32或者24;
或者,对所有m1=8个LDPC编码数据块按块依次分别复制h份,得到由8×h个LDPC编码数据块构成的大编码数据块,然后将该大编码数据块中第i2个编码数据块的所有比特与长度为a2比特的序列S中的第i2比特进行异或,i2=0,1,2,…,(8×h-1),得到需要的总编码数据块,a2是大于等于8×h的整数,其中,h=16或者32或者24;
或者,对所有m1=8个LDPC编码数据块按块依次分别复制h份,得到由8×h个LDPC编码数据块构成的大编码数据块,然后将该大编码数据块第i3比特与长度为a3比特的序列S中的第i3比特进行异或,得到需要的总编码数据块,i3=0,1,2,…,n-1,n为大编码数据块的比特长度,a3是大于等于n 的整数,其中,h=16,n=2048×8×16=262144;
或者,对所有m1=8个LDPC编码数据块按块依次分别复制h份,得到由8×h个LDPC编码数据块构成的大编码数据块,然后将该大编码数据块进行星座映射调制获得g个星座符号,g个星座符号的第i4星座符号乘以复序列R中的第i4元素获得需要的数据流波形,i4=0,1,2,…,g-1,复序列R的长度为a4,a4是大于等于g的整数,其中,h=16,复数随机序列为Rk=exp((2Sk-1)×jπk/2),k=0,1,2,…(a4-1),式中的j是虚数单位,S是长度为a4比特的序列;
以上的序列S是由本原多项式为D(x)=x7+x4+1生成的伪随机序列,结构如图9所示,寄存器的初始化为全1。通过以上操作处理,可以使得复制的h份数据块的整体频谱是随机均匀分布,有利于源数据包传输的整体性能;同时,由于在传输过程中是按纠错编码块为单位进行重复传输的,所以接收端可以在完全接收当前纠错编码的复制块之前启动纠错码译码(无需等到所有复制块全收完),从而可以提高系统接收速度。以上的序列S不限于以上的序列,以及复序列R不限于以上产生方法。
实施例8
用于IEEE802.11aj(45GHz)通信系统的控制物理层(control PHY)的编码方案设计,IEEE802.11aj(45GHz)主要工作于45GHz附近的频段。由接入点(Access Point,简称为AP)传输数据到站点(station,简称为STA)或者由STA传输数据到接入点AP,需要对物理层数据进行编码处理,以提高数据传输的可靠性。其中可以使用的终端可以包括:手机、平板电脑、阅读机、电子表等手持设备,也可以是其他需要接入如互联网的电子设备。
在本实施例中,需要对传输数据头(header)和数据域(data)进行处理,数据头(header)长度为56比特,数据域(data)长度是可变的。数据头(header)至少包含以下参数之一:数据头(header)的长度和编码调制方式、数据头(header)的循环冗余校验码。所用的纠错编码方式为LDPC编码,码率为1/2,码长为672比特,扩展因子为42,所以LDPC编码需要的信息比特为336比特,校验比特为336比特。对所述数据头(header)和数据域(data)的处理方法,包括:
对该56比特的数据头(header)先进行第1次填充28哑元比特(首部填充‘0’元素)获得84比特的数据块,包含2个长度都为42比特的连续子数据块,子数据块的长度正好等于LDPC码的扩展因子(扩展因子等于42,目的在于以扩展因子为基数进行重复,LDPC码译码性能更优),然后对填充后的信息块分别重复1次,表示为B'=([0]1×28,b0,…,b13,[0]1×28,b0,…,b13,b14,…,b55,b14,…,b55)。对重复后数据块进行第2次填充168比特(首部填充‘0’元素),扩展到336比特,再进行1/2码率LDPC编码获得编码码字C=([0,…,0]1×168,B',[p0,…,p335]),满足LDPC编码要求H×CT=0,其中,[p0,…,p335]是LDPC编码得到的校验比特。合并数据头(header)的所有比特和LDPC编码的所有校验比特得到m1=1个编码数据块(b0,b1,…,b55,p0,p1,…,p335),长度为392比特;
实施例中,需要传输数据域(data)大小为L=4096比特(512字节),循环冗余校验比特数为8比特。
LDPC码块的有效信息长度最长为k0=328比特,数据域data需要的LDPC码块数为m0=ceil(L/k0)=13;在m0=13个LDPC码块中,第0~(m2-1)个信息块的比特长度为k1=ceil(L/m0)=316,第m2~(m0-1)个信息块的比特长度为k2=k1-1=315,其中,m2=mod(L,k2)=1(即第0个信息块的比特长度为316,第1~12个信息块的比特长度为315);其中,ceil(x)表示大于等于实数x的最小整数,mod(x1,x2)表示整数x1对整数x2的求余操作。
按照以上计算得到的每个信息块的长度,对数据域data进行划分得到13信息块,对每个信息块添加d=8比特的循环冗余校验码序列,然后第0个信息块填充12比特的‘0’元素,第1~12个信息块填充13比特的‘0’元素,长度都达到336比特,第e个信息块可以表示为
Figure PCTCN2016079312-appb-000018
其中,Be是划分得到的第e个信息块,e=0,1,2,…,12;进行码率为1/2的LDPC编码,获得LDPC码字Ce=(B'e,[p0,…,p335]),满足LDPC编码要求
Figure PCTCN2016079312-appb-000019
共有m0=13个LDPC码块(大于等于2),对m0=13个纠错编码数据块进行异或编码得到b=1个校验编码数据块,第0个校验编码数据块的编码方式为
Figure PCTCN2016079312-appb-000020
总的编码数据块数为m1=m0+b=14;其中,集合S0等于 集合[0,1,2,…,(m0-1)],求和公式是累积异或运算,i∈S0是指i取值为集合S0中所有元素值,Ci是第i个编码数据块,当i=0、1、…、12时,Ci是纠错编码数据块,当i=13时,Ci是校验编码数据块;去除所有LDPC编码块中的填充比特(第0个LDPC码块填充比特数为12比特,第1~12个LDPC码块填充比特数为13比特),去除校验编码数据块中的完全填充生成比特(由于填充比特是在数据块的首部,所以该完全填充比特是最前面的12比特),完全填充生成比特是指:全是由填充比特经过累积异或编码得到的比特数据。异或编码可以将所有的LDPC编码转变成为一个更大的编码块,从而可以提高源数据包的整体传输性能;
通过以上对数据头(header)和数据域(data)进行处理,得到总共m1=15个编码数据块(包括1个数据头(header)的编码块,13个LDPC编码数据块,1个异或编码块(该编码块属于LDPC码字空间))。
以编码数据块为单位,复制m1=15个编码数据块至h份,其中,h为整数,h≥2,m1≥1;将复制得到的第i1个编码数据块的第j1份复制块的所有比特与长度为a1比特的预设序列中第j1比特进行逻辑运算处理,得到总编码数据块;其中,a1为整数,a1≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者
以编码数据块为单位,复制m1=15个编码数据块至h=13份,将复制得到的第i1个编码数据块的第j1份复制块的所有比特与长度为a1=13比特的预设序列中第j1比特进行异或运算处理,i1=0,1,2,…,14,j1=0,1,2,…,12,从而得到需要的发送数据块。其中的预设序列S是由13位的barker序列S’=[+1+1+1+1+1-1-1+1+1-1+1-1+1]经过计算变换得到的,计算方式为S=0.5×S’+0.5,即序列S=[1 1 1 1 1 0 0 1 1 0 1 0 1];序列S是预先设定的,收发两端都是已知的。将以上需要发送的数据块进行调制成复数星座符号,其中星座调制采用DBPSK,调制过程如下:发送数据块输出序列表示为[c0,c1,c2,c3,c4,…],首先变换成非差分BPSK数据流为sk=2ck-1,然后差分DBPSK数据流为dk=sk×d(k-1),其中,初始化d-1=1。或者,
对m1=15个编码数据块进行DBPSK星座映射调制,得到星座符号;将星座映射调制得到的星座符号以编码数据块的星座符号为单位复制至h=13份;将复制得到的大星座符号数据块中第i1个编码数据块的星座符号的第j1份星座符号复制块中的所有星座符号与长度为a4=13的预设复序列中第j1个 元素相乘,得到总数据流为dk,k=0,1,2,3,4,5…;其中,i1=0,1,2,...,14;j1=0,1,2,...,12,其中的预设序列S是13位的barker序列S=[+1+1+1+1+1-1-1+1+1-1+1-1+1];
这样可以使得复制的h份数据块的整体频谱是随机均匀分布,有利于源数据包传输的整体性能;同时,由于在传输过程中是按纠错编码块为单位进行重复传输的,所以接收端可以在完全接收当前纠错编码的复制块之前启动纠错码译码(无需等到所有复制块全收完),从而可以提高系统接收速度。
最后,得到发送的数据流波形:rk=dk×exp(jπk/2),k=0,1,2,3,4,5…。发送数据流波形。
其中,以上的LDPC编码的基础矩阵如下表2所示(扩展因子为42)。
表2
-1 0 -1 0 -1 0 -1 0 0 -1 -1 -1 -1 -1 -1 -1
0 -1 -1 34 -1 12 -1 36 18 0 -1 -1 -1 -1 -1 -1
8 -1 0 -1 0 -1 0 -1 -1 13 0 -1 -1 -1 -1 -1
-1 16 40 -1 32 -1 22 -1 -1 -1 19 0 -1 -1 -1 -1
-1 20 -1 22 -1 2 -1 28 32 -1 -1 21 0 -1 -1 -1
30 -1 18 -1 -1 14 -1 30 -1 37 -1 -1 31 0 -1 -1
40 -1 12 -1 38 -1 6 -1 -1 -1 26 -1 -1 13 0 -1
-1 24 -1 20 10 -1 2 -1 -1 -1 -1 18 -1 -1 5 0
实施例9
用于IEEE802.11aj(45GHz)通信系统的控制物理层(control PHY)的编码方案设计,IEEE802.11aj(45GHz)主要工作于45GHz附近的频段。由接入点(Access Point,简称为AP)传输数据到站点(station,简称为STA)或者由STA传输数据到接入点AP,需要对物理层数据进行编码处理,以提高数据传输的可靠性。其中可以使用的终端可以包括:手机、平板电脑、阅读机、电子表等手持设备,也可以是其他需要接入如互联网的电子设备。
CPHY包括2部分:数据头(header)和数据域(data)。数据头(header)部分的长度为56比特,数据域(data)部分长度可变。这2部分独立进行编码,都采用1/2码率的LDPC编码方式。
1、数据头(header)编码:
k=56比特的header表示为x=[x0,x1,…,x55],对x进行LDPC编码。编码步骤如下:
(1)计算336比特的序列a=[a0,a1,…,a335],a定义如下:
ai=xi-196   i=196,197,…,209
ai=xi-238   i=238,239,…,293
ai=xi-280   i=294,295,…,335
ai=0       otherwise
(2)采用码率为1/2的LDPC码基础矩阵,并将该基础矩阵的hb26=-1,对序列a进行LDPC编码,获得长度为336比特的校验序列b=[b0,b1,…,b335]。
(3)得到392比特的数据头(header)编码码字c'=[x,b]。
或者采用以下步骤进行编码:
(1)、在56比特的数据头(header)的首部填充28比特,将信息块长度扩展到84比特,包含2个长度都为42比特的连续子数据块,对2个连续子数据块分别重复1次,表示为a'=([0]1×28,x0,…,x13,[0]1×28,x0,…,x13,x14,…,x55,x14,…,x55),对重复后数据块进行首部再填充168比特,扩展到336比特。
(2)、采用码率为1/2的LDPC码基础矩阵,将基础矩阵中的hb26=-1,进行LDPC编码获得码字c=([0,…,0]1×168,a',[p0,…,p335]),满足LDPC编码要求H'×cT=0,其中,[p0,…,p335]是LDPC编码得到的校验比特,H'是修正后的LDPC基础矩阵。
(3)、合并数据头(header)的所有比特和LDPC编码的校验比特得到长度为392比特的数据头(header)编码码字c'=(x0,x1,…,x55,p0,p1,…,p335)。
2、数据域(data)编码:
数据域(data)部分长度可变,设其长度为Length字节,进行LDPC编码,编码步骤如下:
(1)、LDPC码块的有效信息长度最长为LDPCW=328比特,数据域(data)需要的LDPC码块数为
Figure PCTCN2016079312-appb-000021
(2)、在NCW个LDPC码块中,前NCW1个LDPC码块的有效信息长度为LDPCW1比特,余下的NCW-NCW1个LDPC码块的有效信息长度为LDPCW1-1比特,其中参数LDPCW1和NCW1计算如下:
Figure PCTCN2016079312-appb-000022
NCW1=mod((Length×8),(LDPCW1-1))
其中,
Figure PCTCN2016079312-appb-000023
表示大于等于实数x的最小整数(向上取整),mod(x1,x2)表示整数x1对整数x2的求余操作;
(3)、按以上计算得到的每个信息块长度,对数据部分(data)进行划分得到NCW信息块,对每个信息块添加8比特的CRC序列;然后分别填充em=336-Lm比特的‘0’元素,长度都达到336比特,表示为
Figure PCTCN2016079312-appb-000024
其中,Lm是添加CRC序列后第m个信息块的比特长度,bm是码块分割得到的第m个信息块,m=0,1,…,NCW-1;
(4)、采用码率为1/2的LDPC码基础矩阵,进行LDPC编码,获得LDPC码字dm=(b'm,[p0,…,p335]),满足LDPC编码要求
Figure PCTCN2016079312-appb-000025
(5)、对NCW个LDPC编码块中相同索引位置的所有比特构成的集合进行1比特异或编码,构成1个校验包码字表示为
Figure PCTCN2016079312-appb-000026
即校验包码字为
Figure PCTCN2016079312-appb-000027
(6)、去除所有LDPC编码块
Figure PCTCN2016079312-appb-000028
中的填充比特,得到编码码字
Figure PCTCN2016079312-appb-000029
去除校验包
Figure PCTCN2016079312-appb-000030
中的完全填充生成比特,得到校验包码字
Figure PCTCN2016079312-appb-000031
所述完全填充生成比特是指:全是由填充比特经过1比特异或编码得到的比特数据;获得数据域(data)编码码字
Figure PCTCN2016079312-appb-000032
数据域(data)编码过程例子:设数据部分长度Length=512字节,则码块数
Figure PCTCN2016079312-appb-000033
NCW1=mod((Length×8),(LDPCW1-1))=1,即在码块分割中,第0个信息块长度为316比特,第1~12个信息块长度为315比特的信息序列;对每个信息块添加8比特的CRC序列,然后进行填充0比特,第0个信息块填充比特数为12比特,第1~12个信息块填充比特数为13比特;经过LDPC编码和1比特异或编码,并去除填充比特和完全填充生成比特,第0个LDPC码字比特数为660,第1~12个LDPC码字比特数为659,校验包比特数为660。
合并以上所述的数据头(header)编码码字(c')和数据部分(data)编码码字
Figure PCTCN2016079312-appb-000034
得到控制PHY编码码字:
Figure PCTCN2016079312-appb-000035
其中,c0是数据头(header)编码码字,
Figure PCTCN2016079312-appb-000036
是NCW个LDPC码字,
Figure PCTCN2016079312-appb-000037
是所述数据部分(data)编码的校验包码字。
对以上的数据头(header)编码码字(c')和数据部分(data)编码码字进行调制和扩频,具体步骤如下:
(1).复制控制PHY编码数据块(包含NCW+2个编码块)的第i编码块至h份,且第j份复制块的所有比特与预设序列S'的第j比特异或,其中j=0,1,…,h-1,i=0,1,…,N(CW+1),获得比特数据流[b0,b1,b2,…],其中,预设序列S'由barker序列S产生:S'=0.5×S+0.5;
(2).对该比特数据流进行差分二进制相移键控(DBPSK,differential binary phase shift keying)调制,过程如下:首先变换成非差分BPSK数据流为sk=2×bk-1,然后差分DBPSK数据流为dk=sk×d(k-1),其中,初始化d-1=1;
(3).获得发送的数据流波形:rk=dk×exp(jπk/2),k=0,1,2,…。
其中,h有三种值:若h=4,barker序列为[+1+1-1+1];若h=7,则barker 序列为[+1+1+1-1-1+1-1];若h=11,barker序列为[+1+1+1-1-1-1+1-1-1+1-1]。
或者采用以下步骤进行处理:
(1).对控制PHY编码数据(包含NCW+2个编码块)进行差分二进制相移键控(DBPSK,differential binary phase shift keying)调制,过程如下:首先变换成非差分BPSK数据流为sk=2×bk-1,其中bk是控制PHY编码数据的比特流,然后差分DBPSK数据流为d'k=sk×d'(k-1),其中,初始化d'-1=1;
(2).复制第i个编码块的DBPSK星座符号至h份,且第j份复制块的所有星座符号与预设barker序列的第j元素相乘,j=0,1,…,h-1,i=0,1,…,N(CW+1),得到扩频数据流[d0,d1,d2,…];
(3).获得发送的数据流波形:rk=dk×exp(jπk/2),k=0,1,2,…。
其中,h有三种值:若h=4,barker序列为[+1+1-1+1];若h=7,则barker序列为[+1+1+1-1-1+1-1];若h=11,barker序列为[+1+1+1-1-1-1+1-1-1+1-1]。
或者采用以下步骤进行处理:
(1).对控制PHY编码数据(包含NCW+2个编码块)进行差分二进制相移键控(DBPSK,differential binary phase shift keying)调制,过程如下:首先变换成非差分BPSK数据流为sk=2×bk-1,其中bk是控制PHY编码数据的比特流,然后差分DBPSK数据流为d'k=sk×d'(k-1),其中,初始化d'-1=1;
(2).第i个编码块的DBPSK星座符号为gi
Figure PCTCN2016079312-appb-000038
k=0,1,2,…,h×(NCW+2)-1,其中,式中的F是预设的barker序列,将每个数据块d'k按元素顺序获得扩频数据流[d0,d1,d2,…];
Figure PCTCN2016079312-appb-000039
表示小于等于实数x的最大整数(向下取整),mod(x1,x2)表示整数x1对整数x2的求余操作;
(3).获得发送的数据流波形:rk=dk×exp(jπk/2),k=0,1,2,…。
其中,h有三种值:若h=4,barker序列为[+1+1-1+1];若h=7,则barker 序列为[+1+1+1-1-1+1-1];若h=11,barker序列为[+1+1+1-1-1-1+1-1-1+1-1]。
或者采用以下步骤进行处理:
(1).对控制PHY编码数据(包含NCW+2个编码块)进行差分二进制相移键控(DBPSK,differential binary phase shift keying)调制,过程如下:首先变换成非差分BPSK数据流为sk=2×bk-1,其中bk是控制PHY编码数据的比特流,然后DBPSK数据流为d'k=sk×d'(k-1),其中,初始化d'-1=1;
(2).采用预设barker序列对DBPSK数据流进行扩频,扩频方式如下:
Figure PCTCN2016079312-appb-000040
其中,式中的F是预设的barker序列。
(3).获得发送的数据流波形:rk=dk×exp(jπk/2),k=0,1,2,…。
其中,h有三种值:若h=4,barker序列为[+1+1-1+1];若h=7,则barker序列为[+1+1+1-1-1+1-1];若h=11,barker序列为[+1+1+1-1-1-1+1-1-1+1-1]。
实施例10
实施例10与实施例1~实施例9的区别在于纠错编码方式,所用纠错编码方法是卷积编码、RS编码、Turbo编码或者BCH编码。
综上所述,通过上述实施例,提高了整体数据包的性能,从而提高接收鲁棒性,相对于传统数据编码方案性能更优。
在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及可选实施方式中描述的技术方案。
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行上述任意的数据传输处理的方法。
本发明实施例还公开了一种载有所述的计算机程序的载体。
在阅读并理解了附图和详细描述后,可以明白其他方面。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的对象在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
通过本发明技术方案,解决了相关技术中的编码方式不能很好利用信道纠错编码增益的问题,从而能够更好的利用编码增益。因此本发明具有很强的工业实用性。

Claims (32)

  1. 一种数据传输处理方法,包括:
    将待扩频的编码数据块复制成多份,并将复制得到的多份所述编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理;或者
    将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份,并将复制得到的多份所述星座符号以编码数据块的星座符号为单位与预定复序列按元素相乘处理。
  2. 根据权利要求1所述的数据传输处理方法,其中,所述逻辑运算处理包括以下运算之一:
    异或运算、与运算、或运算。
  3. 根据权利要求1所述的数据传输处理方法,其中,将待扩频的编码数据块复制成多份,并将复制得到的多份所述编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理的步骤包括:
    以编码数据块为单位,复制m1个编码数据块至h份,其中,h、m1为整数,h≥2,m1≥1;
    将复制得到的第i1个编码数据块的第j1份复制块的所有比特与长度为a1比特的预设序列中第j1比特进行逻辑运算处理,得到总编码数据块;其中,a1为整数,a1≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者,将复制得到的由m1×h个编码数据块构成的大编码数据块中第i2个编码数据块的所有比特与长度为a2比特的预设序列中第i2比特进行逻辑运算处理,得到由m1×h个编码数据块构成的总编码数据块;其中,a2为整数,a2≥h≥2;i2=0,1,2,…,m1×h-1;或者,将复制得到的由m1×h个编码数据块构成的大编码数据块中第i3比特与长度为a3比特的预设序列中第i3比特进行逻辑运算处理,得到比特长度为n的总编码数据块;其中,a3、n均为整数,a3≥n;i3=0,1,2,…,n-1。
  4. 根据权利要求1所述的数据传输处理方法,其中,所述将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份,并将复制得到的多份所述星座符号以编码数据块的星座符号为单位与预定复序列按元素相乘处理 的步骤包括:
    对m1个编码数据块进行星座映射调制,得到星座符号;将星座映射调制得到的星座符号以编码数据块的星座符号为单位复制至h份,其中,h、m1为整数,h≥2,m1≥1;
    将复制得到的大星座符号数据块中第i1个编码数据块的星座符号的第j1份星座符号复制块中的所有星座符号与长度为a4的预设复序列中第j1个元素相乘,得到总数据流;其中,a4为整数,a4≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者,将复制得到的大星座符号数据块中第i2个编码数据块的所有星座符号与长度为a5的预设复序列中第i2个元素相乘,得到总数据流;其中,a5为整数,a5≥h≥2;i2=0,1,2,…,m1×h-1;或者,将复制得到的大星座符号数据块中第i3个星座符号与长度为a6的预设复序列中第i3个元素相乘,得到长度为n的总数据流;其中,a6为整数,a6≥n;i3=0,1,2,…,n-1。
  5. 根据权利要求1所述的数据传输处理方法,其中,在所述将待扩频的编码数据块复制成多份,或者在所述将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份的步骤之前,所述方法还包括:
    对m0个信息块进行前向纠错编码,得到m1个编码数据块,其中,m0、m1均为整数,m1≥m0≥1。
  6. 根据权利要求5中所述的数据传输处理方法,其中,在所述对m0个信息块进行前向纠错编码的步骤之前,所述方法还包括:
    对长度为L比特的源数据块进行划分,得到所述m0个信息块,其中,m0=ceil(L/k0);
    其中,所述m0个信息块中信息块的比特长度根据以下方式确定:
    第0~m2-1个信息块的比特长度为k1=ceil(L/m0),第m2~m0-1个信息块的比特长度为k2=k1-1,其中,m2=mod(L,k2);或者
    第0~m0-2个信息块的比特长度为k1=ceil(L/m0),第m0-1个信息块的比特长度为k2=L-k1×(m0-1);
    其中,m0、m2、L、k0、k1、k2均为整数,m0≥2,m0≥m2≥L≥1,k≥k0>0,k1>0,k2>0,k为前向纠错编码需要输入信息比特数目,ceil(x)表示 大于等于实数x的最小整数,mod(x1,x2)表示整数x1对整数x2的求余操作。
  7. 根据权利要求5所述的数据传输处理方法,其中,对m0个信息块进行前向纠错编码的步骤包括:
    对所述m0个信息块进行LDPC编码或者Turbo编码或者卷积编码,得到m0个纠错编码数据块。
  8. 根据权利要求7所述的数据传输处理方法,其中,在m0≥2的情况下,对所述m0个信息块进行LDPC编码或者Turbo编码或者卷积编码的步骤包括:
    对所述m0个编码数据块进行异或编码,得到b个校验编码数据块,其中,所述b个校验编码数据块中的第j个校验编码数据块的编码方式为
    Figure PCTCN2016079312-appb-100001
    总的编码数据块数为m1=m0+b;
    其中,第j集合Sj是集合[0、1、2、…、m0+j-1]的一个子集,j=0、1、2、…、b-1,Σ表示累积异或运算;当i=0、1、…、m0-1时,Ci是纠错编码数据块,当i=m0、m0+1、…、m0+b-1时,Ci是校验编码数据块,b为整数,b≥1。
  9. 根据权利要求8所述的数据传输处理方法,其中,在b=1的情况下,第0个集合S0=[0,1,2,…,(m0-1)]。
  10. 根据权利要求8所述的数据传输处理方法,其中,在对所述m0个信息块进行LDPC编码或者Turbo编码或者卷积编码的步骤之前,所述方法还包括:
    对所述m0个信息块中的每个信息块添加长度为d比特的循环冗余校验序列,其中,d为整数,d>0。
  11. 根据权利要求10所述的数据传输处理方法,其中,在对所述m0个信息块中的每个信息块添加长度为d比特的循环冗余校验序列的步骤之后,且在对所述m0个信息块进行LDPC编码或者Turbo编码或者卷积编码的步骤之前,所述方法还包括:
    填充长度为pad_i的哑元比特至添加循环冗余校验序列后的所述m0个信 息块中第i个信息块,使得每个信息块的比特长度都达到k比特;
    其中,pad_i为整数,pad_i≥0,k>0,k为前向纠错编码需要输入信息比特数目,所述哑元比特是‘0’元素或者‘1’元素。
  12. 根据权利要求11所述的数据传输处理方法,其中,在对所述m0个编码数据块进行异或编码,得到b个校验编码数据块的步骤之后,所述方法还包括:
    去除填充在所述m0个纠错编码数据块中的填充比特,以及去除所述b个校验编码数据块中完全由填充比特经过异或编码得到的比特数据。
  13. 根据权利要求3或4所述的数据传输处理方法,其中,所述长度为a1、a2、a3比特的预设序列和所述长度为a4、a5、a6的预设复序列是预先设定的、或者是随机的、或者是伪随机方法产生的。
  14. 根据权利要求13所述的数据传输处理方法,其中,在所述长度为a1、a2、a3比特的预设序列和所述长度为a4、a5、a6的预设复序列是伪随机方法产生的情况下,所述方法还包括:
    发送伪随机的初始状态信息至所述总编码数据块的接收端。
  15. 根据权利要求13所述的数据传输处理方法,其中,所述长度为a1、a2、a3比特的预设序列是预先设定的巴克barker码二进制序列;所述长度为a4、a5、a6的预设复序列是预先设定的barker码序列。
  16. 根据权利要求13所述的数据传输处理方法,其中,所述a1、a2、a4、a5的取值分别为以下之一:
    4、5、7、11、13。
  17. 一种数据传输处理装置,包括复制模块和处理模块,其中
    所述复制模块设置成:将待扩频的编码数据块复制成多份;所述处理模块,设置成:将复制得到的多份所述编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理;或者,
    所述复制模块设置成:将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份;所述处理模块设置成:将复制得到的多份所述星座符号 以编码数据块的星座符号为单位与预定复序列按元素相乘处理。
  18. 根据权利要求17所述的数据传输处理装置,其中,所述逻辑运算处理包括以下运算之一:
    异或运算、与运算、或运算。
  19. 根据权利要求17所述的数据传输处理装置,其中,
    所述复制模块设置成按照如下方式将待扩频的编码数据块复制成多份:以编码数据块为单位,复制m1个编码数据块至h份,其中,h、m1为整数,h≥2,m1≥1;
    所述处理模块设置成按照如下方式将复制得到的多份所述编码数据块以编码数据块为单位与预定序列按比特进行逻辑运算处理:将复制得到的第i1个编码数据块的第j1份复制块的所有比特与长度为a1比特的预设序列中第j1比特进行逻辑运算处理,得到总编码数据块;其中,a1为整数,a1≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者,将复制得到的由m1×h个编码数据块构成的大编码数据块中第i2个编码数据块的所有比特与长度为a2比特的预设序列中第i2比特进行逻辑运算处理,得到由m1×h个编码数据块构成的总编码数据块;其中,a2为整数,a2≥h≥2;i2=0,1,2,…,m1×h-1;或者,将复制得到的由m1×h个编码数据块构成的大编码数据块中第i3比特与长度为a3比特的预设序列中第i3比特进行逻辑运算处理,得到比特长度为n的总编码数据块;其中,a3、n均为整数,a3≥n;i3=0,1,2,…,n-1。
  20. 根据权利要求17所述的数据传输处理装置,其中,
    所述复制模块设置成按照如下方式将由待扩频的编码数据经星座映射调制而来的星座符号复制成多份:对m1个编码数据块进行星座映射调制,得到星座符号,将星座映射调制得到的星座符号以编码数据块的星座符号为单位复制至h份;其中,h、m1为整数,h≥2,m1≥1;
    所述处理模块设置成按照如下方式将复制得到的多份所述星座符号以编码数据块的星座符号为单位与预定复序列按元素相乘处理:将复制得到的大星座符号数据块中第i1个编码数据块的星座符号的第j1份星座符号复制块中的所有星座符号与长度为a4的预设复序列中第j1个元素相乘,得到总数据流;其中,a4为整数,a4≥h≥2;i1=0,1,2,…,m1-1;j1=0,1,2,…,h-1;或者, 将复制得到的大星座符号数据块中第i2个编码数据块的所有星座符号与长度为a5的预设复序列中第i2个元素相乘,得到总数据流;其中,a5为整数,a5≥h≥2;i2=0,1,2,…,m1×h-1;或者,将复制得到的大星座符号数据块中第i3个星座符号与长度为a6的预设复序列中第i3个元素相乘,得到长度为n的总数据流;其中,a6为整数,a6≥n;i3=0,1,2,…,n-1。
  21. 根据权利要求17所述的数据传输处理装置,其中,所述装置还包括前向纠错编码模块,其中
    所述前向纠错编码模块设置成:对m0个信息块进行前向纠错编码,得到m1个编码数据块,其中,m0、m1均为整数,m1≥m0≥1。
  22. 根据权利要求21所述的数据传输处理装置,所述装置还包括分割模块,其中
    所述分割模块设置成:对长度为L比特的源数据块进行划分,得到所述m0个信息块,其中,m0=ceil(L/k0);其中,所述m0个信息块中信息块的比特长度根据以下方式确定:
    第0~m2-1个信息块的比特长度为k1=ceil(L/m0),第m2~m0-1个信息块的比特长度为k2=k1-1,其中,m02=mod(L,k2);或者
    第0~m0-2个信息块的比特长度为k1=ceil(L/m0),第m0-1个信息块的比特长度为k2=L-k1×(m0-1);
    其中,m0、m2、L、k0、k1、k2均为整数,m0≥2,m0≥m2≥L≥1,k≥k0>0,k1>0,k2>0,k为前向纠错编码需要输入信息比特数目,ceil(x)表示大于等于实数x的最小整数,mod(x1,x2)表示整数x1对整数x2的求余操作。
  23. 根据权利要求21所述的数据传输处理装置,其中,所述前向纠错编码模块包括:
    第一编码单元,设置成:对所述m0个信息块进行LDPC编码或者Turbo编码或者卷积编码,得到m0个纠错编码数据块。
  24. 根据权利要求23所述的数据传输处理装置,其中,所述前向纠错编码模块还包括:
    第二编码单元,设置成:在m0≥2的情况下,对所述m0个编码数据块 进行异或编码,得到b个校验编码数据块,其中,所述b个校验编码数据块中的第j个校验编码数据块的编码方式为
    Figure PCTCN2016079312-appb-100002
    总的编码数据块数为m1=m0+b;
    其中,第j集合Sj是集合[0、1、2、…、m0+j-1]的一个子集,j=0、1、2、…、b-1,Σ表示累积异或运算;当i=0、1、…、m0-1时,Ci是纠错编码数据块,当i=m0、m0+1、…、m0+b-1时,Ci是校验编码数据块,b为整数,b≥1。
  25. 根据权利要求24所述的数据传输处理装置,其中,在b=1的情况下,第0个集合S0=[0,1,2,…,(m0-1)]。
  26. 根据权利要求24所述的数据传输处理装置,所述装置还包括添加模块,其中
    所述添加模块设置成:对所述m0个信息块中的每个信息块添加长度为d比特的循环冗余校验序列,其中,d为整数,d>0。
  27. 根据权利要求26所述的数据传输处理装置,所述装置还包括填充模块,其中
    所述填充模块设置成:填充长度为pad_i的哑元比特至添加循环冗余校验序列后的所述m0个信息块中第i个信息块,使得每个信息块的比特长度都达到k比特;
    其中,pad_i为整数,pad_i≥0,k>0,k为前向纠错编码需要输入信息比特数目,所述哑元比特是‘0’元素或者‘1’元素。
  28. 根据权利要求27所述的数据传输处理装置,所述装置还包括去除模块,其中
    所述去除模块设置成:去除填充在所述m0个纠错编码数据块中的填充比特,以及去除所述b个校验编码数据块中完全由填充比特经过异或编码得到的比特数据。
  29. 根据权利要求19或20所述的数据传输处理装置,其中,所述长度为a1、a2、a3比特的预设序列和所述长度为a4、a5、a6的预设复序列是预先设 定的、或者是随机的、或者是伪随机方法产生的。
  30. 根据权利要求29所述的数据传输处理装置,所述装置还包括发送模块,其中
    所述发送模块设置成:在所述长度为a1、a2、a3比特的预设序列和所述长度为a4、a5、a6的预设复序列是伪随机装置产生的情况下,发送伪随机的初始状态信息至所述总编码数据块的接收端。
  31. 根据权利要求29所述的数据传输处理装置,其中,所述长度为a1、a2、a3比特的预设序列是预先设定的巴克barker码二进制序列;所述长度为a4、a5、a6的预设复序列是预先设定的barker码序列。
  32. 根据权利要求29所述的数据传输处理装置,其中,a1、a2、a4、a5的取值分别为以下之一:
    4、5、7、11、13。
PCT/CN2016/079312 2015-05-04 2016-04-14 数据传输处理方法及装置 WO2016177266A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510222517.X 2015-05-04
CN201510222517.XA CN106209302B (zh) 2015-05-04 2015-05-04 数据传输处理方法及装置

Publications (1)

Publication Number Publication Date
WO2016177266A1 true WO2016177266A1 (zh) 2016-11-10

Family

ID=57218027

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079312 WO2016177266A1 (zh) 2015-05-04 2016-04-14 数据传输处理方法及装置

Country Status (2)

Country Link
CN (1) CN106209302B (zh)
WO (1) WO2016177266A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112825558A (zh) * 2019-11-20 2021-05-21 华为技术有限公司 一种编码方法、解码方法及设备

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018148952A1 (zh) * 2017-02-19 2018-08-23 南通朗恒通信技术有限公司 一种被用于无线通信的终端、基站中的方法和装置
CN108134652B (zh) * 2017-12-22 2020-09-25 重庆金山医疗器械有限公司 一种减少ph胶囊无线检测系统数据丢失的方法及系统
CN112306458B (zh) * 2020-11-13 2024-03-19 Oppo广东移动通信有限公司 序列生成方法及装置、信号接收/发射设备、存储介质
CN113067671B (zh) * 2021-03-16 2023-07-25 上海磐启微电子有限公司 一种基于伪随机相位序列扩频的发射系统及接收系统
WO2022261984A1 (zh) * 2021-06-18 2022-12-22 华为技术有限公司 通信方法和通信装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006038653A1 (ja) * 2004-10-07 2006-04-13 Matsushita Electric Industrial Co., Ltd. 無線パケット通信機
CN101014032A (zh) * 2007-02-12 2007-08-08 清华大学 一种基于离散傅立叶变换序列的多载波扩频通信方法
CN101534269A (zh) * 2009-04-14 2009-09-16 华南理工大学 一种水声通信系统
CN102273114A (zh) * 2008-11-05 2011-12-07 株式会社Ntt都科摩 用于交织频分多址系统的二维码扩频
CN103701490A (zh) * 2014-01-15 2014-04-02 西安电子科技大学 基于ldpc编码的混合扩频通信系统及其方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2377347B (en) * 2001-07-02 2004-06-30 Ipwireless Inc Chip rate invariant detector
CN101330346A (zh) * 2007-06-22 2008-12-24 华为技术有限公司 控制信令信息的处理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006038653A1 (ja) * 2004-10-07 2006-04-13 Matsushita Electric Industrial Co., Ltd. 無線パケット通信機
CN101014032A (zh) * 2007-02-12 2007-08-08 清华大学 一种基于离散傅立叶变换序列的多载波扩频通信方法
CN102273114A (zh) * 2008-11-05 2011-12-07 株式会社Ntt都科摩 用于交织频分多址系统的二维码扩频
CN101534269A (zh) * 2009-04-14 2009-09-16 华南理工大学 一种水声通信系统
CN103701490A (zh) * 2014-01-15 2014-04-02 西安电子科技大学 基于ldpc编码的混合扩频通信系统及其方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112825558A (zh) * 2019-11-20 2021-05-21 华为技术有限公司 一种编码方法、解码方法及设备

Also Published As

Publication number Publication date
CN106209302A (zh) 2016-12-07
CN106209302B (zh) 2020-06-23

Similar Documents

Publication Publication Date Title
WO2016177266A1 (zh) 数据传输处理方法及装置
EP3371890B1 (en) Signature-enabled polar encoder and decoder
CN105991227B (zh) 数据编码方法及装置
JP5329239B2 (ja) 通信システムのための多体ベース符号の生成器および復号化器
CN107211033B (zh) 数据传输的方法和设备
WO2017133580A1 (zh) 一种数据包编码处理方法及装置、基站及用户设备
US8516350B2 (en) Data encoding method and apparatus for flash-type signaling
US9438305B2 (en) Method for transmitting non binary error correcting code words with CCSK modulation, and corresponding signal and device
WO2019158031A1 (zh) 编码的方法、译码的方法、编码设备和译码设备
JP2010508742A (ja) 64b/66bスクランブル処理と適合する多重リンク送信のための前方誤り訂正符号化
JP4643564B2 (ja) ブロックコヒーレント通信システムにおけるインタリービングのための方法および装置
Abassi et al. Non-binary low-density parity-check coded cyclic code-shift keying
CN1933336B (zh) 使用grs码构建ldpc码的方法和装置
CN112514292B (zh) 高效传输信息消息的发射装置和接收装置
US20220286225A1 (en) Channel coding and modulation
Khan et al. Secret key encryption model for Wireless Sensor Networks
Zhong et al. Turbo-like codes for distributed joint source-channel coding of correlated senders in multiple access channels
US8196000B2 (en) Methods and apparatus for interleaving in a block-coherent communication system
Perotti et al. Quasi-orthogonal sparse superposition codes
Rajagopal et al. Design of SPA decoder for CDMA applications
Benton Concurrent coding: a reason to think differently about encoding against noise, burst errors and jamming
Nithya et al. Analysis of BER and energy efficiency of raptor codes under BEC for wireless sensor network
Gholoum Joint Detection and Decoding of Polar Coded SCMA Systems
Iqbal et al. Hardware Architecture of Channel Encoding for 5G New Radio Physical Downlink Control Channel
Sofia et al. Application of LT code technology in deep space communication

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

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

Country of ref document: EP

Kind code of ref document: A1