摘要
介绍了一个基于客户/服务器模式下的嵌入式通讯平台的设计原理,分析了它的软硬件组成、Socket通信流程和串口类的封装,阐述了在Delphi环境下COM(component object model)的实现原理,以及如何利用套接字控件完成COM服务器和COM客户端之间的数据传递,此外,结合实例说明了串口通信的流程。
The design idea of an embedded communication platform is introduced based on client/server architecture. Compose of hard- ware and software is analyzed with work flow of the socket communication. Construction of serial port is also discussed at the same time. Code samples are given to illustrate how to implement COM (component object model) and how to implement the data transmission between COM server and COM client in Delphi. Finally the work flow of serial port communication is presented by an instance.
出处
《计算机工程与设计》
CSCD
北大核心
2007年第12期2892-2895,共4页
Computer Engineering and Design
基金
江西省自然科学基金项目(0311046)
江西省教育厅基金项目(赣教技字[2006]177号)
华东交通大学校立课题基金项目(01305120)
关键词
组件对象模型
嵌入式通讯平台
短消息
串口通信
套接字
component object model
embedded communication platform
short message
serial port communication
socket