CN101369816A - Press key distinguishing method and its related computer equipment - Google Patents

Press key distinguishing method and its related computer equipment Download PDF

Info

Publication number
CN101369816A
CN101369816A CNA2007101410874A CN200710141087A CN101369816A CN 101369816 A CN101369816 A CN 101369816A CN A2007101410874 A CNA2007101410874 A CN A2007101410874A CN 200710141087 A CN200710141087 A CN 200710141087A CN 101369816 A CN101369816 A CN 101369816A
Authority
CN
China
Prior art keywords
application program
scan code
layer application
processing module
button
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
CNA2007101410874A
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.)
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 CNA2007101410874A priority Critical patent/CN101369816A/en
Publication of CN101369816A publication Critical patent/CN101369816A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

A key-press discrimination method includes the steps of setting a first layer application program and a second layer application program; detecting whether the second layer application program being executed or not to generate a detection result when receiving a scanning code corresponding to a key-press; and using the first layer or the second layer application program selectively, to judge the corresponding event of the scanning code based on the detection result.

Description

Press key distinguishing method and related computer apparatus thereof
Technical field
The present invention relates to the method and the related computer apparatus thereof of press key distinguishing, particularly a kind ofly optionally use a ground floor application program or this second layer application program to judge the method and the related computer apparatus thereof of the pairing incident of one scan sign indicating number in whether carrying out by detecting a second layer application program.
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 next scan code of the undefined scan code of other Microsoft as 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 press key distinguishing, to solve the above problems.
The present invention discloses a kind of method of press key distinguishing, and it comprises: set a ground floor application program and a second layer application program; When receiving the one scan sign indicating number of a corresponding button, detect this second layer application program and produce a testing result in whether carrying out; And optionally use this ground floor application program or this second layer application program to judge the pairing incident of this scan code according to this testing result.Wherein, when this testing result is indicated in this second layer application program execution, use this ground floor application program that this scan code is sent to this second layer application program, and use this second layer application program to carry out this scan code defined corresponding incident in this second layer application program; When this testing result indicate this second layer application program do not carry out in the time, use this ground floor application program to carry out this scan code defined corresponding incident in this ground floor application program.
The present invention also discloses a kind of computer installation, and it comprises a keyboard and a main frame.This keyboard has at least one button.This main frame is coupled to this keyboard, this main frame includes a ground floor application program and a second layer application program, wherein, when receiving to one scan sign indicating number that should button, this main frame detects this second layer application program and produces a testing result in whether carrying out, and optionally uses this ground floor application program or this second layer application program to judge the pairing incident of this scan code according to this testing result.
In one embodiment, this main frame comprises a keyboard scancode generation module, one first processing module and one second processing module.This keyboard scancode generation module is coupled to this keyboard, is used for when this button is pressed, and produces corresponding this scan code of this button.This first processing module is coupled to this keyboard scancode generation module, be used for when receiving corresponding this scan code of this button from this keyboard scancode generation module, checks whether this second layer application program is carried out.This second processing module is coupled to this first processing module, wherein, when this first processing module detects in this second layer application program execution, this first processing module is sent to this second processing module with this scan code, and this second processing module is carried out this scan code defined corresponding incident in this second layer application program.
In one embodiment, this first processing module is to carry out this real work of ground floor application program institute by a central processing unit, and this second processing module is to carry out this second layer application program institute by this central processing unit to do in fact.
The present invention also discloses a kind of computer installation, and it comprises a keyboard, a keyboard controller, one first processing module and one second processing module.This keyboard has at least one button.This keyboard controller produces one scan sign indicating number that should button when pushing this button.This first processing module is used for when receiving corresponding this scan code of this button, in checking whether a second layer application program is carried out, and when detecting this second layer application program and do not carry out, this first processing module is carried out this scan code defined corresponding incident in a ground floor application program.This second processing module is used for when this first processing module detects in this second layer application program execution, this first processing module is sent to this second processing module with this scan code, and this second processing module is carried out this scan code defined corresponding incident in this second layer application program.
Description of drawings
Fig. 1 is the flow chart of an example operation of the method for press key distinguishing of the present invention.
Fig. 2 differentiates the schematic diagram of an embodiment of the computer installation of button for the present invention.
Fig. 3 differentiates the schematic diagram of another embodiment of the computer installation of button for the present invention.
Fig. 4 is the rough schematic of an example of keyboard shown in Figure 2.
Fig. 5 differentiates the flow chart of another example operation of the method for button for the present invention.
The reference numeral explanation
200,300 computer installations
210 keyboards
212 buttons
230,330 main frames
240 keyboard scancode generation modules
242 keyboard controller
244 South Bridge chips
250 north bridge chips
260 central processing units
270 first processing modules
280 second processing modules
370 processing modules
AP1 ground floor application program
AP2 second layer application program
102~114,410~412 steps
SC 1Scan code
SC D1~SC DnSpecific scan code
F 1~F nParticular hot key.
Embodiment
Please refer to Fig. 1, Fig. 1 differentiates the flow chart of an example operation of the method for button for the present invention, and 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 a ground floor application program and a second layer application program.
Step 104: push the button on the keyboard.
Step 106: produce to one scan sign indicating number that should button.
Step 108: detect during whether this second layer application program carry out.During if this second layer application program is carried out, execution in step 112; Otherwise, execution in step 110.
Step 110: use this ground floor application program to carry out this scan code defined corresponding incident in this ground floor application program.
Step 112: use this ground floor application program that this scan code is sent to this second layer application program.
Step 114: use this second layer application program to carry out this scan code defined corresponding incident in this second layer application program.
Please refer to Fig. 2, Fig. 2 differentiates the schematic diagram of an embodiment of the computer installation 200 of button for the present invention.Computer installation 200 comprises a keyboard 210 and a main frame 230, wherein, keyboard 210 is coupled to main frame 230, keyboard 210 has at least one button, wherein, comprise a plurality of hot keys (please refer to after Fig. 4) in the described button, described hot key is corresponding to a plurality of specific scan codes (SC for example D1~SC Dn).Main frame 230 is coupled to keyboard 210, and include a ground floor application A P1 and a second layer application A P2, when the one scan sign indicating number that receives corresponding to a button, produce a testing result during whether main frame 230 meeting detection second layer application A P2 carry out, and optionally use ground floor application A P1 or second layer application A P2 to judge the pairing incident of this scan code according to this testing result.Please note, " main frame " that this case is censured is the set that is coupled to the computer components of keyboard 210, and in fact not limiting keyboard 210 needs to separate with main frame, that is, keyboard 210 also can integrate or in be built in the main frame 230, also be subordinate to category of the present invention.About the function mode of keyboard 210 embodiment is below described in detail with ground floor application A P1, second layer application A P2.
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, one first processing module 270 and one second processing module 280.Keyboard scancode generation module 240 is coupled to keyboard 210, be used for (the hot key for example of a button on the keyboard 210, yet please note, hierarchy type press key distinguishing mechanism of the present invention does not limit hot key) when being pressed, produce the corresponding one scan sign indicating number of this button (scan code), wherein, keyboard scancode generation module 240 comprises a keyboard controller (keyboard controller, 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 first processing module 270.And north bridge chips 250 is to be used for connecting 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.In the present embodiment, first processing module 270 is coupled to keyboard scancode generation module 240, it comprises ground floor application A P1, when receive from keyboard scancode generation module 240 produced corresponding to this scan code of this button the time, during first processing module 270 can check whether second layer application A P2 carries out, in addition, second processing module 280 is coupled to first processing module 270, and it comprises second layer application A P2.When first processing module 270 detects in the second layer application A P2 execution, first processing module 270 can be sent to this scan code second processing module 280 and handle, and then second processing module 280 can be carried out this scan code defined corresponding incident in second layer application A P2; On the other hand, when first processing module detect second layer application A P2 do not carry out in the time, then first processing module 270 can be carried out these scan codes defined corresponding incident in ground floor application A P1.Function mode about keyboard scancode generation module 240, first processing module 270 and second processing module 280 will further describe in the following embodiments.
Please note, the first above-mentioned processing module 270 can be carried out ground floor application A P1 (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, and second processing module 280 can be carried out real work of second layer application A P2 institute by central processing unit 260, but the present invention is not limited thereto, also can do in fact by alternate manner, for instance, first processing module 270, second processing module 280 can make up in addition real the work via hardware, software or its.
Please refer to Fig. 3, Fig. 3 differentiates the schematic diagram of another embodiment of the computer installation 300 of button for the present invention.Computer installation 300 shown in Figure 3 is similar with computer installation 200 shown in Figure 2, both differences are that a processing module 370 of computer installation 300 includes ground floor application A P1 and second layer application A P2, to replace first processing module 270 shown in Figure 2 and second processing module 280.When receive from keyboard scancode generation module 240 produced corresponding to this scan code of this button the time, during processing module 370 can check whether second layer application A P2 carries out, when detect second layer application A P2 do not carry out in the time, processing module 370 can be carried out these scan codes defined corresponding incident in ground floor application A P1.
Please note, above-mentioned processing module 370 can be carried out real work of ground floor application A P1 and second layer application A P2 institute 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 370 can make up in addition real the work via hardware, software or its.In addition, ground floor application A P1 and second layer application A P2 are installed in the operating system (operating system).
Please note, above-mentioned computer installation 200,300 is not limited to a desktop PC (desktop PC), also can be a notebook computer, then main frame 230,330 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. 4 and in the lump with reference to figure 2 and Fig. 1, Fig. 4 is the rough schematic of an example of keyboard 210 shown in Figure 2.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, and each hot key F 1~F nAll be corresponding to different specific scan code SC D1~SC Dn, and button A is not the hot key that sets, button A is corresponding to scan code SC 1Next, 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 ground floor application A P1 and second layer application A P2.At first, push the button on the keyboard 210, then keyboard scancode generation module 240 can produce the one scan sign indicating number (step 104~106) of this button.When first processing module 270 receives pairing this scan code of this button, can detect second layer application A P2 whether carry out in (step 108), next, describe in two kinds of situation.Under first kind of situation, if first processing module 270 detect second layer application A P2 do not carry out in the time, can use ground floor application A P1 to carry out this scan code defined corresponding incident (step 110) in ground floor application A P1, for example this scan code is to be defined as " unlatching mailbox " in ground floor application A P1.Under second kind of situation, when if first processing module 270 detects in the second layer application A P2 execution, can use ground floor application A P1 that this scan code is sent to second layer application A P2 (step 112), then, second processing module 280 can use second layer application A P2 to carry out this scan code defined corresponding incident in second layer application A P2, and for example this scan code is to be defined as " playing back music " in second layer application A P2.In the present embodiment, this scan code that this button produced is fixed, but this scan code is different with defined corresponding incident in second layer application A P2 in ground floor application A P1, therefore in the time of in second layer application A P2 does not carry out, can use ground floor application A P1 to carry out this scan code defined corresponding incident (i.e. " unlatching mailbox ") in ground floor application A P1, and in second layer application A P2 carries out the time, then can use second layer application A P2 to carry out this scan code defined corresponding incident (i.e. " playing back music ") in second layer application A P2.
Certainly, ground floor application A P1 in above-mentioned first processing module 270, the second layer application A P2 in second processing module 280 only are the of the present invention one real example of doing, in other embodiments, can design more function in ground floor application A P1, so that being provided, computer installation 200 more selects, for instance, can increase by a comparison function in ground floor application A P1, and when receiving the corresponding scan code of a button, compare corresponding this scan code of this button and the defined hot key F that is pushed earlier 1~F nSpecific scan code SC D1~SC DnOne of them whether coincide, be specific scan code SC only at corresponding this scan code of this button of being pushed D1~SC DnOne of them the time, the ground floor application A P1 in first processing module 270 just can handle above-mentioned determining step, thus, can promote the treatment effeciency that button is judged, and can further reduce power consumption.
Please refer to Fig. 5, Fig. 5 differentiates the flow chart of another example operation of the method for button for the present invention, and 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 5):
Step 102: set a ground floor application program and a second layer application program.
Step 104: push the button on the keyboard.
Step 106: produce to one scan sign indicating number that should button.
Step 410: relatively pairing this scan code of this button and a particular hot key pairing one specific scan code.
Step 412: judge that this button is not this particular hot key.
Step 108: detect during whether this second layer application program carry out.During if this second layer application program is carried out, execution in step 112; Otherwise, execution in step 110.
Step 110: use this ground floor application program to carry out this scan code defined corresponding incident in this ground floor application program.
Step 112: use this ground floor application program that this scan code is sent to this second layer application program.
Step 114: use this second layer application program to carry out this scan code defined corresponding incident in this second layer application program.
The step of Fig. 5 and the step of Fig. 1 are similar, it is the alternate embodiment of Fig. 1, both differences are that Fig. 5 increases a comparison function (being step 410 and step 412) in ground floor application A P1 in addition, next, will cooperate each step shown in Figure 5 and each element shown in Figure 2 to illustrate between each element how to operate.
In step 102, set ground floor application A P1 and second layer application A P2.At first, push the button on the keyboard 210, then keyboard scancode generation module 240 can produce the one scan sign indicating number (step 104~106) of this button.When first processing module 270 received pairing this scan code of this button, relatively pairing this scan code of this button and a particular hot key (were F 1~F nOne of them) pairing one specific scan code (is SC D1~SC DnOne of them) whether identical (step 410), next, divide several situations to describe.Under first kind of situation, suppose that the button of being pushed is button A, its pairing scan code is SC 1, when first processing module 270 receives the pairing scan code SC of the button A that is produced from keyboard scancode generation module 240 1The time, can be with the pairing scan code SC of the button A that is pushed 1With specific scan code SC D1~SC DnCompare (step 410), because the pairing scan code SC of button A 1And nonspecific scan code SC D1~SC DnOne of them, therefore, execution in step 412 judges that button A is not these a plurality of particular hot key F 1~F nIn arbitrary particular hot key.Under second kind of situation, suppose that the button of being pushed is particular hot key F 1And this moment, second layer application A P2 did not carry out, when first processing module 270 receives the particular hot key F that is produced from keyboard scancode generation module 240 1Pairing scan code SC D1The time, can be with the particular hot key F that is pushed 1Pairing scan code SC 1With specific scan code SC D1~SC DnCompare (step 410), because both coincide, therefore during whether execution in step 108 is carried out with detection second layer application A P2, because first processing module 270 detects during second layer application A P2 do not carry out, therefore use ground floor application A P1 to carry out this scan code defined corresponding incident (step 110) in ground floor application A P1, for example this scan code is defined as " unlatching mailbox " in ground floor application A P1.Under the third situation, suppose that the button of being pushed is particular hot key F 1And this moment, second layer application A P2 was in carrying out, when first processing module 270 receives the particular hot key F that is produced from keyboard scancode generation module 240 1Pairing scan code SC D1The time, can be with the particular hot key F that is pushed 1Pairing scan code SC 1With specific scan code SC D1~SC DnCompare (step 410), because both coincide, therefore during whether execution in step 108 is carried out with detection second layer application A P2, because it is in carrying out that first processing module 270 detects second layer application A P2, institute is so that use ground floor application A P1 that this scan code is sent to second layer application A P2 (step 112), then, second processing module 280 can use second layer application A P2 to carry out this scan code defined corresponding incident in second layer application A P2, and for example this scan code is to be defined as " playing back music " in second layer application A P2.
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, under spirit of the present invention, all be feasible about the various variations of the second layer application A P2 in the ground floor application A P1 in first processing module 270 and second processing module 280.
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,300 can be a desktop PC, a mobile computer, but is not limited thereto, and also can be the computer installation of other kind.First processing module of being mentioned in the literary composition 270 can be carried out real work of ground floor application program (application program) AP1 institute by central processing unit 260, and second processing module 280 can be carried out real work of second layer application A P2 institute by central processing unit 260, perhaps processing module 370 can be carried out real work of ground floor application A P1 and second layer application A P2 institute by central processing unit 260, but the present invention is not limited thereto, also can do in fact by alternate manner.Moreover, the first above-mentioned processing module 270, second processing module 280 are only for being used for illustrating application of the present invention, knowing this skill person should understand, under spirit of the present invention, all be feasible about the ground floor application A P1 in first processing module 270, second processing module 280, the various variations of second layer application A P2.The a plurality of particular 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.Note that the step and non-limiting will the execution of above-mentioned flow process,, know this skill person and should have to change under spirit of the present invention according to the order shown in the embodiment.
As from the foregoing, the invention provides a kind of method and related computer apparatus thereof of differentiating button, by setting ground floor application A P1 and second layer application A P2, though same particular hot key (F 1~F n) the specific scan code that produced is identical, but this specific scan code is different with defined corresponding incident in second layer application A P2 in ground floor application A P1, therefore, in the time of in second layer application A P2 does not carry out, can use ground floor application A P1 to carry out this scan code defined corresponding incident (i.e. " unlatching mailbox ") in ground floor application A P1, but, in the time of in second layer application A P2 carries out, can use second layer application A P2 to carry out this scan code defined corresponding incident (i.e. " playing back music ") in second layer application A P2, in other words, suppose the keyboard hot key that keyboard manufacturers produces (F for example 1~F n) by Microsoft certification, and ground floor application A P1 is the hot key function that is used for carrying out through Microsoft certification, yet hierarchy type press key distinguishing mechanism of the present invention provides a second layer application A P2 to be used for replacing ground floor application A P1 with at the scan code of same keyboard hot key and other hot key function is provided in addition.In addition, can increase (but being not limited to this) comparison function in the ground floor application A P1 of first 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 (17)

1. press key distinguishing method includes:
Set a ground floor application program and a second layer application program;
When receiving the one scan sign indicating number of a corresponding button, detect this second layer application program and produce a testing result in whether carrying out; And
Optionally use this ground floor application program or this second layer application program to judge the pairing incident of this scan code according to this testing result.
2. the step that the method for claim 1, wherein produces this testing result comprises: carry out this ground floor application program and receive this scan code and detect during whether this second layer application program carry out;
And
The step of judging the pairing incident of this scan code comprises:
When this testing result is indicated in this second layer application program execution, use this ground floor application program that this scan code is sent to this second layer application program, and use this second layer application program to carry out this scan code defined corresponding incident in this second layer application program.
3. the step that the method for claim 1, wherein produces this testing result comprises: carry out this ground floor application program and receive this scan code and detect during whether this second layer application program carry out;
And
The step of judging the pairing incident of this scan code comprises:
When this testing result indicate this second layer application program do not carry out in the time, use this ground floor application program to carry out this scan code defined corresponding incident in this ground floor application program.
4. the method for claim 1, wherein this scan code defined corresponding incident in this second layer application program is different incidents with defined corresponding incident in this ground floor application program.
5. the method for claim 1, wherein this button is a particular hot key.
6. the method for claim 1, it comprises in addition:
Relatively pairing this scan code of this button and a particular hot key pairing one specific scan code;
Wherein, whether executory step is just to carry out when this scan code is this specific scan code to detect this second layer application program.
7. computer installation, it includes:
One keyboard has at least one button; And
One main frame, be coupled to this keyboard, this main frame includes a ground floor application program and a second layer application program, and when receiving to one scan sign indicating number that should button, this main frame detects this second layer application program and produces a testing result in whether carrying out, and optionally uses this ground floor application program or this second layer application program to judge the pairing incident of this scan code according to this testing result.
8. computer installation as claimed in claim 7, wherein, this main frame comprises:
One keyboard scancode generation module is coupled to this keyboard, is used for when this button is pressed, and produces corresponding this scan code of this button;
One first processing module is coupled to this keyboard scancode generation module, be used for when receiving corresponding this scan code of this button from this keyboard scancode generation module, checks whether this second layer application program is carried out; And
One second processing module, be coupled to this first processing module, wherein, when this first processing module detects in this second layer application program execution, this first processing module is sent to this second processing module with this scan code, and this second processing module is carried out this scan code defined corresponding incident in this second layer application program.
9. computer installation as claimed in claim 8, this first processing module are to carry out this real work of ground floor application program institute by a central processing unit, and this second processing module is to carry out this second layer application program institute by this central processing unit to do in fact.
10. computer installation as claimed in claim 7, wherein, this main frame comprises:
One keyboard scancode generation module is coupled to this keyboard, is used for when this button is pressed, and produces corresponding this scan code of this button;
One processing module, be coupled to this keyboard scancode generation module, be used for when receiving corresponding this scan code of this button from this keyboard scancode generation module, in checking whether this second layer application program is carried out, and when detect this second layer application program do not carry out in the time, carry out this scan code defined corresponding incident in this ground floor application program.
11. computer installation as claimed in claim 10, wherein, this processing module is to carry out the real work of this ground floor application program and this second layer application program institute by a central processing unit.
12. computer installation as claimed in claim 7, wherein, this ground floor application program and this second layer application program are installed in the operating system.
13. computer installation as claimed in claim 7, wherein, this button is a particular hot key.
14. computer installation as claimed in claim 7, wherein, this main frame comprises:
One keyboard scancode generation module is coupled to this keyboard, is used for when this button is pressed, and produces corresponding this scan code 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 a particular hot key pairing one specific scan code that comparison pushes, wherein, when corresponding this scan code of this button of being pushed is this specific scan code, this processing module can check just this second layer application program produces this testing result in whether carrying out, and according to this testing result optionally carry out this scan code the defined corresponding incident of this ground floor application program or in this second layer application program defined corresponding incident.
15. computer installation as claimed in claim 14, wherein, this processing module is to carry out the real work of this ground floor application program and this second layer application program institute by a central processing unit.
16. a computer installation, it includes:
One keyboard has at least one button;
One keyboard controller when pushing this button, produces one scan sign indicating number that should button;
One first processing module, be used for when receiving corresponding this scan code of this button, in checking whether a second layer application program is carried out, and when detecting this second layer application program and do not carry out, this first processing module is carried out this scan code defined corresponding incident in a ground floor application program; And
One second processing module, be used for when this first processing module detects in this second layer application program execution, this first processing module is sent to this second processing module with this scan code, and this second processing module is carried out this scan code defined corresponding incident in this second layer application program.
17. computer installation as claimed in claim 16, wherein, this first processing module is to carry out this real work of ground floor application program institute by a central processing unit, and this second processing module is to carry out this second layer application program institute by this central processing unit to do in fact.
CNA2007101410874A 2007-08-16 2007-08-16 Press key distinguishing method and its related computer equipment Pending CN101369816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101410874A CN101369816A (en) 2007-08-16 2007-08-16 Press key distinguishing method and its related computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101410874A CN101369816A (en) 2007-08-16 2007-08-16 Press key distinguishing method and its related computer equipment

Publications (1)

Publication Number Publication Date
CN101369816A true CN101369816A (en) 2009-02-18

Family

ID=40413482

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101410874A Pending CN101369816A (en) 2007-08-16 2007-08-16 Press key distinguishing method and its related computer equipment

Country Status (1)

Country Link
CN (1) CN101369816A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866114A (en) * 2014-02-24 2015-08-26 联想(北京)有限公司 Hardware button control method and device and electronic equipment
CN113885712A (en) * 2021-09-29 2022-01-04 联想(北京)有限公司 Information processing method and device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866114A (en) * 2014-02-24 2015-08-26 联想(北京)有限公司 Hardware button control method and device and electronic equipment
CN104866114B (en) * 2014-02-24 2017-12-29 联想(北京)有限公司 A kind of hardware button control method, device and electronic equipment
CN113885712A (en) * 2021-09-29 2022-01-04 联想(北京)有限公司 Information processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US20080198044A1 (en) Computer and method for processing keyboard input thereof
TWI312124B (en) Electronic device and its keyboard system and key status detecting method thereof
US20050044296A1 (en) Method and apparatus for implementing hot key functions
CN101276244A (en) Electronic apparatus and key pressing determination method
CN104317417A (en) Key and mouse smooth switching method, device and system
CN103631500A (en) Mobile device and rousing method
CN101369816A (en) Press key distinguishing method and its related computer equipment
CN104571531A (en) Method and device for unlocking touch plate
CN101488042B (en) User interface of portable apparatus and its operation method
CN102236513B (en) Electronic device and multi-window control method thereof
TWI431508B (en) Method for testing keyboard
CN102147685A (en) Device and method for detecting capacitive touch panel
CN102073616A (en) Personal computer system and operation method thereof for multiple outputs
CN102033686A (en) Electronic device and touch type item menu control method thereof
CN102999382A (en) Electronic device and switching method thereof
CN101364808B (en) Method for determining hot-key and related computer apparatus thereof
CN102650907B (en) Method and device for replacing Fn key with combination key to execute device function
CN101751205A (en) Power management method for electronic device and related device thereof
CN101246393B (en) Computer device and keyboard input operation method
CN101398761B (en) Method and device for selecting startup of computer system
CN101551725A (en) Touch pad testing device and method utilizing the device to test touch pad
US7961118B2 (en) Method for differentiating hotkeys and computer apparatus thereof
US20040093490A1 (en) Method for activating a computer system audio player with hot key
CN101369300B (en) Computer authentication method and software and hardware using the same
KR20070047543A (en) Apparatus and method for setting multi-display 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090218