A data processing method and device
By adding a large-capacity target cache area between CPRI and L2, the problem of data overflow and loss caused by the processor occupying the L2 bus for a long time is solved, and the reliability and efficiency of data movement are improved.
Patent Information
- Application Number
- CN202011226526.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-04
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-11-04
AI Technical Summary
In cellular communication systems, the CPRI data stream cannot be written to L2/M2 in time because the processor occupies the L2 bus for a long time, causing data overflow and loss.
Add a large-capacity target buffer area between CPRI and L2. The received I/Q data is first buffered in the buffer area, and the data of the preset length is periodically moved to L2 to avoid frequent preemption of the L2 bus.
It reduces the probability of L2 bus preemption failure, reduces BBU CPRI data overflow loss, and improves the reliability of data migration.
Smart Images

Figure CN114442909B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile communication technology, and in particular to a data processing method and device. Background Art
[0002] The antenna interface (Antenna Interfac, AIF) is mainly used for the transmission of baseband antenna data between the radio frequency subsystem (RRU) and the baseband subsystem (BBU) in the cellular communication system, such as Figure 1 As shown in the figure, Common Public Radio Interface (CPRI) is a data format protocol of AIF. The CPRI link transmits multiple baseband I / Q (In-phase and quadrature data) data streams, and each I / Q data stream corresponds to a carrier and an antenna (AxC).
[0003] After receiving the I / Q data from the RRU, the BBU usually stores it in the system's L2 cache (L2). L2 has a faster access speed than the ordinary double-rate synchronous dynamic random access memory (DDR), making it easier to perform subsequent decoding operations such as inverse Fourier transform (inverse fast Fourier transform) and demodulation on the received I / Q data in a timely manner.
[0004] In addition, the system usually defaults to using the entire L2 space as a cache memory (Cache), but in the actual use of CPRI data flow, a part of the L2 space will be set to M2 mode to store I / Q data. This M2 mode will not be used as a cache swap, similar to ordinary DDR but retains the access speed of L2.
[0005] In addition, if Figure 2 As shown in the figure, peripherals including CPRI, decoding acceleration unit, direct memory access (DMA) unit, Ethernet interface, etc. are all connected to the CoreNet Coherency Bus (hereinafter referred to as L2 bus), which is usually scheduled in time slice cycles, that is, each peripheral has a periodic and equal opportunity to access L2; at the same time, the processor core (Core) access to L2 is not subject to the above bus access constraints. As long as the access data volume is greater than 1KB (such as memset and memcpy large data volume operations), it will be forced to occupy the L2 bus until the access is completed, and it is not subject to time slice scheduling constraints. This brings the following problems:
[0006] If the processor continuously accesses large amounts of data, it will force the L2 bus to be occupied for a long time, which will cause CPRI to fail to seize the L2 bus, resulting in I / Q data streams that have very strict timing requirements not being written to L2 / M2 in time. At the same time, the cache inside the CPRI hardware interface is usually very small (the cache for each line flow is much smaller than the length of an LTE OFDM symbol), which is not enough to retain data for a long time, resulting in data overflow and loss.
[0007] As can be seen from the above, during the actual use of the CPRI data flow, the L2 bus is preempted, which sometimes causes the CPRI data to not be written to the L2 in time, thereby causing the BBU CPRI data to overflow and be lost. Summary of the invention
[0008] The embodiments of the present invention provide a data processing method and device to reduce the probability of failure in preempting the L2 bus to a certain extent, thereby reducing BBU CPRI data overflow loss to a certain extent.
[0009] In a first aspect, an embodiment of the present invention provides a data processing method, the method comprising:
[0010] Receiving in-phase and quadrature data through a universal public wireless interface, storing the received in-phase and quadrature data in a preset target buffer area, and periodically moving the in-phase and quadrature data of a preset length from the target buffer area to a system secondary buffer;
[0011] The target cache area is a cache space outside the cache space inside the universal public wireless interface, and the maximum amount of data that the target cache area can accommodate and the amount of data represented by the preset length are both greater than the maximum amount of data that the cache space inside the universal public wireless interface can accommodate.
[0012] Optionally, the preset length includes a first length to an Nth length, where N represents the number of orthogonal frequency division multiplexing OFDM symbols included in a time slot;
[0013] The periodically moving the in-phase and orthogonal data of a preset length from the target buffer area to the system secondary buffer includes:
[0014] When starting to receive in-phase and quadrature data through a universal public wireless interface, setting a first timer duration to a first duration, starting the first timer, and when the first timer times out, performing a first data move to move the in-phase and quadrature data of the first length from the target buffer area to the system secondary buffer;
[0015] When i is an integer between 2 and N, the following process is performed respectively:
[0016] When the (i-1)th data move is completed, the duration of the first timer is set to the (i)th duration, the first timer is started, and when the first timer times out, the (i)th data move is performed to move the in-phase and orthogonal data of the (i)th length from the target buffer area to the system secondary buffer;
[0017] Until the Nth move is completed, return to the step of setting the duration of the first timer to the first duration, start the first timer, and perform the first data move when the first timer times out, so as to move the in-phase and orthogonal data of the first length from the target buffer area to the system secondary cache;
[0018] The jth duration is equal to the sum of the duration of the j-1th OFDM symbol and the duration of the cyclic prefix CP located before the j-1th OFDM symbol and adjacent to the j-1th OFDM symbol;
[0019] The j-th length is equal to the sum of the length of the j-1-th OFDM symbol and the length of the CP located before the j-1-th OFDM symbol and adjacent to the j-1-th OFDM symbol, where j is an integer greater than 0 and less than or equal to N.
[0020] Optionally, the target buffer area includes a sub-area corresponding to each antenna;
[0021] The step of storing the received in-phase and quadrature data in a preset target buffer area includes:
[0022] storing the received in-phase and quadrature data in a sub-region corresponding to the target antenna to which the in-phase and quadrature data belong;
[0023] Moving the in-phase and orthogonal data of the jth length from the target buffer area to the system secondary buffer, comprising:
[0024] The in-phase and orthogonal data of the jth length are moved from the sub-area corresponding to the target antenna to the system L2 cache.
[0025] Optionally, the method further includes:
[0026] When the in-phase and quadrature data migration fails, starting a second timer, and cyclically performing a volatile variable (volatile) type operation until the second timer times out;
[0027] The duration of the second timer is equal to the sum of the duration of an OFDM symbol and the duration of the longest cyclic prefix in a time slot structure.
[0028] Optionally, the target cache area is a cache area in a double rate synchronous dynamic random access memory.
[0029] Optionally, the periodically moving the in-phase and orthogonal data of a preset length from the target buffer area to the system secondary cache includes:
[0030] The in-phase and orthogonal data of a preset length are periodically moved from the target cache area to the system secondary cache through a direct memory access controller.
[0031] Optionally, the capacity of the buffer area corresponding to each antenna is greater than a preset threshold;
[0032] Wherein, the preset threshold represents the sum of the first symbol length and the second symbol length;
[0033] The first symbol length is the length of an OFDM symbol using a first preset number of sampling points and a preset sampling bit width, and the first preset number of sampling points is the maximum number of inverse fast Fourier transform sampling points in a long term evolution system;
[0034] The second symbol length is the length of a cyclic prefix using a second preset sampling point number, and the second preset sampling point number is the maximum inverse fast Fourier transform sampling point number of the cyclic prefix in the long term evolution system.
[0035] In a second aspect, an embodiment of the present invention further provides a base station, including a memory, a transceiver, and a processor:
[0036] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor, the transceiver comprising a universal public radio interface; a processor for reading the computer program in the memory and performing the following operations:
[0037] Controlling the universal public wireless interface to receive in-phase and quadrature data, storing the received in-phase and quadrature data in a preset target buffer area, and periodically moving the in-phase and quadrature data of a preset length from the target buffer area to a system secondary buffer;
[0038] The target cache area is a cache space outside the cache space inside the universal public wireless interface, and the maximum amount of data that the target cache area can accommodate and the amount of data represented by the preset length are both greater than the maximum amount of data that the cache space inside the universal public wireless interface can accommodate.
[0039] Optionally, the preset length includes a first length to an Nth length, where N represents the number of orthogonal frequency division multiplexing OFDM symbols included in a time slot;
[0040] When the processor periodically moves the in-phase and orthogonal data of a preset length from the target cache area to the system secondary cache, it is specifically used to:
[0041] When starting to receive in-phase and quadrature data through a universal public wireless interface, setting a first timer duration to a first duration, starting the first timer, and when the first timer times out, performing a first data move to move the in-phase and quadrature data of the first length from the target buffer area to the system secondary buffer;
[0042] When i is an integer between 2 and N, the following process is performed respectively:
[0043] When the (i-1)th data move is completed, the duration of the first timer is set to the (i)th duration, the first timer is started, and when the first timer times out, the (i)th data move is performed to move the in-phase and orthogonal data of the (i)th length from the target buffer area to the system secondary buffer;
[0044] Until the Nth move is completed, return to the step of setting the duration of the first timer to the first duration, start the first timer, and perform the first data move when the first timer times out, so as to move the in-phase and orthogonal data of the first length from the target buffer area to the system secondary cache;
[0045] The jth duration is equal to the sum of the duration of the j-1th OFDM symbol and the duration of the cyclic prefix CP located before the j-1th OFDM symbol and adjacent to the j-1th OFDM symbol;
[0046] The j-th length is equal to the sum of the length of the j-1-th OFDM symbol and the length of the CP located before the j-1-th OFDM symbol and adjacent to the j-1-th OFDM symbol, where j is an integer greater than 0 and less than or equal to N.
[0047] Optionally, the target buffer area includes a sub-area corresponding to each antenna;
[0048] When the processor stores the received in-phase and quadrature data in a preset target buffer area, it is specifically used to:
[0049] storing the received in-phase and quadrature data in a sub-region corresponding to the target antenna to which the in-phase and quadrature data belong;
[0050] When the processor moves the in-phase and orthogonal data of the jth length from the target cache area to the system secondary cache, it is specifically used to:
[0051] The in-phase and orthogonal data of the jth length are moved from the sub-area corresponding to the target antenna to the system L2 cache.
[0052] Optionally, the processor is further configured to:
[0053] When the in-phase and quadrature data migration fails, starting a second timer, and cyclically performing a volatile variable type operation until the second timer times out;
[0054] The duration of the second timer is equal to the sum of the duration of an OFDM symbol and the duration of the longest cyclic prefix in a time slot structure.
[0055] Optionally, the target cache area is a cache area in a double rate synchronous dynamic random access memory.
[0056] Optionally, when the processor periodically moves the in-phase and orthogonal data of a preset length from the target cache area to the system secondary cache, it is specifically configured to:
[0057] The in-phase and orthogonal data of a preset length are periodically moved from the target cache area to the system secondary cache through a direct memory access controller.
[0058] Optionally, the capacity of the buffer area corresponding to each antenna is greater than a preset threshold;
[0059] Wherein, the preset threshold represents the sum of the first symbol length and the second symbol length;
[0060] The first symbol length is the length of an OFDM symbol using a first preset number of sampling points and a preset sampling bit width, and the first preset number of sampling points is the maximum number of inverse fast Fourier transform sampling points in a long term evolution system;
[0061] The second symbol length is the length of a cyclic prefix using a second preset sampling point number, and the second preset sampling point number is the maximum inverse fast Fourier transform sampling point number of the cyclic prefix in the long term evolution system.
[0062] In a third aspect, an embodiment of the present invention further provides a data processing device, the device comprising:
[0063] A data processing module, used for receiving in-phase and quadrature data through a universal public wireless interface, storing the received in-phase and quadrature data in a preset target buffer area, and periodically moving the in-phase and quadrature data of a preset length from the target buffer area to a system secondary buffer;
[0064] The target cache area is a cache space outside the cache space inside the universal public wireless interface, and the maximum amount of data that the target cache area can accommodate and the amount of data represented by the preset length are both greater than the maximum amount of data that the cache space inside the universal public wireless interface can accommodate.
[0065] In a fourth aspect, an embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the data processing method as described above when executing the computer program.
[0066] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the data processing method as described above are implemented.
[0067] In an embodiment of the present invention, a target buffer area is added between CPRI and L2 in advance, and when I / Q data is received through CPRI, the received I / Q data is cached in the target buffer area, and I / Q data of a preset length is periodically moved from the target buffer area to L2, wherein the target buffer area is a buffer space outside the buffer space inside CPRI, and the maximum amount of data that can be accommodated in the target buffer area and the amount of data represented by the preset length are both greater than the maximum amount of data that can be accommodated in the buffer space inside CPRI.
[0068] Among them, in the prior art, after CPRI receives I / Q data, it will be cached in the cache space inside CPRI, and then written into L2. However, the cache space inside CPRI in the prior art is very small, so there will be frequent preemption of L2 bus. In the embodiment of the present invention, a large-capacity data cache area is added between CPRI and L2, so that more data can be cached, and more data can be moved to L2 at one time, which increases the cycle of accessing L2, that is, to a certain extent, reduces the probability of preempting L2 bus, so that compared with the prior art, the probability of failure to preempt L2 bus can be reduced to a certain extent, and the overflow loss of BBU CPRI data can be reduced to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0070] Figure 1 A schematic diagram of CPRI data flow transmission between RRU and BBU in the prior art;
[0071] Figure 2 It is a schematic diagram of L2 bus access in the prior art;
[0072] Figure 3A flowchart of a data processing method provided by an embodiment of the present invention;
[0073] Figure 4 A schematic diagram of a specific implementation of a data processing method provided by an embodiment of the present invention;
[0074] Figure 5 A schematic diagram of the allocation of target cache areas in an embodiment of the present invention;
[0075] Figure 6 A schematic diagram of a 0.5ms time slot structure in LTE;
[0076] Figure 7 A flowchart of a data processing method provided in an embodiment of the present invention in a specific implementation manner;
[0077] Figure 8 A structural block diagram of a data processing device provided by an embodiment of the present invention;
[0078] Fig. 9 A structural block diagram of a base station provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0079] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0080] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present invention. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0081] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0082] In the embodiments provided by the present invention, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0083] The embodiments of the present application provide a data processing method and device to reduce the probability of failure in preempting the L2 bus to a certain extent, thereby reducing BBU CPRI data overflow loss to a certain extent.
[0084] Among them, the method and the device are based on the same application concept. Since the method and the device solve the problem in a similar principle, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.
[0085] In addition, the technical solution provided in the embodiment of the present application can be applicable to a variety of systems, especially 5G systems. For example, the applicable system can be a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) general packet radio service (GPRS) system, a long term evolution (LTE) system, a LTE frequency division duplex (FDD) system, a LTE time division duplex (TDD) system, an advanced long term evolution (LTE-A) system, a universal mobile telecommunication system (UMTS), a world-wide interoperability for microwave access (WiMAX) system, a 5G new radio (NR) system, etc. These various systems include terminal equipment and network equipment. The system may also include a core network part, such as an evolved packet system (EPS), a 5G system (5GS), etc.
[0086] The network device involved in the embodiment of the present application may be a base station, which may include multiple cells providing services for the terminal. Depending on the specific application scenario, the base station may also be called an access point, or may be a device in the access network that communicates with the wireless terminal device through one or more sectors on the air interface, or other names. The network device may be used to interchange received air frames with Internet Protocol (IP) packets, and serve as a router between the wireless terminal device and the rest of the access network, wherein the rest of the access network may include an Internet Protocol (IP) communication network. The network device may also coordinate the attribute management of the air interface. For example, the network device involved in the embodiments of the present application may be a network device (Base Transceiver Station, BTS) in the Global System for Mobile communications (Global System for Mobile communications, GSM) or Code Division Multiple Access (Code Division Multiple Access, CDMA), or a network device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or an evolutionary network device (evolutional Node B, eNB or e-NodeB) in the long term evolution (long term evolution, LTE) system, a 5G base station (gNB) in the 5G network architecture (next generation system), or a home evolved Node B (Home evolved Node B, HeNB), a relay node, a home base station (femto), a pico base station (pico), etc., which is not limited in the embodiments of the present application. In some network structures, the network device may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be arranged geographically separately.
[0087] like Figure 3 As shown, an embodiment of the present invention provides a data processing method, which may include the following steps:
[0088] Step 301: Receive in-phase and quadrature data through a universal public wireless interface, store the received in-phase and quadrature data in a preset target buffer area, and periodically move the in-phase and quadrature data of a preset length from the target buffer area to the system secondary cache.
[0089] The target cache area is a cache space outside the cache space inside the universal public wireless interface, and the maximum amount of data that the target cache area can accommodate and the amount of data represented by the preset length are both greater than the maximum amount of data that the cache space inside the universal public wireless interface can accommodate.
[0090] As can be seen from the above, in an embodiment of the present invention, a target buffer area is added between CPRI and L2 in advance, and when I / Q data is received through CPRI, the received I / Q data is cached in the target buffer area, and I / Q data of a preset length is periodically moved from the target buffer area to L2, wherein the target buffer area is a buffer space outside the buffer space inside CPRI, and the maximum amount of data that can be accommodated in the target buffer area and the amount of data represented by the preset length are both greater than the maximum amount of data that can be accommodated in the buffer space inside CPRI.
[0091] Among them, in the prior art, after CPRI receives I / Q data, it will be cached in the cache space inside CPRI, and then written into L2. However, the cache space inside CPRI in the prior art is very small, so there will be frequent preemption of L2 bus. In the embodiment of the present invention, a large-capacity data cache area is added between CPRI and L2, so that more data can be cached, and more data can be moved to L2 at one time, which increases the cycle of accessing L2, that is, to a certain extent, reduces the probability of preempting L2 bus, so that compared with the prior art, the probability of failure to preempt L2 bus can be reduced to a certain extent, and the overflow loss of BBU CPRI data can be reduced to a certain extent.
[0092] Optionally, the preset length includes a first length to an Nth length, where N represents the number of orthogonal frequency division multiplexing OFDM symbols included in a time slot;
[0093] The periodically moving the data of the preset length from the target buffer area to the system secondary buffer includes:
[0094] The periodically moving the in-phase and orthogonal data of a preset length from the target buffer area to the system secondary buffer includes:
[0095] When starting to receive in-phase and quadrature data through a universal public wireless interface, setting a first timer duration to a first duration, starting the first timer, and when the first timer times out, performing a first data move to move the in-phase and quadrature data of the first length from the target buffer area to the system secondary buffer;
[0096] When i is an integer between 2 and N, the following process is performed respectively:
[0097] When the (i-1)th data move is completed, the duration of the first timer is set to the (i)th duration, the first timer is started, and when the first timer times out, the (i)th data move is performed to move the in-phase and orthogonal data of the (i)th length from the target buffer area to the system secondary buffer;
[0098] Until the Nth move is completed, return to the step of setting the duration of the first timer to the first duration, start the first timer, and perform the first data move when the first timer times out, so as to move the in-phase and orthogonal data of the first length from the target buffer area to the system secondary cache;
[0099] The jth duration is equal to the sum of the duration of the j-1th orthogonal frequency division multiplexing OFDM symbol and the duration of the cyclic prefix CP located before the j-1th OFDM symbol and adjacent to the j-1th OFDM symbol;
[0100] The j-th length is equal to the sum of the length of the j-1-th OFDM symbol and the length of the CP located before the j-1-th OFDM symbol and adjacent to the j-1-th OFDM symbol, where j is an integer greater than 0 and less than or equal to N.
[0101] For example Figure 6 As shown in the figure, in LTE, a 0.5ms time slot consists of 7 OFDM symbols and cyclic prefixes (CPs) of different lengths, where each OFDM symbol has a duration of 66.7us, and the duration of the CPs is different. The duration of the 0th CP in each time slot is 5.2us, and the duration of the other CPs is 4.7us. It can be seen that in LTE, the duration of the CP before the 0th OFDM symbol is the longest, and the duration of the other CPs is the same.
[0102] Therefore, if the embodiment of the present invention is applied to LTE, the timing duration of the above timer is 66.7us+5.2us (ie, 71.9us) or 66.7us+4.7us (ie, 71.4us).
[0103] Among them, when the aforementioned timer times out, it will trigger the I / Q data in the target buffer area to be moved to L2. In the embodiment of the present invention, the length of one data move is the length of one symbol + CP. Since the CP length in a time slot is different, the length of each move is also different. That is, when the timing length of the aforementioned timer is 71.4us, 8192+572 (i.e. 8764)B of I / Q data are moved from the target buffer area to L2; when the timing length of the aforementioned timer is 71.9us, DMA moves 8192+640 (i.e. 8832)B of I / Q data from the target buffer area to L2. .
[0104] Specifically, when CPRI starts to receive I / Q data, the timer will be configured with a timing duration of 71.9us and the timer will be started. At the same time, CPRI will store the continuously received I / Q data in the target buffer area. When the timer with a duration of 71.9us times out, the amount of data stored in the target buffer area has reached the first length (i.e., the 0th OFDM symbol in a time slot (i.e., Figure 6 The sum of the length of the OFDM symbol 0) shown in FIG. 1 and the length of the 0th CP) can move the data of the first length from the target buffer area to L2;
[0105] Then, when the first move is completed, the timer is configured to have a timing duration of 71.4us and the timer is started. At the same time, CPRI will also store the continuously received I / Q data in the target buffer area. When the timer with a duration of 71.4us times out, the amount of data stored in the target buffer area has reached the second length (i.e., the first OFDM symbol in a time slot (i.e., Figure 6 The sum of the length of the OFDM symbol 1) shown in FIG. 1 and the length of the first CP), the data of the second length can be moved from the target buffer area to L2;
[0106] Then, when the second move is completed, the timer is configured to have a timing length of 71.4us and the timer is started. At the same time, CPRI will also store the continuously received I / Q data in the target buffer area. When the timer with a duration of 71.4us times out, the amount of data stored in the target buffer area has reached the third length (i.e., the second OFDM symbol in a time slot (i.e., Figure 6 The sum of the length of the OFDM symbol 2) shown in FIG. 1 and the length of the second CP) can move data of the third length from the target buffer area to L2;
[0107] When the seventh migration is completed, one cycle of data migration is completed.
[0108] After that, the timer with a duration of 71.9 us is started again to continue the data transfer of the next cycle.
[0109] When each of the above data migrations is completed, an interrupt will be triggered to the CPU, so that the CPU configures a timer for the next data migration and starts it, thereby performing the next data migration.
[0110] In addition, it should be noted that, in the process of moving data from the target buffer area to L2, the data is moved according to the length of an OFDM symbol + the length of the CP before and adjacent to the OFDM symbol, thereby avoiding data confusion caused by data movement.
[0111] Optionally, the target buffer area includes a sub-area corresponding to each antenna;
[0112] The step of storing the received in-phase and quadrature data in a preset target buffer area includes:
[0113] storing the received in-phase and quadrature data in a sub-region corresponding to the target antenna to which the in-phase and quadrature data belong;
[0114] Moving the in-phase and orthogonal data of the jth length from the target buffer area to the system secondary buffer, comprising:
[0115] The in-phase and orthogonal data of the jth length are moved from the sub-area corresponding to the target antenna to the system L2 cache.
[0116] like Figure 5 As shown, the target buffer area is divided according to different antenna streams, such as AxC0, AxC1, AxC2...AxCn. That is, the target buffer area is divided into multiple sub-areas, and one sub-area is used to store the data of one antenna, that is, there is one sub-area corresponding to one antenna. In this case, during the j-th data movement process, the data of the j-th length in the sub-area corresponding to the antenna to which the I / Q data received by this CPRI belongs needs to be moved to L2. For example, this time the CPRI receives the I / Q data of AxC0 and AxC1, then during the j-th data movement process, the data of the j-th length in the sub-area corresponding to the AxC0 and AxC1 antennas needs to be moved to L2.
[0117] Optionally, the method further includes:
[0118] When the in-phase and quadrature data migration fails, starting a second timer, and performing volatile type operations in a loop until the second timer times out;
[0119] The duration of the second timer is equal to the sum of the duration of an orthogonal frequency division multiplexing symbol and the duration of the cyclic prefix with the largest duration in a time slot structure.
[0120] In addition, the I / Q data needs to be moved from the target cache area to the L2, and if the L2 bus preemption fails, the I / Q data movement will fail. Specifically, in an embodiment of the present invention, when the L2 bus preemption fails, an interrupt will be triggered to the CPU, so that the CPU starts the second timer and performs volatile type operations in a loop within the timing time of the second timer until the second timer times out.
[0121] In addition, volatile is a feature modifier and instruction keyword that ensures that instructions will not be optimized by the compiler, and requires that data be read directly from DDR instead of Cache each time. Therefore, after performing volatile type operations, the CPU accesses volatile type variables by directly accessing DDR instead of accessing data cached in L2 Cache. During the timing of the second timer, the CPU will release the preemption of the L2 bus to successfully move the I / Q data from the target cache area to L2.
[0122] Optionally, the target cache area is a cache area in a double data rate synchronous dynamic random access memory (DDR).
[0123] That is, in the embodiment of the present invention, a target buffer area for buffering the I / Q data received by the CPRI may be set in the DDR.
[0124] Optionally, the periodically moving the in-phase and orthogonal data of a preset length from the target buffer area to the system secondary cache includes:
[0125] The in-phase and orthogonal data of a preset length are periodically moved from the target buffer area to the system secondary buffer through a direct memory access (DMA) controller.
[0126] Among them, the emergence of DMA technology allows peripheral devices to directly access the memory through the DMA controller. Therefore, in the embodiment of the present invention, the I / Q data in the target buffer area can be directly moved to the L2 through the DMA controller.
[0127] Optionally, the capacity of the buffer area corresponding to each antenna is greater than a preset threshold:
[0128] Wherein, the preset threshold represents the sum of the first symbol length and the second symbol length;
[0129] The first symbol length is the length of an orthogonal frequency division multiplexing symbol using a first preset number of sampling points and a preset sampling bit width, and the first preset number of sampling points is the maximum number of inverse fast Fourier transform sampling points in a long term evolution system;
[0130] The second symbol length is the length of a cyclic prefix using a second preset sampling point number, and the second preset sampling point number is the maximum inverse fast Fourier transform sampling point number of the cyclic prefix in the long term evolution system.
[0131] The preset sampling bit width may be 30 bits.
[0132] Specifically, for example, in LTE, the length of the buffer area corresponding to each antenna can accommodate the length of an OFDM symbol using the maximum IFFT point number (2048) and a 30-bit sampling width, that is, 8192 bytes; it also needs to include the length of the CP using the maximum IFFT point number (160), that is, 640 bytes. That is, in LTE, the capacity of the buffer area corresponding to each antenna is greater than 8192+640 (i.e., 8832) bytes.
[0133] In summary, the principles of the specific implementation of the data processing method of the embodiment of the present invention are as follows:
[0134] like Figure 4 As shown, first, a target buffer area for caching I / Q data received by CPRI is planned in DDR, and the target buffer area is divided according to different antenna streams, such as AxC0, AxC1, AxC2...AxCn. The length of each AxCn area is greater than 8832 bytes.
[0135] At the same time, a group of timers and DMAs synchronized with the 10ms wireless frame of the CPRI interface are also designed. The timeout duration of the timer in this group is set to the sum of the duration of an OFDM symbol and the duration of a CP. In a time slot, the duration of each OFDM symbol is 66.7us, and the duration of the CP is different. The duration of the 0th CP in a time slot is 5.2us, and the duration of other CPs is 4.7us, so the timing duration of the above timer is different. Specifically, the timing duration of the timer is 66.7us+5.2us (i.e. 71.9us) or 66.7us+4.7us (i.e. 71.4us).
[0136] Among them, when the aforementioned timer times out, DMA will be triggered to start working and move the I / Q data in the target buffer area to L2. The length of one data move is the length of one symbol + CP. Since the CP length in a time slot is different, the length of each move is also different. For example, in LTE, the length of OFDM in a time slot is 8192B, the length of the 0th CP is 640B, and the length of other CPs is 572B. Specifically, when the timing duration of the aforementioned timer is 71.9us, DMA moves 8192+640 (i.e., 8832)B of I / Q data from the target buffer area to L2. When the timing duration of the aforementioned timer is 71.4us, DMA moves 8192+572 (i.e., 8764)B of I / Q data from the target buffer area to L2.
[0137] In addition, when DMA completes a data move, it will trigger an interrupt to the CPU to prepare for the next move; and when the DMA move fails because the L2 bus still fails to seize, the DMA triggers an I / Q data overflow error interrupt to the CPU. After the CPU receives the overflow interrupt, it will perform a cycle of volatile type variable operations, and the cycle duration is one symbol + the maximum CP duration, that is, 66.7us + 5.2us = 71.9us. Among them, the purpose of the design of volatile variables is to enable the CPU to directly access the DDR when accessing volatile type variables, rather than accessing the data cached in the L2 memory. In this way, within 71.9us, the CPU will release the L2 bus preemption, so that the DMA can successfully move the I / Q data to the L2.
[0138] Based on the above principles, the specific implementation process of the data processing method of the embodiment of the present invention is as follows:
[0139] like Figure 7 As shown, through the external 10ms wireless frame synchronization signal, the CPRI interface starts to receive I / Q data and periodically writes it into the sub-area of each AxC in the pre-set DDR. Then, it starts to traverse the OFDM symbols in a time slot to determine whether the OFDM symbol encountered this time is the 0th OFDM symbol. If it is the 0th symbol, the timer duration is set to: 66.7us+5.2us (i.e. 71.9us); if it is not the 0th symbol, the timer duration is set to 66.7us+4.7us (i.e. 71.4us);
[0140] Then, start the timer, so that when the timer times out, determine whether the OFDM symbol encountered this time is the 0th OFDM symbol. If it is the 0th symbol, set the DMA shift length to the length of one symbol + the length of the 0th CP (i.e., 8192B+640B); if it is not the 0th symbol, set the DMA shift length to the length of one OFDM symbol + the length of other CPs (i.e., 8192B+572B);
[0141] Next, start DMA to move data, and then determine whether this data move is successful. If successful, determine whether the OFDM symbol encountered this time is the last OFDM symbol. If the OFDM symbol encountered this time is the last OFDM symbol, then complete a cycle of data move process, and then restart traversing the OFDM symbols in a time slot to move data for the next cycle. If the OFDM symbol encountered this time is not the last OFDM symbol, continue to traverse the OFDM symbols in a time slot, and jump to the previous step of "determining whether the OFDM symbol encountered this time is the 0th OFDM symbol";
[0142] If the data movement is not successful, the I / Q data overflow error interrupt processing function is entered to perform a non-L2 Cahe operation (i.e., a volatile type variable operation) with a duration of 71.9us, release the L2 bus occupied by the CPU, and notify the DMA to move the data again.
[0143] In summary, the cache inside the CPRI hardware interface is usually very small (the cache of each line flow is much smaller than the length of an LTEOFDM symbol), and small blocks of I / Q data are frequently moved to L2, and the probability of L2 bus preemption failure will be very high. In the embodiment of the present invention, a large-capacity CPRI data cache is added between the CPRI hardware interface and L2 to cache more data. When the cache reaches about a symbol length, it is moved to L2, which increases the access cycle of L2, and moves the I / Q data to L2 within a longer L2 access cycle, thereby improving the reliability of I / Q data movement. At the same time, if there is still a failure to preempt the L2 bus, the CPRI overflow error interrupt will be triggered to the CPU. After the CPU receives the error interrupt, it performs a non-cache operation of the maximum symbol + CP duration (i.e., performs a volatile type variable operation) in the error interrupt processing function, so that the CPU no longer occupies the L2 bus, and the DMA can store the I / Q data in L2. The coordinated use of the above two processes can better solve the problem that the L2 bus is preempted and the CPRI I / Q data sometimes cannot be written to L2 in time.
[0144] That is, the data processing method of the embodiment of the present invention uses the DDR cache area extended by CPRI to cache more data, lengthen the time interval for accessing L2, and greatly increase the chance of successfully preempting the L2 bus; at the same time, when the preemption of the L2 bus still fails, the L2 bus preempted by the CPU is released in a short time, which can further effectively solve the problem of CPRI I / Q data overflow.
[0145] The data processing method provided by the embodiment of the present invention is introduced above. The data processing device provided by the embodiment of the present invention will be introduced below with reference to the accompanying drawings.
[0146] See also Figure 8 The embodiment of the present invention further provides a data processing device, the device comprising:
[0147] The data processing module 801 is used to receive in-phase and quadrature data through a universal public wireless interface, store the received in-phase and quadrature data in a preset target buffer area, and periodically move the in-phase and quadrature data of a preset length from the target buffer area to a system secondary buffer;
[0148] The target cache area is a cache space outside the cache space inside the universal public wireless interface, and the maximum amount of data that the target cache area can accommodate and the amount of data represented by the preset length are both greater than the maximum amount of data that the cache space inside the universal public wireless interface can accommodate.
[0149] Optionally, the preset length includes a first length to an Nth length, where N represents the number of orthogonal frequency division multiplexing symbols included in one time slot;
[0150] When the data processing module 801 periodically moves the in-phase and quadrature data of a preset length from the target buffer area to the system secondary buffer, it is specifically used to:
[0151] When starting to receive in-phase and quadrature data through the universal public wireless interface, starting a first timer, and when the first timer times out, performing a first data move to move data of a first length from the target buffer area to the system secondary buffer;
[0152] When i is an integer between 2 and N, the following process is performed respectively:
[0153] When starting to receive in-phase and quadrature data through a universal public wireless interface, setting a first timer duration to a first duration, starting the first timer, and when the first timer times out, performing a first data move to move the in-phase and quadrature data of the first length from the target buffer area to the system secondary buffer;
[0154] When i is an integer between 2 and N, the following process is performed respectively:
[0155] When the (i-1)th data move is completed, the duration of the first timer is set to the (i)th duration, the first timer is started, and when the first timer times out, the (i)th data move is performed to move the in-phase and orthogonal data of the (i)th length from the target buffer area to the system secondary buffer;
[0156] Until the Nth move is completed, return to the step of setting the duration of the first timer to the first duration, start the first timer, and perform the first data move when the first timer times out, so as to move the in-phase and orthogonal data of the first length from the target buffer area to the system secondary cache;
[0157] The jth duration is equal to the sum of the duration of the j-1th orthogonal frequency division multiplexing OFDM symbol and the duration of the cyclic prefix CP located before the j-1th OFDM symbol and adjacent to the j-1th OFDM symbol;
[0158] The j-th length is equal to the sum of the length of the j-1-th OFDM symbol and the length of the CP located before the j-1-th OFDM symbol and adjacent to the j-1-th OFDM symbol, where j is an integer greater than 0 and less than or equal to N.
[0159] Optionally, the target buffer area includes a sub-area corresponding to each antenna; when the data processing module 801 stores the received in-phase and orthogonal data in the preset target buffer area, it is specifically used to:
[0160] storing the received in-phase and quadrature data in a sub-region corresponding to the target antenna to which the in-phase and quadrature data belong;
[0161] When the data processing module 801 moves the in-phase and orthogonal data of the jth length from the target buffer area to the system secondary buffer, it is specifically used to:
[0162] The in-phase and orthogonal data of the jth length are moved from the sub-area corresponding to the target antenna to the system L2 cache.
[0163] Optionally, the device further comprises:
[0164] An interrupt processing module, used for starting a second timer when the in-phase and quadrature data transfer fails, and cyclically performing volatile type operations until the second timer times out;
[0165] The duration of the second timer is equal to the sum of the duration of an OFDM and the duration of the cyclic prefix with the largest duration in a time slot structure.
[0166] Optionally, the target cache area is a cache area in a double rate synchronous dynamic random access memory.
[0167] Optionally, when the data processing module 801 periodically moves the in-phase and orthogonal data of a preset length from the target buffer area to the system secondary buffer, it is specifically used to:
[0168] The in-phase and orthogonal data of a preset length are periodically moved from the target cache area to the system secondary cache through a direct memory access controller.
[0169] Optionally, the capacity of the buffer area corresponding to each antenna is greater than a preset threshold:
[0170] Wherein, the preset threshold represents the sum of the first symbol length and the second symbol length;
[0171] The first symbol length is the length of an OFDM using a first preset number of sampling points and a preset sampling bit width, and the first preset number of sampling points is the maximum number of inverse fast Fourier transform sampling points in a long term evolution system;
[0172] The second symbol length is the length of a cyclic prefix using a second preset sampling point number, and the second preset sampling point number is the maximum inverse fast Fourier transform sampling point number of the cyclic prefix in the long term evolution system.
[0173] As can be seen from the above, in an embodiment of the present invention, a target buffer area is added between CPRI and L2 in advance, and when I / Q data is received through CPRI, the received I / Q data is cached in the target buffer area, and I / Q data of a preset length is periodically moved from the target buffer area to L2, wherein the target buffer area is a buffer space outside the buffer space inside CPRI, and the maximum amount of data that can be accommodated in the target buffer area and the amount of data represented by the preset length are both greater than the maximum amount of data that can be accommodated in the buffer space inside CPRI.
[0174] Among them, in the prior art, after CPRI receives I / Q data, it will be cached in the cache space inside CPRI, and then written into L2. However, the cache space inside CPRI in the prior art is very small, so there will be frequent preemption of L2 bus. In the embodiment of the present invention, a large-capacity data cache area is added between CPRI and L2, so that more data can be cached, and more data can be moved to L2 at one time, which increases the cycle of accessing L2, that is, to a certain extent, reduces the probability of preempting L2 bus, so that compared with the prior art, the probability of failure to preempt L2 bus can be reduced to a certain extent, and the overflow loss of BBU CPRI data can be reduced to a certain extent.
[0175] The data processing device provided by the embodiment of the present invention can realize Figure 3 To avoid repetition, the various processes implemented on the base station side in the method embodiment are not described here.
[0176] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0177] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0178] It should be noted here that the above-mentioned device provided in the embodiment of the present invention can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0179] An embodiment of the present invention further provides a base station, such as Fig. 9 As shown, it includes a memory 920, a transceiver 900, and a processor 910;
[0180] The memory 920 is used to store computer programs; the transceiver 900 is used to send and receive data under the control of the processor 910, and the transceiver 900 includes a universal public wireless interface; the processor 910 is used to read the computer program in the memory 920 and perform the following operations:
[0181] Controlling the universal public wireless interface to receive in-phase and quadrature data, storing the received in-phase and quadrature data in a preset target buffer area, and periodically moving the in-phase and quadrature data of a preset length from the target buffer area to a system secondary buffer;
[0182] The target cache area is a cache space outside the cache space inside the universal public wireless interface, and the maximum amount of data that the target cache area can accommodate and the amount of data represented by the preset length are both greater than the maximum amount of data that the cache space inside the universal public wireless interface can accommodate.
[0183] Optionally, the preset length includes a first length to an Nth length, where N represents the number of orthogonal frequency division multiplexing OFDM symbols included in a time slot;
[0184] When the processor 910 periodically moves the in-phase and orthogonal data of a preset length from the target cache area to the system secondary cache, it is specifically used to:
[0185] When starting to receive in-phase and quadrature data through a universal public wireless interface, setting a first timer duration to a first duration, starting the first timer, and when the first timer times out, performing a first data move to move the in-phase and quadrature data of the first length from the target buffer area to the system secondary buffer;
[0186] When i is an integer between 2 and N, the following process is performed respectively:
[0187] When the (i-1)th data move is completed, the duration of the first timer is set to the (i)th duration, the first timer is started, and when the first timer times out, the (i)th data move is performed to move the in-phase and orthogonal data of the (i)th length from the target buffer area to the system secondary buffer;
[0188] Until the Nth move is completed, return to the step of setting the duration of the first timer to the first duration, start the first timer, and perform the first data move when the first timer times out, so as to move the in-phase and orthogonal data of the first length from the target buffer area to the system secondary cache;
[0189] The jth duration is equal to the sum of the duration of the j-1th OFDM symbol and the duration of the cyclic prefix CP located before the j-1th OFDM symbol and adjacent to the j-1th OFDM symbol;
[0190] The j-th length is equal to the sum of the length of the j-1-th OFDM symbol and the length of the CP located before the j-1-th OFDM symbol and adjacent to the j-1-th OFDM symbol, where j is an integer greater than 0 and less than or equal to N.
[0191] Optionally, the target buffer area includes a sub-area corresponding to each antenna;
[0192] When the processor 910 stores the received in-phase and quadrature data in a preset target buffer area, it is specifically used to:
[0193] storing the received in-phase and quadrature data in a sub-region corresponding to the target antenna to which the in-phase and quadrature data belong;
[0194] When the processor moves the in-phase and orthogonal data of the jth length from the target cache area to the system secondary cache, it is specifically used to:
[0195] The in-phase and orthogonal data of the jth length are moved from the sub-area corresponding to the target antenna to the system L2 cache.
[0196] Optionally, the processor 910 is further configured to:
[0197] When the in-phase and quadrature data migration fails, starting a second timer, and performing volatile type operations in a loop until the second timer times out;
[0198] The duration of the second timer is equal to the sum of the duration of an OFDM symbol and the duration of the longest cyclic prefix in a time slot structure.
[0199] Optionally, the target cache area is a cache area in a double rate synchronous dynamic random access memory.
[0200] Optionally, when the processor 910 periodically moves the in-phase and orthogonal data of a preset length from the target cache area to the system secondary cache, it is specifically configured to:
[0201] The in-phase and orthogonal data of a preset length are periodically moved from the target cache area to the system secondary cache through a direct memory access controller.
[0202] Optionally, the capacity of the buffer area corresponding to each antenna is greater than a preset threshold;
[0203] Wherein, the preset threshold represents the sum of the first symbol length and the second symbol length;
[0204] The first symbol length is the length of an OFDM symbol using a first preset number of sampling points and a preset sampling bit width, and the first preset number of sampling points is the maximum number of inverse fast Fourier transform sampling points in a long term evolution system;
[0205] The second symbol length is the length of a cyclic prefix using a second preset sampling point number, and the second preset sampling point number is the maximum inverse fast Fourier transform sampling point number of the cyclic prefix in the long term evolution system.
[0206] Among them, Fig. 9In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 910 and various circuits of memory represented by memory 920 are linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 900 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, which transmission medium may include a wireless channel, a wired channel, an optical cable, and other transmission media. The processor 910 is responsible for managing the bus architecture and general processing, and the memory 920 may store data used by the processor 910 when performing operations.
[0207] The processor 910 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.
[0208] It should be noted here that the above-mentioned device provided in the embodiment of the present invention can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0209] An embodiment of the present invention further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the data processing method.
[0210] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0211] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0212] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0213] These processor executable instructions may also be stored in a processor readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0214] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0215] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A data processing method, It is characterized in that The method comprises: Receiving in-phase and quadrature data through a universal public wireless interface, storing the received in-phase and quadrature data in a preset target buffer area, and periodically moving the in-phase and quadrature data of a preset length from the target buffer area to a system secondary buffer; The target buffer area is a buffer space outside the buffer space inside the universal public wireless interface, the maximum amount of data that can be accommodated in the target buffer area, the amount of data represented by the preset length, and the amount of data moved each time are all greater than the maximum amount of data that can be accommodated in the buffer space inside the universal public wireless interface; If the universal public interface fails to seize the system secondary cache, triggering the universal public interface to send an interrupt signal to the central processing unit; In response to the central processing unit receiving the interrupt signal, the central processing unit releases the preemption of the system secondary cache.
2. The data processing method according to claim 1, It is characterized in that The preset length includes a first length to an Nth length, where N represents the number of orthogonal frequency division multiplexing OFDM symbols included in a time slot; The periodically moving the in-phase and orthogonal data of a preset length from the target buffer area to the system secondary buffer includes: When starting to receive in-phase and quadrature data through a universal public wireless interface, setting a first timer duration to a first duration, starting the first timer, and when the first timer times out, performing a first data move to move the in-phase and quadrature data of the first length from the target buffer area to the system secondary buffer; When i is an integer between 2 and N, the following process is performed respectively: When the (i-1)th data move is completed, the duration of the first timer is set to the (i)th duration, the first timer is started, and when the first timer times out, the (i)th data move is performed to move the in-phase and orthogonal data of the (i)th length from the target buffer area to the system secondary buffer; Until the Nth move is completed, return to the step of setting the duration of the first timer to the first duration, start the first timer, and perform the first data move when the first timer times out, so as to move the in-phase and orthogonal data of the first length from the target buffer area to the system secondary cache; The jth duration is equal to the sum of the duration of the j-1th OFDM symbol and the duration of the cyclic prefix CP located before the j-1th OFDM symbol and adjacent to the j-1th OFDM symbol; The j-th length is equal to the sum of the length of the j-1-th OFDM symbol and the length of the CP located before the j-1-th OFDM symbol and adjacent to the j-1-th OFDM symbol, where j is an integer greater than 0 and less than or equal to N.
3. The data processing method according to claim 2, It is characterized in that The target buffer area includes a sub-area corresponding to each antenna; The step of storing the received in-phase and quadrature data in a preset target buffer area includes: storing the received in-phase and quadrature data in a sub-region corresponding to the target antenna to which the in-phase and quadrature data belong; Moving the in-phase and orthogonal data of the jth length from the target buffer area to the system secondary buffer, comprising: The in-phase and orthogonal data of the jth length are moved from the sub-area corresponding to the target antenna to the system L2 cache.
4. The data processing method according to claim 1, It is characterized in that The method further comprises: When the in-phase and quadrature data migration fails, starting a second timer, and cyclically performing a volatile variable type operation until the second timer times out; The duration of the second timer is equal to the sum of the duration of an OFDM symbol and the duration of the longest cyclic prefix in a time slot structure.
5. The data processing method according to claim 1, It is characterized in that The target buffer area is a buffer area in a double rate synchronous dynamic random access memory.
6. The data processing method according to claim 1, It is characterized in that The periodically moving the in-phase and orthogonal data of a preset length from the target buffer area to the system secondary buffer includes: The in-phase and orthogonal data of a preset length are periodically moved from the target cache area to the system secondary cache through a direct memory access controller.
7. The data processing method according to claim 3, It is characterized in that The capacity of the buffer area corresponding to each antenna is greater than a preset threshold; Wherein, the preset threshold represents the sum of the first symbol length and the second symbol length; The first symbol length is the length of an OFDM symbol using a first preset number of sampling points and a preset sampling bit width, and the first preset number of sampling points is the maximum number of inverse fast Fourier transform sampling points in a long term evolution system; The second symbol length is the length of a cyclic prefix using a second preset sampling point number, and the second preset sampling point number is the maximum inverse fast Fourier transform sampling point number of the cyclic prefix in the long term evolution system.
8. A base station, It is characterized in that Including memory, transceiver, processor: Memory for storing computer programs; a transceiver, for transmitting and receiving data under the control of the processor, the transceiver comprising a universal public radio interface; A processor is configured to read the computer program in the memory and perform the following operations: Controlling the universal public wireless interface to receive in-phase and quadrature data, storing the received in-phase and quadrature data in a preset target buffer area, and periodically moving the in-phase and quadrature data of a preset length from the target buffer area to a system secondary buffer; The target buffer area is a buffer space outside the buffer space inside the universal public wireless interface, the maximum amount of data that can be accommodated in the target buffer area, the amount of data represented by the preset length, and the amount of data moved each time are all greater than the maximum amount of data that can be accommodated in the buffer space inside the universal public wireless interface; If the universal public interface fails to seize the system secondary cache, triggering the universal public interface to send an interrupt signal to the central processing unit; In response to the central processing unit receiving the interrupt signal, the central processing unit releases the preemption of the system secondary cache.
9. The base station according to claim 8, It is characterized in that The preset length includes a first length to an Nth length, where N represents the number of orthogonal frequency division multiplexing OFDM symbols included in a time slot; When the processor periodically moves the in-phase and orthogonal data of a preset length from the target cache area to the system secondary cache, it is specifically used to: When starting to receive in-phase and quadrature data through a universal public wireless interface, setting a first timer duration to a first duration, starting the first timer, and when the first timer times out, performing a first data move to move the in-phase and quadrature data of the first length from the target buffer area to the system secondary buffer; When i is an integer between 2 and N, the following process is performed respectively: When the (i-1)th data move is completed, the duration of the first timer is set to the (i)th duration, the first timer is started, and when the first timer times out, the (i)th data move is performed to move the in-phase and orthogonal data of the (i)th length from the target buffer area to the system secondary buffer; Until the Nth move is completed, return to the step of setting the duration of the first timer to the first duration, start the first timer, and perform the first data move when the first timer times out, so as to move the in-phase and orthogonal data of the first length from the target buffer area to the system secondary cache; The jth duration is equal to the sum of the duration of the j-1th OFDM symbol and the duration of the cyclic prefix CP located before the j-1th OFDM symbol and adjacent to the j-1th OFDM symbol; The j-th length is equal to the sum of the length of the j-1-th OFDM symbol and the length of the CP located before the j-1-th OFDM symbol and adjacent to the j-1-th OFDM symbol, where j is an integer greater than 0 and less than or equal to N.
10. The base station according to claim 9, It is characterized in that The target buffer area includes a sub-area corresponding to each antenna; When the processor stores the received in-phase and quadrature data in a preset target buffer area, it is specifically used to: storing the received in-phase and quadrature data in a sub-region corresponding to the target antenna to which the in-phase and quadrature data belong; When the processor moves the in-phase and orthogonal data of the jth length from the target cache area to the system secondary cache, it is specifically used to: The in-phase and orthogonal data of the jth length are moved from the sub-area corresponding to the target antenna to the system L2 cache.
11. The base station according to claim 8, It is characterized in that The processor is further configured to: When the in-phase and quadrature data migration fails, starting a second timer, and cyclically performing a volatile variable type operation until the second timer times out; The duration of the second timer is equal to the sum of the duration of an OFDM symbol and the duration of the longest cyclic prefix in a time slot structure.
12. The base station according to claim 8, It is characterized in that The target buffer area is a buffer area in a double rate synchronous dynamic random access memory.
13. The base station according to claim 8, It is characterized in that When the processor periodically moves the in-phase and orthogonal data of a preset length from the target cache area to the system secondary cache, it is specifically used to: The in-phase and orthogonal data of a preset length are periodically moved from the target cache area to the system secondary cache through a direct memory access controller.
14. The base station according to claim 10, It is characterized in that The capacity of the buffer area corresponding to each antenna is greater than a preset threshold; Wherein, the preset threshold represents the sum of the first symbol length and the second symbol length; The first symbol length is the length of an OFDM symbol using a first preset number of sampling points and a preset sampling bit width, and the first preset number of sampling points is the maximum number of inverse fast Fourier transform sampling points in a long term evolution system; The second symbol length is the length of a cyclic prefix using a second preset sampling point number, and the second preset sampling point number is the maximum inverse fast Fourier transform sampling point number of the cyclic prefix in the long term evolution system.
15. A data processing device, It is characterized in that include: A data processing module, used for receiving in-phase and quadrature data through a universal public wireless interface, storing the received in-phase and quadrature data in a preset target buffer area, and periodically moving the in-phase and quadrature data of a preset length from the target buffer area to a system secondary buffer; The target buffer area is a buffer space outside the buffer space inside the universal public wireless interface, the maximum amount of data that can be accommodated in the target buffer area, the amount of data represented by the preset length, and the amount of data moved each time are all greater than the maximum amount of data that can be accommodated in the buffer space inside the universal public wireless interface; Wherein, the data processing module is also used for: If the universal public interface fails to seize the system secondary cache, triggering the universal public interface to send an interrupt signal to the central processing unit; In response to the central processing unit receiving the interrupt signal, the central processing unit releases the preemption of the system secondary cache.
16. A processor-readable storage medium, It is characterized in that The processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the data processing method according to any one of claims 1 to 7.
