下载此文档

2015【最新文档】基于VC++地串口通信服务的开发.doc


文档分类:IT计算机 | 页数:约32页 举报非法文档有奖
1/32
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/32 下载此文档
文档列表 文档介绍
无线传感网络实现
题目 Uart2RF Zstack 协议栈串口转无线通信的实现
学院通信与电子工程学院
专业班级通信104班
学生姓名姜允鑫
指导教师苗凤娟
2013年 6 月 10 日
摘要
随着计算机技术的发展和推广,利用串口进行数据通讯在通讯领域中占有着重要的地位。网络访问串口服务器的串口,本课题把串口通信集成到Windows服务,由Windows服务完成串口通信的基本操作。文中详细描述了串口通信服务的原理和工作流程,还列举出了相关的核心代码。用流程图的方式来描述了各个模块的逻辑实现。串口通信服务中采用安全队列的机制来控制多线程访问多串口。在开发中按照软件工程的流程,从需求分析到概要设计,从详细设计到编码,以及最后的测试,利用软件工程的工具管理开发代码和文档。此外,还开发出了客户端来测试该服务工作是否正常。经过测试服务工作正常,能通过网络连接到服务器完成串口的通信。最后总结了开发和设计的不足之处,程序还有待进一步完善。
关键词:串口通信
Abstract
With the development and spread puter technology, munication is an important part in the field munication. In order to access server's serial port more convenient and faster through the , this topic put munication services integrated into Windows service, pleted the basic operation of munication services. The munications services and the workflow are in detail described. The core code of the services is also given. Flow chart is used to describe the handling process of the munications services. The services using safe queue mechanism to control multithreading visit serials. During the entire development, according to the software engineering flow, from requirements analysis to summary design, from detail design to coding, and the final test, uses the software engineering tools to management the code and documentation. In addition, I developed a client to test the service. Test results of the experiment indicate the services can work normally. In the end, summarizes the disadvantages of the design and development, and further perfection of studies is surely in need.
Key words: munication;
目录
摘要 I
Abstract II
目录 III
第一章引言 1
1
1
1
1
2
2
研究的意义 2
第二章相关理论基础 3
Windows NT 服务 3
串口通信 3
多线程及线程间通信 4
安全队列 5
Windows套接字规范 6
客户机服务器系统 7
第三章需求分析及设计方案 9
9
9
9
9
设计方案 9
服务器端 9
串口通信 10
10
10
第四章具体设计流程与实现 11
11
13
串口通信 19
客户端 21
类图 22

2015【最新文档】基于VC++地串口通信服务的开发 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数32
  • 收藏数0 收藏
  • 顶次数0
  • 上传人327062971
  • 文件大小0 KB
  • 时间2015-02-28