摘要
本文借鉴了IT领域中常见的远程监控的实施方案。从应用的角度出发设计出了一种实时、可靠的串行设备远程监控系统,使原本不具备联网功能并分散各地的串行设备连接到以太网中,充分利用现有的Internet资源进行数据传输和管理。通过研究嵌入式S3C2440模块的串口以太网通讯,设计了软件的实现方案,在串口以太网通讯中应用多线程技术,实现了串行设备的串行协议与TCP/IP协议的转换。方案中利用OpenVPN建立远程隧道链接,通过telnet远程登陆嵌入式平台,对嵌入式端进行监控。经过实验测试,串行数据在远程监控的计算机上具有良好的一致性,实现了对串行设备的监控。
This article draws on domain of common IT remote monitoring of the implementation of the plan.From the application point of view to design a real-time and reliable serial device remote monitoring system,causes not to have the networking function originally and to disperse the regional serial devices is connected in the ethernet,make full use of existing Internet resources for transmission and management of data.Through studies the embedded S3C2440 the module of serial port ethernet communication,designed a software program to realize,serial port ethernet communication applications in the multithreading technology,achieved serial device serial protocol and TCP/IP protocol conversion.In the program establish a remote tunnel link using OpenVPN,remote login through telnet embedded platform to monitor the embedded end.The experimental test serial data in remote monitoring and control of the computer has a good consistency and achieved the monitoring of serial devices.
出处
《计算机系统应用》
2010年第11期43-47,共5页
Computer Systems & Applications
关键词
嵌入式
串口
以太网
协议转换
多线程
串行设备
embedded
serial port
ethernet
protocol conversion
multithreading
serial device