基于Arduino和Java實現(xiàn)的教室桌面控制系統(tǒng)
訪問【W(wǎng)RITE-BUG數(shù)字空間】_[內(nèi)附完整源碼和文檔]
摘要
物理實驗室類的專業(yè)教室目前使用狀況十分混亂,為了改變這一現(xiàn)狀,我們提出并設計了一個專業(yè)教室桌面控制系統(tǒng)。這個系統(tǒng)主要由客戶端和服務端兩大部分構(gòu)成。客戶端又可以分為門禁機、通信機、桌面機和讀卡機四部分。門禁機負責控制門禁和分配座位;通信機負責中轉(zhuǎn)服務器和桌面機之間的消息;桌面機負責控制桌面電源的通斷;而讀卡機則負責獲取學生卡號并傳遞給服務器。服務端分為消息響應程序和后臺管理軟件兩個部分。消息響應程序開啟Socket在服務端進行消息監(jiān)聽,處理不同類型的消息并返回相應的結(jié)果。而后臺管理軟件則提供教室管理、課程管理、使用記錄查詢、臨時開放和卡號登記五大功能。管理員可以通過后臺管理軟件對系統(tǒng)的數(shù)據(jù)進行查詢和更新,讓系統(tǒng)可以順利運行。在這個專業(yè)教室桌面控制系統(tǒng)的幫助下,可以有效地改變目前專業(yè)教室混亂的使用現(xiàn)狀。
關鍵詞:嵌入式開發(fā);教室管理;讀卡器;服務器;后臺管理軟件;
Abstract
Usage oflaboratories like physical laboratory is in chaos today. In order to change the condition, we desined a desktop control system for theselaboratories. This system con- sists of clients andserver two parts. Clients have four small systems, called entrance guard system, communication system, desktop system and card reading system.Entrance guard system is designed to control the door and assignseats to students. Communication system id designedto pass socket messages between server and desktop systems. Desktop system is designed to control the power of each seat. And card reading system isdesigned to get the card number which is need by server. Server also has twoparts. One called message deal promgram, whichlistens on port 4321 to handle different socket messages. Another called server management platform, providing classroom manage, lecturemanage, usage search, temp open and card binding five function, isdesigned for manager to search and update data for system.With this system, laboratories will no longer be in chaos.
Keywords: Arduino;Laboratory Management; RFID; Socket; Management Platform;



