CN104506740A - Intelligent electric quantity control method, terminal and system - Google Patents

Intelligent electric quantity control method, terminal and system Download PDF

Info

Publication number
CN104506740A
CN104506740A CN201410854295.9A CN201410854295A CN104506740A CN 104506740 A CN104506740 A CN 104506740A CN 201410854295 A CN201410854295 A CN 201410854295A CN 104506740 A CN104506740 A CN 104506740A
Authority
CN
China
Prior art keywords
scheduling
scheduling queue
operation timer
timer
scope
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
CN201410854295.9A
Other languages
Chinese (zh)
Other versions
CN104506740B (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.)
Shanghai Green Orange Industry Co Ltd
Original Assignee
Shanghai Green Orange Industry 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 Shanghai Green Orange Industry Co Ltd filed Critical Shanghai Green Orange Industry Co Ltd
Priority to CN201410854295.9A priority Critical patent/CN104506740B/en
Publication of CN104506740A publication Critical patent/CN104506740A/en
Application granted granted Critical
Publication of CN104506740B publication Critical patent/CN104506740B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Power Sources (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an intelligent electric quantity control method, terminal and system. The method comprises the following steps of, according to every operation triggering time and the corresponding distributed system time, obtain the trigger time range of an operation timer corresponding to every operation; determining whether the trigger time ranges of the operation timers corresponding to the operation are intersected, if so, placing the intersected operation times into the same scheduling queue; during operation scheduling, performing scheduling operation on every scheduling queue according to the earliest trigger time of the obtained intersected operation timers. The intelligent electric quantity control method achieves unified scheduling of the operation times which are intersected, thereby reducing the number of times of frequently awakening the system and greatly saving electricity.

Description

A kind of electricity intelligent control method, terminal and system
Technical field
The invention belongs to electricity field of intelligent control, particularly relate to a kind of electricity intelligent control method, terminal and system.
Background technology
Along with popularizing gradually of mobile phone, cell phone manufacturer's competition is also growing more intense, and the variation of cell-phone function also becomes the attraction that Ge great cell phone manufacturer vies each other gradually, especially mobile phone power-saving function, attraction for user is very large, the focus that Shi Ge great cell phone manufacturer pays close attention to.
Existing mobile phone power-saving scheme is as follows:
Scheme 1, mobile phone screen display is arranged to display all over the screen, half screen display, 1/4th screen displays show three kinds of switchable screens switch modes, and are realized the switching of three kinds of screen display modes by mobile phone system command; Switched by cell-phone function key or automatically switch to change mobile phone screen indication range, reducing the power consumption of mobile phone, thus increasing the service time of mobile phone.
Scheme 2, the automatic photometric system of camera integrated on mobile phone is utilized to obtain environment map data calculate environment shading value; Then environment shading value is lower than default shading value, then closing hand phone energy-saving mode, is utilized automatic photometric system integrated on mobile phone to obtain environment shading value, and is opened voluntarily or closing hand phone energy-saving mode by software control on this basis, without the need to increasing hardware on mobile phone, mobile phone power-saving can be realized.
The dump energy of scheme 3, in real time detection of handset battery; The dump energy detected and the power threshold preset are compared; When described dump energy is lower than described power threshold, described battery of mobile phone is made to switch to handpiece portion function to power from for mobile phone bulk supply.
Such scheme does not all disclose according to the relation between each Job Trigger moment scope, the power saving scheme that design is corresponding.
Summary of the invention
The invention provides a kind of electricity intelligent control method, terminal and system, to solve the problem.
The invention provides a kind of electricity intelligent control method, terminal and system.Said method comprises the following steps:
According to institute's distribution system time of each Job Trigger moment and correspondence, obtain the trigger instants scope of each operation operation timer corresponding respectively;
Judging whether the trigger instants scope of the operation timer that each operation is corresponding respectively has common factor, if having, then putting into same scheduling queue by there is the operation timer occured simultaneously;
During job scheduling, for each scheduling queue, according to the trigger instants the earliest of the operation timer that the existence obtained is occured simultaneously, carry out job scheduling.
The present invention also provides a kind of electricity control of intelligent terminal, comprises acquisition module, judge module, scheduler module; Wherein, described acquisition module is connected with described scheduler module by described judge module;
Described acquisition module, for the institute's distribution system time according to each Job Trigger moment and correspondence, obtain the trigger instants scope of each operation operation timer corresponding respectively and the trigger instants scope of operation timer corresponding respectively for each operation described is sent to described judge module;
Described judge module, for judging whether the trigger instants scope of the operation timer that each operation is corresponding respectively has common factor, if having, then puts into same scheduling queue by there is the operation timer occured simultaneously and described scheduling queue is sent to described scheduler module;
Described scheduler module, during for job scheduling, for each scheduling queue, according to the trigger instants the earliest of the operation timer that the existence obtained is occured simultaneously, carries out job scheduling.
The present invention also provides a kind of electricity intelligent control system, comprises above-mentioned electricity control of intelligent terminal.
By following scheme: according to institute's distribution system time of each Job Trigger moment and correspondence, obtain the trigger instants scope of each operation operation timer corresponding respectively; Judging whether the trigger instants scope of the operation timer that each operation is corresponding respectively has common factor, if having, then putting into same scheduling queue by there is the operation timer occured simultaneously; During job scheduling, for each scheduling queue, according to the trigger instants the earliest of the operation timer that the existence obtained is occured simultaneously, carry out job scheduling, achieve and carry out same scheduling to there is the operation timer occured simultaneously, thus the number of times that the system that decreases frequently is waken up, greatly save electricity.
By following scheme: during job scheduling, the trigger instants the earliest of the operation timer that the scheduling queue existence that also basis obtains from this scheduling queue that priority treatment priority is higher is occured simultaneously, carry out job scheduling, while save power, ensure that the operation that priority is higher is processed in time, greatly improve the experience of user.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Figure 1 shows that the electricity intelligent control method flow chart of the embodiment of the present invention 1;
Figure 2 shows that the electricity Structure of intelligent control system figure of the embodiment of the present invention 2.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Figure 1 shows that the electricity intelligent control method flow chart of the embodiment of the present invention 1, comprise the following steps:
Step 101: according to institute's distribution system time of each Job Trigger moment and correspondence, obtains the trigger instants scope of each operation operation timer corresponding respectively;
Step 102: judge whether the trigger instants scope of the operation timer that each operation is corresponding respectively has common factor, if having, then puts into same scheduling queue by there is the operation timer occured simultaneously;
Judge whether the trigger instants scope of the operation timer that each operation is corresponding respectively has common factor, if having, then, after the operation timer that there is common factor being put into same scheduling queue, also comprise:
Priority is arranged to each scheduling queue.
The mode each scheduling queue being arranged to priority is: according to operation important in each scheduling queue than row, determine each scheduling queue priority.
According to operation important in each scheduling queue than row, determine that corresponding important operation is than row scope, and then determine corresponding scheduling queue priority.
In scheduling queue, important operation is than row=important operation quantity/All Jobs quantity; Wherein, in advance described operation is divided into important operation, insignificant operation.
Table 1 scheduling queue, important operation are than row scope and the scheduling queue priority table of comparisons
Judge whether the trigger instants scope of the operation timer that each operation is corresponding respectively has common factor, if do not have, then dispatches respectively each operation.
Step 103: during job scheduling, for each scheduling queue, according to the trigger instants the earliest of the operation timer that the existence obtained is occured simultaneously, carries out job scheduling.
During job scheduling, for each scheduling queue, according to the trigger instants the earliest of the operation timer that the existence obtained is occured simultaneously, carry out the process of job scheduling, also comprise:
During job scheduling, the trigger instants the earliest of the operation timer that the scheduling queue existence that also basis obtains from this scheduling queue that priority treatment priority is higher is occured simultaneously, carries out job scheduling.
Citing is below described in detail:
Obtain pending operation to comprise: operation 1, operation 2, operation 3, operation 4, operation 5 ... operation n-1, operation n;
Wherein, the institute distribution system time T1 of operation 1 trigger instants A1 and correspondence, then the trigger instants scope A1+T1 of the operation timer of operation 1 correspondence;
The institute distribution system time T2 of operation 2 trigger instants A2 and correspondence, then the trigger instants scope A2+T2 of the operation timer of operation 2 correspondence;
The institute distribution system time T3 of operation 3 trigger instants A3 and correspondence, then the trigger instants scope A3+T3 of the operation timer of operation 3 correspondence;
...
The institute distribution system time Tn-1 of operation n-1 trigger instants An-1 and correspondence, then the trigger instants scope An-1+Tn-1 of the operation timer that operation n-1 is corresponding;
The institute distribution system time Tn of operation n trigger instants An and correspondence, then the trigger instants scope An+Tn of the operation timer that operation n is corresponding.
Occur simultaneously if the trigger instants scope of the operation timer of the operation timer of operation 1 correspondence, operation 5 correspondence, the operation timer of operation 8 correspondence exists, then the operation timer of the operation timer of operation 1 correspondence, operation 5 correspondence, the operation timer of operation 8 correspondence are put into same scheduling queue, such as: scheduling queue P;
During job scheduling, obtain the trigger instants the earliest of the operation timer of operation 1 correspondence, the operation timer of operation 5 correspondence, the operation timer of operation 8 correspondence, such as: the trigger instants A1 of the operation timer of operation 1 correspondence the earliest, then, when the A1 moment arrives, carries out job scheduling.
The trigger instants scope of the operation timer of the operation timer of operation 2 correspondence, the operation timer of operation 3 correspondence, operation 7 correspondence exists occurs simultaneously, then the operation timer of the operation timer of operation 2 correspondence, operation 3 correspondence, the operation timer of operation 7 correspondence are put into same scheduling queue, such as: scheduling queue Q;
During job scheduling, obtain the trigger instants the earliest of the operation timer of operation 2 correspondence, the operation timer of operation 3 correspondence, the operation timer of operation 7 correspondence, such as: the trigger instants A3 of the operation timer of operation 3 correspondence the earliest, then, when the A3 moment arrives, carries out job scheduling.
The trigger instants scope of the operation timer that the operation timer of operation 6 correspondence, operation n are corresponding exists occurs simultaneously, then the operation timer of operation 6 correspondence, operation timer that operation n is corresponding are put into same scheduling queue, such as: scheduling queue M.
During job scheduling, obtain the trigger instants the earliest of the operation timer of operation 6 correspondence, operation timer that operation n is corresponding, such as: the trigger instants An of the operation timer that operation n is corresponding the earliest, then, when the An moment arrives, carries out job scheduling.
If operation 1 is important operation, operation 5 is important operation, operation 8 is insignificant operation, then the important operation of scheduling queue P is than row=2/3=66.7%, then known according to table 1, and the priority of scheduling queue P is high;
If operation 2 is insignificant operation, operation 3 is insignificant operation, operation 7 is important operation, then
The important operation of scheduling queue Q is than row=1/3=33.3%, then known according to table 1, and the priority of scheduling queue Q is low;
If operation 6 is insignificant operation, operation n is important operation, then
The important operation of scheduling queue M than row=1/2=50%, then known according to table 1, the priority of scheduling queue M is high.
During job scheduling, priority treatment scheduling queue P or scheduling queue M, reprocessing scheduling queue Q.
By following scheme: according to institute's distribution system time of each Job Trigger moment and correspondence, obtain the trigger instants scope of each operation operation timer corresponding respectively; Judging whether the trigger instants scope of the operation timer that each operation is corresponding respectively has common factor, if having, then putting into same scheduling queue by there is the operation timer occured simultaneously; During job scheduling, for each scheduling queue, according to the trigger instants the earliest of the operation timer that the existence obtained is occured simultaneously, carry out job scheduling, achieve and carry out same scheduling to there is the operation timer occured simultaneously, thus the number of times that the system that decreases frequently is waken up, greatly save electricity.
By following scheme: during job scheduling, the trigger instants the earliest of the operation timer that the scheduling queue existence that also basis obtains from this scheduling queue that priority treatment priority is higher is occured simultaneously, carry out job scheduling, while save power, ensure that the operation that priority is higher is processed in time, greatly improve the experience of user.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. an electricity intelligent control method, is characterized in that, comprises the following steps:
According to institute's distribution system time of each Job Trigger moment and correspondence, obtain the trigger instants scope of each operation operation timer corresponding respectively;
Judging whether the trigger instants scope of the operation timer that each operation is corresponding respectively has common factor, if having, then putting into same scheduling queue by there is the operation timer occured simultaneously;
During job scheduling, for each scheduling queue, according to the trigger instants the earliest of the operation timer that the existence obtained is occured simultaneously, carry out job scheduling.
2. method according to claim 1, is characterized in that, judges whether the trigger instants scope of the operation timer that each operation is corresponding respectively has common factor, if do not have, then dispatches respectively each operation.
3. method according to claim 1, is characterized in that, judges whether the trigger instants scope of the operation timer that each operation is corresponding respectively has common factor, if having, then, after the operation timer that there is common factor being put into same scheduling queue, also comprises:
Priority is arranged to each scheduling queue.
4. method according to claim 3, is characterized in that, the mode each scheduling queue being arranged to priority is: according to operation important in each scheduling queue than row, determine each scheduling queue priority.
5. method according to claim 4, is characterized in that, according to operation important in each scheduling queue than row, determines that corresponding important operation is than row scope, and then determines corresponding scheduling queue priority.
6. method according to claim 5, is characterized in that, during job scheduling, the trigger instants the earliest of the operation timer that the scheduling queue existence that also basis obtains from this scheduling queue that priority treatment priority is higher is occured simultaneously, carries out job scheduling.
7. an electricity control of intelligent terminal, is characterized in that, comprises acquisition module, judge module, scheduler module; Wherein, described acquisition module is connected with described scheduler module by described judge module;
Described acquisition module, for the institute's distribution system time according to each Job Trigger moment and correspondence, obtain the trigger instants scope of each operation operation timer corresponding respectively and the trigger instants scope of operation timer corresponding respectively for each operation described is sent to described judge module;
Described judge module, for judging whether the trigger instants scope of the operation timer that each operation is corresponding respectively has common factor, if having, then puts into same scheduling queue by there is the operation timer occured simultaneously and described scheduling queue is sent to described scheduler module;
Described scheduler module, during for job scheduling, for each scheduling queue, according to the trigger instants the earliest of the operation timer that the existence obtained is occured simultaneously, carries out job scheduling.
8. an electricity intelligent control system, is characterized in that, comprises electricity control of intelligent terminal according to claim 7.
CN201410854295.9A 2014-12-31 2014-12-31 Intelligent electric quantity control method, terminal and system Expired - Fee Related CN104506740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410854295.9A CN104506740B (en) 2014-12-31 2014-12-31 Intelligent electric quantity control method, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410854295.9A CN104506740B (en) 2014-12-31 2014-12-31 Intelligent electric quantity control method, terminal and system

Publications (2)

Publication Number Publication Date
CN104506740A true CN104506740A (en) 2015-04-08
CN104506740B CN104506740B (en) 2017-01-18

Family

ID=52948455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410854295.9A Expired - Fee Related CN104506740B (en) 2014-12-31 2014-12-31 Intelligent electric quantity control method, terminal and system

Country Status (1)

Country Link
CN (1) CN104506740B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019174025A1 (en) * 2018-03-16 2019-09-19 华为技术有限公司 Wake-up management method, timer management method, and terminal device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143760A1 (en) * 2005-12-15 2007-06-21 International Business Machines Corporation Scheduling of computer jobs employing dynamically determined top job party
CN101610566A (en) * 2008-06-19 2009-12-23 财团法人工业技术研究院 Dynamically adjust the system and the method thereof of the dormant/waking time course of radio network device
CN102567086A (en) * 2010-12-30 2012-07-11 中国移动通信集团公司 Task scheduling method, equipment and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143760A1 (en) * 2005-12-15 2007-06-21 International Business Machines Corporation Scheduling of computer jobs employing dynamically determined top job party
CN101610566A (en) * 2008-06-19 2009-12-23 财团法人工业技术研究院 Dynamically adjust the system and the method thereof of the dormant/waking time course of radio network device
CN102567086A (en) * 2010-12-30 2012-07-11 中国移动通信集团公司 Task scheduling method, equipment and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019174025A1 (en) * 2018-03-16 2019-09-19 华为技术有限公司 Wake-up management method, timer management method, and terminal device
CN111226186A (en) * 2018-03-16 2020-06-02 华为技术有限公司 Wake-up management method, timer management method and terminal equipment
CN111226186B (en) * 2018-03-16 2021-08-03 华为技术有限公司 Wake-up management method, timer management method and terminal equipment
US11395226B2 (en) 2018-03-16 2022-07-19 Huawei Technologies Co., Ltd. Wake-up management method, timer management method, and terminal device

Also Published As

Publication number Publication date
CN104506740B (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN103310763B (en) Method, device and a kind of equipment that a kind of mobile device show state switches
CN102307262B (en) Method for controlling mobile phone alarm clock
EP2574017A2 (en) Alarm method and device
CN103199311A (en) Battery power saving method and battery power saving apparatus for portable electronic product, and mobile terminal
CN103593039A (en) Electricity saving control method and electricity saving control device
CN103501390B (en) Mobile terminal with reminding function and reminding realization method thereof
CN105959464A (en) Method and device for prompting signal intensity of terminal
CN102221873A (en) Backlight control method and system and mobile terminal
CN102006356A (en) Method for detecting state of cell phone pocket by using Android operating system
CN106095288A (en) A kind of based on the treating method and apparatus waking up lock up
CN102523344A (en) Electric quantity prompting method and device of mobile terminal
CN104902048A (en) Control system and control method based on mobile phone intelligent protection shell
CN103442148A (en) Intelligent power-saving system and intelligent power-saving method for mobile terminals
CN103582086A (en) Device and method for saving power of mobile terminal
CN103064590A (en) Control method and system for closing running programs of mobile terminal
CN106547335A (en) Energy consumption reduces method and mobile terminal
CN202634538U (en) Energy-saving mobile communication terminal
CN206894964U (en) A kind of intelligent desk lamp
CN103200313A (en) Method of converting between normal mode and specific mode of handheld equipment and handheld equipment
CN104503276A (en) Intelligent power utilization method, device and terminal
CN104158950A (en) Smart phone provided with smart system and power saving system, and switching method
CN105282275A (en) Mobile phone with breathing lamp reminding function
CN109963395A (en) A kind of control device
CN103338312A (en) Intelligent handset sleeping energy-saving system and method
CN104184884A (en) Device and method for managing and controlling power consumption of mobile terminal and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170118

Termination date: 20181231

CF01 Termination of patent right due to non-payment of annual fee