CN104330981A - Key control method, electronic device and line-control device - Google Patents

Key control method, electronic device and line-control device Download PDF

Info

Publication number
CN104330981A
CN104330981A CN201310308625.XA CN201310308625A CN104330981A CN 104330981 A CN104330981 A CN 104330981A CN 201310308625 A CN201310308625 A CN 201310308625A CN 104330981 A CN104330981 A CN 104330981A
Authority
CN
China
Prior art keywords
signal
steering order
button
frequency
frequency signal
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
CN201310308625.XA
Other languages
Chinese (zh)
Other versions
CN104330981B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310308625.XA priority Critical patent/CN104330981B/en
Publication of CN104330981A publication Critical patent/CN104330981A/en
Application granted granted Critical
Publication of CN104330981B publication Critical patent/CN104330981B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Telephone Function (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

An embodiment of the invention discloses a key control method, an electronic device and a line-control device. The electronic device comprises a processing module. The method comprises the following steps: receiving a control signal from the line-control device, wherein the control signal at least comprises at least one frequency signal generated when the line-control device responds to the pressing operation of at least one key of the line-control device; analyzing the control signal by utilizing the processing module and obtaining the at least one frequency signal; and generating and executing a first control instruction based on the at least one frequency signal.

Description

A kind of key control method, electronic equipment and line traffic control equipment
Technical field
The present invention relates to control field, particularly relate to a kind of key control method, electronic equipment and line traffic control equipment.
Background technology
Along with the development of smart mobile phone software and hardware technology, mobile phone is increasing, have inconvenient sensation mobile phone is in some cases always hand held, or user is reluctant that a straight grip machine is hand held, such as in time making a phone call for a long time, user wishes mobile phone to be placed in bag, and need not be always hand held, thus, the earphone using band line traffic control function is needed.
For this reason, the method for prior art employing is as follows:
The wire be connected with button is with the resistance being connected in series a predetermined resistance in the middle of Mike's line, when key press time, Mike's line and ground wire meeting short circuit, and then mobile phone hardware detects the dividing potential drop of the resistance of described predetermined resistance, obtain partial pressure value by analog-to-digital conversion module sampling, by the series resistor of the corresponding different resistance of different buttons, the series resistor of different resistance obtains different dividing potential drops, and then judge the button that different partial pressure value is corresponding, finally perform the steering order corresponding with different key.
But present inventor is in the process realizing invention technical scheme in the embodiment of the present application, find that above-mentioned technology at least exists following technical matters:
Due in prior art, adopt the dividing potential drop that the resistance of different predetermined resistance is corresponding different, when button needs expansion time, need the resistance of the how different resistance of serial connection, difference between now different partial pressure value is more and more less, and analog-to-digital conversion module can not obtain partial pressure value by efficiently sampling, and then effectively can not judge button, so, there is the technical matters effectively can not expanding button.
Summary of the invention
The embodiment of the present application is by providing a kind of key control method, a kind of electronic equipment and a kind of line traffic control equipment, when button being expanded by the resistance being connected in series different resistance in prior art in order to solve, because the difference between the different partial pressure value that the resistance of different resistance produces is less, analog-to-digital conversion module can not efficiently sampling obtain partial pressure value, and then effectively can not judge keyboard, there is the technical matters effectively can not expanding case.
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of key control method on the one hand, and be applied in an electronic equipment, described electronic equipment comprises processing module, and described method comprises:
Receive the control signal from a line traffic control equipment, wherein, in described control signal, at least comprise at least one frequency signal that described line traffic control device responds generates the pressing operation of at least one button on described line traffic control equipment;
Utilize described processing module, resolve described control signal, obtain at least one frequency signal described;
Based at least one frequency signal described, generate and perform the first steering order.
Further, the pressing operation of at least one button on line traffic control equipment described in described line traffic control device responds is also comprised in described control signal and the first DC component signal generated.
Further, when described processing module is specially frequency analysis module, describedly utilize described processing module, resolve described control signal, obtain at least one frequency signal described, be specially:
By described frequency analysis module, a described first DC component signal is extracted, obtain described first DC component signal, and do not comprise at least one frequency signal described of a described first DC component signal.
Further, when described line traffic control equipment is specially the equipment with sound collection unit, the voice signal obtained by described sound collection unit collection is also comprised in described control signal, and the pressing operation of at least one button on described line traffic control equipment and a first DC component signal generating.
Further, when described processing module comprises speech Separation submodule and frequency analysis submodule, describedly utilize described processing module, resolve described control signal, obtain at least one frequency signal described, specifically comprise:
By described speech Separation submodule, separating treatment is carried out to described control signal, the described voice signal in described control signal is separated, obtains at least one frequency signal described and a described first DC component signal;
By described frequency analysis submodule, a described first DC component signal is extracted, obtain a described first DC component signal, and do not comprise at least one frequency signal described of a described first DC component signal.
Further, at a described first DC component signal to when should have a steering order, described based at least one frequency signal described, generate and perform the first steering order, specifically comprising:
Based on the first corresponding relation between DC component signal and steering order, obtain second steering order corresponding with a described first DC component signal;
Based on the second corresponding relation between frequency signal number and steering order, obtain three steering order corresponding with at least one frequency signal described;
When described second steering order is identical steering order with described 3rd steering order, determine that described second steering order or described 3rd steering order are described first steering order;
Perform described first steering order.
Further, at a described first DC component signal not to when should have a steering order, described based at least one frequency signal described, generate and perform the first steering order, specifically comprising:
Based on the second corresponding relation between frequency signal number and steering order, obtain first steering order corresponding with at least one frequency signal described;
Perform described first steering order.
The embodiment of the present application provides a kind of electronic equipment on the other hand, and described electronic equipment comprises:
Receiver module, for receiving the control signal from a line traffic control equipment, wherein, at least comprises at least one frequency signal that described line traffic control device responds generates the pressing operation of at least one button on described line traffic control equipment in described control signal;
Processing module, for resolving described control signal, obtains at least one frequency signal described;
Directive generation module, for based at least one frequency signal described, generates the first steering order;
Instruct execution module, for performing described first steering order.
Further, the pressing operation of at least one button on line traffic control equipment described in described line traffic control device responds is also comprised in described control signal and the first DC component signal generated.
Further, described processing module is specially:
Frequency analysis module, for extracting a described first DC component signal, obtains described first DC component signal, and does not comprise at least one frequency signal described of a described first DC component signal.
Further, when described line traffic control equipment is specially the equipment with sound collection unit, the voice signal obtained by described sound collection unit collection is also comprised in described control signal, and the pressing operation of at least one button on described line traffic control equipment and a first DC component signal generating.
Further, described processing module specifically comprises:
Speech Separation submodule, for carrying out separating treatment to described control signal, being separated the described voice signal in described control signal, obtaining at least one frequency signal described and a described first DC component signal;
Frequency analysis submodule, for extracting a described first DC component signal, obtaining a described first DC component signal, and not comprising at least one frequency signal described of a described first DC component signal.
Further, described electronic equipment also comprises:
Memory module, for storing the first corresponding relation between DC component signal and steering order, and the second corresponding relation between frequency signal number and steering order.
Further, at a described first DC component signal to when should have a steering order, described directive generation module specifically comprises:
First instruction obtains submodule, for based on the first corresponding relation between DC component signal and steering order, obtains second steering order corresponding with a described first DC component signal;
Second instruction obtains submodule, for based on the second corresponding relation between frequency signal number and steering order, obtains three steering order corresponding with at least one frequency signal described;
Instruction determination submodule, for when described second steering order is identical steering order with described 3rd steering order, determines that described second steering order or described 3rd steering order are described first steering order.
Further, at a described first DC component signal not to when should have a steering order, described directive generation module specifically for:
Based on the second corresponding relation between frequency signal number and steering order, obtain first steering order corresponding with at least one frequency signal described.
The embodiment of the present application also provides a kind of line traffic control equipment on the other hand, comprising:
Casing;
One group of button, arrange on the housing, described one group of button comprises at least one button;
Sound collection unit, is arranged on the housing, obtains described voice signal for gathering;
At least one earplug, for playing the second sound signal from described electronic equipment;
Code translator, is connected with each button at least one button described in described one group of button, whether has pressing operation for the one or more buttons identified at least one button described;
Frequency of signal generator, is positioned at described casing, is connected with described code translator, when having a pressing operation for the one or more buttons at least one button described, produces a first DC component signal and at least one frequency signal;
IO interface, respectively with at least one earplug described, described frequency of signal generator, described sound collection unit connects, for the described second sound signal from described electronic equipment being inputed at least one earplug described; For by a described first DC component signal, at least one frequency signal and described voice signal export described electronic equipment to.
Further, described frequency of signal generator comprises:
Direct current signal circuit for generating, when being pressed for the one or more buttons at least one button described, produces a described first DC component signal;
Voltage-Controlled oscillation circuit, when being pressed for the one or more buttons at least one button described, produces at least one frequency signal described.
The application, by the one or more technical schemes provided above, at least has following beneficial effect or advantage:
Due to the control signal by receiving from a line traffic control equipment, wherein, at least one frequency signal that described line traffic control device responds generates the pressing operation of at least one button on described line traffic control equipment is at least comprised in described control signal, utilize processing module, resolve described control signal, obtain at least one frequency signal described, based at least one frequency signal described, generate and perform the method for the first steering order, due to each key press operation can generate corresponding with button described at least one frequency signal, at least one frequency signal described is produced by the frequency of signal generator of described line traffic control equipment, corresponding relation between the frequency signal number produced when storing the pressing of described line traffic control device keys in the memory module of described electronic equipment and steering order, and then can produce according at least one frequency signal produced during key press and described corresponding relation and perform the steering order corresponding with button, and there will not be in prior art, when the button on line traffic control equipment arranges a lot, can not be able to identify because the difference between partial pressure value is little, and then corresponding steering order can not be generated, so, the technical matters effectively can not expanding button that prior art exists can be efficiently solved, achieve the technique effect of effectively expansion button.
Such as: described line traffic control equipment is for earphone, and wherein said earphone has six press keys, is respectively, play button, pause button, next button, a upper first button, the 5th button, the 6th button, corresponding play operation during pressing respectively, pausing operation, next operation, upper one first operation, forwarding operation, fast reverse operation, play corresponding volume amplifieroperation when button presses with pause button simultaneously, play corresponding volume when button presses with next button simultaneously and reduce to operate.Owing to being provided with six press keys in prior art, the differential in partial pressures of different series resistor will diminish, so cannot effectively identify, and in the present invention, owing to generating steering order according to frequency signal, so when respectively by this six press keys, six corresponding steering orders will be generated, also corresponding steering order can be generated when two buttons press simultaneously, and then effectively four buttons be extend to six press keys, extend simultaneously key combination pressing time corresponding steering order so, so, the technical matters effectively can not expanding button that prior art exists can be efficiently solved, achieve the technique effect of effectively expansion button.
Due to the control signal by accepting from a line traffic control equipment, wherein, described control signal comprises the pressing operation of at least one button on line traffic control equipment described in described line traffic control device responds and the first DC component signal generated, analyze described control signal, obtain a described first DC component signal, and at least one frequency signal described not with a described first DC component signal, based on described first corresponding relation, described second corresponding relation, generate and perform the method for the first corresponding steering order, as: as described in line traffic control equipment for earphone, wherein said earphone has six press keys, be respectively, play button, pause button, next button, a upper first button, 5th button, 6th button, corresponding play operation during pressing respectively, pausing operation, next operation, upper one first operation, forwarding operation, fast reverse operation, for traditional four buttons, play button, pause button, next button, a upper first button, the present invention both can generate steering order with traditional DC component signal, also steering order can be generated with frequency signal, and, when wherein a kind of mode lost efficacy, can realize with another, so, achieve the technique effect with prior art compatibility.
Accompanying drawing explanation
Fig. 1 is the key control method process flow diagram in the embodiment of the present application;
Fig. 2 is the electronic devices structure figure in the embodiment of the present application;
Fig. 3 is the structural drawing of electronic equipment in a first scenario in the embodiment of the present application;
Fig. 4 is the structural drawing of electronic equipment in the latter case in the embodiment of the present application;
Fig. 5 is the line traffic control equipment structure chart in the embodiment of the present application;
Fig. 6 is the structural drawing of the frequency of signal generator in the embodiment of the present application.
Embodiment
The embodiment of the present application is by providing a kind of key control method, a kind of electronic equipment and a kind of line traffic control equipment, when button being expanded by the resistance being connected in series different resistance in prior art in order to solve, because the difference between the different partial pressure value that the resistance of different resistance produces is less, analog-to-digital conversion module can not efficiently sampling obtain partial pressure value, and then effectively can not judge keyboard, there is the technical matters effectively can not expanding case.
Technical scheme in the embodiment of the present application is for solving the problems of the technologies described above, and general thought is as follows:
A kind of key control method, be applied in an electronic equipment, described electronic equipment comprises processing module, and described method comprises:
Receive the control signal from a line traffic control equipment, wherein, in described control signal, at least comprise at least one frequency signal that described line traffic control device responds generates the pressing operation of at least one button on described line traffic control equipment;
Utilize described processing module, resolve described control signal, obtain at least one frequency signal described;
Based at least one frequency signal described, generate and perform the first steering order.
Due to the control signal by receiving from a line traffic control equipment, wherein, at least one frequency signal that described line traffic control device responds generates the pressing operation of at least one button on described line traffic control equipment is at least comprised in described control signal, utilize processing module, resolve described control signal, obtain at least one frequency signal described, based at least one frequency signal described, generate and perform the method for the first steering order, due to each key press operation can generate corresponding with button described at least one frequency signal, at least one frequency signal described is produced by the frequency of signal generator of described line traffic control equipment, corresponding relation between the frequency signal number produced when storing the pressing of described line traffic control device keys in the memory module of described electronic equipment and steering order, and then can produce according at least one frequency signal produced during key press and described corresponding relation and perform the steering order corresponding with button, and there will not be in prior art, when the button on line traffic control equipment arranges a lot, can not be able to identify because the difference between partial pressure value is little, and then corresponding steering order can not be generated, so, the technical matters effectively can not expanding button that prior art exists can be efficiently solved, achieve the technique effect of effectively expansion button.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
Embodiment one:
In embodiment one, provide a kind of key control method, please refer to Fig. 1, be applied in an electronic equipment, please refer to Fig. 2, described electronic equipment comprises:
Receiver module 201, for receiving the control signal from a line traffic control equipment.
Processing module 202, for resolving described control signal, obtains at least one frequency signal described.Wherein, in one case, described processing module 202 can be frequency analysis module, described frequency analysis module is specifically for extracting a described first DC component signal, obtain described first DC component signal, and do not comprise at least one frequency signal described of a described first DC component signal, in another case, described processing module 202 comprises speech Separation submodule 2021 and frequency analysis submodule 2022, speech Separation submodule 2021, for carrying out separating treatment to described control signal, described voice signal in described control signal is separated, obtain at least one frequency signal described and a described first DC component signal, frequency analysis submodule 2022, for extracting a described first DC component signal, obtain a described first DC component signal, and do not comprise at least one frequency signal described of a described first DC component signal.
Directive generation module 203, is connected with described processing module 202, for generating the first steering order corresponding to described line traffic control device keys pressing, comprising:
First instruction obtains submodule 2031, for generating the second steering order,
Second instruction obtains submodule 2032, for generating the 3rd steering order,
Instruction determination submodule 2033, for when the second steering order is identical with the 3rd steering order, determines that the second steering order or the 3rd steering order are the first steering order;
Instruct execution module 204, is connected with described directive generation module 203, for performing described first steering order;
Memory module 205, is connected with described directive generation module 203, for storing the first corresponding relation between DC component signal and steering order, and the second corresponding relation between frequency signal number and steering order.
In the embodiment of the present application, described line traffic control equipment is for earphone, and wherein said earphone has six press keys, is respectively, and plays button, pause button, next button, a upper first button, the 5th button, the 6th button.
Below in conjunction with Fig. 1, be described in detail the method in the embodiment of the present application, the method comprises:
S101: receive the control signal from a line traffic control equipment, wherein, at least comprises at least one frequency signal that described line traffic control device responds generates the pressing operation of at least one button on described line traffic control equipment in described control signal;
S102: utilize described processing module, resolves described control signal, obtains at least one frequency signal described;
S103: based at least one frequency signal described, generates and performs the first steering order.
In specific implementation process, in the first case, described control signal comprises the pressing operation of at least one button on described line traffic control equipment and the first DC component signal generated and at least one frequency signal described, accordingly, processing module 202 in described electronic equipment is specially frequency analysis module, in the second situation, when described line traffic control equipment is specially the equipment with sound collection unit, the voice signal obtained by described sound collection unit collection is also comprised in described control signal, as in the process of making a phone call, the voice signal collected by the sound collection unit of line control earphone, accordingly, processing module 202 in described electronic equipment comprises speech Separation submodule 2021 and frequency analysis submodule 2022.
After passing through step S101, the method in the embodiment of the present application just enters step S102:
In the first case, step S102 is specially:
By described frequency analysis module, a described first DC component signal is extracted, obtain described first DC component signal, and do not comprise at least one frequency signal described of a described first DC component signal.
Situation two times, step S102 specifically comprises the steps:
First, by described speech Separation submodule 2021, separating treatment is carried out to described control signal, the described voice signal in described signal is separated, obtains at least one frequency signal described and a described first DC component signal;
Then, by described frequency analysis submodule 2022, a described first DC component signal is extracted, obtain a described first DC component signal, and do not comprise at least one frequency signal described of a described first DC component signal.
In the present embodiment, during as play key press, produce and comprise the described first DC component signal that magnitude of voltage is 2 volts, and frequency is the signal of at least one frequency signal described of 25KHZ, after described receiving and analyzing module 201 receives described signal, first by speech Separation submodule 2021, separating treatment is carried out to described signal, described voice signal in described signal is separated, obtain at least one frequency signal described that frequency is 25KHZ, and magnitude of voltage is a described first DC component signal of 2 volts;
Then, by described frequency analysis submodule 2022, a described first DC component signal is extracted, obtain the described first DC component signal that magnitude of voltage is 2 volts, and the frequency not comprising a described first DC component signal is at least one frequency signal described of 25KHZ;
As play button, when pause button presses simultaneously, produce and comprise the described first DC component signal that magnitude of voltage is 4 volts, and frequency is 25KHZ, the signal of at least one frequency signal described of 30KHZ combination, after described receiver module 201 receives described signal, first by speech Separation submodule 2021, separating treatment is carried out to described signal, described voice signal in described signal is separated, obtain the described DC component signal that magnitude of voltage is 4 volts, and frequency is at least one frequency signal described of 25KHZ, 30KHZ combination;
Then, by described frequency analysis submodule 2022, a described first DC component signal is extracted, obtain the described first DC component signal that magnitude of voltage is 4 volts, and the frequency not comprising a described first DC component signal is at least one frequency signal described of 25KHZ, 30KHZ combination.
After step s 102, the method in the embodiment of the present application enters step S103, is specially:
At a described first DC component signal to when should have a steering order, described based at least one frequency signal described, generate and perform the first steering order, specifically comprising:
First, based on the first corresponding relation between DC component signal and steering order, obtain the second steering order corresponding with a described first DC component signal;
Then, based on the second corresponding relation between frequency signal number and steering order, obtain the 3rd steering order corresponding with at least one frequency signal described;
Then, when described second steering order is identical steering order with described 3rd steering order, determine that described second steering order or described 3rd steering order are described first steering order;
Finally, described first steering order is performed.
At a described first DC component signal not to when should have a steering order, described based at least one frequency signal described, generate and perform the first steering order, specifically comprising:
Based on the second corresponding relation between frequency signal number and steering order, obtain first steering order corresponding with at least one frequency signal described;
Perform described first steering order.
In the embodiment of the present application specific implementation process, the first corresponding relation between described DC component signal and steering order is stored in described memory module 205, such as: when playing key press, produce the DC component signal that magnitude of voltage is 2 volts, corresponding steering order is for playing, the DC component signal that magnitude of voltage is 2.5 volts is produced during pause button pressing, corresponding steering order is for suspending, the DC component signal that magnitude of voltage is 3 volts is produced during next key press, corresponding steering order is for playing next, the DC component signal that magnitude of voltage is 3.5 volts is produced during a upper first key press, broadcasting button and pause button produce the DC component signal that magnitude of voltage is 4 volts when pressing simultaneously, not to having steering order, not to having steering order simultaneously when broadcasting button and next button press, the DC component signal that magnitude of voltage is 4 volts is produced during the 5th key press, not to having steering order, the DC component signal that magnitude of voltage is 4 volts is produced during the 6th key press, not to having steering order, the voltage magnitude produced during concrete key press and the steering order relation of correspondence can design as required, owing to detecting to the effective of DC component signal the threshold values needing the difference between different voltage more than a regulation, so the DC component signal produced during each key press can not be made having steering order, the second corresponding relation between described frequency signal number and steering order is stored in described memory module 205, such as: the frequency signal producing 25KHZ when playing key press, corresponding steering order is for playing, the frequency signal of 30KHZ is produced during pause button pressing, corresponding steering order is for suspending, the frequency signal of 35KHZ is produced during next key press, corresponding steering order is for playing next, producing frequency during a upper first key press is the frequency signal of 40KHZ, corresponding steering order is first for playing upper one, it is 25KHZ that broadcasting button and pause button produce frequency when pressing simultaneously, the frequency signal of 30KHZ combination, corresponding steering order is that volume is amplified, it is 25KHZ that broadcasting button and next button produce frequency when pressing simultaneously, the frequency signal of 35KHZ combination, corresponding steering order is that volume reduces, 5th button produces the frequency signal that frequency is 45KHZ on time, corresponding steering order is F.F., producing frequency during the 6th key press is the frequency signal of 50KHZ, corresponding steering order is rewind, relation between the frequency signal produced during concrete key press and the steering order of correspondence can design as required, because frequency signal has very wide scope, and then can make during each key press, to produce steering order corresponding to different frequency signals.
In the present embodiment, obtaining the described first DC component signal that magnitude of voltage is 2 volts, and the frequency not comprising a described first DC component signal is after at least one frequency signal described of 25KHZ, at a described first DC component signal to when should have a steering order, step S103 is implemented as:
First, based on the first corresponding relation between DC component signal and steering order, be specially: voltage is that the corresponding steering order of DC component signal of 2 volts is for playing, obtain submodule 2031 by the first instruction of described directive generation module 203 and obtain second steering order corresponding with a described first DC component signal, be specially broadcasting;
Then, based on the second corresponding relation between frequency signal number and steering order, be specially: frequency is the corresponding steering order of frequency signal of 25KHZ is broadcasting, obtains the 3rd steering order corresponding with at least one frequency signal described, is specially broadcasting;
Then, when described second steering order is identical steering order with described 3rd steering order, when being all specifically broadcasting, determine that described second steering order or described 3rd steering order are described first steering order by the instruction determination submodule 2033 of described directive generation module 203, namely play;
Finally, perform described first steering order by described instruct execution module 204, namely play.
Obtaining the described first DC component signal that magnitude of voltage is 2 volts, and the frequency not comprising a described first DC component signal is after at least one frequency signal described of 25KHZ, at a described first DC component signal not to when should have a steering order, step S103 is implemented as:
Based on the second corresponding relation between frequency signal number and steering order, be specially: frequency is the corresponding steering order of simple signal of 25KHZ is broadcasting, obtains first steering order corresponding with at least one frequency signal described, is specially broadcasting;
Finally, perform described first steering order by described instruct execution module 204, namely play.
Obtaining the described first DC component signal that magnitude of voltage is 4 volts, and the frequency not comprising a described first DC component signal is after at least one frequency signal described of 25KHZ, 30KHZ combination, at a described first DC component signal not to when should have a steering order, step S103 is implemented as:
Based on the second corresponding relation between frequency signal number and steering order, be specially: producing frequency when broadcasting button and pause button press simultaneously is the frequency signal that 25KHZ, 30KHZ combine, corresponding steering order is that volume is amplified, obtain first steering order corresponding with at least one frequency signal described, be specially volume and amplify;
Finally, perform described first steering order by described instruct execution module 204, namely volume is amplified.
Similarly, pause button, next button, a upper first button, the 5th button, the 6th key press, and corresponding steering order can be performed when broadcasting button presses with next button simultaneously, therefore not to repeat here for specific implementation process.
The application, by the one or more technical schemes provided above, at least has following beneficial effect or advantage:
Due to the control signal by receiving from a line traffic control equipment, wherein, at least one frequency signal that described line traffic control device responds generates the pressing operation of at least one button on described line traffic control equipment is at least comprised in described control signal, utilize processing module, resolve described control signal, obtain at least one frequency signal described, based at least one frequency signal described, generate and perform the method for the first steering order, due to each key press operation can generate corresponding with button described at least one frequency signal, at least one frequency signal described is produced by the frequency of signal generator of described line traffic control equipment, corresponding relation between the frequency signal number produced when storing the pressing of described line traffic control device keys in the memory module of described electronic equipment and steering order, and then can produce according at least one frequency signal produced during key press and described corresponding relation and perform the steering order corresponding with button, and there will not be in prior art, when the button on line traffic control equipment arranges a lot, can not be able to identify because the difference between partial pressure value is little, and then corresponding steering order can not be generated, so, the technical matters effectively can not expanding button that prior art exists can be efficiently solved, achieve the technique effect of effectively expansion button.
Such as: described line traffic control equipment is for earphone, and wherein said earphone has six press keys, is respectively, play button, pause button, next button, a upper first button, the 5th button, the 6th button, corresponding play operation during pressing respectively, pausing operation, next operation, upper one first operation, forwarding operation, fast reverse operation, play corresponding volume amplifieroperation when button presses with pause button simultaneously, play corresponding volume when button presses with next button simultaneously and reduce to operate.Owing to being provided with six press keys in prior art, the differential in partial pressures of different series resistor will diminish, so cannot effectively identify, and in the present invention, owing to generating steering order according to frequency signal, so when respectively by this six press keys, six corresponding steering orders will be generated, also corresponding steering order can be generated when two buttons press simultaneously, and then effectively four buttons be extend to six press keys, extend simultaneously key combination pressing time corresponding steering order so, so, the technical matters effectively can not expanding button that prior art exists can be efficiently solved, achieve the technique effect of effectively expansion button.
Due to the control signal by accepting from a line traffic control equipment, wherein, described control signal comprises the pressing operation of at least one button on line traffic control equipment described in described line traffic control device responds and the first DC component signal generated, analyze described control signal, obtain a described first DC component signal, and at least one frequency signal described not with a described first DC component signal, based on described first corresponding relation, described second corresponding relation, generate and perform the method for the first corresponding steering order, as: as described in line traffic control equipment for earphone, wherein said earphone has six press keys, be respectively, play button, pause button, next button, a upper first button, 5th button, 6th button, corresponding play operation during pressing respectively, pausing operation, next operation, upper one first operation, forwarding operation, fast reverse operation, for traditional four buttons, play button, pause button, next button, a upper first button, the present invention both can generate steering order with traditional DC component signal, also steering order can be generated with frequency signal, and, when wherein a kind of mode lost efficacy, can realize with another, so, achieve the technique effect with prior art compatibility.
Embodiment two
The embodiment of the present application two provides a kind of electronic equipment, please refer to Fig. 2, comprising:
Receiver module 201, for receiving the control signal from a line traffic control equipment.Described line traffic control equipment is specifically as follows a line control earphone in the present embodiment, and wherein said earphone has six press keys, is respectively, and plays button, pause button, next button, a upper first button, the 5th button, the 6th button.
Processing module 202, for resolving described control signal, obtains at least one frequency signal described.
Wherein, in a first scenario, as shown in Figure 3, described processing module 202 is specially frequency analysis module, described frequency analysis module is specifically for extracting a described first DC component signal, obtain described first DC component signal, and do not comprise at least one frequency signal described of a described first DC component signal.
In the latter case, as shown in Figure 4, described processing module 202 comprises speech Separation submodule 2021 and frequency analysis submodule 2022, speech Separation submodule 2021, for carrying out separating treatment to described control signal, described voice signal in described control signal is separated, obtain at least one frequency signal described and a described first DC component signal, frequency analysis submodule 2022, for extracting a described first DC component signal, obtain a described first DC component signal, and do not comprise at least one frequency signal described of a described first DC component signal.
Directive generation module 203, is connected with described processing module 202, for generating the first steering order corresponding to described line traffic control device keys pressing, comprising:
First instruction obtains submodule 2031, for generating the second steering order,
Second instruction obtains submodule 2032, for generating the 3rd steering order,
Instruction determination submodule 2033, for when the second steering order is identical with the 3rd steering order, determines that the second steering order or the 3rd steering order are the first steering order;
Instruct execution module 204, is connected with described directive generation module 203, for performing described first steering order;
Memory module 205, is connected with described directive generation module 203, for storing the first corresponding relation between DC component signal and steering order, and the second corresponding relation between frequency signal number and steering order.
In specific implementation process, described control signal comprises the pressing operation of at least one button on described line traffic control equipment and the first DC component signal generated and at least one frequency signal described, when described line traffic control equipment is specially the line control earphone with sound collection unit, the voice signal obtained by described sound collection unit collection is also comprised in described control signal, as in the process of making a phone call, the voice signal collected by the sound collection unit of described line control earphone.
Described electronic equipment also comprises memory module 205, for storing the first corresponding relation between DC component signal and steering order, and the second corresponding relation between frequency signal number and steering order, specifically, described first corresponding relation is: such as: produce the DC component signal that magnitude of voltage is 2 volts when playing key press, corresponding steering order is for playing, the DC component signal that magnitude of voltage is 2.5 volts is produced during pause button pressing, corresponding steering order is for suspending, the DC component signal that magnitude of voltage is 3 volts is produced during next key press, corresponding steering order is for playing next, the DC component signal that magnitude of voltage is 3.5 volts is produced during a upper first key press, broadcasting button and pause button produce the DC component signal that magnitude of voltage is 4 volts when pressing simultaneously, not to having steering order, not to having steering order simultaneously when broadcasting button and next button press, the DC component signal that magnitude of voltage is 4 volts is produced during the 5th key press, not to having steering order, the DC component signal that magnitude of voltage is 4 volts is produced during the 6th key press, not to having steering order, the voltage magnitude produced during concrete key press and the steering order relation of correspondence can design as required, owing to detecting to the effective of DC component signal the threshold values needing the difference between different voltage more than a regulation, so the DC component signal produced during each key press can not be made having steering order, described second corresponding relation is: such as: the frequency signal producing 25KHZ when playing key press, corresponding steering order is for playing, the frequency signal of 30KHZ is produced during pause button pressing, corresponding steering order is for suspending, the frequency signal of 35KHZ is produced during next key press, corresponding steering order is for playing next, producing frequency during a upper first key press is the frequency signal of 40KHZ, corresponding steering order is shown for the first time put that to produce frequency when button and pause button press be 25KHZ simultaneously for being play upper one, the frequency signal of 30KHZ combination, corresponding steering order is that volume is amplified, it is 25KHZ that broadcasting button and next button produce frequency when pressing simultaneously, the frequency signal of 35KHZ combination, corresponding steering order is that volume reduces, 5th button produces the frequency signal that frequency is 45KHZ on time, corresponding steering order is F.F., producing frequency during the 6th key press is the frequency signal of 50KHZ, corresponding steering order is rewind, relation between the frequency signal produced during concrete key press and the steering order of correspondence can design as required, because frequency signal has very wide scope, and then can make during each key press, to produce steering order corresponding to different frequency signals.
At a described first DC component signal to when should have a steering order, described directive generation module 203 specifically comprises:
First instruction obtains submodule 2031, for according at least one DC component signal described, based on described first corresponding relation, obtains second steering order corresponding with a described first DC component signal;
Second instruction obtains submodule 2032, for not comprising at least one frequency signal described at least one DC component signal described according to described, based on described second corresponding relation, obtains three steering order corresponding with at least one frequency signal described;
Instruction determination submodule 2033, for when described second steering order is identical steering order with described 3rd steering order, determines that described second steering order or described 3rd steering order are described first steering order;
At a described first DC component signal not to when should have a steering order, described directive generation module 203 is specially: the second instruction obtain submodule 2032 for:
According at least one frequency signal described, based on described second corresponding relation, obtain first steering order corresponding with at least one frequency signal described.
In the present embodiment, during as play key press, produce the described first DC component signal that magnitude of voltage is 2 volts, and frequency is at least one frequency signal described of 25KHZ, first, speech Separation submodule 2021 carries out separating treatment to described signal, is separated by the described voice signal in described signal, obtain at least one frequency signal described that frequency is 25KHZ, and magnitude of voltage is a described first DC component signal of 2 volts;
Then, described frequency analysis submodule 2022 extracts a described first DC component signal, obtain the described first DC component signal that magnitude of voltage is 2 volts, and the frequency not comprising a described first DC component signal is at least one frequency signal described of 25KHZ;
At a described first DC component signal to when should have a steering order:
First, based on the first corresponding relation between DC component signal and steering order, be specially: voltage is that the corresponding steering order of DC component signal of 2 volts is for playing, first instruction of described directive generation module 203 obtains submodule 2031 and obtains second steering order corresponding with a described first DC component signal, is specially broadcasting;
Then, based on the second corresponding relation between frequency signal number and steering order, be specially: frequency is the corresponding steering order of simple signal of 25KHZ is broadcasting, obtains the 3rd steering order corresponding with at least one frequency signal described, is specially broadcasting;
Then, when described second steering order is identical steering order with described 3rd steering order, when being all specifically broadcasting, the instruction determination submodule 2033 of described directive generation module 203 determines that described second steering order or described 3rd steering order are described first steering order, namely plays;
Finally, described instruct execution module 204 performs described first steering order, namely plays.
At a described first DC component signal not to when should have a steering order, described directive generation module 203 is specially: the second instruction obtain submodule 2032 for:
According at least one frequency signal described, be specially: frequency is at least one frequency signal described of 25KHZ, based on described second corresponding relation, be specially: frequency is that the corresponding steering order of simple signal of 25KHZ is for playing, obtain first steering order corresponding with at least one frequency signal described, be specially broadcasting;
Finally, described instruct execution module 204 performs described first steering order, namely plays.
In the present embodiment, as play button, when pause button presses simultaneously, produce and comprise the described first DC component signal that magnitude of voltage is 4 volts, and frequency is 25KHZ, the signal of at least one frequency signal described of 30KHZ combination, first speech Separation submodule 2021 carries out separating treatment to described control signal, described voice signal in described control signal is separated, obtain the described DC component signal that magnitude of voltage is 4 volts, and frequency is at least one frequency signal described of 25KHZ, 30KHZ combination;
Then, described frequency analysis submodule 2022 extracts a described first DC component signal, obtain the described first DC component signal that magnitude of voltage is 4 volts, and the frequency not comprising a described first DC component signal is at least one frequency signal described of 25KHZ, 30KHZ combination;
Then, obtaining the described first DC component signal that magnitude of voltage is 4 volts, and the frequency not comprising a described first DC component signal is after at least one frequency signal described of 25KHZ, 30KHZ combination, at a described first DC component signal not to when should have a steering order, described directive generation module 203 is specially: the second instruction obtain submodule 2032 for:
Based on the second corresponding relation between frequency signal number and steering order, be specially: producing frequency when broadcasting button and pause button press simultaneously is the frequency signal that 25KHZ, 30KHZ combine, corresponding steering order is that volume is amplified, obtain first steering order corresponding with at least one frequency signal described, be specially volume and amplify;
Finally, described instruct execution module 204 performs described first steering order, and namely volume is amplified.
Similarly, pause button, next button, a upper first button, the 5th button, the 6th key press, and corresponding steering order can be performed when broadcasting button presses with next button simultaneously, therefore not to repeat here for specific implementation process.
Embodiment three
The embodiment of the present application three provides a kind of line traffic control equipment, please refer to Fig. 5, comprising:
Casing 301;
One group of button 3011, is arranged on described casing 301, and described one group of button 3011 comprises at least one button;
Sound collection unit 3013, is arranged on described casing 301, obtains described voice signal for gathering;
At least one earplug 303, for playing the second sound signal from described electronic equipment;
Code translator 3014, is connected with each button at least one button described in described one group of button 3011, whether has pressing operation for the one or more buttons identified at least one button described;
Frequency of signal generator 3012, be positioned at described casing 301, be connected with each button at least one button described in described one group of button 3011, when being pressed for the one or more buttons at least one button described, produce a first DC component signal and at least one frequency signal;
IO interface 302, respectively with at least one earplug 303 described, described frequency of signal generator 3012, described sound collection unit 3013 connects, for the described second sound signal from described electronic equipment being inputed at least one earplug 303 described; For by a described first DC component signal, at least one frequency signal and described voice signal export described electronic equipment to.
In the application's specific embodiment, described line traffic control equipment is for earphone, and wherein said earphone has six press keys, is respectively, play button, pause button, next button, a upper first button, 5th button, 6th button, below, each several part concrete structure in composition graphs 4 pairs of the embodiment of the present application and principle of work and function are described:
In the present embodiment, described frequency of signal generator 3012, please refer to Fig. 6, specifically comprises:
Direct current signal circuit for generating 3012-1, when being pressed for the one or more buttons at least one button described, produce a described first DC component signal, as: produce the DC component signal that magnitude of voltage is 2 volts when playing key press, the DC component signal that magnitude of voltage is 2.5 volts is produced during pause button pressing, the DC component signal that magnitude of voltage is 3 volts is produced during next key press, the DC component signal that magnitude of voltage is 3.5 volts is produced during a upper first key press, broadcasting button and pause button produce the DC component signal that magnitude of voltage is 4 volts when pressing simultaneously, broadcasting button and next button produce the DC component signal that magnitude of voltage is 4 volts when pressing simultaneously, the DC component signal that magnitude of voltage is 4 volts is produced during the 5th key press, the DC component signal that magnitude of voltage is 4 volts is produced during the 6th key press, the voltage magnitude produced during concrete key press can design as required,
Voltage-Controlled oscillation circuit 3012-2, when being pressed for the one or more buttons at least one button described, produce at least one frequency signal described, as: the frequency signal producing 25KHZ when playing key press, the frequency signal of 30KHZ is produced during pause button pressing, the frequency signal of 35KHZ is produced during next key press, producing frequency during a upper first key press is the frequency signal of 40KHZ, it is 25KHZ that broadcasting button and pause button produce frequency when pressing simultaneously, the frequency signal of 30KHZ combination, it is 25KHZ that broadcasting button and next button produce frequency when pressing simultaneously, the frequency signal of 35KHZ combination, producing frequency during the 5th key press is the frequency signal of 45KHZ, producing frequency during the 6th key press is the frequency signal of 50KHZ, the frequency signal produced during concrete key press can design as required.
In specific implementation process, as: when playing key press, code translator 3014 identifies the broadcasting button of pressing, direct current signal circuit for generating 3012-1 now in frequency of signal generator 3012 produces the described first DC component signal that magnitude of voltage is 2 volts, Voltage-Controlled oscillation circuit 3012-2 produces at least one frequency signal described that frequency is 25KHZ, when playing button and pause button presses simultaneously, direct current signal circuit for generating 3012-1 produces the described first DC component signal that magnitude of voltage is 4 volts, it is 25KHZ that Voltage-Controlled oscillation circuit produces frequency, at least one frequency signal of 30KHZ combination, the signal that described frequency of signal generator 3012 produces exports through described IO interface 302.
The application, by the one or more technical schemes provided above, at least has following beneficial effect or advantage:
Due to the control signal by receiving from a line traffic control equipment, wherein, at least one frequency signal that described line traffic control device responds generates the pressing operation of at least one button on described line traffic control equipment is at least comprised in described control signal, utilize processing module, resolve described control signal, obtain at least one frequency signal described, based at least one frequency signal described, generate and perform the method for the first steering order, due to each key press operation can generate corresponding with button described at least one frequency signal, at least one frequency signal described is produced by the frequency of signal generator of described line traffic control equipment, corresponding relation between the frequency signal number produced when storing the pressing of described line traffic control device keys in the memory module of described electronic equipment and steering order, and then can produce according at least one frequency signal produced during key press and described corresponding relation and perform the steering order corresponding with button, and there will not be in prior art, when the button on line traffic control equipment arranges a lot, can not be able to identify because the difference between partial pressure value is little, and then corresponding steering order can not be generated, so, the technical matters effectively can not expanding button that prior art exists can be efficiently solved, achieve the technique effect of effectively expansion button.
Such as: described line traffic control equipment is for earphone, and wherein said earphone has six press keys, is respectively, play button, pause button, next button, a upper first button, the 5th button, the 6th button, corresponding play operation during pressing respectively, pausing operation, next operation, upper one first operation, forwarding operation, fast reverse operation, play corresponding volume amplifieroperation when button presses with pause button simultaneously, play corresponding volume when button presses with next button simultaneously and reduce to operate.Owing to being provided with six press keys in prior art, the differential in partial pressures of different series resistor will diminish, so cannot effectively identify, and in the present invention, owing to generating steering order according to frequency signal, so when respectively by this six press keys, six corresponding steering orders will be generated, also corresponding steering order can be generated when two buttons press simultaneously, and then effectively four buttons be extend to six press keys, extend simultaneously key combination pressing time corresponding steering order so, so, the technical matters effectively can not expanding button that prior art exists can be efficiently solved, achieve the technique effect of effectively expansion button.
Due to the control signal by accepting from a line traffic control equipment, wherein, described control signal comprises the pressing operation of at least one button on line traffic control equipment described in described line traffic control device responds and the first DC component signal generated, analyze described control signal, obtain a described first DC component signal, and at least one frequency signal described not with a described first DC component signal, based on described first corresponding relation, described second corresponding relation, generate and perform the method for the first corresponding steering order, as: as described in line traffic control equipment for earphone, wherein said earphone has six press keys, be respectively, play button, pause button, next button, a upper first button, 5th button, 6th button, corresponding play operation during pressing respectively, pausing operation, next operation, upper one first operation, forwarding operation, fast reverse operation, for traditional four buttons, play button, pause button, next button, a upper first button, the present invention both can generate steering order with traditional DC component signal, also steering order can be generated with frequency signal, and, when wherein a kind of mode lost efficacy, can realize with another, so, achieve the technique effect with prior art compatibility.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (17)

1. a key control method, be applied in an electronic equipment, described electronic equipment comprises processing module, it is characterized in that, described method comprises:
Receive the control signal from a line traffic control equipment, wherein, in described control signal, at least comprise at least one frequency signal that described line traffic control device responds generates the pressing operation of at least one button on described line traffic control equipment;
Utilize described processing module, resolve described control signal, obtain at least one frequency signal described;
Based at least one frequency signal described, generate and perform the first steering order.
2. the method for claim 1, is characterized in that, also comprises the pressing operation of at least one button on line traffic control equipment described in described line traffic control device responds and the first DC component signal generated in described control signal.
3. method as claimed in claim 2, is characterized in that, when described processing module is specially frequency analysis module, describedly utilizes described processing module, resolves described control signal, obtain at least one frequency signal described, be specially:
By described frequency analysis module, a described first DC component signal is extracted, obtain described first DC component signal, and do not comprise at least one frequency signal described of a described first DC component signal.
4. the method for claim 1, it is characterized in that, when described line traffic control equipment is specially the equipment with sound collection unit, the voice signal obtained by described sound collection unit collection is also comprised in described control signal, and the pressing operation of at least one button on described line traffic control equipment and a first DC component signal generating.
5. method as claimed in claim 4, is characterized in that, when described processing module comprises speech Separation submodule and frequency analysis submodule, describedly utilizes described processing module, resolves described control signal, obtain at least one frequency signal described, specifically comprise:
By described speech Separation submodule, separating treatment is carried out to described control signal, the described voice signal in described control signal is separated, obtains at least one frequency signal described and a described first DC component signal;
By described frequency analysis submodule, a described first DC component signal is extracted, obtain a described first DC component signal, and do not comprise at least one frequency signal described of a described first DC component signal.
6. the method as described in claim arbitrary in claim 3 or 5, is characterized in that, at a described first DC component signal to when should have a steering order, described based at least one frequency signal described, generates and performs the first steering order, specifically comprising:
Based on the first corresponding relation between DC component signal and steering order, obtain second steering order corresponding with a described first DC component signal;
Based on the second corresponding relation between frequency signal number and steering order, obtain three steering order corresponding with at least one frequency signal described;
When described second steering order is identical steering order with described 3rd steering order, determine that described second steering order or described 3rd steering order are described first steering order;
Perform described first steering order.
7. the method as described in claim arbitrary in claim 3 or 5, is characterized in that, at a described first DC component signal not to when should have a steering order, described based at least one frequency signal described, generates and performs the first steering order, specifically comprising:
Based on the second corresponding relation between frequency signal number and steering order, obtain first steering order corresponding with at least one frequency signal described;
Perform described first steering order.
8. an electronic equipment, is characterized in that, described electronic equipment comprises:
Receiver module, for receiving the control signal from a line traffic control equipment, wherein, at least comprises at least one frequency signal that described line traffic control device responds generates the pressing operation of at least one button on described line traffic control equipment in described control signal;
Processing module, for resolving described control signal, obtains at least one frequency signal described;
Directive generation module, for based at least one frequency signal described, generates the first steering order;
Instruct execution module, for performing described first steering order.
9. electronic equipment as claimed in claim 8, is characterized in that, also comprises the pressing operation of at least one button on line traffic control equipment described in described line traffic control device responds and a first DC component signal generating in described control signal.
10. electronic equipment as claimed in claim 9, it is characterized in that, described processing module is specially:
Frequency analysis module, for extracting a described first DC component signal, obtains described first DC component signal, and does not comprise at least one frequency signal described of a described first DC component signal.
11. electronic equipments as claimed in claim 8, it is characterized in that, when described line traffic control equipment is specially the equipment with sound collection unit, the voice signal obtained by described sound collection unit collection is also comprised in described control signal, and the pressing operation of at least one button on described line traffic control equipment and a first DC component signal generating.
12. electronic equipments as claimed in claim 11, it is characterized in that, described processing module specifically comprises:
Speech Separation submodule, for carrying out separating treatment to described control signal, being separated the described voice signal in described control signal, obtaining at least one frequency signal described and a described first DC component signal;
Frequency analysis submodule, for extracting a described first DC component signal, obtaining a described first DC component signal, and not comprising at least one frequency signal described of a described first DC component signal.
13. electronic equipments as claimed in claim 8, it is characterized in that, described electronic equipment also comprises:
Memory module, for storing the first corresponding relation between DC component signal and steering order, and the second corresponding relation between frequency signal number and steering order.
14. electronic equipments as described in claim arbitrary in claim 10 or 12, is characterized in that, at a described first DC component signal to when should have a steering order, described directive generation module specifically comprises:
First instruction obtains submodule, for based on the first corresponding relation between DC component signal and steering order, obtains second steering order corresponding with a described first DC component signal;
Second instruction obtains submodule, for based on the second corresponding relation between frequency signal number and steering order, obtains three steering order corresponding with at least one frequency signal described;
Instruction determination submodule, for when described second steering order is identical steering order with described 3rd steering order, determines that described second steering order or described 3rd steering order are described first steering order.
15. electronic equipments as described in claim arbitrary in claim 10 or 12, is characterized in that, at a described first DC component signal not to when should have a steering order, described directive generation module specifically for:
Based on the second corresponding relation between frequency signal number and steering order, obtain first steering order corresponding with at least one frequency signal described.
16. 1 kinds of line traffic control equipment, is characterized in that, comprising:
Casing;
One group of button, arrange on the housing, described one group of button comprises at least one button;
Sound collection unit, is arranged on the housing, obtains described voice signal for gathering;
At least one earplug, for playing the second sound signal from described electronic equipment;
Code translator, is connected with each button at least one button described in described one group of button, whether has pressing operation for the one or more buttons identified at least one button described;
Frequency of signal generator, is positioned at described casing, is connected with described code translator, when having a pressing operation for the one or more buttons at least one button described, produces a first DC component signal and at least one frequency signal;
IO interface, respectively with at least one earplug described, described frequency of signal generator, described sound collection unit connects, for the described second sound signal from described electronic equipment being inputed at least one earplug described; For by a described first DC component signal, at least one frequency signal and described voice signal export described electronic equipment to.
17. line traffic control equipment as claimed in claim 16, it is characterized in that, described frequency of signal generator comprises:
Direct current signal circuit for generating, when being pressed for the one or more buttons at least one button described, produces a described first DC component signal;
Voltage-Controlled oscillation circuit, when being pressed for the one or more buttons at least one button described, produces at least one frequency signal described.
CN201310308625.XA 2013-07-22 2013-07-22 Key control method, electronic device and line-control device Active CN104330981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310308625.XA CN104330981B (en) 2013-07-22 2013-07-22 Key control method, electronic device and line-control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310308625.XA CN104330981B (en) 2013-07-22 2013-07-22 Key control method, electronic device and line-control device

Publications (2)

Publication Number Publication Date
CN104330981A true CN104330981A (en) 2015-02-04
CN104330981B CN104330981B (en) 2017-05-24

Family

ID=52405728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310308625.XA Active CN104330981B (en) 2013-07-22 2013-07-22 Key control method, electronic device and line-control device

Country Status (1)

Country Link
CN (1) CN104330981B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245997A (en) * 2015-09-29 2016-01-13 广东佳禾声学科技有限公司 Control method for transmitting control signal in audio mode
CN105792054A (en) * 2016-05-23 2016-07-20 敲敲科技(北京)有限公司 Key control circuit for headset and control method
CN107925737A (en) * 2015-08-10 2018-04-17 萨基姆宽带简易股份有限公司 Equipment for parameterizing the method for response of the electronic equipment observed after the order launched by nearby testing system is received and being adapted for carrying out this method
CN109246519A (en) * 2018-10-18 2019-01-18 珠海市杰理科技股份有限公司 Line control earphone signal recognition method, device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090006964A1 (en) * 2007-06-29 2009-01-01 Kabushiki Kaisha Toshiba Information processing apparatus and control method of the same
CN101493728A (en) * 2008-01-24 2009-07-29 中兴通讯股份有限公司 Line control push-button detecting and recognizing device and method capable of identifying combined key
CN101783990A (en) * 2010-01-06 2010-07-21 惠州Tcl移动通信有限公司 Linear control system, linear control device and linear control method of mobile equipment
CN101841753A (en) * 2010-02-24 2010-09-22 深圳桑菲消费通信有限公司 Drive-by-wire earphone for portable electronic equipment and method for realizing drive-by-wire
CN101873367A (en) * 2010-06-24 2010-10-27 深圳桑菲消费通信有限公司 System and method for expending mobile functional keys
CN202600109U (en) * 2012-03-30 2012-12-12 快捷半导体(苏州)有限公司 Button detection circuit, filter circuit and external equipment button detection chip

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090006964A1 (en) * 2007-06-29 2009-01-01 Kabushiki Kaisha Toshiba Information processing apparatus and control method of the same
CN101493728A (en) * 2008-01-24 2009-07-29 中兴通讯股份有限公司 Line control push-button detecting and recognizing device and method capable of identifying combined key
CN101783990A (en) * 2010-01-06 2010-07-21 惠州Tcl移动通信有限公司 Linear control system, linear control device and linear control method of mobile equipment
CN101841753A (en) * 2010-02-24 2010-09-22 深圳桑菲消费通信有限公司 Drive-by-wire earphone for portable electronic equipment and method for realizing drive-by-wire
CN101873367A (en) * 2010-06-24 2010-10-27 深圳桑菲消费通信有限公司 System and method for expending mobile functional keys
CN202600109U (en) * 2012-03-30 2012-12-12 快捷半导体(苏州)有限公司 Button detection circuit, filter circuit and external equipment button detection chip

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107925737A (en) * 2015-08-10 2018-04-17 萨基姆宽带简易股份有限公司 Equipment for parameterizing the method for response of the electronic equipment observed after the order launched by nearby testing system is received and being adapted for carrying out this method
CN107925737B (en) * 2015-08-10 2021-01-08 萨基姆宽带简易股份有限公司 Method for parameterizing the observed responsiveness of an electronic device after reception of a command emitted by a nearby test system and device suitable for implementing the method
CN105245997A (en) * 2015-09-29 2016-01-13 广东佳禾声学科技有限公司 Control method for transmitting control signal in audio mode
CN105245997B (en) * 2015-09-29 2019-06-04 佳禾智能科技股份有限公司 A kind of control method transmitting control signal using audible
CN105792054A (en) * 2016-05-23 2016-07-20 敲敲科技(北京)有限公司 Key control circuit for headset and control method
CN105792054B (en) * 2016-05-23 2019-03-29 敲敲科技(北京)有限公司 A kind of key control circuit of earphone
CN109246519A (en) * 2018-10-18 2019-01-18 珠海市杰理科技股份有限公司 Line control earphone signal recognition method, device, computer equipment and storage medium
CN109246519B (en) * 2018-10-18 2022-03-04 珠海市杰理科技股份有限公司 Line control earphone signal identification method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104330981B (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN104330981A (en) Key control method, electronic device and line-control device
CN101256478B (en) Electronic equipment and interface control method
CN202600109U (en) Button detection circuit, filter circuit and external equipment button detection chip
CN103237281A (en) Earphone wire control circuit of mobile terminal and wire control method
CN103257594A (en) Universal voice control device, voice control system and voice control method
CN103823655A (en) Audio output method, electronic equipment and first audio output device
CN206283621U (en) A kind of intelligent remote controller
CN107390908A (en) Terminal, pressure touch feedback method and device
CN103186232A (en) Voice keyboard device
CN103135686A (en) Startup control circuit
CN105611064A (en) Mobile terminal mode switching method and device
CN103137126A (en) Intelligent electronic device based on voice control and voice control method
CN104080026A (en) Method of information processing and line control earphone
CN105138139A (en) Keyboard, terminal equipment and character input method
CN103714028A (en) Information processing method and electronic equipment
CN103200480A (en) Headset and working method thereof
CN110691016B (en) Interactive method realized based on audio equipment and audio equipment
CN104330983B (en) A kind of control method and electronic equipment
CN104124952B (en) A kind of recognizable key circuit
CN203788377U (en) Voice switch channel LED TV
CN105609123A (en) Audio play apparatus and terminal thereof
CN105374354A (en) Terminal voice control method and device
CN105554617A (en) Earphone system
CN203734823U (en) Audio device
CN203399276U (en) Audio frequency power amplification device

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