CN105094375B - Triggering judgment method, device, input equipment and the input system of mechanical key - Google Patents
Triggering judgment method, device, input equipment and the input system of mechanical key Download PDFInfo
- Publication number
- CN105094375B CN105094375B CN201410221374.6A CN201410221374A CN105094375B CN 105094375 B CN105094375 B CN 105094375B CN 201410221374 A CN201410221374 A CN 201410221374A CN 105094375 B CN105094375 B CN 105094375B
- Authority
- CN
- China
- Prior art keywords
- mechanical key
- stable state
- state
- duration
- input 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.)
- Expired - Fee Related
Links
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
A kind of triggering judgment method of mechanical key, the processing unit of the mechanical key is electrically connected applied to a mechanical key and one, and this method includes the following steps:Input signal when mechanical key is not touched is a steady state voltage, and duration timing of the processing unit to the steady state voltage;When input signal generates because of mechanical force the unsteady state that the amplitude of a period of time swings up and down, processing unit judges that duration of the steady state voltage before unsteady state then generates the output signal that a representative presses behavior more than a time interval.Present invention simultaneously discloses device, input equipment and the input systems for performing this method.
Description
Technical field
The present invention relates to triggering judgment method, device, input equipment and the input system of a kind of button, more particularly to one
Triggering judgment method, device, input equipment and the input system of the mechanical key of kind.
Background technology
Refering to Fig. 1 and Fig. 2A, 2B, a mouse apparatus 9 has a processing unit 90, a left button 91 and a right button 92.Wherein,
Left button 91 and right button 92 are to belong to mechanical key, and processing unit 90 is electrically connected left button 91 and right button 92, and processing unit
An output signal 902 is generated after 90 input signal 901 judgements generated according to a wherein button (left button 91 or right button 92), with
The lower state introduced actuation of keys respectively and correspond to input signal 901 and output signal 902.
Input signal 901 is to maintain one first steady state voltage V1 in pattern I when the button of mouse apparatus 9 does not have action.
As the time point Ts that time point Tp and button that the button of mouse apparatus 9 is pressed are decontroled, the voltage of input signal 901 will generate change
Change, state includes:Concussion voltage in the unsteady state that pattern II is the short time, in pattern III be one second stable state
Voltage 0 restores the first steady state voltage V1 in the concussion voltage for the unsteady state that pattern IV is the short time and in pattern V;Its
In, the occurrence cause for shaking voltage is because caused by the mechanical force of mechanical key.
During corresponding previous mode I to pattern V, output signal 902 is maintained when the button of mouse apparatus 9 does not have action
One high levle voltage V2, until processing unit 90 detects input signal 901 by pattern II and maintains a preset time Δ Ts
Voltage 0 after, output signal 902 is just driven to be changed into low level voltage 0 from high levle voltage V2, and continue low level voltage 0;
It changes into pattern V until processing unit 90 detects 901 slave pattern IV of input signal and maintains the voltage V1 of preset time Δ Ts
Afterwards, output signal 902 is just driven to be changed into high levle voltage V2 from low level voltage 0.
After mouse apparatus 9 sends out output signal 902 to electronic device 8, electronic device 8 can be again according to output signal
902 in " voltage V2 → voltage 0 " be determined as by key pressing and according to output signal 902 in " 0 → voltage of voltage V2 " is determined as
Button is decontroled.
Through aforementioned measured result, the missing of existing machinery formula button is:The quality of mechanical key differs, and sensitivity is not
Good mechanical key easily causes the increase of the unsteady state time such as Fig. 2A so that the reaction time can also increase.It is special
It is not in many game for needing real time reaction, by taking shooting game as an example, it is possible to, originally should be by the delay of this period
Oneself flashes bullet to the target shot, and the delay for how allowing this period reduces to minimum, is the subject for needing to solve.
Invention content
The purpose of the present invention is to provide a kind of triggering judgment method of the mechanical key of energy fast reaction, input equipments
And input system.
The triggering judgment method of mechanical key of the present invention is electrically connected this mechanically applied to a mechanical key and one
The processing unit of button.This method includes the following steps:The input signal when mechanical key is not touched is steady for one first
State, and duration timing of the processing unit to first stable state before unsteady state;When the input signal is because of machinery
During the unsteady state that the amplitude that power generates a period of time swings up and down, which judges first stable state in unstable shape
Duration before state then generates the output signal that behavior is pressed in a representative more than a first time section.
Preferably, the triggering judgment method of the mechanical key further includes following step:The mechanical key is touched
Input signal during pressure is one second stable state, and duration timing of the processing unit to second stable state;And when the input
When signal generates the unsteady state to swing above and below the amplitude of a period of time because of mechanical force, which judges second stable state
Duration before unsteady state has then generated the output signal of representative relieving behavior more than one second time interval.
Input equipment of the present invention includes an at least mechanical key and a processing unit;When the mechanical key is not touched
Input signal be one first stable state;The processing unit is electrically connected the mechanical key, to first stable state in unstable shape
Duration timing before state, when the unstable shape that the input signal swings up and down by the amplitude of mechanical force generation a period of time
During state, the processing unit judge duration of first stable state before unsteady state more than one first time section then
Generate an output signal for representing behavior of pressing.
Preferably, in the input equipment, the input signal when mechanical key is touched is one second stable state, and
Duration timing of the processing unit to second stable state;When on the amplitude that the input signal generates a period of time because of mechanical force
Under swing unsteady state when, which judges that duration of second stable state before unsteady state has been more than
One second time interval then generates the output signal that behavior is decontroled in a representative.
The input system of the present invention is electrically connected the input equipment of the host including a host and one, wherein, which sets
Standby to have an at least mechanical key and a processing unit, the input signal when mechanical key is not touched is steady for one first
State, the input signal when mechanical key is touched is one second stable state, which is electrically connected the mechanical key,
To duration timing of first stable state before unsteady state, when the input signal because mechanical force generates a period of time
During the unsteady state that amplitude swings up and down, which judges duration of first stable state before unsteady state
The output signal that behavior is pressed in a representative is then generated more than a first time section, and the processing unit judges second stable state
Duration before unsteady state has then generated the output signal of representative relieving behavior more than one second time interval;
The host has an application program, which presses the notice of the output signal of behavior according to the representative and generate a representative
The mechanical key presses coding, and decontrols according to the representative notice of the output signal of behavior and generate one and represent the machinery
The end coding of formula button.
Beneficial effect of the present invention is:Even with insensitive mechanical key, because processing unit is prior
The timing before unsteady state, as long as detecting stable state changes into unstable state, will react action immediately, avoid existing etc.
After the latency issue for the action that can just react after the time of unsteady state time and steady state time.
Description of the drawings
Fig. 1 is a block diagram, illustrates the component that existing mouse apparatus has;
Fig. 2A, 2B are an oscillogram respectively, illustrate the input signal and output signal of existing machinery formula button;
Fig. 3 is a system block diagrams, illustrates the input system of the present invention and the preferred embodiment of input equipment;
Fig. 4 A, 4B are an oscillogram respectively, illustrate the input signal and output signal of input equipment of the present invention;
Fig. 5 is a flow chart, illustrates the preferred embodiment of the triggering judgment method of mechanical key of the present invention.
Specific embodiment
The following describes the present invention in detail with reference to the accompanying drawings and embodiments.
Refering to Fig. 3, in presently preferred embodiments of the present invention, an input system includes an input equipment 100 and a host 3, defeated
Enter equipment 100 and include a mechanical key 11 and a processing unit 10, and input equipment 100 is electrically connected host 3.In this implementation
In example, host 3 has an application program 31, and application program 31 is the coded program of a correspondence keyboard.
Refering to Fig. 4 A, 4B, and coordinate Fig. 3, mechanical key 11 is generating the input signal of a supply processing unit 10
101, processing unit 10 receives input signal 101 and application program of the output signal 102 to host 3 is exported after being judged
31, application program 31 is enabled to be encoded according to the state of output signal 102.
When the mechanical key 11 of input equipment 100 does not have action, input signal 101 is to maintain in pattern I and pattern V
The voltage V1 of one first stable state.The time point Ts of the time point Tp that is pressed when the mechanical key 11 of input equipment 100 and relieving, it is defeated
The voltage for entering signal 101 generates variation, and state includes:Pattern II be the short time unsteady state concussion voltage,
The voltage 0 and the concussion voltage in the unsteady state that pattern IV is the short time that pattern III is one second stable state;Wherein, it shakes
The occurrence cause for swinging voltage is because caused by the mechanical force of mechanical key.
Duration timing of the processing unit 10 to the voltage V1 of the first stable state, when input signal 101 because mechanical force starts
When generating the unsteady state to swing above and below the amplitude such as section II, if processing unit 10 has judged the duration of the first stable state
The output signal that behavior is pressed in a representative is then generated more than a first time interval Δ Ts1.In the present embodiment, behavior is pressed in representative
Output signal be " voltage V2 → voltage 0 ".
Then, duration timing of the processing unit 10 to the voltage 0 of the second stable state;When input signal 101 is because of mechanical force
When generating the unsteady state to swing above and below the amplitude of a period of time, processing unit 10 judges that the duration of the second stable state has surpassed
It crosses one second time interval Δ Ts2 and then generates the output signal that behavior is decontroled in a representative.In the present embodiment, relieving behavior is represented
Output signal is " 0 → voltage of voltage V2 ".
Refering to Fig. 5, and coordinate Fig. 3 and Fig. 4 A, 4B, the preferred embodiment of the triggering judgment method of mechanical key of the present invention
In, processing unit 10 perform the step of include:101 (step 401) of input signal is detected, judges input signal 101 whether
Stablize a predetermined time T (step 402)Judge input signal 101 be maintained at the first stable state or the second stable state time whether
Reached predetermined time T, in this preferred embodiment, first time interval Δ Ts1 and the second time interval Δ Ts2 it is identical and equal to should
Therefore predetermined time T, if being less than predetermined time T, is failure to actuate;If more than predetermined time T, then the judgement input letter that continues
Whether numbers 101 change (step 403)It generates to represent for the first stable state if changing, before according to input signal 101 changing and press
Under output signal 102, according to input signal 101 change before for the second stable state generate represent decontrol 102 (step of output signal
404)。
It remarks additionally herein, the concrete scheme of the triggering judgment method of mechanical key of the present invention with hardware in addition to being patrolled
It collects circuit realization or computer software is realized, realize that the device of computer software includes:To first stable state non-steady
Determine the module of the duration timing before state;It responds above and below the amplitude for generating a period of time because of mechanical force to the input signal
The unsteady state to swing is to judge duration of first stable state before unsteady state more than a first time area
Between then generate the module that the output signal of behavior is pressed in a representative;To the module of the duration timing of second stable state;And it rings
The input signal is coped with because of the unsteady state to swing above and below the amplitude of mechanical force generation a period of time to judge second stable state
Duration before unsteady state has then generated the output signal of representative relieving behavior more than one second time interval
Module.The scope that the present invention protects is belonged to above.
After the application program 31 of host 3 receives output signal 102, for the application program 31 of the coding of keyboard
For, the scan code (ScanCode) of each button, which has, uniquely to be pressed coding (make code) and uniquely terminates to compile
Code (break code), therefore, when pushing button a, application program 31 is notified according to the output signal 102 for representing behavior of pressing
And generate a correspondence button a presses coding " 1e ";When decontroling button a, application program 31 is according to representing the defeated of relieving behavior
Go out the end coding that signal 102 notifies and generates a correspondence button a " 61 ".However, such application mode be only a kind of example and
Unrestricted, the usual operator in this field also belongs to the present invention when that can be changed for the similar application technology of application program 31
Scope.In addition, the usual skill in this field, which can also apply that inventive concept to one, includes multiple mechanical keys 11
Keyboard or mouse are not limitation with a mechanical key 11.
In conclusion the effect of present invention, is:Processing unit 10 is in advance before unsteady state for stable state
During carry out timing, therefore, as long as detecting stable state changes into unstable state, will react action immediately, avoid ineffective
Quick mechanical key needs to wait for just reacting after unsteady state time and the time of steady state time the prolonging of action
Shi Wenti.
Claims (5)
1. a kind of triggering judgment method of mechanical key is electrically connected the mechanical key applied to a mechanical key and one
Processing unit;It is characterized in that:This method includes the following steps:
The input signal when mechanical key is not touched is one first stable state, and the processing unit to first stable state non-
Duration timing before stable state;And
When the unsteady state that the input signal swings up and down by the amplitude of mechanical force generation a period of time, which sentences
The disconnected duration of first stable state before unsteady state then generates a representative more than a first time section and presses row
For output signal.
2. the triggering judgment method of mechanical key according to claim 1, it is characterised in that:The mechanical key
Triggering judgment method further include following step:
The input signal when mechanical key is touched is one second stable state, and the processing unit continues second stable state
Time timing;And
When the unsteady state that the input signal swings up and down by the amplitude of mechanical force generation a period of time, which sentences
The disconnected duration of second stable state before unsteady state has then generated a representative more than one second time interval and has decontroled row
For output signal.
3. a kind of triggering judgment means of mechanical key, for an input equipment, it is mechanical which includes at least one
Button and a processing unit for being electrically connected the mechanical key, the input signal when mechanical key is not touched are one the
One stable state, the input signal when mechanical key is touched are one second stable state, it is characterised in that:The device includes:
To the module of duration timing of first stable state before unsteady state;
Respond to the input signal because mechanical force generate the amplitude of a period of time up and down the unsteady state that swings with judge this
Duration of one stable state before unsteady state then generates a representative more than a first time section and presses the defeated of behavior
Go out the module of signal;
To the module of the duration timing of second stable state;And
Respond to the input signal because mechanical force generate the amplitude of a period of time up and down the unsteady state that swings with judge this
Duration of two stable states before unsteady state then generates a representative more than one second time interval and decontrols the defeated of behavior
Go out the module of signal.
4. a kind of input equipment, which is electrically connected the place of the mechanical key comprising an at least mechanical key and one
Unit is managed, the input signal when mechanical key is not touched is one first stable state, defeated when the mechanical key is touched
Enter signal for one second stable state, it is characterised in that:
Duration timing of the processing unit to first stable state before unsteady state, when the input signal is because of mechanical force
When generating the unsteady state to swing above and below the amplitude of a period of time, which judges first stable state in unsteady state
Duration before then generates the output signal that behavior is pressed in a representative, and the processing unit more than a first time section
Duration timing to second stable state, when the input signal is non-because the amplitude of mechanical force generation a period of time swings up and down
During stable state, which judges duration of second stable state before unsteady state more than one second time
Section then generates the output signal that behavior is decontroled in a representative.
5. a kind of input system is electrically connected the input equipment of the host including a host and one, it is characterised in that:
The input equipment has an at least mechanical key and a processing unit, the input letter when mechanical key is not touched
Number for one first stable state, the input signal when mechanical key is touched is one second stable state, which is electrically connected
The mechanical key, to duration timing of first stable state before unsteady state, when the input signal is because of mechanical force
When generating the unsteady state to swing above and below the amplitude of a period of time, which judges first stable state in unsteady state
Duration before then generates the output signal that behavior is pressed in a representative, and the processing unit more than a first time section
Judge that duration of second stable state before unsteady state then generates a representative more than one second time interval and decontrol
The output signal of behavior;And
The host has an application program, which presses the notice of the output signal of behavior according to the representative and generate one
Represent the coding of pressing of the mechanical key, and decontrol according to the representative notice of the output signal of behavior and generate a representative should
The end coding of mechanical key.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410221374.6A CN105094375B (en) | 2014-05-23 | 2014-05-23 | Triggering judgment method, device, input equipment and the input system of mechanical key |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410221374.6A CN105094375B (en) | 2014-05-23 | 2014-05-23 | Triggering judgment method, device, input equipment and the input system of mechanical key |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105094375A CN105094375A (en) | 2015-11-25 |
CN105094375B true CN105094375B (en) | 2018-07-03 |
Family
ID=54575008
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410221374.6A Expired - Fee Related CN105094375B (en) | 2014-05-23 | 2014-05-23 | Triggering judgment method, device, input equipment and the input system of mechanical key |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105094375B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108845688B (en) * | 2018-05-24 | 2021-05-04 | 杭州吉吉知识产权运营有限公司 | Key operation judgment method and system |
CN111949137B (en) * | 2019-05-17 | 2024-05-07 | 美商沃耶特拉海龟滩有限公司 | Switch device with bounce noise suppression function and method for suppressing bounce noise |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101741394A (en) * | 2009-11-03 | 2010-06-16 | 北京中星微电子有限公司 | Method and device for detecting key input |
CN103513775A (en) * | 2012-06-22 | 2014-01-15 | 盛群半导体股份有限公司 | Keyboard device and method for detecting key state |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100826532B1 (en) * | 2006-03-28 | 2008-05-02 | 엘지전자 주식회사 | Mobile communication terminal and its method for detecting a key input |
-
2014
- 2014-05-23 CN CN201410221374.6A patent/CN105094375B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101741394A (en) * | 2009-11-03 | 2010-06-16 | 北京中星微电子有限公司 | Method and device for detecting key input |
CN103513775A (en) * | 2012-06-22 | 2014-01-15 | 盛群半导体股份有限公司 | Keyboard device and method for detecting key state |
Also Published As
Publication number | Publication date |
---|---|
CN105094375A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014188973A1 (en) | Touch panel system and electronic device | |
US20170123568A1 (en) | Touch panel system and electronic device | |
TW200728991A (en) | Remote control device, method and a KVM switch | |
SG10201407638RA (en) | Small plasma chamber systems and methods | |
MX2013006803A (en) | Method and apparatus for activating a function of an electronic device. | |
CN105516765A (en) | Button matching method and device and signal processing method and device of remote controller | |
WO2009037257A4 (en) | Modifying rates of action in a virtual universe | |
CN102830247A (en) | Method and device for detecting rotation state of rotation part | |
CN105094375B (en) | Triggering judgment method, device, input equipment and the input system of mechanical key | |
TW200705172A (en) | Testing system and method | |
CN103616607A (en) | Test system of valve base electronic equipment for converter valve | |
US20130221999A1 (en) | Testing system and method | |
CN103902326A (en) | Electronic device and start-up time frame detecting method thereof | |
CN106445764A (en) | Method for realizing automatic testing of stability of android facility | |
CN103795870A (en) | Data generating method and device | |
CN111088998B (en) | Coal mine central station monitoring system testing method and device and substation simulation system | |
CN104850417B (en) | A kind of method and electronic equipment of information processing | |
CN107562205B (en) | Projection keyboard of intelligent terminal and operation method of projection keyboard | |
CN105138419A (en) | Set value restoring system | |
CN102854417A (en) | Master test board and testing method thereof | |
CN109991507B (en) | Smart card contact detection circuit, method and equipment | |
CN103376918A (en) | Gravity sensing method and electronic equipment | |
CN104298443A (en) | Method, device and system used for presenting display interface | |
US20130002558A1 (en) | Input method and input device | |
CN103294367B (en) | A kind of methods, devices and systems determining operational order and terminal |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180703 |
|
CF01 | Termination of patent right due to non-payment of annual fee |