簡易檢索 / 詳目顯示

研究生: 羅尹聰
論文名稱: 透過隱馬可夫模型預測使用者行為進行在智慧型手機上的耗電量優化
Energy Optimization on Smartphone by Predicting User Behavior Using Hidden Markov Model
指導教授: 金仲達
口試委員: 曹孝礫
徐正炘
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Computer Science
論文出版年: 2012
畢業學年度: 100
語文別: 英文
論文頁數: 47
中文關鍵詞: 隱藏馬可夫模型耗電優化智慧型裝置使用者經驗使用者行為機器學習Google Android行動應用程式
外文關鍵詞: Energy Optimization, User Context, Google Android
相關次數: 點閱:1下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 行動裝置上的耗電量優化一直是熱門的研究領域,然而這部份的相關研究大多是專注於系統層面,且幾乎沒有將使用者與裝置間互動的行為,習慣與使用經驗上納入考量。背景程式的管理是一個值得探討的方向,因為持續運行於背景的應用程式將會造成電量的消耗,如此將會縮短裝置的使用時間並且導致不良的使用經驗。然而若僅是簡單的將所有使用者跳出的應用程式關閉,這樣造成的結果將與智慧型行動裝置的高互動體驗的特色相互違背。因此,我們必須透過了解使用者的行為才能適當的解決此問題。

    我們需要一套良好的機制來確保被保留的程式都是使用者很可能會使用的應用程式。這需要讓機器能夠學習並準確的預測裝置使用者接下來的使用行為,我們相信透過使用者的使用行為樣式以及其他相關的使用者資訊能夠達成此目標。

    在這篇論文中,我們提出一套透過使用者行為建模方式的機制,並且透過此機制來做背景程式的管理並達到智慧型裝置耗電量上的優化。


    Energy optimization has been a popular area of research in mobile computing device. However, most of the previous researches on energy optimization focus on the device itself and seldom consider the interaction of the user and the device, or take the user behavior pattern as well as user experience into account. One area where energy optimization can be exercised on mobile device is background applications. Applications running in background will consume energy, leading to shorter usage time and worse user experience. However, if we kill every application whenever it is put into background, the relaunch time will be very long once the user wants to switch back to that application. This also leads to bad user experience.

    Apparently, we need a good mechanism that keeps only those background applications that will be needed by user. This requires that user behavior in the next period time be modeled and predicted accurately. We believe accurate prediction can be made depends on the behavior patterns of the usage of the apps and other observable context variables.

    In this thesis, we introduce such a mechanism that manages background application for energy optimization by predicting user behavior through usage modeling.

    1 Introduction 8 2 Related Work 11 3 Power Model Generation and Online Estimation 13 3.1 Overview ................................. 13 3.2 Regression-Based Power Modeling.................... 14 3.3 Per-process Energy Estimation ...................... 15 3.4 Energy Expenditure Structure Model................... 16 4 Usage Behavior Modeling and Predicting 19 4.1 Overview ................................. 19 4.2 Introduction To Hidden Markov Model ................. 20 4.3 Usage Modeling of Application Using Hidden Markov Model . . . . . 22 4.4 Model-based Prediction of Application Usage . . . . . . . . . . . . . . 27 5 Implementation 29 5.1 Framework Overview........................... 29 5.2 AppSenseProfiler............................. 31 5.2.1 ModelConstructor........................ 32 5.2.2 DataLogger ........................... 32 5.2.3 PowerEstimator ......................... 33 5.2.4 PowerModel Training and Generation. . . . . . . . . . . . . . 33 5.3 AppSenseAnalyzer............................ 34 6 Experiment and Simulation Result 36 6.1 Overview ................................. 36 6.2 ExperimentEnvironment......................... 36 6.3 Correctness Validation of Power Model Generation . . . . . . . . . . . 37 6.4 Overhead Estimation for Online Power Estimation . . . . . . . . . . . 38 6.5 Simulation Procedure for Model-Based Energy Optimization . . . . . . 38 7 Conclusion and Future Work 42 Reference 43

    [1] Powertop , http://www.linuxpowertop.org/powertop.php.
    [2] L.E. Baum, T. Petrie, G. Soules, and N. Weiss. A maximization technique oc- curring in the statistical analysis of probabilistic functions of markov chains. The annals of mathematical statistics, 41(1):164–171, 1970.
    [3] W. L. Bircher, M. Valluri, J. Law, and L. K. John. Runtime identification of micro- processor energy saving opportunities. In Proceedings of the 2005 international symposium on Low power electronics and design, ISLPED ’05, pages 275–280, New York, NY, USA, 2005. ACM.
    [4] Huanhuan Cao, Daxin Jiang, Jian Pei, Enhong Chen, and Hang Li. Towards context-aware search by learning a very large variable length hidden markov model from search logs. In Proceedings of the 18th international conference on World wide web, WWW ’09, pages 191–200, New York, NY, USA, 2009. ACM.
    [5] Chen-Ling Chou and Radu Marculescu. Designing heterogeneous embedded network-on-chip platforms with users in mind. Trans. Comp.-Aided Des. Integ. Cir. Sys., 29(9):1301–1314, September 2010.
    [6] G. Contreras and M. Martonosi. Power prediction for intel xscaleR processors using performance monitoring unit events. In Low Power Electronics and Design, 2005. ISLPED’05. Proceedings of the 2005 International Symposium on, pages 221–226. IEEE, 2005.
    [7] Eduardo Cuervo, Aruna Balasubramanian, Dae-ki Cho, Alec Wolman, Stefan Saroiu, Ranveer Chandra, and Paramvir Bahl. Maui: making smartphones last longer with code offload. In Proceedings of the 8th international conference on Mobile systems, applications, and services, MobiSys ’10, pages 49–62, New York, NY, USA, 2010. ACM.
    [8] Gaurav Dhiman and Tajana Simunic Rosing. Dynamic power management using machine learning. In Proceedings of the 2006 IEEE/ACM international conference on Computer-aided design, ICCAD ’06, pages 747–754, New York, NY, USA, 2006. ACM.
    [9] Fahad R. Dogar, Peter Steenkiste, and Konstantina Papagiannaki. Catnap: ex- ploiting high bandwidth wireless interfaces to save energy for mobile devices. In Proceedings of the 8th international conference on Mobile systems, applications, and services, MobiSys ’10, pages 107–122, New York, NY, USA, 2010. ACM.
    [10] H.Falaki,R.Mahajan,S.Kandula,D.Lymberopoulos,R.Govindan,andD.Estrin. Diversity in smartphone usage. In Proceedings of the 8th international conference on Mobile systems, applications, and services, pages 179–194. ACM, 2010.
    [11] Jason Flinn and M. Satyanarayanan. Powerscope: A tool for profiling the energy usage of mobile applications. In Proceedings of the Second IEEE Workshop on Mobile Computer Systems and Applications, WMCSA ’99, pages 2–, Washington, DC, USA, 1999. IEEE Computer Society.
    [12] Pi-Cheng Hsiu, Chun-Han Lin, and Cheng-Kang Hsieh. Dynamic backlight scaling optimization for mobile streaming applications. In Proceedings of the 17th IEEE/ACM international symposium on Low-power electronics and design, ISLPED ’11, pages 309–314, Piscataway, NJ, USA, 2011. IEEE Press.
    [13] Y. Liang, P. Lai, and C. Chiou. An energy conservation dvfs algorithm for the android operating system. Journal of Convergence, 1(1), 2010.
    [14] Kaisen Lin, Aman Kansal, Dimitrios Lymberopoulos, and Feng Zhao. Energy- accuracy trade-off for continuous mobile device location. In Proceedings of the 8th international conference on Mobile systems, applications, and services, MobiSys ’10, pages 285–298, New York, NY, USA, 2010. ACM.
    [15] Justin Manweiler and Romit Roy Choudhury. Avoiding the rush hours: Wifi en- ergy management via traffic isolation. In Proceedings of the 9th international con- ference on Mobile systems, applications, and services, MobiSys ’11, pages 253– 266, New York, NY, USA, 2011. ACM.
    [16] K.P. Murphy. Dynamic bayesian networks: representation, inference and learn- ing. PhD thesis, University of California, 2002.
    [17] Jeongyeup Paek, Joongheon Kim, and Ramesh Govindan. Energy-efficient rate- adaptive gps-based positioning for smartphones. In Proceedings of the 8th inter- national conference on Mobile systems, applications, and services, MobiSys ’10, pages 299–314, New York, NY, USA, 2010. ACM.
    [18] L.R. Rabiner. A tutorial on hidden markov models and selected applications in speech recognition. Proceedings of the IEEE, 77(2):257–286, 1989.
    [19] U. Rathnayake and M. Ott. Predicting network availability using user context. In
    Proceedings of the 5th Annual International Conference on Mobile and Ubiquitous Systems: Computing, Networking, and Services, page 49. ICST (Institute for Com- puter Sciences, Social-Informatics and Telecommunications Engineering), 2008.
    [20] Arjun Roy, Stephen M. Rumble, Ryan Stutsman, Philip Levis, David Mazieres, and Nickolai Zeldovich. Energy management in mobile devices with the cinder operating system. In Proceedings of the sixth conference on Computer systems, EuroSys ’11, pages 139–152, New York, NY, USA, 2011. ACM.
    [21] Chiyoung Seo, Sam Malek, and Nenad Medvidovic. An energy consumption framework for distributed java-based systems. In Proceedings of the twenty- second IEEE/ACM international conference on Automated software engineering, ASE ’07, pages 421–424, New York, NY, USA, 2007. ACM.
    [22] A. Shye, B. Scholbrock, and G. Memik. Into the wild: studying real user activity patterns to guide power optimizations for mobile architectures. In Proceedings of the 42nd Annual IEEE/ACM International Symposium on Microarchitecture, pages 168–178. ACM, 2009.
    [23] Alex Shye, Berkin Ozisikyilmaz, Arindam Mallik, Gokhan Memik, Peter A. Dinda, Robert P. Dick, and Alok N. Choudhary. Learning and leveraging the rela- tionship between architecture-level measurements and individual user satisfaction. In Proceedings of the 35th Annual International Symposium on Computer Archi- tecture, ISCA ’08, pages 427–438, Washington, DC, USA, 2008. IEEE Computer Society.
    [24] Alex Shye, Yan Pan, Ben Scholbrock, J. Scott Miller, Gokhan Memik, Peter A. Dinda, and Robert P. Dick. Power to the people: Leveraging human physiological traits to control microprocessor frequency. In Proceedings of the 41st annual IEEE/ ACM International Symposium on Microarchitecture, MICRO 41, pages 188–199, Washington, DC, USA, 2008. IEEE Computer Society.
    [25] TK Tan, A. Raghunathan, and NK Jha. Embedded operating system energy anal- ysis and macro-modeling. In Computer Design: VLSI in Computers and Proces- sors, 2002. Proceedings. 2002 IEEE International Conference on, pages 515–522. IEEE, 2002.
    [26] Niraj Tolia, David G. Andersen, and M. Satyanarayanan. Quantifying interactive user experience on thin clients. Computer, 39(3):46–52, March 2006.
    [27] N. Vallina-Rodriguez and J. Crowcroft. Erdos: achieving energy savings in mobile os. Proceedings ACM MobiArch, 11, 2011.
    [28] C. Xian, L. Cai, and Y.H. Lu. Power measurement of software programs on com- puters with multiple i/o components. Instrumentation and Measurement, IEEE Transactions on, 56(5):2079–2086, 2007.
    [29] Lide Zhang, Birjodh Tiwana, Zhiyun Qian, Zhaoguang Wang, Robert P. Dick, Zhuoqing Morley Mao, and Lei Yang. Accurate online power estimation and au- tomatic battery behavior based power model generation for smartphones. In Pro- ceedings of the eighth IEEE/ACM/IFIP international conference on Hardware/ software codesign and system synthesis, CODES/ISSS ’10, pages 105–114, New York, NY, USA, 2010. ACM

    無法下載圖示 全文公開日期 本全文未授權公開 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)

    QR CODE