The define method of palm intelligent equipment quick keyTechnical field:
The present invention relates to a kind of define method of palm intelligent equipment quick key, be meant the define method of the shortcut of a kind of use in intelligent mobile device, hand-held device and e-dictionary especially.
Background technology:
Along with the continuous development of computer technology, the function of electronic products such as intelligent mobile device, hand-held device, e-dictionary is more and more stronger; And the content that is comprised is also more and more abundanter.Thus, how in the middle of the feature list (menu) of numerous and complicated, start the most frequently used application program apace, perhaps in the content of pages of numerous and complicated, enter the page that pre-sets apace, become the function that the user is concerned about and presses for very much.
But the shortcut of palm intelligent equipments more of the prior art is product predetermined fixed when producing often, and the user can't come to define voluntarily the palm intelligent equipment quick key corresponding application program or the page according to the actual needs.Obviously, can't satisfy user's the environment for use that varies and like this to the demand of difference in functionality.And minority can realize that the self-defining implementation of palm intelligent equipment quick key is relatively loaded down with trivial details, can't realize being provided with fast and effectively.For example: adopt independent setting program to define the shortcut of palm intelligent equipment, the user need select wherein one content that pre-sets as the shortcut of this palm intelligent equipment from numerous the application lists.As everyone knows: common palm intelligent equipment, for example: the function of electronic products such as intelligent mobile device, hand-held device, e-dictionary is various, and the complicated operation that this mode of selecting setting makes definition is very inconvenient.
Summary of the invention:
Fundamental purpose of the present invention is to provide a kind of define method of palm intelligent equipment quick key, and the user can be provided with the application program or the content page of shortcut definition easily, reduces the loaded down with trivial details of defining operation.
The object of the present invention is achieved like this:
A kind of define method of palm intelligent equipment quick key is at first set up application program identification, carries out the shortcut configuration, carries out related with shortcut this application program identification then.
Describedly set up application program identification and be: application program under the respective directories item in the palm intelligent equipment and/or file are set up unique pointer.
Described application program identification also further comprises: corresponding to unique pointer of the different pages of same application.
Described shortcut is configured to: the corresponding hardware button to palm intelligent equipment is set up configuration file one to one, and with this configuration file stores in corresponding memory block; This configuration file comprises at least: the address pointer information and the pointer validity check information of shortcut number information, quick program or the page.
Describedly application program identification and shortcut carried out related concrete operations comprise at least:
Step 10: detect special function keys and whether be pressed, if do not press execution in step 13;
Step 11: detect shortcut and whether be pressed, if do not press execution in step 13;
Step 12: with the unique pointer of the current application program or the page key, write the address pointer district of corresponding shortcut configuration file, and the pointer validity check is changed to " effectively " according to the shortcut that is pressed;
Step 13: finish.
Described application program identification and shortcut are carried out also comprising in the related concrete operations: after step 12, before the step 13, step 12A: send successful message of shortcut definition and demonstration.
The present invention also further comprises the method for application program quickly starting, is specially:
Step 20: detect shortcut and whether be pressed, if do not press execution in step 23;
Step 21: the configuration file that calls the shortcut of storing in the memory block of shortcut configuration file;
Step 22: start the unique pointer application program or page pointed that the address pointer district is preserved in the shortcut configuration file;
Step 23: finish.
The invention enables the user of palm intelligent equipment that the application program or the content page of shortcut definition can be set easily, thereby reduced the loaded down with trivial details of defining operation, strengthened the dirigibility of shortcut definition.
Description of drawings:
Fig. 1 is the shortcut of a kind of palm intelligent equipment of the present invention and the synoptic diagram of special function keys.
Fig. 2 is the shortcut of another palm intelligent equipment of the present invention and the synoptic diagram of special function keys.
Fig. 3 is the process flow diagram of shortcut definition of the present invention.
Fig. 4 starts the process flow diagram of application program by shortcut for the present invention.
Embodiment:
The present invention is described in further detail below in conjunction with accompanying drawing and specific embodiment:
Referring to Fig. 1, Fig. 2, palm intelligent equipment involved in the present invention is provided with the keyboard that is used to operate, and except that general operation push-button, also is provided with theshortcut 1 that can freely define and is used to cooperate thespecial function keys 2 that defines shortcut on this keyboard.
At palm intelligent equipment, comprise at least: mobile device, hand-held device and e-dictionary, in set up complete catalog function management system.All set up and this application program, unique pointer that file is corresponding at the application program under all directory entries in the palm intelligent equipment, file; For the different pages in the same application, the present invention also sets up corresponding unique pointer for it.
In fact above-mentionedshortcut 1 comprises hardware button itself and the configuration file that defines for it, and this configuration file leaves among the memory block of shortcut configuration file.The hardware button ofshortcut 1 is corresponding one by one with configuration file.
Special function keys 2 is meant the hardware button withshortcut 1 mating reaction, " SHIFT " key that for example general palm intelligent equipment itself has, " ALT " key, " ^ " key and " FN " key or the like.
Referring to Fig. 3, the operation when specifically defining shortcut is as follows: after the user had carried out a certain application program or entered a certain application program page, the user pressed special function keys earlier; At this moment the keyboard driver of palm intelligent equipment can receive the scanning code value of a correspondence, and according to this scan code, keyboard driver will send the message (KEY) of a key operation, and the expression special function keys is pressed; To represent that simultaneously the key of special function keys sends the central processing unit of palm intelligent equipment to.After this, when the user pressed shortcut again, by above-mentioned same mode, palm intelligent equipment received the key of expression shortcut.Meanwhile, the central processing unit of palm intelligent equipment is updated to unique pointer of the current application program or the page with the unique pointer information in the configuration file of this shortcut, and preserve the memory block (specific buffer area) that is written to the shortcut configuration file.After the shortcut definition procedure finished, the central processing unit of palm intelligent equipment sent the successful message of shortcut definition, and shows.
The concrete steps of said process are as follows:
Step 10: detect special function keys and whether be pressed, if do not press execution in step 13;
Step 11: detect shortcut and whether be pressed, if do not press execution in step 13;
Step 12:, write in the memory block of corresponding shortcut configuration file with the unique pointer of the current application program or the page key according to the shortcut that is pressed;
Step 12A: send successful message of shortcut definition and demonstration;
Step 13: finish.
When the undefined shortcut of user, palm intelligent equipment sets up unique pointer content in the shortcut configuration file on their own according to design requirement, for example: will this content-defined be application catalog in the palm intelligent equipment.This process is the initialization definitions process of shortcut.
Referring to Fig. 4, based on above-mentioned shortcut definition, the process of utilizing shortcut to start corresponding application is:
When the shortcut of palm intelligent equipment is pressed, the keyboard driver in the palm intelligent equipment will receive a scanning key of representing this shortcut, and this keyboard driver will send the message (KEY) of this shortcut subsequently.After the central processing unit of palm intelligent equipment receives this message, confirm whether this message is the message of shortcut.If, then call the configuration file that leaves the shortcut among the shortcut configuration file stores district in, and directly start the unique pointer application program or page pointed of preserving in the shortcut configuration file, finish corresponding startup.
Above embodiment is the unrestricted technical scheme involved in the present invention in order to explanation only, although the present invention is had been described in detail with reference to above preferred embodiment, those of ordinary skill in the art should be appreciated that technical scheme of the present invention can make amendment, is out of shape or is equal to replacement; And do not break away from the spirit and scope of technical solution of the present invention, all should be encompassed among the claim scope of the present invention.