WO2015078184A1 - 一种密码输入方法和*** - Google Patents

一种密码输入方法和*** Download PDF

Info

Publication number
WO2015078184A1
WO2015078184A1 PCT/CN2014/081669 CN2014081669W WO2015078184A1 WO 2015078184 A1 WO2015078184 A1 WO 2015078184A1 CN 2014081669 W CN2014081669 W CN 2014081669W WO 2015078184 A1 WO2015078184 A1 WO 2015078184A1
Authority
WO
WIPO (PCT)
Prior art keywords
password
mobile terminal
keyboard
virtual keyboard
smart
Prior art date
Application number
PCT/CN2014/081669
Other languages
English (en)
French (fr)
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
Application filed by 天地融科技股份有限公司 filed Critical 天地融科技股份有限公司
Publication of WO2015078184A1 publication Critical patent/WO2015078184A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/83Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/10Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
    • G07F7/1025Identification of user by a PIN code
    • G07F7/1033Details of the PIN pad
    • G07F7/1041PIN input keyboard gets new key allocation at each use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords

Definitions

  • the present invention relates to the field of mobile payment, and in particular, to a password input method and system.
  • the mobile banking system transmits the transaction information such as the transaction elements uploaded by the mobile phone to the smart cryptographic device through the transmission interface of the mobile phone, and the smart cryptographic device parses the received information, and displays the parsed information in the smart device.
  • the transaction code is entered on the mobile phone, and the transaction is completed after the submission.
  • This completes the security functions such as OTP (Dynamic Password) and/or transaction signature of the smart cryptographic device in mobile payment.
  • the smart cryptographic device wants to verify the identity of the user, the user also needs to input a PIN code between the completion of the transaction, and the smart cryptographic device compares the PIN code entered by the user with the locally stored PIN code, and if it is consistent, the smart cryptographic device is considered The identity of the user is legal.
  • the present invention aims to solve the problem of security risks of password leakage during the process of manually inputting a password by a mobile terminal such as a mobile phone.
  • the main object of the present invention is to provide a password input method.
  • Another object of the present invention is to provide a password input system.
  • An aspect of the present invention provides a password input method, including: a smart cryptographic device receiving a password input request instruction; After receiving the password input request command, the smart cryptographic device generates a virtual keyboard; wherein, the key coordinates of the virtual keyboard correspond to the key coordinates of the mobile terminal keyboard; the smart cryptographic device will at least include a password The required characters are randomly assigned on the keys of the virtual keyboard; the smart cryptographic device displays the virtual keyboard and the characters assigned on the keys of the virtual keyboard; the mobile terminal receives through the keys of the mobile terminal keyboard The password information input by the user, and after receiving the password information, generate password transmission information; wherein the password information is input by: the user corresponding to the key of the virtual keyboard displayed by the smart password device The coordinates of the character are pressed by the button of the same coordinates in the keyboard of the mobile terminal to input the password information; the password transmission information is a button coordinate number pressed in the keyboard of the mobile terminal; the mobile terminal will The password transmission information is sent to the smart cryptographic device through the transmission interface; Receiving, by the
  • the step of generating the virtual keyboard by the smart cryptographic device includes: the smart cryptographic device acquiring the virtual keyboard generating information; wherein the virtual keyboard generating information at least includes: the number of buttons of the mobile terminal keyboard, and the button arrangement And a coordinate of each button; the smart cryptographic device generates the virtual keyboard according to the virtual keyboard generation information.
  • the step of acquiring the virtual keyboard generating information by the smart cryptographic device includes: the smart cryptographic device acquiring a keyboard type of the mobile terminal; the smart cryptographic device acquiring the virtual according to the obtained keyboard type of the mobile terminal The keyboard generates information.
  • the sending, by the mobile terminal, the password transmission information to the smart cryptographic device by using a transmission interface includes: the mobile terminal encrypting the cryptographic transmission information, obtaining an encrypted cryptographic transmission information, and The encrypted password transmission information is sent to the smart cryptographic device through the transmission interface.
  • the step of receiving the password transmission information by the smart cryptographic device includes: the smart cryptographic device receiving the encrypted cryptographic transmission information, and decrypting the encrypted cryptographic transmission information to obtain the cryptographic transmission information.
  • a password input system including: a smart cryptographic device and a mobile terminal, wherein the smart cryptographic device includes: a first receiving unit, configured to receive a password input request instruction; and a first generating unit, configured to: After the first receiving unit receives the password input request instruction, generating a virtual keyboard, wherein the key coordinates of the virtual keyboard are in one-to-one correspondence with the key coordinates of the mobile terminal keyboard; and the allocating unit is configured to include at least the password
  • the required characters are randomly assigned on the keys of the virtual keyboard; a display unit for displaying the virtual keyboard and characters assigned on the keys of the virtual keyboard; a second receiving unit; and an identifying unit, the moving
  • the terminal includes: a third receiving unit, configured to receive, by using a button of the mobile terminal keyboard, password information input by the user; The password information is input by: the user pressing a button of the same coordinate in the keyboard of the mobile terminal according to the coordinates of the corresponding character on the button of the virtual keyboard displayed by the smart password device to input
  • the first generating unit includes: an obtaining module and a generating module; the acquiring module is configured to acquire virtual keyboard generating information, where the virtual keyboard generating information at least includes: the number of buttons of the mobile terminal keyboard, and a button Arranging mode and coordinates of each button; the generating module, configured to generate the virtual keyboard according to the virtual keyboard generating information.
  • the acquiring module is further configured to acquire a keyboard type of the mobile terminal, and obtain the virtual keyboard generating information according to the obtained keyboard type of the mobile terminal.
  • the transmitting unit is further configured to encrypt the password transmission information, obtain encrypted password transmission information, and send the encrypted password transmission information to the smart password device by using a transmission interface;
  • the second receiving unit is further configured to: Receiving the encrypted password transmission information, decrypting the encrypted password transmission information, and obtaining the password transmission information.
  • a further aspect of the present invention provides a password input method, including: a smart password device receiving a password input request instruction; the smart password device generating a virtual keyboard after receiving the password input request instruction, wherein the virtual keyboard The key coordinates are in one-to-one correspondence with the key coordinates of the mobile terminal keyboard; the smart password device randomly assigns a character set containing at least a password character and a command character to a button of the virtual keyboard; the smart password device displays the virtual a keyboard and the character set allocated on a button of the virtual keyboard; the mobile terminal sequentially receives the password character and/or the instruction character input by the user through a button of the keyboard of the mobile terminal, and each received one After the password character and/or one of the instruction characters, a password transmission information is generated; wherein the password character and/or the instruction character are input by: the user according to the virtuality displayed by the smart password device The coordinates of the corresponding characters on the keys of the keyboard are pressed by the mobile terminal keys a key of the same coordinate to input the password character and/or
  • the smart cryptographic device performs a corresponding operation according to the instruction character.
  • instruction characters include a confirmation instruction message and a cancellation instruction message.
  • the step of generating the virtual keyboard by the smart cryptographic device includes: the smart cryptographic device acquiring the virtual keyboard generating information; wherein the virtual keyboard generating information at least includes: the number of buttons of the mobile terminal keyboard, and the button arrangement And a coordinate of each button; the smart cryptographic device generates the virtual keyboard according to the virtual keyboard generation information.
  • the step of acquiring the virtual keyboard generating information by the smart cryptographic device includes: the smart cryptographic device acquiring a keyboard type of the mobile terminal; the smart cryptographic device acquiring the virtual according to the obtained keyboard type of the mobile terminal The keyboard generates information.
  • a further aspect of the present invention provides a password input method, including: a smart password device receiving a password input request instruction; the smart password device, after receiving the password input request instruction, generating a virtual keyboard, wherein the virtual keyboard The key coordinates are in one-to-one correspondence with the key coordinates of the mobile terminal keyboard; the smart password device randomly assigns a character set containing at least a password character and a command character to a button of the virtual keyboard; the smart password device displays the virtual a keyboard and the character set allocated on a button of the virtual keyboard; the mobile terminal sequentially receives the password character and/or the instruction character input by the user through a button of the keyboard of the mobile terminal, and each received one After the password character and/or one of the instruction characters, a password transmission information is generated; wherein the password character and/or the instruction character are input by: the user according to the virtuality displayed by the smart password device The coordinates of the corresponding characters on the keys of the keyboard are pressed as described a button of the same coordinates in the terminal keyboard to input the password
  • the smart cryptographic device performs a corresponding operation according to the instruction character.
  • instruction characters include a confirmation instruction message and a cancellation instruction message.
  • the step of generating the virtual keyboard by the smart cryptographic device includes: the smart cryptographic device acquiring the virtual keyboard generating information; wherein the virtual keyboard generating information at least includes: the number of buttons of the mobile terminal keyboard, and the button arrangement And a coordinate of each button; the smart cryptographic device generates the virtual keyboard according to the virtual keyboard generation information.
  • the step of acquiring the virtual keyboard generating information by the smart cryptographic device includes: the smart cryptographic device acquiring a keyboard type of the mobile terminal; the smart cryptographic device acquiring the virtual according to the obtained keyboard type of the mobile terminal The keyboard generates information.
  • the password input method and the password input system provided by the present invention, the user presses a button on the keyboard of the mobile terminal, and the mobile terminal sends the coordinate number of the pressed button to the smart password device.
  • the smart cryptographic device receives the coordinate number, and recognizes the character on the virtual keyboard according to the coordinate number to obtain the password, thereby ensuring the security of the password transmission between the mobile terminal and the smart cryptographic device, thereby preventing attacks such as screen captures and intermediaries.
  • FIG. 1 is a flowchart of a password input method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic structural diagram of a password input system according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic diagram of a keyboard provided by Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart of a password input method according to Embodiment 3 of the present invention. detailed description
  • orientation or positional relationship of "post”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inner”, “outside”, etc. is based on the figure
  • the orientation or positional relationship is merely for the purpose of describing the present invention and the simplification of the description, and is not intended to indicate or imply that the device or component referred to has a particular orientation, is constructed and operated in a particular orientation, and thus is not to be construed as limiting.
  • first and “second” are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or quantity or location.
  • connection should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. , can be the internal connection of two components.
  • Connection should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. , can be the internal connection of two components.
  • the password input method of the present invention includes:
  • Step S101 The smart cryptographic device receives a password input request instruction.
  • the smart cryptographic device of the present invention may include only the dynamic password generating function, or only the electronic signature function, and may also include the dual functions of the dynamic password generating function and the electronic signature function.
  • the dynamic password generation function is the function of the existing dynamic port token, which is used to generate dynamic passwords.
  • the electronic signature function is the function of the existing electronic signature tool, smart key device, etc., and is used for electronic signatures.
  • the smart cryptographic device of the present invention may be a device with only basic operation buttons such as determining, canceling, page turning, page turning, etc., and does not include a character keyboard, so that the volume of the smart cryptographic device can be reduced, which is preferred for the present invention.
  • the characters can be any form of characters such as numbers, letters, special characters, and the like.
  • the present invention is not limited thereto, and the smart cryptographic device of the present invention may also include a character keyboard in addition to the basic operation keys.
  • the smart cryptographic device needs to be connected to the mobile terminal, and the connection may be a wired connection or a wireless connection.
  • the wired connection can be any interface set on the mobile terminal such as audio interface or USB interface;
  • the wireless connection can be connected by any means such as Bluetooth, NFC, infrared, optical, 2G, 3G, WIFI. Any connection that enables communication between the smart cryptographic device and the mobile is within the scope of the present invention.
  • the smart cryptographic device receives a password input request instruction
  • the password input request instruction may be an instruction that the user operates on the mobile terminal, or may be an instruction that the user operates on the smart cryptographic device, and is used to indicate the intelligence.
  • the cryptographic device prepares to receive the password.
  • the mobile terminal has prepared the password input, for example: a dialog box for inputting a password and a password input box have been displayed on the interface of the mobile terminal, so that the user can be on the mobile terminal. Enter the password.
  • Step S102 After receiving the password input request instruction, the smart cryptographic device generates a virtual keyboard; wherein, the key coordinates of the virtual keyboard are in one-to-one correspondence with the key coordinates of the mobile terminal keyboard;
  • the keyboard of the mobile terminal may be a hardware keyboard, for example: a key keyboard disposed on the mobile terminal housing; or a software keyboard, for example: a keyboard of an input method used by the touch screen mobile terminal; the smart password device may generate
  • a virtual keyboard is the same as the mobile terminal keyboard.
  • the virtual keyboard is the same as the keyboard of the mobile terminal. Therefore, the number of virtual keyboard keys and the position of the keys are the same as those of the mobile terminal.
  • the smart cryptographic device can also obtain the virtual keyboard generating information; wherein the virtual keyboard generating information at least includes: the number of keys of the mobile terminal keyboard, and the button arrangement The way and the coordinates of each button.
  • the smart cryptographic device generates information by acquiring a virtual keyboard, thereby knowing which keyboard the mobile terminal keyboard is, thereby generating the same virtual keyboard as the mobile terminal keyboard.
  • the smart cryptographic device can also acquire the keyboard type of the mobile terminal, and obtain the virtual keyboard generation information according to the obtained keyboard type of the mobile terminal, thereby The keyboard generates information to generate a virtual keyboard.
  • the keyboard of the mobile terminal is a software keyboard
  • the keyboard of the mobile terminal may be a keyboard containing letters, and the number of keys is large.
  • the keyboard of the mobile terminal is a hardware keyboard
  • the keyboard of the mobile terminal basically only includes a numeric keypad. The number of buttons is small.
  • the smart cryptographic device can obtain the type of the mobile terminal keyboard in advance.
  • the virtual keyboard of the present invention can adopt a matrix keyboard for the convenience of the user to view and use.
  • Step S103 The smart cryptographic device randomly assigns characters required to include at least the password to the keys of the virtual keyboard. Specifically, in order to prevent the password input by the user on the mobile terminal, the characters of the virtual keyboard generated by the smart cryptographic device need to be moved. The characters at the corresponding positions on the terminal are different. At this point, the smart cryptographic device can randomly assign the characters required for the password to each key of the virtual keyboard.
  • the keyboard of the mobile terminal is a mixed keyboard of letters and numbers, and the characters required for the password are numeric characters. At this time, if the password is 6 digits, the 6 numeric characters can be randomly assigned to the same virtuality as the keyboard of the mobile terminal.
  • 10 numeric characters from 0 to 9 can also be randomly assigned to the same virtual keyboard as the mobile terminal keyboard, and 10 numeric characters from 0 to 9 can be randomly assigned together with other alphabetic characters on the keyboard of the mobile terminal.
  • the characters required for the password can also be alphabetic characters.
  • all the alphabetic characters required for the password are randomly assigned to the virtual keyboard, or all the alphabetic characters and other alphabetic characters required to include the password are randomly assigned to the virtual keyboard.
  • the smart cryptographic device can also randomly assign the characters corresponding to each button on the keyboard of the mobile terminal to each button of the virtual keyboard, that is, disrupt the character sequence on the keyboard of the mobile terminal.
  • the virtual keyboard and the mobile terminal keyboard are The characters are in the same order and are identical.
  • the mobile terminal is only a numeric character keyboard.
  • the smart password device only assigns the random order of the numeric characters to the virtual keyboard.
  • Step S104 the smart cryptographic device displays a virtual keyboard and characters assigned on the keys of the virtual keyboard; Specifically, the smart password device displays the virtual keyboard with the assigned characters on the display screen of the smart password device, so that the user can view the characters required for the password and the button positions corresponding to the characters from the display screen of the smart password device.
  • Step S105 the mobile terminal receives the password information input by the user through the button of the keyboard of the mobile terminal, and generates the password transmission information after receiving the password information; wherein the password information is input by: the virtual keyboard displayed by the user according to the smart password device Pressing the coordinates of the corresponding characters on the button to press the button with the same coordinates in the keyboard of the mobile terminal to input the password information; the password transmission information is the coordinate number of the button pressed in the keyboard of the mobile terminal;
  • the user inputs the password information by: pressing the button of the same coordinate in the keyboard of the mobile terminal according to the coordinates of the corresponding character on the button of the virtual keyboard displayed by the smart password device to input the password information. That is, the user views the character required for the password on the display screen of the smart password device, presses the button of the same position in the keyboard of the mobile terminal according to the position corresponding to the character displayed on the display screen of the smart password device, and the virtual keyboard generated by the smart password device The character sequence is randomly generated. Therefore, the characters of the buttons in the same position in the keyboard of the mobile terminal are generally different.
  • the screenshot The password or the password intercepted by the Trojan is not the user's real password, but other characters that match the character coordinates on the virtual keyboard, thus ensuring the security of the password input.
  • the password input information is all characters of the password, that is, the user completes the input of all the password characters on the mobile terminal.
  • the mobile terminal receives the password information input by the user through the button of the mobile terminal keyboard, and after receiving the password information, generates password transmission information, which is pressed in the keyboard of the mobile terminal. Key coordinate number.
  • the mobile terminal indicates which coordinate of the virtual keyboard is located by the smart password device password by transmitting the key coordinate number.
  • the mobile terminal presses the confirmation button to indicate that the password input is completed, thereby generating password transmission information.
  • the mobile terminal receives the password information input by the user as the entire character of the password by pressing the button of the mobile terminal keyboard to ensure that the password transmission is safe and complete.
  • Step S106 The mobile terminal sends the password transmission information to the smart cryptographic device through the transmission interface.
  • the mobile terminal sends the password transmission information to the smart password device through the transmission interface.
  • the mobile terminal converts the cryptographic transmission information into a wired transmission protocol and sends it to the smart cryptographic device, for example: when connecting through the audio interface, the mobile terminal modulates the cryptographic transmission information into an audio file, The audio interface of the mobile terminal is transmitted to the smart password device, and the smart password device parses the audio file based on the audio code interface technology to obtain the password transmission information; when connecting through the USB interface, the mobile terminal transmits the password transmission information to the smart password device through the USB transmission protocol.
  • the mobile terminal transmits the cryptographic transmission information to the smart cryptographic device through a wireless transmission protocol, for example: through a Bluetooth transmission protocol, an NFC protocol, an infrared protocol, an optical protocol, a 2G protocol, a 3G protocol, Transmission by means of WIFI protocol.
  • a wireless transmission protocol for example: through a Bluetooth transmission protocol, an NFC protocol, an infrared protocol, an optical protocol, a 2G protocol, a 3G protocol, Transmission by means of WIFI protocol.
  • the mobile terminal may also encrypt the password transmission information, obtain the encrypted password transmission information, and send the encrypted password transmission information to the smart password device through the transmission interface.
  • Step S107 The smart cryptographic device receives the password transmission information, and identifies a character allocated on the virtual keyboard corresponding to the key coordinates of the keyboard of the mobile terminal according to the key coordinate number of the keyboard of the mobile terminal;
  • the smart cryptographic device may identify the character allocated on the virtual keyboard corresponding to the key coordinates of the mobile terminal keyboard according to the key coordinate number of the mobile terminal in the received password transmission information. That is, the smart password device restores the password characters from its own virtual keyboard.
  • step S106 the smart password device receives the encrypted password transmission information, decrypts the encrypted password transmission information, and obtains the password transmission information.
  • Step S108 The smart cryptographic device obtains a password according to the recognized characters assigned on the virtual keyboard.
  • the password is obtained, thereby completing the process of sending the password to the smart cryptographic device through the mobile terminal.
  • the password input method of the present invention the user presses a button on the keyboard of the mobile terminal, and the mobile terminal transmits the coordinate number of the pressed button to the smart password device, and the smart password device receives the coordinate number, and according to the coordinate number Identifying characters on the virtual keyboard to obtain a password ensures the security of password transmission between the mobile terminal and the smart cryptographic device, thereby preventing attacks such as screen shots and intermediaries.
  • the characters assigned on the virtual keyboard displayed by the smart password device are randomly assigned, the characters on the virtual keyboard are different in key position each time, even if the pressed button of the mobile terminal is intercepted by the Trojan program or screenshotd by the screenshot software, What is leaked is only the key coordinates of the mobile terminal, and the real password cannot be obtained. At the same time, it can prevent violent cracking of character sorting on the virtual keyboard.
  • FIG. 2 is a schematic diagram showing the structure of the password input system according to the first embodiment of the present invention.
  • the password input system of the present invention adopts the method shown in FIG. 1, and details are not described herein again, and only the structure of the system is further described.
  • the password input system of the present invention includes - a smart cryptographic device 10 and a mobile terminal 20;
  • the smart cryptographic device 10 includes: a first receiving unit 101, a first generating unit 102, an allocating unit 103, a display unit 104, a second receiving unit 105, and an identifying unit 106;
  • the mobile terminal 20 includes: a third receiving unit 201, a second generating unit 202, and a transmitting unit 203;
  • the first receiving unit 201 is configured to receive a password input request instruction
  • the first generating unit 102 is configured to generate a virtual keyboard after the first receiving unit 201 receives the password input request instruction; wherein the key coordinates of the virtual keyboard are in one-to-one correspondence with the key coordinates of the mobile terminal keyboard;
  • the allocating unit 103 for randomly assigning characters required for the password to the virtual keyboard generated by the first generating unit 102 On the button;
  • a display unit 104 configured to display a virtual keyboard and characters assigned on the keys of the virtual keyboard
  • the third receiving unit 201 is configured to receive, by using a button of the mobile terminal keyboard, password information input by the user; the password information is input by: the user pressing the coordinates of the corresponding character on the button of the virtual keyboard displayed by the smart password device, pressing the mobile terminal
  • the keys of the same coordinates in the keyboard are used to input password information; wherein the password information in this embodiment is all characters of the password.
  • the second generating unit 202 is configured to generate, after the third receiving unit 201 receives the password information input by the user, the password transmission information, where the password transmission information is a pressed key coordinate number in the keyboard of the mobile terminal;
  • the transmitting unit 203 is configured to output the cryptographic transmission information generated by the second generating unit 202 through the transmission interface
  • the second receiving unit 105 is configured to receive the cryptographic transmission information output by the transmission unit 203 of the mobile terminal.
  • the first generating unit 102 can further include: an obtaining module 1021 and a generating module 1022; and an obtaining module 1021, configured to acquire virtual keyboard generating information.
  • the virtual keyboard generating information includes at least: a number of keys of the mobile terminal keyboard, a key arrangement manner, and coordinates of each key; and a generating module 1022, configured to generate a virtual keyboard according to the virtual keyboard generating information.
  • the obtaining module 1021 can also be used to obtain the keyboard type of the mobile terminal, according to the acquisition.
  • the keyboard type of the mobile terminal is obtained to obtain virtual keyboard generation information.
  • the transmission unit 203 may also be configured to encrypt the password transmission information, obtain the encrypted password transmission information, and send the encrypted password transmission information to the smart password device through the transmission interface;
  • the unit 105 is further configured to receive the encrypted password transmission information, decrypt the encrypted password transmission information, and obtain the password transmission information.
  • the password input system of the present invention the user presses a button on the keyboard of the mobile terminal, and the mobile terminal sends the coordinate number of the pressed button to the smart password device, and the smart password device receives the coordinate number, and according to the coordinate number Identifying characters on the virtual keyboard to obtain a password ensures the security of password transmission between the mobile terminal and the smart cryptographic device, thereby preventing attacks such as screen shots and intermediaries.
  • the characters assigned on the virtual keyboard displayed by the smart password device are randomly assigned, the characters on the virtual keyboard are different in position each time, even if the pressed button of the mobile terminal is intercepted by the Trojan program or screenshotd by the screenshot software. What is leaked is only the key coordinates of the mobile terminal, and the real password cannot be obtained. At the same time, it can prevent violent cracking of character sorting on the virtual keyboard.
  • the mobile terminal uses a numeric keypad to illustrate the specific implementation of the present invention:
  • the smart password device and the mobile terminal support a matrix point-to-point mode to input a password, thereby preventing attacks such as screen captures and intermediaries, as follows:
  • the mobile terminal keyboard is used as a key matrix, and each key corresponds to a unique coordinate, representing a unique number.
  • the smart password device generates the same virtual keyboard as the mobile terminal keyboard, but the numbers on the virtual keyboard generated by the smart password device are randomly arranged, and the mobile terminal keyboard converts the password (number) input by the user on the keyboard of the mobile terminal into The matrix coordinate number of the corresponding button (that is, the button pressed when the password is input), after receiving the coordinate number, the smart cryptographic device recognizes the character on the virtual keyboard according to the coordinate number, thereby obtaining the password.
  • This is equivalent to encrypting the original text of the password in the password transmission between the mobile terminal and the smart cryptographic device. That is to say, when the mobile terminal and the smart cryptographic device transmit the password, the number represented by the button pressed by the user is not directly transmitted and displayed, but the matrix coordinates corresponding to the pressed button are transmitted.
  • a corresponding mobile phone keyboard and a virtual keyboard array of ten numeric keys are displayed in a matrix form on the display screen of the smart cryptographic device.
  • the virtual keyboard has the same shape as the keyboard display of the mobile terminal, and each button corresponds to a unique one.
  • the coordinates represent a unique number.
  • the specific positions of the ten digits 0 to 9 displayed on the virtual keyboard are not arranged in the order of the numeric keypad of the mobile terminal, that is, the specific position of each digit on the virtual keyboard and the actual mobile terminal keyboard. The position corresponding to the number is different.
  • the number corresponding to the button of the same position changes every time the password is input, that is, the position of the corresponding button of the same number changes each time, thereby It can prevent brute force from cracking the virtual keyboard.
  • the number corresponding to the password is found on the virtual keyboard displayed on the display screen of the smart password device, remembering the position of the button corresponding to the number, pressing on the keyboard of the mobile terminal and just found The key of the same location on the analog keyboard of the smart cryptographic device, the password is entered.
  • the original text of the password input by the mobile terminal is converted into the matrix coordinate number of the button, and the smart cryptographic device identifies the coordinate number data of the button pressed by the user on the keyboard of the mobile terminal, and the smart cryptographic device obtains the random number according to the coordinate number.
  • the number corresponding to the corresponding button on the generated virtual keyboard, which is composed of these numbers, is the password entered by the user.
  • the user's password is "1234".
  • the analog keyboard randomly generated by the smart password device during this use is shown in Figure 3.
  • the key coordinate numbers of the password "1234" are: K10, KOI, K22, K20, and then the value of the button corresponding to these coordinates on the phone keypad is "4297", and the corresponding button on the phone keypad is "4297".
  • Complete password input, mobile phone The transmission interface transmits the coordinate numbers of the series to the smart cryptographic device, and the smart cryptographic device recognizes the coordinate numbers, and obtains the value corresponding to the coordinate number buttons as "1234", thereby obtaining the password.
  • the difference between the second embodiment and the first embodiment is that the smart cryptographic device randomly assigns at least the characters and command characters required for the password to the keys of the virtual keyboard, and the mobile terminal sequentially receives the cipher characters and/or the command characters input by the user. And sequentially transmitting the password transmission information to the smart password device through the transmission interface, the smart password device sequentially receives the password transmission information, and recognizes the password transmission information, and assigns the character on the virtual keyboard according to each recognition. Get the password.
  • Other processes are the same as those in Embodiment 1, and are not described herein again.
  • the mobile terminal sequentially transmits the characters to improve the character transmission speed, and when the user inputs the password error, the smart cryptographic device can recognize the cancellation instruction information to cancel the input of the erroneous password characters.
  • the command character may also contain any command information such as the confirmation command information.
  • the password input method of the present invention includes:
  • Step S401 The smart cryptographic device receives a password input request instruction.
  • Step S402 After receiving the password input request instruction, the smart cryptographic device generates a virtual keyboard; wherein, the key coordinates of the virtual keyboard and the key coordinates of the mobile terminal keyboard are in one-to-one correspondence;
  • Step S403 The smart cryptographic device randomly allocates a character set including at least a password character and an instruction character on a button of the virtual keyboard;
  • Step S404 the smart cryptographic device displays the virtual keyboard and the character set allocated on the button of the virtual keyboard; in step S405, the mobile terminal sequentially receives the password characters and/or the command characters input by the user through the keys of the mobile terminal keyboard, and each time received After a password character and/or an instruction character, a password transmission information is generated; wherein the password character and/or the instruction character are input as follows: the user presses the coordinate of the corresponding character on the key of the virtual keyboard displayed by the smart password device. a button of the same coordinates in the keyboard of the mobile terminal to input a password character and/or an instruction character; the password transmission information is a coordinate number of the button pressed in the keyboard of the mobile terminal;
  • Step S406 the mobile terminal sends the password transmission information to the smart cryptographic device through the transmission interface in sequence; step S407, the smart cryptographic device sequentially receives the cryptographic transmission information, and according to the received movement after each receiving the cryptographic transmission information
  • the key coordinate number of the terminal keyboard is identified corresponding to the key coordinates of the mobile terminal keyboard
  • Step S408 The smart cryptographic device obtains a password according to each recognized character assigned on the virtual keyboard. It can be seen that, by the password input method of the present invention, the user presses a button on the keyboard of the mobile terminal, and the mobile terminal transmits the coordinate number of the pressed button to the smart password device, and the smart password device receives the coordinate number, and according to the coordinate number Identifying characters on the virtual keyboard to obtain a password ensures the security of password transmission between the mobile terminal and the smart cryptographic device, thereby preventing attacks such as screen shots and intermediaries.
  • the characters assigned on the virtual keyboard displayed by the smart password device are randomly assigned, the characters on the virtual keyboard are different in key position each time, even if the pressed button of the mobile terminal is intercepted by the Trojan program or screenshotd by the screenshot software, What is leaked is only the key coordinates of the mobile terminal, and the real password cannot be obtained. At the same time, it can prevent violent cracking of character sorting on the virtual keyboard.
  • the cryptographic transmission system in this embodiment has the same architecture as that of the first embodiment.
  • the method of the embodiment is the same as that of the embodiment 1 and will not be described again.
  • the difference between the third embodiment and the first embodiment is that the smart cryptographic device randomly assigns characters and instruction characters required for at least the password to the keys of the virtual keyboard, and the mobile terminal sequentially receives the cipher characters and/or the command characters input by the user.
  • the password transmission information is sent to the smart password device through the transmission interface in turn, and after receiving the password transmission information, the smart password device identifies all the password transmission information, thereby obtaining the password.
  • the other processes are the same as those in Embodiment 1, and are not described here.
  • the mobile terminal sequentially transmits the characters to improve the character transmission speed, and all of them are recognized and recognized to improve the recognition speed.
  • the smart password device can recognize the cancellation instruction information to cancel the input error.
  • Password character may also contain any command information such as the confirmation command information.
  • the password input method of the present invention includes:
  • Step S501 The smart cryptographic device receives a password input request instruction.
  • Step S502 After receiving the password input request instruction, the smart cryptographic device generates a virtual keyboard; wherein, the key coordinates of the virtual keyboard and the key coordinates of the mobile terminal keyboard are in one-to-one correspondence;
  • Step S503 The smart cryptographic device randomly allocates a character set including at least a password character and an instruction character on a button of the virtual keyboard;
  • Step S504 the smart cryptographic device displays the virtual keyboard and the character set allocated on the button of the virtual keyboard; in step S505, the mobile terminal sequentially receives the password characters and/or the command characters input by the user through the keys of the mobile terminal keyboard, and each time received After a password character and/or an instruction character, a password transmission information is generated; wherein the password character and/or the instruction character are input as follows: the key of the virtual keyboard displayed by the user according to the smart password device The coordinates of the corresponding characters are pressed by the keys of the same coordinates in the keyboard of the mobile terminal to input the password characters and/or the command characters; the password transmission information is the coordinate number of the pressed button in the keyboard of the mobile terminal;
  • Step S506 the mobile terminal sends the password transmission information to the smart password device through the transmission interface in sequence; in step S507, the smart password device sequentially receives the password transmission information, and after the password transmission information is completely received, is identified according to the key coordinate number of the keyboard of the mobile terminal. a character assigned to the virtual keyboard corresponding to the key coordinates of the mobile terminal keyboard;
  • Step S508 the smart cryptographic device obtains a password according to the recognized characters assigned on the virtual keyboard.
  • the password input method of the present invention the user presses a button on the keyboard of the mobile terminal, and the mobile terminal transmits the coordinate number of the pressed button to the smart password device, and the smart password device receives the coordinate number, and according to the coordinate number Identifying characters on the virtual keyboard to obtain a password ensures the security of password transmission between the mobile terminal and the smart cryptographic device, thereby preventing attacks such as screen shots and intermediaries.
  • the characters assigned on the virtual keyboard displayed by the smart password device are randomly assigned, the characters on the virtual keyboard are different in key position each time, even if the pressed button of the mobile terminal is intercepted by the Trojan program or screenshotd by the screenshot software, What is leaked is only the key coordinates of the mobile terminal, and the real password cannot be obtained. At the same time, it can prevent violent cracking of character sorting on the virtual keyboard.
  • the cryptographic transmission system in this embodiment is the same as that of the first embodiment, and the method of the embodiment is implemented in the same manner as the first embodiment, and details are not described herein again.
  • the difference between the fourth embodiment and the first embodiment is that the smart cryptographic device randomly allocates characters and instruction characters required for at least the password to the keys of the virtual keyboard, and the mobile terminal sequentially receives the password characters and/or the command characters input by the user. And sequentially transmitting the password transmission information to the smart password device through the transmission interface, the smart password device sequentially receives the password transmission information, and recognizes the password transmission information, and assigns the character on the virtual keyboard according to each recognition. Get the password.
  • Other processes are the same as those in Embodiment 1, and are not described herein again.
  • the mobile terminal sequentially transmits the characters to improve the character transmission speed, and when the user inputs the password error, the smart cryptographic device can recognize the cancellation instruction information to cancel the input of the erroneous password characters.
  • the command character may also contain any command information such as the confirmation command information.
  • Step S601 The smart cryptographic device receives a password input request instruction.
  • Step S602 After receiving the password input request instruction, the smart cryptographic device generates a virtual keyboard; wherein, the key coordinates of the virtual keyboard and the key coordinates of the mobile terminal keyboard are in one-to-one correspondence;
  • Step S603 the smart cryptographic device randomly assigns a character set containing at least a password character and an instruction character to the virtual key. On the button of the disc;
  • Step S604 the smart cryptographic device displays the virtual keyboard and the character set allocated on the button of the virtual keyboard; in step S605, the mobile terminal sequentially receives the password character and/or the command character input by the user through the button of the mobile terminal keyboard, and receives the password.
  • the password transmission information is generated; wherein the password characters and/or the command characters are input as follows: the user presses the coordinates of the corresponding characters on the keys of the virtual keyboard displayed by the smart password device and presses the keyboard of the mobile terminal Keys of the same coordinates, to input password characters and/or command characters; password transmission information is the coordinate number of the pressed button in the keyboard of the mobile terminal;
  • Step S606 the mobile terminal sends the password transmission information to the smart cryptographic device through the transmission interface in sequence; step S607, the smart cryptographic device sequentially receives the cryptographic transmission information, and according to the received movement after each receiving the cryptographic transmission information
  • the key coordinate number of the terminal keyboard identifies a character assigned to the virtual keyboard corresponding to the key coordinates of the mobile terminal keyboard;
  • Step S608 The smart cryptographic device obtains a password according to each recognized character assigned on the virtual keyboard. It can be seen that, by the password input method of the present invention, the user presses a button on the keyboard of the mobile terminal, and the mobile terminal transmits the coordinate number of the pressed button to the smart password device, and the smart password device receives the coordinate number, and according to the coordinate number Identifying characters on the virtual keyboard to obtain a password ensures the security of password transmission between the mobile terminal and the smart cryptographic device, thereby preventing attacks such as screen shots and intermediaries.
  • the characters assigned on the virtual keyboard displayed by the smart password device are randomly assigned, the characters on the virtual keyboard are different in key position each time, even if the pressed button of the mobile terminal is intercepted by the Trojan program or screenshotd by the screenshot software, What is leaked is only the key coordinates of the mobile terminal, and the real password cannot be obtained. At the same time, it can prevent violent cracking of character sorting on the virtual keyboard.
  • the cryptographic transmission system in this embodiment is the same as that of the first embodiment, and the method of the embodiment is implemented in the same manner as the first embodiment, and details are not described herein again.
  • the difference between the embodiment 5 and the embodiment 1 is that the smart cryptographic device randomly allocates characters and instruction characters required for at least the password to the keys of the virtual keyboard, and the mobile terminal sequentially receives the password characters and/or the command characters input by the user.
  • the password transmission information is sent to the smart password device through the transmission interface in turn, and after receiving the password transmission information, the smart password device identifies all the password transmission information, thereby obtaining the password.
  • the other processes are the same as those in Embodiment 1, and are not described here.
  • the mobile terminal sequentially transmits the characters to improve the character transmission speed, and all of them are recognized and recognized to improve the recognition speed.
  • the smart password device can recognize the cancellation instruction information to cancel the input error.
  • Password character Of course, the command character may also contain any command information such as the confirmation command information.
  • the password input method of this embodiment includes:
  • Step S701 The smart cryptographic device receives a password input request instruction.
  • Step S702 After receiving the password input request instruction, the smart cryptographic device generates a virtual keyboard; wherein, the key coordinates of the virtual keyboard and the key coordinates of the mobile terminal keyboard are in one-to-one correspondence;
  • Step S703 The smart cryptographic device randomly allocates a character set including at least a password character and an instruction character on a button of the virtual keyboard;
  • Step S704 the smart cryptographic device displays the virtual keyboard and the character set allocated on the button of the virtual keyboard.
  • Step S705 The mobile terminal sequentially receives the password character and/or the command character input by the user through the button of the mobile terminal keyboard, and receives the password. After the characters and/or the command characters, the password transmission information is generated; wherein the password characters and/or the command characters are input as follows: the user presses the keyboard of the mobile terminal according to the coordinates of the corresponding characters on the keys of the virtual keyboard displayed by the smart password device. a key of the same coordinate to input a password character and/or an instruction character; the password transmission information is a key coordinate number of the pressed key in the keyboard of the mobile terminal;
  • Step S706 the mobile terminal sends the password transmission information to the smart password device through the transmission interface in sequence; in step S707, the smart password device sequentially receives the password transmission information, and after the password transmission information is completely received, is identified according to the key coordinate number of the keyboard of the mobile terminal. a character assigned to the virtual keyboard corresponding to the key coordinates of the mobile terminal keyboard;
  • Step S708 The smart cryptographic device obtains a password according to the recognized character assigned on the virtual keyboard.
  • the password input method of the present invention the user presses a button on the keyboard of the mobile terminal, and the mobile terminal transmits the coordinate number of the pressed button to the smart password device, and the smart password device receives the coordinate number, and according to the coordinate number Identifying characters on the virtual keyboard to obtain a password ensures the security of password transmission between the mobile terminal and the smart cryptographic device, thereby preventing attacks such as screen shots and intermediaries.
  • the characters assigned on the virtual keyboard displayed by the smart password device are randomly assigned, the characters on the virtual keyboard are different in key position each time, even if the pressed button of the mobile terminal is intercepted by the Trojan program or screenshotd by the screenshot software, What is leaked is only the key coordinates of the mobile terminal, and the real password cannot be obtained. At the same time, it can prevent violent cracking of character sorting on the virtual keyboard.
  • the cryptographic transmission system in this embodiment is the same as that of the first embodiment, and the method of the embodiment is implemented in the same manner as the first embodiment, and details are not described herein again.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • a plurality of steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented with any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may also be stored in a computer readable storage medium.
  • the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the description of the terms “one embodiment”, “some embodiments”, “example”, “specific example”, or “some examples” and the like means a specific feature described in connection with the embodiment or example.
  • a structure, material or feature is included in at least one embodiment or example of the invention.
  • the schematic representation of the above terms does not necessarily mean the same embodiment or example.
  • the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Input From Keyboards Or The Like (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

提供一种密码输入方法和***,方法包括:智能密码设备在接收到密码输入请求指令后,生成虚拟键盘,智能密码设备将密码所需的字符随机分配在虚拟键盘的按键上,显示虚拟键盘以及分配在虚拟键盘的按键上的字符,移动终端通过移动终端键盘的按键接收用户输入的密码信息,并在接收到密码信息后,生成密码传输信息,将密码传输信息通过传输接口发送至智能密码设备,智能密码设备接收密码传输信息,根据移动终端键盘的按键坐标号识别与移动终端键盘的按键坐标对应的分配在虚拟键盘上的字符获得密码。

Description

一种密码输入方法和***
技术领域
本发明涉及移动支付领域, 尤其涉及一种密码输入方法和***。
背景技术
现有的手机银行交易时, 手机银行***将手机上传的交易要素等交易信息通过手机的 传输接口下传到智能密码设备, 智能密码设备解析接收到的信息, 并将解析得到的信息显 示在智能密码设备的显示屏上, 用户复核信息真实后在手机上输入交易码, 提交后即完成 交易。 从而完成移动支付中智能密码设备的 OTP (动态密码) 和 /或交易签名等安全功能。 当然, 智能密码设备如果要核实用户身份, 则在完成交易之间还需要用户输入 PIN码, 智 能密码设备将用户输入的 PIN码与本地保存的 PIN码进行比较, 如果一致则认为智能密码 设备的使用者的身份合法。
但是, 手机支付给用户带来便利的同时, 也由于手机所特有的一些功能特点而使得在 用户手动输入密码的过程中存在一定的密码泄露的安全隐患。 目前有很多手机安装有手机 屏幕截图软件, 在密码输入过程中如果手机被截图盗取, 那么屏幕上显示的该输入密码即 存在被泄露的途径; 或者手机被植入木马等程序, 造成用户输入的密码的泄露; 另外, 密 码数据原文在智能密码设备与手机等移动设备的传输过程中也存在被盗取的可能。 发明内容
本发明旨在解决用户通过手机等移动终端手动输入密码的过程中产生密码泄露安全隐 患的问题。
本发明的主要目的在于提供一种密码输入方法。
本发明的另一目的在于提供一种密码输入***。
本发明的再一目的在于提供一种密码输入方法。
本发明的又一目的在于提供一种密码输入方法。
为达到上述目的, 本发明的技术方案具体是这样实现的:
本发明一方面提供了一种密码输入方法, 包括: 智能密码设备接收密码输入请求指令; 所述智能密码设备在接收到所述密码输入请求指令后, 生成虚拟键盘; 其中, 所述虚拟键 盘的按键坐标与移动终端键盘的按键坐标一一对应; 所述智能密码设备将至少包含密码所 需的字符随机分配在所述虚拟键盘的按键上; 所述智能密码设备显示所述虚拟键盘以及分 配在所述虚拟键盘的按键上的所述字符; 移动终端通过所述移动终端键盘的按键接收用户 输入的密码信息, 并在接收到所述密码信息后, 生成密码传输信息; 其中, 所述密码信息 通过如下方式输入: 用户按照所述智能密码设备显示的所述虚拟键盘的按键上对应的字符 的坐标按下所述移动终端键盘中相同坐标的按键, 以输入所述密码信息; 所述密码传输信 息为所述移动终端键盘中被按下的按键坐标号; 所述移动终端将所述密码传输信息通过传 输接口发送至所述智能密码设备; 所述智能密码设备接收所述密码传输信息, 根据所述移 动终端键盘的按键坐标号识别与所述移动终端键盘的按键坐标对应的分配在所述虚拟键盘 上的所述字符; 所述智能密码设备根据识别出的分配在所述虚拟键盘上的所述字符获得密 码。
此外, 所述智能密码设备生成所述虚拟键盘的步骤包括: 所述智能密码设备获取虚拟 键盘生成信息; 其中, 所述虚拟键盘生成信息至少包括: 所述移动终端键盘的按键数量、 按键排布方式以及每个按键的坐标; 所述智能密码设备根据所述虚拟键盘生成信息生成所 述虚拟键盘。
此外, 所述智能密码设备获取虚拟键盘生成信息的步骤包括: 所述智能密码设备获取 所述移动终端的键盘类型; 所述智能密码设备根据获取到的所述移动终端的键盘类型获取 所述虚拟键盘生成信息。
此外, 所述移动终端将所述密码传输信息通过传输接口发送至所述智能密码设备的歩 骤包括: 所述移动终端将所述密码传输信息进行加密, 获得加密密码传输信息, 并将所述 加密密码传输信息通过所述传输接口发送至所述智能密码设备。
此外, 所述智能密码设备接收所述密码传输信息的步骤包括: 所述智能密码设备接收 所述加密密码传输信息, 对所述加密密码传输信息进行解密, 获得所述密码传输信息。
本发明另一方面提供了一种密码输入***, 包括: 智能密码设备和移动终端,, 所述 智能密码设备包括: 第一接收单元, 用于接收密码输入请求指令; 第一生成单元, 用于 在所述第一接收单元接收到所述密码输入请求指令后, 生成虚拟键盘, 其中, 所述虚拟 键盘的按键坐标与移动终端键盘的按键坐标一一对应; 分配单元, 用于将至少包含密码 所需的字符随机分配在所述虚拟键盘的按键上; 显示单元, 用于显示所述虚拟键盘以及 分配在所述虚拟键盘的按键上的字符; 第二接收单元; 以及识别单元, 所述移动终端包 括: 第三接收单元, 用于通过所述移动终端键盘的按键接收用户输入的密码信息; 所述 密码信息通过如下方式输入: 用户按照所述智能密码设备显示的所述虚拟键盘的按键上 对应的字符的坐标按下所述移动终端的键盘中相同坐标的按键, 以输入密码信息; 第二 生成单元, 用于在所述第三接收单元接收到用户输入的所述密码信息后, 生成密码传输 信息; 其中, 所述密码传输信息为所述移动终端键盘中被按下的按键坐标号; 以及传输 单元; 用于将所述第二生成单元生成的密码传输信息通过传输接口进行输出; 其中, 所 述第二接收单元, 用于接收所述传输单元输出的所述密码传输信息; 所述识别单元, 用 于在所述第二接收单元接收到所述密码传输信息后, 根据所述移动终端键盘的按键坐标 号识别与所述移动终端键盘的按键坐标对应的分配在所述虚拟键盘上的字符, 并根据识 别出的分配在所述虚拟键盘上的字符获得密码。
此外, 所述第一生成单元包括: 获取模块以及生成模块; 所述获取模块, 用于获取虚 拟键盘生成信息; 其中, 所述虚拟键盘生成信息至少包括: 所述移动终端键盘的按键数量、 按键排布方式以及每个按键的坐标; 所述生成模块, 用于根据所述虚拟键盘生成信息生成 所述虚拟键盘。
此外, 所述获取模块还用于获取所述移动终端的键盘类型, 根据获取到的所述移动终 端的键盘类型获取所述虚拟键盘生成信息。
此外, 所述传输单元还用于将所述密码传输信息进行加密, 获得加密密码传输信息, 并将加密密码传输信息通过传输接口发送至所述智能密码设备; 所述第二接收单元还用于 接收所述加密密码传输信息, 对所述加密密码传输信息进行解密, 获得所述密码传输信息。
本发明再一方面提供了一种密码输入方法, 包括: 智能密码设备接收密码输入请求指 令; 所述智能密码设备在接收到所述密码输入请求指令后, 生成虚拟键盘, 其中, 所述虚 拟键盘的按键坐标与移动终端键盘的按键坐标一一对应; 所述智能密码设备将至少包含密 码字符及指令字符的字符集随机分配在所述虚拟键盘的按键上; 所述智能密码设备显示所 述虚拟键盘以及分配在所述虚拟键盘的按键上的所述字符集; 移动终端通过所述移动终端 键盘的按键依次接收用户输入的所述密码字符和 /或所述指令字符, 并在每接收到一个所述 密码字符和 /或一个所述指令字符后, 生成一个密码传输信息; 其中, 所述密码字符和 /或所 述指令字符通过如下方式输入: 用户按照所述智能密码设备显示的所述虚拟键盘的按键上 对应的字符的坐标按下所述移动终端键盘中相同坐标的按键, 以输入所述密码字符和 /或所 述指令字符; 所述密码传输信息为所述移动终端键盘中被按下的按键坐标号; 所述移动终 端将所述密码传输信息依次通过传输接口发送至所述智能密码设备; 所述智能密码设备依 次接收所述密码传输信息, 并在每接收到一个所述密码传输信息后根据本次所接收的所述 移动终端键盘的按键坐标号识别与所述移动终端键盘的按键坐标对应的分配在所述虚拟键 盘上的字符; 所述智能密码设备根据每次识别出的分配在所述虚拟键盘上的所述字符获得 密码。
此外, 所述智能密码设备根据所述指令字符执行相应操作。
此外, 所述指令字符包括确认指令消息、 取消指令消息。
此外, 所述智能密码设备生成所述虚拟键盘的步骤包括: 所述智能密码设备获取虚拟 键盘生成信息; 其中, 所述虚拟键盘生成信息至少包括: 所述移动终端键盘的按键数量、 按键排布方式以及每个按键的坐标; 所述智能密码设备根据所述虚拟键盘生成信息生成所 述虚拟键盘。
此外, 所述智能密码设备获取虚拟键盘生成信息的步骤包括: 所述智能密码设备获取 所述移动终端的键盘类型; 所述智能密码设备根据获取到的所述移动终端的键盘类型获取 所述虚拟键盘生成信息。
本发明又一方面提供了一种密码输入方法, 包括: 智能密码设备接收密码输入请求指 令; 所述智能密码设备在接收到所述密码输入请求指令后, 生成虚拟键盘, 其中, 所述虚 拟键盘的按键坐标与移动终端键盘的按键坐标一一对应; 所述智能密码设备将至少包含密 码字符及指令字符的字符集随机分配在所述虚拟键盘的按键上; 所述智能密码设备显示所 述虚拟键盘以及分配在所述虚拟键盘的按键上的所述字符集; 移动终端通过所述移动终端 键盘的按键依次接收用户输入的所述密码字符和 /或所述指令字符, 并在每接收到一个所述 密码字符和 /或一个所述指令字符后, 生成一个密码传输信息; 其中, 所述密码字符和 /或所 述指令字符通过如下方式输入: 用户按照所述智能密码设备显示的所述虚拟键盘的按键上 对应的字符的坐标按下所述移动终端键盘中相同坐标的按键, 以输入所述密码字符和 /或所 述指令字符; 所述密码传输信息为所述移动终端键盘中被按下的按键坐标号; 所述移动终 端将所述密码传输信息依次通过传输接口发送至所述智能密码设备; 所述智能密码设备依 次接收所述密码传输信息, 并在所述密码传输信息全部接收完毕后, 根据所述移动终端键 盘的按键坐标号识别与所述移动终端键盘的按键坐标对应的分配在所述虚拟键盘上的字 符; 所述智能密码设备根据所有识别出的分配在所述虚拟键盘上的所述字符获得密码。
此外, 所述智能密码设备根据所述指令字符执行相应操作。
此外, 所述指令字符包括确认指令消息、 取消指令消息。
此外, 所述智能密码设备生成所述虚拟键盘的步骤包括: 所述智能密码设备获取虚拟 键盘生成信息; 其中, 所述虚拟键盘生成信息至少包括: 所述移动终端键盘的按键数量、 按键排布方式以及每个按键的坐标; 所述智能密码设备根据所述虚拟键盘生成信息生成所 述虚拟键盘。 此外, 所述智能密码设备获取虚拟键盘生成信息的步骤包括: 所述智能密码设备获取 所述移动终端的键盘类型; 所述智能密码设备根据获取到的所述移动终端的键盘类型获取 所述虚拟键盘生成信息。
由上述本发明提供的技术方案可以看出,本发明提供的密码输入方法和密码输入***, 用户在移动终端的键盘按下按键,移动终端将被按下的按键的坐标号发送至智能密码设备, 智能密码设备接收坐标号, 并根据坐标号识别虚拟键盘上的字符从而获得密码, 保证了移 动终端与智能密码设备的之间密码传输的安全性, 从而防止截屏、 中间人等攻击。 附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例描述中所需要使用的附 图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领 域的普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他附 图。
图 1为本发明实施例 1提供的密码输入方法流程图;
图 2为本发明实施例 1提供的密码输入***结构示意图;
图 3为本发明实施例 1提供的键盘示意图;
图 4为本发明实施例 2提供的密码输入方法流程图;
图 5为本发明实施例 3提供的密码输入方法流程图。 具体实施方式
下面结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发 明的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例, 都属于本发明的保护范围。
在本发明的描述中, 需要理解的是, 术语"中心"、 "纵向"、 "横向"、 "上"、 "下"、 "前"、
"后"、 "左"、 "右"、 "竖直"、 "水平"、 "顶"、 "底"、 "内"、 "外"等指示的方位或位置关系为 基于附图所示的方位或位置关系, 仅是为了便于描述本发明和简化描述, 而不是指示或暗 示所指的装置或元件必须具有特定的方位、 以特定的方位构造和操作, 因此不能理解为对 本发明的限制。 此外, 术语"第一"、 "第二 "仅用于描述目的, 而不能理解为指示或暗示相 对重要性或数量或位置。
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语"安装"、"相连"、 "连接 "应做广义理解, 例如, 可以是固定连接, 也可以是可拆卸连接, 或一体地连接; 可 以是机械连接, 也可以是电连接; 可以是直接相连, 也可以通过中间媒介间接相连, 可以 是两个元件内部的连通。 对于本领域的普通技术人员而言, 可以具体情况理解上述术语在 本发明中的具体含义。
下面将结合附图对本发明实施例作进一步地详细描述。
实施例 1
图 1出示了本发明实施例 1的密码输入方法流程图, 参见图 1, 本发明的密码输入方 法包括:
步骤 S101 , 智能密码设备接收密码输入请求指令;
具体的, 本发明的智能密码设备可以仅包括动态密码生成功能, 或者仅包括电子签名 功能, 还可以包括动态密码生成功能和电子签名功能双重功能。 动态密码生成功能即是现 有的动态口令牌的功能, 用于生成动态密码等; 电子签名功能即是现有的电子签名工具、 智能密钥设备等的功能, 用于电子签名等。
本发明的智能密码设备可以为仅带有确定、 取消、 上翻页、 下翻页等基本操作按键的 设备, 并不包含字符键盘, 这样可以减小智能密码设备的体积, 为本发明优选的设备。 其 中, 字符可以为数字、 字母、 特殊字符等任意形式的字符。 当然, 本发明并不局限于此, 本发明的智能密码设备也可以包含除了基本操作按键之外字符键盘。
此外, 在执行本发明的密码输入方法之前, 智能密码设备需要与移动终端进行连接, 其连接可以为有线连接, 也可以为无线连接。 有线连接是可以采用音频接口、 USB接口等 移动终端上设置的任意接口; 无线连接可以采用蓝牙、 NFC、 红外、 光、 2G、 3G、 WIFI 等任意方式连接。 只要能令智能密码设备与移动之间可以执行通信的连接均属于本发明的 保护范围。
具体的, 在本步骤中, 智能密码设备接收密码输入请求指令, 该密码输入请求指令可 以是用户在移动终端上操作的指令, 也可以是用户在智能密码设备上操作的指令, 用于指 示智能密码设备做出接收密码的准备。 当然, 在智能密码设备接收密码输入请求指令时, 移动终端己经做好密码输入准备, 例如: 移动终端界面上己经显示了请输入密码的对话框 以及密码输入框, 以便用户在移动终端上进行密码输入。
步骤 S102, 智能密码设备在接收到密码输入请求指令后, 生成虚拟键盘; 其中, 虚拟 键盘的按键坐标与移动终端键盘的按键坐标一一对应;
具体的, 移动终端的键盘可以是硬件键盘, 例如: 设置在移动终端壳体上的按键键盘; 也可以是软件键盘, 例如: 触屏移动终端所采用的输入法的键盘; 智能密码设备可以生成 一个与移动终端键盘相同的虚拟键盘, 该虚拟键盘由于与移动终端的键盘相同, 因此, 虚 拟键盘按键的数量、 按键的位置排布等均与移动终端相同。
此外, 为了保证智能密码设备可以正确的生成与移动终端键盘相同的虚拟键盘, 智能 密码设备还可以获取虚拟键盘生成信息; 其中, 虚拟键盘生成信息至少包括: 移动终端键 盘的按键数量、 按键排布方式以及每个按键的坐标。 智能密码设备通过获取虚拟键盘生成 信息, 从而知晓移动终端键盘为何种键盘, 从而生成与移动终端键盘相同的虚拟键盘。
另外, 为了使得智能密码设备更清楚的知晓移动终端的键盘为何种键盘, 智能密码设 备还可以获取移动终端的键盘类型, 并根据获取到的移动终端的键盘类型获取虚拟键盘生 成信息, 从而根据虚拟键盘生成信息生成虚拟键盘。 例如, 如果移动终端的键盘为软件键 盘, 则移动终端的键盘可能为包含字母的键盘, 按键数量较多, 如果移动终端的键盘为硬 件键盘, 则移动终端的键盘基本上仅包含数字的键盘, 按键数量较少。 而智能密码设备为 了提高生成的虚拟键盘的正确性, 可以预先获取移动终端键盘的类型。
当然, 本发明的虚拟键盘为了方便用户查看和使用, 可以采用矩阵式键盘。
步骤 S103 , 智能密码设备将至少包含密码所需的字符随机分配在虚拟键盘的按键上; 具体的, 为了防止用户在移动终端上输入的密码泄露, 智能密码设备生成的虚拟键盘 的字符需要与移动终端上对应位置的字符不同。 此时, 智能密码设备可以将密码所需的字 符随机分配在虚拟键盘的每个按键上。 例如: 移动终端的键盘为字母和数字混合键盘, 密 码所需的字符为数字字符, 此时, 如果密码为 6个数字, 那么可以将这 6个数字字符随机 分配在与移动终端键盘相同的虚拟键盘上,也可以将 0至 9的 10个数字字符随机分配在与 移动终端键盘相同的虚拟键盘上,还可以将 0至 9的 10个数字字符与其他字母字符一起随 机分配在与移动终端键盘相同的虚拟键盘上。 当然, 密码所需的字符也可以为字母字符, 此时, 将密码所需的全部字母字符随机分配在虚拟键盘中, 或者将包含密码所需的全部字 母字符和其他字母字符随机分配在虚拟键盘中, 或者将全部字母字符随机分配在虚拟键盘 中, 或者将字母字符和数字字符混合分配在虚拟键盘中。 基于此, 除了持有智能密码设备 的用户可以知晓密码原文外, 无论是移动终端的截图软件, 还是木马程序, 均无法获知密 码原文。
当然, 智能密码设备还可以将移动终端键盘上每个按键对应的字符随机分配在虚拟键 盘的每个按键上, 即打乱移动终端键盘上的字符顺序, 此时, 虚拟键盘与移动终端键盘除 了字符顺序不同外, 完全一致。 例如: 移动终端仅为数字字符键盘, 此时, 智能密码设备 也仅将数字字符随机打乱顺序分配在虚拟键盘上。
步骤 S104, 智能密码设备显示虚拟键盘以及分配在虚拟键盘的按键上的字符; 具体的, 智能密码设备将分配好字符的虚拟键盘显示在智能密码设备的显示屏上, 以 便用户从智能密码设备的显示屏上查看密码所需字符以及字符对应的按键位置。
步骤 S105, 移动终端通过移动终端键盘的按键接收用户输入的密码信息, 并在接收到 密码信息后, 生成密码传输信息; 其中, 密码信息通过如下方式输入: 用户按照智能密码 设备显示的虚拟键盘的按键上对应的字符的坐标按下移动终端的键盘中相同坐标的按键, 以输入密码信息; 密码传输信息为移动终端键盘中被按下的按键坐标号;
具体的, 用户通过如下方式输入密码信息: 用户按照智能密码设备显示的虚拟键盘的 按键上对应的字符的坐标按下移动终端的键盘中相同坐标的按键, 以输入密码信息。 即用 户在智能密码设备的显示屏上查看密码所需字符, 根据显示在智能密码设备的显示屏上字 符对应的位置按下移动终端键盘中相同位置的按键, 而由于智能密码设备生成的虚拟键盘 的字符顺序是随机生成的, 因此, 一般与移动终端键盘中相同位置的按键的字符是不同的, 此时, 用户在移动终端上输入密码时, 即便移动终端被截图或者被木马程序控制, 截图的 密码或者木马程序截取的密码也不是用户真正的密码, 而是与虚拟键盘上字符坐标一致的 其他字符, 从而保证了密码输入的安全性。
此外, 本实施例中, 密码输入信息为密码的全部字符, 即用户在移动终端上完成全部 密码字符的输入。 在用户通过上述方式进行密码输入后, 移动终端通过移动终端键盘的按 键接收用户输入的密码信息, 并在接收到密码信息后, 生成密码传输信息, 该密码传输信 息为移动终端键盘中被按下的按键坐标号。 此时, 移动终端通过传输按键坐标号来指示智 能密码设备密码位于虚拟键盘的哪个坐标。 本实施例中, 移动终端接收用户输入的密码信 息后, 按下确认按键, 以指示密码输入完毕, 从而生成密码传输信息。 移动终端通过移动 终端键盘的按键接收用户输入的密码信息为密码的全部字符可以保证密码传输安全且完 整。
步骤 S106, 移动终端将密码传输信息通过传输接口发送至智能密码设备;
具体的, 移动终端将密码传输信息通过传输接口发送至智能密码设备。 如果智能密码 设备与移动终为有线连接时, 移动终端将密码传输信息转换为有线传输协议发送至智能密 码设备, 例如: 通过音频接口进行连接时, 移动终端将密码传输信息调制成音频文件, 通 过移动终端音频接口下传到智能密码设备, 智能密码设备基于音码接口技术解析音频文件 获得密码传输信息; 通过 USB接口进行连接时, 移动终端通过 USB传输协议将密码传输 信息发送至智能密码设备。 如果智能密码设备与移动终端为无线连接时, 移动终端将密码 传输信息通过无线传输协议发送至智能密码设备, 例如: 通过蓝牙传输协议、 NFC协议、 红外协议、 光协议、 2G协议、 3G协议、 WIFI协议等方式进行传输。 此外, 为了提高密码传输信息传输的安全性, 移动终端还可以将密码传输信息进行加 密, 获得加密密码传输信息, 并将加密密码传输信息通过传输接口发送至智能密码设备。
步骤 S107, 智能密码设备接收密码传输信息, 根据移动终端键盘的按键坐标号识别与 移动终端键盘的按键坐标对应的分配在虚拟键盘上的字符;
具体的, 智能密码设备接收到密码传输信息后, 可以根据接收到的密码传输信息中的 移动终端的按键坐标号识别与移动终端键盘的按键坐标对应的分配在虚拟键盘上的字符。 即智能密码设备从自身的虚拟键盘中还原密码字符。
如果步骤 S106中移动终端将密码传输信息进行加密,那么本步骤中,智能密码设备则 接收加密密码传输信息, 对加密密码传输信息进行解密, 获得密码传输信息。
步骤 S108, 智能密码设备根据识别出的分配在虚拟键盘上的字符获得密码。
具体的, 智能密码设备还原虚拟键盘上的字符后, 获得密码, 从而完成了通过移动终 端向智能密码设备发送密码的过程。
由此可见, 通过本发明的密码输入方法, 用户在移动终端的键盘按下按键, 移动终端 将被按下的按键的坐标号发送至智能密码设备, 智能密码设备接收坐标号, 并根据坐标号 识别虚拟键盘上的字符从而获得密码, 保证了移动终端与智能密码设备的之间密码传输的 安全性, 从而防止截屏、 中间人等攻击。
由于智能密码设备显示的虚拟键盘上分配的字符是随机分配的, 虚拟键盘上的字符每 次的按键位置不同,即便移动终端每次被按下的按键被木马程序截取或者被截图软件截图, 被泄露的也仅是移动终端的按键坐标, 无法得到真实的密码, 同时还可以防止暴力破解虚 拟键盘上的字符排序。
图 2出示了本发明实施例 1的密码输入***的结构示意图, 本发明的密码输入***采 用如图 1所示的方法, 在此不再赘述, 仅对该***的结构进行进一步说明。 参见图 2, 本 发明的密码输入***包括- 智能密码设备 10和移动终端 20; 其中,
智能密码设备 10包括: 第一接收单元 101、 第一生成单元 102、 分配单元 103、 显示 单元 104、 第二接收单元 105以及识别单元 106;
移动终端 20包括: 第三接收单元 201、 第二生成单元 202以及传输单元 203;
第一接收单元 201, 用于接收密码输入请求指令;
第一生成单元 102, 用于在第一接收单元 201接收到密码输入请求指令后, 生成虚拟 键盘; 其中, 虚拟键盘的按键坐标与移动终端键盘的按键坐标一一对应;
分配单元 103, 用于将密码所需的字符随机分配在第一生成单元 102生成的虚拟键盘 的按键上;
显示单元 104, 用于显示虚拟键盘以及分配在虚拟键盘的按键上的字符;
第三接收单元 201, 用于通过移动终端键盘的按键接收用户输入的密码信息; 密码信 息通过如下方式输入: 用户按照智能密码设备显示的虚拟键盘的按键上对应的字符的坐标 按下移动终端的键盘中相同坐标的按键, 以输入密码信息; 其中, 本实施例中的密码信息 为密码的全部字符。
第二生成单元 202, 用于在第三接收单元 201接收到用户输入的密码信息后, 生成密 码传输信息; 其中, 密码传输信息为移动终端键盘中被按下的按键坐标号;
传输单元 203, 用于将第二生成单元 202生成的密码传输信息通过传输接口进行输出 ·' 第二接收单元 105, 用于接收移动终端的传输单元 203输出的密码传输信息; 识别单元 106, 用于在第二接收单元 105接收到密码传输信息后, 根据移动终端键盘 的按键坐标号识别与移动终端键盘的按键坐标对应的分配在虚拟键盘上的字符, 并根据识 别出的分配在虚拟键盘上的字符获得密码。
另外, 为了保证智能密码设备 10可以正确的生成与移动终端键盘相同的虚拟键盘, 第 —生成单元 102还可以具体包括: 获取模块 1021以及生成模块 1022; 获取模块 1021, 用 于获取虚拟键盘生成信息; 其中, 虚拟键盘生成信息至少包括: 移动终端键盘的按键数量、 按键排布方式以及每个按键的坐标; 生成模块 1022, 用于根据虚拟键盘生成信息生成虚拟 键盘。
此外, 为了使得智能密码设备 10更清楚的知晓移动终端的键盘为何种键盘, 为了提高 智能密码设备 10生成的虚拟键盘的正确性, 获取模块 1021还可以用于获取移动终端的键 盘类型, 根据获取到的移动终端的键盘类型获取虚拟键盘生成信息。
另外, 为了提高密码传输信息传输的安全性, 传输单元 203还可以用于将密码传输信 息进行加密, 获得加密密码传输信息, 并将加密密码传输信息通过传输接口发送至智能密 码设备; 第二接收单元 105还用于接收加密密码传输信息, 对加密密码传输信息进行解密, 获得密码传输信息。
由此可见, 通过本发明的密码输入***, 用户在移动终端的键盘按下按键, 移动终端 将被按下的按键的坐标号发送至智能密码设备, 智能密码设备接收坐标号, 并根据坐标号 识别虚拟键盘上的字符从而获得密码, 保证了移动终端与智能密码设备的之间密码传输的 安全性, 从而防止截屏、 中间人等攻击。
由于智能密码设备显示的虚拟键盘上分配的字符是随机分配的, 虚拟键盘上的字符每 次的按键位置不同,即便移动终端每次被按下的按键被木马程序截取或者被截图软件截图, 被泄露的也仅是移动终端的按键坐标, 无法得到真实的密码, 同时还可以防止暴力破解虚 拟键盘上的字符排序。
下面, 以移动终端采用数字键盘举例说明本发明的具体实现:
智能密码设备与移动终端之间支持矩阵点通方式输入密码, 从而可以防止截屏、 中间 人等攻击, 具体如下:
将移动终端键盘作为一个按键矩阵, 每个按键对应一个唯一的坐标, 代表唯一的一个 数字。 智能密码设备生成与移动终端键盘相同的虚拟键盘, 但智能密码设备生成的虚拟键 盘上的数字是随机排布的, 移动终端键盘将用户在移动终端键盘上输入的密码 (数字)转 换成与之一一对应的按键 (即输入密码时按下的按键) 的矩阵坐标号, 智能密码设备接收 到坐标号后, 根据坐标号识别虚拟键盘上的字符, 从而获得密码。 这样相当于在移动终端 与智能密码设备之间进行密码传输中的对密码原文的加密。 也就是说, 在移动终端与智能 密码设备传输密码时不是将用户按下的按键所代表的数字直接传输显示, 而是将按下按键 所对应的矩阵坐标进行传送。
参见图 3, 在智能密码设备的显示屏上以矩阵形式显示出对应的手机键盘, 十个数字 按键的虚拟键盘阵列, 该虚拟键盘与移动终端的键盘显示形状一样, 每个按键对应一个唯 一的坐标, 代表唯一的一个数字。 但是虚拟键盘上显示的 0至 9这十个数字的所在的具体 位置并不是按照移动终端的数字键盘的顺序排布的, 也就是说每一个数字在虚拟键盘上的 具***置和实际移动终端键盘上该数字对应的位置不一样。
由于各个数字分布在虚拟键盘上的具***置是随机生成的, 每一次输入密码的时候相 同位置的按键对应的数字都会发生变化, 即相同一个数字每次对应的哪个按键的位置也是 变化的, 从而可以防止暴力破解虚拟键盘。
用户在交易过程中输入密码的时候, 在智能密码设备的显示屏上显示的虚拟键盘上找 到密码对应的数字, 记住该数字对应的按键的位置, 在移动终端键盘上按下与刚刚找到的 智能密码设备的模拟键盘上的位置相同的那个按键, 密码就输入完成了。 如此, 将移动终 端输入的密码原文转换成了按键的矩阵坐标号, 智能密码设备对用户在移动终端键盘上按 下的按键的坐标号数据进行识别, 智能密码设备按照该坐标号获得此次随机产生的虚拟键 盘上相应按键所对应的数字, 将这些数字组成的即为用户输入的密码。
具体参见图 3, 例如: 用户的密码为 " 1234", 此次使用时智能密码设备随机生成的模 拟键盘如图 3 所示, 在用户输入密码时: 先在智能密码设备的虚拟键盘上找到对应密码 " 1234" 的按键坐标号依次为: K10, KOI , K22, K20, 然后找到手机键盘上对应这几个 坐标的按键数值为 "4297", 按下手机键盘上对应的按键为 "4297 "后完成密码输入, 手机 传输接口将这一系列的坐标号传送给智能密码设备,智能密码设备对这些坐标号进行识别, 获得这些坐标号按键对应的数值为 " 1234", 从而获得密码。
由此可见, 在此次密码输入过程中, 用户的密码为 " 1234", 但是在手机上按下的却是 数字" 4297 ", 由此即便手机屏幕被截图或者被木马程序控制,也不会泄露密码原文。另外, 下一次使用时, 智能密码设备会再次随机生成另一组字符顺序与图 3不同的虚拟键盘, 各 个数字的位置坐标将发生变化, 彻底杜绝了密码泄露的可能, 大大增加了密码输入的安全 性, 增强了智能密码设备在移动支付交易过程中的安全保障功能。
实施例 2
本实施例 2与实施例 1的区别在于, 智能密码设备将至少包含密码所需的字符及指令 字符随机分配在虚拟键盘的按键上, 移动终端依次接收用户输入的密码字符和 /或指令字 符, 并依次通过传输接口将密码传输信息发送至智能密码设备, 智能密码设备依次接收密 码传输信息, 并在接收到一个密码传输信息就进行识别, 并根据每次识别出的分配在虚拟 键盘上的字符获得密码。 其他流程均与实施例 1相同, 在此不再赘述。
本实施例中, 移动终端依次传输字符提高了字符传输速度, 设定指令字符在用户输入 密码错误时, 智能密码设备可以识别取消指令信息, 以取消输入错误的密码字符。 当然, 指令字符还可以包含确认指令信息等任意指令信息。
本实施例的方法, 具体可以参见图 4, 本发明的密码输入方法包括:
步骤 S401, 智能密码设备接收密码输入请求指令;
步骤 S402, 智能密码设备在接收到密码输入请求指令后, 生成虚拟键盘; 其中, 虚拟 键盘的按键坐标与移动终端键盘的按键坐标一一对应;
步骤 S403 , 智能密码设备将至少包含密码字符及指令字符的字符集随机分配在虚拟键 盘的按键上;
步骤 S404, 智能密码设备显示虚拟键盘以及分配在虚拟键盘的按键上的字符集; 步骤 S405 ,移动终端通过移动终端键盘的按键依次接收用户输入的密码字符和 /或指令 字符, 并在每接收到一个密码字符和 /或一个指令字符后, 生成一个密码传输信息; 其中, 密码字符和 /或指令字符通过如下方式输入: 用户按照智能密码设备显示的虚拟键盘的按键 上对应的字符的坐标按下移动终端键盘中相同坐标的按键, 以输入密码字符和 /或指令字 符; 密码传输信息为移动终端键盘中被按下的按键坐标号;
步骤 S406, 移动终端将密码传输信息依次通过传输接口发送至智能密码设备; 步骤 S407 , 智能密码设备依次接收密码传输信息, 并在每接收到一个所述密码传输信 息后根据本次所接收的移动终端键盘的按键坐标号识别与移动终端键盘的按键坐标对应的 分配在虚拟键盘上的字符;
步骤 S408, 智能密码设备根据每次识别出的分配在虚拟键盘上的字符获得密码。 由此可见, 通过本发明的密码输入方法, 用户在移动终端的键盘按下按键, 移动终端 将被按下的按键的坐标号发送至智能密码设备, 智能密码设备接收坐标号, 并根据坐标号 识别虚拟键盘上的字符从而获得密码, 保证了移动终端与智能密码设备的之间密码传输的 安全性, 从而防止截屏、 中间人等攻击。
由于智能密码设备显示的虚拟键盘上分配的字符是随机分配的, 虚拟键盘上的字符每 次的按键位置不同,即便移动终端每次被按下的按键被木马程序截取或者被截图软件截图, 被泄露的也仅是移动终端的按键坐标, 无法得到真实的密码, 同时还可以防止暴力破解虚 拟键盘上的字符排序。
本实施例中密码传输***, 架构与实施例 1相同, 釆用与实施例 1相同的架构完成本 实施例的方法, 在此不再赘述。
实施例 3
本实施例 3与实施例 1的区别在于, 智能密码设备将至少包含密码所需的字符及指令 字符随机分配在虚拟键盘的按键上, 移动终端依次接收用户输入的密码字符和 /或指令字 符, 并依次通过传输接口将密码传输信息发送至智能密码设备, 智能密码设备在全部接收 到到密码传输信息后, 对全部密码传输信息进行识别, 从而获得密码。 其他流程均与实施 例 1相同, 在此不再赘述。
本实施例中, 移动终端依次传输字符提高了字符传输速度, 全部接收到后一起识别提 高识别速度, 设定指令字符在用户输入密码错误时, 智能密码设备可以识别取消指令信息, 以取消输入错误的密码字符。 当然, 指令字符还可以包含确认指令信息等任意指令信息。
本实施例的方法, 具体可以参见图 5, 本发明的密码输入方法包括:
步骤 S501 , 智能密码设备接收密码输入请求指令;
步骤 S502, 智能密码设备在接收到密码输入请求指令后, 生成虚拟键盘; 其中, 虚拟 键盘的按键坐标与移动终端键盘的按键坐标一一对应;
步骤 S503 , 智能密码设备将至少包含密码字符及指令字符的字符集随机分配在虚拟键 盘的按键上;
步骤 S504, 智能密码设备显示虚拟键盘以及分配在虚拟键盘的按键上的字符集; 步骤 S505 ,移动终端通过移动终端键盘的按键依次接收用户输入的密码字符和 /或指令 字符, 并在每接收到一个密码字符和 /或一个指令字符后, 生成一个密码传输信息; 其中, 密码字符和 /或指令字符通过如下方式输入: 用户按照智能密码设备显示的虚拟键盘的按键 上对应的字符的坐标按下移动终端的键盘中相同坐标的按键, 以输入密码字符和 /或指令字 符; 密码传输信息为移动终端键盘中被按下的按键坐标号;
步骤 S506, 移动终端将密码传输信息依次通过传输接口发送至智能密码设备; 步骤 S507,智能密码设备依次接收密码传输信息,并在密码传输信息全部接收完毕后, 根据移动终端键盘的按键坐标号识别与移动终端键盘的按键坐标对应的分配在虚拟键盘上 的字符;
步骤 S508, 智能密码设备根据识别出的分配在虚拟键盘上的字符获得密码。
由此可见, 通过本发明的密码输入方法, 用户在移动终端的键盘按下按键, 移动终端 将被按下的按键的坐标号发送至智能密码设备, 智能密码设备接收坐标号, 并根据坐标号 识别虚拟键盘上的字符从而获得密码, 保证了移动终端与智能密码设备的之间密码传输的 安全性, 从而防止截屏、 中间人等攻击。
由于智能密码设备显示的虚拟键盘上分配的字符是随机分配的, 虚拟键盘上的字符每 次的按键位置不同,即便移动终端每次被按下的按键被木马程序截取或者被截图软件截图, 被泄露的也仅是移动终端的按键坐标, 无法得到真实的密码, 同时还可以防止暴力破解虚 拟键盘上的字符排序。
本实施例中密码传输***, 架构与实施例 1相同, 采用与实施例 1相同的架构完成本 实施例的方法, 在此不再赘述。
实施例 4
本实施例 4与实施例 1的区别在于, 智能密码设备将至少包含密码所需的字符及指令 字符随机分配在虚拟键盘的按键上, 移动终端依次接收用户输入的密码字符和 /或指令字 符, 并依次通过传输接口将密码传输信息发送至智能密码设备, 智能密码设备依次接收密 码传输信息, 并在接收到一个密码传输信息就进行识别, 并根据每次识别出的分配在虚拟 键盘上的字符获得密码。 其他流程均与实施例 1相同, 在此不再赘述。
本实施例中, 移动终端依次传输字符提高了字符传输速度, 设定指令字符在用户输入 密码错误时, 智能密码设备可以识别取消指令信息, 以取消输入错误的密码字符。 当然, 指令字符还可以包含确认指令信息等任意指令信息。
本实施例的密码输入方法包括:
步骤 S601, 智能密码设备接收密码输入请求指令;
步骤 S602, 智能密码设备在接收到密码输入请求指令后, 生成虚拟键盘; 其中, 虚拟 键盘的按键坐标与移动终端键盘的按键坐标一一对应;
步骤 S603 , 智能密码设备将至少包含密码字符及指令字符的字符集随机分配在虚拟键 盘的按键上;
步骤 S604, 智能密码设备显示虚拟键盘以及分配在虚拟键盘的按键上的字符集; 步骤 S605 ,移动终端通过移动终端键盘的按键依次接收用户输入的密码字符和 /或指令 字符, 并在接收到密码字符和 /或指令字符后, 生成密码传输信息; 其中, 密码字符和 /或指 令字符通过如下方式输入: 用户按照智能密码设备显示的虚拟键盘的按键上对应的字符的 坐标按下移动终端键盘中相同坐标的按键, 以输入密码字符和 /或指令字符; 密码传输信息 为移动终端键盘中被按下的按键坐标号;
步骤 S606, 移动终端将密码传输信息依次通过传输接口发送至智能密码设备; 步骤 S607 , 智能密码设备依次接收密码传输信息, 并在每接收到一个所述密码传输信 息后根据本次所接收的移动终端键盘的按键坐标号识别与移动终端键盘的按键坐标对应的 分配在虚拟键盘上的字符;
步骤 S608 , 智能密码设备根据每次识别出的分配在虚拟键盘上的字符获得密码。 由此可见, 通过本发明的密码输入方法, 用户在移动终端的键盘按下按键, 移动终端 将被按下的按键的坐标号发送至智能密码设备, 智能密码设备接收坐标号, 并根据坐标号 识别虚拟键盘上的字符从而获得密码, 保证了移动终端与智能密码设备的之间密码传输的 安全性, 从而防止截屏、 中间人等攻击。
由于智能密码设备显示的虚拟键盘上分配的字符是随机分配的, 虚拟键盘上的字符每 次的按键位置不同,即便移动终端每次被按下的按键被木马程序截取或者被截图软件截图, 被泄露的也仅是移动终端的按键坐标, 无法得到真实的密码, 同时还可以防止暴力破解虚 拟键盘上的字符排序。
本实施例中密码传输***, 架构与实施例 1相同, 采用与实施例 1相同的架构完成本 实施例的方法, 在此不再赘述。
实施例 5
本实施例 5与实施例 1的区别在于, 智能密码设备将至少包含密码所需的字符及指令 字符随机分配在虚拟键盘的按键上, 移动终端依次接收用户输入的密码字符和 /或指令字 符, 并依次通过传输接口将密码传输信息发送至智能密码设备, 智能密码设备在全部接收 到到密码传输信息后, 对全部密码传输信息进行识别, 从而获得密码。 其他流程均与实施 例 1相同, 在此不再赘述。
本实施例中, 移动终端依次传输字符提高了字符传输速度, 全部接收到后一起识别提 高识别速度, 设定指令字符在用户输入密码错误时, 智能密码设备可以识别取消指令信息, 以取消输入错误的密码字符。 当然, 指令字符还可以包含确认指令信息等任意指令信息。 本实施例的密码输入方法包括:
步骤 S701 , 智能密码设备接收密码输入请求指令;
步骤 S702, 智能密码设备在接收到密码输入请求指令后, 生成虚拟键盘; 其中, 虚拟 键盘的按键坐标与移动终端键盘的按键坐标一一对应;
步骤 S703 , 智能密码设备将至少包含密码字符及指令字符的字符集随机分配在虚拟键 盘的按键上;
步骤 S704, 智能密码设备显示虚拟键盘以及分配在虚拟键盘的按键上的字符集; 步骤 S705 ,移动终端通过移动终端键盘的按键依次接收用户输入的密码字符和 /或指令 字符, 并在接收到密码字符和 /或指令字符后, 生成密码传输信息; 其中, 密码字符和 /或指 令字符通过如下方式输入: 用户按照智能密码设备显示的虚拟键盘的按键上对应的字符的 坐标按下移动终端的键盘中相同坐标的按键, 以输入密码字符和 /或指令字符; 密码传输信 息为移动终端键盘中被按下的按键坐标号;
步骤 S706, 移动终端将密码传输信息依次通过传输接口发送至智能密码设备; 步骤 S707,智能密码设备依次接收密码传输信息,并在密码传输信息全部接收完毕后, 根据移动终端键盘的按键坐标号识别与移动终端键盘的按键坐标对应的分配在虚拟键盘上 的字符;
步骤 S708 , 智能密码设备根据识别出的分配在虚拟键盘上的字符获得密码。
由此可见, 通过本发明的密码输入方法, 用户在移动终端的键盘按下按键, 移动终端 将被按下的按键的坐标号发送至智能密码设备, 智能密码设备接收坐标号, 并根据坐标号 识别虚拟键盘上的字符从而获得密码, 保证了移动终端与智能密码设备的之间密码传输的 安全性, 从而防止截屏、 中间人等攻击。
由于智能密码设备显示的虚拟键盘上分配的字符是随机分配的, 虚拟键盘上的字符每 次的按键位置不同,即便移动终端每次被按下的按键被木马程序截取或者被截图软件截图, 被泄露的也仅是移动终端的按键坐标, 无法得到真实的密码, 同时还可以防止暴力破解虚 拟键盘上的字符排序。
本实施例中密码传输***, 架构与实施例 1相同, 采用与实施例 1相同的架构完成本 实施例的方法, 在此不再赘述。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为, 表示包括一个 或更多个用于实现特定逻辑功能或过程的歩骤的可执行指令的代码的模块、 片段或部分, 并且本发明的优选实施方式的范围包括另外的实现, 其中可以不按所示出或讨论的顺序, 包括根据所涉及的功能按基本同时的方式或按相反的顺序, 来执行功能, 这应被本发明的 实施例所属技术领域的技术人员所理解。
应当理解, 本发明的各部分可以用硬件、 软件、 固件或它们的组合来实现。 在上述实 施方式中, 多个歩骤或方法可以用存储在存储器中且由合适的指令执行***执行的软件或 固件来实现。 例如, 如果用硬件来实现, 和在另一实施方式中一样, 可用本领域公知的下 列技术中的任一项或他们的组合来实现: 具有用于对数据信号实现逻辑功能的逻辑门电路 的离散逻辑电路, 具有合适的组合逻辑门电路的专用集成电路, 可编程门阵列(PGA), 现 场可编程门阵列 (FPGA) 等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可 以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介质中, 该程序在执行时, 包括方法实施例的步骤之一或其组合。
此外, 在本发明各个实施例中的各功能单元可以集成在一个处理模块中, 也可以是各 个单元单独物理存在, 也可以两个或两个以上单元集成在一个模块中。 上述集成的模块既 可以采用硬件的形式实现, 也可以采用软件功能模块的形式实现。 所述集成的模块如果以 软件功能模块的形式实现并作为独立的产品销售或使用时, 也可以存储在一个计算机可读 取存储介质中。
上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
在本说明书的描述中, 参考术语"一个实施例"、 "一些实施例"、 "示例"、 "具体示例"、 或"一些示例"等的描述意指结合该实施例或示例描述的具体特征、 结构、 材料或者特点包 含于本发明的至少一个实施例或示例中。 在本说明书中, 对上述术语的示意性表述不一定 指的是相同的实施例或示例。 而且, 描述的具体特征、 结构、 材料或者特点可以在任何的 一个或多个实施例或示例中以合适的方式结合。
尽管上面己经示出和描述了本发明的实施例, 可以理解的是, 上述实施例是示例性的, 不能理解为对本发明的限制, 本领域的普通技术人员在不脱离本发明的原理和宗旨的情况 下在本发明的范围内可以对上述实施例进行变化、 修改、 替换和变型。 本发明的范围由所 附权利要求及其等同限定。

Claims

权利要求书
1、 一种密码输入方法, 其特征在于, 包括:
智能密码设备接收密码输入请求指令;
所述智能密码设备在接收到所述密码输入请求指令后, 生成虚拟键盘, 其中, 所述虚 拟键盘的按键坐标与移动终端键盘的按键坐标一一对应;
所述智能密码设备将至少包含密码所需的字符随机分配在所述虚拟键盘的按键上; 所述智能密码设备显示所述虚拟键盘以及分配在所述虚拟键盘的按键上的所述字符; 移动终端通过所述移动终端键盘的按键接收用户输入的密码信息, 并在接收到所述密 码信息后, 生成密码传输信息; 其中, 所述密码信息通过如下方式输入: 用户按照所述智 能密码设备显示的所述虚拟键盘的按键上对应的字符的坐标按下所述移动终端键盘中相同 坐标的按键, 以输入所述密码信息; 所述密码传输信息为所述移动终端键盘中被按下的按 键坐标号;
所述移动终端将所述密码传输信息通过传输接口发送至所述智能密码设备; 所述智能密码设备接收所述密码传输信息, 根据所述移动终端键盘的按键坐标号识别 与所述移动终端键盘的按键坐标对应的分配在所述虚拟键盘上的所述字符;
所述智能密码设备根据识别出的分配在所述虚拟键盘上的所述字符获得密码。
2、根据权利要求 1所述的方法, 其特征在于, 所述智能密码设备生成所述虚拟键盘的 步骤包括:
所述智能密码设备获取虚拟键盘生成信息; 其中, 所述虚拟键盘生成信息至少包括: 所述移动终端键盘的按键数量、 按键排布方式以及每个按键的坐标;
所述智能密码设备根据所述虚拟键盘生成信息生成所述虚拟键盘。
3、根据权利要求 2所述的方法, 其特征在于, 所述智能密码设备获取虚拟键盘生成信 息的步骤包括:
所述智能密码设备获取所述移动终端的键盘类型;
所述智能密码设备根据获取到的所述移动终端的键盘类型获取所述虚拟键盘生成信 息。
4、根据权利要求 1至 3任一项所述的方法, 其特征在于, 所述移动终端将所述密码传 输信息通过传输接口发送至所述智能密码设备的步骤包括:
所述移动终端将所述密码传输信息进行加密, 获得加密密码传输信息, 并将所述加密 密码传输信息通过所述传输接口发送至所述智能密码设备。
5、根据权利要求 4所述的方法, 其特征在于, 所述智能密码设备接收所述密码传输信 息的步骤包括:
所述智能密码设备接收所述加密密码传输信息, 对所述加密密码传输信息进行解密, 获得所述密码传输信息。
6、 一种密码输入***, 其特征在于, 包括:
智能密码设备, 所述智能密码设备包括:
第一接收单元, 用于接收密码输入请求指令;
第一生成单元, 用于在所述第一接收单元接收到所述密码输入请求指令后, 生 成虚拟键盘, 其中, 所述虚拟键盘的按键坐标与移动终端键盘的按键坐标一一对应;
分配单元,用于将至少包含密码所需的字符随机分配在所述虚拟键盘的按键上; 显示单元, 用于显示所述虚拟键盘以及分配在所述虚拟键盘的按键上的字符; 第二接收单元; 以及
识别单元, 以及
移动终端, 所述移动终端包括:
第三接收单元, 用于通过所述移动终端键盘的按键接收用户输入的密码信息; 所述密码信息通过如下方式输入: 用户按照所述智能密码设备显示的所述虚拟键盘的按键 上对应的字符的坐标按下所述移动终端的键盘中相同坐标的按键, 以输入密码信息;
第二生成单元, 用于在所述第三接收单元接收到用户输入的所述密码信息后, 生成密码传输信息; 其中, 所述密码传输信息为所述移动终端键盘中被按下的按键坐标号; 以及
传输单元; 用于将所述第二生成单元生成的密码传输信息通过传输接口进行输 出;
其中, 所述第二接收单元, 用于接收所述传输单元输出的所述密码传输信息; 所述识 别单元, 用于在所述第二接收单元接收到所述密码传输信息后, 根据所述移动终端键盘的 按键坐标号识别与所述移动终端键盘的按键坐标对应的分配在所述虚拟键盘上的字符, 并 根据识别出的分配在所述虚拟键盘上的字符获得密码。
7、根据权利要求 6所述的***, 其特征在于, 所述第一生成单元包括: 获取模块以及 生成模块;
所述获取模块, 用于获取虚拟键盘生成信息; 其中, 所述虚拟键盘生成信息至少包括: 所述移动终端键盘的按键数量、 按键排布方式以及每个按键的坐标; 所述生成模块, 用于根据所述虚拟键盘生成信息生成所述虚拟键盘。
8、根据权利要求 7所述的***, 其特征在于, 所述获取模块还用于获取所述移动终端 的键盘类型, 根据获取到的所述移动终端的键盘类型获取所述虚拟键盘生成信息。
9、根据权利要求 6至 8任一项所述的***, 其特征在于, 所述传输单元还用于将所述 密码传输信息进行加密, 获得加密密码传输信息, 并将所述加密密码传输信息通过所述传 输接口发送至所述智能密码设备;
10、 根据权利要求 9所述的***, 其特征在于, 所述第二接收单元还用于接收所述加 密密码传输信息, 对所述加密密码传输信息进行解密, 获得所述密码传输信息。
11、 一种密码输入方法, 其特征在于, 包括:
智能密码设备接收密码输入请求指令;
所述智能密码设备在接收到所述密码输入请求指令后, 生成虚拟键盘, 其中, 所述虚 拟键盘的按键坐标与移动终端键盘的按键坐标一一对应;
所述智能密码设备将至少包含密码字符及指令字符的字符集随机分配在所述虚拟键盘 的按键上;
所述智能密码设备显示所述虚拟键盘以及分配在所述虚拟键盘的按键上的所述字符 集;
移动终端通过所述移动终端键盘的按键依次接收用户输入的所述密码字符和 /或所述 指令字符, 并在每接收到一个所述密码字符和 /或一个所述指令字符后, 生成一个密码传输 信息; 其中, 所述密码字符和 /或所述指令字符通过如下方式输入: 用户按照所述智能密码 设备显示的所述虚拟键盘的按键上对应的字符的坐标按下所述移动终端键盘中相同坐标的 按键, 以输入所述密码字符和 /或所述指令字符; 所述密码传输信息为所述移动终端键盘中 被按下的按键坐标号;
所述移动终端将所述密码传输信息依次通过传输接口发送至所述智能密码设备; 所述智能密码设备依次接收所述密码传输信息, 并在每接收到一个所述密码传输信息 后根据本次所接收的所述移动终端键盘的按键坐标号识别与所述移动终端键盘的按键坐标 对应的分配在所述虚拟键盘上的字符;
所述智能密码设备根据每次识别出的分配在所述虚拟键盘上的所述字符获得密码。
12、 根据权利要求 11所述的方法, 其特征在于, 所述智能密码设备根据所述指令字符 执行相应操作。
13、 根据权利要求 11或 12所述的方法, 其特征在于, 所述指令字符包括确认指令消 息、 取消指令消息。
14、 根据权利要求 11至 13任一项所述的方法, 其特征在于, 所述智能密码设备生成 所述虚拟键盘的步骤包括:
所述智能密码设备获取虚拟键盘生成信息; 其中, 所述虚拟键盘生成信息至少包括: 所述移动终端键盘的按键数量、 按键排布方式以及每个按键的坐标;
所述智能密码设备根据所述虚拟键盘生成信息生成所述虚拟键盘。
15、根据权利要求 14所述的方法, 其特征在于, 所述智能密码设备获取虚拟键盘生成 信息的步骤包括- 所述智能密码设备获取所述移动终端的键盘类型;
所述智能密码设备根据获取到的所述移动终端的键盘类型获取所述虚拟键盘生成信 息。
16、 一种密码输入方法, 其特征在于, 包括:
智能密码设备接收密码输入请求指令;
所述智能密码设备在接收到所述密码输入请求指令后, 生成虚拟键盘, 其中, 所述虚 拟键盘的按键坐标与移动终端键盘的按键坐标一一对应;
所述智能密码设备将至少包含密码字符及指令字符的字符集随机分配在所述虚拟键盘 的按键上;
所述智能密码设备显示所述虚拟键盘以及分配在所述虚拟键盘的按键上的所述字符 集;
移动终端通过所述移动终端键盘的按键依次接收用户输入的所述密码字符和 /或所述 指令字符, 并在每接收到一个所述密码字符和 /或一个所述指令字符后, 生成一个密码传输 信息; 其中, 所述密码字符和 /或所述指令字符通过如下方式输入: 用户按照所述智能密码 设备显示的所述虚拟键盘的按键上对应的字符的坐标按下所述移动终端键盘中相同坐标的 按键, 以输入所述密码字符和 /或所述指令字符; 所述密码传输信息为所述移动终端键盘中 被按下的按键坐标号;
所述移动终端将所述密码传输信息依次通过传输接口发送至所述智能密码设备; 所述智能密码设备依次接收所述密码传输信息, 并在所述密码传输信息全部接收完毕 后, 根据所述移动终端键盘的按键坐标号识别与所述移动终端键盘的按键坐标对应的分配 在所述虚拟键盘上的字符;
所述智能密码设备根据所有识别出的分配在所述虚拟键盘上的所述字符获得密码。
17、根据权利要求 16所述的方法, 其特征在于, 所述智能密码设备根据所述指令字符 执行相应操作。
18、 根据权利要求 16或 17所述的方法, 其特征在于, 所述指令字符包括确认指令消 息、 取消指令消息。
19、 根据权利要求 16至 18任一项所述的方法, 其特征在于, 所述智能密码设备生成 所述虚拟键盘的步骤包括:
所述智能密码设备获取虚拟键盘生成信息; 其中, 所述虚拟键盘生成信息至少包括: 所述移动终端键盘的按键数量、 按键排布方式以及每个按键的坐标;
所述智能密码设备根据所述虚拟键盘生成信息生成所述虚拟键盘。
20、根据权利要求 19所述的方法, 其特征在于, 所述智能密码设备获取虚拟键盘生成 信息的步骤包括:
所述智能密码设备获取所述移动终端的键盘类型;
所述智能密码设备根据获取到的所述移动终端的键盘类型获取所述虚拟键盘生成信 息。
PCT/CN2014/081669 2013-11-29 2014-07-04 一种密码输入方法和*** WO2015078184A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310629856.0A CN103679448B (zh) 2013-11-29 2013-11-29 一种密码输入方法和***
CN201310629856.0 2013-11-29

Publications (1)

Publication Number Publication Date
WO2015078184A1 true WO2015078184A1 (zh) 2015-06-04

Family

ID=50316921

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/081669 WO2015078184A1 (zh) 2013-11-29 2014-07-04 一种密码输入方法和***

Country Status (2)

Country Link
CN (1) CN103679448B (zh)
WO (1) WO2015078184A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160292402A1 (en) * 2014-10-13 2016-10-06 Yongpeng SANG Password input method and system based on two-stage conversion
US10032015B2 (en) * 2014-10-13 2018-07-24 Yongpeng SANG Password input method based on a two-stage conversion and a system using thereof
WO2020125667A1 (zh) * 2018-12-18 2020-06-25 云丁网络技术(北京)有限公司 一种设备控制方法、装置及***

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679448B (zh) * 2013-11-29 2017-02-22 天地融科技股份有限公司 一种密码输入方法和***
CN105204755A (zh) * 2014-06-30 2015-12-30 深圳市中兴微电子技术有限公司 一种运行软键盘的方法及终端
CN105450408A (zh) * 2014-08-04 2016-03-30 阿里巴巴集团控股有限公司 一种密码校验方法和装置
CN105447378B (zh) * 2014-08-27 2018-07-13 阿里巴巴集团控股有限公司 一种密码生成方法和装置
CN104410602B (zh) * 2014-10-11 2018-04-10 深圳市可秉资产管理合伙企业(有限合伙) 基于安全模块的随机密码键盘实现方法
CN104463040A (zh) * 2014-12-18 2015-03-25 恒宝股份有限公司 一种密码安全输入方法及***
CN106161735B (zh) * 2015-03-26 2020-12-18 联想(北京)有限公司 一种信息处理方法及电子设备
CN106295266A (zh) 2015-05-28 2017-01-04 阿里巴巴集团控股有限公司 信息输入方法和装置
CN106909858A (zh) * 2015-12-23 2017-06-30 阿里巴巴集团控股有限公司 密码输入方法及装置
CN106022172B (zh) * 2016-05-24 2020-03-13 中国银行股份有限公司 一种保护密码键盘按键输入操作的密码输入方法及***
CN106169037A (zh) * 2016-06-30 2016-11-30 宇龙计算机通信科技(深圳)有限公司 解锁的方法、装置及终端
CN106296192A (zh) * 2016-08-21 2017-01-04 上海林果实业股份有限公司 密码的安全传输方法、***及密盾
CN106503505B (zh) * 2016-10-25 2019-05-07 南京信息工程大学 一种基于行为识别的用户密码软安全保护方法
CN109074581B (zh) * 2016-11-29 2021-09-03 华为技术有限公司 用于支付的方法和终端设备
CN107766719A (zh) * 2017-09-18 2018-03-06 北京华伟恒远信息***技术有限公司 一种对登录信息进行加密的方法及装置
CN107895268A (zh) * 2017-11-28 2018-04-10 艾体威尔电子技术(北京)有限公司 一种在智能支付终端上实现安全输入pin的方法
CN108280374B (zh) * 2018-02-27 2022-04-22 惠州Tcl移动通信有限公司 一种移动终端键盘安全输入控制方法、***及存储介质
CN108520413B (zh) * 2018-04-19 2020-07-28 北京航空航天大学 一种高效的安全虚拟预支付方法及装置
CN109934025A (zh) * 2018-12-26 2019-06-25 电子科技大学 一种针对银行安全控件的自动登陆方法
CN110598486B (zh) * 2019-08-30 2022-02-15 北京奇艺世纪科技有限公司 虚拟键盘加密方法、装置及可读存储介质
CN112927443A (zh) * 2019-12-06 2021-06-08 ***通信集团重庆有限公司 激光矩阵键盘的随机按键实现方法、装置及上位机
CN111064743B (zh) * 2019-12-28 2021-09-28 飞天诚信科技股份有限公司 一种安全输入密码的方法及***
CN111079204A (zh) * 2019-12-30 2020-04-28 中国银行股份有限公司 一种密码输入方法及装置
CN112035901B (zh) * 2020-09-03 2023-09-12 北京元心科技有限公司 信息输入方法、装置、电子设备及介质
CN113608629B (zh) * 2021-08-27 2024-05-17 中国银行股份有限公司 一种智能键盘***、密码输入方法及自助服务设备
CN114648842B (zh) * 2022-02-11 2024-01-19 中金金融认证中心有限公司 一种用于获取支付终端的pin码的方法及相关产品
CN114650143B (zh) * 2022-03-16 2023-11-24 福建汇思博数字科技有限公司 一种密码输入方法及终端
CN114448650B (zh) * 2022-04-12 2022-07-01 深圳市乐凡信息科技有限公司 加密认证方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952855A (zh) * 2005-10-20 2007-04-25 联想(北京)有限公司 一种防止被偷窥的密码输入方法和***
CN101075284A (zh) * 2006-12-26 2007-11-21 腾讯科技(深圳)有限公司 一种字符输入方法及其***
CN101374149A (zh) * 2008-09-19 2009-02-25 中国民生银行股份有限公司 防止盗取密码的方法及***
CN102117393A (zh) * 2011-01-04 2011-07-06 惠州Tcl移动通信有限公司 移动终端密码输入方法及移动终端
CN103679448A (zh) * 2013-11-29 2014-03-26 天地融科技股份有限公司 一种密码输入方法和***

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7047419B2 (en) * 1999-09-17 2006-05-16 Pen-One Inc. Data security system
CN1959691A (zh) * 2005-11-04 2007-05-09 李东声 一种增强电子签名工具安全性的方法及装置
CN101340478A (zh) * 2008-05-27 2009-01-07 北京爱奥时代信息科技有限公司 按键式手机密码输入方法及***
CN101316424A (zh) * 2008-07-08 2008-12-03 阿里巴巴集团控股有限公司 一种信息传输方法、***及装置
KR101132368B1 (ko) * 2010-04-26 2012-07-13 (주)에이케이씨에스 비밀번호 키의 이동값을 이용하는 비밀번호 안전 입력 시스템 및 그 비밀번호 안전 입력 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952855A (zh) * 2005-10-20 2007-04-25 联想(北京)有限公司 一种防止被偷窥的密码输入方法和***
CN101075284A (zh) * 2006-12-26 2007-11-21 腾讯科技(深圳)有限公司 一种字符输入方法及其***
CN101374149A (zh) * 2008-09-19 2009-02-25 中国民生银行股份有限公司 防止盗取密码的方法及***
CN102117393A (zh) * 2011-01-04 2011-07-06 惠州Tcl移动通信有限公司 移动终端密码输入方法及移动终端
CN103679448A (zh) * 2013-11-29 2014-03-26 天地融科技股份有限公司 一种密码输入方法和***

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160292402A1 (en) * 2014-10-13 2016-10-06 Yongpeng SANG Password input method and system based on two-stage conversion
US10032015B2 (en) * 2014-10-13 2018-07-24 Yongpeng SANG Password input method based on a two-stage conversion and a system using thereof
WO2020125667A1 (zh) * 2018-12-18 2020-06-25 云丁网络技术(北京)有限公司 一种设备控制方法、装置及***

Also Published As

Publication number Publication date
CN103679448A (zh) 2014-03-26
CN103679448B (zh) 2017-02-22

Similar Documents

Publication Publication Date Title
WO2015078184A1 (zh) 一种密码输入方法和***
WO2018176781A1 (zh) 信息发送方法、信息接收方法、装置及***
US10867027B2 (en) System and method for pin entry on mobile devices
CN104919778A (zh) 将经加密帐户凭证从第一装置提供到第二装置
TW201525754A (zh) 身份認證方法、相關裝置與系統
KR102061483B1 (ko) 데이터 처리 방법 및 시스템, 및 착용형 전자 디바이스
US9307403B2 (en) System and method for NFC peer-to-peer authentication and secure data transfer
CN104954126B (zh) 敏感操作验证方法、装置及***
WO2014161436A1 (zh) 电子签名令牌响应操作请求的方法及***及电子签名令牌
CN114070614B (zh) 身份认证方法、装置、设备、存储介质和计算机程序产品
CN105577375B (zh) 身份验证方法及装置
CN110278083B (zh) 身份认证请求处理方法和装置、设备重置方法和装置
KR20120132013A (ko) 휴대용 단말, 휴대용 단말의 하드웨어 모듈간에 전송되는 데이터의 보안 방법
CN104091106A (zh) 一种支持虹膜加密的鼠标和方法
US11868169B2 (en) Enabling access to data
EP3411822B1 (en) Authenticating users via data stored on stylus devices
KR20150029154A (ko) 모바일 신뢰 모듈 기반의 전자 서명을 제공하기 위한 시스템 및 그 방법
US20220103350A1 (en) Electronic device for selecting key to be used for encryption on basis of amount of information of data to be encrypted, and operation method of electronic device
CN103870959A (zh) 批量电子交易的处理方法及电子签名设备
JP2015008462A (ja) 多機能mcuの実現方法及び多機能mcu
CN105405010B (zh) 交易装置、使用其的交易***与交易方法
CN203055028U (zh) 密码输入装置及pos终端
CN105160275A (zh) 一种隐私数据管理设备
WO2019232767A1 (zh) 输入验证码的方法、硬件钱包和交易设备
CN103488917A (zh) 利用触屏装置实现***加密保护的方法

Legal Events

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

Ref document number: 14865180

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: 14865180

Country of ref document: EP

Kind code of ref document: A1