网站大量收购独家精品文档,联系QQ:2885784924

《毕业论文:基于VC++的串口通信服务的开发》.doc

《毕业论文:基于VC++的串口通信服务的开发》.doc

  1. 1、本文档共25页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于VC++的串口通信服务的开发 摘 要 随着计算机技术的发展和推广,利用串口进行数据通讯在通讯领域中占有着重要的地位。为了方便和快速的通过Internet网络访问串口服务器的串口,本课题把串口通信集成到Windows服务,由Windows服务完成串口通信的基本操作。文中详细描述了串口通信服务的原理和工作流程,还列举出了相关的核心代码。用流程图的方式来描述了各个模块的逻辑实现。串口通信服务中采用安全队列的机制来控制多线程访问多串口。在开发中按照软件工程的流程,从需求分析到概要设计,从详细设计到编码,以及最后的测试,利用软件工程的工具管理开发代码和文档。此外,还开发出了客户端来测试该服务工作是否正常。经过测试服务工作正常,能通过网络连接到服务器完成串口的通信。最后总结了开发和设计的不足之处,程序还有待进一步完善。 关键词:串口通信;Windows服务;???全队列;多线程 The Development of Serial Communication Service Based on VC++ Abstract With the development and spread of computer technology, serial communication is an important part in the field of computer network communication. In order to access servers serial port more convenient and faster through the Internet, this topic put serial communication services integrated into Windows service, which completed the basic operation of serial communication services. The serial communications 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 serial communications 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: Serial Communication; Windows Service; Safe Queue; Multithread 目 录 论文总页数:22页  TOC \o 1-2 \h \z \u  HYPERLINK \l _Toc169320192 1 引言  PAGEREF _Toc169320192 \h 1  HYPERLINK \l _Toc169320193 1.1 课题背景  PAGEREF _Toc169320193 \h 1  HYPERLINK \l _Toc169320194 1.2 研究现状  PAGEREF _Toc169320194 \h 1  HYPERLINK \l _Toc169320195 1.3

文档评论(0)

14576 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档