CN103019400A - Programming method of output value of key - Google Patents

Programming method of output value of key Download PDF

Info

Publication number
CN103019400A
CN103019400A CN2011102858259A CN201110285825A CN103019400A CN 103019400 A CN103019400 A CN 103019400A CN 2011102858259 A CN2011102858259 A CN 2011102858259A CN 201110285825 A CN201110285825 A CN 201110285825A CN 103019400 A CN103019400 A CN 103019400A
Authority
CN
China
Prior art keywords
output valve
button
output value
key
comparisons
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
CN2011102858259A
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.)
Askey Technology Jiangsu Ltd
Askey Computer Corp
Original Assignee
Askey Technology Jiangsu Ltd
Askey Computer 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 Askey Technology Jiangsu Ltd, Askey Computer Corp filed Critical Askey Technology Jiangsu Ltd
Priority to CN2011102858259A priority Critical patent/CN103019400A/en
Publication of CN103019400A publication Critical patent/CN103019400A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a programming method of an output value of a key. The programming method can be applied to an electronic device with the key and a first output value is generated when the key of the electronic switch is triggered. The programming method mainly comprises the following steps of: setting a second output value of the key; next establishing and storing a comparison table of the first output value and the first output value; taking the corresponding second output value from the comparison table of the first output value and the second output value according to the first output value when the key is triggered to generate the first output value; and finally, converting the second output value into a key value according to a comparison table of a pre-loaded output value and the key value. In addition, the comparison table of the first output value and the second output value can be stored in a memory, so that the corresponding second output value is taken from the comparison table of the first output value and the second output value of the memory according to the first output value when the electronic device is turned on again. According to the programming method, the operation or key input speed can be quickened, or the function of the key can be extended or expanded by further combining keys.

Description

The method for programming of the output valve of button
Technical field
The present invention in details of the words, is the method for programming about a kind of output valve of button about a kind of method for programming of button.
Background technology
Along with scientific-technical progress, portable electronic devices develops into now intelligent mobile phone, personal digital assistant (Personal Digital Assistant from the past mobile phone, notebook computer; PDA), E-book reader, little electricity and panel computer etc.These portable electronic devices also develop into dummy keyboard from physical keyboard gradually except volume has the trend of microminiaturization.
Dummy keyboard is a kind of application of touch control type screen, and touch technology utilizes the haptic feedback system on the screen to order about various hookup mechanisms according to preprogrammed program, to replace traditional mechanical button.Intelligent mobile phone or panel computer still can not omit mechanical key fully, power key for example, and it just needs the design of this power key at this moment because the touch control screen before start not yet can't use certainly.
In addition, though present Smartphone or panel computer take the multi-point touch screen as main, and major part still is aided with a small amount of physical button, such as standard common function keys such as catalogue key, homepage key, return key or volume controls, allows user's handled easily.But these function keys basically can't configure voluntarily and set for the user, even thereby have physical keyboard also can't change voluntarily or expand according to user's operating habit the keypress function of these physical buttons.
In addition, still there are some touch controlled handsets or computer to be provided with shortcut, but allow user's short calling application-specific.Though this kind shortcut is available for users to set the application program that shortcut links, and still can't change this key value, changes the function of operation, the key change that for example will be preset as photograph is return key.
Summary of the invention
Because the variety of problems of above-mentioned prior art, the object of the present invention is to provide a kind of method for programming of output valve of button, it is applied to have the electronic installation of button, and first output valve that can produce when triggering this button converts the second output valve to.
For reaching above-mentioned purpose, method for programming of the present invention may further comprise the steps: (1) sets the second output valve of this button; (2) set up the table of comparisons of this first output valve and the second output valve; And (3) be triggered and when producing this first output valve at this button, according to this first output valve, certainly obtains this corresponding second output valve in the table of comparisons of this first output valve and the second output valve.
From the above, when the button of electronic installation is triggered, the button that is triggered can produce the first output valve, and after the user has set the second output valve, electronic installation can set the table of comparisons that the second output valve is set up the first output valve and the second output valve based on the user, and according to this table of comparisons this first output valve is changed into the second output valve.Therefore, but the output valve of the button of user's Set arbitrarily electronic installation (no matter entity or virtual key), to change its function and to promote the convenience of operation.
In addition, above-mentioned steps (2) comprises that also the table of comparisons with this first output valve and the second output valve is stored in memory body, with in step (3) according to this first output valve, certainly obtain this corresponding second output valve in the table of comparisons of this first output valve of this memory body and the second output valve.In addition, this memory body can be non-volatility memory, with when this electronic installation restarts, according to this first output valve, certainly obtain this corresponding second output valve in the table of comparisons of this first output valve of this non-volatility memory and the second output valve in the step (3).
Moreover, this electronic installation can be preloaded with the table of comparisons into output valve and key value, and this first output valve and this second output valve are contained in the output valve in the table of comparisons of this output valve and key value, thereby can according to the table of comparisons of this output valve and key value, convert this second output valve to key value.
Compared to prior art, the present invention carries out the setting of output valve for the button of electronic installation, so can speed operations or key-press input speed, or further combination button and the function of extending or expanding button.
Description of drawings
Figure 1A is the basic flow sheet of method for programming of the output valve of button of the present invention;
Figure 1B is the process flow diagram of the first example of method for programming of the output valve of button of the present invention; And
Fig. 2 is the electronic installation that the method for programming of the output valve of button of the present invention is applied to.
Among the figure:
1, electronic installation;
10, touch control type screen;
11, a fixed qty button;
12, a specific quantity button;
S11 ~ S14, step.
Embodiment
Below by specific example technological means of the present invention and content are described, have the personage who usually knows the knowledgeable and have the knack of this skill in the affiliated technical field, all can understand easily other advantages of the present invention and effect by the disclosed content of this instructions.
The method for programming of the output valve of button of the present invention is applicable to the electronic installation with button.Should be noted that, electronic installation is panel computer or mobile phone for example, and button can be entity or virtual key, and the quantity of button is not limit.
The operating system of electronic installation can be Android, and generally speaking, Android can be divided into core space (kernel space) and user space (user space).When those buttons are triggered (namely pressing physical button or contact virtual key), driver among the kernel space can be exported the first output valve to user user space, for the table of comparisons of the framework among the user space (framework) according to the output valve in the electronic installation and key value, convert this first output valve to key value, carry out the corresponding function of this key value for application program.This is for not yet setting running in the front electronic installation to button.
The method for programming of the output valve of button of the present invention comprises that mainly step S11 to step S13, sees also Figure 1A.
In step S11, set the second output valve of this button.More particularly, the user space of electronic installation can provide an interface to set the second output valve of button for the user.Can set all physical buttons in principle, and usually only an open specific quantity button set up on their own for the user, in the mode of the second output valve by setting button, change the performed function of button.Then proceed among the step S12.
In step S12, set up the table of comparisons of the first output valve and the second output valve.Step S12 can comprise that also the table of comparisons with this first output valve and the second output valve is stored in memory body.More particularly, the present invention must set up library at the framework of user space, this library can set the second output valve of button and set up the first output valve and the table of comparisons of the second output valve, and the table of comparisons of this first output valve and the second output valve is stored in archives among the kernel space, and wherein these archives are to be stored in memory body.Then proceed to step S13.
In step S13, when this button is triggered and produces this first output valve, in the table of comparisons of this first output valve and the second output valve, obtain this second output valve according to this first output valve.More particularly, when this button is triggered, according to this first output valve, to the first output valve of the archives of the memory body of kernel space and the table of comparisons of the second output valve, obtain the second corresponding output valve.
See also Figure 1B, then can proceed to step S14, according to the table of comparisons of the output valve in the electronic installation and key value, convert this second output valve to key value, carry out the corresponding function of this key value for application program.Wherein, aforementioned the first output valve or the second output valve are all the output valve in the table of comparisons of output valve and key value, thereby can follow according to the first or second output valve, inquire its corresponding key value.
In addition, in step S12, also the table of comparisons of this first output valve and the second output valve can be stored in the property archives, and these property archives are to be stored in non-volatility memory, with when electronic installation restarts, to the first output valve of the property archives of non-volatility memory and the table of comparisons of the second output valve, obtain the second output valve that should the first defeated Stored Value.
During implementation, electronic installation is preloaded with the Android system, and the table of comparisons of be written into output valve before the Android system initialization (also can be described as coding (scan code)) and key value (also can be described as key code).In addition, set up the system file (sys file) identical with the number of keys of electronic installation prior to kernel space, and in the framework of user space, set up library.
When the user wanted to set, electronic installation provided an interface to allow the user can specify the key code of at least one button.Then, the corresponding scan code of key code of this appointment of inquiry in the table of comparisons of library to scan code and key code.Then, the scan code that library inquires this again is set in the system file corresponding with this at least one button among the kernel space, with when this at least one button is triggered, library can read the scan code that had before set to the system file corresponding with this at least one button, and the driver among the kernel space transfers to user space with scan code again.In addition, key code that more can the user is specified is stored to the property archives, this property archives system is present in non-volatility memory, thereby electronic installation is when restarting, can obtain to these property archives the key code of this at least one button that last time set, to scan code that should key code be set in the system file again, for the driver among the kernel space scan code be transferred to user space.
In addition, see also Fig. 2, the electronic installation 1 that the method for programming of the output valve of button of the present invention is applied to can have touch control type screen 10 and a fixed qty button 11, and the present invention can further design a specific quantity button 12.As shown in Figure 2, this specific quantity for example is 5, and wherein three buttons and touch control type screen 10 are positioned at the same side, and two other button is positioned at the opposition side of touch control type screen 10.It should be noted that, electronic installation 1 shown in Figure 2 and a fixed qty button 11 thereof and a specific quantity button 12 only are example, and actual electronics device type or number of keys are not limited to this.
Therefore, the application of the method for programming of the output valve by button of the present invention, can accelerate input speed, for example with a specific quantity button 12 wherein two be defined as return key and acknowledgement key, then the user need not to look for returning and confirm on the touch control type screen 10, can reach rapidly the function of deletion character and input message.Secondly, the speed that can speed operations usually needs to search webpage or opens camera such as the user, one of them of a specific quantity button 12 can be made as search key or photograph key, with rapidly search and the camera programm of the correspondence of calling system.In addition, button capable of being combined also, the function that the quick calling appl. of supporting quick launch is arranged such as Android itself, be defined as the mode of letter key by a button being set as search key and other buttons of arranging in pairs or groups, the user can search the mode that key adds letter key by pinning, and short calling is the application program that will open that defines in quick launch.Moreover, the function of extendible button, for example, the Android operating system has the key value of supporting joystick, and the output valve that can set button by the present invention reaches the effect of expansion button to correspond to the key value of this supports joystick.
In sum, the method for programming of the output valve of button of the present invention, by design entity on electronic installation or virtual key, provide the user set up on their own button be triggered after its output valve that produces, wherein, convert this output valve to key value according to the table of comparisons of the operating system institute preload of electronic installation again, carry out the corresponding event of this key value for application program.
Therefore, sequencing keying method of the present invention can be accelerated the speed of user operation or key-press input, or further combination button and the function of extending or expanding button.
Above-mentioned respectively this example is illustrative principle of the present invention, Characteristic only, be not to limit the category of implementing of the present invention, any personage who has the knack of this skill all can be under spirit of the present invention and category, and above-mentioned example is modified and changed.Any utilization content disclosed in this invention and equivalence finished changes and modify all still should be following claim and contains.Therefore, the scope of the present invention, claim is listed as described later.

Claims (7)

1. the method for programming of the output valve of a button, it is characterized in that: it can produce the first output valve when being applied to have the electronic installation of button and triggering this button, and the method for programming of the output valve of this button may further comprise the steps:
(1) sets the second output valve of this button;
(2) set up the table of comparisons of this first output valve and the second output valve; And
(3) when this button is triggered and produces this first output valve, according to this first output valve, certainly obtain this corresponding second output valve in the table of comparisons of this first output valve and the second output valve.
2. the method for programming of the output valve of button as claimed in claim 1, it is characterized in that: wherein, step (2) comprises that also the table of comparisons with this first output valve and the second output valve is stored in the memory body, with in step (3) according to this first output valve, certainly obtain this corresponding second output valve in the table of comparisons of this first output valve of this memory body and the second output valve.
3. the method for programming of the output valve of button as claimed in claim 2, it is characterized in that: wherein, this memory body is non-volatility memory, when this electronic installation restarts, according to this first output valve, certainly obtain this corresponding second output valve in the table of comparisons of this first output valve of this non-volatility memory and the second output valve in the step (3).
4. such as the method for programming of the output valve of the described button of any one in the claims 1 to 3, it is characterized in that: wherein, this electronic installation is preloaded with the table of comparisons of output valve and key value, and this first output valve and this second output valve are contained in the output valve in the table of comparisons of this output valve and key value.
5. the method for programming of the output valve of button as claimed in claim 4 is characterized in that: comprise that also step (4) according to the table of comparisons of this output valve and key value, converts this second output valve to key value.
6. the method for programming of the output valve of button as claimed in claim 1, it is characterized in that: wherein, the button of this electronic installation is entity or virtual key.
7. the method for programming of the output valve of button as claimed in claim 1 is characterized in that: wherein, this electronic installation contained operating system be Android.
CN2011102858259A 2011-09-23 2011-09-23 Programming method of output value of key Pending CN103019400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102858259A CN103019400A (en) 2011-09-23 2011-09-23 Programming method of output value of key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102858259A CN103019400A (en) 2011-09-23 2011-09-23 Programming method of output value of key

Publications (1)

Publication Number Publication Date
CN103019400A true CN103019400A (en) 2013-04-03

Family

ID=47968083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102858259A Pending CN103019400A (en) 2011-09-23 2011-09-23 Programming method of output value of key

Country Status (1)

Country Link
CN (1) CN103019400A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402762A (en) * 2017-07-26 2017-11-28 青岛海信移动通信技术股份有限公司 The implementation method and device of finger print navigation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030201971A1 (en) * 2002-04-30 2003-10-30 Kazuho Iesaka Computer keyboard and cursor control system with keyboard map switching system
CN1690934A (en) * 2004-04-30 2005-11-02 大唐移动通信设备有限公司 Method for dynamically setting functions of keyboard press keys for mobile communication terminal
JP2005333605A (en) * 2004-04-22 2005-12-02 Sharp Corp Portable communication terminal and folding type portable communication terminal
CN101833409A (en) * 2009-03-11 2010-09-15 梁立人 Touchpad realization method combined with functions of mouse and keyboard entry

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030201971A1 (en) * 2002-04-30 2003-10-30 Kazuho Iesaka Computer keyboard and cursor control system with keyboard map switching system
JP2005333605A (en) * 2004-04-22 2005-12-02 Sharp Corp Portable communication terminal and folding type portable communication terminal
CN1690934A (en) * 2004-04-30 2005-11-02 大唐移动通信设备有限公司 Method for dynamically setting functions of keyboard press keys for mobile communication terminal
CN101833409A (en) * 2009-03-11 2010-09-15 梁立人 Touchpad realization method combined with functions of mouse and keyboard entry

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402762A (en) * 2017-07-26 2017-11-28 青岛海信移动通信技术股份有限公司 The implementation method and device of finger print navigation
CN107402762B (en) * 2017-07-26 2020-12-22 青岛海信移动通信技术股份有限公司 Fingerprint navigation implementation method and device

Similar Documents

Publication Publication Date Title
US8775964B2 (en) Method and mobile terminal device for mapping a virtual user input interface to a physical user input interface
TWI455009B (en) A personalized screen unlock method and system
CN104679436B (en) Suspension key and device based on touch screen
TWI375451B (en) Method for displaying speed dial information and device using the method
WO2014077296A1 (en) Mobile terminal and lock state control method
JP2012505443A (en) Portable electronic device and method of secondary character rendering and input
CN103412772A (en) Method and device for quickly starting windowing application software under mobile operating system
JP5777645B2 (en) Character input method for portable terminal and portable terminal supporting the same
TW201530418A (en) Electronic apparatus controlling method
JP2010160564A (en) Portable terminal
WO2007086371A1 (en) Character input device
CN101645948A (en) Method for adjusting keyboard
KR20140106801A (en) Apparatus and method for supporting voice service in terminal for visually disabled peoples
JP2006279361A (en) Mobile terminal and program for mobile terminal
CN101923546A (en) Method and system for playing image files inside folder
CN102693037A (en) Shortcut method for starting a plurality of application programs in touch screen mobile terminals
WO2011140752A1 (en) Electronic device and method for obtaining user operation
CN103019400A (en) Programming method of output value of key
JP5359826B2 (en) Portable terminal device and function setting method of portable terminal device
CN103576966A (en) Electronic equipment and method and device for controlling electronic equipment
TWI446217B (en) Method for programming output value of press keys
CN101442577A (en) Method for displaying rapid dialing information and apparatus using the method
CN209015125U (en) A kind of touching display screen keyboard
CN101097491A (en) Push-button type display screen cursor positioning and instruction point choosing module of computer device
CN104714723A (en) Widget starting and exiting method for application software

Legal Events

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

Application publication date: 20130403