CN105700662A - Method for processing data service and terminal - Google Patents

Method for processing data service and terminal Download PDF

Info

Publication number
CN105700662A
CN105700662A CN201511031810.4A CN201511031810A CN105700662A CN 105700662 A CN105700662 A CN 105700662A CN 201511031810 A CN201511031810 A CN 201511031810A CN 105700662 A CN105700662 A CN 105700662A
Authority
CN
China
Prior art keywords
running status
terminal
authority
application program
application
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.)
Pending
Application number
CN201511031810.4A
Other languages
Chinese (zh)
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201511031810.4A priority Critical patent/CN105700662A/en
Publication of CN105700662A publication Critical patent/CN105700662A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention provides a method for processing a data service and a terminal. The method comprises the following steps: when receiving a data service processing request of a target application, acquiring an object authority of the target application, wherein the object authority is used for representing and processing a running status of the target application corresponding to the requested data service and a running status of the terminal; detecting a current running status of the target application and a current running status of the terminal; and when the current running status of the target application and the current running status of the terminal satisfy the object authority, processing the data service. By adopting the embodiment of the invention, the data service of the application can be processed according to the authority of the application, so that the terminal power consumption can be reduced.

Description

A kind of method processing data service and terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method processing data service and terminal。
Background technology
Development along with information technology and electronic technology, terminal (such as: mobile phone, flat board etc.) is closely bound up with daily life, owing to terminal can install various application program, such as taking pictures software, shopping software, instant communication software, on-line payment software etc., people are more and more higher to the dependency of terminal。But, extensive application program there is also a problem while bringing convenience to people's life, terminal consumes substantial amounts of electricity when standby, such as, in Android system, most application program can set the time and wake application processor processes data service up, or, in server that application program is corresponding and terminal interaction process, the foundation of data cube computation each time and release, all consume more electricity。
In prior art, the number of times that application processor is waken up is reduced by alignment arousal function or third party's program, but the server that application programs is corresponding and terminal interaction management and control are less, and server and terminal interaction wake, than application program, many tens times of the electricity that application processor consumes up, therefore the power consumption still ratio that prior art reduces is relatively limited, and the flying power of terminal need to improve。
Summary of the invention
The embodiment of the present invention provides a kind of method processing data service and terminal, it is possible to processes the data service of application program according to the authority of application program, and then reduces power consumption of terminal。
Embodiment of the present invention first aspect provides a kind of method processing data service, including:
When the data processing receiving destination application is asked, obtaining the target authority of described destination application, described target authority is for characterizing the running status of running status and the described terminal processing described destination application corresponding to requested data service;
Detect the current running status of described destination application and the current running status of described terminal;
When the current running status of described destination application and the current running status of described terminal meet described target authority, described data service is processed。
Embodiment of the present invention second aspect provides a kind of terminal, including:
Acquiring unit, during for asking when the data processing receiving destination application, obtaining the target authority of described destination application, described target authority is for characterizing the running status of running status and the described terminal processing described destination application corresponding to requested data service;
Detection unit, for detecting the current running status of described destination application and the current running status of described terminal;
Processing unit, is in when the current running status of described destination application and the current running status of described terminal meet described target authority, described data service is processed。
In embodiments of the present invention, when the data processing receiving destination application is asked, obtain instruction and process the target authority of the running status that requested data service requires destination application and terminal to possess, when the current running status of destination application being detected and the current running status of terminal meets target authority, data service is processed。Processed the data service of application program by the authority according to application program, application program can not only be reduced and waken up the number of times of application processor by the setting time, moreover it is possible to reduce the foundation of data cube computation and the number of times of release, and then decrease power consumption of terminal。
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings。
Fig. 1 is the schematic flow sheet of a kind of method processing data service that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet that the another kind that the embodiment of the present invention provides processes the method for data service;
Fig. 3 is the schematic flow sheet that the another kind that the embodiment of the present invention provides processes the method for data service;
Fig. 4 is the schematic flow sheet that the another kind that the embodiment of the present invention provides processes the method for data service;
Fig. 5 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the another kind of terminal that the embodiment of the present invention provides。
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not paying creative work premise, broadly fall into the scope of protection of the invention。
The method processing data service that the embodiment of the present invention provides can apply to the method processing data service in mobile phone, such as, when the data processing of the destination application received in mobile phone is asked, obtain the target authority of described destination application, described target authority processes, for indicating, the running status that requested data service requires described destination application and described mobile phone to possess, detect the current running status of described destination application and the current running status of described mobile phone, when the current running status of described destination application and the current running status of described mobile phone meet described target authority, described data service is processed。Processed the data service of application program by the authority according to application program, application program can not only be reduced and waken up the number of times of application processor by the setting time, moreover it is possible to reduce the foundation of data cube computation and the number of times of release, and then decrease mobile telephone power consumption。
The terminal that the present embodiments relate to can be any equipment possessing storage and communication function, such as: the equipment such as panel computer, mobile phone, electronic reader, personal computer (PersonalComputer, PC), notebook computer, mobile unit, Web TV, wearable device。
Below in conjunction with accompanying drawing 1-accompanying drawing 4, the method processing data service that the embodiment of the present invention is provided describes in detail。
Refer to Fig. 1, for embodiments providing the schematic flow sheet of a kind of method processing data service。As it is shown in figure 1, the described method of the embodiment of the present invention may comprise steps of S101-step S103。
S101, when the data processing receiving destination application is asked, obtains the target authority of described destination application。
Concrete, when the data processing receiving destination application is asked, described terminal obtains the target authority of described destination application。Wherein, the request of described data processing can be that destination application sets the time in advance and wakes the data service of the application processor processes in terminal up, for instance, alarm clock, stroke reminding, memorandum event etc.;Can also is that the data service that the application server needing terminal corresponding with destination application that destination application sends to application processor is mutual at wireless communication status, or the data service that the access point such as terminal and base station interacts, such as, the communication data of instant communication software, application program positions the data service etc. of current location information。When the data processing receiving destination application is asked, obtain the target authority of described destination application, described target authority is for characterizing the running status of running status and the described terminal processing described destination application corresponding to requested data service, namely described target authority is indicated for the data traffic conditions of the described terminal permission described destination application of process, it should be noted that, different application can corresponding different authority, this is not limited by the embodiment of the present invention。
Optionally, the running status of described destination application includes at least one state in front stage operation state and background operation state;The running status of described terminal includes at least one state in state of activation, holding state, charged state or uncharged state。
S102, detects the current running status of described destination application and the current running status of described terminal。
Concrete, described terminal detects the current running status of described destination application and the current running status of described terminal, to judge whether the current running status of described destination application and the current running status of described terminal disclosure satisfy that the target authority of described destination application。
S103, when the current running status of described destination application and the current running status of described terminal meet described target authority, processes described data service。
Concrete, when the current running status of described destination application and the current running status of described terminal meet described target authority, described data service is processed by described terminal。Wherein, owing to the running status of application program has multiple situation, the running status of terminal also has multiple situation, therefore in a kind of feasible scheme, when in the running status indicated by the running status that described destination application is current is present in described target authority, and when in the running status indicated by the running status that described terminal is current is present in described target authority, described data service is processed by described terminal。In other words, the subset that the current running status of described destination application is the subset of the state indicated by described target authority and the current running status of described terminal is the state indicated by described target authority, described data service is processed by described terminal。
In embodiments of the present invention, when the data processing receiving destination application is asked, obtain instruction and process the target authority of the running status that requested data service requires destination application and terminal to possess, when the current running status of destination application being detected and the current running status of terminal meets target authority, data service is processed。Processed the data service of application program by the authority according to application program, application program can not only be reduced and waken up the number of times of application processor by the setting time, moreover it is possible to reduce the foundation of data cube computation and the number of times of release, and then decrease power consumption of terminal。
Refer to Fig. 2, for embodiments providing the schematic flow sheet of the another kind of method processing data service。As in figure 2 it is shown, the described method of the embodiment of the present invention may comprise steps of S201-step S204。
S201, arranges authority at least one application program in terminal, an application program correspondence one authority。
Concrete, terminal is that at least one application program installed in terminal arranges authority, an application program correspondence one authority。Wherein, the authority of application program is for characterizing the running status of described application program corresponding to the data service processing described application program and the running status of described terminal, and namely the authority of application program is indicated for allowing the condition of data service described in the application processor processes of described terminal。Wherein, the running status of described application program includes at least one state in front stage operation state and background operation state;The running status of described terminal includes at least one state in state of activation, holding state, charged state or uncharged state。
For example, the predeterminable different grades of authority of described terminal, select the grade application programs being suitable for that authority is set。Such as one-level authority, refers to and is in any of the above running status and terminal is in any of the above running status situation at the first application program, terminal can process any data service of described first application program;Two grades of authorities, refer to background operation state and/or the front stage operation state of being at the second application program, and terminal is when being active with charged state, state of activation and uncharged state, terminal can process any data service of described second application program;Three grades of authorities, refer to and are in front stage operation state at the 3rd application program, and when terminal is active with charged state, state of activation and uncharged state, terminal can process any data service of described 3rd application program;Level Four authority, refer to background operation state and/or the front stage operation state of being at the 4th application program, and terminal is when being active with charged state, holding state and charged state, terminal can process any data service of described 4th application program。It is understood that above first, second, third, fourth is for distinguishing explanation。Being only more than citing, the present invention is that the embodiment actual conditions to authority does not limit。
S202, when the data processing receiving destination application is asked, obtains the target authority of described destination application。
Concrete, when the data processing receiving destination application is asked, described terminal obtains the target authority of the described destination application preset。Wherein, the request of described data processing can be that destination application sets the time in advance and wakes the data service of the application processor processes in terminal up, for instance, alarm clock, stroke reminding, memorandum event etc.;Can also is that the data service that the application server needing terminal corresponding with destination application that destination application sends to application processor is mutual at wireless communication status, or the data service that the access point such as terminal and base station interacts, such as, the communication data of instant communication software, application program positions the data service etc. of current location information。When the data processing receiving destination application is asked, obtain the target authority of described destination application, described target authority is for characterizing the running status of running status and the described terminal processing described destination application corresponding to requested data service, namely described target authority is indicated for the data traffic conditions of the described terminal permission described destination application of process, it should be noted that, different application can corresponding different authority, this is not limited by the embodiment of the present invention。
S203, detects the current running status of described destination application and the current running status of described terminal。
Concrete, described terminal detects the current running status of described destination application and the current running status of described terminal, to judge whether the current running status of described destination application and the current running status of described terminal disclosure satisfy that the target authority of described destination application。
S204, when the current running status of described destination application and the current running status of described terminal meet described target authority, processes described data service。
Concrete, when the current running status of described destination application and the current running status of described terminal meet described target authority, described data service is processed by described terminal。Wherein, owing to the running status of application program has multiple situation, the running status of terminal also has multiple situation, therefore in a kind of feasible scheme, when in the running status indicated by the running status that described destination application is current is present in described target authority, and when in the running status indicated by the running status that described terminal is current is present in described target authority, described data service is processed by described terminal。In other words, the subset that the current running status of described destination application is the subset of the state indicated by described target authority and the current running status of described terminal is the state indicated by described target authority, described data service is processed by described terminal。
In embodiments of the present invention, when the data processing receiving destination application is asked, obtain instruction and process the target authority of the running status that requested data service requires destination application and terminal to possess, when the current running status of destination application being detected and the current running status of terminal meets target authority, data service is processed。Authority by default application program, when receiving data service, authority according to application program processes the data service of application program, application program can not only be reduced and waken up the number of times of application processor by the setting time, the foundation of data cube computation and the number of times of release can also be reduced, and then decrease power consumption of terminal。
Refer to Fig. 3, for embodiments providing the schematic flow sheet of the another kind of method processing data service。As it is shown on figure 3, the described method of the embodiment of the present invention may comprise steps of S301-step S306。Wherein, step S303 and step S304 can being discussed in detail of corresponding step in embodiment shown in Figure 2, do not repeat them here。
S301, receives the authority setting instruction at least one application program in terminal, and the authority of at least one application program described is carried in described authority setting instruction。
Concrete, described terminal receives the authority setting instruction at least one application program in terminal, and the authority of at least one application program described is carried in described authority setting instruction。One application program correspondence one authority, the authority of application program is for characterizing the running status of described application program corresponding to the data service processing described application program and the running status of described terminal, and namely the authority of application program is indicated for allowing the condition of data service described in the application processor processes of described terminal。Wherein, the running status of described application program includes at least one state in front stage operation state and background operation state;The running status of described terminal includes at least one state in state of activation, holding state, charged state or uncharged state。
For example, the predeterminable different grades of authority of described terminal, described terminal can to authority of an application setting, it is also possible in the lump to authority of multiple application settings。It addition, different application can corresponding different grades of authority, different application can also corresponding identical authority, this is not limited by the embodiment of the present invention。
S302, according to described authority setting instruction, arranges the authority of at least one application program described。
Concrete, at least one application program described, according to described authority setting instruction, is arranged authority by described terminal。
S303, when the data processing receiving destination application is asked, obtains the target authority of described destination application。
S304, detects the current running status of described destination application and the current running status of described terminal。
S305, it is judged that whether the current running status of destination application is state indicated by described target authority, and judge whether the current running status of terminal is state indicated by described target authority。
Concrete, whether the current running status of described terminal judges destination application is state indicated by described target authority, and judges whether the current running status of terminal is state indicated by described target authority。Wherein, owing to the running status of application program has multiple situation, the running status of terminal also has multiple situation, therefore in a kind of feasible scheme, whether the current running status of destination application described in described terminal judges is present in the running status indicated by described target authority, and judges whether the current running status of described terminal is present in the running status indicated by described target authority。When the judged results of two be time, perform step S306, be no simply by the presence of the judged result of, then do not process this data service。
S306, processes described data service。
Concrete, if the running status of the current running status of destination application and terminal is state indicated by described target authority, then described data service is processed by described terminal。In a kind of feasible scheme, when in the running status indicated by the running status that described destination application is current is present in described target authority, and when in the running status indicated by the running status that described terminal is current is present in described target authority, described data service is processed by described terminal。In other words, the current running status of described destination application is the subset of the state indicated by described target authority and when the current running status of described terminal is the subset of state indicated by described target authority, and described data service is processed by described terminal。
In embodiments of the present invention, when the data processing receiving destination application is asked, obtain instruction and process the target authority of the running status that requested data service requires destination application and terminal to possess, when the current running status of destination application being detected and the current running status of terminal meets target authority, data service is processed。The authority of application program is set by authority setting instruction, when receiving data service, authority according to application program processes the data service of application program, application program can not only be reduced and waken up the number of times of application processor by the setting time, the foundation of data cube computation and the number of times of release can also be reduced, and then decrease power consumption of terminal。
Refer to Fig. 4, for embodiments providing the schematic flow sheet of the another kind of method processing data service。As shown in Figure 4, the described method of the embodiment of the present invention may comprise steps of S401-step S406。Wherein, step S403 and step S404 can being discussed in detail of corresponding step in embodiment shown in Figure 2, do not repeat them here。
S401, obtains the relevant parameter of at least one application program, and described relevant parameter includes application type, uses frequency and use at least one in duration。
Concrete, described terminal obtains the relevant parameter of at least one application program, and described relevant parameter includes application type, uses frequency and use at least one in duration。Such as, the application type of application program has instant messaging type, routine basis application type, shopping application type etc., and the use frequency of application program can be the access times of application program within the scope of certain time;The duration that uses of application program can be start, with some fixed time, the use duration that application program is cumulative。The real-time of application program terminal is can be seen that or for the significance level of user from described relevant parameter。Described relevant parameter can also include the privacy level etc. of application program, and this is not limited by the embodiment of the present invention。
S402, according to described relevant parameter, arranges the authority of at least one application program described。
Concrete, described terminal, according to described relevant parameter, arranges the authority of at least one application program described。In a kind of feasible scheme, described terminal can according to application type, use frequency and use in duration any one or appoint several parameters, the real-time of true application program or significance level, further, arrange the authority of application program according to application program real-time or significance level。One application program correspondence one authority, the authority of application program is for characterizing the running status of described application program corresponding to the data service processing described application program and the running status of described terminal, and namely the authority of application program is indicated for allowing the condition of data service described in the application processor processes of described terminal。Wherein, the running status of described application program includes at least one state in front stage operation state and background operation state;The running status of described terminal includes at least one state in state of activation, holding state, charged state or uncharged state。
For example, the predeterminable different grades of authority of described terminal, the more high expression of the grade of authority is more few to the restriction processing data service, therefore, application program more high to real-time in terminal or significance level can be arranged the authority that grade is more high。
S403, when the data processing receiving destination application is asked, obtains the target authority of described destination application。
S404, detects the current running status of described destination application and the current running status of described terminal。
S405, it is judged that whether the current running status of destination application is state indicated by described target authority, and judge whether the current running status of terminal is state indicated by described target authority。
Concrete, whether the current running status of described terminal judges destination application is state indicated by described target authority, and judges whether the current running status of terminal is state indicated by described target authority。Wherein, owing to the running status of application program has multiple situation, the running status of terminal also has multiple situation, therefore in a kind of feasible scheme, whether the current running status of destination application described in described terminal judges is present in the running status indicated by described target authority, and judges whether the current running status of described terminal is present in the running status indicated by described target authority。When the judged results of two be time, perform step S406, be no simply by the presence of the judged result of, then do not process this data service。
S406, processes described data service。
Concrete, if the running status of the current running status of destination application and terminal is state indicated by described target authority, then described data service is processed by described terminal。In a kind of feasible scheme, when in the running status indicated by the running status that described destination application is current is present in described target authority, and when in the running status indicated by the running status that described terminal is current is present in described target authority, described data service is processed by described terminal。In other words, the current running status of described destination application is the subset of the state indicated by described target authority and when the current running status of described terminal is the subset of state indicated by described target authority, and described data service is processed by described terminal。
In embodiments of the present invention, when the data processing receiving destination application is asked, obtain instruction and process the target authority of the running status that requested data service requires destination application and terminal to possess, when the current running status of destination application being detected and the current running status of terminal meets target authority, data service is processed。By arranging the authority of this application program according to the relevant parameter of application program, when receiving data service, authority according to application program processes the data service of application program, application program can not only be reduced and waken up the number of times of application processor by the setting time, the foundation of data cube computation and the number of times of release can also be reduced, and then decrease power consumption of terminal。
Below in conjunction with accompanying drawing 5-accompanying drawing 7, the terminal that the embodiment of the present invention is provided describes in detail。It should be noted that the terminal shown in accompanying drawing 5-accompanying drawing 7, for the method performing Fig. 1-embodiment illustrated in fig. 4 of the present invention, for the ease of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and refer to the embodiment shown in Fig. 1-Fig. 4 of the present invention。
Refer to Fig. 5, for embodiments providing the structural representation of a kind of terminal。As shown in Figure 5, the described terminal 1 of the embodiment of the present invention may include that acquiring unit 11, detection unit 12 and processing unit 13, optional described terminal can also include arranging unit 14, judging unit 15, and the wherein said unit 14 that arranges includes instruction reception unit 141 and first and arranges unit 142。
Acquiring unit 11, during for asking when the data processing receiving destination application, obtaining the target authority of described destination application, described target authority is for characterizing the running status of running status and the described terminal processing described destination application corresponding to requested data service。
In implementing, when the data processing receiving destination application is asked, described acquiring unit 11 obtains the target authority of the described destination application preset。Wherein, the request of described data processing can be that destination application sets the time in advance and wakes the data service of the application processor processes in terminal up, for instance, alarm clock, stroke reminding, memorandum event etc.;Can also is that the data service that the application server needing terminal corresponding with destination application that destination application sends to application processor is mutual at wireless communication status, or the data service that the access point such as terminal and base station interacts, such as, the communication data of instant communication software, application program positions the data service etc. of current location information。When the data processing receiving destination application is asked, described acquiring unit 11 obtains the target authority of described destination application, described target authority is for characterizing the running status of running status and the described terminal processing described destination application corresponding to requested data service, namely described target authority is indicated for the data traffic conditions of the described terminal permission described destination application of process, it should be noted that, different application can corresponding different authority, this is not limited by the embodiment of the present invention。
Detection unit 12, for detecting the current running status of described destination application and the current running status of described terminal。
In implementing, described detection unit 12 detects the current running status of described destination application and the current running status of described terminal, to judge whether the current running status of described destination application and the current running status of described terminal disclosure satisfy that the target authority of described destination application。
Processing unit 13, is in when the current running status of described destination application and the current running status of described terminal meet described target authority, described data service is processed。
In implementing, when the current running status of described destination application and the current running status of described terminal meet described target authority, described data service is processed by described processing unit 13。Wherein, owing to the running status of application program has multiple situation, the running status of terminal also has multiple situation, therefore in a kind of feasible scheme, when in the running status indicated by the running status that described destination application is current is present in described target authority, and when in the running status indicated by the running status that described terminal is current is present in described target authority, described data service is processed by described processing unit 13。In other words, the subset that the current running status of described destination application is the subset of the state indicated by described target authority and the current running status of described terminal is the state indicated by described target authority, described data service is processed by described processing unit 13。
Optionally, when described processing unit 13 meets described target authority when the current running status of described destination application and the current running status of described terminal, before described data service is processed, judging unit 15 can also be included, whether it is state indicated by described target authority for judging the current running status of destination application, and judges whether the current running status of terminal is state indicated by described target authority。
Correspondingly, if specifically for described judging unit 15, described processing unit 13 judges that the running status of the current running status of destination application and terminal is state indicated by described target authority, then described data service is processed。
In a kind of feasible embodiment, before acquiring unit 11 obtains the target authority of described destination application, also include arranging unit 14, for arranging authority at least one application program in terminal, one application program correspondence one authority, the authority of application program is for characterizing the running status of described application program corresponding to the data service processing described application program and the running status of described terminal。Optionally, the described unit 14 that arranges includes instruction reception unit 141 and first and arranges unit 142, described instruction reception unit 141, for receiving the authority setting instruction at least one application program in terminal, the authority of at least one application program described is carried in described authority setting instruction;Described first arranges unit 142, for according to described authority setting instruction, arranging the authority of at least one application program described。
In embodiments of the present invention, when the data processing receiving destination application is asked, obtain instruction and process the target authority of the running status that requested data service requires destination application and terminal to possess, when the current running status of destination application being detected and the current running status of terminal meets target authority, data service is processed。The authority of application program is set by authority setting instruction, when receiving data service, authority according to application program processes the data service of application program, application program can not only be reduced and waken up the number of times of application processor by the setting time, the foundation of data cube computation and the number of times of release can also be reduced, and then decrease power consumption of terminal。
Refer to Fig. 6, for embodiments providing the structural representation of a kind of terminal。As shown in Figure 6, the described terminal 1 of the embodiment of the present invention may include that acquiring unit 11, detection unit 12 and processing unit 13, optional described terminal can also include arranging unit 14, judging unit 15, and the wherein said unit 14 that arranges includes parameter acquiring unit 143 and second and arranges unit 144。Wherein, acquiring unit 11 can be introduced by the concrete of embodiment shown in Figure 5 with detection unit 12, does not repeat them here。
Acquiring unit 11, during for asking when the data processing receiving destination application, obtaining the target authority of described destination application, described target authority is for characterizing the running status of running status and the described terminal processing described destination application corresponding to requested data service。
Detection unit 12, for detecting the current running status of described destination application and the current running status of described terminal。
Processing unit 13, is in when the current running status of described destination application and the current running status of described terminal meet described target authority, described data service is processed。
Optionally, when described processing unit 13 meets described target authority when the current running status of described destination application and the current running status of described terminal, before described data service is processed, judging unit 15 can also be included, whether it is state indicated by described target authority for judging the current running status of destination application, and judges whether the current running status of terminal is state indicated by described target authority。
Correspondingly, if specifically for described judging unit 15, described processing unit 13 judges that the running status of the current running status of destination application and terminal is state indicated by described target authority, then described data service is processed。
In a kind of feasible embodiment, before acquiring unit 11 obtains the target authority of described destination application, also include arranging unit 14, for arranging authority at least one application program in terminal, one application program correspondence one authority, the authority of application program is for characterizing the running status of described application program corresponding to the data service processing described application program and the running status of described terminal。Optionally, the described unit 14 that arranges includes parameter acquiring unit 143 and second and arranges unit 144, described parameter acquiring unit 143, for obtaining the relevant parameter of at least one application program, described relevant parameter includes application type, uses frequency and use at least one in duration。Described second arranges unit 144, for according to described relevant parameter, arranging the authority of at least one application program described。
In embodiments of the present invention, when the data processing receiving destination application is asked, obtain instruction and process the target authority of the running status that requested data service requires destination application and terminal to possess, when the current running status of destination application being detected and the current running status of terminal meets target authority, data service is processed。By arranging the authority of this application program according to the relevant parameter of application program, when receiving data service, authority according to application program processes the data service of application program, application program can not only be reduced and waken up the number of times of application processor by the setting time, the foundation of data cube computation and the number of times of release can also be reduced, and then decrease power consumption of terminal。
Refer to Fig. 7, be the structural representation of the another kind of terminal that the embodiment of the present invention provides。Terminal 1000 described in the present embodiment includes: at least one processor 1001, for instance CPU;At least one input equipment 1003;At least one outut device 1004;With memorizer 1005, above-mentioned input equipment 1003, outut device 1004, processor 1001 and memorizer 1005 are connected by bus 1002。Wherein, the touch screen of above-mentioned input equipment 1003 concretely terminal 1000, for receiving the touch control operation of user, it is possible to include arranging application program authority。The display screen of above-mentioned outut device 1004 concretely terminal 1000, for video data。Above-mentioned memorizer 1005 can be high-speed RAM memorizer, it is possible to for non-labile memorizer (non-volatilememory), for instance disk memory。Above-mentioned memorizer 1005 is used for storing batch processing code, and above-mentioned input equipment 1003, outut device 1004 and processor 1001, for calling the program code of storage in memorizer 1005, perform following operation:
When the data processing receiving destination application is asked, obtaining the target authority of described destination application, described target authority is for characterizing the running status of running status and the described terminal processing described destination application corresponding to requested data service;
Detect the current running status of described destination application and the current running status of described terminal;
When the current running status of described destination application and the current running status of described terminal meet described target authority, described data service is processed。
In one embodiment, described processor 1001 performs, when the data processing receiving destination application is asked, before obtaining the target authority of described destination application, also to perform following steps:
Arranging authority at least one application program in terminal, an application program correspondence one authority, the authority of application program is for characterizing the running status of described application program corresponding to the data service processing described application program and the running status of described terminal。Wherein, the running status of described application program includes at least one state in front stage operation state and background operation state;The running status of described terminal includes at least one state in state of activation, holding state, charged state or uncharged state。
In one embodiment, when described processor 1001 performs to arrange authority at least one application program in terminal, specifically perform:
Receiving the authority setting instruction at least one application program in terminal, the authority of at least one application program described is carried in described authority setting instruction;
According to described authority setting instruction, the authority of at least one application program described is set。
In one embodiment, when described processor 1001 performs to arrange authority at least one application program in terminal, specifically perform:
Obtaining the relevant parameter of at least one application program, described relevant parameter includes application type, uses frequency and use at least one in duration;
According to described relevant parameter, the authority of at least one application program described is set。
In one embodiment, described processor 1001 performs, when the current running status of described destination application and the current running status of described terminal meet described target authority, when described data service is processed, specifically to perform:
Judge whether the current running status of destination application is state indicated by described target authority, and judge whether the current running status of terminal is state indicated by described target authority;
If the running status of the running status that destination application is current and terminal is state indicated by described target authority, then described data service is processed。
In implementing, input equipment 1003 described in the embodiment of the present invention, outut device 1004 and processor 1001 can perform the implementation described in embodiment of the method processing data service that the embodiment of the present invention provides, also can perform the implementation described in terminal that the embodiment of the present invention provides, not repeat them here。
In embodiments of the present invention, when the data processing receiving destination application is asked, obtain instruction and process the target authority of the running status that requested data service requires destination application and terminal to possess, when the current running status of destination application being detected and the current running status of terminal meets target authority, data service is processed。Processed the data service of application program by the authority according to application program, application program can not only be reduced and waken up the number of times of application processor by the setting time, moreover it is possible to reduce the foundation of data cube computation and the number of times of release, and then decrease power consumption of terminal。
Unit in all embodiments of the invention, universal integrated circuit can be passed through, for instance CPU (CentralProcessingUnit, central processing unit), or realized by ASIC (ApplicationSpecificIntegratedCircuit, special IC)。
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete。
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete。
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each side method。Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.。
Above disclosed it is only present pre-ferred embodiments, certainly can not limit the interest field of the present invention, the equivalent variations therefore made according to the claims in the present invention with this, still belong to the scope that the present invention contains。

Claims (10)

1. the method processing data service, it is characterised in that including:
When the data processing receiving destination application is asked, obtaining the target authority of described destination application, described target authority is for characterizing the running status of running status and the described terminal processing described destination application corresponding to requested data service;
Detect the current running status of described destination application and the current running status of described terminal;
When the current running status of described destination application and the current running status of described terminal meet described target authority, described data service is processed。
2. method according to claim 1, it is characterised in that described when the data processing receiving destination application is asked, before obtaining the target authority of described destination application, also includes:
For at least one application program in terminal, authority is set, one application program correspondence one authority, the authority of application program is for characterizing the running status of described application program corresponding to the data service processing described application program and the running status of described terminal, wherein, the running status of described application program includes at least one state in front stage operation state and background operation state;The running status of described terminal includes at least one state in state of activation, holding state, charged state or uncharged state。
3. method according to claim 2, it is characterised in that described authority is set at least one application program in terminal, including:
Receiving the authority setting instruction at least one application program in terminal, the authority of at least one application program described is carried in described authority setting instruction;
According to described authority setting instruction, the authority of at least one application program described is set。
4. method according to claim 2, it is characterised in that described authority is set at least one application program in terminal, including:
Obtaining the relevant parameter of at least one application program, described relevant parameter includes application type, uses frequency and use at least one in duration;
According to described relevant parameter, the authority of at least one application program described is set。
5. the method according to any one of claim 1-4, it is characterised in that when the described running status current when described destination application and the current running status of described terminal meet described target authority, described data service is processed, including:
Judge whether the current running status of destination application is state indicated by described target authority, and judge whether the current running status of terminal is state indicated by described target authority;
If the running status of the running status that destination application is current and terminal is state indicated by authority, then described data service is processed。
6. a terminal, it is characterised in that including:
Acquiring unit, during for asking when the data processing receiving destination application, obtaining the target authority of described destination application, described target authority is for characterizing the running status of running status and the described terminal processing described destination application corresponding to requested data service;
Detection unit, for detecting the current running status of described destination application and the current running status of described terminal;
Processing unit, is in when the current running status of described destination application and the current running status of described terminal meet described target authority, described data service is processed。
7. terminal according to claim 6, it is characterised in that described terminal also includes:
Unit is set, for arranging authority at least one application program in terminal, one application program correspondence one authority, the authority of application program is for characterizing the running status of described application program corresponding to the data service processing described application program and the running status of described terminal, wherein, the running status of described application program includes at least one state in front stage operation state and background operation state;The running status of described terminal includes at least one state in state of activation, holding state, charged state or uncharged state。
8. terminal according to claim 7, it is characterised in that the described unit that arranges includes:
Instruction reception unit, for receiving the authority setting instruction at least one application program in terminal, the authority of at least one application program described is carried in described authority setting instruction;
First arranges unit, for according to described authority setting instruction, arranging the authority of at least one application program described。
9. terminal according to claim 7, it is characterised in that the described unit that arranges includes:
Parameter acquiring unit, for obtaining the relevant parameter of at least one application program, described relevant parameter includes application type, uses frequency and use at least one in duration;
Second arranges unit, for according to described relevant parameter, arranging the authority of at least one application program described。
10. the terminal according to any one of claim 6-9, it is characterised in that described terminal also includes:
Whether judging unit, be state indicated by described target authority for judging the current running status of destination application, and judges whether the current running status of terminal is state indicated by described target authority;
If described processing unit is state indicated by authority specifically for the running status of the current running status of destination application and terminal, then described data service is processed。
CN201511031810.4A 2015-12-31 2015-12-31 Method for processing data service and terminal Pending CN105700662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511031810.4A CN105700662A (en) 2015-12-31 2015-12-31 Method for processing data service and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511031810.4A CN105700662A (en) 2015-12-31 2015-12-31 Method for processing data service and terminal

Publications (1)

Publication Number Publication Date
CN105700662A true CN105700662A (en) 2016-06-22

Family

ID=56226136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511031810.4A Pending CN105700662A (en) 2015-12-31 2015-12-31 Method for processing data service and terminal

Country Status (1)

Country Link
CN (1) CN105700662A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570358A (en) * 2016-11-18 2017-04-19 广东欧珀移动通信有限公司 Method and device for setting application permissions

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080127190A1 (en) * 2005-11-10 2008-05-29 Qi Shu Method and system for processing a scheduling task in device management
CN102779068A (en) * 2012-07-10 2012-11-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and application program networking control method
CN103336572A (en) * 2013-06-26 2013-10-02 深圳天珑无线科技有限公司 Intelligent terminal and power saving method thereof
CN104156223A (en) * 2013-05-13 2014-11-19 腾讯科技(深圳)有限公司 Application program control method and device for mobile terminal
WO2015135243A1 (en) * 2014-03-12 2015-09-17 中兴通讯股份有限公司 Data processing method and apparatus, terminal, and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080127190A1 (en) * 2005-11-10 2008-05-29 Qi Shu Method and system for processing a scheduling task in device management
CN102779068A (en) * 2012-07-10 2012-11-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and application program networking control method
CN104156223A (en) * 2013-05-13 2014-11-19 腾讯科技(深圳)有限公司 Application program control method and device for mobile terminal
CN103336572A (en) * 2013-06-26 2013-10-02 深圳天珑无线科技有限公司 Intelligent terminal and power saving method thereof
WO2015135243A1 (en) * 2014-03-12 2015-09-17 中兴通讯股份有限公司 Data processing method and apparatus, terminal, and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570358A (en) * 2016-11-18 2017-04-19 广东欧珀移动通信有限公司 Method and device for setting application permissions

Similar Documents

Publication Publication Date Title
CN107534653B (en) Cloud-based cross-device digital pen pairing
CN103313216B (en) Message prompt method, system and device for communication account
CN105471931B (en) Method, device and system for inquiring service data
US10395089B2 (en) Application and picture display verification methods, apparatuses, and electronic device
CN106507445B (en) Wireless fidelity Wi-Fi scanning method and mobile terminal
CN106332307B (en) Method for accessing application program to network and mobile terminal
CN104978180B (en) Unprocessed event prompting method and device and mobile terminal
CN110320991B (en) Power management method and device for mobile terminal
WO2019007371A1 (en) Method for preventing information from being stolen, storage device, and mobile terminal
WO2020134566A1 (en) Control method for doze mode of mobile terminal, storage medium and mobile terminal
CN109801136B (en) Food ordering method, system, terminal, server and medium for preventing malicious ordering
US10929010B2 (en) Touch response method for touchscreen, apparatus, and terminal
CN112929254A (en) Message processing method and device and electronic equipment
US20150073880A1 (en) System and method for metered parking at a billing server
CN105700662A (en) Method for processing data service and terminal
CN105577621B (en) Business operation verification method, device and system
KR101516997B1 (en) Method and apparatus for protecting smishing
CN106507413B (en) Method for sending message, mobile terminal and playing device
US20150073881A1 (en) System and method for metered parking at a parking server
CN115098468A (en) Flexible data migration method and device, storage medium and electronic equipment
CN110856173B (en) Network access method and device and electronic equipment
CN103530181A (en) Method and device for switching interfaces of electronic signature tool and electronic signature tool
CN106778297B (en) Application program running method and device and mobile terminal
CN112543195A (en) Information security assessment method and device for intelligent networked automobile and electronic equipment
CN105490810B (en) Method, device and system for processing virtual resource data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160622

RJ01 Rejection of invention patent application after publication