Windows平台下串口通信数据实时获取与监测  被引量:13

Real-time Acquisition and Monitoring of the Serial Communication Data under Windows Platform

在线阅读下载全文

作  者:陈学军 

机构地区:[1]重庆川仪自动化股份有限公司,重庆401121

出  处:《自动化仪表》2012年第3期66-69,共4页Process Automation Instrumentation

基  金:国家科技部国际科技合作基金资助项目(编号:2007DFR10420);国家发改委科技成果转化基金资助项目(编号:[2010]251);国家工信部物联网发展专项基金资助项目(编号:[2011]353)

摘  要:针对串口通信标准协议存在多种自定义协议以及协议复杂性等特点,采用纯软件设计方法实现了交换数据和通信状态的实时获取与监测。通过对Windows平台下进程管理机制以及串口通信流程的剖析,采用进程注入、基于串口的API钩子等系统底层软件设计技术,实时获取相应的串口交换数据信息。实测结果验证了该技术的可行性,表明了其在通信协议机理分析、通信故障分析等方面应用的实用性。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.

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

分 类 号:TP319[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象