CN106383571A - Application processing apparatus and method - Google Patents
Application processing apparatus and method Download PDFInfo
- Publication number
- CN106383571A CN106383571A CN201610816132.0A CN201610816132A CN106383571A CN 106383571 A CN106383571 A CN 106383571A CN 201610816132 A CN201610816132 A CN 201610816132A CN 106383571 A CN106383571 A CN 106383571A
- Authority
- CN
- China
- Prior art keywords
- power consumption
- consumption data
- application program
- monitoring
- processing apparatus
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention discloses an application processing apparatus and method. The application processing apparatus comprises a monitoring module used for monitoring power consumption data of an application, a comparison module used for comparing the power consumption data monitored by the monitoring module with preset standard power consumption data of the application, and a processing module used for preprocessing the application if a comparison result meets a preset condition, wherein the preprocessing comprises one of freezing, prohibition and closing. The problem that processing modes of freezing, prohibition, closing and the like of the application are insufficiently intelligent and perfect in an existing scheme is mainly solved.
Description
Technical field
The present invention relates to electronic technology field, more particularly, to a kind of application processing apparatus and method.
Background technology
In current terminal, the processing mode master that especially in mobile terminal, application program is freezed, forbid, closes
There are two kinds:
First, user's subjective judgement needs to carry out the application program freezing, forbid, close, the corresponding interface of manual unlocking,
Manual triggering is freezed, forbids, shutoff operation.
Second, the power consumption of each application program of background monitoring, the power consumption of each application program is set out, is shown to use
Family, is judged the application program needing to carry out freezing, forbidding, close, then triggering some of them should manually by user according to power consumption
With the freezing, forbid of program, shutoff operation.
Or the processing mode of prior art is entirely with user's subjective judgement, or this is unique according only to current power consumption
Parameter judging the application program needing to carry out freezing, forbidding, close, not intelligence and perfect.
Content of the invention
The present invention provides a kind of application processing apparatus and method, mainly solves the jelly to application program in existing scheme
The not intelligent and perfect problem of processing mode such as tie, forbid, closing.
The application processing apparatus that the present invention provides, including:
Monitoring modular, for monitoring the power consumption data of application program;
Comparison module, for the described power consumption data and the default described application program that arrive described monitoring module monitors
Standard power consumption data is compared;
Processing module, if meet pre-conditioned for comparative result, carries out default process to described application program, described
Default process includes:One of freeze, forbid, closing.
In certain embodiments, above-mentioned application processing apparatus also include statistical module, for counting described application journey
Power consumption data under user's routine use custom for the sequence, as described standard power consumption data.
In certain embodiments, described standard power consumption data includes:At least one substandard power consumption data;Described substandard
Power consumption data is average power consumption or total power consumption in the time period, and the described time period includes:Company in one day or one day
Continue N number of hour, N is more than or equal to 1.
In certain embodiments, described processing module be used for when described monitoring module monitors to described power consumption data exceed
When the standard power consumption data of described application program reaches predetermined threshold value, described application program is carried out with default process.
In certain embodiments, above-mentioned application processing apparatus also include reminding module, for described processing module
Described application program is carried out while default process or afterwards, user is pointed out.
The applied program processing method that the present invention provides, including:
The power consumption data of monitoring application program;
The standard power consumption data of the described power consumption data monitoring and default described application program is compared;
If comparative result meets pre-conditioned, described application program is carried out with default process, described default process includes:
One of freeze, forbid, closing.
In certain embodiments, above-mentioned applied program processing method, also includes obtaining described application in the following way
The standard power consumption data of program:
Count power consumption data under user's routine use custom for the described application program, as described standard power consumption data.
In certain embodiments, when the standard power consumption data that the described power consumption data monitoring exceeds described application program reaches
To predetermined threshold value, then comparative result meet pre-conditioned.
In certain embodiments, described according to comparative result, described application program is carried out while default process or it
Afterwards, also include:Prompting user.
Application processing apparatus and method that the present invention provides, by the power consumption data of the application program monitoring with default
The standard power consumption data of described application program be compared;If comparative result meets pre-conditioned, to described application program
Carry out default process, described default process includes:One of freeze, forbid, closing.Sentenced without user's subjectivity by the present invention
Disconnected needs carry out the application program freezed, forbid, close, and carry out intelligent decision by application processing apparatus, and application program
Processing meanss are not uniquely to be judged according to the power consumption data of application program, but the power consumption number by the application program monitoring
It is compared according to the standard power consumption data with default described application program;Judged according to comparative result, if comparative result is full
Foot is pre-conditioned, then automatically described application program is carried out with default process, and described default process includes:In freezing, forbid, closing
One kind, manually operated without user.
Brief description
The schematic diagram of the application processing apparatus that Fig. 1 provides for first embodiment of the invention;
The flow chart of the applied program processing method that Fig. 2 provides for second embodiment of the invention.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Application processing apparatus in the present invention can arrange in the terminal, and terminal includes but is not limited to mobile whole
End, mobile terminal can include:Mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (individual digital
Assistant), PAD (panel computer), PMP (portable media player), the mobile terminal of guider etc..
Below by specific embodiment, the present invention is described in more detail.
First embodiment
With reference to Fig. 1, the schematic diagram of the application processing apparatus that Fig. 1 provides for first embodiment of the invention, this application journey
Order processing apparatus include:Monitoring modular 11, comparison module 12 and processing module 13, wherein,
Monitoring modular 11 is mainly used in monitoring the power consumption data of application program.Can select with default setting or by user setup
Which application program needs to carry out the monitoring of power consumption data.Can be average in a preset time period by an application program
Power consumption or total power consumption, as the power consumption data of described application program, this preset time period can be:In one day or one day
Continuously N number of hour, N is more than or equal to 1.Assume that preset time period is one, then start to monitor this application program from zero point
Power consumption is until 24:00 point, the power consumption number of this application program monitoring in any instant of this time period, monitoring modular 11
According to can be:Total power consumption from zero point to current time, or the average power consumption from zero point to current time.Second day
When zero point reaches, monitor again.For mobile terminal, because user is usually 20 using the peak period of application program:
00 point to 22:00 point, then can also be by 20:00 point to 22:00 point as preset time period, by daily for this application program this
Total power consumption in the individual time period or average power consumption are as the power consumption data of this application program.The above-mentioned time period can be given tacit consent to and set
Put or by user setup.
Comparison module 12, for the above-mentioned power consumption data and the default described application program that monitor monitoring modular 11
Standard power consumption data is compared.The standard power consumption data of application program can be generated by application processing apparatus oneself,
Can obtain from outside, download for example from high in the clouds from the outside mode obtaining.The mode oneself generating includes but is not limited to
Act set forth below:
This application processing apparatus also includes statistical module (not shown), for count described application program with
Power consumption data under the routine use custom of family, as described standard power consumption data.
Standard power consumption data can include:At least one substandard power consumption data.Substandard power consumption data can be one
Average power consumption in time period or total power consumption, the definition of time period is referring to above-mentioned introduction.Monitoring modular 11 can according to should
With the definition of the time period at least one substandard power consumption data of program, to monitor the consumption in this time period for this application program
Electric data, so has comparativity.
Processing module 13, if meet pre-conditioned for comparative result, carries out default process, institute to described application program
State default process to include:One of freeze, forbid, closing.The above-mentioned power consumption data monitoring when monitoring modular 11 exceed or
Equal to described application program standard power consumption data when it is believed that comparative result meet pre-conditioned, also or, when monitoring mould
The above-mentioned power consumption data that block 11 monitors exceeds the standard power consumption data of described application program, and reaches predetermined threshold value beyond part
When it is believed that comparative result meet pre-conditioned.Certainly, the present invention is not limited to this.
Additionally, above-mentioned application processing apparatus can also include reminding module (not shown), for processing module
The 13 pairs of application programs carry out while default process or afterwards, user are pointed out.Inform user or to this application
Program has carried out freezing, has forbidden or closing process, more hommization.
The power consumption data of the application program monitoring can be somebody's turn to do by the application processing apparatus of above-mentioned offer with default
The standard power consumption data of application program is compared, and judged according to comparative result to need to carry out to freeze, forbid, closing should
With, if comparative result meets pre-conditioned, automatically described application program is carried out with default process, manually operated without user.
Further, it is also possible to standard power consumption data is counted according to user's use habit.
Second embodiment
With reference to Fig. 2, the flow chart of the applied program processing method that Fig. 2 provides for second embodiment of the invention, this application journey
Sequence processing method mainly includes:
S201, the power consumption data of monitoring application program.
The power consumption data of one or more application programs can be monitored simultaneously, can according to default setting or by with
Family setting selects which application program needs to carry out the monitoring of power consumption data.Can be by an application program in a Preset Time
Average power consumption in section or total power consumption, as the power consumption data of described application program, this preset time period can be:One day
Or the continuously N number of hour in a day, N is more than or equal to 1.Assume that preset time period is one, then starting monitoring from zero point should
The power consumption of application program is until 24:00 point, in any instant of this time period, this application program that this step monitors
Power consumption data can be:Total power consumption from zero point to current time, or the average power consumption from zero point to current time.The
When the zero point of two days reaches, monitor again.For mobile terminal, because user uses the peak period of application program general
It is 20:00 point to 22:00 point, then can also be by 20:00 point to 22:00 point as preset time period, will be every for this application program
Day this time period in total power consumption or average power consumption as this application program power consumption data.The above-mentioned time period is permissible
Default setting or by user setup.
S202, the standard power consumption data of the described power consumption data monitoring and default described application program is compared
Relatively.
In certain embodiments, this applied program processing method also includes:Statistics application program is practised in user's routine use
Power consumption data under used, as the standard power consumption data of described application program.Standard power consumption data can include:At least one son
Standard power consumption data.Substandard power consumption data can be the average power consumption in the time period or total power consumption, the time period
Definition is referring to above-mentioned introduction.Step S201 can be according to the time period at least one substandard power consumption data of application program
Definition, to monitor the power consumption data in this time period for this application program, so to have comparativity.
The standard power consumption data of application program can also obtain from outside, for example upper and lower from high in the clouds from the outside mode obtaining
Carry.
If S203 comparative result meets pre-conditioned, described application program is carried out with default process, described default process
Including:One of freeze, forbid, closing.If comparative result is unsatisfactory for pre-conditioned, return to step S201 continuation monitoring.
In certain embodiments, step S203 carries out to application program while default process or afterwards, also includes:To with
Family is pointed out.Inform that user or has carried out to this application program freezing, forbidden or closing process, more hommization.
Comparative result meets pre-conditioned situation for example:The power consumption data of the application program that step S201 monitors exceeds
Or when being equal to the standard power consumption data of this application program, and also or, the above-mentioned power consumption number of the application program that step S201 monitors
According to the standard power consumption data beyond this application program, and when reaching predetermined threshold value beyond part.Certainly, the present invention is not limited to
This.
The power consumption data of the application program monitoring can be somebody's turn to do by the applied program processing method of above-mentioned offer with default
The standard power consumption data of application program is compared, and judged according to comparative result to need to carry out to freeze, forbid, closing should
With, if comparative result meets pre-conditioned, automatically described application program is carried out with default process, manually operated without user.
Further, it is also possible to standard power consumption data is counted according to user's use habit.
Below so that the Tencent QQ software on mobile phone is freezed as a example, further the embodiment of the present invention is illustrated,
Assume that the application processing apparatus that the present invention provides are arranged in mobile phone, it can be the hardware composition part of mobile phone, also may be used
With the software being mounted in mobile phone, or even can also be the combination of hardware and software, in a word, it makes mobile phone possess corresponding work(
Can, mobile phone counts power consumption data under user's routine use custom for the Tencent QQ software being installed on local terminal in advance, as its mark
Quasi- power consumption data is preserved, for example the statistics Tencent QQ software total power consumption in a certain day in history, as its standard consumption
Electric data, is saved in local, after having standard power consumption data, mobile phone can monitor the daily power consumption of Tencent QQ software, often
Day starts in real time Tencent QQ software to be carried out the monitoring of power consumption from zero point, calculates current time (the 24 of this day:00 predecessor
One moment) Tencent QQ software total power consumption it is assumed that current time Tencent QQ software total power consumption exceed standard power consumption data
30%, then automatically Tencent QQ software is freezed, prompting user has done to Tencent QQ software and freezed to process simultaneously.
Application processing apparatus provided in an embodiment of the present invention and method, need to be frozen without user's subjective judgement
The application program tie, forbid, closed, carrys out intelligent decision by application processing apparatus, and application processing apparatus be by
The power consumption data of the application program monitoring is compared with the standard power consumption data of default described application program;According to comparing
Result judging, if comparative result meets pre-conditioned, carries out default process, described default place automatically to described application program
Reason includes:One of freeze, forbid, closing, manually operated without user.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.By above embodiment party
The description of formula, those skilled in the art can be understood that above-described embodiment method can be by software plus necessary general
The mode of hardware platform is realizing naturally it is also possible to pass through hardware, but the former is more preferably embodiment in many cases.It is based on
Such understanding, what technical scheme substantially contributed to prior art in other words partly can be with software product
Form embody, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), including
Some instructions are with so that a station terminal equipment (can be mobile phone, computer, server, air-conditioner, or network equipment etc.)
Method described in execution each embodiment of the present invention.
Above in conjunction with accompanying drawing, embodiments of the invention are described, but the invention is not limited in above-mentioned concrete
Embodiment, above-mentioned specific embodiment is only schematically, rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, in the case of without departing from present inventive concept and scope of the claimed protection, also can make a lot
Form, these belong within the protection of the present invention.
Claims (10)
1. a kind of application processing apparatus are it is characterised in that include:
Monitoring modular, for monitoring the power consumption data of application program;
Comparison module, for the standard of the described power consumption data that arrives described monitoring module monitors and default described application program
Power consumption data is compared;
Processing module, if meet pre-conditioned for comparative result, carries out default process to described application program, described default
Process and include:One of freeze, forbid, closing.
2. application processing apparatus as claimed in claim 1 are it is characterised in that also include statistical module, for counting
State power consumption data under user's routine use custom for the application program, as described standard power consumption data.
3. application processing apparatus as claimed in claim 2 are it is characterised in that described standard power consumption data includes:At least
One substandard power consumption data;Described substandard power consumption data is average power consumption or total power consumption in the time period, institute
Stating the time period includes:Continuously N number of hour in one day or one day, N is more than or equal to 1.
4. application processing apparatus as claimed in claim 1 are it is characterised in that described processing module is used for when described monitoring
Module monitors to described power consumption data exceed described application program standard power consumption data reach predetermined threshold value when, to described should
Carry out default process with program.
5. the application processing apparatus as described in any one of Claims 1-4, it is characterised in that also including reminding module, are used
While described processing module carries out default process to described application program or afterwards, user is pointed out.
6. a kind of applied program processing method is it is characterised in that include:
The power consumption data of monitoring application program;
The standard power consumption data of the described power consumption data monitoring and default described application program is compared;
If comparative result meets pre-conditioned, described application program is carried out with default process, described default process includes:Freeze
One of tie, forbid, closing.
7. applied program processing method as claimed in claim 6 it is characterised in that also include obtain in the following way described
The standard power consumption data of application program:
Count power consumption data under user's routine use custom for the described application program, as described standard power consumption data.
8. applied program processing method as claimed in claim 7 is it is characterised in that described standard power consumption data includes:At least
One substandard power consumption data;Described substandard power consumption data is average power consumption or total power consumption in the time period, institute
Stating the time period includes:Continuously N number of hour in one day or one day, N is more than or equal to 1.
9. applied program processing method as claimed in claim 6 exceeds it is characterised in that working as the described power consumption data monitoring
The standard power consumption data of described application program reaches predetermined threshold value, then comparative result meet pre-conditioned.
10. the applied program processing method as described in any one of claim 6 to 9 it is characterised in that described according to comparative result
Described application program is carried out while default process or afterwards, also include:Prompting user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610816132.0A CN106383571A (en) | 2016-09-09 | 2016-09-09 | Application processing apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610816132.0A CN106383571A (en) | 2016-09-09 | 2016-09-09 | Application processing apparatus and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106383571A true CN106383571A (en) | 2017-02-08 |
Family
ID=57935554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610816132.0A Pending CN106383571A (en) | 2016-09-09 | 2016-09-09 | Application processing apparatus and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106383571A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111796735A (en) * | 2020-06-29 | 2020-10-20 | 维沃移动通信(杭州)有限公司 | Application program control method and device and electronic equipment |
CN111819550A (en) * | 2018-03-26 | 2020-10-23 | 华为技术有限公司 | Data processing method and network equipment |
US11422605B2 (en) | 2018-05-17 | 2022-08-23 | Huawei Technologies Co., Ltd. | Power consumption exception prompt method, server, and terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103500002A (en) * | 2013-09-17 | 2014-01-08 | 小米科技有限责任公司 | Method, device and terminal equipment for managing application program |
CN103729052A (en) * | 2013-12-31 | 2014-04-16 | 贝壳网际(北京)安全技术有限公司 | Processing method and system for power consumption of application program and mobile terminal |
JP2014131478A (en) * | 2010-10-26 | 2014-07-10 | Panasonic Corp | Power management device and program |
CN104239195A (en) * | 2014-09-17 | 2014-12-24 | 可牛网络技术(北京)有限公司 | Method for processing power consumption of electronic equipment, and electronic equipment |
-
2016
- 2016-09-09 CN CN201610816132.0A patent/CN106383571A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014131478A (en) * | 2010-10-26 | 2014-07-10 | Panasonic Corp | Power management device and program |
CN103500002A (en) * | 2013-09-17 | 2014-01-08 | 小米科技有限责任公司 | Method, device and terminal equipment for managing application program |
CN103729052A (en) * | 2013-12-31 | 2014-04-16 | 贝壳网际(北京)安全技术有限公司 | Processing method and system for power consumption of application program and mobile terminal |
CN104239195A (en) * | 2014-09-17 | 2014-12-24 | 可牛网络技术(北京)有限公司 | Method for processing power consumption of electronic equipment, and electronic equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111819550A (en) * | 2018-03-26 | 2020-10-23 | 华为技术有限公司 | Data processing method and network equipment |
CN111819550B (en) * | 2018-03-26 | 2022-04-05 | 华为技术有限公司 | Data processing method and network equipment |
US11422605B2 (en) | 2018-05-17 | 2022-08-23 | Huawei Technologies Co., Ltd. | Power consumption exception prompt method, server, and terminal |
CN111796735A (en) * | 2020-06-29 | 2020-10-20 | 维沃移动通信(杭州)有限公司 | Application program control method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106383571A (en) | Application processing apparatus and method | |
US10021251B2 (en) | Methods, systems, and products for monitoring service usage | |
EP3852420B1 (en) | Method and device for determining load threshold | |
CN104267799B (en) | Network server and method and system for processing power consumption of electronic equipment | |
CN105101138A (en) | Method and system for controlling traffic, and terminal | |
CN104768197B (en) | The method and apparatus of channel selection | |
CN108243429B (en) | Network coverage detection method and system for indoor distribution system | |
CN106533763A (en) | Method and device for downloading application update package and user terminal | |
CN103796183A (en) | Spam short message identification method and device | |
CN106656989A (en) | Flow monitoring method and terminal | |
CN106571933A (en) | Service processing method and device | |
CN101102217B (en) | Processing method for duplicate alert and discontinuous reporting and monitoring in telecom network management system | |
CN103733581B (en) | Message processing method and base station | |
CN111222782A (en) | Relay life acquisition method and device, storage medium, electronic device and vehicle | |
CN103249059B (en) | Monitoring method and device and equipment | |
CN109982375B (en) | Load balance adjustment method and device for serving cell | |
CN108270932B (en) | Communication number identification method and device | |
CN102129433A (en) | Information sequencing method and apparatus | |
CN105553049B (en) | Charging operations control method and device | |
CN108829307A (en) | A kind of classification method and system based on Android | |
CN104092562A (en) | Flow management method and system, and network device | |
CN105844475A (en) | Risk control method and risk control apparatus | |
CN111352792B (en) | Log management method, server and device with storage function | |
CN105591980A (en) | Bandwidth consumption management method and device | |
CN106792925B (en) | Method and device for searching ping-pong handover cell pair |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170208 |