CN100514261C - Method for quickly inputting digit - Google Patents

Method for quickly inputting digit Download PDF

Info

Publication number
CN100514261C
CN100514261C CNB200610054643XA CN200610054643A CN100514261C CN 100514261 C CN100514261 C CN 100514261C CN B200610054643X A CNB200610054643X A CN B200610054643XA CN 200610054643 A CN200610054643 A CN 200610054643A CN 100514261 C CN100514261 C CN 100514261C
Authority
CN
China
Prior art keywords
key
num lock
computing machine
input device
sign indicating
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
Application number
CNB200610054643XA
Other languages
Chinese (zh)
Other versions
CN1841283A (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.)
YIKAI ELECTRIC APPLIANCE PRODUCT CO Ltd DONGGUAN
Original Assignee
YIKAI ELECTRIC APPLIANCE PRODUCT CO Ltd DONGGUAN
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 YIKAI ELECTRIC APPLIANCE PRODUCT CO Ltd DONGGUAN filed Critical YIKAI ELECTRIC APPLIANCE PRODUCT CO Ltd DONGGUAN
Priority to CNB200610054643XA priority Critical patent/CN100514261C/en
Publication of CN1841283A publication Critical patent/CN1841283A/en
Application granted granted Critical
Publication of CN100514261C publication Critical patent/CN100514261C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The disclosed fast number-input method comprises: (1) scanning key-press and deciding whether pressing Num lock key, if yes, executing ACK position; (2) deciding label state of Num lock in computer; (3) for enabling state, sending directly the corresponding number after pressing the fist key; or else, sending first the code function of Num lock then the digital code. This invention saves time and consumption.

Description

Quick input digit method
[technical field]
The present invention relates to a kind of digital input method, relates to a kind of method of using the quick input digit of numeric keypad specifically.
[background technology]
Its numerical key of traditional mobile computer and English key are made with the bifurcation function, whether it is under text button pattern or numerical key pattern, doing judgement with the mark of computer-internal entirely judges with the LED lamp on the keyboard, when the input file of compound text button and numerical key, must be cut into type mode quickly, be cut into figure pattern quickly, very inconvenient.
So there is the people just to add a QWERTY keyboard more again on mobile computer, this problem of deriving again is exactly not portable, and keyboard is too big, has and runs counter to the compact Portability principle of mobile computer.
In view of this someone designs the keypad that has only numerical key again, but the residing pattern of its keyboard is done judgement with the mark of computer-internal entirely and judged no material alteration with the LED lamp on the keyboard with the state striking resemblances on the mobile computer keyboard.
Chinese patent application has disclosed a kind of command switch-over method of key groups for No. 00102878.2, it is a detecting Num lock position status function in keyboard controller, when the activation of Num lock position, can reach input function as long as send the sign indicating number of numerical key, but when the decapacitation of Num lock position (when just Num lockLED goes out), it must send Num lock sign indicating number to computing machine, via system validation again with Num lock position activation, and send order Num lock lamp is lighted, then, again the one key sign indicating number of numerical key is delivered to computing machine, keyboard controller in the keyboard send a Num lock sign indicating number automatically again to computing machine then, via system validation again with Num lock position decapacitation, and send sign indicating number that order extinguishes Num lock lamp to keyboard controller, and keyboard controller is carried out then, and just the LED lamp with Num lock extinguishes, expend long time, reduce execution speed.
For instance: the Num lock position of computing machine is decapacitation at present, just keyboard is under the English mode, this moment, keypad naturally was exactly a cursor function, and to import " 123 ", method with above-mentioned patented technology, keyboard controller must be judged Num lock position earlier, send Num lock sign indicating number to computing machine, via system validation again with Num lock position activation, the LED lamp is lighted and then the key set code of " 1 " is delivered to computing machine on the keyboard, and then send a Num lock sign indicating number to computing machine, via system validation Num lock LED is extinguished.
And then send Num lock sign indicating number to computing machine, again Num lock lamp is lighted via system validation, and then the key set code of numerical key " 2 " delivered to computing machine, and then send a Num lock sign indicating number to computing machine, via system validation Num lock LED is extinguished.
Send Num lock sign indicating number then again again to computing machine, again Num lock lamp is lighted via system validation, and then the key set code of numerical key " 3 " delivered to computing machine, and then send a Num lock sign indicating number to computing machine, via system validation Num lock LED is extinguished, because system must confirm this Numlock position state, and then issue orders and change the state of Num lock LED on the keyboard, cause the Num lock LED flicker on the mobile computer, whole speed becomes very slow, and LED transition between flickering causes the waste of the energy again.
Chinese patent application has disclosed a kind of switching handling method of keyboard instruction input pattern for No. 00103036.1, and No. the 00102878.2nd, its functional method and patented claim are roughly the same, mainly as follows
1. the switching handling method of a keyboard instruction input pattern, this method comprises:
A), either party must keep the requirement of certain state not force Master Keyboard or auxiliary keyboard;
B), the state of Master Keyboard or auxiliary keyboard why, auxiliary keyboard software is used the state flag current state of memory Master Keyboard and auxiliary keyboard earlier;
C), when pressing any key of auxiliary keyboard, auxiliary keyboard software can go to judge whether the state of the Master Keyboard that has the inner flag of auxiliary keyboard identical with the state of auxiliary keyboard, if then directly send keypad code; If not, then can send the number lock sign indicating number and give main frame, it is identical with the state of auxiliary keyboard to allow the Master Keyboard state become, so that receive the keypad code of auxiliary keyboard, then send keypad code and give main frame, and then send the number lock sign indicating number to give main frame, with the state reduction of Master Keyboard, and auxiliary keyboard still maintains original state.
This technical scheme is sent key set code then because of being in transition always, and there are problems such as speed is slow, energy dissipation equally in transition reduction then.
Therefore, prior art is improved, provided a kind of transmission time short, power consumption is few, can significantly lower keyboard and main frame transmission load, and the method for input number keyboard is necessity in fact fast to speed execution speed.
[summary of the invention]
The purpose of this invention is to provide a kind of transmission time short, the transmission load is low, power consumption less, the fast quick input digit method of execution speed.
To achieve these goals, the present invention adopts following technical scheme:
A kind of quick input digit method is provided, and it comprises as follows:
(1) at first carries out key scan and judge that memory has or not and press Num lock key, find to push button, then confirm key position;
(2) after confirming key position, differentiate the Num lock flag state that is arranged at computer-internal;
(3) auxiliary input device is provided with and the synchronous flag state of computing machine Num lock flag state:
A) when computing machine Num lock flag state be activation, when auxiliary input device was synchronous regime, then auxiliary input device was directly sent the corresponding key sign indicating number, so that the computing machine display digit;
B) when computing machine Num lock flag state be decapacitation, when auxiliary input device was synchronous regime, then auxiliary input device was sent the corresponding key sign indicating number, so that the computing machine display highlighting carries out literal input;
Auxiliary input device is provided with and the asynchronous flag state of computing machine Num lock flag state:
C) when computing machine Num lock flag state be activation, when auxiliary input device is asynchronous mode, send the key set code of tool digital function from computer keyboard, auxiliary input device is sent Num lock sign indicating number earlier and is given computing machine, makes to calculate facility cursor input function, then, enter and postpone mechanism, cursor input in postponing, after the delay, servicing unit is sent Num lock sign indicating number makes main frame return digital input state;
D) when computing machine Num lock flag state be decapacitation, when auxiliary input device is asynchronous mode, send the key set code of mere formality word function from computer keyboard, auxiliary input device is sent Num lock sign indicating number earlier and is given computing machine, makes to calculate facility numeral input function, then, enter and postpone mechanism, numeral input in postponing, after the delay, servicing unit is sent Num lock sign indicating number makes main frame return the cursor input state.
The delay mechanism that this wait postpones input is that auxiliary input device if press numerical key again in the certain time interval that postpones, is then directly sent digital key after sending digital key; If do not press numerical key again in the certain time interval that postpones, then auxiliary input device is sent Num lock sign indicating number again and is given computing machine, makes the Num lock flag state of computing machine return to original state.
Step (2)~(3) operation capable of circulation.
The present invention provides a kind of numerical key auxiliary input device that uses above-mentioned quick input digit method again, it comprises computer equipment, this computer equipment comprises keyboard controller and numerical value load module key, and this numerical value load module key is connected with the input-output line of keyboard controller.
This numerical key auxiliary input device can be connected with USB general-purpose interface joint, so that patch on computing machine, can be printed with the above numeral of at least two kinds of functions, symbol on each keycap of this numerical key auxiliary input device, selects to use for the user.
Compared with prior art, the present invention has following beneficial effect:
Quick input digit method of the present invention and device can provide the transmission time short, the transmission load is low, power consumption less, the fast numeral of execution speed keys in.
[description of drawings]
Fig. 1 is the schematic flow sheet of the quick input digit method of the present invention when main frame Num lock is bright;
Fig. 2 is the schematic flow sheet of the quick input digit method of the present invention when main frame Num lock goes out;
Fig. 3 is to use the input equipment synoptic diagram of the quick input digit method of the present invention.
[embodiment]
Please refer to Fig. 1~Fig. 3, a kind of numerical key auxiliary input device, it comprises computer equipment, and this computer equipment comprises keyboard controller and numerical value load module key, and this numerical value load module key is connected with the input-output line of keyboard controller.As shown in Figure 3, the Master Keyboard in the dotted line is the keyboard that mobile computer is used, and it is matched in the housing that a housing maybe can separate with main frame, and the servicing unit of this creation is connected with main frame through transmission line.
This numerical key auxiliary input device can be connected with USB general-purpose interface joint, so that patch on computing machine, can be printed with the above numeral of at least two kinds of functions, symbol on each keycap of this numerical key auxiliary input device, selects to use for the user.
The numerical key auxiliary input device adopts a kind of quick input digit method input number keyboard, and its method is as follows:
The status indication of this servicing unit can be remembered the Num lock status indication of main frame and the sync mark state of present servicing unit, when servicing unit was arranged at asynchronous mode, the key set code of being sent by servicing unit all can make main frame be presented the function of numeral.
When main frame was Num lock activation, the key set code of sending from servicing unit when servicing unit is arranged at synchronous regime did not need to send the key set code of Num lock earlier and then sends the key set code of numeral, just can reach the function of display digit.
When main frame was Num lock decapacitation, the key set code of sending from servicing unit when servicing unit is arranged at synchronous regime was a cursor function.
In the time of main frame Num lock decapacitation, when servicing unit is arranged at asynchronous mode, the key set code of sending from the keyboard of main frame is a literal function, and we from servicing unit send the sign indicating number can send earlier Numlock send then the numeral key set code to main frame, the keyboard controller of servicing unit can be waited for after finishing, wait for the numerical key input whether other is arranged, import then because Num lock this moment is bright as numerical key, so directly send this numeral key, the keyboard controller of servicing unit can be waited for then, goes round and begins again.Arrive when the stand-by period of keyboard controller, but not from the servicing unit input number keyboard, servicing unit can be sent Num lock sign indicating number again and be returned to original state at this moment, just the literal input state.
In the time of main frame Num lock activation, when servicing unit is arranged at asynchronous mode, the key set code of sending from the keyboard of main frame is a digital function, and the sign indicating number that we send from servicing unit can be sent the key set code of NumLock earlier, make that main frame is a literal function, and servicing unit enters cursor function, the key set code of sending numeral then is to main frame, what can show at main frame is cursor function, the keyboard controller of servicing unit can be waited for after finishing, wait for the cursor key input whether other is arranged, import then because Num lock this moment goes out as cursor key, so directly send this cursor key, the keyboard controller of servicing unit can be waited for then, goes round and begins again.Arrive when the stand-by period of keyboard controller, but not from servicing unit input cursor key, servicing unit can be sent Num lock sign indicating number again and be returned to original state, just digital input state at this moment.
Gu the keyboard controller on this numerical value mansion time keyboard has on the creation increased the mechanism of waiting for, make that the NUM LED on the main frame need not be busy with flicker, it is very slow that the speed of whole computer system is become, and has the wisdomization dexterityization, more humane.

Claims (4)

1, a kind of quick input digit method is characterized in that it comprises:
(1) at first carries out key scan and judge that memory has or not and press Num lock key,, then confirm key position if find to push button;
(2) after confirming key position, differentiate the Num lock flag state that is arranged at computer-internal;
(3) a) when computing machine Num lock flag state be activation, when auxiliary input device was synchronous regime, then auxiliary input device was directly sent the corresponding key sign indicating number, so that the computing machine display digit;
B) when computing machine Num lock flag state be decapacitation, when auxiliary input device was synchronous regime, then auxiliary input device was sent the corresponding key sign indicating number, so that the computing machine display highlighting carries out literal input;
C) when computing machine Num lock flag state be activation, when auxiliary input device is asynchronous mode, send the key set code of tool digital function from computer keyboard, auxiliary input device is sent Num lock sign indicating number earlier and is given computing machine, makes to calculate facility cursor input function, then, enter and postpone mechanism, cursor input in postponing, after the delay, servicing unit is sent Num lock sign indicating number makes main frame return digital input state;
D) when computing machine Num lock flag state be decapacitation, when auxiliary input device is asynchronous mode, send the key set code of mere formality word function from computer keyboard, auxiliary input device is sent Num lock sign indicating number earlier and is given computing machine, makes to calculate facility numeral input function, then, enter and postpone mechanism, numeral input in postponing, after the delay, servicing unit is sent Num lock sign indicating number makes main frame return the cursor input state.
2, quick input digit method as claimed in claim 1, it is characterized in that: in step (d), described delay mechanism is: auxiliary input device if press numerical key again in the certain hour interval that postpones, is then directly sent this numeral key after sending digital key;
If do not press numerical key again at certain time intervals, then auxiliary input device can be sent the Numlock sign indicating number again and give computing machine, makes the Num lock flag state of computing machine return to original state.
3, quick input digit method as claimed in claim 1, it is characterized in that: in step (c), described delay mechanism is: auxiliary input device if other cursor keies inputs are arranged, is then directly sent this cursor key in the certain hour interval that postpones after sending the cursor key;
If do not press cursor key again at certain time intervals, then auxiliary input device can be sent the Numlock sign indicating number again and give computing machine, makes the Num lock flag state of computing machine return to original state.
4, quick input digit method as claimed in claim 1 is characterized in that, step (2) and (3) operation capable of circulation.
CNB200610054643XA 2006-01-23 2006-02-10 Method for quickly inputting digit Expired - Fee Related CN100514261C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200610054643XA CN100514261C (en) 2006-01-23 2006-02-10 Method for quickly inputting digit

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200620054219.0 2006-01-23
CN200620054219 2006-01-23
CNB200610054643XA CN100514261C (en) 2006-01-23 2006-02-10 Method for quickly inputting digit

Publications (2)

Publication Number Publication Date
CN1841283A CN1841283A (en) 2006-10-04
CN100514261C true CN100514261C (en) 2009-07-15

Family

ID=37030335

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200610054643XA Expired - Fee Related CN100514261C (en) 2006-01-23 2006-02-10 Method for quickly inputting digit

Country Status (1)

Country Link
CN (1) CN100514261C (en)

Also Published As

Publication number Publication date
CN1841283A (en) 2006-10-04

Similar Documents

Publication Publication Date Title
CN102955572B (en) Computer keyboard and control method thereof
CN101770435B (en) Data processing equipment and data processing method
CN103186339B (en) A kind of input method and be provided with the electronic equipment of dummy keyboard
CN102609072B (en) The method that response button triggers and the portable set that adopts the method
CA2392446A1 (en) Keyboard system with automatic correction
CN102053716B (en) Information input device with light touch retrieval-pressing confirmation function, and method
CN102645980A (en) Software aided physical keyboard for touch-screen
CN101286096A (en) Digit, letter and punctuation and input mode direct switching method
CN103019424A (en) Feedback method of virtual input device and electronic device thereof
CN101893981A (en) Object pressure sensing system and method
CN101276244A (en) Electronic apparatus and key pressing determination method
CN100514261C (en) Method for quickly inputting digit
CN101547533A (en) Simple control device for 86-type scene switch
CN102375545A (en) Keyboard with mode switching function
CN201322908Y (en) Small keyboard for quick touch typing
CN101382839A (en) Keyboard convenient for mode conversion
CN103150121A (en) Operation method of dual-mode input device
CN201741107U (en) Keyboard
CN202134007U (en) Touch type intelligent stock inquiring device
CN101246393B (en) Computer device and keyboard input operation method
CN101452779B (en) Key device of LED identification and identification method
CN101644955B (en) System and method for switching functions of shortcut keys
CN1148634C (en) Command switch-over method of button combination
CN101004639A (en) Network address guided keyboard type keyboard of computer
CN2505922Y (en) Calculator equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Assignee: Guangxi Qinzhou Pcall Electronic Technology Co., Ltd.

Assignor: Yikai Electric Appliance Product Co., Ltd., Dongguan

Contract record no.: 2011450000061

Denomination of invention: Method and apparatus for quickly inputting digit

Granted publication date: 20090715

License type: Exclusive License

Open date: 20061004

Record date: 20110818

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090715

Termination date: 20120210