Data processing method, baseband processing unit, and storage medium
By obtaining the transmission direction and carrier antenna information of the data to be processed in the 5G base station equipment, determining the cell identification information and performing data processing, the problems of waste of resources and high operating costs of 5G base station equipment are solved, and efficient data processing for different cells is achieved.
Patent Information
- Application Number
- CN202110815296.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-19
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2041-07-19
AI Technical Summary
5G base station equipment adopts a distributed structure, resulting in only one cell deployed per optical fiber, resulting in waste of resources and increased operating costs.
By acquiring the transmission direction and carrier antenna information of the data to be processed, the cell identification information is determined, and data processing is performed based on the cell identification information and the transmission direction, data processing for different cells is realized.
Effectively utilize resources, reduce operational costs, and realize the data processing capabilities of the baseband processing unit for different cells.
Smart Images

Figure CN115642956B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a data processing method, a baseband processing unit, and a storage medium. Background Art
[0002] In the field of communication technologies, the currently adopted fifth-generation mobile communication technology (5G) base station equipment uses a distributed structure, which consists of two parts: a baseband unit (Building Baseband Unit, BBU) and a radio frequency unit radio remote unit (Radio Remote Unit, RRU). The two are connected by optical fibers, and the data transmission uses the Common Public Radio Interface (CPRI) protocol. In related technologies, only one cell is deployed on one optical fiber of a 5G base station. This not only causes resource waste but also increases the operating cost. Summary of the Invention
[0003] The present disclosure provides a data processing method, a baseband processing unit, and a storage medium.
[0004] According to one aspect of the present disclosure, there is provided a data processing method, which is applied to a baseband processing unit based on a first communication system. The method includes: obtaining a transmission direction corresponding to the data to be processed; obtaining carrier antenna information corresponding to the data to be processed; determining cell identification information corresponding to the data to be processed according to the carrier antenna information; and processing the data to be processed according to the cell identification information and the transmission direction.
[0005] Optionally, the processing the data to be processed according to the cell identification information and the transmission direction includes: in the case where the transmission direction is the uplink direction, obtaining a sequence number of the data to be processed in a data sequence of the cell identification information; determining a first storage address of the data to be processed according to the cell identification information and the sequence number; and storing the data to be processed according to the first storage address.
[0006] Optionally, the obtaining the sequence number of the data to be processed in the data sequence of the cell identification information includes: obtaining the sequence number of the data to be processed in the data sequence of the cell identification information according to the carrier antenna information.
[0007] Optionally, the data to be processed is obtained through the following steps: When the transmission direction is the uplink direction, the data to be processed is obtained in the following manner: Poll multiple optical ports according to the optical port polling order; Obtain the optical port data received by the currently polled optical port; Convert the optical port data according to the preset length of the metadata to obtain the data to be processed, where the length of the metadata in the data to be processed is less than the preset length.
[0008] Optionally, the preset length is determined based on the data transmission format of a second communication system, and the second communication system is at least the previous generation communication system of the first communication system.
[0009] Optionally, the processing of the data to be processed according to the cell identification information and the transmission direction includes: When the transmission direction is the downlink direction, obtain the optical port identification information corresponding to the cell identification information; Convert the data to be processed into optical port data; Send the optical port data to the optical port corresponding to the optical port identification information.
[0010] Optionally, the conversion of the data to be processed into optical port data includes: Obtain the data transmission format corresponding to the optical port identification information; Convert the data to be processed according to the data transmission format to obtain the optical port data.
[0011] Optionally, the data to be processed is obtained through the following: Poll multiple optical ports according to the optical port polling order; Obtain the cell storage address corresponding to the currently polled optical port; Traverse the cell data in the cell storage address according to the preset data traversal order, and use the currently traversed cell data as the data to be processed.
[0012] According to another aspect of the present disclosure, a baseband processing unit is provided. The device is applied in a baseband processing unit based on a first communication system. The device includes a baseband processing unit including a memory and a processor, where: The memory is used to store a computer program; The processor is used to read the computer program in the memory and perform the following operations: Obtain the transmission direction corresponding to the data to be processed; Obtain the carrier antenna information corresponding to the data to be processed; Determine the cell identification information corresponding to the data to be processed according to the carrier antenna information; Process the data to be processed according to the cell identification information and the transmission direction.
[0013] Optionally, processing the data to be processed according to the cell identification information and the transmission direction includes: when the transmission direction is the uplink direction, obtaining a sequence number of the data to be processed in a data sequence of the cell identification information; determining a first storage address of the data to be processed according to the cell identification information and the sequence number; and storing the data to be processed according to the first storage address.
[0014] Optionally, obtaining the sequence number of the data to be processed in the data sequence of the cell identification information includes: obtaining the sequence number of the data to be processed in the data sequence of the cell identification information according to the carrier antenna information.
[0015] Optionally, the data to be processed is obtained through the following steps: when the transmission direction is the uplink direction, the data to be processed is obtained by polling a plurality of optical ports according to an optical port polling order; obtaining optical port data received by a currently polled optical port; and converting the optical port data according to a preset length of metadata to obtain the data to be processed, where a length of metadata in the data to be processed is less than the preset length.
[0016] Optionally, the preset length is determined based on a data transmission format of a second communication system, and the second communication system is at least a previous generation communication system of the first communication system.
[0017] Optionally, processing the data to be processed according to the cell identification information and the transmission direction includes: when the transmission direction is the downlink direction, obtaining optical port identification information corresponding to the cell identification information; converting the data to be processed into optical port data; and sending the optical port data to an optical port corresponding to the optical port identification information.
[0018] Optionally, converting the data to be processed into optical port data includes: obtaining a data transmission format corresponding to the optical port identification information; and converting the data to be processed according to the data transmission format to obtain the optical port data.
[0019] Optionally, the data to be processed is obtained by polling a plurality of optical ports according to an optical port polling order; obtaining a cell storage address corresponding to a currently polled optical port; traversing cell data in the cell storage address according to a preset data traversal order, and using the currently traversed cell data as the data to be processed.
[0020] According to another aspect of the present disclosure, a data processing device is provided, which is applied in a baseband processing unit based on a first communication system. The data processing device includes: a first acquisition module for acquiring the transmission direction corresponding to the data to be processed; a second acquisition module for acquiring the carrier antenna information corresponding to the data to be processed; a determination module for determining the cell identification information corresponding to the data to be processed according to the carrier antenna information; and a processing module for processing the data to be processed according to the cell identification information and the transmission direction.
[0021] According to another aspect of the present disclosure, a processor-readable storage medium is provided. The processor-readable storage medium stores a computer program, and the computer program is used to cause the processor to implement the data processing method in the above embodiment.
[0022] The present application has the following technical effects:
[0023] In the process of processing the data to be processed in the baseband processing unit, the transmission direction of the data to be processed is acquired, and in combination with the carrier antenna information corresponding to the data to be processed, the cell identification information corresponding to the data to be processed is determined, and based on the cell identification information and the transmission direction, the data to be processed is processed. Thus, the baseband processing unit can determine the cell identification information of the data to be processed in combination with the carrier antenna information corresponding to the data to be processed, and in combination with the cell identification information and the transmission direction, the data to be processed is processed, realizing that the baseband processing unit can process the data to be processed in different cells.
[0024] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. Description of the Drawings
[0025] The drawings are used to better understand the solution and do not constitute a limitation to the present application. Among them:
[0026] Figure 1 is a schematic flowchart of a data processing method provided according to an embodiment of the present application;
[0027] Figure 2 is a schematic flowchart of another data processing method provided according to an embodiment of the present application;
[0028] Figure 3 is an interaction example diagram among various devices inside the BBU in the case of the uplink direction;
[0029] Figure 4 is Figure 3 an internal structure example diagram of the data exchange module in
[0030] Figure 5 It is an example diagram between the optical port and the data selector in the upstream direction;
[0031] Figure 6 It is a schematic flowchart of another data processing method provided according to an embodiment of the present application;
[0032] Figure 7 It is an example diagram of the interaction between various devices inside the BBU in the case of the downstream direction;
[0033] Figure 8 It is an example diagram between the optical port and the data selector in the downstream direction;
[0034] Figure 9 It is a schematic structural diagram of a data processing device provided according to an embodiment of the present application;
[0035] Figure 10 It is a schematic structural diagram of a data processing device provided according to an embodiment of the present application. Detailed implementation manners
[0036] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0037] In the embodiments of the present application, the term "and / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0038] Next, the data processing method, device, equipment, and storage medium of this embodiment will be described with reference to the accompanying drawings.
[0039] Figure 1It is a schematic flowchart of a data processing method provided according to an embodiment of the present application. This data processing method is applied to a baseband processing unit based on a first communication system. Among them, the baseband processing unit is set in a base station based on the first communication system, and the base station further includes a radio frequency processing unit (Remote Radio Unit, RRU) connected to the baseband processing unit (Building Base band Unit, BBU). In some embodiments, the baseband processing unit and the radio frequency processing unit can be connected through optical fibers. Among them, the first communication system and the second communication system in subsequent embodiments are different communication systems. In this embodiment, the first communication system is 5G and the second communication system is 4G as an example for description.
[0040] As Figure 1 shown, the method may include:
[0041] Step 101, obtain the transmission direction corresponding to the data to be processed.
[0042] Among them, the transmission direction may include the uplink direction and the downlink direction.
[0043] In the case where the above transmission direction is the uplink direction, the data to be processed in this embodiment is obtained in the following manner: polling multiple optical ports according to the optical port polling order; obtaining the optical port data received on the currently polled optical port; and converting the optical port data according to the preset length of the metadata to obtain the data to be processed, where the length of the metadata in the data to be processed is less than the preset length.
[0044] In some embodiments, multiple optical ports can be polled according to the optical port polling order, the storage address corresponding to the currently polled optical port can be obtained, and multiple optical port data in the storage address can be read according to the data reading order, and the currently read optical port data can be obtained.
[0045] In some embodiments, the target optical port identifier corresponding to the currently polled optical port can be obtained, and the storage address corresponding to the target optical port identifier can be obtained according to the corresponding relationship between the pre-saved optical port identifier and the storage address, and the obtained storage address can be used as the storage address corresponding to the currently polled optical port.
[0046] Among them, in order to enable the baseband processing unit to be compatible with the data of the second communication system, in some embodiments, the above preset length is determined based on the data transmission format of the second communication system, and the second communication system is at least the previous generation communication system of the first communication system. For example, the first communication system is 5G and the second communication system is 4G. Combining the data transmission format of 4G, the preset length of the metadata can be determined to be 120 bit.
[0047] For example, the optical port data is 64bit*90, where 90 represents 90 data units and 64bit represents the number of bits of each data unit. Assuming the preset length is 120bit, the optical port data can be regrouped according to the preset length of the metadata, and the data to be processed obtained is 120bit*48, where 48 represents 48 data units of the data to be processed and 120bit represents the number of bits of the corresponding data unit.
[0048] In some embodiments, in the case where the above transmission direction is the downlink direction, the data to be processed in this embodiment is obtained in the following manner: polling multiple optical ports according to the optical port polling order; obtaining the cell storage address corresponding to the currently polled optical port; traversing the cell data in the cell storage address according to the preset data traversal order, and using the currently traversed cell data as the data to be processed.
[0049] In some embodiments, a possible implementation manner for obtaining the cell storage address corresponding to the currently polled optical port is: obtaining the target optical port identifier corresponding to the currently polled optical port, and according to the corresponding relationship between the pre-stored optical port identifier and the cell storage address, obtaining the cell storage address corresponding to the target optical port identifier, and using the obtained cell storage address as the cell storage address corresponding to the currently polled optical port.
[0050] Step 102, obtain the carrier antenna information corresponding to the data to be processed.
[0051] In some embodiments, the carrier antenna information corresponding to the data to be processed can be obtained according to the corresponding relationship between the pre-stored data and the carrier antenna information.
[0052] Step 103, determine the cell identification information corresponding to the data to be processed according to the carrier antenna information.
[0053] In an embodiment of the present disclosure, the cell identification field can be obtained from the carrier antenna information, and the value of the cell identification field is used as the cell identification information corresponding to the data to be processed.
[0054] Step 104, process the data to be processed according to the cell identification information and the transmission direction.
[0055] In the data processing method according to the embodiments of the present application, during the process of processing the data to be processed in the baseband processing unit, the transmission direction of the data to be processed is obtained, and in combination with the carrier antenna information corresponding to the data to be processed, the cell identification information corresponding to the data to be processed is determined, and based on the cell identification information and the transmission direction, the data to be processed is processed. Thus, the baseband processing unit can combine the carrier antenna information corresponding to the data to be processed to determine the cell identification information of the data to be processed, and in combination with the cell identification information and the transmission direction, the data to be processed is processed, and the baseband processing unit can process the data to be processed in different cells.
[0056] The following will describe, in combination with Figure 2 , the data processing method of this embodiment in the case where the transmission direction is the uplink direction.
[0057] As Figure 2 shown, the method may include:
[0058] Step 201, obtain the data to be processed.
[0059] The data to be processed in this embodiment is obtained in the following manner: Poll multiple optical ports according to the optical port polling order; obtain the optical port data received on the currently polled optical port; and convert the optical port data according to the preset length of the metadata to obtain the data to be processed, where the length of the metadata in the data to be processed is less than the preset length.
[0060] In some embodiments, multiple optical ports may be polled according to the optical port polling order, the storage address corresponding to the currently polled optical port is obtained, and according to the data reading order, multiple optical port data in the storage address are read, and the currently read optical port data is obtained.
[0061] In some embodiments, the target optical port identifier corresponding to the currently polled optical port may be obtained, and according to the correspondence between the pre-stored optical port identifier and the storage address, the storage address corresponding to the target optical port identifier may be obtained, and the obtained storage address is used as the storage address corresponding to the currently polled optical port.
[0062] Among them, in order to enable the baseband processing unit to be compatible with the data of the second communication system, in some embodiments, the above preset length is determined based on the data transmission format of the second communication system, and the second communication system is at least the previous generation communication system of the first communication system. For example, the first communication system is 5G, the second communication system is 4G, and in combination with the data transmission format of 4G, the preset length can be determined to be 120 bit.
[0063] For example, the optical port data is 64bit * 90, where 90 represents 90 data units, and 64bit represents the number of bits of each data unit. Assuming the preset length is 120bit, the optical port data can be regrouped according to the preset length of the metadata, and the data to be processed obtained is 120bit * 48, where 48 represents 48 data units of the data to be processed, and 120bit represents the number of bits of the corresponding data unit
[0064] Step 202, determine that the transmission direction of the data to be processed is the upstream direction.
[0065] Step 203, obtain the carrier antenna information corresponding to the data to be processed.
[0066] For the specific description of step 203, reference can be made to the relevant description in the above embodiments, which will not be elaborated here.
[0067] Step 204, determine the cell identification information corresponding to the data to be processed according to the carrier antenna information.
[0068] For the specific description of step 204, reference can be made to the relevant description in the above embodiments, which will not be elaborated here.
[0069] Step 205, obtain the sequence number of the data to be processed in the data sequence of the cell identification information.
[0070] In some embodiments, a possible implementation of the above-mentioned obtaining the sequence number of the data to be processed in the data sequence of the cell identification information is: obtaining the sequence number of the data to be processed in the data sequence of the cell identification information according to the carrier antenna information.
[0071] In some embodiments, the sequence number of the data to be processed in the data sequence of the cell identification information can be obtained from the sequence number field in the carrier antenna information.
[0072] Step 206, determine the first storage address of the data to be processed according to the cell identification information and the sequence number.
[0073] In some embodiments, the starting address of the storage space corresponding to the cell identification information can be obtained, and the first storage address of the data to be processed can be determined according to the starting address and the sequence number.
[0074] Step 207, store the data to be processed according to the first storage address.
[0075] In the data processing method according to the embodiment of the present application, when the transmission direction of the data to be processed is the uplink direction, the cell identification information corresponding to the data to be processed is determined in combination with the carrier antenna information corresponding to the data to be processed, and the serial number of the data to be processed in the data sequence corresponding to the cell identification information is determined, and based on the serial number, the storage address of the data to be processed is determined, and the data to be processed is stored in the storage address. Thus, based on the carrier antenna information, the data to be processed is stored according to the cell, realizing the downlink carrier switching function of the baseband processing unit, and then the equipment deployment by the operator can be reduced.
[0076] In order to enable those skilled in the art to clearly understand the present application, the following is combined with Figure 3 、 Figure 4 and Figure 5 to describe the data processing process of the BBU in the uplink direction.
[0077] Figure 3 is an interaction example diagram between various devices inside the BBU in the case of the uplink direction.
[0078] Among them, it should be noted that in this embodiment, six optical ports are taken as an example for description. Each optical port is connected to a data exchange module, and the six optical ports are divided into two sets for carrier antenna (CA) switching. Each set has 2 groups of CA exchange modules, and the data interaction mode is described by taking the pingpong mode as an example. Among them, in one set of CAs, both the serial connection of 2 optical ports and the single optical port use the data selection Mux_2_1 module to read data from the asynchronous first-in first-out (FIFO) memory.
[0079] Among them, regarding Figure 3 is specifically described as follows:
[0080] Specifically, when the optical port is valid, when the optical port receives a 10-ms data header, the data subsequently received by the optical port can be converted from 64 bits to 120 bits to obtain cell data, and the cell data is stored in an asynchronous FIFO memory. It should be noted that, except for the invalid optical port, when all other optical ports are valid, the data selector (multiplexer, MUX) Mux_2_1 arbitration module writes the data in the asynchronous FIFO memory to the UltraRandom Access Memory (URAM). After the data volume of 3 chips (CHIP) is written to the URAM, CA exchange is performed. In some examples, to reduce the amount of code writing, both the 2 optical port serial and single optical port in a set of CAs use the Mux_2_1 module to read data from the asynchronous FIFO memory corresponding to the optical port. For the single optical port side, another optical port can be configured as invalid. In addition, after the CA exchange is completed, it is transmitted to the channel in the manner of cell interleaving and in-cell antenna interleaving.
[0081] Among them, the data volume of 3 chips (CHIP) is an example in this embodiment.
[0082] For example, for a maximum 100M cell, the data volume of a single antenna in 10 ms (milliseconds) is 10 ms * 122.88 Mbps * 15 bits = 18,432,000 bits, and the number of bits transmitted by the 10-ms optical port CPRI is 150 * 256 * 90 * 64 = 221,184,000 bits. Therefore, the number of antennas that can be transmitted in 10 ms is 221,184,000 bits / 18,432,000 bits = 12 antennas.
[0083] In addition, it should be noted that for the sake of convenience in implementation, the minimum number of cell antenna particles is set to 4 antennas, that is, each Common Public Radio Interface (CPRI) can transmit the data of 3 cells. Each chip (CHIP) transmits the data of 4 antennas. Therefore, the data of 12 antennas needs to be transmitted by 3 CHIPs, and the CA exchange also needs to cache the data of 3 CHIPs before it can be performed.
[0084] Data exchange module opt_data_exch: This module completes the conversion of CPRI data from 64bit*90 to 120bit*48. When this module receives the 10ms data header of CPRI and the optical port is valid, it starts the conversion from 64bit to 120bit, and generates write enable, write address, 120bit data, and last signal (one for every 3 chips). At the same time, it generates the 10ms_head hold signal during the first group of 3 chips in 10ms, generates the 10ms_end hold signal during the last group of 3 chips, and splices the 10ms_head and 10ms_end signals with the write address, data, and last signal, and writes the splicing result into the asynchronous FIFO memory.
[0085] Among them, the structural example diagram inside the data exchange module is as Figure 4 shown.
[0086] Data selector MUX2_1: After there is data in all the asynchronous FIFO memories corresponding to the configured valid optical ports, it starts the polling read operation on the 2-way optical ports. For the data read from the asynchronous FIFO memory corresponding to the slave optical port, the data is split to obtain 4CA continuous time-domain data and its corresponding write address, and the time-domain data is stored in the dual-port URAM according to the write address of the time-domain data. After the data writing of both optical ports is completed, the CA exchange module starts the CA exchange. Among them, it should be noted that the space occupied by each optical port in the URAM is 120bit*256deep.
[0087] CA exchange module Ca_exch: After writing all the data in the asynchronous FIFO memory into the URAM, start the CA exchange. Specifically, it can be performed according to the optical port polling. For the currently polled optical port, read the optical port offset address. Based on the base address of this optical port plus the optical port offset address, determine the address of this optical port. According to the address of the optical port, read the corresponding data on this optical port from the URAM stored by optical port, obtain the CA information corresponding to this data, determine the CA bit and cell identification information corresponding to this data according to the CA information, determine the corresponding write address according to the address corresponding to the CA bit and the address corresponding to the cell identification information, and write this data into the URAM stored by cell according to this write address. The space occupied by each cell is 120bit * 256deep. The cell identification information cell_index of the motherboard cell is 0 - 11. If there is a 5G cell on the backplane, the cell identification information of the 5G cell is 13, and the cell identification information of the 4G cell is 12; if there is no 5G cell on the backplane, according to the configuration in the CA information, the cell identification information cell_index is: the value obtained by adding the offset 12 to the backplane cell number. When the CA exchange of all data of two optical ports is completed, generate the last signal and start the cell interleaving module Cell-intv. Among them, an example of cell interleaving is as Figure 5 . It should be noted that for the specific content of cell interleaving, reference can be made to the prior art, and this embodiment does not make specific limitations on it.
[0088] Among them, the motherboard cell refers to the cell established on the board card connected to the optical fiber.
[0089] The backplane cell refers to the cell that is not connected to the optical fiber and transmits data through the traces on the back of the board card.
[0090] It should be noted that each optical port can transmit a maximum of 12 antennas' data, and the CA bits occupied are 576. Therefore, 576 CA information need to be configured for the backend to use for CA. Each CA information occupies 16bit. Therefore, a total of 16 * 576 URAM are required to store. To reduce the URAM resources occupied by the Field Programmable Gate Array (FPGA) to store CA information, the CA can be grouped. For example, the above 576 CA information can be grouped into groups of 4 CA information. Therefore, one can be stored for every 4 CA information, and the storage space is 16 * 144. The content of the CA information is shown in Table 1.
[0091] Table 1 CA Information
[0092]
[0093] Among them, it should be noted that the explanations of the various symbols in Table 1 above are as follows:
[0094] bit15: 0 indicates from the main board, and 1 indicates from the scheduled backplane.
[0095] bit14 - 11: indicates which cell on the main board and which scheduled backplane card it comes from. bit14 indicates whether the scheduled backplane is 4G or 5G, 0 indicates 4G, 1 indicates 5G, and bit13 - 11 indicates the corresponding cell of the scheduled backplane.
[0096] bit10: enable signal, 1 indicates valid, 0 indicates invalid.
[0097] bit9 - 0: indicates which CA bit among the 3 chips.
[0098] cell_intv: After the CA exchange is completed, that is, after receiving the last signal of the CA exchange, the cell interleaving is started. The two sets of cell interleaving are different: all cells corresponding to the first set of CA exchanges are main board cells, and cell_index is 0 - 7; the first 4 cells corresponding to the second set of CA exchanges are main board cells, cell_index is 8 - 11, and the last two cells are backplane cells. The 4G backplane cells and 5G main board cells are read according to the same data volume, and the data volume of the 5G backplane cells is 3 times that of the main board cells. The first set of CA exchanges polls and reads 48 data for each of the 8 cells. The first set of CA exchanges first polls the 4 main board cells and then reads the data of the backplane cells. When reading data, for the main board cells, first read the first group of 4ca of the 4 antennas of a certain cell, and then switch to another cell. For the backplane cells, read them in sequence from the first group to the last group. Each time of polling, the backplane cell 12 reads 4 groups of 4ca, and the cell 13 reads 12 groups of 4ca. The data of a single cell may come from Figure 3 any one of the optical ports 1, 2, and 3 in Figure 3 or may come from any one of the optical ports 4, 5, and 6 in
[0099] Next, in combination with Figure 6 , the data processing method of this embodiment will be described in the case where the transmission direction is the downlink direction.
[0100] As Figure 6 shown, the method may include:
[0101] Step 601, obtain the data to be processed.
[0102] In some embodiments, when the above-mentioned transmission direction is the downlink direction, the data to be processed in this embodiment is obtained in the following manner: polling multiple optical ports according to the optical port polling order; obtaining the cell storage address corresponding to the currently polled optical port; traversing the cell data in the cell storage address according to the preset data traversal order, and using the currently traversed cell data as the data to be processed.
[0103] In some embodiments, a possible implementation manner for obtaining the cell storage address corresponding to the currently polled optical port is as follows: obtaining the target optical port identifier corresponding to the currently polled optical port, and according to the pre-stored correspondence between the optical port identifier and the cell storage address, obtaining the cell storage address corresponding to the target optical port identifier, and using the obtained cell storage address as the cell storage address corresponding to the currently polled optical port.
[0104] Step 602, determining that the transmission direction of the data to be processed is the downlink direction.
[0105] Step 603, obtaining the carrier antenna information corresponding to the data to be processed.
[0106] Step 604, determining the cell identification information corresponding to the data to be processed according to the carrier antenna information.
[0107] Step 605, obtaining the optical port identification information corresponding to the cell identification information.
[0108] Step 606, converting the data to be processed into optical port data.
[0109] In some embodiments, in order to accurately obtain the optical port data, a possible implementation manner for converting the data to be processed into optical port data is as follows: obtaining the data transmission format corresponding to the optical port identification information; converting the data to be processed according to the data transmission format to obtain the optical port data.
[0110] Step 607, sending the optical port data to the optical port corresponding to the optical port identification information.
[0111] In this embodiment, when the transmission direction of the data to be processed is the downlink direction, the data to be processed can be processed in combination with the carrier antenna information of the data, and the data to be processed is converted into optical port data, and the optical port data is sent to the corresponding optical port for transmission, so that the baseband processing data realizes the conversion of cell data into optical port data through the downlink carrier antenna function, and the optical port data is sent to the corresponding optical port for transmission, so that the baseband processing data can transmit the data of multiple cells, effectively utilizing the transmission resources.
[0112] In order to enable those skilled in the art to clearly understand the present application, the following is combined with Figure 7 andFigure 8 Describe the data processing process of the BBU in the downlink direction.
[0113] Figure 7 It is a schematic diagram of the interaction between various devices inside the BBU in the case of the downlink direction.
[0114] It should be noted that in this embodiment, still taking "similar to the uplink CA, six optical ports are divided into two sets for CA switching, each set has 2 groups of CA switching modules, and the pingpong mode is used" as an example for description.
[0115] Among them, regarding Figure 7 The specific description is as follows:
[0116] After receiving the data of the cell, store it in the URAM in the required format. Correspondingly, after receiving the timed start of the CA module, poll and read the corresponding data from each cell and store it in the URAM according to the cell. After the 3CHIP data storage is completed. Correspondingly, start the CA module, and then convert the data into data suitable for optical port transmission and send it to the optical port.
[0117] Data storage module data_store_12cell: This module converts the data of 12 cells on the main board in packet format received into data in the format of writing to the URAM, and stores it in the URAM with a data volume of 180bit * 384 per packet, divided into 8 groups, each group occupying 512 addresses, and the 10ms data header is fixed and stored at address 0. When receiving the timed signal to start CA switching, read the data in the URAM, convert the 15bit data of each cell into 120bit data according to 12 cells, and generate the write address of this data, and perform pingpong operation in units of 3 CHIPs.
[0118] Data storage return module data_store_back: This module mainly realizes the function of caching the backplane data. The backplane cell data can be written to the corresponding address in the order of data arrival, and the address range is 0 - 143. Use the URAM to cache the data, divided into 16 groups, each group has 256 addresses. The 10ms header is fixed and stored at address 0, and then increments sequentially.
[0119] First data selection module mux_8_1: This module mainly completes the function of chip selection for 8 cells on the main board (cell identification information 0 - 7), writes the 4CA data into the URAM according to the address generated by the first data storage module, and generates the last signal after the 3CHIP data of all cells is written. Inside the URAM, the space is distinguished according to the cell, and each cell occupies 120bit * 256deep.
[0120] Second data selection module mux_8_1_back: This module realizes data selection for the last 4 cells in the main board cell (cell identification information 8 - 11) and the backplane. Among them, if there is no 5G cell, read the data of two optical ports, back0 and back1. Read 1 cell data from each optical port, and the remaining two cells are empty, so waiting is required. If there is a 5G cell, first determine whether back0 is valid. If it is valid, read back0, and determine how many data to read according to the backplane type. If back0 is a 5G cell, read 3 data for this 5G cell, and then jump to the next valid 4G cell. If there is no valid 4G cell, wait for one clock pulse clk. If it is a 4G cell, read 1 data of this 4G cell, and then directly jump to the 5G cell to read 3 clock pulses (clock, clk); if back0 is invalid, directly read back1 and 2. The cell identification information cell_index of the 3 backplanes is back0: 12, back1: 13, back2: 14. Similar to the first data selection module mux_8_1, the last signal can be generated after the data of 3CHIP of all cells is written.
[0121] CA exchange module Ca_exch: After writing the data of all cells into the URAM, start the CA exchange. Read the CA information of each optical port according to the address a (0 - 143) in the optical port, and use the value of bit9:0 in the CA information as the read address. Read data from the URAM according to the read address, and write the read data to the address a of this optical port. During the CA exchange, read the URAM in the order of two optical ports in a round-robin manner, that is, first read the first data of optical port 0, then read the first data of optical port 1, and then read the second data of optical port 0... In this way, the URAM required for caching the data sent to the optical port can be saved, saving resources. Among them, the example is as Figure 8 .
[0122] Third data selection module mux_2_1: This module mainly selects data generated by two sets of CA exchange modules, and splits one-way data into two-way data and sends them to their respective corresponding optical ports.
[0123] Optical port data conversion module cpri_data_exch: This module mainly completes the conversion of 4CA continuous 120bit data into cpri data. Split the 120bit * 144 data into 3 chips, and convert the corresponding data into 64bit. The data volume of each chip is 64bit * 90, and at the same time, generate write enable, write address, and write end signals and send them to the optical port.
[0124] Figure 9It is a schematic structural diagram of a data processing device provided according to an embodiment of the present application. The data processing device is configured in a baseband processing unit, where the baseband processing unit is based on a first communication standard.
[0125] As Figure 9 shown, the data processing device may include a memory 901 and a processor 902, where:
[0126] The memory 901 is used to store computer programs;
[0127] The processor 902 is used to read the computer program in the memory 901 and perform the following operations: obtain the transmission direction corresponding to the data to be processed; obtain the carrier antenna information corresponding to the data to be processed; determine the cell identification information corresponding to the data to be processed according to the carrier antenna information; and process the data to be processed according to the cell identification information and the transmission direction.
[0128] In an embodiment of the present disclosure, processing the data to be processed according to the cell identification information and the transmission direction includes: in the case where the transmission direction is the uplink direction, obtain the sequence number of the data to be processed in the data sequence of the cell identification information; determine the first storage address of the data to be processed according to the cell identification information and the sequence number; and store the data to be processed according to the first storage address.
[0129] In an embodiment of the present disclosure, obtaining the sequence number of the data to be processed in the data sequence of the cell identification information includes: obtaining the sequence number of the data to be processed in the data sequence of the cell identification information according to the carrier antenna information.
[0130] In an embodiment of the present disclosure, in the case where the transmission direction is the uplink direction, the data to be processed is obtained by the following method: polling a plurality of optical ports according to the optical port polling order; obtaining the optical port data received by the currently polled optical port; and converting the optical port data according to the preset length of the metadata to obtain the data to be processed, where the length of the metadata in the data to be processed is less than the preset length.
[0131] In an embodiment of the present disclosure, the preset length is determined based on the data transmission format of a second communication standard, and the second communication standard is at least the previous generation communication standard of the first communication standard.
[0132] In an embodiment of the present disclosure, processing the data to be processed according to the cell identification information and the transmission direction includes: in the case where the transmission direction is the downlink direction, obtain the optical port identification information corresponding to the cell identification information; convert the data to be processed into optical port data; and send the optical port data to the optical port corresponding to the optical port identification information.
[0133] In one embodiment of the present disclosure, converting the data to be processed into optical port data includes: obtaining the data transmission format corresponding to the optical port identification information; and converting the data to be processed according to the data transmission format to obtain the optical port data.
[0134] In one embodiment of the present disclosure, the data to be processed is obtained by: polling multiple optical ports according to the optical port polling order; obtaining the cell storage address corresponding to the currently polled optical port; traversing the cell data in the cell storage address according to the preset data traversal order, and using the currently traversed cell data as the data to be processed.
[0135] Among them, the method and the apparatus are based on the same application concept. Since the principles of the method and the apparatus for solving problems are similar, the implementation of the apparatus and the method can be referred to each other, and the repeated parts will not be elaborated.
[0136] In the process of processing the data to be processed in the baseband processing unit in the data processing apparatus according to the embodiments of the present application, the transmission direction of the data to be processed is obtained, and in combination with the carrier antenna information corresponding to the data to be processed, the cell identification information corresponding to the data to be processed is determined, and based on the cell identification information and the transmission direction, the data to be processed is processed. Thus, the baseband processing unit can determine the cell identification information of the data to be processed in combination with the carrier antenna information corresponding to the data to be processed, and in combination with the cell identification information and the transmission direction, the data to be processed is realized, and the baseband processing unit can process the data to be processed in different cells.
[0137] Figure 10 It is a schematic structural diagram of a data processing apparatus provided according to an embodiment of the present application. Among them, the apparatus is applied in a baseband processing unit based on a first communication system.
[0138] As Figure 10 shown, the data processing apparatus 10 may include:
[0139] A first acquisition module 1001, configured to acquire the transmission direction corresponding to the data to be processed.
[0140] A second acquisition module 1002, configured to acquire the carrier antenna information corresponding to the data to be processed.
[0141] A determination module 1003, configured to determine the cell identification information corresponding to the data to be processed according to the carrier antenna information.
[0142] A processing module 1004, configured to process the data to be processed according to the cell identification information and the transmission direction.
[0143] In an embodiment of the present disclosure, the processing module 1004 is specifically configured to: when the transmission direction is the uplink direction, obtain the sequence number of the data to be processed in the data sequence of the cell identification information; determine the first storage address of the data to be processed according to the cell identification information and the sequence number; and store the data to be processed according to the first storage address.
[0144] In an embodiment of the present disclosure, obtaining the sequence number of the data to be processed in the data sequence of the cell identification information includes: obtaining the sequence number of the data to be processed in the data sequence of the cell identification information according to the carrier antenna information.
[0145] In an embodiment of the present disclosure, when the transmission direction is the uplink direction, the data to be processed is obtained by the following method: polling a plurality of optical ports according to the optical port polling order; obtaining the optical port data received by the currently polled optical port; and converting the optical port data according to the preset length of the metadata to obtain the data to be processed, where the length of the metadata in the data to be processed is less than the preset length.
[0146] In an embodiment of the present disclosure, the preset length is determined based on the data transmission format of the second communication system, and the second communication system is at least the previous generation communication system of the first communication system.
[0147] In an embodiment of the present disclosure, the above-mentioned processing module 904 is specifically configured to: when the transmission direction is the downlink direction, obtain the optical port identification information corresponding to the cell identification information; convert the data to be processed into optical port data; and send the optical port data to the optical port corresponding to the optical port identification information.
[0148] In an embodiment of the present disclosure, converting the data to be processed into optical port data includes: obtaining the data transmission format corresponding to the optical port identification information; and converting the data to be processed according to the data transmission format to obtain the optical port data.
[0149] In an embodiment of the present disclosure, the data to be processed is obtained by the following: polling a plurality of optical ports according to the optical port polling order; obtaining the cell storage address corresponding to the currently polled optical port; traversing the cell data in the cell storage address according to the preset data traversal order, and using the currently traversed cell data as the data to be processed.
[0150] In the baseband processing apparatus according to the embodiment of the present application, during the process of processing the data to be processed in the baseband processing unit, the transmission direction of the data to be processed is obtained, and in combination with the carrier antenna information corresponding to the data to be processed, the cell identification information corresponding to the data to be processed is determined, and based on the cell identification information and the transmission direction, the data to be processed is processed. Thus, the baseband processing unit can determine the cell identification information of the data to be processed in combination with the carrier antenna information corresponding to the data to be processed, and in combination with the cell identification information and the transmission direction, the data to be processed is processed, realizing that the baseband processing unit can process the data to be processed in different cells.
[0151] Among them, the method and the apparatus are based on the same inventive concept. Since the principles of solving problems by the method and the apparatus are similar, the implementation of the apparatus and the method can be referred to each other, and the repeated parts will not be described again.
[0152] It should be noted that the division of units in the embodiment of the present application is illustrative, only a logical function division, and there may be other division methods in actual implementation. In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit exists physically alone, or two or more units are integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0153] 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 such an understanding, the technical solution of the present application, in essence, 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. The computer software product is stored in a storage medium, including several instructions for causing a computer device (which can be a personal computer, a server, or a network-side device, etc.) or a processor to execute all or part of the steps of the methods in the embodiments of the present application. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a random access memory (RAM), a magnetic disk, or an optical disc that can store program codes.
[0154] On the other hand, the embodiment of the present invention also provides a processor-readable storage medium, which stores a computer program for causing the processor to execute the data processing method disclosed in the embodiment of the present application.
[0155] Among them, the above-mentioned processor-readable storage medium can be any available medium or data storage device accessible by the processor, including but not limited to magnetic memories (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical memories (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor memories (such as non-volatile memories (NAND FLASH), solid-state drives (SSD)), etc.
[0156] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories and optical memories, etc.) containing computer-usable program code.
[0157] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0158] These processor-executable instructions can also be stored in a processor-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the processor-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0159] These processor-executable instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0160] Obviously, those skilled in the art can make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.
Claims
1. A data processing method, characterized in that, The method is applied to a baseband processing unit based on a first communication system, and the method includes: Obtaining a transmission direction corresponding to data to be processed; Obtaining carrier antenna information corresponding to the data to be processed; Determining cell identification information corresponding to the data to be processed according to the carrier antenna information; Processing the data to be processed according to the cell identification information and the transmission direction; Wherein, the processing the data to be processed according to the cell identification information and the transmission direction includes: When the transmission direction is an uplink direction, obtaining a sequence number of the data to be processed in a data sequence of the cell identification information; Determining a first storage address of the data to be processed according to the cell identification information and the sequence number; Storing the data to be processed according to the first storage address.
2. The method according to claim 1, characterized in that, The obtaining the sequence number of the data to be processed in the data sequence of the cell identification information includes: Obtaining the sequence number of the data to be processed in the data sequence of the cell identification information according to the carrier antenna information.
3. The method according to claim 1 or 2, characterized in that, When the transmission direction is an uplink direction, the data to be processed is obtained by the following method: Polling a plurality of optical ports according to an optical port polling order; Obtaining optical port data received by a currently polled optical port; Converting the optical port data according to a preset length of metadata to obtain the data to be processed, wherein a length of metadata in the data to be processed is less than the preset length.
4. The method according to claim 3, characterized in that, The preset length is determined based on a data transmission format of a second communication system, and the second communication system is at least a previous generation communication system of the first communication system.
5. The method according to claim 1, characterized in that, The processing the data to be processed according to the cell identification information and the transmission direction includes: When the transmission direction is a downlink direction, obtaining optical port identification information corresponding to the cell identification information; Converting the data to be processed into optical port data; Sending the optical port data to an optical port corresponding to the optical port identification information.
6. The method according to claim 5, characterized in that, The converting the data to be processed into optical port data includes: Obtaining a data transmission format corresponding to the optical port identification information; Converting the data to be processed according to the data transmission format to obtain the optical port data.
7. The method according to claim 5 or 6, characterized in that, The data to be processed is obtained by the following: Polling a plurality of optical ports according to an optical port polling order; Obtaining a cell storage address corresponding to a currently polled optical port; Traversing cell data in the cell storage address according to a preset data traversing order, and using the currently traversed cell data as the data to be processed.
8. A data processing device, characterized in that, The device is applied to a baseband processing unit based on a first communication system. The device includes a baseband processing unit including a memory and a processor, wherein: The memory is used for storing a computer program; The processor is used for reading the computer program in the memory and performing the following operations: Obtaining a transmission direction corresponding to data to be processed; Obtaining carrier antenna information corresponding to the data to be processed; Determining cell identification information corresponding to the data to be processed according to the carrier antenna information; Process the data to be processed according to the cell identification information and the transmission direction; Among them, the processing of the data to be processed according to the cell identification information and the transmission direction includes: When the transmission direction is the uplink direction, obtain the serial number of the data to be processed in the data sequence of the cell identification information; Determine the first storage address of the data to be processed according to the cell identification information and the serial number; Store the data to be processed according to the first storage address.
9. The device according to claim 8, wherein, The obtaining of the serial number of the data to be processed in the data sequence of the cell identification information includes: Obtain the serial number of the data to be processed in the data sequence of the cell identification information according to the carrier antenna information.
10. The device according to claim 8 or 9, wherein, When the transmission direction is the uplink direction, the data to be processed is obtained in the following manner: Poll multiple optical ports according to the optical port polling order; Obtain the optical port data received by the currently polled optical port; Convert the optical port data according to the preset length of the metadata to obtain the data to be processed, where the length of the metadata in the data to be processed is less than the preset length.
11. The device according to claim 10, wherein, The preset length is determined based on the data transmission format of the second communication system, and the second communication system is at least the previous generation communication system of the first communication system.
12. The device according to claim 8, wherein, The processing of the data to be processed according to the cell identification information and the transmission direction includes: When the transmission direction is the downlink direction, obtain the optical port identification information corresponding to the cell identification information; Convert the data to be processed into optical port data; Send the optical port data to the optical port corresponding to the optical port identification information.
13. The device according to claim 12, wherein, The conversion of the data to be processed into optical port data includes: Obtain the data transmission format corresponding to the optical port identification information; Convert the data to be processed according to the data transmission format to obtain the optical port data.
14. The device according to claim 12 or 13, wherein, The data to be processed is obtained through the following: Poll multiple optical ports according to the optical port polling order; Obtain the cell storage address corresponding to the currently polled optical port; Traverse the cell data in the cell storage address according to the preset data traversal order, and use the currently traversed cell data as the data to be processed.
15. A data processing device, wherein, The device is applied in a baseband processing unit based on the first communication system, and the data processing device includes: A first acquisition module for acquiring the transmission direction corresponding to the data to be processed; A second acquisition module for acquiring the carrier antenna information corresponding to the data to be processed; A determination module for determining the cell identification information corresponding to the data to be processed according to the carrier antenna information; A processing module for processing the data to be processed according to the cell identification information and the transmission direction; Among them, the processing module is specifically used for: When the transmission direction is the uplink direction, obtain the serial number of the data to be processed in the data sequence of the cell identification information; Determine the first storage address of the data to be processed according to the cell identification information and the serial number; Store the data to be processed according to the first storage address.
16. A processor-readable storage medium, characterized in that, The processor-readable storage medium stores a computer program, and the computer program is used to cause the processor to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Feedback information transmission method and device
WO2021031754A1