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

基于I/O缓冲区读写的控制台远程交互模型
引用本文:唐磊,宋宇波,蓝智灵.基于I/O缓冲区读写的控制台远程交互模型[J].计算机工程,2013,39(1):275-278.
作者姓名:唐磊  宋宇波  蓝智灵
作者单位:东南大学信息科学与工程学院,南京,210096
基金项目:国家"863"计划基金资助项目
摘    要:在控制台程序远程交互时,使用添加远程通信模块的方法易降低控制台程序的兼容性,而重定向标准输入输出方法易降低系统软件的兼容性。针对以上问题,提出一种控制台远程交互模型。通过模拟键盘将数据输入到控制台窗口输入缓冲区,并从其输出缓冲区得到回显数据。实验结果证明,该模型适用于各种常用控制台程序,不会与系统软件产生冲突,可实现与控制台程序的交互。

关 键 词:输入缓冲区  输出缓冲区  控制台程序  远程交互  加载器  兼容性
收稿时间:2012-03-09
修稿时间:2012-04-28

Console Remote Interaction Model Based on I/O Buffer Read and Write
TANG Lei , SONG Yu-bo , LAN Zhi-ling.Console Remote Interaction Model Based on I/O Buffer Read and Write[J].Computer Engineering,2013,39(1):275-278.
Authors:TANG Lei  SONG Yu-bo  LAN Zhi-ling
Affiliation:(School of Information Science and Engineering, Southeast University, Nanjing 210096, China)
Abstract:A model for remote interaction of user with console program is proposed according to the problems that console program compatibility is reduced by adding remote communication module and system application compatibility is reduced by redirecting standard I/O. This model devises a console program loader which adopts a method of writing commands into the console window input buffer by simulated keyboard input and reading echo data from its output buffer for interaction. Experimental results demonstrate that the model is appropriate for all kinds of normal console program and cannot conflict with system software. It can be adopted for interacting with console program.
Keywords:input buffer  output buffer  console program  remote interaction  loader  compatibility
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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