首页 | 本学科首页   官方微博 | 高级检索  
     

基于TCP的多线程Socket通信实例
引用本文:孙晓梦,王志斌.基于TCP的多线程Socket通信实例[J].丹东纺专学报,2013(3):178-182.
作者姓名:孙晓梦  王志斌
作者单位:[1]天津大学电气与自动化工程学院,天津300072 [2]辽东学院现代教育技术中心,辽宁丹东118001
摘    要:通信软件是机器人控制系统的重要组成部分,其实时性、准确性和效率至关重要。利用多线程技术,设计了基于TCP的套接字通信系统,并应用于实际机器手控制系统中,完成上位机与机器人控制器间的通信,实现了用户对机器人控制系统的监测与控制。系统功能完善、界面友好,并且稳定性和实时性都比较令人满意。

关 键 词:网络通信  套接字  多线程  软件设计

A TCP - based Multithread Socket Communication System
SUN Xiao-meng,WANG Zhi-bin.A TCP - based Multithread Socket Communication System[J].Journal of Dandong Textile College,2013(3):178-182.
Authors:SUN Xiao-meng  WANG Zhi-bin
Affiliation:1.School of Electrical Engineering and Automation,Tianjin University,Tianjin 300072,China;2.Center of Modern Educational Technology,Eastern Liaoning University,Dandong 118001,China)
Abstract:As an important part in robotic control system,the real-time property,accuracy and efficiency of the communication software is crucial.With multithread technology,a TCP-based socket communication system was developed.The system was used in the control of robot arm to fulfill the communication between the upper monitor and the robot controller so as to realize user’s supervision and control of the robot control system.The practical results showed that this system had perfect functions and friendly interface.Its stability and real-time property were also satisfactory.
Keywords:network communication  socket  multithread  software design
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号