CN109151195A - Opening control method and its control system are suspended based on the control of earphone distance change when one kind being based on road-work - Google Patents
Opening control method and its control system are suspended based on the control of earphone distance change when one kind being based on road-work Download PDFInfo
- Publication number
- CN109151195A CN109151195A CN201810940166.XA CN201810940166A CN109151195A CN 109151195 A CN109151195 A CN 109151195A CN 201810940166 A CN201810940166 A CN 201810940166A CN 109151195 A CN109151195 A CN 109151195A
- Authority
- CN
- China
- Prior art keywords
- value
- pressure
- earphone
- distance
- detecting
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
Abstract
The present invention relates to suspend opening control method and its control system based on the control of earphone distance change when one kind is based on road-work, including acoustic detector, controlling terminal, running detection program, pressure detecting module, wireless module, pressure detecting module and sonic detection module will test value by wireless module and be sent to controlling terminal, system judges whether user's earphone is in the state of falling by the pressure detection value of acoustic detector detecting distance value and pressure detecting module, control to be suspended to mobile phone music and be played and pass through intelligence improves the experience of user.
Description
Technical field
The invention belongs to intelligence system fields, in particular to a kind of to be based on controlling when road-work based on earphone distance change
Suspend opening control method and its control system.
Background technique
In daily life, whens user listens to music equal using earphone, sometimes for some reason, such as in running fish
In hole, earphone can be because running vibration be to being detached from ear, but audio can be continued for playing, until player passively suspends,
Since many runner's mobile phones are placed on arm, it is desirable to listen again just song need to carry out cumbersome operation, it is inconvenient for use,
Very influence the experience of user.
In the prior art, document CN107920298A discloses the control system and its method of a kind of earphone, and the system is logical
The variation for judging audio signal is crossed to judge whether user's earphone is detached from ear, which can be sentenced in certain circumstances
Whether disconnected earphone is detached from ear, but when being influenced by external condition, such as system may generate mistake when huge noise lamp shadow sound
Sentence, decline so as to cause the Experience Degree of user, thus invent a kind of correct test earphone whether be detached from ear detection system and
Its control method be very it is necessary to.
Summary of the invention
It is an object of that present invention to provide open control based on the control pause of earphone distance change when one kind is based on road-work
Method and its control system, including acoustic detector, controlling terminal, running detection program, pressure detecting module, wireless mould
Block, pressure detecting module and sonic detection module will test value by wireless module and be sent to controlling terminal, and system passes through sound wave
The pressure detection value of detection device detecting distance value and pressure detecting module judges whether user's earphone is in the state of falling, thus
Mobile phone music is suspended and is played, wherein pressure-detecting device harmony wave distance detection device is placed on earphone, is used for
The downward distance value of pressure value on test earphone and two earphones, and will test distance value and be sent to controlling terminal and sentenced
It is disconnected.
Judge that user is kept in motion, calculate the downward range difference of user's earphone and its pressure condition and judges whether to need
It carries out carrying out music pause to user's earphone and its broadcasting, the control method also specifically includes following rate-determining steps:
S1: user mobile phone detects the variation of mobile phone Gravity changer value, judges that user is in road-work state, when user voice exports
In earphone output state, and when mobile phone output music, starts the sound wave distance detection device on earphone both sides, detect both sides earphone
Two distance values in downward direction, take maximum distance value and distance value are sent to controlling terminal;
S2: it is the first detecting distance value that controlling terminal, which takes left side headset detection distance value, and taking the right headset detection distance value is the
Two detecting distance values, whether the first detecting distance value of comparison and the second detecting distance value reach pre-set value, if reaching presetting
Value then starts the pressure-detecting device of both sides earphone, detects the first pressure value of left side earphone and the second pressure of the right earphone
Value, judges whether first pressure value and second pressure value reach pre-set value, does nothing if reaching pre-set value,
Controlling terminal control handset program suspends music if not up to pre-set value;
S3: when the first detecting distance value and the second detecting distance value are below maximum range value, and first pressure value and the second pressure
Force value reaches pre-set value, then judges whether user mobile phone Gravity changer is kept in motion, and controls if being kept in motion
Terminal control handset program suspends music;
S4: when the first detecting distance value and the second detecting distance value reach pre-set value and first pressure detected value and second pressure
Detected value reaches pre-set value, and then controlling terminal control handset program progress music detects again.
Wherein, described in step S1, the judgement of user's running state includes obtaining gravity sensing program in user mobile phone,
Judge whether occur frequently to change in the gravity sensing program short time in user mobile phone, to judge whether user is in running
State, and detect by acoustic detector the downward distance value of both sides earphone in one's ear.
Wherein, described in step S2, wherein control detection method further includes apart from following steps:
S10: the first detecting distance value and the second detecting distance value are obtained, judges the first detecting distance and the second detecting distance difference
Whether it is 0, obtains first pressure value and second pressure value if difference is not 0;
S11: when the first detecting distance and the second detecting distance value difference value are not 0, judge first pressure value and second pressure value
Whether it is all larger than 0, if wherein to have a pressure value detected value in first pressure value or second pressure value be 0, judges user one
Side earphone is detached from;
S12: when the first detecting distance and the second detecting distance value difference value are not 0, judge first pressure value and second pressure value
Whether it is all larger than 0, is judged as normal if first pressure value and second pressure value detected value are all larger than 0, if music is in pause
State then reverts to broadcast state.
Wherein, after music is halted state, when the distance value detection of both sides earphone reaches setting value and detects pressure
When value, handset program controls mobile phone music and plays.
The utility model has the advantages that
Whether the present invention judges earphone bluetooth headset according to the variation calculating of distance and pressure value by two bluetooth headsets
In the state of falling off, if in the pause and broadcasting for needing to carry out music, and the pause of intelligent control mobile phone music with broadcast
It puts.
Detailed description of the invention
Fig. 1 be it is of the invention a kind of based on road-work when based on earphone distance change control pause opening control method and its
Control system.
Fig. 2 be it is of the invention a kind of based on road-work when based on earphone distance change control pause opening control method and its
The detection of control system judges journey figure.
Fig. 3 be it is of the invention a kind of based on road-work when based on earphone distance change control pause opening control method and its
The structure chart of control system.
Specific embodiment
The kind proposed according to embodiments of the present invention with description with reference to the accompanying drawings is based on being based on earphone distance when road-work
Variation control pause opening control method and its control system.
As shown in Figure 1-3, it is a kind of when being based on road-work based on earphone distance change control pause opening control method and
Its control system, including acoustic detector, controlling terminal, running detection program, pressure detecting module, wireless module, pressure
Detection module and sonic detection module will test value by wireless module and be sent to controlling terminal, and system passes through acoustic detector
The pressure detection value of detecting distance value and pressure detecting module judges whether user's earphone is in the state of falling, thus to mobile phone sound
Pleasure is suspended and is played, and wherein pressure-detecting device harmony wave distance detection device is placed on earphone, is used for test earphone
On pressure value and two earphones downward distance value, and will test distance value and be sent to controlling terminal and judged.
Judge that user is kept in motion, calculate the downward range difference of user's earphone and its pressure condition and judges whether to need
It carries out carrying out music pause to user's earphone and its broadcasting, the control method also specifically includes following rate-determining steps:
S1: user mobile phone detects the variation of mobile phone Gravity changer value, judges that user is in road-work state, when user voice exports
In earphone output state, and when mobile phone output music, starts the sound wave distance detection device on earphone both sides, detect both sides earphone
Two distance values in downward direction, take maximum distance value and distance value are sent to controlling terminal;
S2: it is the first detecting distance value that controlling terminal, which takes left side headset detection distance value, and taking the right headset detection distance value is the
Two detecting distance values, whether the first detecting distance value of comparison and the second detecting distance value reach pre-set value, if reaching presetting
Value then starts the pressure-detecting device of both sides earphone, detects the first pressure value of left side earphone and the second pressure of the right earphone
Value, judges whether first pressure value and second pressure value reach pre-set value, does nothing if reaching pre-set value,
Controlling terminal control handset program suspends music if not up to pre-set value;
S3: when the first detecting distance value and the second detecting distance value are below maximum range value, and first pressure value and the second pressure
Force value reaches pre-set value, then judges whether user mobile phone Gravity changer is kept in motion, and controls if being kept in motion
Terminal control handset program suspends music;
S4: when the first detecting distance value and the second detecting distance value reach pre-set value and first pressure detected value and second pressure
Detected value reaches pre-set value, and then controlling terminal control handset program progress music detects again.
Described in step S1, the judgement of user's running state includes obtaining gravity sensing program in user mobile phone, judgement
Whether occur frequently to change in the gravity sensing program short time in user mobile phone, to judge whether user is in running shape
State, and detect by acoustic detector the downward distance value of both sides earphone in one's ear.
Described in step S2, wherein control detection method further includes apart from following steps:
S10: the first detecting distance value and the second detecting distance value are obtained, judges the first detecting distance and the second detecting distance difference
Whether it is 0, obtains first pressure value and second pressure value if difference is not 0;
S11: when the first detecting distance and the second detecting distance value difference value are not 0, judge first pressure value and second pressure value
Whether it is all larger than 0, if wherein to have a pressure value detected value in first pressure value or second pressure value be 0, judges user one
Side earphone is detached from;
S12: when the first detecting distance and the second detecting distance value difference value are not 0, judge first pressure value and second pressure value
Whether it is all larger than 0, is judged as normal if first pressure value and second pressure value detected value are all larger than 0, if music is in pause
State then reverts to broadcast state, after music is halted state, when the distance value detection of both sides earphone reaches setting value and inspection
When measuring pressure value, handset program controls mobile phone music and plays.
Claims (6)
1. suspending opening control method based on the control of earphone distance change when one kind is based on road-work, which is characterized in that judgement
User is kept in motion, and calculates the downward range difference of user's earphone and its pressure condition and judges whether to need to carry out to user's ear
Machine carries out music pause and its broadcasting, the control method also specifically include following rate-determining steps:
Step S1: user mobile phone detects the variation of mobile phone Gravity changer value, judges that user is in road-work state, works as user voice
Output is in earphone output state, and when mobile phone output music, starts the sound wave distance detection device on earphone both sides, detect both sides
Two distance values of earphone in downward direction, take maximum distance value and distance value are sent to controlling terminal;
Step S2: it is the first detecting distance value that controlling terminal, which takes left side headset detection distance value, takes the right headset detection distance value
For the second detecting distance value, compares the first detecting distance value and whether the second detecting distance value reaches pre-set value, if reaching pre-
Setting value then starts the pressure-detecting device of both sides earphone, detects the first pressure value of left side earphone and the second pressure of the right earphone
Force value, judges whether first pressure value and second pressure value reach pre-set value, without any behaviour if reaching pre-set value
Make, controlling terminal control handset program suspends music if not up to pre-set value;
Step S3: when the first detecting distance value and the second detecting distance value are below maximum range value, and first pressure value and the
Two pressure values reach pre-set value, then judge whether user mobile phone Gravity changer is kept in motion, if being kept in motion
Controlling terminal controls handset program and suspends music;
Step S4: when the first detecting distance value and the second detecting distance value reach pre-set value and first pressure detected value and second
Pressure detection value reaches pre-set value, and then controlling terminal control handset program progress music detects again.
2. suspending opening controlling party based on the control of earphone distance change when one kind according to claim 1 is based on road-work
Method, which is characterized in that according to step S1, the judgement of user's running state includes obtaining gravity sensing in user mobile phone
Program judges whether occur frequently to change in the gravity sensing program short time in user mobile phone, to judge whether user locates
In running state, and pass through the downward distance value of acoustic detector detection both sides earphone in one's ear.
3. controlling pause opening controlling party based on earphone distance change when one kind as described in claim 1 is based on road-work
Method, which is characterized in that according to step S2, wherein control detection method further includes apart from following steps:
(1) the first detecting distance value and the second detecting distance value are obtained, judges the first detecting distance and the second detecting distance difference
Whether it is 0, obtains first pressure value and second pressure value if difference is not 0;
(2) when the first detecting distance and the second detecting distance value difference value are not 0, judge that first pressure value is with second pressure value
It is no to be all larger than 0, if wherein to have a pressure value detected value in first pressure value or second pressure value be 0, judge user on one side
Earphone is detached from;
(3) when the first detecting distance and the second detecting distance value difference value are not 0, judge that first pressure value is with second pressure value
It is no to be all larger than 0, it is judged as normal if first pressure value and second pressure value detected value are all larger than 0, if music is in pause shape
State then reverts to broadcast state.
4. controlling pause opening controlling party based on earphone distance change when one kind as described in claim 1 is based on road-work
Method, wherein after music is halted state, when the detection of the distance value of both sides earphone reaches setting value and detects pressure value, hand
Machine program-controlled handset music.
5. suspending opening control, including sonic detection dress based on the control of earphone distance change when one kind is based on road-work
It sets, controlling terminal, running detection program, pressure detecting module, wireless module, pressure detecting module passes through with sonic detection module
Wireless module will test value and be sent to controlling terminal, and system passes through acoustic detector detecting distance value and pressure detecting module
Pressure detection value judges whether user's earphone is in the state of falling, to be suspended to mobile phone music and be played.
6. controlling pause opening control system based on earphone distance change when one kind as claimed in claim 5 is based on road-work
System, which is characterized in that wherein pressure-detecting device harmony wave distance detection device is placed on earphone, on test earphone
The downward distance value of pressure value and two earphones, and will test distance value and be sent to controlling terminal and judged.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810940166.XA CN109151195B (en) | 2018-08-17 | 2018-08-17 | Earphone control method and control system during running exercise |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810940166.XA CN109151195B (en) | 2018-08-17 | 2018-08-17 | Earphone control method and control system during running exercise |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109151195A true CN109151195A (en) | 2019-01-04 |
CN109151195B CN109151195B (en) | 2021-01-19 |
Family
ID=64790119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810940166.XA Active CN109151195B (en) | 2018-08-17 | 2018-08-17 | Earphone control method and control system during running exercise |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109151195B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110493678A (en) * | 2019-08-14 | 2019-11-22 | Oppo(重庆)智能科技有限公司 | The control method and device of earphone |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100902356B1 (en) * | 2007-04-06 | 2009-06-12 | 윤종열 | Earphone |
CN201774574U (en) * | 2010-07-21 | 2011-03-23 | 惠州Tcl移动通信有限公司 | Mobile terminal capable of automatically controlling volume |
CN104185109A (en) * | 2014-09-01 | 2014-12-03 | 联想(北京)有限公司 | Control system, earphone, electronic device and control method |
CN106790966A (en) * | 2016-11-04 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | The changing method of intelligent terminal motor pattern, system and intelligent terminal |
CN106775571A (en) * | 2017-03-21 | 2017-05-31 | 北京小米移动软件有限公司 | Audio frequency playing method and device |
-
2018
- 2018-08-17 CN CN201810940166.XA patent/CN109151195B/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110493678A (en) * | 2019-08-14 | 2019-11-22 | Oppo(重庆)智能科技有限公司 | The control method and device of earphone |
CN110493678B (en) * | 2019-08-14 | 2021-01-12 | Oppo(重庆)智能科技有限公司 | Earphone control method and device, earphone and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109151195B (en) | 2021-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020088158A1 (en) | Headset and playing method therefor | |
US9344793B2 (en) | Audio apparatus and methods | |
EP2277301B1 (en) | An improved headset | |
US8165308B2 (en) | Arrangement and method for determining operational mode of a communication device | |
CN101232743A (en) | Audio playing device and used earphone, automatic control method | |
CN103905956B (en) | Audio control method, electronic equipment and audio output apparatus | |
CN108766468B (en) | Intelligent voice detection method, wireless earphone, TWS earphone and terminal | |
CN109788387A (en) | Control method, bluetooth headset and the computer readable storage medium of bluetooth headset | |
CN105372026A (en) | Air tightness detection device and method of microphone pickup structure path | |
CN113573226B (en) | Earphone, method for detecting in and out of earphone and storage medium | |
WO2020087750A1 (en) | Earphone box interaction control method and device, earphone box, and storage medium | |
CN107864415B (en) | Speaker and audio frequency apparatus share the control method and device of microphone | |
CN104822104A (en) | Method for controlling audio equipment to be turned on and off based on brain waves, earphone and combination thereof | |
WO2015026859A1 (en) | Audio apparatus and methods | |
CN106412287A (en) | Volume adjusting method and device | |
CN206136198U (en) | Earphone | |
CN109068226B (en) | Earphone and control method thereof | |
CN111028838A (en) | Voice wake-up method, device and computer readable storage medium | |
CN109151195A (en) | Opening control method and its control system are suspended based on the control of earphone distance change when one kind being based on road-work | |
CN109168098B (en) | System for automatically controlling to suspend and open Bluetooth headset when mobile phone is away from ear and control method thereof | |
CN201163785Y (en) | Mobile phone with ambient sound decibel measuring function | |
CN204578621U (en) | A kind of voice waken system and mobile terminal | |
CN114567849B (en) | Detection method and device, wireless earphone and storage medium | |
CN109511036A (en) | A kind of earphone automatic mute method and can automatic mute earphone | |
CN210843015U (en) | Novel bluetooth headset |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201228 Address after: Room 101, building 12, No. 60, Xiangyuan East Road, Liaobu Town, Dongguan City, Guangdong Province 523000 Applicant after: GUANGDONG MEITA INDUSTRIAL INVESTMENT Co.,Ltd. Address before: 536009 no.0305, building 4, Beibu Gulf science and technology entrepreneurship center, No.45, Golden Coast Avenue, Yinhai District, Beihai City, Guangxi Zhuang Autonomous Region Applicant before: BEIHAI FEIJIUTIAN ELECTRONIC TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |