Data transmission method and device, electronic equipment and storage medium
By generating a set of modulation methods, finding the difference factor and calculating the shift factor and compression factor, the problem of BBU's high computing resources consumption in 5G networks is solved, and efficient data transmission is achieved.
Patent Information
- Application Number
- CN202411294257.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2044-09-13
AI Technical Summary
In 5G networks, BBUs need to calculate the power of each IQ data one by one to calculate the compression factor, resulting in a high consumption of computing resources when there is a lot of downlink data.
By generating a set of modulation methods, selecting the maximum modulation method, and looking for the difference factor in the difference factor table, calculating the shift factor of each modulation method and the compression factor of the downlink data, and then performing shift processing and transmission of IQ data.
This greatly saves BBU computing resources, reduces the calculation consumption of downlink data in a single transmission, and significantly improves efficiency when there is a lot of downlink data.
Smart Images

Figure CN119945859A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a data transmission method, device, electronic device and storage medium. Background Art
[0002] In 5G networks, optical fiber is usually used to transmit data between the baseband unit (BBU) and the remote radio unit (RRU). However, the transmission rate of optical fiber is limited by the optical module. In order to reduce the cost of the optical module, an optical module with a lower transmission rate is usually used. In this case, data compression is usually used to transmit data between the BBU and the RRU to save optical fiber transmission bandwidth.
[0003] At present, for the BBU, after receiving the downlink data to be transmitted, it is necessary to first calculate the power corresponding to each in-phase quadrature (IQ) data included in the downlink data; then, based on the calculated power, calculate the compression factor corresponding to the downlink data; finally, based on the calculated compression factor, compress each IO data, and transmit the compressed data and compression factor to the RRU.
[0004] In this data transmission process, the BBU needs to calculate the power of each IQ data one by one. When there is a lot of downlink data to be transmitted to the RRU, more computing resources need to be consumed. Summary of the invention
[0005] In order to overcome the problems existing in the related art, the present application provides a data transmission method, device, electronic device 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, the method comprising:
[0007] Receiving downlink data to be transmitted, wherein the downlink data includes a plurality of IQ data;
[0008] Generate a modulation mode set according to the modulation mode corresponding to each piece of 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 searching for a differential factor between the maximum modulation mode and each modulation mode in the modulation mode set in a preset differential factor table;
[0010] Calculate a shift factor corresponding to each modulation mode in the modulation mode set according to the difference factor between the maximum modulation mode found and each modulation mode in the modulation mode set, the acquired amplitude value of the downlink data, and the acquired maximum amplitude value of the maximum modulation mode, and calculate a compression factor corresponding to the downlink data according to the amplitude value and the maximum amplitude value;
[0011] For each piece of IQ data, shift processing is performed on the piece of IQ data 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 an embodiment of the present application, a data transmission device is provided, where the device is applied to a BBU, and the device includes:
[0014] A receiving module, configured to receive downlink data to be transmitted, wherein the downlink data includes a plurality of IQ data;
[0015] A generating module, configured to generate a modulation mode set according to the modulation mode corresponding to each piece of IQ data, wherein the modulation mode set includes at least one modulation mode;
[0016] A search module, configured to select a maximum modulation mode from the modulation mode set, and to search for a differential factor between the maximum modulation mode and each modulation mode in the modulation mode set in a preset differential factor table;
[0017] a calculation module, configured to calculate a shift factor corresponding to each modulation mode in the modulation mode set according to a differential factor between the maximum modulation mode found by the search module and each modulation mode in the modulation mode set, the acquired amplitude value of the downlink data, and the acquired maximum amplitude value of the maximum modulation mode, and to calculate a compression factor corresponding to the downlink data according to the amplitude value and the maximum amplitude value;
[0018] A processing module, configured to perform shift processing on each piece of IQ data according to a shift factor corresponding to a modulation mode corresponding to the piece of IQ data;
[0019] The transmission module is used to transmit all processed IQ data and the compression factor to the RRU.
[0020] According to a third aspect of an embodiment of the present application, there is provided an electronic device, comprising a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement the method steps of the above-mentioned data transmission method.
[0021] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps of the above-mentioned data transmission method are implemented.
[0022] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0023] In an embodiment of the present application, after receiving the downlink data to be transmitted, 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 relevant differential factor table, the amplitude value of the downlink data, and the maximum amplitude value of the maximum modulation mode, as well as the amplitude value and the maximum amplitude value of the downlink data. In this way, in the case where the BBU needs to transmit a large amount of downlink data, the computing resources can be greatly saved, and the computing consumption of a single transmission of downlink data can be reduced to N / M of the existing computing consumption, wherein the value of N is the total number of types of modulation modes corresponding to all IQ data in the downlink data transmitted by the BBU in a single transmission, and the value of M is the total number of items of IQ data in the downlink data transmitted by the BBU in a single transmission.
[0024] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings, which are incorporated in the specification and constitute a part of this application, illustrate embodiments consistent with the 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 in an embodiment of the present application;
[0027] Figure 2 A schematic diagram of the structure of a data transmission device provided in an embodiment of the present application;
[0028] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0030] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0031] It should be understood that, although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" or "if" as used herein may be interpreted as "at the time of" or "when...".
[0032] Next, the embodiments of the present application are described in detail.
[0033] The present application embodiment provides a data transmission method, which is applied to a BBU, such as Figure 1 As shown, the method may include the following steps:
[0034] S11. Receive downlink data to be transmitted.
[0035] In this step, the downlink data includes multiple IQ data.
[0036] S12. Generate a modulation mode set according to the modulation mode corresponding to each piece of IQ data.
[0037] In this step, the modulation mode set includes at least one modulation mode.
[0038] S13: Select a maximum modulation mode from the modulation mode set, and search for a differential factor between the maximum modulation mode and each modulation mode in the modulation mode set in a preset differential factor table.
[0039] S14. Calculate the shift factor corresponding to each modulation mode in the modulation mode set according to the differential factor between the found maximum modulation mode and each modulation mode in the modulation mode set, the amplitude value of the acquired downlink data, and the maximum amplitude value of the acquired maximum modulation mode, and calculate the 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, perform shift processing on the piece of IQ data according to a shift factor corresponding to a modulation mode corresponding to the piece of IQ data.
[0041] S16. Transmit all processed IQ data and compression factors to the RRU.
[0042] Specifically, in the above step S12, for any piece of IQ data, the corresponding modulation mode may be one of the following modulation modes:
[0043] Binary Phase Shift Keying (BPSK) modulation method;
[0044] Quadrature Phase Shift Keying (QPSK) modulation method;
[0045] 16 Quadrature Amplitude Modulation (16QAM) mode;
[0046] 64 Quadrature Amplitude Modulation (64QAM) mode; and
[0047] 256 quadrature amplitude modulation (256QAM) method.
[0048] Specifically, in the above step S13, the preset differential factor table records the differential factor between each modulation mode as the maximum modulation mode and itself, and the differential factor between each modulation mode as the maximum modulation mode and other modulation modes (used to characterize the ratio of the maximum amplitude value of the maximum modulation mode to the maximum amplitude value of other modulation modes, for example, as shown in Table 1 below.
[0049]
[0050] Table 1
[0051] In Table 1, each modulation mode in the horizontal axis represents a maximum modulation mode; and a modulation mode in the vertical axis represents a real modulation mode corresponding to a piece of IQ data.
[0052] Specifically, in the above step S14, the BBU may obtain the amplitude value of the downlink data by any of the following methods:
[0053] The first method: obtaining a preset amplitude value locally, and using the obtained amplitude value as the amplitude value of the downlink data.
[0054] The second method: obtain the maximum amplitude value of the maximum modulation mode locally, and use the obtained amplitude value as the amplitude value of the downlink data.
[0055] The third method: obtaining the amplitude value of each modulation mode in the modulation mode set locally; calculating the average amplitude value of all the obtained amplitude values; and using the calculated average amplitude value as the amplitude value of the downlink data.
[0056] In addition, in the above step S13, the BBU may calculate the shift factor corresponding to each modulation mode in the modulation mode set in the following manner:
[0057] The logarithmic factor corresponding to the amplitude value is calculated by the following formula:
[0058] Formula 1: target_exp = log 2 (target);
[0059] Among them, 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 and the amplitude value of the maximum modulation mode is calculated by the following formula 2:
[0062] Formula 2: max_exp = log 2 (maxqam_value)-target_exp;
[0063] Among them, 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 and the amplitude value of the maximum modulation mode, and the logarithmic factor difference is rounded down;
[0066] The shift factor corresponding to each modulation mode is calculated by the following formula 3:
[0067] Formula 3: factor(QAM k)=floor(log 2 (diff_factor k *2 max_exp ))+1;
[0068] Among them, diff_factor k is the difference factor between the maximum modulation mode found and the kth modulation mode in the modulation mode set;
[0069] factor(QAM k ) is the shift factor corresponding to the k-th 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 way:
[0071] The compression factor corresponding to the downlink data is calculated by the following formula 4;
[0072] Formula 4: factor=floor(log 2 (2 max_exp ))+1;
[0073] Among them, factor is the compression factor corresponding to the downstream 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 process of performing shift processing on each piece of IQ data is similar to the existing process 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 is described in detail below in conjunction with specific embodiments.
[0076] Assume that in a certain 5G network, at time 1, the BBU in the 5G network receives downlink data 1 to be transmitted, and assume that the downlink data 1 includes 10 IQ data, and the corresponding modulation modes are BPSK, 16QAM, BPSK, BPSK, BPSK, 16QAM, 256QAM, 16QAM, 16QAM and 256QAM. Assume that the amplitude value of the locally configured downlink data is the preset amplitude value m; the preset differential 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 scheme set 1 according to the modulation schemes corresponding to the 10 pieces of IQ data. That is, the modulation scheme set 1 generated by the BBU is {BPSK, 16QAM, 256QAM}.
[0078] The BBU selects the maximum modulation mode (ie, 256QAM) from the modulation mode set 1, and searches for 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 differential factor between 256QAM and BPSK is 0.614569; the differential factor between 256QAM and 16QAM is 0.817107; and the differential factor between 256QAM and 256QAM is 1.
[0080] Next, the BBU calculates the logarithmic factor (e.g., d) corresponding to the amplitude value of the uplink data using the above formula 1 based on the amplitude value of the uplink data; then, based on d and the maximum amplitude value of the maximum modulation mode (i.e., c), the above formula 2 is used to calculate the logarithmic factor difference (e.g., e) between the maximum amplitude value and the amplitude value of the maximum modulation mode; finally, based on the found differential factors and e, the above formula 3 is used to calculate 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.
[0081] Furthermore, the BBU also calculates the compression factor (eg, n) corresponding to the downlink data 1 based on e using the above formula 4.
[0082] Afterwards, for each of the 10 IQ data pieces, a shift process is performed on the IQ data piece according to a shift factor corresponding to a modulation mode corresponding to the IQ data piece; and all the processed IQ data and the compression factor are transmitted to the RRU.
[0083] It can be seen from the above technical solution that in the embodiment of the present application, after receiving the downlink data to be transmitted, 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 relevant differential factor table, the amplitude value of the downlink data, and the maximum amplitude value of the maximum modulation mode, as well as the amplitude value and the maximum amplitude value of the downlink data. In this way, in the case where the BBU needs to transmit a large amount of downlink data, the computing resources can be greatly saved, and the computing consumption of a single transmission of downlink data can be reduced to N / M of the existing computing consumption, wherein the value of N is the total number of types of modulation modes corresponding to all IQ data in the downlink data transmitted by the BBU in a single transmission, and the value of M is the total number of IQ data in the downlink data transmitted by the BBU in a single transmission.
[0084] Based on the same inventive concept, the present application also provides a data transmission device, which is applied to BBU, and its structural diagram is as follows: Figure 2As shown, specifically including:
[0085] The receiving module 21 is used to receive downlink data to be transmitted, wherein the downlink data includes a plurality of in-phase orthogonal IQ data;
[0086] A generating module 22, configured to generate a modulation mode set according to the modulation mode corresponding to each piece of IQ data, wherein the modulation mode set includes at least one modulation mode;
[0087] A search module 23, configured to select a maximum modulation mode from the modulation mode set, and to search for a differential factor between the maximum modulation mode and each modulation mode in the modulation mode set in a preset differential factor table;
[0088] A calculation module 24 is used to calculate the shift factor corresponding to each modulation mode in the modulation mode set according to the differential factor between the maximum modulation mode found by the search module 23 and each modulation mode in the modulation mode set, the acquired amplitude value of the downlink data, and the acquired maximum amplitude value of the maximum modulation mode, and calculate the compression factor corresponding to the downlink data according to the amplitude value and the maximum amplitude value;
[0089] A processing module 25, configured to perform shift processing on each piece of IQ data according to a shift factor corresponding to a modulation mode corresponding to the piece of IQ data;
[0090] The transmission module 26 is used to transmit all the processed IQ data and the compression factor to the radio remote unit RRU.
[0091] Preferably, the device further comprises:
[0092] Get Module( Figure 2 (not shown), for obtaining a preset amplitude value from a local location, and using the obtained amplitude value as the amplitude value of the downlink data; or,
[0093] The maximum amplitude value of the maximum modulation mode is obtained locally, and the obtained amplitude value is used as the amplitude value of the downlink data; or,
[0094] Acquire the maximum amplitude value of each modulation mode in the modulation mode set from a local location;
[0095] Calculate the average amplitude value of all the acquired 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 configured to calculate the shift factor corresponding to each modulation mode in the modulation mode set in the following manner:
[0097] The logarithmic factor corresponding to the amplitude value is calculated by the following formula 1:
[0098] Formula 1: target_exp = log 2 (target);
[0099] Wherein, target is the amplitude value;
[0100] target_exp is the logarithmic factor corresponding to the amplitude value, and the logarithmic factor is rounded down;
[0101] The logarithmic factor difference between the maximum amplitude value of the maximum modulation mode and the amplitude value is calculated by the following formula 2:
[0102] Formula 2: max_exp = log 2 (maxqam_value)-target_exp;
[0103] Wherein, target_exp is the logarithmic factor corresponding to the amplitude value;
[0104] maxqam_value is the maximum amplitude value of the maximum modulation mode;
[0105] 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;
[0106] The shift factor corresponding to each modulation mode is calculated by the following formula 3:
[0107] Formula 3: factor(QAM k )=floor(log 2 (diff_factor k *2 max_exp ))+1;
[0108] Among them, diff_factor k is a differential factor between the maximum modulation mode found and the kth modulation mode in the modulation mode set;
[0109] factor(QAM k ) is the shift factor corresponding to the k-th modulation mode, and the shift factor is rounded down.
[0110] Preferably, the calculation module 24 is specifically configured to calculate the compression factor corresponding to the downlink data in the following manner:
[0111] The compression factor corresponding to the downlink data is calculated by the following formula 4;
[0112] Formula 4: factor=floor(log 2 (2 max_exp ))+1;
[0113] Wherein, factor is the compression factor corresponding to the downlink data, and the compression factor is rounded down.
[0114] It can be seen from the above technical solution that in the embodiment of the present application, after receiving the downlink data to be transmitted, 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 relevant differential factor table, the amplitude value of the downlink data, and the maximum amplitude value of the maximum modulation mode, as well as the amplitude value and the maximum amplitude value of the downlink data. In this way, in the case where the BBU needs to transmit a large amount of downlink data, the computing resources can be greatly saved, and the computing consumption of a single transmission of downlink data can be reduced to N / M of the existing computing consumption, wherein the value of N is the total number of types of modulation modes corresponding to all IQ data in the downlink data transmitted by the BBU in a single transmission, and the value of M is the total number of IQ data in the downlink data transmitted by the BBU in a single transmission.
[0115] The present application also provides an electronic device, such as Figure 3 As shown, it includes a processor 31 and a machine-readable storage medium 32, wherein the machine-readable storage medium 32 stores machine-executable instructions that can be executed by the processor 31, and the processor 31 is prompted by the machine-executable instructions to implement the steps of the above-mentioned data transmission method.
[0116] The machine-readable storage medium may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk storage. Optionally, the machine-readable storage medium may also be at least one storage device located away from the processor.
[0117] The above-mentioned 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, discrete hardware components.
[0118] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned data transmission method are implemented.
[0119] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles 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 comprises: Receiving downlink data to be transmitted, wherein the downlink data includes a plurality of in-phase orthogonal IQ data; Generate a modulation mode set according to the modulation mode corresponding to each piece of IQ data, wherein the modulation mode set includes at least one modulation mode; Selecting a maximum modulation mode from the modulation mode set, and searching for a differential factor between the maximum modulation mode and each modulation mode in the modulation mode set in a preset differential factor table; Calculate a shift factor corresponding to each modulation mode in the modulation mode set according to the difference factor between the maximum modulation mode found and each modulation mode in the modulation mode set, the acquired amplitude value of the downlink data, and the acquired maximum amplitude value of the maximum modulation mode, and calculate a compression factor corresponding to the downlink data according to the amplitude value and the maximum amplitude value; For each piece of IQ data, shift processing is performed on the piece of IQ data according to a shift factor corresponding to a modulation mode corresponding to the piece of IQ data; All processed IQ data and the compression factor are transmitted to a radio remote unit RRU.
2. The method according to claim 1, characterized in that The amplitude value of the downlink data is obtained by: Obtaining a preset amplitude value locally, and using the obtained amplitude value as the amplitude value of the downlink data; or, The maximum amplitude value of the maximum modulation mode is obtained locally, and the obtained amplitude value is used as the amplitude value of the downlink data; or, Acquire the maximum amplitude value of each modulation mode in the modulation mode set from a local location; Calculate the average amplitude value of all the acquired 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 corresponding to each modulation mode in the modulation mode set is calculated by: The logarithmic factor corresponding to the amplitude value is calculated by the following formula 1: 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 of the maximum modulation mode and the amplitude value is calculated by the following formula 2: 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 mode; 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 corresponding to each modulation mode is calculated by the following formula 3: Formula 3: factor(QAM k )=floor(log2(diff_factor k *2 max_exp ))+1; Among them, diff_factor k is a differential factor between the maximum modulation mode found and the kth modulation mode in the modulation mode set; factor(QAM k ) is the shift factor corresponding to the k-th modulation mode, 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 in the following manner: The compression factor corresponding to the downlink data is calculated by 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, used for receiving downlink data to be transmitted, wherein the downlink data includes a plurality of in-phase orthogonal IQ data; A generating module, configured to generate a modulation mode set according to the modulation mode corresponding to each piece of IQ data, wherein the modulation mode set includes at least one modulation mode; A search module, configured to select a maximum modulation mode from the modulation mode set, and to search for a differential factor between the maximum modulation mode and each modulation mode in the modulation mode set in a preset differential factor table; a calculation module, configured to calculate a shift factor corresponding to each modulation mode in the modulation mode set according to a differential factor between the maximum modulation mode found by the search module and each modulation mode in the modulation mode set, the acquired amplitude value of the downlink data, and the acquired maximum amplitude value of the maximum modulation mode, and to calculate a compression factor corresponding to the downlink data according to the amplitude value and the maximum amplitude value; A processing module, configured to perform shift processing on each piece of IQ data according to a shift factor corresponding to a modulation mode corresponding to the piece of IQ data; The transmission module is used to transmit all the processed IQ data and the compression factor to the radio remote unit RRU.
6. The device according to claim 5, characterized in that The device further comprises: an acquisition module, configured to acquire a preset amplitude value locally and use the acquired amplitude value as the amplitude value of the downlink data; or, The maximum amplitude value of the maximum modulation mode is obtained locally, and the obtained amplitude value is used as the amplitude value of the downlink data; or, Acquire the maximum amplitude value of each modulation mode in the modulation mode set from a local location; Calculate the average amplitude value of all the acquired amplitude values; and use the calculated average amplitude value as the amplitude value of the downlink data.
7. The device according to claim 5, characterized in that The calculation module is specifically used to calculate the shift factor corresponding to each modulation mode in the modulation mode set in the following manner: The logarithmic factor corresponding to the amplitude value is calculated by the following formula 1: 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 of the maximum modulation mode and the amplitude value is calculated by the following formula 2: 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 mode; 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 corresponding to each modulation mode is calculated by the following formula 3: Formula 3: factor(QAM k )=floor(log2(diff_factor k *2 max_exp ))+1; Among them, diff_factor k is a differential factor between the maximum modulation mode found and the kth modulation mode in the modulation mode set; factor(QAM k ) is the shift factor corresponding to the k-th modulation mode, and the shift factor is rounded down.
8. The device 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 by 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 comprises a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement the method steps described in any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps of any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Method and system for compressing IQ data
CN102790656A
Signal compression method, BBU, and distributed base station system
CN105007106A
Base band data compression method, device and system
CN106992786A
Modulation and coding strategy, power configuration method and device, equipment and storage medium
CN111901280A
Data transmission method and device
CN117459599A