WO2010057433A1 - Dispositif d’entrée à clavier virtuel et procédé de focalisation multi-entrées - Google Patents

Dispositif d’entrée à clavier virtuel et procédé de focalisation multi-entrées Download PDF

Info

Publication number
WO2010057433A1
WO2010057433A1 PCT/CN2009/075021 CN2009075021W WO2010057433A1 WO 2010057433 A1 WO2010057433 A1 WO 2010057433A1 CN 2009075021 W CN2009075021 W CN 2009075021W WO 2010057433 A1 WO2010057433 A1 WO 2010057433A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
soft keyboard
character
keyboard
output unit
Prior art date
Application number
PCT/CN2009/075021
Other languages
English (en)
Chinese (zh)
Inventor
陆舟
于华章
Original Assignee
北京飞天诚信科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN 200810226881 external-priority patent/CN101414242B/zh
Priority claimed from CN2008102268828A external-priority patent/CN101403957B/zh
Application filed by 北京飞天诚信科技有限公司 filed Critical 北京飞天诚信科技有限公司
Priority to US12/667,235 priority Critical patent/US8146011B2/en
Publication of WO2010057433A1 publication Critical patent/WO2010057433A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present invention relates to the field of information security, and in particular to a soft keyboard input device and method for multi-input focus.
  • BACKGROUND OF THE INVENTION Key box monitoring and window text interception are two common types of attacks that steal passwords.
  • a soft keyboard is a program that simulates the behavior of a keyboard in software and clicks on a character by clicking the mouse.
  • the soft keyboard can be used to prevent Trojans from recording passwords entered through the physical keyboard.
  • the mouse necessarily clicks on the soft keyboard, which causes the input control to lose focus and cannot accept the input characters.
  • the use of the soft keyboard must predetermine the focus position, which brings inconvenience to the use.
  • a soft keyboard that comes with the system in Windows XP does not cause the control to lose focus, but it uses a keyboard code that is identical to the physical keyboard and does not have anti-trojan functionality.
  • the self-drawn control with the non-input control without input focus is used for output display, and the human keyboard interaction is completed together with the soft keyboard. Since the output control itself has no focus, when there are multiple outputs (such as an interface for modifying the PIN code), a method is needed to determine the output control corresponding to the current input.
  • an embodiment of the present invention provides a soft keyboard input device and method for multiple input focus.
  • the technical solution is as follows:
  • a soft keyboard input device with multiple input focus characterized in that the device comprises a main control module and a soft keyboard, wherein the soft keyboard is a soft keyboard unit controlled by the main control module or communicates with the main control module.
  • Soft keyboard module when the soft keyboard is a soft keyboard unit controlled by the main control module,
  • the main control module includes: a plurality of standard input/output units for receiving mouse click messages; a plurality of analog input/output units for receiving mouse click messages, the plurality of analog input/output units and the plurality of The number of standard input/output units is equal, and - corresponding; an input focus flag setting unit, for when the standard input/output unit is clicked by a mouse, according to the correspondence between the standard input/output unit and the focus mark, the current The input focus flag is set to a focus mark of the standard input/output unit; when the analog input/output unit is clicked by a mouse, the current input focus flag is set to be according to a correspondence relationship between the analog input/output unit and the focus mark
  • a soft keyboard input method with multiple input focus characterized in that: the method comprises: displaying a soft keyboard and a plurality of analog input/output units in a specified area in a soft keyboard input mode, and for each simulation The input/output unit sets a corresponding focus flag, and the soft keyboard is a soft keyboard unit controlled by the main control module or a soft keyboard module that communicates with the main control module;
  • the main control module waits to receive a mouse message, wherein the main control module determines whether the mouse click message is generated by the user clicking the soft keyboard.
  • the main control module controls the soft keyboard unit to determine a corresponding character according to the position of the mouse click, and determines whether the character is a keyboard character, a control character, or a status character; if the character is a keyboard character, the main The control module controls the soft keyboard unit to find a corresponding analog input/output unit according to the current input focus flag, and find a storage unit corresponding to the found analog input/output unit among the plurality of existing storage units, and The keyboard characters are stored in the found storage unit, the plurality of storage units are equal in number to the plurality of analog input/output units, and - corresponding; if the characters are status characters, the main The control module controls the soft keyboard unit to perform corresponding state processing; if the character is a control character, the master control The module controls the soft keyboard unit to find a corresponding analog input/output unit according to the current input focus flag, and controls the analog input/output unit to redraw the appearance of the analog input/output unit according to the control character,
  • the soft keyboard is a soft keyboard module that communicates with the main control module
  • the main control module and the soft keyboard module wait to receive a mouse message, and the soft keyboard module determines a corresponding character according to the position of the mouse click; Determining whether the character is a keyboard character, a control character, or a status character; if the character is a keyboard character, the main control module acquires the character from the soft keyboard module, and finds a corresponding analog input according to the current input focus flag.
  • /output unit finds a storage unit corresponding to the found analog input/output unit among the plurality of existing storage units, and stores the keyboard character into the found storage unit, the plurality of storage
  • the unit is equal to the number of the plurality of analog input/output units, and corresponding to; if the character is a status character, the soft keyboard module performs corresponding state processing; if the character is a control character, the The main control module finds the corresponding analog input/output unit according to the current input focus flag, and controls the analog input/output Element according to said control word
  • Redrawing the appearance of the analog input/output unit, the redrawing the appearance of the analog input/output unit includes moving the cursor and/or including content displayed in the analog input/output unit and content stored in the storage area Deleted operation.
  • FIG. 1 is a flow chart showing a method for inputting a soft keyboard of a multi-input focus according to a first embodiment of the present invention
  • FIG. 2 is a structural diagram of a soft keyboard input device for multi-input focus according to a second embodiment of the present invention
  • FIG. 1 is a flow chart showing a method for inputting a soft keyboard of a multi-input focus according to a first embodiment of the present invention
  • FIG. 2 is a structural diagram of a soft keyboard input device for multi-input focus according to a second embodiment of the present invention
  • Embodiment 4 is a structural diagram of a soft keyboard input device of a multi-input focus provided in Embodiment 4 of the present invention.
  • DETAILED DESCRIPTION OF THE EMBODIMENTS In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the embodiments of the present invention will be further described in detail with reference to the accompanying drawings.
  • Embodiment 1 Referring to FIG. 1 , an embodiment of the present invention provides a soft keyboard input method for multiple input focus. Step 101: The main control module determines whether the current input mode is a soft keyboard input mode. If yes, step 102 is performed.
  • Step 4 In the specified area, the main control module displays a soft keyboard and a plurality of analog input/output units, and sets a corresponding focus flag for each analog input/output unit; usually, a soft keyboard Displayed in the specified area in the form of a sub-window, and in the soft keyboard input mode, the main control module can also hide the standard input/output unit, that is, the standard input/output unit is not displayed to the user; wherein, the analog input/output unit Usually has a drawing function, which can draw the appearance of the analog input/output unit.
  • the analog input/output unit can also draw symbols in the display frame, such as dots or *, Analog character input; In addition, you can draw an inverted vertical line at the position specified in the cursor area to simulate the input light. ; At fixed time The interval is at the position specified by the cursor area, and the inverted vertical line and the same color vertical line are drawn alternately, the blinking of the simulated cursor, and the like.
  • the analog input/output unit also has a function of calculating the position of the cursor. As the input character moves, the position of the cursor can be automatically calculated. If the input character is increased, the position where the cursor moves to the right is calculated, and when the input character is deleted, the calculation is performed.
  • Step 103 The main control module receives the mouse click message (WM_BUTTONDOWN), and determines whether the mouse clicks on the analog input/output unit, the input mode switching key or the operation end key, if the mouse clicks on the plurality of analog input/output units In an analog input/output unit, step 104 is performed; if the mouse clicks on the soft keyboard, step 105 is performed; if the mouse clicks on the input mode switching button, step 109 is performed; if the mouse clicks is the operation end button
  • Step 105 The main control module controls the soft keyboard unit The position of the mouse click determines the corresponding character, and determines whether the character is a keyboard character, a control character, or
  • step 106 If it is a keyboard character, step 106 is performed, if it is a status character, step 107 is performed, and if it is a control character, Step 108 is performed; wherein the soft keyboard unit is pre-stored with the current soft keyboard And the mapping relationship between the character, i.e., a mouse click on different coordinate screen, corresponding to different input character, which includes a keyboard and a character state character.
  • Keyboard characters include letters and numbers
  • status characters refer to characters other than keyboard characters, such as shift keys, CapsLock keys, and so on.
  • Step 106 The main control module controls the soft keyboard unit #> according to the current input focus flag, finds the corresponding analog input/output unit, and finds the storage corresponding to the found analog input/output unit among the existing plurality of storage units.
  • the unit stores the keyboard character in the found storage unit, and then returns to step 103.
  • the standard input/output unit and the analog input/output unit are multiple, and the number is the same, corresponding, and each pair Standard input/output unit and analog input with correspondence
  • each /output unit each corresponding to a storage unit, that is, having a shared storage unit for storing characters input by the user to the standard input/output unit or the analog input/output unit, Whether a user inputs a character to a standard input/output unit or a character to an analog input/output unit is stored in the shared memory unit. For example, if the user inputs the character AB through the standard keyboard and then inputs the character CD through the soft keyboard, the character ABCD is saved in the shared storage unit.
  • Step 107 The main control module controls the soft keyboard unit to perform corresponding state processing on the soft keyboard according to the state character, and then returns to step 103; for example, if the status character is a CapsLock key, the soft keyboard unit repaints the soft keyboard, wherein the displayed characters All are uppercase letters.
  • the mapping relationship between the coordinates and characters of the newly drawn soft keyboard is different from the mapping relationship between the coordinates and characters of the original soft keyboard. After drawing a new soft keyboard, subsequent processing is based on the new soft keyboard. The mapping between coordinates and characters is processed.
  • Step 108 The main control module controls the soft keyboard unit, finds a corresponding analog input/output unit according to the current input focus flag, and controls the analog input/output unit to redraw the appearance of the analog input/output unit according to the control character.
  • Repainting the appearance of the analog input/output unit includes moving the cursor and/or including deleting the content displayed in the analog input/output unit and the content stored in the storage area, and then returning to step 103;
  • the control character is a character that controls the position of the cursor, including backspace, left shift, right shift, Home and End, etc., and redraws the appearance of the analog input/output unit according to the control character, and can be in the analog input/output unit Changes in the cursor position (including left and right shifts), and changes in display contents and storage contents of the storage area (delete) are displayed on the display.
  • the control character when the control character is shifted to the left, the appearance of the analog input/output unit is redrawed so that the cursor position is shifted to the left by one bit; when the control character is the End key, the appearance of the analog input/output unit is redrawn, so that the cursor The position moves to the end of the current string; when the control character is the backspace key, the character at the cursor position is deleted from the storage unit, and the cursor position is shifted to the left by one bit, and then the content of the storage unit is redrawn to the character string or Dot string.
  • the content drawn and displayed in the analog input/output unit is represented by a dot string.
  • Step 109 The main control module changes the current soft keyboard input mode to the standard keyboard input mode, and then returns to step 101.
  • Step 110 The main control module stops operating, and the process ends.
  • Step 111 Currently, the standard keyboard input mode, the main control module displays a plurality of standard input/output units, and receives a mouse click message, and determines that the mouse click is a standard input/output unit, and the input
  • the mode switching key is also an operation end key.
  • step 112 If it is a standard input/output unit, step 112 is performed; if it is an input mode switching key, step 114 is performed; if it is an operation end key, step 110 is performed; usually, inputting on a standard keyboard In the mode, the main control module can also hide the analog input/output unit, that is, the analog input/output unit is not displayed to the user.
  • Step 112 The main control module sets the current input focus flag as the focus flag of the standard input/output unit
  • step 113 The main control module receives the character input by the user through the physical keyboard, and finds the corresponding standard input according to the current input focus flag.
  • An output unit that is, a standard input/output unit clicked by the user, and finds a storage unit corresponding to the standard input/output unit clicked by the user among the plurality of storage units, stores the character in the found storage unit, and then returns Step 111;
  • the main control module stores the characters input by the user through the physical keyboard to the standard input/output unit to the corresponding storage unit, and can also adopt the standard input mode.
  • step 113 the manner in which the character input by the user through the soft keyboard to the standard input/output unit is stored in the corresponding storage unit, that is, step 113 can be replaced by the following steps:
  • the main control module displays a soft keyboard, and the user clicks the soft keyboard through the mouse,
  • the control module controls the soft keyboard unit ⁇ according to the position of the mouse click Corresponding characters, and determining whether the corresponding character is a keyboard character or a status character; if the corresponding character is a keyboard character, the main control module controls the soft keyboard unit, according to the current input focus flag, finds the corresponding standard input/output unit, and A storage unit corresponding to the found standard input/output unit is found in the plurality of storage units, and the keyboard character is stored in the found storage unit; if the corresponding character is a status character, the main control module controls the soft keyboard unit Perform corresponding state processing on the soft keyboard; if the corresponding character is a control character, the main control module controls the soft keyboard unit, finds the corresponding standard input/
  • the content drawn and displayed in the standard input/output unit is represented by a character string, and adding or deleting the displayed content means adding a character string or deleting a character string.
  • Step 114 The main control module changes the current standard keyboard input mode to the soft keyboard input mode. Then go back to 4 to get 101. Further, the method further includes: the main control module periodically checks the current input focus, and sets the current input focus flag as the focus flag of the input/output unit according to the input/output unit where the current input focus is located.
  • the MFC timing message (WM_TIMER) is triggered at a preset time interval, and after receiving the message, the main control module checks the current input focus and sets the current input focus according to the input/output unit where the current input focus is located. The flag is set to the focus mark of the input/output unit.
  • the soft keyboard unit can also randomly modify the mapping relationship between the stored coordinates and characters at any time, thereby further improving security.
  • the main control module is composed of a window interface and a windows message processing program, and the windows message processing program is bound to the window interface through the windows function DialogBox.
  • the Windows message handler is bound to the control through the windows functions SetWindowLang and GetWindowLang, instead of the MFC predefined default message map.
  • the input mode can be switched by the CheckBox control in the main control module window.
  • the standard input/output unit can be the Edit control in the main control module window.
  • the analog input/output unit can be based on the Button control without input function. The self-drawn control and the custom windows message handler are composed. Since the Button control does not have an input function, the analog input/output unit does not have the input focus defined by the MFC.
  • the main control module in addition to the manner in which the main control module controls the soft keyboard unit to store the characters input by the user through the soft keyboard to the analog input/output unit to the corresponding storage unit, in the soft keyboard input mode, stores the characters input by the user through the physical keyboard to the analog input/output unit to the corresponding storage unit, that is, steps 105-107 can also be replaced by the following steps:
  • the main control module receives The character input by the user through the physical keyboard, according to the current input focus flag, finds a corresponding analog input/output unit, finds the storage unit corresponding to the found analog input/output unit among the plurality of storage units, and stores the character Go to the found storage unit.
  • there are many kinds of windows messages that the main control module can process The following examples are as follows:
  • an embodiment of the present invention further provides a soft keyboard input device with multiple input focus, including a main control module 200 and a storage module 300.
  • the main control module 200 includes: a plurality of standard input/output units 201 for receiving a mouse click message; a plurality of analog input/output units 202 for receiving a mouse click message, the plurality of standard inputs
  • /output unit 201 is equal in number to the plurality of analog input/output units 202, and - corresponding; input focus flag setting unit 203 for when the standard input/output unit 201 is clicked by a mouse, according to the standard input/output unit 201 Corresponding relationship with the focus mark, the current input focus flag is set as the focus mark of the standard input/output unit 201, and when the analog input/output unit 202 is clicked by the mouse, according to the correspondence relationship between the analog input/output unit 202 and the focus mark, The current focus index is set to the focus flag of the analog input/output unit 202; the soft keyboard unit 204 is configured to store the mapping relationship between the coordinates and the characters, and when the user clicks the soft keyboard to click the message, The position of the mouse click determines the corresponding character.
  • the corresponding analog input/output unit 202 is found, and the keyboard character is stored and found.
  • the storage unit corresponding to the analog input/output unit 202 if the character is a status word , the corresponding state processing is performed on the soft keyboard. If the character is a control character, then according to the current input focus flag, the corresponding analog input/output unit is found, and the analog input/output unit is controlled to be redrawn according to the control character.
  • the appearance of the analog input/output unit, the redrawing the appearance of the analog input/output unit includes moving the cursor and/or including deleting the content displayed in the analog input/output unit and storing the stored content of the storage area;
  • the unit 205 is configured to display a soft keyboard and a plurality of analog input/output units 202 in the soft keyboard input mode.
  • the storage module 300 includes: a plurality of storage units 301 for storing characters input by a user through a standard keyboard or a soft keyboard.
  • the plurality of storage units are equal in number to the plurality of standard input/output units, and each of the storage units corresponds to a pair of standard input/output units and analog input/output units having a corresponding relationship.
  • the analog input/output unit 202 generally has a drawing function.
  • the analog input/output unit 202 can also be drawn in the display frame.
  • the symbol such as a dot or *, is used to simulate character input.
  • an inverted vertical line can be drawn at the position specified by the cursor area to simulate the input cursor; at a fixed time interval in the specified position of the cursor area, the drawing is reversed. Vertical lines and vertical lines of the same color, simulating the blinking of the cursor, and so on.
  • the main control module 200 further includes: a switching unit, configured to switch between the soft keyboard input mode and the standard keyboard input mode when the received mouse click message is an input mode switching message.
  • the display unit 205 specifically includes: a determining subunit, configured to determine whether the current input mode is a soft keyboard input mode; and a first display subunit, configured to determine, when the determining subunit, that the current input mode is a soft keyboard input mode Displaying a soft keyboard and the plurality of analog input/output units 202; the second display subunit is configured to display the plurality of standard input/outputs when the determining subunit determines that the current input mode is a standard keyboard input mode Unit 201.
  • the main control module 200 can receive the character input by the user through the physical keyboard in the standard keyboard input mode, that is, the main control
  • the module 200 may further include: a first standard keyboard character receiving unit, configured to: after the display unit 206 displays the plurality of standard input/output units 201, receive characters input by the user through a physical keyboard, and according to the current input focus flag, The corresponding standard input/output unit 201 is found, and the character is stored in the storage unit 301 corresponding to the found standard input/output unit 201.
  • the second display subunit in this embodiment may be specifically configured to: when the determining subunit determines that the current input mode is the standard keyboard input mode, display the plurality of standard input/output units 201, and display a soft keyboard;
  • the soft keyboard unit 204 is further configured to: after determining the corresponding character according to the position of the mouse click, in the standard keyboard input mode, if the determined character is a keyboard character, the corresponding standard input/output unit 201 is found according to the current input focus flag. And storing the determined characters in the storage unit 301 corresponding to the found standard input/output unit 201.
  • the redrawing the appearance of the standard input/output unit includes Move the cursor and/or include the standard input/output
  • the unit and the storage area store the content for deletion.
  • the content drawn and displayed in the analog input/output unit is represented by a dot string
  • the contents drawn and displayed in the standard input/output unit are represented by a character string.
  • control character refers to a character that controls the position of the cursor, including backspace, left shift, right shift, Home and End, etc., according to the control character, the appearance of the analog input and output unit is redrawn, and the simulation can be performed in the simulation. Changes in the position of the cursor (including left and right shifts), and changes in the contents of the display and the contents of the storage area (including additions and deletions) are displayed on the input/output unit, as described in the first embodiment, where ⁇ 3 ⁇ 4 is no longer present. Narration.
  • the main control module 200 can also receive characters input by the user through the physical keyboard, that is, the main control module 200 further includes: a second standard keyboard character receiving unit, which is used in the soft keyboard.
  • the main control module 200 further includes: an inspection unit, configured to periodically check the current input focus, and set the current input focus flag to the focus of the input/output unit according to the input/output unit where the current input focus is located. Sign.
  • the MFC timing message (WM_TIMER) is triggered at a preset time interval, and after the check unit receives the message, the current input focus is checked, and the current input focus flag is set according to the input/output unit where the current input focus is located. Set to the focus mark of the input/output unit.
  • the soft keyboard unit 204 is also used to randomly modify the mapping relationship between the stored coordinates and characters.
  • the standard input/output unit 201 in this embodiment may be a window control having a character input function.
  • the analog input/output unit 202 further includes: a cursor calculation subunit for calculating the position of the cursor. For example, as the input character moves, the position of the cursor is automatically calculated. When the input character is increased, the position where the cursor moves to the right is calculated. When the input character is deleted, the position where the cursor moves to the left is calculated, etc., when the mouse clicks to the analog input /output unit
  • the analog input/output unit 202 further includes: the main control module is composed of a window interface and a windows message processing program, and the windows message processing program is bound to the window interface through the windows function DialogBox.
  • the windows message handler is bound to the control through the windows functions SetWindowLang and GetWindowLang, instead of the MFC predefined default message map.
  • the input mode can be switched by the CheckBox control in the main control module window.
  • the standard input/output unit can be the Edit control in the main control module window.
  • the analog input/output unit can be based on the Button control without input function.
  • the self-drawn control and the custom windows message handler are composed.
  • an embodiment of the present invention provides a soft keyboard input method for multiple input focus.
  • Step 401 The main control module determines whether the current input mode is a soft keyboard input mode. If yes, step 402 is performed.
  • Step 410 Step 402: In the designated area, the main control module displays a soft keyboard and a plurality of analog input/output units, and the soft keyboard module sets a corresponding focus mark for each analog input/output unit; usually, soft The keyboard is displayed in the specified area in the form of a sub-window, and in the soft keyboard input mode, the standard input/output unit can also be hidden, that is, the standard input/output unit is not displayed to the user; wherein, the analog input/output unit usually has The drawing function can draw the appearance of the analog input/output unit. When the user inputs characters into the analog input/output unit, the analog input/output unit can also draw symbols in the display frame, such as dots or *, to simulate characters.
  • the analog input/output unit also has a function of calculating the position of the cursor. As the input character moves, the position of the cursor can be automatically calculated. If the input character is increased, the position where the cursor moves to the right is calculated, and when the input character is deleted, the calculation is performed. Move the cursor to the left, etc., when the mouse clicks to the simulation When inputting/outputting the unit, calculate the position where the cursor moves to the mouse click, and so on.
  • Step 403 The main control module receives the mouse click message, and determines whether the mouse clicks on the analog input/output unit, the input mode switching key or the operation end key, if the mouse clicks on one of the plurality of analog input/output units If the mouse clicks on the input mode switching key, step 308 is performed; if the mouse clicks the operation end key, step 409 is performed; step 404: the main control module sets the current input focus flag to The focus indicator of the analog input/output unit clicked by the mouse; Step 405: The soft keyboard module receives the mouse click message, and determines the corresponding character according to the position of the mouse click, and determines whether the character is a keyboard character or a status character, and if it is a keyboard character, In step 406, if it is a status character, step 407 is performed; wherein the soft keyboard module pre-stores the mapping relationship between the coordinates of the current soft keyboard and the characters, that is, when the mouse clicks on different coordinates on the screen, correspondingly inputs different characters,
  • Keyboard characters include letters and numbers, and status characters refer to characters other than keyboard characters, such as shift keys, CapsLock keys, and so on.
  • Step 406 The soft keyboard module caches the keyboard characters, and sends a soft keyboard message to the main control module. After receiving the focus flag, the main control module notifies the corresponding analog input/output unit to receive the keyboard characters from the cache, and then returns to the step.
  • Step 407 The soft keyboard module occupies the state character, performs corresponding state processing on the soft keyboard, and then returns to step 4 403; for example, if the state character is CapsLock key, the soft keyboard module redraws the soft keyboard, wherein the displayed letters are all For uppercase letters, the mapping relationship between the coordinates and characters of the newly drawn soft keyboard is different from the mapping relationship between the coordinates and characters of the original soft keyboard. After drawing a new soft keyboard, subsequent processing is based on the coordinates of the new soft keyboard. The mapping relationship with characters is processed.
  • Step 408 The main control module changes the current soft keyboard input mode to the standard keyboard input mode, and then returns to the next step 301.
  • Step 409 The main control module and the soft keyboard module stop operating, and the process ends.
  • Step 410 The current keyboard input mode, the main control module displays multiple standard input/output Unit, and receiving a mouse click message, and determining whether the mouse click is a standard input/output unit, an input mode switching key or an operation end key, if it is a standard input/output unit, step 411 is performed; if it is an input mode switching key, Step 413 is performed; if it is the operation end key, step 409 is performed; generally, in the standard keyboard input mode, the analog input/output unit can also be hidden, that is, the analog input/output unit is not displayed to the user.
  • the standard input/output unit and the analog input/output unit are multiple, and the number is the same, corresponding to each, and each pair of standard input/output units and analog input/output units having corresponding relationships have a shared memory area used to store characters received by standard input/output units and analog input/output units, whether it is a standard input/output unit or a character input by the analog input/output unit. Saved in this shared storage area. For example, if the user inputs the character AB through the standard keyboard and then inputs the character CD through the soft keyboard, the character ABCD is saved in the shared storage area.
  • Step 411 The main control module sets the current input focus flag as the focus flag of the standard input/output unit.
  • Step 412 The main control module receives the character input by the user through the physical keyboard, and the # is currently input the focus flag, and notifies the corresponding standard input/ The output unit receives the character, and then returns to step 410.
  • the main control module in addition to the above-mentioned standard input mode, notifies the standard input/output unit that the user inputs the character through the physical keyboard, and can also adopt the standard input.
  • the soft keyboard module receives the characters input by the user through the soft keyboard and sends them to the standard input/output unit, that is, the step 4 412 can be replaced by the following step 4: The main control module displays the soft keyboard, and the user clicks the soft mouse.
  • the keyboard and the soft keyboard module determine corresponding characters according to the position of the mouse click, and determine whether the corresponding character is a keyboard character or a status character; if the corresponding character is a keyboard character, the soft keyboard module sends the keyboard character to the main control module, and the main control After the module is received, according to the current input focus flag, Disc standard character is sent to the corresponding input / output unit; if the character corresponding to the character state, the soft keyboard soft keyboard module corresponding processing state; then returns to step 43 ⁇ 4 410.
  • Step 413 The main control module changes the current standard keyboard input mode to the soft keyboard input mode, and then returns to step 4 to 401.
  • the method further includes: the main control module periodically checks the current input focus, and sets the current input focus flag as the focus flag of the input/output unit according to the input/output unit where the current input focus is located.
  • the MFC timing message WM_TIMER
  • the main control module checks the current input focus and sets the current input focus according to the input/output unit where the current input focus is located.
  • the flag is set to the focus mark of the input/output unit.
  • the soft keyboard module can also randomly modify the mapping relationship between the stored coordinates and characters at any time, thereby further improving security.
  • the main control module and the soft keyboard module can be implemented by two MFC window classes respectively, and the input mode switching can be implemented by the CheckBox control in the main control module window, and the standard input/output unit can be the main control module window.
  • the analog input/output unit can be a self-drawn control based on a Button control that does not have an input function. Since the Button control does not have an input function, the analog input/output unit does not have an input focus defined by the MFC.
  • the soft keyboard input mode in addition to the manner in which the soft keyboard module receives the user inputting characters through the soft keyboard, the soft keyboard input mode can also be used in the soft keyboard input mode, and the main control module receives the user through the physical keyboard.
  • the manner of inputting characters that is, steps 305 ⁇ 307 can also be replaced by the following steps:
  • the main control module receives the character input by the user through the physical keyboard, and notifies the corresponding analog input/output unit to receive the character according to the current input focus flag.
  • the main control module and the soft keyboard module can process a variety of MFC messages, for example, 3 ⁇ 4:
  • OnMyCancel() ⁇ Click "Cancel,,,Respond to WM_COMMAND+ IDCANCEL OnMyCheck(); ⁇ Switch input mode, respond to WM-COMMAND+ IDC- CHECK
  • OnMyChangeEdit (); ⁇ Enter the password, respond to WM — COMMAND+ IDC — EDIT: + EN CHANGE OnMyDrawItem(wParam,lParam); ⁇ Control self-painting, used to simulate the drawing of input and output units
  • OnMyLButtonDown (wParam, lParam); II mouse click OnMyShowWindow (); / / interface refresh OnMyPaintO; ⁇ interface drawing
  • the embodiment of the present invention also provides a multi-input focus soft keyboard input device, including the main control module 500 and soft keyboard module 600;
  • the main control module 500 includes: a standard input/output unit 501 for receiving a mouse click message and a character input by a user through a standard keyboard; an analog input/output unit 502 for receiving a mouse click message and a user a character input through the soft keyboard; a zoom-in focus flag setting unit 503 for setting the current input focus flag to the focus flag of the standard input/output unit 501 when the standard input/output unit 501 is clicked by the mouse, when the analog input/ When the output unit 502 is clicked by the mouse, the current input focus flag is set to the focus flag of the analog input/output unit 502;
  • the soft keyboard message processing unit 504 is configured to receive the soft keyboard message sent by the soft keyboard module according to the current input.
  • the storage unit 505 is configured to store characters input by the user through a standard keyboard or a soft keyboard; the display unit 506 is configured to display the standard input/output unit 501 in the standard keyboard input mode, and display the soft in the soft keyboard input mode.
  • the soft keyboard module 600 includes: a mapping unit 601 configured to store a mapping relationship between coordinates and characters, a correspondence between the analog input/output unit 502 and the focus flag, and a correspondence between the standard input/output unit 501 and the focus flag, and When there is a mouse click message, the corresponding character is output according to the position of the mouse click; the buffer unit 602 is configured to cache the keyboard character when the mapping unit 601 outputs the keyboard character; the soft keyboard message sending unit 603 is configured to be used as the cache unit When the keyboard character is cached, the soft keyboard message is sent to the main control module 500.
  • the state processing unit 604 is configured to perform corresponding state processing on the soft keyboard when the output unit is output by the mapping unit 601.
  • the analog input/output unit 502 generally has a drawing function. When the user inputs characters into the analog input/output unit 502, the analog input/output unit 502 can also draw symbols, such as dots or *, in the display frame. Analog character input; In addition, you can draw an inverted vertical line at the position specified by the cursor area to simulate the input cursor; at a fixed time interval at the specified position in the cursor area, alternately draw the inverted vertical line and the same color vertical line, simulate the cursor The flashing and so on.
  • the main control module 600 further includes: a switching unit, configured to change the current soft keyboard input mode to a standard keyboard input mode when the mouse click message received by the analog input/output unit 502 is an input mode switching message; When the mouse click message received by the output unit 501 is an input mode switching message, the current standard keyboard input mode is changed to the soft keyboard input mode.
  • the main control module 500 further includes: a determining unit, configured to determine whether the current input mode is a soft keyboard input mode; and a first notification unit, configured to: when the determining unit determines that the current input mode is a soft keyboard input mode, The notification display unit 506 displays a soft keyboard and an analog input/output unit 502.
  • the second notification unit is configured to notify the display unit 506 to display the standard input/output unit 501 when the determination unit determines that the current input mode is the standard keyboard input mode.
  • the main control module 500 when the main control module 500 includes a determining unit, a first notification unit, and a second notification In the unit, the main control module 500 can receive the characters input by the user through the physical keyboard in the standard keyboard input mode, that is, the main control module 500 can further include: a first standard keyboard character receiving unit, which is used in the display unit 506. After the notification sent by the second notification unit displays the standard input/output unit 501, the character input by the user through the physical keyboard is received, and the corresponding standard input/output unit 501 is notified to receive the input character according to the current input focus flag.
  • the second notification unit in this embodiment may be specifically configured to: when the determining unit determines that the current input mode is the standard keyboard input mode, notify the display unit 506 to display the standard input/output unit 501 and display the soft keyboard; correspondingly, the soft keyboard
  • the module 600 further includes: a soft keyboard character sending unit, configured to send the keyboard character output by the mapping unit 601 to the main control module 500 in the standard keyboard input mode; and the main control module 500 further includes: a soft keyboard character receiving unit, After receiving the keyboard character sent by the soft keyboard module 600, #> according to the current input focus flag, the keyboard character is sent to the corresponding standard input/output unit 501.
  • the main control module 500 can also receive characters input by the user through the physical keyboard, that is, the main control module 500 further includes: a second standard keyboard character receiving unit, which is used in the soft keyboard.
  • the main control module 500 further includes: an inspection unit, configured to periodically check the current input focus, and set the current input focus flag to the focus of the input/output unit according to the input/output unit where the current input focus is located. Sign.
  • the MFC timing message (WM_TIMER) is triggered at a preset time interval, and after the check unit receives the message, the current input focus is checked, and the current input focus flag is set according to the input/output unit where the current input focus is located. Set to the focus mark of the input/output unit.
  • the soft keyboard module 600 further includes: The scrambling unit is configured to randomly modify the mapping relationship between the coordinates and the characters stored by the mapping unit 601.
  • the standard input/output unit 501 in this embodiment may be an MFC control having a character input function.
  • the analog input/output unit 502 further includes: a cursor calculation subunit for calculating the position of the cursor. For example, as the input character moves, the position of the cursor is automatically calculated.
  • the analog input/output unit 502 further includes: a drawing subunit for drawing the appearance of the analog input/output unit 502.
  • the main control module 500 and the soft keyboard module 600 can be implemented by two MFC window classes respectively, and the switching unit can be implemented by the CheckBox control in the main control module 500 window, and the standard input/output unit 501 can be the main control.
  • the Edit control in the module 500 window, the analog input/output unit 502 may be a self-drawn control based on a Button control having no input function. Since the Button control does not have an input function, the analog input/output unit 202 does not have an MFC. The defined input focus.
  • the embodiment of the invention solves the deficiencies of the prior art.
  • the multiple output controls share a soft keyboard, the structure is simpler, the operation is more stable, thereby better meeting the actual needs, and providing a more complete and safe human-computer interaction body-risk.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

L’invention concerne un dispositif d’entrée à clavier virtuel et un procédé de focalisation multi-entrées, lesquels relèvent du domaine de la sécurité des informations. Le dispositif comprend un module de commande maître et un module de clavier virtuel. Le procédé comprend les étapes suivantes : on affiche un clavier virtuel et une pluralité d’unités d’entrée/sortie de simulation et régle les marques de focalisation correspondantes en un mode d’entrée de clavier virtuel; un utilisateur clique sur une unité d’entrée/sortie de simulation, et le module de commande maître règle la marque de focalisation d’entrée courante comme étant la marque de focalisation de l’unité; un utilisateur clique sur le clavier virtuel et on détermine le caractère correspondant en fonction de la position d’un curseur par le module de clavier virtuel, si le caractère est un caractère de clavier, on met en cache le caractère de clavier et on envoie un message de clavier virtuel au module de commande maître par le module de clavier virtuel, et après réception du message de clavier virtuel, on informe l’unité d’entrée/sortie de simulation qui correspond à la marque de focalisation d’entrée courante de la réception du caractère de clavier par le module de commande maître; si le caractère est un caractère d’état, on effectue le traitement d’état correspondant sur le clavier virtuel à l’aide du module de clavier virtuel. Le dispositif d’entrée de clavier virtuel et le procédé de focalisation multi-entrées améliorent la sécurité d’une entrée par clavier virtuel.
PCT/CN2009/075021 2008-11-19 2009-11-18 Dispositif d’entrée à clavier virtuel et procédé de focalisation multi-entrées WO2010057433A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/667,235 US8146011B2 (en) 2008-11-19 2009-11-18 Virtual keyboard input means with multiple input focuses and method thereof

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN 200810226881 CN101414242B (zh) 2008-11-19 2008-11-19 多输入焦点的软键盘输入装置和方法
CN200810226882.8 2008-11-19
CN2008102268828A CN101403957B (zh) 2008-11-19 2008-11-19 多输入焦点的软键盘输入装置和方法
CN200810226881.3 2008-11-19

Publications (1)

Publication Number Publication Date
WO2010057433A1 true WO2010057433A1 (fr) 2010-05-27

Family

ID=42197845

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/075021 WO2010057433A1 (fr) 2008-11-19 2009-11-18 Dispositif d’entrée à clavier virtuel et procédé de focalisation multi-entrées

Country Status (2)

Country Link
US (1) US8146011B2 (fr)
WO (1) WO2010057433A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10423328B2 (en) * 2011-12-28 2019-09-24 Hiroyuki Ikeda Portable terminal for controlling two cursors within a virtual keyboard according to setting of movement by a single key at a time or a plurality of keys at a time
JP6071107B2 (ja) 2012-06-14 2017-02-01 裕行 池田 携帯端末
KR101431581B1 (ko) * 2012-06-22 2014-09-23 성균관대학교산학협력단 모바일 단말기를 기반으로 한 가상 게임 컨트롤러 장치 및 이를 이용한 원격 컨트롤 시스템
KR101987246B1 (ko) * 2012-11-26 2019-06-12 한국전자통신연구원 휴대용 단말기의 사용자 인증 장치
US20140333537A1 (en) * 2013-05-10 2014-11-13 Moon J. Kim Pointing device with integrated keyboard

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936808A (zh) * 2005-04-18 2007-03-28 阿瓦戈科技Ecbuip(新加坡)股份有限公司 用于使用软键盘来简化文本输入的电子设备和方法
CN101089806A (zh) * 2007-07-24 2007-12-19 中兴通讯股份有限公司 一种字符输入装置及方法
WO2008102665A1 (fr) * 2007-02-20 2008-08-28 Nec Corporation Terminal portable et procédé de fonctionnement du terminal portable
CN101403957A (zh) * 2008-11-19 2009-04-08 北京飞天诚信科技有限公司 多输入焦点的软键盘输入装置和方法
CN101414242A (zh) * 2008-11-19 2009-04-22 北京飞天诚信科技有限公司 多输入焦点的软键盘输入装置和方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5008847A (en) * 1983-01-21 1991-04-16 The Laitram Corporation Cursor selected keyboard keys displayed on the computer screen for entering alphanumeric characters and instructions, particularly for creating computer aided design and drafting patterns
US6104384A (en) * 1997-09-12 2000-08-15 Ericsson, Inc. Image based keyboard for a small computing device
US7030863B2 (en) * 2000-05-26 2006-04-18 America Online, Incorporated Virtual keyboard system with automatic correction
KR20080101333A (ko) * 2007-05-17 2008-11-21 (주)이스트소프트 가상키보드를 이용한 보안방법
US8078984B2 (en) * 2007-06-19 2011-12-13 Microsoft Corporation Virtual keyboard text replication
US20090251422A1 (en) * 2008-04-08 2009-10-08 Honeywell International Inc. Method and system for enhancing interaction of a virtual keyboard provided through a small touch screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936808A (zh) * 2005-04-18 2007-03-28 阿瓦戈科技Ecbuip(新加坡)股份有限公司 用于使用软键盘来简化文本输入的电子设备和方法
WO2008102665A1 (fr) * 2007-02-20 2008-08-28 Nec Corporation Terminal portable et procédé de fonctionnement du terminal portable
CN101089806A (zh) * 2007-07-24 2007-12-19 中兴通讯股份有限公司 一种字符输入装置及方法
CN101403957A (zh) * 2008-11-19 2009-04-08 北京飞天诚信科技有限公司 多输入焦点的软键盘输入装置和方法
CN101414242A (zh) * 2008-11-19 2009-04-22 北京飞天诚信科技有限公司 多输入焦点的软键盘输入装置和方法

Also Published As

Publication number Publication date
US20110191709A1 (en) 2011-08-04
US8146011B2 (en) 2012-03-27

Similar Documents

Publication Publication Date Title
US8656296B1 (en) Selection of characters in a string of characters
KR101718253B1 (ko) 문자 입력을 위한 디바이스, 방법 및 그래픽 유저 인터페이스
US4587630A (en) Intelligent programmable touchscreen system
KR20150049700A (ko) 전자 장치에서 입력을 제어하는 방법 및 장치
WO2020164268A1 (fr) Procédé et appareil de génération de code de vérification, support de stockage et dispositif informatique
CN107193476B (zh) 信息输入方法及装置、计算机设备与可读介质
WO2010057433A1 (fr) Dispositif d’entrée à clavier virtuel et procédé de focalisation multi-entrées
US20120287061A1 (en) Method and apparatus for providing graphic user interface having item deleting function
CN107797971A (zh) 文档批注方法、装置和电子设备
JP7426367B2 (ja) 動的スペースバー
JP2016525248A (ja) タッチキーボードのキーを可変にする方法及び端末
CN101414242B (zh) 多输入焦点的软键盘输入装置和方法
JP2018512676A (ja) テキスト選択制御への向上
CN101403957B (zh) 多输入焦点的软键盘输入装置和方法
US8949731B1 (en) Input from a soft keyboard on a touchscreen display
CN102193905A (zh) 基于gdi/gdi+的虚拟文本编辑方法及装置
AU2014374195A1 (en) Disambiguation of user intent on a touchscreen keyboard
CN107092433A (zh) 触控一体机的触摸控制方法及装置
TW201734709A (zh) 可切換輸入法的電子裝置及其輸入法切換方法、系統
CN105353883A (zh) 人机交互方法、人机交互系统和计算装置
TW201415349A (zh) 電子裝置和虛擬鍵盤定位方法
WO2014082223A1 (fr) Procédé d'entrée d'informations et terminal à écran tactile
CN113795819A (zh) 用于删除键手势以及在触敏键盘处提供连续路径手势的系统和方法
JP4452989B2 (ja) 情報処理装置及びその仮想入力方法
TWM598438U (zh) 模擬真人操作之電子裝置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 12667235

Country of ref document: US

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09827182

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09827182

Country of ref document: EP

Kind code of ref document: A1