CN1601460A - Method of redifining key functions - Google Patents

Method of redifining key functions Download PDF

Info

Publication number
CN1601460A
CN1601460A CN 03160039 CN03160039A CN1601460A CN 1601460 A CN1601460 A CN 1601460A CN 03160039 CN03160039 CN 03160039 CN 03160039 A CN03160039 A CN 03160039A CN 1601460 A CN1601460 A CN 1601460A
Authority
CN
China
Prior art keywords
button
wire
sampled value
key
controlled apparatus
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
CN 03160039
Other languages
Chinese (zh)
Other versions
CN1271509C (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 Beijing 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 CN 03160039 priority Critical patent/CN1271509C/en
Publication of CN1601460A publication Critical patent/CN1601460A/en
Application granted granted Critical
Publication of CN1271509C publication Critical patent/CN1271509C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention provides a method for redefining key function. Said method includes the following steps: A). selecting the message or event A be mapped from existent and predefined messages or events; B). down pressing key to obtain the sampled value of current key; and C). making the message or event selected by step by be mapped on key samled value obtained by step B and storing said key mapping scheme, for different key mapping schemes it can make respective storages. The application of said invention can change the function correspondent to the key of line controlled device, and can raise the practicality and application rate of key.

Description

The method that a kind of keypress function redefines
Technical field
The present invention relates to the control method field, be meant the method that a kind of keypress function redefines especially.
Background technology
Along with development of electronic technology, a lot of portable electric appts all provide wire-controlled apparatus, and for example, walkman, CD player, MD machine and palm PC have all disposed line control earphone.The user can operate the electronic equipment under the wire-controlled apparatus easily by wire-controlled apparatus.
Along with increasing of electronic functionalities, inevitably require wire-controlled apparatus also can provide more function.Therefore at present, the function singleness of each button is fixed on the wire-controlled apparatus, in order to make wire-controlled apparatus that more function can be provided, must increase the quantity of button on the limited space of wire-controlled apparatus.The increasing of button on the wire-controlled apparatus makes that in the bleeder circuit of wire-controlled apparatus, the voltage difference of adjacent key diminishes.Because the sampling to button exists error unavoidably, therefore, in order to eliminate the button false triggering that the mistake sampling that reduces to bring owing to the adjacent key voltage difference causes, just have to adopt more accurate electronic component, virtually, improved the cost of electronic equipment.
On the other hand, because different user use habit or application target difference, the user is also different to the wire-controlled apparatus functional requirement, therefore may exist user's situation very low to some button utilization rate.Walkman that sound-recording function is provided for example, the user may be seldom can program recording, like this, for this user, the utilization rate of this record button will be very low on the wire-controlled apparatus.At present, the user is more and more higher to the pursuit of wire-controlled apparatus, and each user wishes that employed wire-controlled apparatus has minimum volume and the most suitable function of oneself using.Therefore, how in the limited space of wire-controlled apparatus, using limited function keys, remove to satisfy each user's use habit and application target, also is a difficult problem at present.
Summary of the invention
In view of this, the method that the object of the present invention is to provide a kind of keypress function to redefine can be changed the function of the button correspondence of wire-controlled apparatus, improves the practicality and the utilization rate of button.
Realize the present invention, need following steps: A, selected message or the incident that will shine upon from predefined message and incident;
B, push button, obtain the sampled value of current button;
C, message or the incident that steps A is selected are mapped on the resulting button sampled value of step B.
Wherein, this method further comprises: a plurality of buttons are carried out keypress function redefine, repeated execution of steps A is to C.The button mapping that step C obtains is preserved, perhaps different button mapping schemes is preserved respectively.
Wherein, this method further comprises: selection also uses the button mapping scheme of being preserved to remove to control electronic equipment.
Wherein, this method further comprises: on the equipment of button place human-computer interaction interface is set, the button mapping scheme of preserving is checked, deleted.
Wherein, step B is described to push button, and the method that obtains the sampled value of current button is: push button, produce specific magnitude of voltage, be converted into digital signal by digital-to-analog conversion then, obtain the sampled value of this button again by sampling.
Wherein, described button is the button on the wire-controlled apparatus, the wire-controlled apparatus that described wire-controlled apparatus provides for portable electric appts.
By said method as can be seen, the method that keypress function provided by the invention redefines makes the user can freely define the function of line control push-button according to personal like and use habit.Under the situation that does not increase new button, pass through this method, can be with the original line control push-button of new function endowing, the practicality and the utilization rate of each line control push-button have been improved, avoid the low button of utilization rate to occupy the limited space of wire-controlled apparatus, simultaneously, realized the user individual setting of line control push-button function.
In addition, use the present invention not only can reset the function of each button at any time, and can store overlapping the different key mapping scheme more, call according to user preferences, be particularly useful for palm PC, the user can transfer the different button mapping scheme of storage according to the distinct program of current use, and need behind changeover program, not require to set step by step again the function of each button according to the program after switching.
On the other hand, use this method that button is carried out resampling, can make function correspond to button sampled value accurately, reduced sampling error.Therefore, do not using more accurate electronic component, do not increasing under the electronic equipment condition of cost, just can be implemented in increases more button on the wire-controlled apparatus.
Description of drawings
Fig. 1 is for realizing the structural representation of the inventive method.
Fig. 2 redefines process flow diagram for button of the present invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below by specific embodiment with reference to accompanying drawing, the present invention is described in more detail.
Fig. 1 is for realizing the structural representation of the inventive method.As shown in Figure 1, realize the present invention, need button sampling module (101), ROM (102), RAM (103), button definition module (104), button mapping scheme guiding handover module (105) and button mapping scheme administration module (106).
Wherein, the button sampling module is used for push button signalling is converted to sampled value.The hardware of button sampling module realizes comprising the line control push-button mechanism (1011) and the button bleeder circuit (1012) of wire-controlled apparatus side, the digital-to-analogue conversion module (1013) of electronic equipment side and sampling processing module (1014).When certain button is pressed on the wire-controlled apparatus, line control push-button mechanism and button bleeder circuit cooperate the voltage that produces this button correspondence, then voltage is passed to the digital-to-analogue conversion circuit, voltage is converted into digital signal from simulating signal, pass to the sampling processing module again, the sampling processing module to this digital signal samples after output this button sampled value.
The button definition module is used for selected message or incident are mapped on the button sampled value of button sampling module output.In this module, realized the dialogue of upper level applications and drive-by-wire program, upper level applications is meant the program of the present invention that realizes, upper level applications is with selected message or the incident that will shine upon of user, to be mapped to by the drive-by-wire program on the button sampled value of current button sampling module output, thereby realize redefining of wire-controlled apparatus keypress function.
ROM is used for storing the button mapping scheme that sets in advance or be provided with afterwards, realizes the storage of button mapping scheme after the power down, except ROM, also can be other mediums, as hard disk etc., decides according to current electronic equipment.
RAM is used for storing the current button mapping scheme that is using.Except RAM, also can be other mediums, as internal memory etc., decide according to current electronic equipment.
Button mapping scheme guiding handover module is used for reading the button mapping scheme of being preserved from ROM, and this scheme is write among the RAM.
Button mapping scheme administration module is used for the button mapping scheme of being stored among the ROM is managed, and comprises and checks, deletes, the button mapping scheme of first-selection etc. when setting electronic equipment and starting.By this module, the user can delete selected scheme, perhaps concrete in a scheme button mapping is deleted; Or by label is set, the button mapping scheme of acquiescence when certain scheme is set for startup.Implementation can realize by the interface of man-machine interaction.
The process flow diagram that Fig. 2 redefines for button of the present invention.Below be example with the wire-controlled apparatus of palm PC, describe with reference to Fig. 2.
Step 201: after palm PC started, button mapping scheme guiding handover module read the button mapping scheme of giving tacit consent among the ROM, and the scheme that reads is written among the RAM, uses for the user.
Step 202-203: if the user wishes to use other button mapping schemes of preserving among the ROM, then button mapping scheme guiding handover module is according to user's selection, from ROM, read selected button mapping scheme, and the scheme that reads is write among the RAM, use for the user; If the user does not want to use other schemes, then execution in step 204.
Step 204-205: judge whether the user redefines button, if not, then execution in step 211; If then initialization button definition module reads out existing predefined all message and incident in the bottom drive-by-wire.
Step 206: selected message or the incident that will shine upon message that reads out from step 205 by the button definition module and the incident.
Step 207: the button of wire-controlled apparatus is pressed, and by the button sampling module this button is sampled, and the button sampled value that obtains is passed to the button definition module.
Step 208: message that the button definition module is selected with step 206 or incident are mapped on the button sampled value that step 207 passes over.
Step 209: repeating step 206-208, finish the setting of a cover button mapping scheme, and this sets of plan saved as a file.Wherein, different button mapping schemes can save as different files, and perhaps different schemes is saved in the same file and goes, and distinguish at interval with a special symbol between the different schemes.
Step 210-211: the button mapping scheme that the user is set is saved among RAM and the ROM.Wherein, be saved in the scheme among the RAM, the user can use at once, is used for electronic equipment is controlled; Be kept at the scheme among the ROM, call after being provided with.
By above method, the user can be defined as needed utility key (APP, Application Key) to the line control push-button of palm PC; When playing games, can be according to the personal like the function button of the line control push-button of palm PC definition becoming needs in the recreation.
In addition, the present invention also can be used for wireless remote controller, difference is that the hardware components of button sampling module has increased wireless signal transtation mission circuit and wireless signal receiving circuit respectively at line traffic control device side and electronic equipment side, the signal of telechiric device uses wireless protocols by the wireless signal transtation mission circuit, as bluetooth, infrared, 802.11 agreements etc., push button signalling is passed to the wireless signal receiving circuit of electronic equipment end, and receiving end is handled after restoring original signal more according to the method described above.
By method of the present invention, can carry out resampling to button, obtain accurate sampled value.At present, in the production run of equipment, line traffic control and portable electric appts are normally independently produced separately.In order to make portable electric appts can receive the correct control of arbitrary line traffic control, each button voltage range setting on the line traffic control is bigger, and is all identical to the sampled result in this voltage range, corresponding function.Because the sampled voltage scope is bigger, so the device precision also can hang down relatively, because need only in this voltage range, sampled result is identical.
But, after increasing button, total voltage is constant, the voltage range of giving each button just diminishes, if also use the electronic component of original grade to do circuit, then because grade is low, the voltage deviation that causes arrives the voltage range field of other function keys, owing to preestablish each voltage range field sampled value corresponding function difference, therefore cause false triggering.
Use the present invention, after device fabrication, again the voltage of button correspondence is sampled, can obtain sampled value more accurately, and sampled value and function are shone upon again.Through remapping, no matter which interval is this sampled value fall, and all sampled value is mapped on the function of button correspondence, avoided false triggering.Because adopted the method for resampling mapping, deviation has not been a problem, therefore can be implemented in increases more button on the wire-controlled apparatus.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1, the method that redefines of a kind of keypress function is characterized in that this method may further comprise the steps:
A, from predefined message and incident selected message or the incident that will shine upon;
B, push button, obtain the sampled value of current button;
C, message or the incident that steps A is selected are mapped on the resulting button sampled value of step B.
2, method according to claim 1 is characterized in that, this method further comprises: a plurality of buttons are carried out keypress function redefine, repeated execution of steps A is to C.
3, method according to claim 1 and 2 is characterized in that, this method further comprises: the button mapping that step C obtains is preserved.
4, method according to claim 3 is characterized in that, this method further comprises: different button mapping schemes is preserved respectively.
5, method according to claim 3 is characterized in that, this method further comprises: selection also uses the button mapping scheme of being preserved to remove to control electronic equipment.
6, method according to claim 3 is characterized in that, this method further comprises: on the equipment of button place human-computer interaction interface is set, the button mapping scheme of preserving is checked, deleted.
7, method according to claim 1 is characterized in that, step B is described to push button, the method that obtains the sampled value of current button is: push button, produce specific magnitude of voltage, be converted into digital signal by digital-to-analog conversion then, obtain the sampled value of this button again by sampling.
8, method according to claim 1 is characterized in that, described button is the button on the wire-controlled apparatus.
9, method according to claim 8 is characterized in that, the wire-controlled apparatus that described wire-controlled apparatus provides for portable electric appts.
CN 03160039 2003-09-23 2003-09-23 Method of redifining key functions Expired - Lifetime CN1271509C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03160039 CN1271509C (en) 2003-09-23 2003-09-23 Method of redifining key functions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03160039 CN1271509C (en) 2003-09-23 2003-09-23 Method of redifining key functions

Publications (2)

Publication Number Publication Date
CN1601460A true CN1601460A (en) 2005-03-30
CN1271509C CN1271509C (en) 2006-08-23

Family

ID=34660777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03160039 Expired - Lifetime CN1271509C (en) 2003-09-23 2003-09-23 Method of redifining key functions

Country Status (1)

Country Link
CN (1) CN1271509C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807121A (en) * 2010-03-31 2010-08-18 惠州市德赛西威汽车电子有限公司 Compatible key design method
CN103067547A (en) * 2011-10-20 2013-04-24 联芯科技有限公司 Mobile terminal input device and mobile terminal input method
CN103220565A (en) * 2013-05-10 2013-07-24 无锡北斗星通信息科技有限公司 Digital television terminal matched with remote control device and used for textile workshop
CN103488309A (en) * 2013-10-10 2014-01-01 刘瑞祥 Chinese character input method combining simple spelling and component figures

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807121A (en) * 2010-03-31 2010-08-18 惠州市德赛西威汽车电子有限公司 Compatible key design method
CN103067547A (en) * 2011-10-20 2013-04-24 联芯科技有限公司 Mobile terminal input device and mobile terminal input method
CN103220565A (en) * 2013-05-10 2013-07-24 无锡北斗星通信息科技有限公司 Digital television terminal matched with remote control device and used for textile workshop
CN103488309A (en) * 2013-10-10 2014-01-01 刘瑞祥 Chinese character input method combining simple spelling and component figures

Also Published As

Publication number Publication date
CN1271509C (en) 2006-08-23

Similar Documents

Publication Publication Date Title
CN1096811C (en) Communication terminal device, call-history memory method and call-history display method
US9552019B2 (en) Portable terminal having display buttons and method of inputting functions using display buttons
EP2390798B1 (en) Information processing apparatus and information processing method
CN1199425C (en) User interface for hand-held device
CN1166237C (en) Portable telephone set and window switching control method
CN100424612C (en) Information processing apparatus and method, program, and recording medium
CN1228973C (en) Image pickup appts. method for using appts. and control program thereof
CN1955906A (en) Execution method of single key multiple programs
EP1977310A2 (en) Likelihood-based storage management
CN1627764A (en) Mobile communication terminal with multi-input device and method of using the same
CN1801070A (en) Edit methods,systems and portable electron device of user-decide interface
KR20100115547A (en) Method for zooming contents, touch screen terminal and computer-readable recording medium with program therefor
CN1921660A (en) Mobile communication terminal and method for running an application therein
CN1271509C (en) Method of redifining key functions
CN1866385B (en) Content reproducing device and method
CN1933641A (en) Mobile communication terminal with input image transformation function and method
CN1217521C (en) Mobile communication electronic equipment capable of automatically simplifying function selection and its method
CN1598754A (en) Mobile terminal and method for providing a user-interface using a voice signal
CN101079975A (en) A TV set recording user operation and its implementation method
CN1482545A (en) Method and system for producing file list on portable electronic device
CN101035154A (en) Blind portable electronic address list
CN101030100A (en) Telecommunication device with multiple scene mode and contrast database, and its comparison
CN2824263Y (en) Key structure
CN101079980A (en) System and method for quickly searching channel via TV channel classification
CN1198198C (en) Character input method and unit

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
CX01 Expiry of patent term

Granted publication date: 20060823

CX01 Expiry of patent term