A data transmission method and device, electronic equipment and storage medium
By generating a set of modulation schemes and calculating the shift factor using a differential factor table, the computational resource consumption problem of the BBU during IQ data transmission in 5G networks was solved, thus saving computational resources.
Patent Information
- Application Number
- CN202411294257.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2044-09-13
AI Technical Summary
In 5G networks, during data transmission between the BBU and RRU, the BBU needs to calculate the power of each IQ data line one by one, which leads to excessive consumption of computing resources when there is a large amount of downlink data.
The BBU generates a set of modulation schemes, selects the maximum modulation scheme, looks up the differential factor table, calculates the shift factor and compression factor, performs shift processing on each IQ data, and then transmits it.
The computational resource consumption of the BBU during downlink data transmission has been reduced, with the computational load reduced to N/M of the current level, where N is the total number of modulation schemes and M is the number of IQ data entries.
Smart Images

Figure CN119945859B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, and particularly relates to a data transmission method and device, electronic equipment and storage medium. BACKGROUND
[0002] In a 5G network, data is usually transmitted between a baseband processing unit (BBU) and a remote radio unit (RRU) using optical fiber, but the transmission rate of the optical fiber is limited by an optical module. In order to reduce the cost of the optical module, an optical module with a smaller transmission rate is usually used. In this case, data compression is usually used to transmit data between the BBU and the RRU in order to save optical fiber transmission bandwidth.
[0003] At present, for the BBU, after receiving downlink data to be transmitted, the power corresponding to each In-phase Quadrature (IQ) data included in the downlink data needs to be calculated respectively; then, based on the calculated power, a compression factor corresponding to the downlink data is calculated; finally, based on the calculated compression factor, each IO data is compressed, and the compressed data and the compression factor are transmitted to the RRU.
[0004] In this data transmission process, the BBU needs to calculate the power of each IQ data one by one, and in the case where a large amount of downlink data needs to be transmitted to the RRU, a large amount of computing resources needs to be consumed. SUMMARY
[0005] To overcome the problems in the related art, the present application provides a data transmission method and device, electronic equipment and storage medium.
[0006] According to a first aspect of an embodiment of the present application, a data transmission method is provided, the method being applied to a BBU, and the method comprising:
[0007] receiving downlink data to be transmitted, wherein the downlink data includes a plurality of IQ data;
[0008] generating a modulation mode set according to the modulation mode corresponding to each IQ data, wherein the modulation mode set includes at least one modulation mode;
[0009] selecting a maximum modulation mode from the modulation mode set, and respectively searching for a difference factor between the maximum modulation mode and each modulation mode in the modulation mode set in a preset difference factor table;
[0010] According to the difference factor between the maximum modulation mode and each modulation mode in the modulation mode set, the amplitude value of the obtained downlink data, and the maximum amplitude value of the obtained maximum modulation mode, a shift factor corresponding to each modulation mode in the modulation mode set is calculated, and according to the amplitude value and the maximum amplitude value, a compression factor corresponding to the downlink data is calculated;
[0011] For each piece of IQ data, the piece of IQ data is subjected to shift processing according to a shift factor corresponding to a modulation mode corresponding to the piece of IQ data;
[0012] All processed IQ data and the compression factor are transmitted to the RRU.
[0013] According to a second aspect of the embodiment of the present application, a data transmission device is provided, and the device is applied to a BBU, and the device comprises:
[0014] A receiving module is configured to receive downlink data to be transmitted, wherein the downlink data comprises a plurality of pieces of IQ data;
[0015] A generating module is configured to generate a modulation mode set according to a modulation mode corresponding to each piece of IQ data, wherein the modulation mode set comprises at least one modulation mode;
[0016] A searching module is configured to select a maximum modulation mode from the modulation mode set, and search for a difference factor between the maximum modulation mode and each modulation mode in the modulation mode set in a preset difference factor table;
[0017] A calculating module is configured to calculate a shift factor corresponding to each modulation mode in the modulation mode set according to the difference factor between the maximum modulation mode and each modulation mode in the modulation mode set, the amplitude value of the obtained downlink data, and the maximum amplitude value of the obtained maximum modulation mode, and calculate a compression factor corresponding to the downlink data according to the amplitude value and the maximum amplitude value;
[0018] A processing module is configured to, for each piece of IQ data, subject the piece of IQ data to shift processing according to a shift factor corresponding to a modulation mode corresponding to the piece of IQ data;
[0019] A transmitting module is configured to transmit all processed IQ data and the compression factor to the RRU.
[0020] According to a third aspect of the embodiments of the present application, an electronic device is provided, comprising a processor and a machine readable storage medium, the machine readable storage medium stores machine executable instructions which can be executed by the processor, and the processor is prompted by the machine executable instructions to implement the method steps of the above data transmission method.
[0021] According to a fourth aspect of the embodiments of the present application, a computer readable storage medium is provided, the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method steps of the above data transmission method.
[0022] The technical solutions provided by the embodiments of the present application can include the following beneficial effects:
[0023] In the embodiments of the present application, after receiving the to-be-transmitted downlink data, the BBU does not need to calculate the power of each IQ data included in the downlink data one by one, but calculates the shift factor corresponding to each modulation mode based on the modulation mode corresponding to all IQ data, the related difference factor table, the amplitude value of the downlink data, and the maximum amplitude value of the maximum modulation mode, and calculates the shift factor corresponding to each modulation mode based on the amplitude value of the downlink data and the maximum amplitude value. In this way, in the case that the BBU needs to transmit a large amount of downlink data, the calculation resources can be greatly saved, and the calculation consumption of single transmission of downlink data can be reduced to N / M of the existing calculation consumption, where N is the total number of types of modulation modes corresponding to all IQ data in the downlink data transmitted by the BBU at a time, and M is the total number of all IQ data in the downlink data transmitted by the BBU at a time.
[0024] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS
[0025] The accompanying drawings, which are incorporated into and form a part of the specification, illustrate one embodiment consistent with the present application and, together with the description, serve to explain the principles of the application.
[0026] Figure 1 A flowchart of a data transmission method provided by the embodiments of the present application;
[0027] Figure 2 A structural schematic diagram of a data transmission device provided by the embodiments of the present application;
[0028] Figure 3 A structural schematic diagram of an electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION
[0029] The exemplary embodiments will be described in detail herein with reference to the attached drawings. The following description is made with reference to the accompanying drawings in which like reference numerals refer to like elements. The following description of exemplary embodiments is not representative of all possible embodiments consistent with the present application. Rather, it is merely an example of apparatus and methods consistent with some aspects of the present application as detailed in the appended claims.
[0030] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0031] It is to be understood that the singular forms "a", "an", and "the" include plural referents unless the context clearly dictates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0032] The embodiments of the present application will be described in detail below.
[0033] The embodiments of the present application provide a data transmission method, which is applied to a BBU, as shown in the figure, the method can include the following steps: Figure 1
[0034] S11, receiving downlink data to be transmitted.
[0035] In this step, the downlink data includes a plurality of IQ data.
[0036] S12, generating a modulation mode set according to the modulation mode corresponding to each IQ data.
[0037] In this step, the modulation mode set includes at least one modulation mode.
[0038] S13, selecting a maximum modulation mode from the modulation mode set, and respectively searching for the difference factor between the maximum modulation mode and each modulation mode in the modulation mode set in a preset difference factor table.
[0039] S14, calculating a shift factor corresponding to each modulation mode in the modulation mode set according to the difference factor between the found maximum modulation mode and each modulation mode in the modulation mode set, the amplitude value of the obtained downlink data, and the maximum amplitude value of the obtained maximum modulation mode, and calculating a compression factor corresponding to the downlink data according to the amplitude value and the maximum amplitude value.
[0040] S15, for each piece of IQ data, performing shift processing on the piece of IQ data according to the shift factor corresponding to the modulation mode corresponding to the piece of IQ data.
[0041] S16, transmitting all the processed IQ data and the compression factor to the RRU.
[0042] Specifically, in the above step S12, for any piece of IQ data, the corresponding modulation mode can be one of the following modulation modes:
[0043] a binary phase shift keying (BPSK) mode;
[0044] a quadrature phase shift keying (QPSK) mode;
[0045] a 16 quadrature amplitude modulation (16QAM) mode;
[0046] a 64 quadrature amplitude modulation (64QAM) mode; and
[0047] a 256 quadrature amplitude modulation (256QAM) mode.
[0048] Specifically, in the above step S13, the preset difference factor table records the difference factor between each modulation mode as the maximum modulation mode and itself, and the difference factor between each modulation mode as the maximum modulation mode and other modulation modes (used to represent the ratio of the maximum amplitude value of the maximum modulation mode to other modulation modes, for example, as shown in Table One below.
[0049]
[0050] Table One
[0051] In Table One, each modulation mode in the horizontal axis represents the maximum modulation mode; and one modulation mode in the vertical axis represents the real modulation mode corresponding to a piece of IQ data.
[0052] Specifically, in the step S14, the BBU can obtain the amplitude value of the downlink data by any one of the following ways:
[0053] The first way: obtaining a preset amplitude value from the local, and taking the obtained amplitude value as the amplitude value of the downlink data.
[0054] The second way: obtaining a maximum amplitude value of a maximum modulation mode from the local, and taking the obtained amplitude value as the amplitude value of the downlink data.
[0055] The third way: obtaining an amplitude value of each modulation mode in a modulation mode set from the local; calculating an average amplitude value of all the obtained amplitude values; and taking the calculated average amplitude value as the amplitude value of the downlink data.
[0056] In addition, in the step S13, the BBU can calculate the shift factor corresponding to each modulation mode in the modulation mode set by the following way:
[0057] The logarithmic factor corresponding to the amplitude value is calculated by the following formula one:
[0058] Formula one: target_exp=log2(target);
[0059] Wherein, target is the amplitude value;
[0060] target_exp is the logarithmic factor corresponding to the amplitude value, and the logarithmic factor is rounded down;
[0061] The logarithmic factor difference between the maximum amplitude value of the maximum modulation mode and the amplitude value is calculated by the following formula two:
[0062] Formula two: max_exp=log2(maxqam_value)-target_exp;
[0063] Wherein, target_exp is the logarithmic factor corresponding to the amplitude value;
[0064] maxqam_value is the maximum amplitude value of the maximum modulation mode;
[0065] max_exp is the logarithmic factor difference between the maximum amplitude value of the maximum modulation mode and the amplitude value, and the logarithmic factor difference is rounded down;
[0066] The shift factor corresponding to each modulation mode is calculated by the following formula three:
[0067] Formula three: factor(QAM k )=floor(log2(diff_factor)k *2 max_exp ))+1;
[0068] wherein, diff_factor k is a difference factor between the found maximum modulation mode and the kth modulation mode in the modulation mode set;
[0069] factor(QAM k ) is a shift factor corresponding to the kth modulation mode, and the shift factor is rounded down.
[0070] The BBU can calculate the compression factor corresponding to the downlink data in the following manner:
[0071] The compression factor corresponding to the downlink data is calculated by the following formula four:
[0072] Formula four: factor = floor(log2(2 max_exp ))+1;
[0073] wherein, factor is the compression factor corresponding to the downlink data, and the compression factor is rounded down.
[0074] It should be noted that in the above step S15, for each piece of IQ data, the processing procedure of performing shift processing on each piece of IQ data is similar to the processing procedure of performing shift processing on IO data according to the compression factor, which will not be described in detail here.
[0075] The above data transmission method will be described in detail below in combination with specific embodiments.
[0076] Suppose in a certain 5G network, at time 1, the BBU in the 5G network receives the to-be-transmitted downlink data 1, and suppose that the downlink data 1 includes 10 pieces of IQ data, and the corresponding modulation modes are BPSK, 16QAM, BPSK, BPSK, BPSK, 16QAM, 256QAM, 16QAM, 16QAM and 256QAM respectively. It is assumed that the amplitude value of the downlink data configured locally is a preset amplitude value m; the preset difference factor table is Table 1; the maximum amplitude value of BPSK is 0.707, the maximum amplitude value of 16QAM is 0.94, and the maximum amplitude value of 256QAM is 1.1504.
[0077] The BBU generates a modulation mode set 1 according to the modulation modes corresponding to the 10 pieces of IQ data. That is, the modulation mode set 1 generated by the BBU is {BPSK, 16QAM, 256QAM}.
[0078] The BBU selects the maximum modulation mode (i.e., 256QAM) from the modulation mode set 1, and looks up the difference factor between the maximum modulation mode and each modulation mode in the modulation mode set 1 in a preset difference factor table.
[0079] The BBU finds that the difference factor between 256QAM and BPSK is 0.614569; the difference factor between 256QAM and 16QAM is 0.817107; and the difference factor between 256QAM and 256QAM is 1.
[0080] Next, the BBU calculates the log factor (e.g., d) corresponding to the amplitude value of the uplink data based on the amplitude value of the uplink data by using the above Formula One; calculates the log factor difference (e.g., e) between the maximum amplitude value of the maximum modulation mode and the amplitude value based on d and the maximum amplitude value of the maximum modulation mode (i.e., c) by using the above Formula Two; and finally, calculates the shift factor (e.g., f) corresponding to BPSK, the shift factor (e.g., g) corresponding to 16QAM, and the shift factor (e.g., h) corresponding to 256QAM based on each difference factor found and e by using the above Formula Three.
[0081] Moreover, the BBU calculates the compression factor (e.g., n) corresponding to downlink data 1 based on e by using the above Formula Four.
[0082] Afterwards, for each piece of IQ data in the 10 pieces of IQ data, the shift factor corresponding to the modulation mode corresponding to the piece of IQ data is used to perform shift processing on the piece of IQ data; and all the processed IQ data and the compression factor are transmitted to the RRU.
[0083] As can be seen from the above technical solution, in the embodiments of the present application, after receiving the downlink data to be transmitted, the BBU does not need to calculate the power of each piece of IQ data included in the downlink data one by one, but calculates the shift factor corresponding to each modulation mode based on the modulation mode corresponding to all the IQ data, the relevant difference factor table, the amplitude value of the downlink data, and the maximum amplitude value of the maximum modulation mode, and calculates the shift factor based on the amplitude value of the downlink data and the maximum amplitude value, so that in the case where the BBU needs to transmit a large amount of downlink data, the calculation resources can be greatly saved, and the calculation consumption of single transmission of downlink data can be reduced to N / M times of the existing calculation consumption, where the value of N is the total number of types of modulation modes corresponding to all the IQ data in the downlink data transmitted by the BBU at a time, and the value of M is the total number of pieces of IQ data in the downlink data transmitted by the BBU at a time.
[0084] Based on the same inventive concept, the present application also provides a data transmission device, which is applied to a BBU, and a structure diagram of the device is as follows: Figure 2As shown, it specifically includes:
[0085] The receiving module 21 is used to receive downlink data to be transmitted, wherein the downlink data includes multiple in-phase quadrature IQ data;
[0086] The generation module 22 is used to generate a modulation scheme set according to the modulation scheme corresponding to each IQ data, wherein the modulation scheme set includes at least one modulation scheme;
[0087] The lookup module 23 is used to select the maximum modulation scheme from the set of modulation schemes, and to look up the difference factor between the maximum modulation scheme and each modulation scheme in the set of modulation schemes in a preset difference factor table;
[0088] The calculation module 24 is used to calculate the shift factor corresponding to each modulation method in the modulation method set based on the difference factor between the maximum modulation method found by the search module 23 and each modulation method in the modulation method set, the amplitude value of the obtained downlink data, and the maximum amplitude value of the maximum modulation method; and to calculate the compression factor corresponding to the downlink data based on the amplitude value and the maximum amplitude value.
[0089] Processing module 25 is used to perform shift processing on each IQ data according to the shift factor corresponding to the modulation method of the IQ data.
[0090] The transmission module 26 is used to transmit all the processed IQ data and the compression factor to the radio frequency remote unit (RRU).
[0091] Preferably, the device further includes:
[0092] Get module ( Figure 2 (Not shown in the image), used to obtain a preset amplitude value from the local source, and use the obtained amplitude value as the amplitude value of the downlink data; or,
[0093] The maximum amplitude value of the maximum modulation scheme is obtained locally, and the obtained amplitude value is used as the amplitude value of the downlink data; or,
[0094] Obtain the maximum amplitude value for each modulation scheme from the set of modulation schemes locally;
[0095] Calculate the average amplitude value of all the obtained amplitude values; and use the calculated average amplitude value as the amplitude value of the downlink data.
[0096] Preferably, the calculation module 24 is specifically used to calculate the shift factor corresponding to each modulation scheme in the modulation scheme set in the following manner:
[0097] The log factor corresponding to the amplitude value is calculated by the following Formula One:
[0098] Formula One: target_exp = log2(target);
[0099] target is the amplitude value;
[0100] target_exp is the log factor corresponding to the amplitude value, and the log factor is rounded down;
[0101] The log factor difference between the maximum amplitude value of the maximum modulation mode and the amplitude value is calculated by the following Formula Two:
[0102] Formula Two: max_exp = log2(maxqam_value) - target_exp;
[0103] target_exp is the log factor corresponding to the amplitude value;
[0104] maxqam_value is the maximum amplitude value of the maximum modulation mode;
[0105] max_exp is the log factor difference between the maximum amplitude value of the maximum modulation mode and the amplitude value, and the log factor difference is rounded down;
[0106] The shift factor corresponding to each modulation mode is calculated by the following Formula Three:
[0107] Formula Three: factor(QAM k ) = floor(log2(diff_factor k * 2 max_exp )) + 1;
[0108] diff_factor k is the difference factor between the maximum modulation mode and the kth modulation mode in the modulation mode set;
[0109] factor(QAM k ) is the shift factor corresponding to the kth modulation mode, and the shift factor is rounded down.
[0110] Preferably, the computing module 24 is specifically configured to calculate the compression factor corresponding to the downlink data by the following manner:
[0111] The compression factor corresponding to the downlink data is calculated by the following Formula Four:
[0112] Formula Four: factor = floor(log2(2max_exp ))+1;
[0113] Wherein, the factor is the compression factor corresponding to the downlink data, and the compression factor is rounded down.
[0114] From the above technical solutions, in the embodiments of the present application, after receiving the to-be-transmitted downlink data, the BBU does not need to calculate the power of each IQ data included in the downlink data one by one, but calculates the shift factor corresponding to each modulation mode based on the modulation mode corresponding to all IQ data, the related difference factor table, the amplitude value of the downlink data, and the maximum amplitude value of the maximum modulation mode, and calculates the shift factor corresponding to each modulation mode based on the amplitude value of the downlink data and the maximum amplitude value. In this way, in the case that the BBU needs to transmit a large amount of downlink data, the calculation resources can be greatly saved, and the calculation consumption of single transmission of downlink data can be reduced to N / M of the existing calculation consumption, where N is the total number of the types of modulation modes corresponding to all IQ data in the downlink data transmitted by the BBU at a time, and M is the total number of all IQ data in the downlink data transmitted by the BBU at a time.
[0115] The embodiments of the present application also provide an electronic device, as shown in the accompanying drawings, comprising a processor 31 and a machine readable storage medium 32, the machine readable storage medium 32 stores machine executable instructions capable of being executed by the processor 31, and the processor 31 is prompted by the machine executable instructions to implement the steps of the above data transmission method. Figure 3
[0116] The machine readable storage medium described above can include a random access memory (RAM), and can also include a non-volatile memory (NVM), such as at least one disk memory. Optionally, the machine readable storage medium can also be at least one storage device located away from the aforementioned processor.
[0117] The processor described above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.
[0118] In yet another embodiment, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the data transmission method.
[0119] The above only shows the preferred embodiments of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of protection of the present application.
Claims
1. A data transmission method, characterized in that, The method is applied to a baseband processing unit (BBU), and the method includes: Receive downlink data to be transmitted, wherein the downlink data includes multiple in-phase quadrature IQ data; Based on the modulation scheme corresponding to each IQ data, a modulation scheme set is generated, wherein the modulation scheme set includes at least one modulation scheme; Select the maximum modulation scheme from the set of modulation schemes, and find the difference factor between the maximum modulation scheme and each modulation scheme in the set of modulation schemes in the preset difference factor table; Based on the difference factor between the found maximum modulation scheme and each modulation scheme in the modulation scheme set, the obtained amplitude value of the downlink data, and the obtained maximum amplitude value of the maximum modulation scheme, the shift factor corresponding to each modulation scheme in the modulation scheme set is calculated, and the compression factor corresponding to the downlink data is calculated based on the amplitude value and the maximum amplitude value; For each IQ data, the IQ data is shifted according to the shift factor corresponding to the modulation scheme of that IQ data. All processed IQ data and the compression factor are transmitted to the radio remote unit (RRU).
2. The method according to claim 1, characterized in that, The amplitude value of the downlink data is obtained through the following method: Obtain a preset amplitude value locally, and use the obtained amplitude value as the amplitude value of the downlink data; or, The maximum amplitude value of the maximum modulation scheme is obtained locally, and the obtained amplitude value is used as the amplitude value of the downlink data; or, Obtain the maximum amplitude value for each modulation scheme from the set of modulation schemes locally; Calculate the average amplitude value of all the obtained amplitude values; and use the calculated average amplitude value as the amplitude value of the downlink data.
3. The method according to claim 1, characterized in that, The shift factor for each modulation scheme in the set of modulation schemes is calculated in the following manner: The logarithmic factor corresponding to the amplitude value is calculated using the following formula: Formula 1: target_exp = log2(target); Wherein, target is the amplitude value; target_exp is the logarithmic factor corresponding to the amplitude value, and the logarithmic factor is rounded down; The logarithmic factor difference between the maximum amplitude value and the amplitude value of the maximum modulation scheme is calculated using the following formula: Formula 2: max_exp = log2(maxqam_value) - target_exp; Wherein, target_exp is the logarithmic factor corresponding to the amplitude value; maxqam_value is the maximum amplitude value of the maximum modulation scheme; max_exp is the logarithmic factor difference between the maximum amplitude value of the maximum modulation mode and the amplitude value, and the logarithmic factor difference is rounded down; The shift factor for each modulation scheme is calculated using the following formula: Formula 3: factor(QAM k )=floor(log2(diff_factor k *2 max_exp ))+1; Wherein, diff_factor k The difference factor between the found maximum modulation scheme and the kth modulation scheme in the modulation scheme set; factor(QAM k ) is the shift factor corresponding to the kth modulation method, and the shift factor is rounded down.
4. The method according to claim 3, characterized in that, The compression factor corresponding to the downlink data is calculated using the following method: The compression factor corresponding to the downlink data is calculated using the following formula (4); Formula 4: factor = floor(log2(2 max_exp ))+1; Wherein, factor is the compression factor corresponding to the downlink data, and the compression factor is rounded down.
5. A data transmission device, characterized in that, The device is applied to a baseband processing unit (BBU), and the device includes: A receiving module is used to receive downlink data to be transmitted, wherein the downlink data includes multiple in-phase quadrature IQ data; The generation module is used to generate a modulation scheme set based on the modulation scheme corresponding to each IQ data, wherein the modulation scheme set includes at least one modulation scheme; The lookup module is used to select the maximum modulation scheme from the set of modulation schemes, and to look up the difference factor between the maximum modulation scheme and each modulation scheme in the set of modulation schemes in a preset difference factor table; The calculation module is used to calculate the shift factor corresponding to each modulation method in the modulation method set based on the difference factor between the maximum modulation method found by the search module and each modulation method in the modulation method set, the amplitude value of the obtained downlink data, and the maximum amplitude value of the maximum modulation method; and to calculate the compression factor corresponding to the downlink data based on the amplitude value and the maximum amplitude value. The processing module is used to shift each IQ data according to the shift factor corresponding to the modulation scheme of that IQ data. The transmission module is used to transmit all the processed IQ data and the compression factor to the radio frequency remote unit (RRU).
6. The apparatus according to claim 5, characterized in that, The device further includes: The acquisition module is used to acquire a preset amplitude value from the local storage and use the acquired amplitude value as the amplitude value of the downlink data; or, The maximum amplitude value of the maximum modulation scheme is obtained locally, and the obtained amplitude value is used as the amplitude value of the downlink data; or, Obtain the maximum amplitude value for each modulation scheme from the set of modulation schemes locally; Calculate the average amplitude value of all the obtained amplitude values; and use the calculated average amplitude value as the amplitude value of the downlink data.
7. The apparatus according to claim 5, characterized in that, The calculation module is specifically used to calculate the shift factor corresponding to each modulation scheme in the modulation scheme set in the following manner: The logarithmic factor corresponding to the amplitude value is calculated using the following formula: Formula 1: target_exp = log2(target); Wherein, target is the amplitude value; target_exp is the logarithmic factor corresponding to the amplitude value, and the logarithmic factor is rounded down; The logarithmic factor difference between the maximum amplitude value and the amplitude value of the maximum modulation scheme is calculated using the following formula: Formula 2: max_exp = log2(maxqam_value) - target_exp; Wherein, target_exp is the logarithmic factor corresponding to the amplitude value; maxqam_value is the maximum amplitude value of the maximum modulation scheme; max_exp is the logarithmic factor difference between the maximum amplitude value of the maximum modulation mode and the amplitude value, and the logarithmic factor difference is rounded down; The shift factor for each modulation scheme is calculated using the following formula: Formula 3: factor(QAM k )=floor(log2(diff_factor k *2 max_exp ))+1; Wherein, diff_factor k The difference factor between the found maximum modulation scheme and the kth modulation scheme in the modulation scheme set; factor(QAM k ) is the shift factor corresponding to the kth modulation method, and the shift factor is rounded down.
8. The apparatus according to claim 7, characterized in that, The calculation module is specifically used to calculate the compression factor corresponding to the downlink data in the following manner: The compression factor corresponding to the downlink data is calculated using the following formula (4); Formula 4: factor = floor(log2(2 max_exp ))+1; Wherein, factor is the compression factor corresponding to the downlink data, and the compression factor is rounded down.
9. An electronic device, characterized in that, The method includes a processor and a machine-readable storage medium storing machine-executable instructions that can be executed by the processor, which are prompted by the machine-executable instructions to perform the method steps of any one of claims 1-4.
10. 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 method steps of any one of claims 1-4.
Citation Information
Patent Citations
Method and system for compressing IQ data
CN102790656A
Signal compression method, BBU, and distributed base station system
CN105007106A