2、连接到服务器完成串口的通信。最后总结了开发和设计的不足之处,程序还有待进一步完善。关键词:串口通信;Windows服务;安全队列;多线程AbstractWith the developmentofcomputertechnology and topromote theuse of serial datacommunication occupies animportantpositionin the communications field. Inorderto easilyandquickly throughtheInternet network to access the serial s
3、erver serial,thesubjectof serialcommunication integrated intotheWindows services,Windows services tocomplete thebasicoperation of the serialcommunication. By the paper describesindetail theprinciplesand workflow of the serialcommunication, alsocited the corecode. Flowchart way todescribe the logic
4、of eachmodule. Serialcommunication 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 finaltesting,theuseof software
5、engineering toolsformanaging thedevelopmentof codeanddocumentation. Alsodeveloped a client totest theservice isworkingproperly. After the normal work of testingservices,throughthenetwork toconnecttothe servertocomplete theserial communication. Concluded the developmentanddesignoftheinadequaciesof t
6、he program remainstobe furtherimproved.Keywords:serialcommunication;Windowsservice; securityqueue; multi-threaded目录摘要1Abstract2第一章引言51.1课题背景51.2研究现状51.3研究目的及意义6第二章开发技术简介72.1串行通信简介72.2vc++简介72.3USB接口技术简介92.4USB通信参考模型92.5USB接口的通讯原理102.5.1USB设备的接入102.5.2USB设备的识别102.6功能需求112.6.1服务器端112.6.2串口通信112.6.3客户