CN102314356A - Electronic equipment and key mapping matrix processing method - Google Patents

Electronic equipment and key mapping matrix processing method Download PDF

Info

Publication number
CN102314356A
CN102314356A CN2010102260683A CN201010226068A CN102314356A CN 102314356 A CN102314356 A CN 102314356A CN 2010102260683 A CN2010102260683 A CN 2010102260683A CN 201010226068 A CN201010226068 A CN 201010226068A CN 102314356 A CN102314356 A CN 102314356A
Authority
CN
China
Prior art keywords
mapping matrix
key position
position mapping
version
key
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.)
Granted
Application number
CN2010102260683A
Other languages
Chinese (zh)
Other versions
CN102314356B (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.)
Lenovo Shanghai Electronics Technology Co Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201010226068.3A priority Critical patent/CN102314356B/en
Publication of CN102314356A publication Critical patent/CN102314356A/en
Application granted granted Critical
Publication of CN102314356B publication Critical patent/CN102314356B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention provides electronic equipment and a key mapping matrix processing method. The electronic equipment comprises a keyboard with a plurality of keys, a storage module, an acquisition module and a processing module, wherein the storage module is used for storing a first edition key mapping matrix and a second edition key mapping matrix corresponding to the plurality of keys of the keyboard, the first key in the plurality of keys corresponds to a first key value in the first edition key mapping matrix and corresponds to a second key value in the second edition key mapping matrix, and the first key value is different from the second key value; the acquisition module is used for acquiring a switch instruction; and the processing module is used for switching the first edition key mapping matrix into the second edition key mapping matrix according to the switching instruction. By means of the technical scheme of the invention, switching among a plurality of edition key mapping matrixes can be realized, the use habits of different users can be adapted, and the use requirements of the users can be met.

Description

The method that a kind of electronic equipment and key position mapping matrix are handled
Technical field
The present invention relates to the button design of keyboard, be meant the method that a kind of electronic equipment and key position mapping matrix are handled especially.
Background technology
Often there is the user to complain the Fn key of notebook computer and the use habit that the Ctrl position is not suitable for oneself, causes often pressing the wrong button.The user who has likes the Far Left of Ctrl at keyboard, and the user who has likes the Far Left of Fn key at keyboard.The key position of keyboard of notebook computer all is can not regulating of fixing at present; Yet the notebook computer of various brands does not have unified regulation again to this; Therefore the user finds that after changing notebook computer key position and original key position do not meet, and causes the user to use inconvenience, to this complaint constantly.
The inventor finds to exist at least in the prior art following problem in realizing process of the present invention:
In the prior art, have only one usually, do not satisfy user's actual user demand with a plurality of button corresponding keys position mapping matrix of keyboard.
Summary of the invention
The technical matters that the present invention will solve provides a kind of the have electronic equipment of a plurality of version keys position mapping matrix and the method that key position mapping matrix is handled; Can between the mapping matrix of the key position of a plurality of versions, switch; The use habit that can adapt to different user satisfies user's user demand.
For solving the problems of the technologies described above, embodiments of the invention provide technical scheme following:
On the one hand, a kind of electronic equipment is provided, comprises: one has the keyboard of a plurality of buttons; Said electronic equipment also comprises:
Memory module is used to store the first version key position mapping matrix corresponding with said a plurality of buttons of said keyboard and the second version key position mapping matrix; Wherein, First button in said a plurality of button is corresponding first key value in the mapping matrix of said first version key position; Said first button is corresponding second key value in the said second version key position mapping matrix, and said first key value is different with said second key value;
Obtain module, be used to obtain one and switch instruction;
Processing module is used for according to said switching command, and said first version key position mapping matrix is switched to the said second version key position mapping matrix.
Preferably, said acquisition module specifically comprises:
First obtains submodule, is used to obtain the enabled instruction that BIOS is provided with, and gets into system's setup menu of BIOS according to said enabled instruction;
Second obtains submodule, is used for the said second version key position mapping matrix that will launch selected according at said BIOS system setup menu, obtains said switching command.
Preferably, said acquisition module specifically comprises:
The 3rd obtains submodule, is used under the operating system state of said electronic equipment, obtains in one
The call instruction of disconnected program starts said interrupt routine according to said call instruction;
The 4th obtains submodule, is used for obtaining said switching command according to the said second version key position mapping matrix that will launch that the interface is selected that is provided with that starts the back generation at said interrupt routine.
Preferably, above-mentioned electronic equipment also comprises:
Suspend module, be used for the said the 3rd obtain submodule and start said interrupt routine after, suspend said operating system, and preserve first state of said operating system when suspending;
Recover module; Be used for after said processing module switches to the said second version key position mapping matrix with said first version key position mapping matrix; Preserve the setting of the said second version key position mapping matrix, finish said interrupt routine, and recover said operating system to said first state.
Preferably, said processing module comprises:
First processing sub is used for according to said switching command, closes said first version key position mapping matrix, and launches the said second version key position mapping matrix;
Second processing sub is used to detect said first button and is pressed down, from the said second version key position mapping matrix, reads said second key value, and carries out the corresponding function of said second key value.
On the other hand, the method that embodiments of the invention also provide a kind of key position mapping matrix to handle is applied to one and has in the electronic equipment of keyboard of a plurality of buttons, and said method comprises:
Store the first version key position mapping matrix corresponding and the second version key position mapping matrix with said a plurality of buttons of said keyboard; Wherein, First button in said a plurality of button is corresponding first key value in the mapping matrix of said first version key position; Said first button is corresponding second key value in the said second version key position mapping matrix, and said first key value is different with said second key value;
Obtain one and switch instruction;
According to said switching command, said first version key position mapping matrix is switched to the said second version key position mapping matrix.
Preferably, the step of said acquisition one switching instruction comprises:
Obtain the enabled instruction that BIOS is provided with, and get into BIOS system setup menu according to said enabled instruction;
The said second version key position mapping matrix that will launch according in said BIOS system setup menu, selecting obtains said switching command.
Preferably, the step of said acquisition one switching instruction comprises:
Under the operating system state of said electronic equipment, obtain the call instruction of an interrupt routine, start said interrupt routine according to said call instruction;
The said second version key position mapping matrix of selecting in the interface that will launch that is provided with according to start the back generation at said interrupt routine obtains said switching command.
Preferably, also comprise after the step of the said interrupt routine of said startup:
Suspend said operating system, and preserve first state of said operating system when suspending;
Said according to said switching command, comprise after said first version key position mapping matrix being switched to the step of the said second version key position mapping matrix:
Preserve the setting of the said second version key position mapping matrix, finish said interrupt routine, recover said operating system to said first state.
Preferably, said according to said switching command, the step that said first version key position mapping matrix is switched to the said second version key position mapping matrix comprises:
According to said switching command, close said first version key position mapping matrix, and launch the said second version key position mapping matrix;
Detect said first button and be pressed down, from the said second version key position mapping matrix, read said second key value, and carry out the corresponding function of said second key value.
Embodiments of the invention have following beneficial effect:
Such scheme; Through the storage first version key position mapping matrix and the second version key position mapping matrix; Wherein, first key value of first button in the mapping matrix of first version key position is different with second key value of this first button in the second version key position mapping matrix; In other words; For same keyboard, when launching the key position mapping matrix of different editions, the key assignments that the button of same position is corresponding is different; Can make the user switch to the key position mapping matrix of own demand like this, thereby satisfy user's user demand according to the needs of oneself.
Description of drawings
Fig. 1 is Fn key and the location diagram of Ctrl of the keyboard of embodiments of the invention computing machine;
Fig. 2 is the concrete realization flow figure that the method for keyboard key-position is set of the present invention.
Embodiment
For technical matters, technical scheme and advantage that embodiments of the invention will be solved is clearer, will combine accompanying drawing and specific embodiment to be described in detail below.
Embodiments of the invention do not satisfy the problem of user's actual user demand to having only one usually with a plurality of button corresponding keys position mapping matrix of keyboard in the prior art; The embodiment of the invention provides a kind of the have electronic equipment of a plurality of version keys position mapping matrix and the method that key position mapping matrix is handled; Can between the mapping matrix of the key position of a plurality of versions, switch; The use habit that can adapt to different user satisfies user's actual user demand.
The embodiment of electronic equipment of the present invention:
This electronic equipment comprises: one has the keyboard of a plurality of buttons; And
Memory module is used to store first version key position mapping matrix corresponding with said a plurality of buttons of said keyboard and the second version key position mapping matrix corresponding with said a plurality of buttons of said keyboard; Wherein, First button in said a plurality of button is corresponding first key value in the mapping matrix of said first version key position; Said first button is corresponding second key value in the said second version key position mapping matrix, and said first key value is different with said second key value;
Obtain module, be used to obtain one and switch instruction;
Processing module is used for according to said switching command, and said first version key position mapping matrix is switched to the said second version key position mapping matrix.
This electronic equipment embodiment of the present invention; Through the storage first version key position mapping matrix and the second version key position mapping matrix in memory module; Wherein, first key value of first button in the mapping matrix of first version key position is different with second key value of this first button in the second version key position mapping matrix; In other words; For same keyboard, when launching the key position mapping matrix of different editions, the key assignments that the button of same position is corresponding is different; Can make the user switch to the key position mapping matrix of own demand like this, thereby satisfy user's actual user demand according to the needs of oneself;
Method with respect to " when KBC detects W key (can certainly be other any one button) when pressing; tackle the W key assignments corresponding with this W key and issue computing machine, but the corresponding relation of another key assignments (as to the corresponding key assignments of upward arrow) that defines again according to W key and this W key is issued computing machine with this another key assignments "; The above embodiment of the present invention; When corresponding another key value of this button of needs, need not look into the corresponding relation of another key assignments that this key and key define again, be directly switch to the key position mapping matrix that this another key value belongs to and get final product; For electronic equipment; When satisfying the actual user demand of user, saved the processing time, improved treatment effeciency.
First specific embodiment of above-mentioned electronic equipment:
On the basis of other module that above-mentioned electronic equipment comprises, above-mentioned acquisition module can specifically comprise:
First obtains submodule, is used to obtain the enabled instruction that BIOS is provided with, and gets into BIOS system setup menu according to said enabled instruction;
Second obtains submodule, is used for the said second version key position mapping matrix that will launch selected according at said BIOS system setup menu, obtains said switching command.
First specific embodiment of this electronic equipment; Be mainly used in the electronic equipment with system's setup menu; Before the os starting of this electronic equipment; Switch between the key position mapping matrix of the different editions that can in the memory module of this electronic equipment, be stored, promptly the user can be before start be provided with the key position mapping matrix of respective version according to oneself demand.
Second specific embodiment of above-mentioned electronic equipment:
On the basis of other module that above-mentioned electronic equipment comprises, above-mentioned acquisition module can also specifically comprise:
The 3rd obtains submodule, is used under the operating system state of said electronic equipment, obtains in one
The call instruction of disconnected program starts said interrupt routine according to said call instruction;
The 4th obtains submodule, is used for obtaining said switching command according to the said second version key position mapping matrix that will launch that the interface is selected that is provided with that starts the back generation at said interrupt routine.
Second specific embodiment of this electronic equipment, can be applied to any can the electronic equipment of operation system in, behind the os starting of this electronic equipment, can realize the switching between the mapping matrix of different editions key position through calling an interrupt routine; This interrupt routine is as being SMI (system management interrupt); The effect of this interrupt routine is the pausing operation system; And preserve first state of said operating system when suspending, as comprising all processes and the application of the current operation of operating system, perhaps part process and application; As long as can get into the interface that is provided with that the key position mapping matrix of different editions switches, and switch setting and get final product; The user can be in electronic equipment operating system process like this; Switch between the key position mapping matrix of the different editions that can in the memory module of this electronic equipment, be stored, promptly the user can also can be provided with the key position mapping matrix of respective version according to the demand of oneself after start.
On the basis of second specific embodiment of this electronic equipment, this electronic equipment can also comprise:
Suspend module, be used for the said the 3rd obtain submodule and start said interrupt routine after, suspend said operating system, and preserve first state of said operating system when suspending;
Recover module; Be used for after said processing module switches to the said second version key position mapping matrix with said first version key position mapping matrix; Preserve the setting of the said second version key position mapping matrix, finish said interrupt routine, and recover said operating system to said first state.
Like this, when the operation of the operating system recovery of electronic equipment, just can launch the second version key position mapping matrix after the switching, thereby satisfy user's actual user demand.
On the basis of all embodiment of above-mentioned electronic equipment, above-mentioned processing module can specifically comprise:
First processing sub is used for according to said switching command, closes said first version key position mapping matrix, and launches the said second version key position mapping matrix;
Second processing sub is used to detect said first button and is pressed down, from the said second version key position mapping matrix, reads said second key value, and carries out the corresponding function of said second key value.
Certainly, before switching, if said first button is pressed down, this processing module is from the mapping matrix of said first version key position, to read said first key value, and carries out the corresponding function of said first key value.
In the above embodiment of the present invention; It specifically is standard mapping matrix or self-defining key position mapping matrix that the first version key position mapping matrix and the second version key position mapping matrix do not limit; Like first version key position mapping matrix can be the standard key position mapping matrix (generally can not change) that system carries; The second version key position mapping matrix can be a user-defined key position mapping matrix; This second version key position mapping matrix can certainly be system designer's key position mapping matrix of storage in advance in system, if with first version key position mapping matrix in the button corresponding key value that defines different; This second version key position mapping matrix also can be the standard key position mapping matrix that system carries, and first version key position mapping matrix also can be a self-defining key position mapping matrix;
Certainly when the user can the key position self-definition mapping matrix, can also have this key of third edition position mapping matrix, the 4th version key position mapping matrix ...;
The method of User Defined key position mapping matrix is following:
Have a special function key on the keyboard like this electronic equipment, the function of this function key can be the what's new of original key in the keyboard, also can on keyboard, increase this function key newly; Can be by a function key on the lower keyboard; The concrete shape figure that on the display screen of electronic equipment, shows a keyboard includes the position that each button is corresponding in the keyboard (being called for short the key position) among this shape figure, the user can select wherein any key position; And select this key position corresponding key value; After the user sets all key position and key value, preserve the result is set, can form the key position mapping matrix of a redaction; In use, can switch to the key position mapping matrix of this self-defining redaction.
Below in conjunction with concrete instance the implementation that above-mentioned electronic equipment key position mapping matrix switches is described:
As shown in Figure 1, said electronic equipment can certainly be any electronic equipments that have keyboard and have certain processing power such as PDA as being a computing machine; At this moment, keyboard is a dummy keyboard, as realize the push of button through the mode that touches; And trigger this button corresponding key value, for example, it is approaching or/and the coordinate of contact screen to detect the user through touch-screen; Confirm and said coordinate figure corresponding key according to said coordinate figure, trigger the corresponding key value.This computing machine specifically can be notebook computer or desktop computer; Accompanying drawing is that Ctrl is that example describes with first button in the keyboard of notebook computer;
This computing machine comprises: the keyboard with a plurality of buttons; And
Memory module is used for storing the corresponding first version key position mapping matrix and the second version key position mapping matrix of said a plurality of buttons of said keyboard; Wherein,
Wherein, First button (like Ctrl) in said a plurality of button is corresponding first key value (as realizing the key value of Ctrl function) in the mapping matrix of said first version key position; Said first button is corresponding second key value (as realizing the key value of Fn function) in the said second version key position mapping matrix, and said first key value is different with said second key value; Certainly; If the words of the first button Fn key; Then first button in the mapping matrix of said first version key position corresponding first key value (as; For realizing the key value of Fn function), said first button in the said second version key position mapping matrix corresponding second key value (as, be the key value that realizes the Ctrl function);
Obtain module, be used to obtain one and switch instruction;
Processing module is used for according to said switching command, and said first version key position mapping matrix is switched to the said second version key position mapping matrix.
In the foregoing description, if first button corresponding first key value in the first version mapping matrix, corresponding second key value in the second version mapping matrix; Second button in a plurality of buttons of this keyboard is corresponding said the 3rd key value in the first version mapping matrix, corresponding the 4th key value in the said second version mapping matrix; Wherein, if said first key value is identical with said the 4th key value, said second key value and the identical words of said the 3rd key value; Then first button and second button have just been realized exchange function;
Ctrl like notebook computer is first button, and the Fn key is second button;
First key value of Ctrl in the mapping matrix of first version key position is the key assignments of Ctrl function,
Second key value of said Ctrl in the second version key position mapping matrix is the key assignments of Fn function;
Same, three key value of Fn key in the mapping matrix of first version key position is the key assignments of Fn function,
Four key value of said Fn key in the second version key position mapping matrix is the key assignments of Ctrl function;
Wherein, the key assignments of the Fn function of Fn key in the mapping matrix of first version key position is identical with the key assignments of the Fn function of Ctrl in the second version key position mapping matrix, all is to realize the original function of Fn key;
Equally, the key assignments of the Ctrl function of Ctrl in the mapping matrix of first version key position is identical with the key assignments of the Ctrl function of Fn key in the second version key position mapping matrix, all is to realize the Ctrl original function;
So just after switching to the second version key position mapping matrix by first version key position mapping matrix; Realized the exchange function of Ctrl and Fn key; This can switch to the first version key position mapping matrix or the second version key position mapping matrix for getting used to the Fn key the leftmost user of keyboard; For getting used to Ctrl the leftmost user of keyboard, can switch to the second version key position mapping matrix or first version key position mapping matrix, satisfied user's user demand.
This computer-implemented example of the present invention; Through the first version key position mapping matrix and the second version key position mapping matrix are set in memory module; Wherein, in the mapping matrix of first version key position in the position of Fn key on keyboard and the second version key position mapping matrix position of Ctrl on said keyboard identical; And in the mapping matrix of first version key position in the position of Ctrl on keyboard and the second version key position mapping matrix position of Fn key on said keyboard identical; Like this; When the user switched to the second version key position mapping matrix from first version key position mapping matrix, the Fn key of keyboard and the function of Ctrl were just in time exchanged; This scheme; Owing to do not relate to other key position on the keyboard, can not cause keyboard key-position chaotic, and can let the user realize Fn key and the exchange of Ctrl function of the keyboard of notebook computer easily; Adapt to the use habit of different user, satisfy user's actual demand.
Wherein, among the above-mentioned electronic equipment or the embodiment of computing machine, memory module specifically can be flash memory (Flash ROM); Certainly the memory device that this memory module also can other medium.
Preferably, for the keyboard of computing machine, above-mentioned first obtains submodule, specifically can pass through the F2 key, obtains the enabled instruction that BIOS is provided with, and gets into system's setup menu according to said enabled instruction;
Second obtains submodule, is used for the said second version key position mapping matrix that will launch selected according at said BIOS system setup menu, obtains said switching command;
After obtaining said switching command, can further include: preserve the second version key position mapping matrix after the said switching, specifically, can be used to preserve the result that is provided with who launches the second version key position mapping matrix with the F10 key;
Specifically, as shown in Figure 2, when computer starting, press the F2 key and get into system's setup menu, if not according to the F2 key, then press normal startup mode and start computing machine;
Behind the entering system setup menu, the clauses and subclauses whether the first version key position mapping matrix and the second version key position mapping matrix exchange can appear;
Check whether these clauses and subclauses are effective; If effectively, judge whether current key position mapping matrix is the setting that the user wants, promptly if original pattern; Then do not carry out the change of key position mapping matrix; Directly preserving by the F10 key and get final product, is first version key position mapping matrix like current key position mapping matrix, still is first version key position mapping matrix and the user this time selects;
If the user wants to carry out the change of key position mapping matrix, the key position mapping matrix after then selecting to change;
Press the F10 key, preserve the setting of the key position mapping matrix after changing, as the relevant setting of preserving this second version key position mapping matrix;
After restarting computing machine, the key position mapping matrix after this change will be loaded, and as mapping matrix changes into the second version key position mapping matrix is set from first version key position, after restarting the computer, this second version key position mapping matrix will be loaded.
Accordingly,, also have the Ctrl sign on the Fn key of said keyboard simultaneously, also have the Fn sign on the said Ctrl simultaneously in order to make the character that prints on key position mapping matrix and each key on the keyboard after reloading consistent;
Said keyboard also has a pilot lamp, and what be used to indicate current selection is said first version key position mapping matrix or the said second version key position mapping matrix.
Certainly, the covering pad pasting can also be provided, let user oneself distribute the key bitmap mark, also be furnished with like this keyboard: the pad pasting that is printed with the pad pasting of Fn character and is printed with the Ctlr character;
The pad pasting of the said Fn of having character is attached to the position of Fn key in said keyboard described in the position of Fn key in said keyboard described in the mapping matrix of said first version key position or the said second version key position mapping matrix;
The pad pasting of the said Ctrl of having character is attached to the position of Ctrl in said keyboard described in the position of Ctrl in said keyboard described in the mapping matrix of said first version key position or the said second version key position mapping matrix.
In addition; In order to let the user discern the current key position mapping matrix of launching more easily, can also under button, keyboard light be set, for example; The icon of through-carved work Ctrl and Fn on first button; A plurality of keyboard light are set below first button, when detecting the user and use said first version key position mapping matrix, light the keyboard light of said first button below part corresponding with Ctrl; When detecting the user and use the said second version key position mapping matrix, light the keyboard light of said first button below part corresponding with Fn.
Certainly, above-mentioned under operating system, utilize the method for SMI interrupt routine switch key position mapping matrix to be equally applicable to specifically comprise among the embodiment of this computing machine:
Computing machine gets into operation system interface after pressing the normal mode startup;
Press function key special on the lower keyboard,, call a SMI interrupt routine on keyboard like the function key (F13 key) that the F11 key perhaps increases newly;
The pausing operation system preserves first state of operating system when suspending;
Get into the key position mapping matrix clauses and subclauses interface switching of different editions;
Receive the key position mapping matrix that the user selects, preserve and launch the key position mapping matrix of the respective version of current selection;
Finish the SMI interrupt routine, make operating system recovery to the first state, and normal operation.
The method that embodiments of the invention also provide a kind of key position mapping matrix to handle is applied to one and has in the electronic equipment of keyboard of a plurality of buttons, and said method comprises:
Store the first version key position mapping matrix corresponding and the second version key position mapping matrix with said a plurality of buttons of said keyboard; Wherein, First button in said a plurality of button is corresponding first key value in the mapping matrix of said first version key position; Said first button is corresponding second key value in the said second version key position mapping matrix, and said first key value is different with said second key value;
Obtain one and switch instruction;
According to said switching command, said first version key position mapping matrix is switched to the said second version key position mapping matrix.
Wherein, the step of said acquisition one switching instruction can comprise:
Obtain the enabled instruction that BIOS is provided with, and get into BIOS system setup menu according to said enabled instruction;
The said second version key position mapping matrix that will launch according in said BIOS system setup menu, selecting obtains said switching command.
Wherein, the step of said acquisition one switching instruction can comprise:
Under the operating system state of said electronic equipment, obtain the call instruction of an interrupt routine, root
Start said interrupt routine according to said call instruction;
The said second version key position mapping matrix of selecting in the interface that will launch that is provided with according to start the back generation at said interrupt routine obtains said switching command.
Wherein, also comprise after the step of the said interrupt routine of said startup:
Suspend said operating system, and preserve first state of said operating system when suspending;
Said according to said switching command, comprise after said first version key position mapping matrix being switched to the step of the said second version key position mapping matrix:
Preserve the setting of the said second version key position mapping matrix, finish said interrupt routine, recover said operating system to said first state.
Wherein, said according to said switching command, the step that said first version key position mapping matrix is switched to the said second version key position mapping matrix comprises:
According to said switching command, close said first version key position mapping matrix, and launch the said second version key position mapping matrix;
Detect said first button and be pressed down, from the said second version key position mapping matrix, read said second key value, and carry out the corresponding function of said second key value.
All embodiment of this method; Same the first version key position mapping matrix and the second version key position mapping matrix through storage; Wherein, first key value of first button in the mapping matrix of first version key position is different with second key value of this first button in the second version key position mapping matrix; In other words; For same keyboard, when launching the key position mapping matrix of different editions, the key assignments that the button of same position is corresponding is different; Can make the user switch to the key position mapping matrix of own demand like this, thereby satisfy user's user demand according to the needs of oneself; Method with respect to " when KBC detects W key (can certainly be other any one button) when pressing, tackle the W key assignments corresponding and issue computing machine, but another key assignments corresponding relation that defines again according to W key and this W key; this another key assignments is issued computing machine " with this W key; The above embodiment of the present invention when corresponding another key value of this button of needs, need not checked and should concern; Directly get final product from the key position mapping matrix that switches to this another key value place; For electronic equipment, saved the processing time, improved treatment effeciency.
Need to prove that all embodiment of above-mentioned electronic equipment and computer application instance all are adapted to can reach identical technique effect equally among the embodiment of this method;
As for the computer application instance, can let the user according to the key position of self-defined Fn key of the custom of oneself and Ctrl, can give tacit consent to a kind of key position when new computer dispatches from the factory, but the user can oneself change.In mechanism: the former printing of Fn key and Ctrl keeps, and can provide the method that covers adhesive film type to let user oneself distribute the key bitmap mark to the user; Perhaps can let and print Fn and Ctrl simultaneously on these two keys, inform the situation that the active user sets through the situation of LED light., presets internal system EC two editions Keyboard matrix (keyboard matrix) on handling in flash ROM (flash memory) the inside; Through judging active user's selection mode; In the process of start, select the key bits corresponding mapping matrix to realize the exchange function of Fn and Ctrl.The user is according to the key position of self-defined Fn key of the custom of oneself and Ctrl, and whole proposal realizes easily.
The above is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from principle according to the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (10)

1. electronic equipment, comprising: one has the keyboard of a plurality of buttons; It is characterized in that said electronic equipment also comprises:
Memory module is used to store first version key position mapping matrix corresponding with said a plurality of buttons of said keyboard and the second version key position mapping matrix corresponding with said a plurality of buttons of said keyboard; Wherein, First button in said a plurality of button is corresponding first key value in the mapping matrix of said first version key position; Said first button is corresponding second key value in the said second version key position mapping matrix, and said first key value is different with said second key value;
Obtain module, be used to obtain one and switch instruction;
Processing module is used for according to said switching command, and said first version key position mapping matrix is switched to the said second version key position mapping matrix.
2. electronic equipment according to claim 1 is characterized in that, said acquisition module specifically comprises:
First obtains submodule, is used to obtain the enabled instruction that BIOS is provided with, and gets into system's setup menu of BIOS according to said enabled instruction;
Second obtains submodule, is used for the said second version key position mapping matrix that will launch selected according at said BIOS system setup menu, obtains said switching command.
3. electronic equipment according to claim 1 is characterized in that, said acquisition module specifically comprises:
The 3rd obtains submodule, is used under the operating system state of said electronic equipment, obtaining the call instruction of an interrupt routine, starts said interrupt routine according to said call instruction;
The 4th obtains submodule, is used for obtaining said switching command according to the said second version key position mapping matrix that will launch that the interface is selected that is provided with that starts the back generation at said interrupt routine.
4. electronic equipment according to claim 3 is characterized in that, also comprises:
Suspend module, be used for the said the 3rd obtain submodule and start said interrupt routine after, suspend said operating system, and preserve first state of said operating system when suspending;
Recover module; Be used for after said processing module switches to the said second version key position mapping matrix with said first version key position mapping matrix; Preserve the setting of the said second version key position mapping matrix, finish said interrupt routine, and recover said operating system to said first state.
5. according to each described electronic equipment of claim 1-4, it is characterized in that said processing module comprises:
First processing sub is used for according to said switching command, closes said first version key position mapping matrix, and launches the said second version key position mapping matrix;
Second processing sub is used to detect said first button and is pressed down, from the said second version key position mapping matrix, reads said second key value, and carries out the corresponding function of said second key value.
6. method that key position mapping matrix is handled is applied to one and has in the electronic equipment of keyboard of a plurality of buttons, it is characterized in that said method comprises:
Store the first version key position mapping matrix corresponding and the second version key position mapping matrix with said a plurality of buttons of said keyboard; Wherein, First button in said a plurality of button is corresponding first key value in the mapping matrix of said first version key position; Said first button is corresponding second key value in the said second version key position mapping matrix, and said first key value is different with said second key value;
Obtain one and switch instruction;
According to said switching command, said first version key position mapping matrix is switched to the said second version key position mapping matrix.
7. method according to claim 6 is characterized in that, the step that instruction is switched in said acquisition one comprises:
Obtain the enabled instruction that BIOS is provided with, and get into BIOS system setup menu according to said enabled instruction;
The said second version key position mapping matrix that will launch according in said BIOS system setup menu, selecting obtains said switching command.
8. method according to claim 6 is characterized in that, the step that instruction is switched in said acquisition one comprises:
Under the operating system state of said electronic equipment, obtain the call instruction of an interrupt routine, start said interrupt routine according to said call instruction;
The said second version key position mapping matrix of selecting in the interface that will launch that is provided with according to start the back generation at said interrupt routine obtains said switching command.
9. method according to claim 8 is characterized in that, also comprises after the step of the said interrupt routine of said startup:
Suspend said operating system, and preserve first state of said operating system when suspending;
Said according to said switching command, comprise after said first version key position mapping matrix being switched to the step of the said second version key position mapping matrix:
Preserve the setting of the said second version key position mapping matrix, finish said interrupt routine, recover said operating system to said first state.
10. according to each described method of claim 6-9, it is characterized in that said according to said switching command, the step that said first version key position mapping matrix is switched to the said second version key position mapping matrix comprises:
According to said switching command, close said first version key position mapping matrix, and launch the said second version key position mapping matrix;
Detect said first button and be pressed down, from the said second version key position mapping matrix, read said second key value, and carry out the corresponding function of said second key value.
CN201010226068.3A 2010-07-06 2010-07-06 Key mapping matrix processing equipment and method Active CN102314356B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010226068.3A CN102314356B (en) 2010-07-06 2010-07-06 Key mapping matrix processing equipment and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010226068.3A CN102314356B (en) 2010-07-06 2010-07-06 Key mapping matrix processing equipment and method

Publications (2)

Publication Number Publication Date
CN102314356A true CN102314356A (en) 2012-01-11
CN102314356B CN102314356B (en) 2015-03-04

Family

ID=45427552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010226068.3A Active CN102314356B (en) 2010-07-06 2010-07-06 Key mapping matrix processing equipment and method

Country Status (1)

Country Link
CN (1) CN102314356B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391708A (en) * 2021-06-21 2021-09-14 联想长风科技(北京)有限公司 Method for identifying different keyboard matrixes used by notebook computer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040212590A1 (en) * 2003-04-23 2004-10-28 Samsung Electronics Co., Ltd. 3D-input device and method, soft key mapping method therefor, and virtual keyboard constructed using the soft key mapping method
CN201142056Y (en) * 2008-01-25 2008-10-29 山东超越数控电子有限公司 Combined keyboard shortcuts implementing device
CN101499080A (en) * 2008-02-01 2009-08-05 网秦无限(北京)科技有限公司 Method and system for fast acquiring information service on mobile terminal
CN101634899A (en) * 2008-07-22 2010-01-27 比亚迪股份有限公司 Method and device for keyboard response
CN101669086A (en) * 2007-05-11 2010-03-10 索尼爱立信移动通讯股份有限公司 systems and methods for changing characters associated with keys

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040212590A1 (en) * 2003-04-23 2004-10-28 Samsung Electronics Co., Ltd. 3D-input device and method, soft key mapping method therefor, and virtual keyboard constructed using the soft key mapping method
CN101669086A (en) * 2007-05-11 2010-03-10 索尼爱立信移动通讯股份有限公司 systems and methods for changing characters associated with keys
CN201142056Y (en) * 2008-01-25 2008-10-29 山东超越数控电子有限公司 Combined keyboard shortcuts implementing device
CN101499080A (en) * 2008-02-01 2009-08-05 网秦无限(北京)科技有限公司 Method and system for fast acquiring information service on mobile terminal
CN101634899A (en) * 2008-07-22 2010-01-27 比亚迪股份有限公司 Method and device for keyboard response

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391708A (en) * 2021-06-21 2021-09-14 联想长风科技(北京)有限公司 Method for identifying different keyboard matrixes used by notebook computer
CN113391708B (en) * 2021-06-21 2023-08-22 联想长风科技(北京)有限公司 Method for identifying different keyboard matrixes used by notebook computer

Also Published As

Publication number Publication date
CN102314356B (en) 2015-03-04

Similar Documents

Publication Publication Date Title
US9557806B2 (en) Power save mode in electronic apparatus
US10423311B2 (en) Text selection using a touch sensitive screen of a handheld mobile communication device
CA2817000C (en) Touch control method and portable terminal supporting the same
CA2640785C (en) Electronic device and method of controlling the same
US8654078B2 (en) Power saving system for a handheld communication device having a reduced alphabetic keyboard
EP2390756A1 (en) Method and apparatus for managing an application being executed in a portable terminal
CN110377141B (en) Application processing method and device, electronic equipment and storage medium
KR20180120768A (en) Man-machine interaction methods, devices and graphical user interfaces
JP2002259036A (en) Information processor, information processing method, recording medium, and program
EP2857929B1 (en) Information processing apparatus, information processing system, and power control method
CN102955572A (en) Computer keyboard and control method thereof
EP2979177B1 (en) Method for controlling process of application and computer system
US9632692B2 (en) Method and system to implement a quasi-user interface for applications on an electronic device
CN108509020A (en) A kind of information processing method, electronic equipment and readable storage medium storing program for executing
CN105556463A (en) Selecting operating systems based on a computing device mode
EP2846244A1 (en) Information processing device with a touch screen, control method and program
KR20130046482A (en) Controlling method for basic screen and portable device supporting the same
WO2022242586A1 (en) Application interface method and apparatus, and electronic device
CN106648607B (en) Application starting method and device based on icon switching and terminal equipment
CN104991715A (en) Information processing method and electronic device
CN102314356A (en) Electronic equipment and key mapping matrix processing method
JP4888421B2 (en) Electronic device, power saving control method and program
JP5102528B2 (en) Information processing apparatus and control method
CN209015125U (en) A kind of touching display screen keyboard
CN110023907A (en) A kind of processing method and processing device

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160607

Address after: 201203 Shanghai Zhangjiang High Tech Park of Pudong New Area Chunxiao Road No. 289 Room 501

Patentee after: Lenovo (Shanghai) Information Technology Co., Ltd.

Address before: 100085 Beijing, Haidian District information industry base on the road No. 6

Patentee before: Lenovo (Beijing) Co., Ltd.