首页> 外国专利> Method and apparatus for using translated and raw guest keyboard input in a host shared application program

Method and apparatus for using translated and raw guest keyboard input in a host shared application program

机译:在主机共享应用程序中使用翻译后的原始来宾键盘输入的方法和设备

摘要

Host translation of guest keyboard events is blocked to effectively isolate a guest keyboard from a host keyboard during applications sharing. A guest keyboard driver translates guest keyboard events which are transmitted to a host for use in shared applications. A patch instruction is written over a host keyboard event module which causes a jump to a patch subroutine when an attempt is made to deposit host keyboard events in the storage queue. Host keyboard events are marked by the patch subroutine and the marked host events are deposited in a shadow queue which is disposed in parallel with the host storage queue. Translated guest events also are deposited in the shadow queue. Raw host and guest keyboard events are stored in the host storage queue. When a shared application requires data from the host storage queue, a call for a translation of the outgoing data is made. In the event that the data is guest data, a second patch instruction on the module supervising the translation call causes a jump to a second patch subroutine, which bypasses the translation call and causes entry of the pretranslated guest event from the shadow queue into the shared application. If the outgoing event is a host event, the second patch instruction jumps to the second patch subroutine, which writes the translation instructions over the second patch so that the translating module can execute the translation. The translated host event then can be entered into the shared application. The second patch instruction is rewritten over the module supervising the translation.
机译:来宾键盘事件的主机转换被阻止,以在应用程序共享期间有效地将来宾键盘与主机键盘隔离。来宾键盘驱动程序转换来宾键盘事件,该事件会传输到主机以供共享应用程序使用。修补程序指令写在主机键盘事件模块上,当尝试将主机键盘事件存储在存储队列中时,该指令会导致跳至修补程序子例程。主机键盘事件由patch子例程标记,标记的主机事件存储在与主机存储队列并行放置的影子队列中。转换的来宾事件也存储在影子队列中。原始主机和来宾键盘事件存储在主机存储队列中。当共享应用程序需要来自主机存储队列的数据时,将调用翻译出站数据。如果数据是来宾数据,则模块上用于监督翻译调用的第二个补丁指令会导致跳转到第二个补丁子例程,该子例程绕过翻译调用,并导致预翻译的来宾事件从影子队列进入共享应用。如果传出事件是主机事件,则第二个补丁程序指令跳到第二个补丁程序子例程,该子例程将翻译指令写入第二个补丁程序,以便翻译模块可以执行翻译。然后可以将转换后的主机事件输入到共享应用程序中。第二个补丁指令在负责翻译的模块上重写。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号