CN112235227B - Method, device and equipment for determining receiving gain and storage medium - Google Patents

Method, device and equipment for determining receiving gain and storage medium Download PDF

Info

Publication number
CN112235227B
CN112235227B CN202011112137.8A CN202011112137A CN112235227B CN 112235227 B CN112235227 B CN 112235227B CN 202011112137 A CN202011112137 A CN 202011112137A CN 112235227 B CN112235227 B CN 112235227B
Authority
CN
China
Prior art keywords
signal
domain power
gain
determining
power corresponding
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.)
Active
Application number
CN202011112137.8A
Other languages
Chinese (zh)
Other versions
CN112235227A (en
Inventor
桂竟晶
胡磊
谭舒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unisoc Chongqing Technology Co Ltd
Original Assignee
Unisoc Chongqing Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Unisoc Chongqing Technology Co Ltd filed Critical Unisoc Chongqing Technology Co Ltd
Priority to CN202011112137.8A priority Critical patent/CN112235227B/en
Publication of CN112235227A publication Critical patent/CN112235227A/en
Application granted granted Critical
Publication of CN112235227B publication Critical patent/CN112235227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/26Systems using multi-frequency codes
    • H04L27/2601Multicarrier modulation systems
    • H04L27/2647Arrangements specific to the receiver only
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0413MIMO systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a method, a device, equipment and a storage medium for determining a receiving gain, wherein the method comprises the following steps: acquiring a first frequency domain power and a first time domain power corresponding to a first signal; when the working state of the terminal equipment is a known timing state, determining a second receiving gain according to the first frequency domain power, the first time domain power and a first receiving gain stored in advance; and when the working state of the terminal equipment is an unknown timing state, determining a second receiving gain according to the first time domain power and the first receiving gain. The method and the device are used for accurately determining the second receiving gain, so that the adjusting precision of adjusting the receiving power of the second signal according to the second receiving gain is higher.

Description

Method, device and equipment for determining receiving gain and storage medium
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method, an apparatus, a device, and a storage medium for determining a receive gain.
Background
Currently, an Automatic Gain Control (AGC) technique is a technique capable of adjusting the received power of a received signal.
In the related art, a method of adjusting reception power of a reception signal includes: acquiring a Received Signal Strength Indication (RSSI) of a received signal in a current time period; determining a gain offset from the intensity indication; determining a reception gain according to a gain and a gain deviation stored in advance; the received power of the received signal is adjusted according to the received gain.
In the above method, the gain deviation is determined according to the strength indication, and further the pre-stored gain and gain deviation determine the receiving gain, so that the receiving gain cannot be accurately determined, resulting in a low adjustment accuracy for adjusting the receiving power according to the receiving gain.
Disclosure of Invention
The embodiment of the application provides a method, a device and a storage medium for determining a second receiving gain accurately, so that the adjustment precision for adjusting the receiving power of a second signal according to the second receiving gain is higher.
In a first aspect, an embodiment of the present application provides a method for determining a receive gain, including:
acquiring a first frequency domain power and a first time domain power corresponding to a first signal, wherein the first signal is received by terminal equipment in a first time period;
when the working state of the terminal equipment is a known timing state, determining a second receiving gain according to the first frequency domain power, the first time domain power and a first receiving gain stored in advance;
when the working state of the terminal equipment is an unknown timing state, determining a second receiving gain according to the first time domain power and the first receiving gain; the first reception gain is a reception gain of a first signal received by the terminal device during a first period, and the second reception gain is a reception gain of a second signal received by the terminal device during a second period, which is adjacent to and subsequent to the first period.
In one possible embodiment, the first signal comprises at least one first orthogonal frequency division multiplexing, OFDM, symbol; acquiring a first frequency domain power corresponding to a first signal, including:
acquiring third frequency domain power corresponding to M first resource units corresponding to each first OFDM symbol; m is an integer greater than or equal to 1;
determining a second frequency domain power corresponding to each first OFDM symbol according to the respective third frequency domain power corresponding to each M first resource units corresponding to each first OFDM symbol;
and determining first frequency domain power corresponding to the first signal according to second frequency domain power corresponding to at least one first OFDM symbol.
In one possible embodiment, the M first resource units include at least one of:
the method comprises the following steps that N blank resource units, X first resource units corresponding to cell reference signals CRS, at least one first resource unit corresponding to a primary synchronization signal PSS, at least one first resource unit corresponding to a secondary synchronization signal SSS, at least one first resource unit corresponding to a physical broadcast channel PBCH and Y first resource units corresponding to a physical downlink shared channel PDSCH are adopted; wherein X, N and Y are integers greater than or equal to 1.
In one possible implementation, the M first resource units include: n blank resource units and X first resource units; obtaining third frequency domain power corresponding to each of the N blank resource units, including:
judging whether the M first resource units further comprise Y first resource units and whether Y is larger than or equal to X;
if yes, determining third frequency domain power corresponding to the N blank resource units according to the third frequency domain power corresponding to the Y first resource units;
if not, determining the third frequency domain power corresponding to the N blank resource units according to the third frequency domain power corresponding to the X first resource units.
In one possible embodiment, for any one of the N white space resource units; determining a third frequency domain power corresponding to the blank resource unit according to the third frequency domain power corresponding to each of the X first resource units, including:
acquiring a multi-input multi-output (MIMO) mode, the number of antennas, a first configuration parameter and a second configuration parameter of terminal equipment;
determining a target data table corresponding to the MIMO mode in at least one preset data table;
searching the number of antennas, the power weight corresponding to the first configuration parameter and the second configuration parameter in a target data table;
and determining the third frequency domain power corresponding to the blank resource unit according to the power weight and the third frequency domain power corresponding to each of the X first resource units.
In one possible embodiment, the first signal includes at least one target signal; acquiring a first time domain power corresponding to a first signal, including:
performing sliding reception on at least one target signal according to a preset sliding window and a sliding step length to obtain at least one sub-signal;
acquiring second time domain power corresponding to at least one sub-signal;
and determining the first time domain power corresponding to the first signal according to the second time domain power corresponding to each of the at least one sub-signal.
In a possible implementation manner, for any adjacent first sub-signal and second sub-signal in the at least one sub-signal, the first sub-signal is obtained before sliding a preset sliding window, and the second sub-signal is obtained after sliding the preset sliding window according to a sliding step length; acquiring a second time domain power corresponding to the second sub-signal, including:
acquiring second time domain power corresponding to the first sub-signal;
determining a second time domain power corresponding to the second sub-signal according to the time domain total power corresponding to the first sampling point set, the time domain total power corresponding to the second sampling point set and the second time domain power corresponding to the first sub-signal; at least one sample signal included in the first set of samples is present in the first subsignal and absent from the second subsignal, and at least one sample signal included in the second set of samples is absent from the first subsignal and present in the second subsignal.
In one possible implementation, determining the second reception gain according to the first frequency domain power, the first time domain power and the first reception gain stored in advance includes:
determining actual gain according to the first frequency domain power and the first time domain power;
acquiring a gain deviation between an actual gain and an expected gain;
a second receive gain is determined based on the gain offset and the first receive gain.
In a possible implementation manner, after obtaining the first frequency-domain power and the first time-domain power corresponding to the first signal, the method further includes:
acquiring a current service state of the terminal equipment, wherein the current service state is any one of a network searching state, a neighbor cell detection state and a synchronization state and a desynchronization state in a data transmission process;
and determining the working state of the terminal equipment according to the current service state.
In a second aspect, an embodiment of the present application provides a reception gain determining apparatus, including: an acquisition module and a determination module, wherein,
the acquisition module is used for acquiring a first frequency domain power and a first time domain power corresponding to a first signal, wherein the first signal is received by the terminal equipment in a first time period;
the determining module is used for determining a second receiving gain according to the first frequency domain power, the first time domain power and a first receiving gain stored in advance when the working state of the terminal equipment is a known timing state;
the determining module is further configured to determine a second receiving gain according to the first time domain power and the first receiving gain when the operating state of the terminal device is the unknown timing state; the first reception gain is a reception gain of a first signal received by the terminal device during a first period, and the second reception gain is a reception gain of a second signal received by the terminal device during a second period, which is adjacent to and subsequent to the first period.
In one possible embodiment, the first signal comprises at least one first orthogonal frequency division multiplexing, OFDM, symbol; the acquisition module is specifically configured to:
acquiring third frequency domain power corresponding to M first resource units corresponding to each first OFDM symbol; m is an integer greater than or equal to 1;
determining a second frequency domain power corresponding to each first OFDM symbol according to the respective third frequency domain power of the M first resource units corresponding to each first OFDM symbol;
and determining first frequency domain power corresponding to the first signal according to second frequency domain power corresponding to at least one first OFDM symbol.
In one possible embodiment, the M first resource units include at least one of:
the method comprises the following steps that N blank resource units, X first resource units corresponding to a cell reference signal CRS, at least one first resource unit corresponding to a primary synchronization signal PSS, at least one first resource unit corresponding to a secondary synchronization signal SSS, at least one first resource unit corresponding to a physical broadcast channel PBCH and Y first resource units corresponding to a physical downlink shared channel PDSCH are adopted; wherein X, N and Y are integers greater than or equal to 1.
In one possible embodiment, the M first resource units include: n blank resource units and X first resource units; in the process of acquiring the third frequency domain power corresponding to each of the N blank resource units, the acquiring module is specifically configured to:
judging whether the M first resource units further comprise Y first resource units and whether Y is larger than or equal to X;
if yes, determining third frequency domain power corresponding to the N blank resource units according to the third frequency domain power corresponding to the Y first resource units;
and if not, determining the third frequency domain power corresponding to the N blank resource units according to the third frequency domain power corresponding to the X first resource units.
In one possible embodiment, for any one of the N white space resource units; in the process of determining the third frequency domain power corresponding to the blank resource unit according to the third frequency domain power corresponding to each of the X first resource units, the obtaining module is specifically configured to:
acquiring a multiple-input multiple-output (MIMO) mode, the number of antennas, a first configuration parameter and a second configuration parameter of terminal equipment;
determining a target data table corresponding to the MIMO mode in at least one preset data table;
searching the number of antennas, the power weight corresponding to the first configuration parameter and the second configuration parameter in a target data table;
and determining the third frequency domain power corresponding to the blank resource unit according to the power weight and the third frequency domain power corresponding to each of the X first resource units.
In one possible embodiment, the first signal includes at least one target signal; the acquisition module is specifically configured to:
receiving at least one target signal in a sliding manner according to a preset sliding window and a sliding step length to obtain at least one sub-signal;
acquiring second time domain power corresponding to at least one sub-signal;
and determining the first time domain power corresponding to the first signal according to the second time domain power corresponding to each of the at least one sub-signal.
In a possible implementation manner, for any adjacent first sub-signal and second sub-signal in the at least one sub-signal, the first sub-signal is obtained before sliding a preset sliding window, and the second sub-signal is obtained after sliding the preset sliding window according to a sliding step length; the acquisition module is specifically configured to:
acquiring second time domain power corresponding to the first sub-signal;
determining a second time domain power corresponding to the second sub-signal according to the time domain total power corresponding to the first sampling point set, the time domain total power corresponding to the second sampling point set and the second time domain power corresponding to the first sub-signal; at least one sample signal included in the first set of samples is present in the first subsignal and absent from the second subsignal, and at least one sample signal included in the second set of samples is absent from the first subsignal and present in the second subsignal.
In a possible implementation, the determining module is specifically configured to:
determining actual gain according to the first frequency domain power and the first time domain power;
acquiring a gain deviation between an actual gain and an expected gain;
a second receive gain is determined based on the gain offset and the first receive gain.
In a possible implementation manner, the obtaining module is further configured to obtain a current service state of the terminal device after obtaining a first frequency domain power and a first time domain power corresponding to the first signal, where the current service state is any one of a network searching state, an adjacent cell detection state, and a synchronization state and an out-of-synchronization state in a data transmission process;
the determining module is further configured to determine a working state of the terminal device according to the current service state.
In a third aspect, an embodiment of the present application provides a terminal device, including: a processor and a memory;
the memory stores computer execution instructions;
the processor executes computer-executable instructions stored by the memory to cause the processor to perform the method of determining a reception gain according to any one of the first aspect.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, which includes a program or instructions, and when the program or instructions are run on a computer, the reception gain determination method according to any one of the first aspect is performed.
The embodiment provides a receiving gain determining method, a receiving gain determining device, receiving gain determining equipment and a storage medium, wherein the method comprises the following steps: acquiring a first frequency domain power and a first time domain power corresponding to a first signal, wherein the first signal is received by terminal equipment in a first time period; when the working state of the terminal equipment is a known timing state, determining a second receiving gain according to the first frequency domain power, the first time domain power and a first receiving gain stored in advance; and when the working state of the terminal equipment is an unknown timing state, determining a second receiving gain according to the first time domain power and the first receiving gain. In the method, the receiving gain is determined in different modes according to the working state of the terminal equipment, so that the working state and the determined receiving gain can be matched with each other. Further, when the working state is an unknown timing state, determining a second receiving gain according to the first frequency domain power and the first time domain power; when the working state of the terminal equipment is an unknown timing state, the second receiving gain is determined according to the first time domain power, the second receiving gain can be accurately determined, and the adjustment precision for adjusting the receiving power of the second signal according to the second receiving gain is higher.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the description below are some embodiments of the present application, and those skilled in the art can obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a method for determining a receive gain according to an embodiment of the present application;
fig. 2 is a first flowchart illustrating a method for determining a receive gain according to an embodiment of the present disclosure;
fig. 3 is a second flowchart illustrating a method for determining a receive gain according to an embodiment of the present application;
fig. 4 is a schematic diagram of a sliding receiving manner provided in the embodiment of the present application;
fig. 5 is a schematic diagram of a first sampling point set and a second sampling point set provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a plurality of physical resource blocks according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of obtaining a second time domain power corresponding to a first sub-signal according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a reception gain determining apparatus according to an embodiment of the present application;
fig. 9 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic view of an application scenario of a method for determining a receive gain according to an embodiment of the present application. As shown in fig. 1, includes: a first period and a second period. Wherein a gain calculation period exists between the first period and the second period.
Specifically, the terminal device acquires a first signal in a first time period; determining a second receiving gain according to at least two of the first time domain power, the first receiving gain and the first frequency domain power of the first signal in the gain calculation period; and at the moment of gain updating, adjusting the receiving power of the second signal received by the terminal device in the second time interval according to the second receiving gain so as to enable the voltage intensity of the second signal to be within a preset range. In the method, the second receiving gain is determined according to at least two of the first time domain power, the first receiving gain and the first frequency domain power of the first signal, so that the second receiving gain can be accurately determined, and the adjustment precision of adjusting the receiving power of the second signal according to the second receiving gain is higher.
The technical solution of the present application will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a first flowchart illustrating a method for determining a reception gain according to an embodiment of the present disclosure. As shown in fig. 2, the method for determining a reception gain according to this embodiment includes:
s201, obtaining a first frequency domain power and a first time domain power corresponding to a first signal, where the first signal is received by a terminal device in a first time period.
Optionally, the execution subject of the embodiment of the present application may be a terminal device, or may also be a reception gain determination device provided in the terminal device, where the reception gain determination device may be implemented by a combination of software and/or hardware. For example, the terminal device may be a smartphone, a tablet computer, or the like.
Wherein, the first signal includes a plurality of Orthogonal Frequency Division Multiplexing (OFDM) symbols, and the duration of the first period is equal to the duration of the signal collection area (i.e. RSSI collection area).
Specifically, the first frequency-domain power is determined according to a second frequency-domain power corresponding to each of at least one first OFDM symbol of the plurality of OFDM symbols. The first OFDM symbol is that M first Resource Elements (REs) corresponding to the first OFDM symbol include X first resource elements corresponding to a Cell Reference Signal (CRS), where M and X are integers greater than or equal to 1, and M is greater than or equal to X.
Optionally, the first frequency-domain power may be a maximum frequency-domain power of second frequency-domain powers corresponding to the at least one first OFDM symbol, or may be an average frequency-domain power of the second frequency-domain powers corresponding to the at least one first OFDM symbol.
Optionally, at least one first OFDM symbol may be determined in the multiple OFDM symbols, and then the first frequency-domain power may be determined according to the second frequency-domain power corresponding to each first OFDM symbol.
Optionally, the first time domain power is determined according to a second time domain power corresponding to each of the at least one first sub-signal, where the first sub-signal is obtained by performing sliding reception on the first signal.
Optionally, the first time domain power may be a maximum time domain power of the second time domain powers corresponding to each of the first sub-signals, or may be an average time domain power of the second time domain powers corresponding to each of the first sub-signals.
S202, when the working state of the terminal equipment is a known timing state, determining a second receiving gain according to the first frequency domain power, the first time domain power and a first receiving gain stored in advance.
The first receiving gain is the receiving gain of a first signal received by the terminal device in a first period, and the second receiving gain is the receiving gain of a second signal received by the terminal device in a second period, which is adjacent to and subsequent to the first period.
Optionally, the duration of the second period may be the same as or different from the duration of the first period.
Optionally, an actual gain may be determined in the first frequency domain power and the first time domain power, where the actual gain is a maximum value of the first frequency domain power and the first time domain power, and the second receiving gain is determined according to the actual gain, the expected gain, and the first receiving gain.
Optionally, an actual gain may also be determined according to the first frequency domain power and the first time domain power, where the actual gain is an average value of the first frequency domain power and the first time domain power, and then the second receiving gain is determined according to the actual gain, the expected gain, and the first receiving gain.
S203, when the working state of the terminal equipment is the unknown timing state, determining a second receiving gain according to the first time domain power and the first receiving gain.
Alternatively, the first time domain power may be determined as an actual gain, and the second reception gain may be determined according to the actual gain, the desired gain, and the first reception gain.
Different from the prior art, in the prior art, when a timing state is unknown, the fixed-length data is received according to the assumed frame header, and then the receiving gain is determined according to the fixed-length data. In the present application, the second receiving gain is determined according to the first time domain power and the first receiving gain when the operating state of the terminal device is the unknown timing state, so that the second receiving gain can be accurately determined, and the adjustment precision for adjusting the receiving power of the second signal according to the second receiving gain is high.
The method for determining the receiving gain provided by the embodiment comprises the following steps: acquiring a first frequency domain power and a first time domain power corresponding to a first signal; when the working state of the terminal equipment is a known timing state, determining a second receiving gain according to the first frequency domain power, the first time domain power and a first receiving gain stored in advance; and when the working state of the terminal equipment is an unknown timing state, determining a second receiving gain according to the first time domain power. In the method, the receiving gain is determined in different modes according to the working state of the terminal equipment, so that the working state and the determined receiving gain can be matched with each other. Further, when the working state is an unknown timing state, determining a second receiving gain according to the first frequency domain power and the first time domain power; when the working state of the terminal equipment is an unknown timing state, the second receiving gain is determined according to the first time domain power, the receiving gain can be accurately determined, and the adjustment precision for adjusting the receiving power of the second signal according to the second receiving gain or the second receiving gain is higher.
On the basis of the above embodiment, the following further describes the method for determining a receive gain provided by the present application with reference to fig. 3, specifically, please refer to the embodiment of fig. 3.
Fig. 3 is a flowchart illustrating a second method for determining a reception gain according to an embodiment of the present disclosure. As shown in fig. 3, the method for determining a reception gain according to this embodiment includes:
s301, obtaining third frequency domain powers corresponding to M first resource units corresponding to at least one first OFDM symbol in the first signal, where M is an integer greater than or equal to 1.
Optionally, at least one first OFDM symbol may be determined in a plurality of OFDM symbols included in the first signal, then, cyclic Prefix (CP) removal processing is performed on each first OFDM symbol to obtain each first OFDM symbol after CP removal, then, time-frequency domain transform processing (from time domain to frequency domain) is performed on each first OFDM symbol after CP removal to obtain frequency domain information corresponding to each of the M first resource units corresponding to each first OFDM symbol, and the third frequency domain power corresponding to each of the M first resource units is determined according to the frequency domain information corresponding to each of the M first resource units.
Optionally, the M first resource units include at least one of:
n blank resource units, X first resource units corresponding to CRS, at least one first resource unit corresponding to a Primary Synchronization Signal (PSS), at least one first resource unit corresponding to a Secondary Synchronization Signal (SSS), at least one first resource unit corresponding to a Physical Broadcast Channel (PBCH), and Y first resource units corresponding to a Physical Downlink Shared Channel (PDSCH); wherein X, N and Y are integers greater than or equal to 1.
It should be noted that the third frequency domain power corresponding to any one of the X first resource elements corresponding to the CRS, the at least one first resource element corresponding to the PSS, the at least one first resource element corresponding to the SSS, the at least one first resource element corresponding to the PBCH, and the Y first resource elements corresponding to the PDSCH is determined according to the frequency domain information corresponding to the first resource element. For example, according to the frequency domain information corresponding to any one of the first resource units, the third frequency domain power corresponding to the first resource unit may be determined by the following feasible formula 1:
Pwr_Re=I 2 +Q 2 formula 1;
wherein, I and Q are respectively a real part and an imaginary part in the frequency domain information (i.e. frequency domain data) corresponding to the first resource unit.
In this application, for example, when the M first resource units include X first resource units corresponding to N blank resource units and a CRS, the third frequency domain power corresponding to each of the N blank resource units may be obtained through the following one possible implementation.
One possible implementation of the above method includes: judging whether the M first resource units comprise Y first resource units corresponding to the PDSCH and whether Y is larger than or equal to X;
if yes, determining third frequency domain power corresponding to the N blank resource units according to the third frequency domain power corresponding to the Y first resource units;
and if not, determining the third frequency domain power corresponding to the N blank resource units according to the third frequency domain power corresponding to the X first resource units.
And the third frequency domain power corresponding to the N blank resource units is the same.
In one possible embodiment, for any one of the N white space resource units; determining the third frequency domain power corresponding to the blank resource unit according to the third frequency domain power corresponding to each of the Y first resource units, including:
and determining the average frequency domain power of the third frequency domain power corresponding to each of the Y first resource units as the third frequency domain power corresponding to the blank resource unit.
In one possible embodiment, for any one of the N white space resource units; determining a third frequency domain power corresponding to the blank resource unit according to the third frequency domain power corresponding to each of the X first resource units, including:
acquiring a Multiple Input Multiple Output (MIMO) mode, the number of antennas, a first configuration parameter and a second configuration parameter of terminal equipment;
determining a target data table corresponding to the MIMO mode in at least one preset data table;
searching the number of antennas, the power weight corresponding to the first configuration parameter and the second configuration parameter in a target data table;
and determining the third frequency domain power corresponding to the blank resource unit according to the power weight and the third frequency domain power corresponding to each of the X first resource units.
The MIMO system may be any one of a single antenna system, a spatial multiplexing system, and transmit diversity, and the number of antennas may be any one of 1, 2, and 4.
The first configuration Parameter (PA) is the ratio of the power of the data subcarriers and the power of the pilot subcarriers of the OFDM symbols without pilots.
The second configuration Parameter (PB) is a ratio of a data subcarrier power and a pilot subcarrier power of the OFDM symbol with pilot.
The second configuration Parameter (PB) comprises a PB configuration value and a PB multiple corresponding to the PB configuration value.
Specifically, the at least one preset data table may be, for example, as shown in table 1, table 2, and table 3 below, respectively.
TABLE 1
Figure BDA0002728933110000121
TABLE 2
Figure BDA0002728933110000122
TABLE 3
Figure BDA0002728933110000131
It should be noted that, the above tables 1 to 3 are only exemplary to illustrate the at least one preset data table, and are not limitations of the at least one preset data table.
For example, when the MIMO scheme is the spatial multiplexing scheme, table 3 corresponding to the spatial multiplexing scheme may be determined as the target data table, and the number of antennas, the power weights corresponding to the first configuration parameter and the second configuration parameter may be further searched in table 3.
For example, when the MIMO scheme is a spatial multiplexing scheme, if the number of antennas is 2, the first configuration Parameter (PA) is 1, the PB configuration value of the second configuration Parameter (PB) is 1, and the corresponding PB multiple is 1 when the PB configuration value is 1, the power weight is determined to be 2.511886.
Further, the product of the power weight and the average frequency domain power of the third frequency domain power corresponding to each of the X first resource units is determined as the third frequency domain power corresponding to the blank resource unit.
S302, determining a second frequency domain power corresponding to each first OFDM symbol according to the third frequency domain power corresponding to each of the M first resource units corresponding to each first OFDM symbol.
Alternatively, the second frequency domain power corresponding to each first OFDM symbol may be determined by the following feasible formula 2:
Figure BDA0002728933110000132
wherein Pwr _ Freq L Is the second frequency domain power corresponding to the first OFDM symbol with index L, pwr _ Re i The third frequency domain power of the first resource unit with index i in the M first resource units corresponding to the first OFDM symbol with index L is shown, and the RRB is the number of Physical Resource Blocks (PRBs) in the reception bandwidth. Note that Pwr _ Re i The calculation method of (a) can be referred to as S301, which is not described herein.
S303, determining a first frequency domain power corresponding to the first signal according to a second frequency domain power corresponding to each of the at least one first OFDM symbol.
Optionally, the first frequency-domain power may be a maximum frequency-domain power of second frequency-domain powers corresponding to the at least one first OFDM symbol, or may be an average frequency-domain power of the second frequency-domain powers corresponding to the at least one first OFDM symbol.
S304, receiving at least one target signal in a sliding mode according to a preset sliding window and a sliding step length to obtain at least one sub-signal.
The first signal comprises at least one target signal, the first period comprises at least one continuous receiving period, and one continuous receiving period corresponds to one target signal.
Wherein, the total number R of the sampling point signals included in the sub-signals and the window length RSSI of the preset sliding window WIN Similarly, each two adjacent sub-signals include R1 overlapped sampling point signals, and the sliding step length R2 is equal to the difference between R and R1, where R2, R, and R1 are integers greater than or equal to 1.
The sliding reception method of at least one target signal is described with reference to fig. 4. Fig. 4 is a schematic diagram of a sliding receiving manner according to an embodiment of the present application. As shown in fig. 4, the first period (RSSI collection period T) includes a plurality of continuous reception periods. The terminal device may receive one target signal in each successive reception period. For example, the first period T includes two adjacent consecutive receiving periods, i.e., a consecutive receiving period T1 and a consecutive receiving period T2. A target signal is received in the continuous reception period T1 and another target signal is received in the continuous reception period T2. Wherein, every two adjacent continuous receiving periods can be separated by a preset time length. Alternatively, the plurality of consecutive reception periods may be equal or unequal. Optionally, the preset time period may be 0, 1 millisecond, 2 milliseconds, and the like, and specifically, the preset time period and the multiple continuous receiving time periods are not limited in this application.
And further, performing sliding reception on at least one target signal according to a preset sliding window and a sliding step length to obtain at least one sub-signal. Wherein, the duration corresponding to the window length of the preset sliding window is less than or equal to the continuous receiving time interval and less than or equal to the preset value, wherein the continuous receiving time interval is greater than or equal to 2048T S Preset value equal to 2048+144T S Wherein, T S =1ms/30270, ms is an abbreviation for time-ms.
S305, obtaining second time domain power corresponding to at least one sub-signal.
In a possible implementation manner, for any adjacent first sub-signal and second sub-signal in the at least one sub-signal, the first sub-signal is obtained before sliding a preset sliding window, and the second sub-signal is obtained after sliding the preset sliding window according to a sliding step length; acquiring a second time domain power corresponding to the second sub-signal, including; acquiring second time domain power corresponding to the first sub-signal;
determining a second time domain power corresponding to the second sub-signal according to the time domain total power corresponding to the first sampling point set, the time domain total power corresponding to the second sampling point set and the second time domain power corresponding to the first sub-signal; at least one of the sampling signals included in the second set of sampling points is absent from the first subsignal and present in the second subsignal.
The first set of samples and the second set of samples are explained below with reference to fig. 5. Fig. 5 is a schematic diagram of a first sampling point set and a second sampling point set provided in an embodiment of the present application. As shown in fig. 5, sliding a preset sliding window according to the sliding step length n-1 to obtain a first sub-signal; and sliding the preset sliding window for the nth time according to the sliding step length to obtain a second sub-signal, wherein at least one sample signal (namely, the sample signal exiting from the preset sliding window due to sliding the preset sliding window) included in the first sample set exists in the first sub-signal and does not exist in the second sub-signal, and at least one sample signal (the sample signal entering the preset sliding window due to sliding the preset sliding window) included in the second sample set does not exist in the first sub-signal and exists in the second sub-signal.
Specifically, the total time domain power corresponding to the first sample set is determined according to the multiple sample signals included in the first sample set, and the total time domain power corresponding to the first sample set is equal to the sum (denoted as P _ Old) of the time domain powers corresponding to each sample signal included in the first sample set w )。
Specifically, the total time domain power corresponding to the second sampling point set is determined according to the plurality of sampling point signals included in the second sampling point set, and the total time domain power of the second sampling point set is equal to the sum of the time domain powers corresponding to each of the sampling point signals included in the second sampling point set (denoted as P _ New) w )。
Further, the second time domain power corresponding to the second sub-signal may be determined according to the following feasible formula 3:
Figure BDA0002728933110000151
wherein, P _ Time n A second Time domain power, P _ Time, corresponding to the second sub-signal obtained by sliding the preset sliding window for the nth Time n-1 A second time domain power, RSSI, corresponding to the first sub-signal obtained by sliding a preset sliding window for the (n-1) th time WIN For presetting the length of the sliding windowDegree (i.e. the total number of sample signals comprised in the sub-signal). For example, in fig. 4, the maximum value of n may be n1+ n2-1, where n1 is the number of sliding in the continuous receiving period T1, and n2 is the number of sliding in the continuous receiving period T2.
Alternatively, the P _ Time may be determined by equation 4 as follows n-1
Figure BDA0002728933110000152
Wherein, P _ Sample i The time domain power of the sampling point signal with index i in the first sub-signal is obtained.
S306, determining a first time domain power corresponding to the first signal according to the second time domain power corresponding to each of the at least one sub-signal.
Optionally, the first time domain power corresponding to the first signal may be a maximum time domain power of the second time domain power corresponding to each of the at least one sub-signal, and may also be an average time domain power of the second time domain power corresponding to each of the at least one sub-signal.
S307, acquiring the current service state of the terminal equipment, wherein the current service state is any one of a network searching state, a neighbor cell detection state and a synchronization state and an out-of-synchronization state in the data transmission process.
Optionally, the network searching state, the neighboring cell detecting state, the synchronization state, and the out-of-synchronization state have respective corresponding first identifiers. For example, the first identifiers are 00, 01, 10, 11, or A1, A2, A3, A4, etc., respectively. It should be noted that the first identifier is not limited in this application.
For example, when the first identifiers are 00, 01, 10, and 11, respectively, the first identifier corresponding to the network searching state may be 00, the first identifier corresponding to the neighboring cell detecting state may be 01, the first identifier corresponding to the synchronization state may be 10, and the first identifier corresponding to the out-of-synchronization state may be 11.
And S308, determining the working state of the terminal equipment according to the current service state.
Optionally, the operating state (known timing state or unknown timing state) of the terminal device has a corresponding second identifier, for example, the second identifier is 0, 1, or B1, B2, etc., respectively. The second identifier is not limited in this application.
For example, when the second flag is 0 or 1, the second flag corresponding to the known timing state may be 0, and the second flag corresponding to the unknown timing state may be 1.
Optionally, the working state of the terminal device may be determined according to the current service state and the state matching table. The state matching table comprises each first identifier and a second identifier corresponding to each first identifier. For example, the state matching table may be as shown in table 4 below.
TABLE 4
First mark Second identification
00 0
01 0
10 1
11 0
In practice, if the first identifier is 01, the second identifier is determined to be 0, and then the working state of the terminal device is determined to be an unknown timing state according to the second identifier 0.
S309, judging whether the working state of the terminal equipment is a known timing state.
If yes, S310-S311 are executed.
Otherwise, executing S312-S313.
Specifically, whether the operating state is the known timing state may be determined according to the second identifier of the operating state. For example, if the second identifier is 0, the working state is determined to be an unknown timing state; and if the second identifier is 1, determining that the working state is a known timing state.
And S310, determining the actual gain according to the first frequency domain power and the first time domain power.
Wherein the actual gain may be a maximum power of the first frequency-domain power and the first time-domain power.
And S311, acquiring a gain deviation between the actual gain and the expected gain.
And S312, determining a second receiving gain according to the gain deviation and the first receiving gain.
Wherein the second receive gain is a difference between the gain offset and the first receive gain.
And S313, determining the first time domain power as an actual gain.
And S314, acquiring a gain deviation between the actual gain and the expected gain.
And S315, determining a second receiving gain according to the gain deviation and the first receiving gain.
Specifically, the execution method of S314 to S315 is similar to the execution method of S311 to S312, and is not repeated here.
S301-S315 in the embodiment of fig. 3 are merely exemplary to illustrate one possible execution sequence. Alternatively, the execution order of S301 to S313 may be adjusted.
For example, S307 to S309 are executed in sequence, and if yes, S301 to S306 and S310 to S312 are executed in sequence; if not, S304-S306 and S313-S315 are executed in sequence. Specifically, this is not limited in the present application.
For example, S301 to S309 are sequentially executed, if so, S310 is executed, if not, S313 is executed, and after S310 or S313 is executed, S311 to S312 are executed, thereby avoiding execution of S314 to S315.
In the method for determining a reception gain provided in this embodiment: judging whether the working state of the terminal equipment is a known timing state or not, if so, determining an actual gain according to the first frequency domain power and the first time domain power, and determining a second receiving gain according to a gain deviation between the actual gain and an expected gain and the first receiving gain; if not, the first time domain power is determined as an actual gain, the second receiving gain is determined according to the gain deviation between the actual gain and the expected gain and the first receiving gain, the receiving gain can be accurately determined, and the adjusting precision of adjusting the receiving power of the second signal according to the second receiving gain or the second receiving gain is high.
Fig. 6 is a schematic diagram of a plurality of physical resource blocks according to an embodiment of the present disclosure. As shown in fig. 6, for example, includes: blank physical resource blocks (i.e., blank PRBs), physical resource blocks of a physical broadcast channel (i.e., PBCH PRBs), and physical resource blocks of a physical downlink shared channel (i.e., PDSCH PRBs). Wherein, each physical resource block includes at least one resource unit.
In this application, one OFDM symbol includes M (referred to as RRB × 12) first resource units. As shown in fig. 6, the first OFDM symbol in the present application is an OFDM symbol corresponding to L =0 and an OFDM symbol corresponding to L = 5.
Fig. 7 is a schematic structural diagram for acquiring a second time domain power corresponding to a first sub-signal according to an embodiment of the present application. As shown in fig. 7, each sample signal included in the first sub-signal is stored in a preset sliding window according to the preset sliding window. Wherein the window length (number of windows) of the preset sliding window is RSSI WIN I.e. the RSSI can be stored WIN Sample signals each having a respective index, e.g. the first RSSI WIN The index corresponding to each sampling point signal is RSSI WIN -1。
And each sampling point signal has a corresponding address at a storage position in a preset sliding window, and the addresses are sequentially arranged according to the sequence of receiving the sampling point signals.
Below with the first subThe signal and the second sub-signal are used as an example to explain the operation of the structure shown in fig. 7. In the sliding reception process, if the plurality of sampling point signals in the first sub-signal fill the predetermined sliding window (i.e. the predetermined sliding window stores the RSSI) WIN A sampling signal), the sliding window is preset to start sliding. Wherein the end of sliding flag is the end of a continuous receiving period in the first sub-signal or a first time domain power is reset.
It should be noted that, if the plurality of sampling point signals in the first sub-signal are full of the preset sliding window, the second time domain power corresponding to the first sub-signal is calculated, and the first sampling point set in the first sub-signal is read back to the first address (address corresponding to the first window) of the preset sliding window, so as to obtain the time domain total power corresponding to the first sampling point set, obtain the time domain total power corresponding to the second sampling point set, and obtain the time domain power of the second sub-signal according to the time domain total power corresponding to the first sampling point set, the time domain total power corresponding to the second sampling point set, and the second time domain power corresponding to the first sub-signal by using the above formula 3.
It should be noted that, according to formula 3, subtracting the total time domain power corresponding to the first sampling point set from the second time domain power corresponding to the first sub-signal, and adding the total time domain power corresponding to the second sampling point set, so as to avoid calculating the total time domain power corresponding to the first sampling point set repeatedly.
Fig. 8 is a schematic structural diagram of a reception gain determining apparatus according to an embodiment of the present application. As shown in fig. 8, the reception gain determining means 10 includes: an acquisition module 101 and a determination module 102, wherein,
the obtaining module 101 is configured to obtain a first frequency domain power and a first time domain power corresponding to a first signal, where the first signal is received by a terminal device in a first time period;
the determining module 102 is configured to determine, when the working state of the terminal device is a known timing state, a second receiving gain according to the first frequency domain power, the first time domain power, and a first receiving gain stored in advance;
the determining module 102 is further configured to determine a second receiving gain according to the first time domain power and the first receiving gain when the operating state of the terminal device is the unknown timing state; the first reception gain is a reception gain of a first signal received by the terminal device during a first period, and the second reception gain is a reception gain of a second signal received by the terminal device during a second period, which is adjacent to and subsequent to the first period.
The reception gain determining apparatus provided in the embodiment of the present application may implement the technical solutions shown in the foregoing method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
In one possible embodiment, the first signal comprises at least one first orthogonal frequency division multiplexing, OFDM, symbol; the obtaining module 101 is specifically configured to:
acquiring third frequency domain power corresponding to M first resource units corresponding to each first OFDM symbol; m is an integer greater than or equal to 1;
determining a second frequency domain power corresponding to each first OFDM symbol according to the respective third frequency domain power corresponding to each M first resource units corresponding to each first OFDM symbol;
and determining first frequency domain power corresponding to the first signal according to second frequency domain power corresponding to each of the at least one first OFDM symbol.
In one possible implementation, the M first resource units include at least one of:
the method comprises the following steps that N blank resource units, X first resource units corresponding to a cell reference signal CRS, at least one first resource unit corresponding to a primary synchronization signal PSS, at least one first resource unit corresponding to a secondary synchronization signal SSS, at least one first resource unit corresponding to a physical broadcast channel PBCH and Y first resource units corresponding to a physical downlink shared channel PDSCH are adopted; wherein X, N and Y are integers greater than or equal to 1.
In one possible embodiment, the M first resource units include: n blank resource units and X first resource units; in the process of acquiring the third frequency domain power corresponding to each of the N blank resource units, the acquiring module 101 is specifically configured to:
judging whether the M first resource units further comprise Y first resource units and whether Y is larger than or equal to X;
if yes, determining third frequency domain power corresponding to the N blank resource units according to the third frequency domain power corresponding to the Y first resource units;
and if not, determining the third frequency domain power corresponding to the N blank resource units according to the third frequency domain power corresponding to the X first resource units.
In one possible embodiment, for any one of the N white space resource units; in the process of determining the third frequency domain power corresponding to the blank resource unit according to the third frequency domain power corresponding to each of the X first resource units, the obtaining module 101 is specifically configured to:
acquiring a multiple-input multiple-output (MIMO) mode, the number of antennas, a first configuration parameter and a second configuration parameter of terminal equipment;
determining a target data table corresponding to the MIMO mode in at least one preset data table;
searching the number of antennas, the power weight corresponding to the first configuration parameter and the second configuration parameter in a target data table;
and determining the third frequency domain power corresponding to the blank resource unit according to the power weight and the third frequency domain power corresponding to each of the X first resource units.
In one possible embodiment, the first signal includes at least one target signal; the obtaining module 101 is specifically configured to:
receiving at least one target signal in a sliding manner according to a preset sliding window and a sliding step length to obtain at least one sub-signal;
acquiring second time domain power corresponding to at least one sub-signal;
and determining the first time domain power corresponding to the first signal according to the second time domain power corresponding to each of the at least one sub-signal.
In a possible implementation manner, for any adjacent first sub-signal and second sub-signal in the at least one sub-signal, the first sub-signal is obtained before sliding a preset sliding window, and the second sub-signal is obtained after sliding the preset sliding window according to a sliding step length; the obtaining module 101 is specifically configured to:
acquiring second time domain power corresponding to the first sub-signal;
determining a second time domain power corresponding to the second sub-signal according to the time domain total power corresponding to the first sampling point set, the time domain total power corresponding to the second sampling point set and the second time domain power corresponding to the first sub-signal; at least one sample signal included in the first set of samples is present in the first subsignal and absent from the second subsignal, and at least one sample signal included in the second set of samples is absent from the first subsignal and present in the second subsignal.
In a possible implementation, the determining module 102 is specifically configured to:
determining actual gain according to the first frequency domain power and the first time domain power;
acquiring a gain deviation between an actual gain and an expected gain;
a second receive gain is determined based on the gain offset and the first receive gain.
In a possible implementation manner, the obtaining module 101 is further configured to obtain a current service state of the terminal device after obtaining a first frequency domain power and a first time domain power corresponding to the first signal, where the current service state is any one of a network searching state, an adjacent cell detection state, and a synchronization state and an out-of-synchronization state in a data transmission process;
the determining module 102 is further configured to determine a working state of the terminal device according to the current service state.
The reception gain determining apparatus provided in the embodiment of the present application may implement the technical solutions shown in the foregoing method embodiments, and the implementation principle and beneficial effects are similar, which are not described herein again.
Fig. 9 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application. As shown in fig. 8, the terminal device 20 includes: a processor 201 and a memory 202,
the processor 201 and the memory 202 are connected by a bus 203.
In a particular implementation, the processor 201 executes computer-executable instructions stored by the memory 202, causing the processor 201 to perform the receive gain determination method as described above.
For a specific implementation process of the processor 201, reference may be made to the above method embodiments, which have similar implementation principles and technical effects, and details of this embodiment are not described herein again.
In the embodiment shown in fig. 8, it is understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the methods disclosed in the incorporated application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
The memory may comprise high speed RAM memory, and may also include non-volatile storage NVM, such as disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the processor executes the computer-executable instructions, the method for determining the receiving gain is implemented.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A readable storage medium may be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
The division of the unit is only a logical division, and other division ways are possible in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A method for determining a receive gain, the method comprising:
acquiring a first frequency domain power and a first time domain power corresponding to a first signal, wherein the first signal is received by terminal equipment in a first time period;
when the working state of the terminal equipment is a known timing state, determining a second receiving gain according to the first frequency domain power, the first time domain power and a first receiving gain stored in advance;
when the working state of the terminal equipment is an unknown timing state, determining a second receiving gain according to the first time domain power and the first receiving gain; the first receive gain is a receive gain of a first signal received by the terminal device during a first time period, the second receive gain is a receive gain of a second signal received by the terminal device during a second time period, the second time period being adjacent to and subsequent to the first time period;
the first signal comprises at least one target signal; acquiring a first time domain power corresponding to a first signal, including:
receiving the at least one target signal in a sliding manner according to a preset sliding window and a sliding step length to obtain at least one sub-signal;
acquiring second time domain power corresponding to the at least one sub-signal;
and determining the first time domain power corresponding to the first signal according to the second time domain power corresponding to the at least one sub-signal.
2. The method of claim 1, wherein the first signal comprises at least one first Orthogonal Frequency Division Multiplexing (OFDM) symbol; acquiring a first frequency domain power corresponding to a first signal, including:
acquiring third frequency domain power corresponding to M first resource units corresponding to each first OFDM symbol; m is an integer greater than or equal to 1;
determining a second frequency domain power corresponding to each first OFDM symbol according to the respective third frequency domain power corresponding to each of the M first resource units corresponding to each first OFDM symbol;
and determining a first frequency domain power corresponding to the first signal according to a second frequency domain power corresponding to each of the at least one first OFDM symbol.
3. The method of claim 2, wherein the M first resource units comprise at least one of:
the method comprises the following steps that N blank resource units, X first resource units corresponding to a cell reference signal CRS, at least one first resource unit corresponding to a primary synchronization signal PSS, at least one first resource unit corresponding to a secondary synchronization signal SSS, at least one first resource unit corresponding to a physical broadcast channel PBCH and Y first resource units corresponding to a physical downlink shared channel PDSCH are adopted; wherein X, N and Y are integers greater than or equal to 1.
4. The method of claim 3, wherein the M first resource units comprise: the N blank resource units and the X first resource units; acquiring third frequency domain power corresponding to each of the N blank resource units, including:
judging whether the M first resource units further comprise the Y first resource units and whether the Y is larger than or equal to the X;
if yes, determining third frequency domain power corresponding to the N blank resource units according to the third frequency domain power corresponding to the Y first resource units;
and if not, determining the third frequency domain power corresponding to the N blank resource units according to the third frequency domain power corresponding to the X first resource units.
5. The method of claim 4, wherein for any one of the N white space resource units; determining a third frequency domain power corresponding to the blank resource unit according to the third frequency domain power corresponding to each of the X first resource units, including:
acquiring a multiple-input multiple-output (MIMO) mode, the number of antennas, a first configuration parameter and a second configuration parameter of the terminal equipment;
determining a target data table corresponding to the MIMO mode in at least one preset data table;
searching the power weights corresponding to the number of the antennas, the first configuration parameter and the second configuration parameter in the target data table;
and determining the third frequency domain power corresponding to the blank resource unit according to the power weight and the third frequency domain power corresponding to the X first resource units.
6. The method according to any one of claims 1 to 5, wherein for any adjacent first sub-signal and second sub-signal of the at least one sub-signal, the first sub-signal is obtained before sliding the preset sliding window, and the second sub-signal is obtained after sliding the preset sliding window according to the sliding step; acquiring a second time domain power corresponding to the second sub-signal, including:
acquiring second time domain power corresponding to the first sub-signal;
determining a second time domain power corresponding to a second sub-signal according to the time domain total power corresponding to the first sampling point set, the time domain total power corresponding to the second sampling point set and the second time domain power corresponding to the first sub-signal; at least one sample signal included in the first set of samples is present in the first subsignal and absent in the second subsignal, and at least one sample signal included in the second set of samples is absent in the first subsignal and present in the second subsignal.
7. The method according to any one of claims 1 to 5, wherein determining a second reception gain based on the first frequency-domain power, the first time-domain power and a prestored first reception gain comprises:
determining an actual gain according to the first frequency domain power and the first time domain power;
acquiring a gain deviation between the actual gain and the expected gain;
determining the second receive gain based on the gain offset and the first receive gain.
8. The method according to any one of claims 1 to 5, wherein after obtaining the first frequency domain power and the first time domain power corresponding to the first signal, further comprising:
acquiring a current service state of the terminal equipment, wherein the current service state is any one of a network searching state, a neighbor cell detection state and a synchronization state and an out-of-synchronization state in a data transmission process;
and determining the working state of the terminal equipment according to the current service state.
9. A receive gain determination apparatus, the apparatus comprising: an acquisition module and a determination module, wherein,
the acquisition module is used for acquiring a first frequency domain power and a first time domain power corresponding to a first signal, wherein the first signal is received by the terminal equipment in a first time period;
the determining module is configured to determine a second receiving gain according to the first frequency domain power, the first time domain power, and a first receiving gain stored in advance when the operating state of the terminal device is a known timing state;
the determining module is further configured to determine a second receiving gain according to the first time domain power and the first receiving gain when the operating state of the terminal device is an unknown timing state; the first reception gain is a reception gain of a first signal received by the terminal device during a first period, the second reception gain is a reception gain of a second signal received by the terminal device during a second period, the second period being adjacent to and subsequent to the first period;
the first signal comprises at least one target signal; the acquisition module is specifically configured to:
receiving the at least one target signal in a sliding manner according to a preset sliding window and a sliding step length to obtain at least one sub-signal;
acquiring second time domain power corresponding to the at least one sub-signal;
and determining the first time domain power corresponding to the first signal according to the second time domain power corresponding to the at least one sub-signal.
10. A terminal device, comprising: a processor and a memory;
the memory stores computer execution instructions;
the processor executing computer-executable instructions stored by the memory causes the processor to perform the receive gain determination method of any of claims 1 to 8.
11. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, implement the receive gain determination method of any one of claims 1 to 8.
CN202011112137.8A 2020-10-16 2020-10-16 Method, device and equipment for determining receiving gain and storage medium Active CN112235227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011112137.8A CN112235227B (en) 2020-10-16 2020-10-16 Method, device and equipment for determining receiving gain and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011112137.8A CN112235227B (en) 2020-10-16 2020-10-16 Method, device and equipment for determining receiving gain and storage medium

Publications (2)

Publication Number Publication Date
CN112235227A CN112235227A (en) 2021-01-15
CN112235227B true CN112235227B (en) 2023-04-07

Family

ID=74117875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011112137.8A Active CN112235227B (en) 2020-10-16 2020-10-16 Method, device and equipment for determining receiving gain and storage medium

Country Status (1)

Country Link
CN (1) CN112235227B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554583B (en) * 2022-04-01 2024-06-07 上海星思半导体有限责任公司 Signal power adjustment method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011123694A1 (en) * 2010-04-02 2011-10-06 Qualcomm Incorporated Automatic gain control acquisition in time division duplex systems
CN102546505A (en) * 2010-12-30 2012-07-04 联芯科技有限公司 Automatic gain control method and device
EP2663140A1 (en) * 2012-05-10 2013-11-13 BlackBerry Limited Power based gain control adjustment
CN108540277A (en) * 2018-03-13 2018-09-14 清华大学 A kind of the determination method and terminal device of transmission power
CN109891981A (en) * 2019-01-09 2019-06-14 北京小米移动软件有限公司 Resource allocation methods and device
CN111586829A (en) * 2020-05-28 2020-08-25 Oppo广东移动通信有限公司 Automatic gain control method, terminal and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2458542A (en) * 2008-03-28 2009-09-30 Nokia Corp Automatic gain control system
CN103188787B (en) * 2011-12-31 2016-03-30 重庆重邮信科通信技术有限公司 A kind of auto gain control method and device
CN103023852B (en) * 2012-12-26 2015-02-18 东南大学 Fast digital automatic gain control method for orthogonal frequency division multiplexing receiver
CN106034102B (en) * 2015-03-16 2019-04-12 苏州简约纳电子有限公司 A kind of method of adjustment of LTE terminal reception gain
CN106162682B (en) * 2015-03-25 2019-08-13 苏州简约纳电子有限公司 The method and apparatus of automatic growth control AGC adjustment
CN111355678B (en) * 2018-12-24 2022-05-20 北京小米松果电子有限公司 Automatic gain control method, automatic gain control device, storage medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011123694A1 (en) * 2010-04-02 2011-10-06 Qualcomm Incorporated Automatic gain control acquisition in time division duplex systems
CN102546505A (en) * 2010-12-30 2012-07-04 联芯科技有限公司 Automatic gain control method and device
EP2663140A1 (en) * 2012-05-10 2013-11-13 BlackBerry Limited Power based gain control adjustment
CN108540277A (en) * 2018-03-13 2018-09-14 清华大学 A kind of the determination method and terminal device of transmission power
CN109891981A (en) * 2019-01-09 2019-06-14 北京小米移动软件有限公司 Resource allocation methods and device
CN111586829A (en) * 2020-05-28 2020-08-25 Oppo广东移动通信有限公司 Automatic gain control method, terminal and storage medium

Also Published As

Publication number Publication date
CN112235227A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
EP2218227B1 (en) Channel estimation for synchronized cells in a cellular communication system
KR101462820B1 (en) Base station device, integrated circuit and receiving method
EP3927035B1 (en) Signal sending method, signal receiving method, network device and terminal
AU2018201661A1 (en) Enhanced PRACH preamble format
CN109417541B (en) Method and apparatus for signal detection
EP3499945B1 (en) Method and system for determining baseband parameter
CN107113757B (en) Uplink synchronization without preamble in SC-FDMA
CN107733829B (en) Method and equipment for sending and detecting synchronous signal
EP3249968A1 (en) Base station, mobile station, wireless communications system, and wireless communications method
CN107820273A (en) The method and device of sidelink synchronizing signal in a kind of detection D2D
EP4037228A1 (en) Methods for sending and receiving signals and terminal
CN112235227B (en) Method, device and equipment for determining receiving gain and storage medium
CN111432414B (en) Method and device for determining frequency spectrum resource utilization rate
US11974259B2 (en) Positioning reference signal generation method and apparatus, communication system, and storage medium
AU2022201006A1 (en) Reference signal transmission method and device
CN114268530A (en) Signal sending and receiving method, terminal and device
EP3487139B1 (en) Downlink signal sending and receiving methods, sending end device, and receiving end device
CN102271384B (en) Primary cell searching method for long term evolution (LTE) system
CN103532884B (en) A kind of uplink interference restraining device and method in C-RAN framework wireless access network
CN102130861B (en) Method for determining channel correlation between terminals and base station
CN115021858B (en) Interference suppression method and related device, base station and storage medium
CN114557113B (en) Random access preamble detection for propagation delay
CN114173360B (en) Method, device and equipment for transmitting data and determining synchronous signal block index
CN114257480B (en) Frequency offset estimation method and device, storage medium and terminal
CN113132278B (en) Channel smoothing method and system of wireless OFDM system

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
GR01 Patent grant
GR01 Patent grant