Spatial fading judgment method and device and electronic equipment

The internal product coefficient of signal strength is identified by the wavelet transformation method, and the fading type of the communication environment is determined, which solves the problem of frequent antenna switching caused by the inability to identify the fast fading scenario in the prior art, and realizes a more stable communication environment.

CN119210621APending Publication Date: 2024-12-27VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411260542.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The prior art cannot identify fast fading scenarios, resulting in frequent antenna switching, a ping-pong effect, affecting communication quality.

Method used

The wavelet transformation method is used to obtain the internal product coefficients of different scales of signal strength, and determine that the electronic device is in a fast fading or slow fading environment, thereby managing antenna switching.

Benefits of technology

Effectively identify the fast fading environment, avoid unnecessary antenna switching, reduce the ping-pong effect, and improve communication quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119210621A_ABST
    Figure CN119210621A_ABST
Patent Text Reader

Abstract

The invention discloses a spatial fading judgment method and device and electronic equipment, and belongs to the technical field of communication. The spatial fading judgment method comprises the following steps: acquiring first signal strength of a receiving path of a transceiving link of the electronic equipment; performing wavelet inner products of different scales on the first signal intensity to obtain a plurality of inner product coefficients; and judging whether the electronic equipment is in a fast fading environment or a slow fading environment according to the plurality of inner product coefficients.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a spatial fading determination method, device and electronic equipment. Background Art

[0002] In order to achieve better communication quality, cellular communications usually have multiple antennas. When working in diversity mode, multiple downlink signals receive the same information at the same time, which can ensure the quality of the received signal.

[0003] In addition, to ensure better uplink signal transmission, the transmitting antenna can be adjusted according to the signal quality, and switch between multiple antennas. If you can quickly switch to an antenna in better condition, the communication quality can be guaranteed. However, in a fast fading scenario, if the antenna switching action is performed frequently, it will not only increase the control instruction overhead, but also deteriorate the communication experience. Such as a high-speed rail moving fast in a complex environment, or the antenna is temporarily affected by external objects, resulting in a temporary reduction in efficiency. This will cause the communication quality to not be improved after the antenna is switched, but repeated switching will cause a ping-pong effect; but in the prior art, electronic devices cannot identify whether they are currently in a fast fading scenario, which causes frequent antenna switching actions and a ping-pong effect of antenna switching. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a spatial fading determination method, device and electronic device, which can solve the problem in the prior art that electronic devices cannot identify fast fading scenarios, resulting in antenna switching to a ping-pong effect.

[0005] In a first aspect, an embodiment of the present application provides a spatial fading determination method, the method comprising:

[0006] Acquire a first signal strength of a receiving path of a transceiver link of an electronic device;

[0007] Perform wavelet inner products of different scales on the first signal strength to obtain multiple inner product coefficients;

[0008] It is determined whether the electronic device is in a fast fading environment or a slow fading environment according to the multiple inner product coefficients.

[0009] In a second aspect, an embodiment of the present application provides a spatial fading determination device, the device comprising:

[0010] A first acquisition module, used to acquire a first signal strength of a receiving path of a transceiver link of the electronic device;

[0011] An inner product module, used for performing wavelet inner products of different scales on the first signal strength to obtain multiple inner product coefficients;

[0012] The determination module is used to determine whether the electronic device is in a fast fading environment or a slow fading environment according to the multiple inner product coefficients.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0017] In an embodiment of the present application, a plurality of inner product coefficients are obtained based on a wavelet transform method, and spatial fading is identified based on the plurality of inner product coefficients to identify whether the current communication environment is a fast fading environment or a slow fading environment, so that the electronic device can perform antenna switching management according to the current environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A flowchart showing the steps of the spatial fading determination method provided in an embodiment of the present application;

[0019] Figure 2 A schematic diagram showing the principle of wavelet switching in the spatial fading determination method provided in an embodiment of the present application;

[0020] Figure 3 A schematic diagram showing the principle of Example 1 provided in an embodiment of the present application;

[0021] Figure 4 A schematic diagram showing a flow chart of Example 1 provided in an embodiment of the present application;

[0022] Figure 5 A schematic diagram showing the structure of a spatial fading determination device provided in an embodiment of the present application;

[0023] Figure 6 One of the structural schematic diagrams of the electronic device provided in the embodiment of the present application is shown;

[0024] Figure 7 The second structural schematic diagram shows the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0026] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0027] The spatial fading determination method provided by the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0028] In an embodiment of the present application, in order to improve the communication quality, the electronic device (such as a mobile phone terminal) usually has N communication links for each frequency band, such as 2 or 4, that is, it has N antennas (such as 2 antennas or 4 antennas). The communication links of the electronic device are in two directions, transmission and reception, of which there are N receiving links, namely 1 PRx (Primary Receive) and N-1 DRx (Diversity reciever); there is 1 transmitting link. The transmitting link and PRx share the same antenna, and can be collectively referred to as TRx (Transmitter-Receiver), and the DRx antenna is used for simple reception. The communication between the N antennas and the base station will have different spatial losses due to the influence of spatial fluctuations or the state of the antenna itself. The TRx link usually needs to reside on an antenna with good communication conditions. If the communication condition of the current resident antenna deteriorates, and the communication condition of the diversity resident antenna is good, TRx will switch antennas with DRx.

[0029] This switching mode has a disadvantage, that is, in some rapidly changing communication environments, such as high-speed trains, due to the rapid change of the communication environment, when the TRx antenna switches to the antenna previously judged to have good communication quality, the communication quality of the antenna rapidly declines, resulting in a ping-pong effect of repeated switching, which in turn affects the communication quality. In order to reduce the impact of the ping-pong effect, the embodiment of the present application proposes a method that can identify whether the current environment is a fast fading environment as an auxiliary judgment condition for antenna switching.

[0030] Optionally, there are many factors for determining antenna switching, and signal strength is generally used for determination.

[0031] like Figure 1 As shown, the embodiment of the present application also provides a spatial fading determination method, the method comprising:

[0032] Step 101, obtaining a first signal strength of a receiving path of a transceiver link of an electronic device;

[0033] Step 102, performing wavelet inner products of different scales on the first signal strength to obtain a plurality of inner product coefficients;

[0034] Step 103: determining, based on the multiple inner product coefficients, whether the electronic device is in a fast fading environment or a slow fading environment.

[0035] Optionally, the electronic device in the embodiment of the present application includes N antennas, wherein one antenna is used as a transceiver link, and the remaining N-1 antennas are used as N-1 receiving links respectively (optionally, the receiving links are diversity receiving links); N is an integer greater than or equal to 2.

[0036] Optionally, the above step 102 can be understood as using a wavelet switching method to obtain a plurality of inner product coefficients. The principle of the wavelet switching method is as follows:

[0037] Wavelet transform (WT): It is a transform analysis method that decomposes the signal into a superposition of a series of wavelet functions, and these wavelet functions are obtained by translating and scaling a mother wavelet function. The specific process is to shift a function called the mother wavelet, and then perform inner product operations with the signal to be analyzed at different scales to obtain the corresponding coefficients.

[0038] like Figure 2As shown in the figure, the "large-scale wavelet" is constantly translated, and the coefficient is obtained by inner product with the signal within the time range of the wavelet. Since the scale of the wavelet is relatively large, it can be used to characterize the "slow" change degree of the signal. The larger the coefficient, the slower the change. At the same time, it is necessary to use a small-scale wavelet function with the same shape but a time length of 1 / 2 or 1 / 4 of the basic wavelet to do the inner product with the signal. The waveform shape of the "small-scale wavelet" is the same as that of the large-scale wavelet, but the time is 1 / 2, 1 / 4, 1 / 8 of the "large-scale wavelet", etc. Different levels can be used according to actual needs to further reduce the length of the wavelet. According to the same method, the coefficient is obtained by translation within the range of the signal to be analyzed and the inner product is used to characterize the "fast" change degree of the signal. The larger the coefficient, the faster the change. The scale of the wavelet can exist in multiple levels, such as level 2, level 3, and level 4.

[0039] In at least one embodiment of the present application, step 102 includes:

[0040] Based on the wavelet transform method, a basic wavelet and at least one reduced target wavelet are obtained;

[0041] Taking the first signal strength and the basic wavelet as an inner product to obtain a first inner product coefficient;

[0042] Perform inner product of the first signal strength and each target wavelet to obtain a second inner product coefficient corresponding to each target wavelet;

[0043] The second inner product coefficients are shifted by a time period of a target wavelet to obtain third inner product coefficients corresponding to each second inner product coefficient.

[0044] Optionally, the first signal strength may specifically be RSRP (Reference Signal Receiving Power), which is not specifically limited herein.

[0045] Optionally, the first signal strength may be directly acquired after the electronic device and the base station (network side device) are formally connected, or may be acquired by normalizing the acquired signal strength, which is not specifically limited herein.

[0046] For example, if the scale of the wavelet is level 2, then the basic wavelet and the 1 / 2 scale cell (i.e., the target wavelet) are obtained based on the wavelet transform method, and the multiple inner product coefficients include:

[0047] The first signal strength is inner-producted with the basic wavelet to obtain the first inner-product coefficient;

[0048] The first signal strength is inner-producted with the 1 / 2 scale wavelet to obtain the second inner-product coefficient;

[0049] The third inner product coefficient is obtained by shifting the second inner product coefficient by a time period of 1 / 2 scale wavelet.

[0050] For another example, if the scale of the wavelet is level 3, then based on the wavelet transform method, a basic wavelet, a 1 / 2 scale wavelet (a target wavelet), and a 1 / 4 scale wavelet (a target wavelet) are obtained, and the multiple inner product coefficients include:

[0051] The first signal strength is inner-producted with the basic wavelet to obtain the first inner-product coefficient;

[0052] The first signal strength is inner-producted with the 1 / 2 scale wavelet to obtain a second inner-product coefficient;

[0053] The second inner product coefficient corresponding to the 1 / 2 scale wavelet is shifted by a time period of the 1 / 2 scale wavelet to obtain a third inner product coefficient;

[0054] The first signal strength is inner-producted with the 1 / 4 scale wavelet to obtain a second inner-product coefficient;

[0055] The second inner product coefficient corresponding to the 1 / 4 scale wavelet is shifted by a time period of the 1 / 4 scale wavelet to obtain a third inner product coefficient.

[0056] In at least one embodiment of the present application, step 104 includes:

[0057] When the first inner product coefficient is less than a first decision threshold, each of the second inner product coefficients is greater than a corresponding second decision threshold, and each of the third inner product coefficients is greater than a corresponding second decision threshold, it is determined that the electronic device is in a fast fading environment;

[0058] or,

[0059] When the first inner product coefficient is greater than or equal to a first decision threshold, or at least one second inner product coefficient is less than or equal to a second decision threshold, or at least one third inner product coefficient is less than or equal to the second decision threshold, it is determined that the electronic device is in a slow fading environment.

[0060] In the embodiment of the present application, in order to identify a fast fading environment, multiple decision thresholds need to be preset, and the multiple decision thresholds include:

[0061] The first decision threshold W1 corresponding to the first inner product coefficient min , used to characterize the degree of slow change of signal strength, W1 min The larger the value, the slower the first signal strength changes;

[0062] The second decision threshold W2 corresponding to each second inner product coefficient max , used to characterize the degree of rapid change of signal strength, W2max The larger the value, the more drastic the change in the first signal strength.

[0063] As an optional embodiment, the method further includes:

[0064] Acquire a second signal strength of a receiving path of one or more diversity receiving links of the electronic device;

[0065] Accordingly, step 103 includes:

[0066] When the difference between the first signal strength and the second signal strength is greater than a preset value, it is determined whether the electronic device is in a fast fading environment or a slow fading environment according to the multiple inner product coefficients.

[0067] In other words, when the difference between the first signal strength and the second signal strength is greater than the preset value, it means that the attenuation of the transmission path is too large and there is a potential need for antenna switching. At this time, it is necessary to determine whether the difference between the current N antennas is a stable slow fading environment or an unstable fast fading environment.

[0068] In at least one embodiment of the present application, the method further includes:

[0069] When the electronic device is in a fast fading environment, stopping antenna switching corresponding to the transceiver link;

[0070] or,

[0071] When the electronic device is in a slow fading environment, the antenna corresponding to the transceiver link is switched according to an antenna switching strategy.

[0072] In summary, the embodiments of the present application identify spatial fading through a method based on wavelet transform, identify the degree of fluctuation of spatial fading in the current communication environment, identify the current fading environment, and do not recommend antenna switching for a fast fading environment with rapid and violent fluctuations. For a non-fast and violent slow fading environment, antenna switching is performed according to normal antenna switching logic to avoid the ping-pong effect of antenna switching in fast and violent scenarios.

[0073] In order to more clearly describe the spatial fading determination method provided in the embodiment of the present application, an example is provided below for illustration.

[0074] Example 1

[0075] The scale of the wavelet is 2 levels, that is, the basic wavelet and the 1 / 2 scale wavelet are used to perform inner product analysis on the signal strength. For example, an electronic device with two antennas, Figure 3As shown in the figure, the communication link of the electronic device is in two directions: transmission and reception. There are two reception links, namely the main set reception PRx and the diversity reception DRx, and one transmission link. The transmission link and PRx share the same antenna and can be collectively referred to as TRx. The DRx antenna is used for simple reception. The signal strength of the reception path of the TRx link is represented by RSRP0; the signal strength of the diversity reception path is represented by RSRP1.

[0076] To identify fast fading scenarios, two thresholds W1 are preset min and W2 max , where W1 min Decision threshold 1, W2 for fast fading max The decision threshold 2 used to indicate fast fading. As mentioned above, wavelet transform mainly uses the basic wavelet and its 1 / 2 scale wavelet to perform inner product calculation with the data and then perform data analysis. Here W1 min It is used to judge the inner product result of the basic wavelet and the signal strength RSRP0, and is used to characterize the degree of slow change of signal strength, while W2 max It is used to judge the inner product result of 1 / 2 scale wavelet and signal strength RSRP0, and is used to characterize the degree of rapid change of signal strength. min and W2 max The combination of the two finally determines whether the current situation is a fast fading scenario.

[0077] W1 min The larger the value, the slower the RSRP0 changes;

[0078] W2 max The larger the value, the more drastic the change in RSRP0.

[0079] For example, the basic wavelet is represented by the A1(n) sequence, the 1 / 2 scale wavelet (wavelet after one reduction) is represented by the A2(n) sequence, W1[m] represents the involution coefficient of the basic wavelet A1(n) and the TRx channel signal strength RSRP0, and W2[2m-1] represents the involution coefficient of the 1 / 2 scale wavelet A2(n) and the TRx channel signal strength RSRP0. Here, A1(n) and A2(n) refer to the wavelet types commonly used in the art, such as Haar wavelet, Daubechies wavelet, Birthogonal and other fixed types.

[0080] like Figure 4 As shown, the spatial fading determination method includes:

[0081] Step 401, obtain RSRP0 and RSRP1, and normalize RSRP0 to obtain S0(n);

[0082] Step 402, perform wavelet inner products of different scales on S0(n) to obtain inner product coefficients W1[m] and W2[2m-1]; specifically, perform inner product on RSRP0 and A1(n) to obtain coefficient W1[m], and perform inner product on RSRP0 and A2(n) to obtain coefficient W2[2m-1], and then shift by an A2(n) time period to obtain coefficient W2[2m], and continue the shift calculation.

[0083] Step 403, compare RSRP0 and RSRP1. If RSRP0 minus RSRP1 is greater than a certain threshold, such as RSRP0-RSRP1>3dB, it means that the attenuation of the transmission path is too large and there is a potential need for antenna switching. At this time, it is necessary to determine whether the difference between the two antennas is a stable slow fading environment or an unstable fast fading environment.

[0084] Step 404, if W1[m] <W1 min &W2[2m-1]>W2 max &W2[2m]>W2 max If the current environment is unstable and fast fading, switching antennas will not significantly improve communication, and there will be a ping-pong effect of antenna switching, so the antenna switching requirement is rejected. Otherwise, it is considered that the current environment is slow fading, the communication state is stable, and the corresponding antenna switching requirement is required.

[0085] Among them, W1 min The larger the value, the slower the change of RSRP0. min The larger the value, the more drastic the change of RSRP0. <W1 min And W2[2m-1]>W2 max And W2[2m]>W2 max It is in a fast-changing fast-fading scenario.

[0086] Based on W1[m] and W2[2m], it is judged that the current environment is stable and changes slowly. Then, antenna switching can improve the communication experience without causing a ping-pong effect.

[0087] The spatial fading determination method provided in the embodiment of the present application may be executed by a spatial fading determination device. In the embodiment of the present application, the spatial fading determination method is executed by a spatial fading determination device as an example to illustrate the spatial fading determination device provided in the embodiment of the present application.

[0088] like Figure 5 As shown, the embodiment of the present application also provides a spatial fading determination device, the device comprising:

[0089] A first acquisition module 501 is used to acquire a first signal strength of a receiving path of a transceiver link of an electronic device;

[0090] An inner product module 502 is used to perform wavelet inner products of different scales on the first signal strength to obtain multiple inner product coefficients;

[0091] The determination module 503 is configured to determine whether the electronic device is in a fast fading environment or a slow fading environment according to the multiple inner product coefficients.

[0092] As an optional embodiment, the inner product module includes:

[0093] A transform submodule, used for obtaining a basic wavelet and at least one reduced target wavelet based on a wavelet transform method;

[0094] A first inner product submodule, used for performing an inner product operation on the first signal strength and a basic wavelet to obtain a first inner product coefficient;

[0095] A second inner product submodule, used for performing inner product of the first signal strength and each target wavelet respectively to obtain a second inner product coefficient corresponding to each target wavelet;

[0096] The translation submodule is used to translate the second inner product coefficients by a time period of a target wavelet to obtain third inner product coefficients corresponding to each second inner product coefficient.

[0097] As an optional embodiment, the determination module includes:

[0098] A first determination submodule, configured to determine that the electronic device is in a fast fading environment when the first inner product coefficient is less than a first determination threshold, each of the second inner product coefficients is greater than a corresponding second determination threshold, and each of the third inner product coefficients is greater than a corresponding second determination threshold;

[0099] and / or,

[0100] The second determination submodule is used to determine that the electronic device is in a slow fading environment when the first inner product coefficient is greater than or equal to a first determination threshold, or at least one second inner product coefficient is less than or equal to a second determination threshold, or at least one third inner product coefficient is less than or equal to the second determination threshold.

[0101] As an optional embodiment, the device further includes:

[0102] A second acquisition module, used to acquire a second signal strength of a receiving path of one or more diversity receiving links of the electronic device;

[0103] The determination module comprises:

[0104] The third determination submodule is configured to determine, when a difference between the first signal strength and the second signal strength is greater than a preset value, whether the electronic device is in a fast fading environment or a slow fading environment according to the multiple inner product coefficients.

[0105] As an optional embodiment, the method further includes:

[0106] A processing module, configured to stop switching the antenna corresponding to the transceiver link when the electronic device is in a fast fading environment;

[0107] Alternatively, it is used to perform antenna switching corresponding to the transceiver link according to an antenna switching strategy when the electronic device is in a slow fading environment.

[0108] In an embodiment of the present application, spatial fading is identified based on a wavelet transform method to identify the degree of fluctuation of spatial fading in the current communication environment. Antenna switching is not recommended for scenarios with rapid and drastic fluctuations. For scenarios with non-rapid and drastic fluctuations, antenna switching is performed according to normal antenna switching logic to avoid the ping-pong effect of antenna switching in rapid and drastic scenarios.

[0109] The spatial fading determination device in the embodiment of the present application may be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices other than a terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0110] The spatial fading determination device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0111] The spatial fading determination device provided in the embodiment of the present application can achieve Figures 1 to 4 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0112] Alternatively, if Figure 6 As shown, an embodiment of the present application further provides an electronic device 600, including a processor 601 and a memory 602, wherein the memory 602 stores a program or instruction that can be executed on the processor 601, and when the program or instruction is executed by the processor 601, each step of the above-mentioned spatial fading determination method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0113] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0114] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0115] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.

[0116] Those skilled in the art will appreciate that the electronic device 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0117] The radio frequency unit 701 is used to obtain a first signal strength of a receiving path of a transceiver link of the electronic device;

[0118] Processor 710, configured to perform wavelet inner products of different scales on the first signal strength to obtain multiple inner product coefficients;

[0119] It is determined whether the electronic device is in a fast fading environment or a slow fading environment according to the multiple inner product coefficients.

[0120] In the embodiment of the present application, a plurality of inner product coefficients are obtained based on the wavelet transform method, and spatial fading is identified based on the plurality of inner product coefficients, and it is identified whether the current communication environment is a fast fading environment or a slow fading environment, so that the electronic device can perform antenna switching management according to the current environment. ...Beneficial Effects

[0121] Optionally, the processor 710 is also used to obtain a basic wavelet and at least one reduced target wavelet based on a wavelet transform method; perform an inner product between the first signal strength and the basic wavelet to obtain a first inner product coefficient; perform an inner product between the first signal strength and each target wavelet to obtain a second inner product coefficient corresponding to each target wavelet; and shift the second inner product coefficient by a time period of a target wavelet to obtain a third inner product coefficient corresponding to each second inner product coefficient.

[0122] Optionally, the processor 710 is further configured to:

[0123] When the first inner product coefficient is less than a first decision threshold, each of the second inner product coefficients is greater than a corresponding second decision threshold, and each of the third inner product coefficients is greater than a corresponding second decision threshold, it is determined that the electronic device is in a fast fading environment;

[0124] or,

[0125] When the first inner product coefficient is greater than or equal to a first decision threshold, or at least one second inner product coefficient is less than or equal to a second decision threshold, or at least one third inner product coefficient is less than or equal to the second decision threshold, it is determined that the electronic device is in a slow fading environment.

[0126] Optionally, the radio frequency unit 701 is further configured to obtain a second signal strength of a receiving path of one or more diversity receiving links of the electronic device;

[0127] The processor 710 is further configured to determine, if a difference between the first signal strength and the second signal strength is greater than a preset value, whether the electronic device is in a fast fading environment or a slow fading environment according to the multiple inner product coefficients.

[0128] Optionally, the processor 710 is further configured to stop switching the antenna corresponding to the transceiver link when the electronic device is in a fast fading environment;

[0129] Alternatively, when the electronic device is in a slow fading environment, the antenna corresponding to the transceiver link is switched according to an antenna switching strategy.

[0130] In an embodiment of the present application, spatial fading is identified based on a wavelet transform method to identify the degree of fluctuation of spatial fading in the current communication environment. Antenna switching is not recommended for scenarios with rapid and drastic fluctuations. For scenarios with non-rapid and drastic fluctuations, antenna switching is performed according to normal antenna switching logic to avoid the ping-pong effect of antenna switching in rapid and drastic scenarios.

[0131] It should be understood that in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and at least one of other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0132] The memory 709 can be used to store software programs and various data. The memory 709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 709 may include a volatile memory or a non-volatile memory, or the memory x09 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 709 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0133] The processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 710.

[0134] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned spatial fading determination method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0135] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0136] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned spatial fading determination method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0137] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0138] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned spatial fading determination method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0139] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0141] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A spatial fading determination method, characterized in that: The method comprises: Acquire a first signal strength of a receiving path of a transceiver link of an electronic device; Perform wavelet inner products of different scales on the first signal strength to obtain multiple inner product coefficients; It is determined whether the electronic device is in a fast fading environment or a slow fading environment according to the multiple inner product coefficients.

2. The method according to claim 1, characterized in that Perform wavelet inner products of different scales on the first signal strength to obtain multiple inner product coefficients, including: Based on the wavelet transform method, a basic wavelet and at least one reduced target wavelet are obtained; Taking the first signal strength and the basic wavelet as an inner product to obtain a first inner product coefficient; Perform inner product of the first signal strength and each target wavelet to obtain a second inner product coefficient corresponding to each target wavelet; The second inner product coefficients are shifted by a time period of a target wavelet to obtain third inner product coefficients corresponding to each second inner product coefficient.

3. The method according to claim 2, characterized in that Determining, according to the multiple inner product coefficients, whether the electronic device is in a fast fading environment or in a slow fading environment includes: When the first inner product coefficient is less than a first decision threshold, each of the second inner product coefficients is greater than a corresponding second decision threshold, and each of the third inner product coefficients is greater than a corresponding second decision threshold, it is determined that the electronic device is in a fast fading environment; or, When the first inner product coefficient is greater than or equal to a first decision threshold, or at least one second inner product coefficient is less than or equal to a second decision threshold, or at least one third inner product coefficient is less than or equal to the second decision threshold, it is determined that the electronic device is in a slow fading environment.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Acquire a second signal strength of a receiving path of one or more diversity receiving links of the electronic device; Determining, according to the multiple inner product coefficients, whether the electronic device is in a fast fading environment or in a slow fading environment includes: When the difference between the first signal strength and the second signal strength is greater than a preset value, it is determined whether the electronic device is in a fast fading environment or a slow fading environment according to the multiple inner product coefficients.

5. The method according to claim 4, characterized in that The method further comprises: When the electronic device is in a fast fading environment, stopping antenna switching corresponding to the transceiver link; or, When the electronic device is in a slow fading environment, the antenna corresponding to the transceiver link is switched according to an antenna switching strategy.

6. A spatial fading determination device, characterized in that: The device comprises: A first acquisition module, used to acquire a first signal strength of a receiving path of a transceiver link of the electronic device; An inner product module, used for performing wavelet inner products of different scales on the first signal strength to obtain multiple inner product coefficients; The determination module is used to determine whether the electronic device is in a fast fading environment or a slow fading environment according to the multiple inner product coefficients.

7. The device according to claim 6, characterized in that The inner product module includes: A transform submodule, used for obtaining a basic wavelet and at least one reduced target wavelet based on a wavelet transform method; A first inner product submodule, used for performing an inner product operation on the first signal strength and a basic wavelet to obtain a first inner product coefficient; A second inner product submodule, used for performing inner product of the first signal strength and each target wavelet respectively to obtain a second inner product coefficient corresponding to each target wavelet; The translation submodule is used to translate the second inner product coefficients by a time period of a target wavelet to obtain third inner product coefficients corresponding to each second inner product coefficient.

8. The device according to claim 7, characterized in that The determination module comprises: A first determination submodule, configured to determine that the electronic device is in a fast fading environment when the first inner product coefficient is less than a first determination threshold, each of the second inner product coefficients is greater than a corresponding second determination threshold, and each of the third inner product coefficients is greater than a corresponding second determination threshold; and / or, The second determination submodule is used to determine that the electronic device is in a slow fading environment when the first inner product coefficient is greater than or equal to a first determination threshold, or at least one second inner product coefficient is less than or equal to a second determination threshold, or at least one third inner product coefficient is less than or equal to the second determination threshold.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the spatial fading determination method according to any one of claims 1 to 5 are implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the spatial fading determination method according to any one of claims 1 to 5 are implemented.