CN108418969B - Antenna feed point switching method and device, storage medium and electronic equipment - Google Patents
Antenna feed point switching method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108418969B CN108418969B CN201810206406.3A CN201810206406A CN108418969B CN 108418969 B CN108418969 B CN 108418969B CN 201810206406 A CN201810206406 A CN 201810206406A CN 108418969 B CN108418969 B CN 108418969B
- Authority
- CN
- China
- Prior art keywords
- holding state
- electronic equipment
- feed point
- preset
- antenna
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/06—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
- H04B7/0602—Diversity 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/08—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
- H04B7/0802—Diversity 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details 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)
- Human Computer Interaction (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the application discloses a method and a device for switching antenna feed points, a storage medium and electronic equipment; the method comprises the following steps: when the electronic equipment is in a call state, acquiring an ear image of a user, determining a current holding state of the electronic equipment according to the ear image, wherein the holding state comprises a left-hand holding state and a right-hand holding state, selecting a target feed point from at least two antenna feed points on an antenna of the electronic equipment according to the holding state, and controlling and connecting the target feed point so that the electronic equipment completes the receiving and sending of radio frequency signals. According to the antenna feed point selection method and device, the corresponding antenna feed point can be selected according to the holding state of the electronic equipment in the call process, interference of hands on the antenna can be reduced, and therefore the radiation intensity of the electronic equipment is improved.
Description
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method and an apparatus for switching an antenna feed point, a storage medium, and an electronic device.
Background
With the development of electronic device technology, electronic devices have begun to change from simply providing telephony devices to a platform for running general-purpose software. The platform no longer aims at providing call management, but provides an operating environment including various application software such as call management, game and entertainment, office events, mobile payment and the like, and with a great deal of popularization, the platform has been deeply developed to the aspects of life and work of people.
When the antenna of the current mobile phone is designed, the main antenna or the diversity antenna is usually designed at the bottom of the mobile phone, and due to the difference of the feed point positions of the bottom antenna, the influence of the left hand and the right hand on the performance of the bottom antenna is different. Especially in some arrangements the difference in the effect of the left and right hand on the antenna can be very large. That is, with the current design, the human hand on one side inevitably deteriorates the performance of the antenna.
Disclosure of Invention
The embodiment of the application provides a switching method and device of an antenna feed point, a storage medium and electronic equipment, which can reduce interference of hands on an antenna, thereby improving the radiation intensity of the electronic equipment.
In a first aspect, an embodiment of the present application provides a method for switching an antenna feed point, including:
when the electronic equipment is in a call state, acquiring an ear image of a user;
determining a current holding state of the electronic equipment according to the ear image, wherein the holding state comprises a left-hand holding state and a right-hand holding state;
selecting a target feed point from at least two antenna feed points on the electronic equipment antenna according to the holding state;
and controlling and connecting the target feed point so that the electronic equipment completes the receiving and sending of the radio frequency signal.
In a second aspect, an embodiment of the present application further provides a device for switching an antenna feed point, including: the device comprises an acquisition module, a determination module, a selection module and a connection module;
the acquisition module is used for acquiring an ear image of a user when the electronic equipment is in a call state;
the determining module is configured to determine a current holding state of the electronic device according to the ear image, where the holding state includes a left-hand holding state and a right-hand holding state;
the selection module is used for selecting a target feed point from at least two antenna feed points on the electronic equipment antenna according to the holding state;
the connecting module is used for controlling and connecting the target feed point so that the electronic equipment can complete the receiving and sending of radio frequency signals.
In a third aspect, an embodiment of the present application further provides a storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the above-mentioned method for switching an antenna feed point.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for switching the antenna feed point when executing the program.
The method for switching the antenna feed points, provided by the embodiment of the application, includes the steps of firstly, acquiring an ear image of a user when the electronic equipment is in a conversation state, determining a current holding state of the electronic equipment according to the ear image, wherein the holding state includes a left-hand holding state and a right-hand holding state, selecting a target feed point from at least two antenna feed points on an antenna of the electronic equipment according to the holding state, and controlling and connecting the target feed point so that the electronic equipment can complete receiving and sending of radio frequency signals. According to the antenna feed point selection method and device, the corresponding antenna feed point can be selected according to the holding state of the electronic equipment in the call process, interference of hands on the antenna can be reduced, and therefore the radiation intensity of the electronic equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for switching an antenna feed point according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 3 is another schematic flow chart of a method for switching an antenna feed point according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a switching device of an antenna feed point according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a switching device of an antenna feed point according to an embodiment of the present application.
Fig. 6 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The principles of the present application may be employed in numerous other general-purpose or special-purpose computing, communication environments or configurations. Examples of well known computing systems, environments, and configurations that may be suitable for use with the application include, but are not limited to, hand-held telephones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe-based computers, and distributed computing environments that include any of the above systems or devices.
The details will be described below separately.
The present embodiment will be described in terms of a switching device for antenna feed points, which may be specifically integrated in an electronic device, such as a mobile interconnection network device (e.g., a smart phone, a tablet computer) or other network-enabled electronic devices.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for switching an antenna feed point according to an embodiment of the present application, including the following steps:
step S101, when the electronic equipment is in a call state, acquiring an ear image of a user.
In an embodiment, the call state includes a voice call state, such as an incoming call or an outgoing call, where the call type may be a telephone voice call or a voice call of an instant messaging software, such as a QQ voice or a WeChat voice, and the present invention is not limited thereto.
In practical use, when the electronic device is in a call state, a call can be connected by holding the electronic device with a hand, or a call can be connected by using an auxiliary call tool, for example, a device such as a bluetooth headset, and when a user inconveniently holds the electronic device with a hand and places the electronic device at the ear to realize a call by using a normal call mode, the auxiliary call mode can be started to realize a call.
When the electronic equipment is in a call state, judging whether the electronic equipment is currently in a handheld state;
if yes, acquiring an ear image of the user.
The method for judging whether the electronic device is currently in a handheld state may be various, and may be implemented by arranging a handheld sensing component or a component such as a temperature sensor, an acceleration sensor, or a gyroscope.
For example, the handheld sensing element is disposed at a side of the electronic device, and a user will inevitably apply a force to the side of the electronic device when holding the electronic device, so that the positioning of the handheld sensing element at the side of the electronic device is beneficial to improving the accuracy of sensing whether the user holds the electronic device. When the electronic equipment is in a call, whether the hand-holding sensing assembly arranged on the side of the electronic equipment is triggered is judged, if not, the fact that the user cannot hold the electronic equipment at present and put the electronic equipment at the ear for the call is indicated, and if the hand-holding sensing assembly is triggered, the fact that the user is holding the electronic equipment for the call is indicated. In other embodiments, a temperature sensor may be disposed on the electronic device, and the temperature sensor disposed when the electronic device is held in the hand senses the temperature of the user, thereby confirming that the electronic device is held in the hand. In addition, the motion state of the electronic device can be obtained through an acceleration sensor or a gyroscope, and then the judgment of the handheld state is realized according to the motion state of the electronic device, which is not listed one by one.
In an embodiment, the ear image of the user may be obtained through a front-facing camera of the electronic device, specifically, when the electronic device is in a call state and the electronic device is confirmed to be in a handheld state, the front-facing camera is turned on and a current frame is obtained, and then the ear image is extracted from the current frame.
Step S102, determining the current holding state of the electronic equipment according to the ear image, wherein the holding state comprises a left-hand holding state and a right-hand holding state.
In an embodiment, due to the characteristic that two ears of a person are symmetrical to each other, after the ear image of the user is acquired, it can be determined that the ear image is a left ear or a right ear according to the contour of the ear, and then it is determined that the electronic device is currently in a left-hand holding state or a right-hand holding state.
In an embodiment, a face image of the user may also be obtained, and in a normal case, when the user holds the electronic device for a call, the front of the electronic device may be directed at the left ear or the right ear, so the face image may be a side face image of the user, then facial features on the side face image are obtained, and it is determined that the side face directed at the electronic device is the left face or the right face of the user according to the facial features, so as to determine that the current electronic device is in a left-hand holding state or a right-hand holding state. The accuracy of judging the current holding state can be improved by combining the ear image and the face image.
It should be noted that, in an embodiment, regardless of whether the ear image or the face image of the user is acquired, the original image may be further subjected to preprocessing after being acquired, and the preprocessing may include image enhancement, smoothing processing, noise reduction processing, and the like. For example, after the original ear or face image is obtained, information in the image may be selectively enhanced and suppressed to improve the visual appearance of the image, or the image may be converted to a form more suitable for machine processing to facilitate data extraction or recognition. For example, an image enhancement system may highlight the contours of an image with a high pass filter, thereby enabling a machine to measure the shape and perimeter of the contours. There are many methods for image enhancement, such as contrast stretching, logarithmic transformation, density layering, and histogram equalization, which can be used to change image grayscales and highlight details.
Step S103, selecting a target feed point from at least two antenna feed points on the electronic equipment antenna according to the holding state.
In an embodiment, the antenna of the electronic device includes at least two antenna feed points, as shown in fig. 2, and fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 10 includes a radiator 11, a radio frequency module 12, a control switch 13, and a carrier 15. The radiator 11 may be a metal middle frame, configured to receive and transmit a radio frequency signal, the radiator 11 is provided with a first feed point 111 and a second feed point 112, a first end of the control switch 13 is coupled to the radio frequency module 12, a second end of the control switch 13 is coupled to the radiator 11 at the first feed point 111, a third end of the control switch 13 is coupled to the radiator 11 at the second feed point 112, and the control switch 13 is configured to select a target feed point according to a current holding state of the electronic device 10, for example, when the electronic device 10 is currently in a left-hand holding state, the second feed point 112 may be selected as the target feed point, and when the electronic device 10 is currently in a right-hand holding state, the first feed point 111 may be selected as the target feed point.
In an embodiment, a grounding point may be further disposed on the radiator 11, the grounding point may be disposed between the first feeding point 111 and the second feeding point 112, the rf module 12 and the control switch 13 are disposed on the carrier 15, the carrier 15 serves as a reference ground of the whole device, and the radiator 11 is coupled with the carrier 15 through the connecting piece 14 at the position of the grounding point to achieve grounding. The connecting piece 14 may be a metal piece, and in other embodiments, the grounding point may be connected to the reference ground of the whole machine through a connecting wire. The carrier 15 may be a shell structure, which may be a plate structure, and may also have a receiving cavity, and the carrier 52 may be a metal material, such as a magnesium alloy material. The carrier 52 may also be co-injection molded of metal and plastic.
And step S104, controlling the connection target feed point to enable the electronic equipment to complete the receiving and sending of the radio frequency signal.
Specifically, the control switch 13 controls the radiator 11 to be electrically connected to the rf module 12 at the first feeding point 111 or the second feeding point 112, so that the electronic device completes receiving and transmitting the rf signal.
In an embodiment, when the control switch 13 turns on the port1, the radiator 11 is electrically connected to the rf module 12 at the first feed point 111, and the ground point divides the radiator 11 into a first part and a second part, at this time, the first part of the radiator 11 may be used as a first antenna for transceiving medium and high frequency rf signals, and the second part of the radiator 11 may be used as a second antenna for transceiving low frequency rf signals. It can be understood that, when the control switch 13 turns on the port2, the radiator 11 is electrically connected to the rf module 12 at the second feed point 112, and at this time, the first antenna may be used for transceiving low-frequency rf signals, and the second antenna may be used for transceiving medium-frequency and high-frequency rf signals.
In this embodiment of the present invention, the electronic device may be any device capable of performing LTE communication, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
As can be seen from the above, in the embodiment of the application, when the electronic device is in a call state, an ear image of a user is acquired, a current holding state of the electronic device is determined according to the ear image, where the holding state includes a left-hand holding state and a right-hand holding state, a target feed point is selected from at least two antenna feed points on an antenna of the electronic device according to the holding state, and the target feed point is controlled and connected, so that the electronic device completes receiving and sending of a radio frequency signal. According to the antenna feed point selection method and device, the corresponding antenna feed point can be selected according to the holding state of the electronic equipment in the call process, interference of hands on the antenna can be reduced, and therefore the radiation intensity of the electronic equipment is improved.
According to the description of the previous embodiment, the switching method of the antenna feed point of the present application will be further explained below.
Referring to fig. 3, fig. 3 is a schematic flow chart of another method for switching an antenna feed point according to an embodiment of the present application, where an electronic device antenna includes two antenna feed points for explanation in this embodiment, the method includes the following steps:
in step S201, when the electronic device is in a call state, a distance between the electronic device and a user is acquired.
In an embodiment, the call state includes a voice call state, such as an incoming call or an outgoing call, where the call type may be a telephone voice call or a voice call of an instant messaging software, such as a QQ voice or a WeChat voice, and the present invention is not limited thereto.
In this embodiment, it is considered that the image of the ear of the user can be obtained only when there is a certain distance between the electronic device and the ear of the user, and the integrity or the definition of the ear image is affected when the electronic device is too close to or too far away from the ear of the user, so that the distance between the electronic device and the user can be obtained, and the ear image is further obtained when the distance reaches a proper position. The distance between the user and the electronic device can be measured by a distance sensor on the electronic device, which can be an infrared sensor or an ultrasonic sensor, etc.
Step S202, determining whether the distance satisfies a preset distance range, if yes, executing step S202, and if not, ending the process.
The preset distance range can be set by a user according to needs and can also be automatically set by the electronic equipment, for example, the preset distance range can be 10cm-30cm, and in the distance range, a front camera of the electronic equipment can acquire clear and complete ear images. Meanwhile, if the distance between the electronic equipment and the user is detected to be within the preset distance range, the current handheld call state of the electronic equipment can be further determined.
In step S203, an ear image of the user is acquired.
In an embodiment, the ear image of the user may be obtained through a front-facing camera of the electronic device, specifically, when the electronic device is in a call state and the electronic device is confirmed to be in a handheld state, the front-facing camera is turned on and a current frame is obtained, and then the ear image is extracted from the current frame.
Step S204, the ear images are matched in a preset image library to obtain corresponding preset ear images.
In an embodiment, due to the characteristic that two ears of a person are symmetrical to each other, after the ear image of the user is acquired, it can be determined that the ear image is a left ear or a right ear according to the contour of the ear, and then it is determined that the electronic device is currently in a left-hand holding state or a right-hand holding state.
In step S205, a preset holding state corresponding to the preset ear image is obtained to determine the holding state as the current holding state of the electronic device.
The holding state comprises a left-hand holding state and a right-hand holding state. Specifically, the step of obtaining the preset holding state corresponding to the preset ear image may include: and when the preset ear image is a left ear image, determining that the corresponding preset holding state is a left hand holding state, and when the preset ear image is a right ear image, determining that the corresponding preset holding state is a right hand holding state.
Step S206, selecting a target feed point from at least two antenna feed points on the electronic equipment antenna according to the holding state.
Step S207, controlling the connection target feed point to enable the electronic device to complete receiving and transmitting the radio frequency signal.
In this embodiment, the electronic device antenna may include a first antenna feed point and a second antenna feed point, where the first antenna feed point is on the left side of the radiator and the second antenna feed point is on the right side of the radiator. The control switch is used for selecting a target feed point according to the current holding state of the electronic equipment, for example, when the electronic equipment is in a left-hand holding state, the second feed point is selected as the target feed point, and when the electronic equipment is in a right-hand holding state, the first feed point can be selected as the target feed point.
In an embodiment, when the control switch 13 turns on the port1, the radiator 11 is electrically connected to the rf module 12 at the first feed point 111, and the ground point divides the radiator 11 into a first part and a second part, at this time, the first part of the radiator 11 may be used as a first antenna for transceiving medium and high frequency rf signals, and the second part of the radiator 11 may be used as a second antenna for transceiving low frequency rf signals. It can be understood that, when the control switch 13 turns on the port2, the radiator 11 is electrically connected to the rf module 12 at the second feed point 112, and at this time, the first antenna may be used for transceiving low-frequency rf signals, and the second antenna may be used for transceiving medium-frequency and high-frequency rf signals.
In this embodiment of the present invention, the electronic device may be any device capable of performing LTE communication, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
Therefore, according to the embodiment of the application, when the electronic device is in a call state, the distance between the electronic device and the user is acquired, whether the distance meets the preset distance range is judged, if yes, the ear image of the user is acquired, the ear image is matched in the preset image library to obtain the corresponding preset ear image, the preset holding state corresponding to the preset ear image is acquired to determine the current holding state of the electronic device, the target feed point is selected from at least two antenna feed points on the antenna of the electronic device according to the holding state, and the target feed point is controlled to be connected, so that the electronic device completes receiving and sending of the radio frequency signal. The antenna feed point can be selected according to the holding state of the electronic equipment, so that the interference of hands on the antenna can be reduced, and the radiation intensity of the electronic equipment is improved.
In order to better implement the antenna feed point switching method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the antenna feed point switching method. The terms are the same as those in the above-mentioned switching method of the antenna feed point, and the specific implementation details may refer to the description in the method embodiment.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a switching device of an antenna feed point according to an embodiment of the present application, where the switching device 30 of the antenna feed point includes: an acquisition module 301, a determination module 302, a selection module 303 and a connection module 304;
an obtaining module 301, configured to obtain an ear image of a user when the electronic device is in a call state;
a determining module 302, configured to determine a current holding state of the electronic device according to the ear image, where the holding state includes a left-hand holding state and a right-hand holding state;
a selecting module 303, configured to select a target feed point from at least two antenna feed points on an antenna of the electronic device according to the holding state;
and the connection module 304 is configured to control the connection target feed point, so that the electronic device completes receiving and sending of the radio frequency signal.
In one embodiment, as shown in fig. 5, the obtaining module 301 may include: a first obtaining sub-module 3011, a judging sub-module 3012, and a second obtaining sub-module 3013;
the first obtaining sub-module 3011, configured to obtain, when the electronic device is in a call state, a distance between the electronic device and a user;
a judgment sub-module 3012, configured to judge whether the distance satisfies a preset distance range;
a second obtaining sub-module 3013, configured to obtain an ear image of the user when the determining sub-module 3012 determines yes.
In an embodiment, the determining module 302 may specifically include: a matching sub-block 3021 and a determination sub-block 3022;
a matching sub-module 3021, configured to match the ear images in a preset image library to obtain corresponding preset ear images;
the determining sub-module 3022 is configured to obtain a preset holding state corresponding to the preset ear image, so as to determine the current holding state of the electronic device.
The determining sub-module 3022 is specifically configured to determine that the corresponding preset holding state is a left-hand holding state when the preset ear image is a left-ear image, and determine that the corresponding preset holding state is a right-hand holding state when the preset ear image is a right-ear image.
As can be seen from the above, the switching apparatus 30 for antenna feed points provided in this embodiment of the present application can acquire an ear image of a user when an electronic device is in a call state, determine a current holding state of the electronic device according to the ear image, where the holding state includes a left-hand holding state and a right-hand holding state, select a target feed point from at least two antenna feed points on an antenna of the electronic device according to the holding state, and control the target feed point to enable the electronic device to complete receiving and sending of a radio frequency signal. According to the antenna feed point selection method and device, the corresponding antenna feed point can be selected according to the holding state of the electronic equipment in the call process, interference of hands on the antenna can be reduced, and therefore the radiation intensity of the electronic equipment is improved.
The present application further provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the method for switching the antenna feed point provided in the method embodiment.
The present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for switching the antenna feed point provided in the method embodiment.
In another embodiment of the present application, an electronic device is also provided, and the electronic device may be a smart phone, a tablet computer, or the like. As shown in fig. 6, the electronic device 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the electronic device.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
when the electronic equipment is in a call state, acquiring an ear image of a user;
determining a current holding state of the electronic equipment according to the ear image, wherein the holding state comprises a left-hand holding state and a right-hand holding state;
selecting a target feed point from at least two antenna feed points on the electronic equipment antenna according to the holding state;
and controlling and connecting the target feed point so that the electronic equipment completes the receiving and sending of the radio frequency signal.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 500 may include Radio Frequency (RF) circuitry 501, memory 502 including one or more computer-readable storage media, input unit 503, display unit 504, sensor 504, audio circuitry 506, Wireless Fidelity (WiFi) module 507, processor 508 including one or more processing cores, and power supply 509. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The rf circuit 501 may be used for receiving and transmitting information, or receiving and transmitting signals during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, radio frequency circuit 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the radio frequency circuit 501 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 508 executes various functional applications and data processing by executing application programs stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numbers, character information, or user characteristic information (such as a fingerprint), and generate a keyboard, mouse, joystick, optical, or trackball signal input related to user setting and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508.
The display unit 504 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The display unit 504 may include a display panel. Alternatively, the display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 7 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The electronic device may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
The audio circuit 506 may provide an audio interface between the user and the electronic device through a speaker, microphone. The audio circuit 506 can convert the received audio data into an electrical signal, transmit the electrical signal to a speaker, and convert the electrical signal into a sound signal to output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508 and then sent to another electronic device via the rf circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
Wireless fidelity (WiFi) belongs to short-distance wireless transmission technology, and electronic equipment can help users to send and receive e-mails, browse webpages, access streaming media and the like through a wireless fidelity module 507, and provides wireless broadband internet access for users. Although fig. 7 shows the wireless fidelity module 507, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the electronic device. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The electronic device also includes a power supply 509 (such as a battery) to power the various components. Preferably, the power source may be logically connected to the processor 508 through a power management system, so that the power management system may manage charging, discharging, and power consumption management functions. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 7, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It should be noted that, a person skilled in the art can understand that all or part of the steps in the various methods of the foregoing embodiments can be implemented by instructing related hardware through a program, where the program can be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and during the execution, the program can include a flow of an embodiment of a method for switching an antenna feed point. Among others, the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The method, the apparatus, the storage medium, and the electronic device for switching an antenna feed point provided in the embodiments of the present application are described in detail above, and each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (9)
1. A method for switching an antenna feed point is characterized by comprising the following steps:
when the electronic equipment is in a call state, acquiring the distance between the electronic equipment and a user;
if the distance meets a preset distance range, acquiring an ear image of the user;
determining a current holding state of the electronic equipment according to the ear image, wherein the holding state comprises a left-hand holding state and a right-hand holding state;
selecting a target feed point from at least two antenna feed points on the electronic equipment antenna according to the holding state;
and controlling and connecting the target feed point so that the electronic equipment completes the receiving and sending of the radio frequency signal.
2. The method of claim 1, wherein the determining the current holding state of the electronic device according to the ear image comprises:
matching the ear images in a preset image library to obtain corresponding preset ear images;
and acquiring a preset holding state corresponding to the preset ear image to determine the current holding state of the electronic equipment.
3. The method for switching the antenna feed point according to claim 2, wherein the obtaining the preset holding state corresponding to the preset ear image comprises:
when the preset ear image is a left ear image, determining that the corresponding preset holding state is a left-hand holding state;
and when the preset ear image is a right ear image, determining that the corresponding preset holding state is a right hand holding state.
4. The method for switching the antenna feeding point according to claim 1, wherein the antenna of the electronic device comprises a first feeding point on the left side and a second feeding point on the right side;
the selecting a target feed point from at least two antenna feed points on the electronic device antenna according to the holding state includes:
when the holding state is a left-handed holding state, selecting the second feeding point as a target feeding point;
and when the holding state is a right-hand holding state, selecting the first feed point as a target feed point.
5. An apparatus for switching an antenna feed point, the apparatus comprising: the device comprises an acquisition module, a determination module, a selection module and a connection module;
the acquisition module is used for acquiring the distance between the electronic equipment and a user when the electronic equipment is in a call state, and acquiring an ear image of the user if the distance meets a preset distance range;
the determining module is configured to determine a current holding state of the electronic device according to the ear image, where the holding state includes a left-hand holding state and a right-hand holding state;
the selection module is used for selecting a target feed point from at least two antenna feed points on the electronic equipment antenna according to the holding state;
the connecting module is used for controlling and connecting the target feed point so that the electronic equipment can complete the receiving and sending of radio frequency signals.
6. The antenna feed switching apparatus of claim 5, wherein the determining module specifically comprises: a matching sub-module and a determining sub-module;
the matching sub-module is used for matching the ear images in a preset image library to obtain corresponding preset ear images;
the determining submodule is used for acquiring a preset holding state corresponding to the preset ear image so as to determine the current holding state of the electronic equipment.
7. The switching device of an antenna feed point according to claim 6,
the determining sub-module is specifically configured to determine that the corresponding preset holding state is a left-hand holding state when the preset ear image is a left-ear image, and determine that the corresponding preset holding state is a right-hand holding state when the preset ear image is a right-ear image.
8. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method according to any one of claims 1-4.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-4 are implemented when the processor executes the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810206406.3A CN108418969B (en) | 2018-03-13 | 2018-03-13 | Antenna feed point switching method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810206406.3A CN108418969B (en) | 2018-03-13 | 2018-03-13 | Antenna feed point switching method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108418969A CN108418969A (en) | 2018-08-17 |
CN108418969B true CN108418969B (en) | 2020-08-14 |
Family
ID=63131338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810206406.3A Active CN108418969B (en) | 2018-03-13 | 2018-03-13 | Antenna feed point switching method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108418969B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109068383A (en) * | 2018-08-24 | 2018-12-21 | 维沃移动通信有限公司 | A kind of method and terminal device adjusting antenna transmission power |
CN109286057B (en) * | 2018-10-22 | 2022-02-15 | Oppo广东移动通信有限公司 | Electronic device and antenna control method |
CN110048756A (en) * | 2019-04-24 | 2019-07-23 | 闽江学院 | A kind of antenna method for improving mobile communication terminal and holding performance |
CN112242854B (en) * | 2020-10-19 | 2022-05-03 | 维沃移动通信有限公司 | Electronic equipment, and control method and device of electronic equipment |
CN113766063A (en) * | 2021-09-24 | 2021-12-07 | 惠州Tcl移动通信有限公司 | Antenna matching method and device, mobile terminal and storage medium |
CN115441882B (en) * | 2022-09-01 | 2024-06-18 | 联想(北京)有限公司 | Antenna control method and device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106131336A (en) * | 2016-07-11 | 2016-11-16 | 朱小龙 | The incoming call of a kind of automatic identification division ear i.e. connects method |
CN107508624A (en) * | 2017-08-30 | 2017-12-22 | 北京小米移动软件有限公司 | Control method, device, terminal and the computer-readable recording medium of antenna switching |
CN107580123A (en) * | 2017-08-30 | 2018-01-12 | 努比亚技术有限公司 | Antenna handover trigger control method, communication terminal and computer-readable recording medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012176217A1 (en) * | 2011-06-20 | 2012-12-27 | Muthukumar Prasad | Smart active antenna radiation pattern optimising system for mobile devices achieved by sensing device proximity environment with property, position, orientation, signal quality and operating modes |
-
2018
- 2018-03-13 CN CN201810206406.3A patent/CN108418969B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106131336A (en) * | 2016-07-11 | 2016-11-16 | 朱小龙 | The incoming call of a kind of automatic identification division ear i.e. connects method |
CN107508624A (en) * | 2017-08-30 | 2017-12-22 | 北京小米移动软件有限公司 | Control method, device, terminal and the computer-readable recording medium of antenna switching |
CN107580123A (en) * | 2017-08-30 | 2018-01-12 | 努比亚技术有限公司 | Antenna handover trigger control method, communication terminal and computer-readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
CN108418969A (en) | 2018-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108418969B (en) | Antenna feed point switching method and device, storage medium and electronic equipment | |
CN108430101B (en) | Antenna closing method and device, storage medium and electronic equipment | |
CN107241552B (en) | Image acquisition method, device, storage medium and terminal | |
CN108494957A (en) | Antenna switching method, device, storage medium and electronic equipment | |
CN106528545B (en) | Voice information processing method and device | |
CN105989572B (en) | Picture processing method and device | |
CN106911848B (en) | Method for outputting prompt message and terminal equipment | |
CN107172671B (en) | Channel switching method, device, storage medium and terminal | |
CN109067981B (en) | Split screen application switching method and device, storage medium and electronic equipment | |
CN108958587B (en) | Split screen processing method and device, storage medium and electronic equipment | |
CN107547704A (en) | Call MIC switching method, device and mobile terminal | |
US20210132791A1 (en) | Key control method, storage medium, and smart terminal | |
CN106936516B (en) | Display screen display state control method, storage medium and terminal | |
CN117116203A (en) | Screen brightness adjustment method and device, storage medium and electronic equipment | |
CN111654902A (en) | Method and device for reducing interference to mobile terminal GPS signal and mobile terminal | |
CN110277097B (en) | Data processing method and related equipment | |
CN111372003A (en) | Camera switching method and device and terminal | |
CN109032482B (en) | Split screen control method and device, storage medium and electronic equipment | |
CN111083285A (en) | Mobile terminal call positioning system and method | |
CN110022600A (en) | Adjusting method, device, storage medium and the mobile terminal of driving current | |
CN111355991B (en) | Video playing method and device, storage medium and mobile terminal | |
CN105635379B (en) | Noise suppression method and device | |
CN108566482A (en) | Switching method, device, storage medium and the electronic equipment of antenna feed point | |
CN108829600B (en) | Method and device for testing algorithm library, storage medium and electronic equipment | |
CN112367425A (en) | Volume adjusting method and device and terminal |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |