CN105934931A - Terminal device - Google Patents

Terminal device Download PDF

Info

Publication number
CN105934931A
CN105934931A CN201480068790.5A CN201480068790A CN105934931A CN 105934931 A CN105934931 A CN 105934931A CN 201480068790 A CN201480068790 A CN 201480068790A CN 105934931 A CN105934931 A CN 105934931A
Authority
CN
China
Prior art keywords
button
electric signal
recognition threshold
terminal installation
earphone
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
CN201480068790.5A
Other languages
Chinese (zh)
Other versions
CN105934931B (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.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105934931A publication Critical patent/CN105934931A/en
Application granted granted Critical
Publication of CN105934931B publication Critical patent/CN105934931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • 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

Landscapes

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

Abstract

An embodiment of the invention provides a terminal device. When a control function corresponding to at least one button of at least two buttons of an earphone is ineffective, a terminal device acquires at least two telecommunication signals generated by an earphone circuit when a user operates the at least two buttons, acquires identification thresholds according to the acquired at least two telecommunication signals, and identifies control functions corresponding to the at least two button according to the identification thresholds. In this way, even if an earphone has hardware aging after a period of use, a terminal device can identify buttons pressed by a user because identification thresholds are set according to telecommunication signals generated after the hardware aging.

Description

A kind of terminal installation Technical field
The present invention relates to the terminal installation of a kind of terminal installation, more particularly to the control function corresponding to the button of identification earphone.
Background technology
By taking mobile phone as an example, terminal installation is more using the earphone being adapted on the terminal device, and the so relatively outer loudspeaker put can not influence other people.
Above-mentioned earphone is the abbreviation of earphone receiver, is to refer to be worn on the small-sized receiver on ear.Above-mentioned earphone is to be inserted after miniature loudspeaker is fixed by specific housing in ear, and the connection terminal being connected with miniature loudspeaker is inserted into the jack of terminal installation, and the Acoustic Wave Propagation exported so as to miniature loudspeaker is into user's ear.
Above-mentioned earphone is generally additionally provided with button, for partly control terminal device on the line between connection terminal and miniature loudspeaker.By taking earphone as an example, conventional button can include three buttons, volume increase button, volume-down keys, and confirm button, volume here increases or reduction is the citing of control function, it can be other control functions, button can also be multiplexed and possess other control functions.
But, with a earphone in use for some time, hardware circuit meeting aging so that terminal installation None- identified or the button of wrong identification user operation.
Although above is being introduced with wired earphone, earphone can also be wireless headset, such as bluetooth earphone.Although bluetooth earphone is without line, button is also generally included on bluetooth earphone, there is also it is similar the problem of.
The content of the invention
The embodiments of the invention provide a kind of terminal installation, for recognizing the control function corresponding to the button of earphone.
In a first aspect, the embodiments of the invention provide a kind of terminal installation, the terminal installation includes:
Input and output unit;
Earphone interface, for being connected with earphone;The earphone includes at least two buttons, and at least two button corresponds to a control function respectively;The earphone also includes head circuit, for producing electric signal to the operation of at least two button in response to user;
Control unit, for when the control function failure corresponding at least one button at least two button, obtaining at least two electric signals that user operates at least two button and produced by the head circuit, and according to getting At least two electric signal is identified threshold value, and based on the recognition threshold, recognizes the corresponding control function of at least two button.
In the first possible implementation of first aspect, at least two button includes the first button and the second button, correspondingly described to obtain user's operation at least two button and include the first electric signal and the second electric signal by least two electric signals that the head circuit is produced;
Described control unit is used for:Based on first electric signal and the second electric signal, the recognition threshold is obtained according to default rule.
The first possible implementation with reference to first aspect, in second of possible implementation, the threshold value is single numerical value;First electric signal is characterized as the first numerical value, and the second electric signal is characterized as second value;
Then described control unit specifically for:A certain numerical value between first numerical value and second value is set to the recognition threshold.
With reference to second of possible implementation of first aspect, in the third possible implementation, described control unit is additionally operable to:
Receive the 3rd electric signal that user operates first button or the second button and produced by the head circuit;
Compare magnitude relationship of the 3rd electric signal with the recognition threshold;
According to comparative result, the corresponding control function of the 3rd electric signal is recognized according to default rule.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation, described control unit specifically for:
When the 3rd electric signal is less than or equal to the recognition threshold, then the corresponding control function of the first button is identified as;
When the 3rd electric signal is more than the recognition threshold, then the corresponding control function of the second button is identified as;
The first possible implementation with reference to first aspect, in the 5th kind of possible implementation, the recognition threshold is number range, including lower limit and higher limit;First electric signal is characterized as the first numerical value, and the second electric signal is characterized as second value,
Then described control unit specifically for:The lower limit and higher limit of the first recognition threshold are obtained based on first numerical value and the first threshold factor, the lower limit and higher limit of the second recognition threshold are obtained based on the second value and the Second Threshold factor.
With reference to the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation, described control unit is additionally operable to:
Receive the 4th electric signal that user operates first button or the second button and produced by the head circuit;
Compare magnitude relationship of the 4th electric signal with first recognition threshold and the second recognition threshold;
According to comparative result, the corresponding control function of the 4th electric signal is recognized according to default rule.
With reference to the 5th kind of possible implementation of first aspect, in the 7th kind of possible implementation, described control unit tool Body is used for:
When the 4th electric signal is more than or equal to the lower limit of first recognition threshold and less than or equal to the higher limit of first recognition threshold, then the corresponding control function of the first button is identified as;
When the 4th electric signal is more than or equal to the lower limit of second recognition threshold and less than or equal to the higher limit of second recognition threshold, then the corresponding control function of the second button is identified as;
Second aspect, the embodiments of the invention provide a kind of terminal installation, the terminal installation includes:
Input and output unit;
Earphone interface, for being connected with earphone;The earphone includes at least two buttons, and at least two button corresponds to a control function respectively;The earphone also includes head circuit, for producing electric signal to the operation of at least two button in response to user;
Control unit, for when the control function failure corresponding at least one button at least two button, obtain at least one electric signal that user operates at least one button of the failure and produced by the head circuit, and at least one electric signal is identified threshold value according to getting, and according to the recognition threshold, recognize the corresponding control function of at least two button;
Wherein, the recognition threshold is number range, including lower limit and higher limit.
In the first possible implementation of second aspect, at least two button includes the first button and the second button, at least one button of the failure is the first button, and at least one electric signal that correspondingly the acquisition user operates at least one button of the failure and produced by the head circuit includes:The first electric signal that user operates the first button of the failure and produced by the earphone is obtained, first electric signal is characterized as the first numerical value;
Described control unit is used for:The first numerical value and the first threshold factor that are characterized based on first electric signal obtain the lower limit and higher limit of the recognition threshold.
The first possible implementation with reference to second aspect, in second of possible implementation, described control unit is additionally operable to:
Receive the 5th electric signal that user operates first button or the second button and produced by the head circuit;
Compare magnitude relationship of the 5th electric signal with the recognition threshold;
According to comparative result, the corresponding control function of the 5th electric signal is recognized according to default rule.
With reference to second of possible implementation of second aspect, in the third possible implementation, described control unit specifically for:
When the 5th electric signal is more than or equal to the lower limit of the recognition threshold and less than or equal to the higher limit of the recognition threshold, then the corresponding control function of the first button is identified as.
In embodiments of the present invention, when the control function corresponding at least one button at least two buttons of earphone fails When, terminal installation obtains at least two electric signals that user operates at least two button and produced by head circuit, and threshold value is identified according at least two electric signal got, so as to based on the recognition threshold, recognize the corresponding control function of at least two button.So, even if earphone after used a period of time, hardware aging occurs, due to recognition threshold be based on hardware aging after button electric signal set so that terminal installation can recognize the button that user presses.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, the accompanying drawing used required in being described below to embodiment is briefly described, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of the part-structure of the terminal installation according to the embodiment of the present invention;
Fig. 2 is the schematic diagram of the head circuit of the earphone according to the embodiment of the present invention;
Fig. 3 a and 3b are a kind of schematic diagram of identification method according to the embodiment of the present invention;
Fig. 4 a and 4b are the schematic diagram of another identification method according to the embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of identification method after the correction according to the embodiment of the present invention;
Fig. 6 is the schematic diagram of another identification method after the correction according to the embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
Terminal installation in the embodiment of the present invention can include mobile phone, tablet personal computer, Mp 3 player, PDA (personal digital assistant, personal digital assistant) etc..
With reference to Fig. 1, terminal installation 100 can include the parts such as control unit 110, memory 120, input block 130, output unit 140, earphone interface 150, and earphone 151 is connected as the accessory of terminal installation 100 with earphone interface in addition.It it will be understood by those skilled in the art that the terminal installation structure shown in Fig. 1 does not constitute the restriction to terminal installation, can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Each component parts of terminal installation 100 is specifically introduced with reference to Fig. 1:
Wherein, control unit 110 is the control centre of terminal installation 100, can be processor chips or possesses any cell or module of control function.It utilizes the various pieces of various interfaces and the whole terminal installation of connection.Pass through Operation performs the software program and/or module being stored in memory 120, and calls the data being stored in memory 120, performs the various functions of terminal installation 100, so as to carry out integral monitoring to terminal installation.
Memory 120 can be used for storage software program and related data.Control unit 110 is stored in the software program and data of memory 120 by operation, so as to perform various function application and the data processing of terminal installation 100.
Input block 130 can be used for the numeral or character information for receiving input, and the key signals that generation is set with the user of terminal installation 100 and function control is relevant to input.Specifically, the one or more that input block 130 can include but is not limited in touch-screen, physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Output unit 140 can include display device or audio-frequence player device etc..Display device can be used for showing the information inputted by user or be supplied to the information of user and the various menus of terminal installation 100.Display device may include display screen.Audio-frequence player device at least includes loudspeaker and voicefrequency circuit etc..Signal after voicefrequency circuit can change the voice data received is transferred to loudspeaker, and voice signal output is converted to by loudspeaker.
Earphone interface 150 is suitable to be connected with earphone 151.Because earphone can at least be divided into wired earphone and wireless headset, the correspondingly connection can be wired connection or wireless connection.Earphone interface can include circuit in itself, and jack, all or part of wireless module etc. belongs to prior art, will not be repeated here.Described earphone 151 can be provided with button, for partly control terminal device 100.By taking handset earphone as an example, conventional button can include three buttons, volume increase button, volume-down keys, and confirm button, volume increase or reduction here etc. are only the citings of control function, it can be other control functions, above-mentioned button can also be multiplexed and possess other control functions.Earphone 151 also includes head circuit (being specifically described below), for producing electric signal to the operation of button in response to user.Electric signal can be voltage, electric current etc., preferably voltage.
It will be understood by those skilled in the art that the terminal installation structure shown in Fig. 1 does not constitute the restriction to terminal installation.Those of ordinary skill in the art can suitably be changed to the structure in Fig. 1 as needed.Members are for example deleted, increase some components, or replace with other assemblies the members in Fig. 1..
Fig. 2 is illustrated that the schematic diagram of the head circuit in earphone, because head circuit belongs to the state of the art, therefore is no longer developed in details herein, simply convenient understanding introduced below.In addition, Fig. 2 is illustrated that the composition of the head circuit of existing wired earphone, but it is only used for understanding operation principle, does not constitute any restriction.
As shown in Figure 2, SPK_L and SPK_R represent left and right miniature loudspeaker respectively, one of terminal L+ terminals of wherein left speaker are electrically connected to L terminals, one of terminal R+ terminals of right loudspeaker are electrically connected to R terminals, and another terminal of left speaker and right loudspeaker is all connected to G terminals (ground terminal).
Button includes three, include validating that button SW1 (also referred to as button Key_OK), volume-down keys SW2 (also referred to as button Key_V-), and volume increase button SW3 (also referred to as button Key_V+), it is respectively used to confirm, controls volume down The increase of small and volume.It is understood that the quantity and control function of button are not limited, such as at least two buttons.
Three buttons are serial/parallel to be associated with three resistance R1, R2, R3, and each resistance is preset as certain resistance.Certain head circuit also includes miscellaneous part, such as electric capacity C1, Mike MIC etc., and the embodiment of the present invention is no longer introduced.
Understood with reference to Fig. 2, when user operates different buttons, the different stream of head circuit UNICOM, because resistance is different, causes to produce different electric signals at M+ terminals.For convenience, it is described so that electric signal is voltage as an example.
Terminal device can gather the voltage V of M+ terminals in head circuit, recognize it is which button according to default recognition threshold and rule.
At present, based on different mechanism, there are at least two identification methods.
First way, such as Fig. 3 a, recognition threshold are the mode of single numerical value.
Such as, terminal installation presets two threshold values, and each threshold value is single numerical value:Threshold value TH1, threshold value TH2;
As V≤TH1, then identify it is that button SW1 (Key_OK) is operated, then trigger correspondence and confirm function;
As V >=TH2, then identify it is that button SW2 (Key_V-) is operated, then trigger correspondence volume and reduce function;
Work as TH1<V<TH2, then identify it is that button SW3 (Key_V+) is operated, then trigger correspondence volume up function.
It is readily appreciated that, above-mentioned recognition rule can be arranged as required to.
But, if hardware aging, the resistance of such as button SW3 (Key_V+) series connection has played change, then it is possible that as Fig. 3 b, user operation button SW3 (Key_V+), has exceeded TH2 (shown in dotted line), then according to above-mentioned rule in the magnitude of voltage V+ of M+ terminals, even if user operation button SW3 (Key_V+), terminal installation can also be identified as button SW2 (Key_V-) and be operated.This is clearly inaccurate.
The second way, such as Fig. 4 a, recognition threshold are the mode of number range.
Such as, terminal installation presets three threshold values, and each threshold value is number range, including upper limit value and lower limit value:Threshold value TH1 (lower limit A1, higher limit A2), threshold value TH2 (lower limit B1, higher limit B2), threshold value TH3 (lower limit C1, higher limit C2),
As A1≤V≤A2, then identify it is that button SW1 (Key_OK) is operated, then trigger correspondence and confirm function;
As B1≤V≤B2, then identify it is that button SW3 (Key_V+) is operated, then trigger correspondence volume up function.
As C1≤V≤C2, then identify it is that button SW2 (Key_V-) is operated, then trigger correspondence volume and reduce function.
It is readily appreciated that, above-mentioned recognition rule can be arranged as required to.
If likewise, the resistance of hardware aging, such as button SW1 (Key_OK) series connection has played change, then be possible to such as Fig. 4 b so, user operation button SW1 (Key_OK), in the magnitude of voltage V of M+ terminalsokThreshold value TH1 higher limit A1 (shown in dotted line) is exceeded, even if then user operation button SW1 (Key_OK), terminal installation is None- identified.
The embodiment of the present invention is to solve the above problems.I.e. when the corresponding control function failure of at least one button of earphone When, how the control function of key range.Described failure at least includes, and when user operates certain button, terminal installation cannot recognize that its corresponding control function.This corresponding control function can be pre-set by manufacturer or user oneself is set.
Terminal installation can provide a calibration function, and when at least one keys deactivation, user can start the calibration function.The embodiment of the present invention is not limited how to provide calibration function, can be that the ensuing operation of user is guided with the mode of voice, ensuing operation, or both can also be guided all to have with the mode of graphical interfaces, etc..Describe, introduced below in the way of graphical interfaces for convenience.
Understand for convenience, the embodiment of the present invention is introduced respectively according to two kinds of identification methods.
(1) the above-mentioned first way of correspondence:
When at least one button, such as when button SW3 (Key_V+) fails, user can start calibration function, open the graphical interfaces for correction.Certainly, terminal installation can also point out user to correct, such as periodically actively point out user.
Terminal installation can guide user according to control function by graphical interfaces, three buttons are operated successively, such as correspond to and confirm function, point out user operation button SW1 (Key_OK), correspondence volume increase function, point out user operation button SW3 (Key_V+), correspondence volume to reduce function, point out user operation SW2 (Key_V-).It is appreciated that the order of operation does not constitute restriction.
When the control unit of terminal installation obtains user's operation above three button, the electric signal of M+ terminals, such as voltage in head circuit, it is assumed that be respectively V1, V3, V2.
According to above-mentioned voltage V1, V3, V2, control unit is identified threshold value TH1 ', TH2 '.Control unit can set rule to obtain the identification thresholding.Such as a certain magnitude of voltage between V3 and V2 can be regard as the second recognition threshold TH2 ' for distinguishing button SW3 (Key_V+) and SW2 (Key_V-) using a certain magnitude of voltage between V1 and V3 as difference button SW1 (Key_OK) and SW3 (Key_V+) the first recognition threshold TH1 '.It is preferred that, V1 and V3 can be averaged as the first recognition threshold TH1 ', V3 and V2 are averaged and are used as the second recognition threshold TH2 '.
Based on the recognition threshold, terminal installation recognizes the control function of three buttons.After correction terminates, if user operates any button, head circuit can produce a magnitude of voltage V ', and control unit understands relations of the comparing voltage value V ' with above-mentioned recognition threshold, and recognizes the corresponding control function of the case according to default rule.Such as, if V '≤TH1 ', it is identified as button SW1 (Key_OK) and is operated, if V ' >=TH2 ', identifies it is that button SW2 (Key_V-) is operated, if TH1 '<V’<TH2 ', then identify it is that button SW3 (Key_V+) is operated.
It will be understood that number of keys can be at least two, the corresponding control function of button does not constitute restriction yet, but principle is similar.
So, even if earphone after used a period of time, hardware aging occurs, due to recognition threshold be based on hardware aging after button electric signal set so that terminal installation can recognize the button that user presses.
In addition, the resistance and/or operating voltage that its head circuit of the earphone of different producers is constituted may be different, when so different earphones is used cooperatively with same mobile terminal, if also using identical recognition threshold, user is also resulted in when operating button, terminal device can not be recognized or wrong identification.The embodiment of the present invention can also solve the problem, because terminal installation can be according to recognition threshold be reset per a earphone, so as to recognize the button of different earphones.
(2), the above-mentioned second way of correspondence, wherein the place similar with first way, will not be repeated here.
When at least one button, such as when button SW1 (Key_OK) fails, user can start calibration function, open the graphical interfaces for correction.Certainly, terminal installation can also point out user to correct, such as periodically actively point out user.
Terminal installation can guide user according to control function, three buttons are operated successively, such as correspond to and confirm function, point out user operation button SW1 (Key_OK), correspondence volume increase function, point out user operation button SW3 (Key_V+), correspondence volume to reduce function, point out user operation SW2 (Key_V-).It is appreciated that the order of operation does not constitute restriction.
When the control unit of terminal installation obtains user's operation above three button, the electric signal of M+ terminals, such as voltage in head circuit, it is assumed that be respectively V1, V3, V2.
According to above-mentioned voltage V1, V3, V2, control unit are identified threshold value.Control unit can obtain the recognition threshold with preset rules.Threshold value can be such as identified according to threshold factor, threshold factor is used as the upper and lower bound value for determining recognition threshold.For example the first threshold factor is a1, a2, then V1-a1 is set into A1 ', V1+a2 is set into A2 ', so as to obtain the lower and upper limit A1 ' and A2 ' of the first recognition threshold;The Second Threshold factor is b1, b2, then V3-b1 is set into B1 ', V1+b2 is set into B2 ', so as to obtain the lower and upper limit B1 ' and B2 ' of the second recognition threshold;3rd threshold factor is c1, c2, then V2-c1 is set into C1 ', V2+c2 is set into C2 ', so as to obtain the lower and upper limit C1 ' and C2 ' of the 3rd recognition threshold.Preferably, the size of threshold factor can be identical with identical or part.Such as a1, a2, b1, b2, c1, c2 value are identical, take Δ e;Can also, a1, a2 is Δ e1, and b1, b2 is Δ e2, and c1, c2 is Δ e3.
Based on the recognition threshold, terminal installation recognizes the control function of three buttons.After correction terminates, if user operates any button, head circuit can produce a magnitude of voltage V ', and control unit understands relations of the comparing voltage value V with above-mentioned recognition threshold, and recognizes the corresponding control function of the case according to default rule.Such as, work as A1 '≤V '≤A2 ', then identify it is that button SW1 (Key_OK) is operated, then trigger correspondence and confirm function;Work as B1 '≤V '≤B2 ', then identify it is that button SW3 (Key_V+) is operated, then trigger correspondence volume up function.Work as C1 '≤V '≤C2 ', then identify it is that button SW2 (Key_V-) is operated, then trigger correspondence volume and reduce function.
It will be understood that number of keys can be at least two, the corresponding control function of button does not constitute restriction yet, but principle is similar.
So, even if earphone after used a period of time, hardware aging occurs, due to recognition threshold be based on hardware aging after button electric signal set so that terminal installation can recognize the button that user presses.
In addition, resistance and/or operating voltage that its head circuit of the earphone of different producers is constituted may be different, so not When same earphone is used cooperatively with same mobile terminal, if also using identical recognition threshold, user is also resulted in when operating button, terminal device can not be recognized or wrong identification.The embodiment of the present invention can also solve the problem, because terminal installation can be according to recognition threshold be reset per a earphone, so as to recognize the button of different earphones.
Further, for the above-mentioned second way of correspondence, the scheme of foregoing description is:If at least one keys deactivation, the magnitude of voltage that collection user operates each button and produced, so that it is determined that the recognition threshold after correction.It is preferable, however, that can be corrected just for the button of failure.When such as button SW1 (Key_OK) fails, terminal installation can only guide user to operate button SW1 (Key_OK), get voltage V1, and other buttons can not be corrected because not failing.Next, recognition threshold of the control unit according to the above-mentioned voltage V1 button SW1 (Key_OK) failed (specific method to set up, referring to above description, will not be repeated here).It so can also solve Similar Problems above.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can be completed by the related hardware of programmed instruction, and foregoing program can be stored in a computer read/write memory medium, and the program upon execution, performs the step of including above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although the present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It can still modify to the technical scheme described in foregoing embodiments, or carry out equivalent substitution to which part technical characteristic;And these modifications or replacement, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

  1. A kind of terminal installation, it is characterised in that the terminal installation includes:
    Input and output unit;
    Earphone interface, for being connected with earphone;The earphone includes at least two buttons, and at least two button corresponds to a control function respectively;The earphone also includes head circuit, for producing electric signal to the operation of at least two button in response to user;
    Control unit, for when the control function failure corresponding at least one button at least two button, obtain at least two electric signals that user operates at least two button and produced by the head circuit, and threshold value is identified according at least two electric signal got, and based on the recognition threshold, recognize the corresponding control function of at least two button.
  2. Terminal installation according to claim 1, it is characterized in that, at least two button includes the first button and the second button, correspondingly described to obtain user's operation at least two button and include the first electric signal and the second electric signal by least two electric signals that the head circuit is produced;
    Described control unit is used for:Based on first electric signal and the second electric signal, the recognition threshold is obtained according to default rule.
  3. Terminal installation according to claim 2, it is characterised in that the threshold value is single numerical value;First electric signal is characterized as the first numerical value, and the second electric signal is characterized as second value;
    Then described control unit specifically for:A certain numerical value between first numerical value and second value is set to the recognition threshold.
  4. Terminal installation according to claim 3, it is characterised in that described control unit is additionally operable to:
    Receive the 3rd electric signal that user operates first button or the second button and produced by the head circuit;
    Compare magnitude relationship of the 3rd electric signal with the recognition threshold;
    According to comparative result, the corresponding control function of the 3rd electric signal is recognized according to default rule.
  5. Terminal installation according to claim 4, it is characterised in that described control unit specifically for:
    When the 3rd electric signal is less than or equal to the recognition threshold, then the corresponding control function of the first button is identified as;
    When the 3rd electric signal is more than the recognition threshold, then the corresponding control function of the second button is identified as;
  6. Terminal installation according to claim 2, it is characterised in that the recognition threshold is number range, including lower limit and higher limit;First electric signal is characterized as the first numerical value, and the second electric signal is characterized as second value,
    Then described control unit specifically for:The lower limit and higher limit of the first recognition threshold are obtained based on first numerical value and the first threshold factor, the lower limit and higher limit of the second recognition threshold are obtained based on the second value and the Second Threshold factor.
  7. Terminal installation according to claim 6, it is characterised in that described control unit is additionally operable to:
    Receive the 4th electric signal that user operates first button or the second button and produced by the head circuit;
    Compare magnitude relationship of the 4th electric signal with first recognition threshold and the second recognition threshold;
    According to comparative result, the corresponding control function of the 4th electric signal is recognized according to default rule.
  8. Terminal installation according to claim 6, it is characterised in that described control unit specifically for:
    When the 4th electric signal is more than or equal to the lower limit of first recognition threshold and less than or equal to the higher limit of first recognition threshold, then the corresponding control function of the first button is identified as;
    When the 4th electric signal is more than or equal to the lower limit of second recognition threshold and less than or equal to the higher limit of second recognition threshold, then the corresponding control function of the second button is identified as;
  9. A kind of terminal installation, it is characterised in that the terminal installation includes:
    Input and output unit;
    Earphone interface, for being connected with earphone;The earphone includes at least two buttons, and at least two button corresponds to a control function respectively;The earphone also includes head circuit, for producing electric signal to the operation of at least two button in response to user;
    Control unit, for when the control function failure corresponding at least one button at least two button, obtain at least one electric signal that user operates at least one button of the failure and produced by the head circuit, and at least one electric signal is identified threshold value according to getting, and according to the recognition threshold, recognize the corresponding control function of at least two button;
    Wherein, the recognition threshold is number range, including lower limit and higher limit.
  10. Terminal installation according to claim 9, it is characterized in that, at least two button includes the first button and the second button, at least one button of the failure is the first button, and at least one electric signal that correspondingly the acquisition user operates at least one button of the failure and produced by the head circuit includes:The first electric signal that user operates the first button of the failure and produced by the earphone is obtained, first electric signal is characterized as the first numerical value;
    Described control unit is used for:The first numerical value and the first threshold factor that are characterized based on first electric signal obtain the lower limit and higher limit of the recognition threshold.
  11. Terminal installation according to claim 10, it is characterised in that described control unit is additionally operable to:
    Receive the 5th electric signal that user operates first button or the second button and produced by the head circuit;
    Compare magnitude relationship of the 5th electric signal with the recognition threshold;
    According to comparative result, the corresponding control function of the 5th electric signal is recognized according to default rule.
  12. The terminal installation according to claim 11, it is characterised in that described control unit specifically for:
    When the 5th electric signal is more than or equal to the lower limit of the recognition threshold and less than or equal to the higher limit of the recognition threshold, then the corresponding control function of the first button is identified as.
CN201480068790.5A 2014-12-26 2014-12-26 A kind of terminal installation Active CN105934931B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/095150 WO2016101269A1 (en) 2014-12-26 2014-12-26 Terminal device

Publications (2)

Publication Number Publication Date
CN105934931A true CN105934931A (en) 2016-09-07
CN105934931B CN105934931B (en) 2019-07-19

Family

ID=56148996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480068790.5A Active CN105934931B (en) 2014-12-26 2014-12-26 A kind of terminal installation

Country Status (2)

Country Link
CN (1) CN105934931B (en)
WO (1) WO2016101269A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242487B (en) * 2021-05-11 2022-12-02 深圳市中科蓝讯科技股份有限公司 Line control method, line control device, adapter and line control system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534483A (en) * 2003-03-31 2004-10-06 联想(北京)有限公司 Realization method of pushbutton function control
CN201928419U (en) * 2011-01-21 2011-08-10 青岛海信移动通信技术股份有限公司 Earphone and mobile communication terminal provided with same
CN104244122A (en) * 2013-06-13 2014-12-24 无锡华润矽科微电子有限公司 Drive-by-wire headset and volume control circuit thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534483A (en) * 2003-03-31 2004-10-06 联想(北京)有限公司 Realization method of pushbutton function control
CN201928419U (en) * 2011-01-21 2011-08-10 青岛海信移动通信技术股份有限公司 Earphone and mobile communication terminal provided with same
CN104244122A (en) * 2013-06-13 2014-12-24 无锡华润矽科微电子有限公司 Drive-by-wire headset and volume control circuit thereof

Also Published As

Publication number Publication date
WO2016101269A1 (en) 2016-06-30
CN105934931B (en) 2019-07-19

Similar Documents

Publication Publication Date Title
US10805708B2 (en) Headset sound channel control method and system, and related device
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
JP4191192B2 (en) Identification method of audio device in portable terminal and portable terminal
US8417292B2 (en) Device-adaptive connection establishing method and system for a mobile terminal
JP6177494B2 (en) Earphone system, portable terminal supporting the same, and earphone operation method based on the same
US20140072129A1 (en) Method and apparatus for detecting insertion of external audio outputting device in electronic device
CN103118191B (en) Using control method and mobile terminal for iPhone wire control earphone
CN101739374B (en) Signal transmission path selecting and apply the electronic installation of this circuit
CN110677768A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN107506167B (en) Volume control method and device of mobile terminal, storage medium and mobile terminal
US20110044478A1 (en) Portable electronic device and audio output and input controlling method thereof
US20160080854A1 (en) Mobile terminal earphone line control circuit and line control method
CN106791067A (en) A kind of In Call adjusting method, device and mobile terminal
CN107404753A (en) Volume adjusting method, device, terminal and storage medium
CN106936993A (en) Terminal screen control method and device
CN112119565A (en) Power polarity detection for accessory mode change
CN105868598A (en) Method and terminal for fingerprint unlocking
CN105719673A (en) Terminal and recording processing method thereof
CN108955759A (en) The wearing detection method and Related product of wearable device
US11025764B2 (en) Method and system for reducing current noise of touch terminal
CN108668018B (en) Mobile terminal, volume control method and related product
CN104536781A (en) Terminal
CN108566221A (en) Call control method and relevant device
CN105934931A (en) Terminal device
US10194231B2 (en) Circuit for detecting button action on earphone, terminal, and 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210508

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right