Signal processing method and electronic equipment
By placing a target amplifier close to the antenna in the radio frequency path and dynamically adjusting its operating state, the problem of signal strength weakening caused by the long distance between the signal antenna and the radio frequency transceiver chip module is solved, thereby achieving signal enhancement and loss reduction, and improving the receiving performance of the wireless communication system.
Patent Information
- Application Number
- CN202511564331.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-29
- Publication Date
- 2026-02-13
AI Technical Summary
On a circuit board with limited dimensions, the signal antenna is far from the functional module, resulting in weakened signal strength, high line loss, and affecting the receiving performance of the wireless communication system.
A target amplifier is placed close to the antenna in the radio frequency path, and its working state is dynamically adjusted, including pass-through state and signal amplification state. It is switched according to the frequency information of the target signal and the environmental information to reduce the signal loss between the antenna and the radio frequency front-end device.
By amplifying the signal in advance, losses are reduced, signal reception quality and overall system performance are improved, signal strength is enhanced, and the flexibility and intelligence of the communication system are increased.
Smart Images

Figure CN121530403A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to, but is not limited to, the technical field of computer technology, and particularly relates to a signal processing method and an electronic device. BACKGROUND
[0002] With the rapid development of wireless communication technology, the demand for mobile terminal electronic products on various wireless function modules is also increasing. Usually, a smart terminal product not only needs to integrate the wireless call and data transmission functions of the second generation mobile communication technology (2G), 3G, 4G and 5G, but also needs to support Bluetooth (BT), WIFI, GPS and other communication functions, and even some high-end terminal products also need to support wireless charging, NFC function, net-free emergency satellite short message and telephone communication, UWB indoor positioning function and the like. These functions all need to increase the corresponding function modules on the terminal product side to support.
[0003] In this way, the terminal product needs to support more and more working signal frequencies, and the signal antennas and paths to be carried also increase exponentially. In addition, in order to further improve the throughput of data transmission, 4G / 5G must be equipped with devices supporting 4x4 MIMO function in the corresponding demand frequency band. Under the limited size of the circuit board area, the distance between certain signal antennas and function modules is relatively far, the length of the wire from the chip module to the antenna end is long, the loss of the line is large, and then the signal strength is weakened, the difference of the signal strength of different lines reaching the receiving signal strength of the radio frequency transceiver chip module is large, which affects the receiving performance of the wireless communication system. SUMMARY
[0004] Therefore, the present disclosure at least provides a signal processing method and an electronic device.
[0005] The technical solution of the present disclosure is implemented as follows: In one aspect, the present disclosure provides a signal processing method, which comprises: obtaining a target signal received by an antenna of an electronic device; determine a target working state of the target amplifier based on the frequency information of the target signal and target reference information, the target reference information representing environment information related to an environment in which the electronic device is currently located; wherein the target amplifier represents a radio frequency front-end device on a radio frequency channel corresponding to the antenna, and the target amplifier is located closer to the antenna; and the working state of the target amplifier includes at least a pass-through state and a signal amplification state. switch the target amplifier to the target working state in response to the current working state of the target amplifier being different from the target working state.
[0006] In some embodiments, determining the target working state of the target amplifier based on the frequency information of the target signal and the target reference information includes: determining whether the target signal contains an interference signal based on the frequency information of the target signal; determining the pass-through state as the target working state of the target amplifier in response to the target signal containing the interference signal; determining the signal amplification state as the target working state of the target amplifier in response to the target signal not containing the interference signal, and determining an amplification multiple of the target amplifier based on the target reference information.
[0007] In some embodiments, determining the pass-through state as the target working state of the target amplifier in response to the target signal containing the interference signal includes: determining the pass-through state as the target working state of the target amplifier in response to the target signal containing a first interference signal; wherein the signal strength of the first interference signal is greater than a specified strength threshold.
[0008] In some embodiments, the method further includes: determining a target working frequency band from a plurality of working frequency bands of the antenna based on frequency information corresponding to a second interference signal in response to the target signal containing the second interference signal; switching a current working frequency band of the antenna to the target working frequency band, and determining the signal amplification state as the target working state of the target amplifier; wherein the signal strength of the second interference signal is less than the signal strength of a signal received by the antenna in the current working frequency band; and the target working frequency band represents a working frequency band having no adjacent frequency relationship with the second interference signal.
[0009] In some embodiments, determining the amplification multiple of the target amplifier based on the target reference information includes: determining the signal strength of a signal receivable by the antenna in an environment in which the electronic device is currently located based on the target reference information; determining the amplification multiple of the target amplifier based on the signal strength of the signal receivable by the antenna.
[0010] In some embodiments, the target reference information includes first reference information and second reference information. The first reference information represents environmental information collected by at least one sensor in the electronic device. The second reference information represents current location information determined by a target application in the electronic device; the target application represents an application with positioning function.
[0011] In some embodiments, based on the frequency information of the target signal and the target reference information, determining the target working state of the target amplifier further includes: In response to the working bandwidth of the target amplifier being unable to completely cover the current working frequency band of the antenna, determining the pass-through state as the target working state.
[0012] In some embodiments, the method further includes: In response to the target signal containing a sounding reference signal, determining the signal amplification state as the target working state.
[0013] In another aspect, the present application also provides an electronic device, including: an antenna, a target amplifier, a radio frequency front-end device, and a processor; wherein, The antenna is connected to the processor through a radio frequency channel; The target amplifier and the radio frequency front-end device are both arranged on the radio frequency channel, and the distance between the target amplifier and the antenna is less than the distance between the radio frequency front-end device and the antenna; The processor is configured to: acquire a target signal received by the antenna; based on frequency information of the target signal and target reference information, determine a target working state of the target amplifier; and in response to the current working state of the target amplifier being different from the target working state, switch the target amplifier to the target working state. The target reference information represents environmental information related to the current environment of the electronic device; and the working state of the target amplifier includes at least a pass-through state and a signal amplification state.
[0014] In some embodiments, the processor includes a first processor, a second processor, and a third processor; wherein, The first processor is configured to perform demodulation processing on the target signal to obtain the frequency information of the target signal; The second processor is configured to determine the target working state of the target amplifier based on the frequency information of the target signal and the target reference information; The third processor is configured to switch the target amplifier to the target working state in response to the current working state of the target amplifier being different from the target working state.
[0015] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, but not limiting the technical solutions of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0016] The drawings incorporated into the specification and forming a part of the specification, show embodiments consistent with the present disclosure, and together with the specification serve to explain the technical solutions of the present disclosure.
[0017] Figure 1 A schematic diagram of a hardware entity of a mobile terminal receiver; Figure 2 A schematic diagram of an implementation flow of a signal processing method provided by the present disclosure; Figure 3 A schematic diagram of a signal processing flow by an electronic device in an embodiment provided by the present disclosure; Figure 4 A schematic diagram of a hardware entity of an electronic device provided by the present disclosure. DETAILED DESCRIPTION
[0018] In order to make the purposes, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure are further described in detail below in combination with the drawings and embodiments, and the described embodiments should not be regarded as limiting the present disclosure, and all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present disclosure.
[0019] In the following description, “some embodiments” are described, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0020] The term “first / second / third” involved only distinguishes similar objects, and does not represent a specific order of the objects, and it can be understood that “first / second / third” can interchange specific order or sequence as allowed, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.
[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing the present disclosure, and are not intended to limit the present disclosure.
[0022] In order to solve the problem that the radio frequency impedance line between the partial signal antenna and the radio frequency transceiver chip module is too long, resulting in weakening of signal strength, the following solutions are proposed in the related art: Adding a low-noise amplifier (LNA) or amplification module to the radio frequency (RF) path enhances the strength of the received signal. In implementation, this approach typically requires the signal to first pass through a filter corresponding to the path's frequency before entering the LNA for signal amplification. Additionally, for multi-mode, multi-band operating systems (e.g., 2G, 3G, 4G, 5G), an RF switch is used to switch the antenna-received signal to the corresponding RF path for each frequency band. Then, the signal is processed sequentially using filters and LNAs for the respective operating frequency bands before entering the RF transceiver chip module for signal processing. It is evident that the main problems with this scheme are as follows: First, the front-end devices used for signal processing (such as frequency front-end switches and filters) are relatively large, making it impossible to place the chips close to the antenna on the circuit board. They can only be connected through long RF traces, resulting in significant signal loss before entering the LNA device. This severely reduces the signal enhancement effect of the LNA device, resulting in minimal benefit. Second, after the signal enters the RF path through the antenna, it is first switched by a frequency switching switch, then filtered by the corresponding frequency band filter before entering the corresponding LNA. The significant losses introduced by the front-end frequency switching switch and filter also greatly diminish the signal enhancement effect brought by the LNA device.
[0023] For example, such as Figure 1 As shown, the existing mobile terminal receiver 100 has four MIMO paths distributed across four different antennas spaced apart, namely antennas 110, 120, 130, and 140. Antennas 110, 120, 130, and 140 are connected to the radio frequency transceiver chip module 150 via radio frequency front-end devices 111, 121, 131, and 141, respectively. Because the distances of these four antennas to the radio frequency transceiver chip module 150 differ significantly (the distances of antennas 130 and 140 from the radio frequency transceiver chip module 150 are greater than the distances of antennas 120 and 120 from the radio frequency transceiver chip module 150), some paths, after receiving signals through the antennas, must pass through a relatively long radio frequency impedance line to reach the corresponding radio frequency front-end device before finally entering the radio frequency transceiver chip module 150. This results in the receiving performance of the receiving paths corresponding to antennas 130 and 140 being much lower than that of the receiving paths corresponding to antennas 110 and 120.
[0024] Therefore, the present disclosure provides a signal processing method. First, a target signal received by an antenna of an electronic device is acquired. Then, a target working state of a target amplifier is determined based on frequency information of the target signal and target reference information, wherein the target reference information represents environment information related to a current environment of the electronic device, the target amplifier represents a radio frequency front-end device on a radio frequency path corresponding to the antenna, and the target amplifier is an amplifier arranged closer to the antenna, and the working state of the target amplifier at least includes a pass-through state and a signal amplification state. Finally, in response to the current working state of the target amplifier being different from the target working state, the target amplifier is switched to the target working state. In this way, on the one hand, the target signal received by the antenna is amplified by the target amplifier arranged close to the antenna before entering the radio frequency front-end device, so that the signal is amplified in advance, and the received signal can be maximally enhanced and the radio frequency impedance line loss between the antenna and the radio frequency front-end device can be reduced. On the other hand, when the target amplifier is a small-sized low-noise amplifier (for example, an eggshell low-noise amplifier), the target amplifier can be flexibly arranged near the antenna end with small insertion loss. On the other hand, the working state (for example, the pass-through state or the signal amplification state) of the target amplifier is dynamically determined according to the frequency information of the received target signal and the target reference information representing the current environment state, so that the flexibility and intelligence of the signal processing method can be improved, and the signal receiving quality and the overall performance of the system can be improved.
[0025] The method provided by the present disclosure can be executed by an electronic device, which can be a notebook computer, a tablet computer, a desktop computer, a set-top box, a mobile device (for example, a mobile phone, a portable music player, a personal digital assistant, a dedicated message device, a portable game device) and various types of terminals, or can be implemented as a server. The server can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
[0026] The technical solutions in the present disclosure will be described clearly and completely in combination with the drawings of the present disclosure.
[0027] Figure 2 An implementation flowchart of the signal processing method provided by the present disclosure is shown in FIG. 1, which includes the following steps S21-S23. Figure 2 As shown in FIG. 1, the method includes the following steps S21-S23: In step S21, a target signal received by an antenna of an electronic device is acquired.
[0028] Here, the antenna of the electronic device refers to any type of antenna that can be used to receive radio frequency signals. In some embodiments, the antenna can be a single-band antenna used to receive signals of a specified frequency band, such as a GPS frequency band antenna, a Wi-Fi antenna, etc. In some embodiments, the antenna can be a multi-band antenna used to receive signals of multiple frequency bands, such as a smartphone antenna, a software-defined radio antenna, etc. In some embodiments, the antenna can be a wide-spectrum antenna covering a super-wide frequency band, such as an antenna used in an Internet of Things device, a spectrum analyzer, etc. In some embodiments, the antenna refers to an antenna in a plurality of strips of the electronic device, which has a longer radio frequency trace between the functional module (i.e., a radio frequency front-end device, a radio frequency transceiver chip, etc.) and the antenna, such as the antenna 130 and the antenna 140 shown in FIG. 1. Figure 1
[0029] The target signal refers to a radio frequency signal received by the antenna. In some embodiments, the target signal can be a signal of any frequency band, such as a 2G, 3G, 4G, 5G signal, a Wi-Fi signal, a Bluetooth signal, a GPS signal, etc. In implementation, the frequency band type of the target signal is adapted to the frequency band range that the antenna of the electronic device can receive.
[0030] Here, the target signal is obtained by using a chip module or a processor in the electronic device. In some embodiments, the target signal can be obtained by using a radio frequency transceiver chip module in the electronic device to demodulate the target signal. In some embodiments, the frequency information and / or intensity information corresponding to the target signal can be obtained by using a system control processor in the electronic device to control the working mode of the antenna or the signal receiving path; the system control processor can be a Modem (Modulator-Demodulator) system control processor or other processors with data processing capability and hardware control capability in the electronic device.
[0031] In step S22, a target working state of a target amplifier is determined based on the frequency information of the target signal and target reference information; the target reference information represents environmental information related to the current environment of the electronic device; the target amplifier represents an amplifier that is located closer to the antenna relative to a radio frequency front-end device on a radio frequency path corresponding to the antenna; and the working state of the target amplifier includes at least a pass-through state and a signal amplification state.
[0032] Here, the radio frequency front-end device refers to a device used for amplification, filtering, and frequency conversion of radio frequency signals between the antenna and the radio frequency transceiver chip module in the radio frequency signal receiving circuit. In some embodiments, the radio frequency front-end device can include a radio frequency front-end switch, a filter, an LNA, etc.
[0033] The target amplifier refers to a device for amplifying the radio frequency signal received by the antenna. In some embodiments, the target amplifier can be any type of amplifier, such as an adjustable gain amplifier, a fixed gain amplifier, etc. In some embodiments, the target amplifier is a small size amplifier, such as an eggshell low noise amplifier, so that it can be placed flexibly close to the antenna and reduce the front-end insertion loss.
[0034] The working state of the target amplifier includes at least a bypass state and a signal amplification state. In the bypass state, the target amplifier does not amplify the radio frequency signal; in the signal amplification state, the target amplifier performs amplification processing on the radio frequency signal according to the specified amplification factor.
[0035] Here, on the radio frequency path corresponding to the antenna, the distance between the target amplifier and the antenna is less than the distance between the target amplifier and the radio frequency front-end device, which means that the length of the radio frequency impedance line between the target amplifier and the antenna is less than the length of the radio frequency impedance line between the target amplifier and the radio frequency front-end device.
[0036] The frequency information of the target signal refers to the frequency characteristics carried by the target signal. The frequency information of the target signal can include, for example, the frequency band contained in the target signal, whether it is close to the current main frequency band, etc. In some embodiments, the device with signal demodulation function is used to demodulate the radio frequency signal, so as to obtain the frequency information of the target signal. In some embodiments, the target signal can be demodulated and processed by using a special demodulation chip or module in the electronic device, such as using an amplitude modulation demodulator, a frequency modulation demodulator, a digital demodulator, etc. In some embodiments, the target signal can be demodulated and processed by using a radio frequency transceiver chip module in the electronic device.
[0037] The target reference information refers to the environmental information related to the current environment of the electronic device. In some embodiments, the target reference information can be any type of environmental information, such as the current location information of the electronic device, the current scene information, the network environment information, etc.
[0038] In this way, the frequency information of the target signal and the target reference information are comprehensively analyzed to determine the signal environment in which the electronic device currently locates, and the target working state of the target amplifier is determined. The target working state refers to a working state in which a better signal processing effect can be achieved. For example, in a case where it is determined according to the frequency information of the target signal and the target reference information that there are more interference signals in the signal environment in which the electronic device currently locates, the target working state of the target amplifier can be determined as a straight-through state, so as to avoid problems such as an increase in signal-to-noise ratio and an intensification of nonlinear effects of the amplifier caused by amplifying the interference signals. In a case where it is determined according to the frequency information of the target signal and the target reference information that the signal environment of the electronic device is good, the target working state of the target amplifier can be determined as a signal amplification state, so as to enhance the useful signals in the signal.
[0039] In some embodiments, a preset logic judgment circuit can be used to determine the target working state of the target amplifier. For example, the target working state of the target amplifier is determined according to the interference frequency size in the frequency information of the target signal. For another example, the target working state of the target amplifier is determined in combination with the frequency information of the target signal and the current scene in which the electronic device locates.
[0040] In some embodiments, the target model can be used to perform model reasoning based on the frequency information of the target signal and the target reference information, and the target working state of the target amplifier can be determined according to a reasoning result. For example, the frequency information of the target signal and the target reference information and a preset prompt word template can be used to generate a corresponding prompt word, and then the target model can be used to perform model reasoning based on the generated prompt word. In some embodiments, the prompt word at least includes data description information of the frequency information of the target signal and the target reference information, model reasoning task information, output format information of the reasoning result, and the like. In some embodiments, the target model can be any type of model, such as a large language model (LLM), a vision language model (VLM), a speech model, or a multi-modal model, and the like. In some embodiments, the target model can run on at least one processor in the electronic device, such as a central processing unit (CPU), a graphics processing unit (GPU), a neural processing unit (NPR), a tensor processing unit (TPU), and the like.
[0041] In some embodiments, the target working state of the target amplifier can be determined by an agent running in the electronic device based on the frequency information of the target signal and the target reference information. Here, the agent can invoke a target model to perform model inference based on the frequency information of the target signal and the target reference information.
[0042] In step S23, the target amplifier is switched to the target working state in response to the current working state of the target amplifier being different from the target working state.
[0043] Here, after the target working state is determined, if the current working state of the target amplifier is different from the target working state, the target amplifier is switched to the target working state. In some embodiments, a control instruction can be sent to the target amplifier by a processor (e.g., the system control processor described above) to switch the working state of the target amplifier.
[0044] In some embodiments, the working state of the target amplifier can be switched by a hardware circuit or software control according to the design structure of the target amplifier. For example, for a fixed-gain low-noise amplifier, the working state can be switched by a switch control; and for an adjustable-gain low-noise amplifier, the working state can be switched by a digital control interface.
[0045] In the signal processing method provided by the present disclosure, first, a target signal received by an antenna of an electronic device is obtained; then, a target working state of a target amplifier is determined based on frequency information of the target signal and target reference information, wherein the target reference information represents environmental information related to an environment in which the electronic device is currently located, the target amplifier represents a radio frequency front-end device on a radio frequency path corresponding to the antenna, and the target amplifier is an amplifier disposed closer to the antenna, and the working state of the target amplifier includes at least a pass-through state and a signal amplification state; finally, the target amplifier is switched to the target working state in response to the current working state of the target amplifier being different from the target working state. In this way, on the one hand, the signal received by the antenna is amplified by the target amplifier disposed close to the antenna before entering the radio frequency front-end device, thereby realizing early signal amplification, which can maximize the received signal and reduce the radio frequency impedance line loss between the antenna and the radio frequency front-end device; on the other hand, in the case where the target amplifier is a small-sized low-noise amplifier (e.g., an eggshell low-noise amplifier), the target amplifier can be flexibly placed near the antenna end with small insertion loss; and on the other hand, the working state (e.g., the pass-through state or the signal amplification state) of the target amplifier is dynamically determined according to the frequency information of the received target signal and the target reference information representing the current environmental state, which can improve the flexibility and intelligence of the signal processing method, thereby achieving the effect of improving the signal reception quality and the overall performance of the system.
[0046] In some embodiments, the target working state of the target amplifier is determined based on the frequency information of the target signal and the target reference information, i.e., the step S22 can be implemented as steps S221-S223. In step S221, it is determined whether the target signal contains an interference signal based on the frequency information of the target signal.
[0047] The interference signal refers to an undesired signal that has an adverse effect on the reception, demodulation or processing of the main signal in the frequency band or spatial range of the main signal. The interference signal source has various forms. For example, when a nearby mobile phone has a frequency band close to that of the user's mobile phone, the nearby mobile phone can become an interference source of the user's mobile phone. For another example, when the frequency band of the user's mobile phone is close to that of a surrounding Wi-Fi device or other mobile device, the Wi-Fi device or other mobile device can also become an interference source of the user's mobile phone.
[0048] Here, it is determined whether there is an interference based on the frequency information of the target signal, i.e., whether there is an interference signal is determined by detecting the spectrum information in the frequency information. For example, if there is an abnormal power peak or a strong noise signal overlapping with the frequency band of the expected signal in the spectrum, it is considered that there is an interference signal. For example, in the case where the target signal is a GPS signal, the center frequency of the GPS signal is 1575.42 MHz, and if there is a signal of 1575.45 MHz in the frequency information of the target signal, it is considered that the signal is an interference signal of the GPS signal.
[0049] In some embodiments, based on the frequency information of the target signal, a spectrum analyzer, Fast Fourier Transform (FFT) / time domain sampling technology, etc. can be used to determine whether there is an interference signal.
[0050] In some embodiments, based on the frequency information of the target signal, a target model can be used to determine whether the target signal contains an interference signal.
[0051] In step S222, the pass-through state is determined as the target working state of the target amplifier in response to the target signal containing an interference signal.
[0052] Here, in the case where it is determined that the target signal contains an interference signal, the pass-through state is determined as the target working state of the target amplifier, thereby avoiding problems such as the increase of signal-to-noise ratio or the aggravation of nonlinear effects of the amplifier caused by amplifying the interference signal.
[0053] Step S223, in response to the target signal not containing the interference signal, determining the signal amplification state as the target working state of the target amplifier, and determining the amplification multiple of the target amplifier based on the target reference information.
[0054] Here, in the case of determining that the target signal does not contain the interference signal, the signal amplification state is determined as the target working state of the target amplifier, so as to realize the enhancement of the target signal.
[0055] Meanwhile, since the signal strength and / or signal type that can be received in different environments are different, the amplification multiple of the target amplifier is dynamically adjusted based on the environment information of the electronic device currently located, so that the adjusted amplification multiple can better match the signal frequency band in the current environment.
[0056] In some embodiments, a mapping relationship between different amplification multiples of the amplifier and different frequency bands can be established in advance, and then the amplification multiple of the target amplifier is determined based on the mapping relationship and the signal strength of different frequency bands in the current environment. For example, in the case that the gain level of the target amplifier is 5 levels, a mapping relationship between the 5-level gain and the working frequency bands corresponding to the antenna can be established in advance.
[0057] In the above embodiments provided by the present application, on the one hand, the target working state of the target amplifier is determined according to whether the target signal contains the interference signal, which can avoid the problems such as the increase of signal-to-noise ratio and the aggravation of nonlinear effects of the amplifier caused by amplifying the interference signal; on the other hand, the amplification multiple of the target amplifier is dynamically adjusted according to the target reference information, which can make the amplification multiple of the target amplifier dynamically adapt to different signal environments, so as to effectively improve the amplification quality of the signal and improve the overall performance of the wireless communication system.
[0058] In some embodiments, the response to the target signal containing the interference signal, the pass-through state is determined as the target working state of the target amplifier, that is, the above step S222 can be implemented as the following step S2221: Step S2221, in response to the target signal containing the first interference signal, determining the pass-through state as the target working state of the target amplifier. Among them, the signal strength of the first interference signal is greater than a specified intensity threshold.
[0059] Here, the intensity threshold refers to a signal strength threshold for judging whether there is a strong interference signal. Among them, the strong interference signal refers to a signal that has a significant negative impact on the signal processing result, and the strong interference signal often has characteristics such as wide amplitude, wide frequency spectrum, strong persistence or burstiness. Therefore, it is necessary to avoid amplifying the strong interference signal.
[0060] In some embodiments, the intensity threshold can be determined according to different application scenarios and hardware platform configurations. For example, in a high interference environment, the intensity threshold can be set higher to ensure that only the first interference signal with higher intensity triggers the target amplifier to be switched to the pass-through state; conversely, in a low interference environment, the intensity threshold can be appropriately lowered to improve the sensitivity and adaptability of signal processing.
[0061] In the above embodiments provided by the present application, when the first interference signal (i.e., a strong interference signal) is detected in the target signal, the target amplifier is set to the pass-through state, thereby effectively avoiding the amplification of the strong interference signal by the target amplifier, and thus improving the quality of the received signal.
[0062] In some embodiments, the signal processing method further includes the following steps S2222 to S2223: Step S2222, in response to the target signal containing a second interference signal, determining a target operating frequency band from the multiple operating frequency bands of the antenna based on frequency information corresponding to the second interference signal; wherein the signal intensity of the second interference signal is less than the signal intensity of the signal received by the antenna in the current operating frequency band; and the target operating frequency band represents an operating frequency band having no adjacent frequency relationship with the second interference signal.
[0063] Here, the frequency band refers to a specific frequency range in which the antenna can effectively receive radio frequency signals. For example, the operating frequency band of the antenna is 800MHz-900MHz, indicating that the antenna can effectively receive radio frequency signals in this frequency range, while the performance at frequencies below 800MHz or above 900MHz will decrease significantly. In this embodiment, the antenna can operate in multiple operating frequency bands to receive radio frequency signals in different operating frequency bands. For example, the antenna can operate in 2G, 3G, 4G, and 5G operating frequency bands.
[0064] The second interference signal is detected based on the frequency information of the target signal, and the signal intensity of the second interference signal is less than the signal intensity of the signal received by the antenna in the current operating frequency band, i.e., the second interference signal is not a strong interference signal relative to the current operating frequency band of the antenna.
[0065] In this case, according to the frequency information corresponding to the second interference signal, a frequency band having no adjacent frequency relationship with the second interference signal is determined from the multiple operating frequency bands of the antenna, and the frequency band is taken as the target operating frequency band. The adjacent frequency relationship refers to a small frequency difference between two signals, which is prone to intermodulation interference or signal aliasing.
[0066] In implementation, when selecting the target operating frequency band, the environmental information in the target reference information also needs to be referred to, that is, a frequency band in the multiple operating frequency bands of the antenna, which has no adjacent frequency relationship with the second interference signal and has high signal strength in the current environment, is selected as the target frequency band.
[0067] In some embodiments, the frequency information of the target signal and the multiple operating frequency band information of the antenna can be input into the target model to intelligently determine the second interference signal and the target operating frequency band by using the target model.
[0068] In step S2223, the current operating frequency band of the antenna is switched to the target operating frequency band, and the signal amplification state is determined as the target operating state of the target amplifier.
[0069] Here, after the target operating frequency band is determined, the antenna is switched from the current operating frequency band to the target operating frequency band to avoid the second interference signal and improve the communication quality.
[0070] In some embodiments, the operating frequency band of the antenna can be switched by using a controller in the electronic device, for example, the system control processor described above.
[0071] Meanwhile, since the interference signal for the target operating frequency band in the target signal is weak, the signal amplification state is determined as the target operating state of the target amplifier to amplify the signal of the target operating frequency band.
[0072] In the above embodiments provided by the present disclosure, after the second interference signal is detected, the frequency band far from the second interference signal is intelligently selected as the target operating frequency band based on the frequency information of the second interference signal, and the target amplifier is set to the signal amplification state, so that the negative impact of the second interference signal on the communication quality can be effectively avoided, the stability and reliability of the received signal are improved, and the overall communication performance is optimized.
[0073] In some embodiments, the determination of the amplification multiple of the target amplifier based on the target reference information in the above step S223 can be implemented as steps S2231 and S2232. In step S2231, the signal strength of the signal receivable by the antenna in the current environment of the electronic device is determined based on the target reference information. In step S2232, the amplification multiple of the target amplifier is determined based on the signal strength of the signal receivable by the antenna.
[0074] Here, the receivable signal refers to the radio frequency signals of multiple frequencies that can be received by the antenna in the current environment of the electronic device.
[0075] The signal strength of a radio frequency signal can be affected by a variety of factors, such as the distance between a base station or other signal source and the mobile device, obstacles, interfering signals, and so on. For example, the farther the distance between the device and the base station, the greater the signal attenuation and the weaker the signal strength. For another example, physical obstacles such as buildings and terrain can block or reflect signals, resulting in a decrease in signal strength. For yet another example, interfering signals generated by other wireless devices or signal sources can affect signal quality.
[0076] Radio frequency signals of different frequencies differ in bandwidth, transmission rate, penetration, coverage, and so on. For example, 5G signals have higher frequencies and transmission rates than 2G signals, but 2G signals have greater penetration and coverage than 5G signals.
[0077] Therefore, the signal strength of a radio frequency signal varies in different environments. For example, in a basement or underground garage environment, the strength of high-frequency signals (e.g., 5G signals) can be significantly weakened due to the influence of architectural obstacles, while the signal strength of low-frequency signals (e.g., 2G signals) with greater penetration and coverage can remain at a high level.
[0078] In this way, the signal strength in the environment in which the electronic device is currently located is determined according to the target reference information of the environment in which the electronic device is currently located, and the target amplifier is then adjusted to an amplification multiple corresponding to a stronger signal, which can improve communication quality and maintain communication stability.
[0079] In some embodiments, if the target reference information characterizes the physical environment in which the electronic device is currently located, the signal strength of a receivable signal in the physical environment can be determined based on the type of the physical environment. For example, if the physical environment is a basement, it can be determined that the signal strength of low-frequency signals is higher than that of high-frequency signals. For another example, if the physical environment is an urban ground environment, it can be determined that the signal strength of high-frequency signals is higher than that of low-frequency signals in the environment.
[0080] In some embodiments, if the target reference information characterizes the network environment in which the electronic device is currently located, the signal strength of a receivable signal in the network environment can be determined based on the type of the network environment. For example, if the target reference information characterizes that the electronic device is currently operating in a Wi-Fi network, the signal strength in the Wi-Fi network is determined. For another example, if the target reference information characterizes that the electronic device is currently operating in an NFC network, the signal strength of the NFC network is determined.
[0081] In some embodiments, the signal strength of the receivable signal can also be determined based on the frequency information of the target signal. After demodulation of the target signal, the strength information of different frequency signals in the target signal can be determined, which is included in the frequency information of the target signal. Therefore, the signal strength of the receivable signal can be determined based on the frequency information of the target signal.
[0082] Thus, after determining the signal strength of the receivable signal, the amplification multiple of the target amplifier is determined based on the signal strength of the receivable signal, so as to realize amplification of signals in a frequency band with strong signal strength. For example, in the above embodiment, when it is determined that the electronic device is in a basement or underground garage, it can be determined that the strength of the 2G signal is higher than that of the 5G signal in this environment, and thus the amplification multiple of the target amplifier is adjusted to the amplification multiple corresponding to the 2G signal. For another example, when it is determined that the electronic device is currently in a Wi-Fi network, the amplification multiple of the target amplifier is adjusted to the amplification multiple corresponding to the Wi-Fi signal.
[0083] In the above embodiments provided by the present disclosure, the signal strength of the receivable signal of the antenna is determined based on the target reference information, and the amplification power of the target amplifier is dynamically adjusted according to the signal strength, so that the signal enhancement requirement can be intelligently determined in different scenarios, thereby optimizing the signal reception quality and improving the stability and reliability of the terminal in a complex communication environment.
[0084] In some embodiments, the target reference information includes first reference information and second reference information. The first reference information represents the environment information collected by at least one sensor in the electronic device. The second reference information represents the current position information determined by a target application in the electronic device; the target application represents an application with positioning function.
[0085] The at least one sensor in the electronic device can be any sensor installed and running in the electronic device, for example, an image sensor for collecting image information and video information, a microphone array for collecting audio information, an ambient light sensor for collecting illumination information, a GPS module for collecting geographic position information, etc.
[0086] Thus, the environment information (i.e., the first reference information) collected by the at least one sensor is comprehensively analyzed and semantically understood by using the target model, so as to determine the geographic position, scene, etc. of the electronic device. For example, based on the information collected by various sensors built-in the electronic device, it can be inferred by using the target model whether the electronic device is indoors or outdoors, whether it is close to an interference source (such as a microwave oven, a Wi-Fi router, etc.), whether there is strong electromagnetic noise, etc.
[0087] The target application refers to any application with positioning function running in the electronic device, for example, a map navigation application, a social communication application, etc. In some embodiments, the target application can be used to obtain second reference information such as latitude and longitude coordinates, altitude, current city, and regional number.
[0088] Based on the second reference information, the target model can be used to infer whether the electronic device is in a high-interference area. For example, if the electronic device is located in a city center area with dense base stations, there may be problems such as multi-band signal overlap and reflection interference; if the electronic device is in a remote area, there is less interference and it is more suitable to turn on the amplification mode.
[0089] In the above embodiments provided by the present disclosure, by obtaining multi-dimensional environment parameters composed of the first reference information and the second reference information, the target model can more accurately determine the working state of the target amplifier.
[0090] In some embodiments, the target working state of the target amplifier is determined based on the frequency information of the target signal and the target reference information, that is, the step S22 further includes the following step S224: In step S224, in response to the working bandwidth of the target amplifier being unable to completely cover the current working frequency band of the antenna, the pass-through state is determined as the target working state.
[0091] The working bandwidth of the target amplifier refers to a frequency range in which the target amplifier can effectively amplify the input signal and maintain stable performance.
[0092] When the frequency range of the current working frequency band of the antenna exceeds the working bandwidth of the target amplifier, if the target amplifier is continued to be used for signal amplification, problems such as signal distortion, attenuation, and noise factor deterioration may occur when amplifying the signal exceeding the working bandwidth of the target amplifier. Therefore, if the target amplifier cannot cover all frequencies of the current working frequency band of the antenna, the target amplifier is set to the pass-through state, so that the signal directly passes through the target amplifier without amplification processing, thereby improving the integrity of the signal.
[0093] In the above embodiments provided by the present disclosure, in the case where the working bandwidth of the target amplifier cannot completely cover the current working frequency band of the antenna, by setting the target working state of the target amplifier to the pass-through state, problems such as signal distortion, attenuation, and noise factor deterioration can be avoided, thereby improving the stability and reliability of the signal.
[0094] In some embodiments, the method further includes the following step S24: In step S24, in response to the target signal containing a sounding reference signal, the signal amplification state is determined as the target working state.
[0095] Sounding Reference Signal (SRS) refers to a key reference signal for uplink channel quality evaluation and downlink beamforming. The main role of the SRS signal is to provide the base station with uplink channel state information to assist in efficient resource scheduling, beam management and link adaptation.
[0096] Therefore, when the electronic device detects that the target signal contains the SRS signal in the signal receiving time slot, it indicates that the receiving path corresponding to the target signal is in a sounding or evaluation environment, for example, performing an SRS polling operation in a Time Division Duplex (TDD) mode. In this way, in order to realize accurate collection and processing of the sounding reference signal, the low-noise amplifier is set to a signal amplification state to enhance the strength of the SRS signal. Accordingly, when the electronic device detects that the target signal contains the SRS signal in the signal transmitting time slot, the target working state of the target amplifier is set to a pass-through state.
[0097] In the above embodiments provided by the present application, when the target signal contains the SRS signal, the target amplifier is set to the signal amplification state, which can effectively enhance the reception quality of the SRS signal, thereby improving the accuracy of channel evaluation.
[0098] Next, in combination with 3, the signal processing flow of the electronic device in one embodiment provided by the present disclosure is described. In this embodiment, the electronic device 300 includes a first antenna 310, a second antenna 320, a third antenna 330, and a fourth antenna 340; wherein the first antenna 310, the second antenna 320, the third antenna 330, and the fourth antenna 340 are connected to the radio frequency transceiver chip module 350 through the radio frequency front-end device 311, the radio frequency front-end device 321, the radio frequency front-end device 331, and the radio frequency front-end device 341 respectively; the radio frequency impedance lines between the first antenna 310 and the second antenna 320 and the corresponding radio frequency front-end devices are relatively short, so the line loss is small; the radio frequency impedance lines (the longer radio frequency impedance lines are represented by dashed lines in the figure) between the third antenna 330 and the fourth antenna 340 and the corresponding radio frequency front-end devices are relatively long, so the LNA 332 and the LNA 342 are respectively arranged near the third antenna 330 and the fourth antenna 340, and the working state of the LNA is controlled by the system control processor 360.
[0099] Next, in combination with steps S301 to S305, the signal processing flow in this embodiment is described. Step S301, the signals received by the first antenna 310, the second antenna 320, the third antenna 330 and the fourth antenna 340 enter the radio frequency transceiver chip module 350 through the radio frequency front-end device 311, the radio frequency front-end device 321, the radio frequency front-end device 331 and the radio frequency front-end device 341 respectively; then, step S302 is performed; Here, if the LNA 332 or the LNA 342 works in the signal amplification state, the corresponding signal enters the corresponding radio frequency front-end device after being amplified; if the LNA 332 or the LNA 342 works in the straight-through state, the corresponding signal enters the corresponding radio frequency front-end device without amplification.
[0100] Step S302, the radio frequency transceiver chip module 350 performs demodulation processing on the received signal, and sends the demodulation result of the signal received by the third antenna 330 and the fourth antenna 340 to the system control processor 360; then, step S303 is performed; Here, the demodulation result of the signal by the radio frequency transceiver chip module 350 at least includes a plurality of frequencies and the intensity information corresponding to each frequency.
[0101] Step S303, the system control processor 360 receives the demodulation result sent by the radio frequency transceiver chip module 350, and sends the demodulation result to the target model running in the data processor 370; then, step S304 is performed; Step S304, the target model running in the data processor 370 performs model inference based on the received demodulation result and the environment information of the current environment of the electronic device 300 to determine the target setting information of the LNA 332 and the LNA 342 respectively; the data processor 370 sends the target setting information generated by the target model to the system control processor 360; then, step S305 is performed; Here, the agent running on the data processor 370 or other processors of the electronic device 300 collects sensor data collected by at least one sensor of the electronic device, or application data generated by at least one application, and inputs the collected data as environment information to the target model.
[0102] The target setting information of the LNA 332 and the LNA 342 generated by the target model at least includes the target working state and the amplification factor information corresponding to the LNA 332 and the LNA 342 respectively.
[0103] At step S305, based on the target setting information sent by the data processor 370, the system control processor 360 confirms the current setting information of the LNA 332 and the LNA 342, and if the current setting information does not match the target setting information, the system controller 306 sends a control instruction to the LNA 332 and / or the LNA 342 to update the settings of the LNA 332 and / or the LNA 342, so that the LNA 332 and / or the LNA 342 can work in the state corresponding to the target setting information.
[0104] Based on the foregoing embodiments, the present disclosure provides an electronic device. As shown in Figure 4 The electronic device 400 includes an antenna 410, a target amplifier 420, a radio frequency front-end device 430, and a processor 440. Wherein, The antenna 410 is connected to the processor 440 through a radio frequency channel; The target amplifier 420 and the radio frequency front-end device 430 are both arranged on the radio frequency channel, and the distance between the target amplifier 420 and the antenna 410 is less than the distance between the radio frequency front-end device 430 and the antenna 410; The processor 450 is configured to acquire a target signal received by the antenna 410; determine a target working state of the target amplifier 420 based on frequency information of the target signal and target reference information; and switch the target amplifier 420 to the target working state in response to a current working state of the target amplifier 420 being different from the target working state. Wherein, the target reference information represents environmental information related to the current environment of the electronic device 400; and the working state of the target amplifier 420 includes at least a pass-through state and a signal amplification state.
[0105] In some embodiments, the processor 410 includes a first processor, a second processor, and a third processor. Wherein, The first processor performs demodulation processing on the target signal to obtain frequency information of the target signal; and sends the frequency information of the target signal to the second processor; The second processor determines the target working state of the target amplifier based on the frequency information of the target signal and the target reference information; The third processor switches the target amplifier to the target working state in response to the current working state of the target amplifier being different from the target working state.
[0106] In some embodiments, the first processor can be implemented as any processor with demodulation function, for example, a radio frequency transceiver chip module.
[0107] In some embodiments, the second processor can be implemented as any processor with data processing function, such as CPU, GPU, NPR or TPU, etc. In some embodiments, the second processor can be one processor or multiple processors, i.e., at least one processor can be used to run the target model.
[0108] In some embodiments, the fourth processor can be implemented as any processor with control function, such as a Modem system control processor.
[0109] In some embodiments, the second processor is configured to: determine whether the target signal contains an interference signal based on frequency information of the target signal; determine the pass-through state as the target working state of the target amplifier in response to the target signal containing the interference signal; determine the signal amplification state as the target working state of the target amplifier in response to the target signal not containing the interference signal, and determine the amplification multiple of the target amplifier based on the target reference information.
[0110] In some embodiments, the second processor is configured to: determine the pass-through state as the target working state of the target amplifier in response to the target signal containing a first interference signal; wherein the signal strength of the first interference signal is greater than a specified strength threshold.
[0111] In some embodiments, the second processor is configured to, in response to the target signal containing a second interference signal, determine a target working frequency band from multiple working frequency bands of the antenna based on frequency information corresponding to the second interference signal; the first processor switches the current working frequency band of the antenna to the target working frequency band; the third processor, and determines the signal amplification state as the target working state of the target amplifier; wherein the signal strength of the second interference signal is less than the signal strength of a signal received by the antenna in the current working frequency band; and the target working frequency band represents a working frequency band having no adjacent frequency relationship with the second interference signal.
[0112] In some embodiments, the second processor is configured to: determine the signal strength of a signal receivable by the antenna in an environment in which the electronic device is currently located based on the target reference information; determine the amplification multiple of the target amplifier based on the signal strength of the signal receivable by the antenna.
[0113] In some embodiments, the target reference information comprises first reference information and second reference information. The first reference information characterizes environmental information collected by at least one sensor in the electronic device. The second reference information characterizes current location information determined by a target application in the electronic device; the target application represents an application with positioning function.
[0114] In some embodiments, the second processor determines the pass-through state as the target working state in response to the working bandwidth of the target amplifier being unable to completely cover the current working frequency band of the antenna.
[0115] In some embodiments, the second processor determines the signal amplification state as the target working state in response to the target signal containing a sounding reference signal.
[0116] The above device embodiments are similar to the above method embodiments in description, and have similar beneficial effects as the method embodiments. In some embodiments, the device provided by the embodiments of the present disclosure has functions or contains devices that can be used to execute the methods described in the above method embodiments. For technical details not disclosed in the device embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure.
[0117] If the technical solutions of the present disclosure involve personal information, the product applying the technical solutions of the present disclosure has explicitly informed the personal information processing rules before processing the personal information and has obtained the personal independent consent. If the technical solutions of the present disclosure involve sensitive personal information, the product applying the technical solutions of the present disclosure has obtained the personal independent consent before processing the sensitive personal information and at the same time meets the requirement of "explicit consent". For example, at the personal information collection device such as camera, a clear and prominent sign is set to inform that the personal information collection range has been entered and the personal information will be collected. If the individual voluntarily enters the collection range, it is deemed to agree to collect the personal information. Or, on the device for processing personal information, the personal information processing rules are informed by using obvious signs / information, and the personal authorization is obtained by means of pop-up information or asking the individual to upload the personal information by himself / herself. The personal information processing rules can include personal information processor, processing purpose, processing method, and type of personal information to be processed.
[0118] It should be noted that, in the embodiments of the present disclosure, if the signal processing method described above is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present disclosure. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk, and various media that can store program codes. Thus, the embodiments of the present disclosure are not limited to any particular hardware, software or firmware, or any combination of hardware, software and firmware.
[0119] The embodiments of the present disclosure provide a computer device, including a memory and a processor, the memory stores a computer program capable of running on the processor, and the processor implements part or all of the steps of the above method when executing the program.
[0120] The embodiments of the present disclosure provide a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement part or all of the steps of the above method. The computer readable storage medium can be transitory or non-transitory.
[0121] The embodiments of the present disclosure provide a computer program, which includes computer readable code, and when the computer readable code runs in a computer device, a processor in the computer device executes part or all of the steps of the above method.
[0122] The embodiments of the present disclosure provide a computer program product, which includes a non-transitory computer readable storage medium storing a computer program, and when the computer program is read and executed by a computer, part or all of the steps of the above method are implemented. The computer program product can be implemented by hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (Software Development Kit, SDK) and the like.
[0123] It should be noted that the above-mentioned description of the various embodiments is inclined to emphasize the differences between the various embodiments, and the same or similar parts can be referred to each other. The above description of the device, storage medium, computer program and computer program product embodiments is similar to the description of the method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the device, storage medium, computer program and computer program product embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure.
[0124] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present disclosure. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present disclosure, the size of the sequence number of each step / process does not mean the order of execution, and the execution order of each step / process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure. The above sequence number of the embodiments of the present disclosure is only for description, not representing the advantages and disadvantages of the embodiments.
[0125] It should be noted that in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of additional identical elements in the process, method, article or device including the element.
[0126] In several embodiments provided by the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The above-described device embodiments are only schematic, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling or direct coupling or communication connection between the various components shown or discussed can be indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0127] The units described as separate components above can or can not be physically separate, and the components shown as units can or can not be physical units; they can be located in one place or distributed on multiple network units; and part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0128] In addition, each functional unit in each embodiment of the present disclosure can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be realized in the form of hardware or in the form of hardware plus software functional units.
[0129] Those skilled in the art can understand that all or part of the steps of the above method embodiments can be completed by program instruction related hardware, and the foregoing program can be stored in a computer readable storage medium, and the program executes the steps including the above method embodiments when executed; and the foregoing storage medium includes mobile storage devices, read only memory (Read Only Memory, ROM), magnetic discs or optical discs, and various storage medium that can store program codes.
[0130] Alternatively, the integrated units of the present disclosure, if implemented in the form of software functional modules and sold or used as independent products, can also be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present disclosure. The foregoing storage medium includes mobile storage devices, ROM, magnetic discs or optical discs, and various storage medium that can store program codes.
[0131] The above is only an embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present disclosure, which should be covered within the protection scope of the present disclosure.
Claims
1. A signal processing method, comprising: Acquire the target signal received by the antenna of the electronic device; Based on the frequency information and target reference information of the target signal, the target operating state of the target amplifier is determined; The target reference information represents environmental information related to the current environment of the electronic device; wherein, the target amplifier represents an amplifier positioned closer to the antenna than the radio frequency front-end device on the radio frequency path corresponding to the antenna; the operating state of the target amplifier includes at least a pass-through state and a signal amplification state; In response to the current operating state of the target amplifier being different from the target operating state, the target amplifier is switched to the target operating state.
2. The method according to claim 1, wherein determining the target operating state of the target amplifier based on the frequency information and target reference information of the target signal includes: Based on the frequency information of the target signal, determine whether the target signal contains interference signals; In response to the target signal containing an interference signal, the pass-through state is determined as the target operating state of the target amplifier; In response to the fact that the target signal does not contain interference signals, the signal amplification state is determined as the target operating state of the target amplifier, and the amplification factor of the target amplifier is determined based on the target reference information.
3. The method according to claim 2, wherein determining the pass-through state as the target operating state of the target amplifier in response to the target signal containing an interference signal comprises: In response to the target signal containing a first interference signal, the pass-through state is determined as the target operating state of the target amplifier; Wherein, the signal strength of the first interference signal is greater than a specified strength threshold.
4. The method according to claim 2, further comprising: In response to the target signal containing a second interference signal, the target operating frequency band is determined from multiple operating frequency bands of the antenna based on the frequency information corresponding to the second interference signal; Switch the current operating frequency band of the antenna to the target operating frequency band, and determine the signal amplification state as the target operating state of the target amplifier; Wherein, the signal strength of the second interference signal is less than the signal strength of the signal received by the antenna within the current operating frequency band; the target operating frequency band represents the operating frequency band that has no adjacent frequency relationship with the second interference signal.
5. The method according to claim 2, wherein determining the amplification factor of the target amplifier based on the target reference information comprises: Based on the target reference information, determine the signal strength of the antenna in the current environment of the electronic device. The amplification factor of the target amplifier is determined based on the signal strength of the signal that the antenna can receive.
6. The method according to claim 1, wherein the target reference information includes first reference information and second reference information; The first reference information characterizes environmental information collected by at least one sensor in the electronic device; The second reference information characterizes the current location information determined by the target application in the electronic device; The target application characterizes an application with positioning functionality.
7. The method according to claim 1, wherein determining the target operating state of the target amplifier based on the frequency information and target reference information of the target signal further comprises: In response to the fact that the operating bandwidth of the target amplifier cannot fully cover the current operating frequency band of the antenna, the pass-through state is determined as the target operating state.
8. The method according to claim 1, further comprising: In response to the target signal including a detection reference signal, the amplified state of the signal is determined as the target operating state.
9. An electronic device, comprising: Antenna, target amplifier, RF front-end devices, and processor; among which, The antenna is connected to the processor via a radio frequency path; Both the target amplifier and the radio frequency front-end device are disposed on the radio frequency path, and the distance between the target amplifier and the antenna is less than the distance between the radio frequency front-end device and the antenna; The processor is configured to acquire the target signal received by the antenna; determine the target operating state of the target amplifier based on the frequency information and target reference information of the target signal; and switch the target amplifier to the target operating state in response to the current operating state of the target amplifier being different from the target operating state. The target reference information represents environmental information related to the current environment of the electronic device; the operating state of the target amplifier includes at least a pass-through state and a signal amplification state.
10. The device according to claim 9, wherein the processor comprises a first processor, a second processor, and a third processor; wherein, The first processor performs demodulation processing on the target signal to obtain the frequency information of the target signal; The second processor determines the target operating state of the target amplifier based on the frequency information of the target signal and the target reference information. The third processor, in response to the current operating state of the target amplifier being different from the target operating state, switches the target amplifier to the target operating state.