摘要
针对基于B/S架构的服务型机器人远程操控中服务端和客户端之间的信息交互问题,设计采用了基于WebSocket协议的信息交互方式.对服务型机器人操控时,需实时分析判断机器人所处环境以及自身状态,服务端将这些实时状态通过WebSocket协议发送给客户端,再由客户端对服务型机器人进行操控.经测试结果表明,该设计可顺利实现客户端接收机器人传输过来的信息,并对服务型机器人进行可视化的实时操控.这种基于WebSocket协议对服务型机器人信息交互的研究,对其他类型信息交互的设计和开发具有重要的借鉴意义.
In this paper,aiming at the problem of information interaction between the server and the client in the remote control of service-oriented robot based on B/S architecture,the information interaction mode based on websocket protocol is designed and adopted.When operating the service-oriented robot,it is necessary to analyze and judge the robot's environment and its own state in real time.The server sends the real-time status to the client through websocket protocol,and then the client controls the service-oriented robot.The test results show that the client can receive the information from the robot and control the service-oriented robot visually in real time.The research on information interaction of service-oriented robot based on websocket protocol has important reference significance for the design and development of other types of information interaction.
作者
李淑敬
孙楠
柴文君
钱程
王颖
李屹
Li Shu-jing;SUN Nan;CHAI Wen-jun;QIAN Cheng;WANG Ying;LI Yi(College of Information Engineering, Fuyang Normal University, Fuyang 236041, China)
出处
《西安文理学院学报(自然科学版)》
2021年第1期52-58,共7页
Journal of Xi’an University(Natural Science Edition)
基金
安徽省大学生创新创业计划训练项目(201813619003)
国家级大学生创新创业计划训练项目(201913619007)
安徽省精品线下开放课程(2018kfk009)
安徽省高校优秀青年人才支持计划项目(gxyqZD2019097)
安徽省科技厅面上项目(1908085MF207)
安徽省高校自然科学研究项目(KJ2019A0950)。