本文製作Android網際監控,製作兩種局部控制器其一為Android控制器,另一為Puppy Linux控制器,將兩個控制器連線至網際監控平台。監控平台包含監控伺服器、連接到監控伺服器的簡訊發送裝置、多個局部控制器、網頁上的監控程式。中央監控伺服器是一網頁伺服器,提供物連網M2M介面,供眾多局部控制器與伺服器之間的資料傳輸,資料傳輸架構在Http協定上,可通過一般的防火牆。 本研究以Android控制器為主要研究對象,Puppy Linux控制器作為對照組,選用一種可共用的輸入輸出資料擷取模組,並設計Android平台上的控制程式,及Puppy Linux控制器上的控制程式,形成兩種不同的控制器。Android裝置透過無線AP以Wi-Fi連上網際網路與中央監控伺服器連結,而Puppy Linux控制器則透過實體網路線經由集線器連線至網際網路將資料傳送至中央監控伺服器,兩者皆使用TCP Modbus協定讀寫輸入輸出資料擷取模組,執行控制程式,將輸入輸出資料以M2M協定,上傳到監控伺服器。 在本研究中對污水處理過程中的污水水位監控,以測試Android控制器是否能與Puppy Linux控制器達到相同的效果。並探討Android網際監控的可行性。
This dissertation is about the Internet monitoring based on Android device. Two kind of local controllers, one is the Android controller and another is the Puppy Linux controller, were connected to an Internet monitoring platform. The monitoring platform contains a monitoring server, a SMS device, multiple local controllers, and a monitoring program on a Web page. The central monitoring server is a web server, providing m2m networking interface for local controllers. The m2m protocol is based on the HTTP protocol which can pass through general firewalls. This research takes Android controller as the main object of study, Puppy Linux controller as the comparison group. Common data acquisition modules are used for those controllers. Control programs are designed in Java for Android controller and Puppy Linux controller respectively. Android controller uses wireless Wi-Fi AP to connect to the Internet to communicate with the central monitoring server, while Puppy Linux controller uses wired network cable via the hub to connect to the Internet and transfer data to the monitoring server. They both use Modbus TCP protocol to read and write data acquisition modules, execute control law, upload input/output data to the monitoring server with the specific m2m protocol. In this research, sewage water level monitoring is used to test whether the Android controller could achieve the same effect of Puppy Linux controller. And explore the feasibility of Android Internet monitoring.