Nothing Special   »   [go: up one dir, main page]

CN112187326A - Antenna control method, device, equipment and storage medium - Google Patents

Antenna control method, device, equipment and storage medium Download PDF

Info

Publication number
CN112187326A
CN112187326A CN202010998222.2A CN202010998222A CN112187326A CN 112187326 A CN112187326 A CN 112187326A CN 202010998222 A CN202010998222 A CN 202010998222A CN 112187326 A CN112187326 A CN 112187326A
Authority
CN
China
Prior art keywords
antennas
target
range
throughput
determining
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.)
Pending
Application number
CN202010998222.2A
Other languages
Chinese (zh)
Inventor
张婷婷
赵兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010998222.2A priority Critical patent/CN112187326A/en
Publication of CN112187326A publication Critical patent/CN112187326A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • H04B7/0608Antenna selection according to transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0613Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using simultaneous transmission
    • H04B7/0615Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using simultaneous transmission of weighted versions of same signal
    • H04B7/0619Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using simultaneous transmission of weighted versions of same signal using feedback from receiving side
    • H04B7/0621Feedback content
    • H04B7/0632Channel quality parameters, e.g. channel quality indicator [CQI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/542Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present disclosure relates to an antenna control method, apparatus, device and storage medium, where the method is applied to an electronic device having a Wi-Fi radio frequency device, the radio frequency device being provided with a plurality of antennas, and the method includes: detecting a current network throughput of the electronic device; determining a target number of antennas which should be turned on currently based on the current network throughput, wherein the target number is less than or equal to the number of the plurality of antennas; and controlling the radio frequency device to turn on the antennas with the target number. The method and the device can accurately and reasonably determine the target number of the antennas to be started at present based on the current network throughput of the electronic equipment, can better control the antennas of the radio frequency device, can ensure that the number of the antennas to be started at present meets the requirement of the current network throughput of the electronic equipment, and can avoid the problem of high power consumption caused by too many antennas to be started.

Description

Antenna control method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to an antenna control method, apparatus, device, and storage medium.
Background
With the development of mobile terminals and internet technology, the data transmission amount of terminal devices is increasing. In order to improve the throughput of the terminal equipment in the related art, a plurality of antennas are arranged in a Wi-Fi radio frequency device of the terminal equipment. However, although the throughput of the terminal device can be improved by providing multiple antennas, the power consumption of the Wi-Fi radio frequency device is increased, and further the power consumption of the terminal device is increased, which affects the cruising performance of the terminal device.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide an antenna control method, apparatus, device and storage medium, so as to solve the defects in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided an antenna control method applied to an electronic device having a Wi-Fi radio frequency device, where multiple antennas are disposed on the radio frequency device, the method including:
detecting a current network throughput of the electronic device;
determining a target number of antennas which should be turned on currently based on the current network throughput, wherein the target number is less than or equal to the number of the plurality of antennas;
and controlling the radio frequency device to turn on the antennas with the target number.
In an embodiment, the determining the target number of antennas that should be currently turned on based on the current network throughput includes:
determining a target throughput range to which the current network throughput belongs;
and determining the target number of antennas which should be switched on currently by the electronic equipment based on the target throughput range.
In an embodiment, the determining, based on the target throughput range, a target number of antennas that the electronic device should currently turn on includes:
and determining the target number of the antennas to be started corresponding to the target throughput range based on the corresponding relationship between each throughput range and the number of the antennas to be started, which is constructed in advance.
In an embodiment, the determining, based on the target throughput range, a target number of antennas that the electronic device should currently turn on includes:
determining the target number of antennas which should be started currently by the electronic equipment as a first number under the condition that the target throughput range is a first range, wherein the first range is a range in which the network throughput is smaller than a set threshold value;
and under the condition that the target throughput range is a second range, determining the target number of antennas which should be started by the electronic equipment currently as a second number, wherein the second range is a range in which the network throughput is greater than or equal to a set threshold, and the second number is greater than the first number.
In an embodiment, the method further comprises:
determining a duration for which the current network throughput belongs to the target throughput range;
and if the duration is greater than or equal to a set duration threshold, executing the operation of determining the target number of the antennas which should be started currently by the electronic equipment based on the target throughput range.
According to a second aspect of the embodiments of the present disclosure, there is provided an antenna control apparatus applied to an electronic device having a Wi-Fi radio frequency device, the radio frequency device being provided with a plurality of antennas, the apparatus including:
the throughput detection module is used for detecting the current network throughput of the electronic equipment;
a number determination module, configured to determine, based on the current network throughput, a target number of antennas that should be currently turned on, where the target number is less than or equal to the number of the multiple antennas;
and the antenna control module is used for controlling the radio frequency device to turn on the antennas with the target number.
In one embodiment, the number determination module includes:
the range determining unit is used for determining a target throughput range to which the current network throughput belongs;
and the quantity determining unit is used for determining the target quantity of the antennas which should be started currently by the electronic equipment based on the target throughput range.
In an embodiment, the number determining unit is further configured to determine, based on a pre-established correspondence between each throughput range and the number of antennas to be turned on, a target number of antennas to be turned on corresponding to the target throughput range.
In an embodiment, the number determination unit is further configured to:
determining the target number of antennas which should be started currently by the electronic equipment as a first number under the condition that the target throughput range is a first range, wherein the first range is a range in which the network throughput is smaller than a set threshold value;
and under the condition that the target throughput range is a second range, determining the target number of antennas which should be started by the electronic equipment currently as a second number, wherein the second range is a range in which the network throughput is greater than or equal to a set threshold, and the second number is greater than the first number.
In one embodiment, the number determination module further comprises:
a duration determining unit, configured to determine a duration that the current network throughput belongs to the target throughput range;
the number determining unit is further configured to perform the operation of determining the target number of antennas that the electronic device should currently turn on based on the target throughput range when the duration is greater than or equal to a set duration threshold.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic apparatus, the apparatus comprising:
the wireless communication device comprises a Wi-Fi radio frequency device, a processor and a memory, wherein the memory is used for storing executable instructions of the processor, and a plurality of antennas are arranged on the radio frequency device;
wherein the processor is configured to:
detecting a current network throughput of the electronic device;
determining a target number of antennas which should be turned on currently based on the current network throughput, wherein the target number is less than or equal to the number of the plurality of antennas;
and controlling the radio frequency device to turn on the antennas with the target number.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements:
detecting a current network throughput of the electronic device;
determining a target number of antennas which should be started currently based on the current network throughput, wherein the target number is less than or equal to the number of the plurality of antennas;
and controlling the radio frequency device to turn on the target number of antennas.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method, the current network throughput of the electronic equipment is detected, the target number of the antennas which should be started at present is determined based on the current network throughput, the target number is smaller than or equal to the number of the antennas, the radio frequency device is controlled to start the antennas with the target number, the target number of the antennas which should be started at present can be accurately and reasonably determined based on the current network throughput of the electronic equipment, the antennas of the radio frequency device can be better controlled, the number of the antennas which are started at present can be ensured to meet the requirement of the current network throughput of the electronic equipment, and the problem of high power consumption caused by the fact that the number of the antennas which are started at present is too much can be solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating an antenna control method according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating how a target number of antennas that should currently be turned on is determined based on the current network throughput in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating how a target number of antennas that should currently be turned on is determined based on the current network throughput in accordance with yet another exemplary embodiment;
FIG. 4 is a flow diagram illustrating how a target number of antennas that should currently be turned on is determined based on the current network throughput in accordance with another exemplary embodiment;
fig. 5 is a block diagram illustrating an antenna control apparatus according to an exemplary embodiment;
fig. 6 is a block diagram illustrating an antenna control apparatus according to yet another exemplary embodiment;
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
With the development of mobile terminals and internet technology, the data transmission amount of terminal devices is increasing. In order to improve the throughput of the terminal equipment in the related art, a plurality of antennas are arranged in a Wi-Fi radio frequency device of the terminal equipment. However, although the throughput of the terminal device can be improved by providing multiple antennas, the power consumption of the Wi-Fi radio frequency device is increased, and further the power consumption of the terminal device is increased. Moreover, in normal use, such as online video service, the requirement of the user can be met by turning on one antenna, and unnecessary power consumption waste is generated if turning on a plurality of antennas. Accordingly, embodiments of the present disclosure provide an antenna control method, apparatus, device and storage medium to solve the above-mentioned drawbacks in the related art.
Fig. 1 is a flow chart illustrating an antenna control method according to an exemplary embodiment; the method of the embodiment can be applied to an electronic device (e.g., a smart phone, a tablet computer, a notebook computer, or a wearable device) having a Wi-Fi radio frequency device, where a plurality of antennas are disposed on the radio frequency device.
As shown in fig. 1, the method comprises the following steps S101-S103:
in step S101, a current network throughput of the electronic device is detected.
In this embodiment, the electronic device may detect the current network throughput of the electronic device based on a preset mode.
For example, when the electronic device needs to implement a function of automatically controlling the number of antennas turned on by the rf device, the current network throughput of the electronic device may be detected based on the preset manner.
It should be noted that the preset manner for detecting the network throughput may be freely set based on actual service needs, for example, the preset manner is set to detect the network throughput in real time based on a preset detection program in the electronic device system, or any detection manner in the related art may be adopted for detection, which is not limited in this embodiment.
In step S102, a target number of antennas that should be currently turned on is determined based on the current network throughput.
In this embodiment, after the electronic device detects the current network throughput of the electronic device, the target number of antennas that should be currently turned on may be determined based on the current network throughput. Wherein the target number is less than or equal to the number of the plurality of antennas.
For example, when the current network throughput of the electronic device is large, such as in scenarios like ultra high definition video service, a key exchange, file inter-transmission, etc., the throughput of the terminal device may be improved by a plurality of antennas, so that the target number of antennas to be currently turned on may be set to be large, that is, the target number of antennas to be currently turned on may be set to be the first preset number; when the current network throughput of the electronic device is low, such as services like online video, the power consumption of the terminal device may be reduced by turning off some of the antennas, so that the target number of antennas to be turned on currently may be set to be low, that is, the target number of antennas to be turned on currently may be set to be a second preset number, where the second preset number is smaller than the first preset number.
In another embodiment, the above-mentioned manner of determining the target number of antennas that should be currently turned on based on the current network throughput may also be referred to the following embodiment shown in fig. 2, which is not described in detail herein.
In step S103, the rf device is controlled to turn on the target number of antennas.
In this embodiment, after determining the target number of antennas to be currently turned on based on the current network throughput, the radio frequency device may be controlled to turn on the antennas of the target number.
For example, if a Wi-Fi radio frequency device of the electronic device has 2 antennas, and when the electronic device is currently in a scenario with a large network throughput, such as an ultra high definition video service, a key switch, file inter-transmission, and the like, the target number of currently-to-be-turned-on antennas may be set to be larger, for example, 2, so that the radio frequency device may be controlled to turn on 2 antennas;
when the electronic device is currently in a scene with low network throughput, such as services like online video, the target number of currently-started antennas can be set to be small, for example, 1, and the radio frequency device can be controlled to start 1 antenna. The turned-on 1 antenna may be randomly selected from the 2 antennas or sequentially selected, which is not limited in this embodiment.
As can be seen from the above description, in this embodiment, by detecting the current network throughput of the electronic device, and determining the target number of antennas to be currently turned on based on the current network throughput, where the target number is smaller than or equal to the number of the multiple antennas, and then controlling the radio frequency device to turn on the antennas of the target number, the target number of antennas to be currently turned on can be accurately and reasonably determined based on the current network throughput of the electronic device, and antennas of the radio frequency device can be better controlled, so that not only can the number of currently turned on antennas meet the requirement of the current network throughput of the electronic device be ensured, but also the problem of high power consumption caused by too many turned on antennas can be avoided.
FIG. 2 is a flow diagram illustrating how a target number of antennas that should currently be turned on is determined based on the current network throughput in accordance with an exemplary embodiment; the present embodiment is exemplarily illustrated on the basis of the above embodiments by taking an example of how to determine the target number of antennas that should be currently turned on based on the current network throughput. As shown in fig. 2, the determining the target number of antennas that should be currently turned on based on the current network throughput in step S102 may include the following steps S201 to S202:
in step S201, a target throughput range to which the current network throughput belongs is determined.
In this embodiment, after detecting the current network throughput of the electronic device, a target throughput range to which the current network throughput belongs may be determined.
For example, at least two throughput ranges may be preset, for example, a first range and a second range may be set according to a set throughput threshold. Wherein the first range is a range in which the throughput is less than the set throughput threshold; and the second range is a range where throughput is greater than or equal to the set throughput threshold. Further, after determining the current network throughput of the electronic device, the current network throughput may be compared with the set throughput threshold, and the target throughput range to which the current network throughput belongs may be determined to be the first range or the second range based on the comparison result.
In step S202, a target number of antennas that should be currently turned on by the electronic device is determined based on the target throughput range.
In this embodiment, after determining a target throughput range to which the current network throughput belongs, the target number of antennas that should be currently turned on by the electronic device may be determined based on the target throughput range.
In an embodiment, the target number of antennas to be turned on corresponding to the target throughput range may be determined based on a pre-constructed correspondence between each throughput range and the number of antennas to be turned on.
For example, a plurality of throughput ranges and the number of antennas to be turned on suitable for each throughput range may be preset, and a corresponding relationship between the plurality of throughput ranges and the corresponding number of antennas to be turned on may be constructed. On this basis, after the target throughput range to which the current network throughput belongs is determined, the corresponding relationship can be queried based on the target throughput range to determine the target number of the antennas which should be turned on currently by the electronic device.
It should be noted that, the above process of determining the number of antennas to be turned on suitable for each throughput range may be determined through business experience or based on experimental results, as long as the number of turned-on antennas can meet the requirement of the corresponding throughput range, which is not limited in this embodiment.
In another embodiment, the above-mentioned manner of determining the target number of antennas that should be currently turned on by the electronic device based on the target throughput range may also refer to the embodiments shown in fig. 3 to fig. 5, which will not be described in detail herein.
As is apparent from the above description, the present embodiment determines, by determining a target throughput range to which the current network throughput belongs, and determining a target number of antennas that the electronic device should currently turn on based on the target throughput range, the method can accurately determine the target number of the antennas which should be started currently by the electronic equipment based on the target throughput range to which the current network throughput belongs, can improve the rationality and accuracy of determining the target number of the antennas which should be started currently, and since the number of antennas that should be turned on is determined based on the target throughput range to which the current network throughput belongs, the problem of frequent changes in the determined number of antennas due to determining the number of antennas that should be turned on based directly on the current network throughput can be avoided, further, frequent operations for changing the number of antennas to be turned on can be avoided, and the rationality of the antenna control scheme can be improved.
FIG. 3 is a flow chart illustrating how a target number of antennas that should currently be turned on is determined based on the current network throughput in accordance with yet another exemplary embodiment; the present embodiment is exemplarily illustrated on the basis of the above embodiments by taking an example of how to determine the target number of antennas that should be currently turned on based on the current network throughput. As shown in fig. 3, the determining the target number of antennas that should be currently turned on based on the current network throughput in step S102 may include the following steps S301 to S303:
in step S301, a target throughput range to which the current network throughput belongs is determined.
For the explanation and explanation of step S301, reference may be made to the above embodiments, which are not described herein again.
In step S302, when the target throughput range is a first range, the target number of antennas that should be currently turned on by the electronic device is determined as a first number.
In step S303, when the target throughput range is a second range, the target number of antennas that should be currently turned on by the electronic device is determined as a second number.
In this embodiment, after determining a target throughput range to which the current network throughput belongs, if the target throughput range is a first range, the target number of antennas that should be currently turned on by the electronic device may be determined as the first number; if the target throughput range is the second range, the target number of antennas that should be currently turned on by the electronic device may be determined as the second number. The first range is a range in which the network throughput is smaller than a set threshold, the second range is a range in which the network throughput is greater than or equal to the set threshold, and the second number is greater than the first number.
That is, when the target throughput range is a first range in which the network throughput is smaller than the set threshold, the target number of antennas that the electronic device should currently turn on may be determined as a smaller first number; and when the target throughput range is a second range in which the network throughput is greater than or equal to the set threshold, determining that the target number of antennas which the electronic device should currently turn on is a larger second number. Therefore, the problem of high power consumption caused by excessive number of the opened antennas can be avoided on the basis of ensuring that the number of the currently opened antennas meets the requirement of the current network throughput of the electronic equipment.
As is apparent from the above description, the present embodiment can reduce the number of times of the handover by, in the case where the target throughput range is the first range, determining the target number of antennas which should be turned on currently by the electronic equipment as a first number, wherein the first range is a range in which the network throughput is smaller than a set threshold value, and determining the target number of antennas which should be turned on currently by the electronic equipment as a second number under the condition that the target throughput range is a second range, the second range is a range in which the network throughput is greater than or equal to a set threshold, and the second number is greater than the first number, determining a target number of antennas that the electronic device should currently turn on based on a target throughput range of the electronic device may be accomplished, the reasonableness and the accuracy of determining the target number of the antennas which should be turned on at present by the electronic equipment can be improved, and the problem of frequent changes in the determined number of antennas due to determining the number of antennas that should be turned on based directly on the current network throughput can be avoided.
FIG. 4 is a flow diagram illustrating how a target number of antennas that should currently be turned on is determined based on the current network throughput in accordance with another exemplary embodiment; the present embodiment is exemplarily illustrated on the basis of the above embodiments by taking an example of how to determine the target number of antennas that should be currently turned on based on the current network throughput. As shown in fig. 4, the determining the target number of antennas that should be currently turned on based on the current network throughput in step S102 may include the following steps S401 to S403:
in step S401, a target throughput range to which the current network throughput belongs is determined.
For the explanation and explanation of step S401, reference may be made to the above embodiments, which are not described herein again.
In step S402, a duration that the current network throughput belongs to the target throughput range is determined.
In this embodiment, after determining the target throughput range to which the current network throughput belongs, a timing program may be started to determine the duration of the target throughput range to which the current network throughput belongs.
It should be noted that the manner of determining the duration that the current network throughput belongs to the target throughput range by starting the timer procedure is only used for exemplary illustration, in an actual implementation, other manners may also be adopted based on actual needs, and the obtained result is also applicable to the subsequent steps of this embodiment, which is not limited in this embodiment.
In step S403, if the duration is greater than or equal to a set duration threshold, the operation of determining the target number of antennas that the electronic device should currently turn on based on the target throughput range is performed.
In this embodiment, after determining that the current network throughput belongs to the duration of the target throughput range, the duration may be compared with a set duration threshold, and then when the duration is greater than or equal to the set duration threshold, the target number of antennas that the electronic device should currently turn on may be determined based on the target throughput range.
It should be noted that the set time length threshold may be freely set based on actual service needs, which is not limited in this embodiment.
As can be seen from the above description, in this embodiment, by determining the duration that the current network throughput belongs to the target throughput range, and when the duration is greater than or equal to the set duration threshold, executing the operation of determining the target number of antennas that should be currently turned on by the electronic device based on the target throughput range, the problem that the determined number of antennas that should be turned on also changes frequently due to frequent changes in the current network throughput can be avoided, and thus the stability of the embodiment of the solution of this embodiment can be improved.
Fig. 5 is a block diagram illustrating an antenna control apparatus according to an exemplary embodiment; the device of the embodiment can be applied to electronic equipment (such as a smart phone, a tablet computer, a notebook computer or wearable equipment) with a Wi-Fi radio frequency device, wherein the radio frequency device is provided with a plurality of antennas. As shown in fig. 5, the apparatus includes: a throughput detection module 110, a number determination module 120, and an antenna control module 130, wherein:
a throughput detection module 110, configured to detect a current network throughput of the electronic device;
a number determining module 120, configured to determine, based on the current network throughput, a target number of antennas that should be currently turned on, where the target number is less than or equal to the number of the multiple antennas;
and an antenna control module 130, configured to control the radio frequency device to turn on the antennas of the target number.
As can be seen from the above description, in this embodiment, by detecting the current network throughput of the electronic device, and determining the target number of antennas to be currently turned on based on the current network throughput, where the target number is smaller than or equal to the number of the multiple antennas, and then controlling the radio frequency device to turn on the antennas of the target number, the target number of antennas to be currently turned on can be accurately and reasonably determined based on the current network throughput of the electronic device, and antennas of the radio frequency device can be better controlled, so that not only can the number of currently turned on antennas meet the requirement of the current network throughput of the electronic device be ensured, but also the problem of high power consumption caused by too many turned on antennas can be avoided.
Fig. 6 is a block diagram illustrating an antenna control apparatus according to yet another exemplary embodiment; the device of the embodiment can be applied to electronic equipment (such as a smart phone, a tablet computer, a notebook computer or wearable equipment) with a Wi-Fi radio frequency device, wherein the radio frequency device is provided with a plurality of antennas.
The throughput detection module 210, the number determination module 220, and the antenna control module 230 have the same functions as the throughput detection module 110, the number determination module 120, and the antenna control module 130 in the embodiment shown in fig. 5, and are not described herein again.
As shown in fig. 6, the quantity determining module 220 of the present embodiment may include:
a range determining unit 221, configured to determine a target throughput range to which the current network throughput belongs;
a number determining unit 222, configured to determine, based on the target throughput range, a target number of antennas that the electronic device should currently turn on.
In an embodiment, the number determining unit 222 may be further configured to determine, based on a pre-constructed correspondence relationship between each throughput range and the number of antennas to be turned on, a target number of antennas to be turned on corresponding to the target throughput range.
In an embodiment, the quantity determination unit 222 may be further configured to:
determining the target number of antennas which should be started currently by the electronic equipment as a first number under the condition that the target throughput range is a first range, wherein the first range is a range in which the network throughput is smaller than a set threshold value;
and under the condition that the target throughput range is a second range, determining the target number of antennas which should be started by the electronic equipment currently as a second number, wherein the second range is a range in which the network throughput is greater than or equal to a set threshold, and the second number is greater than the first number.
In an embodiment, the quantity determining module 220 may further include:
a duration determining unit 223, configured to determine a duration that the current network throughput belongs to the target throughput range;
on this basis, the number determination unit 222 may be further configured to perform the operation of determining the target number of antennas that the electronic device should currently turn on based on the target throughput range when the duration is greater than or equal to a set duration threshold.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the apparatus 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like. In this embodiment, the electronic device may include a normally open image capturing device for capturing image information.
Referring to fig. 7, apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 906 provides power to the various components of device 900. The power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia component 908 comprises a screen providing an output interface between the device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, sensor assembly 914 may detect an open/closed state of device 900, the relative positioning of components, such as a display and keypad of device 900, the change in position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration/deceleration of device 900, and the change in temperature of device 900. The sensor assembly 914 may also include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 920 of the apparatus 900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. An antenna control method is applied to an electronic device with a Wi-Fi radio frequency device, wherein a plurality of antennas are arranged on the radio frequency device, and the method comprises the following steps:
detecting a current network throughput of the electronic device;
determining a target number of antennas which should be turned on currently based on the current network throughput, wherein the target number is less than or equal to the number of the plurality of antennas;
and controlling the radio frequency device to turn on the antennas with the target number.
2. The method of claim 1, wherein determining the target number of antennas that should be currently turned on based on the current network throughput comprises:
determining a target throughput range to which the current network throughput belongs;
and determining the target number of antennas which should be switched on currently by the electronic equipment based on the target throughput range.
3. The method of claim 2, wherein determining the target number of antennas that the electronic device should currently turn on based on the target throughput range comprises:
and determining the target number of the antennas to be started corresponding to the target throughput range based on the corresponding relationship between each throughput range and the number of the antennas to be started, which is constructed in advance.
4. The method of claim 2, wherein determining the target number of antennas that the electronic device should currently turn on based on the target throughput range comprises:
determining the target number of antennas which should be started currently by the electronic equipment as a first number under the condition that the target throughput range is a first range, wherein the first range is a range in which the network throughput is smaller than a set threshold value;
and under the condition that the target throughput range is a second range, determining the target number of antennas which should be started by the electronic equipment currently as a second number, wherein the second range is a range in which the network throughput is greater than or equal to a set threshold, and the second number is greater than the first number.
5. The method of claim 2, further comprising:
determining a duration for which the current network throughput belongs to the target throughput range;
and if the duration is greater than or equal to a set duration threshold, executing the operation of determining the target number of the antennas which should be started currently by the electronic equipment based on the target throughput range.
6. An antenna control device, applied to an electronic device having a Wi-Fi radio frequency device, the radio frequency device being provided with a plurality of antennas, the device comprising:
the throughput detection module is used for detecting the current network throughput of the electronic equipment;
a number determination module, configured to determine, based on the current network throughput, a target number of antennas that should be currently turned on, where the target number is less than or equal to the number of the multiple antennas;
and the antenna control module is used for controlling the radio frequency device to turn on the antennas with the target number.
7. The apparatus of claim 6, wherein the quantity determination module comprises:
the range determining unit is used for determining a target throughput range to which the current network throughput belongs;
and the quantity determining unit is used for determining the target quantity of the antennas which should be started currently by the electronic equipment based on the target throughput range.
8. The apparatus of claim 7, wherein the number determining unit is further configured to determine a target number of antennas to be turned on corresponding to the target throughput range based on a pre-constructed correspondence between each throughput range and a number of antennas to be turned on.
9. The apparatus of claim 7, wherein the quantity determination unit is further configured to:
determining the target number of antennas which should be started currently by the electronic equipment as a first number under the condition that the target throughput range is a first range, wherein the first range is a range in which the network throughput is smaller than a set threshold value;
and under the condition that the target throughput range is a second range, determining the target number of antennas which should be started by the electronic equipment currently as a second number, wherein the second range is a range in which the network throughput is greater than or equal to a set threshold, and the second number is greater than the first number.
10. The apparatus of claim 7, wherein the quantity determination module further comprises:
a duration determining unit, configured to determine a duration that the current network throughput belongs to the target throughput range;
the number determining unit is further configured to perform the operation of determining the target number of antennas that the electronic device should currently turn on based on the target throughput range when the duration is greater than or equal to a set duration threshold.
11. An electronic device, characterized in that the device comprises:
the wireless communication device comprises a Wi-Fi radio frequency device, a processor and a memory, wherein the memory is used for storing executable instructions of the processor, and a plurality of antennas are arranged on the radio frequency device;
wherein the processor is configured to:
detecting a current network throughput of the electronic device;
determining a target number of antennas which should be turned on currently based on the current network throughput, wherein the target number is less than or equal to the number of the plurality of antennas;
and controlling the radio frequency device to turn on the antennas with the target number.
12. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing:
detecting a current network throughput of the electronic device;
determining a target number of antennas which should be started currently based on the current network throughput, wherein the target number is less than or equal to the number of the plurality of antennas;
and controlling the radio frequency device to turn on the target number of antennas.
CN202010998222.2A 2020-09-21 2020-09-21 Antenna control method, device, equipment and storage medium Pending CN112187326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010998222.2A CN112187326A (en) 2020-09-21 2020-09-21 Antenna control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010998222.2A CN112187326A (en) 2020-09-21 2020-09-21 Antenna control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112187326A true CN112187326A (en) 2021-01-05

Family

ID=73956401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010998222.2A Pending CN112187326A (en) 2020-09-21 2020-09-21 Antenna control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112187326A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098576A (en) * 2021-03-29 2021-07-09 维沃移动通信有限公司 Data transmitting and receiving method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2688212A1 (en) * 2012-07-19 2014-01-22 BlackBerry Limited Method and apparatus for antenna tuning and power consumption management in a communication device
US20180077592A1 (en) * 2016-09-09 2018-03-15 Samsung Electronics Co., Ltd. Network selection method and apparatus therefor
CN110753389A (en) * 2019-10-23 2020-02-04 维沃移动通信有限公司 Network control method and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2688212A1 (en) * 2012-07-19 2014-01-22 BlackBerry Limited Method and apparatus for antenna tuning and power consumption management in a communication device
US20180077592A1 (en) * 2016-09-09 2018-03-15 Samsung Electronics Co., Ltd. Network selection method and apparatus therefor
CN110753389A (en) * 2019-10-23 2020-02-04 维沃移动通信有限公司 Network control method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098576A (en) * 2021-03-29 2021-07-09 维沃移动通信有限公司 Data transmitting and receiving method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN107608561B (en) Touch screen control method and device
US11646856B2 (en) Timing configuration method and apparatus
CN107943347B (en) Touch screen control method and device
CN110262692B (en) Touch screen scanning method, device and medium
CN107480785B (en) Convolutional neural network training method and device
US20230292269A1 (en) Method and apparatus for determining offset indication, and method and apparatus for determining offset
CN105517078A (en) Network connection switching method and device
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN107371222B (en) Virtual card disabling method and device
CN105227426B (en) Application interface switching method and device and terminal equipment
CN110637502B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN111722919B (en) Method and device for running background application program, storage medium and electronic equipment
US11937130B2 (en) Bandwidth part adjustment method and bandwidth part adjustment apparatus
CN112187326A (en) Antenna control method, device, equipment and storage medium
CN109922203B (en) Terminal, screen off method and device
CN112752328A (en) Network control method, device and storage medium
CN113873603B (en) Network control method, device and storage medium
CN114430370B (en) Method, device, equipment and storage medium for determining network slice
CN114449542B (en) Cell registration method, device and medium
CN111313950B (en) Antenna control method and device
CN114442789A (en) Dark screen control method, device, equipment and storage medium
CN115940310A (en) Charging method, charging device, and storage medium
CN112201236A (en) Terminal awakening method and device and computer readable storage medium
CN111314232A (en) Application acceleration method, device and storage medium
CN107027110B (en) Flow control method and device

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