CN114615376A - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN114615376A
CN114615376A CN202210281804.8A CN202210281804A CN114615376A CN 114615376 A CN114615376 A CN 114615376A CN 202210281804 A CN202210281804 A CN 202210281804A CN 114615376 A CN114615376 A CN 114615376A
Authority
CN
China
Prior art keywords
antenna
communication network
electronic device
switch
currently used
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210281804.8A
Other languages
Chinese (zh)
Inventor
丁宁
林辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202210281804.8A priority Critical patent/CN114615376A/en
Publication of CN114615376A publication Critical patent/CN114615376A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • H04B7/0805Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with single receiver and antenna switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/165Performing reselection for specific purposes for reducing network power consumption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a control method and an electronic device, the method determines the device posture of the electronic device and the currently used communication network, and switches an antenna component of the currently used communication network from a first antenna to a second antenna at least based on the device posture of the electronic device and the currently used communication network satisfying preset association conditions, wherein the signal quality of the second antenna at the communication network is higher than that of the first antenna at the communication network. According to the method and the device, the antenna signal condition of the communication network currently used by the electronic equipment is judged/identified through the equipment posture of the electronic equipment and the association condition of the communication network currently used, and the antenna assembly of the communication network currently used is switched based on the corresponding judgment/identification result, so that the problem that the antenna signal of the communication network is poor due to the fact that the hand or other parts of the body of a user are in contact with or close to the terminal is solved, and the influence on the antenna signal is avoided.

Description

Control method and electronic equipment
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a control method and an electronic device.
Background
When a user uses a portable terminal such as a mobile phone or a tablet personal computer, the user often contacts or approaches the terminal with his or her hand or other body part. The contact or the approach of the hand or other parts of the body with the terminal is easy to generate the shielding to the terminal antenna, and correspondingly, the antenna signal is deteriorated, thereby affecting the data transmission rate or the transmission quality of the antenna.
Disclosure of Invention
Therefore, the application discloses the following technical scheme:
a control method, comprising:
determining a device pose of an electronic device;
determining a communication network currently used by the electronic equipment;
switching an antenna assembly of a currently used communication network from a first antenna to a second antenna based on at least that a device attitude of the electronic device and the currently used communication network satisfy a preset association condition;
wherein the signal quality of the second antenna currently in the communication network is higher than the signal quality of the first antenna currently in the communication network.
Optionally, the relative position of the first antenna and the second antenna satisfies a position condition.
Optionally, the determining the device posture of the electronic device includes:
determining a current screen mode of the electronic device as the device posture based on posture information of the electronic device.
Optionally, the switching, based on at least that the device posture of the electronic device and the used communication network satisfy a preset association condition, an antenna assembly of the currently used communication network from a first antenna to a second antenna includes:
and switching an antenna assembly of the communication network currently used by the electronic equipment from a first antenna to a second antenna based on that the equipment attitude of the electronic equipment and the currently used communication network meet preset association conditions and the current service scene of the electronic equipment meets scene conditions.
Optionally, the device posture of the electronic device and the currently used communication network meet a preset association condition, including:
the electronic equipment is in a target equipment posture, and a first antenna used by the communication network at present is in a preset position under the target equipment posture;
wherein the signal quality of the first antenna at the preset position is lower than the signal quality of the first antenna at the other positions except the preset position.
Optionally, the current service scenario of the electronic device satisfies a scenario condition, including:
and at least not carrying out the communication service which needs to meet the real-time condition by the electronic equipment in a preset time period.
Optionally, the communication network includes a first signal path corresponding to the first antenna and a second signal path corresponding to the second antenna; switching an antenna assembly of a currently used communication network from a first antenna to a second antenna, comprising:
switching the communication network from the first signal path to the second signal path.
Optionally, the first signal path includes a first switch, and the second signal path includes the first switch and a second switch; or, the first signal path includes the first switch and the second switch, and the second signal path includes the first switch; the first switch comprises a first input end, a first output end and a second output end, and the second switch comprises a third input end and a third output end;
the first signal path is a path sequentially composed of a first input end and a first output end of the first switch, and the second signal path is a path sequentially composed of a first input end and a second output end of the first switch, and a third input end and a third output end of the second switch;
or, the first signal path is a path sequentially composed of the first input end and the second output end of the first switch and the third input end and the third output end of the second switch, and the second signal path is a path sequentially composed of the first input end and the first output end of the first switch.
Optionally, the switching the communication network from the first signal path to the second signal path includes:
and sending a switching instruction to the first switch so that the first switch switches the switching state of the first switch based on the switching instruction, and gating the second signal path based on the switched switching state.
An electronic device, comprising:
an antenna assembly including at least a first antenna and a second antenna;
a memory for storing at least one set of instructions;
a processor for calling and executing said set of instructions in said memory, said control method as described in any of the above being implemented by executing said set of instructions.
According to the scheme, the control method and the electronic device determine the device posture of the electronic device and the currently used communication network, and switch the antenna assembly of the currently used communication network from the first antenna to the second antenna based on at least that the device posture of the electronic device and the currently used communication network meet the preset association condition, wherein the signal quality of the second antenna on the communication network is higher than that of the first antenna on the communication network.
According to the antenna signal condition of the communication network currently used by the electronic equipment is judged/identified through the equipment posture of the electronic equipment and the association condition of the communication network currently used, and the antenna assembly of the communication network currently used is switched based on the corresponding judgment/identification result, so that the problem that the antenna signal of the communication network is deteriorated due to the contact or the approach of the hand or other parts of the body of a user with the terminal is solved, the influence on the antenna signal is avoided, and the data transmission rate and the data transmission quality of the communication network currently used by the electronic equipment are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a control method provided herein;
fig. 2(a) and 2(b) are schematic diagrams of preset orientations set in association conditions in a landscape mode and a portrait mode, respectively, provided by the present application;
FIG. 3 is a schematic diagram of an antenna layout of an electronic device provided herein;
FIG. 4 is a diagram of a signal path of a corresponding communication network of an electronic device provided in the present application;
fig. 5 is a control flow chart of antenna switching in a default state provided in the present application;
fig. 6 is a control flow chart of antenna switching in the switching state provided in the present application;
fig. 7 is a structural diagram of the electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a control method and electronic equipment, which are used for improving an antenna signal of a communication network currently used by electronic equipment and ensuring the data transmission rate and quality of the communication network currently used by the electronic equipment by performing antenna component switching control (whether to switch and switching processing in a switching situation) on the communication network currently used by the electronic equipment according to at least the equipment posture of the electronic equipment and the association situation of the communication network currently used by the electronic equipment.
The control method can be applied to electronic equipment which is provided with an antenna assembly and can be used for providing a communication function, and the electronic equipment which is applied to the method can be specifically but not limited to equipment in a plurality of general or special computing device environments or configurations which are provided with the antenna assembly, for example: personal computers, server computers, hand-held or portable devices, tablet-type devices, AR/VR devices, multi-processor devices, and the like.
As shown in fig. 1, a processing procedure of the control method disclosed in the embodiment of the present application at least includes:
step 101, determining the equipment posture of the electronic equipment.
The electronic device, i.e. the device to which the method of the present application is applied, may be specifically, but not limited to, any one of the above-mentioned types of devices.
In this embodiment, the device posture of the electronic device includes a screen mode of the electronic device, and optionally, the screen mode of the electronic device is further divided into a landscape screen mode and a portrait screen mode, where the landscape screen mode is a mode in which long sides of the electronic device (e.g., two long sides of a smartphone) are located in a horizontal direction or a direction close to the horizontal direction, and the portrait screen mode is a mode in which short sides of the electronic device (e.g., two short sides of the smartphone) are located in the horizontal direction or the direction close to the horizontal direction.
The nearly horizontal direction is defined as the angle between the corresponding side (long side or short side) of the electronic device and the horizontal direction does not exceed a set angle value.
Specifically, but not limited to, an attitude sensing device such as a gyroscope and/or a gravity sensor may be set in the electronic device in advance, the attitude information of the electronic device is collected through the set attitude sensing device, and then the current screen mode of the electronic device is determined according to the collected attitude information. For example, according to data such as acceleration, angular velocity, and attitude angle of the smartphone collected by the gyroscope, whether the smartphone is currently in the portrait mode or the landscape mode is identified, and the determined screen mode is used as the current device attitude of the electronic device.
Step 102, determining a communication network currently used by the electronic equipment.
Various types of Communication modules are generally included in the electronic device, such as a Wi-Fi module, a 4G (4 generation Mobile Communication Technology, fourth generation Mobile Communication Technology), a 5G Communication module, and the like, and in correspondence with this, various types of Communication networks can be used by the electronic device, including but not limited to a Wi-Fi network, a 4G/5G Mobile network, and the like, wherein the electronic device generally uses only one type of Communication network at each specific moment of communicating through the Communication network.
In the present application, in addition to determining the current device posture of the electronic device, a communication network currently used by the electronic device is also determined, and the determination order of the two may be arbitrary or may also be determined simultaneously, which is not limited in this respect.
Specifically, but not limited to, network configuration information and/or network connection information of different communication networks of the electronic device may be obtained, and according to the obtained network configuration information and/or network connection information, which type of communication network the electronic device specifically uses at present is determined. For example, according to the configuration information of whether the Wi-Fi network and the 4G/5G mobile network are started on the electronic device and/or the connection information of whether the electronic device is connected with the Wi-Fi network and the 4G/5G mobile network, whether the communication network currently used by the electronic device is the Wi-Fi network or the 4G/5G mobile network is determined.
And 103, determining whether the equipment posture of the electronic equipment and the currently used communication network meet preset association conditions.
After determining the device posture of the electronic device and the currently used communication network, further determining whether the device posture of the electronic device and the currently used communication network meet preset association conditions.
The association condition is a condition that can be used for representing that an antenna currently adopted by a currently used communication network is shielded by a corresponding body part of a user and then antenna signals are deteriorated. Optionally, the association condition may be specifically set as: the electronic equipment is in the posture of the target equipment, and a communication network currently used by the electronic equipment is in a preset position under the posture of the target equipment by a first antenna currently adopted by the electronic equipment.
And the signal quality of the first antenna at the preset position is lower than the signal quality of the first antenna at the other positions except the preset position.
The target device posture can be in a horizontal screen mode and/or a vertical screen mode of the electronic device, when the electronic device is in the horizontal screen mode or the vertical screen mode, a side (such as a long side at the lower part of the device in the horizontal screen mode or a short side at the lower part of the device in the vertical screen mode) at the lower part of the electronic device is easily shielded by a hand of a user or even shielded by a body part of the user due to holding or operation of the hand of the user, so that the antenna signal set at the position is deteriorated, and aiming at the characteristic, the preset position is set as: the edge below the electronic device corresponds to the orientation on the electronic device.
Accordingly, for the case that the target device posture is in the landscape mode and/or the portrait mode of the electronic device, with reference to fig. 2(a) and fig. 2(b), the above-mentioned association condition may be set as the following condition one and/or condition two, respectively:
the first condition is as follows: the electronic equipment is in a transverse screen mode, and a communication network currently used by the electronic equipment is located at a position corresponding to a long edge below the equipment at a first antenna currently adopted by the electronic equipment;
and a second condition: the electronic equipment is in a vertical screen mode, and a communication network currently used by the electronic equipment is located at a position corresponding to a short edge below the equipment at a currently adopted first antenna.
In practical applications, the above-mentioned association condition may be set as the first condition, the second condition, or both the first condition and the second condition according to the layout positions of the antennas on the electronic device.
Accordingly, whether the device posture of the electronic device and the currently used communication network meet the association condition can be determined by judging whether the device posture of the electronic device and the currently used communication network meet the condition one or the condition two according to the association condition setting condition. And if the association condition includes both the first condition and the second condition, and the device posture of the electronic device and the currently used communication network satisfy either one of the first condition and the second condition, determining that the association condition is satisfied.
And 104, switching the antenna assembly of the currently used communication network from the first antenna to the second antenna at least based on the device posture of the electronic device and the condition that the currently used communication network meets the preset association condition.
If the device posture of the electronic device and the currently used communication network meet the association condition, such as meeting the condition one or meeting the condition two, the first antenna currently adopted by the currently used communication network of the electronic device is characterized to be in the position of the side below the device in the target device posture (landscape mode or portrait mode), and the position can be/is easily blocked by the hand or other parts of the body of the user, so that the antenna signal is deteriorated, and therefore, for the condition, the antenna component of the currently used communication network of the electronic device is switched from the first antenna to the second antenna at least based on the device posture of the electronic device and the currently used communication network meeting the association condition. Otherwise, if the device posture of the electronic device and the currently used communication network do not meet the association condition, the antenna switching is not performed on the currently used communication network of the electronic device.
Wherein the signal quality of the second antenna currently in the communication network (i.e. the communication network currently used by the electronic device) is higher than the signal quality of the first antenna currently in the communication network. That is to say, the antenna assembly actually used by the communication network currently used by the electronic device is switched from the current first antenna to the second antenna with higher signal quality, so as to avoid the data transmission rate or transmission quality of the communication network currently used by the electronic device being affected by the deterioration of the signal of the first antenna.
The replaced first antenna may be one antenna or multiple antennas of multiple antennas actually used by a communication network currently used by the electronic device, for example, one antenna of two antennas used by a Wi-Fi network, and the like, which is not limited to this, and similarly, the number of the second antennas used to replace the first antenna may also be one or more, specifically, one or more antennas that can be used to replace the first antenna in the communication network so as to improve the antenna signal quality of the communication network.
And the relative position of the first antenna and the second antenna on the electronic device meets the position condition, and the position condition at least can ensure that the first antenna and the second antenna cannot cause the simultaneous signal quality deterioration due to the shielding of hands or other body parts of a user.
In combination with the scene features of holding or operating the electronic device by the user in the landscape mode or the portrait mode of the electronic device, the position condition may be set to any one of the following conditions:
and (3) performing a third condition: the first antenna and the second antenna are respectively positioned at the corresponding positions of different sides of the electronic equipment;
for example, the first antenna and the second antenna are respectively located on adjacent sides of the electronic device, or within a preset distance range near the adjacent sides, or respectively located on opposite sides of the electronic device, or within a preset distance range near the opposite sides.
And a fourth condition: the first antenna and the second antenna are respectively located at different vertexes of the same diagonal line of the electronic device, or respectively located at positions close to the different vertexes of the same diagonal line of the electronic device.
Here, "proximity" of the antenna to the corresponding vertex is defined as the distance between the antenna and the corresponding vertex being less than a set distance threshold.
In practical applications, the above location condition may be set as condition three or condition four, in combination with the support of each antenna on the electronic device to different communication networks (i.e., whether a certain antenna can be used by a communication network), and the actual layout location of each antenna on the electronic device.
In one embodiment, the step 103 can be further implemented as: and switching the antenna assembly of the currently used communication network from the first antenna to the second antenna based on the condition that the equipment posture of the electronic equipment and the currently used communication network meet the preset association condition. That is, the antenna switching is performed on the communication network currently used by the electronic device directly in response to the device attitude of the electronic device and the communication network currently used satisfying the association condition.
The following are exemplified:
referring to the antenna layout diagram of the electronic device shown in fig. 3, 7 antennas from ANT0 to ANT7 are respectively disposed at different positions of the electronic device, where ANT5 is an antenna adopted by default in a chanel0 channel of a Wi-Fi network (the Wi-Fi network includes two chanels 0 and a chanel1, each chanel corresponds to one antenna), and ANT7 is a DRX Mimo antenna of 4G LTE or a DRX antenna of 5G NR, that is, LTE and NR may share ANT 7. ANT5 and ANT7 are located on the electronic device near different vertices on the same diagonal, respectively, and the electronic device supports the use of ANT7 by Wi-Fi networks and ANT5 by LTE/NR networks.
When the electronic device is in a landscape mode, the first long edge is located below, and the Wi-Fi network currently used by the electronic device adopts ANT5, the device posture of the electronic device and the currently used communication network meet the above-mentioned association condition (specifically meet condition one), for this condition, ANT5 is determined as a first antenna to be replaced, ANT7 is determined as a second antenna for replacing ANT5, and the antenna currently used by the Wi-Fi network is switched from ANT5 to ANT7, so that the antenna adopted by the Wi-Fi network is prevented from being shielded in the landscape mode, and the signal quality of the Wi-Fi network is ensured; similarly, when the electronic device is in the landscape mode, the second long side is located below, and the NR network currently used by the electronic device employs ANT7, the device posture of the electronic device and the currently used communication network satisfy the association condition (also satisfy condition one), in this case, ANT5 is determined as the second antenna for replacing ANT7, and the antenna currently used by the NR network is switched from ANT7 to ANT5, so as to avoid shielding the antenna employed by the NR network in the landscape mode, and ensure the signal quality of the NR network.
The substitution of ANT5 and ANT7 is merely an example, and is not limited to ANT5 and ANT7, and may be a switch between ANT1 and ANT2, or may include a substitution of any one antenna among 7 antennas ANT0 to ANT7 with another antenna that satisfies a position condition.
In other embodiments, step 103 may also be implemented as: based on that the equipment posture of the electronic equipment and the currently used communication network meet preset association conditions and the current service scene of the electronic equipment meets scene conditions, an antenna assembly of the currently used communication network of the electronic equipment is switched from the first antenna to the second antenna.
In addition to using the association condition (whether the association condition is satisfied) between the device posture of the electronic device and the currently used communication network as the criterion for determining whether the antenna of the currently used communication network is switched, the embodiment also refers to the current service scene of the electronic device to determine whether the current service scene of the electronic device satisfies the scene condition, and at the same time, uses the current service scene as the criterion.
Optionally, in this embodiment, the scene conditions that the current service scene of the electronic device needs to satisfy are set as: the electronic device at least does not currently perform a communication service that needs to satisfy a real-time condition.
The electronic device does not currently perform at least the communication service that needs to satisfy the real-time condition, which may be, but is not limited to, that the electronic device does not currently perform the communication service that needs to satisfy the real-time condition, or that the electronic device is currently in a bright screen state and does not perform the communication service that needs to satisfy the real-time condition, without limitation. The communication service satisfying the real-time condition includes, but is not limited to, a voice call service, such as volte (voice over lte) service.
In this embodiment, if the device posture of the electronic device and the currently used communication network satisfy the association condition, the antenna switching is performed on the currently used communication network of the electronic device only when the electronic device currently does not perform at least the communication service that needs to satisfy the real-time condition (e.g., the electronic device is currently in a bright screen state and does not perform a voice call), otherwise, if the electronic device is currently performing the communication service that needs to satisfy the real-time condition, such as performing the voice call, the antenna switching is not performed, so as to avoid the problem that the communication real-time performance is affected due to the call interruption or call delay caused by the antenna switching.
Based on any of the above embodiments, the antenna assembly of the communication network currently used by the electronic device is switched from the first antenna to the second antenna with higher signal quality, so that the antenna assembly of the currently used communication network is prevented from being blocked by the hand or other parts of the body of the user, the signal quality of the used antenna is ensured, and the data transmission rate and quality of the communication network are correspondingly ensured.
According to the scheme, the method of the embodiment determines the device posture of the electronic device and the currently used communication network, and switches the antenna assembly of the currently used communication network from the first antenna to the second antenna based on at least that the device posture of the electronic device and the currently used communication network meet the preset association condition, wherein the signal quality of the second antenna currently on the communication network is higher than that of the first antenna currently on the communication network.
According to the antenna signal condition of the communication network currently used by the electronic equipment is judged/identified through the equipment posture of the electronic equipment and the association condition of the communication network currently used, and the antenna assembly of the communication network currently used is switched based on the corresponding judgment/identification result, so that the problem that the antenna signal of the communication network is deteriorated due to the contact or the approach of the hand or other parts of the body of a user with the terminal is solved, the influence on the antenna signal is avoided, and the data transmission rate and the data transmission quality of the communication network currently used by the electronic equipment are improved.
In an embodiment, preferably, the scene conditions that need to be satisfied by the current service scene of the electronic device are further set as:
the electronic equipment at least does not currently perform communication service which needs to meet the real-time condition within the preset time period.
Optionally, based on the above scenario condition, a "Double Check" mechanism may be specifically used to determine whether to trigger a handover command for instructing to perform antenna handover on a communication network currently used by the electronic device.
In the Double Check "mechanism of this embodiment, if the device posture of the electronic device and the currently used communication network satisfy the association condition, and the electronic device does not currently perform at least the communication service that needs to satisfy the real-time condition, the timer is started to perform timing for which the timing duration is the preset duration (such as 2s or 3 s), and scene determination is performed again after the timing is completed, if it is still determined that the association condition is satisfied, and the communication service that needs to satisfy the real-time condition is not currently performed at least, a switching instruction for instructing to perform antenna switching on the currently used communication network of the electronic device is triggered, otherwise, the switching instruction is not triggered.
The embodiment judges the scene of the electronic equipment through a Double Check mechanism, can effectively avoid the phenomenon of repeatedly executing antenna switching due to scene misjudgment, and reduces unnecessary antenna switching.
In one embodiment, a communication network (e.g., Wi-Fi, or LTE/NR) currently used by the electronic device includes a first signal path corresponding to the first antenna and a second signal path corresponding to the second antenna.
Accordingly, specifically, the antenna switching of the communication network can be realized by switching the communication network currently used by the electronic device from the first signal path to the second signal path, so that the first antenna used by the communication network is switched to the second antenna.
Further, the first signal path includes a first switch, and the second signal path includes a first switch and a second switch; alternatively, the first signal path includes a first switch and a second switch, and the second signal path includes the first switch.
The first switch includes a first input terminal, a first output terminal, and a second output terminal, and in addition, the first switch may further include a second input terminal. The second switch includes a third input terminal and a third output terminal, and in addition, the second switch may further include a fourth input terminal and a fourth output terminal.
The first signal path is a path sequentially composed of a first input end and a first output end of the first switch, and the second signal path is a path sequentially composed of a first input end and a second output end of the first switch, a third input end and a third output end of the second switch.
Aiming at the condition that the first signal path comprises a first switch and a second switch, the second signal path comprises the first switch, the first signal path is a path sequentially composed of a first input end and a second output end of the first switch and a third input end and a third output end of the second switch, and the second signal path is a path sequentially composed of the first input end and the first output end of the first switch.
The first signal path corresponds to a first antenna currently used by the electronic device, the second signal path corresponds to a second antenna to replace the first antenna, and paths of the first signal path and the second signal path depend on which antenna the first antenna currently used by the electronic device is, for example, ANT5 or ANT7 is the first antenna currently used.
Based on the above-mentioned composition structure of the first signal path and the second signal path, switching the communication network currently used by the electronic device from the first signal path to the second signal path may be further implemented as: and sending a switching instruction to the first switch so that the first switch switches the switching state of the first switch based on the switching instruction, and gating the second signal path based on the switched switching state.
The following is further explained by specific application examples.
As shown in fig. 4, in this example, the communication network that can be used by the electronic device includes Wi-Fi, LTE/NR, the communication network currently used by the electronic device is assumed to be Wi-Fi, and the first antenna currently used by Wi-Fi is assumed to be ANT-5, then the first signal path of the Wi-Fi network includes a first switch, which is specifically U9202 in fig. 4, the second signal path of the Wi-Fi network includes a first switch and a second switch, which is specifically U9419 in fig. 4, and the first switch U9202 includes two input terminals: a first input RF4 and a second input RF3, and two outputs: a first output RF1 and a second output RF 2; u9419 also includes two inputs: a third input RF4 and a fourth input RF3, and two outputs: a third output RF2 and a fourth output RF 1.
In the case where the electronic device currently uses a Wi-Fi network and Wi-Fi currently uses the antenna ANT5, the first signal path (corresponding to the antenna ANT5) and the second signal path (corresponding to the antenna ANT7) are respectively:
WIFI signal- > U9202_ RF4- > U9202_ RF1- > Ant-5;
the WIFI signal- > U9202_ RF4- > U9202_ RF2- > U9419_ RF4- > U9419_ RF2- > Ant-7.
In the case that the first antenna currently used by the Wi-Fi network is ANT-7, the first signal path corresponds to the antenna ANT7, including the first switch U9202 and the second switch U9419, and the second signal path corresponds to the antenna ANT5, including the first switch U9202; the first signal path (corresponding to antenna ANT7) and the second signal path (corresponding to antenna ANT5) are as follows:
WIFI signal- > U9202_ RF4- > U9202_ RF2- > U9419_ RF4- > U9419_ RF2- > Ant-7;
WIFI signal- > U9202_ RF4- > U9202_ RF1- > Ant-5.
It should be noted that, in the above example, the first switch, the second switch, and the respective input end and output end of the switch are determined according to a first antenna (ANT-5 or ANT-7) specifically used by the LTE/NR network currently, for a case that the communication network currently used by the electronic device is an LTE/NR network, with respect to a case that the communication network currently used by the electronic device is a Wi-Fi network, a first signal path corresponding to the first antenna and a first signal path corresponding to the second antenna are determined.
Specifically, if the first antenna currently adopted by the LTE/NR network currently used by the electronic device is ANT7, the first signal path (corresponding to antenna ANT7) and the second signal path (corresponding to antenna ANT5) are respectively:
radio signal- > U9419_ RF3- > U9419_ RF2- > Ant-7;
the Radio signal- > U9419_ RF3- > U9419_ RF1- > U9202_ RF3- > U9202_ RF1- > Ant-5.
On the contrary, if the first antenna currently adopted by the LTE/NR network currently used by the electronic device is ANT-5, the first signal path (corresponding to the antenna ANT5) and the second signal path (corresponding to the antenna ANT7) are as follows:
the Radio signal- > U9419_ RF3- > U9419_ RF1- > U9202_ RF3- > U9202_ RF1- > Ant-5;
the Radio signal- > U9419_ RF3- > U9419_ RF2- > Ant-7.
In an implementation, optionally, when it is determined that antenna switching needs to be performed on a communication network currently used by the electronic device, specifically, a Central Processing Unit (CPU) sends an antenna switching instruction to a predetermined control component, the control component responds to the instruction, and sends a corresponding control signal, such as a General Purpose Input/Output (GPIO) control signal in fig. 4, to a corresponding switch by controlling the Output level (e.g., Output low level or high level), the switch receiving the control signal performs switching of an antenna signal path by controlling the switch state, and switches from a first signal path corresponding to a currently used first antenna to a second signal path corresponding to a second antenna with higher signal quality, so as to correspondingly switch the current communication network from using the first antenna to using the second antenna.
The predetermined control component may be, but is not limited to, a Modem.
An application example of the control method of the present application is further provided below.
In this example, the antenna use states of the communication network of the electronic device include a default state and a switching state, where in the default state, an antenna used by the Wi-Fi network is ANT5, and an antenna used by the LTE/NR network is ANT 7; in the switching state, the antenna used by the Wi-Fi network is ANT7, and the antenna used by the LTE/NR network is ANT 5.
In the default state, referring to fig. 5, the control flow of antenna switching is as follows:
step 501, judging whether the electronic equipment is in a bright screen state currently; if yes, go to step 502, otherwise, maintain the default state of the antenna (i.e., not perform antenna switching);
step 502, determining whether the electronic device is currently performing a voice call service (such as VoLTE voice call), if not, executing step 503, and if so, maintaining a default state of the antenna;
step 503, determining a communication network currently adopted by the electronic device, namely a bearer network of communication data, if the communication network is borne in a Wi-Fi network, executing step 504, and if the communication network is borne in an LTE/NR network, executing step 505;
step 504, determining whether the electronic device is in a landscape mode with the ANT-5 being below, if so, entering step 506, and if not, maintaining the default state of the antenna;
step 505, determining whether the electronic device is in a landscape mode with an ANT-7 being below, if so, entering step 506, and if not, maintaining a default state of the antenna;
and step 506, issuing an antenna switching command, and switching the antenna of the communication network (Wi-Fi or LTE/NR) currently used by the electronic equipment, wherein the antenna using state is correspondingly switched from a default state to a switching state.
Corresponding to the above control flow, the control flow of antenna switching in the switching state is shown in step 601 and 606 of fig. 6, and will not be described in detail here.
Optionally, in other embodiments, an antenna switching control flow of a communication network currently used by the electronic device may also be triggered based on a screen mode change of the electronic device, specifically, when a screen mode of the electronic device is detected to change based on a sensor such as a gyroscope, and if the screen mode changes from a portrait mode to a landscape mode, the communication network currently used by the electronic device and an antenna used by the current communication network are determined, and whether the antenna is located below the electronic device after the screen mode changes is determined (e.g., after the screen mode changes to the landscape mode, whether the antenna is located in a direction corresponding to a long side below the electronic device is determined), if so, an antenna control command is sent to a control component such as a Modem, and the control component such as the Modem drives a corresponding GPIO switch to switch an antenna signal path by controlling a level output of the control component such as the Modem to correspondingly implement antenna switching, so that the currently used communication network is switched from using the first antenna to using the second antenna with higher signal quality.
Corresponding to the above control method, an embodiment of the present application further discloses an electronic device, where a composition structure of the electronic device is shown in fig. 7, and the electronic device specifically includes:
an antenna assembly 10 comprising at least a first antenna and a second antenna;
a memory 20 for storing at least one set of instructions;
wherein the set of computer instructions may be embodied in the form of a computer program.
And the processor 30 is used for calling and executing the instruction set in the memory, and the control method disclosed by any method embodiment is realized by executing the instruction set.
The processor 30 may be a Central Processing Unit (CPU), an application-specific integrated circuit (ASIC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device.
Besides, the electronic device may further include a display device, a camera assembly, a communication interface, a communication bus, and the like. The memory, the processor, the antenna assembly and other components complete communication with each other through the communication interface or the communication bus.
The communication interface is used for communication inside the electronic device or between the electronic device and other devices. The communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like, and may be divided into an address bus, a data bus, a control bus, and the like.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
For convenience of description, the above system or apparatus is described as being divided into various modules or units by function, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
Finally, it is further noted that, herein, relational terms such as first, second, third, fourth, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A control method, comprising:
determining a device pose of the electronic device;
determining a communication network currently used by the electronic equipment;
switching an antenna assembly of a currently used communication network from a first antenna to a second antenna based on at least that a device attitude of the electronic device and the currently used communication network satisfy a preset association condition;
wherein the signal quality of the second antenna currently in the communication network is higher than the signal quality of the first antenna currently in the communication network.
2. The method of claim 1, the relative position of the first antenna and the second antenna satisfies a position condition.
3. The method of claim 1, the determining a device pose of an electronic device, comprising:
determining a current screen mode of the electronic device as the device posture based on posture information of the electronic device.
4. The method of claim 1, the switching antenna components of a currently used communication network from a first antenna to a second antenna based on at least a device attitude of the electronic device and the used communication network satisfying a preset association condition, comprising:
based on that the equipment posture of the electronic equipment and the currently used communication network meet preset association conditions and the current service scene of the electronic equipment meets scene conditions, switching an antenna assembly of the currently used communication network of the electronic equipment from a first antenna to a second antenna.
5. The method of claim 4, wherein the device posture of the electronic device and the currently used communication network meet a preset association condition, comprising:
the electronic equipment is in a target equipment posture, and a first antenna used by the communication network at present is in a preset position under the target equipment posture;
wherein the signal quality of the first antenna at the preset position is lower than the signal quality of the first antenna at the other positions except the preset position.
6. The method of claim 4, wherein the current business scenario of the electronic device satisfies a scenario condition, comprising:
and at least not carrying out the communication service which needs to meet the real-time condition by the electronic equipment in a preset time period.
7. The method of claim 1, the communication network comprising a first signal path corresponding to the first antenna and a second signal path corresponding to the second antenna; switching an antenna assembly of a currently used communication network from a first antenna to a second antenna, comprising:
switching the communication network from the first signal path to the second signal path.
8. The method of claim 7, the first signal path comprising a first switch, the second signal path comprising the first switch and a second switch; or, the first signal path includes the first switch and the second switch, and the second signal path includes the first switch; the first switch comprises a first input end, a first output end and a second output end, and the second switch comprises a third input end and a third output end;
the first signal path is a path sequentially composed of a first input end and a first output end of the first switch, and the second signal path is a path sequentially composed of a first input end and a second output end of the first switch, and a third input end and a third output end of the second switch;
or, the first signal path is a path sequentially composed of the first input end and the second output end of the first switch and the third input end and the third output end of the second switch, and the second signal path is a path sequentially composed of the first input end and the first output end of the first switch.
9. The method of claim 8, the switching the communication network from the first signal path to the second signal path, comprising:
and sending a switching instruction to the first switch so that the first switch switches the switching state of the first switch based on the switching instruction, and gating the second signal path based on the switched switching state.
10. An electronic device, comprising:
an antenna assembly including at least a first antenna and a second antenna;
a memory for storing at least one set of instructions;
a processor for invoking and executing said set of instructions in said memory, said control method of any one of claims 1-9 being implemented by executing said set of instructions.
CN202210281804.8A 2022-03-22 2022-03-22 Control method and electronic equipment Pending CN114615376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210281804.8A CN114615376A (en) 2022-03-22 2022-03-22 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210281804.8A CN114615376A (en) 2022-03-22 2022-03-22 Control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN114615376A true CN114615376A (en) 2022-06-10

Family

ID=81865310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210281804.8A Pending CN114615376A (en) 2022-03-22 2022-03-22 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114615376A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120315851A1 (en) * 2011-06-07 2012-12-13 Samsung Electronics Co. Ltd. Method and apparatus for switching antenna in portable terminal
CN103108414A (en) * 2013-01-07 2013-05-15 华为终端有限公司 Mobile terminal and signal processing method of mobile terminal
CN110225194A (en) * 2019-05-30 2019-09-10 维沃移动通信有限公司 A kind of signal processing circuit, mobile terminal and signal processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120315851A1 (en) * 2011-06-07 2012-12-13 Samsung Electronics Co. Ltd. Method and apparatus for switching antenna in portable terminal
CN103108414A (en) * 2013-01-07 2013-05-15 华为终端有限公司 Mobile terminal and signal processing method of mobile terminal
CN110225194A (en) * 2019-05-30 2019-09-10 维沃移动通信有限公司 A kind of signal processing circuit, mobile terminal and signal processing method

Similar Documents

Publication Publication Date Title
KR102594959B1 (en) Transmitting antenna switching method and terminal equipment
CN111614840B (en) Antenna transmission power adjusting method, device, storage medium and mobile terminal
CN109067418B (en) Antenna control method and mobile terminal
CN108494462B (en) Antenna function control method and device, readable storage medium and intelligent terminal
CN109663353B (en) Game operation method, mobile terminal and computer readable storage medium
CN107483092B (en) Antenna switching method, device and terminal
EP2596436B1 (en) Switched application processor apparatus for cellular devices
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
CN112564871B (en) SRS (sounding reference Signal) round-robin configuration information reporting, configuration, terminal and network equipment
CN111029772B (en) Antenna circuit, electronic device and method for adjusting antenna performance
CN107734586B (en) Antenna switching method and mobile terminal
CN107682035B (en) Antenna switching method, multi-antenna terminal and computer-readable storage medium
JP2021533676A (en) Cell beam failure handling method, mobile communication terminal and network side device
CN108966296B (en) Signal prompting method, mobile terminal and computer readable storage medium
WO2007060734A1 (en) Electronic device, method of controlling electronic device, and electronic device control program
CN109819489B (en) Terminal calling method and terminal
CN109743737B (en) Method, terminal and base station for reducing coexistence interference of multiple networks
CN109923791A (en) Adaptive antenna switching system and switching method and intelligent terminal
CN110290277B (en) Antenna control method and terminal
WO2022166877A1 (en) Wifi uplink data sending method and apparatus, and electronic device and storage medium
CN109217909B (en) Antenna switching method, mobile terminal and computer storage medium
CN108579081B (en) Event processing method, device and computer storage medium based on game
EP3258617B1 (en) Antenna configuration method and terminal
CN114615376A (en) Control method and electronic equipment
CN105722142A (en) Mobile terminal and multilink-based data streaming method

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