- 3
- 0
- 约2.36万字
- 约 29页
- 2018-06-02 发布于福建
- 举报
基于USB接口通讯程序设计(终稿)
摘 要
随着计算机技术的发展和推广,利用串口进行数据通讯在通讯领域中占有着重要的地位。为了方便和快速的通过 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
目 录 TOC \o 1-3 \h \z \u
HYPERLINK \l _Toc323916696 摘 要 PAGEREF _Toc323916696 \h 1
HYPERLINK \l _Toc323916697 Abstract PAGEREF _Toc323916697 \h 2
HYPERLINK \l _Toc323916698 第一章 引 言 PAGEREF _Toc323916698 \h 5
HYPERLINK \l _Toc323916699 1.1 课题背景 PAGEREF _Toc323916699 \h 5
HYPERLINK
您可能关注的文档
- 国际内审师(CIA)考试600题第一部分内部审计在治理、风险和控制中作用.pdf
- 国家局烟草新内管规范.pdf
- 国家局烟草新内管规范文档下载.pdf
- 国际大厦智能化系统设计施工组织方案.doc
- 国际内审师(CIA)考试600题第一部分内部审计在治理、风险和控制中作用文档下载.pdf
- 国际市场定价策略制定及应用培训课程 (NXPowerLite).ppt
- 国际内审师(CIA)考试内部审计在治理、风险和控制中作用.pdf
- 国际市场营销实务培训课程之当代国际营销几个热点问题分析与运用.ppt
- 国际市场定价策略制定及应用培训课程.ppt
- 国际内审师(CIA)考试内部审计在治理、风险和控制中作用文档下载.pdf
最近下载
- 六年级下册《生命.生态.安全》全册教案(表格式).doc VIP
- JBT 5944-2018 工程机械 热处理件通用技术条件.pdf VIP
- F102050【复试】2024年东北农业大学090201果树学《加试园艺通论》考研复试核心335题(.pdf VIP
- 2025医美行业白皮书.pdf VIP
- 装饰装修施工组织设计完整版.doc
- 六年级下册《生命.生态.安全》全册教案.pdf VIP
- 《大学生毕业论文写作教程》第三章.pptx VIP
- 苏少版四年级下册音乐教案【完整版】(最全).doc VIP
- 湖南省交通事故历年统计数据.docx VIP
- 保险科技驱动下的高质量发展路径:理论框架与实证分析.docx VIP
原创力文档

文档评论(0)