下载此文档

基于VC++的串口通信服务的开发.doc


文档分类:通信/电子 | 页数:约27页 举报非法文档有奖
1/27
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/27 下载此文档
文档列表 文档介绍
需全套源程序代码,联系QQ 695132052各专业都有
分类号: U D C:D10621-408-(2007)6204-0
密级:公开编号:2003032053
成都信息工程学院
学位论文
基于VC++的串口通信服务的开发
论文作者姓名:
邱发明
申请学位专业:
网络工程
申请学位类别:
工学学士
指导教师姓名(职称):
李中志(讲师)
论文提交日期:
2007年06月10日
基于VC++的串口通信服务的开发
摘要
随着计算机技术的发展和推广,利用串口进行数据通讯在通讯领域中占有着重要的地位。网络访问串口服务器的串口,本课题把串口通信集成到Windows服务,由Windows服务完成串口通信的基本操作。文中详细描述了串口通信服务的原理和工作流程,还列举出了相关的核心代码。用流程图的方式来描述了各个模块的逻辑实现。串口通信服务中采用安全队列的机制来控制多线程访问多串口。在开发中按照软件工程的流程,从需求分析到概要设计,从详细设计到编码,以及最后的测试,利用软件工程的工具管理开发代码和文档。此外,还开发出了客户端来测试该服务工作是否正常。经过测试服务工作正常,能通过网络连接到服务器完成串口的通信。最后总结了开发和设计的不足之处,程序还有待进一步完善。
关键词:串口通信;Windows服务;安全队列;多线程
The Development of munication Service
Based on VC++
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; Windows Service; Safe Queue; Multithread
目录
论文总页数:22页
1 引言 1
课题背景 1
研究现状 1
研究的意义 1
2 相关理论基础 1
Windows NT 服务 1
串口通信 2
多线程及线程间通信 3
安全队列 4
Windows套接字规范 4
客户机服务器系统 5
3 需求分析及设计方案 6
功能需求 6
3

基于VC++的串口通信服务的开发 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数27
  • 收藏数0 收藏
  • 顶次数0
  • 上传人钻石文档库
  • 文件大小0 KB
  • 时间2015-06-24