CN107634789B - Antenna control method, antenna control device, storage medium and electronic equipment - Google Patents

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

Info

Publication number
CN107634789B
CN107634789B CN201710765798.2A CN201710765798A CN107634789B CN 107634789 B CN107634789 B CN 107634789B CN 201710765798 A CN201710765798 A CN 201710765798A CN 107634789 B CN107634789 B CN 107634789B
Authority
CN
China
Prior art keywords
antenna
rate
received signal
signal strength
value
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
Application number
CN201710765798.2A
Other languages
Chinese (zh)
Other versions
CN107634789A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710765798.2A priority Critical patent/CN107634789B/en
Publication of CN107634789A publication Critical patent/CN107634789A/en
Application granted granted Critical
Publication of CN107634789B publication Critical patent/CN107634789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses an antenna control method, an antenna control device, a storage medium and electronic equipment. The antenna control method comprises the following steps: when the WiFi module transmits wireless signals through the first antenna, the Received Signal Strength Index (RSSI) value of the first antenna is obtained, the pre-adjustment rate is determined according to the RSSI value of the first antenna, when the fact that the preset rates of the first antenna and the second antenna corresponding to the pre-adjustment rate exist in the rate table corresponding to the Modulation and Coding Strategy (MCS) is determined, the RSSI value of the second antenna is obtained, if the RSSI value of the second antenna is larger than the RSSI value of the first antenna, the working antenna of the WiFi module is controlled to be switched from the first antenna to the second antenna, and the rate of transmitting the wireless signals is adjusted to the pre-adjustment rate. According to the embodiment of the application, the RSSI value is used as the measurement index for the WiFi module to switch between the MIMO antenna and the SISO antenna, so that the electronic equipment can more accurately switch the antenna between the MIMO mode and the SISO mode, and the better performance of the antenna is exerted to improve the network performance of the WiFi module.

Description

Antenna control method, antenna control device, storage medium and electronic equipment
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for controlling an antenna, a storage medium, and an electronic device.
Background
Currently, with the development of mobile communication technology, Wireless Fidelity (WiFi) technology has become a standard configuration function of most communication electronic devices.
Multiple-Input Multiple-Output (MIMO) technology has been widely applied to electronic devices with WiFi function due to its capability of achieving higher transmission rate and wider coverage. An electronic device supporting MIMO generally has multiple identical transmitting and receiving links, each link has a separate antenna, and multiple transmitting antennas and multiple receiving antennas are respectively used at a transmitting end and a receiving end, so that signals are transmitted and received through the multiple antennas at the transmitting end and the receiving end. Meanwhile, the electronic device supporting MIMO is compatible with Single-Input Single-Output (SISO) technology. The number of electronic devices supporting MIMO in the market is increasing, and how to more accurately perform antenna switching between MIMO antennas and SISO antennas to achieve better performance of the antennas has been receiving more and more attention from the industry.
Disclosure of Invention
The embodiment of the application provides an antenna control method, an antenna control device, a storage medium and an electronic device, which can more accurately perform antenna switching between an MIMO antenna and a SISO antenna so as to exert better performance of the antennas and further improve the network performance of a WiFi module.
The embodiment of the application provides an antenna control method, which is applied to electronic equipment and comprises the following steps:
when a wireless fidelity module transmits a wireless signal through a first antenna, acquiring a received signal strength index value of the first antenna;
determining a pre-adjustment rate according to the received signal strength index value of the first antenna;
when the preset rates of a first antenna and a second antenna corresponding to the preset rate are determined to exist in the rate table corresponding to the modulation and coding strategy, obtaining a received signal strength index value of the second antenna;
if the received signal strength index value of the second antenna is larger than the received signal strength index value of the first antenna, controlling the working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signals to the pre-adjustment rate.
An embodiment of the present application further provides an antenna control apparatus, the apparatus includes:
the wireless fidelity device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a received signal strength index value of a first antenna when a wireless fidelity module transmits a wireless signal through the first antenna;
a first determining module, configured to determine a pre-adjustment rate according to a received signal strength index value of the first antenna;
a second obtaining module, configured to obtain a received signal strength index value of a second antenna when it is determined that a preset rate of a first antenna and a preset rate of the second antenna, which correspond to the preset rate, coexist in a rate table corresponding to a modulation and coding strategy;
and the control module is used for controlling the working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna and adjusting the rate of transmitting the wireless signals to a preset rate if the received signal strength index value of the second antenna is greater than the received signal strength index value of the first antenna.
An embodiment of the present application also provides a storage medium, on which a computer program is stored, which, when running on a computer, causes the computer to execute the antenna control method as described above.
An embodiment of the present application further provides an electronic device, which includes a memory and a processor, and is characterized in that the processor is configured to execute the antenna control method as described above by calling a computer program stored in the memory.
The embodiment of the application further provides an electronic device, which comprises a wireless fidelity module, a radio frequency switch, a first antenna, a second antenna and a control circuit, wherein the wireless fidelity module is connected with the public port of the radio frequency switch, the first port of the radio frequency switch is connected with the first antenna, the second port of the radio frequency switch is connected with the second antenna, the control circuit is connected with the radio frequency switch, the control circuit is used for controlling the public port of the radio frequency switch to be connected and switched between the first port and the second port, so that the working antenna of the wireless fidelity module is switched between the first antenna and the second antenna.
According to the embodiment of the application, when a wireless fidelity (WiFi) module transmits a wireless signal through a first antenna, a Received Signal Strength Index (RSSI) value of the first antenna is obtained, a preset rate is determined according to the RSSI value of the first antenna, when the preset rates of the first antenna and a second antenna corresponding to the preset rate are determined to exist in a rate table corresponding to a Modulation and Coding Strategy (MCS) at the same time, the RSSI value of the second antenna is obtained, if the RSSI value of the second antenna is larger than the RSSI value of the first antenna, a working antenna of the WiFi module is controlled to be switched from the first antenna to the second antenna, and the rate of transmitting the wireless signal is adjusted to the preset rate. According to the embodiment of the application, the RSSI value is used as the measurement index for the WiFi module to switch between the MIMO antenna and the SISO antenna, so that the electronic equipment can more accurately switch the antenna between the MIMO mode and the SISO mode, the better performance of the antenna is exerted, and the network performance of the WiFi module is further improved.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a flowchart illustrating an antenna control method according to an embodiment of the present application.
Fig. 3 is another flowchart of an antenna control method according to an embodiment of the present application.
Fig. 4 is a schematic flowchart of an antenna control method according to an embodiment of the present application.
Fig. 5 is a schematic flow chart of an antenna control method according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an antenna control device according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of an antenna control apparatus according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first" and "second", 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 the listed steps or modules but may alternatively 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.
The execution main body of the antenna control method provided by the embodiment of the present application may be the antenna control device provided by the embodiment of the present application, or an electronic device (such as a palm computer, a tablet computer, a smart phone, etc.) integrated with the antenna control device, and the antenna control device may be implemented in a hardware or software manner.
The embodiment of the present application provides an electronic device, as shown in fig. 1, the electronic device 100 includes a WIFI module 105, a radio frequency switch 108, a first antenna (MIMO antenna) 109, a second antenna (SISO antenna) 110 and a control circuit 111, wherein the WIFI module 105 is connected with the common port k0 of the radio frequency switch 108, the first port k1 of the radio frequency switch 108 is connected to the first antenna (MIMO antenna) 109, the second port k2 of the radio frequency switch 108 is connected to the second antenna (SISO antenna) 110, the control circuit 111 is connected with the radio frequency switch 108, the control circuit 111 is used for controlling the common port k0 of the radio frequency switch 108 to carry out connection switching between the first port k1 and the second port k2, to switch the active antennas of the WiFi module 105 between the first antenna (MIMO antenna) 108 and the second antenna (SISO antenna) 110.
In some embodiments, by obtaining the RSSI value of the MIMO antenna 109 when the WiFi module 105 transmits a wireless signal through the MIMO antenna 109, and determining a pre-adjustment rate according to the RSSI value of the MIMO antenna 109, when it is determined that there is a preset rate of the MIMO antenna 109 and the SISO antenna 110 corresponding to the pre-adjustment rate in the MCS corresponding rate table at the same time, the control circuit 111 obtains the RSSI value of the SISO antenna 110, and if the RSSI value of the SISO antenna 110 is greater than the RSSI value of the MIMO antenna 109, the control circuit 111 is configured to control the common port k0 of the radio frequency switch 108 to be switched from the first port k1 to the second port k2, so as to control the working antenna of the WiFi module 105 to be switched from the MIMO antenna 109 to the SISO antenna 110, and adjust the rate of transmitting the wireless signal to the pre-adjustment rate. According to the embodiment of the application, the RSSI value is used as the measurement index for the WiFi module to switch between the MIMO antenna and the SISO antenna, so that the electronic equipment can more accurately switch the antenna between the MIMO mode and the SISO mode, the better performance of the antenna is exerted, and the network performance of the WiFi module is further improved.
In some embodiments, by the control circuit 111 obtaining an RSSI value of the MIMO antenna 109 when the WiFi module 105 transmits a wireless signal through the MIMO antenna 109, and determining a pre-adjustment rate according to the RSSI value of the MIMO antenna 109, when it is determined that there is a preset rate of the MIMO antenna 109 and the SISO antenna 110 corresponding to the pre-adjustment rate in the MCS corresponding rate table at the same time, the control circuit 111 obtaining an RSSI value of the SISO antenna 110, if the RSSI value of the SISO antenna 110 is equal to the RSSI value of the MIMO antenna 109, the control circuit 111 respectively obtaining a PER value of the SISO antenna 110 and a PER value of the MIMO antenna 109 within a preset time period, and if the PER value of the SISO antenna 110 is less than the PER value of the MIMO antenna 109, the control circuit 111 is configured to control the common port k0 of the radio frequency switch 108 to switch from the first port k1 to the second port k2, so as to control the working antenna of the WiFi module 105 to switch from the MIMO antenna 109 to the SISO antenna 110, and adjusting a rate at which the wireless signal is transmitted to the pre-adjusted rate. In the embodiment of the application, the RSSI value and the PER value are used as the metrics for the WiFi module 105 to switch between the MIMO antenna 109 and the SISO antenna 110, so that the electronic device 100 can more accurately switch between the MIMO mode and the SISO mode to exert better performance of the antenna, thereby improving the network performance of the WiFi module 105.
In some embodiments, by the control circuit 111 obtaining an RSSI value of the MIMO antenna 109 when the WiFi module 105 transmits a wireless signal through the MIMO antenna 109, and determining a pre-adjustment rate according to the RSSI value of the MIMO antenna 109, when it is determined that there is a preset rate of the MIMO antenna 109 and the SISO antenna 110 corresponding to the pre-adjustment rate in the MCS corresponding rate table at the same time, the control circuit 111 obtains an RSSI value of the SISO antenna 110, if the RSSI value of the SISO antenna 110 is equal to the RSSI value of the MIMO antenna 109, the control circuit 111 obtains a PER value of the SISO antenna 110 and a PER value of the MIMO antenna 109 for a preset time period, respectively, if the PER value of the SISO antenna 110 is equal to the PER value of the MIMO antenna 109, the control circuit 111 further obtains a battery level of the electronic device 100, and if the battery level of the electronic device 100 is less than a threshold, the control circuit 111 is configured to control the common port k0 of the radio frequency switch 108 to switch from the first port k1 to the first port k1 The second port k2 is used to control the working antenna of the WiFi module 105 to switch from the MIMO antenna 109 to the SISO antenna 110 and to adjust the rate of transmitting the wireless signal to the pre-adjusted rate. According to the embodiment of the application, the RSSI value, the PER value and the battery power are used as the measurement indexes for switching between the MIMO antenna 109 and the SISO antenna 110 of the WiFi module 105, so that the electronic device 100 can more accurately switch between the MIMO mode and the SISO mode, and thus the better performance of the antenna is exerted, and the network performance of the WiFi module 105 is further improved.
Referring to fig. 2 to 4, fig. 2 to 4 are schematic flow charts of an antenna control method according to an embodiment of the present disclosure. The method is applied to the electronic equipment and comprises the following steps:
step S101, when the wireless fidelity module transmits a wireless signal through a first antenna, obtaining a received signal strength index value of the first antenna.
The first antenna is an MIMO antenna, when a WiFi module of the electronic device works in an MIMO mode, the WiFi module transmits wireless signals through the MIMO antenna, wherein the MIMO antenna comprises a plurality of transmitting antennas and a plurality of receiving antennas, and a transmitting end and a receiving end of the WiFi module are respectively in communication connection with the wireless access point through the plurality of transmitting antennas and the plurality of receiving antennas and are used for transmitting wireless signals to the wireless access point through the MIMO antenna. When the WiFi module transmits a wireless signal through the MIMO antenna, the Received Signal Strength Index (RSSI) value of the MIMO antenna is obtained.
The RSSI value can be customized by a WiFi chip manufacturer according to a private mode. The RSSI value can range from 0 to a maximum value, such as 0 to 255, at the discretion of the manufacturer. Some manufacturers may publish the RSSI execution values on product documentation and websites for users to query. Where different vendors may choose different RSSI maximum values, for example, vendor a may choose RSSI values ranging from 0 to 100, while vendor B chooses RSSI values from 0 to 30, for example, when vendor a indicates that the current signal is 25, vendor B may express 8 for the same signal.
The RSSI value is used for measuring the WiFi received signal strength, a unit corresponding to the RSSI value can be further represented by Decibel-milliwatts (dbm), and dbm represents a relative relation between a certain power and 1 mw.
For example, manufacturer a may define the RSSI value to be in the range of 0-127, and when the RSSI is 80, the corresponding Wi Fi received signal strength is-65 dBm; for example, the B vendor may define the RSSI value to be in the range of 0 to 127, and when the RSSI is 80, the corresponding WiFi received signal strength is-60 dBm, etc.
Step S102, determining a pre-adjustment rate according to the index value of the received signal strength of the first antenna.
The first antenna is an MIMO antenna, and the pre-adjustment rate is determined according to the RSSI value of the MIMO antenna.
The WiFi chip manufacturer can preset a rate control table before the WiFi module leaves a factory, and the rate control table is used for storing a plurality of RSSI thresholds and pre-adjustment rates corresponding to the RSSI thresholds. Determining a preset adjustment rate by matching the RSSI values of the MIMO antennas with a plurality of RSSI thresholds in the rate control table.
For example, the RSSI value is defined to range from 0 to 127, and the rate control table shown in table 1 is set:
TABLE 1
Figure BDA0001394084760000071
In table 1, GI is Guard Interval (GI), when the WiFi module transmits a wireless signal, in order to ensure reliability of data transmission, a Guard Interval GI may be disposed between adjacent wireless signal data for ensuring that a receiving party can correctly decode the wireless signal, where ns is expressed as a nanosecond.
In which information symbols of a wireless signal are transmitted through multiple paths due to the influence of multipath effects, and may collide with each other, resulting in inter-symbol interference (ISI). For this purpose, the 802.11a/g standard of the wireless transmission standard protocol requires that when sending information symbols, a time interval GI of 800ns is guaranteed between the information symbols. The default of the wireless transmission standard protocol 802.11n is 800ns, when the influence of multipath effect is small, the WiFi module may also configure the time interval GI to 400ns, and take a spatial stream as an example, may improve the throughput by approximately 10%, such as from 65Mbps to 72.2 Mbps. Due to the use of the guard interval GI, the information symbols of the wireless signal may be converted from a state of being originally subjected to intersymbol interference to a state of not being subjected to intersymbol interference.
Wherein each set of RSSI thresholds corresponds to a set of pre-adjustment rates for different GIs.
In some embodiments, as shown in fig. 3, the step S102 may be further implemented by performing steps S1021 to S1022, specifically:
step S1021, matching the received signal strength indicator value of the first antenna with a plurality of received signal strength indicator threshold values stored in a rate control table, wherein a pre-adjusted rate corresponding to each received signal strength indicator threshold value is stored in the rate control table.
The first antenna is an MIMO antenna, and the RSSI value of the MIMO antenna is matched with a plurality of RSSI thresholds stored in a rate control table, wherein the rate control table stores a preset rate corresponding to each RSSI threshold.
For example, taking table 1 as an example, the RSSI value in the range of 0 to 15 is matched with the RSSI threshold value of 15; the RSSI value within the range of 16-31 is matched with the RSSI threshold value with the value of 31; the RSSI value within the range of 32-47 is matched with the RSSI threshold value with the value of 47; the RSSI value within the range of 48-63 is matched with the RSSI threshold value with the value of 63; the RSSI value within the range of 64-79 is matched with the RSSI threshold value with the value of 79; the RSSI value within the range of 80-95 is matched with the RSSI threshold value with the value of 95; the RSSI value within the range of 96-111 is matched with the RSSI threshold value with the value of 111; RSSI values in the range of 112-127 match the RSSI threshold value of 127.
Step S1022, when the rate control table has the received signal strength indicator threshold matching the received signal strength indicator of the first antenna, selecting the pre-adjustment rate corresponding to the received signal strength indicator threshold matching the received signal strength indicator of the first antenna.
And when the RSSI threshold value matched with the RSSI value of the MIMO antenna exists in the rate control table, selecting the pre-adjustment rate corresponding to the RSSI threshold value matched with the RSSI value of the MIMO antenna.
For example, the RSSI value of the MIMO antenna is 60, the RSSI value is within a range of 48 to 63, and the RSSI value within a range of 48 to 63 matches the RSSI threshold value of 63, so that the RSSI threshold value 63 matching the RSSI value of the MIMO antenna exists in the rate control table, and the pre-adjustment rate corresponding to the RSSI threshold value matching the RSSI value of the MIMO antenna is selected according to the currently set time interval GI of the WiFi module, for example, GI is 800ns, and the corresponding pre-adjustment rate is 26 Mbps.
Step S103, when it is determined that the preset rates of the first antenna and the second antenna corresponding to the preset rate exist in the rate table corresponding to the modulation and coding strategy, the index value of the received signal strength of the second antenna is obtained.
The first antenna is an MIMO antenna, the second antenna is a SISO antenna, and when the preset rates of the MIMO antenna and the SISO antenna corresponding to the preset rate are determined to exist in a rate table corresponding to a Modulation and Coding Scheme (MCS) at the same time, the RSSI value of the SISO antenna is obtained.
Wherein, a rate table corresponding to the modulation and coding strategy MCS is preset. For example, taking the wireless transmission standard protocol 802.11n as an example, as shown in table 2, table 2 lists an MCS corresponding rate table with a bandwidth of 20 megahertz (MHz).
TABLE 2
Figure BDA0001394084760000091
Figure BDA0001394084760000101
In table 2, BPSK is Binary Phase Shift Keying (BPSK), which is one of conversion methods for converting an analog signal into a data value, and represents a method for performing Phase Shift by information Keying by using a combination of a plurality of waves having a Phase offset. BPSK uses a reference sine wave and a phase-inverted wave, and allows 1-bit information to be transmitted and received simultaneously by setting one of them to 0 and the other to 1.
In table 2, QPSK is Quadrature Phase Shift Keying (QPSK), also called Quadrature Phase Shift Keying (QPSK), and QPSK uses four different Phase differences of a carrier to represent input digital information, which is Quaternary Phase Shift Keying (QPSK). In QPSK, 2 bits of information can be transmitted per modulation.
In table 2, QAM is Quadrature Amplitude Modulation (QAM), and QAM suppresses carrier double-sideband Amplitude Modulation on two mutually orthogonal co-frequency carriers by using two independent baseband signals, and realizes transmission of two parallel paths of digital information by using orthogonality of frequency spectrums of the modulated signals within the same bandwidth. The modulation scheme is generally binary QAM (4-QAM), quaternary QAM (l6-QAM), octal QAM (64-QAM), or the like.
In some embodiments, as shown in fig. 4, the step S103 may also be implemented by executing steps S1031 to S1033, specifically:
and step S1031, obtaining the modulation and coding strategy index number corresponding to the pre-adjustment rate from the rate table corresponding to the modulation and coding strategy.
For example, the MCS index corresponding to the pre-adjusted rate is obtained from the MCS corresponding rate table.
For example, the pre-adjusted rate is 26Mbps, and MCS index numbers corresponding to the pre-adjusted rate are obtained from the MCS corresponding rate table as MCS3 and MCS 9.
Step S1032 acquires a spatial stream corresponding to the modulation and coding strategy index number.
For example, the spatial stream corresponding to the MCS index is obtained.
For example, the spatial stream with MCS index number MCS3 is 1x1, and the spatial stream with MCS index number MCS9 is 2x 2.
Step S1033, when the antenna pattern corresponding to the spatial stream includes the first antenna and the second antenna at the same time, determining that a preset rate of the first antenna and the second antenna corresponding to the preset rate exists in the rate table corresponding to the modulation and coding strategy at the same time, and then obtaining a received signal strength index value of the second antenna.
And when the antenna mode corresponding to the spatial stream comprises a MIMO antenna and a SISO antenna at the same time, determining that the preset rate of the MIMO antenna and the SISO antenna corresponding to the preset rate exists in the MCS corresponding rate table at the same time, and acquiring the RSSI value of the SISO antenna.
For example, the pre-adjustment rate is 26Mbps, the MCS index numbers corresponding to the pre-adjustment rate are obtained from the MCS corresponding rate table as MCS3 and MCS9, the spatial stream with the MCS index number as MCS3 is 1x1, and the spatial stream with the MCS index number as MCS9 is 2x2, so the spatial streams with the MCS index numbers include 1x1 and 2x 2. The antenna mode corresponding to spatial stream 1x1 is a SISO antenna, and the antenna mode corresponding to spatial stream 2x2 is a MIMO antenna. Therefore, it is determined that the antenna mode corresponding to the spatial stream includes both MIMO antennas and SISO antennas, and thereby the preset rates of the MIMO antennas and the SISO antennas corresponding to the preset rate are present in the MCS corresponding rate table at the same time, and then the RSSI value of the SISO antennas is further obtained.
The MIMO antenna includes multiple antennas, and in the same electronic device, SISO antennas used by the WiFi module when entering the SISO mode may share an antenna of one of the MIMO antennas, or may be antennas of a single-hop link that is set independently. The RSSI value of a certain antenna used as a SISO antenna in SISO mode is acquired.
Step S104, if the received signal strength index value of the second antenna is greater than the received signal strength index value of the first antenna, controlling the working antenna of the wireless fidelity module to switch from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signal to the pre-adjustment rate.
Wherein the first antenna is a MIMO antenna, the second antenna is a SISO antenna, and if the RSSI value of the SISO antenna is greater than the RSSI value of the MIMO antenna, the working antenna of the WiFi module is controlled to switch from the MIMO antenna to the SISO antenna, and the rate of transmitting the wireless signal is adjusted to the pre-adjustment rate.
Under the condition of the same pre-adjustment rate, if the RSSI value of the SISO antenna is greater than the RSSI value of the MIMO antenna, which indicates that the transmission performance of the SISO antenna is better than that of the MIMO antenna, the working antenna of the WiFi module is controlled to be switched from the MIMO antenna to the SISO antenna, and the rate of transmitting the wireless signal is adjusted to the pre-adjustment rate.
In some embodiments, the method further comprises:
if the received signal strength index value of the second antenna is equal to the received signal strength index value of the first antenna, respectively acquiring a packet error rate value of the second antenna and a packet error rate value of the first antenna in a preset time period;
comparing the packet error rate value of the second antenna with the packet error rate value of the first antenna; and if the packet error rate value of the second antenna is smaller than the packet error rate value of the first antenna, controlling the working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signals to the pre-adjustment rate.
In some embodiments, after the comparing the magnitude relationship between the packet error rate value of the second antenna and the packet error rate value of the first antenna, the method further includes:
if the packet error rate value of the second antenna is equal to the packet error rate value of the first antenna, acquiring the battery electric quantity of the electronic equipment;
and if the battery power of the electronic equipment is smaller than a threshold value, controlling a working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signals to the pre-adjustment rate.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Referring to fig. 5, fig. 5 is a schematic diagram of another process of an antenna control method according to an embodiment of the present disclosure. The method comprises the following steps:
step S201, when the wireless fidelity module transmits a wireless signal through a first antenna, obtaining a received signal strength index value of the first antenna. Please refer to step S101 in step S201, which is not described herein.
Step S202, determining a pre-adjustment rate according to the index value of the received signal strength of the first antenna. Please refer to step S102 in step S202, which is not described herein.
Step S203, when it is determined that the preset rates of the first antenna and the second antenna corresponding to the pre-adjustment rate exist in the rate table corresponding to the modulation and coding strategy at the same time, obtaining a received signal strength index value of the second antenna. Please refer to step S103 in step S203, which is not described herein.
Step S204, if the received signal strength index value of the second antenna is equal to the received signal strength index value of the first antenna, respectively obtaining a packet error rate value of the second antenna and a packet error rate value of the first antenna within a preset time period.
The first antenna is an MIMO antenna, the second antenna is a SISO antenna, and under the condition of the same pre-adjustment rate, if the RSSI value of the SISO antenna is equal to the RSSI value of the MIMO antenna, in order to better distinguish the transmission performance of the SISO antenna from the transmission performance of the MIMO antenna, a Packet Error Rate (PER) value of the SISO antenna and a Packet Error Rate (PER) value of the MIMO antenna within a preset time period are further respectively obtained.
Step S205, comparing the packet error rate of the second antenna with the packet error rate of the first antenna.
Wherein the first antenna is a MIMO antenna, the second antenna is a SISO antenna, and if the PER value of the SISO antenna is smaller than the PER value of the MIMO antenna, which indicates that the transmission performance of the SISO antenna is better than that of the MIMO antenna, step S206 is executed; if the PER value of the SISO antenna is equal to the PER value of the MIMO antenna, which indicates that the transmission performance of the SISO antenna is similar to the transmission performance of the MIMO antenna, then step S207 is performed; if the PER value of the SISO antenna is greater than that of the MIMO antenna, which indicates that the transmission performance of the MIMO antenna is better than that of the SISO antenna, the operating antenna of the WiFi module is controlled to be maintained at the MIMO antenna, and the rate of transmitting the wireless signal can be adjusted to the pre-adjustment rate.
Step S206, if the packet error rate value of the second antenna is smaller than the packet error rate value of the first antenna, controlling the working antenna of the wireless fidelity module to switch from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signal to the pre-adjustment rate.
Wherein the first antenna is a MIMO antenna, the second antenna is a SISO antenna, and if the PER value of the SISO antenna is less than the PER value of the MIMO antenna, the operating antenna of the WiFi module is controlled to switch from the MIMO antenna to the SISO antenna, and the rate of transmitting the wireless signal is adjusted to the pre-adjusted rate.
Step S207, if the packet error rate value of the second antenna is equal to the packet error rate value of the first antenna, acquiring the battery power of the electronic device.
The first antenna is a MIMO antenna, the second antenna is a SISO antenna, and if the PER value of the SISO antenna is equal to the PER value of the MIMO antenna, the transmission performance of the SISO antenna is similar to that of the MIMO antenna, the battery power of the electronic equipment is further acquired.
Step S208, if the battery power of the electronic device is less than the threshold, controlling the working antenna of the wireless fidelity module to switch from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signal to the pre-adjustment rate.
The first antenna is a MIMO antenna, the second antenna is a SISO antenna, and the electric quantity consumed by the WiFi module for transmitting the wireless signals through the MIMO antenna is larger than the electric quantity consumed by the WiFi module for transmitting the wireless signals through the SISO antenna in the same speed and the same time period. If the battery power of the electronic device is less than a threshold, such as less than 30%, to ensure the endurance time of the electronic device, the operating antenna of the WiFi module is controlled to switch from the MIMO antenna to the SISO antenna, and the rate of transmitting the wireless signal is adjusted to the pre-adjusted rate.
This application embodiment is through when the wiFi module passes through MIMO antenna transmission wireless signal, acquire the RSSI value of MIMO antenna, according to the RSSI value of MIMO antenna determines the rate of readjustment, when the rate of predetermineeing that exists simultaneously in the table of rate of corresponding of definite MCS with MIMO antenna and SISO antenna that the rate of readjustment corresponds when, acquire the RSSI value of SISO antenna, if the RSSI value of SISO antenna is greater than the RSSI value of MIMO antenna, then control the work antenna of wiFi module is followed the MIMO antenna switches to SISO antenna, and will transmit wireless signal's rate adjustment is the rate of readjustment. According to the embodiment of the application, the RSSI value is used as the measurement index for the WiFi module to switch between the MIMO antenna and the SISO antenna, so that the electronic equipment can more accurately switch the antenna between the MIMO mode and the SISO mode, the better performance of the antenna is exerted, and the network performance of the WiFi module is further improved.
An embodiment of the present application further provides an antenna control device, as shown in fig. 6, fig. 6 is a schematic structural diagram of the antenna control device provided in the embodiment of the present application. The antenna control device 30 includes a first obtaining module 31, a first determining module 32, a second obtaining module 33, and a control module 37.
The first obtaining module 31 is configured to obtain a received signal strength index value of a first antenna when the wireless fidelity module transmits a wireless signal through the first antenna.
The first determining module 32 is configured to determine a pre-adjustment rate according to the index value of the received signal strength of the first antenna.
In some embodiments, the first determination module 32 further includes a matching sub-module 321 and a selecting sub-module 322.
The matching sub-module 321 is configured to match the rssi value of the first antenna with a plurality of rssi thresholds stored in a rate control table, where a pre-adjustment rate corresponding to each rssi threshold is stored in the rate control table.
The selecting submodule 322 is configured to select a pre-adjustment rate corresponding to the received signal strength indicator threshold matching the received signal strength indicator of the first antenna when the received signal strength indicator threshold matching the received signal strength indicator of the first antenna exists in the rate control table.
The second obtaining module 33 is configured to obtain the received signal strength index value of the second antenna when it is determined that the preset rates of the first antenna and the second antenna corresponding to the preset rate exist in the rate table corresponding to the modulation and coding strategy at the same time.
In some embodiments, the second obtaining module 33 further includes a first obtaining sub-module 331, a second obtaining sub-module 332, and a third obtaining sub-module 333.
The first obtaining sub-module 331 is configured to obtain, from the rate table corresponding to the modulation and coding strategy, a modulation and coding strategy index number corresponding to the pre-adjustment rate.
The second obtaining submodule 332 is configured to obtain a spatial stream corresponding to the modulation and coding strategy index.
The third obtaining sub-module 333 is configured to, when the antenna mode corresponding to the spatial stream includes the first antenna and the second antenna at the same time, determine that a preset rate of the first antenna and a preset rate of the second antenna corresponding to the pre-adjustment rate exist in the rate table corresponding to the modulation and coding strategy at the same time, and obtain a received signal strength index value of the second antenna.
The control module 37 is configured to control the working antenna of the wireless fidelity module to switch from the first antenna to the second antenna and adjust the rate of transmitting the wireless signal to a pre-adjustment rate if the received signal strength index value of the second antenna is greater than the received signal strength index value of the first antenna.
Referring to fig. 7, fig. 7 is another schematic structural diagram of an antenna control device according to an embodiment of the present disclosure. The antenna control device 30 further comprises a third obtaining module 34, a comparing module 35 and a fourth obtaining module 36.
The third obtaining module 34 is configured to obtain the packet error rate of the second antenna and the packet error rate of the first antenna within a preset time period, respectively, if the received signal strength index of the second antenna is equal to the received signal strength index of the first antenna.
The comparing module 35 is configured to compare a size relationship between the packet error rate value of the second antenna and the packet error rate value of the first antenna.
The control module 37 is further configured to control the working antenna of the wireless fidelity module to switch from the first antenna to the second antenna and adjust the rate of transmitting the wireless signal to the pre-adjustment rate if the packet error rate value of the second antenna is smaller than the packet error rate value of the first antenna.
In some embodiments, the fourth obtaining module 36 is configured to obtain the battery power of the electronic device if the packet error rate value of the second antenna is equal to the packet error rate value of the first antenna.
The control module 37 is further configured to control the working antenna of the wireless fidelity module to switch from the first antenna to the second antenna if the battery power of the electronic device is less than a threshold, and adjust the rate of transmitting the wireless signal to the pre-adjustment rate.
The embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program that is stored in the memory and can be run on the processor, where the processor invokes the computer program stored in the memory to execute the antenna control method according to any embodiment of the present application.
The electronic equipment can be equipment such as a smart phone, a tablet computer and a palm computer. As shown in fig. 8, an electronic device 100 includes a processor 101 having one or more processing cores, a memory 102 having one or more computer-readable storage media, and a computer program stored on the memory and executable on the processor. The processor 101 is electrically connected to the memory 102. Those skilled in the art will appreciate that the electronic device configurations shown in the figures do not constitute limitations of the electronic device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The processor 101 is a control center of the electronic device 100, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or loading an application program stored in the memory 102 and calling data stored in the memory 102, thereby performing overall monitoring of the electronic device.
In this embodiment, the processor 101 in the electronic device 100 loads instructions corresponding to processes of one or more application programs into the memory 102, and the processor 101 runs the application programs stored in the memory 102, so as to implement various functions as follows:
when a wireless fidelity module transmits a wireless signal through a first antenna, acquiring a received signal strength index value of the first antenna;
determining a pre-adjustment rate according to the received signal strength index value of the first antenna;
when the preset rates of a first antenna and a second antenna corresponding to the preset rate are determined to exist in the rate table corresponding to the modulation and coding strategy, obtaining a received signal strength index value of the second antenna;
if the received signal strength index value of the second antenna is larger than the received signal strength index value of the first antenna, controlling the working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signals to the pre-adjustment rate.
In some embodiments, the processor 101 is configured to determine the pre-adjustment rate according to the received signal strength indicator value of the first antenna, and includes:
matching the received signal strength indicator value of the first antenna to a plurality of received signal strength indicator threshold values stored in a rate control table, wherein a pre-adjusted rate corresponding to each received signal strength indicator threshold value is stored in the rate control table;
and when the rate control table has a received signal strength index threshold value matched with the received signal strength index value of the first antenna, selecting a pre-adjustment rate corresponding to the received signal strength index threshold value matched with the received signal strength index value of the first antenna.
In some embodiments, the processor 101 is configured to, when it is determined that the preset rate of the first antenna and the preset rate of the second antenna corresponding to the preset rate exist simultaneously in the rate table corresponding to the modulation and coding scheme, obtain the received signal strength index value of the second antenna, including:
acquiring a modulation and coding strategy index number corresponding to the preset rate from the rate table corresponding to the modulation and coding strategy;
acquiring a spatial stream corresponding to the modulation and coding strategy index number;
and when the antenna mode corresponding to the spatial stream simultaneously comprises a first antenna and a second antenna, determining that the preset rates of the first antenna and the second antenna corresponding to the preset rate exist in the rate table corresponding to the modulation and coding strategy, and acquiring a received signal strength index value of the second antenna.
In some embodiments, the processor 101 is further configured to:
if the received signal strength index value of the second antenna is equal to the received signal strength index value of the first antenna, respectively acquiring a packet error rate value of the second antenna and a packet error rate value of the first antenna in a preset time period;
comparing the packet error rate value of the second antenna with the packet error rate value of the first antenna;
and if the packet error rate value of the second antenna is smaller than the packet error rate value of the first antenna, controlling the working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signals to the pre-adjustment rate.
In some embodiments, the processor 101, after comparing the magnitude relationship between the packet error rate value of the second antenna and the packet error rate value of the first antenna, further includes:
if the packet error rate value of the second antenna is equal to the packet error rate value of the first antenna, acquiring the battery electric quantity of the electronic equipment;
and if the battery power of the electronic equipment is smaller than a threshold value, controlling a working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signals to the pre-adjustment rate.
In some embodiments, as shown in fig. 9, the electronic device 100 further comprises: a display screen 103, an LTE module 104, a WiFi module 105, an input unit 106, and a power supply 107. The processor 101 is electrically connected to the display screen 103, the LTE module 104, the WiFi module 105, the input unit 106, and the power supply 107. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The display screen 103 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. When the display screen 103 is a touch display screen, it can also be used as a part of the input unit to implement an input function.
The LTE module 104 may be configured to transceive radio frequency signals to establish wireless communication with a network device or other electronic devices through wireless communication, and to transceive signals with the network device or other electronic devices.
The WiFi module 105 may be used for short-range wireless transmission, may assist the user in sending and receiving e-mail, browsing websites, accessing streaming media, etc., and provides wireless broadband internet access for the user.
The input unit 106 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 106 may include a fingerprint recognition module.
The power supply 107 is used to power the various components of the electronic device 100. In some embodiments, the power supply 107 may be logically connected to the processor 101 through a power management system, such that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Although not shown in fig. 9, the electronic device 100 may further include a camera, a sensor, an audio circuit, a bluetooth module, and the like, which are not described in detail herein.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to related descriptions of other embodiments for parts that are not described in detail in a certain embodiment.
In the embodiment of the present application, the antenna control apparatus and the antenna control method in the above embodiments belong to the same concept, and any method provided in the embodiment of the antenna control method may be operated on the antenna control apparatus, and a specific implementation process thereof is described in detail in the embodiment of the antenna control method, and is not described herein again.
It should be noted that, for the antenna control method described in this application, it can be understood by those skilled in the art that all or part of the process of implementing the antenna control method described in this application may be implemented by controlling related hardware through a computer program, where the computer program may 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, the process of implementing the antenna control method described in this application may include the process of the embodiment of the antenna control method. 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 antenna control device according to the embodiment of the present application, each functional module may be integrated into one processing chip, each module may exist alone physically, or two or more modules may be integrated into 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 antenna control method, the antenna control device, the storage medium and the electronic device provided by the embodiments of the present application are introduced in detail, and a specific example is applied to illustrate the principle and the implementation manner of the present application, and the description of the embodiments is only used to help understanding the technical scheme and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (13)

1. An antenna control method applied to an electronic device, the method comprising:
when a wireless fidelity module transmits a wireless signal through a first antenna, acquiring a received signal strength index value of the first antenna;
determining a pre-adjustment rate according to the received signal strength index value of the first antenna;
when the preset rates of a first antenna and a second antenna corresponding to the preset rate are determined to exist in the rate table corresponding to the modulation and coding strategy, obtaining a received signal strength index value of the second antenna;
if the received signal strength index value of the second antenna is larger than the received signal strength index value of the first antenna, controlling the working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signals to the pre-adjustment rate.
2. The antenna control method of claim 1, wherein the determining a pre-adjustment rate based on the received signal strength indicator value for the first antenna comprises:
matching the received signal strength indicator value of the first antenna to a plurality of received signal strength indicator threshold values stored in a rate control table, wherein a pre-adjusted rate corresponding to each received signal strength indicator threshold value is stored in the rate control table;
and when the rate control table has a received signal strength index threshold value matched with the received signal strength index value of the first antenna, selecting a pre-adjustment rate corresponding to the received signal strength index threshold value matched with the received signal strength index value of the first antenna.
3. The antenna control method according to claim 1 or 2, wherein the obtaining the index value of the received signal strength of the second antenna when determining that the preset rate of the first antenna and the second antenna corresponding to the pre-adjusted rate simultaneously exist in the rate table corresponding to the modulation and coding strategy comprises:
acquiring a modulation and coding strategy index number corresponding to the preset rate from the rate table corresponding to the modulation and coding strategy;
acquiring a spatial stream corresponding to the modulation and coding strategy index number;
and when the antenna mode corresponding to the spatial stream simultaneously comprises a first antenna and a second antenna, determining that the preset rates of the first antenna and the second antenna corresponding to the preset rate exist in the rate table corresponding to the modulation and coding strategy, and acquiring a received signal strength index value of the second antenna.
4. The antenna control method of claim 1, wherein the method further comprises:
if the received signal strength index value of the second antenna is equal to the received signal strength index value of the first antenna, respectively acquiring a packet error rate value of the second antenna and a packet error rate value of the first antenna in a preset time period;
comparing the packet error rate value of the second antenna with the packet error rate value of the first antenna;
and if the packet error rate value of the second antenna is smaller than the packet error rate value of the first antenna, controlling the working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signals to the pre-adjustment rate.
5. The antenna control method of claim 4, wherein after comparing the magnitude relationship between the packet error rate value of the second antenna and the packet error rate value of the first antenna, further comprising:
if the packet error rate value of the second antenna is equal to the packet error rate value of the first antenna, acquiring the battery electric quantity of the electronic equipment;
and if the battery power of the electronic equipment is smaller than a threshold value, controlling a working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signals to the pre-adjustment rate.
6. An antenna control apparatus, characterized in that the apparatus comprises:
the wireless fidelity device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a received signal strength index value of a first antenna when a wireless fidelity module transmits a wireless signal through the first antenna;
a first determining module, configured to determine a pre-adjustment rate according to a received signal strength index value of the first antenna;
a second obtaining module, configured to obtain a received signal strength index value of a second antenna when it is determined that a preset rate of a first antenna and a preset rate of the second antenna, which correspond to the preset rate, coexist in a rate table corresponding to a modulation and coding strategy;
and the control module is used for controlling the working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna and adjusting the rate of transmitting the wireless signals to a preset rate if the received signal strength index value of the second antenna is greater than the received signal strength index value of the first antenna.
7. The antenna control apparatus of claim 6, wherein the first determining module further comprises:
a matching sub-module for matching the received signal strength indicator of the first antenna with a plurality of received signal strength indicator thresholds stored in a rate control table, wherein a pre-adjusted rate corresponding to each received signal strength indicator threshold is stored in the rate control table;
and the selecting submodule is used for selecting the pre-adjustment rate corresponding to the received signal strength index threshold value matched with the received signal strength index value of the first antenna when the received signal strength index threshold value matched with the received signal strength index value of the first antenna exists in the rate control table.
8. The antenna control apparatus of claim 6 or 7, wherein the second acquisition module further comprises:
the first obtaining submodule is used for obtaining a modulation and coding strategy index number corresponding to the preset rate from the rate table corresponding to the modulation and coding strategy;
the second obtaining submodule is used for obtaining the spatial stream corresponding to the modulation and coding strategy index number;
and a third obtaining sub-module, configured to, when the antenna mode corresponding to the spatial stream includes the first antenna and the second antenna at the same time, determine that a preset rate of the first antenna and a preset rate of the second antenna corresponding to the pre-adjustment rate exist in the rate table corresponding to the modulation and coding strategy at the same time, and obtain a received signal strength index value of the second antenna.
9. The antenna control apparatus of claim 6, wherein the apparatus further comprises:
a third obtaining module, configured to obtain a packet error rate value of the second antenna and a packet error rate value of the first antenna within a preset time period, if the received signal strength index value of the second antenna is equal to the received signal strength index value of the first antenna;
the comparison module is used for comparing the size relationship between the packet error rate value of the second antenna and the packet error rate value of the first antenna;
the control module is further configured to control the working antenna of the wireless fidelity module to switch from the first antenna to the second antenna and adjust the rate of transmitting the wireless signal to the pre-adjustment rate if the packet error rate value of the second antenna is smaller than the packet error rate value of the first antenna.
10. The antenna control apparatus of claim 9, wherein the apparatus further comprises:
the fourth obtaining module is configured to obtain battery power of the electronic device if the packet error rate value of the second antenna is equal to the packet error rate value of the first antenna;
the control module is further configured to control a working antenna of the wireless fidelity module to switch from the first antenna to the second antenna if the battery power of the electronic device is less than a threshold, and adjust the rate of transmitting the wireless signal to the pre-adjustment rate.
11. A storage medium having stored thereon a computer program, characterized in that, when the computer program is run on a computer, it causes the computer to execute the antenna control method according to any of claims 1-5.
12. An electronic device comprising a memory and a processor, characterized in that the processor is adapted to perform the antenna control method according to any of claims 1-5 by invoking a computer program stored in the memory.
13. An electronic device, comprising a wireless fidelity module, a radio frequency switch, a first antenna, a second antenna and a control circuit, wherein the wireless fidelity module is connected to a common port of the radio frequency switch, a first port of the radio frequency switch is connected to the first antenna, a second port of the radio frequency switch is connected to the second antenna, the control circuit is connected to the radio frequency switch, the control circuit is used to control the common port of the radio frequency switch to be connected and switched between the first port and the second port, so that a working antenna of the wireless fidelity module is switched between the first antenna and the second antenna, specifically comprising: when a wireless fidelity module transmits a wireless signal through a first antenna, acquiring a received signal strength index value of the first antenna; determining a pre-adjustment rate according to the received signal strength index value of the first antenna; when the preset rates of a first antenna and a second antenna corresponding to the preset rate are determined to exist in the rate table corresponding to the modulation and coding strategy, obtaining a received signal strength index value of the second antenna; if the received signal strength index value of the second antenna is larger than the received signal strength index value of the first antenna, controlling the working antenna of the wireless fidelity module to be switched from the first antenna to the second antenna, and adjusting the rate of transmitting the wireless signals to the pre-adjustment rate.
CN201710765798.2A 2017-08-30 2017-08-30 Antenna control method, antenna control device, storage medium and electronic equipment Active CN107634789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710765798.2A CN107634789B (en) 2017-08-30 2017-08-30 Antenna control method, antenna control device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710765798.2A CN107634789B (en) 2017-08-30 2017-08-30 Antenna control method, antenna control device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN107634789A CN107634789A (en) 2018-01-26
CN107634789B true CN107634789B (en) 2020-09-08

Family

ID=61099991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710765798.2A Active CN107634789B (en) 2017-08-30 2017-08-30 Antenna control method, antenna control device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107634789B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494444B (en) * 2018-03-13 2021-03-02 Oppo广东移动通信有限公司 Antenna control method, antenna assembly, electronic device and storage medium
CN108990171B (en) * 2018-08-22 2021-07-23 珠海格力电器股份有限公司 Mobile terminal communication method, mobile terminal, medium and equipment
CN109041103B (en) * 2018-09-30 2022-07-19 Oppo广东移动通信有限公司 Terminal control method, system and terminal
CN109889237B (en) * 2019-03-06 2021-03-26 常熟市泓博通讯技术股份有限公司 Method and terminal device for selecting modulation and coding scheme based on multi-antenna control
CN110166102A (en) * 2019-05-28 2019-08-23 Oppo广东移动通信有限公司 The switching method and device of WiFi antenna
CN112752345B (en) * 2019-10-31 2023-02-07 华为技术有限公司 WLAN system, communication method and device
CN112954757B (en) * 2019-12-10 2022-04-22 Oppo(重庆)智能科技有限公司 Antenna mode switching method and related product
CN111212453B (en) * 2020-01-13 2022-07-12 Oppo广东移动通信有限公司 Wireless communication method, terminal and storage medium
CN112637943B (en) * 2020-12-17 2023-06-09 Oppo广东移动通信有限公司 Method and device for controlling working mode of radio frequency assembly, electronic equipment and storage medium
CN112799102A (en) * 2020-12-18 2021-05-14 易瓦特科技股份公司 Direction angle correction method, device, equipment and storage medium based on double antennas
CN112650378B (en) * 2020-12-28 2023-04-25 Oppo(重庆)智能科技有限公司 Electronic device, power consumption optimization method for electronic device, and storage medium
JP7474835B2 (en) * 2021-08-06 2024-04-25 エルジー エレクトロニクス インコーポレイティド A/V transmission device and wireless display system
CN114285431A (en) * 2021-12-22 2022-04-05 博为科技有限公司 Multi-antenna signal coverage increase enhancing method, circuit and storage medium
CN114900218B (en) * 2022-04-11 2023-07-14 荣耀终端有限公司 Method for acquiring antenna combination, electronic device and computer readable storage medium
CN116017614B (en) * 2023-02-23 2023-08-11 荣耀终端有限公司 Communication method and electronic equipment
CN117134794B (en) * 2023-10-26 2024-01-19 天津云圣智能科技有限责任公司 Communication link switching method, image transmission equipment and unmanned aerial vehicle

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753255A (en) * 2008-12-18 2010-06-23 雷凌科技股份有限公司 Velocity adaptation method for communication system
CN102684769A (en) * 2003-12-04 2012-09-19 巴比禄股份有限公司 Radio lan transmission/reception device and radio lan transmission/reception method
CN103347293A (en) * 2013-07-11 2013-10-09 北京大学 Self-adaption energy-saving method for antennas in mobile communication base station system
CN103703828A (en) * 2012-12-28 2014-04-02 华为技术有限公司 Data transmission method and apparatus
CN103916943A (en) * 2014-04-09 2014-07-09 东南大学 Rate-self adaptive method under spatial multiplexing in millimeter wave high speed communication
CN106231662A (en) * 2016-09-30 2016-12-14 维沃移动通信有限公司 The method for handover control of a kind of terminal antenna and terminal
CN107547121A (en) * 2017-08-30 2018-01-05 广东欧珀移动通信有限公司 Method of controlling antenna, device, storage medium and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7539517B2 (en) * 2006-01-23 2009-05-26 Sony Corporation Method of selecting one of dual antennas

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684769A (en) * 2003-12-04 2012-09-19 巴比禄股份有限公司 Radio lan transmission/reception device and radio lan transmission/reception method
CN101753255A (en) * 2008-12-18 2010-06-23 雷凌科技股份有限公司 Velocity adaptation method for communication system
CN103703828A (en) * 2012-12-28 2014-04-02 华为技术有限公司 Data transmission method and apparatus
CN103347293A (en) * 2013-07-11 2013-10-09 北京大学 Self-adaption energy-saving method for antennas in mobile communication base station system
CN103916943A (en) * 2014-04-09 2014-07-09 东南大学 Rate-self adaptive method under spatial multiplexing in millimeter wave high speed communication
CN106231662A (en) * 2016-09-30 2016-12-14 维沃移动通信有限公司 The method for handover control of a kind of terminal antenna and terminal
CN107547121A (en) * 2017-08-30 2018-01-05 广东欧珀移动通信有限公司 Method of controlling antenna, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107634789A (en) 2018-01-26

Similar Documents

Publication Publication Date Title
CN107634789B (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN107547121B (en) Antenna control method, antenna control device, storage medium and electronic equipment
TWI608745B (en) Method of power allocation and base station using the same
US8688044B2 (en) Method and system for selective equalization enablement based on modulation type
US20230379130A1 (en) Low power mode with legacy compatibility
US9780925B2 (en) Access point with capability of dynamically adjusting current clear channel assessment threshold value and operating method thereof
US11277222B2 (en) Data transmission method and communications device
US20190007850A1 (en) Systems and methods for controlling receive diversity for wireless personal area network communication
CN103889036A (en) Method for reducing power consumption and communications apparatus utilizing the same
GB2501507A (en) Spatial modulation encoding using an antenna array
CN110169108B (en) High-speed data transmission degradation method, device and system
JP2007251620A (en) Radio communication system, radio communication method, and its signal processing program
US9936422B2 (en) Client association management for improving MU-MIMO transmissions
US9178714B2 (en) Selecting a communication medium for data transmission
TW201032622A (en) Communications decision methods and apparatus
CN112637943B (en) Method and device for controlling working mode of radio frequency assembly, electronic equipment and storage medium
CN106488571B (en) Channel selection method and system
CN108900278A (en) A kind of method of adjustment of modulation demodulation system, terminal and computer storage medium
TWI661690B (en) Control method and control module for multiple-antenna device
MX2008013338A (en) Robust wireless high-speed data services across an hfc infrastructure using wired diversity techniques.
CN116614160A (en) Antenna control method, device, electronic equipment and storage medium
CN117834529A (en) Self-adaptive selection method of data transmission channel based on dual-mode communication
TW202335467A (en) Wireless communication device and method for determining data transmission rate
JP2002252580A (en) Communication system switching radio and communication system switching method
CN102340337A (en) Antenna processing method, system and device based on multi-service

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant