CN103209257B - Method for controlling voice assistant through earphone - Google Patents
Method for controlling voice assistant through earphone Download PDFInfo
- Publication number
- CN103209257B CN103209257B CN201310075668.8A CN201310075668A CN103209257B CN 103209257 B CN103209257 B CN 103209257B CN 201310075668 A CN201310075668 A CN 201310075668A CN 103209257 B CN103209257 B CN 103209257B
- Authority
- CN
- China
- Prior art keywords
- voice assistant
- earphone
- time
- pressed
- mobile terminal
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000006854 communication Effects 0.000 claims description 7
- 230000001276 controlling effect Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 241000238558 Eucarida Species 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
Disclosed is a method for controlling a voice assistant through an earphone. The voice assistant is arranged in a mobile terminal. The method includes step 1, detecting whether a function button on the earphone is pressed in real time when the earphone is connected with the mobile terminal; step 2, determining whether the function button is pressed for the time of T before releasing and is pressed for the time of T2 after waiting for the time of T1 or not, if so, proceeding to the next step, and if not, proceeding to step 4; step 3, opening or exiting the voice assistant through the mobile terminal; and step 4, performing corresponding operations of pressing the function button through the mobile terminal. According to the method for controlling the voice assistant through the earphone, the voice assistant can be opened or exited through the earphone quickly and easily, the annoyance that a mobile phone can be operated only by being taken out from a pocket or a bag by a user is avoided, great convenience can be brought to the user, and the user experience is improved.
Description
Technical field
The present invention relates to a kind of method being controlled voice assistant by earphone, be specifically related to a kind of method opening or exit voice assistant by the button on earphone.
Background technology
Along with the development of science and technology, the function of existing mobile terminal (as smart mobile phone) from strength to strength.The appearance of the voice assistant siri of i Phone, start the beginning of cell phone intelligent voice assistant, allow smart mobile phone achieve function (just can realize calling by Voice command, check weather, browsing page alarm clock and account etc. are set) that speech-sound intelligent controls mobile phone, enhance interactive capability, bring great advantage to the user.Thus, the upsurge of one configured voice assistant on smart mobile phone has also been started.Existing voice assistant is all manipulate voice assistant by user facing to the associative operation phonetic order of saying of the microphone position on mobile phone.When people will make a phone call with earphone flash upon when listening song or send the operations such as note to someone, needing from drawing out mobile phone or draw out mobile phone from pocket from bag is cumbersome and bothersome a kind of thing, especially when cold weather.
At present, on existing mobile phone, the line control earphone of adapted is except possessing earphone and microphone function, additionally provide some buttons, if any the button (description for convenience for receiving calls or for hanging up the telephone in communication process during incoming call, be referred to as receiving/hang-up button in the present invention, this key in music state then for suspend/play), for regulating the button of volume (for convenience of describing in communication process, be referred to as volume key in the present invention, in music state then for be switched to one first/next).In addition, these buttons do not have other functions.When not affecting earphone keystroke original function, how by earphone becomes by key control voice assistant the problem that the present invention needs to solve.
Summary of the invention
In order to overcome deficiency of the prior art, the invention provides a kind of method being controlled voice assistant by earphone, user is made to open quickly and easily or to exit voice assistant, when opening voice assistant, gather voice signal by the microphone on earphone, make voice assistant complete subsequent operation on mobile terminals according to phonetic order.
The present invention is achieved by the following technical solutions: a kind of method being controlled voice assistant by earphone, and described voice assistant is loaded in mobile terminal, and described method step comprises:
Step 1, when earphone access mobile terminal after, whether the function button on real-time Test earphone is pressed, if then enter next step, otherwise repeat step 1;
Step 2, judge that described function button discharges after whether meeting the time T that is pressed, be pressed again time T2 after stand-by period T1, described T1<T and the condition of T1<T2, if meet, enter next step, otherwise proceed to step 4;
Step 3, mobile terminal are opened voice assistant or are exited voice assistant, return step 1;
The execution of step 4, mobile terminal is pressed described function button and is operated accordingly, returns step 1.
Preferably, in described step 2, time T is 2 ~ 3s, and time T1 is 0.1 ~ 1s, and time T2 is 2 ~ 3s; Described function button is the receiving/hang-up button when there being incoming call for receiving calls or for hanging up the telephone in communication process on described earphone.
Further, step 3 specifically comprises: if condition described in step 2 meets, then open voice assistant, and gathers voice signal by the microphone of earphone; If when described in step 2, condition meets, voice assistant is in open mode, then exit voice assistant.
The present invention opens quickly and easily by earphone or exits voice assistant, when opening voice assistant, voice signal is gathered by the microphone on earphone, voice assistant is made on mobile phone, to complete subsequent operation (as call, send note etc.) according to phonetic order, eliminate user to need to draw out the trouble that mobile phone could manipulate mobile phone from pocket or bag, bring larger facility to user, promote Consumer's Experience.
Embodiment
For the ease of the understanding of those skilled in the art, below specific embodiment the invention will be further described.
On existing mobile phone, the line control earphone of adapted has all possessed earphone and microphone function, additionally provide some buttons, if any " receiving/hang-up " button (this key in music state then for suspending/playing) for receiving calls or for hanging up the telephone in communication process during incoming call, in communication process for regulate " volume key " of volume (in music state then for be switched to one first/next).The above-described function of " receiving/hang-up " button be all when short by realize, non-come under electricity condition, longly also can realize by this button the function opening music player.The time that generally pushes button more than 2s for long by operation, short in operation at 0.5 ~ 1s of the time that pushes button, mobile phone can realize corresponding function according to the button operation type detected.
In order to not affect the original function of " receiving/hang-up " button on earphone, the present invention controls voice assistant for realizing by earphone, must a kind of new button operation type of predefine again.For this reason, the method applied in the present invention is: when mobile phone detects that " receiving/hang-up " button is pressed after a period of time T, in time T1 after this button of release, " receiving/hang-up " button is pressed a period of time T2(T1<T and T1<T2 again), just exercise the function controlling voice assistant.Specific in the present embodiment, time T is 2 ~ 3s, and time T1 is 0.1 ~ 1s, and time T2 is 2 ~ 3s.Namely when mobile phone is after detecting that " receiving/hang-up " button is long pressed a period of time, after the operation be long pressed again in 1s, then open or exit voice assistant.If earphone there are other buttons, also can control voice assistant by this definition push key action type, no longer describe in detail here.
Particularly, the present embodiment is with the voice assistant controlling to be loaded on mobile phone by earphone, and for " receiving/hang-up " button on earphone, the invention will be further described.For convenience of describing, if no special instructions, the button of the following stated all refers to " receiving/hang-up " button.
Controlled a method for voice assistant by earphone, described method step comprises:
Step 1, when earphone access mobile phone after, whether the button on real-time Test earphone is pressed, if then enter next step, otherwise repeat step 1.
Step 2, judge that described button discharges after whether meeting the time T that is pressed, be pressed again time T2 after stand-by period T1, described T1<T and the condition of T1<T2, if meet, enters next step, otherwise proceed to step 4; Preferably, time T is 2 ~ 3s, and time T1 is 0.1 ~ 1s, and time T2 is 2 ~ 3s.Certainly, T, T1, T2 also can be other numerical value here, and if time T is 3 ~ 5s, time T1 is 0.5 ~ 1s, and time T2 is 3 ~ 5s, and the above numerical value is only the present invention's preferably embodiment, are not limitation of the invention.
Step 3, open voice assistant or exit voice assistant, returning step 1; Particularly, if condition described in step 2 meets, then open voice assistant, and gather voice signal by the microphone of earphone, make voice assistant on mobile phone, complete subsequent operation (as call, send note etc.) according to phonetic order; If when described in step 2, condition meets, voice assistant is in open mode, then exit voice assistant.
The execution of step 4, mobile phone is pressed described button and is operated accordingly, and namely mobile phone is according to detecting that the action type of this button performs corresponding function, returns step 1.Such as: as send a telegram here time, mobile phone detect to this button carry out short by operation time then receive calls; If in communication process, mobile phone detect to this button carry out short by operation time then hang up the telephone; If in music state, mobile phone detect to this button carry out short by operation time, then suspend/play music; Non-come under electricity condition, longly then open music player by this button.
The content mentioned in above-described embodiment is the present invention's preferably execution mode, is not limitation of the invention, and without departing from the inventive concept of the premise, any apparent replacement is all within protection scope of the present invention.
Claims (2)
1. controlled a method for voice assistant by earphone, described voice assistant is loaded in mobile terminal, and described method step comprises:
Step 1, when earphone access mobile terminal after, whether the function button on real-time Test earphone is pressed, if then enter next step, otherwise repeat step 1;
Step 2, judge that described function button discharges after whether meeting the time T that is pressed, be pressed again time T2 after stand-by period T1, described T1<T and the condition of T1<T2, if meet, enter next step, otherwise proceed to step 4;
Step 3, mobile terminal are opened voice assistant or are exited voice assistant, return step 1;
The execution of step 4, mobile terminal is pressed described function button and is operated accordingly, returns step 1;
In described step 2, time T is 2 ~ 3s, and time T1 is 0.1 ~ 1s, and time T2 is 2 ~ 3s;
Described step 3 specifically comprises: if condition described in step 2 meets, then open voice assistant, and gathers voice signal by the microphone of earphone; If when described in step 2, condition meets, voice assistant is in open mode, then exit voice assistant.
2. method according to claim 1, is characterized in that: described function button is the receiving/hang-up button when there being incoming call for receiving calls or for hanging up the telephone in communication process on described earphone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310075668.8A CN103209257B (en) | 2013-03-11 | 2013-03-11 | Method for controlling voice assistant through earphone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310075668.8A CN103209257B (en) | 2013-03-11 | 2013-03-11 | Method for controlling voice assistant through earphone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103209257A CN103209257A (en) | 2013-07-17 |
CN103209257B true CN103209257B (en) | 2015-01-07 |
Family
ID=48756338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310075668.8A Expired - Fee Related CN103209257B (en) | 2013-03-11 | 2013-03-11 | Method for controlling voice assistant through earphone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103209257B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103763413A (en) * | 2014-01-06 | 2014-04-30 | 福建一丁芯智能技术有限公司 | Smartphone control plug |
CN104202488B (en) * | 2014-09-29 | 2018-09-14 | 广东欧珀移动通信有限公司 | A kind of method and system carrying out interactive voice by bluetooth headset and mobile terminal |
CN105812549A (en) * | 2014-12-30 | 2016-07-27 | 展讯通信(天津)有限公司 | Earphone dialing system and dialing method |
CN105898024A (en) * | 2015-12-23 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Earphone key control method and system |
CN110086930A (en) * | 2019-04-22 | 2019-08-02 | 努比亚技术有限公司 | A kind of voice interactive method, wearable device and computer readable storage medium |
CN112466300A (en) * | 2019-09-09 | 2021-03-09 | 百度在线网络技术(北京)有限公司 | Interaction method, electronic device, intelligent device and readable storage medium |
CN111862975A (en) * | 2020-07-15 | 2020-10-30 | 百度在线网络技术(北京)有限公司 | Intelligent terminal control method, device, equipment, storage medium and system |
CN112530430A (en) * | 2020-11-30 | 2021-03-19 | 北京百度网讯科技有限公司 | Vehicle-mounted operating system control method and device, earphone, terminal and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1400792A (en) * | 2001-08-02 | 2003-03-05 | 周柱贤 | Speech dial radio earphone telephone system |
CN2938320Y (en) * | 2006-08-08 | 2007-08-22 | 安徽中科大讯飞信息科技有限公司 | Audioplayer of selecting tune and programme by speech order |
CN102138337A (en) * | 2008-08-13 | 2011-07-27 | W·W·格雷林 | Wearable headset with self-contained vocal feedback and vocal command |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040098131A (en) * | 2003-05-13 | 2004-11-20 | 엘지전자 주식회사 | Traffic method for using ear-micphone in a mobile phone |
-
2013
- 2013-03-11 CN CN201310075668.8A patent/CN103209257B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1400792A (en) * | 2001-08-02 | 2003-03-05 | 周柱贤 | Speech dial radio earphone telephone system |
CN2938320Y (en) * | 2006-08-08 | 2007-08-22 | 安徽中科大讯飞信息科技有限公司 | Audioplayer of selecting tune and programme by speech order |
CN102138337A (en) * | 2008-08-13 | 2011-07-27 | W·W·格雷林 | Wearable headset with self-contained vocal feedback and vocal command |
Non-Patent Citations (1)
Title |
---|
Headset Button Controller耳机按键控制器v6.4汉化版;qqlym2002;《安智论坛》;20120716;第1-5页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103209257A (en) | 2013-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103209257B (en) | Method for controlling voice assistant through earphone | |
CN204334965U (en) | A kind of Bluetooth control device, mobile terminal and communication system | |
CN102611961B (en) | Method and device for switching multi-channel audios of terminal | |
CN104716750B (en) | A kind of low power consuming wireless power method and relevant apparatus, system | |
CN103118191B (en) | Using control method and mobile terminal for iPhone wire control earphone | |
CN104202488A (en) | Method for conducting voice interaction through Bluetooth headset and mobile terminal, and system | |
CN103546647B (en) | Method and device for communication through mobile phone | |
CN102938819A (en) | Mobile terminal music control system and method | |
CN202267942U (en) | Mobile terminal | |
CN104702798A (en) | Alarm sound adjusting method and system based on mobile terminal | |
WO2015188459A1 (en) | Terminal control method and device, voice control device and terminal | |
CN103167128A (en) | System and method for achieving automatic sleep of mobile phone based on proximity sensor | |
CN105372026A (en) | Air tightness detection device and method of microphone pickup structure path | |
CN103139394A (en) | Answering or hanging up process method and system based on incoming call of mobile phone | |
CN103838159B (en) | A kind of control method, device and electronic equipment | |
CN105677290A (en) | Voice application program control method and client side | |
CN104410751B (en) | A kind of mobile phone electricity saving method based on bluetooth peripheral hardware and system | |
CN109275059A (en) | Earphone, communicator and method | |
CN105872874A (en) | Control method and device of terminal program applied to Bluetooth earphones | |
CN101303831A (en) | Method for controlling backlight of electric display apparatus | |
CN206472269U (en) | Bluetooth earphone | |
CN201523407U (en) | Mobile terminal | |
CN103179261B (en) | The system and method for controlling mobile phone through speech is realized based on ambient temperature | |
CN106657647A (en) | Incoming call processing method and device and mobile terminal | |
CN104754098A (en) | Volume adjusting method and system for single-key earphone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150107 |
|
CF01 | Termination of patent right due to non-payment of annual fee |