研究生: |
王靜川 Wang, Ching-Chuan |
---|---|
論文名稱: |
用於手機電池容量監控與人員管理之Android APP軟體的開發 Android Based APP Software Development for Phone’s Battery Capacity Monitoring and Personnel Management |
指導教授: |
李建興
Lee, Chien-Hsing |
學位類別: |
碩士 Master |
系所名稱: |
工學院 - 系統及船舶機電工程學系 Department of Systems and Naval Mechatronic Engineering |
論文出版年: | 2019 |
畢業學年度: | 107 |
語文別: | 中文 |
論文頁數: | 140 |
中文關鍵詞: | 手機電池 、電力監控 、Android |
外文關鍵詞: | Smart phone battery, power monitoring, Android |
相關次數: | 點閱:81 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
由於資訊科技的進步,人手一台智慧型手機,無時無刻都在用電,當人數眾多,用電量相當可觀。但吾人發覺,目前尚無針對手機用電量與充電量的監控平台被開發,因而想開發這樣的一套軟體。本研究以APP作為電量量測與數據發送的客戶端,再開發一個伺服器作為接收資料的伺服器端以進行資料的彙整。該軟體的應用情境為針對有需求進行節電與了解用電情況的團體或公司,用以提供管理者可藉由該平台來了解所屬員工手機的充電量與用電量之情形。同時,吾人整合人事管理與電力監控兩功能,用以形成一套既可監控電量,又可替代傳統的打卡機或簽到表的電子化人事管理平台。
於客戶端,吾人使用Android SDK(Software Development Kit, SDK)用以開發Android系統的APP,並使用Google service location API(Application Programming Interface)來獲取網路定位與Google Map API作為地圖導引以達成打卡功能。而電力監控部分則以Android系統的Broadcast機制來獲取電量與電池相關數據。於上班期間,APP每小時會發送驗證數據至伺服器,用以確認APP是否被正常使用或有無被強制關閉。同時亦使用AdMob SDK引入Banner與Rewarded兩種廣告用以插入至APP。於伺服器端,吾人以Python進行開發,引入MySQL作為儲存帳戶的資料庫,並將人事管理資料與電力監控資料以Excel檔案輸出至電腦硬碟並儲存,再開發一個電量統計視窗與管理者APP,讓管理者可輕鬆調閱每個帳號當日之用電量與充電量。在伺服器端與客戶端APP間的資料傳輸,則藉由Socket抽象層來完成。綜言之,吾人完成可針對手機用電量及充電量進行監控的功能,並整合人員管理模組與帳戶模組,用以形成一套具有創新性的軟體。
Due to the advancement of information technology, there already have been literature on the application of information technology to electricity. And with the development of information technology, smart phones are quite popular. Smart phones are using electricity all the time. When the number is large, the power consumption is considerable. However, we have found that monitoring platform for mobile phone discharge and charge is not yet available, and we wish to develop such software.
In the data measurement part of the charging and discharging of mobile phones, if additional hardware is added to achieve this function, its convenience and practicability are less than ideal. Therefore, we want to use the APP as a client side for charging and discharging measurement and data transmission, and then develop a server as the server side for receiving data for data collection. The application situation of the software is for groups or companies that need to save power and understand power usage. The software can provide the administrator to use the monitoring platform to understand the power usage of the employee's mobile phone during work. In order to increase the appeal of this software, we integrate the related functions of personnel management and power monitoring functions, setting up an electronic personnel management platform that can monitor the power use of mobile phones and replace traditional working punch card machine, Check-in form, and so on.
On the client side, we used the Android SDK to develop the Android app and used the Google service location API to get the network location and the Google map API as a map guide to achieve the working punch function. The power monitoring part uses the Broadcast mechanism in Android development to obtain battery related data. During the work, the hourly APP will send verification data to the server to confirm that the APP is working normally without forced shutdown. The AdMob SDK is used to insert both Banner and Rewarded ad formats to the app. On the server side, we developed in Python and used MySQL as the database management system for the account database. The Excel API is designed in Python to export the personnel management data and power monitoring data to the computer hard disk and store it in Excel file. Because the original data of power monitoring is not easy to be observed, we developed a window of capacity of charge and discharge statistics function and manager APP to allow administrators to easily access the capacity of charge and discharge of mobile phones on each account. Data transmission between the server side and the client side is done by Socket programming. Therefore, this study completed a function that can monitor the capacity of charge and discharge of mobile phones, and integrated the personnel management function and account function to form a complete and innovative software.
[1]D. Lestari, I. D. Wahyono and I. Fadlika, "IoT based electrical energy consumption monitoring system prototype: case study in G4 building universitas negeri malang," 2017 International Conference on Sustainable Information Engineering and Technology (SIET), Malang, India, pp. 342-347, November 24-25, 2017.
[2]X. Xiaohui, Z. Peng, S. Jiafeng, Y. Longyu and Y. Shaohua, "Research on new monitoring system for important power users in smart distribution network," International Conference on Renewable Power Generation (RPG 2015), Beijing, China, pp. 1-4, October 17-18, 2015.
[3]M. Lee, J. Lee, I. Lee, J. Lee and A. Chon, "Wireless battery management system," 2013 World Electric Vehicle Symposium and Exhibition (EVS27), Barcelona, Spain, pp. 1-5, November 17-20, 2013.
[4]A. Adhikaree, T. Kim, J. Vagdoda, A. Ochoa, P. J. Hernandez and Y. Lee, "Cloud-based battery condition monitoring platform for large-scale lithium-ion battery energy storage systems using internet-of-things (IoT)," 2017 IEEE Energy Conversion Congress and Exposition (ECCE), Cincinnati, OH, USA, pp. 1004-1009, October 1-5, 2017.
[5]蔡柏祥,”智能插座系統與智能插座裝置”,專利公報,中華民國105年8月21日。
[6]陳蘊行,”具前後端與行動裝置整合之聯網智慧插座的實現”,國立成功大學系統及船舶機電工程學系碩士論文,中華民國107年9月。
[7]Z. Yong and L. Yan, "ZigBee wireless intelligent socket design," 2014 IEEE International Conference on Control Science and Systems Engineering, Yantai, China, pp. 158-161, December 29-30, 2014.
[8]Y. Tong and Z. Li, "Design of Intelligent Socket Based on WiFi," 2017 4th International Conference on Information Science and Control Engineering (ICISCE), Changsha, Taiwan, pp. 952-955, July 21-23, 2017.
[9]金山電池醫生, (Date of retrieval: May 29, 2019):
https://www.cmcm.com/en-us/battery-doctor/
[10]趙文慧,”基于Android手機的電池管理軟件的設計與開發”,哈爾濱工業大學,碩士論文,2013年12月。
[11]R. L. R. Maata, R. Cordova, B. Sudramurthy and A. Halibas, "Design and Implementation of Client-Server Based Application Using Socket Programming in a Distributed Computing Environment," IEEE International Conference on Computational Intelligence and Computing Research (ICCIC), Coimbatore, India, pp. 1-4, December 14-16, 2017.
[12]施威銘研究室,”資料庫理論與實務”,旗標出版股份有限公司,2011年2月25日出版。
[13]SQL語法教學, (Date of retrieval: May 29, 2019):
https://www.1keydata.com/tw/sql/sql.html
[14]Android系統佔比市場調查, (Date of retrieval: May 29, 2019):
https://3c.ltn.com.tw/news/33067
[15]Android SDK, (Date of retrieval: May 29, 2019):
https://developer.android.com/studio/
[16]陳會安,”Java SE8與Android 7.X程式設計範例教本”,碁峰資訊股份有限公司,2017年6月2日出版。
[17]Gasolin,”Google! Android手機應用程式設計入門地5版”,松崗數位文創股份有限公司,2013年5月23日出版。
[18]Android Developer Documentation of Activity-lifecycle, (Date of retrieval: May 29, 2019):
https://developer.android.com/guide/components/activities/activity-lifecycle
[19]Android Developer Documentation of Service, (Date of retrieval: May 29, 2019):
https://developer.android.com/guide/components/services
[20]E. Ahmadoh and L. A. Tawalbeh, "Power consumption experimental analysis in smart phones," Third International Conference on Fog and Mobile Edge Computing (FMEC), Barcelona, Spain, pp. 295-299, April 23-26, 2018.
[21]M. N. Riaz, "Energy consumption in hand-held mobile communication devices: A comparative study," 2018 International Conference on Computing, Mathematics and Engineering Technologies (iCoMET), Sukkur, Pakistan, pp. 1-5, March 3-4, 2018.
[22]S. Patel, "Behavioural study of memory allocators for Android platform," IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia), Bangalore, India, pp. 52-55, October 5-7, 2017.
[23]Android Developer Documentation of BroadcastReceiver, (Date of retrieval: May 29, 2019):
https://developer.android.com/reference/android/content/BroadcastReceiver
[24]I. Park and J. Kwak, "Permission management method for before and after applications the update in android-based IoT platform environment," International Conference on Platform Technology and Service (PlatCon), Jeju, Korea, pp. 1-6, January 29-31, 2018.
[25]Google Developer Documentation of Google API client, (Date of retrieval: May 29, 2019):
https://developers.google.com/android/guides/google-api-client
[26]Google map SDK for Android, (Date of retrieval: May 29, 2019):
https://developers.google.com/maps/documentation/android-sdk/intro
[27]W. Raj Amal,”Google地圖與 Android應用程式開發”,博碩文化股份有限公司,2016年5月29日出版。
[28]Android Developer Documentation of fragment, (Date of retrieval: May 29, 2019):
https://developer.android.com/guide/components/fragments
[29]AdMob SDK for android, (Date of retrieval: May 29, 2019):
https://developers.google.com/admob/android/quick-start
[30]廖雪峰的Python教學官方網站, (Date of retrieval: May 29, 2019):
https://www.liaoxuefeng.com/
[31]MySQL, (Date of retrieval: May 29, 2019):
https://www.mysql.com/cn/
[32]洪銓汎,”結合Beacon之串流播放清單整合管理系統設計與實作”,國立成功大學電腦與通信研究所碩士論文,中華民國107年7月。
[33]Android版本統計, (Date of retrieval: May 29, 2019):
https://developer.android.com/about/dashboards/index.html