CN106527655A - Power-saving method and system for electronic device - Google Patents

Power-saving method and system for electronic device Download PDF

Info

Publication number
CN106527655A
CN106527655A CN201610899896.0A CN201610899896A CN106527655A CN 106527655 A CN106527655 A CN 106527655A CN 201610899896 A CN201610899896 A CN 201610899896A CN 106527655 A CN106527655 A CN 106527655A
Authority
CN
China
Prior art keywords
application program
time period
power
preset time
save operation
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.)
Granted
Application number
CN201610899896.0A
Other languages
Chinese (zh)
Other versions
CN106527655B (en
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201610899896.0A priority Critical patent/CN106527655B/en
Publication of CN106527655A publication Critical patent/CN106527655A/en
Application granted granted Critical
Publication of CN106527655B publication Critical patent/CN106527655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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

The invention discloses a power-saving method for an electronic device. The method comprises the steps of recording usage states of applications in the electronic device in a specified period; calculating allowed runtime of the applications before power-saving operation according to the recorded usage states of the applications; and if the runtime of an application in the applications under a specified condition exceeds the corresponding allowed runtime before the power-saving operation, executing the power-saving operation on the application with the runtime exceeding the corresponding allowed runtime before the power-saving operation in the applications under the specified condition. The invention furthermore provides a power-saving system for the electronic device. According to the method, a power-saving operation policy can be adjusted according to a usage habit of a user for the application, and the purpose of power saving is achieved on the premise of obtaining better user experience.

Description

Electronic equipment electricity saving method and system
Technical field
The present invention relates to software design technology field, and in particular to a kind of electronic equipment electricity saving method and system.
Background technology
In various consumer electronics device market now, the portable electronic such as mobile phone, panel computer, notebook computer sets It is standby to be widely used.
Consumer's Experience is improved in order to realize more functions, the application program installed on electronic equipment is more and more various more Sample, the power consumption that various application programs bring are increasing.In order to save the power consumption of electronic equipment, need to installing 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 CPU time cannot be obtained to go to perform code so that application program remains static.Existing method is solid after blank screen Fix time and freeze each application program.For example, freeze each application program after blank screen after 30 minutes.It is this to freeze application program Method it is fairly simple, but there is also very big leak, be unable to reach the effect of electronic equipment power saving in some cases.Example Such as, user likes frequently checking message with qq transmitting-receivings, always frequently extinguished screen within 30 minutes, lights screen, this Sample is cannot propagate in the operation for freezing application program, causes substantial amounts of background application continuous service, wastes many electricity. Therefore, in order to preferably be controlled to application program, realize the effect of electronic equipment power saving, prior art also need to improve and Development.
The content of the invention
In view of the foregoing, it is necessary to propose a kind of electronic equipment electricity saving method, which can be according to user to application program Use habit adjusting power-save operation strategy, realize the purpose of power saving on the premise of more preferable Consumer's Experience is obtained.
The first aspect of the application provides a kind of electronic equipment power-saving processing method, and methods described includes:
The service condition of each application program in the specified cycle inner electronic equipment of record;
The service condition of each application program according to record, before calculating the power-save operation of each application program Permission run time:And
If there is run time of the application program under specified requirementss to exceed corresponding power saving in described each application program Preoperative permission run time, then exceed corresponding province to the run time in described each application program under specified requirementss The application program of the permission run time before electrically operated performs power-save operation.
In alternatively possible implementation, the service condition of each application program includes described each application program It is located at the time of front stage operation every time after the time point of opening, each opening.
Permission operation in alternatively possible implementation, before the power-save operation of each application program described in the calculating Time includes calculating the permission run time of each application program before the power-save operation of preset time period.
In alternatively possible implementation, power-save operation of each application program in preset time period described in the calculating Front permission run time includes:
According in the specified cycle each application program preset time period service condition calculate described in each Active value of the application program in preset time period, according to described each application program is calculated in the active value of preset time period Permission run time of each application program before the power-save operation of preset time period.
In alternatively possible implementation, described each application program according in the specified cycle is when default Between section service condition calculate described in each application program in the active value of preset time period, existed according to described each application program The active value of preset time period calculates the permission run time of each application program before the power-save operation of preset time period Including:
Calculate in the specified cycle number of times that described each application program starts in preset time period, positioned at front stage operation Time;
Number of times that each application program according in the specified cycle starts in preset time period, positioned at front stage operation Time Calculation described in each application program preset time period active value;
According to described each application program is calculated in the active value of preset time period, each application program is when default Between section total active value;And
According to described each application program is calculated with total active value in the active value of preset time period, each applies journey Permission run time of the sequence before the power-save operation of preset time period.
In alternatively possible implementation, permission of described each application program before the power-save operation of preset time period Run time is directly proportional in the active value of preset time period to described each application program, with described each application program default Total active value of time period is inversely proportional to.
The second aspect of the application provides a kind of electronic equipment electricity-saving system, and the system includes:
Recording unit, for recording the service condition of each application program in specified cycle inner electronic equipment;
Computing unit, for the service condition of each application program according to record, calculates described each and applies journey Permission run time before the power-save operation of sequence:And
Power-save operation unit, has run time of the application program under specified requirementss for working as in described each application program During more than permission run time before corresponding power-save operation, in described each application program during operation under specified requirementss Between exceed corresponding power-save operation before permissions run time application program execution power-save operation.
In alternatively possible implementation, the service condition of each application program includes described each application program It is located at the time of front stage operation every time after the time point of opening, each opening.
Permission operation in alternatively possible implementation, before the power-save operation of each application program described in the calculating Time includes calculating the permission run time of each application program before the power-save operation of preset time period.
In alternatively possible implementation, power-save operation of each application program in preset time period described in the calculating Front permission run time includes:
According in the specified cycle each application program preset time period service condition calculate described in each Active value of the application program in preset time period, according to described each application program is calculated in the active value of preset time period Permission run time of each application program before the power-save operation of preset time period.
In alternatively possible implementation, described each application program according in the specified cycle is when default Between section service condition calculate described in each application program in the active value of preset time period, existed according to described each application program The active value of preset time period calculates the permission run time of each application program before the power-save operation of preset time period Including:
Calculate in the specified cycle number of times that described each application program starts in preset time period, positioned at front stage operation Time;
Number of times that each application program according in the specified cycle starts in preset time period, positioned at front stage operation Time Calculation described in each application program preset time period active value;
According to described each application program is calculated in the active value of preset time period, each application program is when default Between section total active value;And
According to described each application program is calculated with total active value in the active value of preset time period, each applies journey Permission run time of the sequence before the power-save operation of preset time period.
In alternatively possible implementation, permission of described each application program before the power-save operation of preset time period Run time is directly proportional in the active value of preset time period to described each application program, with described each application program default Total active value of time period is inversely proportional to.
Embodiment provided by the present invention can adjust power-save operation plan according to user to the use habit of application program Slightly, the purpose of power saving is realized on the premise of more preferable Consumer's Experience is obtained.
Description of the drawings
Fig. 1 is the flow chart of the electronic equipment electricity saving method that the embodiment of the present invention one is provided.
Fig. 2 is the flow chart of the electronic equipment electricity saving method that the embodiment of the present invention two is provided.
Fig. 3 is the structure chart of the electronic equipment electricity-saving system that the embodiment of the present invention three, four is provided.
Fig. 4 is the structure chart of the electronic equipment that the embodiment of the present invention five is provided.
Main element symbol description
Electronic equipment 1
Electronic equipment electricity-saving system 10
Storage device 20
Processing equipment 30
Display device 40
Recording unit 301
Computing unit 302
Power-save operation unit 303
Following specific embodiment will further illustrate the present invention with reference to above-mentioned accompanying drawing.
Specific embodiment
It is in order to be more clearly understood that the above objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and concrete real Apply example to describe the present invention.It should be noted that in the case where not conflicting, embodiments herein and embodiment In feature can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, and described embodiment is only Only it is a part of embodiment of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, ordinary skill The every other embodiment obtained under the premise of creative work is not made by personnel, belongs to the scope of protection of the invention.
Unless otherwise defined, all of technology used herein and scientific terminology and the technical field for belonging to the present invention The implication that technical staff is generally understood that is identical.The term for being used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that of the invention in limiting.
Embodiment one
Fig. 1 is the flow chart of the electronic equipment electricity saving method that the embodiment of the present invention one is provided.As shown in figure 1, the method tool Body is comprised the following steps:
101:The service condition of each application program in the specified cycle inner electronic equipment of record.The specified cycle can be with In units of day, such as seven days.The specified cycle can be that fixed value suitably can also be adjusted.For example, institute is performed for the first time Electronic equipment electricity saving method is stated, the specified cycle is seven days, perform the electronic equipment electricity saving method, the specified week later Phase is three days.The service condition of each application program can include the time point that described each application program opens every time, The time of front stage operation is located at after opening every time.Described each application program can be the third party installed in the electronic equipment Application program, such as QQ, wechat.
102:The service condition of each application program according to record, calculates the power saving behaviour of each application program Permission run time before work.
In one embodiment, can preset multiple time periods, described each application program is calculated in preset time period Permission run time before power-save operation.The preset time period can cover 24 hours one day, for example, the preset time period 00 can be included: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 can 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 flexibly can be arranged, for example, the length of each preset time period can be a hour, or Two hours, can also be other.
Permission run time of each application program described in the calculating before the power-save operation of preset time period can be Permission run time of each application program before the power-save operation of each preset time period described in calculating.For example, calculate described Each application program is 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:Permission run time in 00 before the power-save operation of each time period.The meter Permission run time of each application program before the power-save operation of preset time period described in calculating can also be calculate it is described each Permission run time of the application program before the power-save operation of part preset time period.For example, each application program described in calculating 6:00~7:00、7:00~8:00、8:00~9:00、…、22:00~23:00、23:00~00:Each time period in 00 Permission run time before power-save operation.
In one embodiment, for each application program, can be located at after being started according to the application program every time front The average duration of front stage operation is located at after application program launching described in the Time Calculation of platform operation, according to the application program Average duration after startup positioned at front stage operation calculates the permission run time before the power-save operation of the application program.Example Such as, the permission run time before the electronic equipment power-save operation can with the startup of the application program after be located at front stage operation Average duration be directly proportional.
103:Whether run time of each application program under specified requirementss described in judging exceedes corresponding power-save operation Front permission run time.If there have run time of the application program under specified requirementss to exceed in described each application program to be right Permission run time before the power-save operation answered, then perform 104.Otherwise, if described each application program is under specified requirementss Run time less than the permission run time before corresponding power-save operation, then repeat 103.
Run time of described each application program under specified requirementss can be described each application program in the electricity Run time of the run time, or described each application program after sub- equipment blank screen on backstage.For example, judge described Permission operation of each application program before whether the run time after the electronic equipment blank screen exceedes respective power-save operation Time is (during as judged that permissions of the QQ before the run time after the electronic equipment the blank screen whether power-save operation more than QQ runs Between).
If permission run time of each application program before the power-save operation of preset time period described in calculating in 102, Then correspondingly, when whether run time of each application program under specified requirementss described in judging in 103 exceedes each comfortable correspondence Between section power-save operation before permission run time.For example, QQ is calculated in 102 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:Each time period in 00 Power-save operation before permission run time, it is assumed that the electronic equipment is 12:10 blank screens, then judge QQ in the electronic equipment Whether the run time after blank screen is more than QQ 12:00~13:Permission run time before the power-save operation of 00 time period.
104:If there have run time of the application program under specified requirementss to exceed in described each application program to be corresponding Permission run time before power-save operation, then exceed correspondence to the run time in described each application program under specified requirementss Power-save operation before permission run time application program perform power-save operation.The power-save operation performed by the application program Can freeze the application program, close the application program.For example, to the application program perform power-save operation be freeze The application program is tied, if run time of the application program after the electronic equipment blank screen exceedes the application program Permission run time (such as 15 minutes) before frozen, then freeze the application program.
Embodiment two
Fig. 2 is the flow chart of the electronic equipment electricity saving method that the embodiment of the present invention two is provided.As shown in Fig. 2 the method tool Body is comprised the following steps:
201:Record specifies the time point that each application program in cycle inner electronic equipment opens every time, open every time after Positioned at the time of front stage operation.In the present embodiment, the specified cycle in units of day, such as seven days.The specified cycle Can be that fixed value suitably can also be adjusted.For example, the electronic equipment electricity saving method is performed for the first time, and the specified cycle is Seven days, the electronic equipment electricity saving method is performed later, the specified cycle is three days.Described each application program can be institute The third party application installed in stating electronic equipment, such as QQ, wechat.
202:The each time point opened of each application program according in the described specified cycle of record, every time opening Specify described in Time Calculation positioned at front stage operation afterwards described each application program starts in preset time period in the cycle number of times, 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 of non-overlapping copies.For example, the specified cycle is seven days, and 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 time periods), then each application program described in seven days is calculated 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:In 00, each time period starts Number of times, positioned at the time of front stage operation.For example, it is calculated in seven days 12:00~13:00 time period, QQ startups 11 times, It it is 10 minutes positioned at the time of front stage operation, wechat startup 21 times, the time positioned at front stage operation are 30 minutes.
203:According in the specified cycle, each application program is in number of times, the position of default each time period startup Active value of each application program in default each time period described in Time Calculation in front stage operation.In the present embodiment, Active value of one application program a time period is opened in the time period equal to the application program in the specified cycle Dynamic number of times is located at the product of the time of front stage operation with the application program in the specified cycle in the time period.Example Such as, 12 in seven days:00~13:00 time period, QQ startups 11 times, the time positioned at front stage operation are 10 minutes, and wechat starts 21 times, the time positioned at front stage operation be 30 minutes, then 12:00~13:The active value of 00 time period QQ is 11*10=110 Minute, the active value of wechat is 21*30=630 minutes.
204:According to described each application program is calculated in the active value of preset time period, each application program is pre- If total active value of time period.For example, 12 in seven days:00~13:00 time period, QQ start 11 times, positioned at front stage operation Time is 10 minutes, wechat start 21 times, the time positioned at front stage operation be 30 minutes, then 12:00~13:00 time period it is total Application program active value is 11*10+21*30=740 minutes.
205:According to described each application program is calculated with total active value in the active value of preset time period, each should Permission run time with program before the power-save operation of preset time period.In the present embodiment, described each application program exists Permission run time before the power-save operation of preset time period and described each application program preset time period active value into Direct ratio, is inversely proportional to total active value of described each application program in preset time period.For example, an application program is at one Between section power-save operation before permission run time can be multiplied by the application program in the time period equal to prescribed coefficient The ratio of active value and the total application active value of the time period.In the present embodiment, the prescribed coefficient can be 20. For example, 12:00~13:00 time period, the active value of QQ is 11*10=110 minutes, and the active value of wechat is 21*30=630 Minute, total application active value is 740 minutes, then 12:00~13:00 time period, the permission fortune before the power-save operation of QQ The row time is 20*110/740 ≈ 3 minutes, and the permission run 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:Whether run time of each application program under specified requirementss described in judging exceedes each comfortable correspondence time Permission run time before the power-save operation of section.If there is fortune of the application program under specified requirementss in described each application program The row time exceedes its permission run time before the power-save operation of correspondence time period, then perform 207.Otherwise, if described each Permission operation of run time of the individual application program under specified requirementss less than which before the power-save operation of correspondence time period Time, then repeat 206.
Run time of described each application program under specified requirementss can be described each application program in the electricity Run time of the run time, or described each application program after sub- equipment blank screen on backstage.For example, judge described Whether run time of each application program after the electronic equipment blank screen exceedes the power-save operation of each comfortable correspondence time period Front permission run time.By taking QQ as an example, it is assumed that the electronic equipment is 12:10 blank screens, QQ is 12:00~13:00 time period Power-save operation before permission run time be 3 minutes, then whether judge run times of the QQ after the electronic equipment blank screen More than three minutes.
207:If there is run time of the application program under specified requirementss to exceed which right in described each application program Permission run time that should be before the power-save operation of time period, then in described each application program during operation under specified requirementss Between exceed its correspondence the time period power-save operation before permissions run time application program execution power-save operation.To applying journey The power-save operation that sequence is performed can be freezed the application program, close the application program.For example, the application program is held Capable power-save operation is to freeze the application program, if run time of the application program after the electronic equipment blank screen Permission run time (such as 15 minutes) before frozen more than the application program, then freeze the application program.
According to the electronic equipment electricity saving method that the present invention is provided, the commonly used application program of user, performs power saving Preoperative delay time is longer, the application program that user is rarely employed, and performs the delay time before power-save operation and gets over It is short.The present invention dynamically can adjust power-save operation strategy according to user using the custom of application program, more preferable obtaining The purpose of power saving is realized on the premise of Consumer's Experience.
It is more than the detailed description carried out by method provided by the present invention.According to different demands, in shown flow chart The execution sequence of square can change, and some squares can be omitted.Below system provided by the present invention is described.
Fig. 3 is the structure chart of the electronic equipment electricity-saving system that the embodiment of the present invention three, four is provided.Work(according to performed by which 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 can 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 cycle inner electronic equipment.It is described The specified cycle can be in units of day, such as seven days.The specified cycle can be that fixed value suitably can also be adjusted.For example, Run the electronic equipment electricity-saving system 10 for the first time, the specified cycle is seven days, performs the electronic equipment power saving later Method, the specified cycle are three days.The service condition of each application program can include that described each application program is every The time of front stage operation is located at after the time point of secondary opening, every time opening.Described each application program can be that the electronics sets The third party application of standby middle installation, such as QQ, wechat.
Computing unit 302, for the service condition of each application program according to record, calculates described each application Permission run time before the power-save operation of program.
In one embodiment, computing unit 302 can calculate power saving of described each application program in preset time period Preoperative permission run time.The preset time period can 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 time periods).
In one embodiment, for each application program, computing unit 302 can be opened every time according to the application program The average duration of front stage operation is located at after being located at the startup of application program described in the Time Calculation of front stage operation after dynamic, according to Average duration after the startup of the application program positioned at front stage operation is calculated before the power-save operation of the application program Allow run time.For example, permission run 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 the run time of each application program under specified requirementss surpasses The permission run time crossed before corresponding power-save operation, if having application program in described each application program under specified requirementss Run time exceed corresponding power-save operation before permission run time, then in described each application program in specified requirementss Under run time exceed corresponding power-save operation before permissions run time application program execution power-save operation.Answer to described Can freeze the application program, close the application program with the power-save operation of program performing.For example, to the application journey The power-save operation that sequence is performed is to freeze the application program, if operation of the application program after the electronic equipment blank screen Time exceedes the frozen front permission run time (such as 15 minutes) of the application program, then freeze the application program.
Run time of described each application program under specified requirementss can be described each application program in the electricity Run time of the run time, or described each application program after sub- equipment blank screen on backstage.For example, judge described Permission operation of each application program before whether the run time after the electronic equipment blank screen exceedes respective power-save operation Time is (during as judged that permissions of the QQ before the run time after the electronic equipment the blank screen whether power-save operation more than QQ runs Between).
If computing unit 302 calculates permission operation of described each application program before the power-save operation of preset time period Time, then correspondingly, power-save operation unit 303 judges whether the run time of each application program under specified requirementss surpasses The permission run time crossed before the power-save operation of each comfortable correspondence time period.For example, QQ is calculated in 102 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 time period power-save operation before permission run time, it is assumed that the electronic equipment is 12:10 blank screens, then judge that QQ exists Whether the run time after the electronic equipment blank screen is more than QQ 12:00~13:Permission before the power-save operation of 00 time period Run time.
Example IV
Recording unit 301, for recording the time that each application program in specified cycle inner electronic equipment is opened every time The time of front stage operation is located at after point, every time opening.In the present embodiment, the specified cycle in units of day, such as seven days. The specified cycle can be that fixed value suitably can also be adjusted.For example, the electronic equipment electricity-saving system 10 is run for the first time, The specified cycle is seven days, performs the electronic equipment electricity saving method later, and the specified cycle is three days.Described each is answered Can be the third party application installed in the electronic equipment with program, such as QQ, wechat.
Computing unit 302, for described each application program within the described specified cycle of record every time opening when Between point, open every time after be located at described in the Time Calculation of front stage operation and specify in the cycle described each application program in Preset Time The number of times of Duan Qidong, positioned at the time of front stage operation.The length of each preset time period can be a hour.Preset Time Section can be the time interval of non-overlapping copies.For example, the specified cycle is seven days, and 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 (having 24 time periods), then calculate each application program described in seven days 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:Each time in 00 The number of times of Duan Qidong, positioned at the time of front stage operation.For example, it is calculated in seven days 12:00~13:00 time period, QQ is opened The dynamic 11 times, time positioned at front stage operation is 10 minutes, and wechat startup 21 times, the time positioned at front stage operation are 30 minutes.
Computing unit 302, is additionally operable to each application program according in the specified cycle and starts in preset time period Number of times, active value of each application program in preset time period described in the Time Calculation positioned at front stage operation.In the present embodiment In, an application program a time period active value be equal to the specified cycle in the application program in the time period The number of times of startup is located at the product of the time of front stage operation with the application program in the specified cycle in the time period.Example Such as, 12 in seven days:00~13:00 time period, QQ startups 11 times, the time positioned at front stage operation are 10 minutes, and wechat starts 21 times, the time positioned at front stage operation be 30 minutes, then 12:00~13:The active value of 00 time period QQ is 11*10=110 Minute, the active value of wechat is 21*30=630 minutes.
Computing unit 302, is additionally operable to the active value according to described each application program in preset time period and calculates described each Total active value of the individual application program in preset time period.For example, 12 in seven days:00~13:00 time period, QQ startups 11 times, 10 minutes positioned at the time of front stage operation, wechat start 21 times, the time positioned at front stage operation be 30 minutes, then 12:00~ 13:The total application active value of 00 time period is 11*10+21*30=740 minutes.
Computing unit 302, is additionally operable to active value and total active value in preset time period according to described each application program Permission run time of each application program before the power-save operation of preset time period described in calculating.In the present embodiment, it is described Permission run time of each application program before the power-save operation of preset time period is with described each application program when default Between the active value of section be directly proportional, be inversely proportional to total active value of described each application program in preset time period.For example, answer for one Permission run time with program before the power-save operation of a time period can be multiplied by the application program equal to prescribed coefficient In the ratio of active value and the total application active value of the time period of the time period,.In the present embodiment, the finger It can be 20 to determine coefficient.For example, 12:00~13:00 time period, the active value of QQ is 11*10=110 minutes, the work of wechat Jump value is 21*30=630 minutes, and total application active value is 740 minutes, then 12:00~13:00 time period, the province of QQ Permission run time before electrically operated is 20*110/740 ≈ 3 minutes, and the permission run 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 the run time of each application program under specified requirementss surpasses The permission run time crossed before the power-save operation of each comfortable correspondence time period, if having application program in described each application program Run time under specified requirementss exceedes its permission run time before the power-save operation of correspondence time period, then to described each When run time in individual application program under specified requirementss exceedes its permission operation before the power-save operation of correspondence time period Between application program perform power-save operation.Can freeze the application program, closing to the power-save operation using program performing The application program.For example, the power-save operation for performing to the application program is to freeze the application program, if the application Permission run time of the program in the run time after the electronic equipment blank screen more than the application program before frozen is (for example 15 minutes), then freeze the application program.
Run time of described each application program under specified requirementss can be described each application program in the electricity Run time of the run time, or described each application program after sub- equipment blank screen on backstage.For example, judge described Whether run time of each application program after the electronic equipment blank screen exceedes the power-save operation of each comfortable correspondence time period Front permission run time.By taking QQ as an example, it is assumed that the electronic equipment is 12:10 blank screens, QQ is 12:00~13:00 time period Power-save operation before permission run time be 3 minutes, then whether judge run times of the QQ after the electronic equipment blank screen More than three minutes.
Embodiment five
Fig. 4 is the structure chart of the electronic equipment that the embodiment of the present invention five is provided.The electronic equipment 1 includes that storage sets Standby 20, processing equipment 30 and display device 40.
The electronic equipment 1 may be, but not limited to, any one and can pass through keyboard, mouse, remote control, touch with user The mode such as plate or voice-operated device carries out the electronic product of man-machine interaction, for example, personal computer, panel computer, smart mobile phone, individual Personal digital assistant (Personal Digital Assistant, PDA), game machine, IPTV (Internet Protocol Television, IPTV), intellectual Wearable etc..
The storage device 20 is used for storing the program code of each program segment in the electronic equipment electricity-saving system 10.Institute Stating storage device 20 can include:USB flash disk, portable hard drive, read only memory (Read-Only Memory, ROM), random access memory are deposited Reservoir (Random Access Memory, RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
The processing equipment 30 can 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 performed, during record specifies cycle inner electronic equipment 1 The service condition of each application program;The service condition of each application program according to record, calculates described each application Permission run time before the power-save operation of program:And if having application program in described each application program under specified requirementss Run time exceed corresponding power-save operation before permission run time, then in described each application program in specified requirementss Under run time exceed corresponding power-save operation before permissions run time application program execution power-save operation.The present invention can With according to user to the use habit of application program adjusting power-save operation strategy, on the premise of more preferable Consumer's Experience is obtained Realize the purpose of power saving.
The display device 40 is used for showing 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, which can be passed through Its mode is realized.For example, system embodiment described above is only schematically, for example division of the unit, only Only a kind of division of logic function, can have other dividing mode when actually realizing.
In addition, each functional unit in each embodiment of the invention can be integrated in same treatment unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in same unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ hardware adds the form of software function module to realize.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of spirit or essential attributes without departing substantially from the present invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as and limit involved claim.This Outward, it is clear that " including ", a word was not excluded for other units or step, and odd number is not excluded for plural number.That what is stated in system claims is multiple Unit or system can also be realized by software or hardware by same unit or system.The first, the second grade word is used for Title is represented, and is not offered as any specific order.
Finally it should be noted that above example is only to illustrate technical scheme and unrestricted, although reference Preferred embodiment has been described in detail to the present invention, it will be understood by those within the art that, can be to the present invention's Technical scheme is modified or equivalent, without deviating from the spirit and scope of technical solution of the present invention.

Claims (12)

1. a kind of electronic equipment power-saving processing method, it is characterised in that methods described includes:
The service condition of each application program in the specified cycle inner electronic equipment of record;
The service condition of each application program according to record, calculates permitting before the power-save operation of each application program Perhaps run time:And
If there is run time of the application program under specified requirementss to exceed corresponding power-save operation in described each application program Front permission run time, then grasp more than corresponding power saving to the run time in described each application program under specified requirementss The application program of the permission run time before work performs power-save operation.
2. electronic equipment electricity saving method as claimed in claim 1, it is characterised in that the service condition of each application program Including the time for being located at front stage operation after described each application program every time time point of opening, each opening.
3. electronic equipment electricity saving method as claimed in claim 1, it is characterised in that each application program described in the calculating Permission run time before power-save operation includes calculating described each application program permitting before the power-save operation of preset time period Perhaps run time.
4. electronic equipment electricity saving method as claimed in claim 3, it is characterised in that each application program exists described in the calculating Permission run time before the power-save operation of preset time period includes:
Each application described in service condition calculating of each application program in preset time period according in the specified cycle Active value of the program in preset time period, according to described each application program preset time period active value calculate described in each Permission run time of the application program before the power-save operation of preset time period.
5. electronic equipment electricity saving method as claimed in claim 4, it is characterised in that described according in the specified cycle Each application program calculates active value of described each application program in preset time period, root in the service condition of preset time period Power saving of described each application program in preset time period is calculated according to active value of described each application program in preset time period Preoperative permission run time includes:
Calculate in the specified cycle number of times that described each application program starts in preset time period, positioned at front stage operation when Between;
Number of times that each application program according in the specified cycle starts in preset time period, positioned at front stage operation when Between calculate described in each application program preset time period active value;
According to described each application program is calculated in the active value of preset time period, each application program is in preset time period Total active value;And
Each application program according to described each application program is calculated with total active value in the active value of preset time period exists Permission run time before the power-save operation of preset time period.
6. electronic equipment electricity saving method as claimed in claim 5, it is characterised in that described each application program is in Preset Time Permission run time before the power-save operation of section is directly proportional in the active value of preset time period to described each application program, with institute Total active value that each application program is stated in preset time period is inversely proportional to.
7. a kind of electronic equipment electricity-saving system, it is characterised in that the system includes:
Recording unit, for recording the service condition of each application program in specified cycle inner electronic equipment;
Computing unit, for the service condition of each application program according to record, calculates each application program Permission run time before power-save operation:And
Power-save operation unit, has run time of the application program under specified requirementss to exceed for working as in described each application program During permission run time before corresponding power-save operation, the run time in described each application program under specified requirementss is surpassed The application program of the permission run time crossed before corresponding power-save operation performs power-save operation.
8. electronic equipment electricity-saving system as claimed in claim 7, it is characterised in that the service condition of each application program Including the time for being located at front stage operation after described each application program every time time point of opening, each opening.
9. electronic equipment electricity-saving system as claimed in claim 7, it is characterised in that each application program described in the calculating Permission run time before power-save operation includes calculating described each application program permitting before the power-save operation of preset time period Perhaps run time.
10. electronic equipment electricity-saving system as claimed in claim 9, it is characterised in that each application program described in the calculating Permission run time before the power-save operation of preset time period includes:
Each application described in service condition calculating of each application program in preset time period according in the specified cycle Active value of the program in preset time period, according to described each application program preset time period active value calculate described in each Permission run time of the application program before the power-save operation of preset time period.
11. electronic equipment electricity-saving systems as claimed in claim 10, it is characterised in that described according to institute in the specified cycle The service condition that each application program is stated in preset time period calculates active value of described each application program in preset time period, Province of each application program in preset time period according to described each application program is calculated in the active value of preset time period Permission run time before electrically operated includes:
Calculate in the specified cycle number of times that described each application program starts in preset time period, positioned at front stage operation when Between;
Number of times that each application program according in the specified cycle starts in preset time period, positioned at front stage operation when Between calculate described in each application program preset time period active value;
According to described each application program is calculated in the active value of preset time period, each application program is in preset time period Total active value;And
Each application program according to described each application program is calculated with total active value in the active value of preset time period exists Permission run time before the power-save operation of preset time period.
12. electronic equipment electricity-saving systems as claimed in claim 11, it is characterised in that described each application program is when default Between section power-save operation before permission run time be directly proportional in the active value of preset time period to described each application program, with Described each application program is inversely proportional in total active value of preset time period.
CN201610899896.0A 2016-10-14 2016-10-14 Electronic equipment electricity saving method and system Active CN106527655B (en)

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 true CN106527655A (en) 2017-03-22
CN106527655B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019020018A1 (en) * 2017-07-26 2019-01-31 中兴通讯股份有限公司 Active energy saving method and device for mobile terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521041A (en) * 2011-12-14 2012-06-27 华为终端有限公司 Method for processing application program and wireless handheld device
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
CN105867590A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for controlling applications of mobile terminal
CN106020421A (en) * 2016-05-19 2016-10-12 深圳市金立通信设备有限公司 Application management method and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521041A (en) * 2011-12-14 2012-06-27 华为终端有限公司 Method for processing application program and wireless handheld device
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
CN105867590A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for controlling applications of mobile terminal
CN106020421A (en) * 2016-05-19 2016-10-12 深圳市金立通信设备有限公司 Application management method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019020018A1 (en) * 2017-07-26 2019-01-31 中兴通讯股份有限公司 Active energy saving method and device for mobile terminal
CN109308112A (en) * 2017-07-26 2019-02-05 中兴通讯股份有限公司 A kind of energy-efficient method and device of mobile terminal active

Also Published As

Publication number Publication date
CN106527655B (en) 2019-11-12

Similar Documents

Publication Publication Date Title
Lorch et al. Improving dynamic voltage scaling algorithms with PACE
CN103890694B (en) System and method of the task based access control emergency to manage clock rate
Li et al. Energy-efficient stochastic task scheduling on heterogeneous computing systems
Shye et al. Into the wild: studying real user activity patterns to guide power optimizations for mobile architectures
US9075652B2 (en) Idle time service
TWI309002B (en)
Yang et al. HAPPE: Human and application-driven frequency scaling for processor power efficiency
CN103189843B (en) For the method and apparatus managing software application
Yoo et al. Integrated scheduling of real-time and interactive tasks for configurable industrial systems
CN103607513A (en) Method for controlling application to be used and intelligent terminal
CN103902322B (en) System switching method and electronic equipment
CN105955741A (en) Application processing method and device
US11481014B2 (en) Power control method based on user habit and terminal
Mallik et al. PICSEL: Measuring user-perceived performance to control dynamic frequency scaling
CN107491300A (en) The reminding method and its terminal of a kind of intelligent function
CN107506017A (en) Charging reminding method and device, electronic equipment and computer-readable recording medium
CN104375851B (en) A kind of power-economizing method and intelligent terminal of intelligent terminal
Xu et al. DarkReader: bridging the gap between perception and reality of power consumption in smartphones for blind users
TW200619926A (en) Partition area architecture of an operation system common used disk and the method thereof
Seo et al. Effectiveness analysis of dvfs and dpm in mobile devices
Peters et al. Phase-aware web browser power management on hmp platforms
CN106527655A (en) Power-saving method and system for electronic device
US20200201419A1 (en) Extending a battery life of a battery-powered computing device
CN106095055A (en) The method for closing of a kind of application program and device
Chung et al. Enhancing user experiences by exploiting energy and launch delay trade-off of mobile multimedia applications

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