CN108491061B - Processing method and device of radio frequency antenna, storage medium and electronic equipment - Google Patents
Processing method and device of radio frequency antenna, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108491061B CN108491061B CN201810202171.0A CN201810202171A CN108491061B CN 108491061 B CN108491061 B CN 108491061B CN 201810202171 A CN201810202171 A CN 201810202171A CN 108491061 B CN108491061 B CN 108491061B
- Authority
- CN
- China
- Prior art keywords
- radio frequency
- frequency antenna
- antenna
- diversity
- preset threshold
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Radio Transmission System (AREA)
Abstract
The embodiment of the application discloses a processing method, a processing device, a storage medium and electronic equipment of a radio frequency antenna, wherein the embodiment of the application detects the strength of a first radio frequency signal of the electronic equipment; when the strength of the first radio frequency signal is detected to be larger than a first preset threshold value, adjusting the working state of the diversity radio frequency antenna; detecting a second radio frequency signal strength of the electronic equipment; and when the strength of the second radio frequency signal is detected to be between the second preset threshold value and the first preset threshold value, keeping the working state of the diversity radio frequency antenna. Therefore, under the condition that the strength of the radio-frequency signal of the electronic equipment is ensured to be at a certain level, the working state of the diversity radio-frequency antenna is reasonably adjusted, the power consumption of the electronic equipment is reduced, and the cruising ability of the electronic equipment is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for processing a radio frequency antenna, a storage medium, and an electronic device.
Background
At present, with the continuous development of communication technology, people have higher and higher requirements on communication functions, more and more frequency bands need to be processed by electronic equipment, and correspondingly, more and more radio frequency antennas are arranged on the electronic equipment.
For example, a main rf antenna and multiple diversity rf antennas may be integrated on the electronic device to ensure the rf signal strength of the electronic device, but when the electronic device is in a standby state or in a WiFi (Wireless Fidelity) connected state, the requirement of the electronic device on the rf signal strength is not so high, and at this time, when the main rf antenna and the multiple diversity rf antennas are both working, the power of the electronic device is wasted, and the cruising ability of the electronic device is affected.
Disclosure of Invention
The embodiment of the application provides a processing method and device of a radio frequency antenna, a storage medium and electronic equipment, which can improve the cruising ability of the electronic equipment.
In a first aspect, an embodiment of the present application provides a radio frequency antenna processing method, which is applied to an electronic device, where the electronic device includes multiple radio frequency antennas, the multiple radio frequency antennas include a main set radio frequency antenna and multiple diversity radio frequency antennas, and the radio frequency antenna processing method includes:
detecting a first radio frequency signal strength of the electronic device;
when the strength of the first radio frequency signal is detected to be larger than a first preset threshold value, adjusting the working state of the diversity radio frequency antenna;
detecting a second radio frequency signal strength of the electronic device;
and when the strength of the second radio frequency signal is detected to be between a second preset threshold and a first preset threshold, the second preset threshold is smaller than the first preset threshold, and the working state of the diversity radio frequency antenna is kept.
In a second aspect, an embodiment of the present application provides a processing apparatus for a radio frequency antenna, including:
the first detection unit is used for detecting the strength of a first radio frequency signal of the electronic equipment;
the adjusting unit is used for adjusting the working state of the diversity radio-frequency antenna when the fact that the strength of the first radio-frequency signal is larger than a first preset threshold value is detected;
the second detection unit is used for detecting the strength of a second radio frequency signal of the electronic equipment;
and the maintaining unit is used for maintaining the working state of the diversity radio-frequency antenna when the second radio-frequency signal strength is detected to be between a second preset threshold value and a first preset threshold value, wherein the second preset threshold value is smaller than the first preset threshold value.
In a third aspect, a storage medium is provided in this application, where a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the processing method of the radio frequency antenna provided in any embodiment of this application.
In a fourth aspect, the electronic device provided in this embodiment of the present application includes a processor and a memory, where the memory has a computer program, and the processor is configured to execute the processing method of the radio frequency antenna provided in any embodiment of the present application by calling the computer program.
The embodiment of the application detects the strength of a first radio frequency signal of the electronic equipment; when the strength of the first radio frequency signal is detected to be larger than a first preset threshold value, adjusting the working state of the diversity radio frequency antenna; detecting a second radio frequency signal strength of the electronic equipment; and when the strength of the second radio frequency signal is detected to be between the second preset threshold value and the first preset threshold value, keeping the working state of the diversity radio frequency antenna. Therefore, under the condition that the strength of the radio-frequency signal of the electronic equipment is ensured to be at a certain level, the working state of the diversity radio-frequency antenna is reasonably adjusted, the power consumption of the electronic equipment is reduced, and the cruising ability of the electronic equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a processing method of a radio frequency antenna according to an embodiment of the present application.
Fig. 2 is another schematic flow chart of a processing method of a radio frequency antenna according to an embodiment of the present application.
Fig. 3 is a schematic layout diagram of an antenna of an electronic device according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a processing apparatus of a radio frequency antenna according to an embodiment of the present application.
Fig. 5 is another schematic structural diagram of a processing apparatus of a radio frequency antenna according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The term module, as used herein, may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as objects implemented on the computing system. The apparatus and method described herein may be implemented in software, but may also be implemented in hardware, and are within the scope of the present application.
The terms "first", "second", and "third", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but rather, some embodiments may include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
An execution main body of the processing method of the radio frequency antenna may be the processing device of the radio frequency antenna provided in the embodiment of the present application, or an electronic device integrated with the processing device of the radio frequency antenna, where the processing device of the radio frequency antenna may be implemented in a hardware or software manner. The electronic device may be a smart phone, a tablet computer, a palm computer, a notebook computer, or a desktop computer.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a processing method of a radio frequency antenna according to an embodiment of the present application.
It should be noted that the processing method for the radio frequency antenna is specifically applied to an electronic device, where the electronic device includes a plurality of radio frequency antennas, and the plurality of radio frequency antennas include a main set radio frequency antenna and a plurality of diversity radio frequency antennas. The main set antenna structure can be used for transceiving radio frequency signals, such as at least one of low band radio frequency signals (700-. The diversity rf antenna may receive signals of different frequency bands.
The specific process of the processing method of the radio frequency antenna provided by the embodiment of the application can be as follows:
201. a first radio frequency signal strength of the electronic device is detected.
It can be appreciated that when the electronic device is in a power saving state, a standby state, or an WiF connection state, the electronic device has less stringent requirements for rf signal strength, and power of the electronic device is wasted when the main rf antenna and the plurality of diversity rf antennas are both active.
The first radio frequency signal strength of the current electronic device can be detected, when the first radio frequency signal strength is higher, the radio frequency communication quality of the electronic device is better, and when the first radio frequency signal strength is lower, the radio frequency communication quality of the electronic device is worse, so that the current radio frequency communication quality of the electronic device can be estimated by detecting the first radio frequency signal strength of the current electronic device.
202. And when the first radio frequency signal strength is detected to be greater than a first preset threshold value, adjusting the working state of the diversity radio frequency antenna.
The value of the first preset threshold is a measurement critical value, and when the strength of the first rf signal is greater than the measurement critical value, it indicates that the current communication state of the electronic device is very good, and at this time, if the electronic device is in a power saving state, a standby state, or an WiF connection state, the radio frequency communication quality is not required to be so good.
Further, when it is detected that the first rf signal strength is greater than the first preset threshold, the operating state of the diversity rf antenna may be adjusted, for example, the operating state of one diversity rf antenna is adjusted to be in an off state. Although the working state of turning off one diversity radio frequency antenna can affect part of radio frequency communication quality of the electronic equipment, the power consumption of the electronic equipment can be saved.
Specifically, the step of adjusting the operating state of the diversity rf antenna may include:
(1) acquiring a diversity radio frequency antenna in an open state;
(2) selecting one diversity radio frequency antenna from the diversity radio frequency antennas in the opening state to determine as a target diversity radio frequency antenna;
(3) and adjusting the working state of the target diversity radio frequency antenna to be a closed state.
The diversity radio frequency antenna in the on state can be obtained, the number of the diversity radio frequency antennas in the on state can be single or multiple, and when the number of the diversity radio frequency antennas in the on state is single, the diversity radio frequency antenna is directly determined as the target diversity radio frequency antenna. When the number of the diversity radio frequency antennas in the on state is multiple, one diversity radio frequency antenna with better current receiving performance can be selected to be determined as a target diversity radio frequency antenna, and one diversity radio frequency antenna with the minimum distance to the main diversity radio frequency antenna can be selected to be determined as the target diversity radio frequency antenna according to the distance to the main diversity radio frequency antenna, because the smaller the distance between the antennas is, the larger the radio frequency interference between the antennas is.
Further, the working state of the target diversity radio frequency antenna is adjusted to be a closed state, so that the effect of reducing the communication state of the electronic equipment is achieved.
In an embodiment, before adjusting the operating state of the target diversity rf antenna to the off state, an Error Rate (SER) of the main set rf antenna may be further obtained, where the SER is an index for measuring data transmission accuracy within a specified time, and when it is detected that the SER of the main set rf antenna is lower than a third preset threshold, the step of adjusting the operating state of the target diversity rf antenna to the off state is performed, so as to better ensure a communication function of the electronic device.
Specifically, the step of selecting one diversity rf antenna from the diversity rf antennas in the on state to determine as the target diversity rf antenna may include:
(1.1) acquiring the relative positions of the main set radio frequency antenna and the diversity radio frequency antenna in the opening state;
(1.2) determining the distance between the main set radio frequency antenna and each diversity radio frequency antenna in the opening state according to the relative position;
and (1.3) selecting one diversity radio-frequency antenna with the minimum distance in the opening state to determine as a target diversity radio-frequency antenna.
It should be noted that the smaller the distance between the main set rf antenna and the diversity rf antenna, the greater the probability of radio frequency interference between them, for example.
The electronic device can determine the linear distance between the main set radio-frequency antenna and each diversity radio-frequency antenna in the open state according to the relative positions of the main set radio-frequency antenna and the diversity radio-frequency antenna in the open state.
Further, in order to ensure the radio frequency communication quality of the main set radio frequency antenna, the electronic device preferentially selects the diversity radio frequency antenna which is closest to the main set radio frequency antenna and is in an on state as the target diversity radio frequency antenna.
203. And detecting the strength of a second radio frequency signal of the electronic equipment.
After the operating state of the diversity rf antenna is adjusted, the rf communication quality of the electronic device may be affected to some extent, and the current second rf signal strength of the electronic device needs to be detected to evaluate the rf communication quality of the electronic device. Therefore, the influence on the normal use of the radio frequency of the electronic equipment after the working state of the diversity radio frequency antenna is adjusted is avoided.
204. And when the strength of the second radio frequency signal is detected to be between the second preset threshold value and the first preset threshold value, keeping the working state of the diversity radio frequency antenna.
When the radio frequency signal intensity of the electronic equipment is between the second preset threshold and the first preset threshold, it is indicated that the current radio frequency communication quality of the electronic equipment is medium, and the cruising ability of the electronic equipment is not affected by too high radio frequency communication quality, and the normal radio frequency communication ability of the electronic equipment is not affected by too low radio frequency communication quality.
Further, when it is detected that the second rf signal strength is between the second preset threshold and the first preset threshold, the adjusted working state of the diversity rf antenna may be maintained.
In an embodiment, when it is detected that the strength of the second radio frequency signal is not between the second preset threshold and the first preset threshold, it indicates that the radio frequency communication quality of the electronic device is still at a higher level, at this time, the step 202 may be returned to, and the adjustment of the working state of the diversity radio frequency antenna is continued until the strength of the second radio frequency signal is between the second preset threshold and the first preset threshold.
As can be seen from the above, in the embodiment of the present application, the strength of the first radio frequency signal of the electronic device is detected; when the strength of the first radio frequency signal is detected to be larger than a first preset threshold value, adjusting the working state of the diversity radio frequency antenna; detecting a second radio frequency signal strength of the electronic equipment; and when the strength of the second radio frequency signal is detected to be between the second preset threshold value and the first preset threshold value, keeping the working state of the diversity radio frequency antenna. Therefore, under the condition that the strength of the radio-frequency signal of the electronic equipment is ensured to be at a certain level, the working state of the diversity radio-frequency antenna is reasonably adjusted, the power consumption of the electronic equipment is reduced, and the cruising ability of the electronic equipment is improved.
The display method of the present application will be further described below on the basis of the method described in the above embodiment. Referring to fig. 2, the processing method of the rf antenna may include:
301. a first radio frequency signal strength of the electronic device is detected.
It should be noted that, for better describing the embodiment, as shown in fig. 3, the electronic device 10 is exemplified by integrating three rf antennas and one wireless antenna, which may be a WiFi antenna 11, a first rf antenna 12, a second rf antenna 13, and a third rf antenna 14. The signal transmitted by the WiFi antenna 11 can be 2.4G (2412-2482 MHz). The first RF antenna 12 can transmit low frequency band (700-960 MHz). The second radio frequency antenna 13 can transmit the intermediate frequency band signal (1710-2170 MHz). The third RF antenna 14 can transmit high frequency band signals (2496-2690 MHz). The third rf antenna 14 serves as a main rf antenna and can transmit and receive signals. The first rf antenna 12 and the second rf antenna 13 are diversity rf antennas and can receive signals. In particular, other numbers of rf antennas and wireless antennas may be included, and this example should not be construed as limiting the invention.
Wherein, the strength of the first radio frequency signal of the electronic equipment is detected, for example, the strength of the first radio frequency signal has a value of 95 dbm.
302. And when the strength of the first radio frequency signal is detected to be greater than a first preset threshold value, acquiring the diversity radio frequency antenna in an open state.
The value of the first preset threshold is a measurement critical value, and when the strength of the first rf signal is greater than the measurement critical value, it indicates that the current communication state of the electronic device is very good, and at this time, if the electronic device is in a power saving state, a standby state, or an WiF connection state, the radio frequency communication quality is not required to be so good. For example, the first preset threshold is 80 dbm.
Further, when it is detected that the first rf signal strength 95dbm is greater than the first preset threshold value 80dbm, the diversity rf antennas in the on state are obtained, which are the first rf antenna 12 (diversity rf antenna) and the second rf antenna 13 (diversity rf antenna), respectively.
303. The relative positions of the main set radio frequency antenna and the diversity radio frequency antenna in the opening state are obtained.
Relative positions of a third rf antenna 14 (a main rf antenna) and the first rf antenna 12 and the second rf antenna 13 in an on state are respectively obtained, the third rf antenna 14 is located at a lower right corner of the electronic device 10, the first rf antenna 12 is located at an upper right corner of the electronic device 10, and the second rf antenna 13 is located at a lower left corner of the electronic device.
304. And determining the distance between the main diversity radio-frequency antenna and each diversity radio-frequency antenna in the opening state according to the relative position.
The electronic device determines that the distance between the third rf antenna 14 and the first rf antenna 12 is 10cm and the distance between the third rf antenna 14 and the second rf antenna 13 is 5cm according to the relative positions of the third rf antenna 14 and the first rf antenna 12 and the second rf antenna 13 in the on state.
305. And selecting the diversity radio-frequency antenna with the minimum distance in the opening state to determine as the target diversity radio-frequency antenna, and adjusting the working state of the target diversity radio-frequency antenna to be in the closing state.
It should be noted that the distance between the third rf antenna 14 and the second rf antenna 13 is 5cm, and the distance between the third rf antenna 14 and the first rf antenna 12 is 10 cm. The radio frequency interference of the second radio frequency antenna 13 to the third radio frequency antenna 14 is larger than the radio frequency interference of the first radio frequency antenna 12 and the third radio frequency antenna 14.
Wherein, the second rf antenna 13 with the minimum distance to the third rf antenna 14 is determined as the target diversity rf antenna, and the working state of the second rf antenna 13 is adjusted to the off state. The radio frequency signal transmission efficiency of the third radio frequency antenna 14 (main set radio frequency antenna) can be better ensured.
306. And detecting the strength of a second radio frequency signal of the electronic equipment.
When the operating state of the second rf antenna 13 is adjusted to the off state, the rf communication quality of the electronic device may be affected to some extent, and the current second rf signal strength of the electronic device needs to be detected to evaluate the rf communication quality of the electronic device. For example, the second rf signal strength is reduced to 75 dbm.
307. And detecting whether the strength of the second radio frequency signal is between a second preset threshold value and a first preset threshold value.
The second preset threshold is smaller than the first preset threshold, for example, the second preset threshold is 50 dbm.
Further, when it is detected that the second rf signal is between the second preset threshold and the first preset threshold, step 308 is executed; when it is detected that the second rf signal is not between the second preset threshold and the first preset threshold, it indicates that the rf communication quality of the electronic device is still at a higher level, at this time, the step 303 may be executed to continue to adjust the operating state of the first rf antenna 12 to the off state.
308. And acquiring the bit error rate of the master set radio frequency antenna.
When the second radio frequency signal strength of the electronic equipment is detected to be between the second preset threshold and the first preset threshold, it is indicated that the current radio frequency communication quality of the electronic equipment is medium, and the cruising ability of the electronic equipment is not affected by too high radio frequency communication quality, or the normal radio frequency communication ability of the electronic equipment is not affected by too low radio frequency communication quality.
Further, an error rate of the third rf antenna 14 (master set rf antenna) may be obtained, where the error rate is an index for measuring data transmission accuracy of the rf data received and transmitted by the master set rf antenna within a specified time, and a higher error rate indicates that the rf data received and transmitted by the master set rf antenna is more unstable, and a lower error rate indicates that the rf data received and transmitted by the master set rf antenna is more stable.
309. And detecting whether the error rate is lower than a third preset threshold value.
Wherein the third predetermined threshold is a critical value for measuring the stability of the rf data transmitted and received by the main set rf antenna, and step 310 is executed when the error rate is detected to be lower than the third predetermined threshold. When it is detected that the error rate is not lower than the third preset threshold, step 311 is executed.
310. The operating state of the diversity radio frequency antenna is maintained.
When it is detected that the error rate is lower than the third preset threshold, it indicates that the stability of the third rf antenna 14 (main diversity rf antenna) is relatively high, and the operating state of the second rf antenna 13 (diversity rf antenna) is kept to be adjusted to the off state, so as to save the power consumption of the electronic device.
311. And restoring the working state of the target diversity radio frequency antenna to the opening state.
When it is detected that the error rate is not lower than the third preset threshold, it indicates that the stability of the third rf antenna 14 (main set rf antenna) is poor, and at this time, if the second rf antenna 13 (diversity rf antenna) is turned off, the third rf antenna 14 cannot ensure the quality of the rf signal of the electronic device, so that the working state of the second rf antenna 13 (diversity rf antenna) needs to be restored to the on state.
As can be seen from the above, in the embodiment of the present application, the strength of the first radio frequency signal of the electronic device is detected; when the first radio frequency signal strength is detected to be larger than a first preset threshold value, the diversity radio frequency antenna which is closest to the main diversity radio frequency antenna and is in the working state is closed, the second radio frequency signal strength of the electronic equipment is continuously detected, and when the second radio frequency signal strength is detected to be between a second preset threshold value and the first preset threshold value and the error rate of the main diversity radio frequency antenna is higher than a third preset threshold value, the working state of the diversity radio frequency antenna is kept. Therefore, under the condition that the strength of the radio-frequency signal of the electronic equipment is ensured to be at a certain level, the working state of the diversity radio-frequency antenna is reasonably adjusted, the power consumption of the electronic equipment is reduced, and the cruising ability of the electronic equipment is improved.
In one embodiment, a processing device for a radio frequency antenna is also provided. Referring to fig. 4, fig. 4 is a schematic structural diagram of a processing device of a radio frequency antenna according to an embodiment of the present application. The processing apparatus of the rf antenna is applied to an electronic device, and includes a first detecting unit 401, an adjusting unit 402, a second detecting unit 403, and a holding unit 404, as follows:
the first detecting unit 401 is configured to detect a first rf signal strength of the electronic device.
The first detecting unit 401 may detect a first rf signal strength of the current electronic device, wherein the greater the first rf signal strength is, the better the rf communication quality of the electronic device is, and the smaller the first rf signal strength is, the worse the rf communication quality of the electronic device is, and therefore, the current rf communication quality of the electronic device may be estimated by detecting the first rf signal strength of the current electronic device.
The adjusting unit 402 is configured to adjust the working state of the diversity rf antenna when detecting that the strength of the first rf signal is greater than a first preset threshold.
The value of the first preset threshold is a measurement critical value, and when the strength of the first rf signal is greater than the measurement critical value, it indicates that the current communication state of the electronic device is very good, and at this time, if the electronic device is in a power saving state, a standby state, or an WiF connection state, the radio frequency communication quality is not required to be so good.
Further, when the adjusting unit 402 detects that the strength of the first rf signal is greater than the first preset threshold, the operating state of the diversity rf antenna may be adjusted, for example, the operating state of one diversity rf antenna is adjusted to be in an off state. Although the working state of turning off one diversity radio frequency antenna can affect part of radio frequency communication quality of the electronic equipment, the power consumption of the electronic equipment can be saved.
The second detecting unit 403 is configured to detect a second rf signal strength of the electronic device.
After the operating state of the diversity rf antenna is adjusted, the rf communication quality of the electronic device may have a certain influence, and the second detecting unit 403 needs to detect the current second rf signal strength of the electronic device to evaluate the rf communication quality of the electronic device. Therefore, the influence on the normal use of the radio frequency of the electronic equipment after the working state of the diversity radio frequency antenna is adjusted is avoided.
The maintaining unit 404 is configured to maintain the working state of the diversity rf antenna when it is detected that the strength of the second rf signal is between a second preset threshold and a first preset threshold, where the second preset threshold is smaller than the first preset threshold.
When the radio frequency signal intensity of the electronic equipment is between the second preset threshold and the first preset threshold, it is indicated that the current radio frequency communication quality of the electronic equipment is medium, and the cruising ability of the electronic equipment is not affected by too high radio frequency communication quality, and the normal radio frequency communication ability of the electronic equipment is not affected by too low radio frequency communication quality.
Further, when the holding unit 404 detects that the strength of the second rf signal is between the second preset threshold and the first preset threshold, the adjusted working state of the diversity rf antenna may be maintained.
In an embodiment, referring to fig. 5, the adjusting unit 402 may include:
an obtaining subunit 4021, configured to obtain a diversity radio frequency antenna in an on state;
a determining subunit 4022, configured to select one diversity radio frequency antenna from the diversity radio frequency antennas in the on state to determine the diversity radio frequency antenna as a target diversity radio frequency antenna;
an adjusting subunit 4023, configured to adjust the operating state of the target diversity rf antenna to an off state.
The determining subunit 4022 may be specifically configured to obtain the relative positions of the main set radio frequency antenna and the diversity radio frequency antenna in the on state; determining the distance between the main set radio frequency antenna and each diversity radio frequency antenna in the opening state according to the relative position; and selecting the diversity radio-frequency antenna with the minimum distance in the opening state to determine as the target diversity radio-frequency antenna.
In an embodiment, referring to fig. 5, the apparatus further comprises:
the turning-on unit 405 is configured to, when it is detected that the electronic device is in a call state, adjust the operating state of each diversity rf antenna to a turning-on state.
The steps performed by each unit in the processing apparatus of the rf antenna may refer to the method steps described in the above method embodiments. The processing device of the radio frequency antenna can be integrated in electronic equipment, such as a mobile phone, a tablet computer and the like.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing embodiments, which are not described herein again.
As can be seen from the above, the processing apparatus of the rf antenna provided in this embodiment detects the strength of the first rf signal of the electronic device through the first detecting unit 401; when the adjusting unit 402 detects that the strength of the first rf signal is greater than a first preset threshold, adjusting the working state of the diversity rf antenna; the second detecting unit 403 detects a second rf signal strength of the electronic device; when the holding unit 404 detects that the strength of the second rf signal is between the second preset threshold and the first preset threshold, the working state of the diversity rf antenna is maintained. Therefore, under the condition that the strength of the radio-frequency signal of the electronic equipment is ensured to be at a certain level, the working state of the diversity radio-frequency antenna is reasonably adjusted, the power consumption of the electronic equipment is reduced, and the cruising ability of the electronic equipment is improved.
The embodiment of the application also provides the electronic equipment. Referring to fig. 6, an electronic device 500 includes a processor 501 and a memory 502. The processor 501 is electrically connected to the memory 502.
The processor 500 is a control center of the electronic device 500, connects various parts of the whole electronic device using various interfaces and lines, performs various functions of the electronic device 500 by running or loading a computer program stored in the memory 502, and calls data stored in the memory 502, and processes the data, thereby performing overall monitoring of the electronic device 500.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running the computer programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer 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 created according to use of the electronic device, and the like. Further, the memory 502 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. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
In this embodiment, the processor 501 in the electronic device 500 loads instructions corresponding to one or more processes of the computer program into the memory 502, and the processor 501 runs the computer program stored in the memory 502, so as to implement various functions as follows:
detecting the strength of a first radio frequency signal of the electronic equipment;
when the strength of the first radio frequency signal is detected to be larger than a first preset threshold value, adjusting the working state of the diversity radio frequency antenna;
detecting a second radio frequency signal strength of the electronic equipment;
when the strength of the second radio frequency signal is detected to be between a second preset threshold value and a first preset threshold value, the second preset threshold value is smaller than the first preset threshold value, and the working state of the diversity radio frequency antenna is kept.
In some embodiments, when performing the adjustment of the operation state of the diversity rf antenna, the processor 501 may specifically perform the following steps:
acquiring a diversity radio frequency antenna in an open state;
selecting one diversity radio frequency antenna from the diversity radio frequency antennas in the opening state to determine as a target diversity radio frequency antenna;
and adjusting the working state of the target diversity radio frequency antenna to be a closed state.
In some embodiments, when one diversity rf antenna is selected from the diversity rf antennas in the on state and determined as the target diversity rf antenna, the processor 501 may specifically perform the following steps:
acquiring the relative positions of the main diversity radio-frequency antenna and the diversity radio-frequency antenna in the opening state;
determining the distance between the main set radio frequency antenna and each diversity radio frequency antenna in the opening state according to the relative position;
and selecting the diversity radio-frequency antenna with the minimum distance in the opening state to determine as the target diversity radio-frequency antenna.
In some embodiments, before maintaining the operating state of the diversity rf antenna, the processor 501 may further specifically perform the following steps:
acquiring the error rate of the master set radio frequency antenna;
detecting whether the error rate is lower than a third preset threshold value;
and when the error rate is detected to be lower than the third preset threshold value, executing the step of keeping the working state of the diversity radio frequency antenna.
In some embodiments, after maintaining the operating state of the diversity rf antenna, the processor 501 may further specifically perform the following steps:
and when the electronic equipment is detected to be in a call state, adjusting the working state of each diversity radio frequency antenna to be in an open state.
In some embodiments, after detecting the second rf signal strength of the electronic device, the processor 501 may further specifically perform the following steps:
and when the strength of the second radio frequency signal is detected not to be between the second preset threshold value and the first preset threshold value, returning to the step of adjusting the working state of the diversity radio frequency antenna.
As can be seen from the above, in the electronic device according to the embodiment of the present application, the strength of the first radio frequency signal of the electronic device is detected; when the strength of the first radio frequency signal is detected to be larger than a first preset threshold value, adjusting the working state of the diversity radio frequency antenna; detecting a second radio frequency signal strength of the electronic equipment; and when the strength of the second radio frequency signal is detected to be between the second preset threshold value and the first preset threshold value, keeping the working state of the diversity radio frequency antenna. Therefore, under the condition that the strength of the radio-frequency signal of the electronic equipment is ensured to be at a certain level, the working state of the diversity radio-frequency antenna is reasonably adjusted, the power consumption of the electronic equipment is reduced, and the cruising ability of the electronic equipment is improved.
Referring to fig. 7, in some embodiments, the electronic device 500 may further include: a display 503, radio frequency circuitry 504, audio circuitry 505, and a power supply 506. The display 503, the rf circuit 504, the audio circuit 505, and the power source 506 are electrically connected to the processor 501.
The display 503 may be used to display information entered by or provided to the user as well as various graphical user interfaces, which may be made up of graphics, text, icons, video, and any combination thereof. The display 503 may include a display panel, and in some embodiments, the display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The rf circuit 504 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices via wireless communication, and for transceiving signals with the network device or other electronic devices.
The audio circuit 505 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone.
The power source 506 may be used to power various components of the electronic device 500. In some embodiments, power supply 506 may be logically coupled to processor 501 through a power management system, such that functions of managing charging, discharging, and power consumption are performed through the power management system.
Although not shown in fig. 7, the electronic device 500 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
An embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the processing method of the radio frequency antenna in any one of the above embodiments, for example: detecting the strength of a first radio frequency signal of the electronic equipment; when the strength of the first radio frequency signal is detected to be larger than a first preset threshold value, adjusting the working state of the diversity radio frequency antenna; detecting a second radio frequency signal strength of the electronic equipment; when the strength of the second radio frequency signal is detected to be between a second preset threshold value and a first preset threshold value, the second preset threshold value is smaller than the first preset threshold value, and the working state of the diversity radio frequency antenna is kept.
In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for the processing method of the radio frequency antenna in the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the flow of the processing method of the radio frequency antenna in the embodiment of the present application can be completed by controlling related hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and during the execution process, the flow of the embodiment of the processing method of the radio frequency antenna can be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
For the processing apparatus of the radio frequency antenna in the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The foregoing describes in detail a processing method, an apparatus, a storage medium, and an electronic device for a radio frequency antenna provided in an embodiment of the present application, and a specific example is applied in the present application to explain the principle and implementation of the present application, and the description of the foregoing embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (11)
1. A processing method of radio frequency antenna is applied to electronic equipment, and is characterized in that the electronic equipment comprises a plurality of radio frequency antennas, the plurality of radio frequency antennas comprise a main set radio frequency antenna and a plurality of diversity radio frequency antennas, and the processing method of the radio frequency antennas comprises the following steps:
detecting a first radio frequency signal strength of the electronic device;
when the strength of the first radio frequency signal is detected to be larger than a first preset threshold value, reducing the working state of the diversity radio frequency antenna;
detecting a second radio frequency signal strength of the electronic device;
and when the strength of the second radio frequency signal is detected to be between a second preset threshold and a first preset threshold, the second preset threshold is smaller than the first preset threshold, and the working state of the diversity radio frequency antenna is kept.
2. The method of claim 1, wherein the step of reducing the operating state of the diversity rf antenna comprises:
acquiring a diversity radio frequency antenna in an open state;
selecting one diversity radio frequency antenna from the diversity radio frequency antennas in the opening state to be determined as a target diversity radio frequency antenna;
and adjusting the working state of the target diversity radio frequency antenna to be a closed state.
3. The method for processing rf antenna of claim 2, wherein the step of selecting one of the diversity rf antennas in the on state as the target diversity rf antenna comprises:
acquiring the relative positions of the main diversity radio-frequency antenna and the diversity radio-frequency antenna in the opening state;
determining the distance between the main set radio frequency antenna and each diversity radio frequency antenna in the opening state according to the relative position;
and selecting the diversity radio-frequency antenna with the minimum distance in the opening state to determine as the target diversity radio-frequency antenna.
4. A method for processing a radio frequency antenna according to any of claims 1 to 3, wherein the step of maintaining the operating state of the diversity radio frequency antenna is preceded by the steps of:
acquiring the error rate of the master set radio frequency antenna;
detecting whether the error rate is lower than a third preset threshold value or not;
and when the error rate is detected to be lower than the third preset threshold value, executing the step of keeping the working state of the diversity radio frequency antenna.
5. The method of claim 4, wherein the step of maintaining the operating state of the diversity RF antenna is followed by the step of:
and when the electronic equipment is detected to be in a call state, adjusting the working state of each diversity radio frequency antenna to be in an open state.
6. The method for processing rf antenna of claim 5, wherein the step of detecting the second rf signal strength of the electronic device is followed by further comprising:
and when the strength of the second radio frequency signal is detected not to be between a second preset threshold value and a first preset threshold value, returning to the step of adjusting the working state of the diversity radio frequency antenna.
7. A device for processing a radio frequency antenna, comprising:
the first detection unit is used for detecting the strength of a first radio frequency signal of the electronic equipment;
the adjusting unit is used for reducing the working state of the diversity radio-frequency antenna when the first radio-frequency signal strength is detected to be greater than a first preset threshold value;
the second detection unit is used for detecting the strength of a second radio frequency signal of the electronic equipment;
and the maintaining unit is used for maintaining the working state of the diversity radio-frequency antenna when the second radio-frequency signal strength is detected to be between a second preset threshold value and a first preset threshold value, wherein the second preset threshold value is smaller than the first preset threshold value.
8. The apparatus for processing rf antenna of claim 7, wherein the adjusting unit comprises:
the acquisition subunit is used for acquiring the diversity radio-frequency antenna in an open state;
a determining subunit, configured to select one diversity radio-frequency antenna from the diversity radio-frequency antennas in the on state to determine as a target diversity radio-frequency antenna;
and the adjusting subunit is used for adjusting the working state of the target diversity radio frequency antenna to a closed state.
9. The apparatus for processing a radio frequency antenna of claim 8, wherein the determining subunit is specifically configured to:
acquiring the relative positions of a main diversity radio-frequency antenna and the diversity radio-frequency antenna in the opening state;
determining the distance between the main set radio frequency antenna and each diversity radio frequency antenna in the opening state according to the relative position;
and selecting the diversity radio-frequency antenna with the minimum distance in the opening state to determine as the target diversity radio-frequency antenna.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the processing method of a radio-frequency antenna according to any one of claims 1 to 6.
11. An electronic device comprising a processor and a memory, said memory having a computer program, characterized in that said processor is adapted to perform the processing method of the radio frequency antenna according to any of claims 1 to 6 by invoking said computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810202171.0A CN108491061B (en) | 2018-03-12 | 2018-03-12 | Processing method and device of radio frequency antenna, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810202171.0A CN108491061B (en) | 2018-03-12 | 2018-03-12 | Processing method and device of radio frequency antenna, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108491061A CN108491061A (en) | 2018-09-04 |
CN108491061B true CN108491061B (en) | 2020-07-07 |
Family
ID=63339039
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810202171.0A Active CN108491061B (en) | 2018-03-12 | 2018-03-12 | Processing method and device of radio frequency antenna, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108491061B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257809B (en) * | 2018-11-22 | 2022-03-25 | 维沃移动通信有限公司 | Communication path control method and terminal equipment |
CN109782236B (en) * | 2019-02-27 | 2020-11-27 | 珠海格力电器股份有限公司 | Method and device for shielding data interaction by microwave radar |
CN110278003B (en) * | 2019-06-24 | 2021-04-27 | Oppo广东移动通信有限公司 | Method for reducing interference between antennas, electronic device and storage medium |
CN110299930B (en) * | 2019-06-25 | 2021-07-13 | Oppo广东移动通信有限公司 | Antenna switching method and related equipment |
CN112243288B (en) * | 2019-07-16 | 2023-12-26 | 北京小米移动软件有限公司 | Power adjustment method and device, electronic equipment and readable storage medium |
CN110290277B (en) * | 2019-07-25 | 2021-09-24 | 维沃移动通信有限公司 | Antenna control method and terminal |
CN112788684B (en) * | 2020-12-17 | 2023-08-08 | 上海途鸽数据科技有限公司 | Method and system for improving networking quality of terminal |
CN112637889B (en) * | 2020-12-18 | 2023-07-21 | Oppo广东移动通信有限公司 | Control method and device, equipment and storage medium |
CN112888054B (en) * | 2021-01-28 | 2022-09-02 | 惠州Tcl移动通信有限公司 | Method and device for reducing power consumption of tuner, terminal equipment and storage medium |
CN114205857B (en) * | 2021-12-10 | 2024-01-09 | 深圳创维数字技术有限公司 | 5G and WiFi compatible debugging method, device and storage medium |
CN114553278A (en) * | 2022-01-25 | 2022-05-27 | 联想(北京)有限公司 | Data processing method and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404038A (en) * | 2011-11-04 | 2012-04-04 | 华为技术有限公司 | Control method and equipment of receiving diversity antenna system and terminal |
CN104284400A (en) * | 2013-07-01 | 2015-01-14 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105792259A (en) * | 2016-04-26 | 2016-07-20 | 宇龙计算机通信科技(深圳)有限公司 | 3G communication control method of intelligent terminal |
CN106301518A (en) * | 2016-08-26 | 2017-01-04 | 珠海市魅族科技有限公司 | A kind of signal processing method under gsm system and device |
CN106301441A (en) * | 2016-09-21 | 2017-01-04 | 惠州Tcl移动通信有限公司 | A kind of method and system reducing mobile terminal radiating injury |
CN107181559A (en) * | 2017-05-23 | 2017-09-19 | 广东欧珀移动通信有限公司 | Processing method, device, storage medium and the terminal of Radio frequency interference |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4667118B2 (en) * | 2005-05-17 | 2011-04-06 | 株式会社エヌ・ティ・ティ・ドコモ | Diversity receiver and control method for diversity reception operation |
CN101483281B (en) * | 2009-02-27 | 2011-04-13 | 华为终端有限公司 | Method and apparatus for controlling terminal antenna |
TWI504062B (en) * | 2010-02-23 | 2015-10-11 | Chi Mei Comm Systems Inc | System and method for controlling antenna performance |
CN104602332A (en) * | 2013-10-31 | 2015-05-06 | 中兴通讯股份有限公司 | Control processing method and control processing device for transmitting power, and terminal |
CN106034352A (en) * | 2015-03-16 | 2016-10-19 | 联想(北京)有限公司 | Control method and electronic device |
-
2018
- 2018-03-12 CN CN201810202171.0A patent/CN108491061B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404038A (en) * | 2011-11-04 | 2012-04-04 | 华为技术有限公司 | Control method and equipment of receiving diversity antenna system and terminal |
CN104284400A (en) * | 2013-07-01 | 2015-01-14 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105792259A (en) * | 2016-04-26 | 2016-07-20 | 宇龙计算机通信科技(深圳)有限公司 | 3G communication control method of intelligent terminal |
CN106301518A (en) * | 2016-08-26 | 2017-01-04 | 珠海市魅族科技有限公司 | A kind of signal processing method under gsm system and device |
CN106301441A (en) * | 2016-09-21 | 2017-01-04 | 惠州Tcl移动通信有限公司 | A kind of method and system reducing mobile terminal radiating injury |
CN107181559A (en) * | 2017-05-23 | 2017-09-19 | 广东欧珀移动通信有限公司 | Processing method, device, storage medium and the terminal of Radio frequency interference |
Also Published As
Publication number | Publication date |
---|---|
CN108491061A (en) | 2018-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108491061B (en) | Processing method and device of radio frequency antenna, storage medium and electronic equipment | |
CN111614840B (en) | Antenna transmission power adjusting method, device, storage medium and mobile terminal | |
CN108430101B (en) | Antenna closing method and device, storage medium and electronic equipment | |
CN108540152B (en) | Processing method and device for radio frequency interference, storage medium and electronic equipment | |
US11516684B2 (en) | Method and device for performing channel sensing on unlicensed frequency band | |
CN111654316A (en) | Antenna switching method and device, storage medium and electronic equipment | |
US20220360379A1 (en) | Sounding reference signal transmission and configuration methods, user equipment, and network side device | |
CN107231159B (en) | Radio frequency interference processing method, device, storage medium and terminal | |
CN107566015B (en) | Antenna control method, antenna control device, storage medium and electronic equipment | |
US11012970B2 (en) | Method for processing radio frequency interference and electronic device | |
CN108347277A (en) | Method of controlling antenna, device, storage medium and electronic equipment | |
CN112230877A (en) | Voice operation method and device, storage medium and electronic equipment | |
US20210329123A1 (en) | Method for Adjusting Parameter of Audio Service and Terminal | |
CN111654902B (en) | Method and device for reducing GPS signal interference of mobile terminal and mobile terminal | |
CN111443803B (en) | Mode switching method and device, storage medium and mobile terminal | |
CN106936516B (en) | Display screen display state control method, storage medium and terminal | |
CN111211421A (en) | Antenna tuning circuit and mobile terminal | |
US11914813B2 (en) | Ranging method and apparatus thereof, storage medium, and terminal device | |
CN112199005A (en) | Content display method, content display device, storage medium and mobile terminal | |
CN113472397B (en) | Antenna control method, antenna control device, storage medium and electronic equipment | |
CN111026457A (en) | Hardware configuration method and device, storage medium and terminal equipment | |
CN110995324B (en) | Bluetooth communication method, device, storage medium and terminal equipment | |
CN109638416B (en) | Antenna structure and electronic device | |
CN108471326B (en) | Antenna switching method and device, storage medium and electronic equipment | |
CN110972220B (en) | Wireless communication method, device, storage medium and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |