CN102571272B - Method and device for receiving service data in communication system, and baseband chip - Google Patents
Method and device for receiving service data in communication system, and baseband chip Download PDFInfo
- Publication number
- CN102571272B CN102571272B CN201110419357.XA CN201110419357A CN102571272B CN 102571272 B CN102571272 B CN 102571272B CN 201110419357 A CN201110419357 A CN 201110419357A CN 102571272 B CN102571272 B CN 102571272B
- Authority
- CN
- China
- Prior art keywords
- data
- verification
- check
- information
- unit
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000004891 communication Methods 0.000 title claims abstract description 35
- 238000012795 verification Methods 0.000 claims abstract description 135
- 238000012545 processing Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 7
- 239000002131 composite material Substances 0.000 description 5
- 125000004122 cyclic group Chemical group 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
一种通信系统中业务数据的接收方法及接收装置、基带芯片,其中接收方法包括:接收业务数据,所述业务数据包括多个数据块,其中所述数据块包括信息码和校验码;对所述业务数据进行第一校验和第二校验;将第一校验成功且已完成第二校验的预定数量的信息码输出。本技术方案节省了基带芯片的内存。
A method for receiving service data in a communication system, a receiving device, and a baseband chip, wherein the receiving method includes: receiving service data, the service data including a plurality of data blocks, wherein the data blocks include information codes and check codes; The business data is subjected to the first verification and the second verification; outputting a predetermined number of information codes whose first verification is successful and the second verification has been completed. The technical solution saves the memory of the baseband chip.
Description
技术领域 technical field
本发明涉及移动通信技术领域,特别涉及通信系统中业务数据的接收方法及接收装置、基带芯片。The invention relates to the technical field of mobile communication, in particular to a method for receiving business data in a communication system, a receiving device, and a baseband chip.
背景技术 Background technique
长期演进(LTE,Long Term Evolution)是第三代移动通信(3G)的演进,它改进并增强了3G的空中接入技术,采用正交频分复用(OFDM,OrthogonalFrequency Division Multiplexing)技术和多输入多输出(MIMO,Multiple-InputMultiple-Output)作为其无线网络演进的唯一标准。在20MHz频谱带宽下能够提供下行300Mbit/s和上行150Mbit/s的峰值速率,同时改善了小区边缘用户的性能,提高小区容量和降低系统延迟。与3G相比,LTE具有通信速率高、频谱利用率高、无线网络时延低、广域覆盖和向下兼容的优势。然而LTE的实现对用户设备(UE,User Equipment)终端的设计提出了更高的要求,既要提高终端内基带芯片处理业务数据的能力,同时又要尽可能节省基带芯片内的存储空间。Long Term Evolution (LTE, Long Term Evolution) is the evolution of the third generation of mobile communications (3G), which improves and enhances the air access technology of 3G, adopts Orthogonal Frequency Division Multiplexing (OFDM, Orthogonal Frequency Division Multiplexing) technology and multiple Multiple-Input Multiple-Output (MIMO, Multiple-Input Multiple-Output) is the only standard for its wireless network evolution. Under the 20MHz spectrum bandwidth, it can provide a peak rate of 300Mbit/s downlink and 150Mbit/s uplink, while improving the performance of cell edge users, increasing cell capacity and reducing system delay. Compared with 3G, LTE has the advantages of high communication rate, high spectrum utilization, low wireless network delay, wide area coverage and backward compatibility. However, the realization of LTE puts forward higher requirements for the design of user equipment (UE, User Equipment) terminals. It is necessary to improve the ability of the baseband chip in the terminal to process business data, and at the same time save the storage space in the baseband chip as much as possible.
在LTE系统中,从基站发送到用户设备的业务数据以传输块(TB,Transport Block)和编码块(CB,Code Block)形式组织,如图1所示的是业务数据的数据结构示意图,基站需要发送的是TB信息码,通常基站需要对所述TB信息码作如下处理:首先,对所述TB信息码作CRC处理,即在所述TB信息码后加上TB校验码,构成TB数据;然后,对所述TB数据进行码块分段,即将所述TB数据等分成n份CB信息码;接着,对每份所述CB信息码进行CRC处理,即在每份所述CB信息码后加上CB校验码,构成CB数据(如CB数据1、CB数据2等);最后再将这些CB数据依次串接起来形成从基站发送到用户设备的业务数据。换句话说,基站和用户设备之间为了保证业务数据传输正确,每个CB都带有独立的CRC(Cyclic Redundancy Check,循环冗余检验码)校验字(即CB校验码),而整个TB也带有CRC校验字(即TB校验码)。通过CRC校验可检测到业务数据是否成功接收,如果接收失败用户设备将指令基站重发。In the LTE system, the service data sent from the base station to the user equipment is organized in the form of a transport block (TB, Transport Block) and a code block (CB, Code Block). Figure 1 shows a schematic diagram of the data structure of the service data. The base station What needs to be sent is the TB information code, and usually the base station needs to perform the following processing on the TB information code: First, perform CRC processing on the TB information code, that is, add a TB check code after the TB information code to form a TB data; then, perform code block segmentation on the TB data, that is, divide the TB data into n parts of CB information codes; then, perform CRC processing on each part of the CB information code, that is, in each part of the CB information The CB check code is added after the code to form CB data (such as CB data 1, CB data 2, etc.); finally, these CB data are sequentially concatenated to form service data sent from the base station to the user equipment. In other words, in order to ensure correct service data transmission between the base station and user equipment, each CB has an independent CRC (Cyclic Redundancy Check, cyclic redundancy check code) check word (ie, CB check code), and the entire TB also has a CRC check word (ie TB check code). Whether the service data is successfully received can be detected through the CRC check, and if the reception fails, the user equipment will instruct the base station to retransmit.
现有用户设备内的基带芯片接收业务数据的处理流程如下:The processing flow of receiving service data by the baseband chip in the existing user equipment is as follows:
步骤1.等待解码器输出并保存一个CB的解码数据,并进行CB数据的CRC校验;Step 1. Wait for the decoder to output and save the decoded data of a CB, and perform the CRC check of the CB data;
步骤2.如果CB数据的CRC校验正确,则在基带芯片内的缓存区顺次串接缓存校验正确的CB数据的CB信息码;如果未满一个TB数据,则继续执行步骤1;如果累积满一个TB数据,则跳转到步骤4;Step 2. If the CRC check of the CB data is correct, then the CB information code of the correct CB data is cascaded in series in the buffer area of the baseband chip; if it is not full of one TB data, then continue to perform step 1; if If one TB of data is accumulated, skip to step 4;
步骤3.如果CB数据的CRC校验失败,则指示TB数据接收失败,处理结束;Step 3. If the CRC check of the CB data fails, it indicates that the TB data has failed to receive, and the processing ends;
步骤4.进行TB数据的CRC校验,如果校验成功,把TB数据的TB信息码输出到芯片外的存储器,供上层协议调用;如果校验失败,则指示TB数据接收失败,处理结束。Step 4. Carry out the CRC check of TB data, if the check is successful, output the TB information code of the TB data to the memory outside the chip for calling by the upper layer protocol; if the check fails, it indicates that the TB data has failed to receive, and the processing ends.
根据基带芯片现有的处理过程,在芯片内的缓存区需要预留整个TB数据的存储空间,从而占用了较多的芯片内存。According to the existing processing process of the baseband chip, the buffer area in the chip needs to reserve the storage space of the entire TB data, thus occupying a lot of chip memory.
更多相关的技术方案可以参考公开号为:US2010303016A1,发明名称为:System and Method for Transport Block Size Design for Multiple-Input,Multiple-Output(MIMO)in a Wireless Communications System(多输入多输出传输块大小在无线通信系统的设计方法和系统)的美国专利申请文件,但仍未解决上述问题。For more related technical solutions, please refer to the publication number: US2010303016A1, and the title of the invention is: System and Method for Transport Block Size Design for Multiple-Input, Multiple-Output (MIMO) in a Wireless Communications System (multiple-input multiple-output transmission block size In the U.S. patent application documents of the design method and system of the wireless communication system), but the above-mentioned problems have not been solved yet.
发明内容Contents of the invention
本发明解决的问题是用户设备在处理基站发送的业务数据过程中节省基带芯片内的存储空间。The problem solved by the invention is to save storage space in the baseband chip in the process of processing the service data sent by the base station by the user equipment.
为解决上述问题,本发明实施例提供了一种通信系统中业务数据的接收方法,包括:接收业务数据,所述业务数据包括多个数据块,其中所述数据块包括信息码和校验码;对所述业务数据进行第一校验和第二校验;将第一校验成功且已完成第二校验的预定数量的信息码输出。In order to solve the above problems, an embodiment of the present invention provides a method for receiving business data in a communication system, including: receiving business data, the business data includes a plurality of data blocks, wherein the data blocks include information codes and check codes ; Performing the first check and the second check on the business data; outputting a predetermined number of information codes for which the first check is successful and the second check has been completed.
可选地,所述数据块为编码块CB数据,所述CB数据包括CB信息码和CB校验码;对所述业务数据进行第一校验和第二校验包括:对所述CB数据进行第一校验,并对所述CB数据的CB信息码进行第二校验。Optionally, the data block is coded block CB data, and the CB data includes a CB information code and a CB check code; performing the first check and the second check on the service data includes: performing a check on the CB data Perform the first check, and perform the second check on the CB information code of the CB data.
可选地,所述将第一校验成功且已完成第二校验的预定数量的信息码输出包括:将第一校验成功且已完成第二校验的预定数量的所述CB数据的CB信息码输出。Optionally, the outputting the predetermined number of information codes whose first verification is successful and the second verification has been completed includes: outputting the predetermined number of the CB data whose first verification is successful and the second verification has been completed CB information code output.
可选地,在所述将第一校验成功且已完成第二校验的预定数量的信息码输出之后还包括:直至所述CB数据的第一校验失败或所有CB数据的第一校验和所有CB信息码的第二校验完成;若所有所述CB信息码的第二校验成功则确定业务数据接收成功;若有CB数据的第一校验失败,或者所有所述CB信息码的第二校验失败则确定业务数据接收失败。Optionally, after the output of the predetermined number of information codes that the first verification is successful and the second verification has been completed, it further includes: until the first verification of the CB data fails or the first verification of all CB data Check and the second check of all CB information codes is completed; if the second check of all the CB information codes is successful, then it is determined that the business data is received successfully; if the first check of CB data fails, or all the CB information If the second verification of the code fails, it is determined that the service data has failed to be received.
可选地,对所述CB数据的CB信息码进行第二校验包括:除第一次对所述CB数据的CB信息码进行第二校验外,对本次进行第二校验的预定数量的CB信息码与前次经第二校验得到的余数拼接后得到的校验数据进行所述第二校验。Optionally, performing the second verification on the CB information code of the CB data includes: in addition to performing the second verification on the CB information code of the CB data for the first time, the scheduled second verification for this time The second check is performed on the check data obtained by concatenating the number of CB information codes and the remainder obtained through the second check last time.
可选地,所述通信系统为LTE系统。Optionally, the communication system is an LTE system.
可选地,所述预定数量为小于所述数据块的数目。Optionally, the predetermined number is less than the number of data blocks.
可选地,若所有所述CB信息码的第二校验成功,则输出的所有所述CB信息码依次串接形成TB数据,其中所述TB数据包括TB信息码和TB校验码。Optionally, if the second verification of all the CB information codes is successful, all the output CB information codes are sequentially concatenated to form TB data, wherein the TB data includes TB information codes and TB check codes.
可选地,所述第一校验和第二校验为CRC校验或者奇偶校验或者MD5校验或者bcc异或校验。Optionally, the first check and the second check are CRC check or parity check or MD5 check or bcc exclusive OR check.
可选地,所述第一校验为CB CRC校验、所述第二校验为TB CRC校验。Optionally, the first check is a CB CRC check, and the second check is a TB CRC check.
本发明实施例还提供了一种通信系统中业务数据的接收装置,包括:接收单元,用于接收业务数据,所述业务数据包括多个数据块,其中所述数据块包括信息码和校验码;校验单元,用于对所述接收单元接收到的所述业务数据进行第一校验和第二校验;输出单元,用于根据所述校验单元的校验结果将第一校验成功且已完成第二校验的预定数量的信息码输出。The embodiment of the present invention also provides a device for receiving business data in a communication system, including: a receiving unit for receiving business data, the business data includes a plurality of data blocks, wherein the data blocks include information codes and checksums code; a check unit, used to perform first check and second check on the business data received by the receiving unit; an output unit, used to convert the first check according to the check result of the check unit The verification is successful and the predetermined number of information codes that have completed the second verification are output.
本发明实施例还提供一种包括上述接收装置的基带芯片。An embodiment of the present invention also provides a baseband chip including the above receiving device.
与现有技术相比,本发明技术方案具有以下有益效果:Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
用户设备接收业务数据,业务数据包括多个数据块,其中所述数据块包括信息码和校验码。基带芯片对所述业务数据进行第一校验和第二校验,然后将第一校验成功且已完成第二校验的预定数量的信息码输出。由于对接收到的业务数据既做了第一校验又做了第二校验,并且将第一校验成功且完成第二校验的信息码输出到基带芯片外,这样可以节省基带芯片内的缓存空间。The user equipment receives service data, and the service data includes multiple data blocks, wherein the data blocks include information codes and check codes. The baseband chip performs the first check and the second check on the service data, and then outputs a predetermined number of information codes that have succeeded in the first check and completed the second check. Since both the first check and the second check are performed on the received business data, and the information code that the first check is successful and the second check is completed is output to the outside of the baseband chip, this can save the internal memory of the baseband chip. cache space.
在具体实施例中,所述数据块为编码块CB数据,基带芯片内保存预定数量的CB数据并对这些CB数据分别进行第一校验和对所述CB数据的CB信息码进行第二校验,如果这些CB数据的第一校验成功且已完成第二校验,则将预定数量的这些CB数据输出,直到所有CB数据的第一校验和所有CB数据的CB信息码的第二校验完成;如果在对CB数据的第一校验失败或者所有所述CB信息码的第二校验失败则确定业务数据接收失败。其中,所述第一校验是CB CRC校验,所述第二校验是TB CRC校验。In a specific embodiment, the data block is coded block CB data, and a predetermined amount of CB data is stored in the baseband chip, and a first check is performed on these CB data and a second check is performed on the CB information code of the CB data. verification, if the first verification of these CB data is successful and the second verification has been completed, a predetermined number of these CB data will be output until the first verification of all CB data and the second verification of the CB information code of all CB data The verification is completed; if the first verification of the CB data fails or the second verification of all the CB information codes fails, it is determined that the service data reception fails. Wherein, the first check is a CB CRC check, and the second check is a TB CRC check.
在具体实施例中,所述预定数量可以小于一个TB数据中CB信息码的个数,例如1-3个,这样在用户设备接收基站发送的业务数据时,基带芯片内的缓存只需保存部分CB数据,而不需要预留整个TB数据的存储空间,节省了基带芯片的内存。In a specific embodiment, the predetermined number may be less than the number of CB information codes in one TB of data, such as 1-3, so that when the user equipment receives the service data sent by the base station, the cache in the baseband chip only needs to save part For CB data, there is no need to reserve the storage space of the entire TB data, which saves the memory of the baseband chip.
附图说明 Description of drawings
图1是业务数据的数据结构示意图;FIG. 1 is a schematic diagram of a data structure of business data;
图2是本发明实施例的通信系统中业务数据的接收方法的流程示意图;FIG. 2 is a schematic flowchart of a method for receiving service data in a communication system according to an embodiment of the present invention;
图3是本发明实施例基带芯片接收业务数据的示意图;3 is a schematic diagram of a baseband chip receiving service data according to an embodiment of the present invention;
图4是本发明的基带芯片中的缓存和外部存储器之间的存储关系示意图;Fig. 4 is a schematic diagram of the storage relationship between the buffer memory and the external memory in the baseband chip of the present invention;
图5是本发明实施例的通信系统中业务数据的接收装置的结构示意图。Fig. 5 is a schematic structural diagram of an apparatus for receiving service data in a communication system according to an embodiment of the present invention.
具体实施方式 Detailed ways
针对现有的接收基站发送的业务数据的处理流程,用户设备内的基带芯片需要缓存整个TB数据,从而占用较多的芯片内存,发明人经过研究,提供了一种通信系统中业务数据的接收方法以及基带芯片,实现了用户设备在接收基站发送的业务数据时,基带芯片的缓存只需保存部分CB数据即可,而不需要预留整个TB数据的存储空间,从而节省了基带芯片的内存。In view of the existing processing flow for receiving service data sent by the base station, the baseband chip in the user equipment needs to cache the entire TB of data, thereby occupying more chip memory. After research, the inventor provides a service data receiving in the communication system The method and the baseband chip realize that when the user equipment receives the service data sent by the base station, the cache of the baseband chip only needs to save part of the CB data, and does not need to reserve the storage space of the entire TB data, thereby saving the memory of the baseband chip .
为使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施方式做详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, specific implementations of the present invention will be described in detail below in conjunction with the accompanying drawings.
如图2所示的是本发明的一种通信系统中业务数据的接收方法的具体实施方式的流程示意图。参考图2,所述通信系统中业务数据的接收方法包括:FIG. 2 is a schematic flowchart of a specific implementation manner of a method for receiving service data in a communication system according to the present invention. Referring to Fig. 2, the method for receiving service data in the communication system includes:
步骤S1:接收业务数据,所述业务数据包括多个数据块,其中所述数据块包括信息码和校验码;Step S1: receiving business data, the business data includes a plurality of data blocks, wherein the data blocks include information codes and check codes;
步骤S2:对所述业务数据进行第一校验和第二校验;Step S2: performing a first check and a second check on the business data;
步骤S3:将第一校验成功且已完成第二校验的预定数量的信息码输出。Step S3: Outputting a predetermined number of information codes that the first verification is successful and the second verification has been completed.
下面结合实施例和参考图3所示的本发明实施例基带芯片接收业务数据的示意图对图2所示的一种通信系统中业务数据的接收方法进行详细描述。The method for receiving service data in a communication system shown in FIG. 2 will be described in detail below with reference to the embodiment and with reference to FIG.
需要说明的是,在下文的具体实施例中,所述第一校验为CB CRC校验,所述第二校验为TB CRC校验。本领域技术人员知晓,对解码后的所述CB数据和TB数据的校验通常采用的是循环冗余检验(CRC)码进行校验,本实施例中主要以CRC校验为例进行描述,但实际应用中并不限于此,还可以是奇偶校验、MD5校验、bcc异或校验(block check character)等。It should be noted that, in the following specific embodiments, the first check is a CB CRC check, and the second check is a TB CRC check. Those skilled in the art know that the verification of the decoded CB data and TB data usually uses a cyclic redundancy check (CRC) code for verification. In this embodiment, the CRC verification is mainly used as an example for description. However, it is not limited to this in practical applications, and may also be parity check, MD5 check, bcc exclusive OR check (block check character), etc.
步骤S1:接收业务数据,所述业务数据包括多个数据块,其中所述数据块包括信息码和校验码。Step S1: receiving service data, the service data includes a plurality of data blocks, wherein the data blocks include information codes and check codes.
在本发明实施例中,所述通信系统是LTE系统,例如可以是TD-LTE系统、也可以是FDD-LTE系统(频分双工模式下的LTE系统)。本实施例中主要以TD-LTE系统为例进行描述,用户设备接收从基站发送的业务数据。所述业务数据包括多个数据块,其中所述数据块包括信息码和校验码。具体地,在TD-LTE系统的物理层,所述数据块是编码块CB数据,所述CB数据包括CB信息码和CB校验码。In the embodiment of the present invention, the communication system is an LTE system, such as a TD-LTE system, or an FDD-LTE system (LTE system in frequency division duplex mode). In this embodiment, a TD-LTE system is mainly used as an example for description, and a user equipment receives service data sent from a base station. The service data includes a plurality of data blocks, wherein the data blocks include information codes and check codes. Specifically, at the physical layer of the TD-LTE system, the data block is coded block CB data, and the CB data includes a CB information code and a CB check code.
通常从基站发送到用户设备的业务数据是以传输块TB为单位将OFDM符号通过射频发送出去,其中所述OFDM符号是发送端(即基站)将若干个原始数据比特经过信号处理(如:快速傅里叶反变换、并/串转换、插入循环前缀CP以及数/模变换等)后形成的模拟波形;相应地,用户设备中的基带芯片1可以按照TB为单位接收业务数据,并执行与发送端相反的信号处理过程(如:去CP、串/并转换、快速傅里叶变换以及模/数变换等)。Usually, the service data sent from the base station to the user equipment is to send OFDM symbols through radio frequency in the unit of transmission block TB, wherein the OFDM symbols are several original data bits processed by the sending end (ie, the base station) through signal processing (such as: fast Fourier transform, parallel/serial conversion, inserting cyclic prefix CP and digital/analog conversion, etc.); The opposite signal processing process at the sending end (such as: removing CP, serial/parallel conversion, fast Fourier transform, and analog/digital conversion, etc.).
进一步地,基站在发送业务数据之前将调度信息下发至用户设备,所述调度信息包括:下发的子数据帧采用何种调制方式、何种MIMO模式(例如空分分集、传输分集等)、编码速率以及一个TB数据或者一个CB数据的长度等。相应地,用户设备中的基带芯片1可以根据所述调度信息将接收到的若干个CB数据(即编码块数据)中CB信息码部分串接成所述TB数据(即传输块数据)。Further, the base station sends scheduling information to the user equipment before sending service data, and the scheduling information includes: what modulation method and what MIMO mode (such as space division diversity, transmission diversity, etc.) are used for the delivered sub-data frame , encoding rate, and the length of one TB data or one CB data, etc. Correspondingly, the baseband chip 1 in the user equipment can concatenate the CB information code part of the received several CB data (ie code block data) into the TB data (ie transport block data) according to the scheduling information.
步骤S2:对所述业务数据进行第一校验和第二校验。Step S2: Perform the first check and the second check on the service data.
在本实施例中,用户设备在接收到所述业务数据后,将对所述CB数据进行第一校验,并对所述CB数据的CB信息码进行第二校验。In this embodiment, after receiving the service data, the user equipment will perform a first check on the CB data, and perform a second check on the CB information code of the CB data.
具体地,首先,所述基带芯片1将通过解码器11分别对CB数据进行MIMO解码、解扰、解速率匹配以及前向纠错(FEC,Forward Error Correction)解码;其中,所述MIMO解码可以通过多个处理器分别对多个CB数据并行解码,解扰和解速率匹配也可以并行执行,接着再将CB数据经过另一处理器阵列进行前向纠错解码,并将解码后的CB数据输出并保存在基带芯片的缓存12中。Specifically, first, the baseband chip 1 will respectively perform MIMO decoding, descrambling, de-rate matching and forward error correction (FEC, Forward Error Correction) decoding on the CB data through the decoder 11; wherein, the MIMO decoding can Through multiple processors, multiple CB data are decoded in parallel, and descrambling and de-rate matching can also be performed in parallel, and then the CB data is forward error corrected and decoded by another processor array, and the decoded CB data is output and stored in the cache memory 12 of the baseband chip.
然后,通过所述CB校验器13分别对每个CB数据进行CB CRC校验,本领域技术人员知晓,通常从基站发出的CB数据都包含k位CB信息码和r位CB校验码,其中所述信息码和校验码都是二进制数,所述校验码一般为循环冗余检验(CRC)码。Then, the CB CRC check is carried out to each CB data by the CB checker 13 respectively. Those skilled in the art know that the CB data sent from the base station usually includes a k-bit CB information code and an r-bit CB check code, Wherein, both the information code and the check code are binary numbers, and the check code is generally a cyclic redundancy check (CRC) code.
具体地,对所述CB数据进行CB CRC校验的过程包括:Specifically, the process of performing a CB CRC check on the CB data includes:
首先,将CB数据除以CB生成码,以得到余数。其中,所述CB生成码是一个r+1位的二进制数,在发送端可以基于所述CB生成码生成r位的校验码,具体如下:首先,将CB数据的k位CB信息码向左移r位,右边空出的r个位置补零;然后,将左移r位后的CB信息码(k+r位)除以所述CB生成码后得到的余数即为所述r位校验码;最后将得到的r位校验码拼接在k位信息码后得到待发送的CB数据,其中所述CB数据包括k位CB信息码和r位CB校验码。在本实施例中,所述CB生成码对应的十进制数为质数。这是因为:如果所述CB生成码对应的十进制数为合数的话,由于合数包含多个因数,例如16是合数,其包含1、2、4、8、16等因数。也就是说,在对所述CB数据作CB CRC校验时,如果CB数据能够被一个合数对应的二进制数(CB生成码)整除,那么所述CB数据也能够被该合数的所有因数整除,这样将会提高CB CRC校验的误检率。而质数的特性是:除了1和本身外,不能被其他自然数整除,因此本实施例中用质数对应的二进制数作为所述CB生成码可以提高对CB数据作CB CRC校验的准确性。First, divide the CB data by the CB generation code to get the remainder. Wherein, the CB generation code is a binary number of r+1 bits, and the check code of r bits can be generated based on the CB generation code at the sending end, as follows: first, the k-bit CB information code of the CB data is sent to Shift left by r bits, fill the r positions vacated on the right with zeros; then, divide the CB information code (k+r bits) shifted left by r bits by the CB generated code, and the remainder is the r bits Check code; finally, the obtained r-bit check code is spliced with the k-bit information code to obtain the CB data to be sent, wherein the CB data includes a k-bit CB information code and an r-bit CB check code. In this embodiment, the decimal number corresponding to the CB generated code is a prime number. This is because: if the decimal number corresponding to the CB generation code is a composite number, since the composite number includes multiple factors, for example, 16 is a composite number that includes 1, 2, 4, 8, 16 and other factors. That is to say, when the CB CRC check is performed on the CB data, if the CB data can be divisible by a binary number (CB generation code) corresponding to a composite number, then the CB data can also be divisible by all factors of the composite number This will increase the false detection rate of the CB CRC check. And the characteristic of prime number is: except 1 and itself, can not be divisible by other natural numbers, so in the present embodiment, use the binary number corresponding to prime number as described CB generation code and can improve the accuracy that CB data is done CB CRC check.
在接收端则将接收到的CB数据(包括k位CB信息码和r位CB校验码)用所述CB生成码作CRC校验,并根据余数确定接收到的CB数据是否正确。具体为:若所述余数为零,则确定所述CB校验正确;若所述余数不为零,则确定所述CB校验失败。进一步地,根据上述对所述CB数据进行CB CRC校验的方法逐个对CB数据进行CB CRC校验,当有CB数据的CB CRC校验失败则执行步骤S5,确定业务数据接收失败。At the receiving end, the received CB data (including k-bit CB information code and r-bit CB check code) is used for CRC checking with the CB generation code, and whether the received CB data is correct is determined according to the remainder. Specifically: if the remainder is zero, determine that the CB check is correct; if the remainder is not zero, determine that the CB check fails. Further, perform CB CRC verification on CB data one by one according to the above-mentioned method for CB CRC verification on the CB data, and when the CB CRC verification of CB data fails, step S5 is executed to determine that the service data reception fails.
与现有技术不同的是,本实施例中,除了对CB数据作CB CRC校验,还需要通过所述基带芯片1内的TB校验器14对预定数量的CB数据的CB信息码作TB CRC校验。具体地,所述预定数量可以根据所述基带芯片1内的缓存12大小来确定,由于本技术方案的目的就是为了节省基带芯片上的缓存,因此,所述预定数量为小于所述数据块的数目,例如,所述预定数量可以是1~3个(一般为0.768Kbyte-2.304Kbyte),但不限于此,应当小于一个TB数据中CB信息码的总个数。Different from the prior art, in this embodiment, in addition to performing a CB CRC check on the CB data, it is also necessary to perform a TB check on the CB information codes of a predetermined number of CB data through the TB checker 14 in the baseband chip 1. CRC check. Specifically, the predetermined number can be determined according to the size of the cache memory 12 in the baseband chip 1. Since the purpose of this technical solution is to save the cache memory on the baseband chip, the predetermined number is less than the size of the data block. Number, for example, the predetermined number can be 1 to 3 (generally 0.768Kbyte-2.304Kbyte), but not limited thereto, and should be less than the total number of CB information codes in one TB of data.
本实施例中,所述CB数据包括CB信息码和CB校验码,所述TB数据包括TB信息码和TB校验码,或者等效为多个CB数据的CB信息码的串接。假设所述CB数据包括k位CB信息码和r位CB校验码,所述TB数据包括M位TB信息码和N位TB校验码,由于所有所述CB数据的CB信息码依次串接形成所述TB数据(假设为S个CB数据),因此M+N=S*k。In this embodiment, the CB data includes a CB information code and a CB check code, and the TB data includes a TB information code and a TB check code, or is equivalent to a concatenation of CB information codes of multiple CB data. Assume that the CB data includes k-bit CB information codes and r-bit CB check codes, and the TB data includes M-bit TB information codes and N-bit TB check codes. Since the CB information codes of all the CB data are sequentially connected The TB data is formed (assumed to be S CB data), so M+N=S*k.
下面以所述预定数量为1个CB数据为例对所述CB数据的CB信息码进行TB CRC校验的过程进行详细描述。The process of performing TB CRC check on the CB information code of the CB data will be described in detail below by taking the predetermined quantity as one CB data as an example.
具体地,例如,当前所述基带芯片1内的缓存12存储了一个CB数据,并已完成该CB数据的CB CRC校验。对所述CB数据的CB信息码作TB CRC校验,具体为:将所述CB数据的CB信息码输入TB校验器14进行TB CRC校验,完成该CB数据的CB信息码的TB CRC校验后,执行步骤S3,将该CB数据的CB信息码输出。Specifically, for example, the cache 12 in the baseband chip 1 currently stores a piece of CB data, and the CB CRC check of the CB data has been completed. Perform TB CRC verification on the CB information code of the CB data, specifically: input the CB information code of the CB data into the TB checker 14 to perform TB CRC verification, and complete the TB CRC of the CB information code of the CB data After verification, step S3 is executed to output the CB information code of the CB data.
需要说明的是,与上述对所述CB数据进行CB CRC校验不同的是,这里对所述CB数据的CB信息码作TB CRC校验是将所述CB信息码除以TB生成码以得到余数a。由于本次TB CRC校验是第一次对所述CB数据的CB信息码进行TB CRC校验,因此TB校验器14中没有前次TB CRC校验得到的余数。需要说明的是,在完整的所述TB数据(即属于所述TB数据的所有CB信息码)未完全输入TB校验器14时,不对TB CRC校验是否正确作判定。其中,所述TB生成码的形成过程可以参考上述CB生成码的形成过程,在此不再赘述。It should be noted that, unlike the above-mentioned CB CRC check for the CB data, the TB CRC check for the CB information code of the CB data here is to divide the CB information code by the TB generation code to obtain remainder a. Because this TB CRC check is to carry out TB CRC check to the CB information code of described CB data for the first time, so there is not the remainder that previous TB CRC check obtains in TB verifier 14. It should be noted that when the complete TB data (that is, all CB information codes belonging to the TB data) is not completely input into the TB checker 14, no judgment is made on whether the TB CRC check is correct. For the formation process of the TB generation code, reference may be made to the above-mentioned formation process of the CB generation code, which will not be repeated here.
然后,基带芯片1内的缓存12存储下一个CB数据,并已完成该CB数据的CB CRC校验。接着,将该CB数据中的CB信息码继续输入TB校验器14进行TB CRC校验。需要说明的是,输入TB校验器14的CB信息码将拼接在前次TB CRC校验后得到的余数a之后得到校验数据,所述校验数据为“余数a+本次输入的CB信息码”,然后再对所述校验数据进行TB CRC校验以得到余数b。Then, the cache memory 12 in the baseband chip 1 stores the next CB data, and the CB CRC check of the CB data has been completed. Then, continue to input the CB information code in the CB data into the TB checker 14 for TB CRC check. It should be noted that the CB information code input to the TB checker 14 will be spliced to obtain the check data after the remainder a obtained after the previous TB CRC check, and the check data is "remainder a+ the CB information input this time code", and then perform TB CRC check on the check data to obtain the remainder b.
以此类推,直到当前基带芯片1内的缓存12存储的是这个业务数据的最后一个CB数据,并已完成对该CB数据的CB CRC校验。接着,将该CB数据中的CB信息码输入TB校验器14进行TB CRC校验,以得到整个TB数据的TB CRC校验最终的余数,若所述余数为零,则确定业务数据接收成功;若所述余数不为零,则确定业务数据接收失败。By analogy, until the cache 12 in the current baseband chip 1 stores the last CB data of this service data, and the CB CRC check of the CB data has been completed. Next, input the CB information code in the CB data into the TB checker 14 for TB CRC check, to obtain the final remainder of the TB CRC check of the entire TB data, if the remainder is zero, it is determined that the service data is received successfully ; If the remainder is not zero, determine that service data reception fails.
上述实施例是对所述预定数量为1个CB数据的CB信息码作TB CRC校验进行描述的,当所述预定数量为2-3个时,本领域技术人员可以参照上述方法并做出相应的变化即可,在此不再赘述。The above-mentioned embodiment describes the TB CRC check of the CB information code whose predetermined number is 1 CB data. When the predetermined number is 2-3, those skilled in the art can refer to the above method and make Corresponding changes are sufficient, and details are not repeated here.
步骤S3:将第一校验成功且已完成第二校验的预定数量的信息码输出。Step S3: Outputting a predetermined number of information codes that the first verification is successful and the second verification has been completed.
本步骤包括:将第一校验成功且已完成第二校验的预定数量的所述CB数据的CB信息码输出。在具体实施例中,根据基带芯片1内缓存12的大小,本步骤包括:若基带芯片1内的缓存12只保存1个CB数据,则所述预定数量为1个CB数据,那么在对所述CB数据的CB CRC校验成功且已完成TBCRC校验时,将该CB数据的CB信息码输出至基带芯片1外的外部存储器2中。若基带芯片1内的缓存12可以保存2个CB数据,则所述预定数量为2个CB数据,那么在分别对2个CB数据的CB CRC校验成功且已完成这2个CB数据的TB CRC校验时,将这2个CB数据的CB信息码输出至基带芯片1外的外部存储器2中。以此类推,在此不再赘述。This step includes: outputting CB information codes of a predetermined amount of the CB data whose first verification is successful and the second verification has been completed. In a specific embodiment, according to the size of the cache memory 12 in the baseband chip 1, this step includes: if the cache memory 12 in the baseband chip 1 only saves 1 CB data, then the predetermined number is 1 CB data, then for all When the CB CRC check of the CB data is successful and the TBCRC check has been completed, the CB information code of the CB data is output to the external memory 2 outside the baseband chip 1. If the cache memory 12 in the baseband chip 1 can store 2 CB data, then the predetermined quantity is 2 CB data, then the TBs of the CB CRC checks of the 2 CB data are successful and the 2 CB data have been completed During the CRC check, the CB information codes of the two CB data are output to the external memory 2 outside the baseband chip 1 . And so on, no more details here.
在本实施例中,可以通过直接存储访问(Direct Memory Access,DMA)控制器15将预定数量的CB数据的CB信息码从基带芯片1内的缓存12输出至基带芯片1外的外部存储器2中。其中,所述直接存储访问技术是本领域技术人员公知的技术,在此不再赘述。In this embodiment, the CB information code of a predetermined amount of CB data can be output from the cache memory 12 in the baseband chip 1 to the external memory 2 outside the baseband chip 1 by direct memory access (Direct Memory Access, DMA) controller 15 . Wherein, the direct storage access technology is a technology well known to those skilled in the art, and will not be repeated here.
在本步骤之后,还包括:直至所述CB数据的第一校验失败或所有CB数据的第一校验和所有CB信息码的第二校验完成,停止校验。After this step, the method further includes: stopping the verification until the first verification of the CB data fails or the first verification of all CB data and the second verification of all CB information codes are completed.
进一步地,结合参考图4所示的是本发明的基带芯片中的缓存和外部存储器之间的存储关系示意图。如图4所示,在所述缓存12中接收到第一校验(即CB CRC校验)成功的CB信息码(如CB信息码1)后,再对该CB信息码作第二校验(即TB CRC校验)后,就先输出至所述外部存储器2中,这样缓存所存储的CB信息码1因为已在所述外部存储器2中做了拷贝,这样缓存12的存储空间就可以用来存储下一个CB信息码了,从而节省了基带芯片内的缓存空间。本领域技术人员知晓,通常基带芯片内的缓存(缓存)的成本要高于外部存储器(片外存储),因此节省基带芯片内的缓存空间可以降低用户设备中制造基带芯片的成本。Further, with reference to FIG. 4 , it is a schematic diagram of a storage relationship between the cache in the baseband chip and the external memory of the present invention. As shown in Figure 4, after receiving the successful CB information code (such as CB information code 1) of the first check (i.e. CB CRC check) in the buffer memory 12, the second check is done to the CB information code (i.e. TB CRC check), just output in the described external memory 2 earlier, because the CB information code 1 stored in cache like this has done copy in described external memory 2, the storage space of cache 12 just can be like this It is used to store the next CB information code, thereby saving the cache space in the baseband chip. Those skilled in the art know that generally the cost of the cache (cache) in the baseband chip is higher than that of the external memory (off-chip storage), so saving the cache space in the baseband chip can reduce the cost of manufacturing the baseband chip in the user equipment.
需要说明的是,图4中是以所述缓存12只缓存一个CB信息码(这里由于CB数据已经过CRC校验,因此可丢弃CB校验码)为例进行描述的,在实际应用中,根据本技术方案,所述缓存12也可以缓存1至3个CB信息码,在此不作赘述。It should be noted that, in Fig. 4, it is described as an example that the cache 12 only caches one CB information code (here, because the CB data has passed the CRC check, the CB check code can be discarded). In practical applications, According to this technical solution, the buffer 12 may also buffer 1 to 3 CB information codes, which will not be described in detail here.
根据步骤S3的处理结果,若所有所述CB信息码的第二校验成功则确定业务数据接收成功,输出的所有所述CB信息码依次串接形成TB数据,其中所述TB数据包括TB信息码和TB校验码,然后上层协议可以调用存储在所述外部存储器2中的TB数据。若有CB数据的第一校验失败,或者所有所述CB信息码的第二校验失败则确定业务数据接收失败,用户设备则将已传输到所述外部存储器2中所有属于该TB的数据的CB数据的CB信息码都丢弃。According to the processing result of step S3, if the second verification of all the CB information codes is successful, it is determined that the business data is received successfully, and all the output CB information codes are sequentially concatenated to form TB data, wherein the TB data includes TB information Code and TB check code, then the upper layer protocol can call the TB data stored in the external memory 2. If the first verification of the CB data fails, or the second verification of all the CB information codes fails, it is determined that the service data has failed to receive, and the user equipment will transmit all the data belonging to the TB in the external memory 2 The CB information codes of the CB data are all discarded.
基于上述通信系统中业务数据的接收方法,本发明实施例还提供了一种通信系统中业务数据的接收装置。如图5所示的是本发明实施例的通信系统中业务数据的接收装置的结构示意图。在本实施例中,所述通信系统为TD-LTE系统。参考图5,所述接收装置3包括:接收单元31、校验单元32、输出单元33以及确定单元34。Based on the above method for receiving service data in a communication system, an embodiment of the present invention further provides a device for receiving service data in a communication system. FIG. 5 is a schematic structural diagram of an apparatus for receiving service data in a communication system according to an embodiment of the present invention. In this embodiment, the communication system is a TD-LTE system. Referring to FIG. 5 , the receiving device 3 includes: a receiving unit 31 , a checking unit 32 , an output unit 33 and a determining unit 34 .
其中,所述接收单元31用于接收业务数据,所述业务数据包括多个数据块,其中所述数据块包括信息码和校验码。所述校验单元32用于对所述接收单元接收到的所述业务数据进行第一校验和第二校验。所述输出单元33用于根据所述校验单元的校验结果将第一校验成功且已完成第二校验的预定数量的信息码输出。Wherein, the receiving unit 31 is used for receiving service data, and the service data includes a plurality of data blocks, wherein the data blocks include information codes and check codes. The verification unit 32 is configured to perform a first verification and a second verification on the service data received by the receiving unit. The output unit 33 is configured to output a predetermined number of information codes whose first verification is successful and the second verification has been completed according to the verification result of the verification unit.
在本实施例中,所述接收装置3位于移动终端(即用户设备)内的基带芯片中,用于处理从基站发送至用户设备的业务数据,其中所述业务数据包括多个编码块CB数据,其中所述CB数据包括CB信息码和CB校验码。In this embodiment, the receiving device 3 is located in the baseband chip in the mobile terminal (ie user equipment), and is used to process service data sent from the base station to the user equipment, wherein the service data includes a plurality of coded block CB data , wherein the CB data includes a CB information code and a CB check code.
在具体实施例中,所述接收装置3中还包括缓存(未示出),该缓存与所述接收单元31相连接,用于保存所述业务数据中预定数量的CB数据,其中所述预定数量基于缓存的大小确定,例如,所述缓存大小为0.768Kbyte-2.304Kbyte,则对应所述预定数量的CB数据为1-3个CB数据。In a specific embodiment, the receiving device 3 further includes a cache (not shown), which is connected to the receiving unit 31 and used to save a predetermined amount of CB data in the service data, wherein the predetermined The quantity is determined based on the size of the cache, for example, if the cache size is 0.768Kbyte-2.304Kbyte, then the predetermined quantity of CB data corresponds to 1-3 CB data.
所述校验单元32用于对所述CB数据进行第一校验,并对所述CB数据的CB信息码进行第二校验。在具体实施例中,所述校验单元32具体包括:第一校验单元321和第二校验单元322。其中,根据采用的不同校验方法,所述第一校验单元321和第二校验单元322可以是CRC校验单元或者奇偶校验单元或者MD5校验或者bcc异或校验单元。The checking unit 32 is configured to perform a first check on the CB data, and perform a second check on the CB information code of the CB data. In a specific embodiment, the checking unit 32 specifically includes: a first checking unit 321 and a second checking unit 322 . Wherein, according to different verification methods adopted, the first verification unit 321 and the second verification unit 322 may be a CRC verification unit or a parity verification unit or an MD5 verification unit or a bcc exclusive-or verification unit.
在本实施例中,由于是以CRC校验为例进行描述,因此图5中所述第一校验单元321用于对所述CB数据进行第一校验,所述第二校验单元322用于对所述CB数据的CB信息码进行第二校验。本实施例中,所述第一校验单元321为CB CRC校验单元,所述第二校验单元322为TB CRC校验单元。进一步地,所述校验单元32直至所述CB数据的第一校验失败或所有CB数据的第一校验和所有CB信息码的第二校验完成停止校验。In this embodiment, since the CRC check is used as an example for description, the first check unit 321 in FIG. 5 is used to perform a first check on the CB data, and the second check unit 322 It is used to perform a second check on the CB information code of the CB data. In this embodiment, the first checking unit 321 is a CB CRC checking unit, and the second checking unit 322 is a TB CRC checking unit. Further, the verification unit 32 stops verification until the first verification of the CB data fails or the first verification of all CB data and the second verification of all CB information codes are completed.
具体地,所述第一校验单元321的校验过程包括:对所述CB数据进行CB CRC校验,以得到余数;若所述得到的余数为零,则确定所述CB数据的CB CRC校验正确;若所述余数不为零,则确定所述CB数据的CB CRC校验失败。所述第二校验单元322的校验过程包括:对所述CB数据的CB信息码进行TB CRC校验。需要说明的是,在对所述CB数据的CB信息码进行TBCRC校验时,除第一次对所述CB数据的CB信息码进行TB CRC校验外,对本次进行TB CRC校验的预定数量的CB信息码与前次经TB CRC校验得到的余数拼接后得到的校验数据进行所述TB CRC校验。Specifically, the verification process of the first verification unit 321 includes: performing CB CRC verification on the CB data to obtain a remainder; if the obtained remainder is zero, then determine the CB CRC of the CB data The verification is correct; if the remainder is not zero, it is determined that the CB CRC verification of the CB data fails. The verification process of the second verification unit 322 includes: performing TB CRC verification on the CB information code of the CB data. It should be noted that, when the TBCRC check is performed on the CB information code of the CB data, except that the TB CRC check is performed on the CB information code of the CB data for the first time, the TB CRC check is carried out this time. The TB CRC check is performed on the check data obtained after splicing the predetermined number of CB information codes and the remainder obtained by the previous TB CRC check.
进一步地,在完整的所述TB数据(即属于所述TB数据的所有CB信息码)未完全输入所述第二校验单元322时,不对TB CRC校验是否正确作判定;直到所述TB数据的最后一个CB信息码输入所述第二校验单元322时,经TB CRC校验后得到整个TB数据的TB CRC校验最终的余数,若所述余数为零,则确定业务数据接收成功;若所述余数不为零,则确定业务数据接收失败。Further, when the complete TB data (that is, all CB information codes belonging to the TB data) is not completely input into the second checking unit 322, it is not judged whether the TB CRC check is correct; until the TB When the last CB information code of the data is input to the second verification unit 322, the final remainder of the TB CRC verification of the entire TB data is obtained after the TB CRC verification, and if the remainder is zero, it is determined that the service data is received successfully ; If the remainder is not zero, determine that service data reception fails.
进一步地,根据所述校验单元32的校验结果,通过所述输出单元33将经过所述校验单元32校验后CB CRC校验成功且已完成TB CRC校验的预定数量的CB数据的CB信息码输出。具体地,本实施例中,通过直接存储访问的方式将预定数量的CB输出至基带芯片外的存储器(未示出)。Further, according to the verification result of the verification unit 32, through the output unit 33, the CB CRC verification success of the verification unit 32 and the predetermined amount of CB data that has completed the TB CRC verification CB information code output. Specifically, in this embodiment, a predetermined number of CBs are output to a memory (not shown) outside the baseband chip through direct storage access.
所述确定单元34则根据所述校验单元32的校验结果,若所有所述CB信息码的TB CRC校验成功则确定业务数据接收成功;若有CB数据的CB CRC校验失败,或者所有所述CB信息码的TB CRC校验失败则确定业务数据接收失败。The determination unit 34 then determines that the service data is received successfully if the TB CRC verification of all the CB information codes is successful according to the verification result of the verification unit 32; if the CB CRC verification of the CB data fails, or If the TB CRC check of all the CB information codes fails, it is determined that the service data reception fails.
本发明实施例还提供了一种基带芯片,所述基带芯片包括上述图4所示的通信系统中业务数据的接收装置。所述接收装置用于实现上述的通信系统中业务数据的接收方法,其处理过程可以参考上述方法的具体实施例,在此不予赘述。An embodiment of the present invention also provides a baseband chip, and the baseband chip includes the apparatus for receiving service data in the communication system shown in FIG. 4 above. The receiving device is used to implement the above-mentioned method for receiving service data in the communication system, and its processing process can refer to the specific embodiments of the above-mentioned method, which will not be repeated here.
在实际应用中,所述基带芯片可以如图3所示,至少包括解码器11、缓存12、CB校验器13、TB校验器14和直接存储访问控制器15。In practical applications, the baseband chip may at least include a decoder 11 , a cache 12 , a CB checker 13 , a TB checker 14 and a direct storage access controller 15 as shown in FIG. 3 .
其中,解码器11可以对应图5所示的接收单元31,用于接收从基站发送的TB数据(或者CB数据)并进行解码,并将解码后的TB数据(或者CB数据)储存至缓存12;CB校验器13对应于图5所示的CB CRC校验单元321,TB校验器14对应于图5所示的TB CRC校验单元322;直接存储访问控制器15对应于图5所示的输出单元33。Wherein, the decoder 11 may correspond to the receiving unit 31 shown in FIG. 5 , for receiving and decoding the TB data (or CB data) sent from the base station, and storing the decoded TB data (or CB data) in the cache 12 The CB checker 13 corresponds to the CB CRC check unit 321 shown in Figure 5, and the TB checker 14 corresponds to the TB CRC check unit 322 shown in Figure 5; the direct storage access controller 15 corresponds to the one shown in Figure 5 The output unit 33 shown.
综上所述,本技术方案中,用户设备接收业务数据,业务数据包括多个数据块,其中所述数据块包括信息码和校验码。基带芯片对所述业务数据进行第一校验和第二校验,然后将第一校验成功且已完成第二校验的预定数量的信息码输出。由于对接收到的业务数据既做了第一校验又做了第二校验,并且将第一校验成功且完成第二校验的信息码输出到基带芯片外,这样可以节省基带芯片内的缓存空间。To sum up, in this technical solution, the user equipment receives service data, and the service data includes multiple data blocks, wherein the data blocks include information codes and check codes. The baseband chip performs the first check and the second check on the service data, and then outputs a predetermined number of information codes that have succeeded in the first check and completed the second check. Since both the first check and the second check are performed on the received business data, and the information code that the first check is successful and the second check is completed is output to the outside of the baseband chip, this can save the internal memory of the baseband chip. cache space.
在具体实施例中,所述数据块为编码块CB数据,基带芯片内保存预定数量的CB数据并对这些CB数据分别进行第一校验和对所述CB数据的CB信息码进行第二校验,如果这些CB数据的第一校验成功且已完成第二校验,则将预定数量的这些CB数据输出,直到所有CB数据的第一校验和所有CB数据的CB信息码的第二校验完成;如果在对CB数据的第一校验失败或者所有所述CB信息码的第二校验失败则确定业务数据接收失败。其中,所述第一校验是CB CRC校验,所述第二校验是TB CRC校验。In a specific embodiment, the data block is coded block CB data, and a predetermined amount of CB data is stored in the baseband chip, and a first check is performed on these CB data and a second check is performed on the CB information code of the CB data. verification, if the first verification of these CB data is successful and the second verification has been completed, a predetermined number of these CB data will be output until the first verification of all CB data and the second verification of the CB information code of all CB data The verification is completed; if the first verification of the CB data fails or the second verification of all the CB information codes fails, it is determined that the service data reception fails. Wherein, the first check is a CB CRC check, and the second check is a TB CRC check.
在具体实施例中,所述预定数量可以小于一个TB数据中CB信息码的个数,例如1-3个,这样在用户设备接收基站发送的业务数据时,基带芯片内的缓存只需保存部分CB数据,而不需要预留整个TB数据的存储空间,节省了基带芯片的内存。In a specific embodiment, the predetermined number may be less than the number of CB information codes in one TB of data, such as 1-3, so that when the user equipment receives the service data sent by the base station, the cache in the baseband chip only needs to save part For CB data, there is no need to reserve the storage space of the entire TB data, which saves the memory of the baseband chip.
本发明虽然已以较佳实施例公开如上,但其并不是用来限定本发明,任何本领域技术人员在不脱离本发明的精神和范围内,都可以利用上述揭示的方法和技术内容对本发明技术方案做出可能的变动和修改,因此,凡是未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化及修饰,均属于本发明技术方案的保护范围。Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention, and any person skilled in the art can use the methods disclosed above and technical content to analyze the present invention without departing from the spirit and scope of the present invention. Possible changes and modifications are made in the technical solution. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention, which do not depart from the content of the technical solution of the present invention, all belong to the technical solution of the present invention. protected range.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110419357.XA CN102571272B (en) | 2011-12-14 | 2011-12-14 | Method and device for receiving service data in communication system, and baseband chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110419357.XA CN102571272B (en) | 2011-12-14 | 2011-12-14 | Method and device for receiving service data in communication system, and baseband chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102571272A CN102571272A (en) | 2012-07-11 |
CN102571272B true CN102571272B (en) | 2015-07-15 |
Family
ID=46415822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110419357.XA Active CN102571272B (en) | 2011-12-14 | 2011-12-14 | Method and device for receiving service data in communication system, and baseband chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102571272B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103595504B (en) * | 2013-11-04 | 2017-07-28 | 上海数字电视国家工程研究中心有限公司 | The method for packing and method of calibration of packet |
CN105468389A (en) * | 2014-09-04 | 2016-04-06 | 中兴通讯股份有限公司 | CPLD-based remote upgrading control method and apparatus |
DE102015110027B4 (en) * | 2015-06-23 | 2017-01-12 | Intel IP Corporation | COMMUNICATION DEVICE AND METHOD FOR STORING DATA |
CN106330388B (en) * | 2015-06-30 | 2019-10-11 | 展讯通信(上海)有限公司 | Downlink service data processing method, device and user terminal |
CN106549814B (en) * | 2015-09-17 | 2019-07-23 | 大唐移动通信设备有限公司 | The method of calibration and equipment of device parameter validity |
CN110297871A (en) * | 2019-06-20 | 2019-10-01 | 常州冰鉴信息科技有限公司 | A kind of method that isomeric data acquires in real time |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237241A (en) * | 2007-01-31 | 2008-08-06 | 大唐移动通信设备有限公司 | A method and system for realizing mixed automatic request re-transfer processing and channel decoding |
CN102130747A (en) * | 2011-04-29 | 2011-07-20 | 东南大学 | A Dynamic Allocation Method for Decoding Iterations of Topological Code Transport Blocks in Long-Term Evolution Systems |
-
2011
- 2011-12-14 CN CN201110419357.XA patent/CN102571272B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237241A (en) * | 2007-01-31 | 2008-08-06 | 大唐移动通信设备有限公司 | A method and system for realizing mixed automatic request re-transfer processing and channel decoding |
CN102130747A (en) * | 2011-04-29 | 2011-07-20 | 东南大学 | A Dynamic Allocation Method for Decoding Iterations of Topological Code Transport Blocks in Long-Term Evolution Systems |
Also Published As
Publication number | Publication date |
---|---|
CN102571272A (en) | 2012-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11438099B2 (en) | Information processing method, device, and communications system | |
US10700705B2 (en) | Encoding and decoding method and terminal | |
JP7017627B2 (en) | Redundant version design solution in communication systems | |
CN102571272B (en) | Method and device for receiving service data in communication system, and baseband chip | |
CN102318254B (en) | Method for requesting retransmission, method for retransmission and devices thereof | |
RU2752420C2 (en) | Method and device for information processing, communication device and communication system | |
WO2018127064A1 (en) | Method and device for controlling information transmission | |
US20110145670A1 (en) | Method for High-Efficient Implementation of De-Rate Matching Including HARQ Combining for LTE | |
WO2017092617A1 (en) | Error estimation method, base station and terminal | |
JP2021184638A (en) | Method and apparatus | |
CN108649965A (en) | Coding, interpretation method and equipment | |
EP3637653A1 (en) | Data processing method and data processing device | |
WO2017121334A1 (en) | Data-processing method and device | |
CN111600677B (en) | Data transmission method and device | |
CN108933642B (en) | Downlink retransmission method based on code block grouping, base station and terminal | |
CN107947902A (en) | The data error processing system and method for a kind of high-speed interface chip | |
WO2019042370A1 (en) | Data transmission method and device | |
US8977913B2 (en) | Method, device and baseband chip for receiving service data in a communication system | |
US9853766B2 (en) | Radio communication devices, access points, method for controlling a radio communication device, and methods for controlling an access point | |
EP3605849A1 (en) | Polar code encoding method and device | |
CN110750383A (en) | Method for carrying information by using CRC check code | |
CN102546115A (en) | Fountain-coding-based spectrum aggregation method | |
WO2024000564A1 (en) | Communication method and communication apparatus | |
WO2024023700A1 (en) | System and method for implementing optimized rate recovery and harq combining in a network | |
CN105634668A (en) | False detection screening method and device of DCI0 signals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |