首页 | 本学科首页   官方微博 | 高级检索  
     

基于B/S结构的读卡器驱动的研究
引用本文:于飞,许占文,周玲. 基于B/S结构的读卡器驱动的研究[J]. 沈阳工业大学学报, 2005, 27(5): 534-536
作者姓名:于飞  许占文  周玲
作者单位:沈阳工业大学,信息科学与工程学院,沈阳,110023
摘    要:提出了一种基于B/S结构读卡器驱动的软件模型,该驱动模型是基于B/S驱动开发模式的,较基于C/S驱动开发模式具有可维护性高、可扩充性好等优点.首先给出了基于B/S结构读卡器驱动的软件模型;其次介绍了读卡器驱动的工作原理,分析了主机和读卡器通信中错误问题,并对出现的错误进行了有效地解决;最后对读磁道信息不稳定问题进行了研究,引入多线程处理机制来优化驱动程序.这样做的好处是在读卡器执行命令的过程中,可以再次发送命令来取消上次命令的执行,提高了程序执行的效率.

关 键 词:读卡器  驱动程序  软件模型  串口  多线程
文章编号:1000-1646(2005)05-0534-03
收稿时间:2004-07-14
修稿时间:2004-07-14

Research of card-reader driver program based on the B/S structure
YU Fei,XU Zhan-wen,ZHOU Ling. Research of card-reader driver program based on the B/S structure[J]. Journal of Shenyang University of Technology, 2005, 27(5): 534-536
Authors:YU Fei  XU Zhan-wen  ZHOU Ling
Affiliation:School of Information Science and Engineering, Shenyang University of Technology, Shenyang 110023, China
Abstract:Card-reader driver software model based on the B/S structure has been proposed.The model has advantages of high maintainability and expansibility compared with the C/S pattern.The working principle of card-reader driver was introduced,and the communication problem between the computer and card-reader was analyzed and resolved.Multithreading technology has been adopted to optimize the driver for solving the problem of reading tracks information unsteadiness.The advantage of using this method is that card-reader can give another commend to cancel execution of the last commend in the process of card-reader running command,improving the efficiency of running program.
Keywords:card-reader  driver  software model  serial ports  multithreading
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《沈阳工业大学学报》浏览原始摘要信息
点击此处可从《沈阳工业大学学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号