CN114845364A - 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
CN114845364A
CN114845364A CN202210451461.5A CN202210451461A CN114845364A CN 114845364 A CN114845364 A CN 114845364A CN 202210451461 A CN202210451461 A CN 202210451461A CN 114845364 A CN114845364 A CN 114845364A
Authority
CN
China
Prior art keywords
antenna
antennas
communication quality
poor communication
electronic device
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
CN202210451461.5A
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.)
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 CN202210451461.5A priority Critical patent/CN114845364A/en
Publication of CN114845364A publication Critical patent/CN114845364A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0245Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal according to signal strength
    • 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/0413MIMO systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application provides an antenna control method, an antenna control device, a storage medium and an electronic device, wherein the antenna control method comprises the following steps: acquiring the received signal strength of each antenna of the electronic equipment in an MIMO communication state; judging whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna; if an antenna with poor communication quality exists in the plurality of antennas, determining an antenna with poor communication quality from the plurality of antennas; and closing the communication link corresponding to the antenna with poor communication quality. In the antenna control method provided by the embodiment of the application, the electronic device can determine whether an antenna with poor communication quality exists according to the received signal strength of each antenna, and if an antenna with poor communication quality exists, determine which antenna or antennas are the antenna with poor communication quality, and close a communication link corresponding to the antenna with poor communication quality, so that the power consumption of the electronic device can be saved while the communication performance is considered.

Description

Antenna control method, antenna control device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an antenna control method and apparatus, a storage medium, and an electronic device.
Background
In WiFi (Wireless Fidelity) communication, in order to improve WiFi throughput and improve user experience, a Multiple Input Multiple Output (MIMO) technology has been introduced from IEEE 802.11 n. The MIMO technology enables the electronic device to transmit different data packets through different antennas at the same time, thereby improving the throughput rate of WiFi.
However, no matter in what network environment the electronic device is located, for example, when the antenna of the electronic device is deteriorated due to the user's hand holding or being shielded by metal objects, the electronic device still performs WiFi communication through the multiple antennas in the MIMO mode. In this case, the WiFi throughput may be severely degraded, however, the multiple antennas of the MIMO mode still consume large power consumption.
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 reduce the power consumption of the electronic device while considering the communication performance.
The embodiment of the application provides an antenna control method of electronic equipment, wherein the electronic equipment comprises a plurality of antennas, and the antenna control method comprises the following steps:
acquiring the received signal strength of each antenna of the electronic equipment in an MIMO communication state;
judging whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna;
if an antenna with poor communication quality exists in the plurality of antennas, determining an antenna with poor communication quality from the plurality of antennas;
and closing the communication link corresponding to the antenna with poor communication quality.
An embodiment of the present application further provides an antenna control apparatus for an electronic device, where the electronic device includes a plurality of antennas, the antenna control apparatus includes:
the acquisition module is used for acquiring the received signal strength of each antenna of the electronic equipment in the MIMO communication state;
the judging module is used for judging whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna;
a determining module, configured to determine, when an antenna with poor communication quality exists among the plurality of antennas, an antenna with poor communication quality from the plurality of antennas;
and the antenna control module is used for closing the communication link corresponding to the antenna with poor communication quality.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is caused to execute the above antenna control method.
An embodiment of the present application further provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores a computer program, and the processor is configured to execute the antenna control method by calling the computer program stored in the memory.
In the antenna control method provided by the embodiment of the application, the electronic device can determine whether an antenna with poor communication quality exists according to the received signal strength of each antenna, and if an antenna with poor communication quality exists, determine which antenna or antennas are the antenna with poor communication quality, and close a communication link corresponding to the antenna with poor communication quality, so that the power consumption of the electronic device can be saved while the communication performance is considered.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic diagram of an electronic device in wireless communication with an access point.
Fig. 2 is a first flowchart of an antenna control method according to an embodiment of the present application.
Fig. 3 is a second flowchart of an antenna control method according to an embodiment of the present application.
Fig. 4 is a third flowchart illustrating an antenna control method according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a system for performing throughput rate testing on each antenna of an electronic device in an embodiment of the present application.
Fig. 6 is a fourth flowchart illustrating an antenna control method according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an antenna control device according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a second 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 embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram of an electronic device in wireless communication with an access point. The electronic device may be a device such as a smart phone, a tablet computer, and the like. The access point may be a device such as a router.
The electronic device comprises a plurality of antennas, e.g. antenna a, antenna B, antenna C. The electronic device may communicate wirelessly, such as WiFi communication, with the access point via any one or more of antennas a, B, and C. The WiFi communication mode of the electronic device may include a MIMO mode and a SISO (Single input Single output) mode. In the MIMO mode, the electronic device may perform data transmission with the access point through two or more antennas at the same time, and at this time, the electronic device is in the MIMO communication state; in the SISO mode, the electronic device communicates with the access point via only one antenna, and the electronic device is in SISO communication.
It should be noted that the electronic device may include 2, 3, 4 or more antennas, that is, at least 2 antennas, and this application is not limited thereto. The present application is only described with reference to WiFi communication of an electronic device as an example, and in practical applications, the present application may also be applied to other communication methods, such as cellular communication, and the present application is not limited to this. In cellular communications, electronic devices may communicate data with base stations to enable wireless communication with other users. Therefore, in the embodiment of the present application, the plurality of antennas of the electronic device may be WiFi antennas (wireless fidelity antennas) or cellular antennas.
The embodiment of the application provides an antenna control method, which can be applied to the electronic equipment.
Referring to fig. 2, fig. 2 is a first flowchart of an antenna control method according to an embodiment of the present application. The antenna control method comprises the following steps:
and 110, acquiring the received signal strength of each antenna when the electronic equipment is in the MIMO communication state.
In practical applications, in order to improve the wireless communication throughput of the electronic device, the electronic device performs wireless communication in a MIMO state by default. For example, after the electronic device is turned on, the electronic device enters the MIMO mode for wireless communication. When the electronic device performs wireless communication through a plurality of antennas in an MOMO mode, a Received Signal Strength (RSSI) of each antenna can be obtained.
For example, when the electronic device includes three antennas, for example, antenna a, antenna B, and antenna C, the received signal strengths of antenna a, antenna B, and antenna C may be obtained and recorded as RSSI0, RSSI1, and RSSI2, respectively.
It will be appreciated that in practical applications, the electronic device may obtain the received signal strength of each antenna after a certain time interval, for example, the received signal strength may be obtained every 3 seconds.
When the electronic device performs wireless communication in the MIMO mode, the electronic device may separately acquire the received signal strength of each antenna. In the embodiment of the application, the overall received signal strength of the electronic equipment during wireless communication does not need to be acquired.
And 120, judging whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna.
After the electronic device acquires the received signal strength of each antenna, whether an antenna with poor communication quality exists in the plurality of antennas can be judged according to the acquired received signal strengths.
For example, after acquiring the received signal strengths of the antenna a, the antenna B, and the antenna C, which are, for example, RSSI0, RSSI1, and RSSI2, the electronic device can determine whether an antenna with poor communication quality exists among the antenna a, the antenna B, and the antenna C based on the three received signal strengths RSSI0, RSSI1, and RSSI 2.
In practical applications, when the communication quality of a certain antenna or a certain number of antennas is poor, the overall data throughput rate of the electronic device is affected.
And 130, if an antenna with poor communication quality exists in the plurality of antennas, determining the antenna with poor communication quality from the plurality of antennas.
And 140, closing the communication link corresponding to the antenna with poor communication quality.
If it is determined that there is an antenna with poor communication quality among the plurality of antennas, the electronic device determines an antenna with poor communication quality from the plurality of antennas, and then closes a communication link corresponding to the antenna with poor communication quality, for example, closes any device on the communication link to implement closing the communication link. If it is determined that there is no antenna with poor communication quality in the plurality of antennas, the electronic device may continue to perform wireless communication in the current communication mode, for example, continue to perform wireless communication in the MIMO mode, and perform the process of the embodiment again after a period of time. It can be understood that the power consumption consumed by the communication link corresponding to the antenna with poor communication quality can be saved by closing the communication link corresponding to the antenna with poor communication quality, and the influence on the overall communication performance of the electronic device is small because the communication link corresponding to the antenna with poor communication quality is closed, so that the power consumption of the electronic device can be saved while the communication performance is considered.
For example, if it is determined that there is an antenna with poor communication quality among the antennas a, B, and C, it is further determined which antenna or antennas the antenna with poor communication quality is, and then the communication link corresponding to the antenna with poor communication quality is closed. For example, if it is determined that the antenna C is an antenna with poor communication quality, the communication link corresponding to the antenna C may be closed, and the wireless communication may continue in the MIMO mode through the antennas a and B. For another example, if it is determined that the antennas a and C are poor communication quality antennas, the communication link corresponding to the antenna a and the communication link corresponding to the antenna C may be closed, and the wireless communication may be continued through the antenna B.
In practical application, when the number of the antennas of the electronic device is two, after the communication link corresponding to the antenna with poor communication quality is closed, the electronic device performs data transmission only through one antenna. Therefore, when the communication link corresponding to the antenna with poor communication quality in the two antennas is closed, the communication state of the electronic device can be switched from the MIMO state to the SISO state.
In the embodiment of the application, the electronic device can judge whether the antenna with poor communication quality exists according to the received signal strength of each antenna, and if the antenna with poor communication quality exists, the electronic device determines which antenna or antennas are the antenna with poor communication quality, and closes the communication link corresponding to the antenna with poor communication quality, so that the power consumption of the electronic device can be saved while the communication performance is considered.
In some embodiments, referring to fig. 3, fig. 3 is a second flowchart of an antenna control method according to an embodiment of the present disclosure. Wherein, step 120: judging whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna, comprising the following steps:
121, obtaining a difference between the received signal strengths of each two antennas to obtain at least one difference;
and 122, judging whether an antenna with poor communication quality exists in the plurality of antennas according to at least one difference value.
After obtaining the received signal strength of each antenna, the electronic device may further obtain a difference between the received signal strengths of each two antennas through calculation.
For example, when the number of antennas is three, such as antenna a, antenna B, and antenna C, the corresponding received signal strengths are RSSI0, RSSI1, and RSSI2, respectively, the difference between the received signal strengths of antenna a and antenna B, i.e. the difference between RSSI0 and RSSI1, can be obtained and is denoted as RSSI 01; obtaining a difference value of the received signal strengths of the antenna B and the antenna C, namely a difference value between the RSSI1 and the RSSI2, which can be recorded as the RSSI 12; and obtaining the difference between the received signal strengths of the antenna a and the antenna C, i.e. the difference between the RSSI0 and the RSSI2, which can be denoted as RSSI 02. At this time, three such differences are obtained.
For another example, when the number of antennas is two, such as antenna a and antenna B, the corresponding received signal strengths are RSSI0 and RSSI1, respectively, the difference between the received signal strengths of antenna a and antenna B, i.e. the difference between RSSI0 and RSSI1, can be obtained as RSSI 01. At this time, the obtained difference is one.
Then, the electronic device may determine whether an antenna with poor communication quality exists in the plurality of antennas according to at least one of the difference values.
In some embodiments, referring to fig. 4, fig. 4 is a third flowchart illustrating an antenna control method according to an embodiment of the present application. Wherein, step 122: judging whether an antenna with poor communication quality exists in the plurality of antennas according to at least one difference value, comprising the following steps:
1221, judging whether the absolute value of the difference value in at least one difference value is larger than a preset threshold value;
1222 determining that an antenna with poor communication quality exists in the plurality of antennas if the absolute value of the difference value in at least one of the difference values is greater than a preset threshold value;
1223, if the absolute value of each difference is not greater than the preset threshold, it is determined that there is no antenna with poor communication quality in the plurality of antennas.
In the electronic device, a preset threshold may be preset, and the preset threshold may be determined through experiments. The preset threshold value represents a boundary between an antenna having a poor communication quality and an antenna having no poor communication quality.
Referring to fig. 5, fig. 5 is a schematic diagram of a system for performing throughput rate testing on each antenna of an electronic device in the embodiment of the present application. Taking the WiFi communication of the electronic device as an example, the test system includes the electronic device, a router, and a control device. The electronic equipment and the router are respectively arranged in different shielding boxes, the shielding box where the router is located is connected with the control equipment through the LAN data line, the control equipment is simultaneously connected with the programmable attenuator through the LAN data line, and the shielding box where the programmable attenuator and the router are located is simultaneously connected with the shielding box where the electronic equipment is located through the radio frequency line. In the test process, the control device controls the router to transmit the WiFi signal, the electronic device receives the WiFi signal transmitted by the router, and meanwhile, the control device reads the received signal strength of each antenna of the electronic device in different communication modes, the throughput rate of the electronic device and the negotiation rate of the electronic device.
In some embodiments, when the number of antennas of the electronic device is two, for example, the antennas a and B, and WiFi communication in 5G frequency band is taken as an example, the test may obtain data shown in the following table:
Figure BDA0003617309950000071
since the SISO mode is to transmit data through a single antenna and the MIMO mode is to transmit data through two antennas simultaneously when the network environment of the electronic device is good, the throughput of the MIMO mode should be twice or nearly twice that of the SISO mode. From the above table, it can be known that, when the difference between the received signal strengths of the antenna a and the antenna B is above 30dB, the throughput of the MIMO mode of the electronic device is relatively close to the throughput of the SISO mode. Thus, in one example of a practical application, the preset threshold may be set to 30 dB.
Since the difference calculated by the electronic device may be a positive value or a negative value, the electronic device may compare the absolute value of each obtained difference with the preset threshold to determine whether the absolute value of the difference is greater than the preset threshold. If the absolute value of the difference value in the at least one difference value is larger than the preset threshold value, determining that an antenna with poor communication quality exists in the plurality of antennas; and if the absolute value of each difference value is not greater than the preset threshold value, determining that the antenna with poor communication quality does not exist in the plurality of antennas.
For example, if the RSSI0 of the received signal strength of antenna a is-50, the RSSI1 of the received signal strength of antenna B is-65, and the RSSI2 of antenna C is-85, the RSSI01 of the difference between the received signal strengths of antenna a and antenna B is 15, the RSSI12 of the difference between the received signal strengths of antenna B and antenna C is 20, and the RSSI02 of the difference between the received signal strengths of antenna a and antenna C is 35. If the preset threshold is 30, the absolute value of the difference value in the three difference values is greater than the preset threshold, and at this time, the antenna with poor communication quality is determined to exist.
Then, the electronic device may further determine an antenna with poor communication quality from the plurality of antennas.
In some embodiments, when determining an antenna with poor communication quality, an antenna with lower received signal strength may be determined as an antenna with poor communication quality, from among two antennas corresponding to a difference value whose absolute value of the difference value is greater than a preset threshold value. For example, the difference may be compared with 0, assuming that the difference is the result obtained by subtracting RSSI2 from RSSI0, and if the difference is greater than 0, which indicates that RSSI0 is greater than RSSI2, then antenna C corresponding to RSSI2 is determined as the antenna with poor communication quality; on the contrary, if the difference is smaller than 0, which means that RSSI0 is smaller than RSSI2, antenna a corresponding to RSSI0 is determined as the antenna with poor communication quality.
For example, among the three differences RSSI01, RSSI12, and RSSI02, if RSSI02 is RSSI0-RSSI2, and the absolute value of RSSI02 is greater than the preset threshold value 30, the antenna C with the smaller received signal strength among the antennas a and C corresponding to RSSI02 is determined as the antenna with poor communication quality. Subsequently, the communication link corresponding to antenna C may be closed.
The following describes an antenna control method provided in an embodiment of the present application with a specific example, where an electronic device includes two antennas, namely an antenna a and an antenna B. Referring to fig. 6, fig. 6 is a fourth flowchart illustrating an antenna control method according to an embodiment of the present application.
A counter may be provided in the electronic device. After the process of the embodiment of the present application is started, a counter is initialized first. Subsequently, the counter starts counting down from the set value, for example, counting down from 5, and the counter is decremented by 1 per second. After the counter subtracts 1 every time, the electronic equipment judges whether the time point of the counter is subtracted to 0, if not, the electronic equipment returns and continues counting backwards; if the value is reduced to 0, the received signal strengths of the two antennas are detected and are respectively denoted as RSSI0 and RSSI1, wherein RSSI0 represents the received signal strength of antenna a, and RSSI1 represents the received signal strength of antenna B. Then, the difference between RSSI0 and RSSI1 is calculated and it is determined whether the absolute value of the difference is greater than a preset threshold, which may be set to 30, for example. If the absolute value of the difference is not larger than the preset threshold, the antenna with poor communication quality does not exist, and then the operation is returned and started from the initialization of the counter again. If the absolute value of the difference is greater than the preset threshold, it indicates that there is an antenna with poor communication quality, and then the difference between the RSSI0 and the RSSI1 is further compared with 0 to determine whether the difference is greater than 0. If the difference is greater than 0, it indicates that the received signal of the antenna a is better, and the received signal of the antenna B is worse, at this time, the communication link corresponding to the antenna B is closed, and the electronic device is switched to the SISO state in which only the antenna a works, and then returns to and starts to execute from the initialization of the counter again. If the difference is not greater than 0, it is determined that the received signal of the antenna a is poor and the received signal of the antenna B is good, at this time, the communication link corresponding to the antenna a is closed, the electronic device is switched to the SISO state in which only the antenna B operates, and then the electronic device returns to and starts to execute from the initialization of the counter again. At this point, one process of the antenna control method is executed.
Therefore, by setting the counter, the flow of the embodiment of the present application can be executed once after every unit time, that is, after every counting period of the counter. The method can ensure the monitoring of the communication state of the electronic equipment, and timely close the corresponding communication link when the antenna with poor communication quality appears, so as to save power consumption, and the control flow does not need to be continuously executed all the time, so that the frequency of executing the control flow is more reasonable, and the occupation of system resources is reduced.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, the antenna control method provided in the embodiment of the present application includes: acquiring the received signal strength of each antenna of the electronic equipment in an MIMO communication state; judging whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna; if an antenna with poor communication quality exists in the plurality of antennas, determining an antenna with poor communication quality from the plurality of antennas; and closing the communication link corresponding to the antenna with poor communication quality. In the antenna control method, the electronic device can judge whether the antenna with poor communication quality exists according to the received signal strength of each antenna, and if the antenna with poor communication quality exists, the electronic device determines which antenna or antennas are the antenna with poor communication quality and closes the communication link corresponding to the antenna with poor communication quality, so that the power consumption of the electronic device can be saved while the communication performance is considered.
The embodiment of the application further provides an antenna control device, and the antenna control device can be integrated in the electronic equipment.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an antenna control apparatus 200 according to an embodiment of the present application. The antenna control device 200 includes: an acquisition module 210, a determination module 220, a determination module 230, and an antenna control module 240.
The obtaining module 210 is configured to obtain a received signal strength of each antenna of the electronic device in the MIMO communication state;
the determining module 220 is configured to determine whether an antenna with poor communication quality exists in the multiple antennas according to the received signal strength of each antenna;
the determining module 230 is configured to determine, when an antenna with poor communication quality exists in the plurality of antennas, an antenna with poor communication quality from the plurality of antennas;
the antenna control module 240 is configured to close the communication link corresponding to the antenna with poor communication quality.
In some embodiments, when determining whether there is an antenna with poor communication quality in the plurality of antennas according to the received signal strength of each antenna, the determining module 220 is configured to:
obtaining the difference value of the received signal strength of every two antennas to obtain at least one difference value;
judging whether the absolute value of the difference value in the at least one difference value is larger than a preset threshold value or not;
if the absolute value of the difference value in at least one difference value is larger than a preset threshold value, determining that an antenna with poor communication quality exists in the plurality of antennas;
and if the absolute value of each difference value is not greater than the preset threshold value, determining that the antenna with poor communication quality does not exist in the plurality of antennas.
In some embodiments, when determining an antenna with poor communication quality from a plurality of antennas, the determining module 230 is configured to:
and determining the antenna with smaller received signal strength as the antenna with poor communication quality in the two antennas corresponding to the difference value of which the absolute value is greater than the preset threshold value.
In some embodiments, the electronic device includes two antennas, and when the communication link corresponding to the antenna with poor communication quality is closed, the antenna control module 240 is configured to:
and closing a communication link corresponding to the antenna with poor communication quality in the two antennas so as to switch the communication state of the electronic equipment from the MIMO state to the SISO state.
It can be understood that, for the specific implementation of each module, reference may be made to the description in the antenna control method, and details are not described here.
In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities.
As can be seen from the above, in the antenna control apparatus 200 provided in the embodiment of the present application, the obtaining module 210 obtains the received signal strength of each antenna of the electronic device in the MIMO communication state; the determining module 220 determines whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna; the determining module 230 determines an antenna with poor communication quality from the plurality of antennas when the antenna with poor communication quality exists in the plurality of antennas; the antenna control module 240 closes the communication link corresponding to the antenna with poor communication quality. The antenna control apparatus 200 can determine whether an antenna with poor communication quality exists according to the received signal strength of each antenna, and if an antenna with poor communication quality exists, determine which antenna or antennas are the antenna with poor communication quality, and close the communication link corresponding to the antenna with poor communication quality, thereby saving the power consumption of the electronic device while considering the communication performance.
The embodiment of the application further provides electronic equipment which can be equipment such as a smart phone and a tablet computer.
Referring to fig. 8, fig. 8 is a schematic view of a first structure of an electronic device 300 according to an embodiment of the present disclosure.
The electronic device 300 includes a processor 310 and a memory 320. The processor 310 is electrically connected to the memory 320.
The processor 310 is a control center of the electronic device 300, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by running or calling a computer program stored in the memory 320, and calling data stored in the memory 320, thereby performing overall monitoring of the electronic device.
Memory 320 may be used to store computer programs and data. Memory 320 stores computer programs comprising instructions executable in the processor. The computer program may constitute various functional modules. The processor 310 executes various functional applications and data processing by calling computer programs stored in the memory 320.
In this embodiment, the processor 310 in the electronic device 300 loads instructions corresponding to processes of one or more computer programs into the memory 320 according to the following steps, and the processor 310 runs the computer programs stored in the memory 320, so as to execute the following steps:
acquiring the received signal strength of each antenna of the electronic equipment in an MIMO communication state;
judging whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna;
if an antenna with poor communication quality exists in the plurality of antennas, determining an antenna with poor communication quality from the plurality of antennas;
and closing the communication link corresponding to the antenna with poor communication quality.
In some embodiments, when determining whether there is an antenna with poor communication quality in the plurality of antennas according to the received signal strength of each antenna, the processor 310 performs the following steps:
obtaining the difference value of the received signal strength of every two antennas to obtain at least one difference value;
and judging whether an antenna with poor communication quality exists in the plurality of antennas according to at least one difference value.
In some embodiments, when determining whether there is an antenna with poor communication quality in the plurality of antennas according to at least one of the difference values, the processor 310 performs the following steps:
judging whether the absolute value of the difference value in at least one difference value is larger than a preset threshold value or not;
if the absolute value of the difference value in at least one difference value is larger than a preset threshold value, determining that an antenna with poor communication quality exists in the plurality of antennas;
and if the absolute value of each difference value is not greater than the preset threshold value, determining that the antenna with poor communication quality does not exist in the plurality of antennas.
In some embodiments, when determining an antenna of poor communication quality from the plurality of antennas, the processor 310 performs the following steps:
and determining the antenna with smaller received signal strength as the antenna with poor communication quality in the two antennas corresponding to the difference value of which the absolute value is greater than the preset threshold value.
In some embodiments, the number of the antennas is two, and when the communication link corresponding to the antenna with poor communication quality is closed, the processor 310 performs the following steps:
and closing a communication link corresponding to the antenna with poor communication quality in the two antennas so as to switch the communication state of the electronic equipment from the MIMO state to the SISO state.
In some embodiments, referring to fig. 9, fig. 9 is a schematic diagram of a second structure of an electronic device 300 according to an embodiment of the present disclosure.
The electronic device 300 further includes: radio frequency circuit 330, display screen 340, control circuit 350, and power supply 390. The processor 310 is electrically connected to the rf circuit 330, the display 340, the control circuit 350 and the power supply 390.
The radio frequency circuit 330 is configured to transceive wireless signals in a MIMO mode through the plurality of antennas or in a SISO mode through a single antenna to communicate with a network device or other electronic devices through wireless communication.
The display screen 340 may be used to display information input by or provided to the user as well as various graphical user interfaces of the electronic device, which may be comprised of images, text, icons, video, and any combination thereof.
The control circuit 350 is electrically connected to the display screen 340, and is configured to control the display screen 340 to display information.
The power supply 390 is used to power various components of the electronic device 300. In some embodiments, the power supply 390 may be logically coupled to the processor 310 via a power management system, such that the power management system may manage charging, discharging, and power consumption.
Although not shown in fig. 9, the electronic device 300 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
As can be seen from the above, an embodiment of the present application provides an electronic device, where the electronic device performs the following steps: acquiring the received signal strength of each antenna of the electronic equipment in an MIMO communication state; judging whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna; if an antenna with poor communication quality exists in the plurality of antennas, determining an antenna with poor communication quality from the plurality of antennas; and closing the communication link corresponding to the antenna with poor communication quality. The electronic equipment can judge whether the antenna with poor communication quality exists according to the received signal strength of each antenna, if the antenna with poor communication quality exists, the antenna with poor communication quality is determined to be the antenna with poor communication quality, and the communication link corresponding to the antenna with poor communication quality is closed, so that the power consumption of the electronic equipment can be saved while the communication performance is considered.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is caused to execute the antenna control method according to any one of the above embodiments.
It should be noted that, those skilled in the art can understand that all or part of the steps in the methods of the above embodiments can be implemented by the relevant hardware instructed by the computer program, and the computer program can be stored in the computer readable storage medium, which can include but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The antenna control method, the antenna control device, the storage medium, and the electronic device provided in the embodiments of the present application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An antenna control method of an electronic device, wherein the electronic device includes a plurality of antennas, the antenna control method comprising:
acquiring the received signal strength of each antenna of the electronic equipment in an MIMO communication state;
judging whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna;
if an antenna with poor communication quality exists in the plurality of antennas, determining an antenna with poor communication quality from the plurality of antennas;
and closing the communication link corresponding to the antenna with poor communication quality.
2. The method of claim 1, wherein the determining whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna comprises:
obtaining a difference value of the received signal strength of every two antennas to obtain at least one difference value;
and judging whether an antenna with poor communication quality exists in the plurality of antennas according to at least one difference value.
3. The antenna control method according to claim 2, wherein the determining whether an antenna with poor communication quality exists in the plurality of antennas according to at least one of the difference values comprises:
judging whether the absolute value of the difference value in at least one difference value is larger than a preset threshold value or not;
if the absolute value of the difference value in at least one difference value is larger than a preset threshold value, determining that an antenna with poor communication quality exists in the plurality of antennas;
and if the absolute value of each difference value is not greater than a preset threshold value, determining that an antenna with poor communication quality does not exist in the plurality of antennas.
4. The method according to claim 3, wherein the determining an antenna with poor communication quality from the plurality of antennas comprises:
and determining the antenna with smaller received signal strength as the antenna with poor communication quality in the two antennas corresponding to the difference value with the absolute value of the difference value larger than the preset threshold value.
5. The antenna control method according to any one of claims 1 to 4, wherein the number of the antennas is two, and the closing of the communication link corresponding to the antenna with poor communication quality includes:
and closing a communication link corresponding to an antenna with poor communication quality in the two antennas so as to switch the communication state of the electronic equipment from the MIMO state to the SISO state.
6. The antenna control method according to any one of claims 1 to 4, wherein the plurality of antennas are wireless fidelity antennas or cellular antennas.
7. An antenna control apparatus of an electronic device, the electronic device including a plurality of antennas, the antenna control apparatus comprising:
the acquisition module is used for acquiring the received signal strength of each antenna of the electronic equipment in the MIMO communication state;
the judging module is used for judging whether an antenna with poor communication quality exists in the plurality of antennas according to the received signal strength of each antenna;
a determining module, configured to determine, when an antenna with poor communication quality exists among the plurality of antennas, an antenna with poor communication quality from the plurality of antennas;
and the antenna control module is used for closing the communication link corresponding to the antenna with poor communication quality.
8. The antenna control apparatus of claim 7, wherein the determining module is configured to:
obtaining a difference value of the received signal strength of every two antennas to obtain at least one difference value;
judging whether the absolute value of the difference value in at least one difference value is larger than a preset threshold value or not;
if the absolute value of the difference value in at least one difference value is larger than a preset threshold value, determining that the antenna with poor communication quality exists in the plurality of antennas;
and if the absolute value of each difference value is not greater than a preset threshold value, determining that an antenna with poor communication quality does not exist in the plurality of antennas.
9. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the antenna control method of any one of claims 1 to 6.
10. An electronic device, characterized in that the electronic device comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor is configured to execute the antenna control method according to any one of claims 1 to 6 by calling the computer program stored in the memory.
CN202210451461.5A 2022-04-26 2022-04-26 Antenna control method, antenna control device, storage medium and electronic equipment Pending CN114845364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210451461.5A CN114845364A (en) 2022-04-26 2022-04-26 Antenna control method, antenna control device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210451461.5A CN114845364A (en) 2022-04-26 2022-04-26 Antenna control method, antenna control device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114845364A true CN114845364A (en) 2022-08-02

Family

ID=82568308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210451461.5A Pending CN114845364A (en) 2022-04-26 2022-04-26 Antenna control method, antenna control device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114845364A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110045766A1 (en) * 2009-08-18 2011-02-24 Bong Youl Cho Automatic On-Off Switching Repeater For Mimo Networks
CN108347277A (en) * 2018-02-11 2018-07-31 广东欧珀移动通信有限公司 Method of controlling antenna, device, storage medium and electronic equipment
CN108430101A (en) * 2018-03-05 2018-08-21 广东欧珀移动通信有限公司 Antenna method for closing, device, storage medium and electronic equipment
WO2020186418A1 (en) * 2019-03-18 2020-09-24 华为技术有限公司 Method and apparatus for controlling receiving antenna

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110045766A1 (en) * 2009-08-18 2011-02-24 Bong Youl Cho Automatic On-Off Switching Repeater For Mimo Networks
CN108347277A (en) * 2018-02-11 2018-07-31 广东欧珀移动通信有限公司 Method of controlling antenna, device, storage medium and electronic equipment
CN108430101A (en) * 2018-03-05 2018-08-21 广东欧珀移动通信有限公司 Antenna method for closing, device, storage medium and electronic equipment
WO2020186418A1 (en) * 2019-03-18 2020-09-24 华为技术有限公司 Method and apparatus for controlling receiving antenna

Similar Documents

Publication Publication Date Title
CN111654316B (en) Antenna switching method and device, storage medium and electronic equipment
CN107147419A (en) Reduce method, storage medium and the terminal of signal interference
CN108282166B (en) Antenna coexistence mutual interference processing method and device, storage medium and electronic equipment
CN110446235B (en) Call mode determination method and device, electronic equipment and storage medium
CN106230492B (en) Terminal antenna switching method and device and mobile terminal
CN106604314B (en) WiFi roaming network access method and terminal equipment
CN111770559A (en) Network connection method, terminal, base station, and computer storage medium
CN109348516A (en) Mobile terminal and prevent the method, apparatus of network pingpang handoff, storage medium
JP6961708B2 (en) Network connection method and equipment
US11165469B2 (en) RF-antenna architecture in mobile communication devices
US11496946B2 (en) Transmission path switching method and apparatus
EP4064760A1 (en) Device control method and apparatus, storage medium and electronic device
CN113316206B (en) Cell reselection method, device, terminal equipment and storage medium
US20230300703A1 (en) Cell switching method and apparatus, storage medium, and electronic device
CN107241145B (en) Processing method, device, storage medium and the terminal of radio frequency interference
CN111866976A (en) Network switching method and device
CN113300725B (en) Antenna switching method and related equipment
EP4240065A1 (en) Method and apparatus for determining working mode of terminal antenna, and terminal and storage medium
CN112867069B (en) Interference processing method and device, storage medium and electronic equipment
CN106817748A (en) Save the method and mobile terminal of user equipment power consumption
CN112970207B (en) Method and device for controlling receiving antenna
CN114845364A (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN110649952A (en) Antenna switching method and device, storage medium and electronic equipment
CN113242544B (en) Paging method, paging device and electronic equipment
CN113543237B (en) Cell selection 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