Data processing method and device

By converting the frequency domain data and time domain data formats in the communication link establishment stage and using the same IP core for computing, the problems of high resource occupation and cumbersome maintenance in the existing technology are solved, and the resource utilization rate of the communication system is improved. reliability.

CN119070948APending Publication Date: 2024-12-03LENOVO (BEIJING) LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411046163.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing forward error correction processing method needs to occupy at least two core resources during the communication link establishment stage, resulting in high resource occupancy and cumbersome maintenance, making it difficult to optimize signal transmission parameters.

Method used

By determining the input data type and converting formats between frequency domain data and time domain data, the same IP core is used for calculations, reducing resource usage and simplifying system design and maintenance.

Benefits of technology

It realizes efficient utilization of resources, reduces system complexity and maintenance costs, and improves the performance and reliability of communication systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070948A_ABST
    Figure CN119070948A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device which can be applied to the technical field of data transmission. The method comprises the steps of determining a data type of input data; under the condition that the input data is frequency domain data, executing a first processing operation on the input data, and converting the format of the input data from a first format into a second format to obtain first frequency domain data; transmitting the first frequency domain data into a calculation module, and generating second frequency domain data based on a specific operation mode; executing a second processing operation on the second frequency domain data, and converting the format of the second frequency domain data into the first format from the second format to obtain target time domain data; wherein the first format and the second format have a corresponding relation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of data transmission, and more specifically, to a data processing method and device. Background Art

[0002] During the communication link establishment phase, the physical layer usually performs forward error correction processing to set and optimize signal transmission parameters. Among them, forward error correction processing usually performs corresponding operations on the uplink and downlink data of the antenna to achieve mutual conversion between different types of data.

[0003] However, the existing forward error correction processing method usually requires at least two core resources to execute different calculation methods respectively, which has a high resource occupancy rate and is inconvenient to maintain. Summary of the invention

[0004] One aspect of the present disclosure provides a data processing method, including: determining a data type of input data; when the input data is frequency domain data, performing a first processing operation on the input data, converting the format of the input data from a first format to a second format, and obtaining first frequency domain data; transmitting the first frequency domain data to a computing module, and generating second frequency domain data based on a specific operation method; performing a second processing operation on the second frequency domain data, converting the format of the second frequency domain data from a second format to a first format, and obtaining target time domain data; wherein the first format and the second format have a corresponding relationship.

[0005] According to an embodiment of the present disclosure, the imaginary part of the first format input data is the real part of the second format input data, and the real part of the first format input data is the imaginary part of the second format input data; the first format is obtained by performing a complex conjugate operation on the imaginary part in the second format.

[0006] According to an embodiment of the present disclosure, the method also includes: caching the first frequency domain data to a first address; when the current scheduling situation meets a preset condition, adding a first identifier to the cached first frequency domain data and sending the first frequency domain data with the added identifier to a computing module; obtaining the output data of the computing module, and when the identifier of the output data is the first identifier, determining that the output mode of the output data is the first output mode.

[0007] According to an embodiment of the present disclosure, when the current scheduling situation meets a preset condition, a first identifier is added to the cached first frequency domain data, including: in response to the state of the transmission start signal of the first frequency domain data changing from a low level to a high level, adding the first identifier to the first frequency domain data.

[0008] According to an embodiment of the present disclosure, the first output method includes: performing a second processing operation on the output data to obtain target time domain data; and outputting the target time domain data based on the first path.

[0009] According to an embodiment of the present disclosure, the first frequency domain data is transmitted to a computing module, and the second frequency domain data is generated based on a specific operation method, including: obtaining multiple first sample points from the first frequency domain data, wherein the first sample points are values ​​of the signal at different frequencies; pairing the multiple first sample points in pairs to obtain multiple first sample pairs; performing butterfly operations on the multiple first sample pairs to obtain multiple second sample points; performing pairing operations and butterfly operations on the multiple second sample points to obtain multiple third sample points; repeating the above steps, and when the obtained result meets the preset conditions, determining the result as the second frequency domain data.

[0010] According to an embodiment of the present disclosure, the method further includes: when the input data is time domain data, the time domain data is transmitted to a computing module, and target frequency domain data is generated according to a specific operation method.

[0011] According to an embodiment of the present disclosure, the method also includes: caching the time domain data to a second address; when the current scheduling situation meets the preset conditions, adding a second identifier to the cached time domain data and sending the time domain data with the added identifier to the computing module; obtaining the output data of the computing module, and when the identifier of the output data is the second identifier, determining that the output mode of the output data is the second output mode; wherein the second output mode includes: outputting the target frequency domain data based on the second path.

[0012] According to an embodiment of the present disclosure, time domain data is transmitted to a computing module, and target frequency domain data is generated according to a specific operation method, including: obtaining multiple fourth sample points from the time domain data, wherein the fourth sample points are values ​​of the signal at the same time interval; pairing the multiple fourth sample points in pairs to obtain multiple fourth sample pairs; performing butterfly operations on the multiple fourth sample pairs to obtain multiple fifth sample points; performing pairing operations and butterfly operations on the multiple fifth sample pairs to obtain multiple sixth sample points; repeating the above steps, and when the obtained result meets the preset conditions, determining the result as the target frequency domain data.

[0013] Another aspect of the present disclosure provides a data processing device, including: a determination module, used to determine the type of input data; a first processing module, used to perform a first processing operation on the input data when the input data is frequency domain data, converting the format of the input data from a first format to a second format to obtain first frequency domain data; wherein the first format and the second format have a corresponding relationship; an operation module, used to transfer the first frequency domain data to a calculation module, and generate second frequency domain data based on a specific operation method; and a second processing module, used to perform a second processing operation on the second frequency domain data, converting the format of the second frequency domain data from the second format to the first format to obtain target time domain data. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0015] Figure 1 The application scenarios of the data processing method and device according to the embodiments of the present disclosure are schematically shown;

[0016] Figure 2 A conceptual diagram schematically shows a data processing method according to an embodiment of the present disclosure;

[0017] Figure 3 A flowchart schematically shows a data processing method according to an embodiment of the present disclosure;

[0018] Figure 4 A flowchart schematically shows data processing according to another embodiment of the present disclosure;

[0019] Figure 5 A flowchart of generating second frequency domain data based on a specific operation method according to an embodiment of the present disclosure is schematically shown;

[0020] Figure 6 A flowchart schematically shows a data processing method according to another embodiment of the present disclosure;

[0021] Figure 7 A flowchart schematically shows data processing according to another embodiment of the present disclosure;

[0022] Figure 8 A flowchart for generating target frequency domain data based on a specific operation method according to an embodiment of the present disclosure is schematically shown;

[0023] Fig. 9 A block diagram schematically shows a data processing device according to an embodiment of the present disclosure;

[0024] Fig.10 A block diagram of an electronic device suitable for implementing the data processing method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0025] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0026] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0027] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0028] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0029] The embodiments of the present disclosure provide a data processing method and device. Before introducing the technical solutions provided by the embodiments of the present disclosure, the related technologies involved in the present disclosure are first described.

[0030] During the communication initialization phase or the communication link establishment phase, the communication system usually performs low-rate physical layer forward error correction processing (also known as forward transmission Low-phy processing) to optimize and enhance signal processing and improve the performance and reliability of the communication system.

[0031] Specifically, the forward transmission Low-phy processing performs Fast Fourier Transformation (FFT) and Inverse Fast Fourier Transform (IFFT) operations on the antenna uplink and downlink data respectively to complete the conversion between time domain data and frequency domain data. By exchanging time domain data and frequency domain data, the spectrum utilization efficiency and anti-interference capability can be effectively improved.

[0032] In the prior art, an IP core for IFFT operation and an IP core for FFT operation are usually set up respectively. The IP core based on IFFT operation converts the downlink frequency domain data into time domain data, and the IP core based on FFT operation converts the uplink time domain data into frequency domain data. In other words, the uplink and downlink data of each antenna need to occupy two IP core resources for corresponding operations. The number of IP core resources will increase with the increase in the number of antennas, resulting in a large number of resources of the Field-Programmable Gate Array (FPGA) being occupied. And when performing maintenance, the IP core for FFT operation and the IP core for IFFT operation need to be maintained at the same time, which is cumbersome.

[0033] In view of this, an embodiment of the present disclosure provides a data processing method, including: determining the data type of input data; when the input data is frequency domain data, performing a first processing operation on the input data, converting the format of the input data from a first format to a second format, and obtaining first frequency domain data; transmitting the first frequency domain data to a computing module, and generating second frequency domain data based on a specific operation method; performing a second processing operation on the second frequency domain data, converting the format of the second frequency domain data from the second format to the first format, and obtaining target time domain data; wherein the first format and the second format have a corresponding relationship.

[0034] The data processing method provided by the embodiment of the present disclosure preprocesses the frequency domain data so that the frequency domain data and the time domain data can be calculated using the same IP core. The time domain data calculation and the frequency domain data calculation are completed based on the same IP core, which can reduce the IP core resource occupation in the antenna and improve the resource utilization. Compared with calculating separately with multiple IP cores, only one IP core is used for data processing, which can effectively simplify the complexity of the system and reduce the system maintenance cost.

[0035] Figure 1 The application scenarios of the data processing method and device according to the embodiments of the present disclosure are schematically illustrated.

[0036] It should be noted that Figure 1 What is shown are merely examples of application scenarios to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0037] like Figure 1 As described above, the application scenario 100 of the embodiment of the present disclosure may include, for example, a base station 101 , a terminal device 102 , a terminal device 103 and an antenna 104 .

[0038] The base station 101 is a public mobile communication base station responsible for coordinating and managing the communication between terminal devices, including data transmission, signal coverage, resource allocation, etc. The base station 101 communicates with the terminal devices 102 and 103 in its coverage area via the antenna 104 .

[0039] Antenna 104 is used to receive and send wireless signals. Its main function is to convert electromagnetic wave signals into electric current (receiving) or convert electric current into electromagnetic wave signals (transmitting). In a mobile communication system, base station 101 is usually equipped with multiple antennas to cover communication needs in different directions and regions to achieve full coverage and communication services for terminal devices. Each terminal device is also usually equipped with an antenna for communication and data transmission with the base station. Signals are transmitted and received between the base station and the terminal device through the antenna.

[0040] Specifically, the data transmitted based on the antenna 104 can be divided into uplink data and downlink data. The difference between uplink data and downlink data lies in the different directions of data transmission, wherein uplink data refers to the data stream sent by the terminal device to the base station, such as a user making a call or uploading a file through a mobile phone, etc. Downlink data refers to the data stream sent by the base station to the terminal device, such as a telephone signal received by the terminal device from the base station or a downloaded file.

[0041] In some embodiments, the terminal devices 102 and 103 may be any terminal devices capable of wireless communication, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0042] The following will be based on Figure 1 The scene described by Figure 2~Figure 8 The data processing method of the disclosed embodiment is described in detail.

[0043] Figure 2 The conceptual diagram schematically shows a data processing method according to an embodiment of the present disclosure.

[0044] like Figure 2 As shown, the data processing method provided by the embodiment of the present disclosure includes at least two different types of input data (downlink frequency domain data and uplink time domain data), wherein the processing processes of the downlink frequency domain data and the uplink time domain data are different, and by performing a first processing operation on the downlink frequency domain data, the downlink frequency domain data and the uplink time domain data can be transmitted to the same computing module, and calculated based on the same computing method, and then the data output by the computing module is diverted, and by performing a second processing operation on the data after the downlink frequency domain data is calculated, the downlink time domain data is obtained and output.

[0045] The following is based on Figure 3~Figure 9 The data processing method provided by the present disclosure is further introduced, wherein: Figure 3~Figure 5 Corresponds to Figure 2 In the process of processing the downlink frequency domain data, Figure 6~Figure 9 Corresponds to Figure 2 The process of processing uplink time domain data.

[0046] Figure 3 The flowchart of the data processing method according to the embodiment of the present disclosure is schematically shown.

[0047] like Figure 3 As shown, the method includes operations S210A to S240A.

[0048] In operation S210A, a data type of input data is determined.

[0049] In some embodiments, the data type of the input data includes time domain data and frequency domain data, and the data type of the input data can be determined by the direction of data transmission.

[0050] Since the data formats and processing methods of time domain data and frequency domain data are different, after receiving the input data, it is first necessary to determine the corresponding data processing method based on the data type of the input data, so that different types of data can be calculated based on the same calculation method.

[0051] Exemplarily, when a terminal device sends data to a base station, it usually sends the original data processed in the time domain to the base station, that is, the uplink data is usually time domain data. When the base station sends data to a terminal, it usually converts the data to be sent into a frequency domain signal based on the frequency domain processing technology, that is, the downlink data is usually frequency domain data. Therefore, the data type of the input data can be determined as time domain data or frequency domain data by the transmission direction of the data.

[0052] In operation S220A, when the input data is frequency domain data, a first processing operation is performed on the input data to convert the format of the input data from a first format to a second format to obtain first frequency domain data.

[0053] In some embodiments, if the input data is frequency domain data, the format of the input data is changed based on the first processing operation, and the format of the input data is converted from a first format to a second format with a corresponding relationship, so that the modified frequency domain data (i.e., the first frequency domain data) can be operated based on a specific operation method.

[0054] Among them, the imaginary part of the first format input data is the real part of the second format input data, and the real part of the first format input data is the imaginary part of the second format input data. By performing a complex conjugate operation on the imaginary part of the second format input data, the input data can be restored from the second format to the first format.

[0055] Specifically, the positions of the real part and the imaginary part in the input data can be swapped through the first processing operation. In the first format of the frequency domain data, the real part represents the amplitude of the signal and the imaginary part represents the phase of the signal. After the frequency domain data is processed based on the first processing operation, the first frequency domain data in the second format is obtained, wherein the real part of the first frequency domain data represents the amplitude of the signal and the imaginary part represents the phase of the signal.

[0056] In operation S230A, the first frequency domain data is transmitted to a computing module, and second frequency domain data is generated based on a specific computing method.

[0057] In some embodiments, the computing module performs calculations on input data based on a fast Fourier transform algorithm.

[0058] Generally, the fast Fourier transform algorithm is used to convert time domain data into frequency domain data, and the conversion between frequency domain data and time domain data is achieved through inverse fast Fourier transform. However, since the present disclosure processes the first frequency domain data in advance, the first frequency domain data obtained after the processing can be directly calculated based on the FFT algorithm to obtain the second frequency domain data, which effectively simplifies the computing resources and improves the computing efficiency.

[0059] In operation S240A, a second processing operation is performed on the second frequency domain data to convert the format of the second frequency domain data from the second format to the first format to obtain target time domain data.

[0060] In some embodiments, the second frequency domain data is format converted based on the second processing operation, and the format of the second frequency domain data is converted from the second format to the first format to obtain the target time domain data.

[0061] Specifically, the second processing operation includes: exchanging the real part and the imaginary part of the second frequency domain data.

[0062] The data processing method provided by the embodiment of the present disclosure pre-processes the frequency domain data so that the frequency domain data and the time domain data can share the same computing module for calculation. By processing the time domain data and the frequency domain data together based on the same computing module, the system design can be simplified, hardware resources can be effectively saved, resource utilization can be improved, and the cost of system maintenance and management can be reduced.

[0063] The principle of the data processing method provided by the embodiment of the present disclosure is deduced below.

[0064] The calculation formula of FFT is:

[0065]

[0066] Among them, X k represents the complex value corresponding to the kth frequency in the frequency domain, x nrepresents the nth sample value of the time domain signal, represents the rotation factor.

[0067] The calculation formula of IFFT is:

[0068]

[0069] Among them, x n represents the nth sampling point in the time domain signal, N is the length of the signal (i.e. the total number of sampling points), X k represents the kth frequency component of the time domain signal, represents the rotation factor.

[0070] For the input data Y whose data type is frequency domain data n Perform the first processing operation to obtain the first frequency domain data y n , where y n =j*conj(Y n ). Substitute the first frequency domain data into the FFT calculation formula and derive:

[0071]

[0072] Taking conjugates on both sides of the above equation, we can get:

[0073]

[0074] Since FFT takes the discrete Parsval theorem into consideration during operation, there is no need to perform a division operation on N, and it is only necessary to change the format of the data before and after the operation based on the first processing operation and the second processing operation.

[0075] According to the above derivation, by exchanging the real and imaginary parts of the data before and after the operation, the FFT operation can produce the same operation effect as the IFFT operation. That is, by processing the input frequency domain data, the frequency domain data can be operated together with the time domain data based on the IP core of the FFT operation, thereby completing the conversion between different types of data.

[0076] Figure 4 The flowchart of data processing according to another embodiment of the present disclosure is schematically shown.

[0077] like Figure 4 As shown, in Figure 3 Based on the data processing method shown in FIG. 1 , the data processing method of this embodiment includes operations S210B to S260B. It should be noted that other implementation details of the data processing method of this embodiment can be found in Figure 3 The embodiment of the data processing method shown will not be described in detail here.

[0078] In operation S210B, a data type of the input data is determined.

[0079] In some embodiments, operation S210B is Figure 2 The operation details of operation S210A in the embodiments are the same and will not be described again.

[0080] In operation S220B, when the input data is frequency domain data, a first processing operation is performed on the input data to convert the format of the input data from a first format to a second format to obtain first frequency domain data.

[0081] In some implementations, operation S220B is performed with Figure 2 The operation details of operation S220B in the embodiment are the same and will not be repeated here.

[0082] In operation S230B, the first frequency domain data is cached to a first address.

[0083] In some embodiments, the obtained first frequency domain data is cached to a first address. The first address is an address in a random access memory (RAM) whose highest bit is 0. The first address stores the received first frequency domain data in the form of a data packet, and records the first cache address data of each data packet, so as to quickly locate the storage location of the data and improve the efficiency of data reading and processing.

[0084] In operation S240B, when the current scheduling situation satisfies a preset condition, a first identifier is added to the cached first frequency domain data and the first frequency domain data with the added identifier is sent to the computing module.

[0085] In some embodiments, the output mechanism of the RAM detects the current scheduling situation at each clock cycle, wherein the scheduling situation includes current data output information and cache information. When the current scheduling situation is that there is no output data and the cache is not 0, data is output from the first data cache address, and the first frequency domain data of the cache is marked with a first identifier when the packet SOP signal is pulled high, for subsequent data identification.

[0086] Specifically, in response to the state of the transmission start signal of the first frequency domain data changing from a low level to a high level, a first identifier is added to the first frequency domain data.

[0087] Among them, the SOP (Start of Packet) signal refers to the synchronization identifier sent at the beginning of the data packet transmission. The function of this identifier is to inform the receiver of the beginning of the data packet, so as to ensure the correct reception and parsing of the data. When the SOP signal is pulled high, it means that the transmission of the data packet is about to begin. The arrival of this moment can be regarded as the starting point of the data packet, which tells the receiver to start receiving data.

[0088] Putting the identifier at the time when the SOP start signal is pulled high can effectively reduce errors caused by timing offset and improve the stability of data transmission. In addition, putting the identifier at the time when the SOP signal is pulled high can ensure that the starting position of each data packet is correctly identified. On the one hand, it helps the receiving end to quickly capture the starting position of the data packet, speed up data processing, and improve data transmission efficiency; on the other hand, it can ensure that the starting position of each data packet is correctly identified to avoid confusion and errors between data packets.

[0089] In operation S250B, the first frequency domain data after adding the identifier is transmitted to the calculation module, and the second frequency domain data is generated based on a specific calculation method.

[0090] In some implementations, operation S250B is performed with Figure 2 The operation details of operation S230A in the embodiments are the same and will not be described again.

[0091] In operation S260B, output data of the computing module is obtained, and when the identifier of the output data is the first identifier, an output mode of the output data is determined to be the first output mode.

[0092] In some embodiments, output data of the computing module is obtained, the type of the output data is determined based on an identifier, and then a corresponding output method is selected for output based on the type of the output data.

[0093] When the identifier of the output data is the first identifier, it indicates that the output data is processed downlink data (ie, second frequency domain data), and the first output mode is selected to output the data.

[0094] Among them, data output based on the first output mode includes operation S2601~operation S2602.

[0095] Operation S2601 performs a second processing operation on the output data to obtain target time domain data.

[0096] In some embodiments, operation S2601 is performed with Figure 2 The operation details of operation S240A in the embodiments are the same and will not be described again.

[0097] Operation S2602: output target time domain data based on the first path.

[0098] In some embodiments, the first path is an output path corresponding to a downlink input data path. In the case where the input data is frequency domain data, the first path is usually a downlink output path for outputting target time domain data to a corresponding electronic device.

[0099] In the data processing method provided in the embodiment of the present disclosure, the processing process and transmission process corresponding to different input data are different. Therefore, the present disclosure further proposes that when caching data, different types of input data are marked with corresponding tags to facilitate matching corresponding

[0100] The data processing method provided in the embodiment of the present disclosure uses the same computing module to calculate the frequency domain data and the time domain data, and the representation of the data will change after the calculation, which may easily cause data confusion. Therefore, the present disclosure also proposes to add corresponding identifiers for different types of data when caching, so as to quickly identify the data type, and then take correct processing and transmission measures, so as to effectively improve the efficiency of data transmission and the correctness of data transmission.

[0101] Figure 5 The flowchart of generating the second frequency domain data based on a specific operation method according to an embodiment of the present disclosure is schematically shown.

[0102] like Figure 5 As shown, in Figure 3 Based on the data processing method shown in FIG. 1 , the data processing method of this embodiment generates the second frequency domain data based on a specific operation method, and can further include operations S231 to S235. It should be noted that other implementation details of the data processing method of this embodiment can be found in Figure 3 The embodiment of the data processing method shown will not be described in detail here.

[0103] In operation S231, a plurality of first sample points are obtained from the first frequency domain data, wherein the first sample points are values ​​of the signal at different frequencies.

[0104] In some embodiments, the first frequency domain data is divided into a plurality of first sample points, each of which represents the value of the signal at a specific frequency. The number of first sample points is usually a power of 2 to improve the computational efficiency of the FFT algorithm. The first sample points are the amplitudes or phases of different frequency components in the frequency domain, and these sampling points correspond to discrete frequency points on the frequency axis.

[0105] In operation S232 , the plurality of first sample points are paired in pairs to obtain a plurality of first sample pairs.

[0106] In some embodiments, multiple first sample points are paired in pairs to obtain multiple first sample pairs, each of which consists of two first sample points, one of which is located at an even position and the other is located at an odd position.

[0107] In operation S233 , a butterfly operation is performed on the plurality of first sample pairs to obtain a plurality of second sample points.

[0108] In some embodiments, a butterfly operation is performed on the first sample point in each first sample pair to obtain a second sample point, wherein the butterfly operation refers to a process of performing complex multiplication and addition operations on two sample points.

[0109] Specifically, the butterfly operation process includes: multiplying the two first sample points by the rotation factor respectively to obtain a first multiplication result and a second multiplication result; adding the first multiplication result and the second multiplication result to obtain the real part of the second sample point; subtracting the first multiplication result and the second multiplication result to obtain the imaginary part of the second sample point.

[0110] In operation S234 , a pairing operation and a butterfly operation are performed on the plurality of second sample points to obtain a plurality of third sample points.

[0111] In some embodiments, operations S232 to S233 are repeatedly performed on the plurality of second sample points obtained through operation S233 to obtain a plurality of third sample points.

[0112] In operation S235, when the obtained result satisfies a preset condition, the result is determined as second frequency domain data.

[0113] In some embodiments, the preset condition is that the number of sample points is 1. After performing operations S232 and S233, the number of sample points is counted, and when the number of sample points is greater than 1, operations S232 and S233 are repeatedly performed. When the number of sample points is equal to 1, the sample point is determined as the second frequency domain data.

[0114] Figure 6 The flowchart of a data processing method according to another embodiment of the present disclosure is schematically shown.

[0115] like Figure 6 As shown, the method includes operations S510 to S520.

[0116] In operation S510, a data type of input data is determined.

[0117] In some embodiments, the data type of the input data may be determined based on the transmission direction of the input data. Figure 2 Operation S210A in the data processing method shown is similar and will not be described in detail here.

[0118] In operation S520, when the input data is time domain data, the time domain data is transmitted to a calculation module, and target frequency domain data is generated according to a specific calculation method.

[0119] In some embodiments, the calculation module performs calculations based on the FFT algorithm. Therefore, when the data type of the input data is time domain data, there is no need to convert the format of the time domain data, and the input data can be directly input into the calculation module, which performs FFT calculations to obtain the target frequency domain data.

[0120] Figure 7 The flowchart of data processing according to another embodiment of the present disclosure is schematically shown.

[0121] like Figure 7 As shown, in Figure 7 Based on the data processing method shown in FIG. 1 , the data processing method of this embodiment may further include operations S530 to S550. It should be noted that other implementation details of the data processing method of this embodiment can be found in FIG. Figure 7 The embodiment of the data processing method shown will not be described in detail here.

[0122] In operation S530, the time domain data is cached to the second address.

[0123] In some embodiments, when it is determined that the input data is time domain data, the input time domain data is cached to a second address, wherein the second address is an address in the RAM whose highest bit is 1. Storing different types of data at addresses with different bit positions in the RAM can effectively improve data access efficiency and memory space utilization.

[0124] In operation S540, when the current scheduling situation satisfies a preset condition, a second identifier is added to the cached time domain data and the time domain data with the identifier added is sent to the computing module.

[0125] In some embodiments, before performing operation S520, operation S540 is performed on the time domain data. Since both the time domain data and the first frequency domain data need to be input into the same computing module for operation, and the output data obtained after the operation has a large change from the input, therefore, when the time domain data is input into the computing module, a second identifier is added to the time domain data to facilitate data identification, so that the data output by the computing module is processed and transmitted in a specified manner, thereby improving the accuracy of data processing and the efficiency of data transmission.

[0126] Specifically, the output mechanism of the RAM will detect the current scheduling situation in each clock cycle, wherein the scheduling situation includes the current data output information and cache information. When the current scheduling situation is that there is no output data and the cache is not 0, the data is output from the first data cache address, and the cached time domain data is marked with a second identifier when the packet sop signal is pulled high, for subsequent data identification. In response to the state of the transmission start signal of the time domain data changing from a low level to a high level, the second identifier is added to the time domain data.

[0127] In operation S550, output data of the computing module is acquired, and when the identifier of the output data is the second identifier, an output mode of the output data is determined to be the second output mode.

[0128] In some embodiments, the output data is identified based on an identifier of the output data, and when the identifier of the output data is a second identifier, the data is output based on a second output mode.

[0129] Specifically, outputting data based on the second output mode includes: outputting target frequency domain data based on the second path. The second path is an output path corresponding to the uplink input path, and when the input data is time domain data, the second path is an uplink output path for outputting the target frequency domain data to the base station.

[0130] Figure 8 The flowchart of generating target frequency domain data based on a specific operation method according to an embodiment of the present disclosure is schematically shown.

[0131] like Figure 8 As shown, in Figure 6 Based on the data processing method shown in FIG. 1 , the data processing method of this embodiment may further include operations S521 to S525 for transferring time domain data to the computing module and generating target frequency domain data according to a specific computing method. It should be noted that other implementation details of the data processing method of this embodiment can be found in Figure 6 The embodiment of the data processing method shown will not be described in detail here.

[0132] In operation S521, a plurality of fourth sample points are obtained from the time domain data, wherein the fourth sample points are values ​​of the signal at the same time interval.

[0133] In some embodiments, the time domain data is divided into a plurality of fourth sample points, each of which represents a value of the signal at a time interval, wherein the number of the fourth sample points is usually a power of 2 to improve the computational efficiency of the FFT algorithm.

[0134] In operation S522 , the plurality of fourth sample points are paired in pairs to obtain a plurality of fourth sample pairs.

[0135] In some embodiments, the plurality of fourth sample points are paired in pairs to obtain a plurality of fourth sample pairs, wherein each fourth sample pair consists of two fourth sample points, one of which is located at an even position and the other is located at an odd position.

[0136] In operation S523 , a butterfly operation is performed on the plurality of fourth sample pairs to obtain a plurality of fifth sample points.

[0137] In some embodiments, a butterfly operation is performed on the fourth sample point in each fourth sample pair to obtain a fifth sample point, wherein the butterfly operation refers to a process of performing complex multiplication and addition operations on two sample points.

[0138] Specifically, the butterfly operation process includes: multiplying the two fourth sample points by the rotation factors respectively to obtain a first multiplication result and a second multiplication result; adding the first multiplication result and the second multiplication result to obtain the real part of the fifth sample point; subtracting the first multiplication result from the second multiplication result to obtain the imaginary part of the fifth sample point.

[0139] In operation S524 , a pairing operation and a butterfly operation are performed on the plurality of fifth sample points to obtain a plurality of sixth sample points.

[0140] In some embodiments, operations S522 to S523 are repeatedly performed on the plurality of fifth sample points obtained through operation S523 to obtain a plurality of sixth sample points.

[0141] In operation S525, when the obtained result satisfies a preset condition, the result is determined as second frequency domain data.

[0142] In some embodiments, the preset condition is that the number of sample points is 1. After performing operations S522 to S523, the number of sample points is counted, and when the number of sample points is greater than 1, operations S522 to S523 are repeatedly performed. When the number of sample points is equal to 1, the sample point is determined as the target frequency domain data.

[0143] Fig. 9 The block diagram schematically shows a data processing device according to an embodiment of the present disclosure.

[0144] like Fig. 9 As shown, the data processing device includes a determination module 910 , a first processing module 920 , a calculation module 930 and a second processing module 940 .

[0145] The determination module 910 is used to determine the type of input data. In one embodiment, the determination module 910 can be used to perform the operation S210A described above, which will not be described in detail here.

[0146] The first processing module 920 is used to perform a first processing operation on the input data when the input data is frequency domain data, convert the format of the input data from the first format to the second format, and obtain first frequency domain data; wherein the first format and the second format have a corresponding relationship. In one embodiment, the first processing module 920 can be used to perform the operation S220A described above, which will not be repeated here.

[0147] The operation module 930 is used to transfer the first frequency domain data to the calculation module, and generate the second frequency domain data based on a specific operation method. In one embodiment, the operation module 930 can be used to perform the operation S230A described above, which will not be described in detail here.

[0148] The second processing module 940 is used to perform a second processing operation on the second frequency domain data, convert the format of the second frequency domain data from the second format to the first format, and obtain the target time domain data. In one embodiment, the second processing module 940 can be used to perform the operation S240A described above, which will not be repeated here.

[0149] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging circuits, or can be implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.

[0150] For example, any of the determination module 910, the first processing module 920, the operation module 930, and the second processing module 940 can be combined in one module / unit / sub-unit for implementation, or any of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the determination module 910, the first processing module 920, the operation module 930, and the second processing module 940 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware, and firmware, or by a suitable combination of any of them. Alternatively, at least one of the determination module 910 , the first processing module 920 , the operation module 930 , and the second processing module 940 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be executed.

[0151] It should be noted that the data processing system part in the embodiments of the present disclosure corresponds to the data processing method part in the embodiments of the present disclosure. The description of the data processing system part specifically refers to the data processing method part, which will not be repeated here.

[0152] Fig.10 A block diagram of an electronic device suitable for implementing the data processing method according to an embodiment of the present disclosure is schematically shown. Fig.10 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0153] like Fig.10 As shown, the electronic device 1000 according to an embodiment of the present disclosure includes a processor 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 to a random access memory (RAM) 1003. The processor 1001 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 1001 may also include an onboard memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0154] In RAM 1003, various programs and data required for the operation of electronic device 1000 are stored. Processor 1001, ROM 1002 and RAM 1003 are connected to each other via bus 1004. Processor 1001 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1002 and / or RAM 1003. It should be noted that the program can also be stored in one or more memories other than ROM 1002 and RAM 1003. Processor 1001 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0155] According to an embodiment of the present disclosure, the electronic device 1000 may further include an input / output (I / O) interface 1005, which is also connected to the bus 1004. The electronic device 1000 may further include one or more of the following components connected to the input / output (I / O) interface 1005: an input portion 1006 including a keyboard, a mouse, etc.; an output portion 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1008 including a hard disk, etc.; and a communication portion 1009 including a network interface card such as a LAN card, a modem, etc. The communication portion 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the input / output (I / O) interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage portion 1008 as needed.

[0156] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the processor 1001, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0157] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0158] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.

[0159] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 1002 and / or the RAM 1003 described above and / or one or more memories other than the ROM 1002 and the RAM 1003 .

[0160] The embodiments of the present disclosure also include a computer program product, which includes a computer program, which contains program code for executing the method provided by the embodiments of the present disclosure. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement the data processing method provided by the embodiments of the present disclosure.

[0161] When the computer program is executed by the processor 1001, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0162] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 1009, and / or installed from the removable medium 1011. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0163] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0164] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0165] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A data processing method, comprising: Determine the data type of the input data; In the case where the input data is frequency domain data, performing a first processing operation on the input data to convert the format of the input data from a first format to a second format to obtain first frequency domain data; The first frequency domain data is transmitted to a computing module, and second frequency domain data is generated based on a specific computing method; Performing a second processing operation on the second frequency domain data to convert the format of the second frequency domain data from the second format to the first format to obtain target time domain data; The first format and the second format have a corresponding relationship.

2. The data processing method according to claim 1, wherein: The imaginary part of the first format input data is the real part of the second format input data, and the real part of the first format input data is the imaginary part of the second format input data; The first format is obtained by performing a complex conjugate operation on the imaginary part in the second format.

3. The data processing method according to claim 1, further comprising: Cache the first frequency domain data to a first address; When the current scheduling situation meets the preset condition, adding a first identifier to the cached first frequency domain data and sending the first frequency domain data after adding the identifier to the computing module; Output data of the computing module is obtained, and when an identifier of the output data is a first identifier, an output mode of the output data is determined to be a first output mode.

4. The data processing method according to claim 3, wherein: The adding a first identifier to the cached first frequency domain data when the current scheduling situation meets a preset condition includes: In response to the state of the transmission start signal of the first frequency domain data changing from a low level to a high level, a first identifier is added to the first frequency domain data.

5. The data processing method according to claim 3, wherein: The first output mode includes: Performing a second processing operation on the output data to obtain target time domain data; The target time domain data is output based on the first path.

6. The method according to claim 1, wherein the step of transferring the first frequency domain data to a computing module and generating the second frequency domain data based on a specific computing method comprises: Acquire a plurality of first sample points from the first frequency domain data, wherein the first sample points are values ​​of the signal at different frequencies; Pairing the plurality of first sample points in pairs to obtain a plurality of first sample pairs; Performing a butterfly operation on the plurality of first sample pairs to obtain a plurality of second sample points; Performing a pairing operation and a butterfly operation on the plurality of second sample points to obtain a plurality of third sample points; Repeat the above steps, and when the obtained result meets the preset condition, determine the result as the second frequency domain data.

7. The data processing method according to claim 1, further comprising: When the input data is time domain data, the time domain data is transmitted to a calculation module, and target frequency domain data is generated according to a specific calculation method.

8. The data processing method according to claim 7, further comprising: Cache the time domain data to a second address; When the current scheduling situation meets the preset condition, a second identifier is added to the cached time domain data and the time domain data with the identifier added is sent to the computing module; Acquire output data of the computing module, and when the identifier of the output data is the second identifier, determine that the output mode of the output data is the second output mode; The second output method includes: outputting target frequency domain data based on a second path.

9. The method according to claim 7, wherein the step of transferring the time domain data to a computing module and generating target frequency domain data according to a specific computing method comprises: Acquire a plurality of fourth sample points from the time domain data, wherein the fourth sample points are values ​​of the signal at the same time interval; Pairing the plurality of fourth sample points in pairs to obtain a plurality of fourth sample pairs; Performing a butterfly operation on the plurality of fourth sample pairs to obtain a plurality of fifth sample points; Performing a pairing operation and a butterfly operation on the plurality of fifth sample pairs to obtain a plurality of sixth sample points; Repeat the above steps, and when the obtained result meets the preset conditions, determine the result as the target frequency domain data.

10. A data processing device, comprising: A determination module, used to determine the type of input data; A first processing module, configured to perform a first processing operation on the input data when the input data is frequency domain data, convert the format of the input data from a first format to a second format, and obtain first frequency domain data; wherein the first format and the second format have a corresponding relationship; A calculation module, used for transferring the first frequency domain data to a calculation module, and generating second frequency domain data based on a specific calculation method; The second processing module is used to perform a second processing operation on the second frequency domain data, convert the format of the second frequency domain data from the second format to the first format, and obtain target time domain data.

Citation Information

Cited By

  • PUCCH (Physical Uplink Control Channel) processing device, receiver and base station

    CN121012604A