基于客户/服务器模式的远程控制系统.pdf
文本预览下载声明
维普资讯
第25卷 第5期 计算机工程与设计 2004年5月
VO1.25 NO.5 COMPUTERENGINEERING AND DESIGN May.2004
文章编号:1000.7024(2004)05.0796.04 中圈分类号:TP31 文献标识码:A
基于客户 艮务器模式的远程控制系统
朱晓蕾, 余达太, 副、昌国, 颜 静
(北京科技大学,北京 100083)
摘 要:随着计算机和远程通讯为代表的信息技术的飞速发展和广泛应用,使远程监控、远程教育、远程贸易
和服务成为可能。提 出了一种基于客户/服务器模式的交流伺服控制器的远程监控系统,阐述 了其体系结构及各
部分功能,并开发 了基于TCP/IP协议 的远程通信实用程序 。
关键词:远程控制;TCP/IP;客户/服务器
Remotecontrolsystem basedonclient/serveranddevelopmentofsoftware
ZHU Xiao-lei, YU Da—tai, SUNChang-guo, YAN Jing
(UniversityofScienceandTechnologyBeijing,Beijing100083,China)
Abstract:Withthequickdevelopmentandextensiveapplicationofmoderninformationtechn oloyg ,remotemonitoringandcon-
trol,remoteeducation,remotetradesandservicesbecomerealizable. InordertomeetthedevelopmentsandrequiremeDts, a
remotemonitoringandcontrolsystem ofalternatingservocontrollerbasedonclient/serverarchitecturewasconfirmedanddeve-
loped,whoserachitectureanditsfunctionswerewellclarified.Also,allapplicationprogramwasdevelopedwiht thefoundation
ofTCP/IPprotoco1.Itisprovedbyexperimentsthatthissystem canworkrealtimeontheremotemonitoringandconrtoloveral-
ternatingservoconrtollerreliablyandaccurately.
Keywords:remoteconrtol;TCP/IPprotocol;client/serverwinsock
整 电机的动作 。它 以常用的TCP/IP协议为网络基础,采
1 引 言
用Client/Server的工作模式。系统框 图如图l所示 。
在互连网上,人们可 以利用网络来交换邮件,讨论 问
题,阅读,协作,甚至游戏 。今天,人们也希望通过网络从
异地甚至遥远的地方来掌握家中工控产品的状态或对其
进行某种操作,即实现远程控制 。因此,开发一套能够实
现在远端 PC机上对本地 电机进行监视和控制的系统即
应用交流伺服控制器的远程控制系统无论是在经济上还
是在技术上,都有积极的现实意义。针对这一情况,本文
提出了一种如何建立交流伺服控制器的远程控制系统的 图 1 系统框 图
设想,即生产加工的操作者与被操作对象在物理上进行
显示全部