摘要
针对当前智能人机交互通信系统存在的通信稳定性和安全性差、延迟大的问题,提出并设计基于RS 232的智能人机交互通信系统。该系统主要由登录与退出单元、通信数据传输单元和通信数据信息加密单元等模块组成,系统运行时下位机向上位机传输通信指令,下位机向上位机发送实时数据信息。上位机利用接收线程完成数据信息的处理,系统上位机向下位机传输反馈控制,同时请求下位机对人机交互设备进行调整。在登录与退出单元中,当客户端启动系统,出现登录界面后,立即输入用户名称及密码完成登录,并随即进入通信程序。在通信数据传输单元中,依据发送端的地址找到与之相应的对话框,在对话框中显示出对应消息,同时在显示消息中设定接收选择。在通信数据加密单元中,利用DES_ncbc_encryp加密和解密函数完成通信数据加密。实验表明,该系统运行稳定性和安全性均优于当前系统,并具有延迟低的优点,可行性高,实用性和适用性均较强。
As the current intelligent human?computer interaction communication system has the problems of poor stability,security and large delays in communication,an intelligent human?machine interactive communication system based on RS 232 is proposed and designed.The system is mainly composed of the login and logout unit,communication data transmission unit,and communication data information encryption unit.During the system operation,the lower computer sends communication instruc?tions to the upper computer,and the lower computer sends real?time data information to the upper computer.The upper computer uses the receiving thread to complete the processing of data information.The system upper computer transmits the feedback control to the lower computer and simultaneously requests the lower computer to adjust the human-computer interaction device.In the login and logout unit,when the system is started on the client and the login interface appears,the user name and pass-word should be immediately entered to complete the login and enter the communication program immediately.In the communica?tion data transmission unit,the corresponding dialog box is found according to the address of the transmitting terminal,the cor-responding messages are displayed in the dialog box,and the receiving selection of displayed messages is set.In the communication data encryption unit,the communication data encryption is accomplished by using the DES_ncbc_encryp encryption and decryption function.The experimental results show that the system is superior to the current system in operation stability and security,and has the advantages of low delay,high feasibility,strong practicality and applicability.
作者
张青
任宏
ZHANG Qing;REN Hong(Shandong Jiaotong University,Jinan 250357,China;Shenyang Aerospace University,Shenyang 110136,China)
出处
《现代电子技术》
北大核心
2018年第20期175-178,共4页
Modern Electronics Technique
基金
国家自然科学基金(51505259)~~
关键词
人机交互
通信指令
系统设计
加密
数据传输
RS232
human-computer interaction
communication instruction
system design
encryption
data transmission
RS 232