A data processing method, device, equipment and storage medium
By determining the data working mode and BD parameters in the OFDM system, optimizing the data processing process solves the problem of system performance improvement and power consumption reduction under limited bandwidth resources, and achieves the effects of system performance improvement and power consumption reduction.
Patent Information
- Application Number
- CN202010725688.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-24
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-07-24
AI Technical Summary
In an environment with limited bandwidth resources, how to adapt to different application scenarios to achieve system performance improvement and function expansion while reducing bandwidth and power consumption has become a huge challenge.
By determining the working mode and cache descriptor (BD) parameters of the data to be processed, different processing procedures are performed on the data, and different working modes and BD parameters are used to process the data, including uplink, downlink, IFFT, FFT and BYPASS modes. Optimize time-frequency domain symbol processing of OFDM systems.
In the case of limited bandwidth resources, improve system performance, reduce system processing delay and processing power consumption, improve system transmission efficiency and processing speed, and reduce system power consumption.
Smart Images

Figure CN113973039B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a data processing method, apparatus, device and storage medium. Background Art
[0002] Orthogonal Frequency Division Multiplexing (OFDM) is widely used in modern communication systems. With the rapid development of 4G / 5G mobile communications and wireless technologies, the requirements for the transmission rate, capacity and quality of wireless systems are constantly increasing, and more and more usage scenarios need to be provided. At the same time, reducing system deployment costs, system power consumption and usage flexibility has become a huge challenge.
[0003] In an environment with limited bandwidth resources, how to adapt to different application scenarios and realize and integrate independent functional requirements will be a complex system engineering. At the same time, with the diversity of business scenarios and the complexity of implementation requirements, how to provide more functional implementations while increasing resource constraints and requiring bandwidth and power consumption to be reduced is an urgent problem to be solved. Summary of the invention
[0004] The data processing method, apparatus, device and storage medium provided in the present application can improve system performance and reduce system processing delay and processing power consumption under limited bandwidth resources.
[0005] In a first aspect, an embodiment of the present application provides a data processing method, including:
[0006] Determine the working mode and BD parameters corresponding to the data to be processed;
[0007] The data to be processed is processed by using the BD parameters according to the determined working mode.
[0008] In a second aspect, an embodiment of the present application provides a data processing device, including:
[0009] A determination module, configured to determine a working mode and BD parameters corresponding to the data to be processed;
[0010] The processing module is configured to process the data to be processed by using the BD parameters according to the determined working mode.
[0011] In a third aspect, an embodiment of the present application provides a device, including:
[0012] one or more processors;
[0013] A memory for storing one or more programs;
[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement any method provided in the embodiments of the present application.
[0015] In a fourth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the embodiments of the present application is implemented.
[0016] The data processing method, device, equipment and storage medium provided in this embodiment include: determining the working mode and BD parameters corresponding to the data to be processed, and processing the data to be processed by using the BD parameters according to the determined working mode. By using different working modes and BD parameters to perform different processing flows on the data, the system performance is improved and the system processing delay and processing power consumption are reduced under the condition of limited bandwidth resources.
[0017] With regard to the above embodiments and other aspects of the present application and their implementation, further description is provided in the accompanying drawings, detailed description and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flow chart of a data processing method provided in an embodiment of the present application;
[0019] Figure 2 is a flow chart of an OFDM processing method provided in an embodiment of the present application;
[0020] Figure 3 is a flow chart of a data processing method provided in an embodiment of the present application;
[0021] Figure 4 This is a flow chart of an uplink processing mode provided in an embodiment of the present application;
[0022] Figure 5 This is a flow chart of a downlink processing mode provided in an embodiment of the present application;
[0023] Figure 6 This is a flow chart of an IFFT processing mode provided in an embodiment of the present application;
[0024] Figure 7 This is a flow chart of an FFT processing mode provided in an embodiment of the present application;
[0025] Figure 8 This is a flowchart of a BYPASS processing mode provided in an embodiment of the present application;
[0026] Fig. 9 is a diagram of a data processing implementation device for a wireless communication system provided in an embodiment of the present application;
[0027] Fig.10 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;
[0028] Fig.11 It is a structural schematic diagram of a device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.
[0030] The steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a sequence different from that shown here.
[0031] The technical solution of the present application can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LIE-A (Advanced long term evolution) system, Universal Mobile Telecommunication System (UMTS), and fifth generation wireless systems (5G) system, etc., and the embodiments of the present application are not limited. In this application, the 5G system is used as an example for explanation.
[0032] In the embodiment of the present application, the base station may be a device that can communicate with the user terminal. The base station may be any device with wireless transceiver functions. Including but not limited to: base station NodeB, evolved base station eNodeB, base station in 5G communication system, base station in future communication system, access node in WiFi system, wireless relay node, wireless backhaul node, etc. The base station may also be a wireless controller in the cloud radio access network (CRAN) scenario; the base station may also be a small station, transmission reference point (TRP), etc., which is not limited in the embodiment of the present application. In this application, a 5G base station is used as an example for explanation.
[0033] In the embodiment of the present application, the user terminal is a device with wireless transceiver function that can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; it can also be deployed on the water surface (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons and satellites, etc.). The user terminal can be a mobile phone, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. The embodiment of the present application does not limit the application scenario. The user terminal may sometimes also be referred to as a terminal, an access terminal, a UE unit, a UE station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a UE terminal, a wireless communication device, a UE agent or a UE device, etc. The embodiments of the present application are not limited.
[0034] In one embodiment, the present application provides a data processing method, such as Figure 1 As shown, the RSRP confirmation data processing method provided in this embodiment mainly includes steps S11 and S12.
[0035] S11. Determine the working mode and buffer description (BD) parameters corresponding to the data to be processed.
[0036] S12: Process the data to be processed by using the BD parameters according to the determined working mode.
[0037] The cache descriptor is used to cache the task queue.
[0038] The data processing method provided in this embodiment includes: determining the working mode and BD parameters corresponding to the data to be processed, and processing the data to be processed by using the BD parameters according to the determined working mode. By using different working modes and BD parameters to perform different processing flows on the data, the system performance is improved and the system processing delay and processing power consumption are reduced under the condition of limited bandwidth resources.
[0039] In an exemplary embodiment, the working mode includes one or more of the following: an uplink working mode, a downlink working mode, an inverse fast Fourier transform (IFFT) mode, a fast Fourier transform (FFT) mode, and a BYPASS mode.
[0040] In an exemplary embodiment, when the working mode is an uplink working mode, the data to be processed is processed through the BD parameters according to the determined working mode, including: performing a first preprocessing process on the data to be processed based on the time domain decompression flag, uplink windowing flag, cyclic prefix (CP) removal flag and frequency offset compensation flag in the BD parameters; performing an FFT transform on the first preprocessed data to obtain frequency domain data; performing a first post-processing process on the frequency domain data based on the time offset compensation flag, gain flag, total point output flag, first weighting flag and frequency domain compression flag in the BD parameters.
[0041] In an exemplary embodiment, the first preprocessing process is performed on the data to be processed based on the time domain decompression flag, uplink windowing flag, CP removal flag and frequency offset compensation flag in the BD parameters, including: when the time domain decompression flag is in the first state, executing the time domain decompression process; when the uplink windowing flag is in the second state, executing the uplink windowing processing process; when the CP removal flag is in the third state, executing the CP removal process; when the frequency offset compensation flag is in the fourth state, executing the frequency offset compensation process.
[0042] The first state, the second state, the third state, and the fourth state may be the same or different, which is not limited in this embodiment. The first state, the second state, the third state, and the fourth state may be enabled states.
[0043] That is, when the time domain decompression flag is in the enabled state, the time domain decompression process is executed; when the uplink windowing flag is in the enabled state, the uplink windowing processing process is executed; when the CP removal flag is in the enabled state, the CP removal process is executed; when the frequency offset compensation flag is in the enabled state, the frequency offset compensation process is executed.
[0044] Furthermore, when the time domain decompression flag is not in an enabled state, the time domain decompression process is not executed, and it is directly determined whether the uplink windowing flag is in an enabled state; when the uplink windowing flag is not in an enabled state, the uplink windowing processing process is not executed; it is directly determined whether the CP removal flag is in an enabled state; when the CP removal flag is not in an enabled state, the CP removal process is not executed; it is directly determined whether the frequency offset compensation flag is in an enabled state; when the frequency offset compensation flag is not in an enabled state, the frequency offset compensation process is not executed, and the FFT transformation processing process is directly performed.
[0045] In an exemplary embodiment, based on the time offset compensation flag, gain flag, total point output flag, first weighting flag and frequency domain compression flag in the BD parameters, a first post-processing process is performed on the frequency domain data, including: when the time offset compensation flag is in the fifth state, executing the time offset compensation process; when the gain flag is in the sixth state, executing the automatic gain process; when the total point output flag is in the seventh state, executing the total point output process; when the first weighting flag is in the eighth state, executing the weighted processing process; when the frequency domain compression flag is in the ninth state, executing the frequency domain compression processing process.
[0046] The fifth state, the sixth state, the seventh state, the eighth state, and the ninth state may be the same or different, which is not limited in this embodiment. The fifth state, the sixth state, the seventh state, the eighth state, and the ninth state may be enabled states.
[0047] Furthermore, when the time offset compensation flag is not in an enabled state, the time offset compensation process is not executed; it is directly determined whether the gain flag is in an enabled state; when the gain flag is not in an enabled state, the automatic gain process is not executed; it is directly determined whether the all-points output flag is in an enabled state; when the all-points output flag is not in an enabled state, the output all-points process is not executed; it is directly determined whether the first weighted flag is in an enabled state; when the first weighted flag is not in an enabled state, the weighted processing process is not executed; it is directly determined whether the frequency domain compression flag is in an enabled state; when the frequency domain compression flag is not in an enabled state, the frequency domain compression processing process is not executed, and data sorting is directly performed, and then the task is reported.
[0048] That is, when the time offset compensation flag is in the enabled state, the time offset compensation process is executed; when the gain flag is in the enabled state, the automatic gain process is executed; when the all-point output flag is in the enabled state, the all-point output process is executed; when the first weighting flag is in the enabled state, the weighting processing process is executed; when the frequency domain compression flag is in the enabled state, the frequency domain compression processing process is executed.
[0049] In an exemplary embodiment, when the working mode is a downlink working mode, the data to be processed is processed through the BD parameters according to the determined working mode, including: performing a second preprocessing process on the data to be processed based on the frequency domain decompression flag and the second weighting flag in the BD parameters; performing IFFT transformation on the second preprocessed data to obtain time domain data; performing a second post-processing on the time domain data based on the power compensation flag, frequency offset loading flag, CP flag, downlink windowing flag and time domain compression flag in the BD parameters.
[0050] In an exemplary embodiment, a second preprocessing process is performed on the data to be processed based on the frequency domain decompression flag and the second weighting flag in the BD parameters, including: when the frequency domain decompression flag is the tenth state, executing the frequency domain decompression process; when the second weighting flag is the eleventh state, executing the weighted processing process.
[0051] The tenth state and the eleventh state may be the same or different, which is not limited in this embodiment. The tenth state and the eleventh state may be enabled states.
[0052] That is, when the frequency domain decompression flag is in the enabled state, the frequency domain decompression process is executed; when the second weighting flag is in the enabled state, the weighting processing process is executed.
[0053] When the frequency domain decompression flag is not enabled, the frequency domain decompression process is not executed; it is directly determined whether the second weighted flag is enabled. When the second weighted flag is not enabled, the weighted processing process is not executed, and the IFFT processing process is executed.
[0054] In an exemplary embodiment, the time domain data is subjected to a second post-processing based on the power compensation flag, frequency offset loading flag, CP adding flag, downlink windowing flag and time domain compression flag in the BD parameters, including: when the power compensation flag is in the twelfth state, executing the power compensation process; when the frequency offset loading flag is in the thirteenth state, executing the frequency offset loading process; when the CP adding flag is in the fourteenth state, executing the CP adding process; when the downlink windowing weighting flag is in the fifteenth state, executing the downlink windowing processing process; when the time domain compression flag is in the sixteenth state, executing the time domain compression processing process.
[0055] The twelfth state, the thirteenth state, the fourteenth state, the fifteenth state, and the sixteenth state may be the same or different, and are not limited in this embodiment. The twelfth state, the thirteenth state, the fourteenth state, the fifteenth state, and the sixteenth state may be enabled states.
[0056] That is, when the power compensation flag is in the enabled state, the power compensation process is executed; when the frequency offset loading flag is in the enabled state, the frequency offset loading process is executed; when the CP adding flag is in the enabled state, the CP adding process is executed; when the downlink windowing weighting flag is in the enabled state, the downlink windowing processing process is executed; when the enabled state is the sixteenth state, the time domain compression processing process is executed.
[0057] Furthermore, when the power compensation flag is not in the enabled state, the power compensation process is not executed; it is directly determined whether the frequency offset loading flag is in the enabled state, and when the frequency offset loading flag is not in the enabled state, the frequency offset loading process is not executed; it is directly determined whether the CP adding flag is in the enabled state, and when the CP adding flag is not in the enabled state, the CP adding process is not executed; it is directly determined whether the downlink windowing weighting flag is in the enabled state, and when the downlink windowing weighting flag is not in the enabled state, the downlink windowing processing process is not executed; it is directly determined whether the time domain compression flag is in the enabled state, and when the time domain compression flag is not in the enabled state, the time domain compression processing process is not executed, and data sorting is directly performed, and then the task is reported.
[0058] In an exemplary embodiment, when the working mode is the FFT mode, the processing of the data to be processed by using the BD parameters according to the determined working mode includes: performing FFT transformation on the data to be processed.
[0059] In an exemplary embodiment, when the working mode is the IFFT mode, the processing of the data to be processed by using the BD parameters according to the determined working mode includes: performing IFFT transformation on the data to be processed.
[0060] In an exemplary embodiment, when the working mode is the BYPASS mode, the processing of the data to be processed by using the BD parameters according to the determined working mode includes: executing a BYPASS process on the data to be processed.
[0061] In one embodiment, according to the characteristics and application scenarios of the existing OFDM system, a processing method is proposed that can improve performance and flexibly process OFDM time-frequency domain symbol data, enhance the configuration flexibility of OFDM time-frequency domain symbol processing, reduce the overall processing delay of OFDM related operations, improve system performance, enhance the transmission efficiency and processing speed of the system, and reduce system power consumption.
[0062] The optimized OFDM system time-frequency domain symbol processing mainly includes the following functions: time offset compensation, frequency offset compensation, uplink windowing, downlink windowing, CP addition, CP removal, time domain compression and decompression, frequency domain compression and decompression, data automatic gain control, data weighting control, IFFT transformation, FFT transformation, data pass-through processing, etc.
[0063] In one embodiment, the optimized OFDM processing flow is as follows: Figure 2 As shown, the signal source is processed in sequence through encoding, interleaving, constellation modulation, serial-to-parallel conversion, pilot insertion, second preprocessing, IFFT, second post-processing, parallel-to-serial conversion, cyclic prefix insertion and windowing, D / A, channel, A / D, timing and frequency synchronization, cyclic prefix removal, serial-to-parallel conversion, first preprocessing, FFT, first post-processing, channel estimation, parallel-to-serial conversion, constellation demodulation, deinterleaving, decoding, etc., to obtain the signal destination.
[0064] By adding pre-processing and post-processing processes such as data adjustment weighting, frequency offset, data compression and decompression, and windowing, the system performance can be improved and the system processing delay and processing power consumption can be reduced under the condition of limited resources.
[0065] In one embodiment, a data processing method comprises the following processing steps: Figure 3 As shown,
[0066] Task delivery: The external main control module sends the working mode and BD parameters to the OFDM processing system. Furthermore, the task delivery module performs switch configuration and corresponding task reading through registers and BD parameters.
[0067] Working mode judgment: There are five working modes, namely uplink processing mode, downlink processing mode, IFFT mode, FFT mode, and BYPASS mode. If it is uplink processing mode, it will jump to the processing flow of uplink task mode; if it is downlink processing mode, it will jump to the processing flow of downlink task mode; if it is IFFT mode, it will jump to the processing flow of IFFT mode; if it is FFT mode, it will jump to the processing flow of FFT mode; if it is BYPASS mode, it will directly BYPASS output data.
[0068] In one embodiment, a method for uplink processing mode is provided, and the specific steps are as follows: Figure 4 As shown:
[0069] 101. The task is issued.
[0070] 102. Determine whether to perform a time domain decompression operation according to the time domain decompression flag in the BD parameter. If yes, enter the time domain decompression process. Otherwise, execute 103.
[0071] 103. Determine whether to perform an uplink windowing operation according to the uplink windowing flag. If yes, enter the uplink windowing processing flow, otherwise execute 104.
[0072] 104 determines whether to perform the CP removal operation according to the CP removal flag, if yes, enter the CP removal process, otherwise execute step 105.
[0073] 106. Determine whether to perform a frequency offset compensation operation according to the frequency offset compensation flag. If yes, enter the frequency offset compensation process. Otherwise, execute step 107.
[0074] 108. Enter the FFT processing flow, and after the calculation is completed, the output data enters 109.
[0075] 109. Determine whether to perform a time offset compensation operation according to the time offset compensation flag. If yes, enter the time offset compensation process. Otherwise, execute step 110.
[0076] 110. Determine whether to perform automatic gain operation according to the gain identifier. If yes, enter the automatic gain process, otherwise execute step 111.
[0077] 111. Determine whether to output all points according to the all points output mark. If yes, enter the process of outputting all points, otherwise execute 112.
[0078] 112. Determine whether to perform weighted processing operation according to the first weighted identifier. If yes, enter the weighted processing flow, otherwise execute 113.
[0079] 113. Determine whether to perform frequency domain compression processing operation according to the frequency domain compression flag. If yes, enter the frequency domain compression processing flow, otherwise execute 114.
[0080] 114. After the data is sorted and processed, proceed to 115.
[0081] 115. The current symbol data task processing is completed, and the task completion interrupt is reported.
[0082] In one embodiment, a method for downlink processing mode is provided, and the specific steps are as follows: Figure 5 As shown:
[0083] 201. Assign tasks.
[0084] 202. Determine whether to perform a frequency domain decompression processing operation according to the frequency domain decompression flag. If yes, enter the frequency domain decompression processing flow; otherwise, enter 203.
[0085] 203. Determine whether to perform a weighted processing operation according to the second weighted identifier. If yes, enter the weighted processing flow; otherwise, enter 204.
[0086] 204. Determine whether to perform data preprocessing operation according to the data preprocessing identifier. If yes, enter the data preprocessing flow; otherwise, enter 205.
[0087] 205 , enter the IFFT processing flow, after the calculation is completed, the output data enters 206 .
[0088] 206 . Determine whether to perform a power compensation operation according to the power compensation flag. If yes, enter the power compensation process. Otherwise, enter 207 .
[0089] 207 . Determine whether to perform a frequency offset loading operation according to the frequency offset loading flag. If yes, enter the frequency offset loading process; otherwise, enter 208 .
[0090] 208. Determine whether to perform the CP adding operation according to the CP adding flag. If yes, enter the CP adding processing flow; otherwise, enter 209.
[0091] 209. Determine whether to perform a downlink windowing operation according to the downlink windowing flag. If yes, enter the downlink windowing processing flow; otherwise, enter 210.
[0092] 210. Determine whether to perform a time domain compression processing operation according to the time domain compression flag. If yes, enter the time domain compression processing flow; otherwise, enter 211.
[0093] 211. After data processing is completed, proceed to 212.
[0094] 212. The current symbol data task processing is completed, and the task completion interrupt is reported.
[0095] In one embodiment, a method for IFFT mode is provided, wherein the specific steps are as follows: Figure 6 As shown:
[0096] 301. Tasks when issued.
[0097] 302. The data directly enters the IFFT processing flow, and enters 303 after the processing is completed.
[0098] 303. Data collation, after processing is completed, enter 304.
[0099] 304. The current symbol data task processing is completed, and the task completion interrupt is reported.
[0100] In one embodiment, a method of FFT mode is provided, the specific steps are as follows: Figure 7 As shown:
[0101] 401. Issue tasks.
[0102] 402. The data directly enters the FFT processing mode, and after the processing is completed 403.
[0103] 403, data collation, enter 404 after processing is completed.
[0104] 404. The current symbol data task processing is completed, and the task completion interrupt is reported.
[0105] In one embodiment, a method of BYPASS mode is provided, and the specific steps are as follows: Figure 8 As shown:
[0106] 501. Issue tasks.
[0107] 502. The data directly enters the BYPASS processing flow, and enters 503 after the processing is completed.
[0108] 503. After data processing is completed, enter 504.
[0109] 504. The current symbol data task processing is completed, and the task completion interrupt is reported.
[0110] The present application provides a data processing implementation device for a wireless communication system, such as Fig. 9 As shown, it mainly includes the following modules:
[0111] A: The task configuration module is used to configure tasks, including configuration registers and configuration BD parameters. Among them, the registers are used to store the working mode.
[0112] B: The time domain decompression module is used for time domain decompression processing, and this function is enabled by parameters. It includes A-law decompression and bit-width linear decompression, and the operation is performed in units of RB. A-law decompression recovers the nonlinear part of the data according to the segment number. Bit-width linear decompression uses the difference between the effective bit width of the data and the target compression bit width to perform bit padding processing to complete the decompression.
[0113] C: The windowing module is used for windowing processing, and this function is enabled by parameters. Windowing processing is performed on the data receiving side, and the software sends window parameter data, which can flexibly realize the required functions. Since the windowing parameters are symmetrical, the storage space only stores half of the windowing coefficients. The system can flexibly select the window coefficients to achieve different windowing requirements.
[0114] D: Remove CP module, used to remove CP data and retain valid data.
[0115] E: Frequency offset compensation module, used for frequency offset compensation, supports uplink frequency offset compensation and spectrum shifting functions. This function can be enabled or bypassed through parameters. When this function is enabled, the frequency offset compensation of half the subcarrier bandwidth can be switched on and off through parameters.
[0116] F: FFT module, used for FFT calculation, supports 128-point, 256-point, 384-point, 512-point, 640-point, 768-point, 1024-point, 1280-point, 1536-point, 2048-point, 2560-point, 3072-point, 3584-point, 4096-point FFT transformation. Adopting DIF radix 2, radix 3, radix 4, radix 5, radix 7, radix 6, radix 8 mixed radix algorithm, the whole FFT operation divides the butterfly operation into multiple levels for iterative calculation, and the calculation result of the previous level is used as the input of the next level until the last level of butterfly operation is completed.
[0117] G: Time offset compensation module G performs time offset compensation on data and adjusts the time offset to a certain target range. It supports time offset compensation from 0 to 2048Ts in steps of 8Ts.
[0118] H: Automatic gain module. The gain factor is an 8-bit unsigned number, which indicates the power adjustment amplitude of the IF module on the time domain data. The larger the gain factor, the greater the increase in the IF output data power relative to its input data power.
[0119] I: Output all points module, the uplink output data volume is the uplink valid points or the total FFT points, which is selected through parameters. The valid points of a symbol are configured through the task parameter package.
[0120] J: Uplink weighted processing module, which performs weighted processing on the FFT output frequency domain data.
[0121] K: Frequency domain compression module, including A-law compression and bit width linear compression, the operation is performed in RB units. A-law compression first determines the segment number according to the data size, and finally outputs the value of the segment number. Bit width linear decompression uses the difference between the effective bit width of the data and the target compression bit width according to the compression factor parameter to perform bit truncation processing, thereby achieving data compression.
[0122] L: Frequency domain decompression module. It includes A-law decompression and bit-width linear decompression. The operation is performed in RB units. A-law decompression first recovers the nonlinear part of the data according to the segment number, and then performs linear data decompression according to the compression factor. Bit-width linear decompression uses the difference between the effective bit width of the data and the target compression bit width to perform bit padding according to the compression factor parameter.
[0123] M: Downlink weighted processing module, performs weighted processing on FFT input frequency domain data.
[0124] N: Data preprocessing module, detects the valid bit of the binary complement of the number with the largest absolute value in all the input data of the entire IFFT. If the first digit after the decimal point is an invalid bit (that is, the data value is relatively small), all data are shifted left by 1 bit. And the input shift factor is recorded as -1. If the first digit after the decimal point is a valid bit, all data are not shifted, and the shift factor is recorded as 0. When shifting left, the data is supplemented with 0.
[0125] O: IFFT processing module, this module decides whether to perform data preprocessing according to the register configuration value. Supports 128-point, 256-point, 384-point, 512-point, 640-point, 768-point, 1024-point, 1280-point, 1536-point, 2048-point, 2560-point, 3072-point, 3584-point, 4096-point FFT transformation, using DIF radix 2, radix 3, radix 4, radix 5, radix 7, radix 6, radix 8 mixed radix algorithm. The entire IFFT operation divides the butterfly operation into multiple levels for iterative calculation, and the calculation result of the previous level is used as the input of the next level until the last level of butterfly operation is completed.
[0126] P: Power compensation module, enable this function through parameters, and use the configured scale factor for fixed-point processing.
[0127] Q: Frequency offset loading module, which enables the frequency offset compensation and spectrum shifting functions of NB-IOT mode through parameters. This function includes half subcarrier bandwidth frequency offset compensation and spectrum shifting of arbitrary bandwidth.
[0128] R: Add CP module, enable this function through parameters. Whether to add cyclic prefix to downlink data when it is output depends on the parameters.
[0129] S: Windowing module, this function is enabled by parameters. This processing function is added when downlink data is sent. There are three windowing processing methods.
[0130] T: Time domain compression module. It includes A-law compression and bit width linear compression, and the operation is performed in RB units. A-law compression first determines the segment number based on the data size, and the final output is the value of the segment number. Bit width linear decompression uses the difference between the effective bit width of the data and the target compression bit width to perform bit padding.
[0131] U: BYPASS processing module.
[0132] V: Data collation, data processing and sending module.
[0133] W: Task reporting. After the task is completed, an interrupt is sent to the software according to the configuration for subsequent processing.
[0134] The technical solution in this embodiment greatly reduces the reading and writing data volume and processing time of OFDM data, saves the reading and writing bandwidth of the external memory, and also reduces the software and hardware interaction time, saves power consumption and area, and improves economic benefits.
[0135] against Fig. 9 The device in this embodiment further describes the technical solution in detail.
[0136] When the working mode is uplink processing mode, it mainly includes the following steps:
[0137] 1. A module configuration task, configure the current symbol related data and BD parameters.
[0138] 2. Module B determines whether to perform time domain decompression operation according to the time domain decompression flag in the BD parameter. If yes, it enters the time domain decompression process, otherwise it proceeds to the next step.
[0139] 3. Module C determines whether to perform windowing operation according to the uplink windowing mark. If yes, it will enter the windowing process, otherwise it will proceed to the next step.
[0140] 4. Module D determines whether to perform the CP removal operation based on the CP removal flag. If yes, it will enter the CP removal process, otherwise it will proceed to the next step.
[0141] 5. Module E determines whether to perform the frequency offset compensation operation according to the frequency offset compensation flag. If yes, it enters the frequency offset compensation process; otherwise, it proceeds to the next step.
[0142] 6. Module F is the FFT processing flow. After the calculation is completed, the output data enters the next level of processing.
[0143] 7. Module G determines whether to perform the time offset compensation operation according to the time offset compensation mark. If yes, it will enter the time offset compensation process; otherwise, it will proceed to the next step.
[0144] 8. The H module determines whether to perform automatic gain operation according to the gain mark. If yes, it enters the automatic gain process, otherwise it proceeds to the next step.
[0145] 9. Module I determines whether to output all points according to the all points output flag. If yes, it enters the all points output process, otherwise it proceeds to the next step.
[0146] 10. Module J determines whether to perform weighted processing according to the first weighted identifier, and if so, enters the weighted processing flow, otherwise, enters the next step.
[0147] 11. The K module determines whether to perform frequency domain compression processing according to the frequency domain compression flag. If yes, it enters the compression processing flow, otherwise it enters the next step.
[0148] 12. The V module organizes the data and proceeds to the next step after the processing is completed.
[0149] 13. Module W is the current symbol data task completion processing module, reporting task completion interrupt.
[0150] When the working mode is downlink processing mode, it mainly includes the following steps:
[0151] 1. A module configuration task, configure the current symbol related data and BD parameters.
[0152] 2. The L module determines whether to perform frequency domain decompression according to the frequency domain decompression flag. If yes, it will enter the frequency domain decompression process. Otherwise, it will proceed to the next step.
[0153] 3. The M module determines whether to perform a weighted processing operation according to the second weighted identifier, and if so, enters the weighted processing flow, otherwise, enters the next operation.
[0154] 4. Module N determines whether to perform data preprocessing according to the data preprocessing flag. If yes, it enters the data preprocessing process; otherwise, it proceeds to the next step.
[0155] 5. Module O is the IFFT processing flow. After the calculation is completed, the output data enters the next level of processing.
[0156] 6. The P module determines whether to perform power compensation operation according to the power compensation mark. If yes, it enters the power compensation process, otherwise it proceeds to the next step.
[0157] 7. The Q module determines whether to perform the frequency offset loading operation according to the frequency offset loading flag. If yes, it enters the frequency offset loading process, otherwise it proceeds to the next step.
[0158] 8. The R module determines whether to add CP operation according to the CP addition mark. If yes, it enters the CP addition process, otherwise it enters the next step.
[0159] 9. The S module determines whether to perform windowing operation according to the downlink windowing flag. If yes, it enters the windowing process, otherwise it proceeds to the next step.
[0160] 10. The T module determines whether to perform the time domain compression operation according to the time domain compression flag. If yes, it enters the time domain compression processing flow, otherwise it enters the next step.
[0161] 11. The V module organizes the data and proceeds to the next step after the processing is completed.
[0162] 12. Module W is the current symbol data task completion processing module, reporting task completion interrupt.
[0163] When the working mode is IFFT processing mode, the main steps are as follows:
[0164] 1.1. A module configuration task, configure the current symbol related data and BD parameters.
[0165] 2. The data enters the IFFT processing module O, and after the processing is completed, it proceeds to the next step.
[0166] 3. The V module organizes the data and proceeds to the next step after the processing is completed.
[0167] 4. Module W is the task completion processing module for the current symbol data, reporting task completion interrupt.
[0168] When the working mode is FFT processing mode, it mainly includes the following steps:
[0169] 1. A module configuration task, configure the current symbol related data and parameters.
[0170] 2. The data enters the FFT processing module F, and after processing is completed, it proceeds to the next step.
[0171] 3. The V module organizes the data and proceeds to the next step after the processing is completed.
[0172] 4. Module W is the task completion processing module for the current symbol data, reporting task completion interrupt.
[0173] When the working mode is BYPASS mode, the main steps are as follows:
[0174] 1. A module configuration task, configure the current symbol related data and parameters.
[0175] 2. The data enters BYPASS processing module U, and after processing is completed, it proceeds to the next step
[0176] 3. The V module organizes the data and proceeds to the next step after the processing is completed.
[0177] 4. Module W is the task completion processing module for the current symbol data, reporting task completion interrupt.
[0178] In one embodiment, the present application provides a data processing device, such as Fig.10 As shown, the data processing device provided in this embodiment mainly includes a determination module 101 and a processing module 102 .
[0179] The determination module 101 is configured to determine the working mode and BD parameters corresponding to the data to be processed;
[0180] The processing module 102 is configured to process the processing by using the BD parameters according to the determined working mode.
[0181] In an exemplary embodiment, the working mode includes one or more of the following: an uplink working mode, a downlink working mode, an inverse fast Fourier transform IFFT mode, a fast Fourier transform FFT mode, and a BYPASS mode.
[0182] In an exemplary embodiment, the processing module 102 is configured to perform a first preprocessing process on the data to be processed based on the time domain decompression flag, uplink windowing flag, CP removal flag and frequency offset compensation flag in the BD parameters; perform an FFT transform on the first preprocessed data to obtain frequency domain data; and perform a first post-processing process on the frequency domain data based on the time offset compensation flag, gain flag, total point output flag, first weighting flag and frequency domain compression flag in the BD parameters.
[0183] In an exemplary embodiment, the first preprocessing process is performed on the data to be processed based on the time domain decompression flag, uplink windowing flag, CP removal flag and frequency offset compensation flag in the BD parameters, including: when the time domain decompression flag is in the first state, executing the time domain decompression process; when the uplink windowing flag is in the second state, executing the uplink windowing processing process; when the CP removal flag is in the third state, executing the CP removal process; when the frequency offset compensation flag is in the fourth state, executing the frequency offset compensation process.
[0184] In an exemplary embodiment, based on the time offset compensation flag, gain flag, total point output flag, first weighting flag and frequency domain compression flag in the BD parameters, a first post-processing process is performed on the frequency domain data, including: when the time offset compensation flag is in the fifth state, executing the time offset compensation process; when the gain flag is in the sixth state, executing the automatic gain process; when the total point output flag is in the seventh state, executing the total point output process; when the first weighting flag is in the eighth state, executing the weighted processing process; when the frequency domain compression flag is in the ninth state, executing the frequency domain compression processing process.
[0185] In an exemplary embodiment, the processing module 102 is configured to perform a second preprocessing process on the data to be processed based on the frequency domain decompression flag and the second weighting flag in the BD parameters; perform IFFT transformation on the second preprocessed data to obtain time domain data; and perform a second post-processing on the time domain data based on the power compensation flag, frequency offset loading flag, CP addition flag, downlink windowing flag and time domain compression flag in the BD parameters.
[0186] In an exemplary embodiment, the second preprocessing process is performed on the data to be processed based on the frequency domain decompression flag and the second weighted flag in the BD parameter, including: when the frequency domain decompression flag is in the tenth state, executing the frequency domain decompression process; when the second weighted flag is in the eleventh state, executing the weighted processing process;
[0187] In an exemplary embodiment, the time domain data is subjected to a second post-processing based on the power compensation flag, frequency offset loading flag, CP adding flag, downlink windowing flag and time domain compression flag in the BD parameters, including: when the power compensation flag is in the twelfth state, executing the power compensation process; when the frequency offset loading flag is in the thirteenth state, executing the frequency offset loading process; when the CP adding flag is in the fourteenth state, executing the CP adding process; when the downlink windowing weighting flag is in the fifteenth state, executing the downlink windowing processing process; when the time domain compression flag is in the sixteenth state, executing the time domain compression processing process.
[0188] In an exemplary implementation, the processing module 102 is configured to perform FFT transformation on the data to be processed.
[0189] In an exemplary implementation, the processing module 102 is configured to perform IFFT transformation on the data to be processed.
[0190] In an exemplary embodiment, the processing module 102 is configured to execute a BYPASS process on the data to be processed.
[0191] The data processing device provided in this embodiment includes: determining the working mode and BD parameters corresponding to the data to be processed, and processing the data to be processed according to the determined working mode and the BD parameters. By using different working modes and BD parameters to perform different processing flows on the data, the system performance is improved and the system processing delay and processing power consumption are reduced under the condition of limited bandwidth resources.
[0192] The data processing device provided in this embodiment can execute the data processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method. For technical details not described in detail in this embodiment, please refer to the data processing method provided in any embodiment of the present invention.
[0193] It is worth noting that in the embodiment of the above-mentioned data processing device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.
[0194] The present application also provides a device, Figure 4 is a schematic diagram of the structure of a device provided in an embodiment of the present application, such as Figure 4 As shown, the device includes a processor 41, a memory 42, an input device 43, an output device 44 and a communication device 45; the number of processors 41 in the device can be one or more. Figure 4 A processor 41 is taken as an example; the processor 41, memory 42, input device 43 and output device 44 in the device can be connected by a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0195] The memory 42, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the data processing method in the embodiments of the present application (for example, the determination module 101 and the processing module 102 in the data processing device). The processor 41 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 42, that is, implements any method provided in the embodiments of the present application.
[0196] The memory 42 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the device, etc. In addition, the memory 42 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 42 may further include a memory remotely arranged relative to the processor 41, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0197] The input device 43 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 44 may include a display device such as a display screen.
[0198] The communication device 45 may include a receiver and a transmitter. The communication device 45 is configured to perform information transmission and reception communication according to the control of the processor 41.
[0199] In an exemplary embodiment, the present application also provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to perform a data processing method when executed by a computer processor, including:
[0200] Determine the working mode and BD parameters corresponding to the data to be processed;
[0201] The data to be processed is processed by using the BD parameters according to the determined working mode.
[0202] Of course, the storage medium containing computer executable instructions provided in the embodiment of the present application, whose computer executable instructions are not limited to the method operations described above, can also execute related operations in the data processing method provided in any embodiment of the present application.
[0203] Through the above description of the implementation method, the technicians in the relevant field can clearly understand that the present application can be implemented with the help of software and necessary general hardware, and of course it 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 the present application can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0204] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.
[0205] It will be appreciated by those skilled in the art that the term user terminal covers any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a vehicle-mounted mobile station.
[0206] In general, various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, microprocessor or other computing device, although the present application is not limited thereto.
[0207] Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
[0208] The block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions. The computer program may be stored on a memory. The memory may be of any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory devices and systems (digital versatile discs DVD or CD discs), etc. Computer-readable media may include non-transient storage media. The data processor may be of any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (FGPA) and a processor based on a multi-core processor architecture.
[0209] By way of exemplary and non-limiting examples, a detailed description of exemplary embodiments of the present application has been provided above. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, but will not depart from the scope of the present invention. Therefore, the proper scope of the present invention will be determined according to the claims.
Claims
1. A data processing method, characterized in that: include: Determine the working mode and buffer descriptor BD parameters corresponding to the data to be processed; Processing the data to be processed by using the BD parameters according to the determined working mode; The working mode includes an uplink working mode, or the working mode includes at least one of a downlink working mode, an inverse fast Fourier transform IFFT mode, a fast Fourier transform FFT mode and a BYPASS mode and the uplink working mode; Wherein, when the working mode is an uplink working mode, processing the to-be-processed data by using the BD parameter according to the determined working mode includes: Performing a first preprocessing process on the data to be processed based on the time domain decompression flag, the uplink windowing flag, the CP removal flag, and the frequency offset compensation flag in the BD parameters; Performing FFT transformation on the first preprocessed data to obtain frequency domain data; A first post-processing flow is performed on the frequency domain data based on the time offset compensation flag, the gain flag, the total point output flag, the first weighting flag and the frequency domain compression flag in the BD parameters.
2. The method according to claim 1, characterized in that The performing a first preprocessing process on the data to be processed based on the time domain decompression flag, the uplink windowing flag, the cyclic prefix removal CP flag and the frequency offset compensation flag in the BD parameters includes: When the time domain decompression flag is in the first state, executing the time domain decompression process; When the uplink windowing flag is in the second state, executing the uplink windowing process; When the CP removal flag is in the third state, executing the CP removal process; When the frequency offset compensation flag is in the fourth state, the frequency offset compensation process is executed.
3. The method according to claim 1, characterized in that Based on the time offset compensation flag, the gain flag, the total point output flag, the first weighting flag and the frequency domain compression flag in the BD parameters, a first post-processing process is performed on the frequency domain data, including: When the time offset compensation flag is in the fifth state, executing the time offset compensation process; When the gain flag is in the sixth state, executing an automatic gain process; When the all points output flag is in the seventh state, executing the all points output process; When the first weighted flag is in the eighth state, executing the weighted processing flow; When the frequency domain compression flag is in the ninth state, the frequency domain compression processing flow is executed.
4. The method according to claim 1, characterized in that In the case where the working mode is a downlink working mode, processing the to-be-processed data by using the BD parameter according to the determined working mode includes: Performing a second preprocessing process on the data to be processed based on the frequency domain decompression identifier and the second weighting identifier in the BD parameter; Performing IFFT transformation on the second preprocessed data to obtain time domain data; The time domain data is subjected to second post-processing based on the power compensation flag, the frequency offset loading flag, the CP adding flag, the downlink windowing flag and the time domain compression flag in the BD parameters.
5. The method according to claim 4, characterized in that The second preprocessing process is performed on the data to be processed based on the frequency domain decompression identifier and the second weighted identifier in the BD parameter, including: When the frequency domain decompression flag is in the tenth state, executing the frequency domain decompression process; When the second weighted flag is in the eleventh state, the weighted processing flow is executed.
6. The method according to claim 4, characterized in that The second post-processing is performed on the time domain data based on the power compensation flag, the frequency offset loading flag, the CP adding flag, the downlink windowing flag and the time domain compression flag in the BD parameters, including: When the power compensation flag is in the twelfth state, executing a power compensation process; When the frequency offset loading flag is in the thirteenth state, executing the frequency offset loading process; When the CP adding flag is in the fourteenth state, executing the CP adding process; When the downlink windowing flag is in the fifteenth state, executing the downlink windowing process flow; When the time domain compression flag is in the sixteenth state, the time domain compression processing flow is executed.
7. The method according to claim 1, characterized in that In the case where the working mode is the FFT mode, processing the data to be processed by using the BD parameters according to the determined working mode includes: Perform FFT transformation on the data to be processed.
8. The method according to claim 1, characterized in that In the case where the working mode is the IFFT mode, the processing of the to-be-processed data by using the BD parameters according to the determined working mode includes: Perform IFFT transformation on the data to be processed.
9. The method according to claim 1, characterized in that: In the case where the working mode is the BYPASS mode, processing the data to be processed by using the BD parameters according to the determined working mode includes: The BYPASS process is executed on the data to be processed.
10. A data processing device, characterized in that: include: A determination module, configured to determine a working mode and BD parameters corresponding to the data to be processed; A processing module, configured to process the data to be processed by using the BD parameters according to the determined working mode; The working mode includes an uplink working mode, or the working mode includes at least one of a downlink working mode, an inverse fast Fourier transform IFFT mode, a fast Fourier transform FFT mode and a BYPASS mode and the uplink working mode; Wherein, when the working mode is the uplink working mode, the processing module is configured to: Performing a first preprocessing process on the data to be processed based on the time domain decompression flag, the uplink windowing flag, the CP removal flag, and the frequency offset compensation flag in the BD parameters; Performing FFT transformation on the first preprocessed data to obtain frequency domain data; A first post-processing flow is performed on the frequency domain data based on the time offset compensation flag, the gain flag, the total point output flag, the first weighting flag and the frequency domain compression flag in the BD parameters.
11. A device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method according to any one of claims 1 to 9.
12. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 9 is implemented.
