CN107040279B - Control method and electronic equipment - Google Patents
Control method and electronic equipment Download PDFInfo
- Publication number
- CN107040279B CN107040279B CN201710124818.8A CN201710124818A CN107040279B CN 107040279 B CN107040279 B CN 107040279B CN 201710124818 A CN201710124818 A CN 201710124818A CN 107040279 B CN107040279 B CN 107040279B
- Authority
- CN
- China
- Prior art keywords
- antenna
- electronic equipment
- posture
- parameter
- communication
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000004891 communication Methods 0.000 claims abstract description 120
- 230000036544 posture Effects 0.000 description 89
- 238000010586 diagram Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 235000017166 Bambusa arundinacea Nutrition 0.000 description 1
- 235000017491 Bambusa tulda Nutrition 0.000 description 1
- 241001330002 Bambuseae Species 0.000 description 1
- 235000015334 Phyllostachys viridis Nutrition 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 239000011425 bamboo Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details 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/38—Transceivers, 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/40—Circuits
- H04B1/401—Circuits for selecting or indicating operating mode
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01Q—ANTENNAS, i.e. RADIO AERIALS
- H01Q1/00—Details of, or arrangements associated with, antennas
- H01Q1/12—Supports; Mounting means
- H01Q1/22—Supports; Mounting means by structural association with other equipment or articles
- H01Q1/24—Supports; Mounting means by structural association with other equipment or articles with receiving set
- H01Q1/241—Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM
- H01Q1/242—Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM specially adapted for hand-held use
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a control method and electronic equipment, wherein the method is applied to the electronic equipment, the electronic equipment comprises a first body and a second body which are connected through a rotating shaft, a first antenna arranged on the first body and a second antenna arranged on the second body, and the method comprises the following steps: acquiring a first parameter, wherein the first parameter represents the position of the first body relative to the second body; determining that the electronic device is in a first pose based on the first parameter; and controlling the electronic equipment to work according to a first communication mode corresponding to the first posture, wherein the first communication mode is a working mode for receiving and transmitting signals through the first antenna and/or the second antenna. The scheme provided by the application solves the problem that in the prior art, different forms of the electronic equipment cause the position of the antenna to send changes, thereby causing the antenna to generate frequency deviation to cause the performance of the antenna to become poor.
Description
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a control method and an electronic device.
Background
The electronic equipment is popular with consumers due to small volume, light weight and convenient carrying, and generally comprises a display screen and a host machine, wherein the display screen can be opened and closed relative to the host machine. With the progress of science and technology, the dependence and the demand of people on electronic equipment are deepened all the time, the traditional electronic equipment is not suitable for being operated at any time, and the limitation on the use environment is reflected. Under the condition, the novel electronic equipment appears in front of people like the bamboo shoots in spring after the rain. For example, a notebook computer has two-in-one split and two-direction flip screens. The two-in-one split mode means that the notebook computer can have a notebook computer shape and a tablet shape, the notebook computer with the screen turned over also keeps the integral shape of the notebook computer, and only the screen and the keyboard can form various angles (namely various modes of the electronic equipment) according to the requirements of users.
For some electronic devices with multiple modes at present (for example, a flip phone, a computer with a flip panel and capable of rotating 0 to 360 degrees or 0 to 360 degrees), the antenna setting position in the existing electronic device does not consider the problem that the same antenna may be blocked in different modes of the electronic device due to various form deformations of the electronic device; in addition, because the position of the antenna changes due to different forms of the electronic device, frequency offset also occurs, which causes the performance of the antenna to be poor and affects the radiation performance of the antenna.
Disclosure of Invention
The embodiment of the invention provides a control method and electronic equipment, which are used for solving the problem that in the prior art, the position of an antenna is changed due to different forms of the electronic equipment, so that the antenna generates frequency deviation and the performance of the antenna is poor.
An aspect of an embodiment of the present application provides an information processing method applied to an electronic device, where the electronic device includes a first body and a second body connected by a rotating shaft, and a first antenna disposed on the first body and a second antenna disposed on the second body, and the method includes:
acquiring a first parameter, wherein the first parameter represents the position of the first body relative to the second body;
determining that the electronic device is in a first pose based on the first parameter;
and controlling the electronic equipment to work according to a first communication mode corresponding to the first posture, wherein the first communication mode is a working mode for receiving and transmitting signals through the first antenna and/or the second antenna.
Optionally, the obtaining the first parameter includes:
acquiring a first parameter representing the size of an included angle between the first body and the second body;
the determining that the electronic device is in a first pose based on the first parameter includes:
determining that the electronic equipment is in a first posture in which an included angle between the first body and the second body belongs to a first included angle range based on the first parameter.
Optionally, the controlling the electronic device to operate according to a first communication mode corresponding to the first posture includes:
when the electronic equipment is in a first posture that an included angle between the first body and the second body is smaller than or equal to a first included angle, controlling the electronic equipment to work according to a first communication mode which corresponds to the first posture and is used for communicating through the first antenna; and/or the presence of a gas in the gas,
when the electronic equipment is in a first posture that an included angle between the first body and the second body is larger than or equal to a second included angle, the electronic equipment is controlled to work according to a first communication mode which corresponds to the first posture and is used for communicating through the second antenna.
Optionally, the obtaining the first parameter includes:
acquiring a first parameter representing a space where the first body and the second body are located relatively;
the determining that the electronic device is in a first pose based on the first parameter includes:
determining that the electronic device is in a first posture in which the direction of the first body relative to the second body is a first direction based on the first parameter.
Optionally, the controlling the electronic device to operate according to a first communication mode corresponding to the first posture includes:
when the electronic equipment is in a first posture that the direction of the first body relative to the second body is upward, controlling the electronic equipment to work according to a first communication mode which corresponds to the first posture and is used for communication through the first antenna; and/or the presence of a gas in the gas,
and when the electronic equipment is in a first posture that the direction of the first body relative to the second body is downward, controlling the electronic equipment to work according to a first communication mode which corresponds to the first posture and is used for communicating through the second antenna.
Optionally, the controlling the electronic device to operate according to a first communication mode of communicating through the first antenna corresponding to the first posture includes:
controlling the communication data volume of the electronic equipment communicated through the first antenna to be larger than or equal to the communication data volume of the electronic equipment communicated through the second antenna; and/or the presence of a gas in the gas,
the data type for controlling the electronic equipment to communicate through the first antenna is a first data type range, and the data type for the electronic equipment to transmit and receive data through the second antenna is a second data type range, wherein the first data type range is different from the second data type range.
Optionally, the controlling the electronic device to operate according to a first communication mode corresponding to the first posture includes:
when the first posture is a preset posture, acquiring a first communication parameter corresponding to the first antenna and a second communication parameter corresponding to the second antenna, wherein the communication parameters are used for representing the data receiving and transmitting working state of the antenna;
and when the first communication parameter and the second communication parameter meet a preset condition, controlling the electronic equipment to work according to a first communication mode corresponding to the preset condition.
In another aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a first body and a second body connected by a rotating shaft, and a first antenna disposed on the first body and a second antenna disposed on the second body, and the electronic device includes:
the acquisition unit is used for acquiring a first parameter, and the first parameter represents the position of the first body relative to the second body;
an attitude determination unit configured to determine that the electronic device is in a first attitude based on the first parameter;
and the control unit is used for controlling the electronic equipment to work according to a first communication mode corresponding to the first posture, wherein the first communication mode is a working mode for receiving and transmitting signals through the first antenna and/or the second antenna.
Optionally, the obtaining unit is specifically configured to obtain a first parameter representing a size of an included angle between the first body and the second body;
the posture determining unit is specifically configured to determine, based on the first parameter, that the electronic device is in a first posture where an included angle between the first body and the second body belongs to a first included angle range.
Optionally, the controlling unit controls the electronic device to operate according to a first communication mode corresponding to the first posture, including:
when the electronic equipment is in a first posture that an included angle between the first body and the second body is smaller than or equal to a first included angle, controlling the electronic equipment to work according to a first communication mode which corresponds to the first posture and is used for communicating through the first antenna; and/or the presence of a gas in the gas,
when the electronic equipment is in a first posture that an included angle between the first body and the second body is larger than or equal to a second included angle, the electronic equipment is controlled to work according to a first communication mode which corresponds to the first posture and is used for communicating through the second antenna.
Optionally, the obtaining unit is specifically configured to obtain a first parameter representing a space in which the first body and the second body are located relatively;
the posture determination unit is specifically configured to determine, based on the first parameter, that the electronic device is in a first posture in which a direction in which the first body is located with respect to the second body is a first direction.
Optionally, the control unit is specifically configured to, when the electronic device is in a first posture in which a direction in which the first body is located with respect to the second body is upward, control the electronic device to operate according to a first communication mode, corresponding to the first posture, in which the electronic device communicates through the first antenna; and/or the presence of a gas in the gas,
and when the electronic equipment is in a first posture that the direction of the first body relative to the second body is downward, controlling the electronic equipment to work according to a first communication mode which corresponds to the first posture and is used for communicating through the second antenna.
Optionally, the controlling unit controls the electronic device to operate according to a first communication mode corresponding to the first posture and communicating through the first antenna, and includes:
controlling the communication data volume of the electronic equipment communicated through the first antenna to be larger than or equal to the communication data volume of the electronic equipment communicated through the second antenna; and/or the presence of a gas in the gas,
the data type for controlling the electronic equipment to communicate through the first antenna is a first data type range, and the data type for the electronic equipment to transmit and receive data through the second antenna is a second data type range, wherein the first data type range is different from the second data type range.
Optionally, the control unit is specifically configured to, when the first posture is a preset posture, acquire a first communication parameter corresponding to the first antenna and a second communication parameter corresponding to the second antenna, where the communication parameters are used to represent a data transceiving working state of the antenna; and when the first communication parameter and the second communication parameter meet a preset condition, controlling the electronic equipment to work according to a first communication mode corresponding to the preset condition.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
1. the technical scheme in the embodiment of the application balances and switches the main diversity antenna according to the form of the mobile product; the antenna with the best antenna performance is the main antenna under different forms of the mobile product, and the antenna with the slightly poor performance is the diversity antenna, so that the risk of the mobile product that the antenna performance is poor due to the adjustment of the form of the mobile product is reduced.
2. The technical scheme in the embodiment of the application also adopts multiple modes to determine the position of the antenna in the electronic equipment, so that the proper antenna can be more accurately selected for communication, and the communication quality of the electronic equipment is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
Fig. 1 is a flowchart of a control method according to an embodiment of the present application;
fig. 2a and fig. 2b are diagrams of a usage scenario of a method according to an embodiment of the present application;
FIG. 3 is a diagram illustrating another exemplary usage scenario of a method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to a second embodiment of the present application.
Detailed Description
The embodiment of the present application provides a control method to solve the above problems in the prior art, and the general idea is as follows:
the method provided by the embodiment of the application is applied to electronic equipment, the electronic equipment comprises a first antenna arranged on a first body and a second antenna arranged on a second body, and the method comprises the following steps:
acquiring a first parameter, wherein the first parameter represents the position of the first body relative to the second body;
determining that the electronic device is in a first pose based on the first parameter;
and controlling the electronic equipment to work according to a first communication mode corresponding to the first posture, wherein the first communication mode is a working mode for receiving and transmitting signals through the first antenna and/or the second antenna.
In the scheme provided by the embodiment of the invention, the antenna used for the communication of the electronic equipment is determined according to the posture of the electronic equipment, so that the antenna with the best antenna performance is the main antenna under different forms of the mobile product, and the antenna with the poorer performance is the diversity antenna, thereby reducing the risk of the mobile product that the antenna performance is poor due to the form adjustment.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the technical solutions of the present invention. All other embodiments obtained by a person skilled in the art without any inventive work based on the embodiments described in the present application are within the scope of the protection of the technical solution of the present invention.
Example one
An embodiment of the present application provides a control method, which is applied to an electronic device, where the electronic device includes a first body and a second body connected by a rotating shaft, and a first antenna disposed on the first body and a second antenna disposed on the second body, as shown in fig. 1, and the method includes:
101, acquiring a first parameter, wherein the first parameter represents the position of the first body relative to the second body;
according to the scheme provided by the embodiment of the application, the proper antenna needs to be determined and selected for communication according to the posture of the electronic equipment, so that the change of the form of the electronic equipment is not influenced on the communication of the electronic equipment, and the acquired first parameter is a parameter capable of determining the posture of the electronic equipment.
Because the positions of the antennas arranged on the first body and the second body can be correspondingly changed when the electronic equipment is in different postures. For example: when the electronic device is in the first posture, the first antenna is not shielded, and when the electronic device is in the second posture (the first body and the second body are folded together), the first antenna may be shielded by the second body. In this case, if communication is performed via the first antenna, a problem arises in that communication quality is degraded. In this embodiment, by determining that the communication quality of the first antenna is degraded in the second posture through the judgment of the postures, the communication antenna is adjusted, so as to reduce the risk that the antenna performance of the mobile product is degraded due to the adjustment of the form.
The first posture is determined based on the first parameter obtained in step 101, so in this embodiment, the posture of the electronic device may be determined in different ways according to the specific type of the first parameter (the first parameter may be an included angle between the first body and the second body, a distance between set positions in the first body and the second body, and other parameters that may determine the posture of the electronic device), and the specific display may be:
the first method is as follows: when the first parameter is an included angle between the first body and the second body, the first posture is determined according to the included angle, and the specific implementation can be that:
a1, acquiring a first parameter representing the size of an included angle between the first body and the second body;
a2, determining that the electronic device is in a first posture in which an included angle between the first body and the second body belongs to a first included angle range based on the first parameter.
In this embodiment, the electronic device is controlled to operate according to a first communication mode corresponding to the first posture according to the posture of the electronic device, and the specific implementation manner may be:
when the electronic equipment is in a first posture in which an included angle between the first body and the second body is smaller than or equal to a first included angle, controlling the electronic equipment to work according to a first communication mode corresponding to the first posture and used for communicating through the first antenna; and/or the presence of a gas in the gas,
and secondly, when the electronic equipment is in a first posture that an included angle between the first body and the second body is larger than or equal to a second included angle, controlling the electronic equipment to work according to a first communication mode which corresponds to the first posture and is used for communicating through the second antenna.
The second method comprises the following steps: when the first parameter is a space where the first body and the second body are located relatively, the first posture is determined according to the first parameter, and the specific implementation may be:
b1, acquiring a first parameter representing a space where the first body and the second body are relatively located;
b2, determining that the electronic equipment is in a first posture in which the direction of the first body relative to the second body is a first direction based on the first parameter.
In this embodiment, the specific implementation manner of controlling the electronic device to operate according to the first communication mode corresponding to the first posture may be:
when the electronic equipment is in a first posture that the direction of the first body relative to the second body is upward, controlling the electronic equipment to work according to a first communication mode which corresponds to the first posture and is used for communicating through the first antenna; and/or the presence of a gas in the gas,
and secondly, when the electronic equipment is in a first posture that the direction of the first body relative to the second body is lower, controlling the electronic equipment to work according to a first communication mode which corresponds to the first posture and carries out communication through the second antenna.
In the first and second modes, the electronic device is controlled to operate in a first communication mode corresponding to the first posture and communicating via the first antenna, and a specific display mode may be:
controlling the electronic equipment to communicate through the first antenna by the communication data amount which is larger than or equal to the communication data amount communicated through the second antenna; and/or the presence of a gas in the gas,
the data type for controlling the electronic equipment to communicate through the first antenna is a first data type range, and the data type for the electronic equipment to transmit and receive data through the second antenna is a second data type range, wherein the first data type range is different from the second data type range.
After the electronic device is determined to be in a specific posture, the communication parameters of the antennas can be directly acquired, and then which antenna to use for communication is determined according to the communication parameters of the antennas, and the electronic device is controlled to operate according to a first communication mode corresponding to the first posture, wherein the specific implementation manner may be:
when the first posture is a preset posture, acquiring a first communication parameter corresponding to the first antenna and a second communication parameter corresponding to the second antenna, wherein the communication parameters are used for representing the data receiving and transmitting working state of the antenna;
and when the first communication parameter and the second communication parameter meet a preset condition, controlling the electronic equipment to work according to a first communication mode corresponding to the preset condition.
The following specifically describes the use of the scheme provided in the embodiment of the present application with reference to specific examples, which may specifically be:
an electronic device as shown in fig. 2a and 2b, the electronic device comprising: the keyboard comprises an A side of an upturning shell, a B side of a screen (namely two sides of a first body of the electronic equipment), and a C side of a downturning keyboard and a D side of a shell (namely two sides of a second body of the electronic equipment).
The LTE main set antenna and the diversity antenna of the electronic device are respectively disposed at two positions indicated bY an X frame and a bY frame in fig. 2 a: when the posture of the electronic equipment is in a Closed state, the LTE antenna arranged on the B surface is shielded by the lower flip cover, so that the electromagnetic energy radiated by the antenna is weakened, and on the other hand, due to the change of the antenna medium environment, the antenna can generate frequency deviation, so that the performance of the antenna II arranged in the X frame of the B surface is rapidly deteriorated and the performance of the antenna II is poorer than that of the LTE antenna I arranged in the Y frame of the A surface;
in the solution provided in the embodiment of the present application, it can be determined that the electronic device is in a Closed state by determining the postures of the first body and the second body of the electronic device, and then the LTE antenna i arranged on the a plane can be selected as the LTE master antenna, and the LTE antenna ii arranged on the B plane can be selected as the LTE diversity antenna.
When the electronic equipment is in a 360-degree PAD mode, the LTE antenna arranged on the A surface is shielded by the lower flip cover, the electromagnetic energy radiated by the antenna is weakened, on the other hand, due to the change of the antenna medium environment, the antenna can generate frequency deviation, the two points simultaneously result in that the performance of the antenna arranged on the B surface is sharp and is poorer than that of the LTE antenna arranged on the A surface, at the moment, the LTE antenna II arranged on the B surface can be selected as an LTE master antenna and the LTE antenna I arranged on the A surface can be selected as an LTE diversity antenna through the judgment of the posture of the electronic equipment; when the posture of the electronic equipment is in the BOOK mode, the LTE main set antenna with the excellent performance is selected through judgment and comparison, and the LTE diversity antenna is selected as the other antenna.
The scheme provided by the embodiment of the application determines whether the adjustment of the attitude of the electronic equipment can affect the communication quality of the antenna or not by judging the attitude of the electronic equipment, and can adjust the antenna mainly used in communication if the adjustment of the attitude of the electronic equipment has the effect, so that the risk that the performance of the antenna is poor due to the adjustment of the form of the electronic equipment is greatly reduced. The example shown in fig. 2a and 2b is only one practical situation of the antenna arrangement, and does not limit that the scheme provided by the embodiment of the present application can only be applied in this situation, and the scheme provided by the embodiment of the present application can also be applied in the antenna arrangement situation shown in fig. 3, and the antenna position has a plurality of placement positions and selections according to different situations.
Example two
As shown in fig. 4, an embodiment of the present application further provides an electronic device, where the electronic device includes a first body and a second body connected by a rotating shaft, and a first antenna disposed on the first body and a second antenna disposed on the second body, and the electronic device includes:
an obtaining unit 401, configured to obtain a first parameter, where the first parameter represents a position of the first body relative to the second body;
an attitude determination unit 402 configured to determine that the electronic device is in a first attitude based on the first parameter;
a control unit 403, configured to control the electronic device to operate according to a first communication mode corresponding to the first posture, where the first communication mode is an operation mode for performing signal transceiving through the first antenna and/or the second antenna.
Optionally, the obtaining unit is specifically configured to obtain a first parameter representing a size of an included angle between the first body and the second body;
the posture determining unit is specifically configured to determine, based on the first parameter, that the electronic device is in a first posture where an included angle between the first body and the second body belongs to a first included angle range.
Optionally, the controlling unit controls the electronic device to operate according to a first communication mode corresponding to the first posture, including:
when the electronic equipment is in a first posture that an included angle between the first body and the second body is smaller than or equal to a first included angle, controlling the electronic equipment to work according to a first communication mode which corresponds to the first posture and is used for communicating through the first antenna; and/or the presence of a gas in the gas,
when the electronic equipment is in a first posture that an included angle between the first body and the second body is larger than or equal to a second included angle, the electronic equipment is controlled to work according to a first communication mode which corresponds to the first posture and is used for communicating through the second antenna.
Optionally, the obtaining unit is specifically configured to obtain a first parameter representing a space in which the first body and the second body are located relatively;
the posture determination unit is specifically configured to determine, based on the first parameter, that the electronic device is in a first posture in which a direction in which the first body is located with respect to the second body is a first direction.
Optionally, the control unit is specifically configured to, when the electronic device is in a first posture in which a direction in which the first body is located with respect to the second body is upward, control the electronic device to operate according to a first communication mode, corresponding to the first posture, in which the electronic device communicates through the first antenna; and/or the presence of a gas in the gas,
when the electronic equipment is in a first posture that the direction of the first body relative to the second body is lower, the electronic equipment is controlled to work according to a first communication mode corresponding to the first posture and used for communicating through the second antenna
Optionally, the controlling unit controls the electronic device to operate according to a first communication mode corresponding to the first posture and communicating through the first antenna, and includes:
controlling the communication data volume of the electronic equipment communicated through the first antenna to be larger than or equal to the communication data volume of the electronic equipment communicated through the second antenna; and/or the presence of a gas in the gas,
the data type for controlling the electronic equipment to communicate through the first antenna is a first data type range, and the data type for the electronic equipment to transmit and receive data through the second antenna is a second data type range, wherein the first data type range is different from the second data type range.
Optionally, the control unit is specifically configured to, when the first posture is a preset posture, acquire a first communication parameter corresponding to the first antenna and a second communication parameter corresponding to the second antenna, where the communication parameters are used to represent a data transceiving working state of the antenna; and when the first communication parameter and the second communication parameter meet a preset condition, controlling the electronic equipment to work according to a first communication mode corresponding to the preset condition.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
1. the technical scheme in the embodiment of the application balances and switches the main diversity antenna according to the form of the mobile product; the antenna with the best antenna performance is the main antenna under different forms of the mobile product, and the antenna with the slightly poor performance is the diversity antenna, so that the risk of the mobile product that the antenna performance is poor due to the adjustment of the form of the mobile product is reduced.
2. The technical scheme in the embodiment of the application also adopts multiple modes to determine the position of the antenna in the electronic equipment, so that the proper antenna can be more accurately selected for communication, and the communication quality of the electronic equipment is improved.
The computer program instructions disclosed in the first and second embodiments above may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (6)
1. A control method is applied to an electronic device, the electronic device comprises a first body and a second body which are connected through a rotating shaft, and a first antenna arranged on the first body and a second antenna arranged on the second body, the method comprises the following steps:
acquiring a first parameter, wherein the first parameter represents the position of the first body relative to the second body;
determining that the electronic device is in a first pose based on the first parameter;
controlling the electronic equipment to work according to a first communication mode corresponding to the first posture, wherein the first communication mode is a working mode for receiving and transmitting signals through the first antenna and/or the second antenna; wherein,
the acquiring of the first parameter includes:
acquiring a first parameter representing the size of an included angle between the first body and the second body;
the determining that the electronic device is in a first pose based on the first parameter includes:
determining that the electronic equipment is in a first posture in which an included angle between the first body and the second body belongs to a first included angle range based on the first parameter;
the controlling the electronic device to work according to a first communication mode corresponding to the first posture includes: when the first posture is a preset posture, acquiring a first communication parameter corresponding to the first antenna and a second communication parameter corresponding to the second antenna, wherein the communication parameters are used for representing the data receiving and transmitting working state of the antenna; and when the first communication parameter and the second communication parameter meet a preset condition, controlling the electronic equipment to work according to a first communication mode corresponding to the preset condition.
2. The method of claim 1, wherein said controlling the electronic device to operate in a first communication mode corresponding to the first gesture comprises:
when the electronic equipment is in a first posture that an included angle between the first body and the second body is smaller than or equal to a first included angle, controlling the electronic equipment to work according to a first communication mode which corresponds to the first posture and is used for communicating through the first antenna; and/or the presence of a gas in the gas,
when the electronic equipment is in a first posture that an included angle between the first body and the second body is larger than or equal to a second included angle, the electronic equipment is controlled to work according to a first communication mode which corresponds to the first posture and is used for communicating through the second antenna.
3. The method of claim 2, wherein the controlling the electronic device to operate in a first communication mode corresponding to the first gesture for communicating via the first antenna comprises:
controlling the communication data volume of the electronic equipment communicated through the first antenna to be larger than or equal to the communication data volume of the electronic equipment communicated through the second antenna; and/or the presence of a gas in the gas,
the data type for controlling the electronic equipment to communicate through the first antenna is a first data type range, and the data type for the electronic equipment to transmit and receive data through the second antenna is a second data type range, wherein the first data type range is different from the second data type range.
4. An electronic device, the electronic device includes a first body and a second body connected by a rotating shaft, and a first antenna disposed on the first body and a second antenna disposed on the second body, comprising:
the acquisition unit is used for acquiring a first parameter, and the first parameter represents the position of the first body relative to the second body;
an attitude determination unit configured to determine that the electronic device is in a first attitude based on the first parameter;
the control unit is used for controlling the electronic equipment to work according to a first communication mode corresponding to the first posture, wherein the first communication mode is a working mode for receiving and transmitting signals through the first antenna and/or the second antenna; wherein,
the acquiring unit is specifically configured to acquire a first parameter representing a size of an included angle between the first body and the second body;
the posture determining unit is specifically configured to determine, based on the first parameter, that the electronic device is in a first posture where an included angle between the first body and the second body belongs to a first included angle range;
the control unit is specifically configured to, when the first posture is a preset posture, acquire a first communication parameter corresponding to the first antenna and a second communication parameter corresponding to the second antenna, where the communication parameters are used to represent a data transceiving working state of the antenna; and when the first communication parameter and the second communication parameter meet a preset condition, controlling the electronic equipment to work according to a first communication mode corresponding to the preset condition.
5. The electronic device of claim 4, wherein the control unit controls the electronic device to operate in a first communication mode corresponding to the first posture, comprising:
when the electronic equipment is in a first posture that an included angle between the first body and the second body is smaller than or equal to a first included angle, controlling the electronic equipment to work according to a first communication mode which corresponds to the first posture and is used for communicating through the first antenna; and/or the presence of a gas in the gas,
when the electronic equipment is in a first posture that an included angle between the first body and the second body is larger than or equal to a second included angle, the electronic equipment is controlled to work according to a first communication mode which corresponds to the first posture and is used for communicating through the second antenna.
6. The electronic device of claim 5, wherein the control unit controls the electronic device to operate in a first communication mode corresponding to the first posture for communication via the first antenna, comprising:
controlling the communication data volume of the electronic equipment communicated through the first antenna to be larger than or equal to the communication data volume of the electronic equipment communicated through the second antenna; and/or the presence of a gas in the gas,
the data type for controlling the electronic equipment to communicate through the first antenna is a first data type range, and the data type for the electronic equipment to transmit and receive data through the second antenna is a second data type range, wherein the first data type range is different from the second data type range.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710124818.8A CN107040279B (en) | 2017-03-03 | 2017-03-03 | Control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710124818.8A CN107040279B (en) | 2017-03-03 | 2017-03-03 | Control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107040279A CN107040279A (en) | 2017-08-11 |
CN107040279B true CN107040279B (en) | 2020-12-18 |
Family
ID=59534151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710124818.8A Active CN107040279B (en) | 2017-03-03 | 2017-03-03 | Control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107040279B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107703366B (en) * | 2017-09-11 | 2020-06-23 | 联想(北京)有限公司 | Method and system for determining reason for increased environmental capacitance of electronic equipment |
CN110323548B (en) * | 2018-03-31 | 2020-12-22 | Oppo广东移动通信有限公司 | electronic device |
CN108712536A (en) * | 2018-07-10 | 2018-10-26 | Oppo广东移动通信有限公司 | Electronic equipment |
CN109193117B (en) * | 2018-09-13 | 2021-01-08 | 维沃移动通信有限公司 | Mobile terminal and antenna control method |
CN109120324A (en) * | 2018-11-01 | 2019-01-01 | 联想(北京)有限公司 | Electronic equipment and method of controlling antenna |
CN109474300B (en) * | 2018-11-13 | 2021-09-14 | 维沃移动通信有限公司 | Antenna control method of mobile terminal and mobile terminal |
CN109347531B (en) * | 2018-11-19 | 2021-11-02 | 维沃移动通信有限公司 | Antenna state control method and terminal |
CN109525295A (en) * | 2018-12-12 | 2019-03-26 | 无锡睿勤科技有限公司 | The method of controlling antenna and electronic equipment of a kind of electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101109977A (en) * | 2006-07-20 | 2008-01-23 | 株式会社东芝 | Electronic apparatus |
CN102684760A (en) * | 2011-03-15 | 2012-09-19 | 联想(北京)有限公司 | Wireless communication method for mobile terminal and mobile terminal |
CN104049681A (en) * | 2013-03-15 | 2014-09-17 | 联想(北京)有限公司 | Dock and electronic equipment |
CN203932299U (en) * | 2014-05-23 | 2014-11-05 | 联想(北京)有限公司 | Electronic equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1424747B1 (en) * | 2002-11-26 | 2006-08-09 | Sony Ericsson Mobile Communications AB | Antenna for portable communication device equipped with a hinge |
US9742077B2 (en) * | 2011-03-15 | 2017-08-22 | Intel Corporation | Mm-wave phased array antenna with beam tilting radiation pattern |
CN104350444A (en) * | 2012-04-20 | 2015-02-11 | 英特尔公司 | Hybrid computing device, apparatus and system |
US9065535B2 (en) * | 2012-11-16 | 2015-06-23 | Intel Corporation | Adaptive antenna selection |
CN105656509B (en) * | 2014-11-14 | 2019-07-26 | 联想(北京)有限公司 | A kind of control method and electronic equipment |
-
2017
- 2017-03-03 CN CN201710124818.8A patent/CN107040279B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101109977A (en) * | 2006-07-20 | 2008-01-23 | 株式会社东芝 | Electronic apparatus |
CN102684760A (en) * | 2011-03-15 | 2012-09-19 | 联想(北京)有限公司 | Wireless communication method for mobile terminal and mobile terminal |
CN104049681A (en) * | 2013-03-15 | 2014-09-17 | 联想(北京)有限公司 | Dock and electronic equipment |
CN203932299U (en) * | 2014-05-23 | 2014-11-05 | 联想(北京)有限公司 | Electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107040279A (en) | 2017-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107040279B (en) | Control method and electronic equipment | |
KR102634952B1 (en) | Antenna and electronic device having it | |
AU2023200001B2 (en) | Electronic device with metal frame antenna | |
CN111029772B (en) | Antenna circuit, electronic device and method for adjusting antenna performance | |
CN113196728B (en) | Apparatus and method for outputting beamforming signal based on state of electronic apparatus | |
US11373384B2 (en) | Parameter configuration method, apparatus, and device for three-dimensional face model, and storage medium | |
EP3681043B1 (en) | Electronic device and antenna switching method thereof | |
CN103368595B (en) | Method and device for adjusting radiation of mobile terminal and mobile terminal | |
EP2945411B1 (en) | Millimeter wave phased-array wave beam alignment method and communication device | |
CN106452490A (en) | Method and apparatus for adjusting radiation | |
CN103545619B (en) | The method of the radiation of antenna assembly and adjustment antenna assembly | |
CN107634785B (en) | WiFi system, router and mobile terminal | |
EP3675321A1 (en) | Wireless power transmission apparatus, electronic apparatus for receiving power wirelessly and operation method thereof | |
CN107293857B (en) | Method of processing signal interference, mobile terminal and computer-readable storage medium | |
CN112952351A (en) | Electronic device and control method | |
CN110635822B (en) | Antenna control method and electronic equipment | |
US20200322017A1 (en) | Method for pairing with external device using beam and electronic device therefor | |
CN111009739A (en) | MIMO antenna device and mobile terminal | |
WO2016134575A1 (en) | Terminal signal transceiving apparatus and signal transceiving method | |
CN114976637B (en) | Antenna control method, antenna module and communication device | |
CN112583502B (en) | Probe antenna determination method and device | |
DE102010043122A1 (en) | Mobile terminal e.g. mobile phone, has beamforming unit for feedthrough of beamforming for adaptive antenna system based on determined movement and/or layer data of mobile terminal, and sensor system to determine movement of mobile terminal | |
KR20220016735A (en) | Method for measuring location using wireless communication and electronic device supporting the same | |
KR102766517B1 (en) | Electronic device with metal frame antenna | |
EP4254942A1 (en) | Electronic device for providing video conference, and method therefor |
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 |