访问【WRITE-bug数字空间]_[完整的源代码和文档]
摘要目前,物理实验室专业教室的使用非常混乱。为了改变这种情况,我们提出并设计了一个专业的教室桌面控制系统。该系统主要由客户端和服务端组成。客户端可分为门禁机、通信机、桌面机和读卡机四部分。门禁机负责控制门禁和座位分配;通信机负责传输服务器与桌面机之间的信息;桌面机负责控制桌面电源的通断;读卡机负责获取学生卡号并传输给服务器。服务器分为消息响应程序和后台管理软件两部分。Socket在服务端打开信息响应程序进行信息监控,处理不同类型的信息,并返回相应的结果。后台管理软件提供五个功能:教室管理、课程管理、使用记录查询、临时开放和卡号登记。管理员可以通过后台管理软件查询和更新系统数据,使系统能够顺利运行。在这个专业教室桌面控制系统的帮助下,可以有效地改变专业教室混乱的现状。
关键词:嵌入式开发;教室管理;读卡器;服务器;后台管理软件;
AbstractUsage 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;