Reservation authorization method and device and reservation authorization verification method and device
An authorization code and field technology, applied in the field of smart locks, can solve problems such as being on an airplane or hosting a meeting, and unable to solve problems, so as to achieve the effect of simple and easy operation and ensuring safety
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0064] Example 1: 8 5 88 8 28 7 Indicates that this is a reusable temporary password valid within 6 hours, and the valid time of the password is Tuesday or Friday, because:
[0065] R=5
[0066] D'=8
[0067] E'=7
[0068] D=D'-R>0? D'-R: 10+D'-R=8-5=3, so the effective duration is 6 hours
[0069] E=E'-R>0? E'-R: 10+E'-R=7-5=2=0010
[0070] The first three digits E[3..1] of the extension field E are coded as 001, so the effective date is Tuesday or Friday
[0071] The fourth bit E[0] of the extension field E is coded as 0, so the password field S is a reusable password.
example 2
[0072] Example 2: 2 3 10 3 twenty one 2 Indicates that this is a one-time password valid within 30 minutes, and the valid time of the password is on Sunday. because:
[0073] R=3
[0074] D'=3
[0075] E'=2
[0076] D=D'-R>0? D'-R: 10+D'-R=3-3=0, so the effective duration is 30 minutes
[0077] E=E'-R>0? E'-R: 10+E'-R=10+2-3=9=0b1001
[0078] The first three digits E[3..1] of the extension field E are coded as 100, so the effective date is Sunday
[0079] The fourth bit E[0] of the extension field E is coded as 1, so the password field S is a one-time password.
[0080] figure 2 It is an exemplary flow chart of a reservation authorization verification method in an embodiment of the present invention, and the verification method in this embodiment is applied to a smart lock.
[0081] Such as figure 2 As shown, the reservation authorization verification method in this embodiment includes:
[0082] S201. When receiving the input reservation authorization code to b...
example 3
[0138]Example 3: This example is slightly adjusted based on Example 2 for comparison. Assume that the effective time set when generating the password field is 2019-05-25 10:30, and the validity period is still 30 minutes, which is a one-time password. Since the date is Saturday, then E=0111=7, D=0.
[0139] When the smart lock receives the reservation authorization code to be verified entered by the user, the system time is 2019-05-25 11:11, then add 5 minutes to get T 1 =2019-05-25 11:16.
[0140] Then analyze D=0, that is, a 30-minute look-back period, then
[0141] N max =30 / 15=2
[0142] Then the smart lock performs HOTP verification calculations at the following three time points according to E=7, D=0,
[0143] When N=0, T=2019-05-25 11:07-15*0=2019-05-25 11:16
[0144] When N=1, T=2019-05-25 11:07-15*1=2019-05-25 11:01
[0145] When N=2, T=2019-05-25 11:07-15*2=2019-05-25 10:46
[0146] Since until N=N max When , the variables involved in the HOTP operation at th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

