Summary of the invention
The embodiment of the present invention provides a kind of mobile terminal background program control method and mobile terminal, can the behavior of effective controlling application program Background scheduling timer service, strengthens Consumer's Experience.
Concrete, the mobile terminal background program control method that the embodiment of the present invention provides, it comprises:
Monitor and obtain the behavior of application call timer service;
Show the behavior of described application call timer service;
Obtain the command information of user's input;
Judge that whether the command information that described user inputs is consistent with the sub-information of the determination information preset or default determination information;
If the command information of described user's input is consistent with the sub-information of described default determination information or default determination information, the instruction of the sub-information match of execution and described default determination information or described default determination information, to continue, stop or stop the behavior of described application call timer service.
Accordingly, a kind of mobile terminal that the embodiment of the present invention provides, it comprises:
Monitoring module, for monitoring and obtain application program whether have the behavior of calling timer service;
Subscriber Interface Module SIM, calls the application list of timer service behavior for showing current time, and accepts the command information of user;
Determination module, whether consistent with the sub-information of the determination information preset or default determination information for judging the command information of described user;
Executive Module, for performing the instruction with the sub-information match of described default determination information or default determination information, to continue, to stop or to stop the behavior of described application call timer service.
In the embodiment of the present invention, the application program being informed in mobile terminal Background scheduling timer service can be needed according to user, these application programs are presented to user, help user's unrestricted choice to allow, stop or stop the behavior of application requests timer service.Thus, the effective operation conditions controlling mobile terminal background application, reaches the effect of saving electricity, and improves Consumer's Experience.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, 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.
Fig. 1 is the schematic flow sheet of an embodiment of mobile terminal background program control method of the present invention.As shown in Figure 1, the mobile terminal background program control method in the embodiment of the present invention can comprise:
Step S101, monitors and obtains the behavior of application call timer service.
Step S102, shows the behavior of described application call timer service.
Step S103, obtains the command information of user's input.
Step S104, judges that whether the command information that described user inputs is consistent with the sub-information of the determination information preset or default determination information, if unanimously, performs step S105; If inconsistent, perform step S106.
Step S105, the instruction of the sub-information match of execution and described default determination information or described default determination information, to continue, stops or stops the behavior of described application call timer service.
Step S106, prompting user: it is invalid to input, and please re-enter.
In specific implementation, first get the behavior of application call timer service; Anyly have the application program calling timer service behavior to be shown to user by current, user check rear selection will to the application program of executable operations, input command information; Judge that whether the command information that described user inputs is consistent with the sub-information of the determination information preset or default determination information; If consistent, the instruction of the sub-information match of execution and described default determination information or described default determination information; If inconsistent, prompting user: it is invalid to input, and please re-enter.
In embodiments of the present invention, the instruction matched with described default determination information can be: continue the behavior allowing described application call timer service, stop the behavior of described application call timer service, stop the behavior of described application call timer service.With the instruction of the sub-information match of described default determination information can be: the behavior continuing to allow described application call timer service in certain hour section, at the end of described certain hour section, automatically forbid the behavior of described application call timer service; Also can be: the behavior stopping described application call timer service in certain hour section after the described time period terminates, automatically open the behavior of described application call timer service with the instruction of the sub-information match of described default determination information.
Pass through the embodiment of the present invention, user can check the application program at Background scheduling timer service at any time, and independently determine whether continue to allow according to individual demand, stop or call described in termination the application program of timer service, user effectively controlling application program can call the behavior of timer service, effectively saves electricity.
Fig. 2 is the schematic flow sheet of another embodiment of mobile terminal background program control method of the present invention.As shown in Figure 2, the mobile terminal background program control method of the embodiment of the present invention can comprise:
Step S201, arranges default determination information, the instruction matched with the determination information preset.
Step S202, arranges the sub-information of described default determination information, with the instruction of the sub-information match of described default determination information.
Step S203, accepts the request that user checks the behavior of application call timer service.
Step S204, determines the behavior that there is application call timer service.
Step S205, shows the behavior of described application call timer service.
Step S206, obtains the command information of user's input.
Step S207, judges that whether the command information that described user inputs is consistent with the sub-information of the determination information preset or default determination information, if inconsistent, performs step S208; If consistent, perform step S209.
Step S208, prompting user: it is invalid to input, and please re-enter.
Step S209, the instruction of the sub-information match of execution and described default determination information or described default determination information, to continue, stops or stops the behavior of described application call timer service.
In specific implementation, user first independently arranges default determination information, the instruction matched with the determination information preset; The sub-information of described default determination information is set, with the instruction of the sub-information match of described default determination information; Accept the request that user checks application call timer service; Determine the behavior that there is application call timer service; Show the behavior of described application call timer service to user; Obtain the command information of user's input and judge that whether described command information is consistent with the sub-information of the determination information preset or default determination information, if inconsistent, prompting user: it is invalid to input, and please re-enter; If consistent, the just instruction of the sub-information match of execution and described default determination information or described default determination information.
In embodiments of the present invention, the sub-information of determination information that user freely can arrange default determination information as required and preset, and with described default determination information and the command instruction of the sub-information match of determination information preset.User can pass through keyboard, the input command information such as voice, and the sub-information of described default determination information and described default determination information can be text message also can for voice messaging.The instruction matched with described default determination information can be: continue the behavior allowing described application call timer service, stop the behavior of described application call timer service, stop the behavior of described application call timer service.With the instruction of the sub-information match of described default determination information can be: the behavior continuing to allow described application call timer service in certain hour section, at the end of described certain hour section, automatically forbid the behavior of described application call timer service; Also can be: the behavior stopping described application call timer service in certain hour section after the described time period terminates, automatically open the behavior of described application call timer service with the instruction of the sub-information match of described default determination information.
By the embodiment of the present invention, the sub-information of determination information that user freely can arrange default determination information as required and preset, and with described default determination information and the command instruction of the sub-information match of determination information preset; The mode of user's input command also can be input through keyboard, phonetic entry etc.; While effectively saving electricity, also improve Consumer's Experience.
Fig. 3 is the structure composition schematic diagram of mobile terminal one embodiment of the present invention.As shown in Figure 3, the mobile terminal in the embodiment of the present invention can comprise: monitoring module 11, Subscriber Interface Module SIM 12, determination module 13 and Executive Module 14.
Monitoring module 11, for monitoring and obtain application program whether have the behavior of calling timer service.
Subscriber Interface Module SIM 12, for calling the application list of timer service behavior according to the monitored results display current time of monitoring module 11, and accepts the command information of user.
Determination module 13, whether consistent with the sub-information of the determination information preset or default determination information for judging the command information of the described user that Subscriber Interface Module SIM 12 accepts.
Executive Module 14, after determination module 13 judges that the command information of described user is consistent with the determination information preset or the sub-information of default determination information, for performing the instruction with the sub-information match of described default determination information or default determination information, to continue, to stop or to stop the behavior of described application call timer service.
In specific implementation, the monitoring module 11 of the embodiment of the present invention monitors the network traffics that all application programs take on backstage, when the network traffics that described application program takies on backstage exceed certain threshold values, judge that described application program has the behavior of calling timer service.
Therefore in the embodiment of the present invention, user can know current the application list calling timer service at any time by monitoring module 11 and Subscriber Interface Module SIM 12, and input command information.Whether continue to allow from master control by determination module 13 and Executive Module 14, stop or call described in termination the application program of timer service, by the mobile terminal in the embodiment of the present invention, user effectively controlling application program can call the behavior of timer service, effectively saves electricity.
Please refer to Fig. 4 and Fig. 5, Fig. 4 is the structure composition schematic diagram of another embodiment of mobile terminal of the present invention, and Fig. 5 is the memory module schematic diagram of mobile terminal one embodiment of the present invention.
As shown in Figure 4, the mobile terminal in the embodiment of the present invention can comprise:
Monitoring module 21, for monitoring and obtain application program whether have the behavior of calling timer service.
Determination module 22, for determining to exist the application program calling timer service behavior.
Subscriber Interface Module SIM 23, for calling the application list of timer service behavior according to the confirmation result display current time of confirmation module 22, and accepts the command information of user.
Memory module 24, for storing the sub-information of described default determination information and described default determination information, with the instruction of the sub-information match of described default determination information and described default determination information.
Determination module 25, whether consistent with the sub-information of the determination information preset in memory module 25 or default determination information for judging the command information of the described user that Subscriber Interface Module SIM 23 accepts.
Executive Module 26, after determination module 25 judges that the command information of described user is consistent with the determination information preset or the sub-information of default determination information, for performing the instruction with the sub-information match of described default determination information or default determination information, to continue, to stop or to stop the behavior of described application call timer service.
As shown in Figure 5, memory module 24 can comprise: the first presupposed information memory cell 241, for preserving described default determination information; Second presupposed information memory cell 242, for preserving the sub-information of described default determination information; The location of instruction 243, for storing the instruction with the sub-information match of described default determination information or default determination information.
In specific implementation, the described default determination information stored in the first presupposed information memory cell 241 can comprise: the information allowing the behavior of described application call timer service; Stop the information of the behavior of described application call timer service; Stop the information of the behavior of described application call timer service.The sub-information of the described default determination information stored in the second presupposed information memory cell 242 can comprise: the time span information allowing the behavior of described application call timer service; Stop the time span information of the behavior of described application call timer service.The instruction stored in the location of instruction 243 can comprise: continue to allow described application call timer service; Continue the time span allowing described application call timer service; Stop described application call timer service; Stop the time span of described application call timer service; Stop described application call timer service completely.
In specific implementation, Subscriber Interface Module SIM 23 can comprise keyboard, touch-screen, voice transmitting-receiving mobile terminal.The sub-information of described default determination information stored in the described default determination information stored in first presupposed information memory cell 241 and the second presupposed information memory cell 242 can be text message, also can be voice messaging.
In specific implementation, the first presupposed information memory cell 241 and the second presupposed information memory cell 242 can be an information memory cell.
Pass through the embodiment of the present invention, the sub-information of determination information that user freely can arrange default determination information as required and preset, and with described default determination information and the command instruction of the sub-information match of determination information preset in memory module 24; The mode that Subscriber Interface Module SIM 23 accepts user's input command also can be input through keyboard, phonetic entry etc.; While effectively saving electricity, also improve Consumer's Experience.
The sequence of steps of the method for the embodiment of the present invention can adjust according to actual needs.The module of the mobile terminal of the embodiment of the present invention can carry out integrating and Further Division according to actual needs.The mobile terminal of the embodiment of the present invention can be mobile phone, computer, portable set etc.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.