The implementation method of automation mechanized operation and mobile terminal
Technical field
The present invention relates to electronic communication field, particularly relate to implementation method and the mobile terminal of automation mechanized operation.
Background technology
Along with the fast development of mechanics of communication, the function of current mobile terminal gets more and more, and the operation of partial function is very loaded down with trivial details, when reusing or arrange a certain function, all will repeat identical operation steps at every turn, very inconvenient.For the function of complex operation, even if user's proper operation to specifications, when using next time, still easily forget or faulty operation.Or in some cases, user frequently can perform one group of fixing operation, if all repeated and step-by-step execution at every turn, wastes time and energy, also easily makes mistakes.If mobile terminal has a kind of function, when user operation, the operating process of mobile terminal can be recorded, when user needs to repeat aforesaid operations, as long as start the file recorded, just can automatically perform, not only can save the step of user operation, save trouble and labor, also reduce misuse rate, decrease mobile terminal hardware deterioration, not only increase the ease for use of mobile terminal, also effectively can extend the serviceable life of mobile terminal.
Summary of the invention
The object of this invention is to provide a kind of implementation method and mobile terminal of automation mechanized operation.
The implementation method of automation mechanized operation provided by the present invention, comprises the steps:
S1 user operation;
S2 generates the intermediate file recording described operation;
S3 is according to described intermediate file executable operations again.
Described S2 generates the step recording the intermediate file of described operation and comprises: S21 is arranged and the conventional execution function phase errorlevel one to one operated; S22 judges that whether the current execution function called is the execution function of described conventional operation, if it is the errorlevel mated with it is write intermediate file.
Further, described intermediate file is executable file, and described S3 comprises according to the step of described intermediate file executable operations again: S31 user operation starts and performs intermediate file; The errorlevel recorded in S33 mobile terminal reading intermediate file is also resolved this errorlevel, inquires the execution function corresponding with this errorlevel; S34 is according to execution function corresponding to the sequence call of errorlevel.
Further, the step that the intermediate file of described operation is recorded in described S2 generation also comprises: S23 sets setting operation; S24 judges whether invoked execution function is the setting operation set, and if so, then the errorlevel mated with it is write intermediate file.
Mobile terminal provided by the present invention, comprising:
Human-computer interaction device, user is entered the operating instructions by this device, realizes the control to mobile terminal;
Intermediate file editor module, generates for the operational order inputted according to user the intermediate file that have recorded described operation;
Execution module: perform function and intermediate file resolved and performs for calling and operate accordingly.
Described intermediate file editor module comprises: export autoexec module, for arranging the execution function phase errorlevel one to one with conventional operation; Monitoring module, whether the execution function that calls of the operation for the current execution of supervisory user is the execution function of described conventional operation, if it is controls described intermediate file editor module and the errorlevel mated with it is write intermediate file.
Described execution module comprises: resolution unit, for resolving intermediate file, inquires the execution function corresponding with the errorlevel of its record; Operating unit, for calling the execution function that resolution unit exports.
Described intermediate file editor module comprises: setting operation identifying unit, for setting setting operation and judging whether current operation is setting operation, if it is controls the errorlevel write intermediate file mated.
The implementation method of automation mechanized operation provided by the present invention and mobile terminal, when user operation, the operating process of mobile terminal can be recorded, when user needs to repeat aforesaid operations, as long as start the file recorded, just can automatically perform, not only can save the step of user operation, save trouble and labor, also reduce misuse rate, decrease mobile terminal hardware deterioration, not only increase the ease for use of mobile terminal, also effectively can extend the serviceable life of mobile terminal.
Accompanying drawing explanation
Fig. 1 is the implementation method schematic flow sheet described in embodiment one;
Fig. 2 is the automated execution schematic flow sheet of the setting operation described in embodiment one;
Fig. 3 is the module diagram automatically performed of the conventional operation of mobile terminal realization described in embodiment two;
Fig. 4 is the schematic flow sheet of the conventional operation of mobile terminal realization described in embodiment two;
Fig. 5 realizes the module diagram automatically performed of setting operation for the mobile terminal described in embodiment two;
Fig. 6 realizes the schematic flow sheet of setting operation for the mobile terminal described in embodiment two.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
As shown in the figures 1 and 2, the present embodiment provides a kind of implementation method of automation mechanized operation, comprises the steps:
S1 user operation;
S2 generates the intermediate file recording described operation;
S3 is according to described intermediate file executable operations again.
As shown in Figure 1, described S2 generates the intermediate file recording described operation, comprising:
S21 is arranged and the conventional execution function phase errorlevel one to one operated; It will be appreciated by those skilled in the art that, there is in mobile terminal a large amount of execution functions, for completing user various operations on mobile terminals, but and the operation of not all can be repeatedly executed at predetermined intervals, therefore only selecting the execution function of the higher execution function of repetition rate as conventional operation here, is its coupling errorlevel; It will be appreciated by those skilled in the art that, realize arranging the step with the conventional execution function phase operated errorlevel one to one by the form of self-defined errorlevel and the method for self-defined errorlevel resolver, mode by adding monitor code in execution function realizes the mark of the execution function to conventional operation, and the execution function being namely added monitor code is the execution function of conventional operation.
S22 judges that whether the current execution function called is the execution function of described conventional operation, if it is the errorlevel mated with it is write intermediate file; It will be appreciated by those skilled in the art that, when user operates on mobile terminals, mobile terminal can call the execution function corresponding with its operation, if this execution function is for have matched errorlevel, illustrate that this is operating as conventional operation, then recorded, the errorlevel being about to match writes intermediate file and preserves.
As shown in Figure 1, described intermediate file is executable file, and described S3 comprises according to the step of described intermediate file executable operations again:
S31 user operation starts execution intermediate file;
The errorlevel recorded in S33 mobile terminal reading intermediate file is also resolved this errorlevel, inquires the execution function corresponding with this errorlevel;
S34 is according to execution function corresponding to the sequence call of errorlevel.
It will be appreciated by those skilled in the art that, this completes the step according to intermediate file executable operations again, thus achieve the automated execution of operation, do not need user's repetitive manual, save trouble and labor, also reduces misuse rate, decreases mobile terminal hardware deterioration, not only increase the ease for use of mobile terminal, also effectively can extend the serviceable life of mobile terminal.
As shown in Figure 2, described S2 generates the intermediate file recording described operation, also comprises:
S23 sets setting operation;
S24 judges whether invoked execution function is the setting operation set, and if so, then the errorlevel mated with it is write intermediate file.
It will be understood by those skilled in the art that like this, described intermediate file, only for recording setting operation, when user performs setting operation, can generate the intermediate file of the errorlevel that have recorded setting operation, thus repeating to automatically perform above-mentioned setting operation; When the operation that user performs not is setting operation, can not produce corresponding errorlevel, therefore non-setting operation can not realize automatically repeating.
Embodiment two
As shown in figure 3 or 4, the present embodiment provides a kind of mobile terminal, can realize the automatic operation method described in embodiment one, comprise:
Human-computer interaction device, user is entered the operating instructions by this device, realizes the control to mobile terminal;
Intermediate file editor module, generates for the operational order inputted according to user the intermediate file that have recorded described operation;
Execution module: perform function and intermediate file resolved and performs for calling and operate accordingly.
Further, described intermediate file editor module comprises:
Export autoexec module, for arranging the execution function phase errorlevel one to one with conventional operation; It will be appreciated by those skilled in the art that, there is in mobile terminal a large amount of execution functions, for completing user various operations on mobile terminals, but and the operation of not all can be repeatedly executed at predetermined intervals, therefore only selecting the execution function of the higher execution function of repetition rate as conventional operation here, is its coupling errorlevel; It will be appreciated by those skilled in the art that, realize arranging the step with the conventional execution function phase operated errorlevel one to one by the form of self-defined errorlevel and the method for self-defined errorlevel resolver, mode by adding monitor code in execution function realizes the mark of the execution function to conventional operation, and the execution function being namely added monitor code is the execution function of conventional operation.
Monitoring module, whether the execution function that calls of the operation for the current execution of supervisory user is the execution function of described conventional operation, if it is controls described intermediate file editor module and the errorlevel mated with it is write intermediate file; It will be appreciated by those skilled in the art that, when user operates on mobile terminals, mobile terminal can call the execution function corresponding with its operation, if this execution function is for have matched errorlevel, illustrate that this is operating as conventional operation, then recorded, the errorlevel being about to match writes intermediate file and preserves.
Further, described execution module comprises:
Resolution unit, for resolving intermediate file, inquires the execution function corresponding with the errorlevel of its record;
Operating unit, for calling the execution function that resolution unit exports, thus completes the automatic operation of mobile terminal.It will be appreciated by those skilled in the art that, this completes the step according to intermediate file executable operations again, thus achieve the automated execution of operation, do not need user's repetitive manual, save trouble and labor, also reduces misuse rate, decreases mobile terminal hardware deterioration, not only increase the ease for use of mobile terminal, also effectively can extend the serviceable life of mobile terminal.
As shown in Fig. 5 or 6, described intermediate file editor module also comprises:
Setting operation identifying unit, for setting setting operation, and judges whether current operation is setting operation, if it is controls the errorlevel write intermediate file mated.It will be understood by those skilled in the art that like this, described intermediate file, only for recording setting operation, when user performs setting operation, can generate the intermediate file of the errorlevel that have recorded setting operation, thus repeating to automatically perform above-mentioned setting operation; When the operation that user performs not is setting operation, can not produce corresponding errorlevel, therefore non-setting operation can not realize automatically repeating.
As shown in the figures 1 and 2, we perform with user and are operating as example below below, illustrate the step that the present embodiment performs automation mechanized operation.
Application A larm in master menu first page is placed on second page by user;
Delete application A ngryBirds;
Arrange alarm clock 07:00, greedy sleep 5 minutes, the tinkle of bells is HappyMorning;
Screen intensity is set to maximum.
Step one, on mobile terminals setting and aforesaid operations phase errorlevel one to one;
Step 2, an intermediate file is set on mobile terminals, for the execution function of the errorlevel corresponding to recording user current operation and correspondence; Described intermediate file can be one and include the form document changing function; Described intermediate file is an executable file, when after execute file, can call the change function of setting to resolve described form document, and do corresponding set handling;
After step 3, user open recording function, monitor the current operation of user, if monitored operation is performed, mobile terminal exports corresponding content to described intermediate file, completes recording.The method of described monitoring can comprise: arrange monitor code at key point, action and setting option.
The display of step 4, mobile terminal is perfect records and arranges recording, and described perfection recording refers to records conventional operation; The setting operation recorded and refer to and only record in conventional operation is set, non-setting operation is not recorded.
Step 5, perform perfect recording, under this pattern, the operating system on mobile terminal will support self-defining errorlevel, forms definition of these orders and resolve self-defined by system.After perfect recording operation, generate autoexec, the code in these files of system analysis effectively perfectly can reappear whole operating process; Recording result is generate the intermediate file comprising following errorlevel:
MOVE_MAINMENU(ALARMPAGE1PAGE2)
DELETE_APP(ANGRYBIRDS)
SET_ALARM(107:00NULL5HAPPY_MORNINGNULLNULLNULLNULL);
Step 6, execution arrange recording, if monitored code is performed, system just exports setting change form document.List of modification lattice file is executable file, after performing this file, calls setting change function and resolves this form document, and make corresponding set handling.Recording result is generate the intermediate file comprising following errorlevel:
ALARM107:00NULL5HAPPY_MORNINGNULLNULLNULLNULL
DISPLAYBRIGHTMAX;
Step 8, execution recorded file.
Step 9, system repeats the action of recording automatically.
The aforesaid operations that this completes user performs is recorded, and when needs, as long as user performs described intermediate file, just can complete automatically performing of aforesaid operations.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.