WO2018082237A1 - 密码输入方法和装置 - Google Patents
密码输入方法和装置 Download PDFInfo
- Publication number
- WO2018082237A1 WO2018082237A1 PCT/CN2017/077050 CN2017077050W WO2018082237A1 WO 2018082237 A1 WO2018082237 A1 WO 2018082237A1 CN 2017077050 W CN2017077050 W CN 2017077050W WO 2018082237 A1 WO2018082237 A1 WO 2018082237A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- password
- input
- mobile device
- message
- box
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
Definitions
- the present invention relates to the field of electronic device technologies, and in particular, to a password input method and apparatus.
- Password input for large-screen devices is an important part of human-computer interaction.
- a password is input to a large-screen device, it is generally implemented by a virtual keyboard input and a handwriting input.
- both the virtual keyboard input and the handwriting input require the user to input sensitive information such as passwords in a public view, and the security and privacy are not well protected.
- a password input method including the steps:
- the password is entered into the password input box, wherein the password is displayed as a ciphertext in the password input box.
- the password input method is configured to: when the device to be input a password pops up the password input box, send a message for opening the remote input to the mobile device, and the mobile device replaces the password input device according to the message, and then sends the input password to the mobile device.
- the device to be entered with the password will display the received password in cipher text in the password input box.
- the user does not need to enter the password one by one in the password input box of the device to be input the password, which effectively improves the security and privacy of the sensitive information input such as the password in the device to be input the password, and improves the device to be input the password. Practicality.
- the step of receiving the password input by the mobile device and inputting in the input interface of the application comprises: receiving an encrypted password sent by the mobile device after encrypting the input completed password, the password The password entered in the input interface of the application.
- the mobile device encrypts the input password, which can effectively ensure the security of the password transmission, thereby further ensuring the security of the password input.
- the password input by the mobile device is sent only once in the ciphertext at the final completion stage, which effectively improves the efficiency of password transmission and saves network resources.
- the method before receiving the password input by the mobile device and inputting in the input interface of the application, the method further includes the step of: receiving a pseudo password sent by the mobile device during the password input process, and using the pseudo password Enter the password into the password input box.
- a pseudo password that does not involve the password sensitive information is sent to the device to which the password is to be input, so that the user can timely understand the current state of the password input and improve the user experience.
- the step of entering the password into the password input box includes decrypting the received encrypted password and replacing the pseudo password in the password input box with the decrypted password.
- the step of entering the password into the password input box includes decrypting the received encrypted password and replacing the pseudo password in the password input box with the decrypted password.
- the message includes a connection request when the connection is not established with the mobile device, or includes a connection request and a key for encrypting the password sent by the mobile device; After the connection is established, the message includes a key.
- a connection request may be sent to the mobile device, and after the mobile device receives the connection request, establishes a communication connection with the device to which the password is to be input and starts an application including the input interface.
- the key can also be exchanged during the establishment of the communication connection.
- a key can be sent to the mobile device, and after the mobile device receives the key, the application containing the input interface is launched and the key is applied to subsequent password encryption.
- the number of data transmissions can be reduced, and the network resource loss can be effectively reduced.
- a password input device comprising:
- a message sending module configured to send a message to the mobile device to enable remote input when focusing on the password input box, wherein the message is used to evoke an application including the input interface in the mobile device;
- a password receiving module configured to receive a password that is sent by the mobile device and input in an input interface of the application
- a password input module configured to input the password into the password input box, wherein the password is displayed as a ciphertext in the password input box.
- the password input device sends a message for opening the remote input to the mobile device when the password input box is popped up by the device to which the password is to be input, and the mobile device inputs the password according to the message instead of the device to be input the password, and then sends the input password to the password input device.
- the device to be entered with the password will display the received password in cipher text in the password input box.
- the message includes a connection request when the connection is not established with the mobile device, or includes a connection request and a key for encrypting the password sent by the mobile terminal; After the connection is established, the message includes a key.
- a connection request may be sent to the mobile device, and after the mobile device receives the connection request, establishes a communication connection with the device to which the password is to be input and starts an application including the input interface.
- the key can also be exchanged during the establishment of the communication connection.
- a key can be sent to the mobile device, and after the mobile device receives the key, the application containing the input interface is launched and the key is applied to subsequent password encryption.
- the number of data transmissions can be reduced, and the network resource loss can be effectively reduced.
- the password receiving module is configured to receive an encrypted password sent by the mobile device after encrypting the input completed password, where the password is a password input in an input interface of the application.
- the mobile device encrypts the input password, which can effectively ensure the security of the password transmission, thereby further ensuring the security of the password input.
- the password input by the mobile device is sent only once in the ciphertext at the final completion stage, which effectively improves the efficiency of password transmission and saves network resources.
- the password input device further includes a pseudo password input module, the pseudo password input module is configured to receive a pseudo password sent by the mobile device during a password input process, and input the pseudo password into the password. Input box.
- a pseudo password that does not involve the password sensitive information is sent to the device to which the password is to be input, so that the user can timely understand the current state of the password input and improve the user experience.
- the password input module is configured to decrypt the received encrypted password, and replace the pseudo password in the password input box with the decrypted password.
- the password input module When receiving the encrypted password sent by the mobile device, it is necessary to decrypt first, and then replace the pseudo password currently input in the password input box with the real password.
- Another method of password entry including the steps:
- the password input method is configured to receive a message for opening a remote input sent by a device to be input a password when the password input box is popped, and open an application of the mobile device according to the message, and the user inputs a password and sends the password to the input interface of the application.
- the password effectively improves the security and privacy of sensitive information input such as passwords in the device to be entered, and improves the practicability of the device to be entered.
- the step of transmitting the password to the device to be entered with a password comprises: encrypting the entered password, and transmitting the encrypted password to the device to which the password is to be entered. Encrypting the input password can effectively ensure the security of the password transmission, thereby further ensuring the security of the device password input of the password to be entered.
- the password entered is only in the final stage of completion. The ciphertext is sent at one time, which effectively improves the efficiency of password transmission and saves network resources.
- the method before the password is sent to the device to be input the password, the method further includes the step of: sending the pseudo password to the device to be input the password during the password input process.
- a pseudo password that does not involve the password sensitive information is sent to the device to which the password is to be input, so that the user can timely understand the current state of the password input and improve the user experience.
- the message when a connection is not established with the device to which the password is to be entered, the message includes a connection request, or includes a connection request and a key, the key is used to encrypt the password; After the device establishes a connection, the message includes a key.
- the message includes a connection request, or includes a connection request and a key.
- Another type of password input device includes:
- a message receiving module configured to receive a message for opening a remote input sent by a device to be input a password when focusing on a password input box
- An application launching module configured to launch an application including an input interface according to the message
- a password obtaining module configured to obtain a password input in an input interface of the application
- a password sending module configured to send the password to the device for entering a password, so that the device that is to input the password inputs the password into the password input box, where the password is in the password input box Displayed as ciphertext.
- the password input device receives a message for opening a remote input sent by the device to be input a password when the password input box is popped up, and starts an application of the mobile device according to the message, and the user inputs a password and sends the password to the input interface of the application.
- the device that enters the password and enters the password of the device to which the password is to be entered. Taking advantage of the universality and privacy of the mobile device, the user of the device to be input the password is provided with a more secure and reliable password input environment, and the user does not need to enter the password input box of the device to be entered in the public view.
- the password effectively improves the security and privacy of sensitive information input such as passwords in the device to be entered, and improves the practicability of the device to be entered.
- the message when a connection is not established with the device to which the password is to be entered, the message includes a connection request, or includes a connection request and a key, the key is used to encrypt the password; After the device establishes a connection, the message includes a key.
- the message includes a connection request, or includes a connection request and a key.
- the password sending module is configured to encrypt the input completed password, and The encrypted password is sent to the device to which the password is to be entered. Encrypting the input password can effectively ensure the security of the password transmission, thereby further ensuring the security of the device password input of the password to be entered. In addition, the entered password is sent only once in the ciphertext at the final completion stage, which effectively improves the efficiency of password transmission and saves network resources.
- the password input device further includes a pseudo password sending module, and the pseudo password sending module is configured to send a pseudo password to the device to be entered in the password input process.
- the pseudo password sending module is configured to send a pseudo password to the device to be entered in the password input process.
- FIG. 1 is a schematic flow chart of a password input method according to an embodiment
- FIG. 2 is a schematic structural diagram of a password input device according to an embodiment
- FIG. 3 is a schematic flow chart of a password input method according to another embodiment
- FIG. 4 is a schematic structural diagram of a password input device according to another embodiment
- FIG. 5 is a schematic diagram of interaction between a smart tablet and a smart phone according to an embodiment.
- a password input method includes the following steps:
- S120 Receive a password that is sent by the mobile device and input in an input interface of the application.
- the method of this embodiment can be implemented by a corresponding program, and the program runs in a device to which a password is to be input.
- the device to be input with a password may be a large-screen device with a large screen, such as a smart tablet used in a conference or teaching field, or a device with a small screen, such as a wearable device.
- a large-screen device with a large screen such as a smart tablet used in a conference or teaching field
- a device with a small screen such as a wearable device.
- step S110 after the device to be input the password is turned on, a resident background service can be started for monitoring the focus event of the input box.
- the monitoring of the focus event of the input box can be implemented by means existing in the prior art, for example, by listening to the virtual keyboard bounce event to obtain the currently focused input box.
- the input box focus event it is determined whether the input box is a password input box, and whether the password input box is determined by reading the control type or attribute of the focus. If the focus is on the password input box, it means that the user needs to input a password in the device to which the password is to be input, and then send a message to the mobile device to enable the remote input.
- Mobile devices also known as mobile devices, mobile devices, handheld devices, etc., are pocket-sized computing devices that typically have a small display screen, touch input, or a small keyboard. Mobile devices include smartphones and tablets.
- the mobile device that sends the message to the device to which the password is to be input needs to be an authorized device.
- the device to be input with the password stores information of the authorized mobile device.
- the remote password input is required, the remote input message is sent to the corresponding mobile device according to the stored information of the mobile device.
- the specific content contained in the message for enabling remote input can be set according to the actual needs of the user.
- the message of the remote input is used to open the application containing the input interface in the mobile device, so that the mobile device inputs characters in the input interface, which acts as an alternative to the input mode of the device to be input.
- the application containing the input interface can be any existing application that can input characters in the mobile device, or an input interface that the user can edit.
- the message when a connection is not established with the mobile device, the message includes a connection request or, alternatively, a connection request and a key for the mobile
- the password sent by the device is encrypted; when the connection is established with the mobile device, the message includes a key.
- the connection request is used to establish a communication connection between the mobile device and the device to which the password is to be entered.
- the key is a random key, that is, the key contained in the message is randomly generated each time the remote input is turned on, and the key transmitted each time is basically different.
- the device to which the password is to be entered is audible.
- a code entry box when focused to the password input box, sends a message to the authorized mobile device to enable remote input, the message including a connection request.
- the mobile device After receiving the connection request sent by the device to which the password is to be input, the mobile device establishes a connection with the device to which the password is to be input according to the connection request, and starts an application including the input interface. It is not necessary to separately set the message for opening the remote input to a preset message format, and then send the connection request first when the connection is not connected, and then send the preset message, so the setting of the message of the present invention reduces the number of data transmissions, and is effective. Reduce network resource consumption.
- the device to be input the password listens to the password input box, and when focusing on the password input box, sends a message to the authorized mobile device to enable remote input, the message including the connection request And the key.
- the mobile device After receiving the connection request and key sent by the device to which the password is to be input, the mobile device establishes a connection with the device to which the password is to be input according to the connection request, stores the key, and starts an application including the input interface. It is not necessary to separately set the message for opening the remote input to a preset message form, and then send the connection request when the connection is not connected, and then separately send the preset message and the key, so the setting of the message of the present invention reduces the data transmission. The number of times, effectively reducing network resource loss.
- the device to be input the password listens to the password input box, and when focusing on the password input box, sends a message to the connected mobile device to enable the remote input, the message containing the key.
- the mobile device After receiving the key sent by the device to which the password is to be input, the mobile device starts an application including the input interface according to the key, and applies the key to subsequent password encryption.
- the message for enabling the remote input is not required to be set to a preset message form, and then the preset message and the key are respectively sent when connecting, so the setting of the message of the invention reduces the number of data transmissions and effectively reduces network resources. loss.
- step S120 the mobile device receives a message for enabling remote input sent by the device to which the password is to be input, and starts an application including the input interface according to the message. The user then enters the corresponding password in the input interface and sends the entered password to the device to which the password is to be entered.
- the step of receiving the password input by the mobile device and input in the input interface of the application comprises: receiving the mobile device pair Enter the encrypted password sent after the completed password is encrypted, which is the password entered in the input interface of the application.
- the mobile device encrypts the password to be transmitted according to the received key, and then transmits the encrypted password to the device to which the password is to be input, thereby improving The security of data transmission.
- the mobile device performs a one-time encrypted transmission of the password, thereby avoiding waste of network resources caused by the encryption input while encrypting, and improving the efficiency of data transmission.
- the method may further include: receiving a pseudo password sent by the mobile device during the password input process, The pseudo password is entered into the password input box.
- the pseudo password is a character different from the real password.
- the pseudo password can be set to a fixed form of characters, such as "*", etc., and any character different from the real password can be selected as the pseudo password according to the content input by the real password.
- the pseudo password different from the password is synchronously sent.
- the device to input the password inputs the pseudo password into the focused password input box, so that the user can know in time.
- the password input of the password input box progresses, and the transmission of the pseudo password is not involved in the transmission of the pseudo password. Therefore, the pseudo password sent during the password input process does not need to be encrypted.
- step S130 the device to which the password is to be input receives the password sent by the mobile device, and enters a password input box, that is, the password input of the device to which the password is to be input.
- the password displayed in the password input box is cipher text. Displaying the password as ciphertext can be realized by the attribute of the password input box itself, or after receiving the password, generating a string of characters different from the password, and then displaying the generated string of characters in the password input box, the real The password is hidden, and the real password is sent to the corresponding server when the login verification request is sent.
- the step of inputting the password into the password input box may include decrypting the received encrypted password, and replacing the pseudo password in the password input box with the decrypted password. If the received encrypted password is used, the encrypted password needs to be decrypted according to the corresponding key, and then the decrypted password is replaced with the pseudo password in the password input box to complete the password input of the password input box.
- the present invention further provides a password input device, and a specific implementation manner of the device of the present invention will be described in detail below with reference to the accompanying drawings.
- a password input device includes:
- the message sending module 110 is configured to send a long distance to the mobile device when focusing on the password input box a message input, wherein the message is used to evoke an application including an input interface in the mobile device;
- the password receiving module 120 is configured to receive a password that is sent by the mobile device and input in an input interface of the application;
- the password input module 130 is configured to input the password into the password input box, wherein the password is displayed as a ciphertext in the password input box.
- the device of this embodiment runs in a device to which a password is to be entered.
- the device to be input with a password may be a large-screen device with a large screen, such as a smart tablet used in a conference or teaching field, or a device with a small screen, such as a wearable device.
- a large-screen device with a large screen such as a smart tablet used in a conference or teaching field
- a device with a small screen such as a wearable device.
- the message sending module 110 monitors the focus event of the input box.
- the control type or attribute of the focus can be read to determine whether it is a password input box, if the password is focused.
- the input box means that the user needs to input a password in the device to which the password is to be input, and then sends a message to the mobile device to enable remote input.
- the message when a connection is not established with the mobile device, the message includes a connection request or, alternatively, a connection request and a key for the mobile
- the password sent by the device is encrypted; when the connection is established with the mobile device, the message includes a key.
- the connection request is used to establish a communication connection between the mobile device and the device to which the password is to be entered.
- the key is a random key, that is, the key contained in the message is randomly generated each time the remote input is turned on, and the key transmitted each time is basically different.
- the password receiving module 120 is configured to receive an encrypted password sent by the mobile device after encrypting the input password, the password.
- the password entered in the input interface of the application.
- the mobile device encrypts the password to be transmitted according to the received key, and then transmits the encrypted password to the device to which the password is to be input, thereby improving the security of data transmission.
- the mobile device After the password input is completed, the mobile device performs a one-time encrypted transmission of the password, thereby avoiding waste of network resources caused by the encryption input while encrypting, and improving the efficiency of data transmission.
- the password input device may further include a pseudo password input module. 140.
- the pseudo password input module 140 is configured to receive a pseudo password sent by the mobile device during a password input process, and input the pseudo password into the password input box.
- the pseudo password is a character different from the real password.
- the pseudo password can be set to a fixed form of characters, such as "*", etc., and any character different from the real password can be selected as the pseudo password according to the content input by the real password.
- the pseudo password different from the password is synchronously sent.
- the device to input the password inputs the pseudo password into the focused password input box, so that the user can know in time.
- the password input of the password input box progresses, and the transmission of the pseudo password is not involved in the transmission of the pseudo password. Therefore, the pseudo password sent during the password input process does not need to be encrypted.
- the password input module 130 receives the password sent by the mobile device, and inputs the password input box, that is, the password input of the device to which the password is to be input.
- the password input module 130 is configured to perform the received encrypted password. Decrypt, replacing the pseudo password in the password input box with the decrypted password.
- the password displayed in the password input box is cipher text. Displaying the password as ciphertext can be realized by the attribute of the password input box itself, or after receiving the password, generating a string of characters different from the password, and then displaying the generated string of characters in the password input box, the real The password is hidden, and the real password is sent to the corresponding server when the login verification request is sent.
- a password input method includes the following steps:
- S240 Send the password to the device to be input a password, so that the device that is to input the password inputs the password into the password input box, where the password is displayed in the password input box.
- the method of this embodiment can be implemented by a corresponding program, and the program runs in a mobile device.
- Mobile devices also known as mobile devices, mobile devices, handheld devices, etc., are pocket-sized computing devices that typically have a small display screen, touch input, or a small keyboard. Mobile devices include smartphones and tablets. In order to better understand the present invention, the specific embodiments of the various steps are described in detail below.
- the device to be input a password may be a smart device with a large screen, such as a smart tablet applied to a conference or teaching field, or a device with a small screen, such as a wearable device.
- a resident background service can be started to monitor the focus event of the input box.
- the monitoring of the focus event of the input box can be implemented by means existing in the prior art, for example, by listening to the virtual keyboard bounce event to obtain the currently focused input box.
- the input box focus event it is determined whether the input box is a password input box, and whether the password input box is determined by reading the control type or attribute of the focus. If the focus is on the password input box, it means that the user needs to input a password in the device to which the password is to be input, and then send a message to the mobile device to enable the remote input.
- the mobile device can set up a service or application resident in the background of the mobile device for receiving a message to enable remote input from a device to be entered with a password.
- the specific content contained in the message for enabling remote input can be set according to the actual needs of the user.
- the message when a connection is not established with the device to which the password is to be entered, the message includes a connection request, or includes a connection request and a key, the key being used Encrypting the password; when establishing a connection with the device to which the password is to be entered, the message includes the key.
- the key is a random key, that is, the key contained in the message is randomly generated each time the remote input is turned on, and the key transmitted each time is basically different.
- step S220 the remote input message is used to open the application including the input interface in the mobile device, so that the mobile device inputs characters in the input interface, which serves as an alternative to the input mode of the device itself to be input.
- the application containing the input interface can be any existing application that can input characters in the mobile device, or an input interface that the user can edit.
- step S230 and step S240 the user inputs a corresponding password in the input interface, and sends the input password to the device to be input the password, and the device to input the password inputs the password into the password. Enter the box to complete the password input process for the device to be entered.
- the step of sending the password to the device to be input the password may include: encrypting the input password, and encrypting the password
- the password is sent to the device to which the password is to be entered.
- the mobile device encrypts the password to be transmitted according to the received key, and then transmits the encrypted password to the device to which the password is to be input, thereby improving the security of data transmission.
- the mobile device performs a one-time encrypted transmission of the password, thereby avoiding waste of network resources caused by the encryption input while encrypting, and improving the efficiency of data transmission.
- the method may further include the step of: sending the pseudo password to the device to be input the password during the password input process.
- the pseudo password is a character different from the real password.
- the pseudo password can be set to a fixed form of characters, such as "*", etc., and any character different from the real password can be selected as the pseudo password according to the content input by the real password.
- the pseudo password different from the password is synchronously sent.
- the device to input the password inputs the pseudo password into the focused password input box, so that the user can know in time.
- the password input of the password input box progresses, and the transmission of the pseudo password is not involved in the transmission of the pseudo password. Therefore, the pseudo password sent during the password input process does not need to be encrypted.
- the present invention further provides another cryptographic input device, and the specific embodiments of the device of the present invention are described in detail below with reference to the accompanying drawings.
- a password input device includes:
- the message receiving module 210 is configured to receive a message for enabling the remote input sent by the device to be input the password when focusing on the password input box;
- An application startup module 220 configured to start an application that includes an input interface according to the message
- the password obtaining module 230 is configured to obtain a password input in an input interface of the application
- the password sending module 240 is configured to send the password to the device for entering a password, so that the device that is to input the password inputs the password into the password input box, where the password is input in the password
- the box is displayed as cipher text.
- the device of this embodiment can be implemented by a corresponding program, and the program runs in a mobile device, and the mobile device includes a smart phone and a tablet computer.
- the functions of the respective modules will be described in detail below.
- the message receiving module 210 is a service or application resident in the background of the mobile device, and is configured to receive a message for opening a remote input sent by the device to be input a password when focusing on the password input box.
- the specific content contained in the message for enabling remote input can be set according to the actual needs of the user.
- the message when a connection is not established with the device to which the password is to be entered, the message includes a connection request, or includes a connection request and a key, the key being used Encrypting the password; when establishing a connection with the device to which the password is to be entered, the message includes the key.
- the key is a random key, that is, the key contained in the message is randomly generated each time the remote input is turned on, and the key transmitted each time is basically different.
- the message of the remote input is used to open the application containing the input interface in the mobile device, so that the mobile device inputs characters in the input interface, which acts as an alternative to the input mode of the device to be input.
- the application containing the input interface can be any existing application that can input characters in the mobile device, or an input interface that the user can edit.
- the user inputs a corresponding password in the input interface
- the password obtaining module 230 obtains the input password
- the password sending module 240 sends the input password to the device to be input the password
- the device to which the password is input inputs the password into the password input box.
- the password sending module 240 is configured to encrypt the input completed password, and send the encrypted password to the password to be input. device.
- the mobile device encrypts the password to be transmitted according to the received key, and then transmits the encrypted password to the device to which the password is to be input, thereby improving the security of data transmission.
- the mobile device performs a one-time encrypted transmission of the password, thereby avoiding waste of network resources caused by the encryption input while encrypting, and improving the efficiency of data transmission.
- the password input device may further include a pseudo password sending module 250, and the pseudo password sending module 250 is configured to send a pseudo password to the device to be entered in the password input process.
- a pseudo password is a character different from the real password.
- the pseudo password can be set to a fixed form of characters, or any character different from the real password can be selected as the pseudo password according to the content input by the real password.
- the pseudo password different from the password is synchronously sent.
- the device to input the password inputs the pseudo password into the focused password input box, so that the user can know in time.
- the password input of the password input box progresses, and the transmission of the pseudo password is not involved in the transmission of the pseudo password. Therefore, the pseudo password sent during the password input process does not need to be encrypted.
- the interaction process between the smart tablet and the smart phone includes:
- the smart phone After receiving the message, the smart phone establishes a connection with the smart tablet according to the connection request, stores the key, and opens an application including the input interface; when the user inputs a password in the input interface, the smartphone synchronizes the “*” number.
- the pseudo password is sent to the smart tablet, and the smart tablet inputs the “*” number into the password input box;
- the smart phone After the user completes the password input on the input interface of the smart phone, the smart phone encrypts the password according to the stored key, and then sends the encrypted password to the smart tablet; the smart tablet performs the encrypted password received according to the corresponding key. Decrypt, and then replace the decrypted password with the pseudo password in the password input box, then the application can be logged in according to the password.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
本发明涉及一种密码输入方法和装置。所述方法包括步骤:在聚焦到密码输入框时,向移动设备发送开启远程输入的消息,其中所述消息用于唤起所述移动设备中包含输入界面的应用程序;接收所述移动设备发送的在所述应用程序的输入界面中输入的密码;将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。本发明利用移动设备普遍性和私密性的特点,为待输入密码的设备的用户提供了一个更加安全可靠的密码输入环境,用户不需要在众目睽睽下在待输入密码的设备的密码输入框中一一输入密码,有效提高了待输入密码的设备中密码等敏感信息输入的安全性和私密性,提升了待输入密码的设备的实用性。
Description
本发明涉及电子设备技术领域,特别是涉及一种密码输入方法和装置。
随着科技的发展,大屏设备,例如智能平板和教学触摸一体机等,已经广泛应用于教育教学、企业会议、商业展示等各个领域。人们利用大屏设备的触摸技术可以实现对主机的操作,从而使人机交互更为直截了当。
大屏设备的密码输入是人机交互中一个重要的环节。目前在大屏设备输入密码时,一般通过虚拟键盘输入和手写输入两种方式实现。但是由于大屏设备的屏幕较大,无论是虚拟键盘输入还是手写输入均需要用户在众目睽睽下输入密码等敏感信息,安全性与私密性都得不到良好的保障。
发明内容
基于此,有必要针对上述问题,提供一种密码输入方法和装置,能够有效保证大屏设备密码输入的安全性和私密性。
为了达到上述目的,本发明采取的技术方案如下:
一种密码输入方法,包括步骤:
在聚焦到密码输入框时,向移动设备发送开启远程输入的消息,其中所述消息用于唤起所述移动设备中包含输入界面的应用程序;
接收所述移动设备发送的在所述应用程序的输入界面中输入的密码;
将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。
上述密码输入方法,在待输入密码的设备弹出密码输入框时,向移动设备发送开启远程输入的消息,移动设备根据该消息代替待输入密码的设备进行密码的输入,然后将输入的密码发送给待输入密码的设备,待输入密码的设备将接收的密码以密文形式显示在密码输入框。利用移动设备普遍性和私密性的特点,为待输入密码的设备的用户提供了一个更加安全可靠的密码输入环境,用
户不需要在众目睽睽下在待输入密码的设备的密码输入框中一一输入密码,有效提高了待输入密码的设备中密码等敏感信息输入的安全性和私密性,提升了待输入密码的设备的实用性。
在一个实施例中,接收所述移动设备发送的在所述应用程序的输入界面中输入的密码的步骤包括:接收所述移动设备对输入完成的密码进行加密后发送的加密密码,所述密码为在所述应用程序的输入界面中输入的密码。移动设备对输入的密码进行加密,可以有效保证密码传输的安全性,从而进一步保证密码输入的安全性。另外,移动设备所输入的密码只在最终完成阶段才通过密文一次性发送,有效提高了密码传输的效率,节省了网络资源。
在一个实施例中,接收所述移动设备发送的在所述应用程序的输入界面中输入的密码之前,还包括步骤:接收所述移动设备在密码输入过程中发送的伪密码,将所述伪密码输入所述密码输入框。在移动设备的密码输入过程中,将不涉及密码敏感信息的伪密码发送给待输入密码的设备,从而使用户及时了解密码输入的当前状态,提高了用户体验。
在一个实施例中,将所述密码输入所述密码输入框的步骤包括:对接收的所述加密密码进行解密,将所述密码输入框中的伪密码替换为解密后的密码。当接收到移动设备发送的加密密码时,需要先进行解密,然后将密码输入框当前输入的伪密码替换为真正的密码。
在一个实施例中,当未与移动设备建立连接时,所述消息包括连接请求,或者,包括连接请求和密钥,所述密钥用于对移动设备发送的密码进行加密;当与移动设备建立连接后,所述消息包括密钥。当未与移动设备建立连接时,在聚焦到密码输入框时,可以向移动设备发送连接请求,移动设备接收到连接请求后建立与待输入密码的设备的通信连接并且启动包含输入界面的应用程序,另外,考虑到密码传输的安全性,在建立通信连接过程中还可以交换密钥。当与移动设备建立连接后,当聚焦到密码输入框时,可以向移动设备发送密钥,移动设备接收到密钥后启动包含输入界面的应用程序并将该密钥应用于后续的密码加密。通过该消息的设置,可以减少数据传输的次数,有效降低网络资源损耗。
一种密码输入装置,包括:
消息发送模块,用于在聚焦到密码输入框时,向移动设备发送开启远程输入的消息,其中所述消息用于唤起所述移动设备中包含输入界面的应用程序;
密码接收模块,用于接收所述移动设备发送的在所述应用程序的输入界面中输入的密码;
密码输入模块,用于将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。
上述密码输入装置,在待输入密码的设备弹出密码输入框时,向移动设备发送开启远程输入的消息,移动设备根据该消息代替待输入密码的设备进行密码的输入,然后将输入的密码发送给待输入密码的设备,待输入密码的设备将接收的密码以密文形式显示在密码输入框。利用移动设备普遍性和私密性的特点,为待输入密码的设备的用户提供了一个更加安全可靠的密码输入环境,用户不需要在众目睽睽下在待输入密码的设备的密码输入框中一一输入密码,有效提高了待输入密码的设备中密码等敏感信息输入的安全性和私密性,提升了待输入密码的设备的实用性。
在一个实施例中,当未与移动设备建立连接时,所述消息包括连接请求,或者,包括连接请求和密钥,所述密钥用于对移动终端发送的密码进行加密;当与移动设备建立连接后,所述消息包括密钥。当未与移动设备建立连接时,在聚焦到密码输入框时,可以向移动设备发送连接请求,移动设备接收到连接请求后建立与待输入密码的设备的通信连接并且启动包含输入界面的应用程序,另外,考虑到密码传输的安全性,在建立通信连接过程中还可以交换密钥。当与移动设备建立连接后,当聚焦到密码输入框时,可以向移动设备发送密钥,移动设备接收到密钥后启动包含输入界面的应用程序并将该密钥应用于后续的密码加密。通过该消息的设置,可以减少数据传输的次数,有效降低网络资源损耗。
在一个实施例中,所述密码接收模块用于接收所述移动设备对输入完成的密码进行加密后发送的加密密码,所述密码为在所述应用程序的输入界面中输入的密码。移动设备对输入的密码进行加密,可以有效保证密码传输的安全性,从而进一步保证密码输入的安全性。另外,移动设备所输入的密码只在最终完成阶段才通过密文一次性发送,有效提高了密码传输的效率,节省了网络资源。
在一个实施例中,所述密码输入装置还包括伪密码输入模块,所述伪密码输入模块用于接收所述移动设备在密码输入过程中发送的伪密码,将所述伪密码输入所述密码输入框。在移动设备的密码输入过程中,将不涉及密码敏感信息的伪密码发送给待输入密码的设备,从而使用户及时了解密码输入的当前状态,提高了用户体验。
在一个实施例中,所述密码输入模块用于对接收的所述加密密码进行解密,将所述密码输入框中的伪密码替换为解密后的密码。当接收到移动设备发送的加密密码时,需要先进行解密,然后将密码输入框当前输入的伪密码替换为真正的密码。
另一种密码输入方法,包括步骤:
接收待输入密码的设备在聚焦到密码输入框时发送的开启远程输入的消息;
根据所述消息启动包含输入界面的应用程序;
获取在所述应用程序的输入界面中输入密码;
将所述密码发送给所述待输入密码的设备,以使所述待输入密码的设备将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。
上述密码输入方法,接收待输入密码的设备在弹出密码输入框时发送的开启远程输入的消息,根据该消息开启移动设备的应用程序,用户在该应用程序的输入界面中输入密码并发送给待输入密码的设备,实现待输入密码的设备密码的输入。利用移动设备普遍性和私密性的特点,为待输入密码的设备的用户提供了一个更加安全可靠的密码输入环境,用户不需要在众目睽睽下在待输入密码的设备的密码输入框中一一输入密码,有效提高了待输入密码的设备中密码等敏感信息输入的安全性和私密性,提升了待输入密码的设备的实用性。
在一个实施例中,将所述密码发送给所述待输入密码的设备的步骤包括:对输入完成的密码进行加密,将加密后的密码发送给所述待输入密码的设备。对输入的密码进行加密,可以有效保证密码传输的安全性,从而进一步保证待输入密码的设备密码输入的安全性。另外,所输入的密码只在最终完成阶段才
通过密文一次性发送,有效提高了密码传输的效率,节省了网络资源。
在一个实施例中,将所述密码发送给所述待输入密码的设备之前,还包括步骤:在密码输入过程中将伪密码发送给所述待输入密码的设备。在移动设备的密码输入过程中,将不涉及密码敏感信息的伪密码发送给待输入密码的设备,从而使用户及时了解密码输入的当前状态,提高了用户体验。
在一个实施例中,当未与待输入密码的设备建立连接时,所述消息包括连接请求,或者,包括连接请求和密钥,所述密钥用于对密码进行加密;当与待输入密码的设备建立连接后,所述消息包括密钥。通过该消息的设置,可以减少数据传输的次数,有效降低网络资源损耗。
另一种密码输入装置,包括:
消息接收模块,用于接收待输入密码的设备在聚焦到密码输入框时发送的开启远程输入的消息;
应用程序启动模块,用于根据所述消息启动包含输入界面的应用程序;
密码获取模块,用于获取在所述应用程序的输入界面中输入密码;
密码发送模块,用于将所述密码发送给所述待输入密码的设备,以使所述待输入密码的设备将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。
上述密码输入装置,接收待输入密码的设备在弹出密码输入框时发送的开启远程输入的消息,根据该消息开启移动设备的应用程序,用户在该应用程序的输入界面中输入密码并发送给待输入密码的设备,实现待输入密码的设备密码的输入。利用移动设备普遍性和私密性的特点,为待输入密码的设备的用户提供了一个更加安全可靠的密码输入环境,用户不需要在众目睽睽下在待输入密码的设备的密码输入框中一一输入密码,有效提高了待输入密码的设备中密码等敏感信息输入的安全性和私密性,提升了待输入密码的设备的实用性。
在一个实施例中,当未与待输入密码的设备建立连接时,所述消息包括连接请求,或者,包括连接请求和密钥,所述密钥用于对密码进行加密;当与待输入密码的设备建立连接后,所述消息包括密钥。通过该消息的设置,可以减少数据传输的次数,有效降低网络资源损耗。
在一个实施例中,所述密码发送模块用于对输入完成的密码进行加密,将
加密后的密码发送给所述待输入密码的设备。对输入的密码进行加密,可以有效保证密码传输的安全性,从而进一步保证待输入密码的设备密码输入的安全性。另外,所输入的密码只在最终完成阶段才通过密文一次性发送,有效提高了密码传输的效率,节省了网络资源。
在一个实施例中,所述密码输入装置还包括伪密码发送模块,所述伪密码发送模块用于在密码输入过程中将伪密码发送给所述待输入密码的设备。在移动设备的密码输入过程中,将不涉及密码敏感信息的伪密码发送给待输入密码的设备,从而使用户及时了解密码输入的当前状态,提高了用户体验。
图1为一实施例的密码输入方法的流程示意图;
图2为一实施例的密码输入装置的结构示意图;
图3为另一实施例的密码输入方法的流程示意图;
图4为另一实施例的密码输入装置的结构示意图;
图5为一具体实施例的智能平板和智能手机的交互示意图。
为更进一步阐述本发明所采取的技术手段及取得的效果,下面结合附图及较佳实施例,分别从待输入密码的设备角度和移动设备角度出发,对本发明的技术方案,进行清楚和完整的描述。
首先从待输入密码的设备角度出发,对本发明密码输入方法和装置进行详细介绍。
如图1所示,一种密码输入方法,包括步骤:
S110、在聚焦到密码输入框时,向移动设备发送开启远程输入的消息,其中所述消息用于唤起所述移动设备中包含输入界面的应用程序;
S120、接收所述移动设备发送的在所述应用程序的输入界面中输入的密码;
S130、将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。
本实施例方法可以通过相应的程序实现,程序运行在待输入密码的设备中。待输入密码的设备可以为屏幕较大的大屏设备,例如应用于会议或教学领域的智能平板等,也可以为屏幕较小的设备,例如穿戴式设备等。为了更好地理解本发明,下面对各个步骤的具体实施方式进行详细介绍。
在步骤S110中,待输入密码的设备开启后,可以启动一个常驻后台的服务,用于监听输入框的聚焦事件。输入框的聚焦事件的监听可以通过现有技术中已有的方式实现,例如可以通过监听虚拟键盘弹起事件获取当前聚焦的输入框。当检测到输入框聚焦事件时,判断该输入框是否为密码输入框,可以通过读取焦点所在的控件类型或者属性判断是否为密码输入框。若聚焦到密码输入框,意味着用户需要在待输入密码的设备中输入密码,则向移动设备发送开启远程输入的消息。
移动设备也被称为行动装置、流动装置、手持装置等,是一种口袋大小的计算设备,通常有一个小的显示屏幕,触控输入,或是小型的键盘。移动设备包括智能手机和平板电脑等。为了保证密码输入的安全性,待输入密码的设备发送消息的移动设备需要为授权的设备。待输入密码的设备中存储有授权的移动设备的信息,当需要进行远程密码输入时,根据存储的移动设备的信息向对应的移动设备发送开启远程输入的消息。
开启远程输入的消息包含的具体内容可以根据用户实际需要进行设置。开启远程输入的消息用于开启移动设备中包含输入界面的应用程序,以使移动设备在输入界面中输入字符,起到替代待输入密码的设备本身输入方式的作用。包含输入界面的应用程序可以为移动设备中能够输入字符的任意现有的应用程序,也可以为用户自行编辑的输入界面。
考虑到数据传输的次数以及网络资源损耗,在一个实施例中,当未与移动设备建立连接时,所述消息包括连接请求,或者,包括连接请求和密钥,所述密钥用于对移动设备发送的密码进行加密;当与移动设备建立连接后,所述消息包括密钥。连接请求用于建立移动设备与待输入密码的设备之间的通信连接。为了进一步保证数据传输的安全,所述密钥为随机密钥,即每一次开启远程输入时所述消息包含的密钥随机生成,每次发送的密钥基本上都不相同。
在待输入密码的设备与移动设备未建立连接时,待输入密码的设备监听密
码输入框,当聚焦到密码输入框时,向授权的移动设备发送开启远程输入的消息,所述消息包含连接请求。移动设备接收到待输入密码的设备发送的连接请求后,根据该连接请求与待输入密码的设备建立连接,并启动包含输入界面的应用程序。不需要单独将开启远程输入的消息设置为一个预设的消息格式,然后在未连接时先发送连接请求,再发送该预设的消息,所以本发明消息的设置减少了数据传输的次数,有效降低网络资源损耗。
在待输入密码的设备与移动设备未建立连接时,待输入密码的设备监听密码输入框,当聚焦到密码输入框时,向授权的移动设备发送开启远程输入的消息,所述消息包含连接请求和密钥。移动设备接收到待输入密码的设备发送的连接请求和密钥后,根据该连接请求与待输入密码的设备建立连接,存储密钥,并启动包含输入界面的应用程序。不需要单独将开启远程输入的消息设置为一个预设的消息形式,然后在未连接时先发送连接请求,再分别发送该预设的消息和密钥,所以本发明消息的设置减少了数据传输的次数,有效降低网络资源损耗。
在待输入密码的设备与移动设备建立连接后,待输入密码的设备监听密码输入框,当聚焦到密码输入框时,向连接的移动设备发送开启远程输入的消息,所述消息包含密钥。移动设备接收到待输入密码的设备发送的密钥后,根据该密钥启动包含输入界面的应用程序,并将该密钥应用于后续的密码加密。不需要单独将开启远程输入的消息设置为一个预设的消息形式,然后在连接时分别发送该预设的消息以及密钥,所以本发明消息的设置减少了数据传输的次数,有效降低网络资源损耗。
在步骤S120中,移动设备接收待输入密码的设备发送的开启远程输入的消息,根据该消息开启包含输入界面的应用程序。然后用户在该输入界面中输入对应的密码,并将输入的密码发送给待输入密码的设备。
为了保证密码传输的安全性,以及提高数据传输的效率,在一个实施例中,接收所述移动设备发送的在所述应用程序的输入界面中输入的密码的步骤包括:接收所述移动设备对输入完成的密码进行加密后发送的加密密码,所述密码为在所述应用程序的输入界面中输入的密码。移动设备根据接收的密钥对待传输的密码进行加密,然后将加密的密码传输给待输入密码的设备,从而提高
了数据传输的安全性。移动设备在密码输入完成后再对密码进行一次性加密传输,避免了密码边输入边加密边发送所导致的网络资源的浪费,提高了数据传输的效率。
考虑到当移动设备与待输入密码的设备距离较远,操作移动设备和待输入密码的设备的为不同的用户的情况,为了使操作待输入密码的设备的用户及时了解当前密码输入框的密码输入状态,在一个实施例中,接收所述移动设备发送的在所述应用程序的输入界面中输入的密码之前,还可以包括步骤:接收所述移动设备在密码输入过程中发送的伪密码,将所述伪密码输入所述密码输入框。伪密码为不同于真实密码的字符,伪密码可以设置为固定形式的字符,例如“*”等,也可以根据真实密码输入的内容,选取不同于真实密码的任意字符作为伪密码。当用户在移动设备的输入界面中输入密码时,同步发送不同于密码的伪密码,待输入密码的设备接收到伪密码后,将伪密码输入到聚焦的密码输入框内,以使用户及时了解密码输入框的密码输入进展,伪密码发送过程中不涉及真实密码敏感信息的传输,所以在密码输入过程中发送的伪密码不需要进行加密传输。
在步骤S130中,待输入密码的设备接收移动设备发送的密码,并输入密码输入框,即实现待输入密码的设备的密码输入。为了保证密码的安全性和私密性,在密码输入框中显示的密码为密文。将密码显示为密文可以通过密码输入框本身所具有的属性实现,也可以在接收到密码后,生成不同于密码的一串字符,然后将生成的一串字符显示在密码输入框,真实的密码隐藏,在发送登录验证请求时将真实的密码发送给对应的服务器。
在一个实施例中,将所述密码输入所述密码输入框的步骤可以包括:对接收的所述加密密码进行解密,将所述密码输入框中的伪密码替换为解密后的密码。若接收到的为加密密码,则需要根据对应的密钥对加密密码进行解密,然后将解密后的密码替换密码输入框中的伪密码,完成密码输入框的密码输入。
基于同一发明构思,本发明还提供一种密码输入装置,下面结合附图对本发明装置的具体实施方式做详细描述。
如图2所示,一种密码输入装置,包括:
消息发送模块110,用于在聚焦到密码输入框时,向移动设备发送开启远
程输入的消息,其中所述消息用于唤起所述移动设备中包含输入界面的应用程序;
密码接收模块120,用于接收所述移动设备发送的在所述应用程序的输入界面中输入的密码;
密码输入模块130,用于将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。
本实施例装置运行在待输入密码的设备中。待输入密码的设备可以为屏幕较大的大屏设备,例如应用于会议或教学领域的智能平板等,也可以为屏幕较小的设备,例如穿戴式设备等。为了更好地理解本发明,下面对各个模块的功能进行详细介绍。
待输入密码的设备开启后,消息发送模块110监听输入框的聚焦事件,当检测到输入框聚焦事件时,可以通过读取焦点所在的控件类型或者属性判断是否为密码输入框,若聚焦到密码输入框,意味着用户需要在待输入密码的设备中输入密码,则向移动设备发送开启远程输入的消息。
开启远程输入的消息包含的具体内容可以根据用户实际需要进行设置。考虑到数据传输的次数以及网络资源损耗,在一个实施例中,当未与移动设备建立连接时,所述消息包括连接请求,或者,包括连接请求和密钥,所述密钥用于对移动设备发送的密码进行加密;当与移动设备建立连接后,所述消息包括密钥。连接请求用于建立移动设备与待输入密码的设备之间的通信连接。为了进一步保证数据传输的安全,所述密钥为随机密钥,即每一次开启远程输入时所述消息包含的密钥随机生成,每次发送的密钥基本上都不相同。
为了保证密码传输的安全性,以及提高数据传输的效率,在一个实施例中,所述密码接收模块120用于接收所述移动设备对输入完成的密码进行加密后发送的加密密码,所述密码为在所述应用程序的输入界面中输入的密码。移动设备根据接收的密钥对待传输的密码进行加密,然后将加密的密码传输给待输入密码的设备,从而提高了数据传输的安全性。移动设备在密码输入完成后再对密码进行一次性加密传输,避免了密码边输入边加密边发送所导致的网络资源的浪费,提高了数据传输的效率。
考虑到当移动设备与待输入密码的设备距离较远,操作移动设备和待输入
密码的设备的为不同的用户的情况,为了使操作待输入密码的设备的用户及时了解当前密码输入框的密码输入状态,在一个实施例中,所述密码输入装置还可以包括伪密码输入模块140,所述伪密码输入模块140用于接收所述移动设备在密码输入过程中发送的伪密码,将所述伪密码输入所述密码输入框。伪密码为不同于真实密码的字符,伪密码可以设置为固定形式的字符,例如“*”等,也可以根据真实密码输入的内容,选取不同于真实密码的任意字符作为伪密码。当用户在移动设备的输入界面中输入密码时,同步发送不同于密码的伪密码,待输入密码的设备接收到伪密码后,将伪密码输入到聚焦的密码输入框内,以使用户及时了解密码输入框的密码输入进展,伪密码发送过程中不涉及真实密码敏感信息的传输,所以在密码输入过程中发送的伪密码不需要进行加密传输。
密码输入模块130接收移动设备发送的密码,并输入密码输入框,即实现待输入密码的设备的密码输入,在一个实施例中,所述密码输入模块130用于对接收的所述加密密码进行解密,将所述密码输入框中的伪密码替换为解密后的密码。另外,为了保证密码的安全性和私密性,在密码输入框中显示的密码为密文。将密码显示为密文可以通过密码输入框本身所具有的属性实现,也可以在接收到密码后,生成不同于密码的一串字符,然后将生成的一串字符显示在密码输入框,真实的密码隐藏,在发送登录验证请求时将真实的密码发送给对应的服务器。
下面从移动设备的角度出发,本发明另一种密码输入方法和装置进行详细介绍。
如图3所示,一种密码输入方法,包括步骤:
S210、接收待输入密码的设备在聚焦到密码输入框时发送的开启远程输入的消息;
S220、根据所述消息启动包含输入界面的应用程序;
S230、获取在所述应用程序的输入界面中输入密码;
S240、将所述密码发送给所述待输入密码的设备,以使所述待输入密码的设备将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示
为密文。
本实施例方法可以通过相应的程序实现,程序运行在移动设备中。移动设备也被称为行动装置、流动装置、手持装置等,是一种口袋大小的计算设备,通常有一个小的显示屏幕,触控输入,或是小型的键盘。移动设备包括智能手机和平板电脑等。为了更好地理解本发明,下面对各个步骤的具体实施方式进行详细介绍。
在步骤S210中,待输入密码的设备可以为屏幕较大的智能设备,例如应用于会议或教学领域的智能平板等,也可以为屏幕较小的设备,例如穿戴式设备等。待输入密码的设备开启后,可以启动一个常驻后台的服务,用于监听输入框的聚焦事件。输入框的聚焦事件的监听可以通过现有技术中已有的方式实现,例如可以通过监听虚拟键盘弹起事件获取当前聚焦的输入框。当检测到输入框聚焦事件时,判断该输入框是否为密码输入框,可以通过读取焦点所在的控件类型或者属性判断是否为密码输入框。若聚焦到密码输入框,意味着用户需要在待输入密码的设备中输入密码,则向移动设备发送开启远程输入的消息。
移动设备可以设置一个常驻移动设备后台的服务或应用,用于接收待输入密码的设备发来的开启远程输入的消息。开启远程输入的消息包含的具体内容可以根据用户实际需要进行设置。考虑到数据传输的次数以及网络资源损耗,在一个实施例中,当未与待输入密码的设备建立连接时,所述消息包括连接请求,或者,包括连接请求和密钥,所述密钥用于对密码进行加密;当与待输入密码的设备建立连接后,所述消息包括密钥。为了进一步保证数据传输的安全,所述密钥为随机密钥,即每一次开启远程输入时所述消息包含的密钥随机生成,每次发送的密钥基本上都不相同。
在步骤S220中,开启远程输入的消息用于开启移动设备中包含输入界面的应用程序,以使移动设备在输入界面中输入字符,起到替代待输入密码的设备本身输入方式的作用。包含输入界面的应用程序可以为移动设备中能够输入字符的任意现有的应用程序,也可以为用户自行编辑的输入界面。
在步骤S230和步骤S240中,用户在该输入界面中输入对应的密码,将输入的密码发送给待输入密码的设备,待输入密码的设备将密码输入所述密码输
入框,从而完成待输入密码的设备的密码输入过程。
为了保证密码传输的安全性,以及提高数据传输的效率,在一个实施例中,将所述密码发送给所述待输入密码的设备的步骤可以包括:对输入完成的密码进行加密,将加密后的密码发送给所述待输入密码的设备。移动设备根据接收的密钥对待传输的密码进行加密,然后将加密的密码传输给待输入密码的设备,从而提高了数据传输的安全性。移动设备在密码输入完成后再对密码进行一次性加密传输,避免了密码边输入边加密边发送所导致的网络资源的浪费,提高了数据传输的效率。
考虑到当移动设备与待输入密码的设备距离较远,操作移动设备和待输入密码的设备的为不同的用户的情况,为了使操作待输入密码的设备的用户及时了解当前密码输入框的密码输入状态,在一个实施例中,将所述密码发送给所述待输入密码的设备之前,还可以包括步骤:在密码输入过程中将伪密码发送给所述待输入密码的设备。伪密码为不同于真实密码的字符,伪密码可以设置为固定形式的字符,例如“*”等,也可以根据真实密码输入的内容,选取不同于真实密码的任意字符作为伪密码。当用户在移动设备的输入界面中输入密码时,同步发送不同于密码的伪密码,待输入密码的设备接收到伪密码后,将伪密码输入到聚焦的密码输入框内,以使用户及时了解密码输入框的密码输入进展,伪密码发送过程中不涉及真实密码敏感信息的传输,所以在密码输入过程中发送的伪密码不需要进行加密传输。
基于同一发明构思,本发明还提供另一种密码输入装置,下面结合附图对本发明装置的具体实施方式做详细描述。
如图4所示,一种密码输入装置,包括:
消息接收模块210,用于接收待输入密码的设备在聚焦到密码输入框时发送的开启远程输入的消息;
应用程序启动模块220,用于根据所述消息启动包含输入界面的应用程序;
密码获取模块230,用于获取在所述应用程序的输入界面中输入密码;
密码发送模块240,用于将所述密码发送给所述待输入密码的设备,以使所述待输入密码的设备将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。
本实施例装置可以通过相应的程序实现,程序运行在移动设备中,移动设备包括智能手机和平板电脑等。为了更好地理解本发明,下面对各个模块的功能进行详细介绍。
消息接收模块210为一个常驻移动设备后台的服务或应用,用于接收待输入密码的设备在聚焦到密码输入框时发来的开启远程输入的消息。开启远程输入的消息包含的具体内容可以根据用户实际需要进行设置。考虑到数据传输的次数以及网络资源损耗,在一个实施例中,当未与待输入密码的设备建立连接时,所述消息包括连接请求,或者,包括连接请求和密钥,所述密钥用于对密码进行加密;当与待输入密码的设备建立连接后,所述消息包括密钥。为了进一步保证数据传输的安全,所述密钥为随机密钥,即每一次开启远程输入时所述消息包含的密钥随机生成,每次发送的密钥基本上都不相同。
开启远程输入的消息用于开启移动设备中包含输入界面的应用程序,以使移动设备在输入界面中输入字符,起到替代待输入密码的设备本身输入方式的作用。包含输入界面的应用程序可以为移动设备中能够输入字符的任意现有的应用程序,也可以为用户自行编辑的输入界面。
用户在该输入界面中输入对应的密码,密码获取模块230获取输入的密码,密码发送模块240将输入的密码发送给待输入密码的设备,待输入密码的设备将密码输入所述密码输入框,从而完成待输入密码的设备的密码输入过程。
为了保证密码传输的安全性,以及提高数据传输的效率,在一个实施例中,所述密码发送模块240用于对输入完成的密码进行加密,将加密后的密码发送给所述待输入密码的设备。移动设备根据接收的密钥对待传输的密码进行加密,然后将加密的密码传输给待输入密码的设备,从而提高了数据传输的安全性。移动设备在密码输入完成后再对密码进行一次性加密传输,避免了密码边输入边加密边发送所导致的网络资源的浪费,提高了数据传输的效率。
考虑到当移动设备与待输入密码的设备距离较远,操作移动设备和待输入密码的设备的为不同的用户的情况,为了使操作待输入密码的设备的用户及时了解当前密码输入框的密码输入状态,在一个实施例中,所述密码输入装置还可以包括伪密码发送模块250,所述伪密码发送模块250用于在密码输入过程中将伪密码发送给所述待输入密码的设备。伪密码为不同于真实密码的字符,
伪密码可以设置为固定形式的字符,也可以根据真实密码输入的内容,选取不同于真实密码的任意字符作为伪密码。当用户在移动设备的输入界面中输入密码时,同步发送不同于密码的伪密码,待输入密码的设备接收到伪密码后,将伪密码输入到聚焦的密码输入框内,以使用户及时了解密码输入框的密码输入进展,伪密码发送过程中不涉及真实密码敏感信息的传输,所以在密码输入过程中发送的伪密码不需要进行加密传输。
为了更好地理解本发明,下面结合一个具体应用场景对本发明的实施方式进行详细介绍。
例如,当用户采用智能平板进行会议的过程中,需要登录一个应用,因此需要输入该应用的登录信息,例如密码等。按照传统的方法,用户需要在智能平板弹出的密码输入框中直接输入密码,由于智能平板的屏幕较大,在密码输入过程中就会被进行会议的其它用户看到,安全性和私密性不高。而本发明通过小屏幕设备代替大屏幕设备输入的方式很好地解决了该问题。下面结合图5对智能平板和智能手机交互的过程进行说明。
如图5所示,智能平板和智能手机的交互过程包括:
S1、智能平板聚焦到密码输入框时,向授权的智能手机发送开启远程输入的消息,该消息包括连接请求和密钥;
S2、智能手机接收到该消息后,根据连接请求与智能平板建立连接,存储密钥,并开启包含输入界面的应用程序;用户在输入界面中输入密码时,智能手机同步将“*”号的伪密码发送给智能平板,智能平板将“*”号输入密码输入框;
S3、用户在智能手机的输入界面完成密码输入后,智能手机根据存储的密钥对密码进行加密,然后将加密的密码发送给智能平板;智能平板根据对应的密钥对接收的加密的密码进行解密,然后将解密的密码替换密码输入框中的伪密码,则可以根据该密码进行应用的登录。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。
Claims (10)
- 一种密码输入方法,其特征在于,包括步骤:在聚焦到密码输入框时,向移动设备发送开启远程输入的消息,其中所述消息用于唤起所述移动设备中包含输入界面的应用程序;接收所述移动设备发送的在所述应用程序的输入界面中输入的密码;将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。
- 根据权利要求1所述的密码输入方法,其特征在于,接收所述移动设备发送的在所述应用程序的输入界面中输入的密码的步骤包括:接收所述移动设备对输入完成的密码进行加密后发送的加密密码,所述密码为在所述应用程序的输入界面中输入的密码;接收所述移动设备发送的在所述应用程序的输入界面中输入的密码之前,还包括步骤:接收所述移动设备在密码输入过程中发送的伪密码,将所述伪密码输入所述密码输入框;将所述密码输入所述密码输入框的步骤包括:对接收的所述加密密码进行解密,将所述密码输入框中的伪密码替换为解密后的密码。
- 根据权利要求1或2所述的密码输入方法,其特征在于,当未与移动设备建立连接时,所述消息包括连接请求,或者包括连接请求和密钥,所述密钥用于对移动设备发送的密码进行加密;当与移动设备建立连接后,所述消息包括密钥。
- 一种密码输入方法,其特征在于,包括步骤:接收待输入密码的设备在聚焦到密码输入框时发送的开启远程输入的消息;根据所述消息启动包含输入界面的应用程序;获取在所述应用程序的输入界面中输入密码;将所述密码发送给所述待输入密码的设备,以使所述待输入密码的设备将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。
- 根据权利要求4所述的密码输入方法,其特征在于,将所述密码发送给所述待输入密码的设备的步骤包括:对输入完成的密码进行加密,将加密后的密码发送给所述待输入密码的设备;将所述密码发送给所述待输入密码的设备之前,还包括步骤:在密码输入过程中将伪密码发送给所述待输入密码的设备。
- 根据权利要求4或5所述的密码输入方法,其特征在于,当未与待输入密码的设备建立连接时,所述消息包括连接请求,或者包括连接请求和密钥,所述密钥用于对密码进行加密;当与待输入密码的设备建立连接后,所述消息包括密钥。
- 一种密码输入装置,其特征在于,包括:消息发送模块,用于在聚焦到密码输入框时,向移动设备发送开启远程输入的消息,其中所述消息用于唤起所述移动设备中包含输入界面的应用程序;密码接收模块,用于接收所述移动设备发送的在所述应用程序的输入界面中输入的密码;密码输入模块,用于将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。
- 根据权利要求7所述的密码输入装置,其特征在于,当未与移动设备建立连接时,所述消息包括连接请求,或者,包括连接请求和密钥,所述密钥用于对移动设备发送的密码进行加密;当与移动设备建立连接后,所述消息包括密钥;所述密码接收模块用于接收所述移动设备对输入完成的密码进行加密后发送的加密密码,所述密码为在所述应用程序的输入界面中输入的密码;所述密码输入装置还包括伪密码输入模块,所述伪密码输入模块用于接收所述移动设备在密码输入过程中发送的伪密码,将所述伪密码输入所述密码输入框;所述密码输入模块用于对接收的所述加密密码进行解密,将所述密码输入框中的伪密码替换为解密后的密码。
- 一种密码输入装置,其特征在于,包括:消息接收模块,用于接收待输入密码的设备在聚焦到密码输入框时发送的开启远程输入的消息;应用程序启动模块,用于根据所述消息启动包含输入界面的应用程序;密码获取模块,用于获取在所述应用程序的输入界面中输入密码;密码发送模块,用于将所述密码发送给所述待输入密码的设备,以使所述待输入密码的设备将所述密码输入所述密码输入框,其中所述密码在所述密码输入框中显示为密文。
- 根据权利要求9所述的密码输入装置,其特征在于,当未与待输入密码的设备建立连接时,所述消息包括连接请求,或者,包括连接请求和密钥,所述密钥用于对密码进行加密;当与待输入密码的设备建立连接后,所述消息包括密钥;所述密码发送模块用于对输入完成的密码进行加密,将加密后的密码发送给所述待输入密码的设备;所述密码输入装置还包括伪密码发送模块,所述伪密码发送模块用于在密码输入过程中将伪密码发送给所述待输入密码的设备。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610978867 | 2016-11-07 | ||
| CN201610978867.3 | 2016-11-07 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018082237A1 true WO2018082237A1 (zh) | 2018-05-11 |
Family
ID=62076670
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/077050 Ceased WO2018082237A1 (zh) | 2016-11-07 | 2017-03-17 | 密码输入方法和装置 |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2018082237A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114650143A (zh) * | 2022-03-16 | 2022-06-21 | 福州汇思博信息技术有限公司 | 一种密码输入方法及终端 |
| CN115705128A (zh) * | 2021-08-03 | 2023-02-17 | 华为技术有限公司 | 一种跨设备输入方法、设备及系统 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103425944A (zh) * | 2013-07-16 | 2013-12-04 | 深圳市文鼎创数据科技有限公司 | 信息安全输入方法及信息安全装置 |
| CN105205386A (zh) * | 2014-06-25 | 2015-12-30 | 腾讯科技(深圳)有限公司 | 移动终端应用程序密码保护方法和装置 |
| CN106599632A (zh) * | 2016-11-21 | 2017-04-26 | 广州视源电子科技股份有限公司 | 密码输入方法和装置 |
-
2017
- 2017-03-17 WO PCT/CN2017/077050 patent/WO2018082237A1/zh not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103425944A (zh) * | 2013-07-16 | 2013-12-04 | 深圳市文鼎创数据科技有限公司 | 信息安全输入方法及信息安全装置 |
| CN105205386A (zh) * | 2014-06-25 | 2015-12-30 | 腾讯科技(深圳)有限公司 | 移动终端应用程序密码保护方法和装置 |
| CN106599632A (zh) * | 2016-11-21 | 2017-04-26 | 广州视源电子科技股份有限公司 | 密码输入方法和装置 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115705128A (zh) * | 2021-08-03 | 2023-02-17 | 华为技术有限公司 | 一种跨设备输入方法、设备及系统 |
| CN114650143A (zh) * | 2022-03-16 | 2022-06-21 | 福州汇思博信息技术有限公司 | 一种密码输入方法及终端 |
| CN114650143B (zh) * | 2022-03-16 | 2023-11-24 | 福建汇思博数字科技有限公司 | 一种密码输入方法及终端 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP4024809B1 (en) | Application access method and apparatus, and electronic device and storage medium | |
| US10412061B2 (en) | Method and system for encrypted communications | |
| US8868927B1 (en) | Method and apparatus for secure data input and output | |
| CN104410967B (zh) | 一种进行连接的方法、设备和系统 | |
| US10708237B2 (en) | System and method for chat messaging in a zero-knowledge vault architecture | |
| CN104270517A (zh) | 信息加密方法和移动终端 | |
| CN112243000B (zh) | 应用数据的处理方法,装置、计算机设备及存储介质 | |
| WO2016045464A1 (zh) | 解密方法和移动终端 | |
| CN113055169A (zh) | 数据加密方法、装置、电子设备及存储介质 | |
| CN106599632B (zh) | 密码输入方法和装置 | |
| US11245530B2 (en) | System and method for secure communication | |
| CN104202736A (zh) | 面向Android系统的移动终端短信端到端加密方法 | |
| CN103701586A (zh) | 获取密钥的方法和装置 | |
| CN114218510A (zh) | 业务页面显示方法、装置和设备 | |
| CN106911659B (zh) | 一种子账号信息处理系统、方法及装置 | |
| WO2018082237A1 (zh) | 密码输入方法和装置 | |
| CN111818466B (zh) | 信息发送、接收方法及装置、电子设备及可读存储介质 | |
| CN112511892B (zh) | 屏幕共享方法、装置、服务器及存储介质 | |
| CN115996140B (zh) | 访问内容获取方法、装置、设备及存储介质 | |
| CN105959323A (zh) | 身份认证系统、方法及装置 | |
| WO2016206169A1 (zh) | 一种无线接入方法、装置和系统、存储介质 | |
| US20190037612A1 (en) | Connecting method to an information capture device | |
| CN116015898A (zh) | 信息处理方法、装置、设备、存储介质及产品 | |
| CN112311651B (zh) | 一种跨客户端的通信方法、装置、电子设备及存储介质 | |
| TWI667591B (zh) | Method for safely transferring pictures |
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: 17867870 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19/09/2019) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17867870 Country of ref document: EP Kind code of ref document: A1 |