CN102929383A - Method for reducing embedded system power consumption through central processing unit (CPU) dynamic frequency modulation technology - Google Patents

Method for reducing embedded system power consumption through central processing unit (CPU) dynamic frequency modulation technology Download PDF

Info

Publication number
CN102929383A
CN102929383A CN2012104372786A CN201210437278A CN102929383A CN 102929383 A CN102929383 A CN 102929383A CN 2012104372786 A CN2012104372786 A CN 2012104372786A CN 201210437278 A CN201210437278 A CN 201210437278A CN 102929383 A CN102929383 A CN 102929383A
Authority
CN
China
Prior art keywords
cpu
thread
frequency
embedded system
touch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012104372786A
Other languages
Chinese (zh)
Inventor
袁东风
孙志猛
张海霞
徐加利
王成成
李宗璋
翟庆羽
孙文
王君君
于莉
王宏宾
马翠云
冯骁
朱丽娜
段秋丹
杨千里
纪洪亮
徐伟涛
杨刚震
王镜伟
林慧琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong University
Original Assignee
Shandong University
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 Shandong University filed Critical Shandong University
Priority to CN2012104372786A priority Critical patent/CN102929383A/en
Publication of CN102929383A publication Critical patent/CN102929383A/en
Pending legal-status Critical Current

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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method for reducing embedded system power consumption through a central processing unit (CPU) dynamic frequency modulation technology and belongs to the technical field of electronic information. The method includes acquiring CPU occupation ratio of each thread and running frequency of a present CPU, detecting whether touch screen TOUCH incidents exist or not, calculating the CPU frequency which requires dynamic adjustment and the CPU occupation ratio of each thread according to the existence of the touch screen TOUCH incidents, and setting corresponding CPU frequency values according to the CPU frequency and the CPU occupation ratio of each thread. According to the method for reducing the embedded system power consumption through the CPU dynamic frequency modulation technology, whether the touch screen TOUCH incidents exist or not is detected on the embedded system which is limited in resource, an application layer and a driving layer of the embedded system are combined to dynamically adjust the running frequency of the CPU, the CPU frequency value can be adjusted under different circumstances, the user experience is improved, the embedded system power consumption is reduced, and the energy conservation of the CPU is achieved.

Description

A kind of method that reduces power consumption of embedded system by the CPU dynamic frequency modulation technology
Technical field
The present invention relates to a kind of method that reduces power consumption of embedded system by the CPU dynamic frequency modulation technology, belong to electronic information technical field.
Background technology
China's fast economic growth, every construction obtains great achievement, but has also paid the destroyed cost of huge resources and environment, and the contradiction between the two is increasingly sharp-pointed, masses' environmental pollution problem strong reaction.This situation and irrationality of the economic structure, extensive pattern of economic growth are directly related.Do not accelerate to adjust economic structure, change growth pattern, resource fork is unable to hold out, and environment can hold any more, and society holds and dares not accept, and economic development is hard to carry on.Only adhere to saving development, cleaning development, security developments, could realize sound and rapid economic growth.Simultaneously, greenhouse gas emission causes global warming, enjoys international community's extensive concern.Further strengthen energy-saving and emission-reduction work, also be the reply Global climate change in the urgent need to.
Embedded system is a kind of " embedding controlled device inside fully, the dedicated computer system that designs for application-specific ", and it carries out predefined task with particular requirement by limited hardware resource.Because embedded system is only for a special task, the designer can be optimized it, reduces size and reduces cost.
With the embedded system of touch-screen, touch screen reaction velocity and have a strong impact on the user with the user interactions degree and experience degree when the user operates touch screen.The good embedded system with touch-screen can be followed user's operation in time, delicately user's operation is provided reaction.The embedded system with touch-screen that exists now, when the user operates touch-screen, the situation that system can not closely follow user's gesture operation appears in meeting more or less, serious meeting causes system the situations such as stuck, slack-off to occur, and the existence of these situations is having a strong impact on the user to the experience of system.
The protection point of this patent is on the embedded system of resource-constrained; by detecting whether touch-screen TOUCH event is arranged; dynamically adjusted the running frequency of CPU by the application layer of embedded system and the combination that drives layer, raising user experience, and then reduced the power consumption of embedded system.Denomination of invention is that " method and apparatus that a kind of CPU of realization is energy-conservation ", the patent No. are that the artificial ancient loyal patent magnificent, Li Li of CN102004543A, invention discloses the energy-conservation method of a kind of CPU of realization, the method has just proposed a kind of cpu frequency control method of the application of cpu resource being redistributed cpu resource by program, does not relate to the problem of coming alternately elevator system performance, raising user to experience with user's touch operation.
Summary of the invention
For defective and the deficiency that overcomes prior art, the invention provides a kind of method that reduces power consumption of embedded system by the CPU dynamic frequency modulation technology, can under different sights, regulate the cpu frequency value, energy-conservation to realize CPU's.
Technical scheme of the present invention realizes in the following way.
A kind of method that reduces power consumption of embedded system by the CPU dynamic frequency modulation technology, be combined to realize with the system drive layer by system bottom software, the bottom software host process comprises four from the frequency of thread: cpufrequencer-monitoring cpu and the cpu frequency use condition of each thread, cpucalculator-calculating needs the cpu frequency values of adjustment and the cpu frequency apportioning cost of each thread, the frequency values that cpucontroller-calculates by cpucalculator is that cpu arranges corresponding frequencies and for each thread arranges the corresponding frequencies value, whether the cpulistener-monitoring has the touch-screen action; Cpufrequencer inside comprises a timer timer1, and whether the every 100ms monitoring of timer1 once has the touch-screen action; Cpulistener inside comprises a timer timer2, and whether the every 100ms monitoring of timer2 once has the touch-screen action; The method step is as follows:
1) cpufrequencer monitors cpu operating position and the cpu currency of each thread;
2) in view of the embedded system resource-constrained, experience for improving the user, if the touch-screen action is arranged, namely be set to full frequency running by cpucontroller cpu frequency values, monitor the ruuning situation of other thread by cpufrequencer;
3) in the situation that other thread work is constant, main thread keeps original running thread cpu frequency values constant, will be full frequently running with the thread set of frequency of touch screen interaction by cpucontroller;
4) if other thread work has change, monitor the cpu frequency values of each thread request by cpufrequencer, in the normal situation of thread frequency apportioning cost of preferential assurance and touch screen interaction, be the frequency values that all the other threads distribute respective request;
5) if any frequency residue, main thread is all distributed to thread with touch screen interaction with residual frequency;
6) utilize fully such as frequency, main thread does not carry out subsequent operation;
7) such as frequency values overfrequency value, calculate each thread request cpu frequency values of residue by cpucalculator, the thread priority that provides according to cpulister preferentially guarantees the thread priority task that priority is high, if priority is identical, then do not distribute to each thread according to there being before the touch screen operation ratio to the cpu frequency use amount will remain the cpu frequency value.
Whether the present invention according to having touch-screen TOUCH event to determine the CPU occupation rate of each thread and the frequency values of CPU, and then dynamically adjust, thereby reduce power consumption of embedded system.
The protection point of this patent is on the embedded system of resource-constrained; by detecting whether touch-screen TOUCH event is arranged; the running frequency of CPU is dynamically adjusted in application layer by embedded system and the combination that drives layer, raising user experience, and then reduced the power consumption of embedded system.
Embodiment
Below in conjunction with embodiment the present invention is described further.
Embodiment:
A kind of method that reduces power consumption of embedded system by the CPU dynamic frequency modulation technology, be combined to realize with the system drive layer by system bottom software, the bottom software host process comprises four from the frequency of thread: cpufrequencer-monitoring cpu and the cpu frequency use condition of each thread, cpucalculator-calculating needs the cpu frequency values of adjustment and the cpu frequency apportioning cost of each thread, the frequency values that cpucontroller-calculates by cpucalculator is that cpu arranges corresponding frequencies and for each thread arranges the corresponding frequencies value, whether the cpulistener-monitoring has the touch-screen action; Cpufrequencer inside comprises a timer timer1, and whether the every 100ms monitoring of timer1 once has the touch-screen action; Cpulistener inside comprises a timer timer2, and whether the every 100ms monitoring of timer2 once has the touch-screen action; The method step is as follows:
1) cpufrequencer monitors cpu operating position and the cpu currency of each thread;
2) in view of the embedded system resource-constrained, experience for improving the user, if the touch-screen action is arranged, namely be set to full frequency running by cpucontroller cpu frequency values, monitor the ruuning situation of other thread by cpufrequencer;
3) in the situation that other thread work is constant, main thread keeps original running thread cpu frequency values constant, will be full frequently running with the thread set of frequency of touch screen interaction by cpucontroller;
4) if other thread work has change, monitor the cpu frequency values of each thread request by cpufrequencer, in the normal situation of thread frequency apportioning cost of preferential assurance and touch screen interaction, be the frequency values that all the other threads distribute respective request;
5) if any frequency residue, main thread is all distributed to thread with touch screen interaction with residual frequency;
6) utilize fully such as frequency, main thread does not carry out subsequent operation;
7) such as frequency values overfrequency value, calculate each thread request cpu frequency values of residue by cpucalculator, the thread priority that provides according to cpulister preferentially guarantees the thread priority task that priority is high, if priority is identical, then do not distribute to each thread according to there being before the touch screen operation ratio to the cpu frequency use amount will remain the cpu frequency value.

Claims (1)

1. one kind is passed through the method that the CPU dynamic frequency modulation technology reduces power consumption of embedded system, be combined to realize with the system drive layer by system bottom software, the bottom software host process comprises five from the frequency of thread: cpufrequencer-monitoring cpu and the cpu frequency use condition of each thread, cpucalculator-calculating needs the cpu frequency values of adjustment and the cpu frequency apportioning cost of each thread, the frequency values that cpucontroller-calculates by cpucalculator is that cpu arranges corresponding frequencies and for each thread arranges the corresponding frequencies value, whether the cpulistener-monitoring has the touch-screen action; Cpulister monitors each thread working order, determines thread priority by internal system mechanism; Cpufrequencer inside comprises a timer timer1, and whether the every 100ms monitoring of timer1 once has the touch-screen action; Cpulistener inside comprises a timer timer2, and whether the every 100ms monitoring of timer2 once has the touch-screen action; The method step is as follows:
1) cpufrequencer monitors cpu operating position and the cpu currency of each thread;
2) in view of the embedded system resource-constrained, experience for improving the user, if the touch-screen action is arranged, namely be set to full frequency running by cpucontroller cpu frequency values, monitor the ruuning situation of other thread by cpufrequencer;
3) in the situation that other thread work is constant, main thread keeps original running thread cpu frequency values constant, will be full frequently running with the thread set of frequency of touch screen interaction by cpucontroller;
4) if other thread work has change, monitor the cpu frequency values of each thread request by cpufrequencer, in the normal situation of thread frequency apportioning cost of preferential assurance and touch screen interaction, be the frequency values that all the other threads distribute respective request;
5) if any frequency residue, main thread is all distributed to thread with touch screen interaction with residual frequency;
6) utilize fully such as frequency, main thread does not carry out subsequent operation;
7) such as frequency values overfrequency value, calculate each thread request cpu frequency values of residue by cpucalculator, the thread priority that provides according to cpulister preferentially guarantees the thread priority task that priority is high, if priority is identical, then do not distribute to each thread according to there being before the touch screen operation ratio to the cpu frequency use amount will remain the cpu frequency value.
CN2012104372786A 2012-11-06 2012-11-06 Method for reducing embedded system power consumption through central processing unit (CPU) dynamic frequency modulation technology Pending CN102929383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104372786A CN102929383A (en) 2012-11-06 2012-11-06 Method for reducing embedded system power consumption through central processing unit (CPU) dynamic frequency modulation technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104372786A CN102929383A (en) 2012-11-06 2012-11-06 Method for reducing embedded system power consumption through central processing unit (CPU) dynamic frequency modulation technology

Publications (1)

Publication Number Publication Date
CN102929383A true CN102929383A (en) 2013-02-13

Family

ID=47644208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104372786A Pending CN102929383A (en) 2012-11-06 2012-11-06 Method for reducing embedded system power consumption through central processing unit (CPU) dynamic frequency modulation technology

Country Status (1)

Country Link
CN (1) CN102929383A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475790A (en) * 2013-09-06 2013-12-25 中国科学院计算技术研究所 Intelligent mobile terminal power consumption management method
CN104423533A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Processor frequency control method and electronic equipment
CN104768208A (en) * 2015-03-17 2015-07-08 广东欧珀移动通信有限公司 Frequency modulation mode switching method and mobile terminal
WO2017206860A1 (en) * 2016-05-31 2017-12-07 广东欧珀移动通信有限公司 Processing method of mobile terminal and mobile terminal
CN109298774A (en) * 2018-09-30 2019-02-01 联想(北京)有限公司 A kind of method of adjustment and device
CN109960584A (en) * 2019-01-30 2019-07-02 努比亚技术有限公司 CPU frequency modulation control method, terminal and computer readable storage medium
US11573836B2 (en) 2020-05-28 2023-02-07 Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd. Resource scheduling method and apparatus, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050125700A1 (en) * 2003-12-05 2005-06-09 Chang Ruei-Chuan Windows-based power management method and related portable device
US20070143640A1 (en) * 2005-12-16 2007-06-21 Simeral Brad W Data path controller with integrated power management to manage power consumption of a computing device and its components
CN101387971A (en) * 2008-09-26 2009-03-18 中兴通讯股份有限公司 Task regulation method and apparatus for embedded software
GB2459968A (en) * 2008-05-16 2009-11-18 Intel Corp Using the number of times a processor has to wait for a response to determine an efficiency metric and an operational characteristic for the processor
CN101727261A (en) * 2008-10-17 2010-06-09 华硕电脑股份有限公司 Page operation method and electronic device
CN101777010A (en) * 2008-12-22 2010-07-14 英特尔公司 Adaptive power budget allocation between multiple components in a computing system
CN102004543A (en) * 2010-11-29 2011-04-06 华为技术有限公司 Method and device for realizing energy saving of CPU
CN102664742A (en) * 2012-04-28 2012-09-12 浪潮电子信息产业股份有限公司 Power dynamic management method based on embedded server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050125700A1 (en) * 2003-12-05 2005-06-09 Chang Ruei-Chuan Windows-based power management method and related portable device
US20070143640A1 (en) * 2005-12-16 2007-06-21 Simeral Brad W Data path controller with integrated power management to manage power consumption of a computing device and its components
GB2459968A (en) * 2008-05-16 2009-11-18 Intel Corp Using the number of times a processor has to wait for a response to determine an efficiency metric and an operational characteristic for the processor
CN101387971A (en) * 2008-09-26 2009-03-18 中兴通讯股份有限公司 Task regulation method and apparatus for embedded software
CN101727261A (en) * 2008-10-17 2010-06-09 华硕电脑股份有限公司 Page operation method and electronic device
CN101777010A (en) * 2008-12-22 2010-07-14 英特尔公司 Adaptive power budget allocation between multiple components in a computing system
CN102004543A (en) * 2010-11-29 2011-04-06 华为技术有限公司 Method and device for realizing energy saving of CPU
CN102664742A (en) * 2012-04-28 2012-09-12 浪潮电子信息产业股份有限公司 Power dynamic management method based on embedded server

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475790A (en) * 2013-09-06 2013-12-25 中国科学院计算技术研究所 Intelligent mobile terminal power consumption management method
CN103475790B (en) * 2013-09-06 2016-03-30 中国科学院计算技术研究所 A kind of intelligent mobile terminal power consumption management
CN104423533A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Processor frequency control method and electronic equipment
CN104423533B (en) * 2013-09-09 2017-06-27 联想(北京)有限公司 A kind of processor frequencies control method and electronic equipment
CN104768208A (en) * 2015-03-17 2015-07-08 广东欧珀移动通信有限公司 Frequency modulation mode switching method and mobile terminal
WO2017206860A1 (en) * 2016-05-31 2017-12-07 广东欧珀移动通信有限公司 Processing method of mobile terminal and mobile terminal
CN109298774A (en) * 2018-09-30 2019-02-01 联想(北京)有限公司 A kind of method of adjustment and device
CN109298774B (en) * 2018-09-30 2022-05-31 联想(北京)有限公司 Adjusting method and device
CN109960584A (en) * 2019-01-30 2019-07-02 努比亚技术有限公司 CPU frequency modulation control method, terminal and computer readable storage medium
US11573836B2 (en) 2020-05-28 2023-02-07 Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd. Resource scheduling method and apparatus, and storage medium

Similar Documents

Publication Publication Date Title
CN102929383A (en) Method for reducing embedded system power consumption through central processing unit (CPU) dynamic frequency modulation technology
CN102073545B (en) Process scheduling method and device for preventing screen jam of user interface in operating system
WO2013012914A3 (en) Dynamic control of an active input region of a user interface
WO2010037145A3 (en) Dynamic user interface for configuring and managing a process control system
CN102135850A (en) Handheld terminal equipment and automatic unlocking method thereof
CN107436700B (en) Data processing method and device
US20140157033A1 (en) Reducing power grid noise in a processor while minimizing performance loss
RU2011134180A (en) INFORMATION PROCESSING DEVICE, PROGRAM AND METHOD OF MANAGEMENT OF PERFORMANCE OF OPERATION
WO2013119195A1 (en) Multicore computer system with cache use based adaptive scheduling
CN103744604A (en) Information processing method and electronic device
CN103092551A (en) Method and device for adjusting display effect
CN109313478A (en) The wide job scheduling of sensory perceptual system is locked in the wake-up carried out on the mobile device for efficiency
CN103489429A (en) Method for adjusting brightness and electronic equipment
CN103869926B (en) A kind of method of power saving and electronic equipment
US8587521B2 (en) Scrolling inertia
CN103853571B (en) A kind of work state switching method and electronic equipment
CN102629231B (en) A kind of method of Detection task storehouse
WO2012151952A1 (en) Method, device, and communication terminal of responding to screen touch event
CN103092741A (en) Method of regularly reminding computer system of removing dust and device thereof
WO2019200927A1 (en) Writing speed control method and device
CN103677995A (en) Control method and electronic equipment
CN101710293B (en) Method and device for traversing files in USB storage device
CN104346095B (en) A kind of information processing method and electronic equipment
CN104460824B (en) The control system of the display of engineering machinery, method, device and engineering machinery
CN105320316A (en) Method and device for debouncing of touch screen and 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
C05 Deemed withdrawal (patent law before 1993)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130213