CN1700150A - Hot key discriminating and processing system, and method thereof - Google Patents

Hot key discriminating and processing system, and method thereof Download PDF

Info

Publication number
CN1700150A
CN1700150A CN 200410042358 CN200410042358A CN1700150A CN 1700150 A CN1700150 A CN 1700150A CN 200410042358 CN200410042358 CN 200410042358 CN 200410042358 A CN200410042358 A CN 200410042358A CN 1700150 A CN1700150 A CN 1700150A
Authority
CN
China
Prior art keywords
hot key
buffer
bit
keyboard
controller
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.)
Pending
Application number
CN 200410042358
Other languages
Chinese (zh)
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 200410042358 priority Critical patent/CN1700150A/en
Publication of CN1700150A publication Critical patent/CN1700150A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention relates to a heat key identification handling system and its method which is used for computer device to identify weather users activate the heat key of the keyboard, so that the computer can carry out the corresponding process of the heat key quickly. The heat key identification handling system at least comprises three parts: controller, operator, and first buffer and second buffer. It separately founds the corresponding bits in first buffer and second buffer aiming for each heat key, and uses computer device to identify weather heat key is released by the changes of storage value of first buffer and second buffer. It uses first buffer and second buffer to make computer device to measure the condition of heat key by inquire model.

Description

Hot key discriminating-processing system and method thereof
Technical field
The invention relates to a kind of hot key discriminating-processing system and method thereof, particularly about a kind of hot key discriminating-processing system and method thereof that is applied on the computer system keyboard.
Background technology
When the user activates application program in the computing machine, to enter this application program place catalogue mostly from level to level, and carry out this application program and just can activate, perhaps, the user carries out on computers by computer operating system " beginning " on menu function is provided, and its " procedure set " function choosing-item that provides etc. is provided, just can carry out this application program.Therefore for saving user's running time, software or computer vendors promptly add hot key (hotkey) and shortcut (shortcut) function in computing machine, for the required application program of user's quick active.
For the treatment scheme of above-mentioned hot key function, make usually hot key function is provided in two ways, a kind of is by keyboard controller (Keyboard Controller; Hereinafter to be referred as KBC) the generation scan code, application software (being keyboard driver) for design is in advance carried out hot key function according to this scan code, and another kind of mode is then by ACPI resource language (Advanced Configuration and Power Interface Source Language; The general ASL that is called for short) program code, control serial control interface (Serial Control Interface; The general SCI of abbreviation) produces control signal and carry out the hot key processing.
Generally speaking, all be to hang over outward above-mentioned application software for example that the operating system of Windows provides hot key function, this application software is the scan code that produces according to KBC, judging whether default hot key need be activated, is output system management interrupt (SystemManagement Interrupt if hot key need be activated; SMI) signal, and why obtain the hot key that is activated at present according to this system management interrupt signal.
Yet, the above-mentioned mode of judging whether hot key is activated, need produce scan code by KBC, why whether press hot key and hot key that the user was pressed to judge the user according to the scanning result of this scan code, notify computer installation then, this passive advice method causes the instability of computer working easily.Therefore, how to make the computer discriminant hot key whether activate and the stability that do not influence computer operation is to need the problem of solution at present badly.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of hot key discriminating-processing system and method thereof, does not need can judge by the mode of scan code whether hot key is activated, and avoids computer working to produce problem of unstable.
For reaching above-mentioned purpose, the invention provides a kind of hot key discriminating-processing system and method thereof, be used for judging for computer installation whether the user activates the hot key of keyboard, the hot key active program that is built in making in this computer installation is carried out the pairing application program of this hot key.
This hot key discriminating-processing system comprises at least: with the controller that this keyboard electrically connects, detect the push button signalling of user in this keyboard input; Electrically connect and carry out the processor of respective handling according to the detected push button signalling of this controller with this controller; By first buffer that a plurality of bits (Bit) are formed, each bit is each hot key to should keyboard providing respectively; And second buffer of forming by a plurality of bits, each bit is each hot key to should keyboard providing respectively, wherein, when whether the hot key that detects this keyboard at this controller is activated, promptly set this hot key at first buffer and the pairing bit of second buffer, when the bit that detects first buffer with polling mode for this hot key active program is set, make this processor carry out this hot key corresponding application program, and when the hot key that this controller detects this keyboard is released, promptly change the setting value of this hot key, make this hot key active program learn that with polling mode hot key is released in this second buffer corresponding bit.
This hot key juggling method comprises at least: default first buffer in computer installation, and this first buffer is made up of a plurality of bits (Bit), and each bit is each hot key to should keyboard providing respectively; Default second buffer in computer installation, this second buffer is made up of a plurality of bits, and each bit is each hot key to should keyboard providing respectively; This computer installation is judged the hot key that the user presses this keyboard, then sets the setting value of this hot key in this first buffer and second buffer institute corresponding bit, discerns this hot key for computer installation and is pressed; This computer installation is carried out this hot key corresponding application program, and changes the setting value of this hot key in this first buffer corresponding bit; And this computer installation judges the hot key that the user discharges this keyboard, then sets the setting value of this hot key in this second buffer corresponding bit, discerns this hot key for computer installation and is released.
Hot key discriminating-processing system of the present invention and method thereof, in first buffer and second buffer, set up corresponding bit respectively at each hot key, variation by the bit storage values of this first buffer, whether be pressed for computer installation identification keyboard hot key, variation by the second buffer bit storage values, whether discern the hot key that has been pressed for computer installation is released, therefore, by first buffer and second buffer, whether make computer installation can initiatively differentiate the keyboard hot key is pressed or discharges, must not need to reinform computer installation according to the scanning result of its scan code that produces as existing hot key discriminant approach by KBC, so can effectively get rid of because of producing and transmit the scan code process, cause hot key to be pressed or the job insecurity of the computer installation that erroneous judgement caused that discharges, just, use first buffer and second buffer in hot key discriminating-processing system of the present invention and the method thereof, make computer installation can initiatively and correctly determine the state that hot key is pressed and discharges.
Description of drawings
Fig. 1 is the required basic structure block schematic diagram of hot key discriminating-processing system of the present invention;
Fig. 2 is the workflow synoptic diagram of hot key juggling method of the present invention.
Embodiment
Embodiment
Below by particular specific embodiment explanation embodiments of the present invention.
As Fig. 1 is the basic structure calcspar of hot key discriminating-processing system of the present invention.As shown in the figure, hot key discriminating-processing system 1 of the present invention is used for for example computer installation such as notebook computer or desktop PC (not icon), judge for this computer installation whether the user activates the hot key of keyboard, make this computer installation carry out the pairing application program of this hot key, this hot key discriminating-processing system 1 comprises processor 10 at least, controller 11 with at least one first buffer 110 and one second buffer 111, have a plurality of hot keys (120,121) keyboard 12 and be used to store the storage unit 13 of operating system 130 and hot key active program 131 at least.For simplifying accompanying drawing and explanation, system architecture herein only shows the component of a system relevant with the present invention, other component of a system, and for example mouse, display, South Bridge chip, north bridge chips or BIOS ROM etc. do not show in the accompanying drawings.
This processor 10 is CPU (central processing unit) of this hot key discriminating-processing system 1, be used for control, each member of analysis and processing and its electric connection, and provide the user required work of treatment for it, this processor 10 is according to the operating system 130 that is stored in this storage unit 13, the general start that making hot key discriminating-processing system 1 carry out the aforementioned calculation machine provides is handled, just, this operating system 130 is Windows operating system for example, and this processor 10 is according to the hot key active program 131 that is stored in this storage unit 13, make this hot key discriminating-processing system 1 differentiate the user and whether press the hot key (120 that is set on this keyboard 12,121), with this hot key (120 of quick execution, 121) corresponding application program (at this icon not).Because hot key is the general creation facilities program (CFP) of hot key function with corresponding settings between application program, thus below its method for building up is not described in further detail.
This controller 11 is keyboard controller (Keyboard Controller for example; The general KBC that is called for short), be used to judge whether the button on this keyboard 12 is pressed by the user, at these controller 11 built-in this first buffer 110 and second buffers 111, two buffers (110,111) formed by a plurality of bits (Bit) respectively, wherein, each bit of this first buffer 110 is corresponding with each hot key that this keyboard 12 is provided respectively, to detect arbitrary hot key (120 or 121) of this keyboard 12 when being activated at this controller 11, promptly set this hot key (120 or 121) at first buffer, 110 pairing bits, and make this hot key discriminating-processing system 1 carry out the pairing application program of this hot key (120 or 121) (at this icon not).Illustrate the effect of first buffer, 110 each bits below with 8 bits (Bit):
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Bit 0: differentiate hot key 120 for this controller 11 and whether be pressed.
Bit 1: differentiate hot key 121 for this controller 11 and whether be pressed.
Bit 2 is to bit 7: keep.
Whether bit 2 to bit 7 is used to differentiate other hot key and is pressed, present embodiment is the example explanation with hot key 120 and hot key 121 only, when the bit storage values of first buffer 110 is 1, the hot key of promptly representing this bit correspondence is pressed, otherwise, when this bit storage values is 0, represent that promptly the hot key of this bit correspondence is not pressed.
Each hot key that each bit of this second buffer 111 is also provided with this keyboard 12 respectively is corresponding, whether the arbitrary hot key (120 or 121) that supplies this controller 11 to detect these keyboards 12 is pressed or discharges, when hot key is pressed, except that setting this hot key (120 or 121) above-mentioned first buffer, 110 pairing bits, also this hot key of synchronization settings (120 or 121) is at second buffer, 111 pairing bits, in addition, when the user discharges this hot key (120 or 121), also set this hot key (120 or 121) at second buffer, 111 pairing bits.Illustrate the effect of second buffer, 111 each bits below with 8 bits (Bit):
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Bit 0: differentiate hot key 120 for this controller 11 and whether be released.
Bit 1: differentiate hot key 121 for this controller 11 and whether be released.
Bit 2 is to bit 7: keep.
Whether bit 2 to bit 7 is used to differentiate other hot key and is released, present embodiment is the example explanation with hot key 120 and hot key 121 only, when the bit storage values of second buffer 111 is 1, represent that promptly the pairing hot key of this bit is not released, otherwise, when this bit storage values is 0, represent that promptly the hot key of this bit correspondence is released.
The hot key active program 131 that this storage unit 13 is stored, behind system boot, promptly be performed, this hot key active program 131 takes poll (Polling) mode to detect the situation of change of first buffer 110 and second buffer, 111 stored bit status, make the bit storage values of this processor 10 by this first buffer 110 and second buffer 111, automatically differentiate the user and whether press hot key, the hot key of differentiating the user simultaneously and being pressed why, just, the bit storage values of this first buffer 110 and second buffer 111 can be considered as sign (Flag), 0 and 1 signal that provides by this sign, make this processor 10 be convenient to obtain automatically the hot key user mode that this controller 11 is differentiated, for example press, do not press, four kinds of user modes that discharged or do not discharged must not produce scan code via this controller 11 and judge whether hot key is pressed.Therefore, can provide a kind of hot key juggling mode of active, increase the stability of system whereby by hot key discriminating-processing system of the present invention.
Fig. 2 is the workflow synoptic diagram of hot key juggling method of the present invention.After this hot key discriminating-processing system 1 is started shooting by the operating system 130 of storage unit 13, this operating system 130 promptly loads this hot key active program 131, with polling mode, whether the bit storage values that makes this controller 11 detect first buffer 110 and second buffer 111 changes by this hot key active program 131.
As shown in the figure, at first carry out step S1, make this controller 11 judge whether the user presses the hot key of this keyboard 120 (120 or 121),, then proceed to step S2 if this hot key is pressed; If not, then continue to carry out this step S1.
In this step S2, make this controller 11 in first buffer 110 and second buffer 111, take out the bit corresponding respectively, and the storage values of this bit is made as 1 with this hot key according to the hot key that is pressed, then proceed to step S3.
In this step S3, because this hot key active program 131 is 1 o'clock with the bit storage values that polling mode detects this first buffer 110, then carry out and the pairing application program of the corresponding hot key of this bit, and this hot key is set at 0 at the storage values of 110 corresponding bit of first buffer, then proceed to step S4.
In this step S4, make this controller 11 judge whether the user discharges the hot key of keyboard 120 (120 or 121), if this hot key is released, then proceed to step S5; If not, then continue to carry out this step S4.
In this step S5, make this controller 11 in second buffer 111, take out the bit corresponding, and the storage values of this bit is made as 0 with this hot key according to d/d hot key.
As from the foregoing, hot key discriminating-processing system of the present invention and method thereof, be to set up to be used to discern whether this hot key is pressed and d/d sign respectively at each hot key, so that the hot key active program detects the user mode of hot key automatically with polling mode, thereby efficiently solve existing hot key discriminant approach and need to produce scan code and notify the hot key active program, thereby influence the problem of stiffness of system by KBC.

Claims (10)

1. hot key discriminating-processing system, judge for computer installation whether the user activates the hot key of keyboard, the hot key active program that is built in making in this computer installation is carried out the pairing application program of this hot key, it is characterized in that, this hot key discriminating-processing system comprises at least:
Controller electrically connects with this keyboard, detects the push button signalling of user in this keyboard input;
Processor is carried out respective handling with this controller electric connection and according to the detected push button signalling of this controller;
First buffer is made up of a plurality of bits, and each bit is each hot key to should keyboard providing respectively; And
Second buffer, form by a plurality of bits, each bit is each hot key to should keyboard providing respectively, wherein, when the hot key that detects this keyboard at this controller is activated, promptly set this hot key at first buffer and the pairing bit of second buffer, when the bit that detects first buffer with polling mode for this hot key active program is set, then make this processor carry out the pairing application program of this hot key, and when the hot key that this controller detects this keyboard is released, promptly change the setting value of this hot key, make this hot key active program learn that with polling mode hot key is released in this second buffer institute corresponding bit.
2. hot key discriminating-processing system as claimed in claim 1 is characterized in that this controller is a keyboard controller.
3. hot key discriminating-processing system as claimed in claim 1 is characterized in that this processor is a microprocessor.
4. hot key discriminating-processing system as claimed in claim 1, it is characterized in that the bit storage values of this first buffer is " 0 ", represent that the pairing hot key of this bit is not pressed, if this bit storage values is " 1 ", represent that the pairing hot key of this bit is pressed.
5. hot key discriminating-processing system as claimed in claim 1, it is characterized in that the bit storage values of this second buffer is " 1 ", represent that the hot key of this bit correspondence is not released, if this bit storage values is " 0 ", represent that the pairing hot key of this bit is released.
6. a hot key juggling method judges for computer installation whether the user activates the hot key of keyboard, makes this computer installation carry out the pairing application program of this hot key, it is characterized in that this hot key juggling method may further comprise the steps at least:
Default first buffer in computer installation, this first buffer is made up of a plurality of bits, and each bit is each hot key to should keyboard providing respectively;
Default second buffer in computer installation, this second buffer is made up of a plurality of bits, and each bit is each hot key to should keyboard providing respectively;
This computer installation is judged the hot key that the user presses this keyboard, then sets the setting value of this hot key in this first buffer and second buffer institute corresponding bit, discerns this hot key for this computer installation and is pressed;
This computer installation is carried out the pairing application program of this hot key, and changes the setting value of this hot key in this first buffer institute corresponding bit; And
This computer installation is judged the hot key that the user discharges this keyboard, then changes the setting value of this hot key in this second buffer institute corresponding bit, discerns this hot key for this computer installation and is released.
7. hot key juggling method as claimed in claim 6 is characterized in that this first buffer and second buffer are to be provided by controller.
8. hot key juggling method as claimed in claim 7 is characterized in that this controller is a keyboard controller.
9. as claim 6 or 7 described hot key juggling methods, it is characterized in that the bit storage values of this first buffer is " 0 ", represent that the pairing hot key of this bit is not pressed, if this bit storage values is " 1 ", represent that the pairing hot key of this bit is pressed.
10. as claim 6 or 7 described hot key juggling methods, it is characterized in that, hot key discriminating-processing system as claimed in claim 1, it is characterized in that, the bit storage values of this second buffer is " 1 ", represent that the pairing hot key of this bit is not released,, represent that the pairing hot key of this bit is released if this bit storage values is " 0 ".
CN 200410042358 2004-05-20 2004-05-20 Hot key discriminating and processing system, and method thereof Pending CN1700150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410042358 CN1700150A (en) 2004-05-20 2004-05-20 Hot key discriminating and processing system, and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410042358 CN1700150A (en) 2004-05-20 2004-05-20 Hot key discriminating and processing system, and method thereof

Publications (1)

Publication Number Publication Date
CN1700150A true CN1700150A (en) 2005-11-23

Family

ID=35476233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410042358 Pending CN1700150A (en) 2004-05-20 2004-05-20 Hot key discriminating and processing system, and method thereof

Country Status (1)

Country Link
CN (1) CN1700150A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387912B (en) * 2007-09-14 2010-06-09 英业达股份有限公司 System and method capable of changing logical position of key
CN101414219B (en) * 2007-10-16 2010-11-10 纬创资通股份有限公司 Computer system and method for judging whether hot key is triggered or not
CN108073304A (en) * 2016-11-15 2018-05-25 英业达科技有限公司 For the hot key triggering System and method for of electronic device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387912B (en) * 2007-09-14 2010-06-09 英业达股份有限公司 System and method capable of changing logical position of key
CN101414219B (en) * 2007-10-16 2010-11-10 纬创资通股份有限公司 Computer system and method for judging whether hot key is triggered or not
CN108073304A (en) * 2016-11-15 2018-05-25 英业达科技有限公司 For the hot key triggering System and method for of electronic device

Similar Documents

Publication Publication Date Title
US7076644B2 (en) System and method for quick boot and application switching for a computer system
US9501291B2 (en) Method and system for providing hybrid-shutdown and fast startup processes
US9201661B2 (en) Booting method and electronic device
US20200183704A1 (en) Method and apparatus for waking up computer from sleep state
CN1737733A (en) Information processing apparatus and processing program in information processing apparatus
US20100053092A1 (en) Control Method for Touch Screen Device
US20090320128A1 (en) System management interrupt (smi) security
US20040104888A1 (en) Apparatus and method for controlling device operation in computer
US8842025B2 (en) Method of setting specific scan codes for manual input device
JP4245334B2 (en) Keypad instruction mode input method
CN103677372A (en) Touch control display method and electronic device thereof
US7480790B2 (en) Sleep state resume
CN1700150A (en) Hot key discriminating and processing system, and method thereof
US20060038787A1 (en) Processing system and method for detecting hotkey activation
CN1427338A (en) System starting up self examination device and method
TWI467422B (en) Touch-controlled electronic apparatus and control method thereof
US20040093490A1 (en) Method for activating a computer system audio player with hot key
US20030172266A1 (en) Authentication system for connecting client to server providing particular information using dedicated system and method therefor
US9753741B2 (en) Remote inking
CN107707731B (en) Intelligent terminal, control method thereof and device with storage function
US8065547B2 (en) Control method and computer system for advanced configuration and power interface
KR20080034245A (en) Method for processing touch event of mobile terminal having touch screen
KR20100046509A (en) Apparatus and method for shutting down computer system
JP2000039983A (en) Computer system and display device switching control method
CN1421791A (en) Portable electronic device operating in switched normal mode or input board mode

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication