CN114466439A - Input power conversion method, device, equipment and medium for base station - Google Patents
Input power conversion method, device, equipment and medium for base station Download PDFInfo
- Publication number
- CN114466439A CN114466439A CN202210091102.3A CN202210091102A CN114466439A CN 114466439 A CN114466439 A CN 114466439A CN 202210091102 A CN202210091102 A CN 202210091102A CN 114466439 A CN114466439 A CN 114466439A
- Authority
- CN
- China
- Prior art keywords
- power
- input power
- actual
- floating point
- candidate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 204
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000007667 floating Methods 0.000 claims abstract description 176
- 238000013507 mapping Methods 0.000 claims description 101
- 238000004590 computer program Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 7
- 238000007906 compression Methods 0.000 description 5
- 230000006835 compression Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000010363 phase shift Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- GVVPGTZRZFNKDS-JXMROGBWSA-N geranyl diphosphate Chemical compound CC(C)=CCC\C(C)=C\CO[P@](O)(=O)OP(O)(O)=O GVVPGTZRZFNKDS-JXMROGBWSA-N 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/06—TPC algorithms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/08—Access point devices
- H04W88/085—Access point devices with remote components
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the disclosure provides an input power conversion method, device, equipment and storage medium for a base station, wherein the method comprises the following steps: acquiring an actual power range of input power, and 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 or not, wherein the minimum value in all the actual values is determined as the actual minimum value of the power ratio; if yes, determining the actual maximum conversion precision of floating point conversion of all the input power in the actual power range according to the maximum input power and the actual minimum value of the power ratio; and obtaining a floating point value corresponding to each input power according to the actual maximum conversion precision and the actual minimum value of the power ratio. According to the method, the floating point value with higher precision can be obtained while the floating point conversion of all input power in the range is met.
Description
Technical Field
The present disclosure relates to the field of mobile communications technologies, and in particular, to an input power conversion method, apparatus, device, and storage medium for a base station.
Background
In a computer architecture, the software layer typically handles floating point data, while the hardware layer handles fixed point data. Therefore, floating point conversion and fixed point conversion of input power are necessary for radio transmitting and receiving apparatuses such as base stations. The floating point conversion is to convert the input power value into a floating point value, and the fixed point conversion is to convert the floating point value into a fixed point value.
For the floating-point conversion process, the conversion precision needs to be determined, the floating-point value generally includes a sign bit, an integer bit and a decimal bit, the sum of the digits of the sign bit, the integer bit and the decimal bit is called bit width, the decimal bit is used for indicating the conversion precision, the more the decimal bit is, the higher the conversion precision is, otherwise, the smaller the decimal bit is, the integer bit is used for indicating the size range of the floating-point value, and the actual power range of the input power to be subjected to floating-point conversion is also reflected.
Unfortunately, in the current base station device, on one hand, the conversion precision of the floating-point conversion of the input power is selected singly, so that the precision of the obtained floating-point value data is poor; on the other hand, when data is transmitted from a BBU (baseband processing Unit) to an RRU (Remote Radio Unit), the data needs to be compressed several times, which further results in loss of data accuracy, and the loss of data accuracy may cause great influence on the performance of the Base station.
Disclosure of Invention
In view of the above, in order to solve the problem that the performance of the base station is affected due to the poor conversion precision of the input power when performing floating point conversion in the prior art, a first aspect of the present disclosure provides an input power conversion method for a base station, including: acquiring an actual power range of input power, and determining the maximum value of the actual power range as the maximum input power; judging whether all actual values of the power ratio under a preset configuration can be obtained or not, wherein the minimum value in all the actual values is determined as the actual minimum value of the power ratio; if yes, determining the actual maximum conversion precision of the floating point conversion of all the input power in the actual power range according to the maximum input power and the actual minimum value of the power ratio; and obtaining a floating point value corresponding to each input power according to the actual maximum conversion precision and the actual minimum value of the power ratio.
Preferably, the 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 includes: determining a target mapping relation according to the actual maximum conversion precision 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 relation; wherein the target mapping relation is a power-floating point value mapping relation corresponding to each input power, and the power-floating point value mapping relation is established according to a preset power range and a power ratio candidate minimum value of the input power.
Preferably, the power-floating point value mapping relationship is established according to a preset power range of the input power and a power ratio candidate minimum value, and includes: obtaining at least two power ratio candidate minimum values, and determining candidate maximum conversion precision which corresponds to the power ratio candidate minimum values and meets the requirement of floating point conversion of all the input power in a preset power range according to a preset power range of the input power and each power ratio candidate minimum value; and establishing a power-floating point value mapping relation corresponding to the candidate maximum conversion precision and the power ratio candidate minimum value according to each power ratio candidate minimum value and the candidate maximum conversion precision corresponding to the power ratio candidate minimum value.
Preferably, the power-floating point value mapping relationship comprises an input power-floating point value mapping relationship, and a set of the input power-floating point value mapping relationships corresponds to one of the candidate maximum conversion accuracies and one of the power ratio candidate minimums.
Preferably, the establishing an input power-floating point value mapping relationship corresponding to the candidate maximum conversion precision and the power ratio candidate minimum value includes: reusing the equal floating point values in any two groups of the input power-floating point value mapping relations with the same candidate maximum conversion precision; wherein, for any two groups of the input power-floating point value mapping relations with the same candidate maximum conversion precision, there are: f. of2(Npower)=f1(Npower + ratio102-ratio 101); wherein, ratio102 is the power ratio candidate minimum corresponding to the second set of input power-floating point value mapping relation, ratio101 is the power ratio candidate minimum corresponding to the first set of input power-floating point value mapping relation, f1(Npower + ratio101-ratio102) represents a floating point value corresponding to the input power of "Npower + ratio101-ratio 102" in the first set of input power-floating point value mapping relations, f2(Npower) represents the floating point value corresponding to the input power of "Npower" in the second set of input power-floating point value mappings.
Preferably, the at least two power ratio candidate minimums comprise at least two integer candidate minimums, and at least one decimal candidate minimums; the power-floating point value mapping relationship comprises 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 accuracies and one of the fractional candidate minima corresponds to a set of input power-floating point value mappings, one of the candidate maximum conversion accuracies and all of the integer candidate minima corresponds to a set of demodulation reference power-floating point value mappings, the demodulation reference power is equal to the input power minus the integer candidate minima, and the input power is an integer value.
Preferably, the determining a target mapping relationship according to the actual maximum conversion precision 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, includes: comparing the actual maximum conversion precision with the candidate maximum conversion precision, comparing the power ratio actual minimum value with the power ratio candidate minimum value, determining the candidate maximum conversion precision which are all the same and the power-floating point value mapping relation corresponding to the power ratio candidate minimum value as a target mapping relation, and determining the floating point value corresponding to each input power according to the target mapping relation.
Preferably, the determining whether all actual values of the power ratio under the preset configuration can be obtained includes: and if not, acquiring a theoretical minimum value of the power ratio, and determining the actual maximum conversion precision of the floating point conversion of all the input power in the actual power range according to the maximum input power and the theoretical minimum value of the power ratio.
Preferably, the obtaining of the actual power range of the input power includes: and acquiring the actual power range based on capability authentication between the HighPhy part and protocol stacks related to a data link layer and a network layer.
Preferably, the obtaining a floating point value corresponding to each input power according to the actual maximum conversion precision and the actual minimum value of the power ratio, and then further includes: and performing fixed-point conversion on each floating point value to obtain a corresponding fixed-point value.
The second aspect of the present disclosure also provides an input power conversion apparatus for a base station, the apparatus comprising: the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring an actual power range of input power, and the maximum value of the actual power range is called as maximum input power; the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for judging whether all actual values of the power ratio under a preset configuration can be obtained or not, and the minimum value of all the actual values is called as the actual minimum value of the power ratio; if yes, determining the actual maximum conversion precision of the floating point conversion of all the input power in the actual power range according to the maximum input power and the actual minimum value of the power ratio; and the conversion unit is used for obtaining a floating point value corresponding to each input power according to the actual maximum conversion precision and the actual minimum value of the power ratio.
The third aspect of the present disclosure also provides an electronic device, including: a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor implements any of the above-mentioned input power conversion methods for a base station when executing the computer program.
The fourth aspect of the present disclosure also provides a computer-readable storage medium storing computer-executable instructions for performing any one of the above-mentioned input power conversion methods for a base station.
The method, the device, the equipment and the storage medium for converting the input power of the base station have the advantages that: by dynamically adjusting the conversion precision for different ranges of input power, a floating point value with higher precision can be obtained while satisfying the requirement of performing floating point conversion on all input power in the range.
Drawings
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.
Fig. 1 is a flowchart of an input power conversion method 100 for a base station according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a base station according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating a capability authentication process in a BBU of a base station according to an embodiment of the present disclosure;
fig. 4 is a flowchart of yet another input power conversion method 100 for a base station according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an input power conversion apparatus 200 for a base station according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device 300 provided in an embodiment of the present disclosure;
Detailed Description
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.
In the description of the present disclosure, the above, below, inside, at least, etc. are understood to include the instant numbers. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
The disclosed embodiments provide an input power conversion method 100 for a base station, which is described in detail below with reference to fig. 1-4 for ease of understanding.
As shown in fig. 1, a flowchart of an input power conversion method 100 for a base station according to the present embodiment is provided, where the method 100 includes step S101, step S102, step S1021, and step S103; or step S101, step S102, step S1022 and step S103.
Step S101, acquiring an actual power range of input power, and determining the maximum value of the actual power range as the maximum input power;
specifically, as shown in fig. 2, a schematic structural diagram of a base station provided for the related art is provided, where the base station includes a BBU, a RHUB (remote radio unit hub), and an RRU. According to an OSI (Open System Interconnection Reference Model) protocol, the BBU may include a data link layer (L2 layer for short), a network layer (L3 layer for short), and a HighPhy part of a physical layer, and the RHUB includes a LowPhy part of the physical layer, where the LowPhy part of the physical layer is responsible for converting a frequency domain signal into a time domain signal. The BBU carries out floating point conversion in the HighPhy part, the output floating point value data is transmitted to RHUB after first compression (frequency domain compression), and the data output by RHUB is transmitted to the RRU after second compression (time domain compression). For the related art, on one hand, when the floating-point conversion is performed, the conversion precision is determined according to the theoretical maximum input power, that is, under the condition that the bit width is not changed, the number of integer digits representing the size range of the floating-point value is fixed, and therefore, the number of decimal digits representing the conversion precision is also fixed, and therefore, the conversion precision is not highest for input powers in different ranges; on the other hand, the compression process of the data also causes the loss of precision, and therefore, the data is further caused to lose the precision in the process of transferring the data from the BBU to the RRU. If the loss of precision is too large, the EVM (Error Vector Magnitude) of the base station is affected, and thus the Error rate is increased. Therefore, it is important to dynamically adjust the conversion accuracy for different ranges of input power, so as to obtain a floating point value with higher accuracy as much as possible while satisfying the floating point conversion for all input powers within the range.
The inventor has found through research that the data link layer and the network layer of the BBU are responsible for the protocol stack, and therefore, as shown in fig. 3, the present embodiment can obtain the actual power range of the input power Npower by the capability authentication between the HighPhy part and the protocol stacks related to the data link layer and the network layer. For example, the obtained input power Npower is the input power configured during downlink initialization, and as shown in table 1, the following 5 input power Npower types may be included according to the modulation scheme on the RE (Resource Element): PDCCH _ QPSK, PDSCH _16QAM, PDSCH _64QAM, and PDSCH _256QAM, wherein PDCCH (physical Downlink Control channel) refers to physical Downlink Control channel, PDSCH (physical Downlink Shared channel) refers to 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, and the 5 types of input power all have corresponding power Control dynamic ranges, and as an example, the power Control dynamic ranges of the 5 types of input power are specifically shown in table 1.
TABLE 1 RE Power control dynamic Range supported by the System
It is understood that the actual power range of the input power Npower referred to in step S101 is determined by integrating the above-mentioned 5 types of input power control dynamic ranges. Thus, for example, from Table 1, the actual power range of the input power Npower may be determined to be [ -6,3], and the maximum input power Npower0 may be 3 dB.
Step S102, judging whether all actual values of the power ratio under preset configuration can be obtained or not, and determining the minimum value in all the actual values as the actual minimum value of the power ratio;
specifically, the preset configuration may include a first parameter and a second parameter. The first parameter is a parameter for characterizing which Code Division Multiplexing (CDM) REs cannot multiplex data currently, and may take three values, i.e., 1, 2, and 3. The values have the following meanings: a value of 1 indicates that REs of the current CDM group 0 cannot multiplex data; a value of 2 indicates that neither RE of the current CDM group 0 nor CDM group 1 can multiplex data; a value of 3 indicates that none of the current CDM group 0, CDM group 1, and CDM group 2 can multiplex data. The second parameter is a parameter for characterizing a demodulation DMRS (demodulation Reference Signal) configuration type, and for example, the 3rd Generation Partnership Project (3 GPP) protocol specifies two configuration types for PDSCH DMRS: type 1 and type 2. For example, as shown in table 2, the configuration is a list of values of the acquired power ratio when the preset configuration is "the first parameter takes a value of" 3 ", and the second parameter is" two configuration types including type 1 and type 2 ".
Table 2 power ratio obtained under preset configuration
Note that, as shown in table 2, if: when the value of the first parameter is 1, the values of the power ratio ratios corresponding to the DMRS configuration type 1 and the DMRS configuration type 2 can be respectively obtained; when the value of the first parameter is 2, the values of the power ratio ratios corresponding to the DMRS configuration type 1 and the DMRS configuration type 2 can be respectively obtained; when the value of the first parameter is 3, the value of the power ratio corresponding to the DMRS configuration type 2 can be obtained. It is considered that all actual values of the power ratio ratios in the preset configuration "the first parameter takes a value of '3', the second parameter 'includes both the type 1 and the type 2 configuration types'", and the minimum value "-4.77" of all the actual values "" 0 "," -3 ", and" -4.77 "" is referred to as the actual minimum value of the power ratio.
It is to be understood that the enumerated preset configuration is that "the first parameter takes the value of '3', the second parameter is 'two configuration types including type 1 and type 2'," is merely taken as an example, and for other preset configurations, it is determined whether all actual values of the power ratio under the preset configuration can be obtained and belong to the same concept as the enumerated preset configuration, that is, it is determined according to the relevant communication protocol that all values of the power ratio need to be obtained, and it is determined whether the value of the power ratio can be actually obtained, if so, it is considered that all actual values of the power ratio under the preset configuration can be obtained, otherwise, it is considered that all actual values of the power ratio under the preset configuration cannot be obtained.
If the determination result in the step S102 indicates that all actual values of the power ratios in the preset configuration can be obtained, then step S1021 is executed: determining the actual maximum conversion precision of the floating point conversion of all the input power in the actual power range according to the maximum input power and the actual minimum value of the power ratio;
specifically, as an example, according to the 5G (5th Generation Mobile Communication Technology, fifth Generation Mobile Communication) protocol, the formula of the floating point conversion is as follows:
f(Npower)=floatA(10(Npower-ratio0)/20); (1)
where Npower represents the input power, ratio0 represents the actual minimum of the power ratio, 10(Npower-ratio0)/20Representing an arithmetic floating-point value y, i.e. y 10(Npower-ratio0)/20The floating-point conversion precision is denoted by a, (y) floataa, (y) and (f), (Npower) denote the floating-point value (referred to as the actual floating-point value for short) actually obtained after the input power Npower is subjected to floating-point conversion, and the actual floating-point value can be regarded as the representation of the arithmetic floating-point value y on the conversion precision a.
According to the machine algorithm rule, taking binary data with a bit width of 16 bits and a sign bit of 1bit as an example, as shown in table 3, a corresponding relationship between an actual floating point value f (npower) and a conversion precision a is shown.
TABLE 3 correspondence between actual floating-point values f (Npower) and conversion precisions A
It is understood that, in the floating-point conversion, for the conversion between the arithmetic floating-point value y and the actual floating-point value f (npower), the actual floating-point value f (npower) is expected to have higher conversion precision on the basis of satisfying the size of the arithmetic floating-point value y. Mathematical expression of the arithmetic floating-point value y 10(Npower-ratio0)/20It can be seen that the magnitude of y is proportional to the value of Npower, so that when the input power Npower within a certain range takes the maximum value Npower0, the corresponding arithmetic floating point value y is also maximum, and thus the rootAccording to the maximum arithmetic floating point value ymaxSelecting the maximum conversion accuracy Amax. It is readily understood that this maximum conversion accuracy AmaxFloating point conversions for other input powers Npower in the range are also satisfied.
In summary, according to the maximum input power Npower0 and the power ratio actual minimum ratio0, the maximum conversion precision a of floating-point conversion satisfying all the input powers Npower in the actual power range can be determinedmax。Illustratively, if the actual power range of the input power Npower obtained in step S101 is [ -6,12 [ ]]If the maximum input power Npower0 is 12, the power obtained in step S102 is 0 compared to the actual minimum value ratio0, and the corresponding arithmetic floating point value y is 3.9810717055349722, it can be seen from table 3 that the maximum conversion accuracy (a) is 13 bits at the maximum on the basis of the size of y, and thus the maximum conversion accuracy (a) is obtainedmax13 bits) satisfies the actual power range of [ -6,12 []Floating point conversion of all input powers Npower. If the actual power range of the input power Npower obtained in step S101 is [ -6,13 [)]If the maximum input power Npower0 is 13, the power obtained in step S102 is 0 compared to the actual minimum value ratio0, and the corresponding arithmetic floating point value y is 4.466835921509632, it can be seen from table 3 that the maximum conversion accuracy (a) is 12 bits at the maximum on the basis of the size of y, and thus the maximum conversion accuracy (a) is obtainedmax12 bits) satisfies the actual power range of [ -6,13 []Floating point conversion of all input powers Npower.
It should be noted that the maximum conversion accuracy a determined based on the maximum input power and the actual minimum value of the power ratio is described abovemaxReferred to as the actual maximum conversion accuracy.
Step S103: and obtaining a floating point value corresponding to each input power according to the actual maximum conversion precision and the actual minimum value of the power ratio.
Specifically, through the above steps S101, S102, and S1021, the maximum input power Npower0, the power ratio actual minimum ratio0, and the actual maximum conversion accuracy a determined based on the actual power range of the input power and the power ratio actual minimum ratio0 can be obtainedmax. Therefore, for each inputThe formula for the floating point conversion of the input power Npower can be determined as follows:
f(Npower)=floatAmax(10(Npower-ratio0)/20); (2)
therefore, a floating point value corresponding to each input power Npower in the first set may be calculated according to the above expression.
Preferably, in order to satisfy the data processing structure of the hardware level, the floating point value may be further subjected to fixed point conversion to obtain a fixed point value. Specifically, the formula of the fixed-point conversion is as follows:
Q(Npower)=fix(f(Npower)*2A);
where a denotes conversion accuracy, and fix (x) denotes rounding-down, it is understood that in the present embodiment, a ═ amax。
Preferably, when the floating-point value Npower is converted into the fixed-point value q (Npower), in order to reduce the truncation error, 0.5, i.e. q (Npower) fix (f (Npower)) 2, may be added before roundingA+0.5)。
The embodiment has the beneficial effect that by dynamically adjusting the conversion precision for the input power in different ranges, a floating point value with higher precision can be obtained while the floating point conversion is performed on all the input power in the range.
The inventor finds that the occurrence of the input power Npower is repetitive, that is, different input powers Npower may occur once or twice or more, and if the calculation is performed by the above formula each time, the calculation amount is greatly increased, and the time of the floating point conversion is also increased.
Preferably, in order to reduce the operation overhead and save the time of floating point conversion, the floating point conversion value may be determined by looking up the mapping relationship. That is, the step S103 "obtaining a floating point value corresponding to each input power according to the actual maximum conversion precision and the actual minimum value of the power ratio" specifically includes: determining a target mapping relation according to the actual maximum conversion precision 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 relation; wherein the target mapping relation is a power-floating point value mapping relation corresponding to each input power, and the power-floating point value mapping relation is established according to a preset power range and a power ratio candidate minimum value of the input power.
Specifically, as shown in fig. 4, the step of establishing the "power-floating point value mapping relationship" according to the preset power range of the input power and the power ratio candidate minimum value includes steps S1001 to S1002.
Step S1001: obtaining at least two power ratio candidate minimum values, and determining candidate maximum conversion precision which corresponds to the power ratio candidate minimum values and meets the requirement of floating point conversion of all the input power in a preset power range according to a preset power range of the input power and each power ratio candidate minimum value;
specifically, a candidate minimum value of the power ratio may be determined according to the communication protocol. As an example, according to the 5G protocol, the power ratio has three candidate minimum values of ratio10, 0, -3, -4.77, respectively. The preset power range includes a maximum preset input power Npower10 and a minimum preset input power Npower20, wherein the candidate maximum conversion precision B can be understood from the above embodimentsmaxIs only associated with the maximum default input power Npower10, the minimum default input power Npower20 can be default according to the actual situation, for example, the minimum default input power Npower20 is-21 dB, the default power range is [ -21, Npower10]。
According to the maximum preset input power Npower10 and the minimum candidate ratio10 of each power ratio, in combination with formula (1) and table 3, the candidate maximum conversion precision B of floating-point conversion of all the input powers Npower satisfying the preset power range corresponding to each minimum candidate ratio10 of the power ratio can be determinedmax. Illustratively, if the predetermined power range is [ -21,6 [ ]]The power ratio candidate minimum value ratio10 is 0, and the corresponding candidate maximum conversion accuracy B can be determined according to equation (1) and table 3maxIs 14 bits; if the predetermined power range is [ -21,6 [)]The power ratio candidate minimum value ratio10 is-3, and the corresponding candidate maximum conversion accuracy B can be determined according to the formula (1) and Table 3maxIs 13 bits; if the predetermined power range is [ -21,6 [)]The power ratio candidate minimum ratio10 is-4.77, and the corresponding candidate maximum conversion accuracy B can be determined according to equation (1) and Table 3maxIs 13 bits.
Further, a candidate maximum conversion precision B may be determinedmaxCorresponding to the power ratio candidate minimum ratio10 and the maximum preset input power Npower10, as shown in table 4.
Table 4: maximum conversion accuracy BmaxList of relationships with the power ratio candidate minimum ratio10 and the maximum preset input power Npower10
Step S1002: establishing a power-floating point value mapping relation corresponding to the candidate maximum conversion precision and the power ratio candidate minimum value according to each power ratio candidate minimum value and the candidate maximum conversion precision corresponding to the power ratio candidate minimum value;
specifically, the power-floating point value mapping relationship includes an input power-floating point value mapping relationship, and more specifically, the mapping relationship may be a relationship list, and a group of relationship lists respectively corresponds to a candidate maximum conversion precision BmaxAnd a power ratio candidate minimum ratio 10. The relationship list reflects a correspondence between a floating point value f (Npower) and an 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 is B)max)。
Preferably, in order to satisfy the data processing structure of the hardware level, the floating point value in the relationship list is further subjected to fixed point conversion to obtain a corresponding fixed point value. Specifically, the formula of the fixed-point conversion is as follows:
Q(Npower)=fix(f(Npower)*2A);
where a denotes conversion accuracy and fix (x) denotes rounding-down, it is understood that in the present embodiment, a ═ B denotesmax. Thus, input power-fixed point can be obtainedAnd (4) value mapping relation. Specifically, the input power-fixed point value mapping relationship may also be a relationship list, and the input power-fixed point value relationship list that may be established corresponds to table 4 above includes: "ratio 10 ═ 0, BmaxWhen the bit is 14 bit; fixed point value q (Npower) and input power Npower relation list "," ratio10 ═ 0, BmaxWhen the bit is 13 bit; a list of relationships between fixed point values q (Npower) and input power NpowermaxWhen the bit is 14 bit; a list of relationships of fixed point values q (Npower) to input power Npower. By analogy, finally, a total of 15 fixed-point values q (Npower) and a list of relationships of input power Npower may be established, corresponding to table 4 above.
As an example, as shown in tables 5.1-5.6, there is a list of 6 of the above-mentioned fixed-point values q (Npower) and the input power Npower listed, and in the 5G protocol, the value of the input power Npower takes an integer.
Table 5.1 ratio10 ═ 0, Bmax12 bit; table of relationships between fixed point values Q (Npower) and input power Npower
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 |
Table 5.2 ratio10 ═ 0, BmaxWhen the bit is 11 bit; table of relationships between fixed point values Q (Npower) and input power Npower
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 |
Table 5.3 ratio10 ═ 3, BmaxWhen the bit is 12 bits; table of relationships between fixed point values Q (Npower) and input power Npower
Table 5.4 ratio10 ═ 3, BmaxWhen the bit is 11 bit; table of relationships between fixed point values Q (Npower) and input power Npower
Table 5.5 ratio10 ═ 4.77, BmaxWhen the bit is 12 bits; relation column of fixed point value Q (Npower) and input power NpowerWatch (A)
TABLE 5.6 ratio10 ═ 4.77, BmaxWhen the bit is 11 bit; table of relationships between fixed point values Q (Npower) and input power Npower
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 |
Preferably, for the "determining a target mapping relationship according to the actual maximum conversion precision 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", the method specifically further includes: comparing the actual maximum conversion precision with the candidate maximum conversion precision, comparing the power ratio actual minimum value with the power ratio candidate minimum value, determining the candidate maximum conversion precision which are all the same and the power-floating point value mapping relation corresponding to the power ratio candidate minimum value as a target mapping relation, and determining the floating point value corresponding to each input power according to the target mapping relation. Illustratively, if the actual power range obtained is [ -6,13 [ ]]Then the actual maximum conversion accuracy A is calculatedmaxWhen the obtained power ratio actual minimum ratio0 is 0, table 5.1 is determined as the target relationship list by comparing the relationship lists. The converted floating point value corresponding to each input power Npower is determined by means of table look-up (table 5.1).
The embodiment has the advantages that the operation cost of the processor can be greatly reduced and the time for floating point conversion can be saved by firstly establishing a relation list of the floating point value f (Npower) and the input power Npower or a relation list of the fixed point value Q (Npower) and the input power Npower and then determining the converted floating point value or fixed point value corresponding to each input power Npower in a comparison and table look-up manner.
Based on this, the inventor further studies and finds that, in the relationship lists between the floating point values f (Npower) and the input power Npower, any two groups of relationship lists (i.e. B) having the same candidate maximum conversion precision are selectedmax2=Bmax1) The following rules are provided:
f2(Npower)=f1(Npower+ratio102-ratio101);
wherein, Bmax2Representing a second set of floating-point values f2(Npower) maximum conversion precision candidate corresponding to the relation list of input power Npower, Bmax1Representing a first set of floating-point values f1(Npower) maximum conversion precision candidate corresponding to the list of relationships of input power Npower, ratio102 refers to the second set of floating point values f2(Npower) and input power Npower, ratio101 refers to the first set of floating point values f1(Npower) minimum power ratio candidate value corresponding to the relation list of input power Npower, "f2(Npower)=f1(Npower + ratio101-ratio102) "represents the first set of floating-point values f1The floating point value f corresponding to the input power of 'Npower + ratio101-ratio 102' in the relation list of (Npower) and input power Npower1(Npower + ratio102-ratio101) with a second set of floating point values f2Floating point value f corresponding to the input power of Npower in the relation list of (Npower) and input power Npower2(Npower) are equal. Equal floating point values are used for multiplexing in any two sets of relation lists with the same candidate maximum conversion precision.
The embodiment has the advantage that the floating point value data which are equal in any two groups of relation lists can be multiplexed when the relation lists are formulated, so that the calculation amount of the processor is further reduced.
In view of the above, since the input power Npower takes an integer value, and when the power ratio candidate minimum value ratio10 takes a value of-3 or 0 (an integer value), the demodulation reference power EPRE is made equal to Npower-ratio10, and for the demodulation reference power EPRE, the EPRE also takes an integer value.When the power ratio candidate minimum ratio10 takes a value of-4.77 (fractional value), EPRE takes a fractional value. Therefore, further, the power-floating point value mapping relationship further includes a demodulation reference power-floating point value mapping relationship (e.g., a relationship list). Therefore, when the power ratio candidate minimum value ratio10 is an integer, different candidate conversion precisions B can be respectively specifiedmaxA corresponding relation list of the floating point value f (EPRE) and the demodulation reference power EPRE, or a corresponding relation list of the fixed point value Q (EPRE) and the demodulation reference power EPRE; and respectively specify different candidate conversion accuracies B when the power ratio candidate minimum value ratio10 is a decimalmaxThe corresponding floating point value f (Npower) and the input power Npower, or the corresponding fixed point value q (Npower) and the input power Npower. For example, corresponding to Table 4, "ratio 10 is defined as an integer, BmaxWhen the bit is 14 bit; a relation list of fixed point values Q (EPRE) and demodulation reference power EPRE, ratio10 being decimal, BmaxWhen the bit is 14 bit; fixed point value Q (Npower) and input power Npower' ratio10 is integer, BmaxWhen the bit is 13 bit; a relation list of fixed point values Q (EPRE) and demodulation reference power EPRE, ratio10 being decimal, BmaxWhen the bit is 13 bit; a list of relationships of the fixed-point values q (Npower) to the input power Npower, and so on, a list of relationships of the 5 fixed-point values q (EPRE) to the demodulation reference power EPRE, and a list of relationships of the 5 fixed-point values q (Npower) to the input power Npower may be determined. For example, as shown in tables 6.1-6.4, there are enumerated a list of relationships between 2 of the above-mentioned fixed-point values q (EPRE) and the demodulation reference power EPRE, and a list of relationships between 2 of the above-mentioned fixed-point values q (Npower) and the input power Npower.
6.1 ratio10 is an integer, BmaxWhen the bit is 12 bits;
list of relationships between fixed-point values Q (EPRE) and demodulation reference power EPRE
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 |
6.2 ratio10 is decimal, BmaxWhen the bit is 12 bits;
table of relationships between fixed point values Q (Npower) and input power Npower
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 |
6.3 ratio10 is an integer, Bmax is 11 bit;
list of relationships between fixed-point values Q (EPRE) and demodulation reference power EPRE
6.4 ratio10 is decimal, when Bmax is 11 bit;
table of relationships between fixed point values Q (Npower) and input power Npower
The embodiment has the advantages that the floating point value or the fixed point value corresponding to each input power Npower can be determined by table lookup only by establishing the corresponding relation list when the power ratio candidate minimum ratio10 is an integer or a decimal, so that the number of the relation lists is reduced, the operation amount of the processor is further reduced, and the table lookup efficiency is improved.
It should be noted that, as shown in fig. 1, for step S102, "determining whether all actual values of the power ratio in the preset configuration can be obtained, a minimum value of all actual values is called a power ratio actual minimum value", if the determination result indicates that all actual values of the power ratio in the preset configuration cannot be obtained, step S1022 is executed: and if not, acquiring a theoretical minimum value of the power ratio, and determining the actual maximum conversion precision of the floating point conversion of all the input power in the actual power range according to the maximum input power and the theoretical minimum value of the power ratio.
It will be appreciated that the expression y in terms of arithmetic floating point values is 10(Npower-ratio0)/20It is noted that the larger the arithmetic floating point value obtained when the power is smaller than the actual minimum value ratio0, and it is understood from equation (1) that the maximum conversion precision determined based on the maximum arithmetic floating point value can satisfy the floating point conversion of all the 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 (i.e. when the entire actual value of the power ratio cannot be obtained), the corresponding actual maximum conversion accuracy can be determined by determining the maximum theoretical arithmetic floating point value by means of the theoretical minimum value ratio of the power ratio 100. It is understood that the theoretical minimum of power ratio is the minimum candidate minimum of power ratio. Illustratively, the power ratio theoretical minimum ratio100 ═ 4.77.
It can be understood that, in the above case that all the actual values of the power ratio under the preset configuration cannot be obtained, the relationship list between the floating point value f (Npower) and the input power Npower or the relationship list between the fixed point value q (Npower) and the input power Npower (i.e. the input power-floating point value mapping relationship or the input power-fixed point value mapping relationship) may be formulated first, and the converted floating point value or fixed point value corresponding to each input power Npower may be determined by comparing and looking up the table, so as to greatly reduce the operation overhead of the processor and save the time for floating point conversion. In the interest of brevity, the same will not be described one by one.
Preferably, according to actual needs, the embodiment of the present disclosure may further establish a mapping relationship between power and a floating point value and a fixed point value. Specifically, the mapping relationship between the power and the floating-point value and the fixed-point value may be a relationship list of the fixed-point value, the floating-point value, and the input power Npower (or the demodulation reference power EPRE). For the sake of brevity, the same parts in formulating the relationship list are not set forth one by one.
The embodiment of the present disclosure also provides an input power conversion apparatus 200 for a base station, as shown in fig. 5, which is a schematic structural diagram of the apparatus 200. The apparatus 200 includes an acquisition unit 201, a determination unit 202, and a conversion unit 203. The obtaining unit 201 is configured to obtain an actual power range of the input power, where a maximum value of the actual power range is called a maximum input power; the determining unit 202 is configured to determine whether all actual values of the power ratio under a preset configuration can be obtained, where a minimum value of all the actual values is referred to as an actual minimum value of the power ratio; if yes, determining the actual maximum conversion precision of the floating point conversion of all the input power in the actual power range according to the maximum input power and the actual minimum value of the power ratio; the conversion unit 203 is configured to obtain a floating point value corresponding to each input power according to the actual maximum conversion precision and the actual minimum power ratio.
Preferably, the conversion unit 203 is further configured to: determining a target mapping relation according to the actual maximum conversion precision 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 relation; wherein the target mapping relation is a power-floating point value mapping relation corresponding to each input power, and the power-floating point value mapping relation is established according to a preset power range and a power ratio candidate minimum value of the input power.
Preferably, the conversion unit 203 is further configured to: obtaining at least two power ratio candidate minimum values, and determining candidate maximum conversion precision which corresponds to the power ratio candidate minimum values and meets the requirement of floating point conversion of all the input power in a preset power range according to a preset power range of the input power and each power ratio candidate minimum value; and establishing a power-floating point value mapping relation corresponding to the candidate maximum conversion precision and the power ratio candidate minimum value according to each power ratio candidate minimum value and the candidate maximum conversion precision corresponding to the power ratio candidate minimum value.
Preferably, in the converting unit 203, the power-floating point value mapping relationship includes an input power-floating point value mapping relationship, and a set of the input power-floating point value mapping relationships corresponds to one of the candidate maximum conversion accuracies and one of the power ratio candidate minimums.
Preferably, the conversion unit 203 is further configured to reuse the equal floating point values in any two groups of the input power-floating point value mapping relations with the same candidate maximum conversion precision; wherein, for any two groups of the input power-floating point value mapping relations with the same candidate maximum conversion precision, there are: f. of2(Npower)=f1(Npower + ratio102-ratio 101); wherein, ratio102 is the power ratio candidate minimum corresponding to the second set of input power-floating point value mapping relation, ratio101 is the power ratio candidate minimum corresponding to the first set of input power-floating point value mapping relation, f1(Npower + ratio101-ratio102) represents a floating point value corresponding to the input power of "Npower + ratio101-ratio 102" in the first set of input power-floating point value mapping relations, f2(Npower) represents the floating point value corresponding to the input power of "Npower" in the second set of input power-floating point value mappings.
Preferably, in the converting unit 203, the at least two power ratio candidate minimums include at least two integer candidate minimums and at least one decimal candidate minimums; the power-floating point value mapping relationship comprises 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 accuracies and one of the fractional candidate minima corresponds to a set of input power-floating point value mappings, one of the candidate maximum conversion accuracies and all of the integer candidate minima corresponds to a set of demodulation reference power-floating point value mappings, the demodulation reference power is equal to the input power minus the integer candidate minima, and the input power is an integer value.
Preferably, the converting unit 203 is further configured to compare the actual maximum conversion precision with the candidate maximum conversion precision, compare the power ratio actual minimum value with the power ratio candidate minimum value, determine a power-floating point value mapping relationship corresponding to the candidate maximum conversion precision and the power ratio candidate minimum value, which are all the same as each other, as a target mapping relationship, and determine a floating point value corresponding to each input power according to the target mapping relationship.
Preferably, the determining unit 202 is further configured to, if all actual values of the power ratio under the preset configuration cannot be obtained, obtain a theoretical minimum value of the power ratio, and determine, according to the maximum input power and the theoretical minimum value of the power ratio, an actual maximum conversion precision that meets the requirement of performing floating-point conversion on all the input powers within the actual power range.
Preferably, the obtaining unit 201 is further configured to obtain the actual power range based on capability authentication between the HighPhy part and protocol stacks related to a data link layer and a network layer.
Preferably, the converting unit 203 is further configured to perform fixed-point conversion on each floating-point value to obtain a corresponding fixed-point value.
The input power conversion apparatus 200 for a base station provided by the embodiment of the present disclosure has the beneficial effect that by dynamically adjusting the conversion precision for input powers in different ranges, a floating point value with higher precision can be obtained while satisfying the requirement of performing floating point conversion on all input powers in the range.
It should be noted that the input power conversion apparatus 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 foregoing embodiment belong to the same concept, and specific implementation processes thereof, and technical details in the method embodiment are applicable in the embodiment of the present apparatus, and repeated details are not repeated.
Specifically, the input power conversion apparatus 200 may be a chip, such as a DSP (Digital Signal processing) chip, an MCU (micro controller Unit) chip or an FPGA (Field Programmable Gate Array) chip.
An electronic device 300 is further provided in the embodiment of the present disclosure, as shown in fig. 6, which is a schematic structural diagram of the electronic device 300 provided in the embodiment. The electronic device 300 includes: a processor 301, a memory 302 and a computer program stored in said memory 302 and executable on said processor 301. The processor 301 implements the steps in the embodiments of the input power conversion method 100 described above when executing the computer program, or the processor 301 implements the functions of the units in the embodiment of the apparatus 200 described above when executing the computer program.
The electronic device 300 may be, for example, a base station or a terminal. Those skilled in the art will appreciate that fig. 6 is only an example of the electronic device 300, and does not constitute a limitation to the electronic device 300, and may include more components than those shown, or combine some components, or replace different components conventionally, for example, the electronic device 300 may further include an input/output interface, a bus, and the like.
The Processor 301 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 302 may be an internal storage unit of the electronic device 300, such as a hard disk or a 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 memory Card (Flash Card), a universal serial bus (usb) disk, and so on, which are provided 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 for storing the computer programs 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.
The embodiment of the present application also discloses a computer readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the input power conversion method 100 according to the foregoing embodiments. The computer readable storage medium may be one or more of the kind of memory 302 recited in the embodiments of electronic device 300 above.
The various embodiments described above can be combined to provide further embodiments. Aspects of the embodiments can be modified, if necessary, to employ concepts of the patents, applications and publications to provide yet further embodiments.
These and other changes can be made to the embodiments in light of the above detailed description. 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 the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which such claims are entitled. Accordingly, the claims are not limited by the disclosure.
Claims (13)
1. An input power conversion method for a base station, comprising:
acquiring an actual power range of input power, and determining the maximum value of the actual power range as the maximum input power;
judging whether all actual values of the power ratio under a preset configuration can be obtained or not, wherein the minimum value in all the actual values is determined as the actual minimum value of the power ratio; if yes, determining the actual maximum conversion precision of the floating point conversion of all the input power in the actual power range according to the maximum input power and the actual minimum value of the power ratio;
and obtaining a floating point value corresponding to each input power according to the actual maximum conversion precision and the actual minimum value of the power ratio.
2. The method of claim 1, wherein obtaining a floating point value corresponding to each input power according to the actual maximum conversion accuracy and the actual minimum power ratio comprises:
determining a target mapping relation according to the actual maximum conversion precision 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 relation; wherein the target mapping relation is a power-floating point value mapping relation corresponding to each input power, and the power-floating point value mapping relation is established according to a preset power range and a power ratio candidate minimum value of the input power.
3. The input power conversion method for a base station according to claim 2, wherein the method for establishing the power-floating point value mapping relationship comprises:
obtaining at least two power ratio candidate minimum values, and determining candidate maximum conversion precision which corresponds to the power ratio candidate minimum value and meets the requirement of floating point conversion of all the input power in a preset power range according to a preset power range of the input power and each power ratio candidate minimum value;
and establishing a power-floating point value mapping relation corresponding to the candidate maximum conversion precision and the power ratio candidate minimum value according to each power ratio candidate minimum value and the candidate maximum conversion precision corresponding to the power ratio candidate minimum value.
4. The input power conversion method for a base station according to claim 3,
the power-floating point value mapping relationship comprises an input power-floating point value mapping relationship, a set of the input power-floating point value mapping relationships corresponding to one of the candidate maximum conversion accuracies and one of the power ratio candidate minimums.
5. The method of claim 4, wherein the establishing an input power-floating point mapping corresponding to the candidate maximum conversion precision and the power ratio candidate minimum comprises:
reusing the equal floating point values in any two groups of the input power-floating point value mapping relations with the same candidate maximum conversion precision;
wherein, for any two groups of the input power-floating point value mapping relations with the same candidate maximum conversion precision, there are: f. of2(Npower)=f1(Npower+ratio102-ratio101);
Wherein, ratio102 is the power ratio candidate minimum corresponding to the second set of input power-floating point value mapping relation, ratio101 is the power ratio candidate minimum corresponding to the first set of input power-floating point value mapping relation, f1(Npower + ratio101-ratio102) represents a floating point value corresponding to the input power of "Npower + ratio101-ratio 102" in the first set of input power-floating point value mapping relations, f2(Npower) represents the floating point value corresponding to the input power of "Npower" in the second set of input power-floating point value mappings.
6. The input power conversion method for a base station according to claim 3,
the at least two power ratio candidate minimums comprise at least two integer candidate minimums, and at least one decimal candidate minimums; the power-floating point value mapping relationship comprises 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 accuracies and one of the fractional candidate minima corresponds to a set of input power-floating point value mappings, one of the candidate maximum conversion accuracies and all of the integer candidate minima corresponds to a set of demodulation reference power-floating point value mappings, the demodulation reference power is equal to the input power minus the integer candidate minima, and the input power is an integer value.
7. The method as claimed in any one of claims 3 to 6, wherein the 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 comprises:
comparing the actual maximum conversion precision with the candidate maximum conversion precision, comparing the power ratio actual minimum value with the power ratio candidate minimum value, determining the candidate maximum conversion precision which are all the same and the power-floating point value mapping relation corresponding to the power ratio candidate minimum value as a target mapping relation, and determining the floating point value corresponding to each input power according to the target mapping relation.
8. The method of any of claims 2-6, wherein the determining whether all actual values of the power ratio under the preset configuration are available comprises:
and if not, acquiring a theoretical minimum value of the power ratio, and determining the actual maximum conversion precision of the floating point conversion of all the input power in the actual power range according to the maximum input power and the theoretical minimum value of the power ratio.
9. The input power converting method for a base station as claimed in claim 8, wherein said obtaining the actual power range of the input power comprises:
and acquiring the actual power range based on capability authentication between the HighPhy part and protocol stacks related to a data link layer and a network layer.
10. The method of claim 9, wherein the obtaining a floating point value corresponding to each input power according to the actual maximum conversion accuracy and the actual minimum power ratio value further comprises:
and performing fixed-point conversion on each floating point value to obtain a corresponding fixed-point value.
11. An input power conversion apparatus for a base station, comprising:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring an actual power range of input power, and the maximum value of the actual power range is called as maximum input power;
the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for judging whether all actual values of the power ratio under a preset configuration can be obtained or not, and the minimum value of all the actual values is called as the actual minimum value of the power ratio; if yes, determining the actual maximum conversion precision of floating point conversion of all the input power in the actual power range according to the maximum input power and the actual minimum value of the power ratio;
and the conversion unit is used for obtaining a floating point value corresponding to each input power according to the actual maximum conversion precision and the actual minimum value of the power ratio.
12. An electronic device, comprising:
memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the method for input power conversion for a base station according to any of claims 1-10 when executing the computer program.
13. A computer-readable storage medium having stored thereon computer-executable instructions for performing the method for input power conversion for a base station of any one of claims 1-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210091102.3A CN114466439A (en) | 2022-01-26 | 2022-01-26 | Input power conversion method, device, equipment and medium for base station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210091102.3A CN114466439A (en) | 2022-01-26 | 2022-01-26 | Input power conversion method, device, equipment and medium for base station |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114466439A true CN114466439A (en) | 2022-05-10 |
Family
ID=81411673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210091102.3A Pending CN114466439A (en) | 2022-01-26 | 2022-01-26 | Input power conversion method, device, equipment and medium for base station |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114466439A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180121789A1 (en) * | 2016-11-03 | 2018-05-03 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Data processing method and apparatus |
CN109286971A (en) * | 2017-07-21 | 2019-01-29 | 普天信息技术有限公司 | A kind of circule power control method and device based on DSP processing |
CN111310890A (en) * | 2020-01-19 | 2020-06-19 | 深圳云天励飞技术有限公司 | Deep learning model optimization method and device and terminal equipment |
CN111563600A (en) * | 2019-02-14 | 2020-08-21 | 北京嘀嘀无限科技发展有限公司 | System and method for fixed-point conversion |
-
2022
- 2022-01-26 CN CN202210091102.3A patent/CN114466439A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180121789A1 (en) * | 2016-11-03 | 2018-05-03 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Data processing method and apparatus |
CN109286971A (en) * | 2017-07-21 | 2019-01-29 | 普天信息技术有限公司 | A kind of circule power control method and device based on DSP processing |
CN111563600A (en) * | 2019-02-14 | 2020-08-21 | 北京嘀嘀无限科技发展有限公司 | System and method for fixed-point conversion |
CN111310890A (en) * | 2020-01-19 | 2020-06-19 | 深圳云天励飞技术有限公司 | Deep learning model optimization method and device and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109428846B (en) | Signal transmission method, device and system | |
CN109803426B (en) | Method and device for transmitting data | |
US10348450B2 (en) | Coding method and apparatus, base station, and user equipment | |
JP4860727B2 (en) | Method and quantizer for quantizing signal values | |
US9961652B2 (en) | Power control method and apparatus | |
US20110064041A1 (en) | Apparatus and Method for Allocation of Subcarriers in Clustered DFT-Spread-OFDM | |
US20200213056A1 (en) | Method, device, and system for determining transmission information | |
WO2021164449A1 (en) | Configuration method and apparatus for modulation and coding scheme, and power configuration method and apparatus, device, and storage medium | |
WO2019214745A1 (en) | Modulation and coding and cqi reporting method, device, apparatus, and storage medium | |
WO2021083153A1 (en) | Uci multiplexing configuration method and apparatus, device, and computer readable storage medium | |
CN114884621B (en) | Method and apparatus for link adaptation | |
WO2021258975A1 (en) | Data modulation method and apparatus, device, and storage medium | |
CN112511285A (en) | Signal processing method and device based on sequence | |
CN109347779B (en) | FPGA (field programmable Gate array) implementation method based on threshold vector circle OFDM (orthogonal frequency division multiplexing) signal direct amplitude limiting technology | |
CN114466439A (en) | Input power conversion method, device, equipment and medium for base station | |
JP6664415B2 (en) | Power control method, terminal, and base station | |
CN114726492B (en) | Peak-to-average ratio correction method, terminal and storage medium for demodulation reference signal | |
WO2022012381A1 (en) | Data transmission method and apparatus | |
CN113055993A (en) | Transmission power allocation and modulation coding scheme for multi-user orthogonal frequency division multiple access | |
US11432189B2 (en) | Methods and apparatus for distributed baseband signal processing for fifth generation (5G) new radio downlink signals | |
CN108574555B (en) | Interference randomization method and device | |
WO2022077792A1 (en) | Communication method and apparatus | |
WO2023024731A1 (en) | Method for reducing peak-to-average power ratio (papr), and communication apparatus | |
WO2024113975A1 (en) | Data modulation method and apparatus, and medium and storage medium | |
WO2024108355A1 (en) | Communication method and communication apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |