A data processing method and apparatus
By sharing the processing load of PUSCH data between the CPU and FPGA and optimizing the processing flow using identification information, the problems of PUSCH processing latency and resource consumption in 5G base stations have been solved, achieving efficient data processing.
Patent Information
- Application Number
- CN202311868762.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-12-29
AI Technical Summary
The demodulation and descrambling processes of PUSCH in 5G base stations have high computational complexity, resulting in excessive CPU processing resource consumption and long latency. When implementing UCI processing using FPGA, the logic complexity is high, and the storage space and transmission latency are increased.
By sharing the processing tasks between the CPU and FPGA, the CPU handles UCI data and the FPGA handles uplink data. The processing flow is optimized by using identification information, which reduces storage space and transmission latency.
It improves data processing efficiency, reduces memory resource consumption, shortens processing latency, and optimizes the storage and transmission efficiency of FPGA.
Smart Images

Figure CN117879760B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a data processing method and apparatus. Background Technology
[0002] In practical applications, 5G base stations implement demodulation, descrambling, and uplink control information (UCI) removal on the Physical Uplink Shared Channel (PUSCH) using a Central Processing Unit (CPU). Rate matching after UCI removal is then implemented using a Field Programmable Gate Array (FPGA). However, due to the high computational complexity of demodulation and descrambling, and the high logical complexity of UCI removal, the CPU consumes excessive memory resources when processing resource elements (REs) transmitted in the PUSCH during the implementation of the above scheme. This can easily lead to excessively long CPU latency in processing REs. Summary of the Invention
[0003] Based on the above problems, this application provides a data processing method and apparatus.
[0004] The technical solution provided in this application is implemented as follows:
[0005] This application provides a data processing method, the method comprising:
[0006] The resource blocks transmitted by PUSCH are processed to obtain at least first data and second data; wherein the first data includes at least UCI and the second data includes at least uplink data information.
[0007] The first processor performs control information parsing processing on the first data to obtain the UCI, and the second processor performs uplink data extraction processing on the second data to obtain uplink data information.
[0008] In some embodiments, the second processor performs uplink data extraction processing on the second data, including:
[0009] Obtain the identification information corresponding to the second data, wherein the identification information is used to indicate the data type corresponding to the second data;
[0010] Based on the identification information, the second processor is controlled to perform uplink data extraction processing on the second data.
[0011] In some embodiments, based on identification information, controlling the second processor to perform uplink data extraction processing on the second data includes:
[0012] If the identification information indicates that the second data contains uplink data information, or if the identification information indicates that the second data contains uplink data information and information parameters used to confirm the multiplexing status, the second processor performs uplink data extraction processing on the second data.
[0013] In some embodiments, if the identification information indicates that the second data contains a UCI, the second processor is controlled to remove the second data.
[0014] In some embodiments, obtaining the identification information corresponding to the second data includes:
[0015] Retrieve the identifier information corresponding to the second data from the data cache queue.
[0016] In some embodiments, before retrieving the identification information corresponding to the second data from the data cache queue, the method further includes:
[0017] The second data is parsed to obtain the identification information;
[0018] Store the identification information in the data cache queue.
[0019] In some embodiments, processing the resource blocks transmitted by PUSCH to obtain at least first data and second data includes:
[0020] The resource blocks are processed to obtain the first resource block and the second resource block;
[0021] The first resource block is determined to be the first data;
[0022] Obtain initial type information, and determine identification information based on the initial type information;
[0023] The identification information and the second resource block are framed to obtain the second data.
[0024] In some embodiments, determining identification information based on initial type information includes:
[0025] The initial type information is compressed to obtain the identification information; the data volume of the initial type information is greater than that of the identification information.
[0026] In some embodiments, the second processor performs uplink data extraction processing on the second data to obtain uplink data information, including:
[0027] The second processor performs demodulation processing on the second data to obtain the demodulation result;
[0028] The demodulation result is descrambled by the second processor to obtain the uplink data information.
[0029] This application embodiment also provides a data processing apparatus, the apparatus comprising:
[0030] The processing module is used to process the resource blocks transmitted by PUSCH to obtain at least first data and second data; wherein the first data includes at least UCI and the second data includes at least uplink data information.
[0031] The data extraction module is used to perform control information parsing processing on the first data through the first processor to obtain the UCI; at the same time, it performs uplink data extraction processing on the second data through the second processor to obtain uplink data information.
[0032] This application also provides an electronic device, which includes a processor, a memory, and a communication bus; the memory stores a computer program, and when the computer program is executed by the processor, it can implement the data processing method as described above.
[0033] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor of an electronic device, can implement the data processing method as described above.
[0034] The data processing method provided in this application first processes the resource blocks transmitted on the PUSCH to obtain first data and second data. The first processor performs control information parsing processing on the first data, and the second processor performs uplink data extraction processing on the second data. Thus, by having two processors simultaneously process the first and second data in parallel, the processing efficiency of the first and second data is improved, thereby achieving efficient processing of the Resource Block (RB). Furthermore, since the first data includes UCI (User Information Code) and the second data includes uplink data information, parallel processing of both the logically complex UCI and computationally complex uplink data information is achieved simultaneously by different processors. This reduces memory resource consumption caused by a single processor simultaneously processing both UCI and uplink data information, thereby shortening the latency of a single processor processing the Resource Block (RE). Attached Figure Description
[0035] Figure 1 This is a schematic diagram of a data processing method in a related technology.
[0036] Figure 2A flowchart illustrating the data processing method provided in an embodiment of this application;
[0037] Figure 3 This is a schematic diagram of the process for extracting uplink data provided in an embodiment of this application;
[0038] Figure 4 This is a schematic diagram of the process for storing identification information provided in an embodiment of this application;
[0039] Figure 5 This is a schematic diagram illustrating the process of obtaining the first data and the second data provided in an embodiment of this application.
[0040] Figure 6 This is a schematic diagram of the structure of the interface frame provided in the embodiments of this application;
[0041] Figure 7 This is a schematic diagram of the process for obtaining uplink data information provided in an embodiment of this application;
[0042] Figure 8 This is a schematic diagram illustrating the mapping relationship between flag identifier information and the layer corresponding to the RE during the demodulation process, provided in an embodiment of this application.
[0043] Figure 9 A schematic diagram illustrating the mapping relationship between demodulated flag identification information and soft information provided in the embodiments of this application;
[0044] Figure 10 Another schematic flowchart illustrating the data processing method provided in this application embodiment;
[0045] Figure 11 This is a schematic diagram of the structure of the data processing apparatus provided in the embodiments of this application. Detailed Implementation
[0046] To gain a more detailed understanding of the features and technical content of the embodiments of this application, the technical solution of this application will be further described in detail below with reference to the accompanying drawings and specific embodiments. The accompanying drawings are for reference only and are not intended to limit the embodiments of this application.
[0047] Unless otherwise defined, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the embodiments of this application is for the purpose of describing the embodiments of this application only and is not intended to limit this application.
[0048] In the following description, references to "some embodiments" refer to a subset of all possible embodiments. It is understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other without conflict. It should also be noted that the terms "first / second / third" used in the embodiments of this application are merely for distinguishing similar objects and do not represent a specific ordering of objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein.
[0049] In related technologies, the PUSCH processing flow in 5G base stations includes processes such as de-resource mapping, channel estimation, de-layer mapping, demodulation, descrambling, de-UCI, and de-rate matching. For example... Figure 1 As shown, in typical 5G base stations, the de-mapping, demodulation, descrambling, and de-UCI of the PUSCH are implemented in the CPU101. After de-UCI, the data after de-UCI is transmitted to the FPGA102 for subsequent processing, such as rate matching, via a Queue-based Direct Memory Access (QDMA) interface. However, due to the high computational complexity of demodulation and descrambling, there are high requirements for parallel processing capabilities. When the CPU101 processes the RE transmitted in the PUSCH, it faces excessive memory resource consumption, which can easily lead to excessively long latency in processing the RE.
[0050] To solve the above-mentioned technical problems, the following technical solution is proposed in the related technologies: after the CPU101 completes the de-mapping, the demodulation, descrambling and deUCI processing are all offloaded to the FPGA102 for processing.
[0051] However, the following problems still exist when adopting this solution:
[0052] The high logic complexity of UCI decoding makes FPGA development difficult. Furthermore, when reusing UCI in the New Radio (NR) PUSCH, the diverse and complex types of UCI and the flexible and varied UCI mapping positions require different flag identification information to mark different types of UCI. Each RE position needs a flag identification information, which results in a large bit width occupied by each flag identification information and a large total amount of flag identification information data, thereby increasing the storage space and transmission latency in the FPGA102.
[0053] To address the above issues, this application provides a data processing method and apparatus. The data processing method provided in this application first processes resource blocks transmitted on the PUSCH to obtain first data and second data. A first processor performs control information parsing processing on the first data, and a second processor performs uplink data extraction processing on the second data. Thus, by having two processors simultaneously process the first and second data in parallel, the processing efficiency of the first and second data is improved, thereby achieving efficient processing of the resource blocks (RBs). Furthermore, since the first data includes UCI (User Information Code) and the second data includes uplink data information, parallel processing of both the logically complex UCI and computationally complex uplink data information is achieved simultaneously by different processors. This reduces memory resource consumption caused by a single processor simultaneously processing both UCI and uplink data information, thereby shortening the latency of a single processor processing the resource blocks (REs).
[0054] The data processing method provided in this application embodiment can be implemented by a processor of a data processing device; the processor can be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), Controller, Microcontroller, and Microprocessor.
[0055] Figure 2 This is a flowchart illustrating the data processing method provided in the embodiments of this application, such as... Figure 2 As shown, the process may include the following steps:
[0056] Step 201: Process the resource blocks transmitted by PUSCH to obtain at least the first data and the second data.
[0057] The first data includes at least UCI, and the second data includes at least uplink data information.
[0058] In this embodiment of the application, a resource block may include a resource element (RE).
[0059] In this embodiment of the application, the first data includes UCI, and the first data is a RE used to implement UCI decoding.
[0060] In this embodiment of the application, the second data includes uplink data information, and the second data is another RE used to extract the uplink data information.
[0061] In the embodiments of this application, it can be understood that after the CPU completes the de-mapping, it copies the RE transmitted on the PUSCH to obtain two REs, one of which includes at least UCI and the other RE includes at least uplink data information.
[0062] Step 202: The first processor performs control information parsing processing on the first data to obtain the UCI. At the same time, the second processor performs uplink data extraction processing on the second data to obtain uplink data information.
[0063] In this embodiment of the application, the first processor includes a CPU.
[0064] In this embodiment of the application, the second processor includes an FPGA.
[0065] In this embodiment, the CPU performs control information parsing processing on one RE including UCI to obtain UCI from the first data. At the same time, the FPGA performs uplink data extraction processing on another RE including uplink data information to obtain uplink data information from the second data.
[0066] In the embodiments of this application, it can be understood that after the CPU completes the de-mapping, it copies the RE transmitted on the PUSCH. One of the REs is processed for UCI de-processing in the CPU, and the other RE is sent to the FPGA for uplink data extraction processing. Both REs are processed simultaneously in the CPU and the FPGA.
[0067] Therefore, in the data processing method provided in this application embodiment, during the data processing process, firstly, the resource blocks transmitted on the PUSCH are processed to obtain first data and second data. The first processor performs control information parsing processing on the first data, and the second processor performs uplink data extraction processing on the second data. Thus, by having two processors simultaneously process the first and second data in parallel, the processing efficiency of the first and second data is improved, thereby achieving efficient processing of the RB (Resource Block). Furthermore, since the first data includes UCI (User Information Code) and the second data includes uplink data information, parallel processing of both the logically complex UCI and the computationally complex uplink data information is achieved simultaneously by different processors. This reduces memory resource consumption caused by a single processor simultaneously processing both UCI and uplink data information, thereby shortening the latency of a single processor processing RE (Resource Extraction).
[0068] Based on the foregoing embodiments, the data processing method provided in this application embodiment, by performing uplink data extraction processing on the second data through a second processor, can be achieved through... Figure 3 The process shown is implemented as follows: Figure 3 This is a schematic diagram of the process for extracting uplink data provided in an embodiment of this application, such as... Figure 3 As shown, the process may include the following steps:
[0069] Step 301: Obtain the identification information corresponding to the second data.
[0070] The identification information is used to indicate the data type corresponding to the second data.
[0071] In this embodiment of the application, the identification information includes flag identification information, which indicates the type of the second data.
[0072] In this embodiment of the application, the identification information corresponding to the second data is obtained from the data cache queue.
[0073] In this embodiment of the application, the second processor can perform corresponding processing on the second data based on the flag identification information. When the flag identification information is different, the processing process performed by the second processor on the second data corresponding to the flag identification information is also different.
[0074] Step 302: Based on the identification information, control the second processor to perform uplink data extraction processing on the second data.
[0075] In this embodiment of the application, when the second processor is an FPGA, after obtaining the flag identification information from the data cache queue, the FPGA can perform corresponding processing on the second data according to different flag identification information.
[0076] As can be seen from the above, different flag identifiers correspond to different second data. When the FPGA processes the second data according to the flag identifier, it can determine whether the second data needs to be processed, thereby saving unnecessary resource consumption and improving the efficiency of FPGA processing when processing the second data.
[0077] Based on the foregoing embodiments, the data processing method provided in this application, which obtains the identification information corresponding to the second data, can be implemented in the following ways:
[0078] Retrieve the identifier information corresponding to the second data from the data cache queue.
[0079] In this embodiment of the application, the data cache queue may include a first-in-first-out (FIFO) data cache queue.
[0080] In this embodiment, the data cache queue can also be any other data cache queue besides the FIFO data cache queue. Specifically, it can be selected according to the actual situation, and no specific limitation is made in this embodiment.
[0081] In this embodiment, the identification information corresponding to the second data is stored in a FIFO. When the FPGA processes the second data, it first obtains the flag identification information corresponding to the second data from the FIFO, so as to further perform corresponding processing operations based on the flag identification information.
[0082] As can be seen from the above, in the data processing method provided in this application embodiment, the second data is distinguished by different flag identification information. In this way, when the FPGA performs processing on the second data, it can perform corresponding processing operations according to different flag identification information, thereby improving the efficiency of the FPGA in processing the second data.
[0083] Based on the foregoing embodiments, the data processing method provided in this application, which controls the second processor to perform uplink data extraction processing on the second data based on the identification information, can be implemented in the following ways:
[0084] If the identification information indicates that the second data contains uplink data information, or if the identification information indicates that the second data contains uplink data information and information parameters used to confirm the multiplexing status, the second processor performs uplink data extraction processing on the second data.
[0085] In this embodiment of the application, the information parameters used to confirm the multiplexing status may include Hybrid Automatic Repeat request-ACK knowledge (HARQ ACK), or other information parameters used to confirm the multiplexing status besides HARQ ACK. No specific limitation is made in this embodiment of the application.
[0086] In this embodiment, the identification information includes flag identification information. When the flag identification information is binary data 00, it means that the second data indicated by the flag identification information contains uplink data information. In this case, the second data is directly transmitted to the de-rate matching module for further uplink data extraction processing. Alternatively, when the flag identification information is binary data 10, it means that the second data indicated by the flag identification information contains uplink data information and HARQ ACK. In this case, the soft information at this position needs to be replaced with 0, and then the uplink data extraction processing is further performed on the second data.
[0087] It should be noted that soft information can be understood as the information formed after demodulation processing of RE.
[0088] As can be seen from the above, in the data processing method provided in this application embodiment, the second data transmitted in the FPGA is identified by different identification information. In this way, the specific data contained in the second data transmitted in the FPGA can be determined by the identification information, so that different processing operations can be performed according to the different data contained in the second data, and the uplink data information can be accurately extracted.
[0089] Based on the foregoing embodiments, the data processing method provided in this application further includes an operation of removing the second data, which can be implemented in the following way:
[0090] If the identification information indicates that the second data contains a UCI, the second data is removed by the second processor.
[0091] In this embodiment of the application, the identification information includes flag identification information. If the flag identification information is binary 01, it means that the second data is other UCI. Since other UCI information does not belong to the uplink data information, the soft information at this position needs to be removed, which can be understood as removing redundant bits.
[0092] As can be seen from the above, in the data processing method provided in this application embodiment, the second data transmitted in the FPGA is identified by different identification information. In this way, the identification information can be used to determine whether the second data transmitted in the FPGA contains uplink data information, thereby eliminating data that does not contain uplink data information. On this basis, unnecessary waste of processing resources can be reduced, processing latency can be reduced, and uplink data information can be accurately extracted.
[0093] Based on the foregoing embodiments, in the data processing method provided in this application embodiment, before obtaining the identification information corresponding to the second data from the data cache queue, the second data is parsed to obtain the identification information; the identification information is then stored in the data cache queue. Specifically, this can be achieved through... Figure 4 The process shown is implemented as follows: Figure 4 This is a schematic diagram of the process for storing identification information provided in an embodiment of this application, such as... Figure 4 As shown, the process may include the following steps:
[0094] Step 401: Parse the second data to obtain the identification information.
[0095] In this embodiment of the application, the second data may also include flag identification information.
[0096] In this embodiment, after receiving a frame of second data transmitted via QDMA interface between the CPU and the FPGA, the FPGA uses a parsing module in the FPGA to parse the flag identification information from the received frame of second data.
[0097] Step 402: Store the identification information in the data cache queue.
[0098] In this embodiment of the application, after parsing the flag identification information from the second data, the flag identification information is stored in the FIFO data cache queue.
[0099] It should be noted that, in addition to the FIFO data cache queue mentioned above, the flag identification information can also be stored in other data cache queues, which will not be listed here.
[0100] As can be seen from the above, in the FPGA, the frame of the second data and the flag identification information is parsed and processed, and the flag identification information is stored in the FIFO. In this way, the existence of the FIFO makes the consumption and generation of the flag identification information independent of each other, and can also reduce the anomalies generated in memory when the flag identification information is used and generated.
[0101] Based on the foregoing embodiments, the data processing method provided in this application processes the resource blocks transmitted by PUSCH to obtain at least first data and second data, which can be achieved through... Figure 5 The process shown is implemented as follows: Figure 5 This is a schematic diagram illustrating the process of obtaining the first data and the second data provided in an embodiment of this application, such as... Figure 5 As shown, the process may include the following steps:
[0102] Step 501: Process the resource blocks to obtain the first resource block and the second resource block.
[0103] In this embodiment of the application, the resource block may include RE.
[0104] In this embodiment of the application, after the CPU completes the de-mapping, it copies the RE to obtain two resource blocks, namely the first RE and the second RE.
[0105] Step 502: Determine the first resource block as the first data.
[0106] In this embodiment of the application, the first RE is defined as the first data. The first data is used for UCI decoding in the CPU, and the first data contains at least UCI information.
[0107] Step 503: Obtain initial type information, and determine identification information based on the initial type information.
[0108] The identification information is used to indicate the type of the second resource block.
[0109] In this embodiment, the initial type information may include the REs in the PUSCH when multiplexing UCI. Specifically, PUSCH multiplexing UCI is divided into three categories: Channel State Information (CSI), Acknowledgement (ACK), and Configured Grant Uplink Control Information (CG-UCI). The corresponding REs in the PUSCH have the following nine possible configurations:
[0110] (1) Reserved;
[0111] (2)None;
[0112] (3) HARQ ACK;
[0113] (4) CG-UCI;
[0114] (5) Channel State Information Part 1 (CSI part 1);
[0115] (6) Channel State Information Part 2 (CSI part 2);
[0116] (7) CSI part 2 + HARQ ACK;
[0117] (8) Data + HARQ ACK;
[0118] (9) Data.
[0119] In this embodiment of the application, after obtaining the above-mentioned nine types of initial type information, the initial type information is compressed according to whether it contains data information and HARQ ACK to obtain flag identification information.
[0120] In this embodiment of the application, the flag identification information can be represented using binary data.
[0121] Step 504: Perform frame assembly processing on the identification information and the second resource block to obtain the second data.
[0122] In this embodiment, after obtaining the flag identifier information, the flag identifier information and the obtained second resource block are framed to obtain second data containing the flag identifier information. The second data is used for further parsing processing in the FPGA, and the second data also includes at least uplink data information.
[0123] As can be seen from the above, when the first data and the second data are obtained, the first RE after processing the RE is determined as the first data, and the second RE is framed with the flag identification information to obtain the second data. When the second data is sent to the FPGA, the identification information and the second data can be sent synchronously. When the FPGA processes the second data, it directly processes it synchronously according to the identification information, thereby improving the efficiency of FPGA processing.
[0124] Based on the foregoing embodiments, the data processing method provided in this application, which determines the identification information based on the initial type information, can be implemented in the following ways:
[0125] The initial type information is compressed to obtain the identification information.
[0126] The amount of data for the initial type information is greater than the amount of data for the identification information.
[0127] In related technologies, the flag identifier information indicates the above nine cases of RE in PUSCH, and the flag identifier information requires at least 4 bits. Because the decoding of data information in PUSCH does not require knowing the specific UCI type, but only needs to know the multiplexing of data information and HARQ ACK, the data information in PUSCH can be parsed out. Therefore, in the embodiments of this application, the flag identifier information can be determined by compressing the nine types contained in the initial type information.
[0128] In this embodiment of the application, REs in PUSCH can be divided into three categories: 1. Data information; 2. Data information and HARQACK multiplexing; 3. Other UCIs. The flag identification information indicates the three categories of REs in PUSCH.
[0129] It should be noted that among the three categories of RE in PUSCH, if the flag identifier indicates data information of the first category, it is directly decoded; if the flag identifier indicates data information of the second category and multiplexed with HARQ ACK, the RE at this position needs to be replaced with 0; if the flag identifier indicates other UCI, the RE at this position needs to be removed, that is, the redundant bits are removed.
[0130] In this embodiment of the application, when the REs in the PUSCH are compressed into 3 categories, the flag identification information can be represented by 2 bits, that is, 00, 01, 10. However, if the REs in the PUSCH are divided into 9 categories, the flag identification information needs to be represented by 4 bits, that is, 0000, 0001, 0010, ..., 1000. Thus, after the RE classification optimization in the PUSCH, the 3 categories indicated by the flag identification information can be shortened from the original 4 bits to 2 bits.
[0131] As can be seen from the above, the flag identification information in the second data is obtained by compressing the initial type information, which reduces the amount of identification information data, thereby reducing the storage space occupied in the FPGA and improving the transmission efficiency when it is transmitted from the CPU to the FPGA.
[0132] In this embodiment, after the CPU performs framing processing on the flag identifier information and the second RE, the CPU uses a frame header when sending the flag identifier information. Each Transport Block (TB) of the NR is pre-designed with a frame header, which encapsulates the flag identifier information. The flag identifier information is guaranteed to be an integer multiple of 512 bits; if it is less than 512 bits, the CPU pads the empty bits with zeros. The FPGA receives a frame of data, parses the frame header flag identifier information, and extracts the second data. The storage consumption calculation formula for the flag identifier information is shown in the following formula (1):
[0133] N RE *N RB *N sym *v*2=12*237*13*4*2bit=333Kb (1)
[0134] Where, N RE N represents the number of REs. RB The number of RBs is represented by Nsym, the number of symbols is represented by V, and 2 bits represent the number of bits used by one flag to identify the information frame.
[0135] It should be noted that the above calculation formula is based on the peak runtime of PUSCH scheduling at layer 4. The FPGA consumes 16 blocks of Block Random Access Memory (BRAM). Compared to a 4-bit flag identifier design, this saves 333KB of storage and reduces the consumption of 16 BRAM blocks. The interface frame format is as follows: Figure 6 As shown.
[0136] Based on the foregoing embodiments, the data processing method provided in this application involves performing uplink data extraction processing on the second data using a second processor to obtain uplink data information, which can be obtained through... Figure 7 The process shown is implemented as follows: Figure 7 This is a schematic diagram of the process for obtaining uplink data information provided in an embodiment of this application, such as... Figure 7 As shown, the process may include the following steps:
[0137] Step 701: Demodulate the second data using the second processor to obtain the demodulation result.
[0138] In this embodiment, the FPGA includes a demodulation module.
[0139] In this embodiment of the application, after the FPGA receives the second data, it first parses the second data in the parsing module. After the FPGA parses the flag identification information and the second data, it then performs demodulation processing on the second data.
[0140] In this embodiment, before demodulation begins, the flag identifier information needs to be mapped to the corresponding RE. For example, when inputting data, the total resources occupied in one clock cycle are 512 bits, and one RE occupies 32 bits, meaning there are 16 REs in one clock cycle. The flag identifier information at the same RE position in each layer of PUSCH is the same, and the number of REs mapped to the same flag identifier information is the same as the number of layers scheduled by PUSCH.
[0141] For example, the mapping relationship of the flag identifier information of the demodulation input process during PUSCH scheduling at Layer 2 is as follows: Figure 8 As shown, all soft information output from each RE demodulation is mapped by the same flag identifier. Specifically, the 1st, 2nd, 4th, 6th, and 8th soft information messages demodulated by Binary Phase Shift Keying (BPSK), Quadrature Phase Shift Keying (QPSK), Quadrature Amplitude Modulation (QAM), 64QAM, and 256QAM modulation schemes are each mapped by a single flag identifier. After mapping, the soft information and flag identifier are synchronously output to the next stage descrambling module.
[0142] For example, taking QPSK demodulation as an example, the demodulated flag identification information is mapped as follows: Figure 9 As shown, Figure 9 As can be seen, all the soft information output by each RE demodulation is mapped by the same flag identifier information.
[0143] In this embodiment, the FPGA transmits the parsed result to the demodulation module, which then demodulates the second data to obtain the demodulated result. The demodulation module then transmits the demodulated result of the second data to the descrambling module for further descrambling.
[0144] Step 702: The demodulation result is descrambled by the second processor to obtain the uplink data information.
[0145] In this embodiment of the application, when the second processor includes an FPGA, the FPGA includes a descrambling module.
[0146] In this embodiment of the application, after the descrambling module receives the demodulation result sent by the demodulation module, it further performs descrambling processing on the demodulation result, and finally the uplink data information is obtained by the derate module.
[0147] As can be seen from the above, compared with related technologies, the computationally complex demodulation and descrambling processes are both offloaded to the second processor, which relieves the processing pressure on the first processor and shortens the processing time of the first processor.
[0148] Based on the foregoing embodiments, this application also provides a data processing method, which can be used to... Figure 10 The process shown is implemented as follows: Figure 10 This is a schematic diagram of the overall data processing flow provided in the embodiments of this application, such as... Figure 10 As shown. Figure 10 As shown, CPU101 includes a de-mapping module and a de-UCI module. After CPU101 completes the de-mapping, one of the first data channels is processed by the de-UCI module in CPU101 to perform de-UCI processing. The other channel of second data and flag identification information are framed and then sent to FPGA102 through the QDMA interface between CPU101 and FPGA102.
[0149] The FPGA102 includes a parsing module, a demodulation module, a descrambling module, a UCI removal module, and a rate matching module. Each module in the FPGA102 adopts a frame synchronization design, meaning that the flag identification information and the second data are sent synchronously in the FPGA102 to ensure the processing efficiency of the FPGA102 when processing the second data. After receiving a frame of data, the FPGA102 parses out the second data and the flag identification information. The flag identification information needs to be stored in a FIFO. During demodulation, the demodulation module reads the flag identification information from the FIFO and maps it to each RE. The demodulated output frame is transmitted to the descrambling module. The descrambling module does not process the flag identification information; it only passes it through to the UCI removal module along with the second data. The UCI removal module further processes the data according to the instructions in the flag identification information. Specifically, if the flag identifier is binary 00, representing data information, it is directly passed through to the rate matching module; if the flag identifier is binary 10, representing data information and HARQ ACK multiplexing, the soft information at this position needs to be replaced with 0, and decoding is required; if the flag identifier is binary 01, representing other UCIs, the soft information at this position needs to be removed. After removing the UCIs, the second data is sent to the rate matching module for the next level of processing.
[0150] Based on the above embodiments, the technical advantages achieved by the embodiments of this application are as follows:
[0151] 1. By rationally allocating the processing resources of the CPU and FPGA, the high-complexity UCI decompression is implemented in the CPU's UCI decompression module, while the high-complexity demodulation and descrambling are implemented in the FPGA's demodulation and descrambling modules. Compared with related technologies, demodulation and descrambling are carried out in the FPGA, which releases the processing resources in the CPU, reduces the CPU's processing pressure, and shortens the processing time and reduces the processing latency.
[0152] 2. By using flag identification information and data synchronization design in each module, the UCI decoding is implemented in the CPU of the previous module in advance, which improves the processing efficiency of FPGA.
[0153] 3. By optimizing the classification of PUSCH multiplexing UCI, the nine cases in related technologies are reduced to three cases, which shortens the bit width occupied by the flag identification information and reduces the storage resources occupied in the FPGA. The storage resources of the FPGA are reduced by half, and the amount of data transmitted via QDMA is also reduced, resulting in a 50% reduction in QDMA transmission latency.
[0154] 4. Define the interface design between the CPU and FPGA, adopting a frame structure design. The Flag identification information is sent to the FPGA synchronously in the form of a frame header and in multiples of 512 bits, which improves the FPGA's processing efficiency and makes processing more efficient.
[0155] Based on the foregoing embodiments, this application also provides a data processing device 10. Figure 11 This is a schematic diagram of the structure of the data processing apparatus 10 provided in the embodiments of this application, as shown below. Figure 11 As shown, the data processing device 10 may include:
[0156] The processing module 1001 is used to process the resource blocks transmitted by PUSCH to obtain at least first data and second data; wherein the first data includes at least UCI and the second data includes at least uplink data information.
[0157] The data extraction module 1002 is used to perform control information parsing processing on the first data through the first processor to obtain UCI; at the same time, it performs uplink data extraction processing on the second data through the second processor to obtain uplink data information.
[0158] In some embodiments, the processing module 1001 is further configured to obtain identification information corresponding to the second data, wherein the identification information is used to indicate the data type corresponding to the second data; and based on the identification information, control the second processor to perform uplink data extraction processing on the second data.
[0159] In some embodiments, the data extraction module 1002 is further configured to control the second processor to perform uplink data extraction processing on the second data if the identification information indicates that the second data contains uplink data information, or if the identification information indicates that the second data contains uplink data information and information parameters for confirming the multiplexing status.
[0160] In some embodiments, the processing module 1001 is further configured to control the second processor to remove the second data if the identification information indicates that the second data contains a UCI.
[0161] In some embodiments, the processing module 1001 is further configured to obtain the identification information corresponding to the second data from the data cache queue.
[0162] In some embodiments, the processing module 1001 is further configured to parse the second data to obtain identification information and store the identification information in a data cache queue.
[0163] In some embodiments, the processing module 1001 is further configured to process the resource block to obtain a first resource block and a second resource block; determine the first resource block as first data; obtain initial type information; determine identification information based on the initial type information; and perform frame assembly processing on the identification information and the second resource block to obtain second data.
[0164] In some embodiments, the processing module 1001 is further configured to compress the initial type information to obtain identification information; wherein the data volume of the initial type information is greater than the data volume of the identification information.
[0165] In some embodiments, the processing module 1001 is further configured to perform demodulation processing on the second data through the second processor to obtain a demodulation result; and to perform descrambling processing on the demodulation result through the second processor to obtain uplink data information.
[0166] This application provides a data processing apparatus that, during data processing, firstly processes resource blocks transmitted on the PUSCH to obtain first data and second data. A first processor performs control information parsing processing on the first data, and a second processor performs uplink data extraction processing on the second data. Thus, by having two processors simultaneously process the first and second data in parallel, the processing efficiency of the first and second data is improved, thereby achieving efficient processing of the resource blocks (RBs). Furthermore, since the first data includes UCI (User Information Code) and the second data includes uplink data information, parallel processing of both the logically complex UCI and computationally complex uplink data information is achieved simultaneously by different processors. This reduces memory resource consumption caused by a single processor simultaneously processing both UCI and uplink data information, thereby shortening the latency of a single processor processing resource blocks (REs).
[0167] Based on the foregoing embodiments, this application also provides an electronic device, which includes a processor and a memory, wherein the memory stores a computer program, which, when executed by the processor, can implement the data processing method provided in any of the preceding embodiments.
[0168] The aforementioned processor can be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.
[0169] The aforementioned memory can be volatile memory, such as random access memory (RAM); or non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state disk (SSD); or a combination of the above types of memory, and provides instructions and data to the processor.
[0170] The aforementioned processing module and data extraction module can be implemented using the aforementioned processor.
[0171] Based on the foregoing embodiments, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor of an electronic device, can implement the data processing method provided in any of the preceding embodiments.
[0172] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The similarities or similarities can be referred to each other. For the sake of brevity, the embodiments of this application will not be described again.
[0173] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined to obtain new method embodiments without conflict.
[0174] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0175] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.
[0176] It should be noted that the aforementioned computer-readable storage media can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; or it can be various electronic devices that include one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0177] It should be noted that, in the embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0178] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0179] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware nodes. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0180] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0181] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0182] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0183] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A data processing method, wherein, The method includes: The resource blocks transmitted on the physical uplink shared channel are processed to obtain at least first data and second data; wherein the first data includes at least uplink control information and the second data includes at least uplink data information. The first processor performs control information parsing processing on the first data to obtain the uplink control information. At the same time, the second processor performs corresponding uplink data extraction processing on the second data based on the data type of the second data to obtain the uplink data information.
2. The method according to claim 1, wherein, The step of performing uplink data extraction processing on the second data through the second processor includes: Obtain the identification information corresponding to the second data, wherein the identification information is used to indicate the data type corresponding to the second data; Based on the identification information, the second processor is controlled to perform the uplink data extraction process on the second data.
3. The method according to claim 2, wherein, The step of controlling the second processor to perform the uplink data extraction process on the second data based on the identification information includes: If the identification information indicates that the second data contains uplink data information, or if the identification information indicates that the second data contains the uplink data information and information parameters for confirming the multiplexing status, the second processor is controlled to perform the uplink data extraction process on the second data.
4. The method according to claim 3, wherein, The method further includes: If the identification information indicates that the second data contains uplink control information, control the second processor to remove the second data.
5. The method according to claim 2, wherein, The step of obtaining the identifier information corresponding to the second data includes: Obtain the identification information corresponding to the second data from the data cache queue.
6. The method according to claim 5, wherein, Before retrieving the identifier information corresponding to the second data from the data cache queue, the method further includes: The second data is parsed to obtain the identification information; The identification information is stored in the data cache queue.
7. The method according to claim 1, wherein, The processing of resource blocks transmitted via the physical uplink shared channel to obtain at least first data and second data includes: The resource block is processed to obtain a first resource block and a second resource block; The first resource block is identified as the first data. Obtain initial type information, and determine identification information based on the initial type information; The identification information and the second resource block are framed to obtain the second data.
8. The method according to claim 7, wherein, The step of determining the identification information based on the initial type information includes: The initial type information is compressed to obtain the identification information; wherein the data volume of the initial type information is greater than the data volume of the identification information.
9. The method according to claim 1, wherein, The step of performing uplink data extraction processing on the second data through the second processor to obtain the uplink data information includes: The second processor performs demodulation processing on the second data to obtain the demodulation result; The demodulation result is descrambled by the second processor to obtain the uplink data information.
10. A data processing apparatus, wherein, The device includes: The processing module is used to process the resource blocks transmitted on the physical uplink shared channel to obtain at least first data and second data; wherein, the first data includes at least uplink control information and the second data includes at least uplink data information; The data extraction module is used to perform control information parsing processing on the first data by the first processor to obtain the uplink control information; at the same time, the second processor performs corresponding uplink data extraction processing on the second data based on the data type of the second data to obtain the uplink data information.
Citation Information
Patent Citations
Method for analyzing UCI in PUSCH channel and 5G small base station system
CN116996197A
