Summary of the invention
For solving the problem in above-mentioned prior art, the invention provides a kind of gesture operation method of easy to operate, succinct mobile phone file processing.
The present invention realizes in the following way:
A file operation method for electric terminal, comprises step:
Load and show more than one file;
The gesture operation to file is monitored by the gesture audiomonitor preset;
When file is selected, when acting on the certain gestures of selected file if listen to, then trigger audiomonitor, described certain gestures refers to the action of lifting finger to the right after the slip or left acting on selected file pulls;
Perform the operation of binding with audiomonitor, hide selected file, and in the more than one action button of the position display of selected file;
Action button receives click commands, carries out corresponding operating to selected file.
The present invention is when user carries out file operation, by intercepting and obtaining the mode of user's prearranged gesture, dynamically show action button for user's direct control, logical without the need to multilevel menu, realize the various operational requirements to file, process is simple, directly perceived, quick, efficient.
Embodiment
For the ease of the understanding of those skilled in the art, below in conjunction with accompanying drawing to the present invention and the effect that can produce and advantage, the preferred embodiment of lifting this case is described in detail as follows.
Fig. 1 is process flow diagram of the present invention.
Step S101, loads and shows more than one file;
Start and enter the documentor of electric terminal, now, this documentor reads the file data in electric terminal memory module, and is shown in a predetermined format on touch-screen, as from top to bottom shown successively in the form of a list.
Step S102, monitors the gesture operation to file by the gesture audiomonitor preset;
By the gesture audiomonitor preset, gesture monitoring is carried out to each file shown in step S101 on the touchscreen, described gesture audiomonitor refers in SDK (Software Development Kit) (SDK) monitors interface for one of the gesture operation of monitoring users on screen, for catching and the various gesture operations of recognition reaction on file.
Step S103, when file is selected, when acting on the certain gestures of selected file if listen to, then triggers audiomonitor, and described certain gestures refers to the action of lifting finger to the right after the slip or left acting on selected file pulls;
Described file reception to click and the action command kept in touch time be in selected state, and distinguished by color and alternative document, after file is selected, gesture audiomonitor meeting monitoring users is to the gesture operation of this file, and judge whether the gesture operation of user matches with the specific operation preset, described certain gestures refers to the action of lifting finger to the right after the slip or left acting on selected file pulls, certain gestures described in the present embodiment refers to the action of lifting finger after the slip to the right acting on selected file pulls, as shown in Figure 2, each file 1 shows on the touchscreen 3 in the form of a list after loading, when user pulls afterwards for selected file 2 slip performed to the right and lifts the action of finger, its operation trace is as shown in sliding trace 2, then program will trigger the gesture audiomonitor preset, then step S104 is performed.
Step S104, performs the operation of binding with audiomonitor, hides selected file, and in the more than one action button of the position display of selected file;
Gesture audiomonitor listens to the gesture operation for filesselected, once listen to the operational motion matched, corresponding event-handling method will be triggered, as shown in Figure 3, incident process in the present embodiment comprises: hide selected file, as hidden file 2, and in the more than one action button 4 of the position display of selected file 2, described action button 4 comprises the name be arranged in order and is called cancellation, delete, details, copy, the button control returned, also can be as required, increase or delete button control, described corresponding operating specifically comprises: cancel and backspace file list display interface, or, deleted file backspace file list interface, or, display file details, or, xcopy, or, direct backspace file list interface.Equally, the kind of corresponding operating also can suitably increase as required and delete;
Further, if when described button control quantity exceeds the indication range of selected document location, shown by left/right circulation slip, quantity as button control is 7, and the indication range of selected document location is when being 5, then show 5 button controls and hide 2 unnecessary button controls, when needing to show 2 unnecessary button controls, left/right can drag control button, 2 button controls hidden are presented in the indication range of selected document location, and other 2 button controls are stashed simultaneously, filesselected position is made to show 5 button controls all the time.
Step S105, action button receives click commands, carries out corresponding operating to selected file;
User according to demand, clicking operation button, can perform in contrast in file operation, and return step S101 after operation completes, reload and dir on touch-screen.The present embodiment comprises: cancel and backspace file list display interface; Or, deleted file backspace file list interface; Or, display file details; Or, xcopy; Or, direct backspace file list interface.
The file operation method of electric terminal provided by the present invention, described electric terminal comprises: computing machine, mobile phone, panel computer, PDA.
The content mentioned in above-described embodiment is not limitation of the invention, and without departing from the inventive concept of the premise, any apparent replacement is all within protection scope of the present invention.