CN101364808B - Method for determining hot-key and related computer apparatus thereof - Google Patents

Method for determining hot-key and related computer apparatus thereof Download PDF

Info

Publication number
CN101364808B
CN101364808B CN2007101411063A CN200710141106A CN101364808B CN 101364808 B CN101364808 B CN 101364808B CN 2007101411063 A CN2007101411063 A CN 2007101411063A CN 200710141106 A CN200710141106 A CN 200710141106A CN 101364808 B CN101364808 B CN 101364808B
Authority
CN
China
Prior art keywords
button
pushed
hot key
identification code
code
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.)
Active
Application number
CN2007101411063A
Other languages
Chinese (zh)
Other versions
CN101364808A (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.)
Wistron Corp
Original Assignee
Wistron 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 Wistron Corp filed Critical Wistron Corp
Priority to CN2007101411063A priority Critical patent/CN101364808B/en
Publication of CN101364808A publication Critical patent/CN101364808A/en
Application granted granted Critical
Publication of CN101364808B publication Critical patent/CN101364808B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for determining hot key comprises the following steps: setting a plurality of hot keys to correspond to a specific scan code and respectively correspond to a plurality of different identification codes; outputting the specific scan code and one corresponding identification code when each hot key of the plurality of hot keys are pressed, and storing the identification codes; and determining whether a pressed key is one of the plurality of hot keys according to whether one of identification codes is stored.

Description

Differentiate the method and the related computer apparatus thereof of hot key
Technical field
The present invention relates to a kind of method and related computer apparatus thereof of differentiating hot key, be particularly related to a kind ofly by setting the corresponding specific scan codes of a plurality of hot keys and corresponding a plurality of different identification codes respectively, and whether foundation stores this identification code and judges whether the button of being pushed is the method and the related computer apparatus thereof of this hot key.
Background technology
Under Microsoft (Microsoft) graphical window, though use mouse can control a lot of actions, some keyboard hot keys (hotkey) of arranging in pairs or groups can allow work more efficient, to provide the quicker startup of user required application program.
If will use the defined scan code of Microsoft to be used as the scan code of keyboard, then need authentication by Microsoft, just can stick the authentication sign (logo) of Microsoft, in addition, if need to use the undefined scan code of other Microsoft to be used as the scan code of keyboard, then need additionally to increase again expense, just can obtain the authentication sign of Microsoft, yet, as long as keyboard program has the version of little modification, all heavily send once authentication, and send whenever that once authentication is not only time-consuming, effort can increase cost again, for manufacturer, be a very stubborn problem really.
Summary of the invention
Therefore, one of purpose of the present invention is to propose a kind of method and related computer apparatus thereof of differentiating hot key, to solve the above problems.
The invention provides a kind of method of differentiating hot key, it comprises sets corresponding specific scan code of a plurality of hot keys and the corresponding a plurality of different identification codes of difference, wherein, after each hot key is pressed in these a plurality of hot keys, exports the corresponding identification code of this specific scan code and this hot key and store this identification code; And judge that according to one of them that whether stores these a plurality of identification codes whether the button pushed is one of them of these a plurality of hot keys.Wherein, in storing these a plurality of identification codes during a specific identification code, judge that this button of being pushed is to a particular hot key that should specific identification code; When not storing arbitrary identification code, judge that this button of being pushed is not arbitrary hot key in these a plurality of hot keys.
The present invention provides a kind of method of differentiating hot key in addition, it comprises sets at least one hot key, it has a specific scan code and an identification code, wherein, this identification code is not by generation that this specific scan code is changed, and after this hot key is pressed, exports this specific scan code and this identification code and store this identification code; And judge according to whether storing this identification code whether a button of being pushed is this hot key.Wherein, when storing this identification code, judge that this button of being pushed is this hot key; When not storing this identification code, judge that this button of being pushed is not this hot key.
The present invention provides a kind of computer installation in addition, and it includes one first storage device, a keyboard and a main frame.This keyboard has a plurality of buttons, wherein, comprise corresponding specific scan code of a plurality of hot keys and the corresponding a plurality of different identification codes of difference in these a plurality of buttons, wherein, after each hot key was pressed in these a plurality of hot keys, the corresponding identification code of this specific scan code and this hot key can be output and this identification code can write to this first storage device.This main frame is coupled to this keyboard and this first storage device, is used for judging that according to one of them that whether stores these a plurality of identification codes in this first storage device whether the button pushed on this keyboard is one of them of these a plurality of hot keys.
In one embodiment, this main frame comprises a keyboard scancode generation module, one second storage device and a processing module.This keyboard scancode generation module is coupled to this keyboard, is used for when this button is pressed, and produces the corresponding one scan sign indicating number of this button.This second storage device is coupled to this first storage device, store a basic input/output (basic input/output system, BIOS).This processing module is coupled to this keyboard scancode generation module and this second storage device, be used for when receiving corresponding this scan code of this button from this keyboard scancode generation module, inquire that whether this button of this basic input/output is one of them of these a plurality of hot keys, wherein, this basic input/output detects one of them whether store these a plurality of identification codes and produces a judged result, and whether repay this button that this judged result to this processing module pushed to inform be one of them of this a plurality of hot keys.
In one embodiment, this processing module is to carry out the real work of application program institute by a central processing unit.
In one embodiment, this first storage device is arranged on the inside of this second storage device.
The present invention provides a kind of computer installation in addition, and it comprises a keyboard, a keyboard controller, one first storage device and a processing module.This keyboard has a plurality of buttons, wherein, comprises corresponding specific scan code of a plurality of hot keys and the corresponding a plurality of different identification codes of difference in these a plurality of buttons.After a hot key in these a plurality of hot keys is pressed, this keyboard controller this specific scan code of output and the corresponding identification code of this hot key.This first storage device is used to store this identification code.This processing module is used for judging according to whether storing this identification code in this first storage device whether a button of being pushed on this keyboard is this hot key.
In one embodiment, this processing module is carried out an application program linking up with a basic input/output, and detects this identification code that this first storage device is stored by this basic input/output.
The present invention provides a kind of computer installation in addition, and it comprises a keyboard controller, one first storage device and a central processing unit.After a hot key was pressed, this keyboard controller was exported a specific scan code and the corresponding identification code of this hot key.This first storage device is used to store this identification code.This central processing unit is according to this specific sign indicating number that scans, and carries out an application program and inquires about this first storage device and whether store this identification code, if then this central processing unit is carried out the pairing function of this hot key.
Description of drawings
Fig. 1 differentiates the flow chart of an example operation of the method for hot key for the present invention.
Fig. 2 differentiates the schematic diagram of an embodiment of the computer installation of hot key for the present invention.
Fig. 3 differentiates the schematic diagram of an embodiment of the computer installation of hot key for the present invention.
Fig. 4 differentiates the flow chart of another example operation of the method for hot key for the present invention.
Fig. 5 is the rough schematic of an example of keyboard shown in Figure 2.
The reference numeral explanation
200,300 computer installations
210 keyboards
212 buttons
220,320 first storage devices
230,330 main frames
240 keyboard scancode generation modules
242 keyboard controller
244 South Bridge chips
246 built-in internal memories
250 north bridge chips
260 central processing units
270 processing modules
280 second storage devices
282 positions
102~120,410~412 steps.
Embodiment
Please refer to Fig. 1, Fig. 1 differentiates the flow chart of an example operation of the method for hot key (hotkey) for the present invention, it comprises following step (if note that and can obtain roughly the same result, then the following step and non-limiting will the execution according to order shown in Figure 1):
Step 102: set the corresponding specific scan codes of a plurality of hot keys (scan code) and difference corresponding a plurality of different identification codes (identification code).
Step 104: push the button on the keyboard.If this button of being pushed is a hot key, execution in step 108; Otherwise; Execution in step 106.
Step 106: produce the corresponding one scan sign indicating number of this button.
Step 108: export the corresponding identification code of this specific scan code and this hot key and store this identification code.
Step 110: judge that according to one of them that whether stores these a plurality of identification codes whether the button pushed is one of them of these a plurality of hot keys.If when storing in these a plurality of identification codes a specific identification code, execution in step 116; Otherwise, execution in step 112.
Step 112: judge that this button of being pushed is not arbitrary hot key in these a plurality of hot keys.
Step 114: carry out the pairing incident of this button.
Step 116: judge that this button pushed is to a particular hot key that should specific identification code.
Step 118: carry out the pairing incident of this particular hot key.
Step 120: remove this specific identification code of being stored.
Please refer to Fig. 2, Fig. 2 differentiates the schematic diagram of an embodiment of the computer installation 200 of hot key for the present invention.Computer installation 200 comprises a keyboard 210, one first storage device 220 and a main frame 230, wherein, keyboard 210 is coupled to main frame 230, keyboard 210 has a plurality of buttons, wherein, comprise a plurality of hot keys (please refer to after Fig. 4) in these a plurality of buttons, these hot keys are corresponding to same specific scan code (SC for example 1), and each hot key corresponds respectively to different identification codes (IDC for example 1~IDC n), about the function mode of the keyboard 210 and first storage device 220 embodiment is below described in detail.In the present embodiment, first storage device 220 is external connection storage apparatus of main frame 230, and main frame 230 is coupled to the keyboard 210 and first storage device 220, and being used for according to whether storing these a plurality of identification codes in first storage device 220 (is IDC 1~IDC n) one of them judge that whether the button pushed on the keyboard 210 is one of them of these a plurality of hot keys.Please note, " main frame " that the present invention censured is the set that is coupled to the computer components of the keyboard 210 and first storage device 220, in fact not limiting keyboard 210 needs to separate with main frame with first storage device 220, that is, the keyboard 210 and/or first storage device 220 also can integrate or in be built in the main frame 230, also be subordinate to category of the present invention.
Please continue with reference to figure 2, main frame 230 is including (but not limited to) a keyboard scancode generation module 240, a north bridge chips 250, a central processing unit 260, a processing module 270 and one second storage device 280.Keyboard scancode generation module 240 is coupled to the keyboard 210 and first storage device 220, be used for when a button is pressed on the keyboard 210, produce the corresponding one scan sign indicating number of this button (scancode), wherein, keyboard scancode generation module 240 comprises a keyboard controller (keyboardcontroller, KBC) 242 and one South Bridge chip (south-bridge chip) 244, when the user pushes a button, keyboard controller 242 can be sent an interrupt request (interrupt request, IRQ) give South Bridge chip 244, then, South Bridge chip 244 is again by operating system (operating system, OS) inquire which button is pressed, produce one group of corresponding scan code SC afterwards again and give processing module 270.And north bridge chips 250 is used to connect South Bridge chip 244 and central processing unit 260, about the function mode of north bridge chips 250, is not emphasis of the present invention, does not repeat them here.Second storage device 280 is coupled to first storage device 220 and processing module 270, store a basic input/output BIOS (basic input/output system), and processing module 270 is coupled to the keyboard scancode generation module 240 and second storage device 280, when processing module 270 receives the corresponding scan code SC of this button that is produced from keyboard scancode generation module 240, whether this button of inquiry basic input/output BIOS is one of them of these a plurality of hot keys, and then can to detect and whether store these a plurality of identification codes in first storage device 220 (be IDC to basic input/output BIOS 1~IDC n) one of them produce a judged result, whether and to repay this button that this judged result to processing module 270 pushed to inform be one of them of this a plurality of hot keys.Function mode about keyboard scancode generation module 240, processing module 270, second storage device 280 and first storage device 220 will further describe in the following embodiments.
Please note, above-mentioned processing module 270 can be carried out an application program (application program) AP1 (its be stored in any in the main frame 230 can be by in the medium of 260 accesses of central processing unit) institute's reality work by central processing unit 260, but the present invention is not limited thereto, also can do in fact by alternate manner, for instance, processing module 270 can make up in addition real the work via hardware, software or its.In one embodiment, second storage device 280 can be one can remove programmable read only memory (erasable programmable read only memory, EPROM) or a flash memory (flashmemory), but only for being used for illustrating one of example of the present invention, but not restrictive condition of the present invention.
Notice again that please first storage device 220 can be an internal memory or a hard disk, but is not limited thereto, and also can be the storage device of other kind.In addition, first storage device 220 can be arranged on the outside of second storage device 280, position as shown in Figure 2, perhaps first storage device 220 can be arranged on the inside of second storage device 280, position 282 as shown in Figure 2, and perhaps first storage device 220 can be arranged in the built-in internal memory 246 of keyboard controller 242, perhaps first storage device 220 can be an external connection storage apparatus, as the USB walkman, but only example of the present invention is described for being used for, but not restrictive condition of the present invention.Please refer to Fig. 3, Fig. 3 differentiates the schematic diagram of an embodiment of the computer installation 300 of hot key for the present invention.Computer installation 300 shown in Figure 3 is similar with computer installation 200 shown in Figure 2, and both differences are that one first storage device 320 of computer installation 300 is arranged on the inside of a main frame 330, and are coupled to keyboard controller 242.
The execution mode of how linking up with basic input/output BIOS about the application A P1 in the processing module 270, for instance, can pass through window management standard (Windows ManagementInstrumentation, WMI) mode is inquired basic input/output BIOS, but be not restrictive condition of the present invention, know this skill person and should understand wherein running, do not repeat them here.
Please note, above-mentioned computer installation 200 is not limited to a desktop PC (desktopPC), also can be a notebook computer, and then main frame 230 comprises other element except keyboard 210, knowing this skill person should understand, and this is not a restrictive condition of the present invention.
Please refer to Fig. 5 and with reference to figure 2 and Fig. 1, Fig. 5 is the rough schematic of an example of keyboard 210 shown in Figure 2, and keyboard 210 has a plurality of buttons 212, wherein, comprises a plurality of hot key F in a plurality of buttons 212 1~F n, wherein, each hot key F 1~F nAll corresponding to a specific scan code SC 1, and each hot key F 1~F nCorrespond respectively to different identification code IDC 1~IDC n, and button A, B, C are not the hot key that sets, wherein, button A is corresponding to specific scan code SC 1, and button B, C correspond respectively to scan code SC 2And SC 3Next, will cooperate each step shown in Figure 1 and each element shown in Figure 2 to illustrate between each element how to operate.
In step 102, set a plurality of hot key F on the keyboard 210 1~F nCorresponding to specific scan code SC 1, and set each hot key F 1~F nCorrespond respectively to different identification code IDC 1~IDC nIn step 104, push the button on the keyboard 210, next, describe in two kinds of situation.Under first kind of situation, this button of being pushed is not to be a hot key (for example button A), so execution in step 106, and keyboard scancode generation module 240 produces the corresponding scan code SC of button A 1, when processing module 270 receives the corresponding scan code SC of the button A that is produced from keyboard scancode generation module 240 1The time, can check whether store these a plurality of identification code (IDC in first storage device 220 1~IDC n) one of them (step 110) since first storage device 220 in do not store identification code (IDC 1~IDC n), then execution in step 112, judge the button A that is pushed be not in these a plurality of hot keys arbitrary hot key (be F 1~F n), and carry out the button pairing incident of A (step 114).Under second kind of situation, suppose that this button of being pushed is hot key F 1, so execution in step 108, keyboard scancode generation module 240 can output hot key F 1Corresponding specific scan code SC 1, and keyboard controller 242 can output hot key F 1Corresponding identification code IDC 1And it is stored in first storage device 220, receive the hot key F that is produced from keyboard scancode generation module 240 when processing module 270 1Corresponding specific scan code SC 1The time, can check whether store these a plurality of identification code (IDC in first storage device 220 1~IDC n) one of them (step 110) since first storage device 220 in store identification code IDC 1, then execution in step 116 is judged the hot key F that is pushed 1Be corresponding specific scan code SC 1Hot key, and carry out hot key F 1Pairing incident (step 118), in addition, judging this button of being pushed at main frame 230 is hot key F 1Afterwards, main frame 230 is removed the identification code IDC that is stored in first storage device 220 in addition 1(step 120).
Certainly, application A P1 in the above-mentioned processing module 270 only is the of the present invention one real example of doing, in other embodiments, can design more function in application A P1, to provide computer installation 200 more to select, for instance, can increase by a comparison function in application A P1, when receiving the corresponding scan code of a button, compare corresponding this scan code of this button and the specific scan code SC that is pushed earlier 1Whether coincide, be specific scan code SC at corresponding this scan code of this button of being pushed only 1The time, the application A P1 in the processing module 270 just can handle above-mentioned determining step, thus, can promote the treatment effeciency that hot key is judged, and reduce first storage device 220 is carried out the unnecessary data search, thereby can further reduce power consumption.
Please refer to Fig. 4, Fig. 4 differentiates the flow chart of another example operation of the method for hot key (hotkey) for the present invention, and it comprises following step:
Step 102: set the corresponding specific scan codes of a plurality of hot keys (scan code) and difference corresponding a plurality of different identification codes (identification code).
Step 104: push the button on the keyboard.If this button of being pushed is a hot key, execution in step 108; Otherwise; Execution in step 106.
Step 106: produce the corresponding one scan sign indicating number of this button.
Step 108: export the corresponding identification code of this specific scan code and this hot key and store this identification code.
Step 410: compare corresponding this scan code of this button and this specific scan code of being pushed.If corresponding this scan code of this button of being pushed is this specific scan code, execution in step 110; Otherwise, execution in step 412.
Step 412: judge that this button is not arbitrary hot key in these a plurality of hot keys.
Step 110: judge that according to one of them that whether stores these a plurality of identification codes whether the button pushed is one of them of these a plurality of hot keys.If when storing in these a plurality of identification codes a specific identification code, execution in step 116; Otherwise, execution in step 112.
Step 112: judge that this button of being pushed is not arbitrary hot key in these a plurality of hot keys.
Step 114: carry out the pairing incident of this button.
Step 116: judge that this button pushed is to a particular hot key that should specific identification code.
Step 118: carry out the pairing incident of this particular hot key.
Step 120: remove this specific identification code of being stored.
The step of Fig. 4 and the step of Fig. 1 are similar, it is the alternate embodiment of Fig. 1, both differences are that Fig. 4 increases a comparison function (being step 410 and step 412) in application A P1 in addition, next, will cooperate each step shown in Figure 4 and each element shown in Figure 2 to illustrate between each element how to operate.
In step 102, set a plurality of hot key F on the keyboard 210 1~F nCorresponding to specific scan code SC 1, and set each hot key F 1~F nCorrespond respectively to different identification code IDC 1~IDC nIn step 104, push the button on the keyboard 210, next, divide several situations to describe.Under first kind of situation, suppose that the button of being pushed is button B, it is non-to be that a hot key and corresponding scan code are SC 2, so execution in step 106, keyboard scancode generation module 240 produces the corresponding scan code SC of button B 2, when processing module 270 receives the corresponding scan code SC of the button B that is produced from keyboard scancode generation module 240 2The time, can be with the corresponding scan code SC of the button B that is pushed 2With specific scan code SC 1Compare (step 410), because both misfit, then execution in step 412, judge that button B is not these a plurality of hot key F 1~F nIn arbitrary hot key.Under second kind of situation, suppose that the button of being pushed is button A, it is non-to be that a hot key and corresponding scan code are SC 1, so execution in step 106, keyboard scancode generation module 240 produces the corresponding scan code SC of button A 1, when processing module 270 receives the corresponding scan code SC of the button A that is produced from keyboard scancode generation module 240 1The time, can be with the corresponding scan code SC of the button A that is pushed 1With specific scan code SC 1Compare (step 410), because both match, then execution in step 110, check whether store these a plurality of identification code (IDC in first storage device 220 1~IDC n) one of them since first storage device 220 in do not store identification code (IDC 1~IDC n), then execution in step 112, judge the button A that is pushed be not in these a plurality of hot keys arbitrary hot key (be F 1~F n), and carry out the button pairing incident of A (step 114).Under the third situation, suppose that this button of being pushed is hot key F 1, so execution in step 108, keyboard scancode generation module 240 can output hot key F 1Corresponding specific scan code SC 1, and keyboard controller 242 can output hot key F 1Corresponding identification code IDC 1And it is stored in first storage device 220, receive the hot key F that is produced from keyboard scancode generation module 240 when processing module 270 1Corresponding specific scan code SC 1The time, can be with the hot key F that is pushed 1Corresponding specific scan code SC 1With specific scan code SC 1Compare (step 410), because both match, then execution in step 110, can check whether store these a plurality of identification code (IDC in first storage device 220 1~IDC n) one of them since first storage device 220 in store identification code IDC 1, then execution in step 116 is judged the hot key F that is pushed 1Be corresponding specific scan code SC 1Hot key, and carry out hot key F 1Pairing incident (step 118), in addition, judging this button of being pushed at main frame 230 is hot key F 1Afterwards, main frame 230 is removed the identification code IDC that is stored in first storage device 220 in addition 1(step 120).
Above-mentioned example is only for being used for illustrating application of the present invention, it is not restrictive condition of the present invention, knowing this skill person should understand, and under spirit of the present invention, all is feasible about the various variations of the application A P1 in the processing module 270.
Above-described embodiment only is used for technical characterictic of the present invention is described, is not to be used for limiting to category of the present invention.Above-mentioned computer installation 200 can be a desktop PC, a notebook computer, but is not limited thereto, and also can be the computer installation of other kind.The processing module of being mentioned in the literary composition 270 can be carried out real work of an application program (application program) AP1 institute by central processing unit 260, but the present invention is not limited thereto, also can do in fact by alternate manner.Moreover above-mentioned processing module 270 only illustrates application of the present invention for being used for, know this skill person and should understand, and under spirit of the present invention, all be feasible about the various variations of the application A P1 in the processing module 270.In one embodiment, second storage device 280 can be one can remove programmable read only memory (erasable programmable read only memory, EPROM) or a flash memory (flashmemory), but only for being used for illustrating one of example of the present invention, but not restrictive condition of the present invention.And first storage device 220 can be an internal memory or a hard disk, but is not limited thereto, and also can be the storage device of other kind.In addition, first storage device 220 can be built-in storage device, perhaps external storage device such as USB walkman, but only example of the present invention is described for being used for, but not restrictive condition of the present invention.The a plurality of hot key F that mentioned in the literary composition 1~F n, its number n is not a fixed numbers, and it can be adjusted according to user's needs.
As from the foregoing, the invention provides a kind of method and related computer apparatus thereof of differentiating hot key, by with a plurality of hot key F 1~F nSet for corresponding to same specific scan code SC 1, and give each hot key F respectively 1~F nDifferent identification code IDC 1~IDC n, whether foundation stores identification code IDC again 1~IDC nOne of them judge whether the button of being pushed is a plurality of hot key F 1~F nOne of them.Note that the identification code IDC in the foregoing description 1~IDC nBe that extra definition and direct the setting are given hot key F 1~F nThat is, when a hot key is pressed, do not need to produce the follow-up required identification code of hot key determining program of carrying out via other mechanism again, so, the disclosed identification code of the present invention has in the prior art of differing from the ASCII character via a keyboard scancode and generation that comparison list is changed, that is, in the present invention, the identification code of each hot key is extra setting, be not by generation that its scan code is changed, therefore, when a hot key is pressed, corresponding scan code and identification code just can be exported simultaneously, and identification code can write to Fig. 2 and first storage device 220 shown in Figure 3,320, however scan code and identification code that the present invention does not limit hot key need output simultaneously, in other embodiments, as long as receive hot key scan code that keyboard scancode generation module 240 is exported and before starting the hot key identification program in Fig. 2 and processing module 270 shown in Figure 3, keyboard controller 242 can output hot key identification code to the first storage devices 220,320, then can reach the purpose of above-mentioned hot key identification equally.In addition, can increase (but being not limited to this) comparison function in the application A P1 of processing module 270, further improve the efficient of judging hot key.Thus, not only the user can set different hot key functions according to the demand of oneself, for manufacturer, also can save time, save cost by on authenticating, and in the consideration of convenience and economy, all is a big Gospel.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to the present patent application claim change and modify, and all should belong to covering scope of the present invention.

Claims (23)

1. method of differentiating hot key, it includes:
Set the corresponding specific scan code of a plurality of hot keys, and set the respectively corresponding a plurality of different identification codes of these a plurality of hot keys, wherein, after each hot key is pressed in these a plurality of hot keys, exports the corresponding identification code of this specific scan code and this hot key and store this identification code;
Judge that according to one of them that whether stores these a plurality of identification codes whether the button pushed is one of them of these a plurality of hot keys; And
If judging this button of being pushed is one of them of these a plurality of hot keys, then after judging, remove this identification code of being stored.
2. the method for claim 1, it includes in addition:
When pushing this button, produce the corresponding one scan sign indicating number of this button;
Wherein, judge that whether this button pushed is that one of them step of these a plurality of hot keys includes:
When receiving corresponding this scan code of this button, inquire that whether this button of a basic input/output is one of them of these a plurality of hot keys; And
This basic input/output detects one of them whether store these a plurality of identification codes and produces a judged result, and whether repay this button that this judged result pushed to inform be one of them of this a plurality of hot keys.
3. method as claimed in claim 2, wherein, the step that this basic input/output is repaid this judged result includes:
In storing these a plurality of identification codes during a specific identification code, judge that this button of being pushed is to a particular hot key that should specific identification code; And
When not storing arbitrary identification code, judge that this button of being pushed is not arbitrary hot key in these a plurality of hot keys.
4. judge the method for claim 1, wherein that whether this button pushed is that one of them step of these a plurality of hot keys includes:
In storing these a plurality of identification codes during a specific identification code, judge that this button of being pushed is to a particular hot key that should specific identification code; And
When not storing arbitrary identification code, judge that this button of being pushed is not arbitrary hot key in these a plurality of hot keys.
5. the method for claim 1, it comprises in addition:
When pushing this button, produce the corresponding one scan sign indicating number of this button;
Compare corresponding this scan code of this button and this specific scan code of being pushed; And
When corresponding this scan code of this button of being pushed is not this specific scan code, judge that this button is not arbitrary hot key in these a plurality of hot keys;
Wherein, judge that whether this button pushed is that one of them step of these a plurality of hot keys is to work as when corresponding this scan code of this button of being pushed is this specific scan code just to carry out.
6. method of differentiating hot key, it includes:
Set at least one hot key, it has a specific scan code and an identification code, and wherein, this identification code is pre-defined, and after this hot key is pressed, exports this specific scan code and this identification code and store this identification code;
Whether foundation stores this identification code is judged whether a button of being pushed is this hot key; And
After judging this hot key, remove this identification code of being stored.
7. method as claimed in claim 6, it includes in addition:
When pushing this button, produce the corresponding one scan sign indicating number of this button;
Wherein, judge that whether this button pushed is that the step of this hot key includes:
When receiving corresponding this scan code of this button, inquire whether this button of a basic input/output is this hot key; And
This basic input/output detects and whether stores this identification code and produces a judged result, and repays whether this button that this judged result pushed to inform is this hot key.
8. method as claimed in claim 7, wherein, the step that this basic input/output is repaid this judged result includes:
When storing this identification code, judge that this button of being pushed is this hot key; And
When not storing this identification code, judge that this button of being pushed is not this hot key.
9. method as claimed in claim 6, wherein, judge that whether this button pushed is that the step of this hot key includes:
When storing this identification code, judge that this button of being pushed is this hot key; And
When not storing this identification code, judge that this button of being pushed is not this hot key.
10. method as claimed in claim 6, it comprises in addition:
When pushing this button, produce the corresponding one scan sign indicating number of this button;
Compare corresponding this scan code of this button and this specific scan code of being pushed; And
When corresponding this scan code of this button of being pushed is not this specific scan code, judge that this button is not this hot key;
Wherein, judge that whether this button pushed is that the step of this hot key is to work as when corresponding this scan code of this button of being pushed is this specific scan code just to carry out.
11. a computer installation, it includes:
One first storage device;
One keyboard, this keyboard has a plurality of buttons, wherein, comprise corresponding specific scan code of a plurality of hot keys and the corresponding a plurality of different identification codes of difference in these a plurality of buttons, wherein, after each hot key was pressed in these a plurality of hot keys, the corresponding identification code of this specific scan code and this hot key can be output and this identification code can write to this first storage device; And
One main frame is coupled to this keyboard and this first storage device, is used for judging that according to one of them that whether stores these a plurality of identification codes in this first storage device whether the button pushed on this keyboard is one of them of these a plurality of hot keys.
12. computer installation as claimed in claim 11, wherein, this main frame includes:
One keyboard scancode generation module is coupled to this keyboard, is used for when this button is pressed, and produces the corresponding one scan sign indicating number of this button;
One second storage device is coupled to this first storage device, stores a basic input/output; And
One processing module, be coupled to this keyboard scancode generation module and this second storage device, be used for when receiving corresponding this scan code of this button from this keyboard scancode generation module, inquire that whether this button of this basic input/output is one of them of these a plurality of hot keys, wherein, this basic input/output detects one of them whether store these a plurality of identification codes and produces a judged result, and whether repay this button that this judged result to this processing module pushed to inform be one of them of this a plurality of hot keys.
13. computer installation as claimed in claim 12, wherein, when this basic input/output detected in these a plurality of identification codes a specific identification code in this first storage device, this basic input/output judged that this button of being pushed is to produce this judged result to a particular hot key that should specific identification code; And when this basic input/output does not detect arbitrary identification code in this first storage device, this basic input/output judge this button of being pushed be not in these a plurality of hot keys arbitrary hot key to produce this judged result.
14. computer installation as claimed in claim 12, wherein, this processing module is to carry out the real work of application program institute by a central processing unit.
15. computer installation as claimed in claim 12, wherein, this first storage device is arranged on the inside of this second storage device.
16. computer installation as claimed in claim 11, wherein, when this main frame detected in these a plurality of identification codes a specific identification code in this first storage device, this main frame judged that this button of being pushed is to a particular hot key that should specific identification code; And when this main frame did not detect arbitrary identification code in this first storage device, this main frame judged that this button of being pushed is not arbitrary hot key in these a plurality of hot keys.
17. computer installation as claimed in claim 16, wherein, judging this button of being pushed at this main frame is that this main frame is removed this specific identification code of being stored in this first storage device in addition to after should this particular hot key of specific identification code.
18. computer installation as claimed in claim 11, wherein, this main frame includes:
One keyboard scancode generation module is coupled to this keyboard, is used for when this button is pressed, and produces the corresponding one scan sign indicating number of this button;
One processing module, be coupled to this keyboard scancode generation module, be used for corresponding this scan code of this button and this specific scan code that comparison pushes, wherein, when corresponding this scan code of this button of being pushed is not this specific scan code, this processing module judges that this button is not arbitrary hot key in these a plurality of hot keys, and work as corresponding this scan code of this button of being pushed when being this specific scan code, this processing module just judges that according to one of them that whether stores these a plurality of identification codes in this first storage device whether this button of being pushed on this keyboard is one of them of these a plurality of hot keys.
19. computer installation as claimed in claim 18, wherein, this processing module is to carry out the real work of application program institute by a central processing unit.
20. a computer installation, it includes:
One keyboard has a plurality of buttons, wherein, comprises corresponding specific scan code of a plurality of hot keys and the corresponding a plurality of different identification codes of difference in these a plurality of buttons;
One keyboard controller after the hot key in these a plurality of hot keys is pressed, is exported the corresponding identification code of this specific scan code and this hot key;
One first storage device is used to store this identification code; And
One processing module is used for judging according to whether storing this identification code in this first storage device whether a button of being pushed on this keyboard is this hot key.
21. computer installation as claimed in claim 20, wherein, this processing module is carried out an application program linking up with a basic input/output, and detects this identification code that this first storage device is stored by this basic input/output.
22. a computer installation, it includes:
One keyboard controller after a hot key is pressed, is exported the corresponding identification code of a specific scan code and this hot key;
One first storage device is used to store this identification code; And
One central processing unit according to this specific scan code, is carried out an application program and is inquired about this first storage device and whether store this identification code, if then this central processing unit is carried out the pairing function of this hot key.
23. computer installation as claimed in claim 22, wherein, this central processing unit is carried out this application program linking up with a basic input/output, and inquires about the data that this first storage device is stored by this basic input/output.
CN2007101411063A 2007-08-08 2007-08-08 Method for determining hot-key and related computer apparatus thereof Active CN101364808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101411063A CN101364808B (en) 2007-08-08 2007-08-08 Method for determining hot-key and related computer apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101411063A CN101364808B (en) 2007-08-08 2007-08-08 Method for determining hot-key and related computer apparatus thereof

Publications (2)

Publication Number Publication Date
CN101364808A CN101364808A (en) 2009-02-11
CN101364808B true CN101364808B (en) 2010-11-24

Family

ID=40391008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101411063A Active CN101364808B (en) 2007-08-08 2007-08-08 Method for determining hot-key and related computer apparatus thereof

Country Status (1)

Country Link
CN (1) CN101364808B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI438454B (en) * 2011-12-22 2014-05-21 Wistron Corp Keyboard automatic test method and keyboard automatic test system using the same

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5333273A (en) * 1990-11-09 1994-07-26 Ast Research, Inc. Protected hot key function for microprocessor-based computer system
US5935225A (en) * 1996-09-13 1999-08-10 Silitek Corporation Method for expanding hot keys on a keyboard
JP2002099403A (en) * 2000-09-25 2002-04-05 Toshiba Corp Computer system and display-unit switching method
US20050035949A1 (en) * 2003-08-14 2005-02-17 International Business Machines Corporation Method, apparatus and computer program product for providing keyboard assistance to a software application user
CN1716166A (en) * 2004-06-30 2006-01-04 技嘉科技股份有限公司 Method and device for setting computer input operation signal
CN1957420A (en) * 2004-05-27 2007-05-02 比茨可茨株式会社 Contents index structure, and method and apparatus for demanding contents using the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5333273A (en) * 1990-11-09 1994-07-26 Ast Research, Inc. Protected hot key function for microprocessor-based computer system
US5935225A (en) * 1996-09-13 1999-08-10 Silitek Corporation Method for expanding hot keys on a keyboard
JP2002099403A (en) * 2000-09-25 2002-04-05 Toshiba Corp Computer system and display-unit switching method
US20050035949A1 (en) * 2003-08-14 2005-02-17 International Business Machines Corporation Method, apparatus and computer program product for providing keyboard assistance to a software application user
CN1957420A (en) * 2004-05-27 2007-05-02 比茨可茨株式会社 Contents index structure, and method and apparatus for demanding contents using the same
CN1716166A (en) * 2004-06-30 2006-01-04 技嘉科技股份有限公司 Method and device for setting computer input operation signal

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CN 1716166 A,全文.
小红.改变热启动组合键.电脑技术 10.1995,(10),31-32.
小红.改变热启动组合键.电脑技术 10.1995,(10),31-32. *

Also Published As

Publication number Publication date
CN101364808A (en) 2009-02-11

Similar Documents

Publication Publication Date Title
CN102541603B (en) A kind of application program launching method, system and terminal device
CN103412769A (en) External card parameter configuration method, equipment and system
TWI529535B (en) Resource sharing devices
CN103116402B (en) There is computer system and the sound control method of voice control function
US20130166895A1 (en) Electronic device and method for setting boot parameters
CN102034083A (en) Method for identifying bar code
CN101364178A (en) Executing method and management method of BIOS while starting up for computer
CN103593281A (en) Test system and test method
US20050044296A1 (en) Method and apparatus for implementing hot key functions
US9696823B2 (en) Computer and method for sharing input device thereof
US8760321B2 (en) Method for detecting and processing key scan codes of computer keyboard
CN101364808B (en) Method for determining hot-key and related computer apparatus thereof
US20090070491A1 (en) Method for executing target programs with compound quick keys
TWI395116B (en) Notebook computer and keyboard controller thereof
US20130159688A1 (en) Electronic device and method of setting removal policy of usb device
CN101859307B (en) Kvm switch for switching among computers by employing mouse movement, computer system and document searching method
US7961118B2 (en) Method for differentiating hotkeys and computer apparatus thereof
US20080074294A1 (en) System for controlling keyboard
US7543222B2 (en) System and method for checking BIOS ROM data
US9152429B2 (en) Computer system having a near field communication tag with user identification function
CN101635572A (en) Notebook computer and keyboard controller thereof
CN101369816A (en) Press key distinguishing method and its related computer equipment
CN101887372B (en) Computer mainboard with built-in configuration display functions in basic input/output system
US20090040078A1 (en) Method for differentiating keys and related computer apparatus
CN103716359A (en) Storage apparatus and related control method thereof

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