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

毕业论文:基于USB接口的通讯程序设计(终稿).doc

毕业论文:基于USB接口的通讯程序设计(终稿).doc

  1. 1、本文档共29页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 随着计算机技术的发展和推广,利用串口进行数据通讯在通讯领域中占有着重要的地位。为了方便和快速的通过 Internet 网络访问串口服务器的串口,本课题把串口通信集成到 Windows 服务,Windows 服务完成串口通信的基本操作。 由文中详细描述了串口通信服务的原理和工作流程,还列举出了相关的核心代码。 用流程图的方式来描述了各个模块的逻辑实现。 串口通信服务中采用安全队列的机制来控制多线程访问多串口。在开发中按照软件工程的流程,从需求分析到概要设计从详细设计到编码以及最后的测试,利用软件工程的工具管理开发代码和文档。此外,还开发出了客户端来测试该服务工作是否正常。经过测试服务工作正常,能通过网络连接到服务器完成串口的通信。总结了开发和设计的不足之处,程序还有待进一步完善。关键词:串口通信;Windows 服务;安全队列;多线程Abstract With?the?development of computer technology?and?to promote?theuse?of?serial?data communication?occupies?an important positionin?the?communications?field.?In order to?easily and quickly?through the Internet?network?to?access?the?serial?server?serial, the subjectof?serialcommunication?integrated?intotheWindows?services,Windows?services?to complete?the basic operation?of?the?serial communication.?By?the?paper?describes in detail?theprinciplesand?workflow?of?the?serialcommunication,?alsocited?the?corecode.?Flowchart?way?todescribe?the?logic?of?eachmodule.?Serial communication?services?usedin?the?security?queue?mechanismtocontrol?the?multi-threaded?access?to?morethan?serial.Development?in?accordance?with?the?softwareengineeringprocess,fromrequirements?analysisto?outlinedesign,?detaileddesign?to?coding,?and?final testing, the use of?software engineering?tools for managing?the development of?code and documentation.?Also developed?a?client?to test?the service?is working properly.?After?the?normal?work?of?testing services,through the network?to connect to the?server to complete?theserial?communication.?Concluded?the?development and design ofthe inadequacies of?the?program?remains to be?further improved. Keywords:serialcommunication;Windowsservice;?securityqueue;?multi-threaded 目 录 摘 要 1 Abstract 2 第一章 引 言 5 1.1 课题背景 5 1.2 研究现状 5 1.3 研究目的及意义 6 第二章 开发技术简介 7 2.1串行通信简介 7 2.2 vc++简介 7 2.3 USB接口技术简介 9 2.4 USB通信参考模型 9 2.5 USB 接口的通讯原理 10 2.5.1USB 设备的接入 10 2.5.2 USB 设备的识别 10 2.6功能需求 11 2.6.1 服务器端 11 2.6.2 串口通信 11 2.6.3 客户端 11 2.7设计方案 11 2.7.1服务器端 11 2.7.2串口通信 12 2.7.3 客户端 12 第三章 系统程序设计 13 3.1串口通讯的程序设计

您可能关注的文档

文档评论(0)

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

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

1亿VIP精品文档

相关文档