CN108810261A - Antenna switching method and Related product in call - Google Patents

Antenna switching method and Related product in call Download PDF

Info

Publication number
CN108810261A
CN108810261A CN201810528541.XA CN201810528541A CN108810261A CN 108810261 A CN108810261 A CN 108810261A CN 201810528541 A CN201810528541 A CN 201810528541A CN 108810261 A CN108810261 A CN 108810261A
Authority
CN
China
Prior art keywords
parameter
distance
signal intensity
signal
value
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.)
Granted
Application number
CN201810528541.XA
Other languages
Chinese (zh)
Other versions
CN108810261B (en
Inventor
周千里
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810528541.XA priority Critical patent/CN108810261B/en
Publication of CN108810261A publication Critical patent/CN108810261A/en
Application granted granted Critical
Publication of CN108810261B publication Critical patent/CN108810261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode

Landscapes

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

Abstract

This application provides the switching method and Related product of antenna in a kind of call, the method is applied to electronic device, and the electronic device includes:More antennas, touching display screen and sensor;Wherein, in voice communication, whether the signal strength and touching display screen of the first antenna of electronic equipment detection voice communication, which are in, is put out screen state;Screen state is put out as signal strength is in less than signal threshold value and touching display screen, electronic equipment obtains the first parameter of the voice communication;First parameter is matched acquisition and matched first history parameters of first parameter by electronic equipment with history parameters, extracts the second antenna in first history parameters, and the voice communication is switched to the second antenna by electronic equipment.Technical solution provided by the present application has the advantages that user experience is high.

Description

Antenna switching method in call and related product
Technical Field
The present application relates to the field of communications and terminals, and in particular, to an antenna switching method in a call and a related product.
Background
In the prior art, mobile terminals (such as mobile phones, tablet computers, etc.) have become electronic devices preferred and most frequently used by users. With the popularization of the design of the comprehensive screen body of the mobile phone, the performance of the mobile phone antenna is greatly challenged. When a mobile phone is used for a call in a head-to-hand scene, the influence of hand holding on antenna signal attenuation is very large, dynamic antenna adjustment (hereinafter abbreviated as DAT) is needed, and an existing DAT adjustment scheme is to randomly select one antenna from antennas of a mobile terminal as an adjusted antenna, so that the adjusted antenna signal may be not good, which leads to reduction of call quality, and thus affects user experience of using the mobile phone.
Content of application
The embodiment of the application provides an antenna switching method in a call and a related product, when DAT antenna adjustment is executed, matching is carried out according to parameters of the current call and historical DAT parameters, and antenna switching is executed according to an antenna selected from the historical DAT parameters, so that quick switching is realized, and user experience is improved.
In a first aspect, an embodiment of the present application provides a method for switching an antenna during a call, where the method is applied to an electronic device, and the electronic device includes: the system comprises a plurality of antennas, a touch display screen and a sensor; wherein,
when the voice call is carried out, the electronic equipment detects the signal intensity of a first antenna of the voice call and whether the touch display screen is in a screen-off state;
if the signal intensity is lower than the signal threshold and the touch display screen is in a screen-off state, the electronic equipment acquires a first parameter of the voice call;
the electronic equipment matches the first parameter with a historical parameter to obtain a first historical parameter matched with the first parameter, extracts a second antenna in the first historical parameter, and switches the voice call to the second antenna.
In a second aspect, an electronic device is provided, the electronic device comprising: the system comprises a plurality of antennas, a touch display screen, a sensor and a processor; wherein,
the processor is used for detecting the signal intensity of a first antenna of the voice call and whether the touch display screen is in a screen-off state or not during the voice call;
the processor is further configured to control the sensor to acquire a first parameter of the voice call if the signal strength is lower than a signal threshold and the touch display screen is in a screen-off state;
the processor is further configured to match the first parameter with a historical parameter to obtain a first historical parameter matched with the first parameter, extract a second antenna in the first historical parameter, and switch the voice call to the second antenna by the electronic device.
In a third aspect, a computer-readable storage medium is provided, which stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method provided in the first aspect.
In a fourth aspect, there is provided a computer program product comprising a non-transitory computer readable storage medium having a computer program stored thereon, the computer program being operable to cause a computer to perform the method provided by the first aspect.
The embodiment of the application has the following beneficial effects:
according to the technical scheme, when the voice call is carried out, the signal intensity of the first antenna for detecting the signal intensity of the voice call and whether the touch display screen is in the screen-off state or not are detected, if the signal intensity is lower than a signal threshold value and is in the screen-off state, the parameters of the voice call are detected, the first historical parameters matched with the first parameters are obtained from the historical parameters in a matching mode according to the parameters, the second antenna in the first historical parameters is extracted, and the voice call is directly switched to the second antenna, so that the quick antenna switching during the voice call is realized, and the user experience 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 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 structural diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a schematic diagram of an electronic device disclosed in an embodiment of the present application.
Fig. 3 is a flowchart illustrating an antenna switching method during a call according to an embodiment of the present application.
Fig. 4 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a mobile phone disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a block diagram of an electronic device according to an embodiment of the present disclosure, fig. 1 is a block diagram of an electronic device 100 according to an embodiment of the present disclosure, where the electronic device 100 includes: the touch display device comprises a shell 110, a circuit board 120, a battery 130, a cover plate 140, a touch display screen 150 and a transceiver 180, wherein the circuit board 120, the battery 130 and the cover plate 140 are arranged on the shell 110, and the circuit board 120 is also provided with a circuit connected with the touch display screen 150; the circuit board 120 may further include: the application processor AP 190. The transceiver 180 may specifically be a plurality of antennas and a circuit configured with the antennas, and the antennas in the electronic device in this application are a plurality of antennas.
The touch Display screen may be a Thin Film Transistor-Liquid Crystal Display (TFT-LCD), a Light Emitting Diode (LED) Display screen, an Organic Light Emitting Diode (OLED) Display screen, or the like.
Referring to fig. 2, fig. 2 is a schematic structural diagram of another electronic device 100 disclosed in the embodiment of the present application, where the electronic device 100 includes a storage and processing circuit 110, and a communication circuit 120 and an audio component 140 connected to the storage and processing circuit 110, and a display component 130 or a touch component may also be disposed in some specific electronic devices 100.
The electronic device 100 may include control circuitry, which may include storage and processing circuitry 110. The storage and processing circuitry 110 may be a memory, such as a hard drive memory, a non-volatile memory (e.g., flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), a volatile memory (e.g., static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. Processing circuitry in storage and processing circuitry 110 may be used to control the operation of electronic device 100. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 110 may be used to run software in the electronic device 100, such as Voice Over Internet Protocol (VOIP) telephone call applications, simultaneous interpretation functions, media playing applications, operating system functions, and so forth. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functions implemented based on a status indicator such as a status indicator light of a light emitting diode, touch event detection based on a touch sensor, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 100, to name a few.
The electronic device 100 may also include input-output circuitry 150. The input-output circuit 150 may be used to enable the electronic device 100 to input and output data, i.e., to allow the electronic device 100 to receive data from an external device and also to allow the electronic device 100 to output data from the electronic device 100 to the external device. The input-output circuit 150 may further include a sensor 170. The sensors 170 may include ambient light sensors, optical and capacitive based proximity sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, and other sensors, among others.
Input-output circuitry 150 may also include a touch sensor array (i.e., display 130 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The electronic device 100 may also include an audio component 140. The audio component 140 may be used to provide audio input and output functionality for the electronic device 100. The audio components 140 in the electronic device 100 may include a speaker, a microphone, a buzzer, a tone generator, and other components for generating and detecting sound.
The communication circuit 120 may be used to provide the electronic device 100 with the capability to communicate with external devices. The communication circuit 120 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 120 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in Communication circuitry 120 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuit 120 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 120 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuitry and antenna, and so forth.
The electronic device 100 may further include a battery, power management circuitry, and other input-output units 160. The input-output unit 160 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes or other status indicators, and the like.
A user may input commands through input-output circuitry 150 to control the operation of electronic device 100, and may use output data of input-output circuitry 150 to enable receipt of status information and other outputs from electronic device 100.
Referring to fig. 3, fig. 3 provides a method for switching antennas during a call, where the method is implemented in an electronic device shown in fig. 1 or fig. 2, where the electronic device includes a plurality of antennas, a touch display screen, a sensor, and a processor, the processor is connected to the touch display screen and the sensor, and the sensor can be used to detect parameters during a call, such as a distance, a position, and the like of an obstacle during a call, and as shown in fig. 3, the method includes the following steps:
step S301, during voice call, the electronic equipment detects the signal intensity of a first antenna of the voice call and whether a touch display screen is in a screen-off state;
the voice communication in step S301 may be implemented by using a communication standard or a protocol, where the communication standard or the protocol includes, but is not limited to, any one or any combination of Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), and Long Term Evolution (Long Term Evolution).
The screen-off state in this step is to avoid executing DAT switching during hands-free, because if the voice call is in the hands-free state or is not answered by the handset, the signal strength of each antenna is generally good at this time, so that it is not necessary to activate DAT to increase extra overhead at this time, and it has a certain practical meaning only to activate DAT in the screen-off state.
Step S302, if the signal intensity is lower than the signal threshold and the touch display screen is in the screen-off state, the electronic device detects a first parameter of the voice call, wherein the first parameter includes but is not limited to a distance between a first antenna of the voice call and an obstacle, a position coordinate of the voice call, and the like;
the manner of detecting the first distance between the first antenna and the obstacle by the electronic device in step S302 includes, but is not limited to: the distance between the first antenna and the obstruction is detected by a sensor including, but not limited to: one or any combination of an ultrasonic sensor, a proximity sensor or an infrared sensor.
The position coordinate in step S302 may be a GPS coordinate, and certainly in practical application, the position coordinate may also be a coordinate of another positioning system, such as a beidou coordinate.
Step S303, the electronic device matches the first parameter with a historical parameter to obtain a first historical parameter matched with the first parameter, extracts a second antenna in the first historical parameter, and switches the voice call to the second antenna.
According to the technical scheme, when voice call is carried out, whether the signal intensity of the first antenna for detecting the signal intensity of the voice call and the touch display screen are in the screen-off state or not is detected, if the signal intensity is lower than a signal threshold value and the touch display screen is in the screen-off state, the parameters of the voice call are detected, the first historical parameters matched with the first parameters are obtained from the historical parameters in a matching mode according to the parameters, the second antenna in the first historical parameters is extracted, the voice call is directly switched to the second antenna, therefore, quick antenna switching during the voice call is achieved, and user experience is improved.
Optionally, the matching, by the electronic device, the first parameter with the historical parameter to obtain the first historical parameter matched with the first parameter may specifically include:
the electronic equipment determines a distance matching interval according to the distance of the first parameter, determines a coordinate matching interval according to the coordinate of the first parameter, and finds out a first history parameter which is positioned in the distance matching interval and the coordinate matching interval simultaneously from the history parameters. The historical parameters may specifically include: antenna-to-obstruction distance, antenna identification, coordinates, and time.
Optionally, the finding out the first history parameter in the distance matching interval and the coordinate matching interval from the history parameters specifically includes:
and if the history parameters which are searched in the history parameters and are positioned in the distance matching interval and the coordinate matching interval simultaneously have a plurality of matching history parameters, taking the latest history parameter in the plurality of matching history parameters as the first history parameter.
The technical scheme is that when a plurality of matching historical parameters are provided, how to select the first historical parameter generally has real-time performance for antenna switching of the electronic equipment, so the reliability of selecting the historical parameter with the latest time is highest, and the call quality is further improved.
Optionally, if the electronic device includes an ultrasonic sensor, an angle sensor, and a positioning sensor, the detecting, by the electronic device, the first parameter of the voice call specifically includes:
the method comprises the steps that a positioning sensor obtains position coordinates of the electronic equipment, an angle sensor detects an angle of the electronic equipment, if the angle changes, the ultrasonic sensor is controlled to emit an ultrasonic signal in a first time interval, the starting time of the first time interval is first time t1 when the angle changes, the duration of the first time interval is a set value (for example, 2 seconds), a reflection signal of the ultrasonic signal is received, n signal intensity values in the reflection signal are collected, if the absolute value of the difference between the maximum value and the minimum value in the n signal intensity values is lower than a difference threshold value and the average value of the n signal intensity values is larger than the signal intensity threshold value, it is determined that the distance of a first parameter belongs to the lowest level (specifically, the distance level is low). The value of n is an integer greater than or equal to 2. If the absolute value of the maximum value and the minimum value in the n signal intensity values is higher than the difference threshold value and the average value of the n signal intensity values is larger than the signal intensity threshold value, the distance is determined to belong to the middle level (namely, the distance is moderate), and if the absolute value of the maximum value and the minimum value in the n signal intensity values is lower than the difference threshold value and the average value of the n signal intensity values is smaller than the signal intensity threshold value, the distance is determined to belong to the highest level (namely, the distance is larger).
According to the technical scheme, when the angle sensor detects the change of the angle, the ultrasonic signal is transmitted, the ultrasonic reflection signal is received, n signal intensity values of the reflection signal are collected, and the influence of the angle on the barrier is determined according to the absolute value of the difference value between the maximum value and the minimum value of the n signal intensity values and the average value of the n signal intensity values to judge the grade of the distance of the barrier. The reason for this is that, for the ultrasonic signal and the reflected signal, the reflected signal is generally reflected by an obstacle on a plane perpendicular to the ultrasonic signal, and the angle greatly affects the change of the intensity of the transmitted signal, and the technical scheme of the present application selects a first time interval of angle change, in which the angle between the ultrasonic sensor on the electronic device and the obstacle changes due to the change of the angle of the electronic device, in which case the distance of the obstacle is generally far from the electronic device, and because of the obstacle at a far distance, the area of a vertical plane with respect to the ultrasonic signal changes after the angle of the electronic device changes, and the area change is mainly represented by the decrease or increase of the signal intensity on the reflected signal. In another case, the first distance between the obstacle and the electronic device is very small, and in this case, after the angle of the electronic device changes, since the angle is very close to the obstacle, the area of the vertical plane with respect to the ultrasonic signal does not change much, and the signal intensity is substantially unchanged in the expression of the reflected signal, that is, the absolute value of the difference between the maximum value and the minimum value of the n signal intensity values is lower than the difference threshold. In addition, there is a case where the area of the obstacle is large but the distance is relatively long, and in this case, the change in the angle of the electronic device has little influence on the area of the vertical surface of the obstacle, but since the distance is relatively long, the average value of the signal strength of the reflected signal is relatively small due to the long transmission distance, and therefore the above-mentioned scheme excludes this case by the feature that the average value of the n signal strength values is larger than the signal strength threshold value. The distance level is determined by setting the situation to be very close to the obstacle by the above-described setting of the two directions, i.e., the setting in which the absolute value of the difference between the maximum value and the minimum value among the n signal intensity values is lower than the difference threshold and the average value of the n signal intensity values is larger than the signal intensity threshold.
Optionally, if the electronic device includes an ultrasonic sensor, an angle sensor, and a positioning sensor, the detecting, by the electronic device, the first parameter of the voice call specifically includes:
the positioning sensor acquires the position coordinates of the electronic equipment, the angle sensor detects the angle of the electronic equipment, if the frequency of the angle change is higher than a frequency threshold value, the ultrasonic sensor is controlled to emit an ultrasonic signal in a second time interval, the starting time of the second time interval is a second time t1 for determining that the frequency of the angle change is higher than the frequency threshold value, the duration of the second time interval is a set value (for example, 2 seconds), the ultrasonic signal is received, m signal intensity values in the reflected signal are collected, if the absolute value of the difference between the maximum value and the minimum value in the m signal intensity values is lower than the difference threshold value and the average value of the m signal intensity values is greater than the signal intensity threshold value, the distance is determined to belong to the lowest level (the distance is smaller), the m value is an integer greater than or equal to 2, if the absolute value of the maximum value and the minimum value in the m signal intensity values is higher than the difference threshold value and the average value of the, the distance is determined to belong to the middle rank (i.e., the distance is moderate), e.g., the absolute value of the maximum value and the minimum value among the m signal strength values is lower than the difference threshold and the average value of the m signal strength values is smaller than the signal strength threshold, the distance is determined to belong to the highest rank (i.e., the distance is large).
According to the technical scheme, when the angle sensor detects the angle change, whether the frequency of the angle change is higher than a frequency threshold value or not is detected, if the frequency of the angle change is higher than the frequency threshold value, the ultrasonic signal is transmitted in a second time interval, the ultrasonic reflection signal is received, n signal intensity values of the reflection signal are collected, the influence of the angle on an obstacle is determined according to the absolute value of the difference value between the maximum value and the minimum value of the n signal intensity values and the average value of the n signal intensity values, whether the first distance of the obstacle is smaller than a distance threshold value or not is judged, and then whether a DAT is started or not is determined. The reason for this is that, for the ultrasonic signal and the reflected signal, the reflected signal is generally reflected by an obstacle on a plane perpendicular to the ultrasonic signal, and the angle greatly affects the change of the intensity of the transmitted signal, and the technical scheme of the present application selects a first time interval of angle change, in which the angle between the ultrasonic sensor on the electronic device and the obstacle changes due to the change of the angle of the electronic device, in which case the distance of the obstacle is generally far from the electronic device, and because of the obstacle at a far distance, the area of a vertical plane with respect to the ultrasonic signal changes after the angle of the electronic device changes, and the area change is mainly represented by the decrease or increase of the signal intensity on the reflected signal. In another case, the first distance between the obstacle and the electronic device is very small, and in this case, after the angle of the electronic device changes, since the angle is very close to the obstacle, the area of the vertical plane with respect to the ultrasonic signal does not change much, and the signal intensity is substantially unchanged in the expression of the reflected signal, that is, the absolute value of the difference between the maximum value and the minimum value among the m signal intensity values is lower than the difference threshold. In addition, there is a case where the area of the obstacle is large but the distance is relatively long, and in this case, the change in the angle of the electronic device has little influence on the area of the vertical surface of the obstacle, but since the distance is relatively long, the average value of the signal strength of the reflected signal is relatively small due to the long transmission distance, and therefore the above-mentioned scheme excludes this case by the feature that the average value of the m signal strength values is larger than the signal strength threshold value. Therefore, through the setting in the two directions, that is, if the absolute value of the difference between the maximum value and the minimum value in the m signal intensity values is lower than the difference threshold and the average value of the m signal intensity values is greater than the signal intensity threshold, the situation is set to be the situation where the obstacle is very close, so that a basis for judging the starting of the DAT is provided, unnecessary DAT switching can be reduced, voice call quality is improved, power consumption is reduced, and user experience is improved.
Referring to fig. 4, fig. 4 provides an electronic device including: the touch screen display device comprises a plurality of antennas 401, a touch display screen 402, a sensor 403 and a processor 404, wherein the plurality of antennas 401, the touch display screen 402 and the sensor 403 are connected with the processor 404, and the connection mode may be a plurality of modes, for example, as shown in fig. 4, the connection mode is a mode of using a bus 405.
The processor 404 is configured to detect, during a voice call, a signal strength of a first antenna of the voice call and whether the touch display screen is in a screen-off state;
the processor 404 is configured to control the sensor to acquire a first parameter of the voice call if the signal strength is lower than the signal threshold and the touch display screen is in a screen-off state;
the processor 404 further matches the first parameter with a historical parameter to obtain a first historical parameter matched with the first parameter, extracts a second antenna in the first historical parameter, and switches the voice call to the second antenna by the electronic device.
Optionally, the first parameter includes: distance and position coordinates of the first antenna from the obstruction, the historical parameters comprising: antenna-to-obstruction distance, antenna identification, coordinates, and time;
the processor 404 is specifically configured to determine a distance matching interval according to the distance of the first parameter, determine a coordinate matching interval according to the coordinate of the first parameter, and find out a first history parameter in the distance matching interval and the coordinate matching interval from history parameters.
Optionally, the processor 404 is further configured to, when the history parameters located in the distance matching interval and the coordinate matching interval simultaneously as found in the history parameters have a plurality of matching history parameters, take a most recent history parameter of the plurality of matching history parameters as the first history parameter.
Optionally, the sensor 403 includes: an ultrasonic sensor 4031, an angle sensor 4032, and a positioning sensor 4033;
a positioning sensor 4033 for acquiring position coordinates of the electronic device;
an angle sensor 4032 for detecting an angle of the electronic device;
the processor 404 is further configured to, if the angle changes, control the ultrasonic sensor to emit the ultrasonic signal in a first time interval, where a start time of the first time interval is a first time t1 when the angle changes, a duration of the first time interval is a set value (e.g., 2 seconds), receive the reflected signal of the ultrasonic signal, collect n signal strength values in the reflected signal, and determine that the distance of the first parameter belongs to the lowest level (specifically, the distance level may be low), if an absolute value of a difference between a maximum value and a minimum value of the n signal strength values is lower than a difference threshold and an average value of the n signal strength values is greater than the signal strength threshold. The value of n is an integer greater than or equal to 2. If the absolute value of the maximum value and the minimum value in the n signal intensity values is higher than the difference threshold value and the average value of the n signal intensity values is larger than the signal intensity threshold value, the distance is determined to belong to the middle level (namely, the distance is moderate), and if the absolute value of the maximum value and the minimum value in the n signal intensity values is lower than the difference threshold value and the average value of the n signal intensity values is smaller than the signal intensity threshold value, the distance is determined to belong to the highest level (namely, the distance is larger).
According to the technical scheme, when the angle sensor detects the change of the angle, the ultrasonic signal is transmitted, the ultrasonic reflection signal is received, n signal intensity values of the reflection signal are collected, and the influence of the angle on the barrier is determined according to the absolute value of the difference value between the maximum value and the minimum value of the n signal intensity values and the average value of the n signal intensity values to judge the grade of the distance of the barrier. The reason for this is that, for the ultrasonic signal and the reflected signal, the reflected signal is generally reflected by an obstacle on a plane perpendicular to the ultrasonic signal, and the angle greatly affects the change of the intensity of the transmitted signal, and the technical scheme of the present application selects a first time interval of angle change, in which the angle between the ultrasonic sensor on the electronic device and the obstacle changes due to the change of the angle of the electronic device, in which case the distance of the obstacle is generally far from the electronic device, and because of the obstacle at a far distance, the area of a vertical plane with respect to the ultrasonic signal changes after the angle of the electronic device changes, and the area change is mainly represented by the decrease or increase of the signal intensity on the reflected signal. In another case, the first distance between the obstacle and the electronic device is very small, and in this case, after the angle of the electronic device changes, since the angle is very close to the obstacle, the area of the vertical plane with respect to the ultrasonic signal does not change much, and the signal intensity is substantially unchanged in the expression of the reflected signal, that is, the absolute value of the difference between the maximum value and the minimum value of the n signal intensity values is lower than the difference threshold. In addition, there is a case where the area of the obstacle is large but the distance is relatively long, and in this case, the change in the angle of the electronic device has little influence on the area of the vertical surface of the obstacle, but since the distance is relatively long, the average value of the signal strength of the reflected signal is relatively small due to the long transmission distance, and therefore the above-mentioned scheme excludes this case by the feature that the average value of the n signal strength values is larger than the signal strength threshold value. The distance level is determined by setting the situation to be very close to the obstacle by the above-described setting of the two directions, i.e., the setting in which the absolute value of the difference between the maximum value and the minimum value among the n signal intensity values is lower than the difference threshold and the average value of the n signal intensity values is larger than the signal intensity threshold.
Optionally, if the electronic device includes an ultrasonic sensor, an angle sensor, and a positioning sensor, the detecting, by the electronic device, the first parameter of the voice call specifically includes:
a positioning sensor for acquiring position coordinates of the electronic device,
an angle sensor for detecting an angle of the electronic device,
a processor, configured to control the ultrasonic sensor to emit the ultrasonic signal in a second time interval if the frequency of the angle change is higher than the frequency threshold, the start time of the second time interval is a second time t1 when the frequency of the angle change is higher than the frequency threshold, the duration of the second time interval is a set value (e.g. 2 seconds), receive the reflected signal of the ultrasonic signal, collect m signal strength values in the reflected signal, if the absolute value of the difference between the maximum value and the minimum value in the m signal strength values is lower than the difference threshold and the average value of the m signal strength values is greater than the signal strength threshold, determine that the distance belongs to the lowest level (the distance is smaller), where m is an integer greater than or equal to 2, if the absolute value of the maximum value and the minimum value in the m signal strength values is higher than the difference threshold and the average value of the m signal strength values is greater than the signal strength threshold, the distance is determined to belong to the middle rank (i.e., the distance is moderate), e.g., the absolute value of the maximum value and the minimum value among the m signal strength values is lower than the difference threshold and the average value of the m signal strength values is smaller than the signal strength threshold, the distance is determined to belong to the highest rank (i.e., the distance is large).
According to the technical scheme, when the angle sensor detects the angle change, whether the frequency of the angle change is higher than a frequency threshold value or not is detected, if the frequency of the angle change is higher than the frequency threshold value, the ultrasonic signal is transmitted in a second time interval, the ultrasonic reflection signal is received, n signal intensity values of the reflection signal are collected, the influence of the angle on an obstacle is determined according to the absolute value of the difference value between the maximum value and the minimum value of the n signal intensity values and the average value of the n signal intensity values, whether the first distance of the obstacle is smaller than a distance threshold value or not is judged, and then whether a DAT is started or not is determined. The reason for this is that, for the ultrasonic signal and the reflected signal, the reflected signal is generally reflected by an obstacle on a plane perpendicular to the ultrasonic signal, and the angle greatly affects the change of the intensity of the transmitted signal, and the technical scheme of the present application selects a first time interval of angle change, in which the angle between the ultrasonic sensor on the electronic device and the obstacle changes due to the change of the angle of the electronic device, in which case the distance of the obstacle is generally far from the electronic device, and because of the obstacle at a far distance, the area of a vertical plane with respect to the ultrasonic signal changes after the angle of the electronic device changes, and the area change is mainly represented by the decrease or increase of the signal intensity on the reflected signal. In another case, the first distance between the obstacle and the electronic device is very small, and in this case, after the angle of the electronic device changes, since the angle is very close to the obstacle, the area of the vertical plane with respect to the ultrasonic signal does not change much, and the signal intensity is substantially unchanged in the expression of the reflected signal, that is, the absolute value of the difference between the maximum value and the minimum value among the m signal intensity values is lower than the difference threshold. In addition, there is a case where the area of the obstacle is large but the distance is relatively long, and in this case, the change in the angle of the electronic device has little influence on the area of the vertical surface of the obstacle, but since the distance is relatively long, the average value of the signal strength of the reflected signal is relatively small due to the long transmission distance, and therefore the above-mentioned scheme excludes this case by the feature that the average value of the m signal strength values is larger than the signal strength threshold value. Therefore, through the setting in the two directions, that is, if the absolute value of the difference between the maximum value and the minimum value in the m signal intensity values is lower than the difference threshold and the average value of the m signal intensity values is greater than the signal intensity threshold, the situation is set to be the situation where the obstacle is very close, so that a basis for judging the starting of the DAT is provided, unnecessary DAT switching can be reduced, voice call quality is improved, power consumption is reduced, and user experience is improved.
Fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal provided in an embodiment of the present application. Referring to fig. 5, the handset includes: radio Frequency (RF) circuit 910, memory 920, input unit 930, sensor 950, audio collector 960, Wireless Fidelity (WiFi) module 970, application processor AP980, power supply 990, and sensor. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components, for example, the rf circuitry 910 may be coupled to multiple antennas.
The following describes each component of the mobile phone in detail with reference to fig. 5:
the input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 930 may include a touch display screen 933, a fingerprint recognition apparatus 931, a face recognition apparatus 936, an iris recognition apparatus 937, and other input devices 932. The input unit 930 may also include other input devices 932. In particular, other input devices 932 may include, but are not limited to, one or more of physical keys, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. Wherein,
the AP980 is used for detecting the signal intensity of the first antenna of the voice call and whether the touch display screen is in a screen-off state or not during the voice call;
the AP980 is used for controlling the sensor to acquire a first parameter of the voice call if the signal intensity is lower than the signal threshold value and the touch display screen is in a screen-off state;
the AP980 is further configured to match the first parameter with a historical parameter to obtain a first historical parameter matched with the first parameter, extract a second antenna in the first historical parameter, and switch the voice call to the second antenna by the electronic device.
Optionally, the AP980 is specifically configured to determine whether the first distance is smaller than a distance threshold, for example, smaller than the distance threshold and lasting for a certain time, start DAT to switch the voice call to another antenna.
Optionally, the first parameter includes: distance and position coordinates of the first antenna from the obstruction, the historical parameters comprising: antenna-to-obstruction distance, antenna identification, coordinates, and time;
the AP980 is specifically configured to determine a distance matching interval according to the distance of the first parameter, determine a coordinate matching interval according to the coordinate of the first parameter, and find out a first history parameter in the distance matching interval and the coordinate matching interval from history parameters;
optionally, the AP980 is further specifically configured to, when the history parameters located in the distance matching interval and the coordinate matching interval and found in the history parameters have a plurality of matching history parameters, use a latest history parameter among the plurality of matching history parameters as the first history parameter.
Optionally, for example, the sensor 950 includes: an ultrasonic sensor 890, an angle sensor 891, and a positioning sensor;
an angle sensor 891 for detecting an angle of the electronic device;
the AP980 is further configured to, if the angle changes, control the ultrasonic sensor to emit an ultrasonic signal in a first time interval, where a start time of the first time interval is a first time t1 when the angle changes, a duration of the first time interval is a set value, receive a reflected signal of the ultrasonic signal, collect n signal strength values in the reflected signal, and determine that a distance of the first parameter belongs to a lowest level, if an absolute value of a difference between a maximum value and a minimum value of the n signal strength values is lower than a difference threshold and an average value of the n signal strength values is greater than the signal strength threshold; and if the absolute value of the maximum value and the minimum value in the n signal intensity values is higher than the difference threshold value and the average value of the n signal intensity values is larger than the signal intensity threshold value, determining that the distance belongs to the middle level, and if the absolute value of the maximum value and the minimum value in the n signal intensity values is lower than the difference threshold value and the average value of the n signal intensity values is smaller than the signal intensity threshold value, determining that the distance belongs to the highest level, wherein the value of n is an integer which is more than or equal to 2.
Optionally, an angle sensor 891 for detecting the angle of the electronic device,
AP980, further configured to, if the frequency of the angle change is higher than the frequency threshold, control the ultrasonic sensor to emit the ultrasonic signal in a second time interval, where a start time of the second time interval is a second time t1 at which the frequency of the angle change is determined to be higher than the frequency threshold, a duration of the second time interval is a set value (e.g. 2 seconds), receive a reflected signal of the ultrasonic signal, collect m signal strength values in the reflected signal, where m is an integer greater than or equal to 2, where m is an integer greater than the difference threshold, where m is an average of m signal strength values greater than the difference threshold, the distance is determined to belong to the middle rank (i.e., the distance is moderate), e.g., the absolute value of the maximum value and the minimum value among the m signal strength values is lower than the difference threshold and the average value of the m signal strength values is smaller than the signal strength threshold, the distance is determined to belong to the highest rank (i.e., the distance is large).
The AP980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions and processes of the mobile phone by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Optionally, AP980 may include one or more processing units; alternatively, the AP980 may integrate an application processor that handles primarily the operating system, user interface, and applications, etc., and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into the AP 980.
Further, the memory 920 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.
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications, general packet radio service, code division multiple access, wideband code division multiple access, long term evolution, new air interface, email, short message service, etc.
The handset may also include at least one sensor 950, such as an ultrasonic sensor, an angle sensor, a light sensor, a motion sensor, and others. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the touch display screen according to the brightness of ambient light, and the proximity sensor may turn off the touch display screen and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a 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 can be configured on the mobile phone, further description is omitted here.
Audio collector 960, speaker 961, microphone 962 may provide an audio interface between the user and the handset. The audio collector 960 can transmit the received electrical signal converted from the audio data to the speaker 961, and the audio data is converted into a sound signal by the speaker 961 for playing; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio collector 960 and converted into audio data, and then the audio data is processed by the audio data playing AP980, and then the audio data is sent to another mobile phone through the RF circuit 910, or the audio data is played to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 5 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope of not changing the essence of the application.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to various components, and optionally, the power supply may be logically connected to the AP980 via a power management system, so that functions of managing charging, discharging, and power consumption are implemented via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, a light supplement device, a light sensor, and the like, which are not described herein again.
It can be seen that the technical scheme that this application provided confirms whether to be in the sleep state through acquireing position coordinate and time, if be in the sleep state, judge whether contain the baby through the picture of gathering, when containing the baby, control wireless transceiver's communication function, reduce the influence of wireless transceiver's radiation to the baby like this, improve user's experience degree.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the antenna switching methods during call as described in the above method embodiments.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the methods for switching antennas during a call as described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person 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 (10)

1. A method for switching an antenna in a call is applied to an electronic device, and the electronic device comprises: the system comprises a plurality of antennas, a touch display screen and a sensor; wherein,
when the voice call is carried out, the electronic equipment detects the signal intensity of a first antenna of the voice call and whether the touch display screen is in a screen-off state;
if the signal intensity is lower than the signal threshold and the touch display screen is in a screen-off state, the electronic equipment acquires a first parameter of the voice call;
the electronic equipment matches the first parameter with a historical parameter to obtain a first historical parameter matched with the first parameter, extracts a second antenna in the first historical parameter, and switches the voice call to the second antenna.
2. The method of claim 1, wherein the first parameter comprises: distance and position coordinates of the first antenna from the obstruction, the historical parameters comprising: antenna-to-obstruction distance, antenna identification, coordinates, and time;
the electronic equipment matches the first parameter with the historical parameters to obtain the first historical parameter matched with the first parameter comprises the following steps:
the electronic equipment determines a distance matching interval according to the distance of the first parameter, determines a coordinate matching interval according to the coordinate of the first parameter, and finds out a first historical parameter in the distance matching interval and the coordinate matching interval from historical parameters.
3. The method according to claim 2, wherein the step of finding out the first history parameter in the distance matching interval and the coordinate matching interval from the history parameters specifically comprises:
and if the history parameters which are searched in the history parameters and are positioned in the distance matching interval and the coordinate matching interval simultaneously have a plurality of matching history parameters, taking the latest history parameter in the plurality of matching history parameters as a first history parameter.
4. The method of claim 1, wherein the first parameter comprises: distance and position coordinates of the first antenna and the obstruction; the sensor includes: the device comprises an ultrasonic sensor, an angle sensor and a positioning sensor;
the acquiring, by the electronic device, the first parameter of the voice call specifically includes:
the method comprises the steps that a positioning sensor obtains position coordinates of electronic equipment, an angle sensor detects an angle of the electronic equipment, if the angle changes, the ultrasonic sensor is controlled to emit an ultrasonic signal in a first time interval, the starting time of the first time interval is first time t1 when the angle changes, the duration of the first time interval is a set value, a reflected signal of the ultrasonic signal is received, n signal intensity values in the reflected signal are collected, and if the absolute value of the difference between the maximum value and the minimum value in the n signal intensity values is lower than a difference threshold value and the average value of the n signal intensity values is larger than the signal intensity threshold value, the distance of a first parameter is determined to belong to the lowest level; and if the absolute value of the maximum value and the minimum value in the n signal intensity values is higher than the difference threshold value and the average value of the n signal intensity values is larger than the signal intensity threshold value, determining that the distance belongs to the middle level, and if the absolute value of the maximum value and the minimum value in the n signal intensity values is lower than the difference threshold value and the average value of the n signal intensity values is smaller than the signal intensity threshold value, determining that the distance belongs to the highest level, wherein the value of n is an integer which is more than or equal to 2.
5. An electronic device, comprising: the system comprises a plurality of antennas, a touch display screen, a sensor and a processor; wherein,
the processor is used for detecting the signal intensity of a first antenna of the voice call and whether the touch display screen is in a screen-off state or not during the voice call;
the processor is further configured to control the sensor to acquire a first parameter of the voice call if the signal strength is lower than a signal threshold and the touch display screen is in a screen-off state;
the processor is further configured to match the first parameter with a historical parameter to obtain a first historical parameter matched with the first parameter, extract a second antenna in the first historical parameter, and switch the voice call to the second antenna by the electronic device.
6. The electronic device of claim 5, wherein the first parameter comprises: distance and position coordinates of the first antenna from the obstruction, the historical parameters comprising: antenna-to-obstruction distance, antenna identification, coordinates, and time;
the processor is specifically configured to determine a distance matching interval according to the distance of the first parameter, determine a coordinate matching interval according to the coordinate of the first parameter, and find out a first history parameter in the distance matching interval and the coordinate matching interval from history parameters.
7. The electronic device of claim 6,
the processor is specifically configured to, when a plurality of matching history parameters are included in the history parameters found in the history parameters and located in the distance matching interval and the coordinate matching interval at the same time, take a most recent history parameter of the plurality of matching history parameters as a first history parameter.
8. The method of claim 1, wherein the first parameter comprises: distance and position coordinates of the first antenna and the obstruction; the sensor includes: the device comprises an ultrasonic sensor, an angle sensor and a positioning sensor;
the positioning sensor is used for acquiring the position coordinates of the electronic equipment;
the angle sensor is used for detecting the angle of the electronic equipment;
the processor is specifically configured to, if the angle changes, control the ultrasonic sensor to emit an ultrasonic signal in a first time interval, where a start time of the first time interval is a first time t1 when the angle changes, a duration of the first time interval is a set value, receive a reflected signal of the ultrasonic signal, acquire n signal intensity values in the reflected signal, and determine that a distance of the first parameter belongs to a lowest level, if an absolute value of a difference between a maximum value and a minimum value of the n signal intensity values is lower than a difference threshold and an average value of the n signal intensity values is greater than the signal intensity threshold; and if the absolute value of the maximum value and the minimum value in the n signal intensity values is higher than the difference threshold value and the average value of the n signal intensity values is larger than the signal intensity threshold value, determining that the distance belongs to the middle level, and if the absolute value of the maximum value and the minimum value in the n signal intensity values is lower than the difference threshold value and the average value of the n signal intensity values is smaller than the signal intensity threshold value, determining that the distance belongs to the highest level, wherein the value of n is an integer which is more than or equal to 2.
9. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-4.
10. A computer program product, characterized in that the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform the method according to any one of claims 1-4.
CN201810528541.XA 2018-05-29 2018-05-29 Antenna switching method in call and related product Active CN108810261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810528541.XA CN108810261B (en) 2018-05-29 2018-05-29 Antenna switching method in call and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810528541.XA CN108810261B (en) 2018-05-29 2018-05-29 Antenna switching method in call and related product

Publications (2)

Publication Number Publication Date
CN108810261A true CN108810261A (en) 2018-11-13
CN108810261B CN108810261B (en) 2021-03-02

Family

ID=64090832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810528541.XA Active CN108810261B (en) 2018-05-29 2018-05-29 Antenna switching method in call and related product

Country Status (1)

Country Link
CN (1) CN108810261B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111200678A (en) * 2018-11-19 2020-05-26 北京小米移动软件有限公司 Electronic device and audio output method
CN112039614A (en) * 2020-09-07 2020-12-04 Oppo广东移动通信有限公司 Signal intensity calculation method and device, terminal and storage medium
WO2022237622A1 (en) * 2021-05-13 2022-11-17 中兴通讯股份有限公司 Flexible screen terminal, antenna adjustment method, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554834A (en) * 2015-08-18 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Antenna switching method of user terminal and user terminal
CN105657656A (en) * 2016-01-06 2016-06-08 广东欧珀移动通信有限公司 Transmission power adjustment method and user equipment
JP2016208371A (en) * 2015-04-24 2016-12-08 パナソニックIpマネジメント株式会社 Wireless communication terminal and base station allocation method
CN106973408A (en) * 2017-03-27 2017-07-21 努比亚技术有限公司 Antenna allocation method and device
CN107465428A (en) * 2017-08-30 2017-12-12 努比亚技术有限公司 Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107483075A (en) * 2017-08-30 2017-12-15 努比亚技术有限公司 A kind of antenna switching method, terminal and computer-readable recording medium
CN107734614A (en) * 2017-10-19 2018-02-23 努比亚技术有限公司 WiFi method of controlling antenna, mobile terminal and computer-readable recording medium
CN107743175A (en) * 2017-10-31 2018-02-27 广东欧珀移动通信有限公司 Terminal, antenna module, have store function device and antenna switching method
US20180068315A1 (en) * 2011-03-11 2018-03-08 Bytemark, Inc. Short range wireless translation methods and systems for hands-free fare validation
CN108039897A (en) * 2018-02-08 2018-05-15 广东欧珀移动通信有限公司 Antenna switching method, device, storage medium and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180068315A1 (en) * 2011-03-11 2018-03-08 Bytemark, Inc. Short range wireless translation methods and systems for hands-free fare validation
JP2016208371A (en) * 2015-04-24 2016-12-08 パナソニックIpマネジメント株式会社 Wireless communication terminal and base station allocation method
CN105554834A (en) * 2015-08-18 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Antenna switching method of user terminal and user terminal
CN105657656A (en) * 2016-01-06 2016-06-08 广东欧珀移动通信有限公司 Transmission power adjustment method and user equipment
CN106973408A (en) * 2017-03-27 2017-07-21 努比亚技术有限公司 Antenna allocation method and device
CN107465428A (en) * 2017-08-30 2017-12-12 努比亚技术有限公司 Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107483075A (en) * 2017-08-30 2017-12-15 努比亚技术有限公司 A kind of antenna switching method, terminal and computer-readable recording medium
CN107734614A (en) * 2017-10-19 2018-02-23 努比亚技术有限公司 WiFi method of controlling antenna, mobile terminal and computer-readable recording medium
CN107743175A (en) * 2017-10-31 2018-02-27 广东欧珀移动通信有限公司 Terminal, antenna module, have store function device and antenna switching method
CN108039897A (en) * 2018-02-08 2018-05-15 广东欧珀移动通信有限公司 Antenna switching method, device, storage medium and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111200678A (en) * 2018-11-19 2020-05-26 北京小米移动软件有限公司 Electronic device and audio output method
US11064307B2 (en) 2018-11-19 2021-07-13 Beijing Xiaomi Mobile Software Co., Ltd. Electronic device and method of outputting audio
CN112039614A (en) * 2020-09-07 2020-12-04 Oppo广东移动通信有限公司 Signal intensity calculation method and device, terminal and storage medium
WO2022237622A1 (en) * 2021-05-13 2022-11-17 中兴通讯股份有限公司 Flexible screen terminal, antenna adjustment method, and storage medium

Also Published As

Publication number Publication date
CN108810261B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN108900231B (en) Dynamic antenna adjustment method and related product
CN109240551B (en) Method for controlling electronic device by using gestures and related product
CN109561420B (en) Emergency help-seeking method and related equipment
CN108833683B (en) Dynamic antenna adjustment implementation method and related product
CN107172266A (en) Method for controlling fingerprint identification and Related product
CN107172267B (en) Fingerprint identification control method and related product
CN107423601B (en) Fingerprint identification control method, fingerprint identification control device, fingerprint identification control terminal, fingerprint identification control storage medium and computer product
CN107317918B (en) Parameter setting method and related product
CN108810261B (en) Antenna switching method in call and related product
CN109274812B (en) Method for controlling electronic device through ultrasonic gestures and related product
CN108881778B (en) Video output method based on wearable device and wearable device
CN108600887B (en) Touch control method based on wireless earphone and related product
CN108882084B (en) Wearable equipment electric quantity balancing method and related product
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN110221696B (en) Eyeball tracking method and related product
CN108834013A (en) A kind of wearable device electric quantity balancing method and Related product
CN108307075B (en) Incoming call processing method and mobile terminal
CN107659718B (en) Method and device for controlling mobile terminal, mobile terminal and storage medium
CN110277097B (en) Data processing method and related equipment
CN110891262A (en) Bluetooth pairing method, system and terminal equipment
CN108600906B (en) Playing control method and device for multiple sound boxes
CN110764650A (en) Key trigger detection method and electronic equipment
CN112367425B (en) Volume adjusting method and device and terminal
CN106484529B (en) The Memory adjustments method and terminal of terminal
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment

Legal Events

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