CN112367097B - 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
CN112367097B
CN112367097B CN202011233355.7A CN202011233355A CN112367097B CN 112367097 B CN112367097 B CN 112367097B CN 202011233355 A CN202011233355 A CN 202011233355A CN 112367097 B CN112367097 B CN 112367097B
Authority
CN
China
Prior art keywords
communication module
radiator
set communication
master set
signal strength
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
CN202011233355.7A
Other languages
Chinese (zh)
Other versions
CN112367097A (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 CN202011233355.7A priority Critical patent/CN112367097B/en
Publication of CN112367097A publication Critical patent/CN112367097A/en
Application granted granted Critical
Publication of CN112367097B publication Critical patent/CN112367097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode

Landscapes

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

Abstract

The embodiment of the application provides an electronic device control method, an electronic device control device, a storage medium and an electronic device, which are applied to the electronic device. The electronic equipment control method comprises the following steps: acquiring a first data flow of a first excitation signal transmitted by a first master set communication module within a preset time; acquiring a second data flow of a second excitation signal transmitted by a second master set communication module within a preset time length; and determining the master set communication module with larger data traffic as a target master set communication module, and controlling the target master set communication module to be conducted with the first radiator or the second radiator so as to improve the radiation performance of the electronic equipment.

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 may support multiple 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 second radiator, a first master set communication module and a second master set communication module, the first master set communication module is configured to provide a first excitation signal, and the second master set communication module is configured to provide a second excitation signal; the electronic equipment control method comprises the following steps:
acquiring a first data flow of the first master set communication module for transmitting the first excitation signal within a preset time;
acquiring a second data flow of the second excitation signal transmitted by the second master set communication module within the preset time;
and determining the master set communication module with larger data traffic as a target master set communication module, and controlling the target master set communication module to be conducted with the first radiator or the second radiator.
In a second aspect, an embodiment of the present application provides an electronic device control apparatus, which is applied to an electronic device, where the electronic device includes a first radiator, a second radiator, a first master set communication module and a second master set communication module, the first master set communication module is configured to provide a first excitation signal, and the second master set communication module is configured to provide a second excitation signal; the electronic device control apparatus includes:
the first flow acquiring module is used for acquiring first data flow of the first excitation signal transmitted by the first master set communication module within a preset time length;
a second traffic obtaining module, configured to obtain a second data traffic of the second excitation signal transmitted by the second master set communication module within the preset time period; and
and the control module is used for determining the master set communication module with larger data traffic as a target master set communication module and controlling the target master set communication module to be conducted with the first radiator or the second radiator.
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.
An electronic device control method, an electronic device control apparatus, a storage medium, and an electronic device according to an embodiment of the present application include: acquiring a first data flow of a first excitation signal transmitted by a first master set communication module within a preset time; acquiring a second data flow of a second excitation signal transmitted by a second master set communication module within a preset time length; and determining the master set communication module with larger data traffic as a target master set communication module, and controlling the target master set communication module to be conducted with the first radiator or the second radiator. Based on this, the target master set communication module that is more suitable for the current operating mode of the electronic device may be selected through the first data traffic and the second data traffic, the target master set communication module may have a priority, and the target master set communication module may select the first radiator or the second radiator with better radiation performance to transmit the excitation signal.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a first electrical connection of the electronic device shown in fig. 1.
Fig. 3 is a first flowchart illustrating an electronic device control method according to an embodiment of the present application.
Fig. 4 is a second electrical connection diagram of the electronic device shown in fig. 1.
Fig. 5 is a second electrical connection diagram of the electronic device shown in fig. 1.
Fig. 6 is a second flowchart of an electronic device control method according to an embodiment of the present application.
Fig. 7 is a second structural schematic diagram of an electronic device according to an embodiment of the present application.
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 schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 10 is an electrical connection diagram of the electronic device shown in fig. 9.
Fig. 11 is a third flowchart illustrating an electronic device control method according to an embodiment of the present application.
Fig. 12 is a schematic structural diagram of an electronic device control apparatus according to an embodiment of the present application.
Fig. 13 is a fifth structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 14 is a sixth schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to fig. 1 to 14 in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The 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 schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 100 may include a first radiator 110, a second radiator 120, a first master set communication module 130, a second master set communication module 140, and a first switch assembly 150, where the first switch assembly 150 may control connection or disconnection between the first master set communication module 130 and the first radiator 110 and between the second master set communication module 140 and the first master set communication module 130, and the first switch assembly 150 may also control connection or disconnection between the first master set communication module 130 and the second master set communication module 140 and the second radiator 120.
The first and second master set communication modules 130 and 140 may provide the excitation signal. For example, the first masterset communication module 130 may provide a first excitation signal and the second masterset communication module 140 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.4GHz to 3.6GHz) of a 5G signal, and the second excitation signal may be an N79 band signal (4.8GHz to 4.9GHz) of the 5G signal.
It is to be 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.4GHz to 2.48GHz), and the second excitation signal may be an N41 band (2.5GHz to 2.69GHz) signal of a 5G signal.
It is understood that the first master set communication module 130 and the second master set communication module 140 may be two circuit modules of the radio frequency transceiver module 200 of the electronic device 100, for example, please refer to fig. 2, and fig. 2 is a first electrical connection diagram of the electronic device shown in fig. 1. The first master set communication module 130 may include a first master set transmitting circuit 131 and a first master set receiving circuit 132, and the first master set transmitting circuit 131 and the first master set receiving circuit 132 may be connected in parallel to form a whole through a combiner and are simultaneously connected to the first radiator 110 or the second radiator 120, so as to enable the first master set communication module 130 to receive and transmit the first driving signal or the second driving signal.
Similarly, the second major set communication module 140 may include a second major set transmitting circuit 141 and a second major set receiving circuit 142, and the second major set transmitting circuit 141 and the second major set receiving circuit 142 may also be connected in parallel to form a whole through a combiner and connected to the first radiator 110 or the second radiator 120 at the same time, so as to implement that the second major set communication module 140 receives and transmits the first excitation signal or the second excitation 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 150 may control the first radiator 110 to be electrically connected to the first master set communication module 130, and the first switch element 150 may also control the first radiator 110 to be electrically connected to the second master set communication module 140. The first radiator 110 may transmit a first excitation signal when the first master set communication module 130 is electrically connected to the first radiator 110, and the first radiator 110 may transmit a second excitation signal when the second master set communication module 140 is electrically connected to the first radiator 110, so that two wireless signals may be transmitted.
The second radiator 120 may also resonate at least two wireless signals, such as a first driving signal and a second driving signal. The first switch element 150 may control the second radiator 120 to be electrically connected to the first major set communication module 130, and the first switch element 150 may also control the second radiator 120 to be electrically connected to the second major set communication module 140. The second radiator 120 may transmit a first excitation signal when the first master set communication module 130 is electrically connected to the second radiator 120, and the second radiator 120 may transmit a second excitation signal when the second master set communication module 140 is electrically connected to the second radiator 120, so that two wireless signals may be transmitted.
It is understood that the first switch assembly 150 may include a double-pole double-throw switch, a first end of the double-pole double-throw switch is electrically connected to the first main set communication module 130, a second end of the double-pole double-throw switch is electrically connected to the second main set communication module 140, and the other two free ends of the double-pole double-throw switch may be respectively conducted to the first radiator 110 and the second radiator 120.
It is understood that the first and second master set communication modules 130 and 140 may be connected to the first radiator 110 or the second radiator 120 at the same time. For example, the electronic device 100 may be provided with a combiner, and the first master set communication module 130 and the second master set communication module 140 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 or the second radiator 120. The combiner may transmit the first and second excitation signals provided by the first and second master set communication modules 130 and 140 to the first radiator 110 or the second radiator 120. The first radiator 110 or the second radiator 120 may also receive the mixed signal transmitted by the base station, and transmit the mixed signal to the first master set communication module 130 and the second master set communication module 140 through the combiner, respectively. At this time, the first master set communication module 130, the second master set communication module 140 and the first radiator 110 form a complete communication link, power on the communication link is large, interference between the first master set communication module 130 and the second master set communication module 140 is large, and radiation performance of the first radiator 110 is affected.
Based on this, the electronic device 100 according to the embodiment of the application may select one of the first master communication module 130 and the second master communication module 140 to be electrically connected to the first radiator 110, so as to improve the performance of the first radiator 110 in transmitting the wireless signal. One communication module selected from the first master set communication module 130 and the second master set communication module 140 may be electrically connected to the second radiator 120, so as to improve the performance of the second radiator 120 in transmitting wireless signals. In other words, the electronic device 100 according to the embodiment of the present application may provide a solution that the first master communication module 130 and the second master communication module 140 contend for the same antenna radiator.
Referring to fig. 3, fig. 3 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 application is applied to the electronic device 100, where the electronic device 100 includes a first radiator 110, a second radiator 120, a first master set communication module 130, and a second master set communication module 140, the first master set communication module 130 is configured to provide a first excitation signal, the second master set communication module 140 is configured to provide a second excitation signal, the first radiator 110 may resonate the first excitation signal and the second excitation signal, and the second radiator 120 may also resonate the first excitation signal and the second excitation signal. The electronic equipment control method comprises the following steps:
in 101, a first data traffic of a first master set communication module transmitting a first excitation signal within a preset time duration is obtained.
At 102, a second data traffic of the second excitation signal transmitted by the second master set communication module within a preset time duration is obtained.
It is understood that the preset time period may be a preset time interval, for example, 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 first electrical connection state, the second electrical connection state, the third electrical connection state, and the fourth electrical connection state according to the first data traffic and the second data traffic. That is, the electronic device 100 may repeat the above steps 101 to 103 at intervals, periodically obtain the first data traffic, obtain the second data traffic, and determine the first electrical connection state, the second electrical connection state, the third electrical connection state, and the fourth electrical connection state according to the first data traffic and the second data traffic, so as to select the superior master set communication module electrically connected to the first radiator 110 and the superior master set communication module electrically connected to the second radiator 120 in the current time period, thereby determining the main operation mode of the electronic device 100.
It is to be appreciated that the first data traffic may be a data volume of the base station transmitted data via the first excitation signal that is received by the first masterset communication module 130, e.g., the first masterset communication module 130 may receive the first data traffic via the first masterset receive circuit 132. Accordingly, the second data traffic may be the amount of data that the second masterset communication module 140 receives for the base station transmitting data via the second excitation signal, e.g., the second masterset communication module 140 may receive the first data traffic via the second masterset receiving circuit 142.
It is understood that the first data traffic may be a sum of a data amount of the base station transmission data received by the first master set communication module 130 through the first excitation signal and a data amount of the data sent by the first master set communication module 130 to the base station through the first excitation signal, for example, the first master set communication module 130 may obtain the first data traffic through the first master set receiving circuit 132 and the first master set transmitting circuit 131 together. Accordingly, the second data traffic may be a sum of a data amount of the base station transmission data transmitted by the second excitation signal by the second master set communication module 140 and a data amount of the data transmitted by the second master set communication module 140 to the base station by the second excitation signal, for example, the second master set communication module 140 may obtain the first data traffic by the second master set receiving circuit 142 and the second master set transmitting circuit 141 together.
In 103, the master set communication module with the larger data traffic is determined as the target master set communication module, and the target master set communication module is controlled to be conducted with the first radiator 110 or the second radiator 120.
It can be understood that, because the first master set communication module 130 and the second master set communication module 140 compete for the first radiator 110 or the second radiator 120, it can be seen from the first data traffic and the second data traffic that the electronic device 100 mainly uses the first master set communication module 130 to transmit the first excitation signal or uses the second master set communication module 140 to transmit the second excitation signal in the current time period, that is, the current target communication module of the electronic device 100 can be determined according to the first data traffic and the second data traffic. Therefore, the connection relationship among the first master set communication module 130, the second master set communication module 140, the first radiator 110 and the second radiator 120 can be better determined according to the target communication module.
For example, when it is determined from the first data traffic and the second data traffic that the current operation mode of the electronic device 100 is the main operation mode in which the first master set communication module 130 transmits the first excitation signal, then the first master set communication module 130 is used as the target master set communication module, the first master set communication module 130 has a priority, and the first master set communication module 130 may determine a better target radiator of the first radiator 110 and the second radiator 120 when transmitting the first excitation signal according to preset conditions, such as historical usage parameters, a type of a current application program, and the like.
Assuming that the preferred target radiator is the first radiator 110, the first master set communication module 130 may be electrically connected to the first radiator 110, and the corresponding second master set communication module 140 may be electrically connected to the second radiator 120. Referring to fig. 4, fig. 4 is a second electrical connection diagram of the electronic device 100 shown in fig. 1. At this time, the first electrical connection state and the fourth electrical connection state are on, and the second electrical connection state and the third electrical connection state are off. Assuming that the preferred target radiator is the second radiator 120, the first master set communication module 130 may be electrically connected to the second radiator 120, and the corresponding second master set communication module 140 may be electrically connected to the first radiator 110. Referring to fig. 5, fig. 5 is a third electrical connection diagram of the electronic device 100 shown in fig. 1. At this time, the second electrical connection state and the third electrical connection state are on, and the first electrical connection state and the fourth electrical connection state are off.
For another example, when it is determined from the first data traffic and the second data traffic that the current operating mode of the electronic device 100 is the main operating mode in which the second master set communication module 140 transmits the second excitation signal, at this time, the second master set communication module 140 serves as the target master set communication module, the second master set communication module 140 has a priority, and the second master set communication module 140 may determine a better target radiator of the first radiator 110 and the second radiator 120 when the second excitation signal is transmitted according to preset conditions, such as historical usage parameters, a type of a current application program, and the like.
Assuming that the preferred target radiator is the first radiator 110, the second master set communication module 140 may be electrically connected to the first radiator 110, and the corresponding first master set communication module 130 may be electrically connected to the second radiator 120, as shown in fig. 5, at this time, the second electrical connection state and the third electrical connection state are on, and the first electrical connection state and the fourth electrical connection state are off. Assuming that the preferred target radiator is the second radiator 120, the second master communication module 140 may be electrically connected to the second radiator 120, and the corresponding first master communication module 130 may be electrically connected to the first radiator 110, as shown in fig. 4, at this time, the first electrical connection state and the fourth electrical connection state are on, and the second electrical connection state and the third electrical connection state are off.
It can be understood that, the electronic device control method according to the embodiment of the present application can solve the problem that the first master communication module 130 and the second master communication module 140 compete for the same antenna radiator, and the electronic device control method according to the embodiment of the present application provides a solution when the dual communication module and the dual radiator compete for each other, so as to improve the radiation performance of the electronic device 100.
As can be seen from the above, the electronic device control method according to the embodiment of the present application may select, through the first data traffic and the second data traffic, a target master set communication module that is more suitable for the current operating mode of the electronic device 100, and at this time, the target master set communication module may have a preference, the target master set communication module may select the first radiator 110 or the second radiator 120 having the better radiation performance to transmit the excitation signal, therefore, the electronic device control method of the embodiment of the present application, according to the size of the traffic transmitted by the first master set communication module 130 and the second master set communication module 140, a better radiator may be selected for the first major set communication module 130 to be electrically connected thereto, a better radiator may be selected for the second major set communication module 140 to be electrically connected thereto, the current mode of operation of the electronic device 100 and the radiation performance of the antenna radiator may be taken into account as a whole.
After the first data traffic and the second data traffic are acquired, the electronic device control method may include: judging whether the first data flow is larger than the second data flow; if yes, determining that the target master set communication module is the first master set communication module 130, and continuing to acquire a first signal strength when the first radiator 110 transmits the first excitation signal and acquire a second signal strength when the second radiator 120 transmits the first excitation signal; when the first signal strength is greater than the second signal strength, controlling the first master set communication module 130 to be conducted with the first radiator 110, and controlling the second master set communication module 140 to be conducted with the second radiator 120; when the first signal strength is not greater than the second signal strength, the first master set communication module 130 is controlled to be conducted with the second radiator 120, and the second master set communication module 140 is controlled to be conducted with the first radiator 110.
It is understood that after determining whether the first data traffic is greater than the second data traffic, the method includes: if not, determining that the target master set communication module is the second master set communication module 140, and continuing to acquire a third signal strength when the first radiator 110 transmits the second excitation signal and acquiring a fourth signal strength when the second radiator 120 transmits the second excitation signal; when the third signal strength is greater than the fourth signal strength, controlling the second master set communication module 140 to be conducted with the first radiator 110, and controlling the first master set communication module 130 to be conducted with the second radiator 120; when the third signal strength is not greater than the fourth signal strength, the second master set communication module 140 is controlled to be conducted with the second radiator 120, and the first master set communication module 130 is controlled to be conducted with the first radiator 110.
Based on this, please refer to fig. 6, where fig. 6 is a second flowchart of the electronic device control method according to the embodiment of the present application.
In 201, a first data traffic of a first master set communication module transmitting a first excitation signal within a preset time duration is obtained.
At 202, a second data traffic of the second master set communication module transmitting the second excitation signal within a preset time duration is obtained.
It can be understood that, the schemes for acquiring the first data traffic and the second data traffic may refer to the descriptions in the foregoing embodiments, and are not described herein again.
At 203, it is determined whether the first data traffic is greater than the second data traffic.
In 204, if yes, it is determined that the target master set communication module is the first master set communication module, and the first signal strength when the first radiator transmits the first excitation signal and the second signal strength when the second radiator transmits the first excitation signal are continuously obtained.
When the electronic device 100 acquires the first data traffic and the second data traffic, the electronic device 100 may determine the magnitudes of the first data traffic and the second data traffic, and may see, according to the magnitudes of the first data traffic and the second data traffic, that the electronic device 100 is in the main working mode in which the first master set communication module 130 transmits the first excitation signal or in the main mode in which the second master set communication module 140 transmits the second excitation signal in the current time period.
For example, assuming that the first excitation signal is a Wi-Fi signal, the first data traffic may be the amount of data when the first master set communication module 130 transmits the Wi-Fi signal; assuming that the second excitation signal is a 4G signal, the second data traffic may be the amount of data when the second master set communication module 140 transmits the 4G signal. If the first data traffic is greater than the second data traffic, it may be determined that the electronic device 100 is in the WI-FI environment, the target master set communication module is the first master set communication module 130, and the electronic device 100 mainly uses the first master set communication module 130 to transmit the WI-FI signal as a main working mode. At this time, the first major set communication module 130 has a priority, and may select a radiator transmitting a more excellent radiation performance of the WI-FI signal in the current state as the target radiator. If the first data traffic is not greater than the second data traffic, it may be determined that the electronic device 100 is in the 4G environment, and the electronic device 100 mainly uses the second master set communication module 140 to transmit the 4G signal as a main working mode. At this time, the second major set communication module 140 has a priority, and may select a radiator transmitting the better radiation performance of the 4G signal in the current state as the target radiator.
That is, when the electronic device 100 determines that the first data traffic is greater than the second data traffic, the current operation mode of the electronic device 100 may be the main operation mode in which the first master set communication module 130 transmits the first excitation signal. At this time, the electronic device 100 may continue to obtain the first signal strength when the first radiator 110 transmits the first excitation signal, and continue to obtain the second signal strength when the second radiator 120 transmits the first excitation signal, so as to determine, according to the first signal strength and the second signal strength, a target radiator that transmits the first excitation signal and has better radiation performance in the current state.
It is understood that the electronic device 100 may control the first radiator 110 to be electrically connected to the first master set communication module 130 to form the first communication link, and the first master set communication module 130 may acquire the first signal strength of the first radiator 110 transmitting the first excitation signal. The first signal strength may reflect a first radiation performance of the first radiator 110 to transmit the first excitation signal.
It is understood that the electronic device 100 may control the second radiator 120 to be electrically connected to the first master set communication module 130 to form the second communication link, and the first master set communication module 130 may acquire the second signal strength of the first excitation signal transmitted by the second radiator 120. The second signal strength may reflect a second radiation performance of the second radiator 120 to transmit the first excitation signal.
In the above scheme, the electronic device 100 may electrically connect the first major set communication module 130 with the first radiator 110 and the second radiator 120 respectively by switching the first switch assembly 150 back and forth to obtain the first signal strength and the second signal strength. It is understood that the electronic device 100 may obtain the first signal strength and the second signal strength in other manners. For example, please refer to fig. 7, and fig. 7 is a schematic diagram of a second structure of the electronic device 100 according to an embodiment of the present application.
As shown in fig. 7, the electronic device 100 may include a first master-set communication module and receive module 160, and the first switch assembly 150 may include two single-pole single-throw switches and a single-pole double-throw switch. The first main set communication module and the same-standard receiving module 160 may be connected to the second radiator 120 through a single-pole single-throw switch, so that the second signal strength when the second radiator 120 transmits the first excitation signal may be detected.
Since the first master set communication module with the same standard receiving module 160 has the same standard as the first master set communication module 130, the first master set communication module with the same standard receiving module 160 can provide the first excitation signal, and thus, the first master set communication module with the same standard receiving module 160 can detect the second signal strength when the second radiator 120 transmits the first excitation signal.
In the embodiment of the present application, the first master set communication module and the receiving module 160 having the same standard are arranged, so that the switching frequency of the first switch assembly 150 can be reduced, and the first switch assembly 150 does not need to switch back and forth among the first master set communication module 130, the first radiator 110 and the second radiator 120, thereby providing the detection efficiency of the electronic device 100.
In 205, when the first signal strength is greater than the second signal strength, the first master set communication module is controlled to be conducted with the first radiator, and the second master set communication module is controlled to be conducted with the second radiator.
At 206, when the first signal strength is not greater than the second signal strength, the first master set communication module is controlled to be conducted with the second radiator, and the second master set communication module is controlled to be conducted with the first radiator.
After the electronic device 100 obtains the first signal strength and the second signal strength, the magnitudes of the first signal strength and the second signal strength may be determined, when the first signal strength is greater than the second signal strength, the performance that the first radiator 110 transmits the first excitation signal is superior to the radiation performance that the second radiator 120 transmits the first excitation signal, a target communication module, such as the first master set communication module 130, previously determined by the magnitude of the data traffic may be preferentially electrically connected to the first radiator 110, so as to ensure a better radiation performance when transmitting the first excitation signal, at this time, the second radiator 120 is passively electrically connected to, for example, the second master set communication module 140 outside the target communication module. That is, as shown in fig. 4, when the first signal strength is greater than the second signal strength, the first electrical connection state and the fourth electrical connection state are on, and the second electrical connection state and the third electrical connection state are off.
When the first signal strength is not greater than the second signal strength, it indicates that the performance of the first radiator 110 in transmitting the first excitation signal is inferior to the radiation performance of the second radiator 120 in transmitting the first excitation signal, and the target communication module, for example, the first master communication module 130, previously determined by the magnitude of the data traffic may be preferentially electrically connected to the second radiator 120, so as to ensure a better radiation performance in transmitting the first excitation signal, at this time, the first radiator 110 is passively electrically connected to, for example, the second master communication module 140, which is different from the target communication module. That is, as shown in fig. 5, when the first signal strength is not greater than the second signal strength, the second electrical connection state and the third electrical connection state are on, and the first electrical connection state and the fourth electrical connection state are off.
In step 207, if not, it is determined that the target master set communication module is the second master set communication module, and the third signal strength when the first radiator transmits the second excitation signal is continuously obtained, and the fourth signal strength when the second radiator transmits the second excitation signal is obtained.
When the electronic device 100 determines that the first data traffic is not greater than the second data traffic, the current operation mode of the electronic device 100 may be the main operation mode in which the second master set communication module 140 transmits the second excitation signal. At this time, the electronic device 100 may continue to obtain the third signal strength when the first radiator 110 transmits the second excitation signal, and continue to obtain the fourth signal strength when the second radiator 120 transmits the second excitation signal, so as to determine, according to the third signal strength and the fourth signal strength, a target radiator that transmits the second excitation signal and has better radiation performance in the current state.
It is understood that the electronic device 100 may control the first radiator 110 to be electrically connected to the second master set communication module 140 to form a third communication link, and the second master set communication module 140 may obtain a third signal strength of the second excitation signal transmitted by the first radiator 110.
It is understood that the third signal strength may reflect a third radiation performance of the first radiator 110 to transmit the second excitation signal. When the third signal intensity is greater than the third intensity threshold, the third radiation performance is better; when the third signal intensity is less than/equal to the first intensity threshold, it indicates that the third radiation performance is poor.
It is understood that the electronic device 100 may control the second radiator 120 to be electrically connected to the second master set communication module 140 to form a fourth communication link, and the second master set communication module 140 may obtain a fourth signal strength of the second excitation signal transmitted by the second radiator 120.
It is understood that the fourth signal strength may reflect a fourth radiation performance of the second radiator 120 to transmit the second excitation signal. When the fourth signal strength is greater than the fourth strength threshold, the fourth radiation performance is better; when the fourth signal strength is less than/equal to the fourth strength threshold, it indicates that the fourth radiation performance is poor.
In the above scheme, the electronic device 100 may electrically connect the second major set communication module 140 to the first radiator 110 and the second radiator 120 respectively by switching the first switch assembly 150 back and forth to obtain the third signal strength and the fourth signal strength. It is understood that the electronic device 100 may obtain the third signal strength and the fourth signal strength in other manners. For example, please refer to fig. 8, and fig. 8 is a schematic structural diagram of a third electronic device according to an embodiment of the present application.
As shown in fig. 8, the electronic device 100 may include a second master-set communication module of the same system receiving module 170, and the first switch assembly 150 may include two single-pole single-throw switches and one single-pole double-throw switch. The second master set communication module and transceiver module 170 may be connected to the first radiator 110 through a single-pole single-throw switch, so as to detect a third signal strength when the first radiator 110 transmits the second excitation signal.
Since the systems of the second master set communication module and the receiving module 170 of the same system are the same as the system of the second master set communication module 140, the receiving module 170 of the same system of the second master set communication module can provide the second excitation signal, so that the third signal strength when the first radiator 110 transmits the second excitation signal can be detected by the receiving module 170 of the same system of the second master set communication module.
In the embodiment of the present application, the second master set communication module and the receiving module 170 having the same standard are arranged, so that the switching frequency of the first switch assembly 150 can be reduced, and the first switch assembly 150 does not need to switch back and forth among the second master set communication module 140, the first radiator 110 and the second radiator 120, thereby providing the detection efficiency of the electronic device 100.
At 208, when the third signal strength is greater than the fourth signal strength, the second master set communication module is controlled to be conducted with the first radiator, and the first master set communication module is controlled to be conducted with the second radiator.
In 209, when the third signal strength is not greater than the fourth signal strength, the second master set communication module is controlled to be conducted with the second radiator, and the first master set communication module is controlled to be conducted with the first radiator.
After the electronic device 100 obtains the third signal strength and the fourth signal strength, the magnitudes of the third signal strength and the fourth signal strength may be determined, when the third signal strength is greater than the fourth signal strength, it indicates that the performance of the first radiator 110 in transmitting the second excitation signal is better than the radiation performance of the second radiator 120 in transmitting the second excitation signal, a target communication module, such as the second master communication module 140, determined by the magnitude of the data traffic may be preferentially electrically connected to the first radiator 110 to ensure better radiation performance in transmitting the first excitation signal, and at this time, the second radiator 120 is passively electrically connected to, for example, the first master communication module 130 other than the target communication module. That is, as shown in fig. 5, when the third signal strength is greater than the fourth signal strength, the second electrical connection state and the third electrical connection state are on, and the first electrical connection state and the fourth electrical connection state are off.
When the third signal strength is not greater than the fourth signal strength, it indicates that the performance of the first radiator 110 in transmitting the second excitation signal is inferior to the radiation performance of the second radiator 120 in transmitting the second excitation signal, and the target communication module, for example, the second master communication module 140, which is determined by the magnitude of the data traffic before, may be preferentially electrically connected to the second radiator 120 to ensure better radiation performance in transmitting the second excitation signal, and at this time, the first radiator 110 is passively electrically connected to, for example, the first master communication module 130, which is not the target communication module. That is, as shown in fig. 4, when the first signal strength is not greater than the second signal strength, the first electrical connection state and the fourth electrical connection state are on, and the second electrical connection state and the third electrical connection state are off.
It can be understood that, in addition to determining the electrical connection relationship among the first radiator 110, the second radiator 120, the first master set communication module 130, and the second master set communication module 140 according to the magnitude relationship between the first signal strength and the second signal strength and the magnitude relationship between the third signal strength and the fourth signal strength in the above-mentioned solution, the electronic device control method according to the embodiment of the present application may also be determined according to other manners. For example, the determination may be made based on whether the difference between the first signal strength and the second signal strength is within a preset range, based on whether the difference between the third signal strength and the fourth signal strength is within a preset range, and so on. Therefore, all the schemes that can determine the electrical connection state according to the magnitude of the first data flow and the second data flow are within the protection scope of the present application.
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 master communication module 130 and the second master communication module 140 can be solved; then, the contention problem between the first radiator 110 and the second radiator 120 can be solved according to the magnitude relationship between the signal strength of the first radiator 110 and the signal strength of the second radiator 120. 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.
Referring to fig. 9 and fig. 10, fig. 9 is a fourth structural schematic diagram of an electronic device according to an embodiment of the present application, and fig. 10 is an electrical connection schematic diagram of the electronic device shown in fig. 9. The electronic device 100 may also include a first diversity communication module 180 and a second diversity communication module 190.
As shown in fig. 9 and 10, the first diversity communication module 180 may receive the first excitation signal, and the first diversity module may be connected in parallel with the second main set communication module 140 through a combiner to form a first whole 210. When the first whole 210 is electrically connected to the first radiator 110, the first radiator 110 may transmit a second excitation signal to the outside through the second main set transmitting circuit 141 of the second main set communication module 140, the first radiator 110 may also receive the second excitation signal through the second main set receiving circuit 142 of the second main set communication module 140, and meanwhile, the first radiator 110 may also receive the first excitation signal through the first diversity communication module 180, so that the first whole 210 formed by the second main set communication module 140 and the first diversity communication module 180 may simultaneously obtain a third signal strength when the first radiator 110 transmits the second excitation signal and a first signal strength when the first radiator 110 transmits the first excitation signal.
When the first whole 210 is electrically connected to the second radiator 120, the second radiator 120 may transmit a second excitation signal to the outside through the second main set transmitting circuit 141 of the second main set communication module 140, the second radiator 120 may also receive the second excitation signal through the second main set receiving circuit 142 of the second main set communication module 140, and meanwhile, the second radiator 120 may also receive the first excitation signal through the first diversity communication module 180, so that the first whole 210 formed by the second main set communication module 140 and the first diversity communication module 180 may simultaneously obtain a fourth signal strength when the second radiator 120 transmits the second excitation signal and a second signal strength when the second radiator 120 transmits the first excitation signal.
Similarly, the second diversity communication module 190 may receive the second excitation signal, and the second diversity communication module 190 may be connected in parallel with the first main diversity communication module 130 through a combiner to form a second whole 220. When the second whole 220 is electrically connected to the first radiator 110, the first radiator 110 may transmit a first excitation signal to the outside through the first main set transmitting circuit 131 of the first main set communication module 130, the first radiator 110 may also receive the first excitation signal through the first main set receiving circuit 132 of the first main set communication module 130, and meanwhile, the first radiator 110 may also receive a second excitation signal through the second diversity communication module 190, so that the second whole 220 formed by the first main set communication module 130 and the second diversity communication module 190 may simultaneously obtain a first signal strength when the first radiator 110 transmits the first excitation signal and a third signal strength when the first radiator 110 transmits the second excitation signal.
When the second whole 220 is electrically connected to the second radiator 120, the second radiator 120 may transmit a first excitation signal to the outside through the first main set transmitting circuit 131 of the first main set communication module 130, the second radiator 120 may also receive the first excitation signal through the first main set receiving circuit 132 of the first main set communication module 130, and meanwhile, the second radiator 120 may also receive the second excitation signal through the second diversity communication module 190, so that the second whole 220 formed by the first main set communication module 130 and the second diversity communication module 190 may simultaneously obtain a second signal strength when the second radiator 120 transmits the first excitation signal and a fourth signal strength when the second radiator 120 transmits the second excitation signal.
As can be seen from the above, the electronic device 100 can control the first entity 210 to switch back and forth between the first radiator 110 and the second radiator 120 to obtain the first to fourth signal strengths. The electronic device 100 may control the second entity 220 to switch back and forth between the first radiator 110 and the second radiator 120 to obtain the first to fourth signal strengths. Of course, the electronic device 100 may control the first whole 210 to be electrically connected to the first radiator 110 and the second whole 220 to be electrically connected to the second radiator 120, so as to obtain the first to fourth signal strengths. The electronic device 100 may control the first whole 210 to be electrically connected to the second radiator 120, and the second whole 220 to be electrically connected to the first radiator 110, so as to obtain the first to fourth signal strengths.
Based on the structure of the electronic device 100, when the electronic device 100 obtains the first data traffic and the second data traffic, the electronic device 100 may further obtain a first signal strength when the first radiator 110 transmits the first excitation signal, and obtain a second signal strength when the second radiator 120 transmits the first excitation signal; a third signal strength when the first radiator 110 transmits the second excitation signal is obtained, and a fourth signal strength when the second radiator 120 transmits the second excitation signal is obtained. At this time, determining the master set communication module with a large data traffic as the target master set communication module, and controlling the target master set communication module to be conducted with the first radiator 110 or the second radiator 120, including: when the first data traffic is greater than the second data traffic and the first signal strength is greater than the second signal strength, or when the first data traffic is not greater than the second data traffic and the third signal strength is not greater than the fourth signal strength, controlling the first master set communication module 130 to be conducted with the first radiator 110, and controlling the second master set communication module 140 to be conducted with the second radiator 120; when the first data traffic is greater than the second data traffic and the first signal strength is not greater than the second signal strength, or when the first data traffic is not greater than the second data traffic and the third signal strength is greater than the fourth signal strength, the first master set communication module 130 is controlled to be conducted with the second radiator 120, and the second master set communication module 140 is controlled to be conducted with the first radiator 110.
Wherein obtaining the first signal strength and obtaining the third signal strength may include: the first body 210 is controlled to be electrically connected to the first radiator 110 to obtain the first signal strength and the third signal strength. Acquiring a second signal strength and acquiring a fourth signal strength, comprising: the first body 210 is controlled to be electrically connected to the second radiator 120 to obtain the second signal strength and the fourth signal strength.
Wherein obtaining the first signal strength and obtaining the third signal strength comprises: the second body 220 is controlled to be electrically connected to the first radiator 110 to obtain the first signal strength and the second signal strength. Acquiring a second signal strength and acquiring a fourth signal strength, comprising: the second ensemble 220 is controlled to be electrically connected to the second radiator 120 to obtain the second signal strength and the fourth signal strength.
Accordingly, please refer to fig. 11, in which fig. 11 is a third flowchart illustrating an electronic device control method according to an embodiment of the present disclosure.
At 301, a first data traffic of a first master batch communication module transmitting a first excitation signal within a preset time duration is obtained.
At 302, a second data traffic of the second master set communication module transmitting the second excitation signal within a preset time duration is obtained.
It can be understood that, the schemes for acquiring the first data traffic and the second data traffic may refer to the descriptions in the foregoing embodiments, and are not described herein again.
At 303, the first whole is controlled to be electrically connected to the first radiator to obtain a first signal strength when the first radiator transmits the first excitation signal and a third signal strength when the first radiator transmits the second excitation signal.
In 304, the second whole is controlled to be electrically connected to the second radiator to obtain a second signal strength when the second radiator transmits the first excitation signal and a fourth signal strength when the second radiator transmits the second excitation signal.
In 305, it is determined whether the first data traffic is greater than the second data traffic to obtain a first determination result.
At 306, it is determined whether the first signal strength is greater than the second signal strength to obtain a second determination result.
In 307, it is determined whether the third signal strength is greater than the fourth signal strength to obtain a third determination result.
In 308, 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 master set communication module is controlled to be conducted with the first radiator, and the second master set communication module is controlled to be conducted with the second radiator.
Otherwise, controlling the first master set communication module to be conducted with the second radiator and controlling the second master set communication module to be conducted with the first radiator 309.
It can be understood that the current main operating mode of the electronic device 100, that is, the target communication module of the electronic device 100, can be determined according to the first determination result. According to the signal strength of the target communication module when the target communication module is connected to the first radiator 110 or the second radiator 120, a target radiator with better radiation performance when the target communication module is connected to the target communication module can be determined, and after the target communication module is electrically connected to the target radiator, another communication module can be electrically connected to another radiator, so that a first electrical connection state, a second electrical connection state, a third electrical connection state, and a fourth electrical connection state can be determined.
For example, when the first data traffic is greater than the second data traffic, the current operation mode of the electronic device 100 may be the main operation mode in a manner that the first master set communication module 130 transmits the first excitation signal. The electronic device 100 may continue to determine the magnitudes of the first signal strength and the second signal strength. When the first signal strength is greater than the second signal strength, which indicates that the performance of the first radiator 110 for transmitting the first excitation signal is better than the radiation performance of the second radiator 120 for transmitting the first excitation signal, the first major set communication module 130 may be preferentially electrically connected to the first radiator 110 to ensure better radiation performance when transmitting the first excitation signal, and at this time, the second radiator 120 is passively electrically connected to, for example, the second major set communication module 140 other than the target communication module. That is, as shown in fig. 4, when the first signal strength is greater than the second signal strength, the first electrical connection state and the fourth electrical connection state are on, and the second electrical connection state and the third electrical connection state are off.
When the first signal strength is not greater than the second signal strength, which indicates that the performance of the first radiator 110 for transmitting the first excitation signal is inferior to the radiation performance of the second radiator 120 for transmitting the first excitation signal, the first master communication module 130 may be preferentially electrically connected to the second radiator 120 to ensure better radiation performance when transmitting the first excitation signal, and at this time, the first radiator 110 is passively electrically connected to, for example, the second master communication module 140 outside the target communication module. That is, as shown in fig. 5, when the first signal strength is not greater than the second signal strength, the second electrical connection state and the third electrical connection state are on, and the first electrical connection state and the fourth electrical connection state are off.
For example, when the first data traffic is not greater than the second data traffic, the current operation mode of the electronic device 100 may be the main operation mode in a manner that the second dominant set communication module 140 transmits the second excitation signal. The electronic device 100 may continue to determine the magnitudes of the third signal strength and the fourth signal strength. When the third signal strength is greater than the fourth signal strength, which indicates that the performance of the first radiator 110 for transmitting the second excitation signal is better than the radiation performance of the second radiator 120 for transmitting the second excitation signal, the second master communication module 140 may be preferentially electrically connected to the first radiator 110 to ensure better radiation performance when transmitting the first excitation signal, and at this time, the second radiator 120 is passively electrically connected to, for example, the first master communication module 130 other than the target communication module. That is, as shown in fig. 5, when the third signal strength is greater than the fourth signal strength, the second electrical connection state and the third electrical connection state are on, and the first electrical connection state and the fourth electrical connection state are off.
When the third signal strength is not greater than the fourth signal strength, which indicates that the performance of the first radiator 110 in transmitting the second excitation signal is inferior to the radiation performance of the second radiator 120 in transmitting the second excitation signal, the second dominant set communication module 140 may be preferentially electrically connected to the second radiator 120 to ensure better radiation performance in transmitting the second excitation signal, and at this time, the first radiator 110 is passively electrically connected to, for example, the first dominant set communication module 130 other than the target communication module. That is, as shown in fig. 4, when the first signal strength is not greater than the second signal strength, the first electrical connection state and the fourth electrical connection state are on, and the second electrical connection state and the third electrical connection state are off.
Based on this, in the electronic device 100 according to the embodiment of the present 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 electrical connection state and the fourth electrical connection state are on, and the second electrical connection state and the third electrical connection state are off. Otherwise, under other results, the second electrical connection state and the third electrical connection state are on, and the first electrical connection state and the fourth electrical connection state are off.
According to the electronic device control method in the embodiment of the application, the target communication module more suitable for the current electronic device 100 is selected according to the magnitude of the first data traffic and the magnitude of the second data traffic, and the target radiator with better performance electrically connected with the target communication module can be selected according to the magnitude relation between the first signal strength and the third signal strength and the magnitude relation between the second signal strength and the fourth signal strength. The target radiator with better performance can be preferentially switched to the target communication module, so that the optimal performance of the antenna radiator can be exerted on the whole.
It is understood that the first electrical connection state, the second electrical connection state, the third electrical connection state and the fourth electrical connection state may be determined by an electrical connection state table, which is a determination result stored in advance inside the electronic device 100.
Table 1: determination result-electric connection state table
Figure BDA0002765935790000181
It is understood that the above is only an exemplary distance for determining the first to fourth electrical connection states according to the first data traffic, the second data traffic, the first signal strength, the second signal strength, the third signal strength and the fourth signal strength, and other realizable schemes are also within the protection scope of the present application.
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.
Referring to fig. 12, please refer to fig. 12 based on the electronic device 100 and the electronic device control method, where fig. 12 is a first structural schematic diagram of an electronic device control apparatus according to an embodiment of the present application. The electronic device control apparatus 300 according to the embodiment of the application is applied to an electronic device 100, where the electronic device 100 includes a first radiator 110, a second radiator 120, a first master set communication module 130, and a second master set communication module 140, the first master set communication module 130 is configured to provide a first excitation signal, and the second master set communication module 140 is configured to provide a second excitation signal. The electronic device control apparatus 300 includes a first flow acquiring module 310, a second flow acquiring module 320, and a control module 330.
The first traffic acquiring module 310 is configured to acquire a first data traffic of the first master set communication module 130 transmitting the first excitation signal within a preset time; the second traffic obtaining module 320 is configured to obtain a second data traffic of the second dominant set communication module 140 transmitting the second excitation signal within a preset time period. The control module 330 is configured to determine the master set communication module with the larger data traffic as a target master set communication module, and control the target master set communication module to be conducted with the first radiator 110 or the second radiator 120.
Wherein, the control module 330 may further include: a judging module (not shown) and a signal strength obtaining module (not shown). The judging module is used for judging whether the first data flow is larger than the second data flow. The signal strength obtaining module is configured to determine that the target master communication module is the first master communication module 130, obtain a first signal strength when the first radiator 110 transmits the first excitation signal, and obtain a second signal strength when the first radiator 110 transmits the second excitation signal, when the determination result of the first determining module is yes. At this time, the control module 330 is further configured to control the first master set communication module 130 to be conducted with the first radiator 110 and control the second master set communication module 140 to be conducted with the second radiator 120 when the first signal strength is greater than the second signal strength; when the first signal strength is not greater than the second signal strength, the first master set communication module 130 is controlled to be conducted with the second radiator 120, and the second master set communication module 140 is controlled to be conducted with the first radiator 110.
Wherein, the signal strength acquisition module is further configured to: if the determination result of the first determination module is negative, it is determined that the target master set communication module is the second master set communication module 140, and the third signal strength when the second radiator 120 transmits the first excitation signal and the fourth signal strength when the second radiator 120 transmits the second excitation signal are continuously obtained. The control module 330 is further configured to control the second master set communication module 140 to be conducted with the first radiator 110 and control the first master set communication module 130 to be conducted with the second radiator 120 when the third signal strength is greater than the fourth signal strength; when the third signal strength is not greater than the fourth signal strength, the second master set communication module 140 is controlled to be conducted with the second radiator 120, and the first master set communication module 130 is controlled to be conducted with the first radiator 110.
Wherein the electronic device 100 further comprises a first diversity communication module 180 for receiving the first excitation signal, the first diversity communication module 180 being connected in parallel with the second main set communication module 140 and forming a first whole 210. The signal strength obtaining module is further configured to control the first whole 210 to be electrically connected to the first radiator 110, so as to obtain a first signal strength and a third signal strength. The signal strength obtaining module is further configured to control the first whole 210 to be electrically connected to the second radiator 120, so as to obtain a second signal strength and a fourth signal strength.
Wherein the electronic device 100 further comprises a second diversity communication module 190 for receiving a second excitation signal, the second diversity communication module 190 being connected in parallel with the first main set communication module 130 and forming a second whole 220. The signal strength obtaining module is further configured to control the second whole 220 to be electrically connected to the first radiator 110, so as to obtain the first signal strength and the second signal strength. The signal strength obtaining module is further configured to control the second whole 220 to be electrically connected to the second radiator 120, so as to obtain a second signal strength and a fourth signal strength.
The first traffic obtaining module 310 is further configured to obtain the first data traffic periodically, and the second traffic obtaining module 320 is further configured to obtain the second data traffic periodically. The control module 330 is configured to periodically determine the master set communication module with the larger data traffic as the target master set communication module, and control the target master set communication module to be conducted with the first radiator 110 or the second radiator 120.
As can be seen from the above, the electronic device control apparatus 300 according to the embodiment of the present application can select the target master set communication module more suitable for the current operation mode of the electronic device 100 by using the first data traffic and the second data traffic, and at this time, the target master set communication module may have a preference, the target master set communication module may select the first radiator 110 or the second radiator 120 having the better radiation performance to transmit the excitation signal, therefore, the electronic device control apparatus 300 according to the embodiment of the present application, according to the size of the traffic transmitted by the first master set communication module 130 and the second master set communication module 140, a better radiator may be selected for the first major set communication module 130 to be electrically connected thereto, a better radiator may be selected for the second major set communication module 140 to be electrically connected thereto, the current mode of operation of the electronic device 100 and the radiation performance of the antenna radiator may be taken into account as a whole.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a fifth electronic device according to an embodiment of the present disclosure. The embodiment of the application also provides an electronic device 400. The electronic device 400 may be a smartphone, tablet computer, or the like. The electronic device 400 includes at least a processor 410 and a memory 420. The processor 410 is a control center of the electronic device 400, connects various parts of the entire electronic device 400 using various interfaces and lines, performs various functions of the electronic device 400 and processes data by running or calling a computer program stored in the memory 420, and calling data stored in the memory 420, thereby performing overall monitoring of the electronic device 400. Memory 420 may be used to store computer programs and data. Memory 420 stores computer programs comprising instructions executable in processor 410. The computer program may constitute various functional modules. The processor 410 executes various functional applications and data processing by calling a computer program stored in the memory 420.
In this embodiment, the processor 410 in the electronic device 400 loads instructions corresponding to one or more processes of the computer program into the memory 420, and the processor 410 executes the computer program stored in the memory 420 according to the following steps, so as to implement various functions:
acquiring a first data flow of a first excitation signal transmitted by the first master set communication module 130 within a preset time; acquiring a second data flow of the second excitation signal transmitted by the second master set communication module 140 within a preset time; and determining the master set communication module with the larger data traffic as a target master set communication module, and controlling the target master set communication module to be conducted with the first radiator 110 or the second radiator 120.
Wherein, the processor 410 is further configured to: judging whether the first data flow is larger than the second data flow; if yes, determining that the target master set communication module is the first master set communication module 130, and continuing to acquire a first signal strength when the first radiator 110 transmits the first excitation signal and acquire a second signal strength when the second radiator 120 transmits the first excitation signal; when the first signal strength is greater than the second signal strength, controlling the first master set communication module 130 to be conducted with the first radiator 110, and controlling the second master set communication module 140 to be conducted with the second radiator 120; when the first signal strength is not greater than the second signal strength, the first master set communication module 130 is controlled to be conducted with the second radiator 120, and the second master set communication module 140 is controlled to be conducted with the first radiator 110. If not, determining that the target master set communication module is the second master set communication module 140, and continuing to acquire a third signal strength when the first radiator 110 transmits the second excitation signal and acquiring a fourth signal strength when the second radiator 120 transmits the second excitation signal; when the third signal strength is greater than the fourth signal strength, controlling the second master set communication module 140 to be conducted with the first radiator 110, and controlling the first master set communication module 130 to be conducted with the second radiator 120; when the third signal strength is not greater than the fourth signal strength, the second master set communication module 140 is controlled to be conducted with the second radiator 120, and the first master set communication module 130 is controlled to be conducted with the first radiator 110.
Wherein, the processor 410 is further configured to: acquiring a first signal strength when the first radiator 110 transmits the first excitation signal; acquiring a second signal strength when the second radiator 120 transmits the first excitation signal; acquiring a third signal strength when the first radiator 110 transmits the second excitation signal; acquiring a fourth signal strength when the second radiator 120 transmits the second excitation signal; when the first data traffic is greater than the second data traffic and the first signal strength is greater than the second signal strength, or when the first data traffic is not greater than the second data traffic and the third signal strength is not greater than the fourth signal strength, controlling the first master set communication module 130 to be conducted with the first radiator 110, and controlling the second master set communication module 140 to be conducted with the second radiator 120; when the first data traffic is greater than the second data traffic and the first signal strength is not greater than the second signal strength, or when the first data traffic is not greater than the second data traffic and the third signal strength is greater than the fourth signal strength, the first master set communication module 130 is controlled to be conducted with the second radiator 120, and the second master set communication module 140 is controlled to be conducted with the first radiator 110.
Wherein the electronic device 400 further comprises a first diversity communication module 180 for receiving the first excitation signal, the first diversity communication module 180 being connected in parallel with the second main set communication module 140 and forming a first whole 210. The processor 410 is further configured to: the first body 210 is controlled to be electrically connected to the first radiator 110 to obtain the first signal strength and the third signal strength. The processor 410 is further configured to: the first body 210 is controlled to be electrically connected to the second radiator 120 to obtain the second signal strength and the fourth signal strength.
Wherein the electronic device 400 further comprises a second diversity communication module 190 for receiving a second excitation signal, the second diversity communication module 190 being connected in parallel with the first main set communication module 130 and forming a second ensemble 220. The processor 410 is further configured to: the second body 220 is controlled to be electrically connected to the first radiator 110 to obtain the first signal strength and the second signal strength. The processor 410 is further configured to: the second ensemble 220 is controlled to be electrically connected to the second radiator 120 to obtain the second signal strength and the fourth signal strength.
Wherein, the processor 410 is further configured to: the first data traffic is periodically acquired, the second data traffic is periodically acquired, the master set communication module with the larger data traffic is periodically determined as the target master set communication module, and the target master set communication module is controlled to be conducted with the first radiator 110 or the second radiator 120.
Referring to fig. 14, fig. 14 is a schematic diagram of a sixth structure of an electronic device 400 according to an embodiment of the present application, where the electronic device 400 may further include: radio frequency circuit 430, display screen 440, control circuit 450, input unit 460, sensor 470, and power supply 480. The processor 410 is electrically connected to the rf circuit 430, the display 440, the control circuit 450, the input unit 460, the sensor 470 and the power supply 480, respectively.
The radio frequency circuit 430 is used for transceiving a test signal to communicate with a network device or other electronic devices 400 through wireless communication. The display screen 440 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the electronic device 400, which may be comprised of images, text, icons, video, and any combination thereof. The control circuit 450 is electrically connected to the display screen 440, and is configured to control the display screen 440 to display information. The input unit 460 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 470 is used to collect information of the electronic device 400 itself or information of the user or external environment information. For example, the sensor 470 may include a plurality of sensors 470, such as a distance sensor 470, an acceleration sensor 470, a fingerprint sensor 470, a hall sensor 470, a gyroscope, and the like. The power supply 480 is used to power the various components of the electronic device 400.
It is understood that, although not shown in fig. 14, the electronic device 400 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 400 of the embodiment of the present application, the processor 410 may select, through the first data traffic and the second data traffic, a target master set communication module that is more suitable for the current operation mode of the electronic device 400, and at this time, the target master set communication module may have a preference, the target master set communication module may select the first radiator 110 or the second radiator 120 having the better radiation performance to transmit the excitation signal, therefore, the electronic device control method of the embodiment of the present application, according to the size of the traffic transmitted by the first master set communication module 130 and the second master set communication module 140, a better radiator may be selected for the first major set communication module 130 to be electrically connected thereto, a better radiator may be selected for the second major set communication module 140 to be electrically connected thereto, the current mode of operation of the electronic device 400 and the radiation performance of the antenna radiator may be taken into account as a whole.
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 410, the processor 410 executes the method for implementing electronic device control according to any of the above embodiments. It is understood that the functions of the processor 410 can be referred to the processor 410 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 420 (ROM), a Random Access Memory 420 (RAM), a magnetic or optical disk, and 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, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

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 first master set communication module and a second master set communication module, wherein the first master set communication module is used for providing a first excitation signal, and the second master set communication module is used for providing a second excitation signal; the electronic equipment control method comprises the following steps:
acquiring a first data flow of the first master set communication module for transmitting the first excitation signal within a preset time;
acquiring a second data flow of the second excitation signal transmitted by the second master set communication module within the preset time;
and determining the master set communication module with larger data traffic as a target master set communication module, and controlling the target master set communication module to be conducted with a radiator with better radiation performance in the first radiator and the second radiator so as to transmit an excitation signal corresponding to the target master set communication module.
2. The method according to claim 1, wherein the determining the master set communication module with the larger data traffic as a target master set communication module, and controlling the target master set communication module to be conducted with a radiator with better radiation performance in the first radiator and the second radiator comprises:
judging whether the first data flow is larger than the second data flow;
if so, determining that the target master set communication module is the first master set communication module, and continuously acquiring a first signal strength when the first radiator transmits the first excitation signal and a second signal strength when the second radiator transmits the first excitation signal;
when the first signal strength is greater than the second signal strength, controlling the first master set communication module to be conducted with the first radiator, and controlling the second master set communication module to be conducted with the second radiator;
and when the first signal strength is not greater than the second signal strength, controlling the conduction of the first master set communication module and the second radiator, and controlling the conduction of the second master set communication module and the first radiator.
3. The electronic device control method according to claim 2, wherein after determining whether the first data traffic is greater than the second data traffic, further comprising:
if not, determining that the target master set communication module is the second master set communication module, continuously acquiring a third signal strength when the first radiator transmits the second excitation signal, and acquiring a fourth signal strength when the second radiator transmits the second excitation signal;
when the third signal strength is greater than the fourth signal strength, controlling the second master set communication module to be conducted with the first radiator, and controlling the first master set communication module to be conducted with the second radiator;
and when the third signal strength is not greater than the fourth signal strength, controlling the second master set communication module to be conducted with the second radiator, and controlling the first master set communication module to be conducted with the first radiator.
4. The electronic device control method according to claim 1, further comprising:
acquiring first signal strength of the first radiator when the first excitation signal is transmitted;
acquiring second signal intensity when the first excitation signal is transmitted by the second radiator;
acquiring a third signal intensity when the first radiator transmits the second excitation signal;
acquiring fourth signal intensity when the second emitter transmits the second excitation signal;
the determining the master set communication module with the larger data traffic as a target master set communication module, and controlling the target master set communication module to be conducted with a radiator with better radiation performance in the first radiator and the second radiator, includes:
when the first data traffic is greater than the second data traffic and the first signal strength is greater than the second signal strength, or when the first data traffic is not greater than the second data traffic and the third signal strength is not greater than the fourth signal strength, controlling the first master set communication module to be conducted with the first radiator and controlling the second master set communication module to be conducted with the second radiator;
when the first data traffic is greater than the second data traffic and the first signal strength is not greater than the second signal strength, or when the first data traffic is not greater than the second data traffic and the third signal strength is greater than the fourth signal strength, controlling the first master set communication module to be conducted with the second radiator and controlling the second master set communication module to be conducted with the first radiator.
5. The electronic device control method according to claim 3 or 4, wherein the electronic device further comprises a first diversity communication module for receiving the first excitation signal, the first diversity communication module being connected in parallel with the second main set communication module and forming a first whole;
acquiring a first signal strength when the first radiator transmits the first excitation signal, and acquiring a third signal strength when the first radiator transmits the second excitation signal, including:
and controlling the first whole to be electrically connected with the first radiator so as to obtain the first signal intensity and the third signal intensity.
6. The method of claim 5, wherein obtaining a second signal strength when the second radiator transmits the first excitation signal and obtaining a fourth signal strength when the second radiator transmits the second excitation signal comprises:
and controlling the first whole to be electrically connected with the second radiator so as to obtain the second signal intensity and the fourth signal intensity.
7. The electronic device control method according to claim 3 or 4, wherein the electronic device further comprises a second diversity communication module for receiving the second excitation signal, the second diversity communication module being connected in parallel with the first main set communication module and forming a second whole;
acquiring a first signal strength when the first radiator transmits the first excitation signal, and acquiring a third signal strength when the first radiator transmits the second excitation signal, including:
and controlling the second whole to be electrically connected with the first radiator so as to obtain the first signal intensity and the second signal intensity.
8. The method of claim 7, wherein obtaining a second signal strength when the second radiator transmits the first excitation signal and obtaining a fourth signal strength when the second radiator transmits the second excitation signal comprises:
and controlling the second whole to be electrically connected with the second radiator so as to obtain the second signal intensity and the fourth signal intensity.
9. The electronic device control method according to claim 1, further comprising:
the first data traffic is periodically acquired, the second data traffic is acquired, the target master set communication module is determined, and the conduction of the target master set communication module and a radiator with better radiation performance in the first radiator and the second radiator is controlled.
10. 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 master set communication module and a second master set communication module, the first master set communication module is configured to provide a first excitation signal, and the second master set communication module is configured to provide a second excitation signal; the electronic device control apparatus includes:
the first flow acquiring module is used for acquiring first data flow of the first excitation signal transmitted by the first master set communication module within a preset time length;
a second traffic obtaining module, configured to obtain a second data traffic of the second excitation signal transmitted by the second master set communication module within the preset time period; and
and the control module is used for determining the master set communication module with larger data traffic as a target master set communication module and controlling the target master set communication module to be conducted with a radiator with better radiation performance in the first radiator and the second radiator so as to transmit an excitation signal corresponding to the target master set communication module.
11. The electronic device control apparatus of claim 10, wherein the control module is further configured to:
judging whether the first data flow is larger than the second data flow;
if so, determining that the target master set communication module is the first master set communication module, and continuously acquiring a first signal strength when the first radiator transmits the first excitation signal and a second signal strength when the second radiator transmits the first excitation signal;
when the first signal strength is greater than the second signal strength, controlling the first master set communication module to be conducted with the first radiator, and controlling the second master set communication module to be conducted with the second radiator;
and when the first signal strength is not greater than the second signal strength, controlling the conduction of the first master set communication module and the second radiator, and controlling the conduction of the second master set communication module and the first radiator.
12. The electronic device control apparatus of claim 11, wherein after determining whether the first data traffic is greater than the second data traffic, the control module is further configured to: if not, determining that the target master set communication module is the second master set communication module, continuously acquiring a third signal strength when the first radiator transmits the second excitation signal, and acquiring a fourth signal strength when the second radiator transmits the second excitation signal;
when the third signal strength is greater than the fourth signal strength, controlling the second master set communication module to be conducted with the first radiator, and controlling the first master set communication module to be conducted with the second radiator;
and when the third signal strength is not greater than the fourth signal strength, controlling the second master set communication module to be conducted with the second radiator, and controlling the first master set communication module to be conducted with the first radiator.
13. A computer-readable storage medium on which a computer program is stored, which, when run on a processor, causes the processor to execute the electronic device control method according to any one of claims 1 to 9.
14. 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 9.
CN202011233355.7A 2020-11-06 2020-11-06 Electronic device control method, electronic device control device, storage medium and electronic device Active CN112367097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011233355.7A CN112367097B (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
CN202011233355.7A CN112367097B (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
CN112367097A CN112367097A (en) 2021-02-12
CN112367097B true CN112367097B (en) 2022-04-01

Family

ID=74509746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011233355.7A Active CN112367097B (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) CN112367097B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436610A (en) * 2011-12-13 2012-05-02 无锡互惠信息技术有限公司 Data center intelligent management system based on radio frequency identification and method thereof
CN102709712A (en) * 2012-06-20 2012-10-03 上海东洲罗顿通信技术有限公司 Dual-polarization indoor omni-directional ceiling antenna of long-term evolution mobile communication system
CN102750573A (en) * 2012-06-01 2012-10-24 北京物资学院 Radio frequency identification device (RFID) system for measuring flow volume and flow velocity and method for measuring flow volume and flow velocity of system
CN104469849A (en) * 2014-11-19 2015-03-25 南京邮电大学 Dynamic flow distribution method based on intelligent antenna in small base station network
CN106954241A (en) * 2016-01-06 2017-07-14 中国移动通信集团公司 The changing method and device of reception antenna number in a kind of multi-antenna terminal
CN111654316A (en) * 2020-05-22 2020-09-11 Oppo广东移动通信有限公司 Antenna switching method and device, storage medium and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102447191B1 (en) * 2016-02-17 2022-09-26 삼성전자 주식회사 Electronic device including antenna

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436610A (en) * 2011-12-13 2012-05-02 无锡互惠信息技术有限公司 Data center intelligent management system based on radio frequency identification and method thereof
CN102750573A (en) * 2012-06-01 2012-10-24 北京物资学院 Radio frequency identification device (RFID) system for measuring flow volume and flow velocity and method for measuring flow volume and flow velocity of system
CN102709712A (en) * 2012-06-20 2012-10-03 上海东洲罗顿通信技术有限公司 Dual-polarization indoor omni-directional ceiling antenna of long-term evolution mobile communication system
CN104469849A (en) * 2014-11-19 2015-03-25 南京邮电大学 Dynamic flow distribution method based on intelligent antenna in small base station network
CN106954241A (en) * 2016-01-06 2017-07-14 中国移动通信集团公司 The changing method and device of reception antenna number in a kind of multi-antenna terminal
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
CN112367097A (en) 2021-02-12

Similar Documents

Publication Publication Date Title
KR20210034270A (en) Electronic device for determinig path of line of sight(los) and method for the same
EP2974458B1 (en) Intelligent beaconing by software-enabled access point
EP3633880B1 (en) Radio frequency interference processing method and electronic device
CN112640328B (en) Method and electronic device for forming beam in wireless communication system
EP4243540A1 (en) Electronic device, and method for controlling communication in electronic device supporting heterogeneous communication technologies sharing frequency band
CN108347768B (en) Preamble resource grouping method, preamble selecting method, network device and terminal device
KR102191366B1 (en) Handover method and apparatus of electronic deivce in a wireless communication system
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
KR20190119370A (en) Terminal and controlling method thereof in an wireless communication system
CN114270954A (en) Multiple power class operation
CN112367097B (en) Electronic device control method, electronic device control device, storage medium and electronic device
CN112333771B (en) Electronic device control method, electronic device control device, storage medium and electronic device
CN107659996B (en) Channel access method and equipment
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
CN112886990B (en) Interference elimination method and device and electronic equipment
CN110365357B (en) Signal processing method and device and storage medium
CN110710315B (en) Method for reporting capability of terminal and related product
CN108337718B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN113491167A (en) Communication method, communication system and wireless communication device
KR20210056128A (en) Method for selecting transmission antenna and electonic device
WO2018083869A1 (en) Terminal device, communication system, communication method, and communication program
CN115208438B (en) Antenna control method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant