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

Windows平台下串口通信数据实时获取与监测
引用本文:陈学军.Windows平台下串口通信数据实时获取与监测[J].自动化仪表,2012,33(3):66-69.
作者姓名:陈学军
作者单位:重庆川仪自动化股份有限公司,重庆,401121
基金项目:国家科技部国际科技合作基金资助项目(编号:2007DFR10420);国家发改委科技成果转化基金资助项目(编号:[2010]251);国家工信部物联网发展专项基金资助项目(编号:[2011]353)
摘    要:针对串口通信标准协议存在多种自定义协议以及协议复杂性等特点,采用纯软件设计方法实现了交换数据和通信状态的实时获取与监测.通过对Windows平台下进程管理机制以及串口通信流程的剖析,采用进程注入、基于串口的API钩子等系统底层软件设计技术,实时获取相应的串口交换数据信息.实测结果验证了该技术的可行性,表明了其在通信协议机理分析、通信故障分析等方面应用的实用性.

关 键 词:串口  数据通信  进程注入  API钩子  Windows

Real-time Acquisition and Monitoring of the Serial Communication Data under Windows Platform
Chen Xuejun.Real-time Acquisition and Monitoring of the Serial Communication Data under Windows Platform[J].Process Automation Instrumentation,2012,33(3):66-69.
Authors:Chen Xuejun
Affiliation:Chen Xuejun
Abstract:Considering the existence of various self-defined protocols and the complexity of protocols,by purely adopting software design method,real-time acquisition and monitoring of the data exchange and communication status is implemented.Through analyzing the mechanism of process management and serial communication procedures under Windows platform,by using software design technologies under bottom layer of the system,e.g.,process injection and API hook,etc.,the serial port exchange data are acquired in real time.The result of practical tests verifies the feasibility of this technique,and indicates the practicability of the method in mechanism analysis of communication protocols and the analysis of communication faults.
Keywords:Serial port Data communication Process injection API hook Windows
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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