摘 要:探讨了基于Socket 的空调远程控制系统设计和实现,介绍了系统设计的总体方案,并在Delphi 编程环境下实现了基于局域网的控制系统。该系统由服务器及客户端组成,服务器负责下达指令,客户端接收指令,采集空调机组的运行数据上报给服务器。服务器与客户端之间采用Socket 进行远程通信。实验证明,该系统能有效地实现一对多的实时控制。
关键词:Socket;Delphi;空调;远程控制
DOI:10.19850/j.cnki.2096-4706.2021.20.006
中图分类号:TP311 文献标识码:A 文章编号:2096-4706(2021)20-0024-04
Design of Air Conditioner Remote Control System Based on Socket
XU Li
(Nanjing Tica Climate Solutions Co.,Ltd., Nanjing 210046, China)
Abstract: This paper discusses the design and implementation of air conditioner remote control system based on Socket, introduces the overall scheme of system design, and realizes the control system based on LAN in Delphi programming environment. The system consists of a server and some clients. The server is responsible for issuing instructions. The clients receive instructions, collect the operation data of the air conditioning unit and report them to the server. Socket is used for remote communication between server and clients.Experiments show that the system can realize one-to-many real-time control effectively.
Keywords: Socket; Delphi; air conditioner; remote control
参考文献:
[1] 杨长春.Delphi 程序设计教程 [M]. 北京:清华大学出版社,2016
[2] 李洪彪,廖玲俐,王万胜,等. 基于Socket 的远程无线监控系统设计及应用 [J]. 自动化与仪器仪表,2009(3):19-21.
[3] 张允刚,刘常春,刘伟,等. 基于Socket 和多线程的远程监控系统 [J]. 控制工程,2006(2):175-177.
[4] 王艳君,朱绵庆,孙彦彦. 基于Delphi 的远程监控系统的开发与实现 [J]. 福建电脑,2008(2):124-125.
[5] 李龙光,何伊斐.TCP/IP 协议的安全性浅析 [J]. 江西广播电视大学学报,2011,50(2):75-78.
作者简介:许丽(1984—),女,汉族,江苏句容人,工程师,硕士研究生,研究方向:空调控制系统。