Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the embodiment of the invention is explained further details below in conjunction with embodiment and accompanying drawing.At this, the exemplary embodiment of the embodiment of the invention and explanation thereof are used to explain the embodiment of the invention, but not as the qualification to the embodiment of the invention.
Embodiment one
Present embodiment provides a kind of terminal, describes below in conjunction with the terminal of accompanying drawing to present embodiment.
Fig. 2 is the synoptic diagram at a kind of terminal 200 of providing of the embodiment of the invention, and as shown in Figure 2, terminal 200 comprises a keyboard 201, and keyboard 201 comprises a plurality of buttons 203 and is installed on a plurality of dismountable button cap 205 on the button 203.
In embodiments of the present invention, keyboard 201 can be a numeric keypad, comprises 0 to 9 digital keys; It also can be an alphabetic keypad; The alphabet key that comprises A to Z, each button is formed by button 203 and the button cap 205 that is installed on the button 203, and button 203 can be a push switch; When button cap 205 is pressed, thereby button 203 is switched on and sends a push button signalling.
According to present embodiment, terminal 200 also comprises storage unit 207, detecting unit 209 and updating block 211, wherein:
Storage unit 207 is used to store the mapping relations of said button and keypress function.
In embodiments of the present invention, storage unit 207 is used to store the mapping relations of button 203 and this keypress function.The cross-sectional view at the terminal 300 that provides for one embodiment of the invention shown in Figure 3; It is that example describes that present embodiment is provided with 3 buttons with terminal 300; In other embodiments of the invention; Number of keys can be provided with arbitrarily as required, and is as shown in Figure 3, and terminal 300 comprises button 301,303 and 305; And being installed on the button cap 307,309 and 311 on button 301,303 and 305 respectively, 307,309 and 311 upper surface is printed on the sign of alphabetical A, B, C respectively on the button cap.The button 301,303 that provides for one embodiment of the invention shown in Figure 4 and 305 and the mapping relations figure of keypress function; As shown in Figure 4; Button 301,303 and 305 is corresponding with button cap 307,309 and 311 respectively; 307, the marking keys on 309 and 311 is respectively A, B, C, is respectively input alphabet " A ", " B ", " C " with button 301,303 and 305 corresponding key functions.
Whether the position that detecting unit 209 is used to detect button cap changes.
In embodiments of the present invention, whether detecting unit 209 position that is used to detect each button cap 205 changes.
The synoptic diagram of the detecting unit 209 that provides for one embodiment of the invention shown in Figure 5, as shown in Figure 5, in the present embodiment; The terminal is a clamshell phone; Detecting unit 209 is positioned on its upturning lid, and is positioned at the keyboard top on the down turnover cover, and button cap 205 outside surfaces are provided with image identification; Detecting unit 209 can be the image identification recognition unit, judges through detecting the image identification that is provided with on the button cap 205 whether the position of button cap 205 changes.Wherein, the image identification that is provided with on the button cap 205 can be a letter, numeral, and bar code also can be other literal that visually intuitively can differentiate or figures.Image identification can be arranged at the outside surface of button cap 205; Detecting unit 209 can be the camera at terminal, and the image identification in image through intercepting button cap 205 arrangement positions and the detected image on each button cap 205 judges whether the position of button cap 205 changes.
The synoptic diagram of the detecting unit 209 that provides for another embodiment of the present invention shown in Figure 6; As shown in Figure 6; In the present embodiment, the inside surface of button cap 205 is provided with magnetic label, and detecting unit 209 can be a magnetic label detecting unit; Magnetic label through detecting on the button cap 205 judges whether the position of button cap 205 changes; Wherein magnetic label is positioned on button cap 205 and the inside surface that button 203 contacts, and the magnetic label detecting unit is positioned on button 203 and the surface that button cap 205 contacts, and corresponding with the magnetic label on the button cap 205; Magnetic label on each button cap 205 has different magnetic, so whether the magnetic label detecting unit can be judged the position of button cap 205 and change through detecting magnetic label.
Updating block 211 is used for when detecting unit 209 detects said button cap position and changes, and upgrades the mapping relations of said push-button unit and keypress function according to the button cap after changing.
In embodiments of the present invention; The user adjusts the position of button A, B, C according to the use habit of oneself; Button C is put into the left side, in the middle of button A has been put into, button B has been put into the right side; Updating block 211 is used for when detecting unit 209 detects button cap 205 positions and changes; According to the mapping relations of position renewal button 203 with the keypress function of the button cap 205 after changing, the cross-sectional view among Fig. 3 that provides for one embodiment of the invention shown in Figure 7 after the 300 button cap location change of terminal, as shown in Figure 7; Change has taken place in the button cap 307,309 at terminal 300 and 311 installation site, is installed on respectively on button 305,301 and 303.The button 301,303 that provides for one embodiment of the invention shown in Figure 8 and 305 and the mapping relations figure of keypress function; As shown in Figure 8; Button 301,303 and 305 is corresponding with button cap 309,311 and 307 respectively; Be respectively B, C, A with the marking keys on button 301,303 and the 305 corresponding key caps; Updating block 211 will be respectively input alphabet " B ", " C ", " A " with button 301,303 and 305 corresponding key functions according to the mapping relations of position renewal button 203 with the keypress function of new button cap 205.
In embodiments of the present invention, storage unit 207 can also comprise that one is provided with module, is used for being provided with and each button corresponding key function, is set to functions of shortcut key combination like keypress function that can certain button; Or be set to sky such as the keypress function of certain button, make it possible to achieve the effect of this button of forbidding.
The embodiment of the invention through changing button cap the installation site and upgrade push-button unit and the method for keypress function mapping relations; Overcome terminal push stationkeeping in the prior art; The user can't change the problem of key arrangement, makes the user that the layout of keyboard can be set according to the needs of oneself.
Embodiment two
The embodiment of the invention also provides a kind of press keys setup method of terminal, below in conjunction with accompanying drawing present embodiment is elaborated.
Fig. 9 is the press keys setup method process flow diagram at a kind of terminal of providing of the embodiment of the invention, and as shown in Figure 9, described method comprises:
Step S901 sets up the mapping relations of terminal push and keypress function;
In embodiments of the present invention, the terminal can be embodiment one described terminal 200, comprises a keyboard, and keyboard comprises a plurality of buttons and be installed on a plurality of dismountable button cap on the button that the mapping relations of button and keypress function are set up at the terminal.
In embodiments of the present invention, can be provided with and said button corresponding key function, be set to functions of shortcut key combination like keypress function that can certain button; Or be set to sky such as the keypress function of certain button, make it possible to achieve the effect of this button of forbidding.
Whether step S903 detects the button cap that is installed on the said button and changes;
In embodiments of the present invention, the terminal can judge whether the button cap on the button changes through the magnetic label or the image identification that detect on the button cap.
Step S905 when detecting said button cap and change, upgrades the mapping relations of said button and keypress function according to the button cap after changing.
In embodiments of the present invention, when the user had carried out adjustment according to oneself needs to the position of button after, the terminal detected said button cap position and changes, and upgraded the mapping relations of each button and keypress function immediately according to the button cap arrangement position after changing.
The embodiment of the invention through changing button cap the installation site and upgrade button and the method for keypress function mapping relations; Overcome terminal push stationkeeping in the prior art; The user can't change the problem of key arrangement, makes the user that the layout of keyboard can be set according to the needs of oneself.
Above-described embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.