Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Referring to fig. 1, a flowchart illustrating steps of a signal control method according to a first embodiment of the present invention is shown.
The signal control method of the embodiment of the invention comprises the following steps:
step 101: under the condition that a first radio frequency module and a second radio frequency module of the electronic device are simultaneously started, a first radio frequency band and first radio frequency transmitting power of a first radio frequency signal transmitted by the first radio frequency module are obtained.
The first radio frequency module and the second radio frequency module may be radio frequency modules corresponding to existing radio frequency bands, for example, the first radio frequency module may be an LTE module, and the second radio frequency module may be a GPS module. In an actual use process, under the condition that the first radio frequency module and the second radio frequency module are simultaneously started, a first radio frequency signal transmitted by the first radio frequency module interferes with a second radio frequency signal transmitted and received by the second radio frequency module.
Suppose that: the signal strength of the first radio frequency signal allowed by the second radio frequency module to enter the second radio frequency module is AdBm; the first radio frequency transmitting power of a first radio frequency signal transmitted by a first radio frequency module is BdBm; the isolation between the first radio frequency module and the second radio frequency module is CdB; the suppression degree of the first radio frequency signal sent by the first radio frequency module on the second radio frequency module path is DdB; if it is to be ensured that the first RF signal does not interfere with the second RF signal, B-C-D is smaller than A. In the embodiment of the invention, the filter switch in the second radio frequency module is controlled to control the first radio frequency signal entering the second radio frequency module, so that the effect of dynamically adjusting the isolation degree on the second radio frequency module channel is achieved, and finally, the influence of the first radio frequency signal on the positioning accuracy of the second radio frequency module is reduced under the condition of not sacrificing the quality of the first radio frequency signal.
Step 102: a first antenna standing wave of a first radio frequency module and a second antenna standing wave of a second radio frequency module are obtained.
The electronic equipment is provided with a standing wave detection circuit, and a first antenna standing wave and a second antenna standing wave of the electronic equipment in the current state are obtained through the standing wave detection circuit.
Step 103: and controlling the switch of a filter in the second radio frequency module according to the acquired first radio frequency band, the acquired first radio frequency transmitting power, the acquired first antenna standing wave and the acquired second antenna standing wave.
The filter is used for adjusting the first radio frequency signal in the second radio frequency module.
The values of A, B, C and D in the above example are determined by the acquired first rf frequency band, the first rf transmitting power, the first antenna standing wave, and the second antenna standing wave, and whether to turn on the filter in the second rf module is determined according to the values of the parameters.
In the signal control method provided by the embodiment of the present invention, under the condition that a first radio frequency module and a second radio frequency module of an electronic device are simultaneously turned on, a first radio frequency band and a first radio frequency transmission power of a first radio frequency signal transmitted by the first radio frequency module are obtained, and a first antenna standing wave of the first radio frequency module and a second antenna standing wave of the second radio frequency module are obtained; according to the first radio frequency band, the first radio frequency transmitting power, the first antenna standing wave and the second antenna standing wave, the first radio frequency signal entering the second radio frequency module is adjusted by controlling the switch of the filter in the second radio frequency module, the interference of the first radio frequency signal transmitted by the first radio frequency module on the second radio frequency signal transmitted and received by the second radio frequency module can be effectively reduced without reducing the first radio frequency power of the first radio frequency signal, and the effect of a communication network can be prevented from being influenced.
Example two
Referring to fig. 2, a flowchart illustrating steps of a signal control method according to a second embodiment of the present invention is shown.
The signal control method of the embodiment of the invention is applied to electronic equipment, and comprises the following steps:
step 201: under the condition that a first radio frequency module and a second radio frequency module of the electronic device are simultaneously started, a first radio frequency band and first radio frequency transmitting power of a first radio frequency signal transmitted by the first radio frequency module are obtained.
In the embodiment of the present invention, the first radio frequency module is an LTE module, and the second radio frequency module is a GPS module. The LTE module provides communication service, the GPS module provides positioning service, and the first radio frequency signal is generated by the LTE module. Under the condition that an LTE module and a GPS module of the electronic equipment are simultaneously started, the first radio frequency signal can cause interference on the GPS signal, namely the second radio frequency signal, and the positioning accuracy of the GPS module is influenced. The control signal method in the embodiment of the invention can effectively reduce the interference of the first radio frequency signal to the GPS signal.
Wherein the first rf transmit power may be represented by symbol B.
Step 202: a first antenna standing wave of a first radio frequency module and a second antenna standing wave of a second radio frequency module are obtained.
The electronic equipment is provided with a standing wave detection circuit, and a first antenna standing wave and a second antenna standing wave of the electronic equipment in the current state are obtained through the standing wave detection circuit. The specific arrangement of the standing wave detection circuit may refer to the related art, which is not particularly limited in the embodiment of the present invention.
Step 203: and determining isolation degree information corresponding to the first radio frequency band, the first antenna standing wave and the second antenna standing wave according to a preset relation table.
The electronic device stores a preset relation table, and the preset relation table comprises corresponding relations of the signal control related parameters under different first radio frequency bands. The corresponding relationship of the relevant parameters in each first radio frequency band is specifically as follows: the isolation degree corresponding to the first antenna standing wave and the second antenna standing wave under the first radio frequency band; the maximum signal intensity of the first radio frequency signal which can be received by the second radio frequency module under the first radio frequency band, and the inhibition degree of the first radio frequency signal by the second radio frequency module. The isolation degree corresponding to the first antenna standing wave and the second antenna standing wave can be represented by symbol C.
Antenna standing wave and isolation information in a preset relation table are tested in a laboratory; under different antenna standing wave states, the isolation degree between the first antenna standing wave and the second antenna standing wave is different. The maximum strength of the first radio frequency signal allowed to enter the second radio frequency module under the first radio frequency band can be obtained through a chip specification of a specific scheme, and the suppression degree of the second radio frequency module on the first radio frequency signal can be obtained through testing by a network analyzer. The relevant parameters in the relation table are determined in the above way and then are added in the preset relation table in advance.
Step 204: and determining a first signal strength and a first suppression degree corresponding to the first radio frequency band according to a preset relation table.
The first signal strength is the maximum signal strength of the second radio frequency module capable of receiving the first radio frequency signal, and the first suppression degree is the suppression degree of the second radio frequency module on the first radio frequency signal. The maximum signal strength of the first rf signal allowed to enter the second rf module can be represented by symbol a, and the suppression level can be represented by symbol D.
Step 205: and controlling the switch of a filter in the second radio frequency module according to the first radio frequency transmitting power, the first isolation degree, the first signal strength and the first suppression degree.
The filter is used for adjusting the first radio frequency signal in the second radio frequency module.
A preferred switching manner for controlling the filter in the second rf module according to the first rf transmitting power, the first isolation, the first signal strength and the first suppression degree is as follows:
firstly, determining a first difference value between a first radio frequency transmitting power and a first isolation degree;
secondly, determining a second difference value between the first difference value and the first inhibition degree;
and thirdly, determining the working state of the switch of the filter according to the second difference and the first signal strength.
Specifically, under the condition that the second difference value is greater than the first signal strength, a switch of the filter is closed, and the working frequency band of the filter is set to be a first radio frequency band; in the case where the second difference is less than or equal to the first signal strength, the switch of the filter is kept in an open state.
That is, by comparing B-C-D (the signal strength of the actual first radio frequency signal entering the second radio frequency module) with a, if B-C-D > a, the switch of the filter is closed, and the working frequency band of the filter is set to the first radio frequency band of the acquired first radio frequency signal; if B-C-D < ═ A, the switch of the filter is kept in the open state.
In the signal control method provided by the embodiment of the present invention, under the condition that a first radio frequency module and a second radio frequency module of an electronic device are simultaneously turned on, a first radio frequency band and a first radio frequency transmission power of a first radio frequency signal transmitted by the first radio frequency module are obtained, and a first antenna standing wave of the first radio frequency module and a second antenna standing wave of the second radio frequency module are obtained; according to the first radio frequency band, the first radio frequency transmitting power, the first antenna standing wave and the second antenna standing wave, the first radio frequency signal entering the second radio frequency module is adjusted by controlling the switch of the filter in the second radio frequency module, the interference of the first radio frequency signal transmitted by the first radio frequency module on the second radio frequency signal transmitted and received by the second radio frequency module can be effectively reduced without reducing the first radio frequency power of the first radio frequency signal, and the effect of a communication network can be prevented from being influenced.
The signal control method provided by the embodiment of the invention is described above, and the electronic device provided by the embodiment of the invention is described below with reference to the accompanying drawings.
EXAMPLE III
Referring to fig. 3, a block diagram of an electronic device according to a third embodiment of the present invention is shown.
The electronic device of the embodiment of the invention comprises: a first obtaining module 301, configured to obtain a first radio frequency band and a first radio frequency transmission power of a first radio frequency signal transmitted by a first radio frequency module when the first radio frequency module and a second radio frequency module of the electronic device are simultaneously turned on; a second obtaining module 302, configured to obtain a first antenna standing wave of the first radio frequency module and a second antenna standing wave of the second radio frequency module; a control module 303, configured to control a switch of a filter in the second radio frequency module according to the first radio frequency band, the first radio frequency transmission power, the first antenna standing wave, and the second antenna standing wave; wherein the filter is configured to adjust the first radio frequency signal in the second radio frequency module.
Preferably, the control module 303 includes: the first determining submodule 3031 is configured to determine, according to a preset relationship table, isolation information corresponding to the first radio frequency band, the first antenna standing wave, and the second antenna standing wave; the second determining submodule 3032 is configured to determine, according to the preset relationship table, a first signal strength and a first suppression degree corresponding to the first radio frequency band; the first signal strength is the maximum signal strength of the first radio frequency signal which can be received by the second radio frequency module, and the first suppression degree is the suppression degree of the second radio frequency module on the first radio frequency signal; a switch control submodule 3033, configured to control a switch of a filter in the second radio frequency module according to the first radio frequency transmission power, the first isolation, the first signal strength, and the first suppression degree.
Preferably, the switch control sub-module includes: a first difference determining unit, configured to determine a first difference between the first radio frequency transmission power and the first isolation; a second difference determination unit configured to determine a second difference between the first difference and the first suppression degree; and the state determining unit is used for determining the working state of the switch of the filter according to the second difference and the first signal strength.
Preferably, the state determination unit is specifically configured to: when the second difference is greater than the first signal strength, closing a switch of the filter, and setting the working frequency band of the filter as the first radio frequency band; maintaining a switch of the filter in an open state if the second difference is less than or equal to the first signal strength.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
In the electronic device provided in the embodiment of the present invention, under the condition that a first radio frequency module and a second radio frequency module of the electronic device are simultaneously turned on, a first radio frequency band and a first radio frequency transmission power of a first radio frequency signal transmitted by the first radio frequency module are obtained, and a first antenna standing wave of the first radio frequency module and a second antenna standing wave of the second radio frequency module are obtained; according to the first radio frequency band, the first radio frequency transmitting power, the first antenna standing wave and the second antenna standing wave, the first radio frequency signal entering the second radio frequency module is adjusted by controlling the switch of the filter in the second radio frequency module, the interference of the first radio frequency signal transmitted by the first radio frequency module on the second radio frequency signal transmitted and received by the second radio frequency module can be effectively reduced without reducing the first radio frequency power of the first radio frequency signal, and the effect of a communication network can be prevented from being influenced.
Example four
Referring to fig. 4, a block diagram of an electronic device according to a fourth embodiment of the present invention is shown.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device 400 for implementing various embodiments of the present invention, where the electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to, when a first radio frequency module and a second radio frequency module of the electronic device are simultaneously turned on, obtain a first radio frequency band and a first radio frequency transmission power of a first radio frequency signal transmitted by the first radio frequency module; acquiring a first antenna standing wave of the first radio frequency module and a second antenna standing wave of the second radio frequency module; controlling a switch of a filter in the second radio frequency module according to the first radio frequency band, the first radio frequency transmission power, the first antenna standing wave and the second antenna standing wave; wherein the filter is to condition the first radio frequency signal electronics in the second radio frequency module.
In the electronic device provided in the embodiment of the present invention, under the condition that a first radio frequency module and a second radio frequency module of the electronic device are simultaneously turned on, a first radio frequency band and a first radio frequency transmission power of a first radio frequency signal transmitted by the first radio frequency module are obtained, and a first antenna standing wave of the first radio frequency module and a second antenna standing wave of the second radio frequency module are obtained; according to the first radio frequency band, the first radio frequency transmitting power, the first antenna standing wave and the second antenna standing wave, the first radio frequency signal entering the second radio frequency module is adjusted by controlling the switch of the filter in the second radio frequency module, the interference of the first radio frequency signal transmitted by the first radio frequency module on the second radio frequency signal transmitted and received by the second radio frequency module can be effectively reduced without reducing the first radio frequency power of the first radio frequency signal, and the effect of a communication network can be prevented from being influenced.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the signal control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the signal control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.