CN112333771B - Electronic device control method, electronic device control device, storage medium and electronic device - Google Patents

Electronic device control method, electronic device control device, storage medium and electronic device Download PDF

Info

Publication number
CN112333771B
CN112333771B CN202011231721.5A CN202011231721A CN112333771B CN 112333771 B CN112333771 B CN 112333771B CN 202011231721 A CN202011231721 A CN 202011231721A CN 112333771 B CN112333771 B CN 112333771B
Authority
CN
China
Prior art keywords
radiator
communication module
received signal
signal strength
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.)
Active
Application number
CN202011231721.5A
Other languages
Chinese (zh)
Other versions
CN112333771A (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 CN202011231721.5A priority Critical patent/CN112333771B/en
Publication of CN112333771A publication Critical patent/CN112333771A/en
Application granted granted Critical
Publication of CN112333771B publication Critical patent/CN112333771B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • 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 electronic device control method, an electronic device control device, a storage medium and an electronic device, wherein the electronic device control method is applied to the electronic device, the electronic device comprises a first radiator, a first communication module and a second communication module, the first communication module is used for providing a first excitation signal, and the second communication module is used for providing a second excitation signal; the electronic equipment control method comprises the following steps: acquiring first received signal strength when a first emitter transmits a first excitation signal; acquiring the strength of a second received signal when the first radiator transmits a second excitation signal; and determining the corresponding communication module as the target communication module when the first radiator receives the stronger signal strength, and controlling the first radiator to be conducted with the target communication module. Therefore, the electronic device control method can improve the radiation performance of the first radiator.

Description

Electronic device control method, electronic device control device, storage medium and electronic device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling an electronic device, a storage medium, and an electronic device.
Background
With the development of communication technology, electronic devices such as smart phones have more and more functions, and communication modes of the electronic devices are more diversified. For example, a typical electronic device can support a plurality of Communication modes such as cellular network Communication, wireless Fidelity (Wi-Fi) Communication, global Positioning System (GPS) Communication, bluetooth (BT) Communication, near Field Communication (NFC), and the like. The communication function is realized by corresponding antenna radiator and radio frequency transceiver module.
When two radio frequency transceiver modules are connected to the same antenna radiator to enable one antenna radiator to transmit two wireless signals, the antenna radiator may generate interference when transmitting the two wireless signals due to limited bearing capacity of devices on a path or due to power superposition, and radiation performance of the antenna radiator is reduced.
Disclosure of Invention
The embodiment of the application provides an electronic device control method and device, a storage medium and an electronic device, which can improve the radiation performance of an antenna radiator.
In a first aspect, an embodiment of the present application provides an electronic device control method, which is applied to an electronic device, where the electronic device includes a first radiator, a first communication module, and a second communication module, where the first communication module is configured to provide a first excitation signal, and the second communication module is configured to provide a second excitation signal; the electronic equipment control method comprises the following steps:
acquiring first received signal strength when the first emitter transmits the first excitation signal;
acquiring second received signal strength when the first radiator transmits the second excitation signal;
and determining the corresponding communication module as a target communication module when the first radiator receives the stronger signal strength, and controlling the first radiator to be conducted with the target communication module.
In a second aspect, an embodiment of the present application further provides an electronic device control apparatus, which is applied to an electronic device, where the electronic device includes a first radiator, a first communication module, and a second communication module, the first communication module is configured to provide a first excitation signal, and the second communication module is configured to provide a second excitation signal; the electronic device control apparatus includes:
the first obtaining module is used for obtaining the strength of a first receiving signal when the first radiating body transmits the first excitation signal;
the second obtaining module is used for obtaining the strength of a second receiving signal when the first radiating body transmits the second excitation signal;
and the control module is used for determining the corresponding communication module as a target communication module when the first radiator receives the stronger signal strength, and controlling the first radiator to be conducted with the target communication module.
In a third aspect, an embodiment of the present application further provides a storage medium having a computer program stored thereon, where the computer program is executed on a processor, so that the processor executes the electronic device control method as described above.
In a fourth aspect, the present application further provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the electronic device control method as described above.
The electronic device control method is applied to electronic devices, and the electronic devices comprise a first radiator, a first communication module and a second communication module, wherein the first communication module is used for providing a first excitation signal, and the second communication module is used for providing a second excitation signal; the electronic equipment control method comprises the following steps: acquiring first received signal strength when a first emitter transmits a first excitation signal; acquiring the strength of a second received signal when the first radiator transmits a second excitation signal; and determining the corresponding communication module as the target communication module when the first radiator receives the stronger signal strength, and controlling the first radiator to be conducted with the target communication module. Based on this, according to the electronic device control method in the embodiment of the present application, the radiation performance of the first radiator when transmitting two excitation signals can be determined by the strength of the first received signal when the first radiator transmits the first excitation signal and the strength of the second received signal when the first radiator transmits the second excitation signal, and the electronic device can control the first radiator to be connected to the target communication module with the better radiation performance for transmitting the excitation signals, so that the problem that the first communication module and the second communication module compete for the first radiator can be solved, and the radiation performance of the first radiator can be improved.
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 also be derived from them without inventive effort.
Fig. 1 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a first flowchart illustrating an electronic device control method according to an embodiment of the present application.
Fig. 3 is a second flowchart of an electronic device control method according to an embodiment of the present application.
Fig. 4 is a second structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 5 is a schematic flowchart of a third method for controlling an electronic device according to an embodiment of the present disclosure.
Fig. 6 is a first electrical connection diagram of the electronic device shown in fig. 4.
Fig. 7 is a second electrical connection diagram of the electronic device shown in fig. 4.
Fig. 8 is a third schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 9 is a fourth flowchart illustrating an electronic device control method according to an embodiment of the present application.
Fig. 10 is a fourth structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 11 is a first electrical connection diagram of the electronic device shown in fig. 8.
Fig. 12 is a second electrical connection diagram of the electronic device shown in fig. 8.
Fig. 13 is a third electrical connection diagram of the electronic device shown in fig. 8.
Fig. 14 is a schematic structural diagram of a first electronic device control apparatus according to an embodiment of the present application.
Fig. 15 is a schematic structural diagram of a second electronic device control apparatus according to an embodiment of the present application.
Fig. 16 is a schematic structural diagram of a third electronic device control apparatus according to an embodiment of the present application.
Fig. 17 is a fourth schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 18 is a fifth structural schematic 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 fig. 1 to 18 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 intended to be within the scope of the present application.
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 may be combined with other embodiments.
The embodiment of the application provides an electronic equipment control method and device, a storage medium and electronic equipment. The execution main body of the electronic device control method may be the electronic device control apparatus provided in the embodiment of the present application, or an electronic device integrated with the electronic device control apparatus, where the electronic device control apparatus may be implemented in a hardware or software manner, and the electronic device may be a smart phone, a tablet computer, a palm computer, a notebook computer, or a desktop computer.
Referring to fig. 1, fig. 1 is a first structural schematic diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 100 may include at least a first radiator 110, a first communication module 120, a second communication module 130, and a first switch assembly 140.
The first communication module 120 and the second communication module 130 may provide the excitation signal. For example, the first communication module 120 may provide a first excitation signal and the second communication module 130 may provide a second excitation signal, which may be different from the first excitation signal. The excitation signal may be a cellular network Communication signal, such as a third Generation Mobile Communication Technology (3G) signal, a fourth Generation Mobile Communication Technology (4G) signal, a fifth Generation Mobile Communication Technology (5G) signal, and so on. The excitation signal may also be a Wi-Fi signal, a GPS signal, a BT signal, etc.
It will be appreciated that the first driving signal and the second driving signal may be different frequency band signals within the same type of signal. For example, the first excitation signal may be an N78-band signal (3.4 GHz to 3.6 GHz) of a 5G signal, and the second excitation signal may be an N79-band signal (4.8 GHz to 4.9 GHz) of the 5G signal.
It is understood that the first excitation signal and the second excitation signal may be different kinds of signals of the same frequency band. For example, the first excitation signal may be a 2.4G Wi-Fi signal (2.4 GHz to 2.48 GHz), and the second excitation signal may be an N41 band (2.5 GHz to 2.69 GHz) signal of a 5G signal.
The first radiator 110 may resonate at least two wireless signals, for example, a first driving signal and a second driving signal. The first switch element 140 may control the first radiator 110 to be electrically connected to the first communication module 120, and the first switch element 140 may also control the first radiator 110 to be electrically connected to the second communication module 130. When the first communication module 120 is electrically connected to the first radiator 110, the first radiator 110 may transmit a first excitation signal, and when the second communication module 130 is electrically connected to the first radiator 110, the first radiator 110 may transmit a second excitation signal, so that two kinds of wireless signals may be transmitted.
It is understood that the first switch assembly 140 may include two single-pole single-throw switches, such as a first single-pole single-throw switch and a second single-pole single-throw switch, one end of the first single-pole single-throw switch may be connected to the first communication module 120, and the other free end of the first single-pole single-throw switch may be connected to or disconnected from the first radiator 110. One end of the second single pole single throw switch may be connected to the second communication module 130, and the other free end of the second single pole single throw switch may be connected to or disconnected from the first radiator 110.
It is understood that the first communication module 120 and the second communication module 130 may be simultaneously connected to the first radiator 110. For example, the electronic device 100 may be provided with a combiner, and the first communication module 120 and the second communication module 130 may be electrically connected to one end of the combiner at the same time, and the other end of the combiner may be electrically connected to the first radiator 110. The combiner may transmit the first and second driving signals provided by the first and second communication modules 120 and 130 to the first radiator 110. The first radiator 110 may also receive the mixed signal transmitted by the base station, and transmit the mixed signal to the first communication module 120 and the second communication module 130 through the combiner, respectively. At this time, the first communication module 120, the second communication module 130 and the first radiator 110 form a complete communication link, power on the communication link is large, interference between the first communication module 120 and the second communication module 130 is large, and radiation performance of the first radiator 110 is affected.
Based on this, in the electronic device 100 according to the embodiment of the present application, one of the first communication module 120 and the second communication module 130 can be selected to be electrically connected to the first radiator 110, so as to improve the performance of the first radiator 110 in transmitting wireless signals. Referring to fig. 2, fig. 2 is a first flowchart illustrating an electronic device control method according to an embodiment of the present disclosure. The electronic device control method provided in the embodiment of the present application is applied to the electronic device 100, where the electronic device 100 may include a first radiator 110, a first communication module 120, and a second communication module 130, the first communication module 120 may provide a first excitation signal, and the second communication module 130 may provide a second excitation signal. The electronic equipment control method comprises the following steps:
in 101, a first received signal strength of the first radiator when transmitting the first excitation signal is obtained.
The electronic device 100 may control the first radiator 110 to be electrically connected to the first communication module 120, the first radiator 110 and the first communication module 120 may form a first communication link, and the first communication module 120 may obtain a first received signal strength of the first excitation signal transmitted by the first radiator 110.
It is understood that the first received signal strength may reflect the first radiation performance of the first radiator 110 for transmitting the first excitation signal. When the first received signal strength is greater than the first strength threshold, the first radiation performance is better; when the first received signal strength is less than/equal to the first strength threshold, it indicates that the first radiation performance is poor.
At 102, a second received signal strength of the first radiator when transmitting the second excitation signal is obtained.
The electronic device 100 may control the first radiator 110 to be electrically connected to the second communication module 130, the first radiator 110 and the second communication module 130 may form a second communication link, and the second communication module 130 may obtain a second received signal strength of the second excitation signal transmitted by the first radiator 110.
It is understood that the second received signal strength may reflect the second radiation performance of the first radiator 110 for transmitting the second excitation signal. When the second received signal strength is greater than the second strength threshold, the second radiation performance is better; when the second received signal strength is less than/equal to the second strength threshold, it indicates that the second radiation performance is poor.
In 103, the corresponding communication module with the stronger signal strength received by the first radiator is determined as the target communication module, and the first radiator is controlled to be conducted with the target communication module.
Since the first received signal strength may reflect a first radiation performance of the first radiator 110 for transmitting the first excitation signal, and the second received signal strength may reflect a second radiation performance of the first radiator 110 for transmitting the second excitation signal, the first radiation performance and the second radiation performance of the first radiator 110 for transmitting the first excitation signal and the second excitation signal may be determined according to the first received signal strength and the second received signal strength.
The electronic device 100 may control the first radiator 110 to be electrically connected to a target communication module providing a target excitation signal with better radiation performance, so that the first radiator 110 is electrically connected to the target communication module and the radiation performance is better when the target excitation signal is transmitted.
For example, when the first received signal strength is greater than the second received signal strength, the communication module at which the first radiator receives a stronger signal strength may be the first communication module 120, that is, the target communication module may be the first communication module 120, and the first radiator 110 may be electrically connected to the first communication module 120, so that the first radiator 110 has a better radiation performance when transmitting the first excitation signal.
For another example, when the first received signal strength is not greater than the second received signal strength, the communication module at which the first radiator receives a stronger signal strength may be the second communication module 130, that is, the target communication module may be the second communication module 130, and the first radiator 110 may be electrically connected to the second communication module 130, so that the first radiator 110 has a better radiation performance when transmitting the second excitation signal.
As can be seen from the above, in the electronic device control method according to the embodiment of the present application, the radiation performance of the first radiator 110 when transmitting two excitation signals can be determined through the first received signal strength when the first radiator 110 transmits a first excitation signal and the second received signal strength when the first radiator 110 transmits a second excitation signal, and the electronic device 100 can control the first radiator 110 to be connected to a target communication module with better radiation performance for transmitting an excitation signal, so that the problem that the first communication module 120 and the second communication module 130 contend for the first radiator can be solved, and the radiation performance of the first radiator 110 can also be improved.
Referring to fig. 3, fig. 3 is a second flowchart of an electronic device control method according to an embodiment of the present disclosure. After the first received signal strength and the second received signal strength are obtained, the communication module corresponding to the first radiator 110 with the stronger received signal strength is determined as the target communication module, and the method for controlling the conduction between the first radiator 110 and the target communication module may be: judging whether the strength of the first received signal is greater than that of the second received signal; if yes, determining that the target communication module is the first communication module 120, and controlling the first radiator 110 to be conducted with the first communication module 120; if not, the target communication module is determined to be the second communication module 130, and the first radiator 110 is controlled to be conducted with the second communication module 130. That is, at this time, the electronic device control method may include:
in 101, obtaining a first received signal strength when a first emitter transmits a first excitation signal;
at 102, obtaining a second received signal strength when the first radiator transmits the second excitation signal;
at 1031, determining whether the first received signal strength is greater than the second received signal strength;
in 1032, if yes, the target communication module is determined to be the first communication module, and the first radiator is controlled to be conducted with the first communication module;
in 1033, if not, it is determined that the target communication module is the second communication module, and the first radiator is controlled to be conducted with the second communication module.
It can be understood that, when the first received signal strength is greater than the second received signal strength, it may indicate that the first radiation performance of the first radiator 110 for transmitting the first excitation signal is better than the second radiation performance of the first radiator 110 for transmitting the second excitation signal, at this time, the first radiator 110 may be controlled to be conductive to the first communication module 120 but not conductive to the second communication module 130, and the second communication module 130 may be electrically connected to other radiators and transmit the second excitation signal through the other radiators.
It can be understood that, when the first received signal strength is less than or equal to the second received signal strength, it may indicate that the first radiation performance of the first radiator 110 for transmitting the first excitation signal is inferior to the second radiation performance of the first radiator 110 for transmitting the second excitation signal, at this time, the first radiator 110 may be controlled to be conductive with the second communication module 130 but not conductive with the first communication module 120, and the first communication module 120 may be electrically connected with other radiators and transmit the first excitation signal through the other radiators.
According to the electronic device control method in the embodiment of the application, the advantages and disadvantages of the first radiation performance and the second radiation performance can be rapidly judged according to the strength of the first receiving signal and the strength of the second receiving signal, so that the first radiator 110 can be rapidly and electrically connected with a target communication module with better radiation performance, and the control rate of the electronic device 100 is improved.
It is understood that the electronic device 100 may also determine the first electrical connection state and the second electrical connection state according to the magnitude of the current difference and the preset difference between the first received signal strength and the second received signal strength. For example, if the current difference is greater than the preset difference, it may be determined that the target communication module is the first communication module 120, and the first radiator 110 is controlled to be conducted with the first communication module 120; if the current difference is less than or equal to the preset difference, it may be determined that the target communication module is the second communication module 130, and the first radiator 110 is controlled to be conducted with the second communication module 130.
It is understood that, the above is only an exemplary example that the corresponding communication module is determined as the target communication module when the strength of the received signal of the first radiator 110 is strong, and the first radiator 110 is controlled to be conducted with the target communication module, and other schemes that can be implemented are also within the protection scope of the embodiment of the present application.
Please refer to fig. 4, wherein fig. 4 is a second structural schematic diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 100 may include a first radiator 110, a first communication module 120, a second communication module 130, a second radiator 150, and a second switch assembly 160, where the second switch assembly 160 may control the first communication module 120 and the second communication module 130 to be connected to or disconnected from the first radiator 110, and the second switch assembly 160 may control the first communication module 120 and the second communication module 130 to be connected to or disconnected from the second radiator 150.
For example, the second switch assembly 160 may include a double-pole double-throw switch, such as a first double-pole double-throw switch, a first end of the first double-pole double-throw switch is electrically connected to the first communication module 120, a second end of the first double-pole double-throw switch is electrically connected to the second communication module 130, and the other two free ends of the first double-pole double-throw switch may be respectively conducted with the first radiator 110 and the second radiator 150.
It can be understood that the second radiator 150 may resonate the first excitation signal and the second excitation signal, and the second switch element 160 may control the second radiator 150 to be electrically connected to the first communication module 120, at which time the first communication module 120 and the second radiator 150 may form a third communication link, so that the second radiator 150 transmits the first excitation signal. The second switch assembly 160 may control the second radiator 150 to be electrically connected to the second communication module 130, and at this time, the second communication module 130 and the second radiator 150 may form a fourth communication link, so that the second radiator 150 transmits the second excitation signal.
Based on the electronic device 100 in fig. 4, in the electronic device control method shown in fig. 3, the electronic device control method according to the embodiment of the present application may further include: and controlling the second radiator 150 to be conducted with a communication module other than the target communication module.
Referring to fig. 5, referring to the electronic device 100 shown in fig. 4, fig. 5 is a third flowchart illustrating an electronic device control method according to an embodiment of the present disclosure.
In 201, a first received signal strength of the first radiator when transmitting the first excitation signal is obtained.
At 202, a second received signal strength is obtained for the first radiator when transmitting the second excitation signal.
It is understood that the method for obtaining the first received signal strength and the second received signal strength can refer to the foregoing description, and is not described herein again.
At 203, a third received signal strength is obtained when the second radiator transmits the first excitation signal.
At 204, a fifth receive signal strength at which the second radiator transmits the second excitation signal is obtained.
It is understood that the second radiator 150 may resonate the first excitation signal and the second excitation signal, and the electronic device 100 may control the second radiator 150 to be electrically connected to the first communication module 120, for example, control the second switch assembly 160 to connect the second radiator 150 and the first communication module 120. The second radiator 150 and the first communication module 120 may form a third communication link, and the first communication module 120 may acquire a third received signal strength of the first excitation signal transmitted by the second radiator 150.
It is understood that the third received signal strength may reflect the third radiation performance of the second radiator 150 for transmitting the first excitation signal. When the third received signal strength is greater than the third strength threshold, the third radiation performance is better; when the third received signal strength is less than/equal to the third strength threshold, it indicates that the third radiation performance is poor.
The electronic device 100 may control the second radiator 150 to be electrically connected to the second communication module 130, for example, control the second switch assembly 160 to communicate the second radiator 150 and the second communication module 130. The second radiator 150 and the second communication module 130 may form a fourth communication link, and the second communication module 130 may obtain a fifth received signal strength of the second radiator 150 transmitting the second excitation signal.
It is understood that the fifth received signal strength may reflect the fourth radiation performance of the second radiator 150 transmitting the second excitation signal. When the fifth received signal strength is greater than the fourth strength threshold, it indicates that the fourth radiation performance is better; and when the fifth received signal strength is less than/equal to the fourth strength threshold, it indicates that the fourth radiation performance is poor.
In 205, a first data traffic transmitted by the first communication module within a preset time duration is obtained.
In 206, a second data traffic transmitted by the second communication module within the preset duration is obtained.
At 207, it is determined whether the first data traffic is greater than the second data traffic to obtain a first determination result.
It is understood that the preset time period may be a preset time interval, such as 1 minute, 3 minutes, 5 minutes, etc. The electronic device 100 may respectively obtain the first data traffic and the second data traffic within a period of a preset duration and determine the magnitudes of the first data traffic and the second data traffic. That is, the electronic device 100 may repeat the above steps 205 to 207 at intervals to select the main operation mode of the electronic device 100 in the current time period.
It can be understood that, because the first communication module 120 and the second communication module 130 compete for the first radiator 110 or the second radiator 150, it can be seen from the first determination result that in the current time period, the electronic device 100 mainly operates in a manner that the first communication module 120 transmits the first excitation signal or mainly operates in a manner that the second communication module 130 transmits the second excitation signal, that is, the current target communication module of the electronic device 100 can be determined according to the first determination result. Therefore, the connection relationship between the first communication module 120, the second communication module 130, the first radiator 110 and the second radiator 150 can be better determined according to the target communication module, the first received signal strength, the second received signal strength, the third received signal strength and the fifth received signal strength.
At 208, it is determined whether the first rssi value is greater than the third rssi value to obtain a second determination result.
In 209, it is determined whether the second received signal strength is greater than the fifth received signal strength to obtain a third determination result.
In 210, when both the first determination result and the second determination result are yes, or both the first determination result and the third determination result are no, the first radiator is controlled to be conducted with the first communication module, and the second radiator is controlled to be conducted with the second communication module.
In 211, otherwise, the second radiator is controlled to be conducted with the first communication module, and the first radiator is controlled to be conducted with the second communication module.
After the target communication module of the electronic device 100 is determined according to the first determination result, a preferred radiator may be determined according to the received signal strength when the target communication module is connected to the first radiator 110 or the second radiator 150, and after the target communication module is electrically connected to the preferred radiator, another communication module may be electrically connected to another radiator, so that the electrical connection relationship between the first radiator 110, the second radiator 150, the first communication module 120, and the second communication module 130 may be determined.
For example, when the first determination result is yes, it indicates that the first data traffic transmitted by the first communication module 120 is greater than the second data traffic transmitted by the second communication module 130, that is, the electronic device 100 mainly uses the first data traffic transmitted by the first communication module 120 as a main operation mode, the target communication module may be the first communication module 120, and the first communication module 120 enjoys a priority.
At this time, if the second determination result is yes, that is, if the first received signal strength of the first communication module 120 electrically connected to the first radiator 110 is greater than the second received signal strength of the first communication module 120 electrically connected to the second radiator 150, the first communication module 120 may select a better first radiator 110 for communication. At this time, referring to fig. 6, fig. 6 is a first electrical connection diagram of the electronic device 100 shown in fig. 4, the first communication module 120 may be electrically connected to the first radiator 110, and the second communication module 130 may be electrically connected to the second radiator 150.
At this time, if the second determination result is negative, that is, when the first received signal strength of the first communication module 120 electrically connected to the first radiator 110 is less than or equal to the second received signal strength of the first communication module 120 electrically connected to the second radiator 150, the first communication module 120 may select a better second radiator 150 for communication. At this time, referring to fig. 7, fig. 7 is a second electrical connection diagram of the electronic device 100 shown in fig. 4, in which the first communication module 120 may be electrically connected to the second radiator 150, and the second communication module 130 may be electrically connected to the first radiator 110.
For example, when the first determination result is negative, it indicates that the first data traffic transmitted by the first communication module 120 is less than or equal to the second data traffic transmitted by the second communication module 130, that is, the electronic device 100 mainly uses the second data traffic transmitted by the second communication module 130 as a main operation mode, the target communication module may be the second communication module 130, and the second communication module 130 enjoys a priority.
At this time, if the third determination result is yes, that is, the third received signal strength of the second communication module 130 electrically connected to the first radiator 110 is greater than the fifth received signal strength of the second communication module 130 electrically connected to the second radiator 150, the second communication module 130 may select a better first radiator 110 for communication. At this time, as shown in fig. 7, the second communication module 130 may be electrically connected to the first radiator 110, and the first communication module 120 may be electrically connected to the second radiator 150.
At this time, if the third determination result is negative, that is, when the third received signal strength of the second communication module 130 electrically connected to the first radiator 110 is less than or equal to the second received signal strength of the second communication module 130 electrically connected to the second radiator 150, the second communication module 130 may select a better first radiator 110 for communication. At this time, as shown in fig. 6, the second communication module 130 may be electrically connected to the second radiator 150, and the first communication module 120 may be electrically connected to the first radiator 110.
Based on this, in the electronic device 100 according to the embodiment of the application, when both the first determination result and the second determination result are yes, or both the first determination result and the third determination result are no, the first radiator 110 is controlled to be conducted with the first communication module 120, and the second radiator 150 is controlled to be conducted with the second communication module 130; if the first determination result is yes and the second determination result is no, or the first determination result is no and the third determination result is yes, the second radiator 150 is controlled to be conducted with the first communication module 120, and the first radiator 110 is controlled to be conducted with the second communication module 130.
In the above embodiment, the current operating mode of the electronic device 100 is determined according to the sizes of the first data traffic and the second data traffic, and the target communication module is selected, but it may be understood that the electronic device 100 may also select the target communication module according to other modes, for example, the target communication module is determined according to the current application use situation of the user.
It is understood that the above is only one illustrative example of the electronic device controlling the electrical connection of the two radiators and the two communication modules. For example, the electronic device 100 may further determine the electrical connection states of the first radiator 110, the second radiator 150, the first communication module 120, and the second communication module 130 according to the first determination result, a first difference value between the first received signal strength and the third received signal strength, and a second difference value between the second received signal strength and the fifth received signal strength.
According to the electronic device control method in the embodiment of the application, the target communication module of the current electronic device 100 is selected according to the sizes of the first data traffic and the second data traffic, so that the contention problem of the first communication module 120 and the second communication module 130 can be solved; then, the contention problem between the first radiator 110 and the second radiator 150 can be solved according to the magnitude relationship between the received signal strength of the first radiator 110 and the received signal strength of the second radiator 150. Therefore, the electronic device control method of the embodiment of the application provides a solution for contention between the dual communication module and the dual radiators, and can improve the radiation performance of the electronic device 100.
Please refer to fig. 8, where fig. 8 is a schematic structural diagram of a third electronic device according to an embodiment of the present disclosure. The electronic device 100 may include a first radiator 110, a first communication module 120, a second communication module 130, a second radiator 150, a third radiator 170, and a third switch component 180, where the third switch component 180 may control the first communication module 120 and the second communication module 130 to be connected with or disconnected from the first radiator 110, the third switch component 180 may also control the first communication module 120 to be connected with or disconnected from the second radiator 150, and the third switch component 180 may also control the second communication module 130 to be connected with or disconnected from the third radiator 170.
For example, the third switch assembly 180 may include two single pole double throw switches, such as a first single pole double throw switch and a second single pole double throw switch. A first end of the first single-pole double-throw switch is electrically connected with the first communication module 120, and two free ends of the first single-pole double-throw switch can be respectively connected with or disconnected from the first radiator 110 and the second radiator 150; a first end of the second spdt switch is electrically connected to the second communication module 130, and two free ends of the second spdt switch can be respectively connected to or disconnected from the first radiator 110 and the third radiator 170.
Based on the electronic device 100 in fig. 8, the electronic device control method according to the embodiment of the present application may further include: acquiring a third received signal strength when the second radiator 150 transmits the first excitation signal; obtaining a fourth received signal strength when the third radiator 170 transmits the second excitation signal; determining a radiator with stronger received signal strength in the first received signal strength and the third received signal strength as a first target radiator; determining a radiator with stronger received signal strength in the second received signal strength and the fourth received signal strength as a second target radiator; at this time, the communication module corresponding to the first radiator 110 with stronger received signal strength is determined as the target communication module, and the first radiator 110 is controlled to be conducted with the target communication module, including: when the first target radiator and the second target radiator are both the first radiator 110, determining the corresponding communication module with stronger signal receiving intensity of the first radiator 110 as a target communication module, and controlling the first radiator 110 to be conducted with the target communication module; when the first target radiator and the second target radiator are not the first radiator 110 at the same time, the first communication module 120 is controlled to be conducted with the first target radiator, and the second communication module 130 is controlled to be conducted with the second target radiator.
It can be understood that, when both the first target radiator and the second target radiator are the first radiator 110, determining the communication module corresponding to the first radiator 110 with stronger received signal strength as the target communication module, and controlling the first radiator 110 to be conducted with the target communication module may include: determining whether a first difference between the first received signal strength and the third received signal strength is greater than a second difference between the second received signal strength and the fourth received signal strength; if yes, determining that the target communication module is the first communication module 120, and controlling the first radiator 110 to be conducted with the first communication module 120; if not, the target communication module is determined to be the second communication module 130, and the first radiator 110 is controlled to be conducted with the second communication module 130.
It is understood that the second radiator 150 may resonate out a mode of the first excitation signal to transmit the first excitation signal, and the third radiator 170 may resonate out a mode of the second excitation signal to transmit the second excitation signal. The third switch element 180 may control the second radiator 150 to be electrically connected to the first communication module 120, and at this time, the first communication module 120 and the second radiator 150 may form a third communication link, so that the second radiator 150 transmits the first excitation signal. The third switch assembly 180 may control the third radiator 170 to be electrically connected to the second communication module 130, and at this time, the second communication module 130 and the third radiator 170 may form a fifth communication link, so that the third radiator 170 transmits the second excitation signal.
Since the first communication module 120 may be electrically connected to the first radiator 110 or the second radiator 150, and the second communication module 130 may be electrically connected to the first radiator 110 or the third radiator 170, the electrical connection state of the first radiator 110, the second radiator 150, the third radiator 170, the first communication module 120, and the second communication module 130 may be determined according to the first received signal strength, the second received signal strength, the third received signal strength, and the fourth received signal strength.
Accordingly, referring to fig. 9 in conjunction with the electronic device 100 shown in fig. 8, fig. 9 is a fourth flowchart illustrating an electronic device control method according to an embodiment of the present disclosure.
At 301, a first received signal strength is obtained when the first radiator transmits the first excitation signal.
At 302, a second received signal strength at which the first radiator transmits the second excitation signal is obtained.
At 303, a third received signal strength is obtained when the second radiator transmits the first excitation signal.
At 304, a fourth received signal strength is obtained for the third radiator transmitting the second excitation signal.
It is to be understood that, the method for obtaining the first received signal strength, the second received signal strength, and the third received signal strength may refer to the foregoing description, and is not described herein again.
It is understood that the third radiator 170 may resonate a second excitation signal, and the electronic device 100 may control the third radiator 170 to be electrically connected to the second communication module 130, for example, control the third switch assembly 180 to connect the third radiator 170 and the second communication module 130. The third radiator 170 and the second communication module 130 may form a fifth communication link, and the fifth communication module may acquire a fourth received signal strength of the second excitation signal transmitted by the third radiator 170.
It is understood that the fourth received signal strength may reflect the fifth radiation performance of the third radiator 170 transmitting the second excitation signal. When the fourth received signal strength is greater than the fifth strength threshold, the fifth radiation performance is better; when the fourth received signal strength is less than/equal to the fifth strength threshold, it indicates that the fifth radiation performance is poor.
It can be understood that when the electronic device 100 obtains the first, second, third, and fourth received signal strengths, the electronic device can obtain the strength by switching to the corresponding radiator and communication module through the third switch component 180. Alternatively, please refer to fig. 10, where fig. 10 is a fourth structural schematic diagram of an electronic device according to an embodiment of the present application. The electronic device 100 may include a first communication module homomorphic receiving module 190 and a second communication module homomorphic receiving module 200, and the third switch assembly 180 may include four single-pole single-throw switches. The first communication module and the same-standard receiving module 190 may be connected to the second radiator 150 through a single-pole single-throw switch, so that the third received signal strength when the second radiator 150 transmits the first excitation signal may be detected. Similarly, the receiving module 200 of the same standard as the second communication module may be connected to the third radiator 170 through a single-pole single-throw switch, so as to detect a fourth received signal strength when the third radiator 170 transmits the second excitation signal.
Since the first communication module with the same standard receiving module 190 has the same standard as the first communication module 120, and the second communication module with the same standard receiving module 200 has the same standard as the second communication module 130, the first communication module with the same standard receiving module 190 can provide a first excitation signal, and the second communication module with the same standard receiving module 200 can provide a second excitation signal. Therefore, the third and fourth received signal strengths can be detected by the first and second communication module same- standard receiving modules 190 and 200.
In the embodiment of the present application, the first communication module having the same-type receiving module 190 and the second communication module having the same-type receiving module 200 are arranged, so that the switching frequency of the third switch assembly 180 can be reduced, and the third switch assembly 180 does not need to be switched back and forth among the first communication module 120, the second communication module 130, the first radiator 110, the second radiator 150, and the third radiator 170, thereby providing the detection efficiency of the electronic device 100.
In 305, the radiator with the stronger received signal strength of the first received signal strength and the third received signal strength is determined as a first target radiator.
In 306, the radiator with the stronger received signal strength of the second received signal strength and the fourth received signal strength is determined as the second target radiator.
The first target radiator may be determined according to signal strength magnitudes of the first received signal strength and the third received signal strength. For example, when the first received signal strength is greater than the third received signal strength, it indicates that the first radiation performance of the first communication module 120 electrically connected to the first radiator 110 is better than the third radiation performance of the first communication module 120 electrically connected to the second radiator 150, and at this time, the first target radiator may be the first radiator 110; when the first received signal strength is not greater than the third received signal strength, it indicates that the first radiation performance of the first communication module 120 electrically connected to the first radiator 110 is inferior to the third radiation performance of the first communication module 120 electrically connected to the second radiator 150, and at this time, the first target radiator may be the second radiator 150.
The second target radiator may be determined according to signal strength magnitudes of the second received signal strength and the fourth received signal strength. For example, when the second received signal strength is greater than the fourth received signal strength, it indicates that the second radiation performance of the second communication module 130 electrically connected to the first radiator 110 is better than the fifth radiation performance of the second communication module 130 electrically connected to the third radiator 170, and at this time, the target radiator may be the first radiator 110; when the second received signal strength is not greater than the fourth received signal strength, it indicates that the second radiation performance of the second communication module 130 electrically connected to the first radiator 110 is inferior to the fifth radiation performance of the second communication module 130 electrically connected to the third radiator 170, and at this time, the target radiator may be the third radiator 170.
It can be understood that, when both the first target radiator and the second target radiator are the first radiator 110, there is a case that the first communication module 120 and the second communication module 130 compete for the first radiator 110 at the same time, and at this time, the electronic device 100 may continue to determine whether a first difference between the first received signal strength and the third received signal strength is greater than a second difference between the second received signal strength and the fourth received signal strength.
In 307, when both the first target radiator and the second target radiator are the first radiator, determining whether a first difference between the first received signal strength and the third received signal strength is greater than a second difference between the second received signal strength and the fourth received signal strength;
in 308, if yes, the target communication module is determined to be the first communication module, and the first radiator is controlled to be conducted with the first communication module;
in 309, if not, the target communication module is the second communication module, and the first radiator is controlled to be conducted with the second communication module.
Referring to fig. 11, fig. 11 is a first electrical connection diagram of the electronic device shown in fig. 8. When the first difference is greater than the second difference, it indicates that the first communication module 120 has a connection state with better radiation performance in the process of connecting the first communication module 120 with the first radiator 110 and the second radiator 150 and in the process of connecting the second communication module 130 with the first radiator 110 and the third radiator 170. At this time, the first communication module 120 has a priority. The first communication module 120 may be preferentially switched to the first radiator 110, the first communication module 120 may be electrically connected to the first radiator 110, and the second communication module 130 may be electrically connected to the third radiator 170.
Referring to fig. 12, fig. 12 is a second electrical connection diagram of the electronic device shown in fig. 8. When the first difference is not greater than the second difference, it indicates that the second communication module 130 has a connection state with better radiation performance in the process of connecting the first communication module 120 with the first radiator 110 and the second radiator 150 and in the process of connecting the second communication module 130 with the first radiator 110 and the third radiator 170. At this time, the second communication module 130 has a priority. The second communication module 130 may be preferentially switched to the first radiator 110, the second communication module 130 may be electrically connected to the first radiator 110, and the first communication module 120 may be electrically connected to the second radiator 150.
In 310, when the first target radiator and the second target radiator are not the first radiator at the same time, the first communication module is controlled to be conducted with the first target radiator, and the second communication module is controlled to be conducted with the second target radiator.
When the first target radiator and the second target radiator are not the first radiator 110 at the same time, it indicates that the first communication module 120 and the second communication module 130 do not contend for the first radiator 110 at the same time, and at this time, the first target radiator and the first communication module 120 may be controlled to be conducted, and the second target radiator and the second communication module 130 may be controlled to be conducted.
Illustratively, as shown in fig. 12 and 13, fig. 13 is a third schematic electrical connection diagram of the electronic device shown in fig. 8. When the first received signal strength is not greater than the third received signal strength, the first target radiator may be the second radiator 150, and the second radiator 150 may be directly electrically connected to the first communication module 120. At this time, the second communication module 130 may select the first radiator 110 or the third radiator 170, and specifically, may select the first radiator according to a magnitude relationship between the second received signal strength and the fourth received signal strength. For example, if the second received signal strength is greater than the fourth received signal strength, as shown in fig. 12, the second communication module 130 is electrically connected to the first radiator 110; as shown in fig. 13, if the second received signal strength is not greater than the fourth received signal strength, the second communication module 130 is electrically connected to the third radiator 170.
For example, as shown in fig. 11 and 13, when the second received signal strength is not greater than the fourth received signal strength, the second target radiator may be the third radiator 170, and the third radiator 170 may be electrically connected to the second communication module 130. At this time, the first communication module 120 may select the first radiator 110 or the second radiator 150, and specifically, may select the first radiator according to a magnitude relationship between the first received signal strength and the third received signal strength. For example, as shown in fig. 11, if the first received signal strength is greater than the third received signal strength, the first communication module 120 is electrically connected to the first radiator 110; as shown in fig. 13, if the first received signal strength is not greater than the third received signal strength, the first communication module 120 is electrically connected to the second radiator 150.
According to the electronic device control method in the embodiment of the application, whether the first communication module 120 and the second communication module 130 compete for the first radiator 110 or not can be determined according to the first target radiator and the second target radiator, if so, a target communication module with better communication performance in the first communication module 120 and the second communication module 130 is continuously determined according to the first difference and the second difference, and the target communication module with better performance can be preferentially switched to the first radiator 110, so that the optimal performance of the antenna radiator can be exerted on the whole.
It can be understood that, in the electronic device control method according to the embodiment of the present application, the first communication module 120 and the second communication module 130 have a first contending end contending for the first radiator 110; the first radiator 110 and the second radiator 150 have a second contending end contending for the first communication module 120; the first radiator 110 and the third radiator 170 have a third contending end contending for the second communication module 130. Therefore, the electronic device control method according to the embodiment of the present application may also determine the target communication module connected to the first radiator 110 according to the first received signal strength and the second received signal strength, and then determine the connection status of the second radiator 150 and the third radiator 170 according to the magnitude relationship between the first received signal strength and the third received signal strength, and the magnitude relationship between the second received signal strength and the fourth received signal strength.
It can be understood that, in the electronic device control method according to the embodiment of the present application, the first received signal strength and the second received signal strength may be periodically obtained, and the communication module corresponding to the first radiator 110 with the stronger received signal strength is periodically determined as the target communication module, and the first radiator 110 is controlled to be conducted with the target communication module. Accordingly, the electronic device 100 may adjust the electrical connection relationship among the first communication module 120, the second communication module 130 and the first radiator 110 in real time to ensure that the radiation performance of the electronic device 100 is in an optimal state in the current state.
It will be understood that the present application is not limited by the order of execution of the various steps described, as some steps may occur in other orders or concurrently, without conflict between the present disclosure and the drawings.
The above embodiments are only individual specific application scenarios of the electronic device control method in the embodiments of the present application, and it can be understood that the electronic device control method in the embodiments of the present application can also be used in other application scenarios, and the specific application scenarios of the electronic device control method in the embodiments of the present application are not limited.
Based on the electronic device and the electronic device control method, please refer to fig. 14, where fig. 14 is a first structural schematic diagram of an electronic device control apparatus according to an embodiment of the present application. The embodiment of the present application further provides an electronic device control apparatus 400, which is applied to an electronic device 100 and includes a first radiator 110, a first communication module 120, and a second communication module 130, where the first communication module 120 is configured to provide a first excitation signal, and the second communication module 130 is configured to provide a second excitation signal. The electronic device control apparatus 400 includes: a first acquisition module 410, a second acquisition module 420, and a control module 430.
The first obtaining module 410 is configured to obtain a first received signal strength when the first radiator 110 transmits the first excitation signal. The second obtaining module 420 is configured to obtain a second received signal strength when the first radiator 110 transmits the second excitation signal. The control module 430 is configured to determine a corresponding communication module as a target communication module when the first radiator 110 receives a stronger signal strength, and control the first radiator 110 to be conducted with the target communication module.
Wherein the control module 430 is further configured to: judging whether the strength of the first received signal is greater than that of the second received signal; if yes, it is determined that the target communication module is the first communication module 120, and the first radiator 110 is controlled to be conducted with the first communication module 120. If not, the target communication module is determined to be the second communication module 130, and the first radiator 110 is controlled to be conducted with the second communication module 130.
Wherein, the electronic device 100 further includes a second radiator, and the control module 430 is further configured to: and controlling the conduction of the second radiator and a communication module except the target communication module.
Referring to fig. 15, fig. 15 is a second schematic structural diagram of the electronic device control apparatus according to an embodiment of the present disclosure, in which the electronic device 100 may include a second radiator 150, and the electronic device control apparatus 400 further includes a third obtaining module 440, a fifth obtaining module 450, a first traffic obtaining module 460, and a second traffic obtaining module 470. The third obtaining module 440 is configured to obtain a third received signal strength when the second radiator 150 transmits the first excitation signal. The fifth obtaining module 450 is configured to obtain a fifth received signal strength when the second emitter 150 transmits the second excitation signal. The first traffic acquiring module 460 is configured to acquire a first data traffic transmitted by the first communication module 120 within a preset time duration. The second traffic obtaining module 470 is configured to obtain a second data traffic transmitted by the second communication module 130 within a preset time duration.
At this time, the control module 430 is further configured to: judging whether the first data flow is larger than the second data flow to obtain a first judgment result; judging whether the first received signal strength is greater than the third received signal strength to obtain a second judgment result; judging whether the second received signal strength is greater than the fifth received signal strength to obtain a third judgment result; when the first determination result and the second determination result are both yes or the first determination result and the third determination result are both no, controlling the first radiator 110 to be conducted with the first communication module 120, and controlling the second radiator 150 to be conducted with the second communication module 130; otherwise, the second radiator 150 is controlled to be conducted with the first communication module 120, and the first radiator 110 is controlled to be conducted with the second communication module 130.
Please refer to fig. 16, where the electronic device 100 may further include a second radiator 150 and a third radiator 170, fig. 16 is a third schematic structural diagram of the electronic device control apparatus according to the embodiment of the present disclosure, and the electronic device control apparatus 400 further includes a third obtaining module 440 and a fourth obtaining module 480. The third obtaining module 440 is configured to obtain a third received signal strength when the second radiator 150 transmits the first excitation signal. The fourth obtaining module 480 is configured to obtain a fourth received signal strength when the third radiator 170 transmits the second excitation signal.
At this time, the control module 430 is further configured to: determining a radiator with stronger received signal strength in the first received signal strength and the third received signal strength as a first target radiator; determining a radiator with stronger received signal strength in the second received signal strength and the fourth received signal strength as a second target radiator; when the first target radiator and the second target radiator are both the first radiator 110, determining the communication module corresponding to the first radiator 110 with strong received signal strength as the target communication module, and controlling the first radiator 110 to be conducted with the target communication module. When the first target radiator and the second target radiator are not the first radiator 110 at the same time, the first communication module 120 is controlled to be conducted with the first target radiator, and the second communication module 130 is controlled to be conducted with the second target radiator.
The control module 430 is further configured to: when the first target radiator and the second target radiator are both the first radiator 110, determining whether a first difference between the first received signal strength and the third received signal strength is greater than a second difference between the second received signal strength and the fourth received signal strength; if yes, determining that the target communication module is the first communication module 120, and controlling the first radiator 110 to be conducted with the first communication module 120; if not, the target communication module is determined to be the second communication module 130, and the first radiator 110 is controlled to be conducted with the second communication module 130.
The first obtaining module 410 is configured to periodically obtain a first received signal strength, the second obtaining module 420 is configured to periodically obtain a second received signal strength, and the control module 430 is configured to periodically determine a corresponding communication module as a target communication module when the first radiator 110 has a stronger received signal strength, and control the first radiator 110 to be conducted with the target communication module.
It is to be understood that, in a specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as one or several entities, and the specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It should be noted that the electronic device control apparatus 400 provided in this embodiment of the present application and the electronic device control method in the foregoing embodiment belong to the same concept, and any method provided in the electronic device control method embodiment may be run on the electronic device control apparatus 400, and a specific implementation process thereof is described in detail in the electronic device control method embodiment, and is not described herein again.
As can be seen from the above, in the electronic device control apparatus 400 according to the embodiment of the application, the radiation performance of the first radiator 110 when transmitting two excitation signals can be determined according to the first received signal strength when the first radiator 110 transmits the first excitation signal and the second received signal strength when the first radiator 110 transmits the second excitation signal, and the electronic device 100 can control the first radiator 110 to connect to the target communication module having the better radiation performance for transmitting the excitation signal, so that the radiation performance of the first radiator 110 can be ensured.
The embodiment of the application also provides the electronic device 100. The electronic device 100 may be a smartphone, tablet computer, or the like. Referring to fig. 17, fig. 17 is a fourth structural schematic diagram of an electronic device 100 according to an embodiment of the present application. The electronic device 100 includes at least a processor 510 and a memory 520, and the processor 510 is a control center of the electronic device 100, connects various parts of the entire electronic device 100 using various interfaces and lines, performs various functions of the electronic device 100 and processes data by running or calling a computer program stored in the memory 520, and calling data stored in the memory 520, thereby performing overall monitoring of the electronic device 100. Memory 520 may be used to store computer programs and data. Memory 520 stores computer programs containing instructions that are executable in processor 510. The computer program may constitute various functional modules. The processor 510 executes various functional applications and data processing by calling computer programs stored in the memory 520.
In this embodiment, the processor 510 in the electronic device 100 loads instructions corresponding to one or more processes of the computer program into the memory 520, and the processor 510 runs the computer program stored in the memory 520 according to the following steps, so as to implement various functions:
acquiring a first received signal strength when the first radiator 110 transmits the first excitation signal; obtaining a second received signal strength when the first radiator 110 transmits the second excitation signal; and determining the corresponding communication module as the target communication module when the first radiator 110 has strong received signal strength, and controlling the first radiator 110 to be conducted with the target communication module.
Processor 510 is further configured to: judging whether the strength of the first received signal is greater than that of the second received signal; if yes, determining that the target communication module is the first communication module 120, and controlling the first radiator 110 to be conducted with the first communication module 120; if not, the target communication module is determined to be the second communication module 130, and the first radiator 110 is controlled to be conducted with the second communication module 130.
Processor 510 is further configured to: and controlling the second radiator 150 to be conducted with a communication module other than the target communication module.
Processor 510 is further configured to: acquiring a third received signal strength when the second radiator 150 transmits the first excitation signal; obtaining a fourth received signal strength when the third radiator 170 transmits the second excitation signal; determining a radiator with stronger received signal strength in the first received signal strength and the third received signal strength as a first target radiator; determining the radiator with stronger received signal strength in the second received signal strength and the fourth received signal strength as a second target radiator; when the first target radiator and the second target radiator are both the first radiator 110, the communication module corresponding to the first radiator 110 with strong received signal strength is determined as the target communication module, and the first radiator 110 is controlled to be conducted with the target communication module.
Processor 510 is further configured to: determining whether a first difference between the first received signal strength and the third received signal strength is greater than a second difference between the second received signal strength and the fourth received signal strength; if yes, determining that the target communication module is the first communication module 120, and controlling the first radiator 110 to be conducted with the first communication module 120; if not, determining that the target communication module is the second communication module 130, and controlling the first radiator 110 to be conducted with the second communication module 130.
Processor 510 is also configured to: acquiring a third received signal strength when the second radiator 150 transmits the first excitation signal; acquiring a fifth received signal strength when the second radiator 150 transmits the second excitation signal; acquiring a first data traffic transmitted by the first communication module 120 within a preset time; acquiring a second data flow transmitted by the second communication module 130 within a preset time length; judging whether the first data flow is larger than the second data flow to obtain a first judgment result; judging whether the first received signal strength is greater than the third received signal strength to obtain a second judgment result; judging whether the second received signal strength is greater than the fifth received signal strength to obtain a third judgment result; when the first determination result and the second determination result are both yes or the first determination result and the third determination result are both no, controlling the first radiator 110 to be conducted with the first communication module 120, and controlling the second radiator 150 to be conducted with the second communication module 130; otherwise, the second radiator 150 is controlled to be conducted with the first communication module 120, and the first radiator 110 is controlled to be conducted with the second communication module 130.
Processor 510 is further configured to: the first received signal strength and the second received signal strength are periodically obtained, and the communication module corresponding to the first radiator 110 with the stronger received signal strength is periodically determined as the target communication module, and the first radiator 110 is controlled to be conducted with the target communication module.
Referring to fig. 18, fig. 18 is a schematic view of a fifth structure of an electronic device according to an embodiment of the present application, where the electronic device 100 may further include: radio frequency circuit 530, display 540, control circuit 550, input unit 560, sensor 570, and power supply 580. The processor 510 is electrically connected to the rf circuit 530, the display 540, the control circuit 550, the input unit 560, the sensor 570, and the power supply 580, respectively.
The rf circuit 530 is used for transceiving a test signal to communicate with a network device or other electronic devices 100 via wireless communication. The display screen 540 may be used to display information input by or provided to the user as well as various graphical user interfaces of the electronic device 100, which may be made up of images, text, icons, video, and any combination thereof. The control circuit 550 is electrically connected to the display 540, and is configured to control the display 540 to display information. The input unit 560 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 sensor 570 is used to collect information of the electronic device 100 itself or information of a user or external environment information. For example, the sensor 570 may include a plurality of sensors 570, such as a distance sensor 570, an acceleration sensor 570, a fingerprint sensor 570, a hall sensor 570, a gyroscope, and the like. The power supply 580 is used to power the various components of the electronic device 100.
It is understood that, although not shown in fig. 18, the electronic device 100 may further include a camera, a bluetooth module, etc., which are not described in detail herein.
As can be seen from the above, in the electronic device 100 according to the embodiment of the application, the radiation performance of the first radiator 110 when transmitting two excitation signals can be determined according to the first received signal strength when the first radiator 110 transmits the first excitation signal and the second received signal strength when the first radiator 110 transmits the second excitation signal, and the electronic device 100 can control the first radiator 110 to connect with a target communication module having a better radiation performance when transmitting the excitation signal, so that the radiation performance of the first radiator 110 can be ensured.
The embodiment of the present application further provides a storage medium, in which a computer program is stored, and when the computer program runs on the processor 510, the processor 510 executes the method for implementing electronic device control according to any of the above embodiments. It is understood that the functions of the processor 510 can be referred to as the processor 510510 in the above embodiments, which are not described herein.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: a Read Only Memory 520 (ROM), a Random Access Memory 520 (RAM), a magnetic or optical disk, or the like.
The electronic device control method, the electronic device control apparatus, the storage medium, and the electronic device 100 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, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. An electronic device control method is applied to an electronic device, and is characterized in that the electronic device comprises a first radiator, a second radiator, a third radiator, a first communication module and a second communication module, wherein the first communication module is used for providing a first excitation signal, and the second communication module is used for providing a second excitation signal; the electronic equipment control method comprises the following steps:
acquiring first received signal strength when the first emitter transmits the first excitation signal;
acquiring second received signal strength when the first radiator transmits the second excitation signal;
obtaining a third received signal strength when the second radiator transmits the first excitation signal;
acquiring a fourth received signal strength when the third radiator transmits the second excitation signal;
determining a radiator with stronger received signal strength in the first received signal strength and the third received signal strength as a first target radiator;
determining a radiator with stronger received signal strength in the second received signal strength and the fourth received signal strength as a second target radiator;
when the first target radiator and the second target radiator are both the first radiator, determining whether a first difference between the first received signal strength and the third received signal strength is greater than a second difference between the second received signal strength and the fourth received signal strength;
if yes, determining that the target communication module is a first communication module, and controlling the first radiator to be conducted with the first communication module; if not, determining that the target communication module is a second communication module, and controlling the first radiator to be conducted with the second communication module.
2. The electronic device control method according to claim 1, further comprising:
and controlling the conduction of the second radiator and a communication module except the target communication module.
3. The electronic device control method according to claim 1, further comprising:
the first target radiator and the second target radiator do not simultaneously serve as the first radiator, the first communication module is controlled to be conducted with the first target radiator, and the second communication module is conducted with the second target radiator.
4. The electronic device control method according to any one of claims 1 to 3, further comprising:
periodically obtaining the first received signal strength, obtaining the second received signal strength, obtaining the third received signal strength, obtaining a fourth received signal strength, determining the target communication module, and controlling the first radiator to be conducted with the target communication module.
5. An electronic device control method is characterized in that the electronic device comprises a first radiator, a second radiator, a first communication module and a second communication module, wherein the first communication module is used for providing a first excitation signal, and the second communication module is used for providing a second excitation signal; the electronic equipment control method comprises the following steps:
acquiring first received signal strength when the first emitter transmits the first excitation signal;
acquiring second received signal strength when the first radiator transmits the second excitation signal;
obtaining a third received signal strength when the second radiator transmits the first excitation signal;
acquiring a fifth received signal strength when the second emitter transmits the second excitation signal;
acquiring a first data flow transmitted by the first communication module within a preset time length;
acquiring a second data flow transmitted by the second communication module within the preset time length;
judging whether the first data flow is larger than the second data flow to obtain a first judgment result;
judging whether the first received signal strength is greater than the third received signal strength to obtain a second judgment result;
judging whether the second received signal strength is greater than the fifth received signal strength to obtain a third judgment result;
when the first judgment result and the second judgment result are both yes or the first judgment result and the third judgment result are both no, controlling the first radiator to be conducted with the first communication module, and controlling the second radiator to be conducted with the second communication module;
otherwise, the second radiator is controlled to be conducted with the first communication module, and the first radiator is controlled to be conducted with the second communication module.
6. The electronic device control method according to claim 5, further comprising:
and periodically acquiring the first received signal strength, the second received signal strength, the third received signal strength, the fifth received signal strength and controlling the first radiator to be conducted with a target communication module.
7. An electronic device control apparatus is applied to an electronic device, and is characterized in that the electronic device includes a first radiator, a second radiator, a third radiator, a first communication module and a second communication module, the first communication module is configured to provide a first excitation signal, and the second communication module is configured to provide a second excitation signal; the electronic device control apparatus includes:
the first obtaining module is used for obtaining the strength of a first receiving signal when the first radiating body transmits the first excitation signal;
the second obtaining module is used for obtaining the strength of a second receiving signal when the first radiating body transmits the second excitation signal;
a third obtaining module, configured to obtain a third received signal strength when the second radiator transmits the first excitation signal;
a fourth obtaining module, configured to obtain a fourth received signal strength when the third radiator transmits the second excitation signal; and
a control module, configured to determine a radiator with a stronger received signal strength of the first received signal strength and the third received signal strength as a first target radiator, and determine a radiator with a stronger received signal strength of the second received signal strength and the fourth received signal strength as a second target radiator; when the first target radiator and the second target radiator are both the first radiator, determining whether a first difference between the first received signal strength and the third received signal strength is greater than a second difference between the second received signal strength and the fourth received signal strength; if yes, determining that the target communication module is a first communication module, and controlling the first radiator to be conducted with the first communication module; if not, determining that the target communication module is a second communication module, and controlling the first radiator to be conducted with the second communication module.
8. The electronic device control apparatus of claim 7, wherein the control module is further configured to: when the first target radiator and the second target radiator do not work as the first radiator at the same time, the first communication module is controlled to be conducted with the first target radiator, and the second communication module is controlled to be conducted with the second target radiator.
9. An electronic device control apparatus is applied to an electronic device, and is characterized in that the electronic device includes a first radiator, a second radiator, a first communication module and a second communication module, the first communication module is configured to provide a first excitation signal, and the second communication module is configured to provide a second excitation signal; the electronic device control apparatus includes:
the first obtaining module is used for obtaining the strength of a first receiving signal when the first radiating body transmits the first excitation signal;
the second obtaining module is used for obtaining the second received signal strength when the first radiator transmits the second excitation signal;
the third obtaining module is configured to obtain a third received signal strength when the first excitation signal is transmitted by the second radiator;
a fifth obtaining module, configured to obtain a fifth received signal strength when the second emitter transmits the second excitation signal;
the first traffic acquisition module is used for acquiring first data traffic transmitted by the first communication module within a preset time length;
the second traffic acquiring module is used for acquiring a second data traffic transmitted by the second communication module within the preset time length; and
the control module is used for judging whether the first data flow is larger than the second data flow so as to obtain a first judgment result; judging whether the first received signal strength is greater than the third received signal strength to obtain a second judgment result; judging whether the second received signal strength is greater than the fifth received signal strength to obtain a third judgment result; when the first judgment result and the second judgment result are both yes or the first judgment result and the third judgment result are both no, controlling the first radiator to be conducted with the first communication module, and controlling the second radiator to be conducted with the second communication module; otherwise, controlling the conduction of the second radiator and the first communication module, and controlling the conduction of the first radiator and the second communication module.
10. A storage medium having stored thereon a computer program, characterized in that, when the computer program is run on a processor, it causes the processor to execute the electronic device control method according to any one of claims 1 to 6.
11. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing an electronic device control method as claimed in any one of claims 1 to 6.
CN202011231721.5A 2020-11-06 2020-11-06 Electronic device control method, electronic device control device, storage medium and electronic device Active CN112333771B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011231721.5A CN112333771B (en) 2020-11-06 2020-11-06 Electronic device control method, electronic device control device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011231721.5A CN112333771B (en) 2020-11-06 2020-11-06 Electronic device control method, electronic device control device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112333771A CN112333771A (en) 2021-02-05
CN112333771B true CN112333771B (en) 2023-02-24

Family

ID=74315721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011231721.5A Active CN112333771B (en) 2020-11-06 2020-11-06 Electronic device control method, electronic device control device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112333771B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1445883B1 (en) * 2001-11-13 2012-09-12 Panasonic Corporation Reception apparatus
WO2015047536A1 (en) * 2013-09-30 2015-04-02 Apple Inc. Customized coexistence management based on user behavior
CN105071848A (en) * 2015-08-31 2015-11-18 宇龙计算机通信科技(深圳)有限公司 Terminal, communication control method and communication control system
CN106559125A (en) * 2015-09-30 2017-04-05 苹果公司 Adaptive antenna for interference mitigation is selected
CN109167854A (en) * 2018-08-29 2019-01-08 Oppo广东移动通信有限公司 Electronic equipment
CN110289867A (en) * 2019-06-24 2019-09-27 Oppo广东移动通信有限公司 A kind of method, electronic device and storage medium reducing inter-antenna interference
CN111654316A (en) * 2020-05-22 2020-09-11 Oppo广东移动通信有限公司 Antenna switching method and device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1445883B1 (en) * 2001-11-13 2012-09-12 Panasonic Corporation Reception apparatus
WO2015047536A1 (en) * 2013-09-30 2015-04-02 Apple Inc. Customized coexistence management based on user behavior
CN105071848A (en) * 2015-08-31 2015-11-18 宇龙计算机通信科技(深圳)有限公司 Terminal, communication control method and communication control system
CN106559125A (en) * 2015-09-30 2017-04-05 苹果公司 Adaptive antenna for interference mitigation is selected
CN109167854A (en) * 2018-08-29 2019-01-08 Oppo广东移动通信有限公司 Electronic equipment
CN110289867A (en) * 2019-06-24 2019-09-27 Oppo广东移动通信有限公司 A kind of method, electronic device and storage medium reducing inter-antenna interference
CN111654316A (en) * 2020-05-22 2020-09-11 Oppo广东移动通信有限公司 Antenna switching method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN112333771A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN111654316B (en) Antenna switching method and device, storage medium and electronic equipment
KR20210034270A (en) Electronic device for determinig path of line of sight(los) and method for the same
CN111654334B (en) Antenna connection state detection method and device, storage medium and electronic equipment
EP3633880B1 (en) Radio frequency interference processing method and electronic device
CN108462522B (en) Antenna control method, antenna assembly, electronic device and storage medium
CN111668606B (en) Antenna configuration information processing method and device and electronic equipment
EP4064760A1 (en) Device control method and apparatus, storage medium and electronic device
EP4243540A1 (en) Electronic device, and method for controlling communication in electronic device supporting heterogeneous communication technologies sharing frequency band
CN112262532B (en) Method for improving MIMO throughput direction by increasing radio frequency path and terminal equipment
KR20200046466A (en) Method and apparatus for searching a beam in a mobile communication system
CN108307485B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN116074906A (en) Switching method, terminal and network side equipment
CN112333771B (en) Electronic device control method, electronic device control device, storage medium and electronic device
CN114270954A (en) Multiple power class operation
CN110797985B (en) Coil switching method and device, storage medium and electronic equipment
CN112367097B (en) Electronic device control method, electronic device control device, storage medium and electronic device
EP4319255A1 (en) Electronic device for performing network management operation and operation method thereof
CN113472397B (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN107659996B (en) Channel access method and equipment
CN114521015B (en) Positioning method, positioning device, storage medium and electronic equipment
CN110365357B (en) Signal processing method and device and storage medium
KR20210056128A (en) Method for selecting transmission antenna and electonic device
CN115208438B (en) Antenna control method and electronic equipment
CN111654294B (en) Antenna sharing method and device, storage medium and electronic equipment
US20230089752A1 (en) Uplink spatial relation switch delay

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
GR01 Patent grant
GR01 Patent grant