A signal processing method, communication device, chip and module equipment thereof

By judging and correcting the RSSI of wireless signals, the problem of inaccurate RSSI in the receiving device is solved, and the performance and network speed of the receiving device are improved.

CN113890646BActive Publication Date: 2024-11-08SPREADTRUM SEMICON(CHENGDU) CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202111017061.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-31
Publication Date
2024-11-08
Estimated Expiration
2041-08-31

AI Technical Summary

Technical Problem

In the prior art, when the receiving device processes the wireless signal strength indicator (RSSI), the RSSI is inaccurate due to high noise intensity, many interferences, and changes in the device temperature, which affects the performance and network speed of the receiving device.

Method used

By determining whether the wireless signal meets the preset conditions, if so, the target RSSI is determined based on the RSSI of the historical wireless signal, and the wireless signal is processed to improve the accuracy of the RSSI. Specific methods include obtaining signal-to-noise ratio, noise intensity and weighted average values, and correcting the RSSI of the wireless signal to improve its accuracy.

Benefits of technology

Improves the accuracy of wireless signals, enhances the performance of the receiving device, and ensures access to the nearest wireless access point and network speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113890646B_ABST
    Figure CN113890646B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a signal processing method, a communication device, a chip and a module device thereof. The method comprises: receiving a wireless signal from a transmitting device; if the wireless signal meets a preset condition, determining a target RSSI of the wireless signal according to the RSSI of a historical wireless signal; wherein the historical wireless signal comes from the transmitting device; and processing the wireless signal according to the target RSSI. By implementing the method provided in the embodiment of the present application, the received signal strength indication can be corrected, which is conducive to improving the accuracy of the received signal strength indication, thereby improving the performance of the receiving device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a signal processing method, a communication device, a chip and a module device thereof. Background Art

[0002] With the development of wireless communication technology, the receiving device processes the received wireless signal through the received signal strength indication (RSSI). The so-called RSSI refers to the measurement of the wireless signal strength between the sending device and the receiving device. At present, due to the weak wireless signal in the real scene, the RSSI may be inaccurate due to excessive noise intensity and too many interference signals; or the movement of people or objects, the collision of wireless signals, the temperature change of hardware, etc., can also cause RSSI inaccuracy, such as RSSI jump.

[0003] On the one hand, the receiving device will display the accessible wireless access points (AP) in descending order according to RSSI. If the RSSI is inaccurate, the receiving device may not be able to access the nearest AP, resulting in a slower wireless network speed. On the other hand, inaccurate RSSI may affect the gain adjustment of the automatic gain control (AGC) module in the receiving device, resulting in the signal being too high or too low, directly affecting the performance of the receiving device.

[0004] Therefore, how to improve the accuracy of RSSI obtained by the receiving device is a technical problem that urgently needs to be solved. Summary of the invention

[0005] The embodiment of the present application provides a data processing method, which can correct the received signal strength indication, which is beneficial to improving the accuracy of the received signal strength indication, thereby improving the performance of the receiver.

[0006] In a first aspect, the present application provides a signal processing method, the method comprising:

[0007] Receive wireless signals from a transmitting device;

[0008] If the wireless signal meets the preset condition, determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signal; wherein the historical wireless signal comes from the sending device;

[0009] The wireless signal is processed according to the target RSSI.

[0010] In one implementation, determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signal includes:

[0011] Acquire a signal-to-noise ratio of the wireless signal;

[0012] A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal.

[0013] In one implementation, determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal includes:

[0014] Obtaining a signal-to-noise ratio of the historical wireless signal;

[0015] Determining the noise intensity of the historical wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the historical wireless signal;

[0016] A target RSSI of the wireless signal is determined according to the noise intensity and the signal-to-noise ratio of the wireless signal.

[0017] In one implementation, determining a target RSSI of the wireless signal according to the noise intensity and the signal-to-noise ratio of the wireless signal includes:

[0018] The sum of the signal-to-noise ratio of the wireless signal and the noise intensity is determined as the target RSSI of the wireless signal.

[0019] In an implementation manner, the wireless signal meeting a preset condition includes: a signal-to-noise ratio of the wireless signal is less than a preset signal-to-noise ratio threshold.

[0020] In one implementation, determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signal includes:

[0021] Obtaining the RSSI of the wireless signal;

[0022] A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the RSSI of the wireless signal.

[0023] In one implementation, the number of the historical wireless signals is multiple; and determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signals and the RSSI of the wireless signal includes:

[0024] The target RSSI of the wireless signal is determined according to the weighted average of the RSSIs of the multiple historical wireless signals and the RSSI of the wireless signal.

[0025] In one implementation, determining the target RSSI of the wireless signal according to the weighted average of the RSSIs of the multiple historical wireless signals and the RSSI of the wireless signal includes:

[0026] Obtaining a first weight corresponding to the RSSI of the wireless signal and a second weight corresponding to the weighted average;

[0027] The RSSI of the wireless signal and the weighted average value are weighted averaged according to the first weight and the second weight to obtain a target RSSI of the wireless signal.

[0028] In one implementation, the wireless signal meeting a preset condition includes: an RSSI of the wireless signal being outside a preset RSSI range.

[0029] In one implementation, the multiple historical wireless signals are received within a preset time period; or the multiple historical wireless signals are signals received before the wireless signal is received.

[0030] In a second aspect, an embodiment of the present application provides a communication device, the communication device comprising:

[0031] A receiving unit, used for receiving a wireless signal from a sending device;

[0032] a determination unit, configured to determine a target RSSI of the wireless signal according to an RSSI of a historical wireless signal if the wireless signal satisfies a preset condition; wherein the historical wireless signal comes from the sending device;

[0033] A processing unit is used to process the wireless signal according to the target RSSI.

[0034] In addition, in this aspect, other optional implementations of the uplink communication device can refer to the relevant content of the first aspect mentioned above, and will not be described in detail here.

[0035] In a third aspect, the present application provides a communication device, which includes a processor, and the processor is used to execute the method in the first aspect and any possible implementation manner thereof.

[0036] In a fourth aspect, the present application provides a communication device, which includes a processor and a memory, wherein the memory is used to store computer execution instructions; the processor is used to call program code from the memory to execute the method in the first aspect and any possible implementation thereof.

[0037] In a fifth aspect, the present application provides a chip, which is used to: receive a wireless signal from a sending device; if the wireless signal meets a preset condition, determine the target RSSI of the wireless signal based on the RSSI of a historical wireless signal; wherein the historical wireless signal comes from the sending device; and process the wireless signal according to the target RSSI.

[0038] In addition, in this aspect, other optional implementation methods of the chip can refer to the relevant content of the first aspect above, and will not be described in detail here.

[0039] In a sixth aspect, the present application provides a module device including a communication module, a power module, a storage module and a chip module, wherein:

[0040] The communication module is used for internal communication of the module device, or for communication between the module device and an external device;

[0041] The power module is used to provide electrical energy to the module device;

[0042] The storage module is used to store data and instructions;

[0043] The chip module is used for:

[0044] Receive a wireless signal from a transmitting device; if the wireless signal meets a preset condition, determine a target RSSI of the wireless signal based on the RSSI of a historical wireless signal; wherein the historical wireless signal comes from the transmitting device; and process the wireless signal based on the target RSSI.

[0045] In addition, in this aspect, other optional implementation methods of the module device can refer to the relevant content of the first aspect above, and will not be described in detail here.

[0046] In the embodiment of the present application, after receiving the wireless signal from the sending device, the receiving device determines whether the wireless signal meets the preset conditions. If the preset conditions are met, it is determined that the RSSI of the wireless signal needs to be corrected, otherwise, it is determined that the RSSI of the wireless signal does not need to be corrected. Then, the target RSSI of the wireless signal is determined based on the RSSI of the historical wireless signal from the sending device, and the target RSSI of the wireless signal determined by the RSSI of the historical wireless signal is used as the RSSI of the wireless signal, thereby completing the correction, which is conducive to improving the accuracy of the RSSI of the wireless signal and improving the performance of the receiving device. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0048] Figure 1 It is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application;

[0049] Figure 2 is a structural schematic diagram of a receiving device provided in an embodiment of the present application;

[0050] Figure 3 is a flowchart of a signal processing method provided in an embodiment of the present application;

[0051] Figure 4 is another flowchart of a signal processing method provided by an embodiment of the present application;

[0052] Figure 5 is another flowchart of a signal processing method provided in an embodiment of the present application;

[0053] Figure 6 is a structural diagram of a communication device provided in an embodiment of the present application;

[0054] Figure 7 is a structural diagram of another communication device provided in an embodiment of the present application;

[0055] Figure 8 A schematic diagram of the structure of a module device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0057] See also Figure 1 , Figure 1 Schematic diagram of the architecture of a communication system provided by an embodiment of the present application. Figure 1As shown, the communication system may include a sending device 101 and a receiving device 102. The sending device 101 is an entity for transmitting a signal, and the receiving device 102 is an entity for receiving a signal. The sending device 101 may also have a function of receiving a signal, as a receiving device, and similarly, the receiving device 102 may also have a function of transmitting a signal, as a sending device. The sending device 101 and the receiving device 102 may be directly connected via wireless.

[0058] It should be noted that Figure 1 The number and form of devices shown are for example purposes and do not constitute a limitation on the embodiments of the present application. In actual applications, the communication system may include more than one sending device, or may include more than one receiving device. The embodiments of the present application are explained using a sending device 101 and a receiving device 102 as an example. In actual applications, the sending device 101 may also send wireless signals to multiple receiving devices 102, and a receiving device 102 may also receive wireless signals sent by multiple sending devices 101. The present application is explained using an example in which a sending device 101 sends a wireless signal to a receiving device 102, and the receiving device 102 receives the wireless signal of the sending device 101. In the present application, the receiving device 102 may also be referred to as a receiver or a receiving device.

[0059] The sending device 101 and the receiving device 102 may be terminal devices, and in the present application, the terminal devices may also be referred to as terminals, user equipment, access terminals, user units, user stations, mobile stations, mobile stations, remote stations, remote terminals, mobile devices, user terminals, user agents or user devices. Specifically, for example, the sending device 101 and the receiving device 102 may be mobile phones, tablet computers, computers with wireless transceiver functions, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc. The sending device 101 and the receiving device 102 may be network devices. Specifically, for example, the sending device 101 and the receiving device 102 network devices may be evolved NodeBs (eNBs), transmission points (transmission reception points, TRPs), next generation NodeBs (gNBs) in NR systems, base stations in other future mobile communication systems, or access nodes in wireless fidelity (Wi-Fi) systems, etc. The embodiments of the present application do not limit the specific technology and specific device form used by the sending device 101 and the receiving device 102.

[0060] At present, the receiving device can receive the wireless signal from the sending device, but the wireless environment in the actual scene is relatively complex, such as the movement of people or objects, the collision of wireless signals will cause the RSSI calculated by the receiving device to jump. In addition, since the receiving device receives the wireless signal sent by the sending device from the antenna, it is processed by the low noise amplifier (LNA), mixer and other modules. Due to factors such as hardware temperature changes and design limitations, the RSSI calculated by the receiving device will also jump. Furthermore, when the wireless signal sent by the sending device is weak, that is, the strength of the useful signal in the wireless signal is low, and the strength of the noise signal in the wireless signal is high, then due to the influence of noise and interference, the noise is loaded on the weak signal, which will directly affect the RSSI calculation of the real signal, resulting in inaccurate RSSI.

[0061] If the RSSI calculated by the receiving device is inaccurate, it will directly affect the receiving device's processing of the received wireless signal, resulting in the wireless signal being too high or too low, affecting the performance of the receiving device. If the wireless signal is too high, it will lead to saturation, and the receiving device will not be able to receive wireless signals above the preset threshold. If the wireless signal is too low, the signal-to-noise ratio will be insufficient, and it will not be suitable for scenarios with high requirements for the signal-to-noise ratio, such as high-order modulation scenarios.

[0062] Furthermore, if the receiving device can display a user interface, the inaccurate RSSI calculated by the receiving device can be reflected in the user interface, such as displaying multiple available WLANs in the user interface. The WLAN is displayed in the user interface as a WI-FI icon. The WI-FI icon can include multiple grids. The number of displayed grids is determined by RSSI. In order to better select the WLAN to which the receiving device connects, the WLAN list displayed in the user interface is sorted in order from most to least according to the number of grids of the WI-FI icon.

[0063] Exemplarily, if RSSI is inaccurate, it can be divided into two situations. The first situation: when the distance between the AP and the receiving device is relatively close, but the RSSI is relatively small, that is, the number of grids that can be included in the WI-FI icon in the user interface is relatively small, then it is sorted according to the number of grids, and the user may need to turn down the page in the receiving device to find the AP that is relatively close. In a complex environment, due to the large number of APs, the user may find it difficult to find the AP that is relatively close in the receiving device. The second situation: when the distance between the AP and the receiving device is relatively far, but the RSSI is relatively large, that is, the number of grids that can be included in the WI-FI icon in the user interface is relatively large, due to the long distance between the AP and the receiving device, the difficulty of the receiving device to connect to the AP may increase, or even fail to connect to the AP. Even after the receiving device is connected to the AP, when using video or loading web services, freezes and slow loading speeds may occur.

[0064] It should be noted that in the above two cases, the RSSI is too small or too large is not determined by the distance between the AP and the receiving device, but is a relative concept, that is, the RSSI when the AP is close to the receiving device is larger than the RSSI when the AP is far from the receiving device. However, the normal RSSI at this distance between the AP and the receiving device may be too large or too small.

[0065] In the embodiment of the present application, the wireless signal received from the transmitting device is judged to determine whether the wireless signal meets the preset conditions. If the preset conditions are met, it is determined that the RSSI calculated by the wireless signal needs to be corrected, and then the target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal, and the wireless signal is processed based on the target RSSI. Using the target RSSI as the corrected RSSI of the wireless signal can improve the performance of the receiving device and also improve the accuracy of the RSSI of the wireless signal.

[0066] Please also read Figure 2 , Figure 2 Schematic diagram of a receiving device provided in an embodiment of the present application. Figure 2 As shown, the receiving device 20 may include: an antenna module 21, a low noise amplifier module 22, a mixer module 23, an automatic gain control module 24, an analog-to-digital converter module 25, and a digital signal processing and demodulation module 26. The receiving device 20 may correspond to Figure 1 The antenna module 21, the low noise amplifier module 22, the mixer module 23, the automatic gain control module 24, the analog-to-digital converter module 25 and the digital signal processing and demodulation module 26 can all be hardware modules in the receiving device 20. Optionally, the receiving device 20 can also include other hardware modules, which is not limited in the present application.

[0067] Specifically, the antenna module 21 is used to receive a wireless signal from a transmitting device. Optionally, when the receiving device has the function of transmitting a wireless signal, the antenna module 21 can be used to transmit a wireless signal. The low noise amplifier module 22 can be directly connected to the antenna module 21. It has the characteristics of low noise coefficient and high gain, and is used to improve the sensitivity of the receiving device to receive wireless signals, that is, to enhance the signal receiving capability of the receiving device and increase the dynamic receiving range of the received wireless signal. In order to achieve the best effect, the low noise amplifier module 22 needs to achieve the best noise matching, and the RSSI of the wireless signal can be calculated according to the received wireless signal, and the LNA can be debugged according to the RSSI. The mixer module 23 can be directly connected to the low noise amplifier module 22, and is located after the low noise amplifier module 22, and can directly process the wireless signal amplified by the LNA. In order to realize the mixing function, the wireless signal amplified by the LNA is mixed with the local oscillator signal to generate an intermediate frequency signal for subsequent demodulation processing.

[0068] Further, the automatic gain control module 24 is located after the mixer module 23 and can be connected to the mixer module 23. Different gains can be used to amplify wireless signals of different strengths so that the final output amplitude of the signal is maintained at the same standard, that is, different gains are used to amplify or reduce wireless signals of different strengths to achieve the purpose of stabilizing the amplitude of the received wireless signal within a reasonable range. In order to achieve the best demodulation effect of the wireless signal, in the automatic gain control module 24, the use of different gains is determined based on the RSSI of the wireless signal. Therefore, the automatic gain control module 24 can calculate the RSSI of the received wireless signal and then determine the gain used. The analog-to-digital converter (ADC) module 25, which can also be called an analog-to-digital converter, is located after the automatic gain control module 24 and can be connected to the automatic gain control module. The analog-to-digital converter module 25 can convert an input voltage signal into an output digital signal, that is, convert the wireless signal adjusted by the automatic gain control module 24 into a digital signal, so that the modulated wireless signal carrying the message is demodulated by the digital signal processing and demodulation module 26 to restore the message in the wireless signal. The digital signal processing and demodulation module 26 is located after the analog-to-digital converter module 25 and can be connected to the analog-to-digital converter module 25. The digital signal processing and demodulation module 26 can be used to demodulate the received radio wave signal into a low-frequency baseband signal.

[0069] Optionally, after demodulating the low-frequency baseband signal, the digital signal processing and demodulation module 26 can also transmit the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor in the receiving device. The application processor outputs a sound signal through an audio device (e.g., a speaker in the receiving device), or displays a message carried by the wireless signal through a display screen in the receiving device, for example, displaying an image or video in the receiving device.

[0070] It should be noted that the receiving device in the embodiment of the present application includes wireless local area networks (WLAN), such as Wi-Fi networks, Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR) and other wireless communication solutions.

[0071] In the embodiment of the present application, the receiving device determines whether the wireless signal received from the sending device meets the preset conditions, and if the preset conditions are met, determines that the RSSI calculated by the wireless signal needs to be corrected, and then determines the target RSSI of the wireless signal according to the RSSI of the historical wireless signal, and processes the wireless signal based on the target RSSI. Using the target RSSI as the corrected RSSI of the wireless signal can improve the performance of the receiving device and also improve the accuracy of the RSSI of the wireless signal.

[0072] Based on the above communication system, the embodiment of the present application provides a signal processing method. The signal processing method of the embodiment of the present application can be Figure 1 A receiving device 102 in a communication system is shown. Figure 1 The signal processing method involved in the communication system shown can be found in Figure 3 , Figure 3 301-303 are flow charts of a signal processing method provided in an embodiment of the present application. The signal processing method may include the following steps 301-303:

[0073] 301. Receive a wireless signal from a sending device.

[0074] Specifically, the receiving device can receive the wireless signal sent by the sending device. Specifically, the receiving device can receive the wireless signal from the sending device through the above-mentioned antenna module. Furthermore, the receiving device can judge the wireless signal according to the preset conditions. If the wireless signal meets the preset conditions, it is determined that the RSSI of the wireless signal needs to be corrected, and the corrected RSSI (i.e., the target RSSI) is used as the RSSI of the wireless signal. Otherwise, the receiving device can directly calculate the RSSI without correction. Among them, the preset conditions may include the condition that the wireless signal is a weak signal, and the preset conditions may also include the condition that the RSSI of the wireless signal has jumped.

[0075] 302. If the wireless signal meets a preset condition, determine a target RSSI of the wireless signal according to the RSSI of a historical wireless signal.

[0076] Among them, the preset conditions may include two aspects of preset conditions: on the one hand, the preset conditions may include a condition for determining whether the wireless signal is a weak signal; on the other hand, the preset conditions may also include a condition for determining whether the RSSI of the wireless signal jumps.

[0077] In a possible implementation, the receiving device can calculate RSSI to divide the received wireless signal into two types of signals: one is the useful signal, assuming that the signal strength of the useful signal is S (signal), and the second is thermal noise and other interference, assuming that the noise strength of the noise signal is N (noise). Then the RSSI calculated by the receiving device when receiving the wireless signal can be shown as formula 1:

[0078] RSSI = 10log 10 (S) Formula 1

[0079] The unit of the calculated RSSI is decibel milliwatt (dBm). Since the base of the logarithm is 10, Formula 1 can also be expressed as Formula 2:

[0080] RSSI = 10lg(S) Formula 2

[0081] Specifically, when the signal strength of the wireless signal is very good, that is, S of the wireless signal is large or N is small, when S is much larger than N, the contribution of N can be ignored, and the received signal strength indicated by RSSI is the signal strength of the useful signal, that is, the real signal strength.

[0082] When the signal strength is weak, that is, when the wireless signal is a weak signal, S of the wireless signal is small or N is large, which may be when S of the wireless signal is equal to N. When calculating RSSI, N cannot be ignored. For example, when S=N of the wireless signal, N cannot be ignored. Therefore, the RSSI calculated by the receiving device can be shown in Formula 3:

[0083] RSSI = 10log 10 (S+N) Formula 3

[0084] At this time, since S=N, the above formula 3 can be simplified to formula 4:

[0085] 10log 10 (S+N)=10log 10 (2S) = 3 + 10log 10 (S) Formula 4

[0086] It can be seen that when the above wireless signal is a weak signal, that is, when the signal strength is weak, the RSSI calculated, as shown in Formula 4, is compared with the RSSI calculated when the signal strength is very good, as shown in Formula 1, that is, Formula 4 is subtracted from Formula 1 to obtain 3 decibels (dB). The RSSI calculated when the signal strength is weak is just 3dB higher than the RSSI calculated when the signal strength is very good. It should be noted that logarithmic subtraction means that the base remains unchanged and the exponent is divided, thereby obtaining 3dB. Among them, dB is a unit for measuring the quantitative ratio of two identical units, representing a relative value.

[0087] When the signal strength of the wireless signal is weak, the signal-to-noise ratio of the wireless signal may be as shown in Formula 5:

[0088] SNR = 10log 10 (S / N) = 0 Formula 5

[0089] Among them, SNR refers to the signal-to-noise ratio of the wireless signal. The so-called signal-to-noise ratio refers to the ratio of the useful signal to the noise signal in the wireless signal. The unit is dB. Since the signal-to-noise ratio is the ratio of the signal strength of the useful signal to the signal strength of the noise signal, the signal-to-noise ratio can be used to measure whether the wireless signal is a weak signal. That is, the preset conditions satisfied by the wireless signal may include that the signal-to-noise ratio of the wireless signal is less than the preset signal-to-noise ratio threshold. If the signal-to-noise ratio of the wireless signal is less than the preset signal-to-noise ratio threshold, it is determined that the wireless signal meets the preset conditions and is a weak signal, and the RSSI of the wireless signal needs to be corrected. Otherwise, the preset conditions are not met and it is not a weak signal, so the RSSI of the signal may not be corrected.

[0090] In another possible implementation, when the signal strength of the wireless signal sent by the sending device is a stable signal strength, the RSSI calculated by the receiving device should be within a certain RSSI threshold range. If the RSSI calculated by the receiving device when receiving a wireless signal is not within the RSSI threshold range, it can be determined that the RSSI has jumped. The preset condition may include that the RSSI of the wireless signal is outside the preset RSSI range. When it is determined that the wireless signal meets the preset condition, it is determined that the calculated RSSI has jumped, and the RSSI of the wireless signal needs to be corrected. Otherwise, it is determined that the wireless signal does not meet the preset condition, and the RSSI of the wireless signal has not jumped.

[0091] In a possible implementation, if it is determined that the wireless signal meets the preset conditions and the wireless signal is a weak signal, the receiving device can correct the RSSI by calculating the noise strength and the signal-to-noise ratio. The receiving device can correct the RSSI of the wireless signal based on the RSSI calculated from the historical wireless signal sent by the sending device to obtain the target RSSI of the wireless signal, that is, the corrected RSSI. Among them, the receiving device can obtain the signal-to-noise ratio of the wireless signal, and then determine the target RSSI of the wireless signal based on the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal. Specifically, the receiving device can obtain the signal-to-noise ratio of the historical wireless signal, determine the noise strength of the noise signal in the historical wireless signal based on the RSSI of the historical wireless signal and the signal-to-noise ratio of the historical wireless signal, and then determine the target RSSI of the wireless signal based on the noise strength and the signal-to-noise ratio of the wireless signal.

[0092] In another possible implementation, if it is determined that the wireless signal meets the preset conditions and the RSSI of the wireless signal is outside the preset RSSI range, the receiving device can determine that the RSSI of the wireless signal has jumped, and the receiving device can smooth the RSSI of the wireless signal to correct the RSSI. Specifically, the receiving device can obtain the RSSI of the wireless signal, and then determine the target RSSI of the wireless signal and the corrected RSSI according to the RSSI of the historical wireless signal and the RSSI of the wireless signal. Wherein, the number of historical wireless signals can be multiple, and the receiving device can determine the target RSSI of the wireless signal according to the weighted average of the RSSI of multiple historical wireless signals and the RSSI of the wireless signal. Wherein, the receiving device can obtain the first weight corresponding to the RSSI of the wireless signal, and obtain the second weight corresponding to the weighted average of the RSSI of multiple historical wireless signals, and perform weighted averaging on the RSSI of the wireless signal and the weighted average of the RSSI of the multiple historical wireless signals according to the first weight and the second weight, so as to obtain the target RSSI of the wireless signal.

[0093] 303. Process the wireless signal according to the target RSSI.

[0094] In a possible implementation, after correcting the RSSI, the receiving device may process the wireless signal based on the corrected RSSI, that is, the target RSSI. Figure 2It can be seen from the structure of the receiving device that the receiving device may include an antenna module, a low noise amplifier module, a mixer module, an automatic gain control module, an analog-to-digital converter module, and a digital signal processing and demodulation module. Among them, the low noise amplifier module can modulate the LNA based on RSSI to achieve the best noise match with the wireless signal, thereby amplifying the wireless signal. The automatic gain module can determine the gain based on RSSI so that the output amplitude of the wireless signal is within a certain threshold range. The receiving device can also perform other processing on the wireless signal based on RSSI, which is not limited in this application.

[0095] In the embodiment of the present application, after receiving the wireless signal from the sending device, the receiving device determines whether the wireless signal meets the preset conditions. If the preset conditions are met, it is determined that the RSSI of the wireless signal needs to be corrected, otherwise, it is determined that the RSSI of the wireless signal does not need to be corrected. Then, the target RSSI of the wireless signal is determined based on the RSSI of the historical wireless signal from the sending device, and the target RSSI of the wireless signal determined by the RSSI of the historical wireless signal is used as the RSSI of the wireless signal, thereby completing the correction, which is conducive to improving the accuracy of the RSSI of the wireless signal and improving the performance of the receiving device.

[0096] See also Figure 4 , Figure 4 is another flow chart of a signal processing method provided by an embodiment of the present application. Figure 1 In the illustrated embodiment, the receiving device 102 executes the signal processing method, which includes the following steps 401-403.

[0097] It should be noted that the same or similar parts between the various embodiments in this application can refer to each other. In the various embodiments in this application, and the various implementation methods / implementation methods / implementation methods in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The above-mentioned implementation methods of this application do not constitute a limitation on the scope of protection of this application. Among them:

[0098] 401. Obtain a signal-to-noise ratio of a historical wireless signal.

[0099] Specifically, the historical wireless signal is also sent by the above-mentioned wireless signal sending device. The signal-to-noise ratio of the historical wireless signal can be measured by the receiving device. When the receiving device receives the historical wireless signal, it can directly measure the signal-to-noise ratio of the historical wireless signal and the signal strength of the useful signal. Furthermore, the receiving device can determine the target RSSI of the wireless signal based on the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal. The RSSI of the historical wireless signal can be calculated and stored after receiving the historical wireless signal. Optionally, the RSSI of the historical wireless signal can be calculated based on the signal strength of the useful signal of the historical wireless signal. The RSSI of the historical wireless signal can also be corrected according to the RSSI of the wireless signal before the historical wireless signal, which is not limited in this application.

[0100] 402. Determine the noise intensity of the historical wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the historical wireless signal.

[0101] In a possible implementation, the acquired historical wireless signal may be a signal with a relatively strong signal and is not a saturated wireless signal, that is, a wireless signal with a signal strength less than the maximum signal strength of a useful signal. At this time, by measuring the signal strength (S) of the useful signal of the historical wireless signal and according to the signal-to-noise ratio of the acquired historical wireless signal, the signal strength of the noise signal in the historical wireless signal can be calculated, wherein, as can be seen from Formula 5, the signal strength calculation formula of the noise signal in the historical wireless signal can be as shown in Formula 6:

[0102] 10log 10 N = 10log 10 S-SNR Formula 6

[0103] Where SNR is the signal-to-noise ratio, and the unit of N is dBm. To simplify the logarithmic notation, the above formula 6 can be abbreviated as shown in formula 7:

[0104] N=S-SNR Formula 7

[0105] Among them, S, SNR and N in Formula 7 are the signal strength of the useful signal, the signal-to-noise ratio and the signal strength of the noise signal of the historical wireless signal. Furthermore, since the noise signal refers to an irregular additional signal (or information) that does not exist in the original signal (i.e., the useful signal), and this signal does not change with the change of the original signal (i.e., the useful signal), the signal strength of the noise signal in the historical wireless signal can be used to correct the RSSI of the above wireless signal.

[0106] 403. Determine a target RSSI of the wireless signal according to the noise intensity and the signal-to-noise ratio of the wireless signal.

[0107] Specifically, it can be seen from Formula 7 that N is the difference between S and SNR. In order to correct the RSSI of the wireless signal, the S of the wireless signal can be determined. The S of the wireless signal can be shown as Formula 8. The S of the wireless signal is the sum of N and SNR, that is, the signal strength of the useful signal in the wireless signal is the sum of the signal-to-noise ratio of the wireless signal and the noise strength of the noise signal. Among them, the SNR of the wireless signal can be measured by the receiving device, and the noise strength can be calculated based on the historical wireless signal. It should be noted that S and SNR in Formula 8 are the S of the above wireless signal, and N is the N of the historical wireless signal.

[0108] S=N+SNR Formula 8

[0109] It should be noted that S and SNR in Formula 8 are the signal strength and signal-to-noise ratio of the useful signal of the above wireless signal, and N is the signal strength of the noise signal in the historical wireless signal. The target RSSI of the wireless signal after correction can be shown in Formula 9:

[0110] RSSI_fine=N+SNR Formula 9

[0111] Among them, RSSIfine in formula 9 represents the corrected RSSI, that is, the target RSSI of the wireless signal, SNR is the signal-to-noise ratio of the wireless signal, and N is the signal strength of the noise signal in the historical wireless signal. Specifically, N and SNR can be written in logarithmic form, as shown in formula 10:

[0112]

[0113] Among them, the pseudo code for performing correction when the wireless signal is a weak signal may be:

[0114] Determine the SNR of the historical wireless signal and the signal strength S of the useful signal;

[0115] Calculate the signal strength of the noise signal in the historical wireless signal: N = S – SNR;

[0116] If the SNR of the wireless signal <snr_th,RSSI_fine=N+SNR;

[0117] If the SNR of the wireless signal>=snr_th, RSSI_fine=RSSI.

[0118] Wherein, snr_th is a preset signal-to-noise ratio threshold, and the snr_th value can be determined according to actual applications, and this application does not limit it, for example, snr_th = 10dB. When N affects RSSI, that is, the SNR value is small (less than snr_th), RSSI needs to be corrected to calculate the target RSSI.

[0119] In the embodiment of the present application, after receiving the wireless signal from the sending device, the receiving device determines whether the wireless signal meets the preset conditions. If the preset conditions are met, it is determined that the RSSI of the wireless signal needs to be corrected, otherwise, it is determined that the RSSI of the wireless signal does not need to be corrected. Then, the target RSSI of the wireless signal is determined based on the RSSI of the historical wireless signal from the sending device, and the target RSSI of the wireless signal determined by the RSSI of the historical wireless signal is used as the RSSI of the wireless signal, thereby completing the correction, which is conducive to improving the accuracy of the RSSI of the wireless signal and improving the performance of the receiving device.

[0120] See also Figure 5 , Figure 4 is another flow chart of a signal processing method provided by an embodiment of the present application. The method can be Figure 1 In the illustrated embodiment, the receiving device 102 executes the signal processing method, which includes the following steps 501-502.

[0121] It should be noted that the same or similar parts between the various embodiments in this application can refer to each other. In the various embodiments in this application, and the various implementation methods / implementation methods / implementation methods in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The above-mentioned implementation methods of this application do not constitute a limitation on the scope of protection of this application. Among them:

[0122] 501. Obtain a first weight corresponding to the RSSI of a wireless signal and a second weight corresponding to the weighted average.

[0123] In a possible implementation, after receiving a wireless signal, the receiving device calculates the RSSI of the wireless signal. If the RSSI is outside the preset RSSI range, it is determined that the RSSI has jumped and needs to be corrected, that is, the target RSSI of the wireless signal is calculated. Among them, the target RSSI of the wireless signal can be determined based on the RSSI of the historical wireless signal and the RSSI of the wireless signal. For RSSI jumps, it can be solved by smoothing. That is, the RSSI of the wireless signal and the RSSI of the historical wireless signal received by the receiving device are averaged, that is, the newly received wireless signal (that is, the above-mentioned wireless signal) is integrated into the historical wireless signal received by the receiving device for smoothing.

[0124] In the embodiment of the present application, the number of historical wireless signals may be one or more. If there are multiple historical wireless signals, they may be multiple historical wireless signals received by the receiving device within a preset time period, or they may be a preset number of historical wireless signals received by the receiving device before the above wireless signal, and the present application does not limit this.

[0125] Specifically, if there are multiple historical wireless signals, the target RSSI can be obtained by weighted averaging the RSSI of multiple historical wireless signals and the RSSI of the wireless signal. The weighted average of the RSSI of multiple historical wireless signals can be the weighted average of the RSSI of multiple historical wireless signals based on the weight corresponding to each historical wireless signal. The value of the weight corresponding to each historical wireless signal can be 1, or it can be set based on a specific application scenario, which is not limited in this application.

[0126] In a possible implementation, a weighted average of the RSSIs of multiple historical wireless signals is weighted averaged with the RSSI of the wireless signal most recently received by the receiving device, that is, the RSSI of the above wireless signal, to obtain the target RSSI of the wireless signal. Specifically, the receiving device may first obtain a first weight corresponding to the RSSI of the wireless signal, and obtain a second weight corresponding to the weighted average of the RSSIs of multiple historical wireless signals. The sum of the first weight and the second weight may be 1 or may not be 1. It is understandable that the smaller the value of the first weight, the greater the effect of smoothing the wireless signal of the jump RSSI during the smoothing process, and thus the slower the change of RSSI. The value of the first weight may be determined and adjusted according to the actual application scenario. For example, the sum of the first weight and the second weight is 1, the value of the first weight may be 1 / 8, and the value of the second weight may be 1-1 / 8=7 / 8.

[0127] 502. Perform weighted averaging on the RSSI of the wireless signal and the weighted average value according to the first weight and the second weight to obtain a target RSSI of the wireless signal.

[0128] Specifically, the weighted average of the RSSI of the wireless signal and the weighted average of the RSSIs of multiple historical wireless signals may be as shown in Formula 11:

[0129]

[0130] Among them, smooth_RSSI refers to the RSSI after smoothing, that is, the target RSSI of the wireless signal, and smooth_factor refers to the weight corresponding to the RSSI of the wireless signal, that is, the first weight. old_RSSI represents the RSSI of the historical wireless signal received by the receiving device, and new_RSSI refers to the RSSI of the wireless signal newly received by the receiving device, that is, the RSSI of the above wireless signal. It should be noted that in formula 11, the sum of the first weight and the second weight is 1, and (1-smooth_factor) is the weight corresponding to the weighted average of the RSSI of multiple historical wireless signals, that is, 1-first weight, to obtain the second weight.

[0131] Optionally, when the receiving device receives a new wireless signal, that is, when the next wireless signal whose RSSI jumps is received, the target RSSI of the wireless signal can be used as the RSSI of the historical wireless signal, or as a weighted average of the RSSIs of multiple historical wireless signals to smooth the RSSI of the jump.

[0132] Among them, taking the sum of the first weight and the second weight as 1, and the first weight as 1 / 8 as an example, the pseudo code for correcting the RSSI of the above wireless signal when it jumps may be:

[0133]

[0134] The value of smooth_RSSI is assigned to old_RSSI, which means that the result of the weighted average processing is retained. Then, old_RSSI can be defined as a global variable. The so-called global variable can be created by an object function or anywhere in this program. The global variable can be referenced by all objects or functions in this program for the next correction of the RSSI jump.

[0135] In the embodiment of the present application, after receiving the wireless signal from the sending device, the receiving device determines whether the wireless signal meets the preset conditions. If the preset conditions are met, it is determined that the RSSI of the wireless signal needs to be corrected, otherwise, it is determined that the RSSI of the wireless signal does not need to be corrected. Then, the target RSSI of the wireless signal is determined based on the RSSI of the historical wireless signal from the sending device, and the target RSSI of the wireless signal determined by the RSSI of the historical wireless signal is used as the RSSI of the wireless signal, thereby completing the correction, which is conducive to improving the accuracy of the RSSI of the wireless signal and improving the performance of the receiving device.

[0136] See also Figure 6 , Figure 6A schematic diagram of the structure of a communication device provided in an embodiment of the present application. The device may be a terminal device, or a device in a terminal device, or a device that can be used in conjunction with a terminal device. The device may be a network device, or a device in a network device, or a device that can be used in conjunction with a network device. Figure 6 The communication device 60 shown may include a receiving unit 601, a determining unit 602 and a processing unit 603. The processing unit 603 is used to perform data processing.

[0137] The receiving unit 601 is used to receive a wireless signal from a sending device;

[0138] A determination unit 602 is configured to determine a target RSSI of the wireless signal according to an RSSI of a historical wireless signal if the wireless signal satisfies a preset condition; wherein the historical wireless signal comes from the sending device;

[0139] The processing unit 603 is configured to process the wireless signal according to the target RSSI.

[0140] In one implementation, the determining unit 602 determines the target RSSI of the wireless signal according to the RSSI of the historical wireless signal, specifically for:

[0141] Acquire a signal-to-noise ratio of the wireless signal;

[0142] A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal.

[0143] In one implementation, the determining unit 602 determines the target RSSI of the wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal, specifically for:

[0144] Obtaining a signal-to-noise ratio of the historical wireless signal;

[0145] Determining the noise intensity of the historical wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the historical wireless signal;

[0146] A target RSSI of the wireless signal is determined according to the noise intensity and the signal-to-noise ratio of the wireless signal.

[0147] In one implementation, the determining unit 602 determines the target RSSI of the wireless signal according to the noise intensity and the signal-to-noise ratio of the wireless signal, specifically for:

[0148] The sum of the signal-to-noise ratio of the wireless signal and the noise intensity is determined as the target RSSI of the wireless signal.

[0149] In an implementation manner, the wireless signal meeting a preset condition includes: a signal-to-noise ratio of the wireless signal is less than a preset signal-to-noise ratio threshold.

[0150] In one implementation, the determining unit 602 determines the target RSSI of the wireless signal according to the RSSI of the historical wireless signal, specifically for:

[0151] Obtaining the RSSI of the wireless signal;

[0152] A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the RSSI of the wireless signal.

[0153] In one implementation, the number of the historical wireless signals is multiple; the determining unit 602 determines the target RSSI of the wireless signal according to the RSSI of the historical wireless signal and the RSSI of the wireless signal, specifically for:

[0154] The target RSSI of the wireless signal is determined according to the weighted average of the RSSIs of the multiple historical wireless signals and the RSSI of the wireless signal.

[0155] In one implementation, the determining unit 602 determines the target RSSI of the wireless signal according to the weighted average of the RSSIs of the multiple historical wireless signals and the RSSI of the wireless signal, specifically for:

[0156] Obtaining a first weight corresponding to the RSSI of the wireless signal and a second weight corresponding to the weighted average;

[0157] The RSSI of the wireless signal and the weighted average value are weighted averaged according to the first weight and the second weight to obtain a target RSSI of the wireless signal.

[0158] In one implementation, the wireless signal meeting a preset condition includes: an RSSI of the wireless signal being outside a preset RSSI range.

[0159] In one implementation, the multiple historical wireless signals are received within a preset time period; or the multiple historical wireless signals are signals received before the wireless signal is received.

[0160] Through the communication device provided by the embodiment of the present application, after receiving the wireless signal from the sending device, the receiving device determines whether the wireless signal meets the preset conditions. If the preset conditions are met, it is determined that the RSSI of the wireless signal needs to be corrected, otherwise, it is determined that the RSSI of the wireless signal does not need to be corrected. Then, the target RSSI of the wireless signal is determined based on the RSSI of the historical wireless signal from the sending device, and the target RSSI of the wireless signal determined by the RSSI of the historical wireless signal is used as the RSSI of the wireless signal, thereby completing the correction, which is conducive to improving the accuracy of the RSSI of the wireless signal and improving the performance of the receiving device.

[0161] According to an embodiment of the present application, Figure 6 The various units in the communication device shown can be separately or all combined into one or several other units to constitute, or one (some) of the units can also be split into multiple smaller units in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the communication device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.

[0162] The communication device may be, for example, a chip or a chip module. The modules included in the devices and products described in the above embodiments may be software modules or hardware modules, or may be partially software modules and partially hardware modules. For example, for each device or product applied to or integrated in a chip, each module contained therein may be implemented in the form of hardware such as circuits, or at least some of the modules may be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining (if any) modules may be implemented in the form of hardware such as circuits; for each device or product applied to or integrated in a chip module, each module contained therein may be implemented in the form of hardware such as circuits, and different modules may be located in the same component (e.g., chip, circuit module, etc.) or in different components of the chip module, or at least some of the modules may be implemented in the form of software programs, which run on a processor integrated inside the chip module, and the remaining (if any) modules may be implemented in the form of hardware such as circuits; for each device or product applied to or integrated in a terminal, each module contained therein may be implemented in the form of hardware such as circuits, and different modules may be located in the same component (e.g., chip, circuit module, etc.) or in different components in the terminal, or at least some of the modules may be implemented in the form of software programs, which run on a processor integrated inside the terminal, and the remaining (if any) modules may be implemented in the form of hardware such as circuits.

[0163] The embodiments of the present application and the embodiments of the aforementioned method are based on the same concept, and the technical effects they bring are also the same. For the specific principles, please refer to the description of the aforementioned embodiments, which will not be repeated here.

[0164] See also Figure 7 , Figure 7 A communication device 70 is provided in an embodiment of the present application. Figure 7 As shown, the communication device 70 may include a processor 701 and a transceiver 702. Optionally, the communication device may also include a memory 703. The processor 701, the transceiver 702 and the memory 703 may be connected via a bus 704 or other means. Figure 7 The connections between other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0165] The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The specific connection medium between the processor 701 and the memory 703 is not limited in the embodiment of the present application.

[0166] The memory 703 may include a read-only memory and a random access memory, and provides instructions and data to the processor 701. A portion of the memory 703 may also include a nonvolatile random access memory.

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

[0168] The memory 703 is used to store program instructions.

[0169] The transceiver 702 is used to receive a wireless signal from a transmitting device;

[0170] The processor 701 is configured to call the program instructions stored in the memory 703 to:

[0171] If the wireless signal meets the preset condition, determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signal; wherein the historical wireless signal comes from the sending device;

[0172] The wireless signal is processed according to the target RSSI.

[0173] In one implementation, the processor 701 determines the target RSSI of the wireless signal according to the RSSI of the historical wireless signal, specifically for:

[0174] Acquire a signal-to-noise ratio of the wireless signal;

[0175] A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal.

[0176] In one implementation, the processor 701 determines the target RSSI of the wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal, specifically for:

[0177] Obtaining a signal-to-noise ratio of the historical wireless signal;

[0178] Determining the noise intensity of the historical wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the historical wireless signal;

[0179] A target RSSI of the wireless signal is determined according to the noise intensity and the signal-to-noise ratio of the wireless signal.

[0180] In one implementation, the processor 701 determines a target RSSI of the wireless signal according to the noise intensity and the signal-to-noise ratio of the wireless signal, specifically for:

[0181] The sum of the signal-to-noise ratio of the wireless signal and the noise intensity is determined as the target RSSI of the wireless signal.

[0182] In an implementation manner, the wireless signal meeting a preset condition includes: a signal-to-noise ratio of the wireless signal is less than a preset signal-to-noise ratio threshold.

[0183] In one implementation, the processor 701 determines the target RSSI of the wireless signal according to the RSSI of the historical wireless signal, specifically for:

[0184] Obtaining the RSSI of the wireless signal;

[0185] A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the RSSI of the wireless signal.

[0186] In one implementation, the number of the historical wireless signals is multiple; the processor 701 determines the target RSSI of the wireless signal according to the RSSI of the historical wireless signal and the RSSI of the wireless signal, specifically for:

[0187] The target RSSI of the wireless signal is determined according to the weighted average of the RSSIs of the multiple historical wireless signals and the RSSI of the wireless signal.

[0188] In one implementation, the processor 701 determines the target RSSI of the wireless signal according to the weighted average of the RSSIs of the multiple historical wireless signals and the RSSI of the wireless signal, specifically for:

[0189] Obtaining a first weight corresponding to the RSSI of the wireless signal and a second weight corresponding to the weighted average;

[0190] The RSSI of the wireless signal and the weighted average value are weighted averaged according to the first weight and the second weight to obtain a target RSSI of the wireless signal.

[0191] In one implementation, the wireless signal meeting a preset condition includes: an RSSI of the wireless signal being outside a preset RSSI range.

[0192] In one implementation, the multiple historical wireless signals are received within a preset time period; or the multiple historical wireless signals are signals received before the wireless signal is received.

[0193] In the embodiment of the present application, the program can be executed by running on a general computing device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM) and other processing elements and storage elements. Figure 3-Figure 5 The computer program (including program code) of each step involved in the corresponding method shown in the embodiment of the present application is used to implement the method provided in the embodiment of the present application. The computer program can be recorded on a computer-readable recording medium, for example, and loaded into the above-mentioned computing device through the computer-readable recording medium and run therein.

[0194] Based on the same inventive concept, the principles and beneficial effects of solving the problems provided by the communication device in the embodiment of the present application are similar to the principles and beneficial effects of solving the problems provided by the communication device in the method embodiment of the present application. Please refer to the principles and beneficial effects of the implementation of the method. For the sake of concise description, they will not be repeated here.

[0195] The present application also provides a chip that can execute the steps of the terminal device in the above method embodiment. The chip is used to:

[0196] Receive wireless signals from a transmitting device;

[0197] If the wireless signal meets the preset condition, determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signal; wherein the historical wireless signal comes from the sending device;

[0198] The wireless signal is processed according to the target RSSI.

[0199] In one implementation, the chip is used to determine the target RSSI of the wireless signal according to the RSSI of the historical wireless signal, specifically for:

[0200] Acquire a signal-to-noise ratio of the wireless signal;

[0201] A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal.

[0202] In one implementation, the chip is used to determine the target RSSI of the wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal, specifically for:

[0203] Obtaining a signal-to-noise ratio of the historical wireless signal;

[0204] Determining the noise intensity of the historical wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the historical wireless signal;

[0205] A target RSSI of the wireless signal is determined according to the noise intensity and the signal-to-noise ratio of the wireless signal.

[0206] In one implementation, the chip is used to determine a target RSSI of the wireless signal according to the noise intensity and the signal-to-noise ratio of the wireless signal, specifically for:

[0207] The sum of the signal-to-noise ratio of the wireless signal and the noise intensity is determined as the target RSSI of the wireless signal.

[0208] In an implementation manner, the wireless signal meeting a preset condition includes: a signal-to-noise ratio of the wireless signal is less than a preset signal-to-noise ratio threshold.

[0209] In one implementation, the chip is used to determine the target RSSI of the wireless signal according to the RSSI of the historical wireless signal, specifically for:

[0210] Obtaining the RSSI of the wireless signal;

[0211] A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the RSSI of the wireless signal.

[0212] In one implementation, the number of the historical wireless signals is multiple; the chip is used to determine the target RSSI of the wireless signal according to the RSSI of the historical wireless signals and the RSSI of the wireless signal, specifically used to:

[0213] The target RSSI of the wireless signal is determined according to the weighted average of the RSSIs of the multiple historical wireless signals and the RSSI of the wireless signal.

[0214] In one implementation, the chip is used to determine the target RSSI of the wireless signal according to the weighted average of the RSSIs of the multiple historical wireless signals and the RSSI of the wireless signal, specifically for:

[0215] Obtaining a first weight corresponding to the RSSI of the wireless signal and a second weight corresponding to the weighted average;

[0216] The RSSI of the wireless signal and the weighted average value are weighted averaged according to the first weight and the second weight to obtain a target RSSI of the wireless signal.

[0217] In one implementation, the wireless signal meeting a preset condition includes: an RSSI of the wireless signal being outside a preset RSSI range.

[0218] In one implementation, the multiple historical wireless signals are received within a preset time period; or the multiple historical wireless signals are signals received before the wireless signal is received.

[0219] In one implementation, the chip includes at least one processor, at least one first memory and at least one second memory; wherein the at least one first memory and the at least one processor are interconnected via lines, and instructions are stored in the first memory; the at least one second memory and the at least one processor are interconnected via lines, and the second memory stores data that needs to be stored in the method embodiment.

[0220] For each device or product applied to or integrated in the chip, each module contained therein can be implemented in the form of hardware such as circuits, or at least some of the modules can be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining (if any) modules can be implemented in the form of hardware such as circuits.

[0221] See also Figure 8 , Figure 8 80 is a schematic diagram of a module device provided in an embodiment of the present application. The module device 80 can execute the relevant steps of the terminal device in the aforementioned method embodiment, and the module device 80 includes: a communication module 801, a power module 802, a storage module 803 and a chip module 804.

[0222] The communication module 801 is used for internal communication of the module device, or for the module device to communicate with external devices; the power module 802 is used to provide power to the module device; the storage module 803 is used to store data and instructions; the chip module 804 is used to:

[0223] Receive wireless signals from a transmitting device;

[0224] If the wireless signal meets the preset condition, determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signal; wherein the historical wireless signal comes from the sending device;

[0225] The wireless signal is processed according to the target RSSI.

[0226] In one implementation, the chip module 804 is used to determine the target RSSI of the wireless signal according to the RSSI of the historical wireless signal, specifically for:

[0227] Acquire a signal-to-noise ratio of the wireless signal;

[0228] A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal.

[0229] In one implementation, the chip module 804 is used to determine the target RSSI of the wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal, specifically for:

[0230] Obtaining a signal-to-noise ratio of the historical wireless signal;

[0231] Determining the noise intensity of the historical wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the historical wireless signal;

[0232] A target RSSI of the wireless signal is determined according to the noise intensity and the signal-to-noise ratio of the wireless signal.

[0233] In one implementation, the chip module 804 is used to determine the target RSSI of the wireless signal according to the noise intensity and the signal-to-noise ratio of the wireless signal, specifically for:

[0234] The sum of the signal-to-noise ratio of the wireless signal and the noise intensity is determined as the target RSSI of the wireless signal.

[0235] In an implementation manner, the wireless signal meeting a preset condition includes: a signal-to-noise ratio of the wireless signal is less than a preset signal-to-noise ratio threshold.

[0236] In one implementation, determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signal includes:

[0237] Obtaining the RSSI of the wireless signal;

[0238] A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the RSSI of the wireless signal.

[0239] In one implementation, the number of the historical wireless signals is multiple; the chip module 804 is used to determine the target RSSI of the wireless signal according to the RSSI of the historical wireless signal and the RSSI of the wireless signal, specifically for:

[0240] The target RSSI of the wireless signal is determined according to the weighted average of the RSSIs of the multiple historical wireless signals and the RSSI of the wireless signal.

[0241] In one implementation, the chip module 804 is used to determine the target RSSI of the wireless signal according to the weighted average of the RSSIs of the multiple historical wireless signals and the RSSI of the wireless signal, specifically for:

[0242] Obtaining a first weight corresponding to the RSSI of the wireless signal and a second weight corresponding to the weighted average;

[0243] The RSSI of the wireless signal and the weighted average value are weighted averaged according to the first weight and the second weight to obtain a target RSSI of the wireless signal.

[0244] In one implementation, the wireless signal meeting a preset condition includes: an RSSI of the wireless signal being outside a preset RSSI range.

[0245] In one implementation, the multiple historical wireless signals are received within a preset time period; or the multiple historical wireless signals are signals received before the wireless signal is received.

[0246] For each device or product applied to or integrated in the chip module, each module contained therein can be implemented by hardware such as circuits, and different modules can be located in the same component of the chip module (such as a chip, circuit module, etc.) or in different components. Alternatively, at least some of the modules can be implemented by software programs that run on a processor integrated inside the chip module, and the remaining (if any) modules can be implemented by hardware such as circuits.

[0247] An embodiment of the present application also provides a computer-readable storage medium, in which one or more instructions are stored, and the one or more instructions are suitable for being loaded by a processor and executing the method provided by the above method embodiment.

[0248] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the method provided by the above method embodiment.

[0249] It should be noted that, for the above-mentioned various method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0250] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0251] The modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0252] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the readable storage medium can include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0253] The above disclosure is only a preferred embodiment of the present application, which is only a part of the embodiments of the present invention, and certainly cannot be used to limit the scope of rights of the present application. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

Claims

1. A signal processing method, characterized in that: include: Receive wireless signals from a transmitting device; If the wireless signal meets the preset condition, determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signal; wherein the historical wireless signal comes from the sending device; Processing the wireless signal according to the target RSSI; The wireless signal satisfies the preset condition, which includes: the wireless signal is a weak signal, and / or the RSSI of the wireless signal changes; The step of determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signal includes: Acquire a signal-to-noise ratio of the wireless signal; A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal.

2. The method according to claim 1, characterized in that The determining, according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal, a target RSSI of the wireless signal comprises: Obtaining a signal-to-noise ratio of the historical wireless signal; Determining the noise intensity of the historical wireless signal according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the historical wireless signal; A target RSSI of the wireless signal is determined according to the noise intensity and the signal-to-noise ratio of the wireless signal.

3. The method according to claim 2, characterized in that The determining, according to the noise intensity and the signal-to-noise ratio of the wireless signal, a target RSSI of the wireless signal comprises: The sum of the signal-to-noise ratio of the wireless signal and the noise intensity is determined as the target RSSI of the wireless signal.

4. The method according to any one of claims 1 to 3, characterized in that: The wireless signal being a weak signal includes: a signal-to-noise ratio of the wireless signal being less than a preset signal-to-noise ratio threshold.

5. The method according to any one of claims 1 to 3, characterized in that: The RSSI of the wireless signal jumps includes: the RSSI of the wireless signal is outside a preset RSSI range.

6. A communication device, characterized in that: The method comprises a unit for executing the method as claimed in any one of claims 1 to 5.

7. A communication device, characterized in that: Including processors; The processor is used to execute the method according to any one of claims 1 to 5.

8. The communication device according to claim 7, characterized in that: The communication device also includes a memory: The memory is used to store computer programs; The processor is specifically configured to call the computer program from the memory to execute the method according to any one of claims 1 to 5.

9. A chip, characterized in that: The chip is used to receive a wireless signal from a transmitting device; If the wireless signal meets the preset condition, determining the target RSSI of the wireless signal according to the RSSI of the historical wireless signal; wherein the historical wireless signal comes from the sending device; Processing the wireless signal according to the target RSSI; The wireless signal satisfies the preset condition, which includes: the wireless signal is a weak signal, and / or the RSSI of the wireless signal changes; The chip is used to determine the target RSSI of the wireless signal according to the RSSI of the historical wireless signal, specifically for: Acquire a signal-to-noise ratio of the wireless signal; A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal.

10. A module device, characterized in that: The module device includes a communication module, a power module, a storage module and a chip module, wherein: The communication module is used for internal communication of the module device, or for communication between the module device and an external device; The power module is used to provide electrical energy to the module device; The storage module is used to store data and instructions; The chip module is used for: Receive wireless signals from a transmitting device; If the wireless signal meets the preset condition, the target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal; wherein the historical wireless signal comes from the sending device; Processing the wireless signal according to the target RSSI; The wireless signal satisfies the preset condition, which includes: the wireless signal is a weak signal, and / or the RSSI of the wireless signal changes; The chip module is used to determine the target RSSI of the wireless signal according to the RSSI of the historical wireless signal, specifically for: Acquire a signal-to-noise ratio of the wireless signal; A target RSSI of the wireless signal is determined according to the RSSI of the historical wireless signal and the signal-to-noise ratio of the wireless signal.

Citation Information

Patent Citations

  • Method and device for determining RSSI value of channel, and access point equipment

    CN103391142A

  • Method and device for acquiring received signal strength index (RSSI)

    CN106301616A

  • Method for detecting wireless signal, and terminal device

    CN109314870A

  • Transmitted signal receiving method, device and apparatus and computer readable storage medium

    CN111464222A

  • Signal strength calculation method and device, terminal and storage medium

    CN112039614A