A method, device, equipment and medium for converting input power of a base station

By obtaining the input power range of the base station equipment and the power ratio under the preset configuration, determining the actual maximum conversion accuracy and establishing a mapping relationship, the problem of insufficient floating point conversion accuracy in the base station equipment is solved, and the accuracy of floating point values ​​and base station performance are improved .

CN114466439BActive Publication Date: 2024-12-03GUANGZHOU HUIRUI SITONG INFORMATION SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210091102.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-26
Publication Date
2024-12-03
Estimated Expiration
2042-01-26

AI Technical Summary

Technical Problem

The conversion accuracy of existing base station equipment is poor during floating point conversion, resulting in data accuracy loss and affecting base station performance.

Method used

By obtaining the actual power range of the input power and the power ratio under the preset configuration, determine the actual maximum conversion accuracy that satisfies all input powers in the range, and establish a target mapping relationship based on the actual maximum conversion accuracy and the actual minimum value of the power ratio, and obtain a The floating point value corresponding to each input power.

Benefits of technology

Dynamically adjust the conversion accuracy, improve the accuracy of floating point values, reduce data accuracy losses, and improve base station performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114466439B_ABST
    Figure CN114466439B_ABST
Patent Text Reader

Abstract

The disclosed embodiments provide an input power conversion method, apparatus, device and storage medium for a base station, the method comprising: obtaining an actual power range of the input power, determining the maximum value of the actual power range as the maximum input power; judging whether all actual values ​​of the power ratio under the preset configuration can be obtained, wherein the minimum value of all actual values ​​is determined as the actual minimum value of the power ratio; if so, determining the actual maximum conversion accuracy that satisfies all the input powers within the actual power range for floating-point conversion based on the maximum input power and the actual minimum value of the power ratio; obtaining the floating-point value corresponding to each input power based on the actual maximum conversion accuracy and the actual minimum value of the power ratio. According to the above method, it is possible to obtain a floating-point value with higher accuracy while satisfying the floating-point conversion of all input powers within the range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of mobile communication technology, and in particular to an input power conversion method, device, equipment and storage medium for a base station. Background Art

[0002] In the computer architecture, the software layer usually processes floating-point data, while the hardware layer processes fixed-point data. Therefore, for radio transmission and reception equipment such as base stations, it is necessary to perform floating-point conversion and fixed-point conversion on the input power. Among them, floating-point conversion is to convert the input power value into a floating-point value, and fixed-point conversion is to convert the floating-point value into a fixed-point value.

[0003] For the floating-point conversion process, the conversion accuracy needs to be determined. The floating-point value usually includes a sign bit, an integer bit, and a decimal bit. The sum of the three bits is called the bit width. The decimal bit is used to indicate the conversion accuracy. The more decimal bits there are, the higher the conversion accuracy, and vice versa. The integer bit is used to indicate the size range of the floating-point value, and also reflects the actual power range of the input power to be converted to floating point.

[0004] Unfortunately, in current base station equipment, on the one hand, due to the single conversion accuracy selection for floating-point conversion of input power, the accuracy of the obtained floating-point value data is poor; on the other hand, when data is transmitted from BBU (Building Base band Unite) to RRU (Remote Radio Unit), it is necessary to compress the data several times, which leads to further loss of data accuracy. The loss of data accuracy will have a significant impact on the performance of the base station. Summary of the invention

[0005] In view of the above, in order to solve the problem in the prior art that the conversion accuracy of input power is poor when performing floating-point conversion, so that the performance of the base station is affected, the first aspect of the present disclosure provides an input power conversion method for a base station, including: obtaining an actual power range of the input power, and determining that the maximum value of the actual power range is the maximum input power; judging whether all actual values ​​of the power ratio under a preset configuration can be obtained, wherein the minimum value of all actual values ​​is determined to be the actual minimum value of the power ratio; if so, determining the actual maximum conversion accuracy that satisfies all the input powers in the actual power range for floating-point conversion based on the maximum input power and the actual minimum value of the power ratio; and obtaining the floating-point value corresponding to each input power based on the actual maximum conversion accuracy and the actual minimum value of the power ratio.

[0006] Preferably, obtaining the floating-point value corresponding to each input power according to the actual maximum conversion accuracy and the actual minimum value of the power ratio includes: determining a target mapping relationship according to the actual maximum conversion accuracy and the actual minimum value of the power ratio, and determining the floating-point value corresponding to each input power according to the target mapping relationship; wherein the target mapping relationship is a power-floating-point value mapping relationship corresponding to each input power, and the power-floating-point value mapping relationship is established based on a preset power range of the input power and a candidate minimum value of the power ratio.

[0007] Preferably, the power-floating-point value mapping relationship is established based on the preset power range of the input power and the candidate minimum power ratio value, including: obtaining at least two candidate minimum power ratio values, and determining, based on the preset power range of the input power and each of the candidate minimum power ratio values, a candidate maximum conversion accuracy corresponding to the candidate minimum power ratio value and satisfying all the input powers within the preset power range for floating-point conversion; and establishing, based on each of the candidate minimum power ratio values ​​and its corresponding candidate maximum conversion accuracy, a power-floating-point value mapping relationship corresponding to the candidate maximum conversion accuracy and the candidate minimum power ratio value.

[0008] Preferably, the power-floating-point value mapping relationship includes an input power-floating-point value mapping relationship, and a group of the input power-floating-point value mapping relationships corresponds to one of the candidate maximum conversion accuracy and one of the candidate minimum value of the power ratio.

[0009] Preferably, the establishing of the input power-floating-point value mapping relationship corresponding to the candidate maximum conversion precision and the candidate minimum power ratio includes: reusing the equal floating-point values ​​in any two groups of the input power-floating-point value mapping relationships with the same candidate maximum conversion precision; wherein, for any two groups of the input power-floating-point value mapping relationships with the same candidate maximum conversion precision, there is: f2(Npower)=f1(Npower+ratio102-ratio101); wherein ratio102 refers to the candidate minimum power ratio value corresponding to the second group of input power-floating-point value mapping relationships, ratio101 refers to the candidate minimum power ratio value corresponding to the first group of input power-floating-point value mapping relationships, f1(Npower+ratio101-ratio102) represents the floating-point value corresponding to the input power of "Npower+ratio101-ratio102" in the first group of input power-floating-point value mapping relationships, and f2(Npower) represents the floating-point value corresponding to the input power of "Npower" in the second group of input power-floating-point value mapping relationships.

[0010] Preferably, the at least two power ratio candidate minimum values ​​include at least two integer candidate minimum values, and at least one decimal candidate minimum value; the power-floating-point value mapping relationship includes an input power-floating-point value mapping relationship, and a demodulation reference power-floating-point value mapping relationship; wherein, one of the candidate maximum conversion precision and one of the decimal candidate minimum values ​​corresponds to a set of input power-floating-point value mapping relationships, one of the candidate maximum conversion precision and all of the integer candidate minimum values ​​corresponds to a set of demodulation reference power-floating-point value mapping relationships, the demodulation reference power is equal to the input power minus the integer candidate minimum value, and the input power is an integer value.

[0011] Preferably, the target mapping relationship is determined according to the actual maximum conversion accuracy and the actual minimum value of the power ratio, and the floating-point value corresponding to each of the input powers is determined according to the target mapping relationship, including: comparing the actual maximum conversion accuracy with the candidate maximum conversion accuracy, and comparing the actual minimum value of the power ratio with the candidate minimum value of the power ratio, determining the power-floating-point value mapping relationship corresponding to the candidate maximum conversion accuracy and the candidate minimum value of the power ratio that are all the same in both comparisons as the target mapping relationship, and determining the floating-point value corresponding to each of the input powers according to the target mapping relationship.

[0012] Preferably, the judgment of whether all actual values ​​of the power ratio under the preset configuration can be obtained includes: if not, obtaining the theoretical minimum value of the power ratio, and determining the actual maximum conversion accuracy for floating-point conversion of all the input powers within the actual power range based on the maximum input power and the theoretical minimum value of the power ratio.

[0013] Preferably, the obtaining of the actual power range of the input power comprises: obtaining the actual power range based on capability authentication between the HighPhy part and the protocol stack related to the data link layer and the network layer.

[0014] Preferably, the method further comprises: performing a fixed-point conversion on each floating-point value to obtain a corresponding fixed-point value, after obtaining a floating-point value corresponding to each input power according to the actual maximum conversion accuracy and the actual minimum value of the power ratio.

[0015] The second aspect of the present disclosure also provides an input power conversion device for a base station, the device comprising: an acquisition unit, used to acquire an actual power range of the input power, the maximum value of the actual power range is called the maximum input power; a determination unit, used to determine whether all actual values ​​of the power ratio under a preset configuration can be obtained, wherein the minimum value of all actual values ​​is called the actual minimum value of the power ratio; if so, determining the actual maximum conversion accuracy that satisfies the floating-point conversion of all the input powers within the actual power range based on the maximum input power and the actual minimum value of the power ratio; a conversion unit, used to obtain the floating-point value corresponding to each input power based on the actual maximum conversion accuracy and the actual minimum value of the power ratio.

[0016] The third aspect of the present disclosure also provides an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the above-mentioned input power conversion methods for a base station when executing the computer program.

[0017] A fourth aspect of the present disclosure further provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to execute any one of the above-mentioned input power conversion methods for a base station.

[0018] The beneficial effects of the input power conversion method, device, equipment and storage medium for base stations provided by the present disclosure are: by dynamically adjusting the conversion accuracy for input powers in different ranges, it is possible to obtain a floating-point value with higher accuracy while performing floating-point conversion on all input powers within the range. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are for illustrative purposes only of selected embodiments and not all possible implementations, and are not intended to limit the scope of the present disclosure.

[0020] Figure 1 is a flow chart of an input power conversion method 100 for a base station provided by an embodiment of the present disclosure;

[0021] Figure 2 is a structural diagram of a base station provided by an embodiment of the present disclosure;

[0022] Figure 3 It is a schematic diagram of a capability authentication process in a BBU of a base station provided by an embodiment of the present disclosure;

[0023] Figure 4 is a flow chart of another input power conversion method 100 for a base station provided by an embodiment of the present disclosure;

[0024] Figure 5is a structural schematic diagram of an input power conversion device 200 for a base station provided in an embodiment of the present disclosure;

[0025] Figure 6 is a structural diagram of an electronic device 300 provided in an embodiment of the present disclosure; DETAILED DESCRIPTION

[0026] In the following description, certain specific details are set forth in order to provide a thorough understanding of various embodiments of the present disclosure. However, it will be understood by those skilled in the art that the present disclosure may be practiced without these specific details.

[0027] In the description of the present disclosure, above, below, within, at least, etc. are understood to include the number itself. If there is a description of first or second, it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0028] The present disclosure provides an input power conversion method 100 for a base station. For ease of understanding, the following is combined with Figure 1-Figure 4 , the method is explained in detail.

[0029] like Figure 1 As shown, it is a flowchart of the input power conversion method 100 for a base station provided in this embodiment, and the method 100 includes step S101, step S102, step S1021 and step S103; or step S101, step S102, step S1022 and step S103.

[0030] Step S101: Acquire an actual power range of input power, and determine that a maximum value of the actual power range is a maximum input power;

[0031] Specifically, Figure 2As shown, it is a structural diagram of a base station provided by the related technology, and the base station includes a BBU, a RHUB (remote radio unit hub) and an RRU. According to the OSI (Open System Interconnection Reference Model) protocol, the BBU may include a data link layer (referred to as L2 layer), a network layer (referred to as L3 layer) and a HighPhy part of the physical layer, and the RHUB includes a LowPhy part of the physical layer, wherein the LowPhy part of the physical layer is responsible for converting the frequency domain signal into a time domain signal. The BBU performs floating point conversion in the HighPhy part, and the output floating point value data is transmitted to the RHUB after the first compression (frequency domain compression), and the data output by the RHUB is transmitted to the RRU after the second compression (time domain compression). For the above-mentioned related technologies, on the one hand, when performing floating-point conversion, the conversion accuracy is determined based on the theoretical maximum input power, that is, when the bit width remains unchanged, the number of integer digits representing the size range of the floating-point value is fixed, and thus the number of decimal digits representing the conversion accuracy is also fixed. Therefore, for input powers in different ranges, the conversion accuracy does not reach the highest; on the other hand, the data compression process will also lead to a loss of accuracy, so the data will be further lost in the process of transmitting data from the BBU to the RRU. Once the accuracy loss is too large, it will affect the EVM (Error Vector Magnitude) of the base station, thereby increasing the bit error rate. Therefore, it is very important to dynamically adjust the conversion accuracy for input powers in different ranges so that floating-point conversions can be performed for all input powers within the range while obtaining floating-point values ​​with higher accuracy as much as possible.

[0032] The inventor has found through research that the data link layer and network layer of the BBU are managed by the protocol stack. Figure 3As shown, this embodiment can obtain the actual power range of the input power Npower through capability authentication between the HighPhy part and the protocol stack related to the data link layer and the network layer. For example, the input power Npower obtained is the input power configured during downlink initialization, as shown in Table 1. According to the modulation scheme on RE (Resource Element), the following five input power Npower types can be included: PDCCH_QPSK, PDSCH_QPSK, PDSCH_16QAM, PDSCH_64QAM and PDSCH_256QAM, wherein PDCCH (Physical Downlink Control Channel) refers to the physical downlink control channel, PDSCH (Physical Downlink Shared CHannel) refers to the physical downlink shared channel, QPSK (Quadrature Phase Shift Keying) refers to quadrature phase shift keying modulation, and QAM (Quadrature Amplitude Modulation) refers to quadrature amplitude modulation. The above five types of input power all have corresponding power control dynamic ranges. As one example, the power control dynamic ranges of the above five types of input power are specifically shown in Table 1.

[0033] Table 1 Dynamic range of RE power control supported by the system

[0034]

[0035] It can be understood that the actual power range of the input power Npower referred to in step S101 is determined by combining the above five types of input power control dynamic ranges. Therefore, for example, according to Table 1, it can be determined that the actual power range of the input power Npower is [-6, 3], and the maximum input power Npower0 = 3dB.

[0036] Step S102: determining whether all actual values ​​of the power ratio under the preset configuration can be obtained, and determining the minimum value among all the actual values ​​as the actual minimum value of the power ratio;

[0037] Specifically, the preset configuration may include a first parameter and a second parameter. Among them, the first parameter is a parameter used to characterize which CDM (code division multiplexing) REs cannot multiplex data at present, and the first parameter can take three values ​​of 1, 2, and 3. The meanings of each value are as follows: a value of 1 indicates that the REs of the current CDM group 0 cannot multiplex data; a value of 2 indicates that the REs of the current CDM group 0 and CDM group 1 cannot multiplex data; a value of 3 indicates that the current CDM group 0, CDM group 1, and CDM group 2 cannot multiplex data. The second parameter is a parameter used to characterize the configuration type of the demodulation DMRS (Demodulatin Reference Signal). For example, the 3GPP (3rd Generation Partnership Project) protocol specifies two configuration types for PDSCH DMRS: type 1 and type 2. For example, as shown in Table 2, it is a list of the values ​​of the power ratio ratio obtained when the preset configuration is "the first parameter value is "3" and the second parameter is "including two configuration types of type 1 and type 2"".

[0038] Table 2 Power ratio obtained under preset configuration

[0039]

[0040] It should be noted that, as shown in Table 2, if the following conditions are met: when the first parameter value is 1, the values ​​of the power ratios corresponding to DMRS configuration type 1 and DMRS configuration type 2 can be obtained respectively; when the first parameter value is 2, the values ​​of the power ratios corresponding to DMRS configuration type 1 and DMRS configuration type 2 can be obtained respectively; when the first parameter value is 3, the value of the power ratios corresponding to DMRS configuration type 2 can be obtained. It is considered that all actual values ​​of the power ratios under the preset configuration of "the first parameter value is '3', and the second parameter is 'including two configuration types of type 1 and type 2'" can be obtained, and the smallest value "-4.77" among all the actual values ​​"0", "0", "-3", "-3" and "-4.77"" is called the actual minimum value of the power ratio.

[0041] It can be understood that the preset configuration listed above that "the first parameter value is '3', and the second parameter is 'including two configuration types of type 1 and type 2'" is only used as an example. For other preset configurations, judging whether all actual values ​​of the power ratio ratio under the preset configuration can be obtained belongs to the same concept as the preset configuration listed above, that is, determining all the values ​​of the power ratio ratio that need to be obtained according to the relevant communication protocol, and judging whether the value of the power ratio ratio can actually be obtained. If so, it is considered that all the actual values ​​of the power ratio ratio under the preset configuration can be obtained. Otherwise, it is considered that all the actual values ​​of the power ratio ratio under the preset configuration cannot be obtained.

[0042] If the judgment result in the above step S102 indicates that all actual values ​​of the power ratio under the preset configuration can be obtained, step S1021 is executed: according to the maximum input power and the actual minimum value of the power ratio, the actual maximum conversion accuracy for floating-point conversion of all the input powers within the actual power range is determined;

[0043] Specifically, as one example, according to the 5G (5th Generation Mobile Communication Technology) protocol, the formula for floating point conversion is:

[0044] f(Npower)=floatA(10 (Npower-ratio0) / 20 ); (1)

[0045] Among them, Npower represents the input power, ratio0 represents the actual minimum value of the power ratio, and 10 (Npower-ratio0) / 20 Represents the arithmetic floating point value y, that is, y = 10 (Npower-ratio0) / 20 , floatA(y) indicates that the conversion precision of floating-point conversion is A, f(Npower) indicates the floating-point value actually obtained after the input power Npower is converted into floating-point value (referred to as actual floating-point value), and the actual floating-point value can be considered as the representation of the arithmetic floating-point value y at the conversion precision A.

[0046] According to the machine algorithm rules, taking binary data with a bit width of 16 bits and a sign bit of 1 bit as an example, as shown in Table 3, the corresponding relationship between the actual floating-point value f(Npower) and the conversion accuracy A is represented.

[0047] Table 3 Correspondence between actual floating point value f(Npower) and conversion accuracy A

[0048]

[0049] It is understandable that when performing floating point conversion, for the conversion between the arithmetic floating point value y and the actual floating point value f(Npower), it is expected that the actual floating point value f(Npower) can have a higher conversion accuracy on the basis of satisfying the size of the arithmetic floating point value y. (Npower-ratio0) / 20 It can be seen that the size of y is proportional to the value of Npower. Therefore, when the input power Npower in a certain range takes the maximum value Npower0, the corresponding arithmetic floating point value y is also the largest. max Select the maximum conversion accuracy A max It is easy to understand that the maximum conversion accuracy A max It also satisfies the floating point conversion of other input powers Npower within this range.

[0050] In summary, according to the maximum input power Npower0 and the actual minimum value of the power ratio ratio0, the maximum conversion accuracy A for floating-point conversion of all input powers Npower within the actual power range can be determined. max。 For example, if the actual power range of the input power Npower obtained in step S101 is [-6, 12], the maximum input power Npower0 = 12, and the actual minimum value of the power ratio ratio0 obtained in step S102 = 0, the corresponding arithmetic floating point value y = 3.9810717055349722 can be calculated. According to Table 3 above, on the basis of satisfying the size of y, the maximum conversion accuracy can be 13 bits. Therefore, the maximum conversion accuracy (A max =13 bits) satisfies the floating point conversion of all input powers Npower within the actual power range of [-6,12]. If the actual power range of the input power Npower obtained in step S101 is [-6,13], the maximum input power Npower0=13, and the actual minimum value of the power ratio ratio0 obtained in step S102=0, the corresponding arithmetic floating point value y=4.466835921509632 can be calculated. According to the above Table 3, on the basis of satisfying the size of y, the maximum conversion accuracy can be 12 bits. Therefore, the maximum conversion accuracy (A max =12 bits) satisfies the floating point conversion of all input powers Npower within the actual power range of [-6,13].

[0051] It should be noted that the maximum conversion accuracy A determined based on the maximum input power and the actual minimum power ratio is max It is called the practical maximum conversion accuracy.

[0052] Step S103: Obtain a floating point value corresponding to each input power according to the actual maximum conversion accuracy and the actual minimum value of the power ratio.

[0053] Specifically, after the above steps S101, S102 and S1021, the maximum input power Npower0, the actual minimum power ratio ratio0, and the actual maximum conversion accuracy A determined based on the actual power range of the input power and the actual minimum power ratio ratio0 can be obtained. max Therefore, the formula for floating point conversion of each input power Npower can be determined as:

[0054] f(Npower)=floatA max (10 (Npower-ratio0) / 20 ); (2)

[0055] Therefore, the floating point value corresponding to each input power Npower in the first set can be calculated according to the above formula.

[0056] Preferably, in order to satisfy the data processing structure at the hardware level, the floating point value may be further converted to a fixed point value. Specifically, the formula for the fixed point conversion is:

[0057] Q(Npower)=fix(f(Npower)*2 A );

[0058] Where A represents the conversion accuracy, and fix(x) represents rounding down. It can be understood that in this embodiment, A=A max .

[0059] Preferably, when the floating point value Npower is converted to the fixed point value Q(Npower), in order to reduce the truncation error, 0.5 can be added before rounding, that is, Q(Npower) = fix(f(Npower)*2 A +0.5).

[0060] The beneficial effect of this embodiment is that by dynamically adjusting the conversion accuracy for input powers in different ranges, a floating-point value with higher accuracy can be obtained while performing floating-point conversion for all input powers within the range.

[0061] The inventors have found that the input power Npower appears repetitively, that is, different input powers Npower may appear once or twice or more. If the above formula is used for calculation each time, the amount of calculation will increase significantly, and the time for floating-point conversion will be increased.

[0062] Preferably, in order to reduce computational overhead and save time for floating-point conversion, the floating-point conversion value can be determined by searching for a mapping relationship. That is, the above step S103 "obtaining a floating-point value corresponding to each input power according to the actual maximum conversion accuracy and the actual minimum value of the power ratio" specifically includes: determining a target mapping relationship according to the actual maximum conversion accuracy and the actual minimum value of the power ratio, and determining a floating-point value corresponding to each input power according to the target mapping relationship; wherein the target mapping relationship is a power-floating-point value mapping relationship corresponding to each input power, and the power-floating-point value mapping relationship is established according to the preset power range of the input power and the candidate minimum value of the power ratio.

[0063] Specifically, Figure 4 As shown, the establishment step in the above “the power-floating point value mapping relationship is established according to the preset power range of the input power and the candidate minimum value of the power ratio” includes step S1001-step S1002.

[0064] Step S1001: obtaining at least two candidate minimum power ratio values, and determining, according to a preset power range of input power and each of the candidate minimum power ratio values, a candidate maximum conversion accuracy corresponding to the candidate minimum power ratio value and satisfying floating-point conversion of all the input powers within the preset power range;

[0065] Specifically, according to the communication protocol, the candidate minimum value of the power ratio ratio can be determined. As one example, according to the 5G protocol, the power ratio ratio has three candidate minimum values ​​ratio10, which are 0, -3, and -4.77. The preset power range includes a maximum preset input power Npower10 and a minimum preset input power Npower20. According to the above embodiment, it can be understood that the candidate maximum conversion accuracy B max The determination is only related to the maximum preset input power Npower10. Therefore, the minimum preset input power Npower20 can be preset according to actual conditions. For example, the minimum preset input power Npower20 is -21dB, and the preset power range is [-21, Npower10].

[0066] According to the maximum preset input power Npower10 and each of the above-mentioned candidate minimum values ​​of the power ratio ratio10, in combination with formula (1) and Table 3, the candidate maximum conversion accuracy B corresponding to each candidate minimum value of the power ratio ratio10 that satisfies all input powers Npower within the preset power range for floating point conversion can be determined. max For example, if the preset power range is [-21,6], the candidate minimum value of the power ratio ratio10 is 0, according to formula (1) and Table 3, the corresponding candidate maximum conversion accuracy B can be determined:max is 14 bits; if the preset power range is [-21,6], the candidate minimum value of the power ratio ratio10 is -3, according to formula (1) and Table 3, the corresponding candidate maximum conversion accuracy B can be determined max is 13 bits; if the preset power range is [-21,6], the candidate minimum value of the power ratio ratio10 is -4.77, according to formula (1) and Table 3, the corresponding candidate maximum conversion accuracy B can be determined max It is 13 digits.

[0067] Furthermore, the candidate maximum conversion accuracy B can be determined max The corresponding relationship between the candidate minimum value of the power ratio ratio10 and the maximum preset input power Npower10 is shown in Table 4.

[0068] Table 4: Maximum conversion accuracy B max Table of relations with the candidate minimum power ratio ratio10 and the maximum preset input power Npower10

[0069]

[0070] Step S1002: according to each of the power ratio candidate minimum values ​​and the corresponding candidate maximum conversion precision, establish a power-floating point value mapping relationship corresponding to the candidate maximum conversion precision and the power ratio candidate minimum value;

[0071] Specifically, the power-floating-point value mapping relationship includes an input power-floating-point value mapping relationship. More specifically, the mapping relationship may be a relationship list, and a group of relationship lists respectively corresponds to a candidate maximum conversion precision B max and a candidate minimum value of the power ratio ratio10. The relationship list reflects the corresponding relationship between the floating point value f(Npower) and the input power Npower within the preset power range. Specifically, the corresponding relationship between the floating point value f(Npower) and the input power Npower in the relationship list is determined according to formula (1) (where A = B max ).

[0072] Preferably, in order to satisfy the data processing structure at the hardware level, the floating point values ​​in the relationship list are further converted to fixed point values ​​to obtain corresponding fixed point values. Specifically, the formula for fixed point conversion is:

[0073] Q(Npower)=fix(f(Npower)*2 A );

[0074] Where A represents the conversion accuracy, and fix(x) represents rounding down. It can be understood that in this embodiment, A=B maxTherefore, the input power-fixed-point value mapping relationship can be obtained. Specifically, the input power-fixed-point value mapping relationship can also be a relationship list. Corresponding to the above Table 4, the input power-fixed-point value relationship list that can be established includes: "ratio10=0, B max =14bit; fixed point value Q(Npower) and input power Npower relationship table", "ratio10=0,B max =13bit; fixed-point value Q (Npower) and input power Npower relationship table", ..., "ratio10 = -3, B max =14bit; a relationship list between the fixed-point value Q(Npower) and the input power Npower", .... And so on, finally, corresponding to the above Table 4, a total of 15 relationship lists between the fixed-point value Q(Npower) and the input power Npower can be established.

[0075] As an example, as shown in Tables 5.1 to 5.6, a list of the relationship between 6 of the above fixed-point values ​​Q (Npower) and the input power Npower is listed, and in the 5G protocol, the value of the input power Npower is an integer.

[0076] Table 5.1 ratio10=0,B max =12bit; table showing the relationship between the fixed-point value Q(Npower) and the input power Npower

[0077] Npower(dB) Q(Npower) Npower(dB) Q(Npower) -21 365 0 4096 -20 410 1 4596 -19 460 2 5157 -18 516 3 5786 -17 579 4 6492 -16 649 5 7284 -15 728 6 8173 -14 817 7 9170 -13 917 8 10289 -12 1029 9 11544 -11 1154 10 12953 -10 1295 11 14533 -9 1453 12 16306 -8 1631 13 18296 -7 1830 14 20529 -6 2053 15 23034 -5 2303 16 25844 -4 2584 17 28997 -3 2900 18 32536 -2 3254 -1 3651

[0078] Table 5.2 ratio10=0,B max =11bit; table showing the relationship between the fixed-point value Q(Npower) and the input power Npower

[0079] Npower(dB) Q(Npower) Npower(dB) Q(Npower) -21 183 0 2048 -20 205 1 2298 -19 230 2 2578 -18 258 3 2893 -17 289 4 3246 -16 325 5 3642 -15 364 6 4086 -14 409 7 4585 -13 458 8 5144 -12 514 9 5772 -11 577 10 6476 -10 648 11 7267 -9 727 12 8153 -8 815 13 9148 -7 915 14 10264 -6 1026 15 11517 -5 1152 16 12922 -4 1292 17 14499 -3 1450 18 16268 -2 1627 19 18253 -1 1825 20 20480 21 22979 22 25783 23 28929 24 32459

[0080] Table 5.3 ratio10=-3,B max =12bit; table showing the relationship between the fixed-point value Q(Npower) and the input power Npower

[0081]

[0082]

[0083] Table 5.4 ratio10=-3,B max =11bit; table showing the relationship between the fixed-point value Q(Npower) and the input power Npower

[0084]

[0085]

[0086] Table 5.5 ratio10=-4.77,B max =12bit; table showing the relationship between the fixed-point value Q(Npower) and the input power Npower

[0087]

[0088]

[0089] Table 5.6 ratio10=-4.77,B max =11bit; table showing the relationship between the fixed-point value Q(Npower) and the input power Npower

[0090] Npower(dB) Q(Npower) Npower(dB) Q(Npower) -21 316 0 3547 -20 355 1 3980 -19 398 2 4465 -18 447 3 5010 -17 501 4 5621 -16 562 5 6307 -15 631 6 7077 -14 708 7 7940 -13 794 8 8909 -12 891 9 9996 -11 1000 10 11216 -10 1122 11 12584 -9 1258 12 14120 -8 1412 13 15843 -7 1584 14 17776 -6 1778 15 19945 -5 1994 16 22378 -4 2238 17 25109 -3 2511 18 28173 -2 2817 19 31610 -1 3161

[0091] Preferably, the above "determine the target mapping relationship according to the actual maximum conversion accuracy and the actual minimum value of the power ratio, and determine the floating-point value corresponding to each input power according to the target mapping relationship" specifically also includes: comparing the actual maximum conversion accuracy with the candidate maximum conversion accuracy, and comparing the actual minimum value of the power ratio with the candidate minimum value of the power ratio, determining the power-floating-point value mapping relationship corresponding to the candidate maximum conversion accuracy and the candidate minimum value of the power ratio that are all the same in the two comparisons as the target mapping relationship, and determining the floating-point value corresponding to each input power according to the target mapping relationship. For example, if the actual power range obtained is [-6,13], the calculated actual maximum conversion accuracy A max =12, if the actual minimum value of the power ratio ratio0 obtained is 0, by comparing the above relationship list, Table 5.1 is determined as the target relationship list. By looking up the table (Table 5.1), the converted floating point value corresponding to each input power Npower is determined.

[0092] The beneficial effect of this embodiment is that by first formulating a relationship list between floating-point values ​​f(Npower) and input power Npower or a relationship list between fixed-point values ​​Q(Npower) and input power Npower, and then determining the converted floating-point values ​​or fixed-point values ​​corresponding to each input power Npower by comparison and table lookup, the computing overhead of the processor can be greatly reduced and the time used for floating-point conversion can be saved.

[0093] On this basis, the inventors further studied and found that in the relationship lists between the above multiple floating point values ​​f(Npower) and the input power Npower, for any two sets of relationship lists with the same candidate maximum conversion accuracy (i.e., Bmax2= B max1 ), there are the following rules:

[0094] f2(Npower)=f1(Npower+ratio102-ratio101);

[0095] Among them, B max2 The candidate maximum conversion accuracy corresponding to the relationship list between the second set of floating point values ​​f2(Npower) and the input power Npower, B max1 Indicates the candidate maximum conversion accuracy corresponding to the relationship list of the first group of floating-point values ​​f1(Npower) and the input power Npower, ratio102 refers to the candidate minimum value of the power ratio corresponding to the relationship list of the second group of floating-point values ​​f2(Npower) and the input power Npower, ratio101 refers to the candidate minimum value of the power ratio corresponding to the relationship list of the first group of floating-point values ​​f1(Npower) and the input power Npower, and "f2(Npower)=f1(Npower+ratio101-ratio102)" means that the floating-point value f1(Npower+ratio102-ratio101) corresponding to the input power of "Npower+ratio101-ratio102" in the relationship list of the first group of floating-point values ​​f1(Npower) and the input power Npower is equal to the floating-point value f2(Npower) corresponding to the input power of "Npower" in the relationship list of the second group of floating-point values ​​f2(Npower) and the input power Npower. The equal floating-point values ​​are used for reuse in any two groups of relationship lists with the same candidate maximum conversion accuracy.

[0096] The beneficial effect of this embodiment is that, for the equal floating-point value data in any two groups of the above relationship lists, they can be reused when formulating the relationship lists, so as to further reduce the amount of calculation of the processor.

[0097] In view of the above, since the value of the input power Npower is an integer, and when the power ratio candidate minimum value ratio10 is -3 or 0 (integer value), let the demodulation reference power EPRE = Npower-ratio10, for the demodulation reference power EPRE, EPRE is also an integer value. When the power ratio candidate minimum value ratio10 is -4.77 (decimal value), EPRE is a decimal value. Therefore, further, the above-mentioned power-floating-point value mapping relationship also includes a demodulation reference power power-floating-point value mapping relationship (such as: relationship list). Therefore, when the power ratio candidate minimum value ratio10 is an integer, different candidate conversion accuracies B can be formulated respectively. maxA list of relationships between the corresponding floating point value f(EPRE) and the demodulation reference power EPRE, or a list of relationships between the corresponding fixed point value Q(EPRE) and the demodulation reference power EPRE; and different candidate conversion accuracies B when the power ratio candidate minimum value ratio10 is a decimal are respectively formulated. max The corresponding floating point value f(Npower) and the input power Npower are listed in the relationship table, or the corresponding fixed point value Q(Npower) and the input power Npower are listed in the relationship table. For example, corresponding to Table 4, "ratio10 is an integer, B max =14bit; the relationship between the fixed-point value Q(EPRE) and the demodulation reference power EPRE", "ratio10 is a decimal, B max =14bit; the relationship between the fixed-point value Q(Npower) and the input power Npower", "ratio10 is an integer, B max =13bit; the relationship between the fixed-point value Q(EPRE) and the demodulation reference power EPRE", "ratio10 is a decimal, B max =13bit; the relationship list between the fixed-point value Q (Npower) and the input power Npower", ..., and so on, the relationship list between 5 fixed-point values ​​Q (EPRE) and the demodulation reference power EPRE, and the relationship list between 5 fixed-point values ​​Q (Npower) and the input power Npower can be determined. For example, as shown in Tables 6.1-6.4, the relationship list between 2 of the above fixed-point values ​​Q (EPRE) and the demodulation reference power EPRE, and the relationship list between 2 of the above fixed-point values ​​Q (Npower) and the input power Npower are listed.

[0098] 6.1 ratio10 is an integer, B max =12bit;

[0099] Table of the relationship between the fixed-point value Q(EPRE) and the demodulation reference power EPRE

[0100] EPRE(dB) Q(EPRE) EPRE(dB) Q(EPRE) -21 365 0 4096 -20 410 1 4596 -19 460 2 5157 -18 516 3 5786 -17 579 4 6492 -16 649 5 7284 -15 728 6 8173 -14 817 7 9170 -13 917 8 10289 -12 1029 9 11544 -11 1154 10 12953 -10 1295 11 14533 -9 1453 12 16306 -8 1631 13 18296 -7 1830 14 20529 -6 2053 15 23034 -5 2303 16 25844 -4 2584 17 28997 -3 2900 18 32536 -2 3254 -1 3651

[0101] 6.2 ratio10 is a decimal, B max =12bit;

[0102] Table of relationships between fixed-point value Q(Npower) and input power Npower

[0103] Npower(dB) Q(Npower) Npower(dB) Q(Npower) -21 632 0 7093 -20 709 1 7959 -19 796 2 8930 -18 893 3 10020 -17 1002 4 11242 -16 1124 5 12614 -15 1261 6 14153 -14 1415 7 15880 -13 1588 8 17818 -12 1782 9 19992 -11 1999 10 22432 -10 2243 11 25169 -9 2517 12 28240 -8 2824 13 31685 -7 3169 -6 3555 -5 3989 -4 4476 -3 5022 -2 5635 -1 6322

[0104] 6.3 When ratio10 is an integer and Bmax = 11 bits;

[0105] Table of the relationship between the fixed-point value Q(EPRE) and the demodulation reference power EPRE

[0106]

[0107]

[0108] 6.4 When ratio10 is a decimal, Bmax = 11 bits;

[0109] Table of relationships between fixed-point value Q(Npower) and input power Npower

[0110]

[0111]

[0112] The beneficial effect of this embodiment is that by only formulating the relationship list corresponding to when the power ratio candidate minimum value ratio10 is an integer or a decimal, the floating-point value or fixed-point value corresponding to each input power Npower can be determined by table lookup, thereby reducing the number of relationship lists, further reducing the amount of processor calculations, and improving the efficiency of table lookup.

[0113] It should be noted that if Figure 1 As shown, for step S102 "determine whether all actual values ​​of the power ratio under the preset configuration can be obtained, the minimum value of all actual values ​​is called the actual minimum value of the power ratio", if the judgment result indicates that all actual values ​​of the power ratio under the preset configuration cannot be obtained, then execute step S1022: if not, obtain the theoretical minimum value of the power ratio, and determine the actual maximum conversion accuracy for floating-point conversion of all the input powers within the actual power range based on the maximum input power and the theoretical minimum value of the power ratio.

[0114] It can be understood that according to the expression of arithmetic floating point value y=10 (Npower-ratio0) / 20 It can be seen that when the actual minimum value ratio0 of the power ratio is smaller, the obtained arithmetic floating-point value is larger, and according to formula (1), it can be understood that the maximum conversion accuracy determined based on the maximum arithmetic floating-point value can meet the floating-point conversion of all input powers Npower within the actual power range. It can be seen that when the actual minimum value of the power ratio cannot be obtained (that is, when all actual values ​​of the power ratio cannot be obtained), the maximum theoretical arithmetic floating-point value can be determined by using the theoretical minimum value ratio100 of the power ratio, and then the corresponding actual maximum conversion accuracy can be determined. It can be understood that the theoretical minimum value of the power ratio = the smallest candidate minimum value of the power ratio. For example, the theoretical minimum value of the power ratio ratio100 = -4.77.

[0115] It is understandable that in the above situation where all actual values ​​of the power ratio under the preset configuration cannot be obtained, it is also possible to first formulate a relationship list between the floating-point value f(Npower) and the input power Npower or a relationship list between the fixed-point value Q(Npower) and the input power Npower (i.e., input power-floating-point value mapping relationship or input power-fixed-point value mapping relationship), and determine the converted floating-point value or fixed-point value corresponding to each input power Npower by comparison and table lookup, thereby greatly reducing the processor's computing overhead and saving the time used for floating-point conversion. For the sake of brevity, the similarities are not described one by one.

[0116] Preferably, according to actual needs, the embodiment of the present disclosure can further formulate a mapping relationship between power-floating-point value-fixed-point value. Specifically, the mapping relationship between power-floating-point value-fixed-point value can be a relationship list of fixed-point value, floating-point value and input power Npower (or demodulation reference power EPRE). For the sake of brevity, the similarities in the relationship list are not elaborated one by one.

[0117] The embodiment of the present disclosure also provides an input power conversion device 200 for a base station, such as Figure 5 As shown, it is a schematic diagram of the structure of the device 200. The device 200 includes an acquisition unit 201, a determination unit 202 and a conversion unit 203. Among them, the acquisition unit 201 is used to obtain the actual power range of the input power, and the maximum value of the actual power range is called the maximum input power; the determination unit 202 is used to determine whether all the actual values ​​of the power ratio under the preset configuration can be obtained, wherein the minimum value of all the actual values ​​is called the actual minimum value of the power ratio; if so, according to the maximum input power and the actual minimum value of the power ratio, determine the actual maximum conversion accuracy that satisfies all the input powers in the actual power range for floating-point conversion; the conversion unit 203 is used to obtain the floating-point value corresponding to each input power according to the actual maximum conversion accuracy and the actual minimum value of the power ratio.

[0118] Preferably, the conversion unit 203 is also used to: determine a target mapping relationship based on the actual maximum conversion accuracy and the actual minimum value of the power ratio, and determine a floating-point value corresponding to each of the input powers based on the target mapping relationship; wherein the target mapping relationship is a power-floating-point value mapping relationship corresponding to each of the input powers, and the power-floating-point value mapping relationship is established based on a preset power range of the input power and a candidate minimum value of the power ratio.

[0119] Preferably, the conversion unit 203 is also used to: obtain at least two candidate minimum values ​​of the power ratio, and determine, based on the preset power range of the input power and each of the candidate minimum values ​​of the power ratio, a candidate maximum conversion accuracy that corresponds to the candidate minimum value of the power ratio and satisfies all the input powers within the preset power range for floating-point conversion; and, based on each of the candidate minimum value of the power ratio and its corresponding candidate maximum conversion accuracy, establish a power-floating-point value mapping relationship corresponding to the candidate maximum conversion accuracy and the candidate minimum value of the power ratio.

[0120] Preferably, in the conversion unit 203, the power-floating-point value mapping relationship includes an input power-floating-point value mapping relationship, and a group of the input power-floating-point value mapping relationships corresponds to one candidate maximum conversion accuracy and one candidate minimum value of the power ratio.

[0121] Preferably, the conversion unit 203 is also used to reuse the equal floating-point values ​​in any two groups of the input power-floating-point value mapping relationships with the same candidate maximum conversion precision; wherein, for any two groups of the input power-floating-point value mapping relationships with the same candidate maximum conversion precision, there is: f2(Npower)=f1(Npower+ratio102-ratio101); wherein ratio102 refers to the candidate minimum value of the power ratio corresponding to the second group of input power-floating-point value mapping relationships, ratio101 refers to the candidate minimum value of the power ratio corresponding to the first group of input power-floating-point value mapping relationships, f1(Npower+ratio101-ratio102) represents the floating-point value corresponding to the input power of the first group of input power-floating-point value mapping relationships when the input power is "Npower+ratio101-ratio102", and f2(Npower) represents the floating-point value corresponding to the input power of the second group of input power-floating-point value mapping relationships when the input power is "Npower".

[0122] Preferably, in the conversion unit 203, the at least two power ratio candidate minimum values ​​include at least two integer candidate minimum values, and at least one decimal candidate minimum value; the power-floating-point value mapping relationship includes an input power-floating-point value mapping relationship, and a demodulation reference power-floating-point value mapping relationship; wherein, one of the candidate maximum conversion accuracy and one of the decimal candidate minimum values ​​correspond to a group of input power-floating-point value mapping relationships, one of the candidate maximum conversion accuracy and all of the integer candidate minimum values ​​correspond to a group of demodulation reference power-floating-point value mapping relationships, the demodulation reference power is equal to the input power minus the integer candidate minimum value, and the input power is an integer value.

[0123] Preferably, the conversion unit 203 is also used to compare the actual maximum conversion accuracy with the candidate maximum conversion accuracy, and to compare the actual minimum value of the power ratio with the candidate minimum value of the power ratio, and to determine the power-floating-point value mapping relationship corresponding to the candidate maximum conversion accuracy and the candidate minimum value of the power ratio that are all the same in the two comparisons as the target mapping relationship, and to determine the floating-point value corresponding to each of the input powers according to the target mapping relationship.

[0124] Preferably, the determination unit 202 is also used to obtain the theoretical minimum value of the power ratio if all actual values ​​of the power ratio under the preset configuration cannot be obtained, and determine the actual maximum conversion accuracy for floating-point conversion of all the input powers within the actual power range based on the maximum input power and the theoretical minimum value of the power ratio.

[0125] Preferably, the acquisition unit 201 is further used to acquire the actual power range based on capability authentication between the HighPhy part and the protocol stack related to the data link layer and the network layer.

[0126] Preferably, the conversion unit 203 is further used to perform fixed-point conversion on each of the floating-point values ​​to obtain a corresponding fixed-point value.

[0127] The beneficial effect of the input power conversion device 200 for a base station provided by the embodiment of the present disclosure is that by dynamically adjusting the conversion accuracy for input powers in different ranges, a floating-point value with higher accuracy can be obtained while performing floating-point conversion on all input powers within the range.

[0128] It should be noted that the input power conversion device 200 for a base station provided in the embodiment of the present disclosure and the input power conversion method 100 for a base station provided in the above-mentioned embodiment belong to the same concept, and their specific implementation process and the technical details in the method embodiment are all applicable in the embodiment of the present device, and the repeated parts will not be repeated.

[0129] Specifically, the input power conversion device 200 may be a chip, such as a DSP (Digital Signal Process) chip, an MCU (Microcontroller Unit) chip or an FPGA (Field Programmable Gate Array) chip.

[0130] The present disclosure also provides an electronic device 300, such as Figure 6As shown, it is a schematic diagram of the structure of an electronic device 300 provided in this embodiment. The electronic device 300 includes: a processor 301, a memory 302, and a computer program stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program, the steps in each embodiment of the input power conversion method 100 are implemented, or when the processor 301 executes the computer program, the functions of each unit in the embodiment of the device 200 are implemented.

[0131] For example, the electronic device 300 may be a base station or a terminal. Those skilled in the art may understand that Figure 6 It is only an example of the electronic device 300 and does not constitute a limitation of the electronic device 300. It may include more components than shown in the figure, or combine certain components, or conventionally replace different components. For example, the electronic device 300 may also include input and output interfaces, buses, etc.

[0132] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0133] The memory 302 may be an internal storage unit of the electronic device 300, such as a hard disk or memory of the electronic device 300. The memory 302 may also be an external storage device of the electronic device 300, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, a universal serial bus disk, etc. equipped on the electronic device 300. Further, the memory 302 may also include both an internal storage unit and an external storage unit of the electronic device 300. The memory 302 is used to store the computer program and other programs and data required by the electronic device 300. The memory 302 may also be used to temporarily store data that has been output or is to be output.

[0134] The embodiment of the present application further discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the input power conversion method 100 described in the above embodiments is implemented. The computer-readable storage medium can be one or more of the types of memory 302 listed in the above electronic device 300 embodiment.

[0135] The various embodiments described above can be combined to provide further embodiments. Aspects of the embodiments can be modified, if necessary, to employ the concepts of the various patents, applications and publications to provide yet further embodiments.

[0136] In light of the above detailed description, these and other changes can be made to the embodiments. In general, in the following claims, the terms used should not be construed to limit the claims to the specific embodiments disclosed in the specification and claims, but should be construed to include all possible embodiments, along with the full range of equivalents to which the claims are entitled. Accordingly, the claims are not limited by the present disclosure.

Claims

1. A method for converting input power of a base station, characterized in that: include: Acquire an actual power range of the input power, and determine that a maximum value of the actual power range is a maximum input power; Determine whether all actual values ​​of the power ratio under the preset configuration can be obtained, wherein the minimum value among all the actual values ​​is determined to be the actual minimum value of the power ratio; if so, determine the actual maximum conversion accuracy for floating-point conversion of all the input powers within the actual power range based on the maximum input power and the actual minimum value of the power ratio; if not, obtain the theoretical minimum value of the power ratio, and determine the actual maximum conversion accuracy for floating-point conversion of all the input powers within the actual power range based on the maximum input power and the theoretical minimum value of the power ratio; A floating point value corresponding to each input power is obtained according to the actual maximum conversion accuracy and the actual minimum value of the power ratio.

2. The input power conversion method for a base station according to claim 1, characterized in that: The obtaining of the floating-point value corresponding to each input power according to the actual maximum conversion accuracy and the actual minimum value of the power ratio comprises: determining a target mapping relationship according to the actual maximum conversion accuracy and the actual minimum value of the power ratio, and determining the floating-point value corresponding to each input power according to the target mapping relationship; wherein the target mapping relationship is a power-floating-point value mapping relationship corresponding to each input power, and the power-floating-point value mapping relationship is established according to a preset power range of the input power and a candidate minimum value of the power ratio.

3. The input power conversion method for a base station according to claim 2, characterized in that: The method for establishing the power-floating-point value mapping relationship comprises: obtaining at least two candidate minimum values ​​of power ratio, and determining, according to a preset power range of input power and each candidate minimum value of power ratio, a candidate maximum conversion accuracy corresponding to the candidate minimum value of power ratio and satisfying all the input powers within the preset power range for floating-point conversion; According to each of the power ratio candidate minimum values ​​and the corresponding candidate maximum conversion precision, a power-floating point value mapping relationship corresponding to the candidate maximum conversion precision and the power ratio candidate minimum value is established.

4. The input power conversion method for a base station according to claim 3, characterized in that: The power-floating-point value mapping relationship includes an input power-floating-point value mapping relationship, and a group of the input power-floating-point value mapping relationships corresponds to one candidate maximum conversion accuracy and one candidate minimum value of the power ratio.

5. The input power conversion method for a base station according to claim 4, characterized in that: The establishing of the input power-floating point value mapping relationship corresponding to the candidate maximum conversion precision and the candidate minimum value of the power ratio comprises: reusing the equal floating point values ​​in any two groups of the input power-floating point value mapping relationships having the same candidate maximum conversion precision; Wherein, for any two groups of input power-floating point value mapping relationships having the same candidate maximum conversion precision, there is: f2(Npower)=f1(Npower+ratio102-ratio101); Among them, ratio102 refers to the candidate minimum power ratio corresponding to the second set of input power-floating-point value mapping relationships, ratio101 refers to the candidate minimum power ratio corresponding to the first set of input power-floating-point value mapping relationships, f1(Npower+ratio101-ratio102) represents the floating-point value corresponding to the input power of the first set of input power-floating-point value mapping relationships when the input power is "Npower+ratio101-ratio102", and f2(Npower) represents the floating-point value corresponding to the input power of the second set of input power-floating-point value mapping relationships when the input power is "Npower".

6. The input power conversion method for a base station according to claim 3, characterized in that: The at least two power ratio candidate minimum values ​​include at least two integer candidate minimum values, and at least one decimal candidate minimum value; the power-floating-point value mapping relationship includes an input power-floating-point value mapping relationship, and a demodulation reference power-floating-point value mapping relationship; wherein, one of the candidate maximum conversion precisions and one of the decimal candidate minimum values ​​corresponds to a group of input power-floating-point value mapping relationships, one of the candidate maximum conversion precisions and all of the integer candidate minimum values ​​corresponds to a group of demodulation reference power-floating-point value mapping relationships, the demodulation reference power is equal to the input power minus the integer candidate minimum value, and the input power is an integer value.

7. The input power conversion method for a base station according to any one of claims 3 to 6, characterized in that: The method of determining a target mapping relationship according to the actual maximum conversion accuracy and the actual minimum value of the power ratio, and determining a floating-point value corresponding to each of the input powers according to the target mapping relationship, includes: comparing the actual maximum conversion accuracy with the candidate maximum conversion accuracy, and comparing the actual minimum value of the power ratio with the candidate minimum value of the power ratio, determining the power-floating-point value mapping relationship corresponding to the candidate maximum conversion accuracy and the candidate minimum value of the power ratio that are all the same in both comparisons as the target mapping relationship, and determining the floating-point value corresponding to each of the input powers according to the target mapping relationship.

8. The input power conversion method for a base station according to any one of claims 2 to 6, characterized in that: The determination of whether all actual values ​​of the power ratio under the preset configuration can be obtained includes: if not, obtaining the theoretical minimum value of the power ratio, and determining the actual maximum conversion accuracy for floating-point conversion of all the input powers within the actual power range based on the maximum input power and the theoretical minimum value of the power ratio.

9. The input power conversion method for a base station according to claim 8, characterized in that: The obtaining of the actual power range of the input power includes: obtaining the actual power range based on capability authentication between the HighPhy part and the protocol stack related to the data link layer and the network layer.

10. The input power conversion method for a base station according to claim 9, characterized in that: The method further comprises: performing fixed-point conversion on each floating-point value to obtain a corresponding fixed-point value, after obtaining a floating-point value corresponding to each input power according to the actual maximum conversion accuracy and the actual minimum value of the power ratio.

11. An input power conversion device for a base station, characterized in that: include: an acquisition unit, used to acquire an actual power range of the input power, wherein the maximum value of the actual power range is called the maximum input power; A determination unit, configured to determine whether all actual values ​​of the power ratio under a preset configuration can be obtained, wherein the minimum value among all the actual values ​​is referred to as the actual minimum value of the power ratio; if so, determining, based on the maximum input power and the actual minimum value of the power ratio, an actual maximum conversion accuracy that satisfies floating-point conversion of all the input powers within the actual power range; A conversion unit, used for obtaining a floating point value corresponding to each input power according to the actual maximum conversion accuracy and the actual minimum value of the power ratio; The determining unit is further configured to: If not, obtain the theoretical minimum value of the power ratio, and determine the actual maximum conversion accuracy for floating-point conversion of all the input powers within the actual power range according to the maximum input power and the theoretical minimum value of the power ratio.

12. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the input power conversion method for a base station as described in any one of claims 1 to 10 is implemented.

13. A computer-readable storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute the input power conversion method for a base station as described in any one of claims 1-10.

Citation Information

Patent Citations

  • Power control method and apparatus based on DSP processing

    CN109286971A

  • Optimization method and device of deep learning model and terminal equipment

    CN111310890A