WO2025001527A1 - Data detection method and apparatus - Google Patents
Data detection method and apparatus Download PDFInfo
- Publication number
- WO2025001527A1 WO2025001527A1 PCT/CN2024/091853 CN2024091853W WO2025001527A1 WO 2025001527 A1 WO2025001527 A1 WO 2025001527A1 CN 2024091853 W CN2024091853 W CN 2024091853W WO 2025001527 A1 WO2025001527 A1 WO 2025001527A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- synchronization signal
- log
- signal block
- likelihood probability
- ssb
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0036—Systems modifying transmission characteristics according to link quality, e.g. power backoff arrangements specific to the receiver
- H04L1/0038—Blind format detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0067—Rate matching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0071—Use of interleaving
Definitions
- the embodiments of the present application relate to but are not limited to the field of communication technology.
- an embodiment of the present application provides a data detection device, comprising: at least one rate-dematching module, each of which is connected to at least one soft-merging module, each of which is connected to a decoding and verification module, as well as at least one processor and a first memory; wherein the rate-dematching module is configured to perform a de-secondary scrambling process and a de-repetition rate matching process on the log-likelihood probability of the input first synchronization signal block according to the synchronization signal block index to obtain the log-likelihood probability of the second synchronization signal block; the soft-merging module is configured to perform a de-sub-block interleaving process and a de-system frame number on the log-likelihood probability of the second synchronization signal block according to the system frame number index The mask processing and the log-likelihood probability soft merging processing are performed to obtain the log-likelihood probability of the third synchronization signal block; the decoding verification module is configured to perform decoding
- FIG1 is a block diagram of a data detection device according to an embodiment of the present application.
- the rate de-matching module is configured to perform secondary de-scrambling and repetition rate de-matching processing on the input first SSB LLR according to the SSB index to obtain the second SSB LLR;
- the soft merging module is configured to perform sub-block de-interleaving, SFN mask de-masking and LLR soft merging processing on the second SSB LLR according to the SFN index to obtain the third SSB LLR;
- the decoding and verification module is configured to perform decoding and CRC processing on the third SSB LLR to obtain decoded data and verification results.
- At least one program is stored in the first memory.
- the at least one program is executed by at least one processor, at least one of the following steps is implemented: controlling whether the SSB index is input into the rate matching module through software or hardware circuit; controlling whether the first SSB LLR is input into the rate matching module through software or hardware circuit; controlling whether the rate matching module performs secondary descrambling and repetitive rate matching on the first SSB LLR to obtain a second SSB LLR, or performs secondary descrambling and repetitive rate matching on the first SSB LLR through software to obtain a second SSB LLR; controlling whether the software also performs secondary descrambling and repetitive rate matching on the first SSB LLR to obtain a second SSB LLR.
- different soft merging modules connected to the same rate matching module correspond to different decoding channels
- different soft merging modules connected to the same rate matching module correspond to different SFN indexes. That is, when the same SSB index is used for data detection, the SFN indexes input to different soft merging modules connected to the same rate matching module are different, that is, the process of blind detection using different SFN indexes.
- the following steps are also implemented: determining whether the verification result is successful, and if the verification result is successful, ending the PBCH decoding process of the current TTI and continuing the PBCH decoding process of the next TTI.
- the following steps are also implemented: when the verification result is a verification failure, determine whether all SFN indexes have been traversed. If not all SFN indexes have been traversed, notify the soft merging module to perform de-sub-block interleaving, de-SFN masking and LLR soft merging on the second SSB LLR according to the SFN index that has not been traversed to obtain a third SSB LLR.
- the following steps are also implemented: when all SFN indexes have been traversed, determining whether all SSB indexes have been traversed; when all SSB indexes have not been traversed, notifying the rate matching module to perform secondary descrambling and repetitive rate matching processing on the input first SSB LLR according to the SSB index that has not been traversed to obtain a second SSB LLR.
- the data detection device of the embodiment of the present application can perform PBCH decoding during the initial cell selection, or cell switching or reselection process.
- the initial cell selection is when the terminal is turned on or enters a service area from an out-of-service area, the terminal contacts the base station and selects a suitable cell to reside in, and extracts system messages; cell switching and reselection both involve changes in the service cell.
- cell switching is a change in the service cell when the terminal is in a call state
- cell reselection is a change in the service cell when the terminal is in an idle state.
- the following method is used to control whether the SSB index is input into the rate matching module through software or hardware circuit: controlling the first multiplexer to select whether the SSB index is input into the rate matching module through software or hardware circuit In the secondary scrambling code generation unit.
- the following steps are also implemented: when the second SSB LLR is written to the second memory by software, the rate dematching module is enabled and the soft merging module is disabled; after the rate dematching module performs secondary descrambling and repetitive rate matching processing on the input first SSB LLR according to the SSB index to obtain the second SSB LLR, the rate dematching module is disabled and the second SSB LLR is written to the second memory; the soft merging module is enabled.
- the following steps are further implemented: when the third multiplexer is controlled to select to write the second SSB LLR to the second memory through software, the secondary scrambling code generation unit, the secondary descrambling unit, and the de-repetition rate matching unit are controlled to be in an enabled state, and the soft merging module is controlled to be in a disabled state; after the de-repetition rate matching unit performs de-repetition rate matching processing on the fourth SSB LLR to obtain the second SSB LLR, the secondary scrambling code generation unit, the secondary descrambling unit, and the de-repetition rate matching unit are controlled to be in a disabled state, and the de-repetition rate matching unit is controlled to be in a disabled state.
- the matching unit stops writing the second SSB LLR into the second memory, reads the second SSB LLR output by the de-repetition rate matching unit, and writes the second SSB LLR into the second memory; and controls the soft merging module to be in an enabled state.
- the rate dematching module also includes: a third memory configured to store the first SSB LLR.
- the output end of the second multiplexer is connected to the input end of the third memory, the output end of the third memory is connected to the input end of the secondary descrambling unit, one of the input ends of the second multiplexer is connected to the first SSB LLR input through the software, that is, it is connected to the processor, the first SSB LLR output by the front-end hardware circuit is input to the processor, and the processor inputs the first SSB LLR into the third memory, and the other input end of the second multiplexer is connected to the first SSB LLR input through the hardware circuit, that is, the first SSB LLR output by the front-end hardware circuit is directly input into the third memory.
- the soft merging module includes: an SFN mask generation unit, configured to generate an SFN mask according to an SFN index; a de-sub-block interleaving unit, configured to perform de-sub-block interleaving processing on the second SSB LLR to obtain a fifth SSB LLR; a de-SFN mask unit, configured to perform de-SFN mask processing on the fifth SSB LLR according to the SFN mask to obtain a sixth SSB LLR; an LLR soft merging unit, configured to perform LLR soft merging processing on the sixth SSB LLR and the SSB LLR stored in a fourth memory to obtain a third SSB LLR; or, output the sixth SSB LLR as the third SSB LLR; the LLR soft merging unit is also configured to: store the third SSB LLR in a fourth memory; a fourth memory, configured to store a third synchronization signal block; a fourth multiplexer (such as Mux4 in Figures 2 and 3) and
- the output end of the fifth multiplexer is connected to the input end of the LLR soft combining unit, one of the input ends of the fifth multiplexer is connected to data 0, and the other input end of the fifth multiplexer is connected to the output end of the fourth memory.
- the following steps are also implemented: controlling the fourth multiplexer to select data 0 or the sixth SSB output by the SFN mask decryption unit
- the LLR is input to the LLR soft merging unit;
- the fifth multiplexer is controlled to select data 0 or the SSB LLR stored in the fourth memory to be input to the LLR soft merging unit;
- the de-sub-block interleaving unit, the de-SFN mask unit, and the SFN mask generation unit are used to control whether the second SSB LLR is de-sub-block interleaved and the system frame number mask is de-masked, or whether the second SSB LLR is de-sub-block interleaved and the SFN mask is de-masked by software.
- the data 0 connected to one of the input terminals of the fourth multiplexer and the data 0 connected to one of the input terminals of the fifth multiplexer can both be generated by hardware circuits.
- the sixth SSB LLR output by the SFN mask de-masking unit is bypassed
- the fifth multiplexer is controlled to select the SSB LLR stored in the fourth memory to be input into the LLR soft merging unit
- the sixth SSB LLR output by the SFN mask de-masking unit in the previous SSB burst set cycle or the third SSB LLR of the previous SSB burst set cycle stored in the fourth memory is input into the LLR soft merging unit
- the sixth SSB LLR output by the SFN mask de-masking unit in the previous SSB burst set cycle or the third SSB LLR of the previous SSB burst set cycle is input into the Polar code decoding unit for decoding processing, that is, the soft merging result is the sixth SSB LLR output by the SFN mask de-masking unit in the previous SSB burst set cycle
- the fourth multiplexer is controlled to select the sixth SSB LLR output by the SFN mask de-masking unit to be input into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle is input into the LLR soft merging unit
- the fifth multiplexer is controlled to select data 0 to be input into the LLR soft merging unit
- the SSB LLR stored in the fourth memory is bypassed, and then the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle is input into the Polar code decoding unit for decoding processing, that is, the soft merging result is the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle.
- the fourth multiplexer When the fourth multiplexer is controlled to select the sixth SSB LLR output by the SFN mask decryption unit to be input into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask decryption unit in the current SSB burst set cycle is input into the LLR soft merging unit,
- the fifth multiplexer selects to input the SSB LLR stored in the fourth memory into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle stored in the fourth memory is input into the LLR soft merging unit, and then the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle or the third SSB LLR in the previous SSB burst set cycle and the sixth SSB LLR output by the SFN mask decryption unit in the current SSB burst set cycle are subjected to LLR
- the LLR soft combining process may be an addition.
- different soft merging requirements can be achieved by controlling the fourth multiplexer and the fifth multiplexer controller to select different data channels. For example, when the BBS burst set period is 80ms and 160ms; or, when the BBS burst set period is any one of 5ms, 10ms, 20ms, and 40ms, and the current is the first BBS burst set period of TTI, LLR soft merging cannot be performed, then the fifth multiplexer controller can be controlled to input data 0 into the LLR soft merging unit.
- LLR soft merging is performed. Then, the sixth SSB LLR output by the SFN mask de-masking unit in the previous SSB burst set period stored in the fourth memory can be input into the LLR soft merging unit by controlling the fifth multiplexing controller.
- the following steps are also implemented: controlling whether the generation of the SFN mask, the de-sub-block interleaving processing, and the de-SFN mask processing are implemented by software or by hardware circuits.
- the de-rate matching module is controlled to be in an enabled state. After the de-repetition rate matching unit stops writing the second SSB LLR to the second memory, the de-rate matching module is controlled to be in a non-enabled state, and the second SSB LLR stored in the second memory is read; an SFN mask is generated, and the second SSB LLR is de-sub-block interleaving is performed on the second SSB LLR according to the generated SFN mask, and the sixth SSB LLR is obtained by de-SFN mask processing; the sixth SSB LLR is written to the fourth memory.
- a sixth multiplexer such as Mux6 as shown in Figures 2 and 3
- the output end of the sixth multiplexer is connected to the input end of the SFN mask generation unit, one of the input ends of the sixth multiplexer is connected to the SFN index input through software, that is, connected to the processor, and the processor reads the SFN index from other hardware modules and inputs it, and the other input end of the sixth multiplexer is connected to the SFN index input through the hardware circuit.
- the number of the third memory may be one or more.
- different second memories may be selected by switching through a multiplexer.
- the processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the first memory or the second memory or the third memory or the fourth memory is a device with data storage capabilities, including but not limited to a random access memory (RAM, more specifically SDRAM, DDR, etc.), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), and a flash memory (FLASH).
- RAM random access memory
- ROM read-only memory
- EEPROM electrically erasable programmable read-only memory
- FLASH flash memory
- whether the first SSB LLR is input to the de-scrambling unit through software or hardware circuit can be selected by controlling the second multiplexer.
- the secondary scrambling code generation unit, the secondary descrambling unit, and the derepetition rate matching unit are controlled to be in an enabled state, and the soft merging module is controlled to be in a disabled state; after the derepetition rate matching unit performs derepetition rate matching processing on the fourth SSB LLR to obtain the second SSB LLR, the secondary scrambling code generation unit, the secondary descrambling unit, and the derepetition rate matching unit are controlled to be in a disabled state, the derepetition rate matching unit is controlled to stop writing the second SSB LLR into the second memory, the second SSB LLR output by the derepetition rate matching unit is read, and the second SSB LLR is written into the second memory; the soft merging module is controlled to be in an enabled state.
- the de-rate matching module when the second SSB LLR is subjected to de-sub-block interleaving and de-SFN masking by software, before the de-rate matching module performs de-secondary scrambling and de-repetitive rate matching on the input first SSB LLR according to the SSB index to obtain the second SSB LLR, the de-rate matching module is enabled; after the de-rate matching module performs de-secondary scrambling and de-repetitive rate matching on the input first SSB LLR according to the SSB index to obtain the second SSB LLR, the de-rate matching module is disabled; the second SSB LLR is read; the second SSB LLR is de-sub-block interleaving and de-SFN masking are performed on the second SSB LLR to obtain a sixth SSB LLR; and the sixth SSB LLR is written into the fourth memory.
- the fourth multiplexer is controlled to select data 0 or the sixth SSB LLR output by the SFN mask de-coding unit to be input into the LLR soft merging unit; the fifth multiplexer is controlled to select data 0 or the SSB LLR stored in the fourth memory to be input into the LLR soft merging unit; and the de-sub-block interleaving unit, the de-SFN mask unit, and the SFN mask generating unit are used to control whether the second SSB LLR is de-sub-block interleaved and the system frame number mask is de-coded, or whether the second SSB LLR is de-sub-block interleaved and the SFN mask is de-coded by software.
- the fourth multiplexer is controlled to select the sixth SSB LLR output by the SFN mask de-masking unit to be input into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle is input into the LLR soft merging unit
- the fifth multiplexer is controlled to select data 0 to be input into the LLR soft merging unit
- the SSB LLR stored in the fourth memory is bypassed, and then the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle is input into the Polar code decoding unit for decoding processing, that is, the soft merging result is the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle.
- the fourth multiplexer When the fourth multiplexer is controlled to select the sixth SSB LLR output by the SFN mask decryption unit to be input into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask decryption unit in the current SSB burst set cycle is input into the LLR soft merging unit, when the fifth multiplexer is controlled to select the SSB LLR stored in the fourth memory to be input into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle stored in the fourth memory is input into the LLR soft merging unit, and then the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle is input into the LLR soft merging unit.
- the LLR soft combining process may be an addition.
- the method further includes: controlling whether the generation of the SFN mask, de-subblock interleaving, and de-SFN mask processing are implemented by software or by hardware circuits.
- the LLR soft merging unit is further configured to: read the third SSB LLR of the previous BBS burst set cycle and the sixth SSB LLR of the current BBS burst set cycle stored in the fourth memory, perform LLR soft merging processing to obtain the third SSB LLR of the current BBS burst set cycle, and store the third SSB LLR of the current BBS burst set cycle in the fourth memory.
- the method further includes: controlling a sixth multiplexer to select whether to input the SFN index through software or through a hardware circuit.
- step 402 the third SSB LLR is decoded and CRC processed by a decoding and verification module connected to the soft merging module to obtain decoded data and verification results.
- the decoding and CRC processing of the third SSB LLR by the decoding and verification module connected to the soft combining module to obtain the decoded data and the verification result includes: decoding and processing the third SSB LLR by the Polar code decoding unit The decoded data is obtained; and a CRC unit is used to perform CRC processing on the decoded data to obtain a verification result.
- the rate-decoding module, the soft-merging module and the decoding and checking module are implemented using hardware circuits.
- the data detection method also includes at least one of the following steps: controlling whether the SSB index is input into the rate dematching module through software or hardware circuit; controlling whether the first SSB LLR is input into the rate dematching module through software or hardware circuit; controlling whether the rate dematching module performs secondary descrambling and repetitive rate matching processing on the first SSB LLR to obtain the second SSB LLR, or performs secondary descrambling and repetitive rate matching processing on the first SSB LLR through software to obtain the second SSB LLR; controlling whether the software or hardware circuit is used to input the SFN index into the soft merging module.
- the rate-dematching module when the SSB index is input into the rate-dematching module through a hardware circuit, the first SSB LLR is input into the rate-dematching module through software or hardware circuit, the rate-dematching module is controlled to perform secondary scrambling and repetitive rate matching on the first SSB LLR to obtain a second SSB LLR, and the SFN index is input into the soft merging module through a hardware circuit, the rate-dematching module is controlled to be in an enabled state, the first SSB LLR is received through the rate-dematching module, and the first SSB LLR is processed through the rate-dematching module.
- the LLR performs de-secondary scrambling and de-repetition rate matching processing to obtain the second SSB LLR.
- the de-rate matching module is notified to send a start indication to the soft merging module.
- the soft merging module performs de-sub-block interleaving, de-SFN masking and LLR soft merging processing on the second SSB LLR according to the SFN index to obtain the third SSB LLR. Every time the soft merging module obtains a third SSB LLR, the third SSB LLR is sent to the decoding and verification module for decoding and CRC processing to obtain the decoded data and verification results.
- the method further includes: determining whether the check result is successful, and if the check result is successful, terminating the PBCH decoding process of the current TTI and continuing the PBCH decoding process of the next TTI.
- the soft merging module when the verification result is a verification failure, it is determined whether all SFN indexes have been traversed. If not all SFN indexes have been traversed, the soft merging module is notified to perform sub-block deinterleaving, SFN masking and LLR soft merging on the second SSB LLR according to the SFN index that has not been traversed to obtain the third SSB LLR.
- the rate dematching module is notified to perform secondary descrambling and repetitive rate matching processing on the input first SSB LLR according to the SSB index that has not been traversed to obtain the second SSB LLR.
- the following steps are also implemented: when all SFN indexes and all SSB indexes have been traversed, the decoding process of the next SSB burst set cycle is performed.
- the data detection method of the embodiment of the present application can be applied in a mobile terminal, a computer terminal or similar computing devices.
- the data detection method of the embodiment of the present application can perform PBCH decoding during the initial cell selection, or cell switching or reselection process.
- the initial cell selection is when the terminal is turned on or enters a service area from an out-of-service area, the terminal contacts the base station and selects a suitable cell to reside in, and extracts system messages; cell switching and reselection both involve changes in the service cell.
- cell switching is a change in the service cell when the terminal is in a call state
- cell reselection is a change in the service cell when the terminal is in an idle state.
- the SSB burst set period is 20ms
- the TTI is 4 times the SSB burst set period
- the number of SSB LLRs transmitted in one TTI is 4 times the number of SSB LLRs transmitted in one SSB burst set period.
- the SSB burst set period can be any one of 5ms, 10ms, 20ms, 40ms, 80ms, and 160ms.
- the SSB transmitted within a TTI The number of LLRs is 16, 8, 4, 2, 1, and 1 times the number of SSB LLRs transmitted in one SSB burst set period, and the corresponding numbers of SFN indexes are 16, 8, 4, 4, 4, and 4, respectively.
- Different SSB burst set periods within the same TTI can be soft-merged for LLR to improve the signal-to-noise ratio, while when the SSB burst set period is 80ms and 160ms, there is no need to perform SFN mask removal and LLR soft merging.
- the first SSB LLR within different SSB burst set periods is de-scrambled, repetition rate matched, and sub-block interleaved according to the same SSB index and the same SFN index, and then de-SFN masked according to the same SFN index, and then added together, which is the LLR soft merging process.
- the implementation process of the above data detection method is the same as the implementation process of the data detection device in the aforementioned embodiment, and will not be repeated here.
- Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium).
- a computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data).
- Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage, or any other medium that can be used to store the desired information and can be accessed by a computer.
- communication media generally include computer-readable instructions, data structures, program modules, or other media such as carrier waves or Other data in a modulated data signal such as other transport mechanisms, and may include any information delivery media.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求2023年6月28日提交给中国专利局的第202310779715.0号专利申请的优先权,其全部内容通过引用合并于此。This application claims priority to patent application No. 202310779715.0 filed with the China Patent Office on June 28, 2023, the entire contents of which are incorporated herein by reference.
本申请实施例涉及但不限于通信技术领域。The embodiments of the present application relate to but are not limited to the field of communication technology.
在第5代无线通信技术(5G,5th Generation Mobile Communication Technology)中,物理广播通道(PBCH,Physical Broadcast Channel)包含PBCH解调参考信号(DMRS,Demodulation Reference Signal)和PBCH数据两部分。用户设备(UE,User Equipment)在成功检测到主同步信号(PSS,Primary Synchronization Signal)和辅同步信号(SSS,Secondary Synchronization Signal)后,得到小区标识(CellID,Cell Identity)、正交频分复用(OFDM,Orthogonal Frequency Division Multiplexing)符号边界同步和粗频率同步。之后,对PBCH DMRS进行盲检测得到至少一个候选的同步信号块索引(SSB index,Synchronization Signal Block index),接着对PBCH数据进行检测得到主信息块(MIB,Master Information Block)消息,从而得到系统帧号以及半帧指示,以完成无线帧定时及半帧定时,同时通过候选的SSB index及当期频带使用的同步信号块突发集合(SSB burst set,Synchronization Signal Block burst set)图样确定当前PSS和SSS所在的时隙及符号,完成时隙定时。In the 5th Generation Mobile Communication Technology (5G), the Physical Broadcast Channel (PBCH) contains two parts: the PBCH demodulation reference signal (DMRS) and the PBCH data. After successfully detecting the Primary Synchronization Signal (PSS) and the Secondary Synchronization Signal (SSS), the User Equipment (UE) obtains the Cell Identity (Cell ID), Orthogonal Frequency Division Multiplexing (OFDM) symbol boundary synchronization and coarse frequency synchronization. Afterwards, the PBCH DMRS is blindly detected to obtain at least one candidate synchronization signal block index (SSB index), and then the PBCH data is detected to obtain the master information block (MIB) message, thereby obtaining the system frame number and half-frame indication to complete the wireless frame timing and half-frame timing. At the same time, the time slot and symbol of the current PSS and SSS are determined by the candidate SSB index and the synchronization signal block burst set (SSB burst set) pattern used by the current frequency band to complete the time slot timing.
PBCH数据检测过程也就是PBCH解码过程,PBCH解码过程包括解二级加扰、解重复速率匹配、解子块交织、解系统帧号(SFN,System Frame Number)掩码、极化码(Polar码)解码和循环冗余码校验(CRC,Cyclic Redundancy Check)等过程,为支持PBCH盲检 测,还包括:SFN掩码生成,对数似然概率(LLR,Log-Likelihood-Ratio)软合并等过程。The PBCH data detection process is also the PBCH decoding process. The PBCH decoding process includes de-scrambling, de-repetition rate matching, de-sub-block interleaving, de-system frame number (SFN, System Frame Number) mask, polarization code (Polar code) decoding and cyclic redundancy check (CRC, Cyclic Redundancy Check) processes to support PBCH blind detection. The measurement also includes: SFN mask generation, log-likelihood-ratio (LLR) soft merging and other processes.
长期演进(LTE,Long Term Evolution)系统中PBCH的传输时间间隔(TTI,Transmission Time Interval)为40毫秒(ms),SSBburst set周期固定为10ms,一个TTI内最多合并4次。而5G系统中PBCH的TTI为80ms,SSB burst set周期可变。初始小区选择时,SSB burst set周期默认为20ms,但小区切换和小区重选时,SSB burst set周期可以是5ms,10ms,20ms,40ms,80ms,160ms中的任意一个,同一个TTI内不同SSB burst set周期可以进行LLR软合并以提高信噪比。In the Long Term Evolution (LTE) system, the transmission time interval (TTI) of PBCH is 40 milliseconds (ms), the SSB burst set period is fixed at 10ms, and a maximum of 4 bursts can be combined in one TTI. In the 5G system, the TTI of PBCH is 80ms, and the SSB burst set period is variable. During the initial cell selection, the SSB burst set period defaults to 20ms, but during cell switching and cell reselection, the SSB burst set period can be any of 5ms, 10ms, 20ms, 40ms, 80ms, and 160ms. Different SSB burst set periods in the same TTI can be soft-merged for LLR to improve the signal-to-noise ratio.
对于5G系统,PBCH解码过程步骤多,且存在SSB burst set为多种周期的情况,其盲检测过程大大复杂化,灵活性也较低。For 5G systems, the PBCH decoding process has many steps and there are situations where the SSB burst set has multiple periods, which greatly complicates the blind detection process and reduces its flexibility.
发明内容Summary of the invention
本申请实施例提供一种数据检测方法和装置。The embodiments of the present application provide a data detection method and device.
第一方面,本申请实施例提供一种数据检测装置,包括:至少一个解速率匹配模块,每一个所述解速率匹配模块连接有至少一个软合并模块,每一个软合并模块连接有解码校验模块,以及至少一个处理器和第一存储器;其中,所述解速率匹配模块,配置为根据同步信号块索引对输入的第一同步信号块对数似然概率进行解二级加扰处理和解重复速率匹配处理得到第二同步信号块对数似然概率;所述软合并模块,配置为根据系统帧号索引对所述第二同步信号块对数似然概率进行解子块交织处理、解系统帧号掩码处理和对数似然概率软合并处理得到第三同步信号块对数似然概率;所述解码校验模块,配置为对所述第三同步信号块对数似然概率进行解码处理和循环冗余码校验处理得到解码的数据和校验结果;其中,所述解速率匹配模块、所述软合并模块和所述解码校验模块采用硬件电路实现;其中,所述第一存储器上存储有至少一个程序,当所述至少一个程序被所述至少一个处理器执行时,实现以下步骤至少之一:控制通过软件还是硬件电路将所述同步信号块索引输入到所述解速率匹配模块中;控制通过软 件还是硬件电路将所述第一同步信号块对数似然概率输入到所述解速率匹配模块中;控制通过所述解速率匹配模块对所述第一同步信号对数似然概率进行解二级加扰处理和解重复速率匹配处理得到所述第二同步信号块对数似然概率,还是通过软件对所述第一同步信号对数似然概率进行解二级加扰处理和解重复速率匹配处理得到所述第二同步信号块对数似然概率;控制通过软件还是硬件电路将所述系统帧号索引输入到所述软合并模块中。In the first aspect, an embodiment of the present application provides a data detection device, comprising: at least one rate-dematching module, each of which is connected to at least one soft-merging module, each of which is connected to a decoding and verification module, as well as at least one processor and a first memory; wherein the rate-dematching module is configured to perform a de-secondary scrambling process and a de-repetition rate matching process on the log-likelihood probability of the input first synchronization signal block according to the synchronization signal block index to obtain the log-likelihood probability of the second synchronization signal block; the soft-merging module is configured to perform a de-sub-block interleaving process and a de-system frame number on the log-likelihood probability of the second synchronization signal block according to the system frame number index The mask processing and the log-likelihood probability soft merging processing are performed to obtain the log-likelihood probability of the third synchronization signal block; the decoding verification module is configured to perform decoding processing and cyclic redundancy code check processing on the log-likelihood probability of the third synchronization signal block to obtain decoded data and a verification result; wherein the rate matching module, the soft merging module and the decoding verification module are implemented by hardware circuits; wherein at least one program is stored on the first memory, and when the at least one program is executed by the at least one processor, at least one of the following steps is implemented: controlling whether the synchronization signal block index is input into the rate matching module through software or hardware circuits; controlling whether the synchronization signal block index is input into the rate matching module through software whether the first synchronization signal block log-likelihood probability is input into the rate dematching module by software or hardware circuit; whether the rate dematching module performs secondary descrambling and repetition rate dematching on the first synchronization signal log-likelihood probability to obtain the second synchronization signal block log-likelihood probability, or whether the software performs secondary descrambling and repetition rate dematching on the first synchronization signal log-likelihood probability to obtain the second synchronization signal block log-likelihood probability; whether the software or hardware circuit is used to input the system frame number index into the soft merging module.
第二方面,本申请实施例提供一种数据检测方法,包括:通过至少一个解速率匹配模块实现根据同步信号块索引对输入的第一同步信号块对数似然概率进行解二级加扰处理和解重复速率匹配处理得到第二同步信号块对数似然概率;其中,不同所述解速率匹配模块对应不同同步信号块索引;通过与同一个所述解速率匹配模块连接的至少一个软合并模块实现根据系统帧号索引对所述第二同步信号块对数似然概率进行解子块交织处理、解系统帧号掩码处理和对数似然概率软合并处理得到第三同步信号块对数似然概率;其中,与同一个所述解速率匹配模块连接的不同所述软合并模块对应不同系统帧号索引;通过与所述软合并模块连接的解码校验模块对所述第三同步信号块对数似然概率进行解码处理和循环冗余码校验处理得到解码的数据和校验结果;其中,所述解速率匹配模块、所述软合并模块和所述解码校验模块采用硬件电路实现;所述数据检测方法还包括以下步骤至少之一:控制通过软件还是硬件电路将所述同步信号块索引输入到所述解速率匹配模块中;控制通过软件还是硬件电路将所述第一同步信号块对数似然概率输入到所述解速率匹配模块中;控制通过所述解速率匹配模块对所述第一同步信号对数似然概率进行解二级加扰处理和解重复速率匹配处理得到所述第二同步信号块对数似然概率,还是通过软件对所述第一同步信号对数似然概率进行解二级加扰处理和解重复速率匹配处理得到所述第二同步信号块对数似然概率;控制通过软件还是硬件电路将所述系统帧号索引输入到所述软合并模块中。 In the second aspect, an embodiment of the present application provides a data detection method, including: using at least one de-rate matching module to implement de-secondary scrambling and de-repetition rate matching processing of the input first synchronization signal block log-likelihood probability according to the synchronization signal block index to obtain the second synchronization signal block log-likelihood probability; wherein different de-rate matching modules correspond to different synchronization signal block indexes; using at least one soft merging module connected to the same de-rate matching module to implement de-sub-block interleaving processing, de-system frame number mask processing and log-likelihood probability soft merging processing of the second synchronization signal block log-likelihood probability according to the system frame number index to obtain the third synchronization signal block log-likelihood probability; wherein different soft merging modules connected to the same de-rate matching module correspond to different system frame number indexes; decoding and cyclic redundancy checking of the log-likelihood probability of the third synchronization signal block are performed by a decoding check module connected to the soft merging module. The residual code check processing obtains the decoded data and the check result; wherein, the rate matching module, the soft merging module and the decoding check module are implemented by hardware circuits; the data detection method also includes at least one of the following steps: controlling whether the synchronization signal block index is input into the rate matching module through software or hardware circuits; controlling whether the log-likelihood probability of the first synchronization signal block is input into the rate matching module through software or hardware circuits; controlling whether the log-likelihood probability of the first synchronization signal is de-scrambled and de-repeated through the rate matching module to obtain the log-likelihood probability of the second synchronization signal block, or whether the log-likelihood probability of the first synchronization signal is de-scrambled and de-repeated through software to obtain the log-likelihood probability of the second synchronization signal block; controlling whether the system frame number index is input into the soft merging module through software or hardware circuits.
图1为本申请一个实施例提供的数据检测装置的组成框图;FIG1 is a block diagram of a data detection device provided by an embodiment of the present application;
图2为本申请实施例中以数据检测装置包括一个解速率匹配模块和一个软合并模块为例的一种数据检测装置的组成框图;FIG2 is a block diagram of a data detection device in an embodiment of the present application, taking the data detection device including a rate matching solution module and a soft merging module as an example;
图3为本申请实施例中以数据检测装置包括一个解速率匹配模块和一个软合并模块为例的另一种数据检测装置的组成框图;FIG3 is a block diagram of another data detection device in the embodiment of the present application, taking the data detection device including a rate matching solution module and a soft merging module as an example;
图4为本申请另一个实施例提供的数据检测方法的流程图。FIG. 4 is a flow chart of a data detection method provided in another embodiment of the present application.
为使本领域的技术人员更好地理解本申请的技术方案,下面结合附图对本申请提供的数据检测方法和装置进行详细描述。In order to enable those skilled in the art to better understand the technical solution of the present application, the data detection method and device provided by the present application are described in detail below in conjunction with the accompanying drawings.
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现且不应当被解释为限于本文阐述的实施例。反之,提供这些实施例的目的在于使本申请透彻和完整,并将使本领域技术人员充分理解本申请的范围。Example embodiments will be described more fully below with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, the purpose of providing these embodiments is to make this application thorough and complete and to enable those skilled in the art to fully understand the scope of this application.
在不冲突的情况下,本申请各实施例及实施例中的各特征可相互组合。In the absence of conflict, the embodiments of the present application and the features therein may be combined with each other.
如本文所使用的,术语“和/或”包括至少一个相关列举条目的任何和所有组合。As used herein, the term "and/or" includes any and all combinations of at least one of the associated listed items.
本文所使用的术语仅用于描述特定实施例,且不意欲限制本申请。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加至少一个其它特征、整体、步骤、操作、元件、组件和/或其群组。The terms used herein are only used to describe specific embodiments and are not intended to limit the present application. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and/or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements and/or components is specified, but the presence or addition of at least one other feature, whole, step, operation, element, component and/or its group is not excluded.
除非另外限定,否则本文所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本申请的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。 Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this application, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined herein.
本申请实施例的数据检测装置和数据检测方法均是基于PBCH解码过程中存在的问题提出的,但是本申请实施例的数据检测装置和数据检测方法不仅仅适用于PBCH解码,还适用于其他数据的解码。The data detection device and data detection method of the embodiments of the present application are proposed based on the problems existing in the PBCH decoding process, but the data detection device and data detection method of the embodiments of the present application are not only applicable to PBCH decoding, but also applicable to the decoding of other data.
本申请实施例的数据检测装置和数据检测方法可以应用于移动终端、计算机终端或其他类似的运算装置中。例如,可以应用于无线通信系统中的通信设备,通信设备例如可以是用户设备、基站等中的至少一个。The data detection device and data detection method of the embodiment of the present application can be applied to a mobile terminal, a computer terminal or other similar computing devices. For example, it can be applied to a communication device in a wireless communication system, and the communication device can be at least one of a user equipment, a base station, etc.
图1为本申请一个实施例提供的数据检测装置的组成框图。FIG1 is a block diagram of a data detection device according to an embodiment of the present application.
第一方面,参照图1,本申请一个实施例提供一种数据检测装置,数据检测装置可以设置在移动终端、计算机终端或其他类似的运算装置中。例如,可以被包括在无线通信系统中的通信设备中,通信设备例如可以是用户设备、基站等中的至少一个。数据检测装置可以包括:至少一个解速率匹配模块,每一个解速率匹配模块连接有至少一个软合并模块,每一个软合并模块连接有解码校验模块,以及至少一个处理器和第一存储器。In the first aspect, referring to FIG1 , an embodiment of the present application provides a data detection device, which can be set in a mobile terminal, a computer terminal or other similar computing devices. For example, it can be included in a communication device in a wireless communication system, and the communication device can be at least one of a user equipment, a base station, etc. The data detection device may include: at least one rate matching module, each rate matching module is connected to at least one soft merging module, each soft merging module is connected to a decoding verification module, and at least one processor and a first memory.
其中,解速率匹配模块,配置为根据SSB index对输入的第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR;软合并模块,配置为根据SFN index对第二SSB LLR进行解子块交织处理、解SFN掩码处理和LLR软合并处理得到第三SSB LLR;解码校验模块,配置为对第三SSB LLR进行解码处理和CRC处理得到解码的数据和校验结果。Among them, the rate de-matching module is configured to perform secondary de-scrambling and repetition rate de-matching processing on the input first SSB LLR according to the SSB index to obtain the second SSB LLR; the soft merging module is configured to perform sub-block de-interleaving, SFN mask de-masking and LLR soft merging processing on the second SSB LLR according to the SFN index to obtain the third SSB LLR; the decoding and verification module is configured to perform decoding and CRC processing on the third SSB LLR to obtain decoded data and verification results.
其中,解速率匹配模块、软合并模块和解码校验模块采用硬件电路实现。Among them, the rate matching module, the soft combining module and the decoding and verification module are implemented by hardware circuits.
其中,第一存储器上存储有至少一个程序,当至少一个程序被至少一个处理器执行时,实现以下步骤至少之一:控制通过软件还是硬件电路将SSB index输入到解速率匹配模块中;控制通过软件还是硬件电路将第一SSB LLR输入到解速率匹配模块中;控制通过解速率匹配模块对第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR,还是通过软件对第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR;控制通过软件还 是硬件电路将SFN index输入到软合并模块中。Among them, at least one program is stored in the first memory. When the at least one program is executed by at least one processor, at least one of the following steps is implemented: controlling whether the SSB index is input into the rate matching module through software or hardware circuit; controlling whether the first SSB LLR is input into the rate matching module through software or hardware circuit; controlling whether the rate matching module performs secondary descrambling and repetitive rate matching on the first SSB LLR to obtain a second SSB LLR, or performs secondary descrambling and repetitive rate matching on the first SSB LLR through software to obtain a second SSB LLR; controlling whether the software also performs secondary descrambling and repetitive rate matching on the first SSB LLR to obtain a second SSB LLR. It is the hardware circuit that inputs the SFN index into the soft combining module.
在一些示例性实施例中,不同解速率匹配模块对应不同SSB index。也就是说,同一次数据检测过程中,输入到解速率匹配模块中的SSB index不同,也就是使用不同SSB index进行盲检测的过程。In some exemplary embodiments, different rate matching modules correspond to different SSB indexes. That is, in the same data detection process, the SSB indexes input into the rate matching module are different, that is, the process of blind detection using different SSB indexes.
在一些示例性实施例中,与同一个解速率匹配模块连接的不同软合并模块对应不同的解码通道,与同一个解速率匹配模块连接的不同软合并模块对应不同SFN index。也就是说,采用同一个SSB index进行数据检测时,输入到与同一个解速率匹配模块连接的不同软合并模块的SFN index不同,也就是使用不同SFN index进行盲检测的过程。In some exemplary embodiments, different soft merging modules connected to the same rate matching module correspond to different decoding channels, and different soft merging modules connected to the same rate matching module correspond to different SFN indexes. That is, when the same SSB index is used for data detection, the SFN indexes input to different soft merging modules connected to the same rate matching module are different, that is, the process of blind detection using different SFN indexes.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,还实现以下步骤:判断校验结果是否为校验成功,在校验结果为校验成功的情况下,结束本TTI的PBCH解码过程,继续进行下一个TTI的PBCH解码过程。In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are also implemented: determining whether the verification result is successful, and if the verification result is successful, ending the PBCH decoding process of the current TTI and continuing the PBCH decoding process of the next TTI.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,还实现以下步骤:在校验结果为校验失败的情况下,判断当前是否遍历完所有SFN index,在当前没有遍历完所有SFN index的情况下,通知软合并模块根据未遍历的SFN index对第二SSB LLR进行解子块交织处理、解SFN掩码处理和LLR软合并处理得到第三SSB LLR。In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are also implemented: when the verification result is a verification failure, determine whether all SFN indexes have been traversed. If not all SFN indexes have been traversed, notify the soft merging module to perform de-sub-block interleaving, de-SFN masking and LLR soft merging on the second SSB LLR according to the SFN index that has not been traversed to obtain a third SSB LLR.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,还实现以下步骤:在当前已遍历完所有SFN index的情况下,判断当前是否已遍历完所有SSB index,在当前没有遍历完所有SSB index的情况下,通知解速率匹配模块根据未遍历的SSB index对输入的第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR。In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are also implemented: when all SFN indexes have been traversed, determining whether all SSB indexes have been traversed; when all SSB indexes have not been traversed, notifying the rate matching module to perform secondary descrambling and repetitive rate matching processing on the input first SSB LLR according to the SSB index that has not been traversed to obtain a second SSB LLR.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,还实现以下步骤:在当前已遍历完所有SFN index和所有SSB index的情况下,进行下一个SSB burst set周期的解码过程。In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are also implemented: when all SFN indexes and all SSB indexes have been traversed, the decoding process of the next SSB burst set cycle is performed.
本申请实施例的数据检测装置可以设置在移动终端、计算机终 端或者类似的运算设备中。The data detection device of the embodiment of the present application can be arranged in a mobile terminal, a computer terminal terminal or similar computing device.
本申请实施例的数据检测装置可以在初始小区选择,或小区切换或重选过程中进行PBCH解码,初始小区选择是当终端开机或从无服务区进入有服务区时,终端与基站取得联系并选择合适的小区驻留,并提取系统消息;小区切换和重选都是有服务小区的变更,区别是小区切换是终端在通话状态下进行服务小区的变更,而小区重选是终端在空闲状态下进行服务小区的变更。The data detection device of the embodiment of the present application can perform PBCH decoding during the initial cell selection, or cell switching or reselection process. The initial cell selection is when the terminal is turned on or enters a service area from an out-of-service area, the terminal contacts the base station and selects a suitable cell to reside in, and extracts system messages; cell switching and reselection both involve changes in the service cell. The difference is that cell switching is a change in the service cell when the terminal is in a call state, while cell reselection is a change in the service cell when the terminal is in an idle state.
初始小区选择时,SSB burst set周期为20ms,TTI为SSB burst set周期的4倍,一个TTI内传输的SSB LLR的数量是一个SSB burst set周期内传输的SSB LLR的数量的4倍。During the initial cell selection, the SSB burst set period is 20ms, the TTI is 4 times the SSB burst set period, and the number of SSB LLRs transmitted in one TTI is 4 times the number of SSB LLRs transmitted in one SSB burst set period.
但小区切换和重选时,SSB burst set周期可以为5ms,10ms,20ms,40ms,80ms,160ms中的任意一个,一个TTI内传输的SSB LLR的数量分别是一个SSB burst set周期内传输的SSB LLR的数量的16,8,4,2,1,1倍,对应的SFN index数量分别为16,8,4,4,4,4。However, during cell switching and reselection, the SSB burst set period can be any one of 5ms, 10ms, 20ms, 40ms, 80ms, and 160ms. The number of SSB LLRs transmitted in one TTI is 16, 8, 4, 2, 1, and 1 times the number of SSB LLRs transmitted in one SSB burst set period, respectively. The corresponding number of SFN indexes is 16, 8, 4, 4, 4, and 4, respectively.
同一个TTI内不同SSB burst set周期可以进行LLR软合并去提高信噪比,而SSB burst set周期为80ms和160ms时不需要进行解SFN掩码处理和进行LLR软合并处理。以SSB burst set周期为20ms,TTI为80ms为例,不同SSB burst set周期内的第一SSB LLR,根据同一个SSB index进行解二级加扰处理、解重复速率匹配处理、解子块交织处理、根据同一个SFN index进行解SFN掩码处理后进行相加即为LLR软合并处理过程。Different SSB burst set periods within the same TTI can be soft-merged for LLR to improve the signal-to-noise ratio, while when the SSB burst set period is 80ms and 160ms, there is no need to perform SFN mask removal and LLR soft merging. Taking the SSB burst set period of 20ms and TTI of 80ms as an example, the first SSB LLR within different SSB burst set periods is de-scrambled, repetition rate matched, sub-block interleaved according to the same SSB index, and de-SFN masked according to the same SFN index, and then added together to form the LLR soft merging process.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,还实现以下步骤:在控制通过硬件电路将SSB index输入到解速率匹配模块中,控制通过软件还是硬件电路将第一SSB LLR输入到解速率匹配模块中,控制通过解速率匹配模块对第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR,控制通过硬件电路将SFN index输入到软合并模块中的情况下,控制解速率匹配模块处于使能状态,通过解速率匹配模块接收第一SSB LLR,通过解速率匹配模块对第一SSB LLR进行解二级加扰处理和解重复 速率匹配处理得到第二SSB LLR,在得到一个SSB index对应的第二SSB LLR后,通知解速率匹配模块向软合并模块发送启动指示,软合并模块根据SFN index对第二SSB LLR进行解子块交织处理、解SFN掩码处理和LLR软合并处理得到第三SSB LLR,软合并模块每得到一个第三SSB LLR,就将第三SSB LLR发送给解码校验模块进行解码处理和CRC处理得到解码的数据和校验结果。In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are further implemented: when the SSB index is input into the rate-dematching module through the hardware circuit, the first SSB LLR is input into the rate-dematching module through the software or the hardware circuit, the rate-dematching module is controlled to perform a secondary descrambling process and a de-repeated rate matching process on the first SSB LLR to obtain a second SSB LLR, and the SFN index is input into the soft merging module through the hardware circuit, the rate-dematching module is controlled to be in an enabled state, the first SSB LLR is received through the rate-dematching module, and the secondary descrambling process and the de-repeated rate matching process are performed on the first SSB LLR through the rate-dematching module. The rate matching process obtains the second SSB LLR. After obtaining the second SSB LLR corresponding to an SSB index, the rate matching module is notified to send a start indication to the soft merging module. The soft merging module performs sub-block interleaving, SFN masking and LLR soft merging on the second SSB LLR according to the SFN index to obtain a third SSB LLR. Every time the soft merging module obtains a third SSB LLR, the third SSB LLR is sent to the decoding and verification module for decoding and CRC processing to obtain decoded data and verification results.
在一些示例性实施例中,如图2和图3所示,解速率匹配模块包括:二级扰码生成单元,配置为根据SSB index生成二级扰码;解二级加扰单元,配置为根据二级扰码对第一SSB LLR进行解二级加扰处理得到第四SSB LLR;解重复速率匹配单元,配置为对第四SSB LLR进行解重复速率匹配处理得到第二SSB LLR。In some exemplary embodiments, as shown in FIGS. 2 and 3 , the rate dematching module includes: a secondary scrambling code generating unit, configured to generate a secondary scrambling code according to an SSB index; a secondary descrambling unit, configured to perform secondary descrambling processing on the first SSB LLR according to the secondary scrambling code to obtain a fourth SSB LLR; and a derepetition rate matching unit, configured to perform derepetition rate matching processing on the fourth SSB LLR to obtain a second SSB LLR.
在一些示例性实施例中,数据检测装置还包括:第一多路选择器(如图2中的Mux1),第二多路选择器(如图2中的Mux2)中的至少一个。In some exemplary embodiments, the data detection device further includes: at least one of a first multiplexer (such as Mux1 in FIG. 2 ) and a second multiplexer (such as Mux2 in FIG. 2 ).
其中,第一多路选择器的输出端连接二级扰码生成单元的输入端,第一多路选择器的其中一个输入端连接通过软件输入的SSB index,也就是连接到处理器,前端硬件电路输出的SSB index输入到处理器,由处理器将SSB index输入二级扰码生成单元,第一多路选择器的另一个输入端连接通过硬件电路输入的SSB index,也就是前端硬件电路输出的SSB index直接输入到二级扰码生成单元。Among them, the output end of the first multiplexer is connected to the input end of the secondary scrambling code generation unit, one of the input ends of the first multiplexer is connected to the SSB index input through the software, that is, it is connected to the processor, the SSB index output by the front-end hardware circuit is input to the processor, and the processor inputs the SSB index into the secondary scrambling code generation unit, and the other input end of the first multiplexer is connected to the SSB index input through the hardware circuit, that is, the SSB index output by the front-end hardware circuit is directly input into the secondary scrambling code generation unit.
其中,第二多路选择器的输出端连接解二级加扰单元的输入端,第二多路选择器的其中一个输入端连接通过软件输入的第一SSB LLR,也就是连接到处理器,前端硬件电路输出的第一SSB LLR输入到处理器,由处理器将第一SSB LLR输入解二级加扰单元,第二多路选择器的另一个输入端连接通过硬件电路输入的第一SSB LLR,也就是前端硬件电路输出的第一SSB LLR直接输入到解二级加扰单元。Among them, the output end of the second multiplexer is connected to the input end of the secondary descrambling unit, one of the input ends of the second multiplexer is connected to the first SSB LLR input through the software, that is, it is connected to the processor, the first SSB LLR output by the front-end hardware circuit is input to the processor, and the processor inputs the first SSB LLR into the secondary descrambling unit, and the other input end of the second multiplexer is connected to the first SSB LLR input through the hardware circuit, that is, the first SSB LLR output by the front-end hardware circuit is directly input to the secondary descrambling unit.
当至少一个程序被至少一个处理器执行时,采用以下方式实现控制通过软件还是硬件电路将SSB index输入到解速率匹配模块中:控制第一多路选择器选择通过软件还是硬件电路将SSB index输入到 二级扰码生成单元中。When at least one program is executed by at least one processor, the following method is used to control whether the SSB index is input into the rate matching module through software or hardware circuit: controlling the first multiplexer to select whether the SSB index is input into the rate matching module through software or hardware circuit In the secondary scrambling code generation unit.
当至少一个程序被至少一个处理器执行时,采用以下方式实现控制通过软件还是硬件电路将第一SSB LLR输入到解速率匹配模块中:控制第二多路选择器选择通过软件还是硬件电路将第一SSB LLR输入到解二级加扰单元中。When at least one program is executed by at least one processor, the following method is used to control whether the first SSB LLR is input into the rate dematching module through software or hardware circuit: control the second multiplexer to select whether the first SSB LLR is input into the secondary descrambling unit through software or hardware circuit.
在一些示例性实施例中,如图2所示,解速率匹配模块还包括:第二存储器,配置为存储第二SSB LLR;第三多路选择器(如图2中的Mux3)。In some exemplary embodiments, as shown in FIG. 2 , the rate de-matching module further includes: a second memory configured to store a second SSB LLR; and a third multiplexer (such as Mux3 in FIG. 2 ).
其中,第三多路选择器的输出端连接第二存储器的输入端,第三多路选择器的其中一个输入端连接解重复速率匹配单元,第三多路选择器的另一个输入端连接通过软件输入的第二SSB LLR,也就是连接到处理器,解重复速率匹配单元输出的第二SSB LLR输入到处理器,由处理器将第二SSB LLR输入第三多路选择器的另一个输入端。Among them, the output end of the third multiplexer is connected to the input end of the second memory, one of the input ends of the third multiplexer is connected to the de-repetition rate matching unit, and the other input end of the third multiplexer is connected to the second SSB LLR input through software, that is, connected to the processor, the second SSB LLR output by the de-repetition rate matching unit is input to the processor, and the processor inputs the second SSB LLR into the other input end of the third multiplexer.
当至少一个程序被至少一个处理器执行时,还实现以下步骤:控制第三多路选择器选择通过解重复速率匹配单元将第二SSB LLR存储到第二存储器,还是通过软件将第二SSB LLR写入到第二存储器。When at least one program is executed by at least one processor, the following steps are also implemented: controlling the third multiplexer to select whether to store the second SSB LLR in the second memory through the de-repetition rate matching unit, or to write the second SSB LLR to the second memory through software.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,还实现以下步骤:在通过软件将第二SSB LLR写入到第二存储器的情况下,使解速率匹配模块处于使能状态,使软合并模块处于非使能状态;在解速率匹配模块根据SSB index对输入的第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR之后,使解速率匹配模块处于非使能状态,将第二SSB LLR写入到第二存储器中;使软合并模块处于使能状态。In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are also implemented: when the second SSB LLR is written to the second memory by software, the rate dematching module is enabled and the soft merging module is disabled; after the rate dematching module performs secondary descrambling and repetitive rate matching processing on the input first SSB LLR according to the SSB index to obtain the second SSB LLR, the rate dematching module is disabled and the second SSB LLR is written to the second memory; the soft merging module is enabled.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,还实现以下步骤:在控制第三多路选择器选择通过软件将第二SSB LLR写入到第二存储器的情况下,控制二级扰码生成单元,解二级加扰单元,解重复速率匹配单元处于使能状态,控制软合并模块处于非使能状态;在解重复速率匹配单元对第四SSB LLR进行解重复速率匹配处理得到第二SSB LLR后,控制二级扰码生成单元,解二级加扰单元,解重复速率匹配单元处于非使能状态,控制解重复速率 匹配单元停止将第二SSB LLR写入到第二存储器中,读取解重复速率匹配单元输出的第二SSB LLR,将第二SSB LLR写入到第二存储器中;控制软合并模块处于使能状态。In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are further implemented: when the third multiplexer is controlled to select to write the second SSB LLR to the second memory through software, the secondary scrambling code generation unit, the secondary descrambling unit, and the de-repetition rate matching unit are controlled to be in an enabled state, and the soft merging module is controlled to be in a disabled state; after the de-repetition rate matching unit performs de-repetition rate matching processing on the fourth SSB LLR to obtain the second SSB LLR, the secondary scrambling code generation unit, the secondary descrambling unit, and the de-repetition rate matching unit are controlled to be in a disabled state, and the de-repetition rate matching unit is controlled to be in a disabled state. The matching unit stops writing the second SSB LLR into the second memory, reads the second SSB LLR output by the de-repetition rate matching unit, and writes the second SSB LLR into the second memory; and controls the soft merging module to be in an enabled state.
在一些示例性实施例中,如图3所示,解速率匹配模块还包括:第三存储器,配置为存储第一SSB LLR。In some exemplary embodiments, as shown in Figure 3, the rate dematching module also includes: a third memory configured to store the first SSB LLR.
第二多路选择器的输出端连接第三存储器的输入端,第三存储器的输出端连接解二级加扰单元的输入端,第二多路选择器的其中一个输入端连接通过软件输入的第一SSB LLR,也就是连接到处理器,前端硬件电路输出的第一SSB LLR输入到处理器,由处理器将第一SSB LLR输入第三存储器,第二多路选择器的另一个输入端连接通过硬件电路输入的第一SSB LLR,也就是前端硬件电路输出的第一SSB LLR直接输入到第三存储器。The output end of the second multiplexer is connected to the input end of the third memory, the output end of the third memory is connected to the input end of the secondary descrambling unit, one of the input ends of the second multiplexer is connected to the first SSB LLR input through the software, that is, it is connected to the processor, the first SSB LLR output by the front-end hardware circuit is input to the processor, and the processor inputs the first SSB LLR into the third memory, and the other input end of the second multiplexer is connected to the first SSB LLR input through the hardware circuit, that is, the first SSB LLR output by the front-end hardware circuit is directly input into the third memory.
在一些示例性实施例中,软合并模块包括:SFN掩码生成单元,配置为根据SFN index生成SFN掩码;解子块交织单元,配置为对第二SSB LLR进行解子块交织处理得到第五SSB LLR;解SFN掩码单元,配置为根据SFN掩码对第五SSB LLR进行解SFN掩码处理得到第六SSB LLR;LLR软合并单元,配置为将第六SSB LLR和第四存储器中存储的SSB LLR进行LLR软合并处理得到第三SSB LLR;或者,输出第六SSB LLR作为第三SSB LLR;LLR软合并单元还配置为:将第三SSB LLR存储到第四存储器中;第四存储器,配置为存储第三同步信号块;第四多路选择器(如图2和图3中的Mux4)和第五多路选择器(如图2和图3中的Mux5)。In some exemplary embodiments, the soft merging module includes: an SFN mask generation unit, configured to generate an SFN mask according to an SFN index; a de-sub-block interleaving unit, configured to perform de-sub-block interleaving processing on the second SSB LLR to obtain a fifth SSB LLR; a de-SFN mask unit, configured to perform de-SFN mask processing on the fifth SSB LLR according to the SFN mask to obtain a sixth SSB LLR; an LLR soft merging unit, configured to perform LLR soft merging processing on the sixth SSB LLR and the SSB LLR stored in a fourth memory to obtain a third SSB LLR; or, output the sixth SSB LLR as the third SSB LLR; the LLR soft merging unit is also configured to: store the third SSB LLR in a fourth memory; a fourth memory, configured to store a third synchronization signal block; a fourth multiplexer (such as Mux4 in Figures 2 and 3) and a fifth multiplexer (such as Mux5 in Figures 2 and 3).
第四多路选择器的输出端与LLR软合并单元的输入端连接,第四多路选择器的其中一个输入端连接数据0,第四多路选择器的另一个输入端连接解SFN掩码单元的输出端。The output end of the fourth multiplexer is connected to the input end of the LLR soft combining unit, one of the input ends of the fourth multiplexer is connected to data 0, and the other input end of the fourth multiplexer is connected to the output end of the SFN mask removal unit.
第五多路选择器的输出端与LLR软合并单元的输入端连接,第五多路选择器的其中一个输入端连接数据0,第五多路选择器的另一个输入端连接第四存储器的输出端。The output end of the fifth multiplexer is connected to the input end of the LLR soft combining unit, one of the input ends of the fifth multiplexer is connected to data 0, and the other input end of the fifth multiplexer is connected to the output end of the fourth memory.
当至少一个程序被至少一个处理器执行时,还实现以下步骤:控制第四多路选择器选择数据0还是解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元;控制第五多路选择器选择数据0还是第四存储器中存储的SSB LLR输入到LLR软合并单元;控制通过解子块交织单元、解SFN掩码单元、SFN掩码生成单元对第二SSB LLR进行解子块交织处理、解系统帧号掩码处理,还是通过软件对第二SSB LLR进行解子块交织处理、解SFN掩码处理。When the at least one program is executed by the at least one processor, the following steps are also implemented: controlling the fourth multiplexer to select data 0 or the sixth SSB output by the SFN mask decryption unit The LLR is input to the LLR soft merging unit; the fifth multiplexer is controlled to select data 0 or the SSB LLR stored in the fourth memory to be input to the LLR soft merging unit; and the de-sub-block interleaving unit, the de-SFN mask unit, and the SFN mask generation unit are used to control whether the second SSB LLR is de-sub-block interleaved and the system frame number mask is de-masked, or whether the second SSB LLR is de-sub-block interleaved and the SFN mask is de-masked by software.
在一些示例性实施例中,第四多路选择器的其中一个输入端连接的数据0和第五多路选择器的其中一个输入端连接的数据0都可以采用硬件电路生成。In some exemplary embodiments, the data 0 connected to one of the input terminals of the fourth multiplexer and the data 0 connected to one of the input terminals of the fifth multiplexer can both be generated by hardware circuits.
在一些示例性实施例中,在控制第四多路选择器选择数据0输入到LLR软合并单元中时,即将解SFN掩码单元输出的第六SSB LLR旁路掉,在控制第五多路选择器选择将第四存储器中存储的SSB LLR输入到LLR软合并单元时,也就是将第四存储器中存储的上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR或上一个SSB burst set周期的第三SSB LLR输入到LLR软合并单元中,进而将上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR或上一个SSB burst set周期的第三SSB LLR输入到Polar码解码单元中进行解码处理,即软合并结果为上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR或上一个SSB burst set周期的第三SSB LLR。In some exemplary embodiments, when the fourth multiplexer is controlled to select data 0 to be input into the LLR soft merging unit, the sixth SSB LLR output by the SFN mask de-masking unit is bypassed, and when the fifth multiplexer is controlled to select the SSB LLR stored in the fourth memory to be input into the LLR soft merging unit, the sixth SSB LLR output by the SFN mask de-masking unit in the previous SSB burst set cycle or the third SSB LLR of the previous SSB burst set cycle stored in the fourth memory is input into the LLR soft merging unit, and then the sixth SSB LLR output by the SFN mask de-masking unit in the previous SSB burst set cycle or the third SSB LLR of the previous SSB burst set cycle is input into the Polar code decoding unit for decoding processing, that is, the soft merging result is the sixth SSB LLR output by the SFN mask de-masking unit in the previous SSB burst set cycle or the third SSB LLR of the previous SSB burst set cycle.
在控制第四多路选择器选择解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元时,也就是将本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元中,在控制第五多路选择器选择数据0输入到LLR软合并单元时,即将第四存储器中存储的SSB LLR旁路掉,进而将本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR输入到Polar码解码单元中进行解码处理,即软合并结果为本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR。When the fourth multiplexer is controlled to select the sixth SSB LLR output by the SFN mask de-masking unit to be input into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle is input into the LLR soft merging unit, when the fifth multiplexer is controlled to select data 0 to be input into the LLR soft merging unit, the SSB LLR stored in the fourth memory is bypassed, and then the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle is input into the Polar code decoding unit for decoding processing, that is, the soft merging result is the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle.
在控制第四多路选择器选择解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元时,也就是将本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元中,在控 制第五多路选择器选择将第四存储器中存储的SSB LLR输入到LLR软合并单元时,也就是将第四存储器中存储的上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元中,进而将上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR或上一个SSB burst set周期的第三SSB LLR和本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR进行LLR软合并处理后的软合并结果输入到Polar码解码单元中进行解码处理,即软合并结果为上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR或上一个SSB burst set周期的第三SSB LLR和本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR相加的结果。When the fourth multiplexer is controlled to select the sixth SSB LLR output by the SFN mask decryption unit to be input into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask decryption unit in the current SSB burst set cycle is input into the LLR soft merging unit, When the fifth multiplexer selects to input the SSB LLR stored in the fourth memory into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle stored in the fourth memory is input into the LLR soft merging unit, and then the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle or the third SSB LLR in the previous SSB burst set cycle and the sixth SSB LLR output by the SFN mask decryption unit in the current SSB burst set cycle are subjected to LLR soft merging processing, and the soft merging result is input into the Polar code decoding unit for decoding processing, that is, the soft merging result is the result of adding the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle or the third SSB LLR in the previous SSB burst set cycle and the sixth SSB LLR output by the SFN mask decryption unit in the current SSB burst set cycle.
在控制第四多路选择器选择数据0输入到LLR软合并单元中时,即将解SFN掩码单元输出的第六SSB LLR旁路掉,在控制第五多路选择器选择数据0输入到LLR软合并单元时,即将第四存储器中存储的SSB LLR旁路掉,软合并结果为0。When the fourth multiplexer is controlled to select data 0 to be input into the LLR soft merging unit, the sixth SSB LLR output by the SFN mask de-masking unit is bypassed; when the fifth multiplexer is controlled to select data 0 to be input into the LLR soft merging unit, the SSB LLR stored in the fourth memory is bypassed, and the soft merging result is 0.
在一些示例性实施例中,LLR软合并处理可以是相加。In some exemplary embodiments, the LLR soft combining process may be an addition.
如上所述,通过控制第四多路选择器和第五多路选择控制器选择不同的数据通道即可实现不同的软合并需求。例如,在BBS burst set周期为80ms和160ms;或者,BBS burst set周期为5ms,10ms,20ms,40ms中的任意一个,且当前为TTI的第一个BBS burst set周期的情况下,不能进行LLR软合并,那么通过控制第五多路选择控制器将数据0输入到LLR软合并单元中即可。As described above, different soft merging requirements can be achieved by controlling the fourth multiplexer and the fifth multiplexer controller to select different data channels. For example, when the BBS burst set period is 80ms and 160ms; or, when the BBS burst set period is any one of 5ms, 10ms, 20ms, and 40ms, and the current is the first BBS burst set period of TTI, LLR soft merging cannot be performed, then the fifth multiplexer controller can be controlled to input data 0 into the LLR soft merging unit.
在BBS burst set周期为5ms,10ms,20ms,40ms中的任意一个,且当前不是TTI的第一个BBS burst set周期的情况下,进行LLR软合并,那么通过控制第五多路选择控制器将第四存储器中存储的上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元中即可。When the BBS burst set period is any one of 5ms, 10ms, 20ms, and 40ms, and the current period is not the first BBS burst set period of TTI, LLR soft merging is performed. Then, the sixth SSB LLR output by the SFN mask de-masking unit in the previous SSB burst set period stored in the fourth memory can be input into the LLR soft merging unit by controlling the fifth multiplexing controller.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,还实现以下步骤:控制通过软件实现SFN掩码的生成,解子块交织处理,解SFN掩码处理还是通过硬件电路实现SFN掩码的生成,解子块交织处理,解SFN掩码处理。 In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are also implemented: controlling whether the generation of the SFN mask, the de-sub-block interleaving processing, and the de-SFN mask processing are implemented by software or by hardware circuits.
在通过软件实现SFN掩码的生成,解子块交织处理,解SFN掩码处理的情况下,控制解速率匹配模块处于使能状态,在解重复速率匹配单元停止将第二SSB LLR写入到第二存储器后,控制解速率匹配模块处于非使能状态,读取第二存储器中存储的第二SSB LLR;生成SFN掩码,根据生成的SFN掩码对第二SSB LLR进行解子块交织处理,解SFN掩码处理得到第六SSB LLR;将第六SSB LLR写入到第四存储器中。When the generation of SFN mask, de-sub-block interleaving and de-SFN mask processing are implemented by software, the de-rate matching module is controlled to be in an enabled state. After the de-repetition rate matching unit stops writing the second SSB LLR to the second memory, the de-rate matching module is controlled to be in a non-enabled state, and the second SSB LLR stored in the second memory is read; an SFN mask is generated, and the second SSB LLR is de-sub-block interleaving is performed on the second SSB LLR according to the generated SFN mask, and the sixth SSB LLR is obtained by de-SFN mask processing; the sixth SSB LLR is written to the fourth memory.
这种情况下,LLR软合并单元还配置为:读取第四存储器中存储的上一个BBS burst set周期的第三SSB LLR和本BBS burst set周期的第六SSB LLR进行LLR软合并处理得到本BBS burst set周期的第三SSB LLR,并将本BBS burst set周期的第三SSB LLR存储到第四存储器中。In this case, the LLR soft merging unit is further configured to: read the third SSB LLR of the previous BBS burst set cycle and the sixth SSB LLR of the current BBS burst set cycle stored in the fourth memory, perform LLR soft merging processing to obtain the third SSB LLR of the current BBS burst set cycle, and store the third SSB LLR of the current BBS burst set cycle in the fourth memory.
在一些示例性实施例中,还包括:第六多路选择器(如图2和图3所示的Mux6);第六多路选择器的输出端连接SFN掩码生成单元的输入端,第六多路选择器的其中一个输入端连接通过软件输入的SFN index,即连接到处理器,由处理器从其他硬件模块读取SFN index后输入,第六多路选择器的另一个输入端连接通过硬件电路输入的SFN index。In some exemplary embodiments, it also includes: a sixth multiplexer (such as Mux6 as shown in Figures 2 and 3); the output end of the sixth multiplexer is connected to the input end of the SFN mask generation unit, one of the input ends of the sixth multiplexer is connected to the SFN index input through software, that is, connected to the processor, and the processor reads the SFN index from other hardware modules and inputs it, and the other input end of the sixth multiplexer is connected to the SFN index input through the hardware circuit.
当至少一个程序被至少一个处理器执行时,还实现以下步骤:控制第六多路选择器选择通过软件输入SFN index,还是通过硬件电路输入SFN index。When at least one program is executed by at least one processor, the following steps are also implemented: controlling the sixth multiplexer to choose whether to input the SFN index through software or through hardware circuit.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,还实现以下步骤:在通过软件对第二SSB LLR进行解子块交织处理、解SFN掩码处理的情况下,解速率匹配模块根据SSB index对输入的第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR之前,使解速率匹配模块处于使能状态;解速率匹配模块根据SSB index对输入的第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR之后,使解速率匹配模块处于非使能状态;读取第二SSB LLR;对第二SSB LLR进行解子块交织处理、解SFN掩码处理得到第六SSB LLR;将第六SSB LLR 写入第四存储器。In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are also implemented: when the second SSB LLR is subjected to de-subblock interleaving and de-SFN masking by software, before the de-rate matching module performs de-secondary scrambling and de-repetitive rate matching on the input first SSB LLR according to the SSB index to obtain the second SSB LLR, the de-rate matching module is enabled; after the de-rate matching module performs de-secondary scrambling and de-repetitive rate matching on the input first SSB LLR according to the SSB index to obtain the second SSB LLR, the de-rate matching module is disabled; the second SSB LLR is read; the second SSB LLR is subjected to de-subblock interleaving and de-SFN masking to obtain the sixth SSB LLR; the sixth SSB LLR is converted into Write to the fourth memory.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,实现以下步骤:在校验结果为校验失败的情况下,读取第二存储器中存储的第二SSB LLR进行数据分析找错,读取第四存储器中存储的第三SSB LLR进行数据分析找错。In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are implemented: when the verification result is a verification failure, the second SSB LLR stored in the second memory is read to perform data analysis and error detection, and the third SSB LLR stored in the fourth memory is read to perform data analysis and error detection.
在一些示例性实施例中,第二存储器的数量可以是一个或一个以上。In some exemplary embodiments, the number of the second memories may be one or more.
在一些示例性实施例中,第三存储器的数量可以是一个或一个以上。In some exemplary embodiments, the number of the third memory may be one or more.
在一些示例性实施例中,第四存储器的数量可以是一个或一个以上。In some exemplary embodiments, the number of the fourth memory may be one or more.
在一些示例性实施例中,可以通过多路选择器切换选择不同的第二存储器。In some exemplary embodiments, different second memories may be selected by switching through a multiplexer.
在一些示例性实施例中,可以通过多路选择器切换选择不同的第三存储器。In some exemplary embodiments, different third memories may be selected by switching through a multiplexer.
在一些示例性实施例中,可以通过多路选择器切换选择不同的第四存储器。In some exemplary embodiments, different fourth memories may be selected by switching through a multiplexer.
在一些示例性实施例中,解码校验模块包括:Polar码解码单元和CRC单元。In some exemplary embodiments, the decoding and verification module includes: a Polar code decoding unit and a CRC unit.
其中,Polar码解码单元,配置为对第三SSB LLR进行解码处理得到解码的数据。Among them, the Polar code decoding unit is configured to decode the third SSB LLR to obtain decoded data.
CRC单元,配置为对解码的数据进行CRC处理得到校验结果。The CRC unit is configured to perform CRC processing on the decoded data to obtain a check result.
在一些示例性实施例中,处理器为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;第一存储器或第二存储器或第三存储器或第四存储器为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH)。In some exemplary embodiments, the processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the first memory or the second memory or the third memory or the fourth memory is a device with data storage capabilities, including but not limited to a random access memory (RAM, more specifically SDRAM, DDR, etc.), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), and a flash memory (FLASH).
本申请实施例提供的数据检测装置,通过软件和硬件电路相互结合的方式实现对PBCH数据的检测,提高了灵活性,通过至少一个解速率匹配模块和至少一个软合并模块实现对PBCH数据的检测, 大大简化了数据检测过程。The data detection device provided in the embodiment of the present application realizes the detection of PBCH data by combining software and hardware circuits, thereby improving flexibility. The detection of PBCH data is realized by at least one rate matching module and at least one soft combining module. Greatly simplifies the data detection process.
图4为本申请另一个实施例提供的数据检测方法的流程图。FIG. 4 is a flow chart of a data detection method provided in another embodiment of the present application.
第二方面,参照图4,本申请另一个实施例提供一种数据检测方法,可以应用于移动终端、计算机终端或其他类似的运算装置中,例如,可以应用于无线通信系统中的通信设备中,通信设备例如可以是用户设备、基站等中的至少一个。数据检测方法可以包括步骤400至402。In a second aspect, referring to FIG. 4 , another embodiment of the present application provides a data detection method, which can be applied to a mobile terminal, a computer terminal, or other similar computing devices, for example, a communication device in a wireless communication system, and the communication device can be at least one of a user equipment, a base station, etc. The data detection method may include steps 400 to 402.
在步骤400,通过至少一个解速率匹配模块实现根据SSB index对输入的第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR;其中,不同解速率匹配模块对应不同SSB index。In step 400, at least one rate dematching module is used to perform secondary descrambling and repetition rate matching processing on the input first SSB LLR according to the SSB index to obtain a second SSB LLR; wherein different rate dematching modules correspond to different SSB indices.
在一些示例性实施例中,不同解速率匹配模块对应不同的解码通道,不同解速率匹配模块对应不同SSB index。也就是说,同一次数据检测过程中,输入到解速率匹配模块中的SSB index不同,也就是使用不同SSB index进行盲检测的过程。In some exemplary embodiments, different rate matching modules correspond to different decoding channels, and different rate matching modules correspond to different SSB indexes. That is, in the same data detection process, the SSB index input into the rate matching module is different, that is, the process of blind detection using different SSB indexes.
在一些示例性实施例中,与同一个解速率匹配模块连接的不同软合并模块对应不同的解码通道,与同一个解速率匹配模块连接的不同软合并模块对应不同SFN index。也就是说,采用同一个SSB index进行数据检测时,输入到与同一个解速率匹配模块连接的不同软合并模块的SFN index不同,也就是使用不同SFN index进行盲检测的过程。In some exemplary embodiments, different soft merging modules connected to the same rate matching module correspond to different decoding channels, and different soft merging modules connected to the same rate matching module correspond to different SFN indexes. That is, when the same SSB index is used for data detection, the SFN indexes input to different soft merging modules connected to the same rate matching module are different, that is, the process of blind detection using different SFN indexes.
在一些示例性实施例中,通过解速率匹配模块实现根据SSB index对输入的第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR包括:通过二级扰码生成单元根据SSB index生成二级扰码;通过解二级加扰单元根据二级扰码对第一SSB LLR进行解二级加扰处理得到第四SSB LLR;通过解重复速率匹配单元对第四SSB LLR进行解重复速率匹配处理得到第二SSB LLR。In some exemplary embodiments, performing de-secondary scrambling and de-repetition rate matching on an input first SSB LLR according to an SSB index to obtain a second SSB LLR through a de-rate matching module includes: generating a secondary scrambling code according to the SSB index through a secondary scrambling code generating unit; performing de-secondary scrambling on the first SSB LLR according to the secondary scrambling code through a de-secondary scrambling unit to obtain a fourth SSB LLR; and performing de-repetition rate matching on the fourth SSB LLR through a de-repetition rate matching unit to obtain a second SSB LLR.
在一些示例性实施例中,可以通过控制第一多路选择器选择通过软件还是硬件电路将SSB index输入到二级扰码生成单元中。In some exemplary embodiments, the first multiplexer can be controlled to select whether to input the SSB index into the secondary scrambling code generation unit through software or hardware circuit.
在一些示例性实施例中,可以通过控制第二多路选择器选择通过软件还是硬件电路将第一SSB LLR输入到解二级加扰单元中。 In some exemplary embodiments, whether the first SSB LLR is input to the de-scrambling unit through software or hardware circuit can be selected by controlling the second multiplexer.
在一些示例性实施例中,通过解重复速率匹配单元对第四SSB LLR进行解重复速率匹配处理得到第二SSB LLR后,该方法还包括:通过控制第三多路选择器选择通过解重复速率匹配单元将第二SSB LLR存储到第二存储器,还是通过软件将第二SSB LLR写入到第二存储器。In some exemplary embodiments, after performing de-repetition rate matching processing on the fourth SSB LLR through a de-repetition rate matching unit to obtain a second SSB LLR, the method further includes: controlling a third multiplexer to select whether to store the second SSB LLR in a second memory through the de-repetition rate matching unit, or to write the second SSB LLR into the second memory through software.
在一些示例性实施例中,在通过软件将第二SSB LLR写入到第二存储器的情况下,使解速率匹配模块处于使能状态,使软合并模块处于非使能状态;在解速率匹配模块根据SSB index对输入的第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR之后,使解速率匹配模块处于非使能状态,将第二SSB LLR写入到第二存储器中;使软合并模块处于使能状态。In some exemplary embodiments, when the second SSB LLR is written to the second memory by software, the rate dematching module is enabled and the soft merging module is disabled; after the rate dematching module performs secondary descrambling and repetitive rate matching processing on the input first SSB LLR according to the SSB index to obtain the second SSB LLR, the rate dematching module is disabled and the second SSB LLR is written to the second memory; the soft merging module is enabled.
在一些示例性实施例中,在控制第三多路选择器选择通过软件将第二SSB LLR写入到第二存储器的情况下,控制二级扰码生成单元,解二级加扰单元,解重复速率匹配单元处于使能状态,控制软合并模块处于非使能状态;在解重复速率匹配单元对第四SSB LLR进行解重复速率匹配处理得到第二SSB LLR后,控制二级扰码生成单元,解二级加扰单元,解重复速率匹配单元处于非使能状态,控制解重复速率匹配单元停止将第二SSB LLR写入到第二存储器中,读取解重复速率匹配单元输出的第二SSB LLR,将第二SSB LLR写入到第二存储器中;控制软合并模块处于使能状态。In some exemplary embodiments, when controlling the third multiplexer to select to write the second SSB LLR into the second memory through software, the secondary scrambling code generation unit, the secondary descrambling unit, and the derepetition rate matching unit are controlled to be in an enabled state, and the soft merging module is controlled to be in a disabled state; after the derepetition rate matching unit performs derepetition rate matching processing on the fourth SSB LLR to obtain the second SSB LLR, the secondary scrambling code generation unit, the secondary descrambling unit, and the derepetition rate matching unit are controlled to be in a disabled state, the derepetition rate matching unit is controlled to stop writing the second SSB LLR into the second memory, the second SSB LLR output by the derepetition rate matching unit is read, and the second SSB LLR is written into the second memory; the soft merging module is controlled to be in an enabled state.
在一些示例性实施例中,在通过软件对第二SSB LLR进行解子块交织处理、解SFN掩码处理的情况下,解速率匹配模块根据SSB index对输入的第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR之前,使解速率匹配模块处于使能状态;解速率匹配模块根据SSB index对输入的第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR之后,使解速率匹配模块处于非使能状态;读取第二SSB LLR;对第二SSB LLR进行解子块交织处理、解SFN掩码处理得到第六SSB LLR;将第六SSB LLR写入第四存储器。In some exemplary embodiments, when the second SSB LLR is subjected to de-sub-block interleaving and de-SFN masking by software, before the de-rate matching module performs de-secondary scrambling and de-repetitive rate matching on the input first SSB LLR according to the SSB index to obtain the second SSB LLR, the de-rate matching module is enabled; after the de-rate matching module performs de-secondary scrambling and de-repetitive rate matching on the input first SSB LLR according to the SSB index to obtain the second SSB LLR, the de-rate matching module is disabled; the second SSB LLR is read; the second SSB LLR is de-sub-block interleaving and de-SFN masking are performed on the second SSB LLR to obtain a sixth SSB LLR; and the sixth SSB LLR is written into the fourth memory.
在步骤401,通过与同一个解速率匹配模块连接的至少一个软合 并模块实现根据SFN index对第二SSB LLR进行解子块交织处理、解SFN掩码处理和LLR软合并处理得到第三SSB LLR;其中,与同一个解速率匹配模块连接的不同软合并模块对应不同SFN index。In step 401, at least one soft-closer connected to the same rate matching module is used. The module implements de-sub-block interleaving, de-SFN masking and LLR soft merging processing on the second SSB LLR according to the SFN index to obtain a third SSB LLR; wherein different soft merging modules connected to the same de-rate matching module correspond to different SFN indices.
在一些示例性实施例中,通过软合并模块实现根据SFN index对第二SSB LLR进行解子块交织处理、解SFN掩码处理和LLR软合并处理得到第三SSB LLR包括:通过SFN掩码生成单元根据SFN index生成SFN掩码;通过解子块交织单元对第二SSB LLR进行解子块交织处理得到第五SSB LLR;通过解SFN掩码单元根据SFN掩码对第五SSB LLR进行解SFN掩码处理得到第六SSB LLR;通过LLR软合并单元将第六SSB LLR和第四存储器中存储的SSB LLR进行LLR软合并处理得到第三SSB LLR;或者,输出第六SSB LLR作为第三SSB LLR;通过LLR软合并单元将第三SSB LLR存储到第四存储器中;通过第四存储器存储第三同步信号块。In some exemplary embodiments, performing de-sub-block interleaving, de-SFN masking and LLR soft merging on the second SSB LLR according to the SFN index to obtain the third SSB LLR through the soft merging module includes: generating an SFN mask according to the SFN index through the SFN mask generating unit; performing de-sub-block interleaving on the second SSB LLR through the de-sub-block interleaving unit to obtain a fifth SSB LLR; performing de-SFN masking on the fifth SSB LLR according to the SFN mask through the de-SFN mask unit to obtain a sixth SSB LLR; performing LLR soft merging on the sixth SSB LLR and the SSB LLR stored in the fourth memory through the LLR soft merging unit to obtain a third SSB LLR; or, outputting the sixth SSB LLR as the third SSB LLR; storing the third SSB LLR in the fourth memory through the LLR soft merging unit; and storing the third synchronization signal block through the fourth memory.
在一些示例性实施例中,控制第四多路选择器选择数据0还是解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元;控制第五多路选择器选择数据0还是第四存储器中存储的SSB LLR输入到LLR软合并单元;控制通过解子块交织单元、解SFN掩码单元、SFN掩码生成单元对第二SSB LLR进行解子块交织处理、解系统帧号掩码处理,还是通过软件对第二SSB LLR进行解子块交织处理、解SFN掩码处理。In some exemplary embodiments, the fourth multiplexer is controlled to select data 0 or the sixth SSB LLR output by the SFN mask de-coding unit to be input into the LLR soft merging unit; the fifth multiplexer is controlled to select data 0 or the SSB LLR stored in the fourth memory to be input into the LLR soft merging unit; and the de-sub-block interleaving unit, the de-SFN mask unit, and the SFN mask generating unit are used to control whether the second SSB LLR is de-sub-block interleaved and the system frame number mask is de-coded, or whether the second SSB LLR is de-sub-block interleaved and the SFN mask is de-coded by software.
在一些示例性实施例中,在控制第四多路选择器选择数据0输入到LLR软合并单元中时,即将解SFN掩码单元输出的第六SSB LLR旁路掉,在控制第五多路选择器选择将第四存储器中存储的SSB LLR输入到LLR软合并单元时,也就是将第四存储器中存储的上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR或上一个SSB burst set周期的第三SSB LLR输入到LLR软合并单元中,进而将上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR或上一个SSB burst set周期的第三SSB LLR输入到Polar码解码单元中进行解码处理,即软合并结果为上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR或上一个SSB burst set周期的 第三SSB LLR。In some exemplary embodiments, when the fourth multiplexer is controlled to select data 0 to be input into the LLR soft merging unit, the sixth SSB LLR output by the SFN mask decryption unit is bypassed, and when the fifth multiplexer is controlled to select the SSB LLR stored in the fourth memory to be input into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle or the third SSB LLR in the previous SSB burst set cycle stored in the fourth memory is input into the LLR soft merging unit, and then the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle or the third SSB LLR in the previous SSB burst set cycle is input into the Polar code decoding unit for decoding processing, that is, the soft merging result is the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle or the third SSB LLR in the previous SSB burst set cycle. 3rd SSB LLR.
在控制第四多路选择器选择解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元时,也就是将本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元中,在控制第五多路选择器选择数据0输入到LLR软合并单元时,即将第四存储器中存储的SSB LLR旁路掉,进而将本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR输入到Polar码解码单元中进行解码处理,即软合并结果为本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR。When the fourth multiplexer is controlled to select the sixth SSB LLR output by the SFN mask de-masking unit to be input into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle is input into the LLR soft merging unit, when the fifth multiplexer is controlled to select data 0 to be input into the LLR soft merging unit, the SSB LLR stored in the fourth memory is bypassed, and then the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle is input into the Polar code decoding unit for decoding processing, that is, the soft merging result is the sixth SSB LLR output by the SFN mask de-masking unit in this SSB burst set cycle.
在控制第四多路选择器选择解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元时,也就是将本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元中,在控制第五多路选择器选择将第四存储器中存储的SSB LLR输入到LLR软合并单元时,也就是将第四存储器中存储的上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元中,进而将上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR或上一个SSB burst set周期的第三SSB LLR和本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR进行LLR软合并处理后的软合并结果输入到Polar码解码单元中进行解码处理,即软合并结果为上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR或上一个SSB burst set周期的第三SSB LLR和本SSB burst set周期中解SFN掩码单元输出的第六SSB LLR相加的结果。When the fourth multiplexer is controlled to select the sixth SSB LLR output by the SFN mask decryption unit to be input into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask decryption unit in the current SSB burst set cycle is input into the LLR soft merging unit, when the fifth multiplexer is controlled to select the SSB LLR stored in the fourth memory to be input into the LLR soft merging unit, that is, the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle stored in the fourth memory is input into the LLR soft merging unit, and then the sixth SSB LLR output by the SFN mask decryption unit in the previous SSB burst set cycle is input into the LLR soft merging unit. The soft merging result of the sixth SSB LLR outputted by the SFN mask de-masking unit in the current SSB burst set cycle after LLR soft merging processing is input into the Polar code decoding unit for decoding processing, that is, the soft merging result is the result of adding the sixth SSB LLR outputted by the SFN mask de-masking unit in the previous SSB burst set cycle or the third SSB LLR of the previous SSB burst set cycle and the sixth SSB LLR outputted by the SFN mask de-masking unit in the current SSB burst set cycle.
在控制第四多路选择器选择数据0输入到LLR软合并单元中时,即将解SFN掩码单元输出的第六SSB LLR旁路掉,在控制第五多路选择器选择数据0输入到LLR软合并单元时,即将第四存储器中存储的SSB LLR旁路掉,软合并结果为0。When the fourth multiplexer is controlled to select data 0 to be input into the LLR soft merging unit, the sixth SSB LLR output by the SFN mask de-masking unit is bypassed; when the fifth multiplexer is controlled to select data 0 to be input into the LLR soft merging unit, the SSB LLR stored in the fourth memory is bypassed, and the soft merging result is 0.
在一些示例性实施例中,LLR软合并处理可以是相加。In some exemplary embodiments, the LLR soft combining process may be an addition.
如上所述,通过控制第四多路选择器和第五多路选择控制器选择不同的数据通道即可实现不同的软合并需求。例如,在BBS burst set周期为80ms和160ms;或者,BBS burst set周期为5ms,10ms, 20ms,40ms中的任意一个,且当前为TTI的第一个BBS burst set周期的情况下,不能进行LLR软合并,那么通过控制第五多路选择控制器将数据0输入到LLR软合并单元中即可。As described above, different soft merging requirements can be achieved by controlling the fourth multiplexer and the fifth multiplexer controller to select different data channels. For example, when the BBS burst set period is 80ms and 160ms; or when the BBS burst set period is 5ms, 10ms, If the time interval is any one of 20ms and 40ms and the current period is the first BBS burst set period of TTI, LLR soft merging cannot be performed. Then, the fifth multiplexer controller can be controlled to input data 0 into the LLR soft merging unit.
在BBS burst set周期为5ms,10ms,20ms,40ms中的任意一个,且当前不是TTI的第一个BBS burst set周期的情况下,进行LLR软合并,那么通过控制第五多路选择控制器将第四存储器中存储的上一个SSB burst set周期中解SFN掩码单元输出的第六SSB LLR输入到LLR软合并单元中即可。When the BBS burst set period is any one of 5ms, 10ms, 20ms, and 40ms, and the current period is not the first BBS burst set period of TTI, LLR soft merging is performed. Then, the sixth SSB LLR output by the SFN mask de-masking unit in the previous SSB burst set period stored in the fourth memory can be input into the LLR soft merging unit by controlling the fifth multiplexing controller.
在一些示例性实施例中,该方法还包括:控制通过软件实现SFN掩码的生成,解子块交织处理,解SFN掩码处理还是通过硬件电路实现SFN掩码的生成,解子块交织处理,解SFN掩码处理。In some exemplary embodiments, the method further includes: controlling whether the generation of the SFN mask, de-subblock interleaving, and de-SFN mask processing are implemented by software or by hardware circuits.
在通过软件实现SFN掩码的生成,解子块交织处理,解SFN掩码处理的情况下,控制解速率匹配模块处于使能状态,在解重复速率匹配单元停止将第二SSB LLR写入到第二存储器后,控制解速率匹配模块处于非使能状态,读取第二存储器中存储的第二SSB LLR;生成SFN掩码,根据生成的SFN掩码对第二SSB LLR进行解子块交织处理,解SFN掩码处理得到第六SSB LLR;将第六SSB LLR写入到第四存储器中。When the generation of SFN mask, de-sub-block interleaving and de-SFN mask processing are implemented by software, the de-rate matching module is controlled to be in an enabled state. After the de-repetition rate matching unit stops writing the second SSB LLR to the second memory, the de-rate matching module is controlled to be in a non-enabled state, and the second SSB LLR stored in the second memory is read; an SFN mask is generated, and the second SSB LLR is de-sub-block interleaving is performed on the second SSB LLR according to the generated SFN mask, and the sixth SSB LLR is obtained by de-SFN mask processing; the sixth SSB LLR is written to the fourth memory.
这种情况下,LLR软合并单元还配置为:读取第四存储器中存储的上一个BBS burst set周期的第三SSB LLR和本BBS burst set周期的第六SSB LLR进行LLR软合并处理得到本BBS burst set周期的第三SSB LLR,并将本BBS burst set周期的第三SSB LLR存储到第四存储器中。In this case, the LLR soft merging unit is further configured to: read the third SSB LLR of the previous BBS burst set cycle and the sixth SSB LLR of the current BBS burst set cycle stored in the fourth memory, perform LLR soft merging processing to obtain the third SSB LLR of the current BBS burst set cycle, and store the third SSB LLR of the current BBS burst set cycle in the fourth memory.
在一些示例性实施例中,该方法还包括:控制第六多路选择器选择通过软件输入SFN index,还是通过硬件电路输入SFN index。In some exemplary embodiments, the method further includes: controlling a sixth multiplexer to select whether to input the SFN index through software or through a hardware circuit.
在步骤402,通过与软合并模块连接的解码校验模块对第三SSB LLR进行解码处理和CRC处理得到解码的数据和校验结果。In step 402, the third SSB LLR is decoded and CRC processed by a decoding and verification module connected to the soft merging module to obtain decoded data and verification results.
在一些示例性实施例中,通过与软合并模块连接的解码校验模块对第三SSB LLR进行解码处理和CRC处理得到解码的数据和校验结果包括:通过Polar码解码单元对第三SSB LLR进行解码处理 得到解码的数据;通过CRC单元对解码的数据进行CRC处理得到校验结果。In some exemplary embodiments, the decoding and CRC processing of the third SSB LLR by the decoding and verification module connected to the soft combining module to obtain the decoded data and the verification result includes: decoding and processing the third SSB LLR by the Polar code decoding unit The decoded data is obtained; and a CRC unit is used to perform CRC processing on the decoded data to obtain a verification result.
在一些示例性实施例中,解速率匹配模块、软合并模块和解码校验模块采用硬件电路实现。In some exemplary embodiments, the rate-decoding module, the soft-merging module and the decoding and checking module are implemented using hardware circuits.
在一些示例性实施例中,数据检测方法还包括以下步骤至少之一:控制通过软件还是硬件电路将SSB index输入到解速率匹配模块中;控制通过软件还是硬件电路将第一SSB LLR输入到解速率匹配模块中;控制通过解速率匹配模块对第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR,还是通过软件对第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR;控制通过软件还是硬件电路将SFN index输入到软合并模块中。In some exemplary embodiments, the data detection method also includes at least one of the following steps: controlling whether the SSB index is input into the rate dematching module through software or hardware circuit; controlling whether the first SSB LLR is input into the rate dematching module through software or hardware circuit; controlling whether the rate dematching module performs secondary descrambling and repetitive rate matching processing on the first SSB LLR to obtain the second SSB LLR, or performs secondary descrambling and repetitive rate matching processing on the first SSB LLR through software to obtain the second SSB LLR; controlling whether the software or hardware circuit is used to input the SFN index into the soft merging module.
在一些示例性实施例中,在控制通过硬件电路将SSB index输入到解速率匹配模块中,控制通过软件还是硬件电路将第一SSB LLR输入到解速率匹配模块中,控制通过解速率匹配模块对第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR,控制通过硬件电路将SFN index输入到软合并模块中的情况下,控制解速率匹配模块处于使能状态,通过解速率匹配模块接收第一SSB LLR,通过解速率匹配模块对第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR,在得到一个SSB index对应的第二SSB LLR后,通知解速率匹配模块向软合并模块发送启动指示,软合并模块根据SFN index对第二SSB LLR进行解子块交织处理、解SFN掩码处理和LLR软合并处理得到第三SSB LLR,软合并模块每得到一个第三SSB LLR,就将第三SSB LLR发送给解码校验模块进行解码处理和CRC处理得到解码的数据和校验结果。In some exemplary embodiments, when the SSB index is input into the rate-dematching module through a hardware circuit, the first SSB LLR is input into the rate-dematching module through software or hardware circuit, the rate-dematching module is controlled to perform secondary scrambling and repetitive rate matching on the first SSB LLR to obtain a second SSB LLR, and the SFN index is input into the soft merging module through a hardware circuit, the rate-dematching module is controlled to be in an enabled state, the first SSB LLR is received through the rate-dematching module, and the first SSB LLR is processed through the rate-dematching module. The LLR performs de-secondary scrambling and de-repetition rate matching processing to obtain the second SSB LLR. After obtaining the second SSB LLR corresponding to an SSB index, the de-rate matching module is notified to send a start indication to the soft merging module. The soft merging module performs de-sub-block interleaving, de-SFN masking and LLR soft merging processing on the second SSB LLR according to the SFN index to obtain the third SSB LLR. Every time the soft merging module obtains a third SSB LLR, the third SSB LLR is sent to the decoding and verification module for decoding and CRC processing to obtain the decoded data and verification results.
在一些示例性实施例中,通过与软合并模块连接的解码校验模块对第三SSB LLR进行解码处理和循环冗余码校验处理得到解码的数据和校验结果后,该方法还包括:判断校验结果是否为校验成功,在校验结果为校验成功的情况下,结束本TTI的PBCH解码过程,继续进行下一个TTI的PBCH解码过程。 In some exemplary embodiments, after the third SSB LLR is decoded and cyclic redundancy code checked by a decoding check module connected to the soft merging module to obtain decoded data and a check result, the method further includes: determining whether the check result is successful, and if the check result is successful, terminating the PBCH decoding process of the current TTI and continuing the PBCH decoding process of the next TTI.
在一些示例性实施例中,在校验结果为校验失败的情况下,判断当前是否遍历完所有SFN index,在当前没有遍历完所有SFN index的情况下,通知软合并模块根据未遍历的SFN index对第二SSB LLR进行解子块交织处理、解SFN掩码处理和LLR软合并处理得到第三SSB LLR。In some exemplary embodiments, when the verification result is a verification failure, it is determined whether all SFN indexes have been traversed. If not all SFN indexes have been traversed, the soft merging module is notified to perform sub-block deinterleaving, SFN masking and LLR soft merging on the second SSB LLR according to the SFN index that has not been traversed to obtain the third SSB LLR.
在一些示例性实施例中,在当前已遍历完所有SFN index的情况下,判断当前是否已遍历完所有SSB index,在当前没有遍历完所有SSB index的情况下,通知解速率匹配模块根据未遍历的SSB index对输入的第一SSB LLR进行解二级加扰处理和解重复速率匹配处理得到第二SSB LLR。In some exemplary embodiments, when all SFN indexes have been traversed, it is determined whether all SSB indexes have been traversed. When all SSB indexes have not been traversed, the rate dematching module is notified to perform secondary descrambling and repetitive rate matching processing on the input first SSB LLR according to the SSB index that has not been traversed to obtain the second SSB LLR.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,还实现以下步骤:在当前已遍历完所有SFN index和所有SSB index的情况下,结束本TTI的PBCH解码过程,继续进行下一个TTI的PBCH解码过程。In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are also implemented: when all SFN indexes and all SSB indexes have been traversed, the PBCH decoding process of the current TTI is terminated, and the PBCH decoding process of the next TTI is continued.
在一些示例性实施例中,当至少一个程序被至少一个处理器执行时,还实现以下步骤:在当前已遍历完所有SFN index和所有SSB index的情况下,进行下一个SSB burst set周期的解码过程。In some exemplary embodiments, when at least one program is executed by at least one processor, the following steps are also implemented: when all SFN indexes and all SSB indexes have been traversed, the decoding process of the next SSB burst set cycle is performed.
本申请实施例的数据检测方法可以应用在移动终端、计算机终端或者类似的运算设备中。The data detection method of the embodiment of the present application can be applied in a mobile terminal, a computer terminal or similar computing devices.
本申请实施例的数据检测方法可以在初始小区选择,或小区切换或重选过程中进行PBCH解码,初始小区选择是当终端开机或从无服务区进入有服务区时,终端与基站取得联系并选择合适的小区驻留,并提取系统消息;小区切换和重选都是有服务小区的变更,区别是小区切换是终端在通话状态下进行服务小区的变更,而小区重选是终端在空闲状态下进行服务小区的变更。The data detection method of the embodiment of the present application can perform PBCH decoding during the initial cell selection, or cell switching or reselection process. The initial cell selection is when the terminal is turned on or enters a service area from an out-of-service area, the terminal contacts the base station and selects a suitable cell to reside in, and extracts system messages; cell switching and reselection both involve changes in the service cell. The difference is that cell switching is a change in the service cell when the terminal is in a call state, while cell reselection is a change in the service cell when the terminal is in an idle state.
初始小区选择时,SSB burst set周期为20ms,TTI为SSB burst set周期的4倍,一个TTI内传输的SSB LLR的数量是一个SSB burst set周期内传输的SSB LLR的数量的4倍。During the initial cell selection, the SSB burst set period is 20ms, the TTI is 4 times the SSB burst set period, and the number of SSB LLRs transmitted in one TTI is 4 times the number of SSB LLRs transmitted in one SSB burst set period.
但小区切换和重选时,SSB burst set周期可以为5ms,10ms,20ms,40ms,80ms,160ms中的任意一个,一个TTI内传输的SSB LLR的数量分别是一个SSB burst set周期内传输的SSB LLR的数量的16,8,4,2,1,1倍,对应的SFN index数量分别为16,8,4,4,4,4。However, during cell switching and reselection, the SSB burst set period can be any one of 5ms, 10ms, 20ms, 40ms, 80ms, and 160ms. The SSB transmitted within a TTI The number of LLRs is 16, 8, 4, 2, 1, and 1 times the number of SSB LLRs transmitted in one SSB burst set period, and the corresponding numbers of SFN indexes are 16, 8, 4, 4, 4, and 4, respectively.
同一个TTI内不同SSB burst set周期可以进行LLR软合并去提高信噪比,而SSB burst set周期为80ms和160ms时不需要进行解SFN掩码处理和进行LLR软合并处理。以SSB burst set周期为20ms,TTI为80ms为例,不同SSB burst set周期内的第一SSB LLR,根据同一个SSB index和同一个SFN index进行解二级加扰处理、解重复速率匹配处理、解子块交织处理、根据同一个SFN index进行解SFN掩码处理后进行相加即为LLR软合并处理过程。Different SSB burst set periods within the same TTI can be soft-merged for LLR to improve the signal-to-noise ratio, while when the SSB burst set period is 80ms and 160ms, there is no need to perform SFN mask removal and LLR soft merging. Taking the SSB burst set period of 20ms and TTI of 80ms as an example, the first SSB LLR within different SSB burst set periods is de-scrambled, repetition rate matched, and sub-block interleaved according to the same SSB index and the same SFN index, and then de-SFN masked according to the same SFN index, and then added together, which is the LLR soft merging process.
上述数据检测方法的实现过程与前述实施例的数据检测装置的实现过程相同,这里不再赘述。The implementation process of the above data detection method is the same as the implementation process of the data detection device in the aforementioned embodiment, and will not be repeated here.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储器、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或 其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules/units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media generally include computer-readable instructions, data structures, program modules, or other media such as carrier waves or Other data in a modulated data signal such as other transport mechanisms, and may include any information delivery media.
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其它实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本申请的范围的情况下,可进行各种形式和细节上的改变。 Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, features, characteristics, and/or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and/or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present application as set forth in the appended claims.
Claims (11)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310779715.0A CN119276410A (en) | 2023-06-28 | 2023-06-28 | Data detection method and device |
| CN202310779715.0 | 2023-06-28 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025001527A1 true WO2025001527A1 (en) | 2025-01-02 |
Family
ID=93937221
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/091853 Pending WO2025001527A1 (en) | 2023-06-28 | 2024-05-09 | Data detection method and apparatus |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN119276410A (en) |
| WO (1) | WO2025001527A1 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170187488A1 (en) * | 2015-12-28 | 2017-06-29 | Qualcomm Incorporated | Physical broadcast channel (pbch) and master information block (mib) design |
| CN110890940A (en) * | 2019-11-25 | 2020-03-17 | 展讯通信(上海)有限公司 | Method and device for decoding MIB carried by PBCH, storage medium and terminal |
| CN111656691A (en) * | 2017-11-17 | 2020-09-11 | 瑞典爱立信有限公司 | First communication device, second communication device and method performed by them for processing channel decoding |
| CN111800227A (en) * | 2020-06-30 | 2020-10-20 | 锐迪科微电子(上海)有限公司 | Virtual inspection filtering method and device, storage medium and receiver |
| CN114095118A (en) * | 2020-08-25 | 2022-02-25 | 深圳市中兴微电子技术有限公司 | A blind detection method, device, terminal and storage medium |
-
2023
- 2023-06-28 CN CN202310779715.0A patent/CN119276410A/en active Pending
-
2024
- 2024-05-09 WO PCT/CN2024/091853 patent/WO2025001527A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170187488A1 (en) * | 2015-12-28 | 2017-06-29 | Qualcomm Incorporated | Physical broadcast channel (pbch) and master information block (mib) design |
| CN111656691A (en) * | 2017-11-17 | 2020-09-11 | 瑞典爱立信有限公司 | First communication device, second communication device and method performed by them for processing channel decoding |
| CN110890940A (en) * | 2019-11-25 | 2020-03-17 | 展讯通信(上海)有限公司 | Method and device for decoding MIB carried by PBCH, storage medium and terminal |
| CN111800227A (en) * | 2020-06-30 | 2020-10-20 | 锐迪科微电子(上海)有限公司 | Virtual inspection filtering method and device, storage medium and receiver |
| CN114095118A (en) * | 2020-08-25 | 2022-02-25 | 深圳市中兴微电子技术有限公司 | A blind detection method, device, terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119276410A (en) | 2025-01-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7471357B2 (en) | Encoding method, decoding method, and device | |
| JP6554558B2 (en) | Method and system for blind detection of physical downlink control channel (PDCCH) | |
| CN109104268B (en) | Detection method, transmission method and device for common control channel | |
| EP3399680A1 (en) | Transmitting and receiving data using polar codes | |
| CN101325772B (en) | Decoding method and decoding device | |
| KR102739723B1 (en) | Blind detection method, device, terminal and storage medium | |
| US8656248B2 (en) | Hierarchical CRC scheme | |
| WO2019201269A1 (en) | Polar code encoding method and device | |
| CN108540141A (en) | Polar code encoding and decoding method and device | |
| CN106961319A (en) | A kind of method and apparatus of data processing | |
| CN101801014A (en) | Method and device for detecting physical broadcast channel | |
| CN117099430A (en) | Method for paging in wireless communications | |
| WO2025001527A1 (en) | Data detection method and apparatus | |
| US10680659B2 (en) | System and method for improved decoding using identified recurring side information | |
| US20220039069A1 (en) | Data sending and receiving method, device, system, terminal, base station, and storage medium | |
| WO2022151764A1 (en) | Pdcch repetition transmission configuration method and related apparatus | |
| CN119544413A (en) | Downlink control information detection method, device, electronic device, storage medium and computer program product | |
| CN119583008A (en) | User message acquisition method, device, electronic device, storage medium and product | |
| WO2024066931A1 (en) | Signal scrambling method and apparatus, terminal, and computer-readable storage medium | |
| CA2720420C (en) | System and method for decoding a message using a priori information | |
| CN109391353B (en) | Method and device for rate matching | |
| CN110912648B (en) | Physical broadcast channel PBCH detection method, user equipment and readable storage medium | |
| KR102720478B1 (en) | Processing method and equipment | |
| US11456819B2 (en) | Partial pseudo-randomization processing method, and corresponding apparatus and device, and storage medium | |
| CN117335930B (en) | Multi-cell blind detection method, device and storage medium |
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: 24830175 Country of ref document: EP Kind code of ref document: A1 |