CN110324746A - Earphone false-touch prevention method, apparatus, storage medium and earphone - Google Patents

Earphone false-touch prevention method, apparatus, storage medium and earphone Download PDF

Info

Publication number
CN110324746A
CN110324746A CN201910668603.1A CN201910668603A CN110324746A CN 110324746 A CN110324746 A CN 110324746A CN 201910668603 A CN201910668603 A CN 201910668603A CN 110324746 A CN110324746 A CN 110324746A
Authority
CN
China
Prior art keywords
state
earphone
control button
touch
false
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910668603.1A
Other languages
Chinese (zh)
Other versions
CN110324746B (en
Inventor
李媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen 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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201910668603.1A priority Critical patent/CN110324746B/en
Publication of CN110324746A publication Critical patent/CN110324746A/en
Application granted granted Critical
Publication of CN110324746B publication Critical patent/CN110324746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

This application discloses a kind of earphone false-touch prevention method, apparatus, storage medium and earphones, and wherein method includes: to obtain the status information of the display screen of mobile terminal, and state includes bright screen state and screen state of going out;When display screen be in go out shield state when, then the state that control button is arranged is initiate mode, and under initiate mode, pressing/touch control button then executes corresponding default earphone operation;When display screen is in bright screen state, then the state that control button is arranged is locking state, and under locking state, corresponding default earphone operation is not carried out in pressing/touch control button.Present application addresses the function buttons on earphone to be easy the problem of accidentally being touched, and greatly reduces the generation frequency of user misoperation earphone.

Description

Earphone false-touch prevention method, apparatus, storage medium and earphone
Technical field
This application involves mobile communication fields, and in particular to a kind of earphone false-touch prevention method, apparatus, storage medium and ear Machine.
Background technique
With the continuous development of mobile terminal, requirement of the user to the usage experience of earphone is also higher and higher.Bluetooth headset Due to its compact volume and convenience, and not, wire rod is impeded, and becomes the first choice of more and more users.By on bluetooth headset shell Control button can easily control mobile terminal very much, such as telephone receiving/hang up, song continuation/pause, volume Increase/reduction, broadcasting last track/next track etc..But due to the compact of bluetooth headset, control button can usually be set again It is just likely to accidentally touch in this way when user needs to adjust the wearing position of earphone in the position that user is easy to touch Encounter control button, lead to the generation of maloperation, the usage experience of user is bad.
Summary of the invention
The purpose of the application is to provide a kind of earphone false-touch prevention method, apparatus, storage medium and earphone, it is intended to be solved existing In technology, the function button on earphone is easy the problem of being accidentally touched.
Present applicant proposes a kind of earphone false-touch prevention methods, are applied to earphone, the earphone is equipped with control button, described Earphone is connect with mobile terminal communication, and the earphone false-touch prevention method includes:
The status information of the display screen of the mobile terminal is obtained, the state includes bright screen state and screen state of going out;
When the display screen be in go out shield state when, then be arranged the control button state be initiate mode, described Under initiate mode, pressing/touch control button then executes corresponding default earphone operation;
When the display screen is in bright screen state, then the state that the control button is arranged is locking state, described Under locking state, corresponding default earphone operation is not carried out in pressing/touch control button.
Further, the earphone be equipped with false-touch prevention component, it is described when the display screen be in go out shield state when, then set After the step of state for setting the control button is initiate mode, comprising:
Monitor whether the false-touch prevention component is performed the default operation that comes into force, wherein the default operation that comes into force is for opening With the anti-error touch function of the false-touch prevention component;
If so, the state of the control button is changed to locking state.
Further, after the step of state by the control button is changed to locking state, comprising:
Monitor whether that being performed default cancel operates, wherein the default cancellation operation is for closing the false-touch prevention group The anti-error touch function of part;
If so, the state of the control button is changed to initiate mode.
Further, the earphone be equipped with body-sensing detection sensor, it is described when the display screen be in go out shield state when, After the step of state that the control button is then arranged is initiate mode, comprising:
Monitor the detected value measured by the body-sensing detection sensor;
The detected value is compared with preset standard value, is judged whether to be in remote with user's ear according to comparison result From state;
If so, the state of the control button is changed to locking state.
Further, the body-sensing detection sensor is range sensor, and the detected value that the range sensor measures is Detecting distance, the preset standard value be pre-determined distance, it is described to be compared the detected value with preset standard value, according to than Relatively result judges whether the step of being in user's ear far from state, comprising:
Judge whether the detecting distance is greater than the pre-determined distance;
If so, determining to be in user's ear far from state.
Further, the body-sensing detection sensor is temperature sensor, and the detected value that the temperature sensor measures is Temperature is detected, the preset standard value is preset temperature section, described to be compared the detected value with preset standard value, root Judge whether the step of being in user's ear far from state according to comparison result, comprising:
Judge the detection temperature whether in the preset temperature section;
If it is not, then determining to be in user's ear far from state.
Further, the body-sensing detection sensor is light intensity sensor, the detection that the light intensity sensor measures Value is detection luminous intensity, and the preset standard value is default luminous intensity, described to compare the detected value with preset standard value Compared with the step of being judged whether with user's ear according to comparison result in far from state, comprising:
Judge whether the detection luminous intensity is greater than the default luminous intensity;
If so, determining to be in user's ear far from state.
Present invention also provides a kind of earphone anti-error-touch devices, are set to earphone, and the earphone is equipped with control button, institute It states earphone to connect with mobile terminal communication, the earphone anti-error-touch device includes:
State acquiring unit, the status information of the display screen for obtaining the mobile terminal, the state include bright screen State and screen state of going out;
First setting unit, for when the display screen be in go out shield state when, then the state of the control button is set For initiate mode, under the initiate mode, pressing/touch control button then executes corresponding default earphone operation;
Second setting unit, for when the display screen be in go out shield state when, then the state of the control button is set For locking state, under the locking state, corresponding default earphone operation is not carried out in pressing/touch control button.
Present invention also provides a kind of earphone, including memory and processor, computer journey is stored in the memory The step of sequence, the processor realizes the above method when executing the computer program.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer The step of above-mentioned method is realized when program is executed by processor.
The application's the utility model has the advantages that
Earphone false-touch prevention method, apparatus, storage medium and the earphone of the application obtains the display screen of mobile terminal first Status information;When determine mobile terminal be in go out shield state when, then be arranged control button state be initiate mode, enable shape Under state, pressing/touch control button then executes corresponding default earphone operation;When determining that mobile terminal is in bright screen state, The state that control button is then arranged is locking state, and under locking state, pressing/touch control button is not carried out corresponding Default earphone operation;The state of control button is set as locking when mobile terminal is in bright screen state by above-mentioned method State, user needs to execute operation on mobile terminals at this time, if user adjusts the wearing position of earphone at this time, accidentally presses Press/control button is touched, maloperation can't occur;To greatly reduce the generation frequency of user misoperation earphone.
Detailed description of the invention
Fig. 1 is the flow diagram of the earphone false-touch prevention method of one embodiment of the application;
Fig. 2 is the flow diagram of the earphone false-touch prevention method of the another embodiment of the application;
Fig. 3 is the flow diagram of the earphone false-touch prevention method of the another embodiment of the application;
Fig. 4 is the structural schematic block diagram of the earphone anti-error-touch device of one embodiment of the application;
Fig. 5 is the structural schematic block diagram of the earphone of one embodiment of the application.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is only a part of the embodiment of the application, instead of all the embodiments.Base Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts it is all its His embodiment, shall fall in the protection scope of this application.
Referring to Fig.1, a kind of earphone false-touch prevention method provided by the present application, is applied to earphone, and the earphone is equipped with control Button, the earphone are connect with mobile terminal communication, and the earphone false-touch prevention method includes:
S1, obtain the mobile terminal display screen status information, the state includes bright screen state and screen state of going out;
S3, when the display screen be in go out shield state when, then be arranged the control button state be initiate mode, in institute It states under initiate mode, pressing/touch control button, then executes corresponding default earphone operation;
S4, when the display screen is in bright screen state, then be arranged the control button state be locking state, in institute It states under locking state, pressing/touch control button, corresponding default earphone operation is not carried out.
In the present embodiment, above-mentioned mobile terminal includes the terminal devices such as mobile phone, plate.Above-mentioned earphone is that its shell is equipped with control The earphone of button processed, preferably bluetooth headset, including monaural formula bluetooth headset and true wireless Bluetooth headsets etc..Below with bluetooth ear It is illustrated for machine.Above-mentioned control button is set on the shell of bluetooth headset, and the type of above-mentioned control button includes entity Key and push button etc. then can execute correspondence to the application program of mobile terminal when user's pressing or touch control button The operation of default earphone, above-mentioned default earphone operation include telephone receiving/hang up, song continuation/pause, volume increase/reduction, Play last track/next track etc..
In above-mentioned steps S1, at display screen of the value to judge mobile terminal by the display screen electric current for monitoring mobile terminal Yu Liangping state is still gone out screen state.Specifically: monitoring the display screen current value of mobile terminal;It is preset when above-mentioned current value is less than Current value then determines that the display screen of above-mentioned mobile terminal is in screen state of going out;When above-mentioned current value be not less than pre-set current value, then Determine that the display screen of above-mentioned mobile terminal is in bright screen state.
In above-mentioned steps S2, goes out screen state when determining that mobile terminal is in, then show user at this time not in mobile terminal Display screen on operated.Once then mobile terminal enters because user is operated by the display screen of mobile terminal Bright screen state.It goes out screen state when mobile terminal is in, the state of control button is set as initiate mode, at this point, if user presses The above-mentioned control button of pressure/touch, then can execute the operation of default earphone, including as telephone receiving/hang up, song continuation/pause, Volume increase/reduction, broadcasting last track/next track etc..
In above-mentioned steps S3, when determine mobile terminal be in bright screen state, then show that mobile terminal is used in user.Then User can operate on mobile terminals completely at this time, to realize such as telephone receiving/hang up, song continuation/pause, volume Increase/reduction, broadcasting last track/next track etc..Therefore, when judgement mobile terminal is in bright screen state, then by control button State is set as locking state, at this point, above-mentioned default earphone behaviour is not carried out if user presses/touch above-mentioned control button Make.For example, then the state of control button is set as locking state, if user wants to hang up when mobile terminal is in bright screen state Phone, when pressing/touch control button, bluetooth headset will not issue any operational order to mobile terminal, and user can be direct The operation hung up the telephone is executed on mobile terminals.
The earphone false-touch prevention method of the application, the first status information of the display screen of acquisition mobile terminal;When judgement is moved Terminal, which is in, goes out when shielding state, then the state that control button is arranged is initiate mode, under initiate mode, pressing/touch control Button then executes corresponding default earphone operation;When determining that mobile terminal is in bright screen state, then the shape of control button is set State is locking state, and under locking state, corresponding default earphone operation is not carried out in pressing/touch control button;By upper The state of control button is set as locking state when mobile terminal is in bright screen state by the method stated, and user needs at this time Operation is executed on mobile terminal, if at this time user adjust bluetooth headset wearing position, accidentally press/touch control by Maloperation can't occur for button;To greatly reduce the generation frequency of user misoperation bluetooth headset.
Referring to Fig. 2, in one embodiment, above-mentioned earphone is equipped with false-touch prevention component, described when the display screen is in Go out when shielding state, then be arranged the control button state be initiate mode step S2 after, comprising:
Whether S4, the monitoring false-touch prevention component are performed the default operation that comes into force, wherein the default operation that comes into force is used for Enable the anti-error touch function of the false-touch prevention component;
S5, if so, the state of the control button is changed to locking state.
In the present embodiment, above-mentioned false-touch prevention component is set on the shell of bluetooth headset, it is preferable that when user adorns oneself with indigo plant When tooth earphone, above-mentioned false-touch prevention component is located at the not top with the outer end face of ear contacts of bluetooth headset shell, is convenient in this way User presses/touches above-mentioned false-touch prevention component, meets the use habit of user, increases operation convenience.Preferably, Ke Yitong It crosses following manner and distinguishes false-touch prevention component and control button, in case user's operation is made mistakes, such as: in a specific embodiment, The distance between false-touch prevention component and control button are arranged to be more than pre-determined distance;In another specific embodiment, it will prevent Accidentally different surface properties are arranged in touching component and control button, and raised dot, control button such as is arranged in false-touch prevention assembly surface Surface is set as smooth surface etc.;In another specific embodiment, false-touch prevention component and control button are arranged to different senses Mode is answered, false-touch prevention component is such as set as touch sensible, control button, which is arranged to press sense, to be waited.
In above-mentioned steps S4~S5, the above-mentioned default operation that comes into force includes touching, pressing, shaking or other movements, to open With above-mentioned false-touch prevention component, so that anti-error touch function comes into force.After anti-error touch function comes into force, then the state of control button is modified For locking state, corresponding default earphone operation is not carried out in pressing at this time/touch control button.When user needs to adjust indigo plant When the wearing position of tooth earphone, the anti-error touch function of false-touch prevention component can be enabled, the bluetooth ear at this point, user can arbitrarily take Machine, and do not have to the control button for worrying accidentally contact bluetooth headset.The present embodiment is by setting false-touch prevention component, in user When needing, the anti-error touch function of false-touch prevention component is opened, to reduce a possibility that bluetooth headset is misused.
In one embodiment, after the above-mentioned state by the control button is changed to the step S5 of locking state, comprising:
S6, monitor whether that being performed default cancel operates, wherein the default cancellation operation is for closing the false-touch prevention The anti-error touch function of component;
S7, if so, the state of the control button is changed to initiate mode.
In the present embodiment, in above-mentioned steps S6~S7, above-mentioned default cancel is operated for preventing above-mentioned false-touch prevention component Accidentally touch function is closed.After anti-error touch function is closed, then the state of control button is changed to initiate mode, at this time pressing/touching Control button is touched, then can execute corresponding default earphone operation, including such as telephone receiving/hang up, song continuation/pause, volume Increase/reduction, broadcasting last track/next track etc..Above-mentioned default cancellation operation can be default including such as long-pressing bluetooth headset The deliberate action of position (such as designated button) etc..When user has adjusted the position of bluetooth headset, need to cancel anti-error touch function When, above-mentioned default cancellation operation is executed, the state of control button can be changed to initiate mode, user can directly lead at this time Bluetooth headset is crossed to be manipulated.
Referring to Fig. 3, in one embodiment, above-mentioned earphone is equipped with body-sensing detection sensor, described to work as the display screen In go out shield state when, then be arranged the control button state be initiate mode step S2 after, comprising:
The detected value that S8, monitoring are measured by the body-sensing detection sensor;
S9, the detected value is compared with preset standard value, according to comparison result judge whether at user's ear In far from state;
S10, if so, the state of the control button is changed to locking state.
In the present embodiment, above-mentioned body-sensing detection sensor, which can be set, fills in the side in ear in bluetooth headset, for examining It surveys bluetooth headset and user's ear is in close or separate state.
In above-mentioned steps S8~S10, when determining to be in user's ear far from state, then show that user may be not Bluetooth headset is being used, or may be that bluetooth headset is temporarily taken out ear to carry out position adjustment, then by the shape of control button State is changed to locking state, if user accidentally touches the control button on bluetooth headset, is not carried out corresponding pre- If earphone operates, to reduce a possibility that bluetooth headset is misused.When determining to be in proximity state with user's ear, Then show that user just wears bluetooth headset at this time, then the state of control button is set as initiate mode, user can pass through bluetooth Earphone directly executes corresponding default earphone operation.
In one embodiment, above-mentioned body-sensing detection sensor is range sensor, the inspection that the range sensor measures Measured value is detecting distance, and the preset standard value is pre-determined distance, described to be compared the detected value with preset standard value, Judged whether to be in the step S9 far from state with user's ear according to comparison result, comprising:
S901, judge whether the detecting distance is greater than the pre-determined distance;
S902, if so, determining to be in user's ear far from state.
In the present embodiment, above-mentioned range sensor is set to bluetooth headset and fills in the side in ear, for test earphone with The detecting distance of ear.When bluetooth headset is worn on user's ear, range sensor be can detecte and user's ear Detecting distance.Range sensor can be infrared distance sensor, issue infrared signal by LED, then receive ear and be reflected back The infrared signal come, calculates the distance between bluetooth headset and ear according to the duration that infrared signal sends and receives.
In above-mentioned steps S901, above-mentioned pre-determined distance can be tested by following methods and be obtained: when bluetooth headset is worn on use When on the ear of family, pass through the reference distance of range sensor detection and user's ear;Using the reference distance as described in Pre-determined distance.In order to improve the accuracy of pre-determined distance, it can also further remind user to wear bluetooth headset again, survey again Measure the reference distance;After measuring preset times, using the maximum value in multiple reference distances as the pre-determined distance.When So, above-mentioned pre-determined distance can also be by user according to use habit sets itself.
In above-mentioned steps S902, if above-mentioned detecting distance is greater than above-mentioned pre-determined distance, show bluetooth headset and user Ear is in far from state;, whereas if above-mentioned detecting distance is not more than above-mentioned pre-determined distance, then show bluetooth headset and user Ear is in proximity state.
In one embodiment, above-mentioned body-sensing detection sensor is temperature sensor, the inspection that the temperature sensor measures Measured value is detection temperature, and the preset standard value is preset temperature section, described to carry out the detected value and preset standard value Compare, judged whether to be in the step S9 far from state with user's ear according to comparison result, comprising:
S911, judge the detection temperature whether in the preset temperature section;
S912, if it is not, then determining to be in user's ear far from state.
In the present embodiment, above-mentioned temperature sensor is set to bluetooth headset and fills in the side in ear, for measuring detection temperature Degree.When bluetooth headset is worn on user's ear, temperature sensor is released infrared by eardrum in detection user ear canal Line can detecte the detection temperature of user Er Nei.
In above-mentioned steps S911, above-mentioned preset temperature section can be tested by following methods and be obtained: when bluetooth headset is worn When on user's ear, the reference temperature of user Er Nei is detected by the temperature sensor;According to the ginseng repeatedly measured It examines temperature and generates the preset temperature section.In order to improve the accuracy in preset temperature section, user can also be further reminded Again bluetooth headset is worn, measures the reference distance again;After measuring preset times, according to multiple preset temperature sections The maximum temperature range covered is as the preset temperature section.Certainly, above-mentioned preset temperature section can also be by user's root According to use habit sets itself.
In above-mentioned steps S912, if above-mentioned detection temperature shows bluetooth headset not in above-mentioned preset temperature section It is in user's ear far from state;, whereas if above-mentioned detection temperature then shows bluetooth ear in above-mentioned preset temperature section Machine and user's ear are in proximity state.
In one embodiment, above-mentioned body-sensing detection sensor is light intensity sensor, and the light intensity sensor measures Detected value be detection luminous intensity, the preset standard value is default luminous intensity, described by the detected value and preset standard value It is compared, is judged whether to be in the step S9 far from state with user's ear according to comparison result, comprising:
S921, judge whether the detection luminous intensity is greater than the default luminous intensity;
S922, if so, determining to be in user's ear far from state.
In the present embodiment, above-mentioned light intensity sensor is set to bluetooth headset and fills in the side in ear, for measuring detection Luminous intensity.When bluetooth headset is worn on user's ear, light intensity sensor is in space in ear, is blocked up in ear by earphone at this time Firmly, the luminous intensity in space is smaller in ear.After bluetooth headset is taken out from user's ear, bluetooth headset is in external environment, light The luminous intensity that intensity sensor measures becomes larger.
In above-mentioned steps S921, above-mentioned default luminous intensity can be tested by following methods and be obtained: when bluetooth headset is worn on When on user's ear, the reference light intensity of user Er Nei is detected by the light intensity sensor;The reference light intensity is made For the default luminous intensity.In order to improve the accuracy of default luminous intensity, further user can also be reminded to wear bluetooth again Earphone measures the reference light intensity again;After measuring preset times, using the maximum value of multiple default luminous intensities as institute State default luminous intensity.Certainly, above-mentioned default luminous intensity can also be by user according to use habit sets itself.
In above-mentioned steps S922, if above-mentioned detection luminous intensity be greater than above-mentioned default luminous intensity, show bluetooth headset with User's ear is in far from state;, whereas if above-mentioned detection luminous intensity is not more than above-mentioned default luminous intensity, then show bluetooth ear Machine and user's ear are in proximity state.
Referring to Fig. 4, present invention also provides a kind of earphone anti-error-touch devices, are set to earphone, and the earphone is equipped with control Button processed, the earphone are connect with mobile terminal communication, and the earphone anti-error-touch device includes:
State acquiring unit 10, the status information of the display screen for obtaining the mobile terminal, the state includes bright Screen state and screen state of going out;
First setting unit 20, for when the display screen be in go out shield state when, then the shape of the control button is set State is initiate mode, and under the initiate mode, pressing/touch control button then executes corresponding default earphone operation;
Second setting unit 30, for when the display screen is in bright screen state, then the shape of the control button being arranged State is locking state, and under the locking state, corresponding default earphone behaviour is not carried out in pressing/touch control button Make.
In the present embodiment, above-mentioned mobile terminal includes the terminal devices such as mobile phone, plate.Above-mentioned earphone is that its shell is equipped with control The earphone of button processed, preferably bluetooth headset, including monaural formula bluetooth headset and true wireless Bluetooth headsets etc..Below with bluetooth ear It is illustrated for machine.Above-mentioned control button is set on the shell of bluetooth headset, and the type of above-mentioned control button includes entity Key and push button etc. then can execute correspondence to the application program of mobile terminal when user's pressing or touch control button The operation of default earphone, above-mentioned default earphone operation include telephone receiving/hang up, song continuation/pause, volume increase/reduction, Play last track/next track etc..
In above-mentioned state acquiring unit 10, mobile terminal is judged by the value of the display screen electric current of monitoring mobile terminal Display screen is in bright screen state and still goes out screen state.Specifically: monitoring the display screen current value of mobile terminal;When above-mentioned current value Less than pre-set current value, then determine that the display screen of above-mentioned mobile terminal is in screen state of going out;When above-mentioned current value is not less than default Current value then determines that the display screen of above-mentioned mobile terminal is in bright screen state.
In above-mentioned first setting unit 20, goes out screen state when determining that mobile terminal is in, then show that user does not exist at this time It is operated on the display screen of mobile terminal.Because once user is operated by the display screen of mobile terminal, then mobile whole End enters bright screen state.It goes out screen state when mobile terminal is in, the state of control button is set as initiate mode, at this point, such as Fruit user presses/touches above-mentioned control button, then can execute the operation of default earphone, including as telephone receiving/hang up, song after Continuous/pause, volume increase/reduction, broadcasting last track/next track etc..
In above-mentioned second setting unit 30, when determine mobile terminal be in bright screen state, then show that shifting is used in user Dynamic terminal.Then user can operate on mobile terminals completely at this time, come realize as telephone receiving/hang up, song continue/ Pause, volume increase/reduction, broadcasting last track/next track etc..Therefore, when judgement mobile terminal is in bright screen state, then by control The state of button processed is set as locking state, at this point, if user presses/touch above-mentioned control button, is not carried out above-mentioned pre- If earphone operates.For example, then the state of control button is set as locking state when mobile terminal is in bright screen state, if with Family is wanted to hang up the telephone, and when pressing/touch control button, bluetooth headset will not issue any operational order to mobile terminal, user The operation hung up the telephone can be directly executed on mobile terminals.
The earphone anti-error-touch device of the application, the first status information of the display screen of acquisition mobile terminal;When judgement is moved Terminal, which is in, goes out when shielding state, then the state that control button is arranged is initiate mode, under initiate mode, pressing/touch control Button then executes corresponding default earphone operation;When determining that mobile terminal is in bright screen state, then the shape of control button is set State is locking state, and under locking state, corresponding default earphone operation is not carried out in pressing/touch control button;By upper The state of control button is set as locking state when mobile terminal is in bright screen state by the method stated, and user needs at this time Operation is executed on mobile terminal, if user adjusts the wearing position of earphone at this time, accidentally press/control button is touched, Maloperation can't occur;To greatly reduce the generation frequency of user misoperation earphone.
Referring to Fig. 5, a kind of earphone is also provided in the embodiment of the present application, which can be bluetooth headset, internal structure It can be as shown in Figure 5.The earphone includes processor, memory, communication interface and the database connected by system bus.Its In, the processor of the headset designs is for providing calculating and control ability.The memory of the earphone includes that non-volatile memories are situated between Matter, built-in storage.The non-volatile memory medium is stored with operating system, computer program and database.The built-in storage is The operation of operating system and computer program in non-volatile memory medium provides environment.The database of the earphone is for storing The data such as body-sensing detection.The communication interface of the earphone is used to communicate with external terminal by network connection.The computer program To realize a kind of earphone false-touch prevention method when being executed by processor.
Above-mentioned processor executes the step of above-mentioned earphone false-touch prevention method:
The status information of the display screen of the mobile terminal is obtained, the state includes bright screen state and screen state of going out;
When the display screen be in go out shield state when, then be arranged the control button state be initiate mode, described Under initiate mode, pressing/touch control button then executes corresponding default earphone operation;
When the display screen is in bright screen state, then the state that the control button is arranged is locking state, described Under locking state, corresponding default earphone operation is not carried out in pressing/touch control button.
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the earphone being applied thereon to application scheme.
One embodiment of the application also provides a kind of computer readable storage medium, is stored thereon with computer program, calculates Machine program realizes a kind of earphone false-touch prevention method when being executed by processor, specifically:
The status information of the display screen of the mobile terminal is obtained, the state includes bright screen state and screen state of going out;
When the display screen be in go out shield state when, then be arranged the control button state be initiate mode, described Under initiate mode, pressing/touch control button then executes corresponding default earphone operation;
When the display screen is in bright screen state, then the state that the control button is arranged is locking state, described Under locking state, corresponding default earphone operation is not carried out in pressing/touch control button.
In conclusion earphone false-touch prevention method, apparatus, storage medium and the earphone of the application, first acquisition mobile terminal Display screen status information;When determine mobile terminal be in go out shield state when, then the state of control button is set to enable shape State, under initiate mode, pressing/touch control button then executes corresponding default earphone operation;When judgement mobile terminal is in When bright screen state, then the state that control button is arranged is locking state, and under locking state, pressing/touch control button will not Execute corresponding default earphone operation;By above-mentioned method, when mobile terminal is in bright screen state, by the shape of control button State is set as locking state, and user needs to execute operation on mobile terminals at this time, if user adjusts the wearing position of earphone at this time It sets, accidentally press/control button is touched, maloperation can't occur;To greatly reduce user misoperation earphone The frequency occurs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can store and a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, Any reference used in provided herein and embodiment to memory, storage, database or other media, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM can by diversified forms , such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double speed are according to rate SDRAM (SSRSDRAM), increasing Strong type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and And further include the other elements being not explicitly listed, or further include for this process, device, article or method institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, device of element, article or method.
The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations Technical field, similarly include in the scope of patent protection of the application.

Claims (10)

1. a kind of earphone false-touch prevention method, which is characterized in that be applied to earphone, the earphone is equipped with control button, the ear Machine is connect with mobile terminal communication, and the earphone false-touch prevention method includes:
The status information of the display screen of the mobile terminal is obtained, the state includes bright screen state and screen state of going out;
When the display screen be in go out shield state when, then be arranged the control button state be initiate mode, in the enabling Under state, pressing/touch control button then executes corresponding default earphone operation;
When the display screen is in bright screen state, then the state that the control button is arranged is locking state, in the locking Under state, corresponding default earphone operation is not carried out in pressing/touch control button.
2. earphone false-touch prevention method as described in claim 1, which is characterized in that the earphone is equipped with false-touch prevention component, institute State when the display screen be in go out shield state when, then be arranged the control button state be initiate mode the step of after, comprising:
Monitor whether the false-touch prevention component is performed the default operation that comes into force, wherein the default operation that comes into force is for enabling State the anti-error touch function of false-touch prevention component;
If so, the state of the control button is changed to locking state.
3. earphone false-touch prevention method as claimed in claim 2, which is characterized in that the state by the control button is changed After the step of for locking state, comprising:
Monitor whether that being performed default cancel operates, wherein the default cancellation operation is for closing the false-touch prevention component Anti-error touch function;
If so, the state of the control button is changed to initiate mode.
4. earphone false-touch prevention method as described in claim 1, which is characterized in that the earphone is equipped with body-sensing detection sensing Device, it is described when the display screen be in go out shield state when, then be arranged the control button state be initiate mode the step of after, Include:
Monitor the detected value measured by the body-sensing detection sensor;
The detected value is compared with preset standard value, judges whether to be in user's ear far from shape according to comparison result State;
If so, the state of the control button is changed to locking state.
5. earphone false-touch prevention method as claimed in claim 4, which is characterized in that the body-sensing detection sensor is Distance-sensing Device, the detected value that the range sensor measures are detecting distance, and the preset standard value is pre-determined distance, described by the inspection Measured value is compared with preset standard value, judges whether the step of being in user's ear far from state, packet according to comparison result It includes:
Judge whether the detecting distance is greater than the pre-determined distance;
If so, determining to be in user's ear far from state.
6. earphone false-touch prevention method as claimed in claim 4, which is characterized in that the body-sensing detection sensor is temperature sensing Device, the detected value that the temperature sensor measures are detection temperature, and the preset standard value is preset temperature section, described by institute It states detected value to be compared with preset standard value, is judged whether to be in the step far from state with user's ear according to comparison result Suddenly, comprising:
Judge the detection temperature whether in the preset temperature section;
If it is not, then determining to be in user's ear far from state.
7. earphone false-touch prevention method as claimed in claim 4, which is characterized in that the body-sensing detection sensor is luminous intensity biography Sensor, the detected value that the light intensity sensor measures are detection luminous intensity, and the preset standard value is default luminous intensity, described The detected value is compared with preset standard value, judges whether to be in user's ear far from state according to comparison result Step, comprising:
Judge whether the detection luminous intensity is greater than the default luminous intensity;
If so, determining to be in user's ear far from state.
8. a kind of earphone anti-error-touch device, which is characterized in that be set to earphone, the earphone is equipped with control button, the ear Machine is connect with mobile terminal communication, and the earphone anti-error-touch device includes:
State acquiring unit, the status information of the display screen for obtaining the mobile terminal, the state include bright screen state With screen state of going out;
First setting unit, for when the display screen be in go out shield state when, then be arranged the control button state be open With state, under the initiate mode, pressing/touch control button then executes corresponding default earphone operation;
Second setting unit, for the state of the control button when the display screen is in bright screen state, to be then arranged as lock Stop state, under the locking state, corresponding default earphone operation is not carried out in pressing/touch control button.
9. a kind of earphone, including memory and processor, computer program is stored in the memory, which is characterized in that institute State the step of realizing any one of claims 1 to 7 the method when processor executes the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201910668603.1A 2019-07-23 2019-07-23 Earphone false touch prevention method and device, storage medium and earphone Active CN110324746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910668603.1A CN110324746B (en) 2019-07-23 2019-07-23 Earphone false touch prevention method and device, storage medium and earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910668603.1A CN110324746B (en) 2019-07-23 2019-07-23 Earphone false touch prevention method and device, storage medium and earphone

Publications (2)

Publication Number Publication Date
CN110324746A true CN110324746A (en) 2019-10-11
CN110324746B CN110324746B (en) 2020-11-24

Family

ID=68124323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910668603.1A Active CN110324746B (en) 2019-07-23 2019-07-23 Earphone false touch prevention method and device, storage medium and earphone

Country Status (1)

Country Link
CN (1) CN110324746B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363751A (en) * 2021-12-08 2022-04-15 锁国东 Audio playing device and touch system thereof

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719426A (en) * 2004-07-08 2006-01-11 Lg电子株式会社 Music play control apparatus using at least one earphone function key and method thereof
CN102568184A (en) * 2012-02-17 2012-07-11 深圳市中兴移动通信有限公司 Method and system for implementing screen unlocking/locking and backlight switching of Bluetooth earphone
CN102984615A (en) * 2012-11-19 2013-03-20 中兴通讯股份有限公司 Method using light sensor earphone to control electronic device and light sensor earphone
WO2017051186A1 (en) * 2015-09-25 2017-03-30 Mclaren Applied Technologies Limited Device control
CN106793023A (en) * 2016-11-21 2017-05-31 努比亚技术有限公司 Mobile terminal and mobile terminal false-touch prevention method
CN107040657A (en) * 2017-04-06 2017-08-11 普联技术有限公司 One kind prevents touch-screen false triggering method and device
CN107231677A (en) * 2017-05-26 2017-10-03 维沃移动通信有限公司 One kind breath screen awakening method, device and mobile terminal
WO2018035772A1 (en) * 2016-08-24 2018-03-01 北京小米移动软件有限公司 Display interface control method and device
CN108718432A (en) * 2018-05-10 2018-10-30 硕诺科技(深圳)有限公司 A kind of earphone with unlocking function
CN108763978A (en) * 2018-05-28 2018-11-06 Oppo广东移动通信有限公司 Information cuing method, device, terminal, earphone and readable storage medium storing program for executing
CN109587341A (en) * 2018-12-24 2019-04-05 努比亚技术有限公司 A kind of voice communication control method, terminal and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719426A (en) * 2004-07-08 2006-01-11 Lg电子株式会社 Music play control apparatus using at least one earphone function key and method thereof
CN102568184A (en) * 2012-02-17 2012-07-11 深圳市中兴移动通信有限公司 Method and system for implementing screen unlocking/locking and backlight switching of Bluetooth earphone
CN102984615A (en) * 2012-11-19 2013-03-20 中兴通讯股份有限公司 Method using light sensor earphone to control electronic device and light sensor earphone
WO2017051186A1 (en) * 2015-09-25 2017-03-30 Mclaren Applied Technologies Limited Device control
WO2018035772A1 (en) * 2016-08-24 2018-03-01 北京小米移动软件有限公司 Display interface control method and device
CN108027697A (en) * 2016-08-24 2018-05-11 北京小米移动软件有限公司 Control the method and device of display interface
CN106793023A (en) * 2016-11-21 2017-05-31 努比亚技术有限公司 Mobile terminal and mobile terminal false-touch prevention method
CN107040657A (en) * 2017-04-06 2017-08-11 普联技术有限公司 One kind prevents touch-screen false triggering method and device
CN107231677A (en) * 2017-05-26 2017-10-03 维沃移动通信有限公司 One kind breath screen awakening method, device and mobile terminal
CN108718432A (en) * 2018-05-10 2018-10-30 硕诺科技(深圳)有限公司 A kind of earphone with unlocking function
CN108763978A (en) * 2018-05-28 2018-11-06 Oppo广东移动通信有限公司 Information cuing method, device, terminal, earphone and readable storage medium storing program for executing
CN109587341A (en) * 2018-12-24 2019-04-05 努比亚技术有限公司 A kind of voice communication control method, terminal and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363751A (en) * 2021-12-08 2022-04-15 锁国东 Audio playing device and touch system thereof

Also Published As

Publication number Publication date
CN110324746B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
RU2643460C2 (en) Touch keys and method for implementing fingerprint recognition, apparatus and terminal device
CN104537365B (en) Touch key-press and fingerprint recognition implementation method, device and terminal device
CN105554616B (en) A kind of headset control method and earphone
EP3361351B1 (en) Method and apparatus using frictional sound
CN104866749B (en) Operate response method and device
US20090262078A1 (en) Cellular phone with special sensor functions
CN106331320B (en) Control the method and device of screen state
CN106570442A (en) Fingerprint identification method and device
CN106415764B (en) Press-key structure and electronic equipment and its control method, device
CN106375665A (en) Photographing method and terminal
CN105630331A (en) Display method and display system
CN105227727B (en) Mobile phone key function setting method and setting device
GB2450583A (en) Cellular phone with automatic function activation depending upon sensor detections
CN104820549B (en) Sending method, device and the terminal of social networking application message
CN106385488B (en) Restore the method and device of normal mode of operation
CN110324746A (en) Earphone false-touch prevention method, apparatus, storage medium and earphone
CN106993265A (en) Communication means, terminal, wearable device based on wearable device
CN107219959A (en) Input control method and equipment for Intelligent worn device
CN105425958B (en) Income prompting method, device and mobile terminal
CN108241842A (en) Fingerprint identification method and device
CN110221736A (en) Icon processing method, device, mobile terminal and storage medium
TWI704504B (en) Input method based on light sensor, terminal device and computer readable recording media
CN105677104B (en) A kind of user terminal control method and user terminal
CN105549736B (en) Income prompting method, device and mobile terminal
CN111651082B (en) Touch screen unlocking method and device, electronic equipment and storage medium

Legal Events

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