×

Secure input method based on virtual machine

  • US 8,122,518 B2
  • Filed: 05/17/2007
  • Issued: 02/21/2012
  • Est. Priority Date: 05/17/2006
  • Status: Active Grant
First Claim
Patent Images

1. A secure input method based on a virtual machine in which a virtual machine monitor controls a secure input switch and provides a secure input interface, the method comprising:

  • determining whether an application requires a secure input;

    if the application requires a secure input, the virtual machine monitor places keyboard input directly into an input buffer area for the application by the following steps;

    Step A;

    the application invokes the secure input interface of the virtual machine monitor and transfers a logic address of input buffer area of the application;

    Step B;

    the virtual machine monitor, after accepting the invoking of the secure input interface by the application, turns on the secure input switch and converts the logic address of the input buffer area into a physical address;

    Step C;

    the virtual machine monitor receives keyboard input information, converts it into a key value and saves the converted key value in the input buffer area; and

    Step D;

    the virtual machine monitor judges that the secure input is completed, returns an input result to the application and turns off the secure input switch;

    if the application does not require a secure input,the virtual machine monitor does not turn on the secure input switch, and keyboard input is provided to an input buffer area for the application in a conventional manner in which the keyboard input is passed from keyboard driver along a sequence of keyboard driver, keyboard filtering driver, inner kernel buffer memory and keyboard hook and then placed into the input buffer area for the application;

    wherein in Step A, the application also transfers the length of the input buffer area of the application, and the virtual machine monitor judges that the secure input is completed when the length of the inputted key value equals to that of the input buffer area or when a key representing the completion is pressed;

    wherein the virtual machine monitor denies to switch an input focus when the secure input switch is on.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×