Gain adjustment method and related device
By measuring and processing the received power in the NR system, determining the target power average value for gain adjustment, the problem of accuracy and inefficiency of gain control under dynamic signal scheduling is solved, and more efficient and accurate gain control is achieved.
Patent Information
- Application Number
- CN202210062550.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-19
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2042-01-19
AI Technical Summary
In New Radio (NR) systems, it is difficult to determine the received signal strength (RSSI) as a reference for the automatic gain control (AGC) loop, resulting in inaccuracy and inefficiency of gain control.
By measuring the received power of multiple resource blocks RBs in the preset time period in the current resource scheduling cycle, multiple reference power averages are obtained one by one, and a target power average is determined from it for gain adjustment.
It improves the acquisition efficiency of gain control parameters and the accuracy of gain control, and can quickly adapt to resource scheduling changes and avoid signal saturation problems.
Smart Images

Figure CN114390704B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a gain adjustment method and related devices. Background Art
[0002] In the New Radio (NR) system, i.e., the 5G system, resources within the bandwidth are flexibly scheduled. In the frequency domain, any resource block (RB) to a full RB may be allocated to the user terminal. When receiving signals, the user terminal (UE) often receives them according to the bandwidth of the bandwidth part (BWP). Since the signals scheduled within the bandwidth are dynamically distributed, it is difficult to determine the received signal strength (RSSI) as a reference for the automatic gain control (AGC) loop. Summary of the invention
[0003] The embodiments of the present application provide a gain adjustment method and related devices, in order to improve the efficiency of obtaining gain control parameters and the accuracy of gain control.
[0004] In a first aspect, an embodiment of the present application provides a gain adjustment method, comprising:
[0005] The electronic device measures multiple received powers of multiple resource blocks RBs of the electronic device in a working bandwidth within a preset time period in a current resource scheduling period, where the preset time period is less than the current resource scheduling period;
[0006] The electronic device obtains a plurality of reference power average values corresponding one-to-one to a plurality of preset RB scheduling quantities, wherein each of the plurality of reference power average values is determined according to the first N received powers in a received power sequence, N is the preset RB scheduling quantity corresponding to each reference power average value, and the received power sequence is a sequence obtained by sorting the plurality of received powers of the plurality of RBs in descending order, and N is a positive integer;
[0007] The electronic device determines a target power average value from the multiple reference power average values;
[0008] The electronic device performs gain adjustment on a signal received by the electronic device according to the target power average value.
[0009] In a second aspect, an embodiment of the present application provides a gain adjustment device, the device comprising:
[0010] A receiving unit, configured for an electronic device to measure a plurality of received powers of a plurality of resource blocks RBs of the electronic device in a working bandwidth within a preset time period in a current resource scheduling period, wherein the preset time period is less than the current resource scheduling period;
[0011] an acquisition unit, configured for the electronic device to acquire a plurality of reference power average values corresponding one-to-one to a plurality of preset RB scheduling quantities, wherein each of the plurality of reference power average values is determined according to the first N received powers in a received power sequence, N is the preset RB scheduling quantity corresponding to each reference power average value, and the received power sequence is a sequence obtained by sorting the plurality of received powers of the plurality of RBs in descending order, and N is a positive integer;
[0012] a determining unit, configured for the electronic device to determine a target power average value from the multiple reference power average values;
[0013] An adjustment unit is used for the electronic device to perform gain adjustment on a signal received by the electronic device according to the target power average value.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a communication interface, wherein the processor, the memory, and the communication interface are interconnected, wherein the communication interface is used to receive or send data, the memory is used to store application code for the electronic device to execute the above method, and the processor is configured to execute any method of the above first aspect.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute part or all of the steps described in any method of the first aspect of the embodiment of the present application.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements some or all of the steps described in any method of the first aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0017] In an embodiment of the present application, the electronic device first measures multiple received powers of multiple RBs of the electronic device in the working bandwidth within a preset time period in the current resource scheduling cycle, then obtains multiple reference power averages corresponding to multiple preset RB scheduling numbers, and then determines a target power average from the multiple reference power averages, and then performs gain adjustment on the signal received by the electronic device according to the target power average, wherein the preset time period is less than the current resource scheduling period, each of the multiple reference power averages is determined according to the first N received powers in the received power sequence, N is the preset RB scheduling number corresponding to each reference power average, and the received power sequence is a sequence obtained by sorting the multiple received powers of the multiple RBs in order from large to small. The reference power average is calculated in a piecewise manner, and the preset actual period is less than the current resource scheduling period. It is not necessary to perform statistical calculations on the energy of all RBs on all symbols in a resource scheduling period to determine the reference value for gain adjustment. When resources are changed within the system bandwidth, it can quickly adapt to resource scheduling, determine the target average for gain adjustment from multiple reference power averages, and accurately perform gain adjustment control, which is conducive to improving the acquisition efficiency of gain control parameters and the accuracy of gain control. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1A is an architecture diagram of an electronic device provided in an embodiment of the present application;
[0020] Figure 1B is an example diagram of the composition structure of an electronic device provided in an embodiment of the present application;
[0021] Figure 2A is a flow chart of a gain adjustment method provided in an embodiment of the present application;
[0022] Figure 2B This is an example diagram of power measurement values corresponding to a preset RB scheduling number provided in an embodiment of the present application;
[0023] Figure 2C This is an example diagram of a process for determining a target power average value provided in an embodiment of the present application;
[0024] Figure 2D is an example diagram of a reference power average value curve provided in an embodiment of the present application;
[0025] Figure 2E is another example diagram of a reference power average value curve provided in an embodiment of the present application;
[0026] Figure 2F is another example diagram of a reference power average value curve provided in an embodiment of the present application;
[0027] Figure 2G It is a schematic diagram of a test configuration of a gain adjustment method provided in an embodiment of the present application;
[0028] Figure 3A It is a block diagram of the functional units of a gain adjustment device provided in an embodiment of the present application;
[0029] Figure 3B It is a block diagram of the functional units of another gain adjustment device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0031] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0032] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.
[0033] "Multiple" means two or more. "And / or" describes the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0034] The electronic device involved in the embodiments of the present application may be an electronic device with communication capabilities, and the electronic device may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, as well as various forms of user equipment (UE), mobile stations (MS), terminal devices, etc.
[0035] The embodiments of the present application are described below with reference to the accompanying drawings.
[0036] See also Figure 1A , Figure 1A It is an architecture diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 involved in the embodiment of the present application may include a gain adjustment module, which can be used to realize automatic gain adjustment of the electronic device. Specifically, the gain adjustment module can measure multiple received powers of multiple RBs in the working bandwidth of the electronic device within a preset time period, and obtain multiple reference power averages corresponding to multiple preset RB scheduling numbers, and determine the target power average from the multiple reference power averages, and perform gain adjustment on the signal received by the electronic device according to the target power average. Among them, the preset time period is less than a resource scheduling period, and each of the multiple reference power averages is determined according to the first N received powers in the received power sequence, N is the preset RB scheduling number corresponding to each reference power average, and the received power sequence is a sequence obtained by sorting the multiple received powers of the multiple RBs in order from large to small, and N is a positive integer.
[0037] The composition structure of any electronic device in this application can be as follows Figure 1BAs shown, the electronic device may include a processor 110, a memory 120, a communication interface 130, and one or more programs 121, wherein the one or more programs 121 are stored in the above-mentioned memory 120 and are configured to be executed by the above-mentioned processor 110, and the one or more programs 121 include instructions for executing any step in the above-mentioned method embodiment. Among them, the communication interface 130 is used to support communication between the electronic device and other devices. In a specific implementation, the processor 110 is used to execute any step performed by the electronic device in the following method embodiment, and when performing data transmission such as sending, the communication interface 130 can be selectively called to complete the corresponding operation. It should be noted that the structural diagram of the above-mentioned electronic device is only an example, and the specific devices included may be more or less, and are not uniquely limited here.
[0038] See also Figure 2A , Figure 2A is a flow chart of a gain adjustment method provided in an embodiment of the present application, which can be applied to Figure 1A In the electronic device 100 shown, Figure 2A As shown, the gain adjustment method includes the following steps:
[0039] S201, an electronic device measures multiple receiving powers of multiple resource blocks RBs of the electronic device in a working bandwidth within a preset time period in a current resource scheduling period.
[0040] Wherein, the preset time period is smaller than the current resource scheduling period.
[0041] Among them, a resource scheduling cycle may refer to a transmission time interval (Transmission Time Interval, TTI), and scheduling is performed once every TTI in the communication system; the preset time period may be a symbol symbol; and the working bandwidth may be a portion of the bandwidth BWP allocated by the network device to the electronic device.
[0042] Among them, the number of multiple RBs is not less than the preset RB scheduling number with the largest value among the multiple preset RB scheduling numbers. The multiple RBs may specifically include each RB in the working bandwidth. When the multiple preset RB numbers include the total number of RBs that can be scheduled in the working bandwidth, compared with only calculating the reference signal receiving power (ReferenceSignal Receiving Power, RSRP) based on the reference signal energy scheduled by the user as a reference for the gain adjustment loop, the accuracy is higher, which is conducive to avoiding the problem of RF front-end signal saturation caused by strong interference signals when RSRP is used as a reference, and the problem of gain adjustment loop; each of the multiple receiving powers corresponds to the multiple RBs one by one.
[0043] Taking the electronic device as an electronic device in the NR system as an example, a resource scheduling period may be, for example, a time slot, a plurality of RBs may be, for example, 273 RBs, and a plurality of receiving powers may be 273 receiving powers. Taking a resource scheduling period as a time slot and a preset time period as a symbol as an example, the plurality of receiving powers measured in step S201 are: power detection is performed on a frequency domain resource where each RB in the plurality of RBs is located on a symbol, and a receiving power corresponding to each RB is detected.
[0044] S202: The electronic device obtains a plurality of reference power average values corresponding one-to-one to a plurality of preset RB scheduling quantities.
[0045] Among them, each reference power average value among the multiple reference power average values is determined based on the first N receiving powers in the receiving power sequence, N is the preset RB scheduling number corresponding to each reference power average value, and the receiving power sequence is a sequence obtained by sorting the multiple receiving powers of the multiple RBs in order from large to small, and N is a positive integer.
[0046] In particular, the number of the plurality of preset RB schedulings may be three, so as to balance the gain adjustment accuracy and the acquisition efficiency of the gain adjustment reference parameter.
[0047] Particularly, values of any two preset RB scheduling quantities among the plurality of preset RB scheduling quantities are different.
[0048] For example, taking the multiple RBs as 273 RBs, the multiple receiving powers as 273 receiving powers; the multiple preset RB scheduling quantities are 273, 16 and 2 respectively, the electronic device can obtain 3 reference power average values: power 1, power 2 and power 3, power 1 corresponds to quantity 273, power 2 corresponds to quantity 16, power 3 corresponds to quantity 2, power 1 is determined based on all receiving powers among the 273 receiving powers, power 2 is determined based on the 2 receiving powers with the largest values among the 273 receiving powers, and power 3 is determined based on the 2 receiving powers with the largest values among the 273 receiving powers.
[0049] S203: The electronic device determines a target power average value from the multiple reference power average values.
[0050] S204: The electronic device performs gain adjustment on the signal received by the electronic device according to the target power average value.
[0051] In particular, the electronic device can perform gain adjustment on the signal received by the electronic device in the current resource scheduling period according to the target power average value. That is, the electronic device can perform gain adjustment once in each resource scheduling period.
[0052] In a specific implementation, any method described in the embodiments of the present application can be applied to an NR communication system, or to other wireless communication systems such as WiFi, GPS or Bluetooth communication systems.
[0053] It can be seen that in the embodiment of the present application, the electronic device first measures the multiple receiving powers of multiple RBs of the electronic device in the working bandwidth within a preset time period, then obtains multiple reference power averages corresponding to multiple preset RB scheduling numbers, and then determines the target power average from the multiple reference power averages, and then performs gain adjustment on the signal received by the electronic device according to the target power average, wherein the preset time period is less than a resource scheduling period, each of the multiple reference power averages is determined according to the first N receiving powers in the receiving power sequence, N is the preset RB scheduling number corresponding to each reference power average, and the receiving power sequence is a sequence obtained by sorting the multiple receiving powers of the multiple RBs in order from large to small. The reference power average is calculated in a piecewise manner, and there is no need to perform statistical calculations on the energy of all RBs on all symbols to determine the reference value for gain adjustment. The amount of calculation is low, and when resources are changed within the system bandwidth, it can quickly adapt to resource scheduling, determine the target average for gain adjustment from multiple reference power averages, and accurately perform gain adjustment control, which is conducive to improving the acquisition efficiency of gain control parameters and the accuracy of gain control.
[0054] In a possible example, the multiple preset RB scheduling quantities satisfy the following conditions: if the multiple preset RB scheduling quantities are sorted in order from large to small to obtain an RB scheduling quantity sequence, the first preset RB scheduling quantity in the RB scheduling quantity sequence is equal to the total number of RBs included in the working bandwidth, and when the received power of each scheduled RB is the same, the difference between the total power values corresponding to any two adjacent preset RB scheduling quantities in the RB scheduling quantity sequence is the same, and each total power value is calculated based on the preset RB scheduling quantity corresponding to each total power value as the scheduled RB number.
[0055] Each total power value is obtained by taking the corresponding preset RB scheduling number as the total number of scheduled RBs and calculating the sum of the received power on each scheduled RB. The difference may be in the form of an absolute value of the difference.
[0056] For example, the difference between the total power values corresponding to any two adjacent preset RB scheduling numbers is the same, which specifically means that, when the received power on each scheduled RB is the same, taking multiple preset RB scheduling numbers including 273, 16 and 2 as an example, the difference between the total power value corresponding to 273 and the total power value corresponding to 16 is difference 1, and the difference between the total power value corresponding to 16 and the total power value corresponding to 2 is difference 2, then the values of difference 1 and difference 2 are the same. In other words, the maximum preset RB scheduling number is the total number of RBs in the working bandwidth, and the difference between the total power values corresponding to any two adjacent preset RB scheduling numbers is the same, and the total power value can be evenly divided into multiple intervals according to multiple different preset RB scheduling numbers within the dynamic range of RB scheduling.
[0057] In particular, taking the electronic device as an electronic device in the NR system as an example, the total number of RBs included in the working bandwidth can be 273, and the number of preset RB scheduling can be 273, 26 and 2. Since dBm is a value representing the absolute value of power (it can also be considered as a ratio based on 1mW power, and the calculation formula is: dBm = 10log (power value / 1mw), the power can be converted into a value with dBm as the counting unit by using 10*log10P, where the total power value corresponding to each preset RB scheduling number is brought into the above conversion formula as P. Then, when the received power on each scheduled RB is the same, the difference between the total power value corresponding to 273 and the total power value corresponding to 16 can be expressed as:
[0058] 10*log 10 (273 / 16);
[0059] The difference between the total power value corresponding to 273 and the total power value corresponding to 2 can be expressed as:
[0060] 10*log 10 (273 / 2);
[0061] According to the above two logs 10 The difference calculated by the domain, if the receiving power value corresponding to 273 is the target value of gain adjustment, when the preset RB scheduling number is 16, 12db (10*log 10 (273 / 16) calculated value, the calculated difference in dBm is displayed in db) about gain backoff adjustment; when the preset RB scheduling number is 2, a gain backoff adjustment of about 24db is required.
[0062] See also Figure 2B , Figure 2BThe power values corresponding to different preset RB scheduling numbers are shown in units of 0dBFs, where dBFs is used to characterize the size of the power value in the digital domain. Generally, 0dBFs is defined as the full-scale power value in the digital domain, that is, the maximum power value in the digital domain. Therefore, the dBFs values seen are negative; dBm is the power value in the analog domain, which is the absolute value that characterizes the power size. Figure 2B In the example, interval 1 corresponds to a preset RB scheduling number of 273, i.e., RB full scheduling, and a total power value of -16dBFs as the target value for gain adjustment. Interval 2 corresponds to a preset RB scheduling number of 16, i.e., a scheduling ratio of 273 / 16, and a total power value of -28dBFs. Interval 3 corresponds to a preset RB scheduling number of 2, i.e., a scheduling ratio of 273 / 2, and a total power value of -40dBFs. Among them, the total power value under each preset RB scheduling number in multiple preset RB scheduling numbers is less than 0dBFs, that is, the total power value is set in log under the condition that the signal is not saturated. 10 The average division within the domain corresponds to three scheduling intervals within the dynamic range of the RB.
[0063] It can be seen that in this example, multiple preset RB scheduling quantities satisfy the following conditions: if the multiple preset RB scheduling quantities are sorted in order from large to small to obtain a RB scheduling quantity sequence, the first preset RB scheduling quantity in the RB scheduling quantity sequence is equal to the total number of RBs included in the working bandwidth, and when the received power of each scheduled RB is the same, the difference in the total power values corresponding to any two adjacent preset RB scheduling quantities in the RB scheduling quantity sequence is the same, and each total power value is calculated based on the preset RB scheduling number corresponding to each total power value as the scheduled RB number. The average segmented calculation of the reference power average value is conducive to improving the efficiency and accuracy of determining the target average power, and improving the efficiency of obtaining the gain control parameters and the accuracy of the gain adjustment.
[0064] In a possible example, the multiple preset RB scheduling quantities include a first quantity, a second quantity, and a third quantity. When the multiple preset RB scheduling quantities are sorted in ascending order, the second quantity is sorted after the first quantity, and the third quantity is sorted before the first quantity; determining the target power average value from the multiple reference power average values includes:
[0065] Determine the first quantity as the current reference RB scheduling quantity, and calculate the first difference between the reference power average value corresponding to the third quantity and the reference power average value corresponding to the first quantity, and the second difference between the reference power average value corresponding to the first quantity and the reference power average value corresponding to the second quantity; if the first difference is greater than a first preset value, determine the third quantity as the current reference RB scheduling quantity; if the second difference is less than a second preset value, determine the second quantity as the current reference RB scheduling quantity; if the first difference is not greater than the first preset value and the second difference is not less than the second preset value, determine the reference power average value corresponding to the first quantity as the target power average value.
[0066] In particular, the execution order of the four steps of calculating the first difference, the second difference, determining the relationship between the first difference and the first preset value, and the relationship between the second difference and the second preset value can be set as needed. For example, the first difference can be calculated first, and then the relationship between the first difference and the second preset value can be determined. If the first difference is greater than the first preset value, the third number is directly determined to be the current reference RB scheduling number. If the first difference is not greater than the first preset value, the second difference is calculated. If the second difference is less than the second preset value, the second number is determined to be the current reference RB scheduling number. Otherwise, the reference power average value corresponding to the first number is determined as the target power average value.
[0067] That is to say, when determining the target power average value, the first number is used as the beginning of the loop (that is, the first number is used as the first current reference RB scheduling number), and the difference between the reference power average values of the first number and the two numbers sorted before and after the first number is compared with the preset value to determine whether the reference power average value corresponding to the first number is determined as the target power average value. If the first number as the current reference RB scheduling number is determined as the target power average value, the loop is terminated, or, based on the comparison relationship between the difference and the preset value, other numbers adjacent to the first number are determined as the next current reference RB scheduling number, and the above operations performed on the first number are repeated until the target power average value is finally determined.
[0068] In particular, the first number may be a preset RB scheduling number corresponding to the target power average of the last gain adjustment, or any one of a plurality of preset RB scheduling numbers may be pre-set as the first number, or the first number may be an RB scheduling number randomly determined by the electronic device from a plurality of preset RB scheduling numbers. In other words, each time the target power average value is determined, the preset RB scheduling number corresponding to the last target power average value may be used as the current reference RB scheduling number, or each time the target power average value is determined, the default preset RB scheduling number may be used as the current reference RB scheduling number, or each time the target power average value is determined, a preset RB scheduling number may be randomly selected from a plurality of preset RB scheduling numbers as the current reference RB scheduling number.
[0069] In particular, for the reference RB scheduling number with the smallest value among multiple reference RB scheduling numbers, since there is no number with a smaller value among the multiple reference RB scheduling numbers, when the smallest reference RB scheduling number is determined as the current reference RB scheduling number, it is only necessary to calculate the difference between the smallest reference RB scheduling number and the reference RB scheduling number ranked after it (corresponding to the above-mentioned second difference); when the largest reference RB scheduling number is determined as the current reference RB scheduling number, it is only necessary to calculate the difference between the reference RB scheduling number ranked before the largest reference RB scheduling number and the largest reference RB scheduling number (corresponding to the above-mentioned first difference).
[0070] For example, the process of determining the target power average value may be as follows: Figure 2CAs shown, taking the number of preset reference RB scheduling as 2, 16, and 273 respectively as examples, the average reference power corresponding to the number 2 is TOP2_RSSI, the average reference power corresponding to the number 16 is TOP16_RSSI, and the average reference power corresponding to the number 273 is TOPall_RSSI. The first preset value is Thr_High, and the second preset value is Thr_low. The electronic device first determines a number from 2, 16, and 273 as the current reference RB scheduling number, then enters the corresponding branch to compare the difference with the preset value, and finally determines whether to switch other numbers to the current reference RB scheduling number, or to determine the average reference power corresponding to the number corresponding to this branch as the target average power. Specifically, at the end of the current branch, if the next value pointed to by the judgment result is the number corresponding to the current branch itself, then the average reference power corresponding to the number corresponding to the current branch is determined as the target average power; otherwise, the number corresponding to the next value is determined as the current reference RB scheduling number, and the branch where the number corresponding to the next value is located is started to be executed. Taking the branch with the current reference RB scheduling number as 2 as an example, if TOP2_RSSI–TOP16_RSSI < Thr_low, then jump to "Next: 36", take 36 as the next current reference RB scheduling number, and start to execute the branch with 36 as the current reference RB scheduling number; otherwise, still jump to "Next: 2", that is, the average reference power corresponding to the number 2 is determined as the target average power.
[0071] It can be seen that in this example, when determining the target average power, the second number is used as the current reference RB scheduling number, the differences between the average reference powers of the second number and its two adjacent numbers are calculated respectively, and then the differences are compared with the preset values to determine whether to determine other preset RB scheduling numbers as the current reference RB scheduling number, or to determine the average reference power corresponding to the second number as the target average power. When the RB resource scheduling changes and the specific RB scheduling number is not clear, by calculating the average reference powers corresponding to different preset RB scheduling numbers in segments, multiple different average reference powers are obtained, and the different average reference powers are compared to determine the target reference average power for gain adjustment. This target average reference power matches the actual RB scheduling number, which is beneficial to improving the acquisition efficiency of the gain control parameter and the accuracy of the gain control.
[0072] In a possible example, each of the average reference powers is determined by the following steps: calculating the average of the first N received powers in the received power sequence as each of the average reference powers, where N is the preset RB scheduling number corresponding to each of the average reference powers.
[0073] In a specific implementation, each reference average power can be calculated by the following formula:
[0074]
[0075] Among them, N is the preset RB scheduling number corresponding to the reference average power, and topRbRssi(k) is the kth receiving power ranked at the top in the receiving power sequence.
[0076] For example, if the preset RB scheduling numbers include 273, 16, and 2, the average reference power value corresponding to 273 is:
[0077] That is, when the preset RB scheduling number is equal to the number of all RBs included in the working bandwidth, the received power of all RBs in the working bandwidth is measured, and the received power of all the measured RBs is averaged;
[0078] The average reference power value corresponding to 16 is:
[0079] That is, take the 16 largest received powers in the received power sequence and average them;
[0080] 2 The corresponding average reference power is:
[0081] That is, the two largest received powers in the received power sequence are averaged.
[0082] It can be seen that in this example, the electronic device calculates the average value of the first N received powers in the received power sequence as each reference power average value, and N is the preset RB scheduling number corresponding to each reference power average value, which is conducive to improving the accuracy of reference power calculation.
[0083] In one possible example, the gain adjustment of the signal received by the electronic device according to the target power average value includes: if the preset RB scheduling number corresponding to the target power average value is equal to the total RB amount included in the working bandwidth, no gain adjustment is performed; if the preset RB scheduling number corresponding to the target power average value is less than the total RB amount included in the working bandwidth, gain adjustment is performed on the signal received by the electronic device according to the target power average value.
[0084] That is to say, when the preset RB scheduling number is equal to the total RB amount included in the working bandwidth, the target power average value meets the requirements of the gain adjustment target value and no gain adjustment is required. When the preset RB scheduling number is less than the total RB amount included in the working bandwidth, the target average power value is larger and gain adjustment is required based on the target power average value.
[0085] It can be seen that in this example, if the preset RB scheduling number corresponding to the target power average value is equal to the total RB amount included in the working bandwidth, no gain adjustment is performed; if the preset RB scheduling number corresponding to the target power average value is less than the total RB amount included in the working bandwidth, gain adjustment is performed on the signal received by the electronic device according to the target power average value; different gain adjustment strategies are executed according to the different preset RB scheduling numbers corresponding to the target power average value, which is conducive to improving the accuracy of the gain adjustment.
[0086] In one possible example, performing gain adjustment on the signal received by the electronic device according to the target power average value includes: determining a target gain according to a preset gain adjustment target value and the target power average value; and performing gain adjustment on the signal received by the electronic device according to the target gain.
[0087] In a specific implementation, when it is necessary to adjust the gain of a signal received by an electronic device according to a target power average value, the gain backoff rule, i.e., the target gain, can be determined by the following formula:
[0088] gainDB=gainTargetDB-rssiRefDB;
[0089] Among them, gainDB is the target gain, gainTargetDB is the gain adjustment target value, and rssiRefDB is the target power average value.
[0090] It can be seen that in this example, the target gain is first determined according to the preset gain adjustment target value and the target power average value, and then the gain of the signal received by the electronic device is adjusted according to the target gain, which is conducive to improving the accuracy of the gain adjustment.
[0091] In one possible example, determining the target gain based on a preset gain adjustment target value and the target power average value includes: determining the target gain based on a preset gain correction value corresponding to the preset gain adjustment target value, the target power average value, and a preset RB scheduling number corresponding to the target power average value.
[0092] In a specific implementation, the preset gain correction value may be determined through field measurements. The preset gain correction values corresponding to different preset RB scheduling quantities may be different or the same, which is not specifically limited here.
[0093] The gain fallback rule, i.e., the target gain, can be determined by the following formula:
[0094] gainDB=gainTargetDB-rssiRefDB-topxGainBackoffDB;
[0095] Among them, gainDB is the target gain, gainTargetDB is the gain adjustment target value, rssiRefDB is the target power average value, and topxGainBackoffDB is the preset gain correction value corresponding to the preset RB scheduling number corresponding to the target power average value.
[0096] In particular, taking the electronic device as an electronic device in the NR system, the total number of RBs included in the working bandwidth is 273, and multiple preset RB scheduling numbers are 2, 16 and 273 respectively. When the preset RB scheduling number corresponding to the target power average value is 2 or 16, the preset gain correction value can be 3db.
[0097] It can be seen that in this example, the target gain is determined based on the preset gain adjustment target value, the target power average value, and the preset gain correction value corresponding to the preset RB scheduling number corresponding to the target power average value. When determining the target gain, the preset gain correction value is combined to determine the target gain, which is conducive to improving the accuracy of the gain adjustment.
[0098] In one possible example, the gain adjustment of the signal received by the electronic device according to the target power average value includes: obtaining a final power average value based on a preset power correction value corresponding to a preset RB scheduling number corresponding to the target power average value and the target power average value; and gain adjustment of the signal received by the electronic device according to the final power average value.
[0099] In a specific implementation, the preset gain correction value may be determined through field measurements. The preset values corresponding to different preset RB scheduling numbers may be different, that is, different fallback mechanisms are adopted according to the characteristics of the target power average value, which is conducive to obtaining accurate AGC estimation and improving the accuracy of gain adjustment.
[0100] In the specific implementation, Figure 2D , Figure 2E and Figure 2F As shown, when gain adjustment is required based on the target power average value, considering that the preset RB scheduling number corresponding to the target power average value is small (less than the total number of RBs included in the working bandwidth), the RB receiving power of the preset RB scheduling number used to calculate the target power average value is itself high. Therefore, it is necessary to back off the target power average value in combination with the preset power correction value to obtain the final power average value for gain adjustment.
[0101] Figure 2D , Figure 2E and Figure 2FAssume that the electronic device is an electronic device in the NR system, the total number of RBs included in the working bandwidth is 273, the number of preset RB scheduling is 2, 16 and 273 respectively, and when the actual number of RB scheduling is 270, 10 and 1 respectively, the number of preset RBs corresponding to the determined target power average value is 273, 16 and 2 respectively. Figure 2D , Figure 2E and Figure 2F The relationship between the reference power average values and the final power average value for gain adjustment at different time points in a resource scheduling cycle is shown respectively when the actual RB scheduling number is 270, 100 and 10, wherein line a corresponds to the change of the reference power average value when the preset RB scheduling number is 2, line b corresponds to the change of the reference power average value when the preset RB scheduling number is 16, line c corresponds to the change of the reference power average value when the preset RB scheduling number is 273, and dotted line d corresponds to the change of the final power average value.
[0102] Figure 2D , the preset RB scheduling number corresponding to the determined target power average value is 273, that is, the target power average value corresponds to line c, and line c and line d almost overlap, that is, when the preset RB scheduling number corresponding to the target power average value is the total number of RBs in the working bandwidth, the target power average value is the same as the final power average value, and there is no need to retract the target power average value in combination with the preset power correction value. Figure 2E In the above example, the preset RB scheduling number corresponding to the target power average value is 16, that is, the target power average value corresponds to line b. The target power average value needs to be retracted in combination with the preset power correction value to obtain the final power average value. Similarly, Figure 2F In the figure, the target power average value corresponds to line a, and the target power average value also needs to be regressed in combination with the preset power correction value to obtain the final power average value.
[0103] Specifically, the final power average value can be determined by the following formula:
[0104] rssiRefDB=rssioDB-topxRssiBackOffDB;
[0105] Among them, rssiRefDB is the final power average value, rssioDB is the target power average value, and topxRssiBackOffDB is the preset power correction value corresponding to the preset RB scheduling number corresponding to the target power average value.
[0106] In a specific implementation, the rssiRefDB calculated in this example can be applied to the aforementioned target gain determination, that is, when determining the target gain, the target power average value used can be directly replaced by the final power average value.
[0107] In particular, taking the electronic device as an electronic device in the NR system, the total number of RBs included in the working bandwidth is 273, and the preset RB scheduling numbers are 2, 16 and 273 respectively. When the preset RB scheduling number corresponding to the target power average value is 2, the preset power correction value can be 1.5db, and when the preset RB scheduling number corresponding to the power average value is 16, the preset power correction value can be 2db.
[0108] It can be seen that in this example, the final power average value is first obtained based on the preset power correction value corresponding to the preset RB scheduling number corresponding to the target power average value and the target power average value, and then the gain of the signal received by the electronic device is adjusted according to the final power average value, which is beneficial to improve the accuracy of the gain adjustment.
[0109] The embodiment of the present application provides another gain adjustment method, which is basically the same as the gain adjustment method provided in the above embodiment, so the embodiment will not repeat the same points. The difference is that, in this embodiment, the preset time period includes M, where M is an integer greater than 1; the measuring of multiple receiving powers of multiple RBs of the electronic device in the working bandwidth within the preset time period in the current resource scheduling period includes:
[0110] The following operation is performed for each preset time period in the M preset time periods to obtain M groups of basic received powers:
[0111] Measuring a plurality of basic received powers of the electronic device in the plurality of RBs within a current preset time period as a set of basic received powers corresponding to the current preset time period;
[0112] The obtaining of a plurality of reference power average values corresponding one-to-one to a plurality of preset RB scheduling quantities includes:
[0113] The following operation is performed for each preset time period to obtain M groups of basic power average values, where each group of basic power average values includes a plurality of basic power average values corresponding one to one to the plurality of preset RB scheduling quantities:
[0114] Acquire multiple basic power averages corresponding one-to-one to the multiple preset RB scheduling quantities as a group of basic power averages corresponding to the current preset time period, wherein each reference power average in the basic power averages is determined according to the first N basic powers in the current basic power sequence, and the current receiving power sequence is a sequence obtained by sorting a group of basic receiving powers corresponding to the current preset time period in descending order;
[0115] For each of the plurality of preset RB scheduling quantities, perform the following operation:
[0116] M basic power average values corresponding to the current preset RB scheduling quantity are determined from the M groups of basic power average values, and a reference power average value corresponding to the current preset RB scheduling quantity is determined according to the M basic power average values.
[0117] The total length of the M preset time periods is less than one resource scheduling period.
[0118] In the specific implementation, M is an integer greater than 1. The problem of signal fading is taken into consideration. Therefore, multiple different preset time periods are taken within a resource scheduling period, and multiple basic receiving powers of multiple RBs are measured in each preset time period respectively. According to the multiple basic receiving powers measured in each preset time period, the basic reference power average value corresponding to each preset RB scheduling number in the multiple preset RB scheduling numbers is calculated, that is, a preset RB scheduling number will eventually correspond to M different basic power average values, and the M basic power average values are respectively calculated based on the multiple basic receiving powers measured in M different preset time periods. After obtaining M different basic power average values corresponding to a preset RB scheduling number, the M basic power average values are averaged to obtain the reference power average value corresponding to the preset RB scheduling number.
[0119] That is to say, the power average value in the frequency dimension is calculated multiple times in different preset time periods, and then the power average values in different preset time periods are averaged to obtain the power average value in the time domain dimension.
[0120] For example, taking M equal to 3, multiple RBs include 273 RBs, one preset time period is one symbol (multiple preset time periods include symbol 1, symbol 2, and symbol 3), and multiple preset RB scheduling numbers are 273, 16, and 2 respectively, the entire process of determining the reference power average value is as follows:
[0121] Measure the received power of 273 RBs on symbol 1 to obtain 273 basic received powers 1, sort the 273 basic received powers 1 in descending order to obtain a basic received power sequence 1, calculate all the basic received powers in the basic received power sequence 1 to obtain a basic power average value a1 corresponding to 273, calculate the first 16 basic received powers in the basic received power sequence 1 to obtain a basic power average value b1 corresponding to 16, and calculate the first 2 basic received powers in the basic received power sequence 1 to obtain a basic power average value c1 corresponding to 2;
[0122] Measure the received power of 273 RBs on symbol 2 to obtain 273 basic received powers 2, sort the 273 basic received powers 2 in descending order to obtain a basic received power sequence 2, take all the basic received powers in the basic received power sequence 2 to calculate the basic power average value a2 corresponding to 273, take the first 16 basic received powers in the basic received power sequence 2 to calculate the basic power average value b2 corresponding to 16, and take the first 2 basic received powers in the basic received power sequence 2 to calculate the basic power average value c2 corresponding to 2;
[0123] Measure the received power of 273 RBs on symbol 3 to obtain 273 basic received powers 3, sort the 273 basic received powers 2 in descending order to obtain a basic received power sequence 3, take all the basic received powers in the basic received power sequence 3 to calculate the basic power average value a3 corresponding to 273, take the first 16 basic received powers in the basic received power sequence 3 to calculate the basic power average value b3 corresponding to 16, and take the first 2 basic received powers in the basic received power sequence 3 to calculate the basic power average value c3 corresponding to 2;
[0124] Then, the basic power average values a1, a2 and a3 are averaged to obtain the reference power average value corresponding to the number 273; then, the basic power average values b1, b2 and b3 are averaged to obtain the reference power average value corresponding to the number 16; then, the basic power average values c1, b2 and b3 are averaged to obtain the reference power average value corresponding to the number 2.
[0125] In particular, when calculating the reference power average value corresponding to a preset RB scheduling number from M basic power average values corresponding to the preset RB scheduling number, the following formula may be used:
[0126]
[0127] Among them, 10*log10 is used to convert the power into a value in db, avgLen is M, and rssi(k) is the basic power average value corresponding to the preset RB scheduling number calculated based on the basic received power measured in the kth preset time period among M preset time periods.
[0128] It can be seen that in the embodiment of the present application, the electronic device first measures multiple basic received powers of multiple RBs of the electronic device in the working bandwidth within M preset time periods in the current resource scheduling period, and then for each preset RB scheduling quantity, respectively obtains M basic power averages corresponding to the preset RB scheduling quantity according to the multiple basic received powers measured in M different preset time periods, and then determines the reference power average corresponding to the preset RB scheduling quantity according to the M basic power averages, and then determines the target power average from the multiple reference power averages corresponding to the multiple preset RB scheduling quantities one by one, and then performs gain adjustment on the signal received by the electronic device according to the target power average, wherein the preset time period is less than the current resource scheduling quantity. degree period, each of the multiple reference power average values is determined according to the first N receiving powers in the receiving power sequence, N is the preset RB scheduling number corresponding to each reference power average value, the receiving power sequence is a sequence obtained by sorting the multiple receiving powers of the multiple RBs in order from large to small, M is an integer greater than 1, and the reference power average value is calculated in a piecewise manner, which can quickly adapt to the scheduling of resources when the resources in the system bandwidth change, and determine the target average value for gain adjustment from the multiple reference power average values. At the same time, since the reference power average value calculation takes into account the RB receiving power of different time periods in the time domain, it is beneficial to improve the efficiency of obtaining the gain control parameters while ensuring the accuracy of the gain control.
[0129] See also Figure 2G , the signal generator is configured as follows: fftSize (Fast Fourier Transform) = 4096, SCS (allowed subcarrier spacing) = 30KHz, number of RBs: [1 100 240 273], other RE resources: no load, SNR (Signal-to-Noise Ratio): 30dB, RSRP: -90dBm.
[0130] exist Figure 2G A strong interfering cell with the following configuration is added in the middle circle: fftSize=4096, SCS=30KHz, number of RBs: 200, other RE resources: no load, SNR: 30dB, RSRP: -30dBm.
[0131] In the connected state, test Figure 2G The SNR and RSRP in the time slot at the position indicated by the middle circle adopt the gain adjustment method described in the embodiment of the present application, and the test results show that there is no obvious SNR drop.
[0132] See also Figure 3A , Figure 3A is a block diagram of the functional units of a gain adjustment device provided in an embodiment of the present application, which can be applied to Figure 1A The electronic device 100 shown, the device 30 comprises:
[0133] A measuring unit 301 is configured for an electronic device to measure a plurality of received powers of a plurality of resource blocks RBs of the electronic device in a working bandwidth within a preset time period in a current resource scheduling period, wherein the preset time period is less than the current resource scheduling period;
[0134] An acquisition unit 302 is configured for the electronic device to acquire a plurality of reference power average values corresponding one-to-one to a plurality of preset RB scheduling quantities, wherein each of the plurality of reference power average values is determined according to the first N received powers in a received power sequence, N is the preset RB scheduling quantity corresponding to each reference power average value, and the received power sequence is a sequence obtained by sorting the plurality of received powers of the plurality of RBs in descending order, and N is a positive integer;
[0135] A determination unit 303, configured for the electronic device to determine a target power average value from the multiple reference power average values;
[0136] The adjusting unit 304 is configured to enable the electronic device to perform gain adjustment on a signal received by the electronic device according to the target power average value.
[0137] In a possible example, the multiple preset RB scheduling quantities satisfy the following conditions: if the multiple preset RB scheduling quantities are sorted in order from large to small to obtain an RB scheduling quantity sequence, the first preset RB scheduling quantity in the RB scheduling quantity sequence is equal to the total number of RBs included in the working bandwidth, and when the received power of each scheduled RB is the same, the difference between the total power values corresponding to any two adjacent preset RB scheduling quantities in the RB scheduling quantity sequence is the same, and each total power value is calculated based on the preset RB scheduling quantity corresponding to each total power value as the scheduled RB number.
[0138] In a possible example, the multiple preset RB scheduling quantities include a first quantity, a second quantity and a third quantity. When the multiple preset RB scheduling quantities are sorted in order from small to large, the second quantity is sorted after the first quantity, and the third quantity is sorted before the first quantity; the determination unit 303 is specifically used to: determine that the first quantity is the current reference RB scheduling quantity, and calculate the first difference between the reference power average value corresponding to the third quantity and the reference power average value corresponding to the first quantity, and the second difference between the reference power average value corresponding to the first quantity and the reference power average value corresponding to the second quantity; if the first difference is greater than the first preset value, determine that the third quantity is the current reference RB scheduling quantity; if the second difference is less than the second preset value, determine that the second quantity is the current reference RB scheduling quantity; if the first difference is not greater than the first preset value and the second difference is not less than the second preset value, determine the reference power average value corresponding to the first quantity as the target power average value.
[0139] In one possible example, each reference power average value is determined by the following steps: calculating the average value of the first N received powers in the received power sequence as each reference power average value, where N is the preset RB scheduling number corresponding to each reference power average value.
[0140] In one possible example, the preset time period includes M, where M is an integer greater than 1; the measuring unit 301 is specifically used to: perform the following operations for each of the M preset time periods to obtain M groups of basic received powers: measure multiple basic received powers of the electronic device in the multiple RBs in the current preset time period as a group of basic received powers corresponding to the current preset time period; the acquiring unit 302 is specifically used to: perform the following operations for each of the preset time periods to obtain M groups of basic power average values, each group of basic power average values includes multiple basic power average values corresponding one-to-one to the multiple preset RB scheduling quantities: obtain the basic power average values corresponding one-to-one to the multiple preset RB scheduling quantities Multiple basic power averages corresponding to the current preset time period are used as a group of basic power averages corresponding to the current preset time period, wherein each reference power average in the basic power averages is determined based on the first N basic powers in the current basic power sequence, and the current receiving power sequence is a sequence obtained by sorting a group of basic receiving powers corresponding to the current preset time period in order from large to small; for each preset RB scheduling number in the multiple preset RB scheduling numbers, the following operation is performed: M basic power averages corresponding to the current preset RB scheduling number are determined from the M groups of basic power averages, and a reference power average corresponding to the current preset RB scheduling number is determined based on the M basic power averages.
[0141] In a possible example, the adjustment unit 304 is specifically used to: if the preset RB scheduling number corresponding to the target power average value is equal to the total RB amount included in the working bandwidth, no gain adjustment is performed; if the preset RB scheduling number corresponding to the target power average value is less than the total RB amount included in the working bandwidth, then gain adjustment is performed on the signal received by the electronic device according to the target power average value.
[0142] In a possible example, the adjustment unit 304 is specifically configured to: determine a target gain according to a preset gain adjustment target value and the target power average value; and perform gain adjustment on a signal received by the electronic device according to the target gain.
[0143] In one possible example, in terms of determining the target gain based on the preset gain adjustment target value and the target power average value, the adjustment unit 304 is specifically used to determine the target gain based on the preset gain adjustment target value, the target power average value and a preset gain correction value corresponding to a preset RB scheduling number corresponding to the target power average value.
[0144] In a possible example, the adjustment unit 304 is specifically used to: obtain a final power average value based on a preset power correction value corresponding to a preset RB scheduling number corresponding to the target power average value and the target power average value; and perform gain adjustment on a signal received by the electronic device based on the final power average value.
[0145] In a possible example, the preset time period includes one symbol.
[0146] In the case of using an integrated unit, a functional unit block diagram of another gain adjustment device provided in an embodiment of the present application is as follows: Figure 3B As shown. Figure 3B In the embodiment, the gain adjustment device includes: a processing module 310 and a communication module 311. The processing module 310 is used to control and manage the actions of the gain adjustment device, for example, the steps performed by the measuring unit 301, the acquiring unit 302, the determining unit 303, and the adjusting unit 304, and / or other processes for performing the technology described in this application. The communication module 311 is used to support the interaction between the gain adjustment device and other devices. Figure 3B As shown, the gain adjustment device may further include a storage module 312, and the storage module 312 is used to store program codes and data of the gain adjustment device.
[0147] Among them, the processing module 310 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 311 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 312 can be a memory.
[0148] Among them, all relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. Figure 2A The steps performed by the electronic device in the gain adjustment method shown.
[0149] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments.
[0150] The present application also provides a computer program product, including a computer program, which implements part or all of the steps of any method described in the above method embodiment when executed by a processor. The computer program product may be a software installation package.
[0151] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and units involved are not necessarily required by the present application.
[0152] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0153] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0154] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0155] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0156] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.
[0157] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.
[0158] The embodiments of the present application are introduced in detail above. Specific examples are used in the present application to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in the field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A gain adjustment method, characterized in that: include: The electronic device measures multiple received powers of multiple resource blocks RBs of the electronic device in a working bandwidth within a preset time period in a current resource scheduling period, where the preset time period is less than the current resource scheduling period; The electronic device obtains a plurality of reference power average values corresponding one-to-one to a plurality of preset RB scheduling quantities, wherein each of the plurality of reference power average values is determined according to the first N received powers in a received power sequence, N is the preset RB scheduling quantity corresponding to each reference power average value, and the received power sequence is a sequence obtained by sorting the plurality of received powers of the plurality of RBs in descending order, and N is a positive integer; The electronic device determines a target power average value from the multiple reference power average values; The electronic device performs gain adjustment on the signal received by the electronic device according to the target power average value; The multiple preset RB scheduling quantities satisfy the following conditions: if the multiple preset RB scheduling quantities are sorted in descending order to obtain an RB scheduling quantity sequence, the first preset RB scheduling quantity in the RB scheduling quantity sequence is equal to the total number of RBs included in the working bandwidth, and when the receiving power of each scheduled RB is the same, the difference between the total power values corresponding to any two adjacent preset RB scheduling quantities in the RB scheduling quantity sequence is the same, and each total power value is calculated based on the preset RB scheduling quantity corresponding to each total power value as the number of scheduled RBs.
2. The method according to claim 1, characterized in that The multiple preset RB scheduling quantities include a first quantity, a second quantity, and a third quantity. When the multiple preset RB scheduling quantities are sorted in ascending order, the second quantity is sorted after the first quantity, and the third quantity is sorted before the first quantity; The step of determining a target power average value from the multiple reference power average values comprises: Determine that the first number is the current reference RB scheduling number, and calculate a first difference between a reference power average value corresponding to the third number and a reference power average value corresponding to the first number, and a second difference between a reference power average value corresponding to the first number and a reference power average value corresponding to the second number; If the first difference is greater than a first preset value, determining the third number as the current reference RB scheduling number; If the second difference is less than a second preset value, determining the second number as the current reference RB scheduling number; If the first difference is not greater than the first preset value and the second difference is not less than the second preset value, the reference power average value corresponding to the first number is determined as the target power average value.
3. The method according to claim 1, characterized in that Each reference power average value is determined by the following steps: An average value of the first N received powers in the received power sequence is calculated as each reference power average value, where N is a preset RB scheduling number corresponding to each reference power average value.
4. The method according to claim 1, characterized in that: The preset time period includes M, where M is an integer greater than 1; The measuring of multiple receiving powers of multiple RBs of the electronic device in the working bandwidth within a preset time period in the current resource scheduling period includes: The following operation is performed for each preset time period in the M preset time periods to obtain M groups of basic received powers: Measuring a plurality of basic received powers of the electronic device in the plurality of RBs within a current preset time period as a set of basic received powers corresponding to the current preset time period; The obtaining of a plurality of reference power average values corresponding one-to-one to a plurality of preset RB scheduling quantities includes: The following operation is performed for each preset time period to obtain M groups of basic power average values, where each group of basic power average values includes a plurality of basic power average values corresponding one-to-one to the plurality of preset RB scheduling quantities: Acquire multiple basic power averages corresponding one-to-one to the multiple preset RB scheduling quantities as a group of basic power averages corresponding to the current preset time period, wherein each reference power average in the basic power averages is determined according to the first N basic powers in a current basic power sequence, and the current basic power sequence is a sequence obtained by sorting a group of basic receiving powers corresponding to the current preset time period in descending order; For each of the plurality of preset RB scheduling quantities, perform the following operation: M basic power average values corresponding to the current preset RB scheduling quantity are determined from the M groups of basic power average values, and a reference power average value corresponding to the current preset RB scheduling quantity is determined according to the M basic power average values.
5. The method according to any one of claims 1 to 4, characterized in that: The step of performing gain adjustment on the signal received by the electronic device according to the target power average value includes: If the preset RB scheduling number corresponding to the target power average value is equal to the total number of RBs included in the working bandwidth, no gain adjustment is performed; If the preset RB scheduling quantity corresponding to the target power average value is less than the total RB quantity included in the working bandwidth, a gain adjustment is performed on the signal received by the electronic device according to the target power average value.
6. The method according to any one of claims 1 to 4, characterized in that: The step of performing gain adjustment on the signal received by the electronic device according to the target power average value includes: Determining a target gain according to a preset gain adjustment target value and the target power average value; The gain of the signal received by the electronic device is adjusted according to the target gain.
7. The method according to claim 6, characterized in that The step of determining the target gain according to the preset gain adjustment target value and the target power average value includes: The target gain is determined according to the preset gain adjustment target value, the target power average value, and a preset gain correction value corresponding to a preset RB scheduling number corresponding to the target power average value.
8. The method according to any one of claims 1 to 4, characterized in that: The step of performing gain adjustment on the signal received by the electronic device according to the target power average value includes: Obtaining a final power average value according to a preset power correction value corresponding to a preset RB scheduling number corresponding to the target power average value and the target power average value; The gain of the signal received by the electronic device is adjusted according to the final power average value.
9. The method according to any one of claims 1 to 3, characterized in that: The preset time period includes one symbol.
10. A gain adjustment device, characterized in that: The device comprises: A receiving unit, configured for an electronic device to measure a plurality of received powers of a plurality of resource blocks RBs of the electronic device in a working bandwidth within a preset time period in a current resource scheduling period, wherein the preset time period is less than the current resource scheduling period; an acquisition unit, configured for the electronic device to acquire a plurality of reference power average values corresponding one-to-one to a plurality of preset RB scheduling quantities, wherein each of the plurality of reference power average values is determined according to the first N received powers in a received power sequence, N is the preset RB scheduling quantity corresponding to each reference power average value, and the received power sequence is a sequence obtained by sorting the plurality of received powers of the plurality of RBs in descending order, and N is a positive integer; a determining unit, configured for the electronic device to determine a target power average value from the multiple reference power average values; An adjustment unit, configured for the electronic device to perform gain adjustment on a signal received by the electronic device according to the target power average value; The multiple preset RB scheduling quantities satisfy the following conditions: if the multiple preset RB scheduling quantities are sorted in descending order to obtain an RB scheduling quantity sequence, the first preset RB scheduling quantity in the RB scheduling quantity sequence is equal to the total number of RBs included in the working bandwidth, and when the receiving power of each scheduled RB is the same, the difference between the total power values corresponding to any two adjacent preset RB scheduling quantities in the RB scheduling quantity sequence is the same, and each total power value is calculated based on the preset RB scheduling quantity corresponding to each total power value as the number of scheduled RBs.
11. An electronic device, characterized in that: The method comprises a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the steps in the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Signal strength calculation method and device, terminal and storage medium
CN112039614A