CN106527655B - Electronic equipment electricity saving method and system - Google Patents
Electronic equipment electricity saving method and system Download PDFInfo
- Publication number
- CN106527655B CN106527655B CN201610899896.0A CN201610899896A CN106527655B CN 106527655 B CN106527655 B CN 106527655B CN 201610899896 A CN201610899896 A CN 201610899896A CN 106527655 B CN106527655 B CN 106527655B
- Authority
- CN
- China
- Prior art keywords
- application program
- period
- power
- time
- preset time
- 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.)
- Active
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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
A kind of electronic equipment power-saving processing method, which comprises record the service condition of each application program in specified period inner electronic equipment;According to the service condition of each application program of record, permission runing time before calculating the power-save operation of each application program: and if there is permission runing time of the application program before the runing time under specified requirements is more than corresponding power-save operation in each application program, power-save operation is executed to the application program of the permission runing time in each application program before the runing time under specified requirements is more than corresponding power-save operation.The present invention also provides a kind of electronic equipment electricity-saving systems.The present invention can adjust power-save operation strategy to the use habit of application program according to user, and the purpose of power saving is realized under the premise of obtaining better user experience.
Description
Technical field
The present invention relates to software design technology fields, and in particular to a kind of electronic equipment electricity saving method and system.
Background technique
In various consumer electronics device market now, the portable electronics such as mobile phone, tablet computer, laptop are set
It is standby to be widely used.
User experience is improved in order to realize more functions, the application program installed on electronic equipment is more and more a variety of more
Sample, various application program bring power consumptions are increasing.In order to save the power consumption of electronic equipment, need to install on electronic equipment
Application program carry out power-saving control.A kind of electricity-saving control method is to freeze application program, exactly allows application program reservation procedure
But can not obtain the CPU time go execute code so that application program remains static.Existing method is solid after blank screen
It fixes time and freezes each application program.For example, freezing each application program after 30 minutes after blank screen.It is this to freeze application program
Method it is fairly simple, but there is also very big loopholes, are unable to reach the effect of electronic equipment power saving in some cases.Example
Such as, user likes frequently checking message with qq transmitting-receiving, always frequently extinguishes screen within 30 minutes, lights screen, this
Sample cannot propagate into the operation for freezing application program, causes a large amount of background application continuous service, wastes many electricity.
Therefore, in order to preferably control application program, realize the effect of electronic equipment power saving, the prior art also need to improve and
Development.
Summary of the invention
In view of the foregoing, it is necessary to propose a kind of electronic equipment electricity saving method, it can be according to user to application program
Use habit adjust power-save operation strategy, realize the purpose of power saving under the premise of obtaining better user experience.
The first aspect of the application provides a kind of electronic equipment power-saving processing method, which comprises
Record the service condition of each application program in specified period inner electronic equipment;
According to the service condition of each application program of record, before the power-save operation for calculating each application program
Permission runing time: and
If having runing time of the application program under specified requirements in each application program is more than corresponding power saving
Preoperative permission runing time is more than then corresponding province to the runing time in each application program under specified requirements
The application program of permission runing time before electrically operated executes power-save operation.
In alternatively possible implementation, the service condition of each application program includes each application program
Time point for opening every time, the time for being located at front stage operation after opening every time.
In alternatively possible implementation, allow to run before the power-save operation for calculating each application program
Time includes the permission runing time for calculating each application program before the power-save operation of preset time period.
It is described to calculate each application program in the power-save operation of preset time period in alternatively possible implementation
Preceding permission runing time includes:
It is described each in the service condition calculating of preset time period according to each application program in the specified period
Application program preset time period active value, according to each application program preset time period active value calculate described in
Permission runing time of each application program before the power-save operation of preset time period.
In alternatively possible implementation, it is described according to each application program in the specified period when default
Between the service condition of section calculate each application program in the active value of preset time period, existed according to each application program
The active value of preset time period calculates permission runing time of each application program before the power-save operation of preset time period
Include:
It calculates each application program starts in preset time period in the specified period number, be located at front stage operation
Time;
The number that is started according to each application program in the specified period in preset time period is located at front stage operation
Time calculate each application program in the active value of preset time period;
Each application program is calculated when default in the active value of preset time period according to each application program
Between section total active value;And
It is described each using journey in the active value of preset time period and the calculating of total active value according to each application program
Permission runing time of the sequence before the power-save operation of preset time period.
In alternatively possible implementation, permission of each application program before the power-save operation of preset time period
Runing time is directly proportional in the active value of preset time period to each application program, with each application program default
Total active value of period is inversely proportional.
The second aspect of the application provides a kind of electronic equipment electricity-saving system, the system comprises:
Recording unit, for recording the service condition of each application program in specified period inner electronic equipment;
Computing unit is calculated and described each applies journey for the service condition according to each application program of record
Permission runing time before the power-save operation of sequence: and
Power-save operation unit has runing time of the application program under specified requirements for working as in each application program
When more than permission runing time before corresponding power-save operation, when to operation in each application program under specified requirements
Between be more than corresponding power-save operation before permissions runing time application program execution power-save operation.
In alternatively possible implementation, the service condition of each application program includes each application program
Time point for opening every time, the time for being located at front stage operation after opening every time.
In alternatively possible implementation, allow to run before the power-save operation for calculating each application program
Time includes the permission runing time for calculating each application program before the power-save operation of preset time period.
It is described to calculate each application program in the power-save operation of preset time period in alternatively possible implementation
Preceding permission runing time includes:
It is described each in the service condition calculating of preset time period according to each application program in the specified period
Application program preset time period active value, according to each application program preset time period active value calculate described in
Permission runing time of each application program before the power-save operation of preset time period.
In alternatively possible implementation, it is described according to each application program in the specified period when default
Between the service condition of section calculate each application program in the active value of preset time period, existed according to each application program
The active value of preset time period calculates permission runing time of each application program before the power-save operation of preset time period
Include:
It calculates each application program starts in preset time period in the specified period number, be located at front stage operation
Time;
The number that is started according to each application program in the specified period in preset time period is located at front stage operation
Time calculate each application program in the active value of preset time period;
Each application program is calculated when default in the active value of preset time period according to each application program
Between section total active value;And
It is described each using journey in the active value of preset time period and the calculating of total active value according to each application program
Permission runing time of the sequence before the power-save operation of preset time period.
In alternatively possible implementation, permission of each application program before the power-save operation of preset time period
Runing time is directly proportional in the active value of preset time period to each application program, with each application program default
Total active value of period is inversely proportional.
Embodiment provided by the present invention can adjust power-save operation plan to the use habit of application program according to user
Slightly, the purpose of power saving is realized under the premise of obtaining better user experience.
Detailed description of the invention
Fig. 1 is the flow chart for the electronic equipment electricity saving method that the embodiment of the present invention one provides.
Fig. 2 is the flow chart of electronic equipment electricity saving method provided by Embodiment 2 of the present invention.
Fig. 3 is the structure chart for the electronic equipment electricity-saving system that the embodiment of the present invention three, four provides.
Fig. 4 is the structure chart for the electronic equipment that the embodiment of the present invention five provides.
Main element symbol description
Electronic equipment 1
Electronic equipment electricity-saving system 10
Store equipment 20
Processing equipment 30
Show equipment 40
Recording unit 301
Computing unit 302
Power-save operation unit 303
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, embodiments herein and embodiment
In feature can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment is only
It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Embodiment one
Fig. 1 is the flow chart for the electronic equipment electricity saving method that the embodiment of the present invention one provides.As shown in Figure 1, this method has
Body the following steps are included:
101: recording the service condition of each application program in specified period inner electronic equipment.The specified period can be with
As unit of day, such as seven days.The specified period can be fixed value can also be with appropriate adjustment.For example, executing institute for the first time
Electronic equipment electricity saving method is stated, the specified period is seven days, executes the electronic equipment electricity saving method, the specified week later
Phase is three days.The service condition of each application program may include each application program open every time time point,
It is located at the time of front stage operation after opening every time.Each application program can be the third party installed in the electronic equipment
Application program, such as QQ, wechat.
102: according to the service condition of each application program of record, calculating the power saving behaviour of each application program
Permission runing time before work.
In one embodiment, it can preset multiple periods, calculate each application program in preset time period
Permission runing time before power-save operation.The preset time period can cover 24 hours one day, for example, the preset time period
May include 00:00~1:00,1:00~2:00,2:00~3:00 ..., 10:00~11:00,11:00~12:00 ..., 22:
00~23:00,23:00~00:00.The preset time period can not also cover 24 hours one day, for example, the preset time
Section may include 6:00~7:00,7:00~8:00,8:00~9:00 ..., 22:00~23:00,23:00~00:00.Each
The length of preset time period, for example, the length of each preset time period can be a hour, can be also possible to flexible setting
Two hours, it can also be other.
The permission runing time that each application program is calculated before the power-save operation of preset time period can be
Calculate permission runing time of each application program before the power-save operation of each preset time period.For example, described in calculating
Each application program 00:00~1:00,1:00~2:00,2:00~3:00 ..., 10:00~11:00,11:00~12:
00 ..., the permission runing time in 22:00~23:00,23:00~00:00 before the power-save operation of each period.The meter
Calculate permission runing time of each application program before the power-save operation of preset time period be also possible to calculate it is described each
Permission runing time of the application program before the power-save operation of part preset time period.For example, calculating each application program
6:00~7:00,7:00~8:00,8:00~9:00 ..., each period in 22:00~23:00,23:00~00:00
Permission runing time before power-save operation.
In one embodiment, for each application program, before being located at after being started every time according to the application program
The time of platform operation calculates the average duration for being located at front stage operation after the application program launching, according to the application program
Average duration after starting positioned at front stage operation calculates the permission runing time before the power-save operation of the application program.Example
Such as, the permission runing time before the electronic equipment power-save operation can with after the starting of the application program be located at front stage operation
Average duration it is directly proportional.
103: judging whether runing time of each application program under specified requirements is more than corresponding power-save operation
Preceding permission runing time.If having runing time of the application program under specified requirements in each application program is more than pair
Permission runing time before the power-save operation answered, then execute 104.Otherwise, if each application program is under specified requirements
Runing time be no more than the permission runing time before corresponding power-save operation, then repeat 103.
Runing time of each application program under specified requirements can be each application program in the electricity
Runing time after sub- equipment blank screen is also possible to each application program in the runing time on backstage.For example, described in judgement
Whether each application program is more than to allow to run before respective power-save operation in the runing time after the electronic equipment blank screen
Time (as judge QQ the runing time after the electronic equipment blank screen whether be more than QQ power-save operation before allow operation when
Between).
If calculating permission runing time of each application program before the power-save operation of preset time period in 102,
Then correspondingly, when judging whether runing time of each application program under specified requirements is more than each comfortable corresponding in 103
Between section power-save operation before permission runing time.For example, calculating QQ in 102 in 00:00~1:00,1:00~2:00,2:00
~3:00 ..., 10:00~11:00,11:00~12:00 ..., each period in 22:00~23:00,23:00~00:00
Power-save operation before permission runing time, it is assumed that the electronic equipment then judges QQ in the electronic equipment in 12:10 blank screen
Runing time after blank screen whether the permission runing time more than QQ before the power-save operation of 12:00~13:00 period.
104: if it is more than corresponding for having runing time of the application program under specified requirements in each application program
Permission runing time before power-save operation is more than then to correspond to the runing time in each application program under specified requirements
Power-save operation before permission runing time application program execute power-save operation.The power-save operation that the application program is executed
It can be and freeze the application program, close the application program.For example, the power-save operation executed to the application program is to freeze
The application program is tied, if runing time of the application program after the electronic equipment blank screen is more than the application program
Permission runing time (such as 15 minutes) before frozen, then freeze the application program.
Embodiment two
Fig. 2 is the flow chart of electronic equipment electricity saving method provided by Embodiment 2 of the present invention.As shown in Fig. 2, this method has
Body the following steps are included:
201: after recording the time point for specifying each application program in period inner electronic equipment to open every time, opening every time
Positioned at the time of front stage operation.In the present embodiment, the specified period as unit of day, such as seven days.The specified period
Can be fixed value can also be with appropriate adjustment.For example, executing the electronic equipment electricity saving method for the first time, the specified period is
Seven days, the electronic equipment electricity saving method is executed later, and the specified period is three days.Each application program can be institute
State the third party application installed in electronic equipment, such as QQ, wechat.
202: time point for being opened every time according to each application program in the specified period of record opens every time
Afterwards positioned at the time of front stage operation calculate each application program starts in preset time period in the specified period number,
Positioned at the time of front stage operation.The length of each preset time period can be a hour.The preset time period can be
The time interval not overlapped.For example, the specified period is seven days, the preset time period includes 00:00~1:00,1:00
~2:00,2:00~3:00 ..., 10:00~11:00,11:00~12:00 ..., 22:00~23:00,23:00~00:00
(i.e. 24 periods), then calculate seven days in each application program in 00:00~1:00,1:00~2:00,2:00~3:
00 ..., 10:00~11:00,11:00~12:00 ..., each period starting in 22:00~23:00,23:00~00:00
Number, the time positioned at front stage operation.For example, be calculated in seven days in 12:00~13:00 period, QQ start 11 times,
Time positioned at front stage operation is 10 minutes, and wechat starts 21 times, is 30 minutes positioned at the time of front stage operation.
203: number, position according to each application program in the specified period in preset each period starting
Each application program is calculated in the time of front stage operation in the active value of preset each period.In the present embodiment,
Active value of one application program in a period is equal to the application program in the specified period and opens in the period
The application program is located at the product of the time of front stage operation in the period in dynamic number and the specified period.Example
Such as, in 12:00~13:00 period in seven days, QQ starts 11 times, is 10 minutes positioned at the time of front stage operation, wechat starting
21 times, positioned at the time of front stage operation be 30 minutes, then be 11*10=110 in the active value of 12:00~13:00 period QQ
Minute, the active value of wechat is 21*30=630 minutes.
204: each application program is calculated pre- in the active value of preset time period according to each application program
If total active value of period.For example, QQ starts 11 times, positioned at front stage operation in 12:00~13:00 period in seven days
Time is 10 minutes, and wechat starts 21 times, is 30 minutes positioned at the time of front stage operation, then 12:00~13:00 period is total
Application program active value is 11*10+21*30=740 minutes.
205: described each answer is calculated in active value and the total active value of preset time period according to each application program
With permission runing time of the program before the power-save operation of preset time period.In the present embodiment, each application program exists
Permission runing time before the power-save operation of preset time period and each application program preset time period active value at
Direct ratio, total active value with each application program in preset time period are inversely proportional.For example, an application program is at one
Between section power-save operation before permission runing time can be equal to prescribed coefficient multiplied by the application program in the period
The ratio of active value and the total application active value of the period.In the present embodiment, the prescribed coefficient can be 20.
For example, the active value of QQ is 11*10=110 minutes, and the active value of wechat is 21*30=630 in 12:00~13:00 period
Minute, total application active value is 740 minutes, then allows to transport before 12:00~13:00 period, the power-save operation of QQ
The row time is 20*110/740 ≈ 3 minutes, and the permission runing time before the power-save operation of wechat is 20*630/740 ≈ 17 minutes.
In other examples, the prescribed coefficient can be other positive numbers, such as 30.
206: judging whether runing time of each application program under specified requirements is more than each comfortable corresponding time
Permission runing time before the power-save operation of section.If there is fortune of the application program under specified requirements in each application program
The row time is more than its permission runing time before the power-save operation of corresponding period, then executes 207.Otherwise, if it is described each
A application program is no more than it before the power-save operation of corresponding period in the runing time under specified requirements and allows to run
Time then repeats 206.
Runing time of each application program under specified requirements can be each application program in the electricity
Runing time after sub- equipment blank screen is also possible to each application program in the runing time on backstage.For example, described in judgement
Whether runing time of each application program after the electronic equipment blank screen is more than each comfortable power-save operation for corresponding to the period
Preceding permission runing time.By taking QQ as an example, it is assumed that the electronic equipment is in 12:10 blank screen, and QQ is in 12:00~13:00 period
Power-save operation before permission runing time be 3 minutes, then whether judge runing time of the QQ after the electronic equipment blank screen
More than three minutes.
207: if having runing time of the application program under specified requirements in each application program is more than it right
Permission runing time before answering the power-save operation of period, then to the operation in each application program under specified requirements when
Between be more than its permissions runing time before the power-save operation of corresponding period application program execution power-save operation.To using journey
The power-save operation that sequence executes, which can be, to be freezed the application program, closes the application program.For example, being held to the application program
Capable power-save operation is to freeze the application program, if runing time of the application program after the electronic equipment blank screen
More than permission runing time (such as 15 minute) of the application program before frozen, then freeze the application program.
The electronic equipment electricity saving method provided according to the present invention, the application program that user is commonly used execute power saving
Preoperative delay time is longer, the application program that user is rarely employed, and the delay time before executing power-save operation is got over
It is short.The present invention dynamically can adjust power-save operation strategy using the habit of application program according to user, better obtaining
The purpose of power saving is realized under the premise of user experience.
It is the detailed description carried out to method provided by the present invention above.According to different requirements, in shown flow chart
The execution sequence of square can change, and certain squares can be omitted.System provided by the present invention is described below.
Fig. 3 is the structure chart for the electronic equipment electricity-saving system that the embodiment of the present invention three, four provides.Function according to performed by it
Can, the electronic equipment electricity-saving system 10 can be divided into multiple functional units.As shown in figure 3, the electronic equipment power saving
System 10 may include: recording unit 301, computing unit 302 and power-save operation unit 303.
Embodiment three
Recording unit 301, for recording the service condition of each application program in specified period inner electronic equipment.It is described
The specified period can be as unit of day, such as seven days.The specified period can be fixed value can also be with appropriate adjustment.For example,
The electronic equipment electricity-saving system 10 is run for the first time, the specified period is seven days, executes the electronic equipment power saving later
Method, the specified period are three days.The service condition of each application program may include that each application program is every
The time point of secondary opening, the time for being located at front stage operation after opening every time.Each application program can be the electronics and set
The third party application of standby middle installation, such as QQ, wechat.
Computing unit 302 calculates each application for the service condition according to each application program of record
Permission runing time before the power-save operation of program.
In one embodiment, computing unit 302 can calculate each application program in the power saving of preset time period
Preoperative permission runing time.The preset time period may include 00:00~1:00,1:00~2:00,2:00~3:
00 ..., 10:00~11:00,11:00~12:00 ..., 22:00~23:00,23:00~00:00 (i.e. totally 24 periods).
In one embodiment, for each application program, computing unit 302 can open every time according to the application program
The time for being located at front stage operation after dynamic calculates the average duration for being located at front stage operation after the starting of the application program, according to
Before average duration after the starting of the application program positioned at front stage operation calculates the power-save operation of the application program
Allow runing time.For example, permission runing time before the electronic equipment power-save operation can be opened with the application program
The average duration for being located at front stage operation after dynamic is directly proportional.
Power-save operation unit 303, for judging whether runing time of each application program under specified requirements surpasses
Permission runing time before crossing corresponding power-save operation, if having application program under specified requirements in each application program
Runing time be more than corresponding power-save operation before permission runing time, then in each application program in specified requirements
Under runing time be more than corresponding power-save operation before permissions runing time application program execution power-save operation.It answers described
It can be with the power-save operation that program executes and freeze the application program, close the application program.For example, applying journey to described
The power-save operation that sequence executes is to freeze the application program, if operation of the application program after the electronic equipment blank screen
Time is more than the permission runing time (such as 15 minutes) before the application program is frozen, then freezes the application program.
Runing time of each application program under specified requirements can be each application program in the electricity
Runing time after sub- equipment blank screen is also possible to each application program in the runing time on backstage.For example, described in judgement
Whether each application program is more than to allow to run before respective power-save operation in the runing time after the electronic equipment blank screen
Time (as judge QQ the runing time after the electronic equipment blank screen whether be more than QQ power-save operation before allow operation when
Between).
If computing unit 302 calculates each application program to be allowed to run before the power-save operation of preset time period
Time, then correspondingly, power-save operation unit 303 judges whether runing time of each application program under specified requirements surpasses
Permission runing time before crossing the power-save operation of each comfortable corresponding period.For example, calculating QQ in 102 in 00:00~1:00,1:
00~2:00,2:00~3:00 ..., 10:00~11:00,11:00~12:00 ..., 22:00~23:00,23:00~00:00
In each period power-save operation before permission runing time, it is assumed that the electronic equipment then judges that QQ exists in 12:10 blank screen
Runing time after the electronic equipment blank screen whether the permission more than QQ before the power-save operation of 12:00~13:00 period
Runing time.
Example IV
Recording unit 301, the time opened every time for recording each application program in specified period inner electronic equipment
Point, the time for being located at front stage operation after opening every time.In the present embodiment, the specified period as unit of day, such as seven days.
The specified period can be fixed value can also be with appropriate adjustment.For example, the electronic equipment electricity-saving system 10 is run for the first time,
The specified period is seven days, executes the electronic equipment electricity saving method later, and the specified period is three days.It is described each to answer
It can be the third party application installed in the electronic equipment, such as QQ, wechat with program.
Computing unit 302, for each application program in the specified period according to record open every time when
Between point, open every time after be located at time of front stage operation and calculate in specified period each application program in preset time
The number of Duan Qidong, the time positioned at front stage operation.The length of each preset time period can be a hour.Preset time
Section can be the time interval not overlapped.For example, the specified period is seven days, preset time period include 00:00~1:00,
1:00~2:00,2:00~3:00 ..., 10:00~11:00,11:00~12:00 ..., 22:00~23:00,23:00~00:
00 (sharing 24 periods), then calculate seven days in each application program in 00:00~1:00,1:00~2:00,2:
00~3:00 ..., 10:00~11:00,11:00~12:00 ..., each time in 22:00~23:00,23:00~00:00
The number of Duan Qidong, the time positioned at front stage operation.For example, being calculated in 12:00~13:00 period in seven days, QQ is opened
It moves 11 times, be 10 minutes positioned at the time of front stage operation, wechat starts 21 times, is 30 minutes positioned at the time of front stage operation.
Computing unit 302 is also used to be started according to each application program described in the specified period in preset time period
Number, positioned at the time of front stage operation calculate each application program in the active value of preset time period.In the present embodiment
In, an application program a period active value be equal to the specified period in the application program in the period
The application program is located at the product of the time of front stage operation in the period in the number of starting and the specified period.Example
Such as, in 12:00~13:00 period in seven days, QQ starts 11 times, is 10 minutes positioned at the time of front stage operation, wechat starting
21 times, positioned at the time of front stage operation be 30 minutes, then be 11*10=110 in the active value of 12:00~13:00 period QQ
Minute, the active value of wechat is 21*30=630 minutes.
Computing unit 302 is also used to be calculated according to each application program in the active value of preset time period described each
Total active value of a application program in preset time period.For example, in 12:00~13:00 period in seven days, QQ start 11 times,
Time positioned at front stage operation is 10 minutes, and wechat starts 21 times, positioned at the time of front stage operation is 30 minutes, then 12:00~
The total application active value of 13:00 period is 11*10+21*30=740 minutes.
Computing unit 302 is also used to active value and total active value according to each application program in preset time period
Calculate permission runing time of each application program before the power-save operation of preset time period.In the present embodiment, described
Permission runing time of each application program before the power-save operation of preset time period and each application program are when default
Between section active value it is directly proportional, total active value with each application program in preset time period is inversely proportional.For example, one is answered
Prescribed coefficient can be equal to multiplied by the application program with permission runing time of the program before the power-save operation of a period
In the ratio of the total application active value of the active value and period of the period,.In the present embodiment, the finger
Determining coefficient can be 20.For example, the active value of QQ is 11*10=110 minutes, the work of wechat in 12:00~13:00 period
Jump value is 21*30=630 minutes, and total application active value is 740 minutes, then in 12:00~13:00 period, the province of QQ
Permission runing time before electrically operated is 20*110/740 ≈ 3 minutes, and the permission runing time before the power-save operation of wechat is 20*
630/740 ≈ 17 minutes.In other examples, the prescribed coefficient can be other positive numbers, such as 30.
Power-save operation unit 303, for judging whether runing time of each application program under specified requirements surpasses
Permission runing time before crossing the power-save operation of each comfortable corresponding period, if having application program in each application program
It is more than its permission runing time before the power-save operation of corresponding period in the runing time under specified requirements, then to described each
In a application program the runing time under specified requirements be more than its before the power-save operation of corresponding period when allowing to run
Between application program execute power-save operation.The power-save operation that application program executes can be and freeze the application program, closing
The application program.For example, the power-save operation executed to the application program is to freeze the application program, if the application
Program permission runing time that the runing time after the electronic equipment blank screen is more than before the application program is frozen (such as
15 minutes), then freeze the application program.
Runing time of each application program under specified requirements can be each application program in the electricity
Runing time after sub- equipment blank screen is also possible to each application program in the runing time on backstage.For example, described in judgement
Whether runing time of each application program after the electronic equipment blank screen is more than each comfortable power-save operation for corresponding to the period
Preceding permission runing time.By taking QQ as an example, it is assumed that the electronic equipment is in 12:10 blank screen, and QQ is in 12:00~13:00 period
Power-save operation before permission runing time be 3 minutes, then whether judge runing time of the QQ after the electronic equipment blank screen
More than three minutes.
Embodiment five
Fig. 4 is the structure chart for the electronic equipment that the embodiment of the present invention five provides.The electronic equipment 1 includes setting including storage
Standby 20, processing equipment 30 and display equipment 40.
The electronic equipment 1, which may be, but not limited to, any one, to pass through keyboard, mouse, remote controler, touch with user
The modes such as plate or voice-operated device carry out the electronic product of human-computer interaction, for example, personal computer, tablet computer, smart phone, a
Personal digital assistant (Personal Digital Assistant, PDA), game machine, Interactive Internet TV (Internet
Protocol Television, IPTV), intellectual wearable device etc..
The storage equipment 20 is used to store the program code of each program segment in the electronic equipment electricity-saving system 10.Institute
Stating storage equipment 20 may include: that USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), arbitrary access are deposited
The various media that can store program code such as reservoir (Random Access Memory, RAM), magnetic or disk.
The processing equipment 30 may include one or more microprocessor, digital processing unit.The processing equipment 30
The program code of each program segment of the electronic equipment electricity-saving system 10 is executed, is recorded in specified period inner electronic equipment 1
The service condition of each application program;According to the service condition of each application program of record, each application is calculated
Permission runing time before the power-save operation of program: and if having application program under specified requirements in each application program
Runing time be more than corresponding power-save operation before permission runing time, then in each application program in specified requirements
Under runing time be more than corresponding power-save operation before permissions runing time application program execution power-save operation.The present invention can
To adjust power-save operation strategy to the use habit of application program according to user, under the premise of obtaining better user experience
Realize the purpose of power saving.
The display equipment 40 is used to show the display interface of the electronic equipment 1.
In several embodiments provided by the present invention, it should be understood that disclosed system and method can pass through it
Its mode is realized.For example, system embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in same treatment unit
It is that each unit physically exists alone, can also be integrated in same unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in system claims is multiple
Unit or system can also be implemented through software or hardware by the same unit or system.The first, the second equal words are used to
It indicates title, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference
Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention
Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.
Claims (6)
1. a kind of electronic equipment electricity saving method, which is characterized in that the described method includes:
Record the service condition of each application program in specified period inner electronic equipment;
According to the service condition of each application program of record, permitting before calculating the power-save operation of each application program
Perhaps runing time: and
If having runing time of the application program under specified requirements in each application program is more than corresponding power-save operation
Preceding permission runing time then grasps the runing time in each application program under specified requirements more than corresponding power saving
The application program of permission runing time before work executes power-save operation;
Permission runing time before the power-save operation for calculating each application program includes:
Calculate each application program starts in preset time period in the specified period number, positioned at front stage operation when
Between;
The number that is started according to each application program in the specified period in preset time period, positioned at front stage operation when
Between calculate each application program of each application program in the active value of preset time period, each application program and exist
The active value of a period in the preset time period is equal to the application program in the specified period in the time
The application program is located at the product of the time of front stage operation in the period in the number of Duan Qidong and the specified period;
Each application program is calculated in preset time period in the active value of preset time period according to each application program
Total active value;And
Each application program is calculated in the active value of preset time period and total active value according to each application program to exist
Permission runing time before the power-save operation of preset time period.
2. electronic equipment electricity saving method as described in claim 1, which is characterized in that the service condition of each application program
Time point for being opened every time including each application program, the time for being located at front stage operation after opening every time.
3. electronic equipment electricity saving method as described in claim 1, which is characterized in that each application program is in preset time
Permission runing time before the power-save operation of section is directly proportional in the active value of preset time period to each application program, with institute
Total active value that each application program is stated in preset time period is inversely proportional.
4. a kind of electronic equipment electricity-saving system, which is characterized in that the system comprises:
Recording unit, for recording the service condition of each application program in specified period inner electronic equipment;
Computing unit calculates each application program for the service condition according to each application program of record
Permission runing time before power-save operation: and
Power-save operation unit, for there is in each application program runing time of the application program under specified requirements to be more than
It is super to the runing time in each application program under specified requirements when permission runing time before corresponding power-save operation
The application program of permission runing time before crossing corresponding power-save operation executes power-save operation;
Permission runing time before the power-save operation for calculating each application program includes:
Calculate each application program starts in preset time period in the specified period number, positioned at front stage operation when
Between;
The number that is started according to each application program in the specified period in preset time period, positioned at front stage operation when
Between calculate each application program of each application program in the active value of preset time period, each application program and exist
The active value of a period in the preset time period is equal to the application program in the specified period in the time
The application program is located at the product of the time of front stage operation in the period in the number of Duan Qidong and the specified period;
Each application program is calculated in preset time period in the active value of preset time period according to each application program
Total active value;And
Each application program is calculated in the active value of preset time period and total active value according to each application program to exist
Permission runing time before the power-save operation of preset time period.
5. electronic equipment electricity-saving system as claimed in claim 4, which is characterized in that the service condition of each application program
Time point for being opened every time including each application program, the time for being located at front stage operation after opening every time.
6. electronic equipment electricity-saving system as claimed in claim 4, which is characterized in that each application program is in preset time
Permission runing time before the power-save operation of section is directly proportional in the active value of preset time period to each application program, with institute
Total active value that each application program is stated in preset time period is inversely proportional.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610899896.0A CN106527655B (en) | 2016-10-14 | 2016-10-14 | Electronic equipment electricity saving method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610899896.0A CN106527655B (en) | 2016-10-14 | 2016-10-14 | Electronic equipment electricity saving method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106527655A CN106527655A (en) | 2017-03-22 |
CN106527655B true CN106527655B (en) | 2019-11-12 |
Family
ID=58332415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610899896.0A Active CN106527655B (en) | 2016-10-14 | 2016-10-14 | Electronic equipment electricity saving method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106527655B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109308112A (en) * | 2017-07-26 | 2019-02-05 | 中兴通讯股份有限公司 | A kind of energy-efficient method and device of mobile terminal active |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104657253A (en) * | 2015-02-13 | 2015-05-27 | 青岛海信移动通信技术股份有限公司 | Displaying visual cue method and mobile terminal |
CN105045369A (en) * | 2015-06-19 | 2015-11-11 | 北京大学深圳研究生院 | Dynamic CPU frequency adjustment method based on historical user-interaction information |
CN105468416A (en) * | 2015-11-30 | 2016-04-06 | 魅族科技(中国)有限公司 | Application program clearing method and terminal |
CN105824392A (en) * | 2015-11-26 | 2016-08-03 | 维沃移动通信有限公司 | Application program management method and terminal |
CN106020421A (en) * | 2016-05-19 | 2016-10-12 | 深圳市金立通信设备有限公司 | Application management method and terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521041B (en) * | 2011-12-14 | 2014-10-08 | 华为终端有限公司 | Method for processing application program and wireless handheld device |
CN105867590A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Method and device for controlling applications of mobile terminal |
-
2016
- 2016-10-14 CN CN201610899896.0A patent/CN106527655B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104657253A (en) * | 2015-02-13 | 2015-05-27 | 青岛海信移动通信技术股份有限公司 | Displaying visual cue method and mobile terminal |
CN105045369A (en) * | 2015-06-19 | 2015-11-11 | 北京大学深圳研究生院 | Dynamic CPU frequency adjustment method based on historical user-interaction information |
CN105824392A (en) * | 2015-11-26 | 2016-08-03 | 维沃移动通信有限公司 | Application program management method and terminal |
CN105468416A (en) * | 2015-11-30 | 2016-04-06 | 魅族科技(中国)有限公司 | Application program clearing method and terminal |
CN106020421A (en) * | 2016-05-19 | 2016-10-12 | 深圳市金立通信设备有限公司 | Application management method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106527655A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Stein | Artificial intelligence and climate change | |
Kareiva | Ominous trends in nature recreation | |
CN103890694B (en) | System and method of the task based access control emergency to manage clock rate | |
US20130007492A1 (en) | Timer interrupt latency | |
US10061366B2 (en) | Schedule-based energy storage device selection | |
CN103189843B (en) | For the method and apparatus managing software application | |
US8812761B2 (en) | System and method for adjusting power usage to reduce interrupt latency | |
Yang et al. | HAPPE: Human and application-driven frequency scaling for processor power efficiency | |
CN106200876B (en) | Applied program processing method and system | |
CN101573677A (en) | Methods and systems for power management in a data processing system | |
CN109983421A (en) | Dynamic power stores equipment charge | |
Li et al. | Optimizing power consumption in multicore smartphones | |
CN104375851B (en) | A kind of power-economizing method and intelligent terminal of intelligent terminal | |
CN106126993A (en) | A kind of application controls method and terminal | |
CN106527655B (en) | Electronic equipment electricity saving method and system | |
CN107491300A (en) | The reminding method and its terminal of a kind of intelligent function | |
CN109364477A (en) | Play Mah-Jong the method and device of game based on voice control | |
CN112764513A (en) | Prompting method and electronic equipment | |
CN107748697B (en) | Application closing method and device, storage medium and electronic equipment | |
US9417679B2 (en) | Adaptive connected standby for a computing device | |
Fink-Samnick | The professional resilience paradigm: Defining the next dimension of professional self-care | |
CN106055365B (en) | A kind of closing application program method and apparatus | |
El Ghor et al. | A nonclairvoyant real-time scheduler for ambient energy harvesting sensors | |
CN110134469B (en) | Festival theme switching method and device and computer equipment | |
CN105224060B (en) | A kind of computer progress control method, device, circuit and computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |