WO2018184493A1 - Data encoding and decoding method and device - Google Patents

Data encoding and decoding method and device Download PDF

Info

Publication number
WO2018184493A1
WO2018184493A1 PCT/CN2018/080835 CN2018080835W WO2018184493A1 WO 2018184493 A1 WO2018184493 A1 WO 2018184493A1 CN 2018080835 W CN2018080835 W CN 2018080835W WO 2018184493 A1 WO2018184493 A1 WO 2018184493A1
Authority
WO
WIPO (PCT)
Prior art keywords
feature information
decoded
encoded
data block
data
Prior art date
Application number
PCT/CN2018/080835
Other languages
French (fr)
Chinese (zh)
Inventor
张公正
罗禾佳
王坚
皇甫幼睿
乔云飞
李榕
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018184493A1 publication Critical patent/WO2018184493A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/13Linear codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • H03M13/091Parallel or block-wise CRC computation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes

Definitions

  • Embodiments of the present invention relate to the field of electronics and communications technologies and, more particularly, to methods and apparatus for data encoding and decoding.
  • Polar codes algorithm is the first procoding algorithm that theoretically proves that it can achieve Shannon capacity and has low coding and decoding (compilation code complexity is O(NlogN)) complexity.
  • the main broadcast block (English: Master Information Block, abbreviation: MIB) is carried on the physical broadcast channel (English: Physical Broadcast Channel, abbreviation: PBCH).
  • MIB Master Information Block
  • PBCH Physical Broadcast Channel
  • the embodiment of the invention provides a data processing method and device, which can reduce the complexity of recovering feature information (such as timing information) carried in the MIB by the receiving end.
  • an embodiment of the present invention provides a data encoding method, where the method includes:
  • each of the plurality of data blocks to be encoded carries feature information in each of the to-be-coded data blocks, and the feature information is encoded by Polar code.
  • the relationship between the feature information carried by the two adjacent data blocks to be encoded is satisfied: the feature information carried by the data block to be coded is descrambled by the corresponding relative scrambling code sequence, and is carried by the previous data block to be coded. Characteristic information;
  • the multi-segment encoded data blocks are output in the order in which they are adjacent to each other.
  • the feature information is feature information after being scrambled.
  • the feature information carried in the multiple pieces of data blocks to be encoded It is different.
  • the feature information may be timing information, where the timing information indicates that the multi-segment encoded data block is sent. order of.
  • the feature information refers to information related to a sending end of the multiple pieces of data to be encoded, or Refers to information related to the receiving end of the multi-segment data block to be encoded, or refers to information related to the data block to be encoded carrying the feature information, or refers to the sending manner of the data block after the multi-segment encoding relevant information.
  • the data block that is multi-segment encoded is configured according to The sequential output of the preceding and following adjacent, including:
  • the multi-segment encoded data blocks are output in the order in which the timing information is displayed.
  • the multi-segment to-be-coded data block refers to the multi-segment to-be-coded data block that is sent in one transmission period, Moreover, the timing information carried in different data blocks to be encoded is different in one transmission period.
  • the feature information carried in the data block to be encoded adjacent to each other in a transmission period When constructing the relative scrambling code sequence, the constructed relative scrambling code sequence has log 2 N, wherein the N-segment encoded data block is transmitted in one transmission period.
  • the multiple data blocks to be encoded belong to a data block to be encoded in one transmission period, where Before or after the step of multi-segment data block to be encoded by Polar code to obtain the encoded data block, the method further includes:
  • the feature information carried in the multi-segment data block to be encoded is scrambled by using different scrambling code sequences, wherein the feature information carried in the multi-segment data block to be encoded in one transmission period is the same.
  • an embodiment of the present invention further provides a decoding method, where the method includes:
  • the data block to be decoded carries the feature information to be decoded
  • a relative scrambling code sequence is used to participate in descrambling processing, and the obtained descrambling result is decoded and judged.
  • the relative scrambling code sequence is used to participate in descrambling processing, and the obtained descrambling result is decoded and judged.
  • the processing specifically includes: using a relative scrambling code sequence to descramble the feature information to be decoded carried in the data block to be decoded in the subsequent segment, and obtaining the descrambled feature information, and using the descrambled feature information and The feature information to be decoded carried in the data block to be decoded in the previous segment is combined and subjected to decoding processing; and the feature information after the decoding process is determined;
  • the relationship between the feature information carried by the adjacent two blocks of the data block to be decoded is constrained, thereby reducing the complexity of cracking the correct feature information.
  • the feature information may be feature information after being scrambled.
  • the feature information carried in the two data blocks to be decoded is different.
  • a third possible implementation manner if the result of the determination is an error, try other relative scrambling code sequences to participate in the descrambling, The obtained descrambling result is decoded and judged until the judgment result is correct or all relative scrambling code sequences are tried. Among them, the relative scrambling code sequence of each attempt is different.
  • the determining process includes:
  • the decoded feature information After determining that the decoded feature information is correctly verified and belongs to the candidate feature information, it is determined that the decoded feature information is correct feature information.
  • the candidate feature information is: associated with the relative scrambling code sequence participating in the descrambling process Characteristic information.
  • the interference processing is performed by using a relative scrambling code sequence, and the obtained descrambling result is decoded and Before the step of judging the processing, the method further includes:
  • an embodiment of the present invention further provides a decoding method, where the method includes:
  • the data block to be decoded carries the feature information to be decoded
  • the feature information to be decoded carried in the data block to be decoded is descrambled to obtain the descrambled feature information, and the descrambled feature information is used in the data block to be decoded in the previous segment. Carrying the feature information to be decoded and combining the decoding process; and determining the feature information after the decoding process;
  • the feature information judged to be correct is output.
  • the embodiment of the present invention further provides a data processing apparatus, where the data processing apparatus includes:
  • a first encoding module configured to perform a Polar code encoding on a plurality of data blocks to be encoded to obtain a coded data block, where each piece of the data block to be encoded in the plurality of pieces of data to be encoded carries feature information, and the feature information After the Polar code is encoded, the relationship between the feature information carried by the two adjacent data blocks to be encoded is satisfied: the feature information carried by the latter data block to be coded is descrambled by using the corresponding relative scrambling code sequence. Characteristic information carried by a data block to be encoded;
  • the interface module is configured to output the multi-segment encoded data blocks in the order of the adjacent ones.
  • an embodiment of the present invention further provides a data processing apparatus, where the data processing apparatus includes:
  • a receiving module configured to receive two pieces of data blocks to be decoded that are adjacent to each other before and after, and the data block to be decoded carries feature information to be decoded;
  • a first decoding module configured to participate in descrambling processing by using a relative scrambling code sequence, and perform decoding and judging processing on the obtained descrambling result, wherein the relative scrambling code sequence is used to participate in descrambling processing, and the obtained Decoding the decoding result and determining the processing specifically includes: using a relative scrambling code sequence to descramble the feature information to be decoded carried in the data block to be decoded in the subsequent segment, and obtaining the descrambled feature information, Decoding the feature information and combining the feature information to be decoded carried in the data block to be decoded in the previous segment to perform decoding processing; and determining the decoded feature information; When the feature information participating in the judgment is an error, another relative scrambling code sequence is used to participate in the descrambling, and the obtained descrambling result is decoded and judged.
  • the embodiment of the present invention further provides a data processing apparatus, where the data processing apparatus includes:
  • a receiving module configured to receive two pieces of data blocks to be decoded that are adjacent to each other before and after, and the data block to be decoded carries feature information to be decoded;
  • a second decoding module configured to calculate a correlation between the two pieces of information to be decoded carried in the data block to be decoded, and obtain a relative scrambling code sequence that matches the correlation,
  • the relative scrambling code sequence descrambles the feature information to be decoded carried in the data block to be decoded in the subsequent segment to obtain the descrambled feature information, and the descrambled feature information and the previous segment Decoding the feature information to be decoded carried in the data block to be decoded and performing decoding processing; and determining the feature information after the decoding process;
  • the receiving module is further configured to output the feature information determined to be correct if the feature information participating in the determination is correct.
  • an embodiment of the present invention provides a communication device, where the communication device includes: a processor, and a memory interconnected with the processor, when the communication device is running, the processor reads and executes The instructions in the memory or run their own hardware logic to cause the communication device to perform various embodiments of any of the methods described in the first to third aspects.
  • the memory is configured to store the instructions, and the memory may be independent of the processor or integrated in the processor.
  • the communications apparatus may further include a transceiver for receiving and/or transmitting data.
  • Yet another aspect of an embodiment of the present application also provides a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the methods described in the above aspects .
  • Yet another aspect of an embodiment of the present application also provides a computer program product comprising instructions that, when executed on a computer, cause the computer to perform the methods described in the various aspects above.
  • FIG. 1 is a schematic diagram of a wireless communication system in an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a coding process of a Polar code in an embodiment of the invention
  • FIG. 3 is a schematic flowchart of a data encoding method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of a specific implementation manner of the data encoding method shown in FIG. 3;
  • FIG. 5 is a schematic flowchart diagram of a specific implementation manner of the data encoding method shown in FIG. 3;
  • FIG. 6 is a schematic flowchart of a decoding method according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart diagram of another decoding method according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a specific implementation manner of the data encoding method shown in FIG. 3;
  • FIG. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of still another data processing apparatus according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a communication apparatus according to an embodiment of the present invention.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • the base station may be a device for communicating with the terminal device, for example, may be a base station (Base Transceiver Station, BTS) in the GSM system or CDMA, or a base station (NodeB, NB) in the WCDMA system, or It is an evolved base station (Evolutional Node B, eNB or eNodeB) in the LTE system, or the base station can be a relay station, an access point, an in-vehicle device, a wearable device, and a network side device in a future 5G network.
  • BTS Base Transceiver Station
  • NodeB NodeB
  • NB evolved base station
  • the base station can be a relay station, an access point, an in-vehicle device, a wearable device, and a network side device in a future 5G network.
  • the terminal may communicate with one or more core networks via a Radio Access Network (RAN), and the terminal may refer to a User Equipment (UE), a terminal, a subscriber unit, a subscriber station, a mobile station, and a mobile station. , remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user device.
  • the terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and a wireless communication function.
  • FIG. 1 illustrates a wireless communication system 100.
  • System 100 includes a base station 102 that can include multiple antenna groups. For example, one antenna group may include antennas 104 and 106, another antenna group may include antennas 108 and 110, and additional groups may include antennas 112 and 114. Two antennas are shown for each antenna group, however more or fewer antennas may be used for each group.
  • Base station 102 can include a transmitter chain and a receiver chain, as will be understood by those of ordinary skill in the art, which can include various components associated with signal transmission and reception, such as processors, modulators, multiplexers, demodulators, Demultiplexer or antenna.
  • Base station 102 can communicate with one or more terminals, such as terminal 116 and terminal 122. However, it will be appreciated that base station 102 can communicate with any number of terminals similar to terminals 116 and 122.
  • Terminals 116 and 122 can be, for example, cellular telephones, smart phones, portable computers, handheld communication devices, handheld computing devices, satellite radios, global positioning systems, PDAs, and/or any other suitable device for communicating over wireless communication system 100.
  • terminal 116 is in communication with antennas 112 and 114, with antennas 112 and 114 transmitting information to terminal 116 over forward link 118 and receiving information from terminal 116 over reverse link 120.
  • terminal 122 is in communication with antennas 104 and 106, wherein antennas 104 and 106 transmit information to terminal 122 over forward link 124 and receive information from terminal 122 over reverse link 126.
  • FDD Frequency Division Duplex
  • the forward link 118 may utilize a different frequency band than that used by the reverse link 120, and the forward link 124 may utilize The frequency bands used by the reverse link 126 are different in frequency bands.
  • TDD Time Division Duplex
  • the forward link 118 and the reverse link 120 can use a common frequency band, and the forward link 124 and the reverse link 126 can be used together. frequency band.
  • Each set of antennas and/or regions designed for communication is referred to as a sector of base station 102.
  • the antenna group can be designed to communicate with terminals in sectors of the coverage area of base station 102.
  • the transmit antennas of base station 102 may utilize beamforming to improve the signal to noise ratio for forward links 118 and 124 of terminals 116 and 122.
  • mobile devices in adjacent cells are less subject to interference when the base station 102 transmits to the randomly dispersed terminals 116 and 122 in the relevant coverage area as compared to the base station transmitting to all of its terminals through a single antenna. .
  • base station 102, terminal 116, and/or terminal 122 may be transmitting wireless communication devices and/or receiving wireless communication devices.
  • the transmitting wireless communication device can encode the data for transmission. Specifically, the transmitting wireless communication device is to be transmitted over a channel to a certain number of information bits of the receiving wireless communication device. Such information bits may be included in a transport block or a plurality of transport blocks of data, which may be segmented to produce a plurality of code blocks.
  • the transmitting wireless communication device can encode each code block using a polar code encoder to improve the reliability of data transmission, thereby ensuring communication quality.
  • enhanced mobile broadband English: enhanced mobile broadband
  • ultra-reliable low-latency Communication English: Ultra Reliable Low Latency Communications
  • mMTC massive Machine Type Communications
  • the eMBB service mainly includes ultra high definition video, augmented reality AR, virtual reality VR, etc.
  • the main feature is that the transmission data volume is large and the transmission rate is high.
  • the URLLC service is mainly used for industrial control and unmanned driving in the Internet of Things.
  • the main features are ultra-high reliability, low latency, low transmission data and burstiness.
  • the mMTC service is mainly used for smart grids and smart cities in the Internet of Things.
  • the main features are the connection of mass devices, the small amount of data transmitted, and the delay of tolerating for a long time.
  • the Polar code is a coding method that theoretically proves that the Shannon capacity can be obtained and has a simple encoding and decoding method.
  • a part of the bits are used to carry information, called information bits, and the set of sequence numbers of these information bits is denoted as A.
  • the other part of the bits is set to a fixed value pre-agreed by the transceiver, which is called a fixed bit, and the set of the sequence numbers is represented by the complement A c of A.
  • These fixed bits are usually set to 0. In fact, only the transceiver end is required to be pre-agreed, and the fixed bit sequence can be arbitrarily set.
  • the encoded bit sequence of the Polar code can be obtained by the following method:
  • indicates the number of elements in the collection, ie K represents the number of elements in set A, Is a submatrix obtained from the rows corresponding to the indices in the set A in the matrix G N . Is a K ⁇ N matrix.
  • the Polar code can be better than the low-density parity-check code (LDPC). Density parity check code) and FER (frame error rate) performance of Turbo code.
  • the embodiment of the present invention utilizes the characteristics of the Polar coding matrix to construct a scrambling code sequence p for the bit sequence u in the data block to be encoded, so that between one coding bit sequence x of each data block to be coded in one transmission period
  • the scrambling of the information end before encoding is equivalent to the scrambling of the encoded coded end, and the type of the scrambling code sequence of the coded bit end is designed to be as small as possible, which is equivalent to designing the scrambling sequence on the information side.
  • the number of scrambling sequences of the information side relative to the scrambling sequence is as small as possible.
  • the types of the relative scrambling code sequences are only log 2 N.
  • each timing information is represented by a vector u, and different p vectors to be encoded are scrambled with different p vectors, and then polar coded and transmitted. Equivalently, the Polarated vector x is scrambled with the corresponding q vector. Send it. It can be seen that each p vector has a corresponding timing.
  • PBCH signals adjacent to each other are received, the latter PBCH signal is descrambled by using the relative scrambling code sequence, and the descrambled result is combined with the previous PBCH signal, and then translated by a polar decoder. Code, and use CRC check, if passed, the decoding is successful.
  • the embodiment of the present invention provides two modes, one is display transmission of timing information, and the other is implicit transmission of timing information.
  • the display transmission of the time series information means that the feature information carried in each piece of the data block to be encoded in one transmission period is different.
  • the feature information carried in the data blocks to be encoded in each segment is used to indicate the sending order of the data blocks to be encoded in each segment.
  • the feature information carried by the data block to be coded is descrambled by the corresponding relative scrambling code sequence to be carried by the previous block to be coded. Characteristic information. In this way, the complexity of cracking the feature information can be reduced at the receiving end by the relative scrambling code sequence.
  • Implicit transmission of timing information means that the feature information carried in each piece of data to be encoded in one transmission period is the same. Different scrambling results are obtained by scrambling different scrambling code sequences in the same plurality of pieces of data to be encoded in a transmission period, and the different scrambling results are used to indicate the one The order in which the plurality of pieces of data blocks to be encoded are transmitted in the transmission period. After the scrambled feature information carried in the two blocks of the data block to be coded is encoded by the Polar code, the scrambled feature information carried by the latter block to be coded is descrambled by using the corresponding relative scrambling code sequence. The scrambled feature information carried by the previous block to be encoded. In this way, the complexity of cracking the scrambled feature information can be reduced at the receiving end by the relative scrambling code sequence.
  • an embodiment of the present invention provides a data encoding method, where the method includes:
  • S102 Output the data blocks that are multi-segment encoded in the order in which they are adjacent to each other.
  • the feature information may be feature information after scrambling.
  • the feature information carried in the plurality of data blocks to be encoded may be different or the same.
  • the feature information may be time series information, and the implementation manner belongs to displaying and transmitting the time series information.
  • the timing information displays an order in which the plurality of encoded data blocks are transmitted.
  • the information about the information about the transmitting end of the data block to be encoded, or the information related to the receiving end of the data block to be encoded, or the information to be carried The information related to the encoded data block or the information related to the manner in which the multi-segment encoded data block is transmitted.
  • the data blocks that are multi-segment encoded are output in the order of the adjacent ones before and after, including:
  • the multi-segment encoded data blocks are output in the order in which the timing information is displayed.
  • the multi-segment encoded data blocks may be transmitted in a broadcast channel in the order in which the timing information is displayed.
  • the multi-segment data block to be encoded refers to a plurality of pieces of data blocks to be encoded transmitted in one transmission period (or transmission period). Moreover, further, the timing information carried in different data blocks to be encoded is different in one transmission period.
  • the plurality of pieces of timing information carried by the plurality of pieces of data blocks to be encoded are used to display a sending order of the plurality of pieces of data blocks to be encoded when being transmitted.
  • the values of the plurality of timing information are not necessarily sequentially arranged, as long as the timing information carried by the data blocks to be encoded in each segment is different in one transmission period.
  • a relative scrambling code sequence can be constructed between the feature information of each of the two adjacent data blocks to be encoded.
  • the relative scrambling code sequences constructed between the feature information of two adjacent to-be-coded data blocks may be the same or different.
  • the value of the feature information may be constructed according to how to construct a relatively identical scrambling code sequence between feature information of each of the two adjacent data blocks to be encoded in one transmission period.
  • the relative scrambling sequence is the target.
  • the data encoding method of the embodiment of the present invention may further include: before the step of performing the Polar code encoding of the plurality of pieces of data to be encoded to obtain the encoded data block, the method further includes:
  • the to-be-encoded data block i to be transmitted refers to the data transmitted ith in a transmission period, and the to-be-coded data block i to be transmitted includes the timing information.
  • the timing information in different data blocks to be encoded is different, that is, the timings of the data blocks to be encoded are different, and the data blocks to be transmitted are also different.
  • the data format of the data block to be transmitted to be transmitted is [b k ...
  • b 0 a 9 , a 8 , a 7 , a 6 , a 5 , a 4 , a 3 , a 2 , a 1 , a 0
  • b k ... b 0 are other system information
  • System frame number, a 0 is low.
  • the data after 16-bit CRC encoding is [b k ...
  • the above embodiments of the present invention can be applied to a physical broadcast channel.
  • the physical broadcast channel (English: Physical Broadcast Channel, abbreviation: PBCH) generally carries a master information block (English: Master Information Block, abbreviation: MIB).
  • MIB Master Information Block
  • the length of the MIB is 24 bits
  • the MIB includes the downlink system bandwidth
  • the PHICH (English: Physical Hybrid ARQ Indicator Channel, Chinese: physical hybrid automatic repeat request indication channel) size
  • the system frame number English: System Frequency Number, referred to as: SFN
  • the base station first performs a Cyclic Redundancy Check (CRC) encoding on the MIB to be transmitted to obtain a 16-bit CRC sequence, and then the base station will have a 40-bit long sequence (including a 24-bit MIB and a 16-bit CRC).
  • CRC Cyclic Redundancy Check
  • the channel coding and the rate matching are performed to obtain a coding sequence, and the coding sequence is segmented to obtain four equal-sized PBCH independent units, and the base station performs subsequent modulation, mapping, and transmission processes.
  • the channel coding of the PBCH is coded using a polarization code. After performing modulation and mapping processes on four PBCH independent units, the transmission is performed within a time window of 40 ms (transmission time of 4 radio frames, 10 ms per radio frame). In the implicit transmission, the bits participating in the coding in the four PBCH independent units are the same, and the encoded bits are also the same. However, when the transmission is displayed, the bits participating in the coding in the four PBCH independent units are different, and the encoded bits are also different.
  • the receiver can only successfully complete the decoding and CRC check operations by receiving only one PBCH independent unit within 40 ms.
  • the transmitting terminal sends the MIB in the first few radio frames within 40 ms, that is, the SFN information is known.
  • the receiving end For the case of poor channel quality, if the receiving end only receives one PBCH independent unit and cannot successfully decode, it will perform soft combining with the next PBCH independent unit transmitted in the next 10ms and then decode it until successful decoding.
  • PBCH independent units (which may also be referred to as data blocks) are transmitted in one PBCH cycle
  • a 1 , a 0 change according to time series, that is, the timing information has the following four types: 0->1->2->3, if according to binary
  • the representation is: 00->01->10->11.
  • the different parts of the system frame numbers in all PBCH independent units in one cycle are used as timing information, and are put into data blocks for encoding and transmission. This method belongs to display transmission.
  • the CRC is also a linear code, that is, the CRC bit CRC(a) obtained by a coding
  • the CRC bits obtained by a+b coding are CRC(a+b)
  • the CRCs of the four data blocks transmitted in one cycle are respectively recorded as CRC (00), CRC (01), CRC (10), CRC (11).
  • the timing information in the previously transmitted data block as a reference
  • the timing information in the data block transmitted in the next transmission can be regarded as scrambling the timing information in the data block transmitted in the previous time, and the scrambled sequence is called relative Scrambling code sequence.
  • the relative scrambling sequence of the data blocks transmitted before and after the two adjacent data blocks before encoding is:
  • the relative scrambling sequences of the coded bits of the two transmitted data blocks adjacent to each other are:
  • the relative scrambling code sequence between 00000000 and 11111111 is 11111111
  • the relative scrambling code sequence between 11111111 and 10101010 is 01010101
  • the relative scrambling code sequence between 10101010 and 01010101 is 11111111.
  • PBCH independent units (which may also be referred to as data blocks) are transmitted in one PBCH cycle, b k ... b 0 and a 9 , a 8 , a 7 , a 6 , a in the system frame number in one cycle 5 , a 4 , a 3 do not change, a 2 , a 1 , a 0 is used to represent timing information.
  • the timing information of each data block is different, there are 8 kinds as follows, namely 0 ->1->2->3->4->5->6->7, if expressed in binary: 000->001->010->011->100->101->110-> 111.
  • the relative scrambling sequence of the data blocks transmitted before and after the two adjacent data blocks before encoding is:
  • the relative scrambling sequence of the encoded bits after the Polar encoding has only three possibilities, namely Polar ([00...001CRC(0...001)]), Polar([00...011CRC(0...011)]) and Polar([00...111CRC(0...111)]).
  • the parts affecting the relative scrambling sequence are listed as a table, as shown in Table 2.
  • the scrambling code sequence of the feature information in the encoded data block may have a total of log 2 N relative scrambling code sequences, where N refers to a to be encoded sent in one transmission period.
  • N refers to a to be encoded sent in one transmission period.
  • the scrambling code sequence has relatively few types of scrambling code sequences.
  • the timing information may be implicitly transmitted.
  • the multi-segment data block to be encoded belongs to a data block to be encoded in one transmission period, and before the step of encoding the data block to be encoded by the multi-segment data block to obtain the encoded data block Or later include:
  • S009 The feature information carried in the data block to be encoded is scrambled by using different scrambling code sequences, where the feature information carried in the multi-segment data block to be encoded in one transmission period is the same.
  • the feature information carried in the multi-segment data block to be encoded in one transmission period is scrambled by using different scrambling code sequences, so that after the scrambling, the multi-segment waiting in one transmission period can be distinguished.
  • Encoded data blocks In the case that the feature information carried in the multi-segment data block to be coded in one transmission period is the same, the data block to be coded in each transmission period can be distinguished in this manner, and the feature can be obtained after scrambling
  • the information indicates the order in which the data blocks to be encoded are transmitted in a transmission period.
  • the way in which the information of the transmission order that is, the time series information
  • the scrambled feature information is implicit transmission.
  • the scrambling process in the step S009 may be that the feature information in the encoded data block is scrambled by performing the Polar code encoding on the data block to be encoded in the multiple segments, or may be The plurality of pieces of data to be encoded are scrambled by the feature information carried before the Polar code is encoded.
  • the data encoding method in the embodiment of the present invention further includes: before scrambling the feature information carried in the multi-segment data block to be encoded by using different scrambling code sequences:
  • the step of encoding the coded data block may further include:
  • the data encoding method of the embodiment of the present invention may further include: after the step of performing the Polar code encoding of the data block to be encoded by the multi-segment to obtain the encoded data block:
  • the feature information carried in the multi-segment data block to be encoded is scrambled by using a corresponding scrambling code sequence.
  • the data to be transmitted within one PBCH cycle is the same, including partial high-order information of the timing.
  • the data format to be transmitted is [b k ... b 0 , a 9 , a 8 , ..., a i ], where b k ... b 0 is other system information, a 9 ,..., a i is the upper bit of the system frame number, and the lower bit does not participate in the encoding.
  • the data is [b k ...
  • the contents of the data block to be encoded are b k ... b 0 , a 9 , a 8 , a 7 , a 6 , a 5 , a 4 , a 3 , a 2 is the same part of all PBCH independent units transmitted in one cycle.
  • the information bits before the Polar encoding are scrambled with different scrambling code sequences, that is, the CRC encoded bit sequence [b k ... b 0 , a 9 , ..., a i , c 15 , c 14 , ...
  • the scrambling results are [b k ... b 0 , a 9 , ..., a i , c 15 , c 14 , ... c 1 , c 0 ], respectively.
  • the information bits before Polar encoding are scrambled with different scrambling code sequences, or the encoded codes of Polar encoding are scrambled with corresponding sequences.
  • the implicit transmission Since in the implicit transmission, it is not necessary to additionally encode the information showing the timing in the system frame number, but only the bits in the system frame number that are to be encoded are selected to be scrambled, and then used. The timing of transmitting each PBCH independent unit in one PBCH period is displayed. Therefore, the encoded data amount is less than the explicit transmission, that is, the encoding code rate is lower, and the decoding performance is slightly better than the explicit transmission.
  • the partial information in the data block to be encoded is scrambled as the feature information, and the scrambling code is constructed for the feature information carried in the data block to be encoded adjacent to each other in one transmission period.
  • the scrambling sequence has fewer types of scrambling sequences, and even the scrambling sequence can be only log 2 N relative to the scrambling sequence.
  • an embodiment of the present invention further provides a decoding method, where the method includes:
  • S201 Receive two pieces of data blocks to be decoded adjacent to each other before and after receiving, and the data block to be decoded carries feature information to be decoded;
  • S202 Participate in descrambling processing by using a relative scrambling code sequence, and perform decoding and judging processing on the obtained descrambling result, wherein the relative scrambling code sequence is used to participate in descrambling processing, and the obtained descrambling result is decoded.
  • the determining process specifically includes: using a relative scrambling code sequence to descramble the feature information to be decoded carried in the data block to be decoded in the subsequent segment to obtain the descrambled feature information, and the descrambled feature The information is combined with the feature information to be decoded carried in the data block to be decoded in the previous segment to perform decoding processing; and the feature information after the decoding process is determined;
  • the relationship between the feature information carried by the adjacent two blocks of the data block to be decoded is constrained, thereby reducing the complexity of cracking the correct feature information.
  • the feature information may be feature information after scrambling.
  • the feature information carried in the two pieces of data blocks to be decoded may be different or the same.
  • the feature information may be time series information, and the implementation manner belongs to displaying and transmitting the time series information.
  • the timing information displays an order in which the plurality of encoded data blocks are transmitted.
  • the timing information may also display an order of receiving the plurality of pieces of data blocks to be decoded.
  • the feature information refers to information related to the sending end of the multi-segment data block to be encoded, or refers to information related to the receiving end of the multi-segment data block to be encoded, or to be encoded with the feature information to be encoded.
  • the data block related information refers to information related to the manner in which the multi-segment encoded data block is transmitted. Because the encoded data block is transmitted through the channel, it is the data block to be decoded in the embodiment of the decoding mode. Therefore, the feature information may also refer to information related to the transmitting end of the data block to be decoded, or information related to the receiving end of the data block to be decoded, or refers to carrying the feature. The information related to the data block to be decoded of the information or the information related to the transmission mode of the data block to be decoded.
  • the decoding method if the result of the determination is an error, other relative scrambling code sequences may be tried to participate in the descrambling, and the obtained descrambling result is decoded and judged until The result of the judgment is correct or all of the relative scrambling code sequences are tried. Among them, the relative scrambling code sequence of each attempt is different.
  • the embodiment of the decoding method further includes: outputting the feature information when the result of the determination is correct.
  • the determining process includes:
  • the decoded feature information After determining that the decoded feature information is correctly verified and belongs to the candidate feature information, it is determined that the decoded feature information is correct feature information.
  • the determining process may further include:
  • the correct feature information is the correct time series information.
  • the candidate feature information refers to feature information associated with the relative scrambling code sequence participating in the descrambling process.
  • the relative scrambling code of the feature information scrambling sequence in the data block to be decoded after the relative scrambling code sequence can be used
  • the feature information in the data block to be decoded in the previous segment is the candidate feature associated with the scrambling code sequence of the scrambling code sequence.
  • the feature information in the data block to be decoded in the subsequent segment may be referred to as feature information associated with the scrambling code sequence relative to the scrambling code sequence.
  • the candidate feature information may specifically be candidate timing information.
  • the two pieces of data blocks to be decoded that are adjacent to each other before and after the receiving include:
  • the verification process may be a CRC (Cyclic Redundancy Check) check process.
  • the descrambling process specifically includes: corresponding to each bit in the feature information to be decoded carried in the data block to be decoded in the subsequent segment, in a corresponding relative In the case where the value in the bit in the scrambling code sequence is 0, the value of the bit after descrambling is the same as before the descrambling; in the case where the value in the bit in the corresponding relative scrambling code sequence is 1, Invert the value before descrambling.
  • the data block to be decoded may be the information after the encoded data block is transmitted through the channel in the foregoing encoding method.
  • the feature information to be decoded may be information in the above coding method after the encoded feature information is transmitted through the channel.
  • the coding method embodiment is implemented at the transmitting end, and the decoding method embodiment is implemented at the receiving end. Therefore, various embodiments and various concepts between them can be used for reference.
  • the encoding method may be referred to as a data processing method.
  • the decoding method may also be referred to as a data processing method.
  • the feature information carried in the LLR information is output, and the feature information may be time series information, for example: a 9 , a 8 , a 7 , a 6 , a 5 , a 4 , a 3 , a 2 , a 1 , a 0 . If there is no verification pass, it waits for the LLR information of the next transmission.
  • the decoding fails for the LLR information of one transmission, it is necessary to combine the LLR information of multiple transmissions to improve the success rate of decoding.
  • the LLR information received twice is taken as an example for description.
  • Step 1 Using the information transmitted for a certain time (such as LLR1), the information for another transmission (LLR2),
  • the descrambling process specifically includes: if the bit in the relative scrambling code sequence is 0,
  • the corresponding bit in the LLR2 has no change before and after descrambling; if the bit in the relative scrambling code sequence is 1, the LLR2 is
  • Step 3 Perform Polar decoding on the combined LLR
  • Step 4 CRC check, if the CRC check fails, replace the above-mentioned descrambling and decoding steps by changing a relative scrambling code sequence. If the CRC check passes, it is determined whether the decoded feature information belongs to the candidate feature information of the used relative scrambling code sequence, and if it belongs to the candidate timing information of the used relative scrambling code sequence, the feature information and decoding carried in the LLR1 are output. result.
  • the step of descrambling, decoding, and verifying is repeated by replacing a relative scrambling code sequence.
  • timing information carried has the following three possibilities: ⁇ 0, 1 ⁇ , ⁇ 1, 2 ⁇ , ⁇ 2, 3 ⁇ .
  • the relative scrambling sequence of ⁇ 0,1 ⁇ and ⁇ 2,3 ⁇ is 1111111, and the relative scrambling sequence of ⁇ 1,2 ⁇ is 01010101.
  • the time series information carried by the two adjacent data blocks to be decoded is ⁇ 0, 1 ⁇ , and the blind detection is first attempted by using the relative scrambling code sequence 01010101, and the LLR information is combined and decoded.
  • the decoding result will pass the CRC check with a certain probability, and the decoded timing information may be 2, that is, the wrong timing information. Therefore, it is only determined by the CRC check whether the blind check is successful or not, and there is a systematic error at a high signal to noise ratio.
  • the correct timing information may only be one.
  • the time information obtained by the decoding is 2, and the candidate timing of the relative scrambling code sequence does not match, it can be determined that the decoding result is erroneous. At this point, it is decided that the blind detection fails, and a relative scrambling code sequence is used to perform blind detection again.
  • the matching step of candidate timing information avoids systematic errors.
  • the following Table 3 can be derived from Table 1.
  • the corresponding timing information that may be obtained is: 0 or 2.
  • the corresponding timing information obtained can only be: 3.
  • the candidate timing information in Table 4 can be derived from Table 2, where the candidate timing information refers to the timing information carried in the data block to be decoded in the previous segment associated with the used relative scrambling code sequence, if the relative interference is used. If the code sequence is "001" and the timing information is one of the candidate timing information sets [0, 2, 4, 6], the decoding may be initially determined to be successful; if the obtained timing information does not belong to 001 The candidate timing information indicates that the relative scrambling sequence used during descrambling is incorrect, and the decoding failure can be determined.
  • the algorithm needs to try all the log 2 N relative scrambling code sequences at most, that is, the maximum number of decoding times is log 2 N times, which is lower than N times in the LTE PBCH, where N refers to the encoded data sent in one transmission period.
  • N refers to the encoded data sent in one transmission period.
  • the timing matching after each decoding is relatively simple and the complexity is low.
  • the two pieces of timing information carried by the two blocks of data to be decoded are used to display an arrangement order of the two pieces of data blocks to be decoded at the time of receiving.
  • the values of the two pieces of timing information are not necessarily sequentially arranged, as long as the timing information carried by the data blocks to be decoded in each segment is different in one receiving period.
  • a relative scrambling code sequence can be constructed between the feature information of each of the two adjacent data blocks to be decoded.
  • the relative scrambling code sequences constructed between the feature information of two adjacent to-be-decoded data blocks may be the same or different.
  • the value of the feature information may be constructed according to how to construct a relative scrambling code sequence between feature information of each of the two adjacent data blocks to be decoded in one receiving period. The same relative scrambling sequence is for the purpose.
  • Table 5 shows another relative scrambling sequence obtained when the timing information carried in the two blocks of data to be decoded adjacent to each other is not arranged in order. .
  • one transmission period for example, one PBCH period
  • the relative scrambling code sequence of the configuration shown in the table can make the candidate timing information corresponding to each relative scrambling code sequence more uniform.
  • Table 6 Listed in Table 6 are candidate timing information derived from Table 5.
  • the determining process specifically includes:
  • an attempt is made to descramble each scrambling code sequence in a set of scrambling code sequences, and the CRC check is performed on the descrambled result, and in the case of passing the CRC check, the pass is determined.
  • the feature information of the CRC check is the correct feature information; after each scrambling code sequence in the set of scrambling code sequences is tried, if the CRC check is still not passed, another relative scrambling code sequence is used. The descrambling is performed, and the obtained descrambling result is decoded and judged.
  • the set of scrambling code sequences refers to a scrambling code sequence corresponding to the candidate feature information associated with the used relative scrambling code sequence.
  • the scrambled feature information is used to indicate the sending order of the data block to be encoded carrying the feature information by scrambling the feature information.
  • the feature information in each data block to be encoded is different in the scrambling code sequence. In this way, in a transmission period, even if the feature information carried in each data block to be encoded is the same, different scrambling results can be obtained by using different scrambling code sequences for each feature information, so that different scrambling results can be obtained.
  • Each feature information corresponds to a scrambling code sequence. These different scrambling results can be used to indicate the order in which the encoded data blocks are sent.
  • the descrambling using the relative scrambling code sequence can determine the candidate feature information associated with the relative scrambling code sequence, but it is not determined whether the relative scrambling code sequence used is correct. All candidate feature information associated with the relative scrambling code sequence is taken as a range, and the scrambling code sequences corresponding to the candidate feature information are tried one by one to confirm whether the CRC check can be passed. If the CRC check is not passed, the relative scrambling code sequence used may be wrong, or the scrambling code sequence used is wrong. The CRC check may not be performed after all the scrambling code sequences corresponding to the candidate feature information are tried. Then, the relative scrambling code sequence is wrong, and it is necessary to replace the previous scrambling code sequence to try.
  • the method before the step of using a relative scrambling code sequence to participate in the descrambling process and decoding and judging the obtained descrambling result, the method further includes:
  • S205 Calculate a correlation between two pieces of feature information to be decoded carried in the data block to be decoded, and obtain a relative scrambling code sequence that matches the correlation, and obtain the relative interference.
  • the code sequence is an associated scrambling code sequence that participates in the descrambling process.
  • step of obtaining a relative scrambling code sequence that matches the correlation by calculating a correlation between two pieces of feature information to be decoded that are carried in the data block to be decoded in the two segments, specifically including: adopting the following formula:
  • qi is the ith relative scrambling code sequence
  • q is the relative scrambling code sequence that best matches LLR1 and LLR2
  • SUM() is the sum function
  • min ⁇ is the smallest one.
  • LLR1 is to be translated in the data block to be decoded in the previous segment
  • LLR2 is the feature information to be decoded carried in the data block to be decoded in the latter segment.
  • an embodiment of the present invention further provides a decoding method, where the method includes:
  • S301 Receive two pieces of data blocks to be decoded that are adjacent to each other before and after receiving, and the data block to be decoded carries feature information to be decoded.
  • the embodiment of the decoding method shown in FIG. 7 is different from the embodiment of the decoding method shown in FIG. 6 in that two parameters to be decoded are carried in the data block to be decoded by the two segments to be decoded.
  • the correlation of the information is obtained, and the relative scrambling code sequence matching the correlation is obtained.
  • Other specific implementations and basic concepts can refer to various concepts and embodiments of the decoding method shown in FIG. 6 above.
  • the calculating by calculating a correlation between two feature information to be decoded carried in the two data blocks to be decoded, obtaining a relative interference matching the correlation
  • the steps of the code sequence include: adopting the following formula:
  • qi is the ith relative scrambling code sequence
  • q is the relative scrambling code sequence that best matches LLR1 and LLR2
  • SUM() is the sum function
  • min ⁇ is the smallest one.
  • LLR1 is to be translated in the data block to be decoded in the previous segment
  • LLR2 is the feature information to be decoded carried in the data block to be decoded in the latter segment.
  • the relative scrambling code sequence matching the correlation is obtained, if the selected relative scrambling code sequence is selected If it is correct, only need to descramble and decode once, you can get the correct feature information.
  • the relative scrambling sequence derived from the correlation has a certain probability that it is erroneous.
  • a physical broadcast channel (English: Physical Broadcast Channel, abbreviation: PBCH) carries a master information block (English: Master Information Block, abbreviation: MIB).
  • the length of the MIB is 24 bits, the MIB includes the downlink system bandwidth, the PHICH (English: Physical Hybrid ARQ Indicator Channel, Chinese: Physical Hybrid Automatic Repeat Request Direction Channel), and the system frame number (English: System Frequency Number) , referred to as: SFN), the high eight and so on.
  • the base station first performs a Cyclic Redundancy Check (CRC) encoding on the MIB to be transmitted to obtain a 16-bit CRC sequence, and then the base station will have a 40-bit long sequence (including a 24-bit MIB and a 16-bit CRC).
  • CRC Cyclic Redundancy Check
  • a coding sequence is obtained, and the coding sequence is segmented to obtain four equal-sized PBCH independent units, and four PBCH independent units are separately scrambled by using four scrambling code sequences, and the base station completes scrambling subsequent steps. Modulation, mapping, and transmission processes.
  • the channel coding of the PBCH is encoded by a TBCC (Tailbiting Convolutional Code), and the four scrambling code sequences adopt different phases.
  • the four PBCH independent units carry the same coded bits, and the four PBCH independent units perform the processes of scrambling, modulation, and mapping, and then transmit them in a time window of 40 ms (transmission time of 4 radio frames, 10 ms per radio frame).
  • the four PBCH independent units carry the same coded bits. Therefore, if the channel quality is good enough, the receiver only receives a PBCH independent unit within 40 ms and successfully completes the descrambling, decoding, and CRC check. operating. Since the receiving end succeeds in scrambling the scrambling code sequence, it is obtained that the transmitting end transmits the MI B in the first few radio frames within 40 ms, that is, the lower 2 bits of the SFN are known.
  • the receiving end For the case of poor channel quality, if the receiving end only receives one PBCH independent unit and cannot successfully descramble the decoding, it will perform soft combining with the next PBCH independent unit sent by the next 10ms and decode it until it is successfully decoded.
  • the UE can obtain the upper 8 bits of the system frame number (SFN) of the cell system, and the lowest 2 bits need to be obtained during the PBCH blind check.
  • SFN system frame number
  • the PBCH is repeated 4 times in a 40 ms period, and each transmitted PBCH carries the same coded bits, that is, each time it can be decoded by itself.
  • each transmitted PBCH will be scrambled with a different scrambling code sequence (ie, there are 4 different scrambling code sequences, and a long random sequence is divided into 4 segments).
  • the UE may only perform decoding within one of the 40 ms, and each of the four possible scrambling sequences is used to try to descramble and decode the PBCH if decoding.
  • the cell transmits the MI B in the first few system frames within 40 ms, that is, the lowest 2 bits of the SFN are known.
  • the content of the PBCH transmitted in the next 10 ms is descrambled and soft-combined, and then decoded until the PBCH is successfully decoded.
  • the soft combining process it is also necessary to descramble the received LLRs using 4 possible scrambling code sequences, and then perform soft combining.
  • the periodic transmission of PBCH in LTE has the following characteristics:
  • Each transmission in one cycle can be independently decoded, or different transmissions can be combined and decoded.
  • the lower 2 bits of the SFN information are implicitly transmitted by bit scrambling different scrambling code sequences after each encoding, and the receiving side obtains the blind detection scrambling code sequence, and the number of attempts to decode and CRC check with the scrambling code sequence The number of digits increases linearly.
  • the timing information of the PBCH is blindly checked, and descrambling and decoding and CRC check are required each time.
  • the blind detection under multiple PBCH merges also needs to descramble the possible scrambling codes first, and then perform decoding and CRC check.
  • the number of decodings required for blind detection is linear with the number of scrambling sequences (the number of information to be carried).
  • the LTE scheme requires at most N decodings, and each decoding performs one CRC check; It only needs to be decoded once, and the CRC is checked once during transmission.
  • the CRC is checked N times.
  • the LTE scheme requires at most N decodings, and each decoding performs one CRC check; the solution of the present invention requires log 2 N decodings, and each translation is displayed during transmission.
  • the code requires 1 CRC check and possibly multiple timing match.
  • multiple CRC check is required for each decoding, and the total CRC check times are the same as LTE. It can be seen that the decoding times in the embodiment of the present invention is lower than the LTE scheme, and the corresponding blind detection complexity is lower than the LTE scheme.
  • the above-described embodiments of the invention only take the blind detection PBCH timing as an example, and the inventive scheme can also be used for transmission and blind detection of other information.
  • the representation of the timing information in the display transmission and the scrambling code design in the implicit transmission are exemplified by a relatively simple mode, and other modes can also achieve the effect of the solution of the present invention, and in one During the transmission period or the reception period, the types of relative scrambling sequences of the feature information carried in all the data blocks to be encoded may be only log 2 N, and the relative scrambling sequence of the feature information carried in all the data blocks to be decoded The type can only be log 2 N.
  • FIG. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure, where the data processing apparatus includes:
  • a first encoding module configured to perform a Polar code encoding on a plurality of data blocks to be encoded to obtain a coded data block, where each piece of the data block to be encoded in the plurality of pieces of data to be encoded carries feature information, and the feature information After the Polar code is encoded, the relationship between the feature information carried by the two adjacent data blocks to be encoded is satisfied: the feature information carried by the latter data block to be coded is descrambled by using the corresponding scrambling code sequence relative to the scrambling code sequence. And obtaining the feature information carried by the previous data block to be encoded;
  • the interface module is configured to output the multi-segment encoded data blocks in the order of the adjacent ones.
  • the data processing apparatus shown in FIG. 9 can be used to perform various embodiments of the data encoding method shown in FIG. 3, FIG. 4, FIG. 5 and FIG.
  • the technical effects are similar and will not be described here.
  • various specific implementation manners of S006, S007, S008, S009, S100, and S101 in the data encoding method shown in FIG. 3, FIG. 4, FIG. 5, and FIG. 8 can also be used as FIG. 9 correspondingly.
  • Various embodied implementations of the functionality of the first encoding module of the data processing apparatus are shown.
  • Various specific implementations of S102 in the data encoding method shown in FIG. 3, FIG. 4, FIG. 5 and FIG. 8 can also be used as the function of the interface module of the data processing apparatus shown in FIG. A variety of concrete implementations.
  • FIG. 10 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention.
  • the data processing apparatus shown in FIG. 10 includes:
  • a receiving module configured to receive two pieces of data blocks to be decoded that are adjacent to each other before and after, and the data block to be decoded carries feature information to be decoded;
  • a first decoding module configured to participate in descrambling processing by using a relative scrambling code sequence, and perform decoding and judging processing on the obtained descrambling result, wherein the relative scrambling code sequence is used to participate in descrambling processing, and the obtained Decoding the decoding result and determining the processing specifically includes: using a relative scrambling code sequence to descramble the feature information to be decoded carried in the data block to be decoded in the subsequent segment, and obtaining the descrambled feature information, Decoding the feature information and combining the feature information to be decoded carried in the data block to be decoded in the previous segment to perform decoding processing; and determining the decoded feature information; When the feature information participating in the judgment is an error, another relative scrambling code sequence is used to participate in the descrambling, and the obtained descrambling result is decoded and judged.
  • the data processing apparatus shown in FIG. 10 provided by the embodiment of the present invention can be used to perform various implementations of the decoding method shown in FIG. 6.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • various specific implementation manners of the S201 in the decoding method shown in FIG. 6 can also be used as various embodiments of the functions of the receiving module of the data processing apparatus shown in FIG. 10 .
  • Various specific implementations of S205, S202, and S203 in the decoding method shown in FIG. 6 can also be used as various functions of the first decoding module of the data processing apparatus shown in FIG. Concrete implementation.
  • FIG. 11 is a schematic structural diagram of still another data processing apparatus according to an embodiment of the present invention.
  • the data processing apparatus shown in FIG. 11 includes:
  • a receiving module configured to receive two pieces of data blocks to be decoded that are adjacent to each other before and after, and the data block to be decoded carries feature information to be decoded;
  • a second decoding module configured to calculate, by calculating a correlation between two pieces of feature information to be decoded carried in the two blocks of data to be decoded, to obtain a relative scrambling code of the scrambling code sequence matching the correlation a sequence, wherein the scrambling code sequence is used to descramble the feature information to be decoded carried in the data block to be decoded, and the descrambled feature information is obtained, and the descrambled feature is obtained.
  • the information is combined with the feature information to be decoded carried in the data block to be decoded in the previous segment to perform decoding processing; and the feature information after the decoding process is determined;
  • the receiving module is further configured to output the feature information determined to be correct if the feature information participating in the determination is correct.
  • the data processing apparatus shown in FIG. 11 may be used to perform various implementations of the decoding method shown in FIG. 7.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • various specific implementation manners of S301 and S303 in the decoding method shown in FIG. 7 can also be used as various specific functions of the receiving module of the data processing apparatus shown in FIG. The way to achieve.
  • Various specific implementations of S302 in the decoding method shown in FIG. 7 can also be used as various embodied implementations of the functions of the second decoding module of the data processing apparatus shown in FIG.
  • the communication apparatus includes: a processor, and a memory interconnected with the processor.
  • the processor reads and Execution of the instructions in the memory or execution of its own hardware logic circuitry to cause the communication device to perform various embodiments of any one of the data processing methods illustrated in Figures 3-8.
  • the memory is for storing the instructions, and the memory may be independent of the processor or integrated into the processor.
  • the communication device may further include a transceiver (not shown) for receiving and/or transmitting data.
  • the communication device of the embodiment of the present application may be any device having a wireless communication function, such as an access point, a site, a user equipment, a base station, and the like.
  • the communication device may also have a dual function of encoding and decoding, performing an encoding operation when acting as an encoding end, and performing a decoding operation when acting as a decoding terminal.
  • the communication device includes a baseband chip, the baseband chip includes an encoder and a decoder, and the encoder can be used to implement the same function as the aforementioned encoding end, and the decoder can implement the same function as the aforementioned decoding end.
  • the processor may be an integrated circuit that operates in accordance with a non-curing instruction or an integrated circuit that operates in accordance with a curing instruction.
  • the processor operating in accordance with the non-curing instructions implements various ones of the methods of any of the methods illustrated in Figures 3 through 8 by reading and executing instructions in the memory, or Various embodiments of any of the data processing devices shown in Figures 9 through 11 are shown.
  • the processor operating in accordance with the curing instructions implements various ones of the methods of any of the methods illustrated in Figures 3-8 by running its own hardware logic circuitry, or alternatively, as shown in Figures 9-11 Various embodiments of any of the data processing devices shown in the data processing device.
  • the memory is a random access memory (ROM), a flash memory, a read only memory (RAM), a programmable read only memory, an electrically erasable programmable memory, a cache (CACHE) or a register.
  • ROM random access memory
  • RAM read only memory
  • CACHE electrically erasable programmable memory
  • a storage medium that is convenient for the processor to read.
  • the processor may be a central processing unit (CPU), a graphics processing unit (GPU), or a digital signal processor (DSP). ), Application Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA), Network Processor (NP), other programmable logic devices, discrete gate transistors Logic devices, or discrete hardware components, and so on.
  • CPU central processing unit
  • GPU graphics processing unit
  • DSP digital signal processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • NP Network Processor
  • other programmable logic devices discrete gate transistors Logic devices, or discrete hardware components, and so on.
  • the various embodiments described above may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software When implemented in software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Abstract

Disclosed in an embodiment of the present invention is a data encoding method characterized by comprising: performing polar code encoding on multiple data blocks to be encoded to obtained encoded data blocks, wherein each of the multiple data blocks carries feature information, and after the feature information has undergone polar code encoding, a relationship between the feature information carried by two adjacent preceding and subsequent data blocks is satisfied; using a corresponding scrambling sequence to perform descrambling on the feature information carried by the subsequent data block to obtain the feature information carried by the preceding data block; and outputting the multiple encoded data blocks in an order from preceding data blocks to subsequent adjacent data blocks.

Description

数据编码和译码的方法和装置Method and apparatus for data encoding and decoding 技术领域Technical field
本发明实施例涉及电子及通信技术领域,并且更具体地,涉及数据编码和译码的方法和装置。Embodiments of the present invention relate to the field of electronics and communications technologies and, more particularly, to methods and apparatus for data encoding and decoding.
背景技术Background technique
通信系统中通常采用编码技术提高数据传输的可靠性,保证通信的质量。极化码(Polar codes)算法是第一个理论上证明可以取得香农容量且具有低编译码(编译码复杂度均为O(NlogN))复杂度的编译码算法。In communication systems, coding techniques are usually used to improve the reliability of data transmission and ensure the quality of communication. The Polar codes algorithm is the first procoding algorithm that theoretically proves that it can achieve Shannon capacity and has low coding and decoding (compilation code complexity is O(NlogN)) complexity.
在物理广播信道(英文:Physical Broadcast Channel,缩写:PBCH)承载主信息块(英文:Master Information Block,缩写:MIB)。其中,MIB在采用LTE编码方案的情况下,接收端在恢复出MI B中携带的特征信息(例如时序信息)时,复杂度较高。The main broadcast block (English: Master Information Block, abbreviation: MIB) is carried on the physical broadcast channel (English: Physical Broadcast Channel, abbreviation: PBCH). In the case that the MIB adopts the LTE coding scheme, the complexity of the feature information (such as timing information) carried in the MI B is high.
发明内容Summary of the invention
本发明实施例提供一种数据处理的方法和装置,可以降低接收端恢复出MIB中携带的特征信息(例如时序信息)的复杂度。The embodiment of the invention provides a data processing method and device, which can reduce the complexity of recovering feature information (such as timing information) carried in the MIB by the receiving end.
第一方面,本发明实施例提供一种数据编码方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a data encoding method, where the method includes:
将多段待编码的数据块进行Polar码编码得到编码后的数据块,其中所述多段待编码数据块中的每段待编码数据块中携带特征信息,所述特征信息经过Polar码编码后,前后两个相邻的待编码数据块所携带的特征信息之间的关系满足:后一个待编码数据块所携带的特征信息采用对应的相对扰码序列解扰后得到前一个待编码数据块所携带的特征信息;Transmitting a plurality of data blocks to be encoded into a coded data block, wherein each of the plurality of data blocks to be encoded carries feature information in each of the to-be-coded data blocks, and the feature information is encoded by Polar code. The relationship between the feature information carried by the two adjacent data blocks to be encoded is satisfied: the feature information carried by the data block to be coded is descrambled by the corresponding relative scrambling code sequence, and is carried by the previous data block to be coded. Characteristic information;
将多段编码后的数据块,按照所述前后相邻的顺序输出。The multi-segment encoded data blocks are output in the order in which they are adjacent to each other.
在上述编码方法的实施例中,通过采用相对扰码序列,约束前后相邻两段待编码数据块所携带的特征信息之间的关系,从而降低在接收端破解出正确的特征信息的复杂度。In the foregoing embodiment of the encoding method, by using a relative scrambling code sequence, the relationship between the feature information carried by the adjacent two segments of the data block to be encoded is constrained, thereby reducing the complexity of cracking the correct feature information at the receiving end. .
在第一方面的第一种可能的实现方式中,所述特征信息为经过加扰之后的特征信息。In a first possible implementation manner of the first aspect, the feature information is feature information after being scrambled.
结合第一方面或第一方面前述的各种可能的实现方式,在第二种可能的实现方式中,在上述编码方法的实施例中,所述多段待编码的数据块中所携带的特征信息是不同的。With reference to the first aspect or the foregoing various possible implementation manners of the foregoing aspect, in a second possible implementation manner, in an embodiment of the foregoing encoding method, the feature information carried in the multiple pieces of data blocks to be encoded It is different.
结合第一方面或第一方面前述的各种可能的实现方式,在第三种可能的实现方式中,所述特征信息可以为时序信息,所述时序信息显示发送所述多段编码后的数据块的顺序。With reference to the first aspect or the foregoing various possible implementation manners of the foregoing aspect, in a third possible implementation manner, the feature information may be timing information, where the timing information indicates that the multi-segment encoded data block is sent. order of.
结合第一方面或第一方面前述的各种可能的实现方式,在第四种可能的实现方式中,所述特征信息是指与所述多段待编码数据块的发送端相关的信息,或者是指与所述多段待编码数据块的接收端相关的信息,或者是指与携带所述特征信息的待编码的数据块相关的信息,或者是指与所述多段编码后的数据块的发送方式相关的信息。With reference to the first aspect or the foregoing various possible implementation manners of the foregoing aspect, in a fourth possible implementation, the feature information refers to information related to a sending end of the multiple pieces of data to be encoded, or Refers to information related to the receiving end of the multi-segment data block to be encoded, or refers to information related to the data block to be encoded carrying the feature information, or refers to the sending manner of the data block after the multi-segment encoding relevant information.
结合第一方面或第一方面前述的各种可能的实现方式,在第五种可能的实现方式中,在所述特征信息为时序信息的情况下,所述将多段编码后的数据块,按照所述前后相邻的顺序输出,包括:With reference to the first aspect or the foregoing various possible implementation manners of the first aspect, in a fifth possible implementation, in a case that the feature information is time series information, the data block that is multi-segment encoded is configured according to The sequential output of the preceding and following adjacent, including:
将多段编码后的数据块,按照所述时序信息显示的顺序输出。The multi-segment encoded data blocks are output in the order in which the timing information is displayed.
结合第一方面或第一方面前述的各种可能的实现方式,在第六种可能的实现方式中,所述多段待编码数据块是指在一个发送周期内发送的的多段待编码数据块,并且,在一个发送周期内,不同的待编码数据块中所携带的时序信息是不同的。With reference to the first aspect or the foregoing various possible implementation manners of the foregoing aspect, in the sixth possible implementation, the multi-segment to-be-coded data block refers to the multi-segment to-be-coded data block that is sent in one transmission period, Moreover, the timing information carried in different data blocks to be encoded is different in one transmission period.
结合第一方面或第一方面前述的各种可能的实现方式,在第七种可能的实现方式中,在针对在一个发送周期内的前后相邻的待编码的数据块中所携带的特征信息构造相对扰码序列时,构造出的相对扰码序列有log 2N个,其中,在一个发送周期内发送N段编码后的数据块。 With reference to the first aspect or the foregoing various possible implementation manners of the foregoing aspect, in a seventh possible implementation, the feature information carried in the data block to be encoded adjacent to each other in a transmission period When constructing the relative scrambling code sequence, the constructed relative scrambling code sequence has log 2 N, wherein the N-segment encoded data block is transmitted in one transmission period.
结合第一方面或第一方面前述的各种可能的实现方式,在第八种可能的实现方式中,所述多段待编码的数据块是属于一个发送周期内的待编码的数据块,在将多段待编码的数据块进行Polar码编码得到编码后的数据块的步骤之前或者之后还包括:With reference to the first aspect or the foregoing various possible implementation manners of the foregoing aspect, in the eighth possible implementation, the multiple data blocks to be encoded belong to a data block to be encoded in one transmission period, where Before or after the step of multi-segment data block to be encoded by Polar code to obtain the encoded data block, the method further includes:
对所述多段待编码数据块中携带的特征信息采用不同的扰码序列加扰,其中,一个发送周期内的所述多段待编码数据块中携带的特征信息是相同的。The feature information carried in the multi-segment data block to be encoded is scrambled by using different scrambling code sequences, wherein the feature information carried in the multi-segment data block to be encoded in one transmission period is the same.
第二方面,本发明实施例还提供一种译码方法,所述方法包括:In a second aspect, an embodiment of the present invention further provides a decoding method, where the method includes:
接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;Receiving two pieces of data blocks to be decoded adjacent to each other before and after, the data block to be decoded carries the feature information to be decoded;
采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理,所述采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理具体包括:采用一个相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待译码的数据块中所携带的待译码的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;A relative scrambling code sequence is used to participate in descrambling processing, and the obtained descrambling result is decoded and judged. The relative scrambling code sequence is used to participate in descrambling processing, and the obtained descrambling result is decoded and judged. The processing specifically includes: using a relative scrambling code sequence to descramble the feature information to be decoded carried in the data block to be decoded in the subsequent segment, and obtaining the descrambled feature information, and using the descrambled feature information and The feature information to be decoded carried in the data block to be decoded in the previous segment is combined and subjected to decoding processing; and the feature information after the decoding process is determined;
在参与判断的特征信息为错误的情况下,采用另一个相对扰码序列参与所述解扰,并对得到的解扰结果进行译码及判断处理。When the feature information participating in the judgment is an error, another relative scrambling code sequence is used to participate in the descrambling, and the obtained descrambling result is decoded and judged.
在上述译码方法的实施例中,通过采用相对扰码序列,约束前后相邻两段待译码数据块所携带的特征信息之间的关系,从而降低破解出正确的特征信息的复杂度。In the embodiment of the foregoing decoding method, by using the relative scrambling code sequence, the relationship between the feature information carried by the adjacent two blocks of the data block to be decoded is constrained, thereby reducing the complexity of cracking the correct feature information.
在第二方面的第一种可能的实现方式中,所述特征信息可以为经过加扰之后的特征 信息。In a first possible implementation manner of the second aspect, the feature information may be feature information after being scrambled.
结合第二方面或第二方面前述的各种可能的实现方式,在第二种可能的实现方式中,所述两段待译码的数据块中所携带的特征信息是不同的。With reference to the second aspect or the foregoing various possible implementation manners of the second aspect, in the second possible implementation manner, the feature information carried in the two data blocks to be decoded is different.
结合第二方面或第二方面前述的各种可能的实现方式,在第三种可能的实现方式中,在判断的结果为错误的情况下,尝试其他的相对扰码序列参与所述解扰,并对得到的解扰结果进行译码及判断处理,直至判断结果为正确或者尝试完所有的相对扰码序列。其中,每次尝试的相对扰码序列是不同的。With reference to the second aspect or the foregoing various possible implementation manners of the second aspect, in a third possible implementation manner, if the result of the determination is an error, try other relative scrambling code sequences to participate in the descrambling, The obtained descrambling result is decoded and judged until the judgment result is correct or all relative scrambling code sequences are tried. Among them, the relative scrambling code sequence of each attempt is different.
结合第二方面或第二方面前述的各种可能的实现方式,在第四种可能的实现方式中,所述判断处理包括:With reference to the second aspect or the foregoing various possible implementation manners of the second aspect, in a fourth possible implementation, the determining process includes:
对所述经过译码处理后的特征信息进行校验处理以及判断所述译码处理后的特征信息是否属于候选特征信息;Performing a verification process on the decoded feature information and determining whether the feature information after the decoding process belongs to candidate feature information;
在确定所述经过译码处理后的特征信息校验正确并且属于候选特征信息的情况下,确定所述经过译码处理后的特征信息为正确的特征信息。After determining that the decoded feature information is correctly verified and belongs to the candidate feature information, it is determined that the decoded feature information is correct feature information.
结合第二方面或第二方面前述的各种可能的实现方式,在第五种可能的实现方式中,所述候选特征信息是指:与参与所述解扰处理的所述相对扰码序列关联的特征信息。With reference to the second aspect or the foregoing various possible implementation manners of the foregoing aspect, in a fifth possible implementation, the candidate feature information is: associated with the relative scrambling code sequence participating in the descrambling process Characteristic information.
结合第二方面或第二方面前述的各种可能的实现方式,在第六种可能的实现方式中,在采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理的步骤之前还包括:With reference to the second aspect or the foregoing various possible implementation manners of the second aspect, in a sixth possible implementation, the interference processing is performed by using a relative scrambling code sequence, and the obtained descrambling result is decoded and Before the step of judging the processing, the method further includes:
通过计算所述两段待译码的数据块中携带的两个待译码的特征信息的相关性,得出与所述相关性匹配的相对扰码序列,得出的所述相对扰码序列为参与所述解扰处理的相关扰码序列。Calculating a relative scrambling code sequence that matches the correlation by calculating a correlation between two pieces of feature information to be decoded carried in the two blocks of data blocks to be decoded, and the obtained relative scrambling code sequence To participate in the relevant scrambling code sequence of the descrambling process.
第三方面,本发明实施例还提供一种译码方法,所述方法包括:In a third aspect, an embodiment of the present invention further provides a decoding method, where the method includes:
接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;Receiving two pieces of data blocks to be decoded adjacent to each other before and after, the data block to be decoded carries the feature information to be decoded;
通过计算所述两段待译码的数据块中携带的两个待译码的特征信息的相关性,得出与所述相关性匹配的相对扰码序列,采用所述相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待译码的数据块中所携带的待译码的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;Calculating a correlation of the two pieces of information to be decoded carried in the data blocks to be decoded, and obtaining a relative scrambling code sequence that matches the correlation, and using the relative scrambling code sequence to The feature information to be decoded carried in the data block to be decoded is descrambled to obtain the descrambled feature information, and the descrambled feature information is used in the data block to be decoded in the previous segment. Carrying the feature information to be decoded and combining the decoding process; and determining the feature information after the decoding process;
在参与判断的特征信息为正确的情况下,将判断为正确的特征信息输出。When the feature information participating in the judgment is correct, the feature information judged to be correct is output.
第四方面,本发明实施例还提供一种数据处理装置,所述数据处理装置包括:In a fourth aspect, the embodiment of the present invention further provides a data processing apparatus, where the data processing apparatus includes:
第一编码模块,用于将多段待编码的数据块进行Polar码编码得到编码后的数据块,其中所述多段待编码数据块中的每段待编码数据块中携带特征信息,所述特征信息经过Polar码编码后,前后两个相邻的待编码数据块所携带的特征信息之间的关系满足:后一 个待编码数据块所携带的特征信息采用对应的相对扰码序列解扰后得到前一个待编码数据块所携带的特征信息;a first encoding module, configured to perform a Polar code encoding on a plurality of data blocks to be encoded to obtain a coded data block, where each piece of the data block to be encoded in the plurality of pieces of data to be encoded carries feature information, and the feature information After the Polar code is encoded, the relationship between the feature information carried by the two adjacent data blocks to be encoded is satisfied: the feature information carried by the latter data block to be coded is descrambled by using the corresponding relative scrambling code sequence. Characteristic information carried by a data block to be encoded;
接口模块用于将多段编码后的数据块,按照所述前后相邻的顺序输出。The interface module is configured to output the multi-segment encoded data blocks in the order of the adjacent ones.
第五方面,本发明实施例还提供一种数据处理装置,所述数据处理装置包括:In a fifth aspect, an embodiment of the present invention further provides a data processing apparatus, where the data processing apparatus includes:
接收模块,用于接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;a receiving module, configured to receive two pieces of data blocks to be decoded that are adjacent to each other before and after, and the data block to be decoded carries feature information to be decoded;
第一译码模块,用于采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理,所述采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理具体包括:采用一个相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待译码的数据块中所携带的待译码的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;在参与判断的特征信息为错误的情况下,采用另一个相对扰码序列参与所述解扰,并对得到的解扰结果进行译码及判断处理。a first decoding module, configured to participate in descrambling processing by using a relative scrambling code sequence, and perform decoding and judging processing on the obtained descrambling result, wherein the relative scrambling code sequence is used to participate in descrambling processing, and the obtained Decoding the decoding result and determining the processing specifically includes: using a relative scrambling code sequence to descramble the feature information to be decoded carried in the data block to be decoded in the subsequent segment, and obtaining the descrambled feature information, Decoding the feature information and combining the feature information to be decoded carried in the data block to be decoded in the previous segment to perform decoding processing; and determining the decoded feature information; When the feature information participating in the judgment is an error, another relative scrambling code sequence is used to participate in the descrambling, and the obtained descrambling result is decoded and judged.
第六方面,本发明实施例还提供一种数据处理装置,所述数据处理装置包括:In a sixth aspect, the embodiment of the present invention further provides a data processing apparatus, where the data processing apparatus includes:
接收模块,用于接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;a receiving module, configured to receive two pieces of data blocks to be decoded that are adjacent to each other before and after, and the data block to be decoded carries feature information to be decoded;
第二译码模块,用于通过计算所述两段待译码的数据块中携带的两个待译码的特征信息的相关性,得出与所述相关性匹配的相对扰码序列,采用所述相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待译码的数据块中所携带的待译码的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;a second decoding module, configured to calculate a correlation between the two pieces of information to be decoded carried in the data block to be decoded, and obtain a relative scrambling code sequence that matches the correlation, The relative scrambling code sequence descrambles the feature information to be decoded carried in the data block to be decoded in the subsequent segment to obtain the descrambled feature information, and the descrambled feature information and the previous segment Decoding the feature information to be decoded carried in the data block to be decoded and performing decoding processing; and determining the feature information after the decoding process;
所述接收模块进一步用于在参与判断的特征信息为正确的情况下,将判断为正确的特征信息输出。The receiving module is further configured to output the feature information determined to be correct if the feature information participating in the determination is correct.
第七方面,本发明实施例提供一种通信装置,所述通信装置包括:处理器、以及与所述处理器信号互联的存储器,当所述通信装置运行时,所述处理器读取并执行所述存储器中的指令或者运行自身的硬件逻辑电路,以使所述通信装置执行所述第一至第三方面中所述的方法中的任意一种方法的各种实施例。In a seventh aspect, an embodiment of the present invention provides a communication device, where the communication device includes: a processor, and a memory interconnected with the processor, when the communication device is running, the processor reads and executes The instructions in the memory or run their own hardware logic to cause the communication device to perform various embodiments of any of the methods described in the first to third aspects.
在第七方面的第一种可能的实现方式中,所述存储器用于存储所述指令,所述存储器可以独立于所述处理器之外,也可以集成在所述处理器之中。In a first possible implementation of the seventh aspect, the memory is configured to store the instructions, and the memory may be independent of the processor or integrated in the processor.
结合第七方面或第七方面前述的各种可能的实现方式,在第二种可能的实现方式中,所述通信装置还可以进一步包括收发器,用于接收和/或发送数据。In conjunction with the foregoing various possible implementations of the seventh aspect or the seventh aspect, in a second possible implementation, the communications apparatus may further include a transceiver for receiving and/or transmitting data.
本申请的实施例的又一方面还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another aspect of an embodiment of the present application also provides a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the methods described in the above aspects .
本申请的实施例的又一方面还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another aspect of an embodiment of the present application also provides a computer program product comprising instructions that, when executed on a computer, cause the computer to perform the methods described in the various aspects above.
附图说明DRAWINGS
图1是本发明实施例中的无线通信系统的示意图;1 is a schematic diagram of a wireless communication system in an embodiment of the present invention;
图2是发明实施例中的Polar码的编码过程的示意图;2 is a schematic diagram of a coding process of a Polar code in an embodiment of the invention;
图3是发明实施例提供的一种数据编码方法的流程示意图;3 is a schematic flowchart of a data encoding method according to an embodiment of the present invention;
图4是图3所示的数据编码方法的一种具体实现方式的流程示意图;4 is a schematic flow chart of a specific implementation manner of the data encoding method shown in FIG. 3;
图5是图3所示的数据编码方法的一种具体实现方式的流程示意图;FIG. 5 is a schematic flowchart diagram of a specific implementation manner of the data encoding method shown in FIG. 3;
图6是发明实施例提供的一种译码方法的流程示意图;FIG. 6 is a schematic flowchart of a decoding method according to an embodiment of the present invention;
图7是发明实施例提供的另一种译码方法的流程示意图;FIG. 7 is a schematic flowchart diagram of another decoding method according to an embodiment of the present invention;
图8是图3所示的数据编码方法的一种具体实现方式的流程示意图;8 is a schematic flowchart of a specific implementation manner of the data encoding method shown in FIG. 3;
图9是本发明实施例提供的数据处理装置的结构示意图;FIG. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention;
图10是本发明实施例提供的另一种数据处理装置的结构示意图;FIG. 10 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention;
图11是本发明实施例提供的再一种数据处理装置的结构示意图;以及FIG. 11 is a schematic structural diagram of still another data processing apparatus according to an embodiment of the present invention;
图12是本发明实施例提供的通信装置的结构示意图。FIG. 12 is a schematic structural diagram of a communication apparatus according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例可应用于各种通信系统,例如:无线通信系统等。因此,下面的描述不限制于特定通信系统。全球移动通讯(Global System of Mobile communication,简称“GSM”)系统、码分多址(Code Division Multiple Access,简称“CDMA”)系统、宽带码分多址(Wideband Code Division Multiple Access,简称“WCDMA”)系统、通用分组无线业务(General Packet Radio Service,简称“GPRS”)、长期演进(Long Term Evolution,简称“LTE”)系统、LTE频分双工(Frequency Division Duplex,简称“FDD”)系统、LTE时分双工(Time Division Duplex,简称“TDD”)、通用移动通信系统(Universal Mobile Telecommunication System,简称“UMTS”)等。在上述的系统中的基站或者终端使用传统Turbo码、LDPC码编码处理的信息或者数据都可以使用本实施例中的Polar码编码。The embodiments of the present invention are applicable to various communication systems, such as wireless communication systems and the like. Therefore, the following description is not limited to a particular communication system. Global System of Mobile communication ("GSM") system, Code Division Multiple Access ("CDMA") system, Wideband Code Division Multiple Access (WCDMA) System, General Packet Radio Service ("GPRS"), Long Term Evolution (LTE) system, LTE Frequency Division Duplex ("FDD") system, LTE Time Division Duplex ("TDD"), Universal Mobile Telecommunication System (UMTS), and the like. The information or data processed by the base station or the terminal in the above system using the conventional turbo code and LDPC code encoding can be encoded by the Polar code in this embodiment.
其中,基站可以是用于与终端设备进行通信的设备,例如,可以是GSM系统或CDMA中的基站(Base Transceiver Station,BTS),也可以是WCDMA系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者该基站可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的网络侧设备等。The base station may be a device for communicating with the terminal device, for example, may be a base station (Base Transceiver Station, BTS) in the GSM system or CDMA, or a base station (NodeB, NB) in the WCDMA system, or It is an evolved base station (Evolutional Node B, eNB or eNodeB) in the LTE system, or the base station can be a relay station, an access point, an in-vehicle device, a wearable device, and a network side device in a future 5G network.
终端可以是经无线接入网(Radio Access Network,RAN)与一个或多个核心网进行通信,终端可以指用户设备(User Equipment,UE)、终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、无线通信设备、用户代理或用户装置。终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备等。The terminal may communicate with one or more core networks via a Radio Access Network (RAN), and the terminal may refer to a User Equipment (UE), a terminal, a subscriber unit, a subscriber station, a mobile station, and a mobile station. , remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user device. The terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and a wireless communication function. Handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in future 5G networks, and the like.
本文的各个实施例中的通信系统可以为无线通信系统,图1示出了一种无线通信系统100。系统100包括基站102,基站可包括多个天线组。例如,一个天线组可包括天线104和106,另一个天线组可包括天线108和110,附加组可包括天线112和114。对于每个天线组示出了2个天线,然而可对于每个组使用更多或更少的天线。基站102可包括发射机链和接收机链,本领域普通技术人员可以理解,它们均可包括与信号发送和接收相关的多个部件,例如处理器、调制器、复用器、解调器、解复用器或天线等。The communication system in various embodiments herein may be a wireless communication system, and FIG. 1 illustrates a wireless communication system 100. System 100 includes a base station 102 that can include multiple antenna groups. For example, one antenna group may include antennas 104 and 106, another antenna group may include antennas 108 and 110, and additional groups may include antennas 112 and 114. Two antennas are shown for each antenna group, however more or fewer antennas may be used for each group. Base station 102 can include a transmitter chain and a receiver chain, as will be understood by those of ordinary skill in the art, which can include various components associated with signal transmission and reception, such as processors, modulators, multiplexers, demodulators, Demultiplexer or antenna.
基站102可以与一个或多个终端,例如终端116和终端122,通信。然而,可以理解,基站102可以与类似于终端116和122的任意数目的终端通信。终端116和122可以是例如蜂窝电话、智能电话、便携式电脑、手持通信设备、手持计算设备、卫星无线电装置、全球定位系统、PDA和/或用于在无线通信系统100上通信的任意其它适合设备。如图所示,终端116与天线112和114通信,其中天线112和114通过前向链路118向终端116发送信息,并通过反向链路120从终端116接收信息。此外,终端122与天线104和106通信,其中天线104和106通过前向链路124向终端122发送信息,并通过反向链路126从终端122接收信息。在频分双工(Frequency Division Duplex,简称为“FDD”)系统中,例如,前向链路118可利用与反向链路120所使用的频带不同的频带,前向链路124可利用与反向链路126所使用的频带不同的频带。此外,在时分双工(Time Division Duplex,简称为“TDD”)系统中,前向链路118和反向链路120可使用共同频带,前向链路124和反向链路126可使用共同频带。 Base station 102 can communicate with one or more terminals, such as terminal 116 and terminal 122. However, it will be appreciated that base station 102 can communicate with any number of terminals similar to terminals 116 and 122. Terminals 116 and 122 can be, for example, cellular telephones, smart phones, portable computers, handheld communication devices, handheld computing devices, satellite radios, global positioning systems, PDAs, and/or any other suitable device for communicating over wireless communication system 100. . As shown, terminal 116 is in communication with antennas 112 and 114, with antennas 112 and 114 transmitting information to terminal 116 over forward link 118 and receiving information from terminal 116 over reverse link 120. In addition, terminal 122 is in communication with antennas 104 and 106, wherein antennas 104 and 106 transmit information to terminal 122 over forward link 124 and receive information from terminal 122 over reverse link 126. In a Frequency Division Duplex ("FDD") system, for example, the forward link 118 may utilize a different frequency band than that used by the reverse link 120, and the forward link 124 may utilize The frequency bands used by the reverse link 126 are different in frequency bands. Moreover, in a Time Division Duplex ("TDD") system, the forward link 118 and the reverse link 120 can use a common frequency band, and the forward link 124 and the reverse link 126 can be used together. frequency band.
被设计用于通信的每组天线和/或区域称为基站102的扇区。例如,可将天线组设计为与基站102覆盖区域的扇区中的终端通信。在通过前向链路118和124的通信中,基站102的发射天线可利用波束成形来改善针对终端116和122的前向链路118和124的信噪比。此外,与基站通过单个天线向它所有的终端发送相比,在基站102利用波束成形向相关覆盖区域中随机分散的终端116和122发送时,相邻小区中的移动设备会受到较少的干扰。Each set of antennas and/or regions designed for communication is referred to as a sector of base station 102. For example, the antenna group can be designed to communicate with terminals in sectors of the coverage area of base station 102. In communication over forward links 118 and 124, the transmit antennas of base station 102 may utilize beamforming to improve the signal to noise ratio for forward links 118 and 124 of terminals 116 and 122. In addition, mobile devices in adjacent cells are less subject to interference when the base station 102 transmits to the randomly dispersed terminals 116 and 122 in the relevant coverage area as compared to the base station transmitting to all of its terminals through a single antenna. .
在给定时间,基站102、终端116和/或终端122可以是发送无线通信装置和/或接收无线通信装置。当发送数据时,发送无线通信装置可对数据进行编码以用于传输。具体地,发送无线通信装置要通过信道发送至接收无线通信装置的一定数目的信息比特。这种信息比特可包含在数据的传输块或多个传输块中,所述传输快可被分段以产生多个码块。此外,发送无线通信装置可使用极性码编码器来对每个码块编码,以提高数据传输的可靠性,进而保证通信质量。At a given time, base station 102, terminal 116, and/or terminal 122 may be transmitting wireless communication devices and/or receiving wireless communication devices. When transmitting data, the transmitting wireless communication device can encode the data for transmission. Specifically, the transmitting wireless communication device is to be transmitted over a channel to a certain number of information bits of the receiving wireless communication device. Such information bits may be included in a transport block or a plurality of transport blocks of data, which may be segmented to produce a plurality of code blocks. In addition, the transmitting wireless communication device can encode each code block using a polar code encoder to improve the reliability of data transmission, thereby ensuring communication quality.
在第五代(5th Generation,5G)通信系统以及后续更多可能的通信系统中定义了三大类场景,分别为增强移动宽带(英文:enhanced Mobile Broadband,简称:eMBB),超可靠低延时通信(英文:Ultra Reliable Low Latency Communications,简称:URLLC)和大规模物联网通信(英文:massive Machine Type Communications,缩写:mMTC)。其中,eMBB业务主要包含超高清视频、增强现实AR、虚拟现实VR等等,主要特点是传输数据量大、传输速率很高。URLLC业务主要是用于物联网中的工业控制、无人驾驶等,主要特点是超高可靠性、低延时,传输数据量较少以及具有突发性。mMTC业务主要是用于 物联网中的智能电网、智慧城市等,主要特点是海量设备连接、传输数据量小、容忍较长时间的延时。In the fifth-generation (5th generation, 5G) communication system and subsequent more possible communication systems, three types of scenarios are defined, namely enhanced mobile broadband (English: enhanced mobile broadband) (eMBB), ultra-reliable low-latency Communication (English: Ultra Reliable Low Latency Communications, URLLC) and large-scale Internet of Things (English: massive Machine Type Communications, abbreviation: mMTC). Among them, the eMBB service mainly includes ultra high definition video, augmented reality AR, virtual reality VR, etc. The main feature is that the transmission data volume is large and the transmission rate is high. The URLLC service is mainly used for industrial control and unmanned driving in the Internet of Things. The main features are ultra-high reliability, low latency, low transmission data and burstiness. The mMTC service is mainly used for smart grids and smart cities in the Internet of Things. The main features are the connection of mass devices, the small amount of data transmitted, and the delay of tolerating for a long time.
在3GPP(英文:3rd Generation Partnership Project,中文:第三代合作伙伴计划)RAN1(英文:Radio Access Network,中文:无线接入网)87次会议上,极性Polar码正式接收为5G eMBB(英文:enhanced Mobile Broadband)场景的上下行控制信道的信道编码方案。At the 87th meeting of 3GPP (English: 3rd Generation Partnership Project) RAN1 (English: Radio Access Network, Chinese: Radio Access Network), the polar Polar code was officially received as 5G eMBB. :enhanced Mobile Broadband) The channel coding scheme of the uplink and downlink control channels of the scenario.
通信系统通常采用信道编码提高数据传输的可靠性,保证通信的质量。极化(Polar)码是理论上证明可以取得香农容量,且具有简单的编码和译码方法的编码方式。Polar码是一种线性块码。其生成矩阵为G N,其编码过程为
Figure PCTCN2018080835-appb-000001
其中,
Figure PCTCN2018080835-appb-000002
是一个二进制的行矢量,
Figure PCTCN2018080835-appb-000003
码长N=2 n,其中,n为正整数。
Figure PCTCN2018080835-appb-000004
Figure PCTCN2018080835-appb-000005
是F 2的克罗内克乘积,定义为
Figure PCTCN2018080835-appb-000006
Communication systems usually use channel coding to improve the reliability of data transmission and ensure the quality of communication. The Polar code is a coding method that theoretically proves that the Shannon capacity can be obtained and has a simple encoding and decoding method. The Polar code is a linear block code. Its generator matrix is G N and its encoding process is
Figure PCTCN2018080835-appb-000001
among them,
Figure PCTCN2018080835-appb-000002
Is a binary line vector,
Figure PCTCN2018080835-appb-000003
The code length N = 2 n , where n is a positive integer.
Figure PCTCN2018080835-appb-000004
Figure PCTCN2018080835-appb-000005
Is the Kroneck product of F 2 , defined as
Figure PCTCN2018080835-appb-000006
Polar码的编码过程中,
Figure PCTCN2018080835-appb-000007
中的一部分比特用来携带信息,称为信息比特,这些信息比特的序号的集合记作A。另外的一部分比特置为收发端预先约定的固定值,称之为固定比特,其序号的集合用A的补集A c表示。这些固定比特通常被设为0,实际上,只需要收发端预先约定,固定比特序列可以被任意设置。从而,Polar码的编码比特序列可通过如下方法得到:
Figure PCTCN2018080835-appb-000008
这里
Figure PCTCN2018080835-appb-000009
Figure PCTCN2018080835-appb-000010
中的信息比特集合,
Figure PCTCN2018080835-appb-000011
为长度K的行矢量,即
Figure PCTCN2018080835-appb-000012
|·|表示集合中元素的数目,即K表示集合A中元素的数目,
Figure PCTCN2018080835-appb-000013
是矩阵G N中由集合A中的索引对应的那些行得到的子矩阵。
Figure PCTCN2018080835-appb-000014
是一个K×N的矩阵。在CRC(Cyclic Redundancy Check,循环冗余校验)辅助的增强SC(Successive Cancellation decoding,串行抵消译码)译码算法下,Polar码可以获取优于LDPC(low-density parity-check code,低密度奇偶校验码)和Turbo码的FER(frame error rate,误帧率)性能。
During the encoding of the Polar code,
Figure PCTCN2018080835-appb-000007
A part of the bits are used to carry information, called information bits, and the set of sequence numbers of these information bits is denoted as A. The other part of the bits is set to a fixed value pre-agreed by the transceiver, which is called a fixed bit, and the set of the sequence numbers is represented by the complement A c of A. These fixed bits are usually set to 0. In fact, only the transceiver end is required to be pre-agreed, and the fixed bit sequence can be arbitrarily set. Thus, the encoded bit sequence of the Polar code can be obtained by the following method:
Figure PCTCN2018080835-appb-000008
Here
Figure PCTCN2018080835-appb-000009
for
Figure PCTCN2018080835-appb-000010
a collection of information bits,
Figure PCTCN2018080835-appb-000011
a row vector of length K, ie
Figure PCTCN2018080835-appb-000012
|·| indicates the number of elements in the collection, ie K represents the number of elements in set A,
Figure PCTCN2018080835-appb-000013
Is a submatrix obtained from the rows corresponding to the indices in the set A in the matrix G N .
Figure PCTCN2018080835-appb-000014
Is a K × N matrix. Under the CRC (Cyclic Redundancy Check)-assisted Enhanced SC (Successive Cancellation Decoding) decoding algorithm, the Polar code can be better than the low-density parity-check code (LDPC). Density parity check code) and FER (frame error rate) performance of Turbo code.
如图2所示,1个8x8的Polar码的编码过程如下:As shown in Figure 2, the encoding process of an 8x8 Polar code is as follows:
用数学的表达形式,Polar编码过程在GF(2)域上可表示为:uG=xIn mathematical expressions, the Polar coding process can be expressed in the GF(2) domain as: uG=x
其中,u是待编码的比特序列,x是编码后得到的编码比特序列。根据矩阵相乘的性质,可以得出:(u+p)G=x+qWhere u is the bit sequence to be encoded and x is the encoded bit sequence obtained after encoding. According to the nature of matrix multiplication, we can get: (u+p)G=x+q
其中,pG=q。p和q分别可以看做对u和x的扰码序列。因此,对编码前的信息端的比特(u)的线性操作,引起的编码比特序列(x)的变化,可以看做是对编码后的比特的加扰操作。Where pG=q. p and q can be regarded as scrambling sequences for u and x, respectively. Therefore, the linear operation of the bit (u) of the information side before encoding can cause a change in the encoded bit sequence (x) to be regarded as a scrambling operation on the encoded bit.
本发明的实施例是利用Polar编码矩阵的特点,构造针对待编码数据块中的比特序列u的扰码序列p,使得在一个发送周期内,各个待编码的数据块的编码比特序列x之间的相对扰码序列的种类尽可能少。如两个在信息端采用的扰码序列分别为p1,p2,则编码后的数据块中的比特序列所采用的扰码序列相对扰码序列为Δq=(p1+p2)G,这里的运算均是GF(2)的操作。The embodiment of the present invention utilizes the characteristics of the Polar coding matrix to construct a scrambling code sequence p for the bit sequence u in the data block to be encoded, so that between one coding bit sequence x of each data block to be coded in one transmission period The types of relative scrambling sequences are as small as possible. If the two scrambling code sequences used on the information side are respectively p1, p2, the scrambling code sequence used in the bit sequence in the encoded data block is Δq=(p1+p2)G, where the operation is performed. Both are operations of GF(2).
一方面,编码前的信息端的加扰与编码后的编码比特端的加扰等价,设计编码比特端的扰码序列相对扰码序列的种类尽可能少,等效于在信息端设计扰码序列,使信息端的扰码序列相对扰码序列的种类尽可能少。可基于此设计信息端的扰码序列,对于N个不同的扰码序列,使相对扰码序列的种类只有log 2N个。 On the one hand, the scrambling of the information end before encoding is equivalent to the scrambling of the encoded coded end, and the type of the scrambling code sequence of the coded bit end is designed to be as small as possible, which is equivalent to designing the scrambling sequence on the information side. The number of scrambling sequences of the information side relative to the scrambling sequence is as small as possible. Based on the scrambling code sequence of the design information end, for the N different scrambling code sequences, the types of the relative scrambling code sequences are only log 2 N.
在发送端,对于不同的时序信息,构造不同的p向量。每个时序信息采用向量u表示,采用不同的p向量加扰不同的待编码向量u,然后进行polar编码并发送。等价的,用相应的q向量加扰Polar编码后向量x。进行发送。可见,每个p向量都有对应的时序。At the transmitting end, different p vectors are constructed for different timing information. Each timing information is represented by a vector u, and different p vectors to be encoded are scrambled with different p vectors, and then polar coded and transmitted. Equivalently, the Polarated vector x is scrambled with the corresponding q vector. Send it. It can be seen that each p vector has a corresponding timing.
在接收端,接收两段前后相邻的PBCH信号,将后一段PBCH信号采用所述相对扰码序列解扰,并将解扰后的结果与前一段PBCH信号合并后,采用polar译码器译码,并使用CRC校验,如果通过,则译码成功。At the receiving end, two pieces of PBCH signals adjacent to each other are received, the latter PBCH signal is descrambled by using the relative scrambling code sequence, and the descrambled result is combined with the previous PBCH signal, and then translated by a polar decoder. Code, and use CRC check, if passed, the decoding is successful.
在待编码的数据块中需要携带时序信息的情况下,本发明的实施例提供了两种方式,一种是时序信息的显示传输,另一种是时序信息的隐式传输。时序信息的显示传输是指,一个发送周期内的各段待编码数据块中携带的特征信息不同。在一个发送周期内,各段待编码数据块中携带的特征信息用于指示各段待编码数据块的发送顺序。前后两段待编码数据块中携带的特征信息经过Polar码编码后,满足:后一个待编码数据块所携带的特征信息采用对应的相对扰码序列解扰后得到前一个待编码数据块所携带的特征信息。这样,通过相对扰码序列可以在接收端降低破解出所述特征信息的复杂度。In the case that the timing information needs to be carried in the data block to be encoded, the embodiment of the present invention provides two modes, one is display transmission of timing information, and the other is implicit transmission of timing information. The display transmission of the time series information means that the feature information carried in each piece of the data block to be encoded in one transmission period is different. The feature information carried in the data blocks to be encoded in each segment is used to indicate the sending order of the data blocks to be encoded in each segment. After the feature information carried in the two blocks of the data block to be coded is encoded by the Polar code, the feature information carried by the data block to be coded is descrambled by the corresponding relative scrambling code sequence to be carried by the previous block to be coded. Characteristic information. In this way, the complexity of cracking the feature information can be reduced at the receiving end by the relative scrambling code sequence.
时序信息的隐式传输是指,一个发送周期内的各段待编码数据块中携带的特征信息相同。通过对一个发送周期内的多段待编码数据块中携带的相同的特征信息,采用不同的扰码序列加扰,得出不同的加扰结果,所述不同的加扰结果用于指示所述一个发送周期内的多段待编码数据块的发送顺序。前后两段待编码数据块中携带的加扰后的特征信息经过Polar码编码后,满足:后一个待编码数据块所携带的加扰后的特征信息采用对应的相对扰码序列解扰后得到前一个待编码数据块所携带的加扰后的特征信息。这样,通过相对扰码序列可以在接收端降低破解出所述加扰后的特征信息的复杂度。Implicit transmission of timing information means that the feature information carried in each piece of data to be encoded in one transmission period is the same. Different scrambling results are obtained by scrambling different scrambling code sequences in the same plurality of pieces of data to be encoded in a transmission period, and the different scrambling results are used to indicate the one The order in which the plurality of pieces of data blocks to be encoded are transmitted in the transmission period. After the scrambled feature information carried in the two blocks of the data block to be coded is encoded by the Polar code, the scrambled feature information carried by the latter block to be coded is descrambled by using the corresponding relative scrambling code sequence. The scrambled feature information carried by the previous block to be encoded. In this way, the complexity of cracking the scrambled feature information can be reduced at the receiving end by the relative scrambling code sequence.
上述所有概念和举例均可以用于解释下面的实施例。All of the above concepts and examples can be used to explain the following embodiments.
如图3所示,本发明实施例提供一种数据编码方法,所述方法包括:As shown in FIG. 3, an embodiment of the present invention provides a data encoding method, where the method includes:
S101、将多段待编码的数据块进行Polar码编码得到编码后的数据块,其中所述多段待编码数据块中的每段待编码数据块中携带特征信息,所述特征信息经过Polar码编码后,前后两个相邻的待编码数据块所携带的特征信息之间的关系满足:后一个待编码数据块所携带的特征信息采用对应的扰码序列相对扰码序列解扰后得到前一个待编码数据块所携带的特征信息;S101. Perform a Polar code encoding on a plurality of data blocks to be encoded to obtain a coded data block, where each piece of the to-be-coded data block in the multi-segment to-be-coded data block carries feature information, and the feature information is encoded by a Polar code. The relationship between the feature information carried by the two adjacent data blocks to be encoded is satisfied: the feature information carried by the data block to be coded is descrambled by the corresponding scrambling code sequence to obtain the previous one. Encoding the feature information carried by the data block;
S102、将多段编码后的数据块,按照所述前后相邻的顺序输出。S102. Output the data blocks that are multi-segment encoded in the order in which they are adjacent to each other.
在上述编码方法的实施例中,通过采用相对扰码序列,约束前后相邻两段待编码数据块所携带的特征信息之间的关系,从而降低在接收端破解出正确的特征信息的复杂度。In the foregoing embodiment of the encoding method, by using a relative scrambling code sequence, the relationship between the feature information carried by the adjacent two segments of the data block to be encoded is constrained, thereby reducing the complexity of cracking the correct feature information at the receiving end. .
在上述编码方法的实施例中,所述特征信息可以为经过加扰之后的特征信息。In an embodiment of the foregoing encoding method, the feature information may be feature information after scrambling.
在上述编码方法的实施例中,所述多段待编码的数据块中所携带的特征信息可以是不同的,也可以是相同的。In the foregoing embodiment of the encoding method, the feature information carried in the plurality of data blocks to be encoded may be different or the same.
在上述编码方法的实施例中,所述特征信息可以为时序信息,这种实现方式属于显示传输所述时序信息。In an embodiment of the foregoing encoding method, the feature information may be time series information, and the implementation manner belongs to displaying and transmitting the time series information.
所述时序信息显示发送所述多段编码后的数据块的顺序。所述特征信息是指与所述多段待编码数据块的发送端相关的信息,或者是指与所述多段待编码数据块的接收端相关的信息,或者是指与携带所述特征信息的待编码的数据块相关的信息,或者是指与所述多段编码后的数据块的发送方式相关的信息。The timing information displays an order in which the plurality of encoded data blocks are transmitted. The information about the information about the transmitting end of the data block to be encoded, or the information related to the receiving end of the data block to be encoded, or the information to be carried The information related to the encoded data block or the information related to the manner in which the multi-segment encoded data block is transmitted.
在所述特征信息为时序信息的情况下,所述将多段编码后的数据块,按照所述前后相邻的顺序输出,包括:In the case that the feature information is time series information, the data blocks that are multi-segment encoded are output in the order of the adjacent ones before and after, including:
将多段编码后的数据块,按照所述时序信息显示的顺序输出。The multi-segment encoded data blocks are output in the order in which the timing information is displayed.
在上述编码方法的实施例中,所述多段编码后的数据块,可以按照所述时序信息显示的顺序在广播信道中传输。In an embodiment of the foregoing encoding method, the multi-segment encoded data blocks may be transmitted in a broadcast channel in the order in which the timing information is displayed.
在上述编码方法的实施例中,所述多段待编码数据块是指在一个传输周期(或者发送周期)内发送的的多段待编码数据块。并且,进一步来讲,在一个传输周期内,不同的待编码数据块中所携带的时序信息是不同的。In the above embodiment of the encoding method, the multi-segment data block to be encoded refers to a plurality of pieces of data blocks to be encoded transmitted in one transmission period (or transmission period). Moreover, further, the timing information carried in different data blocks to be encoded is different in one transmission period.
在上述编码方法的实施例中,所述多段待编码的数据块所携带的多个所述时序信息用于显示所述多段待编码数据块在发送时的发送顺序。但是,所述多个时序信息的取值并不一定是顺序排列的,只要在一个发送周期内,各段待编码的数据块所携带的时序信息是不同的即可。In an embodiment of the foregoing encoding method, the plurality of pieces of timing information carried by the plurality of pieces of data blocks to be encoded are used to display a sending order of the plurality of pieces of data blocks to be encoded when being transmitted. However, the values of the plurality of timing information are not necessarily sequentially arranged, as long as the timing information carried by the data blocks to be encoded in each segment is different in one transmission period.
这多段的待编码的数据块中,每前后相邻的两个待编码数据块的特征信息之间可以构建出相对扰码序列。不同的前后相邻的两个待编码数据块的特征信息之间构建出的相对扰码序列可能是相同的,也可能是不同的。所述特征信息的取值,可以按照在一个发送周期内的,在针对每两个前后相邻的待编码的数据块的特征信息之间构建相对扰码序列时,如何构建出更多的相同的相对扰码序列为目标。In the plurality of data blocks to be encoded, a relative scrambling code sequence can be constructed between the feature information of each of the two adjacent data blocks to be encoded. The relative scrambling code sequences constructed between the feature information of two adjacent to-be-coded data blocks may be the same or different. The value of the feature information may be constructed according to how to construct a relatively identical scrambling code sequence between feature information of each of the two adjacent data blocks to be encoded in one transmission period. The relative scrambling sequence is the target.
关于相对扰码序列的构造过程可以参考下面具体的例子,下述例子中任何细节特征均可独立的并入上述的实施例中:Regarding the construction process of the relative scrambling code sequence, reference may be made to the following specific examples, and any of the detailed features in the following examples can be independently incorporated into the above embodiments:
如图4所示,本发明实施例的数据编码方法,在所述将多段待编码数据块进行Polar码编码得到编码后的数据块的步骤之前还可以包括:As shown in FIG. 4, the data encoding method of the embodiment of the present invention may further include: before the step of performing the Polar code encoding of the plurality of pieces of data to be encoded to obtain the encoded data block, the method further includes:
S100、将待发送的待编码数据块进行CRC(Cyclic Redundancy Check)编码,并将CRC编码后的比特映射到信息比特,在静态冻结比特放置发送端和接收端约定的固定值。S100: Perform a CRC (Cyclic Redundancy Check) encoding on the to-be-coded data block to be sent, and map the CRC-encoded bit to the information bit, and place a fixed value agreed by the transmitting end and the receiving end in the static frozen bit.
在所述特征信息为时序信息的情况下,待发送的待编码数据块i指在一个发送周期内第i次传输的数据,所述待发送的待编码数据块i包括所述时序信息。在一个发送周期内,不同的待编码数据块中的时序信息不同,即待编码数据块传输时的时序不同,导 致待发送的待编码数据块也不同。假设系统帧号共10个比特,待发送的待编码数据块的数据格式为[b k…b 0,a 9,a 8,a 7,a 6,a 5,a 4,a 3,a 2,a 1,a 0],其中,b k…b 0为其他系统信息,a 9,a 8,a 7,a 6,a 5,a 4,a 3,a 2,a 1,a 0为系统帧号,a 0为低位。经16-bit CRC编码后数据为[b k…b 0,a 9,a 8,a 7,a 6,a 5,a 4,a 3,a 2,a 1,a 0,c 15,c 14,…c 1,c 0],其中c 15,c 14,…c 1,c 0为CRC比特。 In the case where the feature information is time series information, the to-be-encoded data block i to be transmitted refers to the data transmitted ith in a transmission period, and the to-be-coded data block i to be transmitted includes the timing information. In a transmission period, the timing information in different data blocks to be encoded is different, that is, the timings of the data blocks to be encoded are different, and the data blocks to be transmitted are also different. Assuming that the system frame number has a total of 10 bits, the data format of the data block to be transmitted to be transmitted is [b k ... b 0 , a 9 , a 8 , a 7 , a 6 , a 5 , a 4 , a 3 , a 2 , a 1 , a 0 ], where b k ... b 0 are other system information, a 9 , a 8 , a 7 , a 6 , a 5 , a 4 , a 3 , a 2 , a 1 , a 0 System frame number, a 0 is low. The data after 16-bit CRC encoding is [b k ... b 0 , a 9 , a 8 , a 7 , a 6 , a 5 , a 4 , a 3 , a 2 , a 1 , a 0 , c 15 , c 14 , ... c 1 , c 0 ], where c 15 , c 14 , ... c 1 , c 0 are CRC bits.
本发明上述实施例可以应用于物理广播信道。物理广播信道(英文:Physical Broadcast Channel,缩写:PBCH)一般承载主信息块(英文:Master Information Block,缩写:MIB)。比如LTE的PBCH设计中,MIB的长度为24比特,MIB包含下行链路系统带宽,PHICH(英文:Physical Hybrid ARQ Indicator Channel,中文:物理混合自动重传请求指示信道)大小,以及系统帧号(英文:System Frequency Number,简称:SFN)的高八位等内容。这个是LTE中PBCH的配置,如果是显示传输,需要把10个bit的SFN信息全部放进MIB中。基站首先对要发送的MIB进行循环冗余校验(英文:Cyclical Redundancy Check,缩写:CRC)编码,得到16位CRC序列,然后基站将40比特长的序列(包含24bits的MIB和16bits的CRC)进行信道编码以及速率匹配后得到编码序列,将该编码序列分段得到4个大小相等的PBCH独立单元,基站完成后续的调制、映射和发送流程。The above embodiments of the present invention can be applied to a physical broadcast channel. The physical broadcast channel (English: Physical Broadcast Channel, abbreviation: PBCH) generally carries a master information block (English: Master Information Block, abbreviation: MIB). For example, in the PBCH design of LTE, the length of the MIB is 24 bits, the MIB includes the downlink system bandwidth, the PHICH (English: Physical Hybrid ARQ Indicator Channel, Chinese: physical hybrid automatic repeat request indication channel) size, and the system frame number ( English: System Frequency Number, referred to as: SFN), the high eight and so on. This is the configuration of the PBCH in LTE. If it is a display transmission, it is necessary to put all 10 bits of SFN information into the MIB. The base station first performs a Cyclic Redundancy Check (CRC) encoding on the MIB to be transmitted to obtain a 16-bit CRC sequence, and then the base station will have a 40-bit long sequence (including a 24-bit MIB and a 16-bit CRC). The channel coding and the rate matching are performed to obtain a coding sequence, and the coding sequence is segmented to obtain four equal-sized PBCH independent units, and the base station performs subsequent modulation, mapping, and transmission processes.
其中,PBCH的信道编码采用极化码编码。在对4个PBCH独立单元执行调制以及映射等流程后在40ms(4个无线帧的传输时间,每个无线帧10ms)的时间窗口内发送。在隐式传输时,4个PBCH独立单元中参与编码的比特相同,编码后的比特也相同。但是显示传输时,4个PBCH独立单元中参与编码的比特不相同,编码后的比特也不相同。The channel coding of the PBCH is coded using a polarization code. After performing modulation and mapping processes on four PBCH independent units, the transmission is performed within a time window of 40 ms (transmission time of 4 radio frames, 10 ms per radio frame). In the implicit transmission, the bits participating in the coding in the four PBCH independent units are the same, and the encoded bits are also the same. However, when the transmission is displayed, the bits participating in the coding in the four PBCH independent units are different, and the encoded bits are also different.
因为4个PBCH独立单元携带相同的编码比特,因此信道质量足够好的情况下,接收端只接收40ms内的一个PBCH独立单元就成功完成译码以及CRC校验的操作。接收端译码成功后,得到发送端是在40ms内的第几个无线帧发送MIB,即知道了SFN信息。Because the four PBCH independent units carry the same coded bits, if the channel quality is good enough, the receiver can only successfully complete the decoding and CRC check operations by receiving only one PBCH independent unit within 40 ms. After the decoding of the receiving end is successful, the transmitting terminal sends the MIB in the first few radio frames within 40 ms, that is, the SFN information is known.
对于信道质量较差的情况,接收端如果只接收一个PBCH独立单元不能成功译码,就与下一个10ms发送的PBCH独立单元进行软合并再进行译码,直到成功译码。For the case of poor channel quality, if the receiving end only receives one PBCH independent unit and cannot successfully decode, it will perform soft combining with the next PBCH independent unit transmitted in the next 10ms and then decode it until successful decoding.
如果一个PBCH周期中传输四个PBCH独立单元(也可以称为数据块),则在一个周期内,四个PBCH独立单元中b k…b 0和系统帧号中的a 9,a 8,a 7,a 6,a 5,a 4,a 3,a 2均相同,a 1,a 0按照时序变化,即时序信息具有如下四种:0->1->2->3,如果按照二进制表示则为:00->01->10->11。通过一个周期内的所有PBCH独立单元中的系统帧号中的不同的部分作为时序信息,放入数据块中进行编码后传输,这种方式属于显示传输。 If four PBCH independent units (which may also be referred to as data blocks) are transmitted in one PBCH cycle, b k ... b 0 in four PBCH independent units and a 9 , a 8 , a in the system frame number in one cycle 7 , a 6 , a 5 , a 4 , a 3 , a 2 are the same, a 1 , a 0 change according to time series, that is, the timing information has the following four types: 0->1->2->3, if according to binary The representation is: 00->01->10->11. The different parts of the system frame numbers in all PBCH independent units in one cycle are used as timing information, and are put into data blocks for encoding and transmission. This method belongs to display transmission.
由于CRC也为线性码,即a编码得到的CRC比特CRC(a),则a+b编码得到的CRC比特为CRC(a+b),一个周期内传输的4个数据块的CRC分别记为CRC(00),CRC(01),CRC(10),CRC(11)。把前一次传输的数据块中的时序信息作为基准,则后一次传输的数据块中的时序信息可以看成对前一次传输的数据块中的时序信息的加扰,加扰的序列称为相对扰码序列。对于上述一个周期内传输的4个数据块,前后相邻的两次传输的数据块在编码前的信息端的相对扰码序列分别为:Since the CRC is also a linear code, that is, the CRC bit CRC(a) obtained by a coding, the CRC bits obtained by a+b coding are CRC(a+b), and the CRCs of the four data blocks transmitted in one cycle are respectively recorded as CRC (00), CRC (01), CRC (10), CRC (11). By using the timing information in the previously transmitted data block as a reference, the timing information in the data block transmitted in the next transmission can be regarded as scrambling the timing information in the data block transmitted in the previous time, and the scrambled sequence is called relative Scrambling code sequence. For the four data blocks transmitted in the above one cycle, the relative scrambling sequence of the data blocks transmitted before and after the two adjacent data blocks before encoding is:
00(0)->01(1):[00…01CRC(0…01)]00(0)->01(1): [00...01CRC(0...01)]
01(1)->10(2):[00…11CRC(0…11)]01(1)->10(2): [00...11CRC(0...11)]
10(2)->11(3):[00…01CRC(0…01)]10(2)->11(3): [00...01CRC(0...01)]
前后相邻的两次传输的数据块在编码后的比特的相对扰码序列分别为:The relative scrambling sequences of the coded bits of the two transmitted data blocks adjacent to each other are:
Figure PCTCN2018080835-appb-000015
Figure PCTCN2018080835-appb-000015
表1Table 1
00000000与11111111之间的相对扰码序列是11111111,11111111与10101010之间的相对扰码序列是01010101,10101010与01010101之间的相对扰码序列是11111111。The relative scrambling code sequence between 00000000 and 11111111 is 11111111, the relative scrambling code sequence between 11111111 and 10101010 is 01010101, and the relative scrambling code sequence between 10101010 and 01010101 is 11111111.
不难发现,在编码前的信息端的相对扰码序列共有log 24=2种可能,经Polar编码后的编码比特的相对扰码序列也只有2种可能,分别是Polar([00…01CRC(0…01)])和Polar([00…11CRC(0…11)]),Polar(a)表示对a进行Polar编码。 It is not difficult to find that the relative scrambling sequence of the information end before encoding has a total of log 2 4=2 possibilities, and there are only two possibilities for the relative scrambling sequence of the encoded bits after Polar encoding, which are respectively Polar ([00...01 CRC( 0...01)]) and Polar([00...11CRC(0...11)]), Polar(a) indicates Polar encoding for a.
如果一个PBCH周期中传输8个PBCH独立单元(也可以称为数据块),则在一个周期内,b k…b 0和系统帧号中的a 9,a 8,a 7,a 6,a 5,a 4,a 3均不发生变化,a 2,a 1,a 0用于表示时序信息,在一个周期内,每个数据块的时序信息都是不同的,有如下8种,即0->1->2->3->4->5->6->7,如果用二进制表示则为:000->001->010->011->100->101->110->111。对于上述一个周期内传输的8个数据块,前后相邻的两次传输的数据块在编码前的信息端的相对扰码序列分别为: If 8 PBCH independent units (which may also be referred to as data blocks) are transmitted in one PBCH cycle, b k ... b 0 and a 9 , a 8 , a 7 , a 6 , a in the system frame number in one cycle 5 , a 4 , a 3 do not change, a 2 , a 1 , a 0 is used to represent timing information. In one cycle, the timing information of each data block is different, there are 8 kinds as follows, namely 0 ->1->2->3->4->5->6->7, if expressed in binary: 000->001->010->011->100->101->110-> 111. For the eight data blocks transmitted in the above one cycle, the relative scrambling sequence of the data blocks transmitted before and after the two adjacent data blocks before encoding is:
000(0)->001(1):[00…001CRC(0…001)]000(0)->001(1):[00...001CRC(0...001)]
001(1)->010(2):[00…011CRC(0…011)]001(1)->010(2): [00...011CRC(0...011)]
010(2)->011(3):[00…001CRC(0…001)]010(2)->011(3): [00...001CRC(0...001)]
011(3)->100(4):[00…111CRC(0…111)]011(3)->100(4): [00...111CRC(0...111)]
100(4)->101(5):[00…001CRC(0…001)]100(4)->101(5): [00...001CRC(0...001)]
101(5)->110(6):[00…011CRC(0…011)]101(5)->110(6): [00...011CRC(0...011)]
110(6)->111(7):[00…001CRC(0…001)]110(6)->111(7): [00...001CRC(0...001)]
即信息端的相对扰码序列共有log 28=3种可能,经Polar编码后的编码比特的相对扰码序列也只有3种可能,分别是Polar([00…001CRC(0…001)])、Polar([00…011CRC(0…011)])和Polar([00…111CRC(0…111)])。把影响相对扰码序列的部分列成表,如表2所示。 That is, the relative scrambling sequence of the information end has a total of log 2 8=3 possibilities, and the relative scrambling sequence of the encoded bits after the Polar encoding has only three possibilities, namely Polar ([00...001CRC(0...001)]), Polar([00...011CRC(0...011)]) and Polar([00...111CRC(0...111)]). The parts affecting the relative scrambling sequence are listed as a table, as shown in Table 2.
Figure PCTCN2018080835-appb-000016
Figure PCTCN2018080835-appb-000016
表2Table 2
表2中显示的是经过编码后的时序信息与相对扰码序列之间的关系。可以看出,在本发明的实施例中,编码后的数据块的中的特征信息的扰码序列相对扰码序列可以共有log 2N个,其中N是指一个发送周期内发送的待编码的数据块的数量,或者是指一个接收周期内接收的待译码的数据块的数量。这样,扰码序列相对扰码序列的种类比较少。在扰码序列相对扰码序列的种类比较少的情况下,在盲检的时候,仅需要通过较少数量的尝试,便可试出哪个是正确的相对扰码序列,并且接下来也可以得出,哪个是与所述相对扰码序列相关的正确的时序信息。 Shown in Table 2 is the relationship between the encoded timing information and the relative scrambling sequence. It can be seen that, in the embodiment of the present invention, the scrambling code sequence of the feature information in the encoded data block may have a total of log 2 N relative scrambling code sequences, where N refers to a to be encoded sent in one transmission period. The number of data blocks, or the number of data blocks to be decoded received within one receiving period. Thus, the scrambling code sequence has relatively few types of scrambling code sequences. In the case where the type of the scrambling code sequence is relatively small, in the case of blind detection, only a small number of attempts are required to try out which is the correct relative scrambling code sequence, and then it is also possible to obtain Out which is the correct timing information associated with the relative scrambling sequence.
在上述编码方法的实施例中,所述时序信息可以隐式传输。In an embodiment of the above encoding method, the timing information may be implicitly transmitted.
在隐式传输的方式中,所述多段待编码的数据块是属于一个发送周期内的待编码的数据块,在将多段待编码的数据块进行Polar码编码得到编码后的数据块的步骤之前或者之后还包括:In the implicit transmission mode, the multi-segment data block to be encoded belongs to a data block to be encoded in one transmission period, and before the step of encoding the data block to be encoded by the multi-segment data block to obtain the encoded data block Or later include:
S009、对所述多段待编码数据块中携带的特征信息采用不同的扰码序列加扰,其中,一个发送周期内的所述多段待编码数据块中携带的特征信息是相同的。S009: The feature information carried in the data block to be encoded is scrambled by using different scrambling code sequences, where the feature information carried in the multi-segment data block to be encoded in one transmission period is the same.
在本发明上述实施例中,通过对一个发送周期内的多段待编码数据块中携带的特征信息采用不同的扰码序列加扰,这样可以在加扰后,区分出一个发送周期内的多段待编码数据块。在一个发送周期内的多段待编码数据块中携带的特征信息是相同的情况下,可以采用这种方式区分一个发送周期内的各段待编码数据块,并且可以通过加扰后的所述特征信息指示一个发送周期内的各段待编码数据块的发送顺序。这种将发送顺序的信息(也就是时序信息),采用加扰后的特征信息来表示的方式属于隐式传输。In the foregoing embodiment of the present invention, the feature information carried in the multi-segment data block to be encoded in one transmission period is scrambled by using different scrambling code sequences, so that after the scrambling, the multi-segment waiting in one transmission period can be distinguished. Encoded data blocks. In the case that the feature information carried in the multi-segment data block to be coded in one transmission period is the same, the data block to be coded in each transmission period can be distinguished in this manner, and the feature can be obtained after scrambling The information indicates the order in which the data blocks to be encoded are transmitted in a transmission period. The way in which the information of the transmission order (that is, the time series information) is represented by the scrambled feature information is implicit transmission.
需要说明的是,所述S009步骤中的加扰处理,可以是针对所述多段待编码的数据块进行Polar码编码后得到编码后的数据块中的特征信息进行加扰,也可以是针对所述多段待编码的数据块在进行Polar码编码之前所携带的特征信息进行加扰。It should be noted that the scrambling process in the step S009 may be that the feature information in the encoded data block is scrambled by performing the Polar code encoding on the data block to be encoded in the multiple segments, or may be The plurality of pieces of data to be encoded are scrambled by the feature information carried before the Polar code is encoded.
如图5所示,本发明实施例的数据编码方法,对所述多段待编码数据块中携带的特征信息采用不同的扰码序列加扰之前还包括:As shown in FIG. 5, the data encoding method in the embodiment of the present invention further includes: before scrambling the feature information carried in the multi-segment data block to be encoded by using different scrambling code sequences:
S008、将待发送的待编码数据块进行CRC(Cyclic Redundancy Check)编码。S008: Perform a CRC (Cyclic Redundancy Check) encoding on the to-be-coded data block to be sent.
如图5所示,本发明实施例的数据编码方法,对所述多段待编码数据块中携带的特征信息采用不同的扰码序列加扰之后,并且在所述将多段待编码数据块进行Polar码编码得到编码后的数据块的步骤之前还可以包括:As shown in FIG. 5, in the data encoding method of the embodiment of the present invention, after the feature information carried in the multi-segment data block to be encoded is scrambled by using different scrambling code sequences, and the multi-segment data block to be encoded is subjected to Polar. The step of encoding the coded data block may further include:
S007、将加扰后的比特映射到信息比特,在静态冻结比特放置发送端和接收端约定 的固定值。S007: mapping the scrambled bits to the information bits, and placing the fixed values agreed by the transmitting end and the receiving end in the static frozen bits.
或者等效地,如图8所示,本发明实施例的数据编码方法,在将多段待编码的数据块进行Polar码编码得到编码后的数据块的步骤之后还可以包括:Or equivalently, as shown in FIG. 8, the data encoding method of the embodiment of the present invention may further include: after the step of performing the Polar code encoding of the data block to be encoded by the multi-segment to obtain the encoded data block:
S006、对所述多段待编码数据块中携带的特征信息,采用对应的扰码序列加扰。S006. The feature information carried in the multi-segment data block to be encoded is scrambled by using a corresponding scrambling code sequence.
下面举一个具体的例子,下述例子中任何细节特征均可独立的并入上述的实施例中:As a specific example below, any of the details of the following examples can be independently incorporated into the above embodiments:
具体来讲,在一个PBCH周期内的待发送数据是相同的,包括时序的部分高位信息。假设系统帧号共10个比特,待发送数据格式为[b k…b 0,a 9,a 8,…,a i],其中,b k…b 0为其他系统信息,a 9,…,a i为系统帧号的高位,低位不参与编码,经16-bit CRC编码后数据为[b k…b 0,a 9,…,a i,c 15,c 14,…c 1,c 0],其中c 15,c 14,…c 1,c 0为CRC比特。 Specifically, the data to be transmitted within one PBCH cycle is the same, including partial high-order information of the timing. Assuming that the system frame number has a total of 10 bits, the data format to be transmitted is [b k ... b 0 , a 9 , a 8 , ..., a i ], where b k ... b 0 is other system information, a 9 ,..., a i is the upper bit of the system frame number, and the lower bit does not participate in the encoding. After 16-bit CRC encoding, the data is [b k ... b 0 , a 9 ,..., a i , c 15 , c 14 ,...c 1 ,c 0 ], where c 15 , c 14 , ... c 1 , c 0 are CRC bits.
如果一个PBCH周期内,发送4个PBCH独立单元,则待编码的数据块中的内容为b k…b 0,a 9,a 8,a 7,a 6,a 5,a 4,a 3,a 2,即在一个周期内发送的所有PBCH独立单元中相同的部分。为了区分一个周期内发送所述PBCH独立单元的时序,用不同的扰码序列对Polar编码前的信息比特进行加扰,即CRC编码后的比特序列[b k…b 0,a 9,…,a i,c 15,c 14,…c 1,c 0]。如用0…00、0…01、0…10、0…11分别加扰时序0、1、2、3,即只对最后两个信息比特操作,则信息端的相对扰码序列分别为[0…01]、[0…11]、[0…01],加扰结果分别为[b k…b 0,a 9,…,a i,c 15,c 14,…c 1,c 0]、[b k…b 0,a 9,…,a i,c 15,c 14,…c 1,c 0+1]、[b k…b 0,a 9,…,a i,c 15,c 14,…c 1+1,c 0]、[b k…b 0,a 9,…,a i,c 15,c 14,…c 1+1,c 0+1]。若没加扰前直接对数据内容进行Polar编码的输出为x,则加扰后进行Polar编码的输出分别为x+Polar([0…00])、x+Polar([0…01])、x+Polar([0…10])、x+Polar([0…11]),编码比特的相对扰码序列有两种模式:Polar([0…01])、Polar([0…11])。编码前的信息端和编码后的编码比特端的相对扰码序列均各有log 24=2种可能。 If four PBCH independent units are transmitted within one PBCH period, the contents of the data block to be encoded are b k ... b 0 , a 9 , a 8 , a 7 , a 6 , a 5 , a 4 , a 3 , a 2 is the same part of all PBCH independent units transmitted in one cycle. In order to distinguish the timing of transmitting the PBCH independent unit in one cycle, the information bits before the Polar encoding are scrambled with different scrambling code sequences, that is, the CRC encoded bit sequence [b k ... b 0 , a 9 , ..., a i , c 15 , c 14 , ... c 1 , c 0 ]. If 0, 00, 0...01, 0...10, 0...11 are used to scramble the timings 0, 1, 2, and 3 respectively, that is, only the last two information bits are operated, the relative scrambling sequence of the information end is [0 ...01], [0...11], [0...01], the scrambling results are [b k ... b 0 , a 9 , ..., a i , c 15 , c 14 , ... c 1 , c 0 ], respectively. [b k ... b 0 , a 9 , ..., a i , c 15 , c 14 , ... c 1 , c 0 +1], [b k ... b 0 , a 9 , ..., a i , c 15 , c 14 , ... c 1 +1, c 0 ], [b k ... b 0 , a 9 , ..., a i , c 15 , c 14 , ... c 1 +1, c 0 +1]. If the output of the Polar code directly to the data content is x before scrambling, the output of the Polar code after scrambling is x+Polar([0...00]), x+Polar([0...01]), x+Polar([0...10]), x+Polar([0...11]), the relative scrambling sequence of coded bits has two modes: Polar([0...01]), Polar([0...11] ). Both the information side before encoding and the relative scrambling code sequence of the encoded coded bit end have log 2 4=2 possibilities.
如果一个PBCH周期内,发送8个PBCH独立单元,则待编码数据内容b k…b 0,a 9,a 8,a 7,a 6,a 5,a 4,a 3,即在一个周期内发送的所有PBCH独立单元中相同的部分。为了区分一个周期内发送所述PBCH独立单元的时序,用不同的扰码序列对Polar编码前的信息比特进行加扰,或者对Polar编码后的编码比特用对应的序列加扰。如在Polar编码前用0…000、0…001、0…010、0…011、0…100、0…101、0…110、0…111分别加扰时序0、1、2、3、4、5、6、7,即只对最后3个信息比特操作,则编码前的信息端的相对扰码序列模式有[0…001]、[0…011]、[0…111]3种,编码后的编码比特的相对扰码序列也有三种,分别为Polar([0…001])、Polar([0…011])、Polar([0…111])。 If 8 PBCH independent units are transmitted within one PBCH period, the data contents to be encoded b k ... b 0 , a 9 , a 8 , a 7 , a 6 , a 5 , a 4 , a 3 , that is, in one cycle The same part of all PBCH independent units sent. In order to distinguish the timing of transmitting the PBCH independent unit in one cycle, the information bits before Polar encoding are scrambled with different scrambling code sequences, or the encoded codes of Polar encoding are scrambled with corresponding sequences. For example, scramble the timings 0, 1, 2, 3, 4 with 0...000, 0...001, 0...010, 0...011, 0...100, 0...101, 0...110, 0...111 before Polar coding. , 5, 6, and 7, that is, only the last three information bits are operated, and the relative scrambling sequence pattern of the information end before encoding has three kinds of codes [0...001], [0...011], [0...111], and encoding There are also three types of relative scrambling codes for the coded bits, namely Polar([0...001]), Polar([0...011]), Polar([0...111]).
由于在隐示传输时,并不需要额外对系统帧号中显示时序的信息进行编码,而仅是将系统帧号中本来就要进行编码的比特中选出一些比特进行加扰后,用于显示一个PBCH周期内发送各个PBCH独立单元的时序,所以,编码的数据量少于显式传输,即编码码率更低,译码性能略优于显式传输。Since in the implicit transmission, it is not necessary to additionally encode the information showing the timing in the system frame number, but only the bits in the system frame number that are to be encoded are selected to be scrambled, and then used. The timing of transmitting each PBCH independent unit in one PBCH period is displayed. Therefore, the encoded data amount is less than the explicit transmission, that is, the encoding code rate is lower, and the decoding performance is slightly better than the explicit transmission.
一个PBCH周期内,发送16个PBCH独立单元时,可以用类似的扰码序列加扰,这样,相对扰码序列共有4种。In a PBCH period, when 16 PBCH independent units are transmitted, they can be scrambled with a similar scrambling code sequence. Thus, there are four relative scrambling code sequences.
在本发明上述实施例中,通过对待编码的数据块中部分信息作为特征信息进行加扰,在针对在一个发送周期内的前后相邻的待编码的数据块中所携带的特征信息构造扰码序列相对扰码序列时,扰码序列相对扰码序列的种类更少,甚至可以使得扰码序列相对扰 码序列仅有log 2N个。 In the above embodiment of the present invention, the partial information in the data block to be encoded is scrambled as the feature information, and the scrambling code is constructed for the feature information carried in the data block to be encoded adjacent to each other in one transmission period. When the sequence is relatively scrambled, the scrambling sequence has fewer types of scrambling sequences, and even the scrambling sequence can be only log 2 N relative to the scrambling sequence.
如图6所示,本发明实施例还提供一种译码方法,所述方法包括:As shown in FIG. 6, an embodiment of the present invention further provides a decoding method, where the method includes:
S201、接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;S201: Receive two pieces of data blocks to be decoded adjacent to each other before and after receiving, and the data block to be decoded carries feature information to be decoded;
S202、采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理,所述采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理具体包括:采用一个相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待译码的数据块中所携带的待译码的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;S202: Participate in descrambling processing by using a relative scrambling code sequence, and perform decoding and judging processing on the obtained descrambling result, wherein the relative scrambling code sequence is used to participate in descrambling processing, and the obtained descrambling result is decoded. And the determining process specifically includes: using a relative scrambling code sequence to descramble the feature information to be decoded carried in the data block to be decoded in the subsequent segment to obtain the descrambled feature information, and the descrambled feature The information is combined with the feature information to be decoded carried in the data block to be decoded in the previous segment to perform decoding processing; and the feature information after the decoding process is determined;
S203、在参与判断的特征信息为错误的情况下,采用另一个相对扰码序列参与所述解扰,并对得到的解扰结果进行译码及判断处理。S203. If the feature information participating in the judgment is an error, another descrambling code sequence is used to participate in the descrambling, and the obtained descrambling result is decoded and judged.
在上述译码方法的实施例中,通过采用相对扰码序列,约束前后相邻两段待译码数据块所携带的特征信息之间的关系,从而降低破解出正确的特征信息的复杂度。In the embodiment of the foregoing decoding method, by using the relative scrambling code sequence, the relationship between the feature information carried by the adjacent two blocks of the data block to be decoded is constrained, thereby reducing the complexity of cracking the correct feature information.
在上述译码方法的实施例中,所述特征信息可以为经过加扰之后的特征信息。In an embodiment of the above decoding method, the feature information may be feature information after scrambling.
在上述译码方法的实施例中,所述两段待译码的数据块中所携带的特征信息可以是不同的,也可以是相同的。In the foregoing embodiment of the decoding method, the feature information carried in the two pieces of data blocks to be decoded may be different or the same.
在上述译码方法的实施例中,所述特征信息可以为时序信息,这种实现方式属于显示传输所述时序信息。In the above embodiment of the decoding method, the feature information may be time series information, and the implementation manner belongs to displaying and transmitting the time series information.
所述时序信息显示发送所述多段编码后的数据块的顺序。所述时序信息也可以显示接收所述多段待译码的数据块的顺序。The timing information displays an order in which the plurality of encoded data blocks are transmitted. The timing information may also display an order of receiving the plurality of pieces of data blocks to be decoded.
所述特征信息是指与所述多段待编码数据块的发送端相关的信息,或者是指与所述多段待编码数据块的接收端相关的信息,或者与携带所述特征信息的待编码的数据块相关的信息,或者是指与所述多段编码后的数据块的发送方式相关的信息。因为所述编码后的数据块经过信道传输之后就是所述译码方式的实施例中的待译码的数据块。因此,所述特征信息也可以指与所述待译码数据块的发送端相关的信息,或者是指与所述待译码数据块的接收端相关的信息,或者是指与携带所述特征信息的待译码的数据块相关的信息,或者是指与所述待译码的数据块的发送方式相关的信息。The feature information refers to information related to the sending end of the multi-segment data block to be encoded, or refers to information related to the receiving end of the multi-segment data block to be encoded, or to be encoded with the feature information to be encoded. The data block related information refers to information related to the manner in which the multi-segment encoded data block is transmitted. Because the encoded data block is transmitted through the channel, it is the data block to be decoded in the embodiment of the decoding mode. Therefore, the feature information may also refer to information related to the transmitting end of the data block to be decoded, or information related to the receiving end of the data block to be decoded, or refers to carrying the feature. The information related to the data block to be decoded of the information or the information related to the transmission mode of the data block to be decoded.
在所述译码方法的实施例中,可以在判断的结果为错误的情况下,尝试其他的相对扰码序列参与所述解扰,并对得到的解扰结果进行译码及判断处理,直至判断结果为正确或者尝试完所有的相对扰码序列。其中,每次尝试的相对扰码序列是不同的。In the embodiment of the decoding method, if the result of the determination is an error, other relative scrambling code sequences may be tried to participate in the descrambling, and the obtained descrambling result is decoded and judged until The result of the judgment is correct or all of the relative scrambling code sequences are tried. Among them, the relative scrambling code sequence of each attempt is different.
在所述译码方法的实施例还包括:将判断的结果为正确时的特征信息输出。The embodiment of the decoding method further includes: outputting the feature information when the result of the determination is correct.
在所述译码方法的实施例中,所述判断处理包括:In an embodiment of the decoding method, the determining process includes:
对所述经过译码处理后的特征信息进行校验处理以及判断所述译码处理后的特征信息是否属于候选特征信息;Performing a verification process on the decoded feature information and determining whether the feature information after the decoding process belongs to candidate feature information;
在确定所述经过译码处理后的特征信息校验正确并且属于候选特征信息的情况下, 确定所述经过译码处理后的特征信息为正确的特征信息。After determining that the decoded feature information is correctly verified and belongs to the candidate feature information, it is determined that the decoded feature information is correct feature information.
在所述译码方法的实施例中,所述判断处理还可以包括:In the embodiment of the decoding method, the determining process may further include:
对所述经过译码处理后的特征信息进行校验处理;Performing verification processing on the decoded feature information;
在校验正确的特征信息属于候选特征信息的情况下,确定所述校验正确的特征信息为正确的时序信息。In the case where it is verified that the correct feature information belongs to the candidate feature information, it is determined that the correct feature information is the correct time series information.
其中,所述候选特征信息是指:与参与所述解扰处理的所述相对扰码序列关联的特征信息。The candidate feature information refers to feature information associated with the relative scrambling code sequence participating in the descrambling process.
针对任意的前后相邻的两段待译码的数据块中所携带的特征信息,在能够采用所述相对扰码序列对后一段待译码的数据块中的特征信息扰码序列相对扰码序列解扰后得到前一段待译码的数据块中的特征信息的情况下,所述前一段待译码的数据块中的特征信息就是与所述扰码序列相对扰码序列关联的候选特征信息。所述后一段待译码的数据块中的特征信息可以称为所述扰码序列相对扰码序列关联的特征信息。For the feature information carried in any two blocks of data blocks to be decoded adjacent to each other, the relative scrambling code of the feature information scrambling sequence in the data block to be decoded after the relative scrambling code sequence can be used When the sequence information is descrambled to obtain the feature information in the data block to be decoded in the previous segment, the feature information in the data block to be decoded in the previous segment is the candidate feature associated with the scrambling code sequence of the scrambling code sequence. information. The feature information in the data block to be decoded in the subsequent segment may be referred to as feature information associated with the scrambling code sequence relative to the scrambling code sequence.
所述候选特征信息具体可以为候选时序信息。The candidate feature information may specifically be candidate timing information.
所述接收前后相邻的两段待译码的数据块,具体包括:The two pieces of data blocks to be decoded that are adjacent to each other before and after the receiving include:
接收前一段待译码的数据块,并对所述前一段待译码的数据块进行译码;Receiving a data block to be decoded in a previous segment, and decoding the data block to be decoded in the previous segment;
对所述前一段待译码的数据块的译码结果进行校验处理,并且校验结果显示校验错误;Performing a verification process on the decoding result of the data block to be decoded in the previous segment, and the verification result displays a verification error;
接收与所述前一段待译码的数据块相邻的后一段待译码的数据块。Receiving a data block to be decoded that is adjacent to the data block to be decoded in the previous segment.
在上述译码方法的实施例中,所述的校验处理可以为CRC(Cyclic Redundancy Check,循环冗余校验)校验处理。In the embodiment of the foregoing decoding method, the verification process may be a CRC (Cyclic Redundancy Check) check process.
在所述译码方法的实施例中,所述的解扰处理具体包括:针对所述后一段待译码的数据块中携带的待译码的特征信息中的各个比特位,在对应的相对扰码序列中的比特位中的值为0的情况下,解扰后该比特位的值与解扰前相同;在对应的相对扰码序列中的比特位中的值为1的情况下,将解扰前的值取反。In an embodiment of the decoding method, the descrambling process specifically includes: corresponding to each bit in the feature information to be decoded carried in the data block to be decoded in the subsequent segment, in a corresponding relative In the case where the value in the bit in the scrambling code sequence is 0, the value of the bit after descrambling is the same as before the descrambling; in the case where the value in the bit in the corresponding relative scrambling code sequence is 1, Invert the value before descrambling.
在所述译码方法的实施例中,所述待译码的数据块可以为上述编码方法中,编码后的数据块经过信道传输后的信息。所述待译码的特征信息可以为上述编码方法中,编码后的特征信息经过信道传输后的信息。所述编码方法实施例是在发送端实现的,所述译码方法实施例是在接收端实现的,因此,他们之间的各种实施例和各种概念可以相互借鉴。所述编码方法可以称为数据处理方法。所述译码方法也可以称为数据处理方法。In an embodiment of the decoding method, the data block to be decoded may be the information after the encoded data block is transmitted through the channel in the foregoing encoding method. The feature information to be decoded may be information in the above coding method after the encoded feature information is transmitted through the channel. The coding method embodiment is implemented at the transmitting end, and the decoding method embodiment is implemented at the receiving end. Therefore, various embodiments and various concepts between them can be used for reference. The encoding method may be referred to as a data processing method. The decoding method may also be referred to as a data processing method.
针对上述的译码方法,下面具体举一个例子,下述例子中任何细节特征均可独立的并入上述译码方法的实施例中:For the above decoding method, an example is specifically given below, and any of the detailed features in the following examples can be independently incorporated into the embodiment of the above decoding method:
在接收到待译码的数据块之后,在所述待译码的数据块为LLR信息的情况下,对收到的LLR信号进行译码,对译码得到的信息比特进行CRC校验,如果CRC校验通过,则将所述LLR信息中携带的特征信息输出,所述特征信息可以为时序信息,例如: a 9,a 8,a 7,a 6,a 5,a 4,a 3,a 2,a 1,a 0。如果没有校验通过,则等待下次传输的LLR信息。 After receiving the data block to be decoded, in the case that the data block to be decoded is LLR information, decoding the received LLR signal, and performing CRC check on the decoded information bit, if After the CRC check is passed, the feature information carried in the LLR information is output, and the feature information may be time series information, for example: a 9 , a 8 , a 7 , a 6 , a 5 , a 4 , a 3 , a 2 , a 1 , a 0 . If there is no verification pass, it waits for the LLR information of the next transmission.
如果针对一次传输的LLR信息,译码失败,需要合并多次传输的LLR信息,提高译码的成功率。这里以收到2次传输的LLR信息为例进行说明。If the decoding fails for the LLR information of one transmission, it is necessary to combine the LLR information of multiple transmissions to improve the success rate of decoding. Here, the LLR information received twice is taken as an example for description.
步骤1.以某次传输的信息作基准(如LLR1),对另一次传输的信息(LLR2), Step 1. Using the information transmitted for a certain time (such as LLR1), the information for another transmission (LLR2),
根据相对扰码解扰,所述的解扰处理具体包括:如果相对扰码序列中的比特为0,Desmuting according to the relative scrambling code, the descrambling process specifically includes: if the bit in the relative scrambling code sequence is 0,
该LLR2中对应的比特解扰前后无变化;如果相对扰码序列中的比特为1,将该LLR2The corresponding bit in the LLR2 has no change before and after descrambling; if the bit in the relative scrambling code sequence is 1, the LLR2 is
中对应的比特取反。The corresponding bit in the middle is inverted.
步骤2.合并解扰后的LLR2,得到LLR=LLR1+LLR2 Step 2. Combine the descrambled LLR2 to get LLR=LLR1+LLR2
步骤3.对合并后的LLR进行Polar译码; Step 3. Perform Polar decoding on the combined LLR;
步骤4.CRC校验,如果CRC校验不通过,换一个相对扰码序列,重复上述解扰和译码的步骤。如果CRC校验通过,判断译码得到的特征信息是否属于所采用的相对扰码序列的候选特征信息,如果属于采用的相对扰码序列的候选时序信息,输出LLR1中携带的特征信息和译码结果。 Step 4. CRC check, if the CRC check fails, replace the above-mentioned descrambling and decoding steps by changing a relative scrambling code sequence. If the CRC check passes, it is determined whether the decoded feature information belongs to the candidate feature information of the used relative scrambling code sequence, and if it belongs to the candidate timing information of the used relative scrambling code sequence, the feature information and decoding carried in the LLR1 are output. result.
如果不属于采用的相对扰码序列的候选特征信息,换一个相对扰码序列,重复上述的解扰,译码以及校验的步骤。If the candidate feature information of the relative scrambling code sequence is not used, the step of descrambling, decoding, and verifying is repeated by replacing a relative scrambling code sequence.
如果有四段待译码的数据块,则有四个时序信息,假设这个四个时序信息分比为:0,1,2,3,那么前后相邻的两段待译码的数据块所携带的时序信息有以下三种可能:{0,1},{1,2},{2,3}。其中{0,1}和{2,3}的相对扰码序列均为1111111,{1,2}的相对扰码序列为01010101。If there are four data blocks to be decoded, there are four timing information, assuming that the four timing information is divided into: 0, 1, 2, 3, then the two adjacent blocks to be decoded are The timing information carried has the following three possibilities: {0, 1}, {1, 2}, {2, 3}. The relative scrambling sequence of {0,1} and {2,3} is 1111111, and the relative scrambling sequence of {1,2} is 01010101.
假设前后相邻的两段待译码的数据块所携带的时序信息是{0,1},盲检时先用相对扰码序列01010101尝试,将LLR信息合并后译码。在信噪比高时,译码结果会以一定的概率通过CRC校验,译码得到的时序信息可能是2,即错误的时序信息。因此,仅通过CRC校验判断盲检是否成功在高信噪比时存在系统性错误。在尝试用相对扰码序列0101010101解扰时,正确的时序信息只可能是1。如果译码得到的时序信息是2,与相对扰码序列的候选时序不匹配,可以确定译码结果是错误的。此时,判决此次盲检失败,换一个相对扰码序列重新进行盲检。候选时序信息的匹配步骤避免了系统性错误。It is assumed that the time series information carried by the two adjacent data blocks to be decoded is {0, 1}, and the blind detection is first attempted by using the relative scrambling code sequence 01010101, and the LLR information is combined and decoded. When the signal-to-noise ratio is high, the decoding result will pass the CRC check with a certain probability, and the decoded timing information may be 2, that is, the wrong timing information. Therefore, it is only determined by the CRC check whether the blind check is successful or not, and there is a systematic error at a high signal to noise ratio. When attempting to descramble with the relative scrambling code sequence 0101010101, the correct timing information may only be one. If the time information obtained by the decoding is 2, and the candidate timing of the relative scrambling code sequence does not match, it can be determined that the decoding result is erroneous. At this point, it is decided that the blind detection fails, and a relative scrambling code sequence is used to perform blind detection again. The matching step of candidate timing information avoids systematic errors.
关于候选时序信息,从表1可以得出下面的表3,采用相对扰码序列11111111解扰时,可能得到的对应的时序信息是:0或2.采用相对扰码序列11111111解扰时,可能得到的对应的时序信息只能是:3.Regarding the candidate timing information, the following Table 3 can be derived from Table 1. When descrambling with the relative scrambling code sequence 11111111, the corresponding timing information that may be obtained is: 0 or 2. When descrambling with the relative scrambling code sequence 11111111, it is possible The corresponding timing information obtained can only be: 3.
Figure PCTCN2018080835-appb-000017
Figure PCTCN2018080835-appb-000017
表3table 3
通过表2可以得出表4中的候选时序信息,所述候选时序信息是指与所采用的相对扰码序列关联的前一段待译码的数据块中携带的时序信息,如果采用的相对扰码序列是“001”,且得出时序信息是候选时序信息集合[0,2,4,6]中的某一个,则可以初步判定此次译码成功;如果得到的时序信息不属于001对应的候选时序信息,说明解扰时采用的相对扰码序列不正确,可以判定此次译码失败。The candidate timing information in Table 4 can be derived from Table 2, where the candidate timing information refers to the timing information carried in the data block to be decoded in the previous segment associated with the used relative scrambling code sequence, if the relative interference is used. If the code sequence is "001" and the timing information is one of the candidate timing information sets [0, 2, 4, 6], the decoding may be initially determined to be successful; if the obtained timing information does not belong to 001 The candidate timing information indicates that the relative scrambling sequence used during descrambling is incorrect, and the decoding failure can be determined.
该算法最多需要尝试所有的log 2N个相对扰码序列,即最多译码次数为log 2N次,低于LTE PBCH中的N次,其中N是指一个发送周期内发送的编码后的数据块的数量,或者一个接收周期内接收的待译码的数据块的数量的。每次译码后的时序匹配比较简单,复杂度较低。 The algorithm needs to try all the log 2 N relative scrambling code sequences at most, that is, the maximum number of decoding times is log 2 N times, which is lower than N times in the LTE PBCH, where N refers to the encoded data sent in one transmission period. The number of blocks, or the number of data blocks to be decoded received during a receive cycle. The timing matching after each decoding is relatively simple and the complexity is low.
Figure PCTCN2018080835-appb-000018
Figure PCTCN2018080835-appb-000018
表4Table 4
在上述译码方法的实施例中,所述两段待译码的数据块所携带的两个所述时序信息用于显示所述两段待译码数据块在接收时的排列顺序。但是,所述两个时序信息的取值并不一定是顺序排列的,只要在一个接收周期内,各段待译码的数据块所携带的时序信息是不同的即可。In the above embodiment of the decoding method, the two pieces of timing information carried by the two blocks of data to be decoded are used to display an arrangement order of the two pieces of data blocks to be decoded at the time of receiving. However, the values of the two pieces of timing information are not necessarily sequentially arranged, as long as the timing information carried by the data blocks to be decoded in each segment is different in one receiving period.
在多段的待译码的数据块中,每两个前后相邻的两个待译码数据块的特征信息之间可以构建出相对扰码序列。不同的前后相邻的两个待译码数据块的特征信息之间构建出的相对扰码序列可能是相同的,也可能是不同的。所述特征信息的取值,可以按照在一个接收周期内的,在针对每两个前后相邻的待译码的数据块的特征信息之间构建相对扰码序列时,以如何构建中更多的相同的相对扰码序列为目的。In the multi-segment data block to be decoded, a relative scrambling code sequence can be constructed between the feature information of each of the two adjacent data blocks to be decoded. The relative scrambling code sequences constructed between the feature information of two adjacent to-be-decoded data blocks may be the same or different. The value of the feature information may be constructed according to how to construct a relative scrambling code sequence between feature information of each of the two adjacent data blocks to be decoded in one receiving period. The same relative scrambling sequence is for the purpose.
如表5所示,表5中显示的是在前后相邻的两段待译码的数据块中所携带的时序信息并不是按顺序排列的情况下,得出的另一种相对扰码序列。在一个发送周期(例如:一个PBCH周期)内,可以有8段待译码的数据块,8段待译码的数据块中所携带的时序信息可以不是按照发送的顺序(或者是接收的顺序)排列的。As shown in Table 5, Table 5 shows another relative scrambling sequence obtained when the timing information carried in the two blocks of data to be decoded adjacent to each other is not arranged in order. . In one transmission period (for example, one PBCH period), there may be 8 data blocks to be decoded, and the timing information carried in the 8 data blocks to be decoded may not be in the order of transmission (or the order of reception). ) arranged.
该表中所示的构造的相对扰码序列的方式,可以使每个相对扰码序列对应的候选时序信息更均匀。The relative scrambling code sequence of the configuration shown in the table can make the candidate timing information corresponding to each relative scrambling code sequence more uniform.
Figure PCTCN2018080835-appb-000019
Figure PCTCN2018080835-appb-000019
表5table 5
Figure PCTCN2018080835-appb-000020
Figure PCTCN2018080835-appb-000020
表6Table 6
表6中列出的是根据表5得出的候选时序信息。Listed in Table 6 are candidate timing information derived from Table 5.
在上述译码方法的实施例中,所述判断处理具体包括:In the embodiment of the foregoing decoding method, the determining process specifically includes:
针对译码处理后的特征信息,尝试采用一组扰码序列中的每个扰码序列进行解扰,并对解扰后的结果进行CRC校验,在通过CRC校验的情况下,确定通过CRC校验的特征信息为正确的特征信息;在尝试完所述一组扰码序列中的每个扰码序列后,仍为未通过CRC校验的情况下,采用另一个相对扰码序列参与所述解扰,并对得到的解扰结果进行译码及判断处理。For the feature information after the decoding process, an attempt is made to descramble each scrambling code sequence in a set of scrambling code sequences, and the CRC check is performed on the descrambled result, and in the case of passing the CRC check, the pass is determined. The feature information of the CRC check is the correct feature information; after each scrambling code sequence in the set of scrambling code sequences is tried, if the CRC check is still not passed, another relative scrambling code sequence is used. The descrambling is performed, and the obtained descrambling result is decoded and judged.
其中,所述一组扰码序列是指:与采用的相对扰码序列关联的候选特征信息所对应的扰码序列。The set of scrambling code sequences refers to a scrambling code sequence corresponding to the candidate feature information associated with the used relative scrambling code sequence.
在发送端,通过对特征信息进行加扰,加扰后的特征信息用于指示携带所述特征信息的待编码的数据块的发送顺序。在一个发送周期内,各个待编码的数据块中的特征信息,采用的扰码序列不同。这样在一个发送周期内,即使各个待编码的数据块中携带的特征信息是相同的情况下,通过对各个特征信息采用不同的扰码序列进行加扰,可以得到不同的加扰结果,这样,每个特征信息对应一个扰码序列。这些不同的加扰结果可以用于指示编码后的数据块的发送顺序。相应地,在接收端,在采用相对扰码序列进行解扰,可以确定与所述相对扰码序列关联的候选特征信息,但是,并不确定所采用的相对扰码序列是否正确。将与所述相对扰码序列关联的全部的候选特征信息作为一个范围,并且把这些候选特征信息所对应的扰码序列一个一个地进行尝试,确认是否能通过CRC校验。如果未通过CRC校验,可能是采用的相对扰码序列是错的,或者是采用的扰码序列是错的,在把候选特征信息所对应的扰码序列全部尝试后都不能通过CRC校验,那么就是相对扰码序列错了,需要换下一个相对扰码序列进行尝试。At the transmitting end, the scrambled feature information is used to indicate the sending order of the data block to be encoded carrying the feature information by scrambling the feature information. In one transmission period, the feature information in each data block to be encoded is different in the scrambling code sequence. In this way, in a transmission period, even if the feature information carried in each data block to be encoded is the same, different scrambling results can be obtained by using different scrambling code sequences for each feature information, so that different scrambling results can be obtained. Each feature information corresponds to a scrambling code sequence. These different scrambling results can be used to indicate the order in which the encoded data blocks are sent. Correspondingly, at the receiving end, the descrambling using the relative scrambling code sequence can determine the candidate feature information associated with the relative scrambling code sequence, but it is not determined whether the relative scrambling code sequence used is correct. All candidate feature information associated with the relative scrambling code sequence is taken as a range, and the scrambling code sequences corresponding to the candidate feature information are tried one by one to confirm whether the CRC check can be passed. If the CRC check is not passed, the relative scrambling code sequence used may be wrong, or the scrambling code sequence used is wrong. The CRC check may not be performed after all the scrambling code sequences corresponding to the candidate feature information are tried. Then, the relative scrambling code sequence is wrong, and it is necessary to replace the previous scrambling code sequence to try.
在所述译码方法的实施例中,在采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理的步骤之前还包括:In the embodiment of the decoding method, before the step of using a relative scrambling code sequence to participate in the descrambling process and decoding and judging the obtained descrambling result, the method further includes:
S205、通过计算所述两段待译码的数据块中携带的两个待译码的特征信息的相关性,得出与所述相关性匹配的相对扰码序列,得出的所述相对扰码序列为参与所述解扰处理的相关扰码序列。S205. Calculate a correlation between two pieces of feature information to be decoded carried in the data block to be decoded, and obtain a relative scrambling code sequence that matches the correlation, and obtain the relative interference. The code sequence is an associated scrambling code sequence that participates in the descrambling process.
所述通过计算所述两段待译码的数据块中携带的两个待译码的特征信息的相关性,得出与所述相关性匹配的相对扰码序列的步骤,具体包括:采用如下公式:And the step of obtaining a relative scrambling code sequence that matches the correlation by calculating a correlation between two pieces of feature information to be decoded that are carried in the data block to be decoded in the two segments, specifically including: adopting the following formula:
q=min{(SUM(LLR1*LLR2)-qi)2},i=1,…,log 2N q=min{(SUM(LLR1*LLR2)-qi)2},i=1,...,log 2 N
其中,qi是指第i个相对扰码序列,q是与LLR1和LLR2最匹配的相对扰码序列,SUM()是和函数,min{}表示取最小的一个。Where qi is the ith relative scrambling code sequence, q is the relative scrambling code sequence that best matches LLR1 and LLR2, SUM() is the sum function, and min{} is the smallest one.
计算LLR1和LLR2的相关性并将相关性的结果与相对扰码序列进行匹配,将最匹配的相对扰码序列作为输出,其中所述LLR1为前一段待译码的数据块中携带的待译码的特征信息,LLR2为后一段待译码的数据块中携带的待译码的特征信息。Calculating the correlation between LLR1 and LLR2 and matching the result of the correlation with the relative scrambling code sequence, and taking the best matching relative scrambling code sequence as an output, wherein the LLR1 is to be translated in the data block to be decoded in the previous segment The feature information of the code, LLR2 is the feature information to be decoded carried in the data block to be decoded in the latter segment.
如图7所示,本发明实施例还提供一种译码方法,所述方法包括:As shown in FIG. 7, an embodiment of the present invention further provides a decoding method, where the method includes:
S301、接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;S301: Receive two pieces of data blocks to be decoded that are adjacent to each other before and after receiving, and the data block to be decoded carries feature information to be decoded.
S302、通过计算所述两段待译码的数据块中携带的两个待译码的特征信息的相关性,得出与所述相关性匹配的相对扰码序列,采用所述相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待译码的数据块中所携带的待译码的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;S302. Calculate a correlation of two pieces of feature information to be decoded carried in the data block to be decoded, and obtain a relative scrambling code sequence that matches the correlation, where the relative scrambling code sequence is used. Des scrambling the feature information to be decoded carried in the data block to be decoded in the latter stage to obtain the descrambled feature information, and the descrambled feature information and the data block to be decoded in the previous segment The feature information to be decoded carried in the combination is subjected to decoding processing; and the feature information after the decoding process is judged;
S303、在参与判断的特征信息为正确的情况下,将判断为正确的特征信息输出。S303. When the feature information of the participation determination is correct, the feature information determined to be correct is output.
图7中所示的译码方法的实施例与图6中所示的译码方法的实施例的不同在于,通过计算所述两段待译码的数据块中携带两个待译码的特征信息的相关性,得出与所述相关性匹配的相对扰码序列,其他的具体实现方式和基本概念均可借鉴前述图6所示的译码方法的各种概念和实施例。The embodiment of the decoding method shown in FIG. 7 is different from the embodiment of the decoding method shown in FIG. 6 in that two parameters to be decoded are carried in the data block to be decoded by the two segments to be decoded. The correlation of the information is obtained, and the relative scrambling code sequence matching the correlation is obtained. Other specific implementations and basic concepts can refer to various concepts and embodiments of the decoding method shown in FIG. 6 above.
在上述译码方法的实施例中,所述通过计算所述两段待译码的数据块中携带的两个待译码的特征信息的相关性,得出与所述相关性匹配的相对扰码序列的步骤,具体包括:采用如下公式:In an embodiment of the foregoing decoding method, the calculating, by calculating a correlation between two feature information to be decoded carried in the two data blocks to be decoded, obtaining a relative interference matching the correlation The steps of the code sequence include: adopting the following formula:
q=min{(SUM(LLR1*LLR2)-qi)2},i=1,…,log 2N q=min{(SUM(LLR1*LLR2)-qi)2},i=1,...,log 2 N
其中,qi是指第i个相对扰码序列,q是与LLR1和LLR2最匹配的相对扰码序列,SUM()是和函数,min{}表示取最小的一个。Where qi is the ith relative scrambling code sequence, q is the relative scrambling code sequence that best matches LLR1 and LLR2, SUM() is the sum function, and min{} is the smallest one.
计算LLR1和LLR2的相关性并将相关性的结果与相对扰码序列进行匹配,将最匹配的相对扰码序列作为输出,其中所述LLR1为前一段待译码的数据块中携带的待译码的特征信息,LLR2为后一段待译码的数据块中携带的待译码的特征信息。Calculating the correlation between LLR1 and LLR2 and matching the result of the correlation with the relative scrambling code sequence, and taking the best matching relative scrambling code sequence as an output, wherein the LLR1 is to be translated in the data block to be decoded in the previous segment The feature information of the code, LLR2 is the feature information to be decoded carried in the data block to be decoded in the latter segment.
通过采用计算所述两段待译码的数据块中携带两个待译码的特征信息的相关性,得出与所述相关性匹配的相对扰码序列的方式,如果选择的相对扰码序列是正确的话,只需要解扰和译码一次,就可得出正确的特征信息。By calculating the correlation between the two pieces of data to be decoded in the data block to be decoded, the relative scrambling code sequence matching the correlation is obtained, if the selected relative scrambling code sequence is selected If it is correct, only need to descramble and decode once, you can get the correct feature information.
但是,根据相关性得出的相对扰码序列会有一定的概率是错误的。However, the relative scrambling sequence derived from the correlation has a certain probability that it is erroneous.
如果在一个接收周期(例如一个PBCH周期)中接收16段待译码的数据块,则在一个接收周期内,接收的所有PBCH独立单元中的系统帧号中的bk…b0,a9,a8,a7,a6,a5,a4均相同,根据表示时序信息的a3,a2,a1,a0构造的相对扰码序列如表7所示,共有log216=4种可能。If 16 segments of data blocks to be decoded are received in one reception cycle (for example, one PBCH cycle), bk...b0, a9, a8 in the system frame numbers in all PBCH independent units received in one reception cycle, A7, a6, a5, and a4 are all the same. According to the relative scrambling code sequence of a3, a2, a1, and a0 indicating time series information, as shown in Table 7, there are a total of log 216 = 4 possibilities.
表7(时序信息与相对扰码序列之间的关系)Table 7 (Relationship between timing information and relative scrambling sequence)
Figure PCTCN2018080835-appb-000021
Figure PCTCN2018080835-appb-000021
本申请提供的各种实施例的技术效果的具体说明:Specific descriptions of the technical effects of the various embodiments provided by the present application:
在LTE中中,物理广播信道(英文:Physical Broadcast Channel,缩写:PBCH)承载主信息块(英文:Master Information Block,缩写:MIB)。其中,MIB的长度为24比特,MIB包含下行链路系统带宽,PHICH(英文:Physical Hybrid ARQ Indicator Channel,中文:物理混合自动重传请求指示信道)大小,以及系统帧号(英文:System Frequency Number,简称:SFN)的高八位等内容。基站首先对要发送的MIB进行循环冗余校验(英文:Cyclical Redundancy Check,缩写:CRC)编码,得到16位CRC序列,然后基站将40比特长的序列(包含24bits的MIB和16bits的CRC)进行信道编码以及速率匹配后得到编码序列,将该编码序列分段得到4个大小相等的PBCH独立单元,将4个PBCH独立单元采用4个扰码序列进行分别加扰,基站完成加扰后续的调制、映射和发送流程。In LTE, a physical broadcast channel (English: Physical Broadcast Channel, abbreviation: PBCH) carries a master information block (English: Master Information Block, abbreviation: MIB). The length of the MIB is 24 bits, the MIB includes the downlink system bandwidth, the PHICH (English: Physical Hybrid ARQ Indicator Channel, Chinese: Physical Hybrid Automatic Repeat Request Direction Channel), and the system frame number (English: System Frequency Number) , referred to as: SFN), the high eight and so on. The base station first performs a Cyclic Redundancy Check (CRC) encoding on the MIB to be transmitted to obtain a 16-bit CRC sequence, and then the base station will have a 40-bit long sequence (including a 24-bit MIB and a 16-bit CRC). After channel coding and rate matching, a coding sequence is obtained, and the coding sequence is segmented to obtain four equal-sized PBCH independent units, and four PBCH independent units are separately scrambled by using four scrambling code sequences, and the base station completes scrambling subsequent steps. Modulation, mapping, and transmission processes.
其中,PBCH的信道编码采用TBCC(Tailbiting Convolutional Code,咬尾卷积码)编码,4个扰码序列采用不同的相位。4个PBCH独立单元携带相同的编码比特,4个PBCH独立单元执行加扰、调制以及映射等流程后在40ms(4个无线帧的传输时间,每个无线帧10ms)的时间窗口内发送。The channel coding of the PBCH is encoded by a TBCC (Tailbiting Convolutional Code), and the four scrambling code sequences adopt different phases. The four PBCH independent units carry the same coded bits, and the four PBCH independent units perform the processes of scrambling, modulation, and mapping, and then transmit them in a time window of 40 ms (transmission time of 4 radio frames, 10 ms per radio frame).
由发送端描述可知,4个PBCH独立单元携带相同的编码比特,因此信道质量足够好的情况下,接收端只接收40ms内的一个PBCH独立单元就成功完成解扰、译码以及CRC校验的操作。由于接收端通过解扰成功的扰码序列,得到发送端是在40ms内的第几个无线帧发送MI B,即知道了SFN的低2位。According to the description of the sender, the four PBCH independent units carry the same coded bits. Therefore, if the channel quality is good enough, the receiver only receives a PBCH independent unit within 40 ms and successfully completes the descrambling, decoding, and CRC check. operating. Since the receiving end succeeds in scrambling the scrambling code sequence, it is obtained that the transmitting end transmits the MI B in the first few radio frames within 40 ms, that is, the lower 2 bits of the SFN are known.
对于信道质量较差的情况,接收端如果只接收一个PBCH独立单元不能成功解扰译 码,就与下一个10ms发送的PBCH独立单元进行软合并再进行译码,直到成功解码。For the case of poor channel quality, if the receiving end only receives one PBCH independent unit and cannot successfully descramble the decoding, it will perform soft combining with the next PBCH independent unit sent by the next 10ms and decode it until it is successfully decoded.
UE通过检测PBCH,能得到小区系统帧号(System Frame Number,SFN)的高8位,最低2位需要在PBCH盲检时得到。By detecting the PBCH, the UE can obtain the upper 8 bits of the system frame number (SFN) of the cell system, and the lowest 2 bits need to be obtained during the PBCH blind check.
PBCH在40ms周期内重复4次,每一次发送的PBCH都携带相同的编码比特,也就是说,每一次都是可以独自解码的。同一周期内,每次发送的PBCH会使用不同的扰码序列加扰(即共有4个不同的扰码序列,实际使用的是一个较长的随机序列分成的4段)。在信道质量足够好的情况下,UE可能只接收这40ms内的其中一个就进行译码,过程中使用4个可能的扰码序列中的每一个去尝试解扰和译码PBCH,如果译码成功,也就知道了小区是在40ms内的第几个系统帧发送MI B,即知道了SFN的最低2位。The PBCH is repeated 4 times in a 40 ms period, and each transmitted PBCH carries the same coded bits, that is, each time it can be decoded by itself. During the same period, each transmitted PBCH will be scrambled with a different scrambling code sequence (ie, there are 4 different scrambling code sequences, and a long random sequence is divided into 4 segments). In the case that the channel quality is good enough, the UE may only perform decoding within one of the 40 ms, and each of the four possible scrambling sequences is used to try to descramble and decode the PBCH if decoding. Upon success, it is known that the cell transmits the MI B in the first few system frames within 40 ms, that is, the lowest 2 bits of the SFN are known.
如果只接收一个PBCH的信号不能支持顺利译码,就与下一个10ms发送的PBCH的内容进行解扰和软合并,再进行译码,直到成功解码出PBCH。软合并的过程之前,也需要使用4个可能的扰码序列对接收的LLR进行解扰,然后再进行软合并。If only one PBCH signal cannot support smooth decoding, the content of the PBCH transmitted in the next 10 ms is descrambled and soft-combined, and then decoded until the PBCH is successfully decoded. Before the soft combining process, it is also necessary to descramble the received LLRs using 4 possible scrambling code sequences, and then perform soft combining.
总结来说LTE中PBCH的周期传输有以下特点:In summary, the periodic transmission of PBCH in LTE has the following characteristics:
1)一个周期内的每次传输都能独立译码,也可以将不同次传输软合并后译码。1) Each transmission in one cycle can be independently decoded, or different transmissions can be combined and decoded.
2)SFN的低2位信息是通过每次编码后bit加扰不同的扰码序列来隐式传输,接收侧通过盲检扰码序列获得,尝试译码和CRC校验的次数随扰码序列的个数线性增加。2) The lower 2 bits of the SFN information are implicitly transmitted by bit scrambling different scrambling code sequences after each encoding, and the receiving side obtains the blind detection scrambling code sequence, and the number of attempts to decode and CRC check with the scrambling code sequence The number of digits increases linearly.
现有LTE方案中,盲检PBCH的时序信息,每次都需要进行解扰和译码以及CRC校验。考虑到可以做软合并的情况,多份PBCH合并下的盲检也需要先对可能的扰码进行解扰,然后进行译码和CRC校验。盲检所需要的译码次数与扰码序列个数(所需携带的信息个数)呈线性关系,在5G NR场景需要携带信息更多的时候,复杂度迅速增加。In the existing LTE scheme, the timing information of the PBCH is blindly checked, and descrambling and decoding and CRC check are required each time. Considering that soft combining can be done, the blind detection under multiple PBCH merges also needs to descramble the possible scrambling codes first, and then perform decoding and CRC check. The number of decodings required for blind detection is linear with the number of scrambling sequences (the number of information to be carried). When the 5G NR scene needs to carry more information, the complexity increases rapidly.
对于一个PBCH周期内,发送N个PBCH独立单元的场景,接收到1个待译码的数据块时,LTE方案最多需要N次译码,每次译码进行1次CRC校验;本发明方案只需要译码1次,显示传输时CRC校验1次,隐式传输时,CRC校验N次。接收到2个待译码的数据块时,LTE方案最多需要N次译码,每次译码进行1次CRC校验;本发明方案需要log 2N次译码,显示传输时,每次译码需要1次CRC校验和可能的多次时序匹配,隐式传输时,每次译码需要多次CRC校验,总的CRC校验次数与LTE相同。可见,本发明的实施例中的译码次数低于LTE方案,相应的盲检复杂度低于LTE方案。 For a scenario in which one PBCH independent unit is transmitted in one PBCH period, when one data block to be decoded is received, the LTE scheme requires at most N decodings, and each decoding performs one CRC check; It only needs to be decoded once, and the CRC is checked once during transmission. When it is implicitly transmitted, the CRC is checked N times. When two data blocks to be decoded are received, the LTE scheme requires at most N decodings, and each decoding performs one CRC check; the solution of the present invention requires log 2 N decodings, and each translation is displayed during transmission. The code requires 1 CRC check and possibly multiple timing match. In implicit transmission, multiple CRC check is required for each decoding, and the total CRC check times are the same as LTE. It can be seen that the decoding times in the embodiment of the present invention is lower than the LTE scheme, and the corresponding blind detection complexity is lower than the LTE scheme.
上述发明实施例仅以盲检PBCH时序作为示例,该发明方案也可用于其他信息的传输和盲检。另外,在上述实施例中,关于显示传输中的时序信息的表示方式和隐式传输中的扰码设计是以比较简单的模式作为示例,其他模式也可达到本发明方案的效果,并且在一个发送周期或接收周期内,所有待编码的数据块中携带的特征信息的相对扰码序列的种类可以只有log 2N个,所有待译码的数据块中携带的特征信息的相对扰码序列的种类可以只有log 2N个。 The above-described embodiments of the invention only take the blind detection PBCH timing as an example, and the inventive scheme can also be used for transmission and blind detection of other information. In addition, in the above embodiment, the representation of the timing information in the display transmission and the scrambling code design in the implicit transmission are exemplified by a relatively simple mode, and other modes can also achieve the effect of the solution of the present invention, and in one During the transmission period or the reception period, the types of relative scrambling sequences of the feature information carried in all the data blocks to be encoded may be only log 2 N, and the relative scrambling sequence of the feature information carried in all the data blocks to be decoded The type can only be log 2 N.
图9为本发明实施例提供的数据处理装置的结构示意图,所述数据处理装置包括:FIG. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure, where the data processing apparatus includes:
第一编码模块,用于将多段待编码的数据块进行Polar码编码得到编码后的数据块,其中所述多段待编码数据块中的每段待编码数据块中携带特征信息,所述特征信息经过 Polar码编码后,前后两个相邻的待编码数据块所携带的特征信息之间的关系满足:后一个待编码数据块所携带的特征信息采用对应的扰码序列相对扰码序列解扰后得到前一个待编码数据块所携带的特征信息;a first encoding module, configured to perform a Polar code encoding on a plurality of data blocks to be encoded to obtain a coded data block, where each piece of the data block to be encoded in the plurality of pieces of data to be encoded carries feature information, and the feature information After the Polar code is encoded, the relationship between the feature information carried by the two adjacent data blocks to be encoded is satisfied: the feature information carried by the latter data block to be coded is descrambled by using the corresponding scrambling code sequence relative to the scrambling code sequence. And obtaining the feature information carried by the previous data block to be encoded;
接口模块用于将多段编码后的数据块,按照所述前后相邻的顺序输出。The interface module is configured to output the multi-segment encoded data blocks in the order of the adjacent ones.
本发明实施例所提供的图9所示的所述数据处理装置可用于执行图3,图4,图5及图8中所示的所述数据编码方法的各种实施例,其实现原理和技术效果类似,此处不再赘述。具体来讲,图3,图4,图5及图8所示的所述数据编码方法中关于S006、S007、S008、S009、S100和S101的各种具体实现方式,也相应地可以作为图9所示的所述数据处理装置的第一编码模块的功能的各种具体化的实现方式。图3,图4,图5及图8所示的所述数据编码方法中关于S102的各种具体实现方式,也相应地可以作为图9所示的所述数据处理装置的接口模块的功能的各种具体化的实现方式。The data processing apparatus shown in FIG. 9 provided by the embodiment of the present invention can be used to perform various embodiments of the data encoding method shown in FIG. 3, FIG. 4, FIG. 5 and FIG. The technical effects are similar and will not be described here. Specifically, various specific implementation manners of S006, S007, S008, S009, S100, and S101 in the data encoding method shown in FIG. 3, FIG. 4, FIG. 5, and FIG. 8 can also be used as FIG. 9 correspondingly. Various embodied implementations of the functionality of the first encoding module of the data processing apparatus are shown. Various specific implementations of S102 in the data encoding method shown in FIG. 3, FIG. 4, FIG. 5 and FIG. 8 can also be used as the function of the interface module of the data processing apparatus shown in FIG. A variety of concrete implementations.
图10是本发明实施例提供的另一种数据处理装置的结构示意图,图10所示的所述数据处理装置包括:FIG. 10 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention. The data processing apparatus shown in FIG. 10 includes:
接收模块,用于接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;a receiving module, configured to receive two pieces of data blocks to be decoded that are adjacent to each other before and after, and the data block to be decoded carries feature information to be decoded;
第一译码模块,用于采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理,所述采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理具体包括:采用一个相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待译码的数据块中所携带的待译码的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;在参与判断的特征信息为错误的情况下,采用另一个相对扰码序列参与所述解扰,并对得到的解扰结果进行译码及判断处理。a first decoding module, configured to participate in descrambling processing by using a relative scrambling code sequence, and perform decoding and judging processing on the obtained descrambling result, wherein the relative scrambling code sequence is used to participate in descrambling processing, and the obtained Decoding the decoding result and determining the processing specifically includes: using a relative scrambling code sequence to descramble the feature information to be decoded carried in the data block to be decoded in the subsequent segment, and obtaining the descrambled feature information, Decoding the feature information and combining the feature information to be decoded carried in the data block to be decoded in the previous segment to perform decoding processing; and determining the decoded feature information; When the feature information participating in the judgment is an error, another relative scrambling code sequence is used to participate in the descrambling, and the obtained descrambling result is decoded and judged.
本发明实施例所提供的图10所示的所述数据处理装置可用于执行图6所示的所述译码方法的各种实施例,其实现原理和技术效果类似,此处不再赘述。具体来讲,所述图6所示的译码方法中关于S201的各种具体实现方式,也相应地可以作为图10所示的所述数据处理装置的接收模块的功能的各种具体化的实现方式。图6所示的所述译码方法中关于S205,S202和S203的各种具体实现方式,也相应地可以作为图10所示的所述数据处理装置的第一译码模块的功能的各种具体化的实现方式。The data processing apparatus shown in FIG. 10 provided by the embodiment of the present invention can be used to perform various implementations of the decoding method shown in FIG. 6. The implementation principle and technical effects are similar, and details are not described herein again. Specifically, various specific implementation manners of the S201 in the decoding method shown in FIG. 6 can also be used as various embodiments of the functions of the receiving module of the data processing apparatus shown in FIG. 10 . Method to realize. Various specific implementations of S205, S202, and S203 in the decoding method shown in FIG. 6 can also be used as various functions of the first decoding module of the data processing apparatus shown in FIG. Concrete implementation.
图11是本发明实施例提供的再一种数据处理装置的结构示意图,图11所示的所述数据处理装置包括:FIG. 11 is a schematic structural diagram of still another data processing apparatus according to an embodiment of the present invention. The data processing apparatus shown in FIG. 11 includes:
接收模块,用于接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;a receiving module, configured to receive two pieces of data blocks to be decoded that are adjacent to each other before and after, and the data block to be decoded carries feature information to be decoded;
第二译码模块,用于通过计算所述两段待译码的数据块中携带的两个待译码的特征信息的相关性,得出与所述相关性匹配的扰码序列相对扰码序列,采用所述扰码序列相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待译码的数据块中所携带的待译码 的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;a second decoding module, configured to calculate, by calculating a correlation between two pieces of feature information to be decoded carried in the two blocks of data to be decoded, to obtain a relative scrambling code of the scrambling code sequence matching the correlation a sequence, wherein the scrambling code sequence is used to descramble the feature information to be decoded carried in the data block to be decoded, and the descrambled feature information is obtained, and the descrambled feature is obtained. The information is combined with the feature information to be decoded carried in the data block to be decoded in the previous segment to perform decoding processing; and the feature information after the decoding process is determined;
所述接收模块进一步用于在参与判断的特征信息为正确的情况下,将判断为正确的特征信息输出。The receiving module is further configured to output the feature information determined to be correct if the feature information participating in the determination is correct.
本发明实施例所提供的图11所示的所述数据处理装置可用于执行图7所示的所述译码方法的各种实施例,其实现原理和技术效果类似,此处不再赘述。具体来讲,所述图7所示的译码方法中关于S301和S303的各种具体实现方式,也相应地可以作为图11所示的所述数据处理装置的接收模块的功能的各种具体化的实现方式。图7所示的译码方法中关于S302的各种具体实现方式,也相应地可以作为图11所示的所述数据处理装置的第二译码模块的功能的各种具体化的实现方式。The data processing apparatus shown in FIG. 11 provided by the embodiment of the present invention may be used to perform various implementations of the decoding method shown in FIG. 7. The implementation principle and technical effects are similar, and details are not described herein again. Specifically, various specific implementation manners of S301 and S303 in the decoding method shown in FIG. 7 can also be used as various specific functions of the receiving module of the data processing apparatus shown in FIG. The way to achieve. Various specific implementations of S302 in the decoding method shown in FIG. 7 can also be used as various embodied implementations of the functions of the second decoding module of the data processing apparatus shown in FIG.
图12为本发明实施例提供的通信装置的结构示意图,所述通信装置包括:处理器、以及与所述处理器信号互联的存储器,当所述通信装置运行时,所述处理器读取并执行所述存储器中的指令或者运行自身的硬件逻辑电路,以使所述通信装置执行如图3至图8所示的数据处理方法中的任意一种数据处理方法的各种实施例。12 is a schematic structural diagram of a communication apparatus according to an embodiment of the present invention. The communication apparatus includes: a processor, and a memory interconnected with the processor. When the communication apparatus is in operation, the processor reads and Execution of the instructions in the memory or execution of its own hardware logic circuitry to cause the communication device to perform various embodiments of any one of the data processing methods illustrated in Figures 3-8.
在所述通信装置的实施例中,所述存储器用于存储所述指令,所述存储器可以独立于所述处理器之外,也可以集成在所述处理器之中。In an embodiment of the communication device, the memory is for storing the instructions, and the memory may be independent of the processor or integrated into the processor.
所述通信装置还可以进一步包括收发器(图中未示出),用于接收和/或发送数据。本申请实施例的通信装置可以是任何具有无线通信功能的设备,例如接入点、站点、用户设备、基站等。The communication device may further include a transceiver (not shown) for receiving and/or transmitting data. The communication device of the embodiment of the present application may be any device having a wireless communication function, such as an access point, a site, a user equipment, a base station, and the like.
另外,所述通信装置还可以具有编译码的双重功能,当作为编码端的时候执行编码的操作,当作为译码端的时候,执行译码的操作。该通信装置中包含有基带芯片,该基带芯片含有编码器和译码器,编码器可以用于实现与前述的编码端相同的功能,译码器可以实现与前述译码端相同的功能。In addition, the communication device may also have a dual function of encoding and decoding, performing an encoding operation when acting as an encoding end, and performing a decoding operation when acting as a decoding terminal. The communication device includes a baseband chip, the baseband chip includes an encoder and a decoder, and the encoder can be used to implement the same function as the aforementioned encoding end, and the decoder can implement the same function as the aforementioned decoding end.
在上述的各种实施例中,所述处理器可以是一种根据非固化指令工作的集成电路或根据固化指令工作的集成电路。根据非固化指令工作的处理器通过读取并执行存储器中的指令来实现如图3至图8所示的所述方法中的任一种方法中的各种实施例,或者,实现所述如图9至图11中所示的数据处理装置中的任意一种数据处理装置中的各种实施例。根据固化指令工作的处理器通过运行自身的硬件逻辑电路来实现如图3至图8所示的所述方法中的任一种方法中的各种实施例,或者,实现如图9至图11中所示的所述数据处理装置中的任意一种数据处理装置中的各种实施例。根据固化指令工作的处理器在运行自身的硬件逻辑电路的过程中往往也需要从存储器中读取一些数据,或者将运行结果输出到存储器。所述存储器为随机存储器(Random Access Memory,简称ROM),闪存,只读存储器(Read Only Memory,简称RAM),可编程只读存储器,电可擦写可编程存储器,高速缓存(CACHE)或者寄存器等便于处理器读取的存储介质。In various embodiments described above, the processor may be an integrated circuit that operates in accordance with a non-curing instruction or an integrated circuit that operates in accordance with a curing instruction. The processor operating in accordance with the non-curing instructions implements various ones of the methods of any of the methods illustrated in Figures 3 through 8 by reading and executing instructions in the memory, or Various embodiments of any of the data processing devices shown in Figures 9 through 11 are shown. The processor operating in accordance with the curing instructions implements various ones of the methods of any of the methods illustrated in Figures 3-8 by running its own hardware logic circuitry, or alternatively, as shown in Figures 9-11 Various embodiments of any of the data processing devices shown in the data processing device. Processors that operate according to the firmware instructions often also need to read some data from the memory or output the results to the memory during the operation of their own hardware logic. The memory is a random access memory (ROM), a flash memory, a read only memory (RAM), a programmable read only memory, an electrically erasable programmable memory, a cache (CACHE) or a register. A storage medium that is convenient for the processor to read.
在上述的各种实施例中,所述处理器可以是中央处理器(Central Processing Unit,简称CPU)、图形处理器(Graphics Processing Unit,简称GPU)、数字信号处理器(Digital Signal Processor,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现成可编程门阵列(Field Programmable Gate Array,简称FPGA)、网 络处理器(Network Processor,简称NP)、其他可编程逻辑器件、分立门晶体管逻辑器件、或者分立硬件组件等等。In various embodiments described above, the processor may be a central processing unit (CPU), a graphics processing unit (GPU), or a digital signal processor (DSP). ), Application Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA), Network Processor (NP), other programmable logic devices, discrete gate transistors Logic devices, or discrete hardware components, and so on.
上述的各种实施例可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The various embodiments described above may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the term "and/or" herein is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist at the same time. There are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
本文中术语“多个”是指两个或者两个以上。The term "plurality" as used herein refers to two or more.

Claims (20)

  1. 一种数据编码方法,其特征在于,所述方法包括:A data encoding method, the method comprising:
    将多段待编码的数据块进行Polar码编码得到编码后的数据块,其中所述多段待编码数据块中的每段待编码数据块中携带特征信息,所述特征信息经过Polar码编码后,前后两个相邻的待编码数据块所携带的特征信息之间的关系满足:后一个待编码数据块所携带的特征信息采用对应的相对扰码序列解扰后得到前一个待编码数据块所携带的特征信息;Transmitting a plurality of data blocks to be encoded into a coded data block, wherein each of the plurality of data blocks to be encoded carries feature information in each of the to-be-coded data blocks, and the feature information is encoded by Polar code. The relationship between the feature information carried by the two adjacent data blocks to be encoded is satisfied: the feature information carried by the data block to be coded is descrambled by the corresponding relative scrambling code sequence, and is carried by the previous data block to be coded. Characteristic information;
    将多段编码后的数据块,按照所述前后相邻的顺序输出。The multi-segment encoded data blocks are output in the order in which they are adjacent to each other.
  2. 如权利要求1中所述的方法,其特征在于,所述特征信息为经过加扰之后的特征信息。The method of claim 1 wherein said feature information is feature information after scrambling.
  3. 如权利要求1中所述的方法,其特征在于,所述多段待编码的数据块中所携带的特征信息是不同的。The method according to claim 1, wherein the feature information carried in the plurality of pieces of data blocks to be encoded is different.
  4. 如权利要求1中所述的方法,其特征在于,所述特征信息为时序信息,所述时序信息显示发送所述多段编码后的数据块的顺序。The method of claim 1 wherein said characteristic information is time series information, said time series information showing an order in which said plurality of encoded data blocks are transmitted.
  5. 如权利要求4中所述的方法,其特征在于,在所述特征信息为时序信息的情况下,所述将多段编码后的数据块,按照所述前后相邻的顺序输出,包括:The method according to claim 4, wherein, in the case that the feature information is time series information, the outputting the multi-segment encoded data blocks in the order of the adjacent ones before and after, includes:
    将多段编码后的数据块,按照所述时序信息显示的顺序输出。The multi-segment encoded data blocks are output in the order in which the timing information is displayed.
  6. 如权利要求1中所述的方法,其特征在于,所述多段待编码的数据块是属于一个发送周期内的待编码的数据块,在将多段待编码的数据块进行Polar码编码得到编码后的数据块的步骤之前或者之后还包括:The method as claimed in claim 1, wherein the plurality of data blocks to be encoded belong to a data block to be encoded within one transmission period, and the data blocks to be encoded are encoded by Polar code encoding and encoding. The steps of the data block before or after the steps include:
    对所述多段待编码数据块中携带的特征信息采用不同的扰码序列加扰,其中,一个发送周期内的所述多段待编码数据块中携带的特征信息是相同的。The feature information carried in the multi-segment data block to be encoded is scrambled by using different scrambling code sequences, wherein the feature information carried in the multi-segment data block to be encoded in one transmission period is the same.
  7. 一种译码方法,其特征在于,所述方法包括:A decoding method, characterized in that the method comprises:
    接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理,所述采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理具体包括:采用一个相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待译码的数据块中所携带的待译码的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;Receiving two adjacent data blocks to be decoded before and after, the data block to be decoded carries the feature information to be decoded; using a relative scrambling code sequence to participate in descrambling processing, and performing the descrambling result Decoding and judging processing, the step of using a relative scrambling code sequence to participate in descrambling processing, and decoding and judging the obtained descrambling result comprises: using a relative scrambling code sequence to block a data block to be decoded The feature information to be decoded carried in the descrambling is descrambled to obtain the descrambled feature information, and the descrambled feature information and the to-be-decoded feature carried in the data block to be decoded in the previous segment After the information is combined, the decoding process is performed; and the decoded feature information is judged;
    在参与判断的特征信息为错误的情况下,采用另一个相对扰码序列参与所述解扰,并对得到的解扰结果进行译码及判断处理。When the feature information participating in the judgment is an error, another relative scrambling code sequence is used to participate in the descrambling, and the obtained descrambling result is decoded and judged.
  8. 如权利要求7中所述的方法,其特征在于,所述特征信息可以为经过加扰之后的特征信息。The method of claim 7, wherein the feature information is feature information after scrambling.
  9. 如权利要求7中所述的方法,其特征在于,所述两段待译码的数据块中所携带的特征信息是不同的。The method as claimed in claim 7, wherein the feature information carried in the two blocks of data to be decoded is different.
  10. 如权利要求7中所述的方法,其特征在于,在判断的结果为错误的情况下,尝试其他的相对扰码序列参与所述解扰,并对得到的解扰结果进行译码及判断处理,直至判断结果为正确或者尝试完所有的相对扰码序列,其中,每次尝试的相对扰码序列是不同的。The method according to claim 7, wherein in the case that the result of the determination is an error, other relative scrambling code sequences are attempted to participate in the descrambling, and the obtained descrambling result is decoded and judged. Until the judgment result is correct or all relative scrambling code sequences are tried, wherein the relative scrambling code sequence of each attempt is different.
  11. 如权利要求7中所述的方法,其特征在于,所述判断处理包括:The method of claim 7 wherein said determining comprises:
    对所述经过译码处理后的特征信息进行校验处理以及判断所述译码处理后的特征信息是否属于候选特征信息;Performing a verification process on the decoded feature information and determining whether the feature information after the decoding process belongs to candidate feature information;
    在确定所述经过译码处理后的特征信息校验正确并且属于候选特征信息的情况下,确定所述经过译码处理后的特征信息为正确的特征信息。After determining that the decoded feature information is correctly verified and belongs to the candidate feature information, it is determined that the decoded feature information is correct feature information.
  12. 如权利要求7中所述的方法,其特征在于,所述候选特征信息是指:与参与所述解扰处理的所述相对扰码序列关联的特征信息。The method according to claim 7, wherein said candidate feature information refers to feature information associated with said relative scrambling code sequence participating in said descrambling process.
  13. 一种译码方法,其特征在于,所述方法包括:A decoding method, characterized in that the method comprises:
    接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;通过计算所述两段待译码的数据块中携带的两个待译码的特征信息的相关性,得出与所述相关性匹配的相对扰码序列,采用所述相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待译码的数据块中所携带的待译码的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;Receiving two data blocks to be decoded adjacent to each other before and after, the data block to be decoded carries the feature information to be decoded; and calculating two to-be-translated carried in the two data blocks to be decoded Correlating the feature information of the code, and obtaining a relative scrambling code sequence that matches the correlation, and using the relative scrambling code sequence to descramble the feature information to be decoded carried in the data block to be decoded in the subsequent segment Obtaining the descrambled feature information, combining the descrambled feature information with the feature information to be decoded carried in the data block to be decoded in the previous segment, and performing decoding processing; Determining the characteristic information after decoding;
    在参与判断的特征信息为正确的情况下,将判断为正确的特征信息输出。When the feature information participating in the judgment is correct, the feature information judged to be correct is output.
  14. 一种数据处理装置,其特征在于,所述数据处理装置包括:A data processing apparatus, characterized in that the data processing apparatus comprises:
    第一编码模块,用于将多段待编码的数据块进行Polar码编码得到编码后的数据块,其中所述多段待编码数据块中的每段待编码数据块中携带特征信息,所述特征信息经过Polar码编码后,前后两个相邻的待编码数据块所携带的特征信息之间的关系满足:后一个待编码数据块所携带的特征信息采用对应的相对扰码序列解扰后得到前一个待编码数据块所携带的特征信息;a first encoding module, configured to perform a Polar code encoding on a plurality of data blocks to be encoded to obtain a coded data block, where each piece of the data block to be encoded in the plurality of pieces of data to be encoded carries feature information, and the feature information After the Polar code is encoded, the relationship between the feature information carried by the two adjacent data blocks to be encoded is satisfied: the feature information carried by the latter data block to be coded is descrambled by using the corresponding relative scrambling code sequence. Characteristic information carried by a data block to be encoded;
    接口模块用于将多段编码后的数据块,按照所述前后相邻的顺序输出。The interface module is configured to output the multi-segment encoded data blocks in the order of the adjacent ones.
  15. 一种数据处理装置,其特征在于,所述数据处理装置包括:A data processing apparatus, characterized in that the data processing apparatus comprises:
    接收模块,用于接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;a receiving module, configured to receive two pieces of data blocks to be decoded that are adjacent to each other before and after, and the data block to be decoded carries feature information to be decoded;
    第一译码模块,用于采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理,所述采用一个相对扰码序列参与解扰处理,并对得到的解扰结果进行译码及判断处理具体包括:采用一个相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待 译码的数据块中所携带的待译码的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;在参与判断的特征信息为错误的情况下,采用另一个相对扰码序列参与所述解扰,并对得到的解扰结果进行译码及判断处理。a first decoding module, configured to participate in descrambling processing by using a relative scrambling code sequence, and perform decoding and judging processing on the obtained descrambling result, wherein the relative scrambling code sequence is used to participate in descrambling processing, and the obtained Decoding the decoding result and determining the processing specifically includes: using a relative scrambling code sequence to descramble the feature information to be decoded carried in the data block to be decoded in the subsequent segment, and obtaining the descrambled feature information, Decoding the feature information and combining the feature information to be decoded carried in the data block to be decoded in the previous segment to perform decoding processing; and determining the decoded feature information; When the feature information participating in the judgment is an error, another relative scrambling code sequence is used to participate in the descrambling, and the obtained descrambling result is decoded and judged.
  16. 一种数据处理装置,其特征在于,所述数据处理装置包括:A data processing apparatus, characterized in that the data processing apparatus comprises:
    接收模块,用于接收前后相邻的两段待译码的数据块,所述待译码的数据块中携带待译码的特征信息;a receiving module, configured to receive two pieces of data blocks to be decoded that are adjacent to each other before and after, and the data block to be decoded carries feature information to be decoded;
    第二译码模块,用于通过计算所述两段待译码的数据块中携带的两个待译码的特征信息的相关性,得出与所述相关性匹配的相对扰码序列,采用所述相对扰码序列对后一段待译码的数据块中携带的待译码的特征信息进行解扰,得到解扰后的特征信息,将所述解扰后的特征信息与所述前一段待译码的数据块中所携带的待译码的特征信息合并后进行译码处理;并对所述经过译码处理后的特征信息进行判断;a second decoding module, configured to calculate a correlation between the two pieces of information to be decoded carried in the data block to be decoded, and obtain a relative scrambling code sequence that matches the correlation, The relative scrambling code sequence descrambles the feature information to be decoded carried in the data block to be decoded in the subsequent segment to obtain the descrambled feature information, and the descrambled feature information and the previous segment Decoding the feature information to be decoded carried in the data block to be decoded and performing decoding processing; and determining the feature information after the decoding process;
    所述接收模块进一步用于在参与判断的特征信息为正确的情况下,将判断为正确的特征信息输出。The receiving module is further configured to output the feature information determined to be correct if the feature information participating in the determination is correct.
  17. 一种数据处理装置,其特征在于,所述装置包括处理器,所述处理器用于执行如权利要求1-6中任意一项所述的数据编码方法或者如权利要求7-13中任意一项所述的译码方法。A data processing apparatus, comprising: a processor, the processor for performing the data encoding method according to any one of claims 1 to 6 or the method of any one of claims 7-13 The decoding method described.
  18. 如权利要求17所述的装置,其特征在于,所述装置还包括存储器,用于存储由所述处理器执行如权利要求1-6中任意一项所述的数据编码方法或者如权利要求7-13中任意一项所述的译码方法时所用的程序。The apparatus according to claim 17, wherein said apparatus further comprises a memory for storing said data encoding method according to any one of claims 1-6 by said processor or claim 7 The program used in the decoding method according to any one of the preceding claims.
  19. 一种计算机可读存储介质,所述介质中存储有计算机执行指令,当发送设备的至少一个处理器执行所述计算机执行指令时,发送设备执行权利要求1-6中任意一项所述的编码方法。A computer readable storage medium having computer executed instructions stored therein, the transmitting device performing the encoding of any one of claims 1-6 when at least one processor of the transmitting device executes the computer to execute an instruction method.
  20. 一种计算机可读存储介质,所述介质中存储有计算机执行指令,当接收设备的至少一个处理器执行所述计算机执行指令时,接收设备执行7-13中任意一项所述的译码方法。A computer readable storage medium having computer executed instructions stored therein, when the at least one processor of the receiving device executes the computer to execute an instruction, the receiving device performs the decoding method according to any one of 7-13 .
PCT/CN2018/080835 2017-04-05 2018-03-28 Data encoding and decoding method and device WO2018184493A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710218600.9 2017-04-05
CN201710218600.9A CN108696283B (en) 2017-04-05 2017-04-05 Method and apparatus for encoding and decoding data

Publications (1)

Publication Number Publication Date
WO2018184493A1 true WO2018184493A1 (en) 2018-10-11

Family

ID=63712375

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/080835 WO2018184493A1 (en) 2017-04-05 2018-03-28 Data encoding and decoding method and device

Country Status (2)

Country Link
CN (1) CN108696283B (en)
WO (1) WO2018184493A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109873686B (en) * 2019-03-11 2020-06-05 北京理工大学 5G broadcast channel merging and receiving method based on polarization code
CN112217597B (en) * 2019-07-10 2022-04-01 大唐移动通信设备有限公司 Method and equipment for demodulating physical broadcast channel PBCH

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246883A1 (en) * 2010-11-22 2013-09-19 Sony Corporation Data processing device and data processing method
CN103516476A (en) * 2012-06-29 2014-01-15 华为技术有限公司 Encoding method and device
CN103780329A (en) * 2012-10-17 2014-05-07 华为技术有限公司 Method, device and system for encoding and decoding
CN105009461A (en) * 2013-12-24 2015-10-28 华为技术有限公司 Polar code decoding method and decoding apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281166B (en) * 2013-05-15 2016-05-25 北京邮电大学 A kind of mixed automatic retransfer request transmission method based on polarization code
US9768915B2 (en) * 2013-08-20 2017-09-19 Lg Electronics Inc. Method for transmitting data by using polar coding in wireless access system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246883A1 (en) * 2010-11-22 2013-09-19 Sony Corporation Data processing device and data processing method
CN103516476A (en) * 2012-06-29 2014-01-15 华为技术有限公司 Encoding method and device
CN103780329A (en) * 2012-10-17 2014-05-07 华为技术有限公司 Method, device and system for encoding and decoding
CN105009461A (en) * 2013-12-24 2015-10-28 华为技术有限公司 Polar code decoding method and decoding apparatus

Also Published As

Publication number Publication date
CN108696283B (en) 2021-06-22
CN108696283A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
CN109075799B (en) Coding and decoding method and device for Polar codes
US10938422B2 (en) Polar code rate matching method and apparatus, and a communications apparatus
WO2016119105A1 (en) Polar code generation method and device
WO2016082142A1 (en) Rate matching method and apparatus for polar code, and wireless communication device
CN108365848B (en) Polar code decoding method and device
CN108462554B (en) Polar code transmission method and device
WO2019062145A1 (en) Polar encoding method and encoding apparatus, and decoding method and decoding apparatus
WO2019158031A1 (en) Encoding method, decoding method, encoding device, and decoding device
CN117375766A (en) Information transmission method, transmitting terminal equipment and receiving terminal equipment
WO2017124844A1 (en) Method for determining transmission block size of polarisation code, and communication device
US10887050B2 (en) Downlink signal reception method and user equipment, and downlink signal transmission method and base station
CN107409006B (en) Hybrid automatic repeat request method and device for polarization code
US11139836B2 (en) Information transmission method and transmission device, and information reception method and reception device
WO2020048537A1 (en) Method and device for cascade coding
CN111049621A (en) System and method for interleaving distributed CRC in polar code for early termination
US20230208554A1 (en) Encoding and Decoding Method and Apparatus
CN110476357B (en) Polarization code transmission method and device
CN111600677B (en) Data transmission method and device
US10581464B2 (en) Encoder device, decoder device, and methods thereof
WO2018184493A1 (en) Data encoding and decoding method and device
WO2019037782A1 (en) Decoding method and decoder for polar code
US11343018B2 (en) Polar code interleaving processing method and apparatus
US11044046B2 (en) Data processing method and apparatus
US20230224082A1 (en) Retransmission method and apparatus
WO2022171019A1 (en) Encoding and decoding methods and related apparatuses

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

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

Country of ref document: EP

Kind code of ref document: A1