CN112039614B - Signal intensity calculation method and device, terminal and storage medium - Google Patents

Signal intensity calculation method and device, terminal and storage medium Download PDF

Info

Publication number
CN112039614B
CN112039614B CN202010930435.1A CN202010930435A CN112039614B CN 112039614 B CN112039614 B CN 112039614B CN 202010930435 A CN202010930435 A CN 202010930435A CN 112039614 B CN112039614 B CN 112039614B
Authority
CN
China
Prior art keywords
signal strength
received signal
detected
value
time
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
CN202010930435.1A
Other languages
Chinese (zh)
Other versions
CN112039614A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010930435.1A priority Critical patent/CN112039614B/en
Publication of CN112039614A publication Critical patent/CN112039614A/en
Application granted granted Critical
Publication of CN112039614B publication Critical patent/CN112039614B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuits Of Receivers In General (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a method and a device for calculating signal intensity, a terminal and a storage medium, and belongs to the technical field of computers. The method can acquire the first N RSSIs with the strongest signal strength from the to-be-detected time-frequency resources needing to determine the RSSI, and divide the N RSSIs into a group with a larger numerical value and a group with a smaller numerical value. The average value of the group of RSSI with the larger numerical value is subtracted from the average value of the group of RSSI with the smaller numerical value to obtain a target difference value, and when the target difference value is larger than a preset threshold value, the average value of the group of RSSI with the smaller numerical value is used as a received signal strength indication of the time-frequency resource to be detected, so that when the time-frequency resource to be detected is influenced by burst interference with obviously larger power, the reliability of the system for calculating the RSSI of the time-frequency resource to be detected is ensured.

Description

Signal intensity calculation method and device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method, a device, a terminal and a storage medium for calculating signal strength.
Background
With the development of the 5G NR (New Radio, New air interface) technology, configuring a suitable gain for a signal received by a receiver is an important approach for improving the quality of a received signal.
In the related art, when a receiver receives a burst interference, a system calculates a high probability of interference Resource Blocks (RBs) as a statistic when a Received Signal Strength Indication (RSSI) of the Received Signal is Received. The RSSI of the received signal is obtained by averaging the power of the time-frequency resource of the received signal or the filtering power, so that the RSSI of the received signal is inaccurate due to the influence of the interference resource block with high probability, and the received signal is influenced to obtain proper gain.
Disclosure of Invention
The embodiment of the application provides a method and a device for calculating signal intensity, a terminal and a storage medium. The technical scheme is as follows:
according to an aspect of the present application, there is provided a method for calculating a signal strength, the method including:
acquiring a received signal intensity indication of a resource block on each symbol from a time-frequency resource to be detected;
determining the first N received signal strength indicators with the strongest signal strength from the received signal strength indicators, wherein N is a positive integer greater than or equal to 2;
acquiring a first group of received signal strength indications and a second group of received signal strength indications according to the first N received signal strength indications, wherein the number of the first group of received signal strength indications is equal to that of the second group of received signal strength indications, and the minimum value in the first group of received signal strength indications is greater than or equal to the maximum value in the second group of received signal strength indications;
determining the average value of the second group of received signal strength indications as the received signal strength indication of the time-frequency resource to be detected in response to a target difference value being larger than a predetermined threshold value, wherein the target difference value is a difference value between the average value of the first group of received signal strength indications and the average value of the second group of received signal strength indications.
According to another aspect of the present application, there is provided a signal strength calculating apparatus, the apparatus including:
the resource block acquisition module is used for acquiring the received signal intensity indication of the resource block on each symbol from the time-frequency resource to be detected;
a first determining module, configured to determine, from the received signal strength indications, first N received signal strength indications with strongest signal strength, where N is a positive integer greater than or equal to 2;
a dividing module, configured to obtain a first group of received signal strength indicators and a second group of received signal strength indicators according to the first N received signal strength indicators, where the number of the first group of received signal strength indicators is equal to the number of the second group of received signal strength indicators, and a minimum value in the first group of received signal strength indicators is greater than or equal to a maximum value in the second group of received signal strength indicators;
a second determining module, configured to determine, in response to a target difference being greater than a predetermined threshold, an average value of the second group of received signal strength indications as a received signal strength indication of the time-frequency resource to be detected, where the target difference is a difference between the average value of the first group of received signal strength indications and the average value of the second group of received signal strength indications.
According to another aspect of the present application, there is provided a terminal comprising a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the signal strength calculation method according to the aspects of the present application.
According to another aspect of the present application, there is provided a computer-readable storage medium having at least one instruction stored therein, the instruction being loaded and executed by a processor to implement the signal strength calculation method as provided in the various aspects of the present application.
According to one aspect of the present application, a computer program product is provided that includes computer instructions stored in a computer readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the methods provided in the various alternative implementations of the computational aspect of signal strength described above.
According to the embodiment of the application, the first N RSSIs with the strongest signal strength can be obtained from the to-be-detected time frequency resources needing to determine the RSSI, and the N RSSIs are divided into a group with a larger numerical value and a group with a smaller numerical value. The average value of the group of RSSI with the larger numerical value is subtracted from the average value of the group of RSSI with the smaller numerical value to obtain a target difference value, and when the target difference value is larger than a preset threshold value, the average value of the group of RSSI with the smaller numerical value is used as a received signal strength indication of the time-frequency resource to be detected, so that when the time-frequency resource to be detected is influenced by burst interference with obviously larger power, the reliability of the system for calculating the RSSI of the time-frequency resource to be detected is ensured.
Drawings
In order to more clearly describe the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a block diagram of a terminal according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart of a method for calculating signal strength provided by an exemplary embodiment of the present application;
fig. 3 is a flowchart of a method for updating values in respective storage spaces by a terminal according to an exemplary embodiment of the present application;
fig. 4 is a frame diagram of a time-frequency resource according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a signal strength calculating apparatus according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "connected" and "connected" are to be interpreted broadly, e.g., as being fixed or detachable or integrally connected; can be mechanically or electrically connected; may be directly connected or indirectly connected through an intermediate. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In order to make the solution shown in the embodiments of the present application easy to understand, several terms appearing in the embodiments of the present application will be described below.
And (3) detecting time-frequency resources to be detected: for indicating a resource set consisting of several resource blocks. In one possible approach, the time-frequency resources to be detected are a set of resource blocks that are continuous in the time domain and continuous in the frequency domain. In another possible approach, the time-frequency resource to be detected is a set of resource blocks discrete from each other in the time domain and/or the frequency domain.
Resource block: a resource unit having a specified time domain length and frequency domain length. In one possible implementation, one resource block occupies 1 Symbol (Symbol) in the time domain length, and one resource block occupies 12 subcarriers in the frequency domain length. In another possible approach, a resource block occupies a symbols in the time domain, and occupies b subcarriers in the frequency domain, where a and b are positive integers.
Received Signal Strength Indication (RSSI): for indicating the radio link quality and whether to increase the broadcast transmission strength.
First set of received signal strength indications: including a set of multiple RSSIs. In the set, the RSSI values with the stronger signal strength in the first half of the first N received signal strength indications with the strongest signal strength of the time-frequency resource to be detected are included. For example, when N is an even number, the first set of received signal strength indications includes the first N/2 RSSIs with the strongest signal strength. When N is an odd number, the first set of received signal strength indications includes the first (N-1)/2 RSSIs with the strongest signal strength.
Second set of received signal strength indications: including a set of multiple RSSIs. In the set, the RSSI values with the weaker signal strength in the second half of the first N received signal strength indications with the strongest signal strength of the time-frequency resource to be detected are included. For example, when N is an even number, the second set of received signal strength indicators includes the last N/2 RSSIs with weaker signal strengths. When N is an odd number, the second set of RSSI indications includes the last (N +1)/2 RSSI values for which the signal strength is weak.
Referring to table one, table one shows a method of dividing a first set of rssi and a second set of rssi based on N rssi. Wherein N is an odd number.
Watch 1
Figure BDA0002670023350000051
In Table one, the values of r1 through r5 are sequentially enhanced. In one grouping approach provided herein, the first set of received signal strength indicators includes RSSI4 and RSSI5, and the second set of received signal strength indicators includes RSSI1, RSSI2, and RSSI 3.
Referring to table two, a method for dividing the first set of rssi and the second set of rssi based on the N rssi is shown. Wherein N is an even number.
Watch two
Figure BDA0002670023350000052
In table two, the values of r6 to r8 are sequentially enhanced. In one grouping approach provided herein, the first set of received signal strength indicators includes RSSI8 and RSSI9, and the second set of received signal strength indicators includes RSSI6 and RSSI 7.
For example, the method for calculating signal strength according to the embodiment of the present application may be applied to a terminal, where the terminal has a display screen and a function of calculating signal strength. The terminal may include a mobile phone, a tablet computer, a laptop computer, a desktop computer, an all-in-one computer, a server, a workstation, a television, a set-top box, smart glasses, a smart watch, a digital camera, an MP4 player terminal, an MP5 player terminal, a learning machine, a point-to-read machine, an electronic book, an electronic dictionary, a vehicle-mounted terminal, a Virtual Reality (VR) player terminal, an Augmented Reality (AR) player terminal, or the like.
Referring to fig. 1, fig. 1 is a block diagram of a terminal according to an exemplary embodiment of the present application, and as shown in fig. 1, the terminal includes a processor 120 and a memory 140, where the memory 140 stores at least one instruction, and the instruction is loaded and executed by the processor 120 to implement a signal strength calculation method according to various method embodiments of the present application.
In the present application, the terminal 100 is an electronic device having a function of calculating signal strength. When the terminal 100 obtains the received signal strength indication of the resource block on each symbol from the time-frequency resource to be detected, the terminal 100 can determine the first N received signal strength indications with the strongest signal strength from the received signal strength indications, where N is a positive integer greater than or equal to 2; acquiring a first group of received signal strength indications and a second group of received signal strength indications according to the first N received signal strength indications, wherein the minimum value in the first group of received signal strength indications is greater than or equal to the maximum value in the second group of received signal strength indications; determining the average value of the second group of received signal strength indications as the received signal strength indication of the time-frequency resource to be detected in response to a target difference value being larger than a predetermined threshold value, wherein the target difference value is a difference value between the average value of the first group of received signal strength indications and the average value of the second group of received signal strength indications.
Processor 120 may include one or more processing cores. The processor 120 connects various parts within the overall terminal 100 using various interfaces and lines, and performs various functions of the terminal 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 140 and calling data stored in the memory 140. Optionally, the processor 120 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 120 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 120, but may be implemented by a single chip.
The Memory 140 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory 140 includes a non-transitory computer-readable medium. The memory 140 may be used to store instructions, programs, code sets, or instruction sets. The memory 140 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like; the storage data area may store data and the like referred to in the following respective method embodiments.
Referring to fig. 2, fig. 2 is a flowchart of a method for calculating signal strength according to an exemplary embodiment of the present application. The signal strength calculation method can be applied to the terminal shown above. In fig. 2, the method for calculating the signal strength includes:
step 210, obtaining the received signal strength indication of the resource block on each symbol from the time frequency resource to be detected.
In the embodiment of the application, the terminal can receive signals, and the signals can occupy corresponding time-frequency resources. The terminal may analyze the time-frequency resource to be detected, and obtain a received signal strength indicator (i.e., RSSI) of the resource block on each symbol from the time-frequency resource to be detected.
For example, if the video resource to be detected includes 7 consecutive symbols, each symbol includes 20 resource blocks. In this embodiment, the terminal can calculate the RSSI of each of the 20 resource blocks in each symbol. In this application scenario, the terminal can obtain the RSSI of 140 resource blocks of 7 × 20 in total.
In addition, the time-frequency resource to be detected can be obtained from the time window. The time window may be a continuous period on a time axis. For example, a period of 1 millisecond in length, a period of 2 milliseconds in length, or a period of 5 milliseconds in length.
Step 220, determining the first N received signal strength indicators with the strongest signal strength from the received signal strength indicators, where N is a positive integer greater than or equal to 2.
Illustratively, the terminal can determine the first N received signal strength indicators with the strongest signal strength from the RSSI calculated in the above steps, where N is a positive integer greater than or equal to 2.
Take the example of 140 resource blocks of 7 × 20 as mentioned in step 210. In a possible acquisition mode, the terminal selects the first N RSSIs with the strongest signal strength from the 140 resource blocks of 7 × 20.
In another possible acquisition, the terminal will create N memory spaces with an initial value of zero in the memory space. Wherein one storage space may indicate a storage space with a specified data capacity. The terminal acquires the first N maximum RSSI resource blocks in the ith symbol of the time-frequency resource to be detected. And in response to that the jth RSSI in the ith symbol is larger than the value in the jth storage space, the terminal updates the value in the jth storage space to the jth RSSI in the ith symbol.
For example, the time-frequency resource to be detected includes 7 symbols, and each symbol includes 20 resource blocks. And the first N resource blocks with the maximum RSSI are selected in each symbol. At this time, the terminal detects resource blocks 7 × N in common. 4 storage spaces with zero initial values are created in the storage spaces, namely a 1 st storage space, a 2 nd storage space, a 3 rd storage space and a 4 th storage space.
Wherein, the 1 st storage space is used for storing the maximum value of the 1 st RSSI in each symbol. The 2 nd storage space is used to store the maximum value of the 2 nd maximum RSSI in each symbol. The 3 rd storage space is used for storing the maximum value of the 3 rd maximum RSSI in each symbol. The 4 th storage space is used to store the maximum value of the 4 th maximum RSSI in each symbol.
Step 230, dividing the N rssi into a first set of rssi and a second set of rssi, where a minimum value of the first set of rssi is greater than or equal to a maximum value of the second set of rssi.
In this embodiment of the application, when the terminal has acquired the first N received signal strength indications, the terminal can divide the N RSSI into a first group of RSSI and a second group of RSSI. Wherein the RSSI of the minimum of the first set of RSSIs is greater than the RSSI of the maximum of the second set of RSSIs.
Step 240, in response to that the target difference is greater than the predetermined threshold, determining the average value of the second group of received signal strength indications as the received signal strength indication of the time-frequency resource to be detected, where the target difference is a difference between the average value of the first group of received signal strength indications and the average value of the second group of received signal strength indications.
Illustratively, the terminal may determine the average value of the second received signal strength indication as the received signal strength indication of the time-frequency resource to be detected when a difference between the average value of the first group of received signal strength indications and the average value of the second group of received signal strength indications is greater than a preset difference.
For example, taking the predetermined threshold as 30dBm, when the first set of RSSI includes 2 RSSI, respectively-90 dBm and-100 dBm. When the second set of rssi's includes 2 rssi's, respectively-150 dBm and-160 dBm. In this case, the average of the first set of received signal strength indicators is-95 dBm, the average of the second set of received signal strength indicators is-155 dBm, and the target difference is 60 dBm. And the target difference value is 60dBm which is larger than the preset threshold value and is 30dBm, and the terminal determines the-95 dBm as the received signal strength indication of the time-frequency resource to be detected.
In summary, the method for calculating signal strength provided in this embodiment can acquire the first N RSSIs with the strongest signal strength from the to-be-detected time-frequency resource for which the RSSI needs to be determined, and divide the N RSSIs into a group with a larger numerical value and a group with a smaller numerical value. The average value of the group of RSSI with the larger numerical value is subtracted from the average value of the group of RSSI with the smaller numerical value to obtain a target difference value, and when the target difference value is larger than a preset threshold value, the average value of the group of RSSI with the smaller numerical value is used as a received signal strength indication of the time-frequency resource to be detected, so that when the time-frequency resource to be detected is influenced by burst interference with obviously larger power, the reliability of the system for calculating the RSSI of the time-frequency resource to be detected is ensured.
Please refer to fig. 3, which is a flowchart illustrating a method for calculating signal strength according to another exemplary embodiment of the present application. The signal strength calculation method can be applied to the terminal shown above. In fig. 3, the method for calculating the signal strength includes:
step 310, obtaining the received signal strength indication of the resource block on each symbol from the time-frequency resource to be detected.
In the embodiment of the present application, the execution process of step 310 is the same as the execution process of step 210, and is not described herein again.
In step 321, N memory spaces with an initial value of zero are created.
In the embodiment of the application, the received signal strength indication of the time-frequency resource to be detected is calculated conveniently. The terminal may create N memory spaces with an initial value of zero in the physical memory element. In this example, the storage space may be a storage unit having a fixed size. The purpose of the terminal to create N storage spaces with an initial value of zero is to be able to store N values independently.
Step 322, the first N resource blocks with the largest received signal strength indication in the ith symbol in the time frequency resource to be detected are obtained.
Wherein i is a positive integer.
Schematically, when processing the time-frequency resource to be detected, the terminal may analyze the time-frequency resource in units of symbols. For example, when the time-frequency resource to be detected includes 20 symbols, the terminal can analyze all the 20 symbols. In each symbol, the terminal calculates the first N values of the maximum RSSI. Taking N equal to 4 as an example, the terminal calculates the first 4 values of the maximum RSSI in one symbol. In this example, the terminal can obtain 20 sets of RSSI resource blocks, and each set of resource blocks includes 4 RSSI values.
Step 323, in response to the jth largest rssi in the ith symbol being greater than the jth value in the jth memory space, updating the jth value in the jth memory space to the jth largest rssi in the ith symbol.
Wherein j is a positive integer of 1 or more and N or less.
Illustratively, after acquiring the RSSI of the first N bits in a symbol, the terminal can compare the RSSI of the first N bits with the values in the N created memory spaces. If the RSSI in the current symbol is large, the RSSI is used to replace the value in the memory space.
For example, taking N equal to 4 and the time-frequency resource to be detected includes 20 symbols, the updating process of the values in the 4 storage spaces is described. Please refer to table three, which is the initial state of the memory space, and each value is 0.
Watch III
Figure BDA0002670023350000091
Please refer to table four, which is an RSSI value of a resource block with the first 4 RSSI values respectively in the time-frequency resource to be detected, which includes 20 symbols.
Watch four
Symbol 1 Symbol 2 Symbol 3 Symbol 4 Symbol 5
97,95,88,86 150,99,92,86 94,92,90,88 99,97,92,91 91,90,85,81
Symbol 6 Symbol 7 Symbol 8 Symbol 9 Symbol 10
91,88,87,86 156,111,91,91 99,96,94,91 98,95,92,88 94,92,86,84
Symbol 11 Symbol 12 Symbol 13 Symbol 14 Symbol 15
97,93,91,88 99,98,96,84 99,92,90,86 96,94,89,88 97,96,89,88
Symbol 16 Symbol 17 Symbol 18 Symbol 19 Symbol 20
99,97,90,84 99,97,94,86 92,91,82,81 95,93,91,87 96,94,91,83
In table four, the first 4 values of maximum RSSI in the first symbol are 97dBm, 95dBm, 88dBm, and 86dBm, respectively. According to the table reading mode, the maximum values of the first 4 RSSIs in other symbols can be obtained from the table four. Taking symbol 1 as an example, how the 4 RSSI values in symbol 1 update the values in the 4 storage spaces is described. If the maximum value 97dBm of the 1 st symbol is larger than the value 0 of the 1 st memory space by 97dBm, 97dBm is stored as a new value of the 1 st memory space. According to the same method, the values in the 2 nd storage space, the 3 rd storage space and the 4 th storage space are updated in sequence, and the values of the 4 storage spaces after the current update are shown in the following table five.
Watch five
Figure BDA0002670023350000101
In short, when the 20 sets of RSSI data are updated in the 4 storage spaces, the data in each set of RSSI data is only compared with the values in its corresponding storage space, rather than being compared with each of the 4 storage spaces. Under the action of the data shown in table three and table four, the terminal obtains the final values in 4 storage spaces, please refer to the contents shown in table six.
Watch six
Figure BDA0002670023350000102
In the embodiment of the application, the terminal can determine the number M of the first group of RSSIs and the number N-M of the second group of RSSIs in two ways. In the first mode, the terminal will determine the value of M according to the type of the interference environment. In mode two, the terminal will determine the value of M by the parity of N. Illustratively, the terminal will implement the first mode by performing step 331, step 332 and step 333. The terminal will implement the second embodiment by performing step 341 or step 342.
And 331, determining the interference environment of the time-frequency resource to be detected.
Schematically, the terminal can determine the interference environment of the time-frequency resource to be detected. In the communication field, in different interference environments, the situation that a resource block is interfered in a single symbol is different.
Step 332, determining the number M of the maximum interference resource blocks in the corresponding single symbol according to the type of the interference environment.
Wherein M is less than N.
Illustratively, the terminal may preset a corresponding relationship between the type of the interference environment and the number M of the maximum interference resource blocks in a single symbol.
Different interference types correspond to the number M of the largest interfering resource blocks in different single symbols. Illustratively, when the interference type is narrowband interference, the value of M is 2. When the interference type is other interference, M may be set to 1, 3, 4 or other positive integers, which is not limited in this application.
It should be noted that the narrowband interference is interference with a narrower bandwidth, and the bandwidth of the narrowband interference is smaller than the bandwidth of the system where the time-frequency resource to be detected is located. Optionally, the bandwidth of the narrowband interference may be one order of magnitude or two orders of magnitude smaller than the bandwidth of the system where the time-frequency resource to be detected is located. When the interference type is narrowband interference, the number of the interfered RSSIs in one interfered resource block is usually 1, and in an extreme case, 2. For the scene, the number of the M is set to be 2, and the RSSI with the abnormality is divided into a first group of RSSIs.
It should be noted that the interference type can be distinguished according to the size of the bandwidth of the signal causing the interference.
In the embodiment of the present application, the RSSI value causing interference may be far higher than the RSSI value of a normal resource block. Therefore, in consideration of an extreme case, that is, when the number of the most interfering resource blocks occurs in the same symbol, the terminal can set all the most interfering resource blocks in the symbol in the first set of RSSI.
And step 341, when N is an even number, M is equal to N/2.
And step 342, when N is an odd number, M is (N-1)/2.
In the embodiment of the present application, the value of M can be determined according to the parity of N.
In this embodiment of the application, when N is an even number, M is equal to N/2, the terminal can divide the first N RSSIs into the first N/2 with a larger numerical value and the second N/2 with a smaller numerical value, so that the number of samples of the first group of RSSIs is equal to the number of samples of the second group of RSSIs, and the persuasion of comparison after averaging the first group of RSSIs and the second group of RSSIs in the subsequent process is improved.
In the embodiment of the present application, when N is an odd number, M is (N-1)/2, and the number of the first group of RSSIs is greater than the number of the second group of RSSIs by 1. In other words, the number of the first group of RSSIs can be controlled, the phenomenon that more normal RSSI of the resource block is mixed in the first group of RSSIs is avoided, the abnormal RSSI is diluted, and the elimination of the abnormal RSSI of the resource block is influenced by the scheme.
After the terminal determines the value of M in the first and second manners, the terminal performs steps 351 and 352 to divide the N RSSIs to obtain a first group of RSSIs and a second group of RSSIs.
In step 351, the first M received signal strength indicators with a larger value among the first N received signal strength indicators are obtained as the first group of received signal strength indicators.
In step 352, the last N-M rssi with a smaller value among the first N rssi is obtained as the second set of rssi.
In the embodiment of the application, after the terminal has acquired N RSSIs, the first M larger ones of the N RSSIs are divided into a first group of RSSIs, and the second N-M other smaller ones of the N-M RSSIs are divided into a second group of RSSIs.
For example, N is 4, and the specific values of the first N RSSIs recorded in the storage space are shown in table six. In a specific application, if M is 2, the first set of RSSIs includes 156dBm and 111dBm, and the second set of RSSIs includes 96dBm and 91 dBm.
And 361, obtaining the target power corresponding to the time-frequency resource to be detected.
And step 362, obtaining the gain corresponding to the time-frequency resource to be detected according to the target power corresponding to the time-frequency resource to be detected and the received signal strength indication of the time-frequency resource to be detected.
And step 363, processing the time frequency resource to be detected according to the gain.
In the embodiment of the application, the terminal can obtain the target power corresponding to the time-frequency resource to be detected. It should be noted that the target power corresponding to the time-frequency resource to be detected is a value that is set for implementation. And the terminal acquires the gain corresponding to the time-frequency resource to be detected according to the target power and the RSSI of the time-frequency resource to be detected, and processes the time-frequency resource to be detected according to the gain.
In summary, in this embodiment, a storage space with a size of N can be created according to the value of N, and the value of the first N RSSI values in each symbol is stored in the storage space, and after the whole processing of the time-frequency resource to be detected, the value of the RSSI at each position in the time-frequency resource to be detected is stored in the storage space. For example, the maximum value of the maximum RSSI value in each symbol is stored in the 1 st storage space, the maximum value of the 2 nd maximum RSSI value in each symbol is stored in the 2 nd storage space, the maximum value of the nth maximum RSSI value in each symbol is stored in the nth storage space.
Illustratively, the NR system defines a resource network. If the NR system has burst interference, the terminal may calculate the power of the interference resource block together at a high probability when calculating the RSSI of the time-frequency resource to be detected. In this scenario, gains of SSB (synchronization signal and PBCH block) or BWP (carrier bandwidth part) signals in the time-frequency resource to be detected are interfered, and the gains obtained by the terminal cannot achieve a good gain effect of the signals.
In another scenario, SS block burst set (set of synchronization signal and PBCH block bursts) in an NR system supports different periodic configurations. Meanwhile, since the SSB is bursty, the power of the blank resource block is easily counted in calculating the RSSI, so that the gain obtained by the terminal cannot achieve a good gain effect of the signal.
In some application modes, the RSSI of the time-frequency resource to be detected is the RSSI obtained by averaging or filtering power of all symbols or part of symbols in a time window (within 5 ms or 1 ms). Since the above scheme may be interfered by the RSSI of the interfering RB or the interference of the blank RB when calculating the RSSI, the reliability of the gain obtained by the terminal is low. Meanwhile, the average or filtering power is needed in the calculation of the RSSI, and the created data storage space is large, the complexity is high, and the power consumption is large. Therefore, the embodiments of the present application purposefully propose the following solutions.
In the application, the solution is a method for calculating the RSSI of the time-frequency resource to be detected by using a resource block as a unit. According to the method and the device, a series of operations such as comparison, combination, judgment processing and the like can be performed by utilizing the first N values with larger RSSI power in the resource block, the purposes of avoiding RSSI statistical interference and blank RB power are achieved, and more appropriate gains are obtained.
Referring to fig. 4, fig. 4 is a frame diagram of a time-frequency resource according to an embodiment of the present disclosure. In fig. 4, the horizontal axis represents the time domain, the vertical axis represents the frequency domain, and each cell represents one resource block. The time length of a resource block in the time domain is a symbol, and the frequency domain range of the resource block in the frequency domain is 12 subcarriers.
In fig. 4, for symbol 1, the terminal determines the RSSI value corresponding to each of resource block 411, resource block 412, resource block 413, and resource block 414 as the first 4 RSSI values determined in symbol 1 410. It should be noted that, one symbol shown in fig. 4 includes several resource blocks, for example, 20 resource blocks, only 4 resource blocks are shown in the figure, and the number of resource blocks in one symbol in the embodiment of the present application is not limited.
In the calculation process corresponding to this embodiment, the terminal configures N variables whose initial values are zero, calculates the RSSI power value of each resource block of the current symbol, and calculates the RSSI power value (RB-RSSI) of each resource block. Wherein each RB-RSSI needs to be correspondingly compared with N values in the variable. And if the current RB-RSSI power value is larger than the corresponding value in the values of the variable N, replacing the corresponding value in the variable with the current RB-RSSI power value. Otherwise, the N values in the variable remain unchanged. Through the above operation process, when the calculation of the RB-RSSI power value of the current symbol is completed, the first N values of the symbol having a larger RSSI power can be selected.
Illustratively, the terminal creates N storage spaces with an initial value of zero, the first N values of the RSSI power in all resource blocks in the current symbol need to be compared with the corresponding N values in the storage spaces, and if the current obtained ith (i is 1,2, …, N) value is greater than the ith value in the storage spaces, the terminal replaces the ith value in the storage spaces with the current obtained ith value; otherwise the ith value in the memory space remains unchanged. After all the symbols of a time window are calculated, the final result of N RB-RSSI power values in the storage space is obtained.
In the post-processing stage of the processing process, the terminal averages or filters the first N/2 values obtained above and then marks the values as value1, averages or filters the last N/2 values and then marks the values as value2, and if value1 is M (configurable parameter) dB higher than value2, the value2 is used as the RB-RSSI value for gain calculation; otherwise, the RB-RSSI value used is calculated with value1 as the gain.
The pseudo code involved in the above process is discussed as follows:
value1 is the average Value of the first N/2 with the larger Value among mean (0,1, …, N/2-1)// N RSSI;
value2 is the average Value of the last N/2 with smaller mean (N/2, N/2+1, …, N)// N RSSI values;
deltaDB Value1-Value2// difference between the two averages;
if deltaDB > ThrDB// If the above difference is greater than a specified threshold;
AGCInput ═ value 2; if the difference is greater than a specified threshold, then the input Value to the AGC is equal to Value 2;
else// or
AGCInput ═ value 1; the input Value of// AGC is equal to Value1
end// end
In summary, the embodiments provided by the present application can resist burst interference or interference of blank resource blocks, and improve reliability of terminal gain calculation.
Optionally, the terminal stores N values, and there is no need to average or filter each symbol, and the data storage space created by the terminal is small, the complexity of the whole scheme is low, and the power consumption is small.
Optionally, in the present application, the ith value of the first N values with larger RSSI power in all resource blocks of each symbol is compared with the ith value of the N values of the historical results, instead of comparing the ith value with all the historical results, so that the situation that all the selected values stored in the storage space are affected by the burst interference is avoided, and the performance is affected by the excessively small gain value generated thereby.
Optionally, the N values selected in the present application are divided into two groups, and the value1 and the value2 are obtained for judgment, instead of directly obtaining a result by using N, the obtained gain can be applied to both a scenario in which bursty interference occurs and a scenario in which blank interference occurs. Therefore, the embodiment of the application has more applicable scenes and better robustness of the scheme.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 5, fig. 5 is a block diagram illustrating a signal strength calculating apparatus according to an exemplary embodiment of the present application. The signal strength calculating means may be implemented as all or part of the terminal by software, hardware or a combination of both. The device includes:
a resource block obtaining module 510, configured to obtain, from a time-frequency resource to be detected, a received signal strength indication of a resource block on each symbol;
a first determining module 520, configured to determine, from the received signal strength indicators, the first N received signal strength indicators with the strongest signal strength, where N is a positive integer greater than or equal to 2;
a dividing module 530, configured to divide the first N rssi into a first set of rssi and a second set of rssi, where a minimum value of the first set of rssi is greater than or equal to a maximum value of the second set of rssi;
a second determining module 540, configured to determine, in response to a target difference being greater than a predetermined threshold, an average value of the second group of received signal strength indications as the received signal strength indication of the time-frequency resource to be detected, where the target difference is a difference between the average value of the first group of received signal strength indications and the average value of the second group of received signal strength indications.
In an alternative embodiment, the first determining module 520 is configured to create N storage spaces with an initial value of zero; acquiring the first N resource blocks with the maximum received signal intensity indication in the ith symbol in the time frequency resource to be detected, wherein i is a positive integer; in response to the jth largest RSSI in the ith symbol being larger than the value in the jth memory space, updating the value in the jth memory space to the jth largest RSSI in the ith symbol, where j is a positive integer greater than or equal to 1 and less than or equal to N.
In an optional embodiment, the dividing module 530 is configured to obtain the first M received signal strength indicators with a larger value in the first N received signal strength indicators as the first group of received signal strength indicators; and acquiring the last N-M received signal strength indications with smaller values in the first N received signal strength indications as the second group of received signal strength indications.
In an optional embodiment, the apparatus further includes an execution module, where the execution module is configured to determine an interference environment where the time-frequency resource to be detected is located; determining the number M of the maximum interference resource blocks in the corresponding single symbol according to the type of the interference environment, wherein M is smaller than N; setting the number of the first group of received signal strength indications as M; and setting the number of the second group of received signal strength indications as N-M.
In an optional embodiment, the execution module is further configured to determine, when the type of the interference environment is narrowband interference, that the number M of maximum interference resource blocks in a corresponding single symbol is equal to 2, and a bandwidth of the narrowband interference is smaller than a bandwidth of a system where the time-frequency resource to be detected is located.
In an alternative embodiment, when N is an even number, M is N/2; when N is an odd number, M is (N-1)/2.
In an optional embodiment, the apparatus further includes a gain obtaining module, where the gain obtaining module is configured to obtain a target power corresponding to the time-frequency resource to be detected; acquiring gain corresponding to the time-frequency resource to be detected according to target power corresponding to the time-frequency resource to be detected and received signal strength indication of the time-frequency resource to be detected; and processing the time frequency resource to be detected according to the gain.
In summary, in this embodiment, a storage space with a size of N is created according to the number of N, the number of the first N RSSI values in each symbol is stored in the storage space, and after the whole processing of the time-frequency resource to be detected, the storage space stores the number of the RSSI values in each position of the time-frequency resource to be detected. For example, the maximum value of the maximum RSSI values in each symbol is stored in the 1 st storage space, and the maximum value of the 2 nd highest RSSI values in each symbol is stored in the 2 nd storage space.
The embodiment of the present application further provides a computer-readable medium, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the method for calculating signal strength according to the above embodiments.
It should be noted that: in the signal strength calculating apparatus provided in the above embodiment, when the signal strength calculating method is executed, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the signal strength calculating device and the signal strength calculating method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the implementation of the present application and is not intended to limit the present application, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (9)

1. A method for calculating signal strength, the method comprising:
acquiring a received signal strength indication of a resource block on each symbol from a time-frequency resource to be detected;
determining the first N received signal strength indicators with the strongest signal strength from the received signal strength indicators, wherein N is a positive integer greater than or equal to 2;
obtaining the first M received signal strength indicators with larger values in the first N received signal strength indicators as a first group of received signal strength indicators, wherein M is smaller than N;
acquiring the last N-M received signal strength indications with smaller values in the first N received signal strength indications as a second group of received signal strength indications;
determining the average value of the second group of received signal strength indications as the received signal strength indication of the time-frequency resource to be detected in response to a target difference value being larger than a predetermined threshold value, wherein the target difference value is a difference value between the average value of the first group of received signal strength indications and the average value of the second group of received signal strength indications.
2. The method of claim 1, wherein said determining the first N received signal strength indicators with the strongest signal strength from the received signal strength indicators comprises:
creating N storage spaces with the initial value of zero;
acquiring the first N resource blocks with the maximum received signal intensity indication in the ith symbol in the time frequency resource to be detected, wherein i is a positive integer;
in response to the jth largest of the received signal strength indicators in the ith symbol being greater than a value in the jth of the memory space, updating the value in the jth of the memory space to the jth largest of the received signal strength indicators in the ith symbol, j being a positive integer greater than or equal to 1 and less than or equal to N.
3. The method according to claim 1, characterized in that it comprises:
determining the interference environment of the time-frequency resource to be detected;
and determining the number M of the maximum interference resource blocks in the corresponding single symbol according to the type of the interference environment.
4. The method according to claim 3, wherein the determining the number M of the largest interfering resource blocks in the corresponding single symbol according to the type of the interference environment comprises:
and when the type of the interference environment is narrow-band interference, determining that the number M of the maximum interference resource blocks in the corresponding single symbol is equal to 2, wherein the bandwidth of the narrow-band interference is smaller than that of a system where the time-frequency resource to be detected is located.
5. The method of claim 1, wherein when N is an even number, M is N/2; when N is an odd number, M is (N-1)/2.
6. The method of any of claims 1 to 5, further comprising:
acquiring target power corresponding to the to-be-detected time-frequency resource;
acquiring gain corresponding to the time-frequency resource to be detected according to target power corresponding to the time-frequency resource to be detected and received signal strength indication of the time-frequency resource to be detected;
and processing the time frequency resource to be detected according to the gain.
7. An apparatus for calculating signal strength, the apparatus comprising:
the acquisition module is used for acquiring the received signal strength indication of the resource block on each symbol from the time-frequency resource to be detected;
a first determining module, configured to determine, from the received signal strength indications, first N received signal strength indications with strongest signal strength, where N is a positive integer greater than or equal to 2;
a dividing module, configured to obtain the first M received signal strength indications with a larger value among the first N received signal strength indications, where M is smaller than N, as a first group of received signal strength indications; acquiring the last N-M received signal strength indications with smaller values in the first N received signal strength indications as a second group of received signal strength indications;
a second determining module, configured to determine, in response to a target difference being greater than a predetermined threshold, an average value of the second group of received signal strength indications as a received signal strength indication of the time-frequency resource to be detected, where the target difference is a difference between the average value of the first group of received signal strength indications and the average value of the second group of received signal strength indications.
8. A terminal, characterized in that the terminal comprises a processor, a memory connected to the processor, and program instructions stored on the memory, which when executed by the processor implement the method of calculating signal strength according to any one of claims 1 to 6.
9. A computer-readable storage medium having stored thereon program instructions, which when executed by a processor, implement the method of calculating signal strength according to any one of claims 1 to 6.
CN202010930435.1A 2020-09-07 2020-09-07 Signal intensity calculation method and device, terminal and storage medium Active CN112039614B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010930435.1A CN112039614B (en) 2020-09-07 2020-09-07 Signal intensity calculation method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010930435.1A CN112039614B (en) 2020-09-07 2020-09-07 Signal intensity calculation method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112039614A CN112039614A (en) 2020-12-04
CN112039614B true CN112039614B (en) 2022-08-05

Family

ID=73585033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010930435.1A Active CN112039614B (en) 2020-09-07 2020-09-07 Signal intensity calculation method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112039614B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804744B (en) * 2021-04-16 2021-08-13 翱捷科技股份有限公司 Automatic gain control method and device suitable for NR
CN113890646A (en) * 2021-08-31 2022-01-04 展讯半导体(成都)有限公司 Signal processing method, communication device, chip and module equipment thereof
CN114039678A (en) * 2021-12-07 2022-02-11 中国人民解放军61096部队 Interference detection method and device
CN114172598A (en) * 2021-12-15 2022-03-11 中国电信股份有限公司 Interference detection method, device, medium and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457912B (en) * 2010-11-01 2014-03-12 中国移动通信集团上海有限公司 Method and device for sending load instruction information
CN103607729A (en) * 2013-11-14 2014-02-26 黄淮学院 A base station power self-optimization method
JP6634835B2 (en) * 2016-01-08 2020-01-22 富士通株式会社 Wireless communication abnormality detection method, wireless communication abnormality detection program, and wireless communication abnormality detection device
CN111615139B (en) * 2017-09-19 2023-02-17 Oppo广东移动通信有限公司 Cell measurement method and device
CN108307062A (en) * 2018-01-24 2018-07-20 广东欧珀移动通信有限公司 Antenna switching method, system, electronic device and computer readable storage medium
CN108810261B (en) * 2018-05-29 2021-03-02 Oppo广东移动通信有限公司 Antenna switching method in call and related product
CN111132183B (en) * 2019-12-20 2022-06-07 大唐移动通信设备有限公司 Beam management method and device

Also Published As

Publication number Publication date
CN112039614A (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN112039614B (en) Signal intensity calculation method and device, terminal and storage medium
CN110018799B (en) Storage pool PG (packet data) master determination method, device, equipment and readable storage medium
CN109462860B (en) Throughput optimization method and apparatus, electronic device, and computer-readable storage medium
CN114175748B (en) Communication frequency adjusting method, device, electronic equipment and storage medium
CN113055742A (en) Video display method, device, terminal and storage medium
CN111796788A (en) Method and system for compressing and accessing edge information of arc-shaped display screen
CN112217608B (en) Data rate adjusting method and device, computer readable medium and electronic equipment
CN112821972A (en) Frequency point signal processing method and device, terminal and storage medium
CN112153712A (en) Communication method and device of terminal and base station
US7676247B2 (en) Baseband processor and a method of transmitting commands to a radio-frequency subsystem and radio telecommunication apparatus incorporating the baseband processor
CN111212440A (en) Method and network equipment for realizing quality difference root cause analysis
CN106060918B (en) Power control method and base station
CN114980159A (en) Measuring method, device, baseband chip, terminal and storage medium
CN112838905B (en) Interference suppression method, device and equipment
CN111667418B (en) Method and apparatus for image processing
CN114337858A (en) Parameter processing method and device
CN113612717A (en) Frequency offset calibration method and device, electronic equipment and storage medium
CN107708036B (en) Method and device for debugging output power of audio equipment
CN113452460B (en) Clock frequency selection method, system, medium and terminal of high-speed digital interface
EP1259000A2 (en) Apparatus and method for deinterleaving
JP6046407B2 (en) OFDM modulation signal demodulator, receiving apparatus and receiving display apparatus
CN108093154B (en) Method and device for suppressing CATV signal interference by WIFI signal
CN110662023B (en) Method and device for detecting video data loss and storage medium
CN116318476B (en) Channel occupancy state prediction method and device based on power comparison
CN116049066A (en) Chip and main board connection method and device, electronic equipment and storage medium

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