CN112348998A - Method and device for generating one-time password, intelligent door lock and storage medium - Google Patents

Method and device for generating one-time password, intelligent door lock and storage medium Download PDF

Info

Publication number
CN112348998A
CN112348998A CN202010735424.8A CN202010735424A CN112348998A CN 112348998 A CN112348998 A CN 112348998A CN 202010735424 A CN202010735424 A CN 202010735424A CN 112348998 A CN112348998 A CN 112348998A
Authority
CN
China
Prior art keywords
time
password
registration
service platform
cloud service
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.)
Granted
Application number
CN202010735424.8A
Other languages
Chinese (zh)
Other versions
CN112348998B (en
Inventor
林舜大
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202010735424.8A priority Critical patent/CN112348998B/en
Publication of CN112348998A publication Critical patent/CN112348998A/en
Application granted granted Critical
Publication of CN112348998B publication Critical patent/CN112348998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit

Abstract

The invention discloses a method and a device for generating a one-time password, an intelligent door lock and a storage medium, wherein the method comprises the following steps: sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in a registration process; and after receiving a one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range. Therefore, verification and registration are carried out based on the authentication code, and the one-time password with higher security level is generated based on the one-time password generation parameter, so that the security of the one-time password is greatly improved.

Description

Method and device for generating one-time password, intelligent door lock and storage medium
Technical Field
The present invention relates to the field of security technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating a one-time password.
Background
Along with the development of the society, the application of the intelligent door lock is more and more extensive, and the function is more and more perfect. Currently, many intelligent door locks are unlocked based on one-time passwords.
Generally, the one-time password is calculated by using the device ID of the smart door lock and the registration time of the smart door lock on the cloud service platform as seeds and using a one-time password algorithm. The one-time password generated in this manner can be easily broken as long as the device ID and the registration time are known, and the device D is easily acquirable. Therefore, the one-time password generated by the existing method is easy to crack and has low security.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for generating a one-time password, aiming at improving the safety of the one-time password.
In order to achieve the above object, the present invention provides a method for generating a one-time password, which is applied to an intelligent door lock, and comprises:
sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in a registration process;
and after receiving a one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range.
Preferably, the step of sending the registration request data packet to the cloud service platform, verifying and registering by the cloud service platform based on the authentication code in the registration request data packet, and storing the one-time password generation parameter obtained in the registration process includes:
receiving a true random number and a user ID sent by a mobile terminal, encrypting the true random number and an encryption chip ID of an encryption chip to obtain an authentication code, and storing the encryption chip ID, the authentication code and the user ID as a registration request data packet;
the steps of sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in the registration process include:
sending a registration request data packet containing the authentication code to the cloud service platform, decrypting the authentication code by the cloud service platform to obtain a verification true random number, comparing the verification true random number with the true random number sent to the intelligent door lock, and judging that the verification is successful if the verification is consistent with the true random number;
and after the verification is successful, registering, and storing the authentication code, the encrypted chip ID, the user ID, the registration time and an encrypted registration key generated by the cloud service platform based on the registration request data packet as one-time password generation parameters.
Preferably, after the verification is successful, the registering is performed, and the steps of storing the authentication code, the encrypted chip ID, the user ID, and the registration key generated by the cloud service platform based on the registration request data packet as the one-time password generation parameter further include:
calculating a first hash value of an encrypted registration key corresponding to the registration key, and comparing the first hash value with a second hash value of the encrypted registration key returned by the cloud service platform;
if the first hash value is consistent with the second hash value, judging that the encryption registration key is legal, and executing the following steps: and after the verification is successful, registering, and storing the authentication code, the encrypted chip ID, the user ID and a registration key generated by the cloud service platform based on the registration request data packet as a one-time password generation parameter.
Preferably, the intelligent door lock supports encryption;
after receiving the one-time password application, the step of calculating the one-time first password based on the one-time password generation parameter, the current time and the time range comprises the following steps:
encrypting the encryption chip ID, the registration time and the authentication code in the one-time password generation parameter to obtain an unlocking key;
and marking the unlocking key, the current time and the time range as first target parameters, calculating a first disposable password based on the first target parameters, and calculating a second disposable password based on the first target parameters through the cloud service platform.
Preferably, the smart door lock does not support encryption;
after receiving the one-time password application, the step of calculating the one-time first password based on the one-time password generation parameter, the current time and the time range comprises the following steps:
acquiring an encrypted registration key in the one-time password generation parameter, and decrypting the encrypted registration key to obtain a registration key;
and marking the registration key, the current time and the time range as second target parameters, calculating a disposable first password based on the second target parameters, and calculating a disposable second password based on the second target parameters through the cloud service platform.
Preferably, the step of calculating a first one-time password based on the one-time password generation parameter, the current time and the time range, and calculating a second one-time password through the cloud service platform further includes:
receiving the disposable second password input by the user, wherein the disposable second password is sent to a mobile terminal by the cloud service platform and displayed to the user through the mobile terminal;
and comparing the first password with the second password, and if the first password is consistent with the second password, executing unlocking operation.
Preferably, the smart door lock includes an encryption chip, and the step of determining that the encrypted registration key is valid if the first hash value is consistent with the second hash value further includes:
sending the encrypted registration key to the encryption chip, decrypting the encrypted registration key by the encryption chip and returning the decrypted authentication registration key;
decrypting the encrypted registration key based on the public key returned by the cloud server to obtain a decrypted registration key;
and comparing the verification registration key with the registration key, and if the verification registration key and the registration key are consistent, verifying the user ID based on the registration key.
In addition, the present invention also provides a one-time password generation apparatus, including:
the system comprises a registration module, a cloud service platform and a password generation module, wherein the registration module is used for sending a registration request data packet to the cloud service platform, verifying and registering the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in the registration process;
and the generating module is used for calculating a disposable first password based on the disposable password generating parameter, the current time and the time range after receiving the disposable password application.
In addition, the invention also provides an intelligent door lock, which comprises an encryption chip, a processor, a memory and a one-time password generation program stored in the memory, wherein when the one-time password generation program is run by the processor, the steps of the one-time password generation method are realized.
In addition, the present invention also provides a computer storage medium, on which a one-time password generation program is stored, and when the one-time password generation program is executed by a processor, the steps of the one-time password generation method are implemented.
Compared with the prior art, the invention provides a method and a device for generating a one-time password, an intelligent door lock and a storage medium, wherein a registration request data packet is sent to a cloud service platform, the cloud service platform verifies and registers based on an authentication code in the registration request data packet, and a one-time password generation parameter obtained in the registration process is stored; and after receiving a one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range. Therefore, verification and registration are carried out based on the authentication code, and the one-time password with higher security level is generated based on the one-time password generation parameter, so that the security of the one-time password is greatly improved.
Drawings
Fig. 1 is a schematic hardware structure diagram of an intelligent door lock according to embodiments of the present invention;
FIG. 2 is a flowchart illustrating a method for generating a one-time password according to a first embodiment of the present invention;
FIG. 3 is a diagram illustrating a first embodiment of a method for generating a one-time password according to the present invention;
FIG. 4 is a flowchart illustrating a method for generating a one-time password according to a second embodiment of the present invention;
FIG. 5 is a diagram illustrating a second embodiment of a method for generating a one-time password according to the present invention;
FIG. 6 is a flowchart illustrating a method for generating a one-time password according to a third embodiment of the present invention;
FIG. 7 is a diagram illustrating a scenario of a third embodiment of a method for generating a one-time password according to the present invention;
fig. 8 is a functional block diagram of a first embodiment of the apparatus for generating a one-time password according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The intelligent door lock mainly related to the embodiment of the invention can realize network connection. In addition, the mobile terminal related to the embodiment of the invention can be mobile network equipment such as a mobile phone, a tablet personal computer and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of an intelligent door lock according to embodiments of the present invention. In this embodiment of the present invention, the intelligent door lock may include an encryption chip, a processor 1001 (e.g., a Central Processing Unit, CPU), a communication bus 1002, an input port 1003, an output port 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the input port 1003 is used for data input; the output port 1004 is used for data output, the memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a magnetic disk memory, and the memory 1005 may optionally be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration depicted in FIG. 1 is not intended to be limiting of the present invention, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005 of fig. 1, which is a readable storage medium, may include an operating system, a network communication module, an application program module, and a generation program of a one-time-password. In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; and the processor 1001 may call a one-time password generation program stored in the memory 1005 and execute the one-time password generation method provided by the embodiment of the present invention.
The embodiment of the invention provides a method for generating a one-time password.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for generating a one-time password according to a first embodiment of the present invention.
In this embodiment, the method for generating a one-time password is applied to an intelligent door lock, and the method includes:
step S101, a registration request data packet is sent to a cloud service platform, the cloud service platform verifies and registers based on an authentication code in the registration request data packet, and a one-time password generation parameter obtained in a registration process is stored;
the cloud service platform provides background support for the intelligent door lock. And communicating with the intelligent door lock and the cloud service platform through a designated application installed on the mobile terminal. Generally, a complete intelligent door lock system is formed by an intelligent door lock, a mobile terminal and a cloud service platform.
In this embodiment, before the step S101, the method further includes:
receiving a true random number and a user ID sent by a mobile terminal, encrypting the true random number and an encryption chip ID of an encryption chip to obtain an authentication code, and storing the encryption chip ID, the authentication code and the user ID as a registration request data packet;
specifically, a user triggers a registration instruction through the mobile terminal, the mobile terminal sends a registration request including a user ID to the cloud service platform after receiving the registration instruction, and the cloud service platform returns a true random number to the mobile terminal after receiving the registration request. And the mobile terminal sends the true random number to the intelligent door lock, and the intelligent door lock also receives an encrypted chip ID returned by the cloud server. And the intelligent door lock encrypts the true random number and the encryption chip ID to generate an authentication code, and stores the encryption chip ID, the authentication code and the user ID as a registration request data packet.
Further, the cloud service platform comprises an intelligent door lock cloud service platform and an encryption chip cloud service platform. The mobile terminal sends a registration request including a user ID to the intelligent door lock cloud service platform after receiving the registration instruction, the intelligent door lock cloud service platform applies a random true number to the encrypted chip cloud service platform after receiving the registration request, and the encrypted chip cloud service platform generates a random true number and returns the random true number to the intelligent door lock cloud service platform; after the intelligent door lock cloud service platform obtains the random true number, the random true number and the user ID are stored in an associated mode, and the mobile terminal sends the true random number to the intelligent door lock, so that the mobile terminal can forward the random true number to the intelligent door lock.
In this embodiment, the step S101 specifically includes:
sending a registration request data packet containing the authentication code to the cloud service platform, decrypting the authentication code by the cloud service platform to obtain a verification true random number, comparing the verification true random number with the true random number sent to the intelligent door lock, and judging that the verification is successful if the verification is consistent with the true random number;
and after the verification is successful, registering, and storing the authentication code, the encrypted chip ID, the user ID, the registration time and an encrypted registration key generated by the cloud service platform based on the registration request data packet as one-time password generation parameters.
And the intelligent door lock sends a registration request data packet containing the authentication code to an intelligent door lock cloud service platform in the cloud service platform. After receiving the registration request data packet, the intelligent door lock cloud service platform analyzes the registration request data packet to obtain the encryption chip ID, the authentication code and the user ID, and encrypts the encryption chip ID, the authentication code and the user ID based on an encryption mechanism of the intelligent door lock cloud service platform to generate a registration key. And the intelligent door lock cloud service platform sends the registration key to the encrypted chip cloud service platform, and the encrypted chip cloud service platform encrypts the registration key to generate an encrypted registration key. And the encrypted chip cloud service platform decrypts the registration key to obtain a corresponding verification random true number, an encrypted chip ID and a user ID. Since the random number in the registration key is generated by the encrypted chip cloud service platform, if the verification random number is consistent with the random number, it is indicated that the authentication code and the encrypted chip ID in the registration key are legal, and thus, it can be determined that the verification is successful. If the verification random number is inconsistent with the random number, the authentication code and/or the encryption chip ID in the registration key are/is illegal, the verification fails, the current registration process is ended, and the registration is stopped.
Further, after generating the registration key, the smart door lock cloud service platform also generates a device ID of the smart door lock, where the device ID may be a gradually increasing ID number.
Further, after the verification is successful, registering is performed, and the steps of storing the authentication code, the encrypted chip ID, the user ID, and the registration key generated by the cloud service platform based on the registration request data packet as a one-time password generation parameter further include:
calculating a first hash value of an encrypted registration key corresponding to the registration key, and comparing the first hash value with a second hash value of the encrypted registration key returned by the cloud service platform;
and if the first hash value is consistent with the second hash value, judging that the encryption registration key is legal.
Specifically, the smart door lock calculates a first hash value of an encrypted registration key corresponding to the registration key, where the first hash value may be calculated based on SHA 256. Signing the encrypted registration key through the intelligent door lock cloud service platform, calculating a second hash value of the encrypted registration key by using a private key, and attaching a public key, wherein the second hash value can be calculated based on SHA 256. Comparing the first hash value with the second hash value, and if the first hash value is consistent with the second hash value, indicating that the encryption registration key is legal, storing the encryption registration key; and if the first hash value is inconsistent with the second hash value, the encryption registration key is illegal, and the registration is stopped.
Further, the intelligent door lock includes an encryption chip, and the step of determining that the encrypted registration key is valid if the first hash value is consistent with the second hash value further includes:
sending the encrypted registration key to the encryption chip, decrypting the encrypted registration key by the encryption chip and returning the decrypted authentication registration key;
decrypting the encrypted registration key based on the public key returned by the cloud server to obtain a decrypted registration key;
and comparing the verification registration key with the registration key, and if the verification registration key and the registration key are consistent, verifying the user ID based on the registration key.
In this embodiment, the encryption chip may be an independent chip externally disposed on the intelligent door lock, or may be an independent chip internally disposed in the encryption chip as a component of the intelligent door lock. And the intelligent door lock sends the encrypted registration key which is judged to be legal to the encryption chip, the encryption chip decrypts the encrypted registration key after receiving the encrypted registration key to obtain a verification registration key, and the verification registration key is returned to the intelligent door lock.
And the smart door lock can decrypt the encrypted registration key based on a public key returned by the smart door lock cloud service platform to obtain a registration key, wherein the public key is generated when the smart door lock cloud service platform signs the encrypted registration key.
After obtaining the verification registration key and the registration key, comparing the verification registration key with the registration key, and if the verification registration key and the registration key are consistent, indicating that the registration key is legal, thereby verifying the user ID based on the registration key. And if the user ID in the registration key is consistent with the user ID bound with the random true number, the user ID is verified and stored. Then, the intelligent door lock sends notification information of successful binding to the mobile terminal; the mobile terminal pulls complete intelligent door lock information from the intelligent door lock cloud service platform; the intelligent door lock cloud service platform returns complete intelligent door lock information to the mobile terminal; and authenticating the intelligent door lock based on the complete intelligent door lock information, and indicating that the registration is finished after the authentication is successful.
Specifically, referring to fig. 3, fig. 3 is a schematic view of a scenario of a method for generating a one-time password according to a third embodiment of the present invention. As shown in fig. 7, the complete system includes a user, a mobile terminal, an intelligent door lock, and a cloud service platform, wherein the intelligent door lock includes: intelligence lock and built-in or external with the encryption chip of intelligence lock, the cloud service platform includes: the intelligent door lock cloud service platform comprises an intelligent door lock cloud service platform and an encryption chip cloud service platform. The process that the intelligent door lock registers on the cloud service platform comprises the following steps:
1. triggering a registration instruction through the mobile terminal by a user;
2. the mobile terminal sends a registration request including a user ID to the cloud service platform after receiving the registration instruction;
3. after receiving the registration request, the intelligent door lock cloud service platform forwards the registration request to the encryption chip cloud service platform, and the encryption chip cloud service platform generates a true random number;
4. the encrypted chip cloud service platform returns the true random number to the intelligent door lock cloud service platform;
5. the intelligent door lock cloud service platform binds a user ID based on the true random number;
6. the intelligent door lock cloud service platform sends the true random number to the mobile terminal;
7. the mobile terminal sends the true random number to the intelligent door lock;
8. the intelligent door lock sends the true random number to the encryption chip;
9. the encryption chip encrypts the true random number and the encryption chip ID to generate an authentication code, and returns the authentication code and the encryption chip ID to the intelligent door lock;
10. the intelligent door lock sends a registration request to an intelligent door lock cloud service platform based on the authentication code and the encrypted chip ID;
11. the intelligent door lock cloud service platform generates a registration key based on the authentication code, the encryption chip ID and the user ID in the registration request;
12. the intelligent door lock cloud service platform sends the encrypted chip ID, the authentication code and the registration key to the encrypted chip cloud service platform;
13. the encrypted chip cloud service platform decrypts the authentication code to obtain a verification true random number, encrypts the registration key to generate an encrypted registration key, and executes the step 14; if the verification true random number is inconsistent with the random number, stopping registration;
14. the intelligent door lock cloud service platform binds the encrypted chip ID and the user ID;
15. the intelligent door lock cloud service platform returns the information such as the encrypted registration key, the signature, the user ID and the like to the intelligent door lock;
16. the intelligent door lock provides the public key in the signature to decrypt the encrypted registration key to obtain a registration key, a first hash value of the registration key is compared with a second hash value of the encrypted registration key returned by the cloud service platform, if the comparison is successful, the encrypted registration key is stored, and the step 17 is executed; if the comparison fails, stopping registration;
17. the intelligent door lock returns the encrypted registration key to the encryption chip;
18. the encryption chip decrypts the encrypted registration key to obtain an authentication registration key, and returns the authentication registration key to the intelligent door lock;
19. after obtaining the verification registration key and the registration key, the intelligent door lock compares the verification registration key and the registration key, if the verification registration key and the registration key are consistent, the verification is passed, the user ID is stored, the step 20 is executed, and if the verification is not passed, the registration is stopped;
20. the intelligent door lock sends notification information of successful binding to the mobile terminal;
21. the mobile terminal pulls complete intelligent door lock information from the intelligent door lock cloud service platform;
22. the intelligent door lock cloud service platform returns complete intelligent door lock information to the mobile terminal;
23. authenticating the intelligent door lock based on the complete intelligent door lock information;
24. and finishing the registration of the intelligent door lock.
Step S102, after receiving the one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range.
When a user needs to unlock the lock, a one-time password application instruction is triggered based on the mobile terminal, wherein the one-time password application instruction comprises a user ID. And the mobile terminal sends a corresponding one-time password application to the intelligent door lock cloud service platform. The intelligent door lock cloud service platform obtains the user ID after receiving the one-time password application, determines corresponding one-time password generation parameters based on the user ID, transmits an encryption chip ID, registration time and an authentication code in the one-time password generation parameters to the cloud service platform according to a certain format, and calculates a second one-time password through the cloud service platform.
The intelligent door lock cloud service platform informs the intelligent door lock of the disposable password application and issues corresponding disposable encryption parameters to the intelligent door lock. In addition, the smart door lock needs to obtain the current time and a preset time range, and the smart door lock calculates a first one-time password based on the one-time password generation parameter, the current time and the time range by using a TOYP algorithm.
In this embodiment, the smart door lock and/or the smart door lock cloud service platform calculates the One-Time Password based on a Time-based One-Time Password algorithm (TOTP).
The steps of calculating a first one-time password based on the one-time password generation parameter, the current time and the time range, and calculating a second one-time password through the cloud service platform further comprise:
receiving the disposable second password input by the user, wherein the disposable second password is sent to a mobile terminal by the cloud service platform and displayed to the user through the mobile terminal;
and comparing the first password with the second password, and if the first password is consistent with the second password, executing unlocking operation.
Further, after the step S102, the method further includes:
receiving the disposable second password input by the user, wherein the disposable second password is sent to a mobile terminal by the cloud service platform and displayed to the user through the mobile terminal;
and comparing the first password with the second password, and if the first password is consistent with the second password, executing unlocking operation.
Specifically, the smart door lock cloud service platform sends the disposable second password to the mobile terminal, so that the mobile terminal can display the disposable second password to a user, and after the user sees the disposable second password, the user inputs the disposable second password through a panel of the smart door lock within a preset time, so that the smart door lock can obtain the disposable second password. Comparing the disposable second password with the calculated disposable first password, and if the disposable first password is consistent with the disposable second password, executing unlocking operation; otherwise, if the first password is inconsistent with the second password, unlocking operation is not executed, and prompt information that the passwords are incorrect is output.
According to the scheme, the cloud service platform sends a registration request data packet to the cloud service platform, the cloud service platform verifies and registers based on the authentication code in the registration request data packet, and the one-time password generation parameter obtained in the registration process is stored; and after receiving a one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range. Therefore, verification and registration are carried out based on the authentication code, and the one-time password with higher security level is generated based on the one-time password generation parameter, so that the security of the one-time password is greatly improved.
As shown in fig. 4, a second embodiment of the present invention provides a method for generating a one-time password, based on the first embodiment shown in fig. 2, where after receiving a one-time password application, the step of calculating a first one-time password based on the one-time password generation parameter, a current time, and a time range, and calculating a second one-time password through the cloud service platform includes:
step S201: encrypting the encryption chip ID, the registration time and the authentication code in the one-time password generation parameter to obtain an unlocking key;
step S202: and marking the unlocking key, the current time and the time range as first target parameters, calculating a first disposable password based on the first target parameters, and calculating a second disposable password based on the first target parameters through the cloud service platform.
In this embodiment, the intelligent door lock has a decryption function and supports encryption. The decryption and encryption functions are realized by an encryption chip of the intelligent door lock.
When a user needs to apply for a one-time password, sending a one-time password application to an intelligent door lock cloud service platform in the cloud service platform through a specified application program in a mobile terminal, wherein the one-time password application comprises a user ID; the intelligent door lock cloud service platform obtains a corresponding user ID after receiving a one-time password application, determines a corresponding one-time password generation parameter from pre-stored one-time password generation parameters based on the user ID, and obtains an encryption chip ID, registration time and an authentication code in the one-time password generation parameter. And the intelligent door lock cloud service platform sends the encrypted chip ID, the registration time and the authentication code to an encrypted chip cloud service platform in the cloud service platform according to a certain format, and the encrypted chip cloud service platform encrypts the information to obtain a corresponding cloud unlocking key. The encryption chip cloud service platform returns the cloud unlocking key to the intelligent door lock cloud service platform; after the cloud unlocking key is obtained by the intelligent door lock cloud service platform, a second disposable password is calculated by using the cloud unlocking key, the current time and the time range based on a TOTP algorithm, the second disposable password is sent to a mobile terminal sending a disposable password application, and the second disposable password is displayed to a user by the mobile terminal so that the user can input the second disposable password through a panel of the intelligent door lock within a preset time range.
Further, after the one-time password generation parameter is determined, the intelligent door lock encrypts the encryption chip ID, the registration time and the authentication code in the one-time password generation parameter to obtain an unlocking key. In this embodiment, the encryption process is completed in the encryption chip, the smart door lock transmits an encryption chip ID, registration time, and an authentication code to the encryption chip, and the encryption chip transmits the encryption chip ID, the registration time, and the authentication code to the smart door lock for encryption through an algorithm consistent with that used in the smart door lock cloud service platform. Because the encryption algorithm and the parameter of the unlocking key are the same as those of the cloud unlocking key, the unlocking key is the same as the cloud unlocking key. And after the encryption chip calculates the unlocking key, the unlocking key is transmitted to the intelligent door lock, the intelligent door lock marks the unlocking key, the current time and the time range as first target parameters, and a first disposable password is calculated based on the first target parameters. The intelligent door lock compares the first password with the second password, and if the first password is consistent with the second password, unlocking is performed.
Specifically, referring to fig. 5, fig. 5 is a schematic view of a scenario of a method for generating a one-time password according to a second embodiment of the present invention. As shown in fig. 5, the complete system includes a user, a mobile terminal, an intelligent door lock, and a cloud service platform, wherein the intelligent door lock includes: intelligence lock and built-in or external with the encryption chip of intelligence lock, the cloud service platform includes: the intelligent door lock cloud service platform comprises an intelligent door lock cloud service platform and an encryption chip cloud service platform. The one-time password generation process of the intelligent door lock supporting encryption comprises the following steps:
1. a user triggers a one-time password application through the mobile terminal;
2. the mobile terminal sends the one-time password application to an intelligent door lock cloud service platform;
3. the intelligent door lock cloud service platform determines corresponding one-time password generation parameters based on the user ID in the one-time password application, and obtains an encryption chip ID, registration time and an authentication code from the one-time password generation parameters;
4. the intelligent door lock cloud service platform sends the ID of the encrypted chip and the registration time to the encrypted chip cloud service platform, and the encrypted chip cloud service platform encrypts the parameters to obtain a cloud unlocking key;
5. the encrypted chip cloud service platform returns the cloud unlocking key to the intelligent door lock cloud service platform;
6. the intelligent door lock cloud service platform calculates a disposable second password based on the cloud encryption key, the current time and the time range;
7. the intelligent door lock cloud service platform sends the disposable second password to the mobile terminal;
8. the mobile terminal displays the disposable second password to a user;
9. the user inputs the disposable second password through a panel of the intelligent door lock within a preset time range;
10. the intelligent door lock transmits the ID of the encryption chip and the registration time to the encryption chip;
11. the encryption chip encrypts an encryption chip ID, registration time and an authentication code to obtain an unlocking key, and the unlocking key is returned to the intelligent door lock;
12. the intelligent door lock marks the unlocking secret key, the current time and the time range as first target parameters, and a first disposable password is calculated based on the first target parameters;
13. the intelligent door lock compares the first disposable password with the second disposable password, and if the first disposable password and the second disposable password are consistent, unlocking operation is executed;
14. and feeding back unlocking success to the user.
According to the scheme, the encryption chip ID, the registration time and the authentication code in the one-time password generation parameter are encrypted to obtain the unlocking key; and marking the unlocking key, the current time and the time range as first target parameters, calculating a first disposable password based on the first target parameters, and calculating a second disposable password based on the first target parameters through the cloud service platform. Therefore, the one-time password is calculated based on the unlocking secret key, and the safety of the one-time password is greatly improved.
As shown in fig. 4, a third embodiment of the present invention provides a method for generating a one-time password, based on the first embodiment shown in fig. 2, where after receiving a one-time password application, the step of calculating a one-time first password based on the one-time password generation parameter, a current time, and a time range includes:
step S301: acquiring an encrypted registration key in the one-time password generation parameter, and decrypting the encrypted registration key to obtain a registration key;
step S302: and marking the registration key, the current time and the time range as second target parameters, calculating a disposable first password based on the second target parameters, and calculating a disposable second password based on the second target parameters through the cloud service platform.
In this embodiment, the intelligent door lock has a decryption function, but does not support encryption. The decryption function is realized by an encryption chip of the intelligent door lock.
When a user needs to apply for a one-time password, sending a one-time password application to an intelligent door lock cloud service platform in the cloud service platform through a specified application program installed on a mobile terminal, wherein the one-time password application comprises a user ID; the intelligent door lock cloud service platform obtains a corresponding user ID after receiving a one-time password application, determines a corresponding one-time password generation parameter from pre-stored one-time password generation parameters based on the user ID, and obtains an encryption registration key in the one-time password generation parameter. The intelligent door lock cloud service platform marks the registration key, the current time and the time range as second target parameters, calculates a disposable second password based on the second target parameters, returns the disposable second password to the mobile terminal, and displays the disposable second password to the user through the mobile terminal so that the user can input the disposable second password through the panel of the intelligent door lock within a preset time range.
And the intelligent terminal transmits the acquired registration encryption key to the encryption chip for decryption to acquire a corresponding registration key, and returns the registration key to the intelligent door lock. And after receiving the registration key, the intelligent door lock marks the registration key, the current time and the time range as second target parameters, and calculates a first one-time password based on the second target parameters. The intelligent door lock compares the first password with the second password, and if the first password is consistent with the second password, unlocking is performed.
Specifically, referring to fig. 7, fig. 7 is a schematic view of a scenario of a method for generating a one-time password according to a third embodiment of the present invention. As shown in fig. 7, the complete system includes a user, a mobile terminal, an intelligent door lock, and a cloud service platform, wherein the intelligent door lock includes: intelligence lock and built-in or external with the encryption chip of intelligence lock, the cloud service platform includes: the intelligent door lock cloud service platform comprises an intelligent door lock cloud service platform and an encryption chip cloud service platform. The one-time password generation process of the intelligent door lock which does not support encryption comprises the following steps:
1. a user triggers a one-time password application through the mobile terminal;
2. the mobile terminal sends the one-time password application to an intelligent door lock cloud service platform;
3. the intelligent door lock cloud service platform determines corresponding one-time password generation parameters based on the user ID in the one-time password application, and obtains an encryption registration key from the one-time password generation parameters;
4. the intelligent door lock cloud service platform calculates a disposable second password based on the encrypted registration key, the current time and the time range;
5. the intelligent door lock cloud service platform sends the disposable second password to the mobile terminal;
6. the mobile terminal displays the disposable second password to a user;
7. the user inputs the disposable second password through a panel of the intelligent door lock within a preset time range;
8. the intelligent terminal transmits the acquired registration encryption key to the encryption chip;
9. the encryption chip decrypts the registration encryption key to obtain a corresponding registration key, and returns the registration key to the intelligent door lock;
10. the intelligent door lock calculates a first password at one time based on the received registration key, the current time and the time range;
11. the intelligent door lock compares the disposable first password with the disposable second password, and if the disposable first password is consistent with the disposable second password, unlocking operation is executed;
12. and feeding back unlocking success to the user.
In this embodiment, by using the above scheme, the encrypted registration key in the one-time password generation parameter is obtained, and the encrypted registration key is decrypted to obtain the registration key; and marking the registration key, the current time and the time range as second target parameters, calculating a disposable first password based on the second target parameters, and calculating a disposable second password based on the second target parameters through the cloud service platform. Therefore, the one-time password is calculated based on the registration key, and the safety of the one-time password is greatly improved.
In addition, the embodiment also provides a device for generating the one-time password. Referring to fig. 8, fig. 8 is a functional module diagram of a device for generating a one-time password according to a first embodiment of the present invention.
In this embodiment, the one-time password generation device is a virtual device, and is stored in the memory 1005 of the smart door lock apparatus shown in fig. 1, so as to realize all functions of the one-time password generation program: the system comprises a cloud service platform, a password generation module and a password verification module, wherein the cloud service platform is used for sending a registration request data packet to the cloud service platform, verifying and registering the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in the registration process; and the device is used for calculating the disposable first password based on the disposable password generation parameter, the current time and the time range after receiving the disposable password application.
Specifically, the apparatus for generating a one-time password includes:
the system comprises a registration module, a cloud service platform and a password generation module, wherein the registration module is used for sending a registration request data packet to the cloud service platform, verifying and registering the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in the registration process;
and the generating module is used for calculating a disposable first password based on the disposable password generating parameter, the current time and the time range after receiving the disposable password application.
Further, the registration module further comprises:
the mobile terminal comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving a true random number sent by the mobile terminal, encrypting the true random number and an encryption chip ID to obtain an authentication code, and storing the encryption chip ID, the authentication code and a user ID as a registration request data packet;
further, the registration module includes:
the sending unit is used for sending a registration request data packet containing the authentication code to the cloud service platform, decrypting the authentication code by the cloud service platform to obtain a verification true random number, comparing the verification true random number with the true random number sent to the intelligent door lock, and if the verification true random number is consistent with the true random number, judging that the verification is successful;
and the registration unit is used for registering after the verification is successful, and storing the authentication code, the encrypted chip ID, the user ID, the registration time and an encrypted registration key generated by the cloud service platform based on the registration request data packet as a one-time password generation parameter.
Further, the registration unit further includes:
the computing subunit is used for comparing a first hash value of an encrypted registration key corresponding to the registration key with a second hash value of the encrypted registration key returned by the cloud service platform;
and the judging subunit is used for judging that the encryption registration key is legal if the first hash value is consistent with the second hash value.
Further, the generating module further comprises:
the encryption unit is used for encrypting the encryption chip ID, the registration time and the authentication code in the one-time password generation parameter to obtain an unlocking key;
the first generation subunit is configured to mark the unlocking key, the current time, and the time range as first target parameters, calculate a first one-time password based on the first target parameters, and calculate a second one-time password based on the first target parameters through the cloud service platform.
Further, the generating module further comprises:
the decryption unit is used for acquiring the encrypted registration key in the one-time password generation parameter and decrypting the encrypted registration key to obtain a registration key;
and the second generating unit is used for marking the registration key, the current time and the time range as second target parameters, calculating a disposable first password based on the second target parameters, and calculating a disposable second password based on the second target parameters through the cloud service platform.
Further, the generating module further comprises:
the second receiving unit is used for receiving the disposable second password input by the user, the disposable second password is sent to the mobile terminal by the cloud service platform, and the disposable second password is displayed to the user through the mobile terminal;
and the comparison unit is used for comparing the disposable first password with the disposable second password, and if the disposable first password is consistent with the disposable second password, unlocking operation is executed.
Further, the determining unit further includes:
the first decryption subunit is used for sending the encrypted registration key to the encryption chip, decrypting the encrypted registration key by the encryption chip and returning a decrypted verification registration key;
the second decryption subunit is used for decrypting the encrypted registration key based on the public key returned by the cloud server to obtain a decrypted registration key;
and the comparison unit is used for comparing the verification registration key with the registration key, and if the verification registration key and the registration key are consistent, verifying the user ID based on the registration key.
In addition, an embodiment of the present invention further provides a computer storage medium, where a program for generating a one-time password is stored on the computer storage medium, and when the program for generating a one-time password is executed by a processor, the steps of the method for generating a one-time password are implemented, which are not described herein again.
Compared with the prior art, the method and the device for generating the one-time password, the intelligent door lock and the storage medium provided by the invention comprise the following steps: sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in a registration process; and after receiving a one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range. Therefore, verification and registration are carried out based on the authentication code, and the one-time password with higher security level is generated based on the one-time password generation parameter, so that the security of the one-time password is greatly improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a terminal device to execute the method according to the embodiments of the present invention.
The above description is only for the preferred embodiment of the present invention and is not intended to limit the scope of the present invention, and all equivalent structures or flow transformations made by the present specification and drawings, or applied directly or indirectly to other related arts, are included in the scope of the present invention.

Claims (10)

1. A method for generating a one-time password is applied to an intelligent door lock, and comprises the following steps:
sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in a registration process;
and after receiving a one-time password application, calculating a one-time first password based on the one-time password generation parameter, the current time and the time range.
2. The method according to claim 1, wherein the smart door lock comprises an encryption chip, the step of sending a registration request data packet to the cloud service platform, the step of verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and the step of storing the one-time password generation parameter obtained in the registration process comprises:
receiving a true random number and a user ID sent by a mobile terminal, encrypting the true random number and an encryption chip ID of an encryption chip to obtain an authentication code, and storing the encryption chip ID, the authentication code and the user ID as a registration request data packet;
the steps of sending a registration request data packet to a cloud service platform, verifying and registering by the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in the registration process include:
sending a registration request data packet containing the authentication code to the cloud service platform, decrypting the authentication code by the cloud service platform to obtain a verification true random number, comparing the verification true random number with the true random number sent to the intelligent door lock, and judging that the verification is successful if the verification is consistent with the true random number;
and after the verification is successful, registering, and storing the authentication code, the encrypted chip ID, the user ID, the registration time and an encrypted registration key generated by the cloud service platform based on the registration request data packet as one-time password generation parameters.
3. The method according to claim 2, wherein after the verification is successful, registering is performed, and the steps of storing the authentication code, the encrypted chip ID, the user ID, and a registration key generated by the cloud service platform based on the registration request packet as one-time password generation parameters further include:
calculating a first hash value of an encrypted registration key corresponding to the registration key, and comparing the first hash value with a second hash value of the encrypted registration key returned by the cloud service platform;
if the first hash value is consistent with the second hash value, judging that the encryption registration key is legal, and executing the following steps: and after the verification is successful, registering, and storing the authentication code, the encrypted chip ID, the user ID and a registration key generated by the cloud service platform based on the registration request data packet as a one-time password generation parameter.
4. The method according to claim 1 or 2, wherein the smart door lock supports encryption;
after receiving the one-time password application, the step of calculating the one-time first password based on the one-time password generation parameter, the current time and the time range comprises the following steps:
encrypting the encryption chip ID, the registration time and the authentication code in the one-time password generation parameter to obtain an unlocking key;
and marking the unlocking key, the current time and the time range as first target parameters, calculating a first disposable password based on the first target parameters, and calculating a second disposable password based on the first target parameters through the cloud service platform.
5. The method of claim 1 or 2, wherein the smart door lock does not support encryption;
after receiving the one-time password application, the step of calculating the one-time first password based on the one-time password generation parameter, the current time and the time range comprises the following steps:
acquiring an encrypted registration key in the one-time password generation parameter, and decrypting the encrypted registration key to obtain a registration key;
and marking the registration key, the current time and the time range as second target parameters, calculating a disposable first password based on the second target parameters, and calculating a disposable second password based on the second target parameters through the cloud service platform.
6. The method of claim 1, wherein the step of computing a one-time first password based on the one-time password generation parameter, the current time, and the time range, and computing a second one-time password via the cloud service platform is further followed by:
receiving the disposable second password input by the user, wherein the disposable second password is sent to a mobile terminal by the cloud service platform and displayed to the user through the mobile terminal;
and comparing the first password with the second password, and if the first password is consistent with the second password, executing unlocking operation.
7. The method of claim 3, wherein the smart door lock includes an encryption chip, and wherein the step of determining that the encrypted registration key is valid if the first hash value is consistent with the second hash value further comprises:
sending the encrypted registration key to the encryption chip, decrypting the encrypted registration key by the encryption chip and returning the decrypted authentication registration key;
decrypting the encrypted registration key based on the public key returned by the cloud server to obtain a decrypted registration key;
and comparing the verification registration key with the registration key, and if the verification registration key and the registration key are consistent, verifying the user ID based on the registration key.
8. An apparatus for generating one-time password, the apparatus comprising:
the system comprises a registration module, a cloud service platform and a password generation module, wherein the registration module is used for sending a registration request data packet to the cloud service platform, verifying and registering the cloud service platform based on an authentication code in the registration request data packet, and storing a one-time password generation parameter obtained in the registration process;
and the generating module is used for calculating a disposable first password based on the disposable password generating parameter, the current time and the time range after receiving the disposable password application.
9. An intelligent door lock, characterized in that the intelligent door lock comprises an encryption chip, a processor, a memory and a one-time password generation program stored in the memory, wherein when the one-time password generation program is executed by the processor, the steps of the one-time password generation method according to any one of claims 1-7 are realized.
10. A computer storage medium, characterized in that the computer storage medium has a one-time password generation program stored thereon, and the one-time password generation program realizes the steps of the one-time password generation method according to any one of claims 1 to 7 when executed by a processor.
CN202010735424.8A 2020-07-24 2020-07-24 Method and device for generating one-time password, intelligent door lock and storage medium Active CN112348998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010735424.8A CN112348998B (en) 2020-07-24 2020-07-24 Method and device for generating one-time password, intelligent door lock and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010735424.8A CN112348998B (en) 2020-07-24 2020-07-24 Method and device for generating one-time password, intelligent door lock and storage medium

Publications (2)

Publication Number Publication Date
CN112348998A true CN112348998A (en) 2021-02-09
CN112348998B CN112348998B (en) 2024-03-12

Family

ID=74358263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010735424.8A Active CN112348998B (en) 2020-07-24 2020-07-24 Method and device for generating one-time password, intelligent door lock and storage medium

Country Status (1)

Country Link
CN (1) CN112348998B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113609463A (en) * 2021-10-08 2021-11-05 湖南宸瀚信息科技有限责任公司 Internet of things system based on block chain identity management
CN115171245A (en) * 2022-06-09 2022-10-11 郑州信大捷安信息技术股份有限公司 HCE-based door lock security authentication method and system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101029546A (en) * 2006-03-02 2007-09-05 黄涛 Electronic coding lock system and its controllable starting method
US20070297377A1 (en) * 2006-06-26 2007-12-27 Mccann Peter James Method of creating security associations in mobile IP networks
US20100086130A1 (en) * 2007-01-17 2010-04-08 Peking University Founder Group Co., Ltd. Digital Content Rights Management Method and System
CN101848086A (en) * 2009-03-27 2010-09-29 资通电脑股份有限公司 One-time password setting and authenticating method of electronic chip
JP2012027530A (en) * 2010-07-20 2012-02-09 Dainippon Printing Co Ltd One-time password generator, server apparatus, authentication system, method, program, and recording medium
GB201302805D0 (en) * 2013-02-18 2013-04-03 Fleysher Mikhail A method and system for generation of dynamic password
US20130145449A1 (en) * 2010-08-03 2013-06-06 Jens-Uwe Busser Method and Apparatus for Providing a One-Time Password
US20150244694A1 (en) * 2014-02-24 2015-08-27 Inter Market Trade/Fze Authorizing server, authorizing method and computer program product
CN105069920A (en) * 2015-07-30 2015-11-18 魏初舜 Password-dynamic-synchronization-based collection system
KR20160131744A (en) * 2015-05-08 2016-11-16 임용훈 Apparatus and method for user authentication
CN108055235A (en) * 2017-11-01 2018-05-18 华中科技大学 A kind of control method of smart lock, relevant device and system
CN110211268A (en) * 2019-06-04 2019-09-06 北京一砂信息技术有限公司 A kind of client, server, system, method and the storage medium of timeliness random cipher unlock smart lock

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101029546A (en) * 2006-03-02 2007-09-05 黄涛 Electronic coding lock system and its controllable starting method
US20070297377A1 (en) * 2006-06-26 2007-12-27 Mccann Peter James Method of creating security associations in mobile IP networks
US20100086130A1 (en) * 2007-01-17 2010-04-08 Peking University Founder Group Co., Ltd. Digital Content Rights Management Method and System
CN101848086A (en) * 2009-03-27 2010-09-29 资通电脑股份有限公司 One-time password setting and authenticating method of electronic chip
JP2012027530A (en) * 2010-07-20 2012-02-09 Dainippon Printing Co Ltd One-time password generator, server apparatus, authentication system, method, program, and recording medium
US20130145449A1 (en) * 2010-08-03 2013-06-06 Jens-Uwe Busser Method and Apparatus for Providing a One-Time Password
GB201302805D0 (en) * 2013-02-18 2013-04-03 Fleysher Mikhail A method and system for generation of dynamic password
US20150244694A1 (en) * 2014-02-24 2015-08-27 Inter Market Trade/Fze Authorizing server, authorizing method and computer program product
KR20160131744A (en) * 2015-05-08 2016-11-16 임용훈 Apparatus and method for user authentication
CN105069920A (en) * 2015-07-30 2015-11-18 魏初舜 Password-dynamic-synchronization-based collection system
CN108055235A (en) * 2017-11-01 2018-05-18 华中科技大学 A kind of control method of smart lock, relevant device and system
CN110211268A (en) * 2019-06-04 2019-09-06 北京一砂信息技术有限公司 A kind of client, server, system, method and the storage medium of timeliness random cipher unlock smart lock

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113609463A (en) * 2021-10-08 2021-11-05 湖南宸瀚信息科技有限责任公司 Internet of things system based on block chain identity management
CN115171245A (en) * 2022-06-09 2022-10-11 郑州信大捷安信息技术股份有限公司 HCE-based door lock security authentication method and system
CN115171245B (en) * 2022-06-09 2024-03-12 郑州信大捷安信息技术股份有限公司 Door lock security authentication method and system based on HCE

Also Published As

Publication number Publication date
CN112348998B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
EP2999189B1 (en) Network authentication method for secure electronic transactions
KR101298562B1 (en) System and method for implementing digital signature using one time private keys
US8775794B2 (en) System and method for end to end encryption
US11501294B2 (en) Method and device for providing and obtaining graphic code information, and terminal
CN107743067B (en) Method, system, terminal and storage medium for issuing digital certificate
CN109981562B (en) Software development kit authorization method and device
CN110719173B (en) Information processing method and device
CN111625829A (en) Application activation method and device based on trusted execution environment
EP1618451A2 (en) Associating software with hardware using cryptography
CN107733636B (en) Authentication method and authentication system
CN108200078B (en) Downloading and installing method of signature authentication tool and terminal equipment
CN107733652B (en) Unlocking method and system for shared vehicle and vehicle lock
CN109495268B (en) Two-dimensional code authentication method and device and computer readable storage medium
CN110830471B (en) OTP (one time password) verification method, server, client and computer-readable storage medium
CN108616352B (en) Dynamic password generation method and system based on secure element
KR102012262B1 (en) Key management method and fido authenticator software authenticator
CN113378119B (en) Software authorization method, device, equipment and storage medium
CN112348998B (en) Method and device for generating one-time password, intelligent door lock and storage medium
CN111062059B (en) Method and device for service processing
CN111080856A (en) Bluetooth entrance guard unlocking method
CN116528230A (en) Verification code processing method, mobile terminal and trusted service system
KR102171377B1 (en) Method of login control
JP6343928B2 (en) Portable terminal, authentication system, authentication method, and authentication program
JP2003298574A (en) Electronic apparatus, authentication station, electronic apparatus authentication system, and electronic apparatus authentication method
JP6701011B2 (en) Terminal registration method and terminal registration system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant