CN107026938A - A kind of method for handover control, device and the user terminal of user terminal answer mode - Google Patents

A kind of method for handover control, device and the user terminal of user terminal answer mode Download PDF

Info

Publication number
CN107026938A
CN107026938A CN201710284321.2A CN201710284321A CN107026938A CN 107026938 A CN107026938 A CN 107026938A CN 201710284321 A CN201710284321 A CN 201710284321A CN 107026938 A CN107026938 A CN 107026938A
Authority
CN
China
Prior art keywords
mode
user terminal
user
relative distance
answer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710284321.2A
Other languages
Chinese (zh)
Inventor
余刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co 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 Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710284321.2A priority Critical patent/CN107026938A/en
Publication of CN107026938A publication Critical patent/CN107026938A/en
Pending legal-status Critical Current

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

Landscapes

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

Abstract

The present embodiments relate to communication technical field, a kind of method for handover control, device and the user terminal of user terminal answer mode are disclosed, this method includes:When user terminal is in talking state or plays voice, by the relative distance for being arranged at the range sensor of the user terminal, detection user terminal and user ear;According to the relative distance, the answer mode of control user terminal switches between hands-free mode and handset mode.Implement the embodiment of the present invention, realize the intelligent switching of answer mode, avoid sound from being intercepted by people around when conversing or playing voice, reduce the risk of privacy leakage, be conducive to protecting privacy of user.

Description

A kind of method for handover control, device and the user terminal of user terminal answer mode
Technical field
The present invention relates to communication technical field, and in particular to a kind of method for handover control of user terminal answer mode, dress Put and user terminal.
Background technology
The answer mode of user terminal such as smart mobile phone, Intelligent worn device (such as intelligent watch, Intelligent bracelet) includes There are hands-free mode and handset mode (being also privacy mode), user can enter in the system setting of user terminal, set manually Put using hands-free mode or handset mode, but a kind of pattern can only be set.And when in use, such as user terminal is being received After being picked up during incoming call and by user, the incoming call can only be answered using the pattern set, if the answer mode set is hands-free mould Formula, when the incoming call is probably an incoming call for being related to privacy content, may then cause privacy of user to be let out using hands-free mode Dew.
The content of the invention
The embodiment of the invention discloses a kind of method for handover control, device and the user terminal of user terminal answer mode, For solving the problem of existing user terminal answer mode can not automatically switch, intelligentized answer mode switching is realized, favorably In protection privacy of user.
First aspect present invention discloses a kind of method for handover control of user terminal answer mode, it may include:
When user terminal is in talking state or plays voice, by the Distance-sensing for being arranged at the user terminal Device, detects the relative distance of the user terminal and user ear;
According to the relative distance, the answer mode of the user terminal is controlled to be cut between hands-free mode and handset mode Change.
As an alternative embodiment, in first aspect present invention, it is described according to the relative distance, control institute The answer mode for stating user terminal switches between hands-free mode and handset mode, including:
Judge whether the relative distance is less than predetermined threshold value;
When the relative distance is less than predetermined threshold value, the answer mode of the user terminal is switched to and described listens cylinder mould Formula;When the relative distance is not less than predetermined threshold value, the answer mode of the user terminal is switched into the hands-free mode.
As an alternative embodiment, in first aspect present invention, it is described according to the relative distance, control institute The answer mode for stating user terminal switches between hands-free mode and handset mode, including:
Detect the hand motion that the user terminal occurs;
When the hand motion matches the first deliberate action and when the relative distance is less than predetermined threshold value, used described The answer mode of family terminal switches to the handset mode;
, will be described when the hand motion matches the second deliberate action and when the relative distance is not less than predetermined threshold value The answer mode of user terminal switches to the hands-free mode.
As an alternative embodiment, in first aspect present invention, the detection user terminal and user After the relative distance of ear, and it is described according to the relative distance, the answer mode of the user terminal is controlled hands-free Before switching between pattern and handset mode, methods described also includes:
Detect whether the user terminal is in headset mode;
When the user terminal is not on the headset mode, perform according to the relative distance, control described use The step of answer mode of family terminal switches between hands-free mode and handset mode.
As an alternative embodiment, in first aspect present invention, when the user terminal be not on it is described It is described according to the relative distance during headset mode, the answer mode of the user terminal is controlled in hands-free mode and listens cylinder mould Switch between formula, including:
When the user terminal is not on the headset mode, obtain corresponding to partner or voice sender User profile;
Judge the user indicated by the user profile whether by the responsible consumer that is identified in contacts list;
, will be described in the responsible consumer identified during the user indicated by the user profile is by the contacts list The answer mode of user terminal switches to the handset mode;
In the responsible consumer identified during the user indicated by the user profile is not the contacts list, judge Whether the relative distance is less than predetermined threshold value;
When the relative distance is less than the predetermined threshold value, the answer mode of the user terminal is switched into described listen Cylinder mould formula;
When the relative distance is not less than the predetermined threshold value, the answer mode of the user terminal is switched to described Hands-free mode.
Second aspect of the present invention discloses a kind of switching control of user terminal answer mode, it may include:
It is described by being arranged at for when user terminal is in talking state or plays voice apart from detection unit The range sensor of user terminal, detects the relative distance of the user terminal and user ear;
Control unit, for according to the relative distance detected apart from detection unit, controlling the user whole The answer mode at end switches between hands-free mode and handset mode.
As an alternative embodiment, in second aspect of the present invention, described control unit includes:
Judging unit, for it is described apart from detection unit detect the user terminal and user ear relative distance it Afterwards, judge whether the relative distance is less than predetermined threshold value;
First switch unit, for when the judging unit determines that the relative distance is less than predetermined threshold value, by institute The answer mode for stating user terminal switches to the handset mode;Determine that the relative distance is not less than in the judging unit During predetermined threshold value, the answer mode of the user terminal is switched into the hands-free mode.
As an alternative embodiment, in second aspect of the present invention, described control unit includes:
Motion detection unit, for it is described apart from detection unit detect the user terminal and user ear it is relative away from From after, the hand motion that the user terminal occurs is detected;
Second switch unit, for determining that the hand motion matches the first deliberate action when the motion detection unit When and the relative distance be less than predetermined threshold value when, the answer mode of the user terminal is switched into the handset mode;
Second switch unit is additionally operable to, when the motion detection unit determines that the hand motion matching second is pre- If during action and when the relative distance is not less than predetermined threshold value, the answer mode of the user terminal is switched to described hands-free Pattern.
As an alternative embodiment, in second aspect of the present invention, described device also includes:
Mode checking unit, for it is described apart from detection unit detect the user terminal and user ear it is relative away from From after, detect whether the user terminal is in headset mode;
Described control unit in the mode checking unit specifically for determining that the user terminal is not on described During headset mode, execution controls the answer mode of the user terminal in hands-free mode and listens cylinder mould according to the relative distance Switch between formula.
As an alternative embodiment, in second aspect of the present invention, described control unit is specifically for described When mode checking unit determines that the user terminal is not on the headset mode, according to the relative distance, institute is controlled Stating the mode that the answer mode of user terminal switches between hands-free mode and handset mode is specially:
Described control unit in the mode checking unit specifically for determining that the user terminal is not on described During headset mode, partner or the user profile corresponding to voice sender are obtained;And, judge the user profile institute Whether the user of instruction is by the responsible consumer that is identified in contacts list;And, in the user indicated by the user profile By identified in the contacts list responsible consumer when, the answer mode of the user terminal is switched to and described listens cylinder mould Formula;And, in the responsible consumer identified during the user indicated by the user profile is not the contacts list, judge Whether the relative distance is less than predetermined threshold value;And, when the relative distance is less than the predetermined threshold value, by the user The answer mode of terminal switches to the handset mode;And, when the relative distance is not less than the predetermined threshold value, by institute The answer mode for stating user terminal switches to the hands-free mode.
Third aspect present invention discloses a kind of user terminal, it may include:
The switching control of user terminal answer mode disclosed in second aspect.
Compared with prior art, the embodiment of the present invention has the advantages that:
In embodiments of the present invention, when user terminal is in talking state or plays voice, by being arranged at user The relative distance of the range sensor of terminal, detection user terminal and user ear, then according to the relative distance, controls user The answer mode of terminal switches between hands-free mode and handset mode.As can be seen that implement the embodiment of the present invention, being capable of basis The relative distance of user terminal and user ear, intelligently switches between hands-free mode and handset mode, further, uses Family is conversed or during privacy voice in the privacy for answering need for confidentiality, can be by controlling the relative of user terminal and user ear Distance, so as to select handset mode, it is to avoid sound is intercepted by people around, reduces the risk of privacy leakage.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below by using required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the schematic flow sheet of the method for handover control of user terminal answer mode disclosed in the embodiment of the present invention;
Fig. 2 illustrates for another flow of the method for handover control of user terminal answer mode disclosed in the embodiment of the present invention Figure;
Fig. 3 illustrates for another flow of the method for handover control of user terminal answer mode disclosed in the embodiment of the present invention Figure;
Fig. 4 is the structural representation of the switching control of user terminal answer mode disclosed in the embodiment of the present invention;
Fig. 5 is another structural representation of the switching control of user terminal answer mode disclosed in the embodiment of the present invention Figure;
Fig. 6 is another structural representation of the switching control of user terminal answer mode disclosed in the embodiment of the present invention Figure;
Fig. 7 is another structural representation of the switching control of user terminal answer mode disclosed in the embodiment of the present invention Figure;
Fig. 8 is the structural representation of user terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, the scope of protection of the invention is belonged to.
It should be noted that term " first ", " second " in description and claims of this specification etc. is to be used for The different object of difference, rather than for describing particular order.The term " comprising " and " having " of the embodiment of the present invention and he Any deformation, it is intended that covering is non-exclusive to be included, for example, contain the process of series of steps or unit, method, System, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include what is do not listed clearly Or for the intrinsic other steps of these processes, method, product or equipment or unit.
The embodiment of the invention discloses a kind of method for handover control of user terminal answer mode, for realizing answer mode Intelligent switching, and avoid sound from being intercepted by people around when answering call or speech play, reduce privacy leakage Risk.The embodiment of the present invention also accordingly discloses a kind of switching control of user terminal answer mode and a kind of user Terminal.
The present embodiments relate to user terminal can be smart mobile phone, Intelligent worn device (such as intelligent watch, intelligence Bracelet) etc., they can exchange language and/or data with wireless access network.Below by from the angle of user terminal, with reference to Specific embodiment, is discussed in detail technical solution of the present invention.
Embodiment one
Referring to Fig. 1, Fig. 1 is the flow of the method for handover control of user terminal answer mode disclosed in the embodiment of the present invention Schematic diagram;As shown in figure 1, a kind of method for handover control of user terminal answer mode may include:
101st, user terminal is when in talking state or broadcasting voice, by being arranged at the Distance-sensing of its own Device, detects its relative distance with user ear.
In embodiments of the present invention, in the external range sensor of user terminal, in order to be accurately detected use The relative distance of family terminal and user ear, and during due to conversing or playing voice, user is in order to more clearly from Sound is heard, is typically all that loudspeaker is pressed close into ear, therefore, in embodiments of the present invention, it is preferable that can be by apart from biography Sensor is arranged on beside loudspeaker.
As an alternative embodiment, user terminal monitors whether to receive incoming call in real time, when receiving incoming call, Detect whether to receive the answer command that user is directed to the incoming call, if receiving the answer command, answer the incoming call and enter call State, performs the range sensor by being arranged at its own, the step of detecting its relative distance with user ear;Or
User terminal monitors whether to receive the play operation of the voice for some social client of user's input, If user terminal receives the play operation, the voice is played, the range sensor by being arranged at its own is performed, detected The step of its relative distance with user ear.
As another optional embodiment, user terminal monitors whether to receive incoming call in real time, is receiving incoming call Shi Zuowei talking states, perform the range sensor by being arranged at its own, detect itself and the relative distance of user ear Step;Or
User terminal monitors whether to receive the play operation of the voice for some social client of user's input, If user terminal receives the play operation, the voice is played, the range sensor by being arranged at its own is performed, detected The step of its relative distance with user ear.
102nd, user terminal is according to the relative distance, and control answer mode switches between hands-free mode and handset mode.
The answer mode of user terminal includes hands-free mode and handset mode in the embodiment of the present invention, and user terminal can root According to its relative distance with user ear, switch between hands-free mode and handset mode.
As an alternative embodiment, user terminal is after its relative distance with user ear is detected, and User terminal is controlled before its answer mode switches between hands-free mode and handset mode, the present invention according to the relative distance Embodiment also includes:User terminal detects whether it is in headset mode;And, when user terminal is not on the headset mode When, perform according to relative distance, control its answer mode to switch between hands-free mode and handset mode.Because user can lead to Cross wired earphone, bluetooth earphone etc. and answer call or voice, therefore, in embodiments of the present invention, its answer mode is except upper The hands-free mode continued and handset mode are given an account of, headset mode is can also be.Advantageously it can be protected using headset mode in privacy Shield, can also reduce interference of the outside noise to call, improve speech quality.If the currently employed headset mode of user terminal, Terminate the flow.
Further, when user terminal is not on headset mode, user terminal controls the user according to relative distance The answer mode of terminal switches between hands-free mode and handset mode to be specifically included:When user terminal is not on headset mode When, obtain partner or the user profile corresponding to voice sender;And, judge that the user indicated by user profile is The no responsible consumer by being identified in contacts list;Identified in the user indicated by user profile is by contacts list During responsible consumer, the answer mode of user terminal is switched into handset mode;It is not contact in the user indicated by user profile During the responsible consumer identified in list, judge whether relative distance is less than predetermined threshold value;It is less than default threshold in relative distance During value, the answer mode of user terminal is switched into handset mode;When relative distance is not less than predetermined threshold value, by user terminal Answer mode switch to hands-free mode.The important use identified in the user indicated by the user profile is contacts list During family, answer mode is switched into hands-free mode.Identified in the user indicated by the user profile is not contacts list Responsible consumer when, further according to relative distance carry out answer mode switching.In this embodiment, by arranging contact person Identification of contacts important relation people in table, that is, responsible consumer, due to for responsible consumer, it is desirable to dialog context or voice Content can be maintained secrecy, therefore, call or voice for responsible consumer, directly using handset mode.
In embodiments of the present invention, when user terminal is in talking state or plays voice, by being arranged at user The relative distance of the range sensor of terminal, detection user terminal and user ear, then according to the relative distance, controls user The answer mode of terminal switches between hands-free mode and handset mode.As can be seen that implement the embodiment of the present invention, being capable of basis The relative distance of user terminal and user ear, intelligently switches between hands-free mode and handset mode, further, uses Family is conversed or during privacy voice in the privacy for answering need for confidentiality, can be by controlling the relative of user terminal and user ear Distance, so as to select handset mode, it is to avoid sound is intercepted by people around, reduces the risk of privacy leakage.
Embodiment two
Referring to Fig. 2, Fig. 2 is the another of the method for handover control of user terminal answer mode disclosed in the embodiment of the present invention Schematic flow sheet;As shown in Fig. 2 a kind of method for handover control of user terminal answer mode may include:
201st, user terminal is when in talking state or broadcasting voice, by being arranged at the Distance-sensing of its own Device, detects its relative distance with user ear.
As an alternative embodiment, user terminal by being arranged at the range sensor of its own, detect its with The relative distance of user ear is specifically included:User terminal activation is arranged at the range sensor of its own, triggers distance biography Sensor emitted energy wave beam is simultaneously reflected by testee (such as user ear), calculates energy beam from launching testee The time span reflected, the distance between user terminal and testee are calculated according to the time span.Conventional energy Wave beam has:Electromagnetic wave, ultrasonic wave, sound wave, laser, visible or infrared light.
As another optional embodiment, range sensor set luminance sensor and one can send specific light The infrarede emitting diode of spectrum, user terminal detects its phase with user ear by being arranged at the range sensor of its own Adjust the distance and specifically include:User terminal triggering infrarede emitting diode lights (human eye is invisible) and triggering luminance sensor The brightness of detection special spectrum in real time, when thering is testee (user ear) to be illuminated in front of light emitting diode, brightness sensing Device sends luminance signal, and user terminal is according to the luminance signal, the distance between detection user terminal and testee.
202nd, user terminal judges whether the relative distance is less than predetermined threshold value.Wherein, it is less than default threshold in relative distance During value, step 203 is turned to;When relative distance is not less than predetermined threshold value, step 204 is turned to.
Wherein, in talking state or during speech play, range sensor is activated, detection user terminal and user's ear The relative distance in portion, when the user terminal is close to user ear (loudspeaker of user terminal is close to user ear), and with The distance of family ear can switch to handset mode, to protect privacy of user when certain limit (such as 0~3cm) is interior.With When the distance of user ear is more than the scope, hands-free mode can be switched to, to play sound using hands-free mode, can be discharged User's both hands.
According to above-mentioned introduction, in embodiments of the present invention, set a threshold value as predetermined threshold value, be less than in relative distance During predetermined threshold value, step 203 is turned to;When relative distance is not less than predetermined threshold value, step 204 is turned to.
203rd, its answer mode is switched to handset mode by user terminal.
204th, its answer mode is switched to hands-free mode by user terminal.
In embodiments of the present invention, when user terminal is in talking state or plays voice, by being arranged at user The relative distance of the range sensor of terminal, detection user terminal and user ear, will when relative distance is less than predetermined threshold value Answer mode switches to handset mode, and when relative distance is not less than predetermined threshold value, answer mode is switched into hands-free mode.Can To find out, implement the embodiment of the present invention, can be according to the relative distance of user terminal and user ear, intelligently in hands-free mould Switch between formula and handset mode, further, user converses or during privacy voice in the privacy for answering need for confidentiality, can be with By controlling the relative distance of user terminal and user ear to be less than predetermined threshold value, so as to select handset mode, it is to avoid sound quilt People around intercepts, and reduces the risk of privacy leakage.
Embodiment three
Referring to Fig. 3, Fig. 3 is the another of the method for handover control of user terminal answer mode disclosed in the embodiment of the present invention Schematic flow sheet;As shown in figure 3, a kind of method for handover control of user terminal answer mode may include:
301st, user terminal is when in talking state or broadcasting voice, by being arranged at the Distance-sensing of its own Device, detects its relative distance with user ear.
302nd, the hand motion that user terminal detection user terminal occurs.
Wherein, gravity sensor is also provided with the user terminal, in embodiments of the present invention by coordinating gravity sensitive Device switches answer mode.
It is appreciated that the hand motion generally used according to user when hands-free mode and handset mode, in present invention implementation In example, as the first deliberate action when can user's hand motion be holded up, handset mode is then switched to, in addition hand is moved As the second deliberate action when keeping flat or putting down, it is, of course, also possible to by all situations outside the first deliberate action all when Make the second deliberate action.
Further, with reference to the relative distance of user terminal and user ear, such as when user's hand motion is holded up, and When relative distance is less than predetermined threshold value, handset mode is switched to, when user's hand motion is kept flat, and relative distance is not less than pre- If during threshold value, switching to hands-free mode, and it is other in the case of, then can go out any operation so that it goes without doing, terminate the flow.
303rd, user terminal, will when the hand motion matches the first deliberate action and when relative distance is less than predetermined threshold value Its answer mode switches to handset mode.
304th, user terminal the hand motion match the second deliberate action when and relative distance be not less than predetermined threshold value when, Its answer mode is switched into hands-free mode.
In embodiments of the present invention, when user terminal is in talking state or plays voice, by being arranged at user The relative distance of the range sensor of terminal, detection user terminal and user ear, and further detected by gravity sensor The hand motion (action that the arm of the namely hand-held user terminal occurs) that user terminal occurs, in the hand motion During with the first deliberate action and when relative distance is less than predetermined threshold value, answer mode is switched into handset mode, it is dynamic in the hand When making the second deliberate action of matching and when relative distance is not less than predetermined threshold value, answer mode is switched into hands-free mode.Can be with Find out, implement the embodiment of the present invention, can be according to the relative distance and user's hand motion of user terminal and user ear, intelligence Change ground between hands-free mode and handset mode to switch, further, user converses or hidden in the privacy for answering need for confidentiality During confidence sound, it can be moved by controlling the relative distance of user terminal and user ear to be less than predetermined threshold value and change hand Make, so as to select handset mode, it is to avoid sound is intercepted by people around, reduce the risk of privacy leakage.
Example IV
Referring to Fig. 4, Fig. 4 is the structure of the switching control of user terminal answer mode disclosed in the embodiment of the present invention Schematic diagram;As shown in figure 4, a kind of switching control of user terminal answer mode may include:
Apart from detection unit 410, for when user terminal is in talking state or plays voice, by being arranged at use The relative distance of the range sensor of family terminal, detection user terminal and user ear;
Control unit 420, for according to the relative distance detected apart from detection unit 410, controlling connecing for user terminal Pattern is listened to switch between hands-free mode and handset mode.
In embodiments of the present invention, when user terminal is in talking state or plays voice, apart from detection unit 410 By being arranged at the range sensor of user terminal, the relative distance of user terminal and user ear is detected, then control unit 420 switch according to the relative distance, the answer mode of control user terminal between hands-free mode and handset mode.It can see Go out, implement the embodiment of the present invention, can according to the relative distance of user terminal and user ear, intelligently in hands-free mode and Switch between handset mode, further, user can pass through when answering the privacy call of need for confidentiality or privacy voice The relative distance of user terminal and user ear is controlled, so as to select handset mode, it is to avoid sound is intercepted by people around, is reduced The risk of privacy leakage.
As an alternative embodiment, being used to monitor whether to receive incoming call in real time apart from detection unit 410, connecing When receiving incoming call, detect whether to receive the answer command that user is directed to the incoming call, if receiving the answer command, answer this Electricity enters talking state, performs the range sensor by being arranged at its own, detects its relative distance with user ear;Or Person
It is used for the voice for some social client for monitoring whether to receive user's input apart from detection unit 410 Play operation, if receiving the play operation, play the voice, perform the range sensor by being arranged at its own, Detect its relative distance with user ear.
As another optional embodiment, it is used to monitor whether to receive incoming call in real time apart from detection unit 410, As talking state when receiving incoming call, the range sensor by being arranged at its own is performed, itself and user ear is detected Relative distance;Or
It is used for the voice for some social client for monitoring whether to receive user's input apart from detection unit 410 Play operation, if receiving the play operation, play the voice, perform the range sensor by being arranged at its own, Detect its relative distance with user ear.
Embodiment five
Referring to Fig. 5, Fig. 5 is the another of the switching control of user terminal answer mode disclosed in the embodiment of the present invention Structural representation;The switching control of user terminal answer mode shown in Fig. 5 is to answer mould in the user terminal shown in Fig. 4 Optimize what is obtained on the basis of the switching control of formula, in the switching control of the user terminal answer mode shown in Fig. 5 In device, above-mentioned control unit 420 includes:
Judging unit 510, for detected apart from detection unit 410 user terminal and user ear relative distance it Afterwards, judge whether relative distance is less than predetermined threshold value;
First switch unit 520, for when judging unit 510 determines that relative distance is less than predetermined threshold value, by user The answer mode of terminal switches to handset mode;When judging unit 510 determines that relative distance is not less than predetermined threshold value, it will use The answer mode of family terminal switches to hands-free mode.
As an alternative embodiment, being used for the Distance-sensing by being arranged at its own apart from detection unit 410 Device, the mode for detecting itself and the relative distance of user ear is specially:Apart from detection unit 410 activate be arranged at its own away from From sensor, trigger the range sensor emitted energy wave beam and reflected by testee (such as user ear), calculate energy wave Beam calculates user terminal and testee from the time span that is reflected to testee is launched according to the time span The distance between.Conventional energy beam has:Electromagnetic wave, ultrasonic wave, sound wave, laser, visible or infrared light.
As another optional embodiment, range sensor set luminance sensor and one can send specific light The infrarede emitting diode of spectrum, is used for the range sensor by being arranged at its own apart from detection unit 410, detect its with The mode of the relative distance of family ear is specially:Being used to triggering infrarede emitting diode apart from detection unit 410, luminous (human eye is not It can be seen that) and trigger the brightness that luminance sensor detects special spectrum in real time, there is testee (use in front of light emitting diode Family ear) when being illuminated, luminance sensor sends luminance signal, apart from detection unit 410 according to the luminance signal, detects user The distance between terminal and testee.
Embodiment six
Referring to Fig. 6, Fig. 6 is the another of the switching control of user terminal answer mode disclosed in the embodiment of the present invention Structural representation;The switching control of user terminal answer mode shown in Fig. 6 is to answer mould in the user terminal shown in Fig. 4 Optimize what is obtained on the basis of the switching control of formula, in the switching control of the user terminal answer mode shown in Fig. 6 In device, above-mentioned control unit 420 includes:
Motion detection unit 610, for detecting the relative distance of user terminal and user ear apart from detection unit 410 Afterwards, the hand motion that detection user terminal occurs;
Second switch unit 620, for when motion detection unit 610 determines that hand motion matches the first deliberate action And relative distance be less than predetermined threshold value when, the answer mode of user terminal is switched into handset mode;
Second switch unit 620 is additionally operable to, when motion detection unit 610 determines that hand motion matches the second deliberate action When and relative distance be not less than predetermined threshold value when, the answer mode of user terminal is switched into hands-free mode.
Embodiment seven
Referring to Fig. 7, Fig. 7 is the another of the switching control of user terminal answer mode disclosed in the embodiment of the present invention Structural representation;The switching control of user terminal answer mode shown in Fig. 7 is to answer mould in the user terminal shown in Fig. 4 Optimize what is obtained on the basis of the switching control of formula, the switching control dress of the user terminal answer mode shown in Fig. 7 Putting also includes:
Mode checking unit 710, for detecting the relative distance of user terminal and user ear apart from detection unit 410 Afterwards, whether detection user terminal is in headset mode;
Control unit 420 in mode checking unit 710 specifically for determining that user terminal is not on headset mode When, perform according to relative distance, the answer mode of control user terminal switches between hands-free mode and handset mode.
As an alternative embodiment, above-mentioned control unit 420 in mode checking unit 710 specifically for determining When user terminal is not on headset mode, according to relative distance, the answer mode of user terminal is controlled in hands-free mode and is listened The mode switched between cylinder mould formula is specially:
Control unit 420 in mode checking unit 710 specifically for determining that user terminal is not on headset mode When, obtain partner or the user profile corresponding to voice sender;And, judge that the user indicated by user profile is The no responsible consumer by being identified in contacts list;And, the institute in the user indicated by user profile is contacts list During the responsible consumer of mark, the answer mode of user terminal is switched into handset mode;And, in the use indicated by user profile When family is not the responsible consumer identified in contacts list, judge whether relative distance is less than predetermined threshold value;And, relative When distance is less than predetermined threshold value, the answer mode of user terminal is switched into handset mode;And, in relative distance not less than pre- If during threshold value, the answer mode of user terminal is switched into hands-free mode.
Embodiment eight
Referring to Fig. 8, Fig. 8 is the structural representation of user terminal disclosed in the embodiment of the present invention;As shown in figure 8, a kind of User terminal may include:The switching control for the user terminal answer mode that above-described embodiment 4 to embodiment 7 is introduced, together When refer to accompanying drawing 4 to accompanying drawing 7.
Wherein, more explanations of user terminal are related to, please in detail refering to embodiment of the method and the explanation of device embodiment, No longer introduce herein.
By the user terminal, user terminal can be according to the relative distance of user terminal and user ear, intelligently Switch between hands-free mode and handset mode, further, user converses or privacy language in the privacy for answering need for confidentiality , can be by controlling the relative distance of user terminal and user ear, so as to select handset mode, it is to avoid sound is by surrounding during sound People intercepts, and reduces the risk of privacy leakage.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of data storage.
Above to a kind of method for handover control, device and the user of user terminal answer mode disclosed in the embodiment of the present invention Terminal is described in detail, and specific case used herein is set forth to the principle and embodiment of the present invention, with The explanation of upper embodiment is only intended to the method and its core concept for helping to understand the present invention;Simultaneously for the general of this area Technical staff, according to the thought of the present invention, will change in specific embodiments and applications, in summary, This specification content should not be construed as limiting the invention.

Claims (11)

1. a kind of method for handover control of user terminal answer mode, it is characterised in that including:
When user terminal is in talking state or plays voice, by being arranged at the range sensor of the user terminal, Detect the relative distance of the user terminal and user ear;
According to the relative distance, the answer mode of the user terminal is controlled to switch between hands-free mode and handset mode.
2. according to the method described in claim 1, it is characterised in that described according to the relative distance, control the user whole The answer mode at end switches between hands-free mode and handset mode, including:
Judge whether the relative distance is less than predetermined threshold value;
When the relative distance is less than predetermined threshold value, the answer mode of the user terminal is switched into the handset mode; When the relative distance is not less than predetermined threshold value, the answer mode of the user terminal is switched into the hands-free mode.
3. according to the method described in claim 1, it is characterised in that described according to the relative distance, control the user whole The answer mode at end switches between hands-free mode and handset mode, including:
Detect the hand motion that the user terminal occurs;
It is when the hand motion matches the first deliberate action and when the relative distance is less than predetermined threshold value, the user is whole The answer mode at end switches to the handset mode;
When the hand motion matches the second deliberate action and when the relative distance is not less than predetermined threshold value, by the user The answer mode of terminal switches to the hands-free mode.
4. according to the method described in claim 1, it is characterised in that the detection user terminal and user ear it is relative After distance, and it is described according to the relative distance, the answer mode of the user terminal is controlled in hands-free mode and receiver Before switching between pattern, methods described also includes:
Detect whether the user terminal is in headset mode;
When the user terminal is not on the headset mode, performs according to the relative distance, control the user whole The step of answer mode at end switches between hands-free mode and handset mode.
5. method according to claim 4, it is characterised in that when the user terminal is not on the headset mode When, it is described according to the relative distance, control the answer mode of the user terminal to be cut between hands-free mode and handset mode Change, including:
When the user terminal is not on the headset mode, partner or the use corresponding to voice sender are obtained Family information;
Judge the user indicated by the user profile whether by the responsible consumer that is identified in contacts list;
In the responsible consumer identified during the user indicated by the user profile is by the contacts list, by the user The answer mode of terminal switches to the handset mode;
In the responsible consumer identified during the user indicated by the user profile is not the contacts list, judge described Whether relative distance is less than predetermined threshold value;
When the relative distance is less than the predetermined threshold value, the answer mode of the user terminal is switched to and described listens cylinder mould Formula;
When the relative distance is not less than the predetermined threshold value, the answer mode of the user terminal is switched to described hands-free Pattern.
6. a kind of switching control of user terminal answer mode, it is characterised in that including:
Apart from detection unit, for when user terminal is in talking state or plays voice, by being arranged at the user The range sensor of terminal, detects the relative distance of the user terminal and user ear;
Control unit, for according to the relative distance detected apart from detection unit, controlling the user terminal Answer mode switches between hands-free mode and handset mode.
7. device according to claim 6, it is characterised in that described control unit includes:
Judging unit, for after the relative distance for detecting the user terminal and user ear apart from detection unit, Judge whether the relative distance is less than predetermined threshold value;
First switch unit, for when the judging unit determines that the relative distance is less than predetermined threshold value, being used described The answer mode of family terminal switches to the handset mode;Determine the relative distance not less than default in the judging unit During threshold value, the answer mode of the user terminal is switched into the hands-free mode.
8. device according to claim 6, it is characterised in that described control unit includes:
Motion detection unit, for it is described apart from detection unit detect the user terminal and user ear relative distance it Afterwards, the hand motion that the user terminal occurs is detected;
Second switch unit, for when the motion detection unit determines that the hand motion matches the first deliberate action and When the relative distance is less than predetermined threshold value, the answer mode of the user terminal is switched into the handset mode;
Second switch unit is additionally operable to, when the motion detection unit determines that the hand motion matching second is default dynamic When making and when the relative distance is not less than predetermined threshold value, the answer mode of the user terminal is switched into the hands-free mould Formula.
9. the device according to any one of claim 6~8, it is characterised in that described device also includes:
Mode checking unit, for it is described apart from detection unit detect the user terminal and user ear relative distance it Afterwards, detect whether the user terminal is in headset mode;
Described control unit in the mode checking unit specifically for determining that the user terminal is not on the earphone During pattern, perform according to the relative distance, control the answer mode of the user terminal hands-free mode and handset mode it Between switch.
10. device according to claim 9, it is characterised in that described control unit is specifically in the mode detection When unit determines that the user terminal is not on the headset mode, according to the relative distance, control the user whole The mode that the answer mode at end switches between hands-free mode and handset mode is specially:
Described control unit in the mode checking unit specifically for determining that the user terminal is not on the earphone During pattern, partner or the user profile corresponding to voice sender are obtained;And, judge indicated by the user profile User whether by the responsible consumer that is identified in contacts list;And, it is institute in the user indicated by the user profile When stating the responsible consumer identified in contacts list, the answer mode of the user terminal is switched into the handset mode; And, in the responsible consumer identified during the user indicated by the user profile is not the contacts list, judge institute State whether relative distance is less than predetermined threshold value;And, it is when the relative distance is less than the predetermined threshold value, the user is whole The answer mode at end switches to the handset mode;And, will be described when the relative distance is not less than the predetermined threshold value The answer mode of user terminal switches to the hands-free mode.
11. a kind of user terminal, it is characterised in that including:
The switching control of user terminal answer mode as described in any one of claim 6~10.
CN201710284321.2A 2017-04-26 2017-04-26 A kind of method for handover control, device and the user terminal of user terminal answer mode Pending CN107026938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710284321.2A CN107026938A (en) 2017-04-26 2017-04-26 A kind of method for handover control, device and the user terminal of user terminal answer mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710284321.2A CN107026938A (en) 2017-04-26 2017-04-26 A kind of method for handover control, device and the user terminal of user terminal answer mode

Publications (1)

Publication Number Publication Date
CN107026938A true CN107026938A (en) 2017-08-08

Family

ID=59527157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710284321.2A Pending CN107026938A (en) 2017-04-26 2017-04-26 A kind of method for handover control, device and the user terminal of user terminal answer mode

Country Status (1)

Country Link
CN (1) CN107026938A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483684A (en) * 2017-09-27 2017-12-15 北京小米移动软件有限公司 Electronic equipment
CN108377298A (en) * 2018-02-07 2018-08-07 广东欧珀移动通信有限公司 A kind of method, apparatus and computer readable storage medium of switching answer mode
CN110995930A (en) * 2019-12-06 2020-04-10 联想(北京)有限公司 Audio device control method and device and electronic device
CN112433463A (en) * 2020-11-12 2021-03-02 四川写正智能科技有限公司 Intelligence wrist-watch with GPS tracks location and conversation function
CN113386129A (en) * 2018-05-09 2021-09-14 科沃斯商用机器人有限公司 Service robot and safety interaction device
CN113438367A (en) * 2021-06-23 2021-09-24 中国第一汽车股份有限公司 Call control method, device, medium and electronic equipment based on vehicle system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090027481A (en) * 2007-09-12 2009-03-17 (주) 코콤 Videophone using the magnetic force
CN104580665A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Communication method of intelligent terminal and intelligent terminal
CN105657128A (en) * 2016-03-22 2016-06-08 上海斐讯数据通信技术有限公司 Mobile phone and intelligent in-call volume regulation method thereof
CN106385492A (en) * 2016-09-06 2017-02-08 北京小米移动软件有限公司 Conversation request processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090027481A (en) * 2007-09-12 2009-03-17 (주) 코콤 Videophone using the magnetic force
CN104580665A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Communication method of intelligent terminal and intelligent terminal
CN105657128A (en) * 2016-03-22 2016-06-08 上海斐讯数据通信技术有限公司 Mobile phone and intelligent in-call volume regulation method thereof
CN106385492A (en) * 2016-09-06 2017-02-08 北京小米移动软件有限公司 Conversation request processing method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483684A (en) * 2017-09-27 2017-12-15 北京小米移动软件有限公司 Electronic equipment
CN107483684B (en) * 2017-09-27 2024-02-06 北京小米移动软件有限公司 Electronic equipment
CN108377298A (en) * 2018-02-07 2018-08-07 广东欧珀移动通信有限公司 A kind of method, apparatus and computer readable storage medium of switching answer mode
CN108377298B (en) * 2018-02-07 2020-09-25 Oppo广东移动通信有限公司 Method and device for switching answering mode, mobile terminal and computer readable storage medium
CN113386129A (en) * 2018-05-09 2021-09-14 科沃斯商用机器人有限公司 Service robot and safety interaction device
CN110995930A (en) * 2019-12-06 2020-04-10 联想(北京)有限公司 Audio device control method and device and electronic device
CN112433463A (en) * 2020-11-12 2021-03-02 四川写正智能科技有限公司 Intelligence wrist-watch with GPS tracks location and conversation function
CN112433463B (en) * 2020-11-12 2022-02-08 四川写正智能科技有限公司 Intelligence wrist-watch with GPS tracks location and conversation function
CN113438367A (en) * 2021-06-23 2021-09-24 中国第一汽车股份有限公司 Call control method, device, medium and electronic equipment based on vehicle system

Similar Documents

Publication Publication Date Title
CN107026938A (en) A kind of method for handover control, device and the user terminal of user terminal answer mode
US11445315B2 (en) Privacy device for smart speakers
CN105280195B (en) The processing method and processing device of voice signal
CN103780758B (en) The method of Wearable communication equipment and synchronizing information thereof
US9065929B2 (en) Hearing aid detection
CN108710615B (en) Translation method and related equipment
CN102158597B (en) A kind of electromagnetic radiation prompting system for communication terminal and method
EP3547711B1 (en) Method for input operation control and related products
MXPA06011372A (en) Sensor screen saver.
CN106713569B (en) A kind of method of controlling operation thereof and wearable device of wearable device
CN108886653A (en) A kind of earphone sound channel control method, relevant device and system
CN110532820B (en) Graphic code display and scanning method and terminal
CN104683557A (en) Method and device for automatically switching call mode of mobile terminal
TWI615013B (en) Handheld communication device and communication method of the same
US20210144495A1 (en) Microphone Hole Blockage Detection Method, Microphone Hole Blockage Detection Device, and First Wireless Earphone
CN107070474A (en) A kind of method for handover control and wearable device of wearable device play mode
KR20180033185A (en) Earset and its control method
CN113194383A (en) Sound playing method and device, electronic equipment and readable storage medium
CN108668018B (en) Mobile terminal, volume control method and related product
CN110083331A (en) Wearable device play mode control method, device, wearable device and medium
CN103795873A (en) Method and device for reminding users of responses according to phone call state
CN110851107B (en) Control method of electronic equipment and electronic equipment
CN108307075A (en) A kind of incoming call processing method and mobile terminal
CN106788540A (en) The play mode method for handover control and wearable device of a kind of wearable device
CN106231096A (en) The based reminding method of a kind of terminal, device and mobile 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170808

RJ01 Rejection of invention patent application after publication