A data transmission method, system, device and storage medium
By customizing the CPRI frame format and optimizing data mapping, the hardware resource consumption and scalability issues in low-power indoor distribution systems were resolved, achieving efficient data transmission and compatibility, reducing hardware resource consumption, and improving system scalability.
Patent Information
- Application Number
- CN202210952602.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-09
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2042-08-09
AI Technical Summary
In low-power indoor distributed systems, the hardware resources consumed by the post-processing unit are relatively large, the C/M channel information filling content is fixed and the scalability is poor, and the mismatch of CPRI frame format leads to increased hardware resource consumption and insufficient scalability.
A custom CPRI frame format is adopted, the target character number is determined by local clock counting, the data to be transmitted is mapped to the custom CPRI frame, and the parallel data is converted into serial data transmission. The positions of IQ data and compression factor are optimized, the C/M channel control word is simplified, expansion space is reserved, and hardware resource consumption is reduced.
It reduces hardware resource consumption, simplifies the subsequent processing flow, improves data transmission efficiency and system scalability, and meets the requirements of Ethernet data frame structure compatibility and application layer message transmission.
Smart Images

Figure CN117641445B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the fields of wireless communication and terminal technology, and in particular to a data transmission method, system, apparatus and storage medium. Background Technology
[0002] A low-power (Pico) indoor distribution system consists of a BBU (Base Band Unit), a HUB (Extension Unit), and a pRRU (Pico RRU). Data communication between the pRRU and the HUB can be achieved through CPRI (Common Public Radio Interface). However, the CPRI frame format, based on related technologies, suffers from drawbacks in indoor distribution system applications, including high hardware resource consumption in the later-stage processing units, fixed information content in the C / M (Control / Manage) channel, and poor scalability. Summary of the Invention
[0003] The purpose of this disclosure is to provide a data transmission method, system, apparatus, and storage medium to address the problems of high hardware resource consumption of the post-processing unit, fixed information filling content of the C / M channel, and poor scalability in indoor distributed systems. The specific technical solution is as follows:
[0004] In a first aspect, embodiments of this disclosure provide a data transmission method, the method comprising:
[0005] Use the local clock to count and obtain the count value;
[0006] The target character number within the basic frame is determined based on the number of characters included in the basic frame and the count value.
[0007] Obtain the data to be transmitted corresponding to the target character number;
[0008] Map the data to be transmitted onto a custom CPRI frame;
[0009] The CPRI frame is converted into serial data using a parallel converter, and the serial data is transmitted. The parallel bit width of the CPRI frame is the same as the parallel bit width of the IP interface of the parallel converter.
[0010] Optionally, multiple characters in the CPRI frame header correspond to Ethernet data, and the first designated character number in the CPRI frame tail corresponds to the frame check sequence of the Ethernet data. The Ethernet data includes destination address, source address, frame length information, and generates a preamble and frame count.
[0011] Optionally, in the CPRI frame, the number of characters occupied by the in-phase quadrature IQ data of each standard channel is fixed, and the number of characters occupied by the compression factor of each standard channel is fixed.
[0012] Optionally, when the data to be transmitted is the compression factor of multiple target standard channels, the step of mapping the data to be transmitted to a custom CPRI frame includes:
[0013] Determine the position of each target format channel at the target character corresponding to the target character number on the custom CPRI frame;
[0014] The compression factor of each target format channel is mapped to the low bit of the corresponding position of the target character.
[0015] Optionally, when the data to be transmitted is IQ data of multiple target standard channels, the step of mapping the data to be transmitted onto a custom CPRI frame includes:
[0016] Determine the position of each target format channel at the target character corresponding to the target character number on the custom CPRI frame;
[0017] Map the IQ data of each target format channel to the corresponding bit position of the target character.
[0018] Optionally, the second designated character number at the end of the CPRI frame corresponds to a message channel, which is used for transparent transmission of application layer messages.
[0019] Optionally, the application layer message includes a preamble, destination address, source address, type / length, valid data, and frame check sequence.
[0020] Optionally, the third designated character number at the end of the CPRI frame corresponds to the control management channel, which is used to transmit control words.
[0021] Optionally, the method further includes:
[0022] The target base frame number of the superframe is determined based on the number of characters included in the base frame and the count value. Each superframe includes multiple base frames.
[0023] The step of obtaining the data to be transmitted corresponding to the target character number includes:
[0024] When the target character number is the third specified character number, the control word corresponding to the target basic frame number is obtained as the data to be transmitted.
[0025] Optionally, each superframe includes 64 base frames, each superframe includes 16 sub-channels, and each sub-channel includes 4 control words.
[0026] Optionally, the fourth designated character number at the end of the CPRI frame corresponds to the gap field, which is used to transmit the frame gap information generated according to the chip device model.
[0027] Optionally, the frame gap information in the gap field of the previous basic frame of a superframe start bit is frame-fixing information, which includes the end symbol of the superframe to which the basic frame belongs and the start symbol of the next superframe to which the basic frame belongs.
[0028] The method further includes:
[0029] Based on the number of characters included in the basic frame, the count value, the number of basic frames included in the superframe, and the number of superframes included in the wireless frame, the target wireless frame number and the target superframe number within the wireless frame are determined, and each wireless frame includes multiple superframes.
[0030] The step of obtaining the data to be transmitted corresponding to the target character number includes:
[0031] When the target character number is the fourth specified character number, if the target wireless frame number and the target superframe number reach the start position of the superframe, the target frame information is obtained as the data to be transmitted.
[0032] Optionally, the fifth specified character number at the end of the CPRI frame is a reserved character, and the reserved character is filled with zeros.
[0033] Optionally, the base frame is synchronized with a 10-millisecond frame header in the uplink and downlink.
[0034] Secondly, embodiments of this disclosure provide an indoor distribution system, the system including electronic devices, the electronic devices comprising:
[0035] At least one processor; and
[0036] A memory storing executable instructions that, when executed by the at least one processor, cause the at least one processor to implement any of the data transfer method steps described above.
[0037] Optionally, the electronic device is a HUB or a low-power radio remote unit (pRRU), and the CPRI frame is a basic frame transmitted through the fronthaul interface between the HUB and the pRRU.
[0038] Thirdly, embodiments of this disclosure provide a data transmission apparatus, the apparatus comprising:
[0039] The counting unit is used to count using a local clock to obtain a count value;
[0040] The determining unit is used to determine the target character number within the basic frame based on the number of characters included in the basic frame and the count value;
[0041] The acquisition unit is used to acquire the data to be transmitted corresponding to the target character number;
[0042] A mapping unit is used to map the data to be transmitted onto a custom CPRI frame;
[0043] A conversion unit is used to convert the CPRI frame into serial data using a parallel converter and to transmit the serial data, wherein the parallel bit width of the CPRI frame is the same as the parallel bit width of the IP interface of the parallel converter.
[0044] Fourthly, this disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements any of the data transmission method steps described above.
[0045] This disclosure also provides a computer program product containing instructions that, when run on a computer, cause the computer to perform any of the data transmission methods described above.
[0046] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0047] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other embodiments can be obtained based on these accompanying drawings.
[0048] Figure 1 This is a schematic diagram of the network architecture of an indoor distribution system provided in an embodiment of the present disclosure;
[0049] Figure 2 This is a schematic diagram of the structure of a wireless frame provided in an embodiment of the present disclosure;
[0050] Figure 3 This is a schematic diagram of the structure of a basic frame provided in an embodiment of the present disclosure;
[0051] Figure 4A schematic diagram of the IQ data and compression factor filling method for NR channels 1-4 provided in this embodiment of the disclosure;
[0052] Figure 5 A schematic diagram of the IQ data and compression factor padding method for LTE channels 1-2 provided in this embodiment of the present disclosure;
[0053] Figure 6 A schematic diagram illustrating the transmission format used for application layer message transmission provided in this embodiment of the disclosure;
[0054] Figure 7 This is a schematic diagram of a first type of data transmission method provided in an embodiment of the present disclosure;
[0055] Figure 8 This is a second flowchart illustrating the data transmission method provided in an embodiment of the present disclosure;
[0056] Figure 9 A schematic diagram of an indoor distribution system provided in an embodiment of this disclosure;
[0057] Figure 10 This is a schematic diagram of a data transmission device provided in an embodiment of the present disclosure. Detailed Implementation
[0058] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this disclosure.
[0059] The fronthaul interface includes the communication interface between the RRU (Remote Radio Unit) and the HUB (Extension Unit), and the communication interface between the BBU (Base Band Unit) and the HUB. Fronthaul interfaces include CPRI (Common Public Radio Interface) and eCPRI (enhanced CPRI), etc. The CPRI Alliance is an industry collaboration organization dedicated to developing specifications for the main interfaces between the REC (Radio Equipment Controller) and RE (Radio Equipment) within a wireless base station.
[0060] The low-power (Pico) indoor distribution system consists of a BBU, a HUB (extension unit), and pRRUs (Pico RRUs, low-power radio remote units). Each pRRU has one optical port, which connects to an optical port on the HUB via fiber optic cable. Each HUB has eight downlink optical ports, and a single HUB can directly connect to a maximum of eight pRRUs. The BBU has four optical ports for cascading between the BBU and HUB, and the HUB supports a maximum of two cascading levels. Based on this, the network architecture of the entire indoor distribution system is as follows: Figure 1 .
[0061] The pRRU is mainly responsible for the mid-frequency processing of uplink and downlink signals of the base station and the antenna interface. Compared with the ordinary RRU, the pRRU is smaller in size and power, and the power supply and connection with the BBU need to be realized through a HUB. In terms of software and hardware functions, it is basically the same as the ordinary RRU.
[0062] The HUB is a new addition to the indoor distribution system. It is mainly responsible for data distribution and aggregation between the uplink optical ports and downlink optical ports on the HUB, cascading between the cascaded optical ports of the HUB, and obtaining the system clock and system synchronization function from the BBU through the uplink optical port. The uplink optical port is the optical port between the HUB and the BBU, and the downlink optical port is the optical port between the HUB and the pRRU.
[0063] Data communication between the pRRU and HUB can be achieved using CPRI. However, the CPRI frame format, based on related technologies, presents the following problems in indoor distributed systems:
[0064] (1) According to the CPRI definition, in a scenario with an online rate of 10137.6Mbps, the original CPRI frame structure is a time-division data block of 20 rows * 16 columns (160 bits * 16). The first column is the C / M data channel, and the second to 16th columns are IQ (In-phase Quadrature) data and compression factor. However, the parallel bit width of the 10Gbps Serdes (parallel converter) IP (Internet Protocol) interface commonly used in indoor distribution systems is 64 bits, which does not match the bit width of one column of the original CPRI frame (i.e., 160 bits). Therefore, an additional bit width conversion module is required for interface adaptation when sending and receiving CPRI frames, which increases the consumption of hardware resources.
[0065] Furthermore, the CPRI frame includes multiple NR (New Radio) channels and multiple LTE (Long Term Evolution) channels. Since the byte boundaries of the IQ data in each channel in the CPRI frame are not aligned, and there are sequential requirements for data transmission between channels, the processing unit needs to slice and buffer before parsing and filling the IQ data, which increases the complexity of subsequent processing and hardware resource consumption.
[0066] (2) A single superframe of the original CPRI contains 256 C / M (Control / Manage) channel control words. In indoor distributed system application scenarios, the information redundancy of the C / M channel is large, which occupies a lot of bandwidth; moreover, the information filling content of the C / M channel is fixed and has poor scalability.
[0067] To address the aforementioned issues, this disclosure defines a wireless frame, which contains multiple superframes, and each superframe contains multiple basic frames. The parallel bit width of a basic frame is the same as the parallel bit width of the SerDes IP interface. For example, if the parallel bit width of the SerDes IP interface is 64 bits, which is equivalent to a Double Word (DW) or a single character, then the parallel bit width of a basic frame is 64 bits, meaning that one character in a basic frame is 64 bits.
[0068] In this embodiment of the disclosure, the parallel bit width of a basic frame is the same as the parallel bit width of the Serdes IP interface. Therefore, the HUB and pRRU in the indoor distribution system do not need an additional bit width conversion module for interface adaptation when sending and receiving CPRI frames, which reduces the consumption of hardware resources.
[0069] A basic frame is a CPRI frame. The length of a basic frame can be determined by its time, line rate, and encoding technique. For example, if a basic frame has a time of 1 / 0.96M, a line rate of 10.1376Gbps, and uses 64B / 66B encoding, then the length of a basic frame is 1 / 0.96 * 10.1376 * 10^65. 3 / 66 = 160, meaning a basic frame consists of 160 DWs. Here, the clock rate is 153.6 MHz.
[0070] In this embodiment of the application, taking an example where a radio frame contains 150 superframes, a superframe contains 64 basic frames, and a basic frame contains 160 DWs, the structure of the radio frame is as follows: Figure 2 As shown. Figure 2In this system, one radio frame includes 150 superframes, numbered 0-149; one superframe includes 64 basic frames, numbered 0-63; and one basic frame includes 160 DWs, numbered 0-159.
[0071] In this embodiment of the disclosure, the IQ data of each channel occupies a fixed number of characters in the basic frame. When the IQ data is compressed, the compression factor of each channel also occupies a fixed number of characters in the basic frame.
[0072] In some embodiments, specified characters are used to fill the header and trailer of each basic frame with Ethernet data. This Ethernet data may include, but is not limited to, preamble, destination address, source address, type / length, frame count, and FCS (Frame Check Sequence), etc. Figure 3 The basic frames shown are numbered 0, 1, ..., 159 from left to right. Figure 3 In the basic frame, the position marked by the number 1 in DW0 is the preamble, the position marked by the number 2 in DW1 is the destination address, the position marked by the number 3 in both DW1 and DW2 is the source address, the position marked by the number 4 in DW2 is the type / length (i.e., frame length), the position marked by the number 5 in DW2 is the frame count, and the position marked by the number 6 in DW157 is the FCS. By filling the basic frame with the above Ethernet data, the technical solution provided in this embodiment can be made compatible with the Ethernet data frame structure.
[0073] The Ethernet data mentioned above can be filled using standard Ethernet methods, and the correctness of the data can be verified by FCS. At the same time, after the basic frame is filled with the above Ethernet data, it can be connected to the switch through the 10G optical port for data forwarding, so as to achieve compatibility of Ethernet data frame structure.
[0074] In some embodiments, a gap field can be set in a base frame, such as Figure 3 In DW158-DW159, the position marked by the number 7 is the gap field. The position of the gap field can be set according to actual needs. This gap field has a fixed value and is located in the gap field of the basic frame preceding the start of the superframe. It can be filled with frame information. For different Ethernet chips, the content of the frame information filling will be different due to the different encoding methods of SERDES. In one example, combining a basic frame with a parallel bit width of 64 bits and a length of 160 DWs, the content and length of the preamble, destination address, source address, type / length, frame count, and gap field filling information are shown in Table 1.
[0075] Table 1
[0076]
[0077] The base frame preceding the start of a superframe belongs to the previous superframe. Therefore, the aforementioned framing information includes the end marker of the superframe to which the base frame belongs and the start marker of the next superframe to which the base frame belongs. For example, as... Figure 2 As shown, the wireless frames include superframes 0-149. The next superframe after superframe 0 is superframe 1, the next superframe after superframe 1 is superframe 2, the next superframe after superframe 2 is superframe 3, and so on. The superframes include basic frames 0-63. The next basic frame after basic frame 0 is basic frame 1, the next basic frame after basic frame 1 is basic frame 2, the next basic frame after basic frame 2 is basic frame 3, and so on. Basic frame 63 is the last basic frame of the superframe.
[0078] The preceding basic frame to the start position of superframe 1 belongs to superframe 0 and is the basic frame 63 of superframe 0. The gap field of the basic frame 63 of superframe 0 is filled with frame information, which includes the end symbol of superframe 0 and the start symbol of the next superframe 1 of superframe 0. The preceding basic frame to the start position of superframe 2 belongs to superframe 1 and is the basic frame 63 of superframe 1. The gap field of the basic frame 63 of superframe 1 is filled with frame information, which includes the end symbol of superframe 1 and the start symbol of the next superframe 2 of superframe 1. And so on.
[0079] IQ data, compression factor, reserved Ethernet channel, CM channel, and message channel are the actual components used in the CPRI protocol. The IQ data field transmits CPRI IQ data, using either 8-bit block compression or other compression methods. The C / M channel field transmits CPRI control words, and the message channel field transmits CPRI Ethernet data. Considering that a basic frame has a parallel bit width of 64 bits and a length of 160 DWs, and that IQ data includes 4 NR channel data and 2 LTE channel data, the distribution of the above fields is as follows: Figure 3 As shown, Figure 3 In DW3-DW156, the number 8 indicates the IQ channel number of the NR channel; numbers 9-12 indicate the compression factor of the NR channel; number 13 indicates the IQ channel number of the LTE channel; and numbers 14-15 indicate the compression factor of the LTE channel. In a basic frame, the IQ data of the NR and LTE channels occupies 1152 bytes of space, and the compression factors of the NR and LTE channels occupy 9 bytes of space. Number 16 indicates the reserved Ethernet channel, which occupies 8 bytes of space in a basic frame. Number 17 indicates the C / M channel, which occupies 8 bytes of space in a basic frame. Number 18 indicates the message channel, which occupies 8 bytes of space in a basic frame.
[0080] Considering compression, the number of data windows (DW) occupied by a single NR 100M cell with 4 antennas (i.e., 64 bits) is: sampling rate * basic frame time * sampling width * number of antennas / number of bits per DW = 122.88 / 0.96 * 16 * 4 / 64 = 128. The number of DWs (i.e., 64 bits) occupied by a single LTE 20M cell with 2 antennas is: sampling rate * basic frame time * sampling width * number of antennas / number of bits per DW = 30.72 / 0.96 * 16 * 2 / 64 = 16. The compression efficiency of NR and LTE is only 1 / 2. That is, in the case of 4 * NR 100M + 2 * LTE 20M, the IQ data portion occupies a total of 128 + 16 = 144 DWs. The compression factor is 4 DWs for NR and 1 DW for LTE. (Corresponding to the above...) Figure 3 In the basic frame structure shown, the DW numbers from left to right are 0, 1, ... 159. DW 3 transmits the compression factor of the first 4-channel compressed block of NR; DW 4-35 transmit the IQ data of the first 4-channel compressed block of NR; DW 36 transmits the compression factor of the second 4-channel compressed block of NR; DW 37-68 transmit the IQ data of the second 4-channel compressed block of NR; DW 69 transmits the compression factor of the third 4-channel compressed block of NR; DW 70-101 transmit the IQ data of the third 4-channel compressed block of NR; DW 102 transmits the compression factor of the fourth 4-channel compressed block of NR; DW 103-134 transmit the IQ data of the fourth 4-channel compressed block of NR. DW 135 transmits the compression factor of the two LTE channels; DW 136-151 transmit the IQ data of the two LTE channels compressed block; and DW 152-153 are padded with zeros.
[0081] In this embodiment, the compression algorithm for IQ data can be set according to actual needs. In one example, the compression algorithm for IQ data can be the 32-block floating-point compression algorithm of CPRI Option8 OTIC. Taking the 32-block floating-point compression algorithm of CPRI Option8 OTIC as an example: In compression mode, the original dual-mode IQ data is 16 bits. Using the 32-block floating-point compression algorithm of CPRI Option8 OTIC, 32 sampling points of the same antenna carrier within a basic frame are defined as one compression block. First, the IQ data is converted into a signed integer representation. Then, the maximum amplitude of the 32 sampling points of IQ data is found. The compression factor is calculated based on the maximum amplitude. The 32 sampling points of IQ data are truncated and compressed according to the compression factor. After compression, the bit width of both I-channel data and Q-channel data is 8 bits. At this time, 4 channels of NR IQ data and 2 channels of LTE IQ data can be transmitted. In uncompressed mode, no compression processing is performed, and two channels of NR and one channel of LTE IQ data are transmitted.
[0082] In this embodiment of the disclosure, the IQ data and compression factor of the NR and LTE channels are padded at fixed positions in the basic frame, i.e., flexible mapping methods are not supported. For example Figure 3 As shown, the IQ data and compression factor of the NR and LTE channels occupy a total of 149 DWs. The IQ data of the NR channel occupies the first 132 DWs of the 149 DWs, and the LTE data occupies the last 17 DWs of the 149 DWs. Since the padding positions of the IQ data and compression factor in the basic frame are fixed, the byte alignment of the IQ data in the basic frame can be guaranteed, and the order of data transmission between channels can be satisfied. There is no need for the subsequent processing unit to slice and buffer the IQ data. The subsequent processing unit can directly insert or extract the IQ data in the CPRI frame each clock cycle, saving additional slicing, buffering, and smoothing data flow processing. This simplifies the processing flow of the subsequent processing unit when encapsulating and parsing information, reduces hardware resource consumption, and lowers hardware resource consumption.
[0083] by Figure 3 Taking the compression factor and IQ data of the first 4-channel compression block in NR as an example, the specific filling method of IQ data and compression factor for NR channels 1-4 can be found in [reference needed]. Figure 4 As shown. Figure 4 In this code, the height of a row is 8 bits, and the length of a row is 33 DWs. Figure 4 The meanings of the numbers 9-12 can be found in [reference needed]. Figure 3 Some related descriptions. A rectangle represents one block:
[0084] The first two lines are filled with the compression factor and IQ data of the NR channel 1 compressed block. Specifically, the lower 4 bits of the first block in the second line are filled with the compression factor of the NR channel 1 compressed block, and blocks 2-33 of the first line are filled with the Q data (e.g., ...) from the IQ data of the NR channel 1 compressed block. Figure 4 The Q0, Q1, ... Q31 data shown, the 2nd to 33rd blocks of the 2nd row are filled with the I data in the IQ data of the NR channel 1 compressed block (e.g., ...). Figure 4 (The data I0, I1, ..., I31 shown);
[0085] Lines 3 and 4 are filled with the compression factor and IQ data of the NR channel 2 compressed block. Specifically, the lower 4 bits of the first block in line 4 are filled with the compression factor of the NR channel 2 compressed block, and blocks 2-33 of line 3 are filled with the Q data (e.g., ...) of the IQ data of the NR channel 2 compressed block. Figure 4 The Q0, Q1, ... Q31 data shown, the I data in the IQ data of the NR channel 2 compressed block filled by blocks 2-33 in the 4th row (as shown) Figure 4 (The data I0, I1, ..., I31 shown);
[0086] Lines 5 and 6 are filled with the compression factor and IQ data of the NR channel 3 compressed block. Specifically, the lower 4 bits of the first block in line 6 are filled with the compression factor of the NR channel 3 compressed block, and blocks 2-33 of line 5 are filled with the Q data (e.g., ...) of the IQ data of the NR channel 3 compressed block. Figure 4 The Q0, Q1, ... Q31 data shown, blocks 2-33 of row 6 are filled with the I data in the IQ data of the NR channel 3 compressed block (e.g., ...). Figure 4 (The data I0, I1, ..., I31 shown);
[0087] Lines 7 and 8 are filled with the compression factor and IQ data of the NR channel 4 compressed block. Specifically, the lower 4 bits of the first block in line 8 are filled with the compression factor of the NR channel 4 compressed block, and blocks 2-33 of line 7 are filled with the Q data (e.g., ...) of the IQ data of the NR channel 4 compressed block. Figure 4 The Q0, Q1, ... Q31 data shown, blocks 2-33 of row 8 are filled with the I data in the IQ data of the NR channel 4 compressed block (e.g., ...). Figure 4 (The data I0, I1, ..., I31 shown).
[0088] Correspondingly, for the compression factor and IQ data padding method of the second to fourth 4-channel compression blocks of NR, please refer to [link / reference]. Figure 4 As shown, it will not be elaborated further here.
[0089] by Figure 3 Taking the compression factor and IQ data of two LTE channels as an example, the specific filling method of IQ data and compression factor for LTE channels 1-2 can be found in [reference needed]. Figure 5 As shown. Figure 5 In this code, the height of a row is 8 bits, and the length of a row is 17 DWs. Figure 4 The meanings of the numbers 14-15 can be found in [link to documentation]. Figure 3 Some related descriptions. A rectangle represents one block:
[0090] Lines 1-4 are filled with the compression factor and IQ data of the LTE channel 1 compressed block. Specifically, the lower 4 bits of the first block in line 4 are filled with the compression factor of the LTE channel 1 compressed block, and lines 2-17 in line 1 are filled with the odd-numbered bits of the Q data (e.g., ...) of the IQ data of the LTE channel 1 compressed block. Figure 5 The Q1, Q3, ... Q31 data shown, blocks 2-17 of the 3rd row fill the even-numbered bits of the Q data in the IQ data of the LTE channel 1 compressed block (e.g., ...). Figure 5 The Q0, Q2, ... Q30 data shown, the 2nd to 17th blocks of the 2nd row are filled with the odd-numbered bits of the I data in the IQ data of the LTE channel 1 compressed block (e.g., ...). Figure 5The I1, I3, ... I31 data shown, the 2nd to 17th blocks of the 4th row are filled with even-numbered bits of I data in the IQ data of the LTE channel 1 compressed block (e.g., ...). Figure 5 (The data I0, I2, ..., I30 shown);
[0091] Lines 5-8 are filled with the compression factor and IQ data of the LTE channel 2 compression block. Specifically, the lower 4 bits of the first block in line 8 are filled with the compression factor of the LTE channel 2 compression block, and lines 2-17 in line 5 are filled with the odd-numbered bits of the Q data (e.g., ...) of the IQ data of the LTE channel 2 compression block. Figure 5 The Q1, Q3, ... Q31 data shown, blocks 2-17 of row 7, are the even-numbered bits of Q data in the IQ data of the LTE channel 2 compressed block (e.g., ...). Figure 5 The Q0, Q2, ... Q30 data shown, blocks 2-17 of row 6, are the odd-numbered bits of the I data in the IQ data of the LTE channel 2 compressed block (e.g., ...). Figure 5 The I1, I3, ... I31 data shown, the even-numbered bits of the I data in the IQ data of the LTE channel 2 compressed block filled in the 2nd to 17th blocks of the 8th row (e.g., I1, I3, ... I31 data) Figure 5 (The data I0, I2, ..., I30 are shown).
[0092] In this embodiment of the disclosure, the message channel in the basic frame is used for transparent transmission of application layer messages, completing normal message interaction between master and slave devices, version upgrades, and log extraction, among other functions. Figure 3 Taking the basic frame shown as an example, the message channel occupies 8 bytes in the basic frame. Therefore, the message interaction bandwidth of this protocol is about 5.1Mbps, which meets the current application layer bandwidth requirements.
[0093] In this embodiment, the message channel only transmits application layer messages transparently without any encoding. Compared with related technologies, the technical solution provided in this embodiment adopts purely transparent transmission, with the MAC frame length implemented on the driver side, and the total number of bytes occupied by the entire application layer message is counted. The application layer message transmission adopts a transmission format as follows: Figure 6 As shown.
[0094] For the sending end, when there is application layer message transmission, at a specified position in the base frame (e.g., Figure 3 (The message channel position shown is filled) Figure 6 The message bytes shown; when no message is being transmitted, the specified position in the basic frame (e.g., ...) Figure 3 The message channel position shown is filled with 64'hFFFFFFFF (indicating no application layer message). For the receiving end, the presence of an application layer message can be determined by checking for a preamble on the link (i.e., the message channel) in real time. When an application layer message is detected, it is reported to the application layer software for processing.
[0095] The aforementioned message channel has a fixed position within a basic frame, eliminating the need for time-division multiplexing and improving message transmission efficiency.
[0096] In this embodiment of the disclosure, the C / M channel in the basic frame can be used to exchange underlying link information, such as the radio frame number, RRUID (Remote Root ID), NETID (Network ID), etc. Figure 3 Taking the basic frame shown as an example, the C / M channel occupies 8 bytes in the basic frame. It uses a time-division mechanism to occupy the C / M channel in each basic frame, and cycles around a superframe (e.g., 66.7us).
[0097] In this embodiment of the disclosure, 64 control words are configured for each superframe, and 16 sub-channels are grouped into groups of 4 control words each. The sub-channel numbers are Ns = 0, 1, ..., 15, and the control word number in each sub-channel is Ys = 0, 1, 2, 3. Therefore, the control word number in each superframe is Y = Ns + 16 * Ys. The meaning of each control word can be found in Table 2 below:
[0098] Table 2
[0099]
[0100] The meaning of each control word in Table 2 is shown in Table 3 below.
[0101] Table 3
[0102]
[0103] In Table 3, the control word number can also be understood as the basic frame number. The control word number can be calculated using the above method Y = Ns + 16 * Ys.
[0104] In this embodiment, the interaction information of the C / M channel mainly includes information such as frame synchronization information, radio frame number, CPRI version number, RRU_ID, NET_ID, and latency. Based on the above description of the C / M channel, this embodiment simplifies the control words of the C / M channel, reducing the number of control words from 256 to 64, thus reducing information redundancy and bandwidth usage. Furthermore, this embodiment can reserve space for future expansion, such as... Figure 3 The basic frame shown reserves 64 bits of extended space in columns DW152 to DW153, which can make full use of the bandwidth and has stronger scalability.
[0105] Based on the aforementioned structure of basic frames (i.e., CPRI frames), superframes, and radio frames, embodiments of this disclosure provide a data transmission method, such as... Figure 7As shown, this method can be applied to HUBs or pRRUs in indoor distribution systems. For ease of description, the following explanation will focus on electronic devices as the execution subject. The data transmission described above includes the following steps:
[0106] Step S71: Use the local clock to count and obtain the count value.
[0107] Step S72: Determine the target character number within the basic frame based on the number of characters and the count value included in the basic frame.
[0108] For example Figure 2 As shown, one radio frame includes 150 superframes, numbered 0-149; one superframe includes 64 basic frames, numbered 0-63; and one basic frame includes 160 DW (characters), numbered 0-159. Based on the count value, the DW number gradually increases from 0 to 159, then the DW numbering restarts from 0, and the basic frame number increments by 1. When the basic frame number gradually increases from 0 to 63, the radio frame number increments by 1.
[0109] Step S73: Obtain the data to be transmitted corresponding to the target character number.
[0110] In this embodiment of the disclosure, the basic frame transmitted between the HUB and pRRU via the fronthaul interface can be a custom CPRI frame. Multiple characters in the header of the CPRI frame correspond to Ethernet data, and the first specified character number in the tail of the CPRI frame corresponds to the frame check sequence of the Ethernet data. The Ethernet data includes the destination address, source address, frame length information, and generates a preamble and frame count.
[0111] The second designated character number at the end of the CPRI frame corresponds to the message channel, which is used for transparent transmission of application layer messages. Application layer messages include a preamble, destination address, source address, type / length, valid data, and frame check sequence, such as... Figure 6 As shown.
[0112] The third designated character number at the end of the CPRI frame corresponds to the control management channel, which is used to transmit control words.
[0113] The fourth designated character number at the end of the CPRI frame corresponds to the gap field, which is used to transmit the frame gap information generated according to the chip device model. The frame gap information in the gap field of the basic frame preceding the start of a superframe is the frame information, which includes the end symbol of the superframe to which the basic frame belongs and the start symbol of the next superframe to which the basic frame belongs;
[0114] The fifth character at the end of the CPRI frame is a reserved character, and the reserved character is filled with zeros, such as... Figure 3The DW152-153 in this disclosure. Embodiments of this disclosure can utilize this reserved expansion space, which can fully utilize bandwidth and provide greater scalability.
[0115] In a CPRI frame, the number of characters occupied by in-phase quadrature IQ data in each channel is fixed, and the number of characters occupied by the compression factor in each channel is fixed. The channels include NR and LTE.
[0116] The CPRI frame structure described above can be found in [reference needed]. Figure 3 The basic frame structure shown.
[0117] Based on the pre-configured correspondence between character numbers and transmitted data, the electronic device can obtain the corresponding data to be transmitted and execute step S74 to map the data to be transmitted onto a custom CPRI frame.
[0118] Step S74: Map the data to be transmitted onto a custom CPRI frame.
[0119] Step S75: Using a parallel converter, the CPRI frame is converted into serial data and the serial data is transmitted. The parallel bit width of the CPRI frame is the same as the parallel bit width of the IP interface of the parallel converter.
[0120] In this embodiment of the disclosure, the parallel bit width of a basic frame is the same as the parallel bit width of the Serdes IP interface. Therefore, the HUB and pRRU in the indoor distribution system do not need an additional bit width conversion module for interface adaptation when sending and receiving CPRI frames, which reduces the consumption of hardware resources.
[0121] In some embodiments, in a CPRI frame, the number of characters occupied by the in-phase quadrature IQ data of each standard channel is fixed, and the number of characters occupied by the compression factor of each standard channel is fixed, such as... Figure 4 and Figure 5 .
[0122] In this case, when the data to be transmitted is the compression factor of multiple target standard channels, the above-mentioned step of mapping the data to be transmitted to the General Public Radio Interface (CPRI) frame may include: the electronic device determining the position of each target standard channel at the target character corresponding to the target character number on the custom CPRI frame; and mapping the compression factor of each target standard channel to the low bit of the corresponding position of the target character.
[0123] When the data to be transmitted is IQ data of multiple target standards channels, the above steps of mapping the data to be transmitted to the Common Public Radio Interface (CPRI) frame may include: the electronic device determining the position of each target standard channel at the target character corresponding to the target character number on the custom CPRI frame; and mapping the IQ data of each target standard channel to the bit position of the corresponding target character.
[0124] For example, the target character number is DW3, and the data to be transmitted is the compression factor of NR channels 1-4, such as... Figure 4 As shown, for the first two rows of DW3 corresponding to channel 1, the lower 4 bits of the second row of DW3 are filled with the compression factor of the NR channel 1 compression block. For the third and fourth rows of DW3 corresponding to channel 2, the lower 4 bits of the fourth row of DW3 are filled with the compression factor of the NR channel 2 compression block. For the fifth and sixth rows of DW3 corresponding to channel 3, the lower 4 bits of the sixth row of DW3 are filled with the compression factor of the NR channel 3 compression block. For the seventh and eighth rows of DW3 corresponding to channel 4, the lower 4 bits of the eighth row of DW3 are filled with the compression factor of the NR channel 4 compression block.
[0125] For example, the target character number is DW4, and the data to be transmitted is IQ data from NR channels 1-4, such as... Figure 4 As shown, rows 1-2 of DW4 corresponding to channel 1 are filled with IQ data from the NR channel 1 compressed block; rows 3-4 of DW4 corresponding to channel 2 are filled with IQ data from the NR channel 2 compressed block; rows 5-6 of DW4 corresponding to channel 3 are filled with IQ data from the NR channel 3 compressed block; and rows 7-8 of DW4 corresponding to channel 4 are filled with IQ data from the NR channel 4 compressed block.
[0126] In some embodiments, the third designated character number at the end of the CPRI frame corresponds to the control management channel, which is used to transmit control words.
[0127] In this case, such as Figure 8 As shown, the above data transmission method may include steps S81-S86:
[0128] Step S81: Use the local clock to count and obtain the count value. This is the same as step S71 above.
[0129] Step S82: Determine the target character number within the basic frame based on the number of characters and the count value included in the basic frame. This is the same as step S72 described above.
[0130] Step S83: Determine the target base frame number of the superframe based on the number of characters and the count value included in the base frame. Each superframe includes multiple base frames.
[0131] In this embodiment of the disclosure, the execution order of steps S82-S83 is not limited.
[0132] Step S84: When the target character number is the third specified character number, obtain the control word corresponding to the target basic frame number as the data to be transmitted.
[0133] Step S85: Map the data to be transmitted onto a custom CPRI frame. This is the same as step S74 above.
[0134] Step S86: Using a parallel converter, the CPRI frame is converted into serial data and transmitted as serial data. The parallel bit width of the CPRI frame is the same as the parallel bit width of the IP interface of the parallel converter. This is the same as step S75 above.
[0135] In this embodiment of the disclosure, the parallel bit width of a basic frame is the same as the parallel bit width of the Serdes IP interface. Therefore, the HUB and pRRU in the indoor distribution system do not need an additional bit width conversion module for interface adaptation when sending and receiving CPRI frames, which reduces the consumption of hardware resources.
[0136] In this embodiment of the disclosure, each superframe may include 64 basic frames, each superframe includes 16 sub-channels, and each sub-channel includes 4 control words. The meaning and sequence number of the control words can be found in Tables 2 and 3 above.
[0137] In this embodiment, the interaction information of the C / M channel mainly includes information such as frame synchronization information, radio frame number, CPRI version number, RRU_ID, NET_ID, and latency. Based on the above description of the C / M channel, in this embodiment, the control words of the CM channel are simplified, as shown above, from the original 256 control words to 64 control words, reducing the information redundancy of the C / M channel and reducing bandwidth usage.
[0138] In some embodiments, the fourth designated character number at the end of the CPRI frame corresponds to the gap field, which is used to transmit frame gap information generated according to the chip device model. The frame gap information within the gap field preceding a superframe start bit is the frame information.
[0139] In this case, the above data transmission method may further include:
[0140] Based on the number of characters and count value included in the basic frame, the number of basic frames included in the superframe, and the number of superframes included in the radio frame, the target radio frame number and the target superframe number within the radio frame are determined. Each radio frame includes multiple superframes.
[0141] At this time, step 73 above can be: when the target character number is the fourth specified character number, if the target wireless frame number and the target superframe number reach the start position of the superframe, then the target frame information is obtained as the data to be transmitted.
[0142] In some embodiments, the base frame is synchronized using a 10-millisecond frame header in the uplink and downlink, with the uplink using the downlink's 10-millisecond frame header. This ensures data synchronization and enables accurate data transmission.
[0143] Corresponding to the above data transmission method, this disclosure also provides an indoor distribution system, which includes electronic devices, such as... Figure 9 As shown, at least one processor 91; and
[0144] A memory 92 stores executable instructions that, when executed by the at least one processor 91, cause the at least one processor 91 to implement any of the data transmission method steps described above.
[0145] In some embodiments, the electronic device may be a HUB or a pRRU, and the CPRI frame is a basic frame transmitted through the fronthaul interface between the HUB and the pRRU.
[0146] In this embodiment of the disclosure, the electronic device can also be other devices, as long as the device supports the fronthaul interface.
[0147] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0148] The processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0149] Corresponding to the above data transmission method, this disclosure also provides a data transmission device, such as... Figure 10As shown, the device includes:
[0150] Counting unit 101 is used to count using a local clock to obtain a count value;
[0151] The determining unit 102 is used to determine the target character number within the basic frame based on the number of characters included in the basic frame and the count value;
[0152] Acquisition unit 103 is used to acquire the data to be transmitted corresponding to the target character number;
[0153] Mapping unit 104 is used to map the data to be transmitted onto a custom CPRI frame;
[0154] The conversion unit 105 is used to convert CPRI frames into serial data using a parallel converter and transmit the serial data. The parallel bit width of the CPRI frame is the same as the parallel bit width of the IP interface of the parallel converter.
[0155] In some embodiments, multiple characters in the CPRI frame header correspond to Ethernet data, and the first designated character number in the CPRI frame tail corresponds to the frame check sequence of the Ethernet data. The Ethernet data includes the destination address, source address, frame length information, preamble, and frame count.
[0156] In some embodiments, in a CPRI frame, the number of characters occupied by in-phase quadrature IQ data for each channel is fixed, and the number of characters occupied by the compression factor for each channel is fixed.
[0157] In some embodiments, the acquisition unit 103 may be specifically used for:
[0158] When the data to be transmitted is the compression factor of multiple target standard channels, determine the position of each target standard channel at the target character corresponding to the target character number on the custom CPRI frame;
[0159] Map the compression factor of each target format channel to the low bit of the corresponding position of the target character.
[0160] In some embodiments, the acquisition unit 103 may be specifically used for:
[0161] When the data to be transmitted is IQ data of multiple target standards channels, determine the position of the target character corresponding to the target character number on the custom CPRI frame for each target standard channel;
[0162] Map the IQ data of each target format channel to the corresponding bit position of the target character.
[0163] In some embodiments, the second designated character number at the end of the CPRI frame corresponds to a message channel used for transparent transmission of application layer messages.
[0164] In some embodiments, the application layer message includes a preamble, destination address, source address, type / length, valid data, and frame check sequence.
[0165] In some embodiments, the third designated character number at the end of the CPRI frame corresponds to the control management channel, which is used to transmit control words.
[0166] In some embodiments, the determining unit 102 may also be used to determine the target base frame number of the superframe based on the number of characters and the count value included in the base frame, wherein each superframe includes multiple base frames.
[0167] The acquisition unit 103 can be specifically used to acquire the control word corresponding to the target basic frame number when the target character number is the third specified character number, and use it as the data to be transmitted.
[0168] In some embodiments, each superframe includes 64 base frames, each superframe includes 16 sub-channels, and each sub-channel includes 4 control words.
[0169] In some embodiments, the fourth designated character number at the end of the CPRI frame corresponds to the gap field, which is used to transmit frame gap information generated according to the chip device model.
[0170] In some embodiments, the frame gap information in the gap field of the previous base frame of a superframe start bit is frame information, which includes the end symbol of the superframe to which the base frame belongs and the start symbol of the next superframe to which the base frame belongs.
[0171] The determining unit 102 can also be used to determine the target radio frame number and the target superframe number within the radio frame based on the number of characters included in the basic frame, the count value, the number of basic frames included in the superframe, and the number of superframes included in the radio frame, wherein each radio frame includes multiple superframes.
[0172] The acquisition unit 103 can be used to acquire target frame information as data to be transmitted when the target character number is the fourth specified character number and the target wireless frame number and the target superframe number have reached the start position of the superframe.
[0173] In some embodiments, the fifth specified character number at the end of the CPRI frame is a reserved character, and the reserved character is filled with zeros.
[0174] In some embodiments, the base frame is synchronized with the uplink and downlink using a 10-millisecond frame header.
[0175] In this embodiment of the disclosure, the parallel bit width of a basic frame is the same as the parallel bit width of the Serdes IP interface. Therefore, the HUB and pRRU in the indoor distribution system do not need an additional bit width conversion module for interface adaptation when sending and receiving CPRI frames, which reduces the consumption of hardware resources.
[0176] In another embodiment provided in this disclosure, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements any of the data transmission method steps described above.
[0177] In yet another embodiment provided in this disclosure, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform any of the data transmission method steps described above.
[0178] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this disclosure are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)).
[0179] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0180] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system, device, storage medium, and computer program product embodiments are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0181] The above description is merely a preferred embodiment of this disclosure and is not intended to limit the scope of protection of this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure are included within the scope of protection of this disclosure.
Claims
1. A data transmission method, characterized in that, The method includes: Use the local clock to count and obtain the count value; The target character number within the basic frame is determined based on the number of characters included in the basic frame and the count value. Obtain the data to be transmitted corresponding to the target character number, wherein the data to be transmitted includes IQ data and a compression factor; The data to be transmitted is mapped onto a custom CPRI frame, wherein one CPRI frame contains 150 superframes, one superframe contains 64 basic frames, and one basic frame contains 160 double-byte DWs; the IQ data includes 4 NR channel data and 2 LTE channel data, the 3rd to 134th DWs transmit the IQ data and compression factor of the 4 NR channel compressed blocks, and the 4th to 151st DWs transmit the IQ data and compression factor of the 2 LTE channel compressed blocks; The CPRI frame is converted into serial data using a parallel converter, and the serial data is transmitted. The parallel bit width of the CPRI frame is the same as the parallel bit width of the IP interface of the parallel converter.
2. The method according to claim 1, characterized in that, The CPRI frame header contains multiple characters that correspond to Ethernet data, and the first designated character number in the CPRI frame tail corresponds to the frame check sequence of the Ethernet data. The Ethernet data includes the destination address, source address, frame length information, and generates a preamble and frame count.
3. The method according to claim 1, characterized in that, In the CPRI frame, the number of characters occupied by the in-phase quadrature IQ data of each channel is fixed, and the number of characters occupied by the compression factor of each channel is fixed.
4. The method according to claim 3, characterized in that, When the data to be transmitted is a compression factor of multiple target standard channels, the step of mapping the data to be transmitted onto a custom CPRI frame includes: Determine the position of each target format channel at the target character corresponding to the target character number on the custom CPRI frame; The compression factor of each target format channel is mapped to the low bit of the corresponding position of the target character.
5. The method according to claim 3, characterized in that, When the data to be transmitted is IQ data of multiple target standard channels, the step of mapping the data to be transmitted onto a custom CPRI frame includes: Determine the position of each target format channel at the target character corresponding to the target character number on the custom CPRI frame; Map the IQ data of each target format channel to the corresponding bit position of the target character.
6. The method according to claim 1, characterized in that, The second designated character number at the end of the CPRI frame corresponds to the message channel, which is used for transparent transmission of application layer messages.
7. The method according to claim 6, characterized in that, The application layer message includes a preamble, destination address, source address, type / length, valid data, and frame check sequence.
8. The method according to claim 1, characterized in that, The third designated character number at the end of the CPRI frame corresponds to the control management channel, which is used to transmit control words.
9. The method according to claim 8, characterized in that, The method further includes: The target base frame number of the superframe is determined based on the number of characters included in the base frame and the count value. Each superframe includes multiple base frames. The step of obtaining the data to be transmitted corresponding to the target character number includes: When the target character number is the third specified character number, the control word corresponding to the target basic frame number is obtained as the data to be transmitted.
10. The method according to claim 9, characterized in that, Each superframe consists of 64 base frames, each superframe consists of 16 sub-channels, and each sub-channel consists of 4 control words.
11. The method according to claim 1, characterized in that, The fourth designated character number at the end of the CPRI frame corresponds to the gap field, which is used to transmit the frame gap information generated according to the chip device model.
12. The method according to claim 11, characterized in that, The frame gap information in the gap field of the previous basic frame in a superframe start bit is frame-fixing information, which includes the end symbol of the superframe to which the basic frame belongs and the start symbol of the next superframe to which the basic frame belongs. The method further includes: Based on the number of characters included in the basic frame, the count value, the number of basic frames included in the superframe, and the number of superframes included in the wireless frame, the target wireless frame number and the target superframe number within the wireless frame are determined, and each wireless frame includes multiple superframes. The step of obtaining the data to be transmitted corresponding to the target character number includes: When the target character number is the fourth specified character number, if the target wireless frame number and the target superframe number reach the start position of the superframe, the target frame information is obtained as the data to be transmitted.
13. The method according to claim 1, characterized in that, The fifth specified character at the end of the CPRI frame is a reserved character, and the reserved character is filled with zeros.
14. The method according to any one of claims 1-13, characterized in that, The basic frame is synchronized with a 10-millisecond frame header in both the uplink and downlink.
15. An indoor distribution system, characterized in that, The system includes an electronic device, which includes: At least one processor; and A memory storing executable instructions that, when executed by the at least one processor, cause the at least one processor to perform the steps of the method according to any one of claims 1-14.
16. The system according to claim 15, characterized in that, The electronic device is an extension unit HUB or a low-power radio remote unit pRRU, and the CPRI frame is a basic frame transmitted through the fronthaul interface between the HUB and the pRRU.
17. A data transmission device, characterized in that, The device includes: The counting unit is used to count using a local clock to obtain a count value; The determining unit is used to determine the target character number within the basic frame based on the number of characters included in the basic frame and the count value; An acquisition unit is used to acquire data to be transmitted corresponding to the target character number, wherein the data to be transmitted includes IQ data and a compression factor; A mapping unit is used to map the data to be transmitted onto a custom CPRI frame, wherein one CPRI frame contains 150 superframes, one superframe contains 64 basic frames, and one basic frame includes 160 double-byte DWs; the IQ data includes 4 NR channel data and 2 LTE channel data, the 3rd to 134th DWs transmit the IQ data and compression factor of the 4 four-channel NR compression blocks, and the 4th to 151st DWs transmit the IQ data and compression factor of the LTE two-channel compression blocks; A conversion unit is used to convert the CPRI frame into serial data using a parallel converter and to transmit the serial data, wherein the parallel bit width of the CPRI frame is the same as the parallel bit width of the IP interface of the parallel converter.
18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-14.
Citation Information
Patent Citations
Method and apparatus for transmitting frame data between near end device and far end device
CN107528667A