CN110443925A - Generation method, device, storage medium and the computer equipment of temporary password - Google Patents
Generation method, device, storage medium and the computer equipment of temporary password Download PDFInfo
- Publication number
- CN110443925A CN110443925A CN201910722305.6A CN201910722305A CN110443925A CN 110443925 A CN110443925 A CN 110443925A CN 201910722305 A CN201910722305 A CN 201910722305A CN 110443925 A CN110443925 A CN 110443925A
- Authority
- CN
- China
- Prior art keywords
- temporary password
- password
- door lock
- intelligent door
- mentioned
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00817—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00817—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
- G07C2009/00825—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed remotely by lines or wireless communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0618—Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
- H04L9/0631—Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Lock And Its Accessories (AREA)
Abstract
Present invention discloses a kind of generation method of temporary password, device, storage medium and computer equipments, and wherein method includes: the interim unlocking request for judging whether to receive the administrator terminal of binding connection in advance and sending;If so, obtaining pre-stored administrator's password, the mcu number of intelligent door lock and current first time;It is generated a temporary password according to administrator's password, the mcu number of intelligent door lock, first time and specified checking algorithm.The present invention is after receiving the interim unlocking request of administrator terminal transmission, it intelligent will be generated a temporary password according to administrator's password, the mcu code of intelligent door lock, current first time with specified checking algorithm, be conducive to provide a kind of relatively reliable, better adaptability password unlocking mode for visiting visitor, the security performance for effectively raising intelligent door lock ensure that safety and flexibility of the intelligent door lock when being used by the visitor that comes to visit.
Description
Technical field
The present invention relates to smart home fields, and in particular to a kind of generation method of temporary password, device, storage medium and
Computer equipment.
Background technique
With the continuous development of smart home technology, intelligent door lock as the important component in smart home, due to
Its reliability with higher and intelligence bring convenient and fast usage experience for people, so that the application of intelligent door lock is more next
It is more extensive.
However, needing to open the feelings of the administrator of intelligent door lock but intelligent door lock not at the scene when there is visiting visitor
When condition, for existing intelligent door lock, the administrator of intelligent door lock can only inform the fixed password of intelligent door lock
Visiting visitor, the security performance that will cause intelligent door lock in this way substantially reduces, such as the management in intelligent door lock may occur
In member's unwitting situation of user, the fixed password is used for multiple times to open the situation of intelligent door lock in visiting visitor.If there is
Said circumstances, can threaten work or the residential security of the administrator of intelligent door lock, use to the administrator of intelligent door lock
The production and living at family bring undesirable influence.Therefore, the security performance of existing intelligent door lock is improved, guarantees intelligent door lock in quilt
Visiting visitor using when safety and flexibility be current urgent need to resolve a problem.
Summary of the invention
The main object of the present invention is that the generation method for providing a kind of temporary password, device, computer equipment and storage are situated between
Matter, it is intended to which the security performance for solving existing intelligent door lock is lower, and intelligent door lock lacks safety when by visiting visitor's use
And the technical issues of flexibility.
The present invention proposes a kind of generation method of temporary password, the method includes the steps:
Judge whether to receive the interim unlocking request that the administrator terminal of binding connection in advance is sent;
If so, obtaining pre-stored administrator's password, the mcu number of intelligent door lock and current first time;
According to the administrator's password, the mcu number of the intelligent door lock, the first time and specified checking algorithm
It generates a temporary password.
Optionally, it is described according to the administrator's password, the mcu number of the intelligent door lock, the first time and
The step of specified checking algorithm generates a temporary password, comprising:
The mcu number of the administrator's password, the intelligent door lock and the first time are carried out according to preset order
Combination, obtains corresponding combining characters string;
The combining characters string is encrypted by the specified checking algorithm, obtains encrypted combining characters
String;
The temporary password is set by the encrypted combining characters string.
Optionally, it is described according to the administrator's password, the mcu number of the intelligent door lock, the first time and
After the step of specified checking algorithm generates a temporary password, comprising:
According to preset effective time threshold value and the first time, effective storage life is set for the temporary password
Section;
The temporary password is sent to administrator terminal, so that administrator will be described by the administrator terminal
Temporary password is sent to visitor's terminal;
Judge whether to receive the unlocking cipher that visitor inputs;
If so, being compared to the unlocking cipher with the temporary password according to preset rules, comparison result is obtained,
In, the comparison result includes that the unlocking cipher is unverified by verifying or the unlocking cipher;
According to the comparison result, executes unlocking action or forbid executing unlocking action.
Optionally, the described the step of temporary password is sent to administrator terminal, comprising:
The connection data used with the administrator terminal when establishing connection are obtained, and are generated according to the connection data
Symmetric key sessionkey;
According to the symmetric key sessionkey, the temporary password is encrypted using AES symmetric encipherment algorithm,
Obtain encrypted temporary password;
The encrypted temporary password is sent to the administrator terminal, so that the administrator terminal is according to
Connection data are calculated the symmetric key sessionkey, and according to the symmetric key sessionkey to receiving
Encrypted temporary password carries out AES decryption, obtains the temporary password.
Optionally, described that the unlocking cipher is compared with the temporary password according to preset rules, it is compared
As a result the step of, comprising:
Obtain the first character sum of the unlocking cipher;
Judge whether the first character sum and the second character sum of the temporary password are equal;
If so, judging whether the unlocking cipher is identical as the temporary password;
If so, obtaining the second current time, and judge whether second time is in the effective storage life section
It is interior;
If so, determining that the unlocking cipher passes through verifying;
If it is not, determining that the unlocking cipher is unverified.
Optionally, described to judge whether the first character sum and the second character sum of the temporary password are equal
After step, comprising:
If it is not, judging in the unlocking cipher whether to include character string identical with the temporary password;
If so, obtaining the current third time, and judge whether the third time is in the effective storage life section
It is interior;
If so, determining that the unlocking cipher passes through verifying;
If it is not, determining that the unlocking cipher is unverified.
Optionally, the comparison result is the unlocking cipher by verifying, and described according to the comparison result, execution is opened
After the step of lock acts or forbids execution unlocking action, comprising:
After the preset time for executing unlocking action, the location information between Hall sensor and magnet is obtained, wherein institute
It states Hall sensor to be arranged on the doorframe of door corresponding with intelligent door lock, the magnet is arranged in and the Hall sensor
On the upper side frame of the corresponding door in position;
According to the positional information, judge whether the door is in close state;
It closes and locks if it is not, controlling the door, and nullify the temporary password.
The present invention also provides a kind of generating means of temporary password, comprising:
First judgment module, the interim unlocking that the administrator terminal for judging whether to receive binding connection in advance is sent
Request;
First obtains module, for if so, obtain the mcu number of pre-stored administrator's password, intelligent door lock, and works as
Preceding first time;
Generation module, for according to the mcu number of the administrator's password, the intelligent door lock, the first time with
And specified checking algorithm generates a temporary password.
The present invention also provides a kind of computer equipment, including memory and processor, calculating is stored in the memory
The step of machine program, the processor realizes the above method when executing the computer program.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer journey
The step of above method is realized when sequence is executed by processor.
Generation method, device, computer equipment and the storage medium of temporary password provided in the present invention have with following
Beneficial effect:
Generation method, device, computer equipment and the storage medium of temporary password provided in the present invention, judge whether to connect
Receive the interim unlocking request that the administrator terminal of binding connection in advance is sent;If so, obtaining pre-stored administrator's password, intelligence
The mcu number of energy door lock and current first time;According to the administrator's password, the intelligent door lock mcu number,
The first time and specified checking algorithm generate a temporary password.The present embodiment is receiving the interim of administrator terminal transmission
Unlock request after, will intelligence according to administrator's password, the mcu code of intelligent door lock, current first time and specified verification
Algorithm generates a temporary password, since the mcu code of administrator's password, intelligent door lock all has uniqueness, current first time
It can change with walking about for time, so that the temporary password generated has stronger anti-crack ability, so that it is next for being conducive to
It visits visitor and provides a kind of relatively reliable, better adaptability password unlocking mode, effectively raise the safety of intelligent door lock
Performance ensure that safety and flexibility of the intelligent door lock when being used by the visitor that comes to visit.
Detailed description of the invention
Fig. 1 is the flow diagram of the generation method of the temporary password of one embodiment of the invention;
Fig. 2 is the structural schematic diagram of the generating means of the temporary password of one embodiment of the invention;
Fig. 3 is the structural schematic diagram of the storage medium of one embodiment of the invention;
Fig. 4 is the structural schematic diagram of the computer equipment of one embodiment of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that specific embodiment described herein is used only for explaining the present invention, it is not intended to limit the present invention.
Referring to Fig.1, the generation method of the temporary password of one embodiment of the invention, comprising:
S1: judge whether to receive the interim unlocking request that the administrator terminal of binding connection in advance is sent;
S2: if so, obtaining pre-stored administrator's password, the mcu number of intelligent door lock and current first time;
S3: according to the administrator's password, the mcu number of the intelligent door lock, the first time and specified verification
Algorithm generates a temporary password.
As described in above-mentioned steps S1 to S3, the executing subject of this method embodiment is the generating means of temporary password, specifically
It can be intelligent door lock.Above-mentioned administrator terminal is equipped with the APP application software that can be communicated with above-mentioned intelligent door lock, and manages
Reason person user can log in administrator's account for managing intelligent door lock in the APP application software, and above-mentioned administrator is
The holder of administrator terminal.In the present embodiment, the process that intelligent door lock generates a temporary password is specifically included: first determine whether be
The interim unlocking request that the no administrator terminal for receiving binding connection in advance is sent, wherein above-mentioned interim unlocking request is pipe
The request for generating a temporary password for visitor that reason person user is issued by administrator terminal to intelligent door lock.In addition, management
The interim unlocking request first can be sent to server by member's terminal, and interim request of unlocking then is transmitted to intelligent door by server
Lock.If intelligent door lock has received above-mentioned interim unlocking request, pre-stored administrator's password, intelligent door lock can be obtained
Mcu code, and obtain current first time, wherein above-mentioned administrator's password is that administrator pre-enters to intelligent door
In lock, the mcu code of above-mentioned intelligent door lock has uniqueness, one intelligent door lock of a mcu code correspondence markings.In addition, right
The value mode of above-mentioned first time is not specifically limited, for example, can be used year/day/when/point mode or year/day/when/
Point/mode, etc. of second.Finally according to above-mentioned administrator's password, the mcu code of above-mentioned intelligent door lock, above-mentioned first time and finger
To determine checking algorithm to generate a temporary password, wherein above-mentioned specified checking algorithm is any one algorithm in consistency desired result algorithm,
It may be, for example, CRC32 (Cyclic Redundancy Check 32) checking algorithm, MD5 (Message-Digest
Algorithm 5) checking algorithm and SHA1 (Secure Hash Algorithm 1) algorithm, etc., to pass through the specified verification
The encryption of algorithm generates above-mentioned temporary password, in addition, can be sent to the temporary password after generating a temporary password
Administrator terminal is stated, so that the temporary password is transmitted to visitor's terminal by administrator terminal, so that visitor can input this temporarily
Password is unlocked to control intelligent door lock.The present embodiment is after receiving the interim unlocking request of administrator terminal transmission, Bian Huizhi
Energy generates a temporary password according to administrator's password, the mcu code of intelligent door lock, current first time with specified checking algorithm,
Since the mcu code of administrator's password, intelligent door lock all has uniqueness, current first time also can with walking about for time and
Variation, so that the temporary password generated has stronger anti-crack ability, to be conducive to provide one kind more for visiting visitor
Add reliable, better adaptability password unlocking mode, effectively raises the security performance of intelligent door lock, ensure that intelligent door lock
Safety and flexibility when being used by the visitor that comes to visit.
Further, in one embodiment of the invention, above-mentioned steps S3, comprising:
S300: mcu number and the first time according to preset order to the administrator's password, the intelligent door lock
It is combined, obtains corresponding combining characters string;
S301: the combining characters string is encrypted by the specified checking algorithm, obtains encrypted group
Close character string;
S302: the temporary password is set by the encrypted combining characters string.
It is above-mentioned according to administrator's password, the mcu code of intelligent door lock, first time as described in above-mentioned steps S300 to S302
And specified checking algorithm the step of generating a temporary password, specifically can include: close to above-mentioned administrator first, in accordance with preset order
Code, above-mentioned intelligent door lock mcu password and above-mentioned first time be combined, corresponding combining characters string is obtained, wherein above-mentioned
Preset order can carry out free setting by intelligent door lock, when may be, for example, administrator's password-intelligent door lock mcu password-the first
Between sequence, or the sequence of the mcu password for first time-administrator's password-intelligent door lock.Then pass through above-mentioned specified school
Said combination character string is encrypted in checking method, obtains encrypted combining characters string, wherein above-mentioned specified verification is calculated
Method can be CRC32 checking algorithm.Above-mentioned temporary password finally is set by above-mentioned encrypted combining characters string, to be used for
The temporary password of intelligent door lock is opened for temporary visitor.The present embodiment by according to the mcu code of administrator's password, intelligent door lock,
Current first time generates a temporary password with specified checking algorithm, so that visitor can be come by inputting correct temporary password
The demand unlocked up to control intelligent door lock is conducive to provide for visiting visitor a kind of relatively reliable, better adaptability
It is further, in another embodiment, above-mentioned according to administrator's password, intelligent door applied to the unlocking mode of intelligent door lock
The mcu code of lock, the step of generating a temporary password at the first time with specified checking algorithm may also include that first by above-mentioned specified
The mcu code of above-mentioned intelligent door lock is encrypted in checking algorithm, obtains the lock id of corresponding intelligent door lock.Then according to
Two preset orders are combined the lock id of above-mentioned administrator's password, above-mentioned intelligent door lock with above-mentioned first time, are corresponded to
The second combining characters string may be, for example, administrator's password-wherein above-mentioned preset order can carry out free setting by intelligent door lock
The sequence of the lock id- first time of intelligent door lock, or the sequence of the lock id for first time-administrator's password-intelligent door lock.
Then above-mentioned second combining characters string is encrypted by above-mentioned specified checking algorithm, obtains encrypted second combination
Character string.Above-mentioned temporary password finally is set by above-mentioned encrypted second combining characters string, to obtain for visiting to be interim
Visitor opens the temporary password of intelligent door lock.
Further, in one embodiment of the invention, after above-mentioned steps S3, comprising:
S310: it according to preset effective time threshold value and the first time, is effectively used for temporary password setting
Period;
S311: being sent to administrator terminal for the temporary password, so that administrator passes through the administrator terminal
The temporary password is sent to visitor's terminal;
S312: judge whether to receive the unlocking cipher of visitor's input;
S313: it if so, being compared the unlocking cipher with the temporary password according to preset rules, obtains comparing knot
Fruit, wherein the comparison result includes that the unlocking cipher is unverified by verifying or the unlocking cipher;
S314: it according to the comparison result, executes unlocking action or forbids executing unlocking action.
As described in above-mentioned steps S310 to S314, after generating above-mentioned temporary password, intelligent door lock can further face for this
When password effective usage time interval is set, then verified according to the unlocking cipher that the temporary password inputs visitor, to hold
The corresponding unlocking action of row forbids executing unlocking action.It specifically, first can be according to default after generating above-mentioned temporary password
Effective time threshold value and above-mentioned first time, for above-mentioned temporary password, effective usage time interval is set.Wherein, above-mentioned in generation
While temporary password, also effective usage time interval can be set for the temporary password simultaneously, i.e., according to preset effective time threshold
Value provides the usable time limit of the temporary password with current first time.In addition, above-mentioned effective time threshold value can be by intelligence
Door lock is set automatically, or is configured by administrator, such as can be set as 15 minutes.Citing ground, when current first
Between be 2019/6/12/15:00, then the effective storage life section of temporary password be 2019/6/12/15:00-2019/6/12/15:
15, if the unlocking cipher of visitor's input is identical as temporary password, but the time of the unlocking cipher inputted is not in effective use
Between in section, then intelligent door lock will be considered that the unlocking cipher does not have and use validity.Setting above-mentioned effective storage life section
Afterwards, then by above-mentioned temporary password it is sent to administrator terminal, so that administrator will be above-mentioned interim close by above-mentioned administrator terminal
Code is sent to visitor's terminal, so that visitor can know the temporary password by visitor's terminal.Then judge whether to receive visitor
The unlocking cipher of input, wherein visitor, can be in intelligent door lock after the temporary password for receiving administrator terminal return
Corresponding unlocking cipher is inputted on combination dials.Intelligent door lock, will be according to preset rules after receiving above-mentioned unlocking cipher
Above-mentioned unlocking cipher is compared with above-mentioned temporary password, obtains comparison result, wherein to it is above-mentioned according to preset rules to upper
It states the manner of comparison that unlocking cipher is compared with above-mentioned temporary password to be not specifically limited, citing ground can be used and compare unlocking
Whether password and temporary password are identical and whether the unlocking cipher has the mode using validity, or can also use
Compare in unlocking cipher and is combined and whether the unlocking cipher with the presence or absence of with the above-mentioned temporary password identical number that puts in order
Has the manner of comparison using validity.In addition, above-mentioned comparison result may include that above-mentioned unlocking cipher passes through verifying or above-mentioned
Unlocking cipher is unverified.Finally after having obtained above-mentioned comparison result, corresponding open will be executed according to the comparison result
Lock acts or forbids executing unlocking action.Citing ground shows visitor if comparison result is above-mentioned unlocking cipher by verifying
The unlocking cipher of input is correct and has using validity, it was demonstrated that visitor has the permission unlocked, then intelligent door lock can be held
Row unlocking action.And if comparison result is that above-mentioned unlocking cipher is unverified, show that the unlocking cipher of visitor's input is wrong
Accidentally or do not have with validity, it was demonstrated that visitor does not have the permission of unlocking currently, then unlocking action is not carried out in intelligent door lock.
The present embodiment, which passes through, is arranged an effective storage life section for the temporary password generated, uses so that the temporary password generated has
Timeliness effectively provides normalization for the use of temporary password.In addition, unlocking cipher and generation by inputting visitor
Temporary password be compared, only when comparison result is that unlocking cipher can just execute unlocking action when passing through verifying, and when than
It is that unlocking action is then not carried out when unverified in unlocking cipher to result, effectively raises the safety of intelligent door lock unlocking
Property.
Further, in one embodiment of the invention, above-mentioned steps S311, comprising:
S3110: the connection data used with the administrator terminal when establishing connection are obtained, and according to the connection number
According to generation symmetric key sessionkey;
S3111: according to the symmetric key sessionkey, using AES symmetric encipherment algorithm to the temporary password into
Row encryption, obtains encrypted temporary password;
S3112: the encrypted temporary password is sent to the administrator terminal, so as to the administrator terminal root
The symmetric key sessionkey is calculated according to the connection data, and is docked according to the symmetric key sessionkey
The encrypted temporary password received carries out AES decryption, obtains the temporary password.
It, may during sending temporary password to administrator terminal as described in above-mentioned steps S3110 to S3112
There is the case where temporary password leakage, thus also further first the temporary password can be encrypted, then will be encrypted
Temporary password is sent to administrator terminal, to guarantee the safety of the temporary password of transmission.Specifically, above-mentioned to send out temporary password
Send to the step of administrator terminal include: obtain first with the connection data of above-mentioned administrator terminal, and according to above-mentioned connection
Data generate symmetric key sessionkey, wherein above-mentioned connection data are established between intelligent door lock and administrator terminal ties up
The required data used, specifically include administrator terminal random number, intelligent door lock end random number, intelligent door lock when connecting surely
MAC Address and intelligent door lock security password.In addition, above-mentioned administrator terminal random number and intelligent door lock end random number can be with
Certain rule the variation of randomness occurs so that very strong counter crack can be had by generating symmetric key sessionkey
Ability.After generating above-mentioned symmetric key sessionkey, further according to symmetric key sessionkey, symmetrically added using AES
Close algorithm encrypts above-mentioned temporary password, obtains encrypted temporary password, i.e., by by above-mentioned symmetric key
Encryption key of the sessionkey as temporary password, and above-mentioned temporary password is encrypted using AES symmetric encipherment algorithm.
Finally after obtaining above-mentioned encrypted temporary password, then that above-mentioned encrypted temporary password is sent to above-mentioned administrator is whole
End, so as to above-mentioned administrator terminal according to above-mentioned connection data be calculated with above-mentioned symmetric key sessionkey, and according to
Symmetric key sessionkey carries out AES decryption to the encrypted temporary password received, obtains above-mentioned temporary password.Separately
Outside, the administrator terminal and intelligent door lock for binding connection are provided with the permission for obtaining above-mentioned connection data, so that only managing
Reason person's terminal just has the permission for generating above-mentioned symmetric key, also ensures that only administrator terminal has to encrypted interim
The permission that password is decrypted.The present embodiment is guaranteeing through AES symmetric encipherment algorithm after generating a temporary password to interim close
In the case that code is encrypted, then encrypted temporary password is sent to administrator terminal, ensure that temporary password is transmitted across
The safety and integrity of journey, effectively prevents temporary password from being cracked and being controlled by outside, it is ensured that the safety of temporary password.
Further, in one embodiment of the invention, above-mentioned steps S313, comprising:
S3130: the first character sum of the unlocking cipher is obtained;
S3131: judge whether the first character sum and the second character sum of the temporary password are equal;
S3132: if so, judging whether the unlocking cipher is identical as the temporary password;
S3133: if so, obtaining the second current time, and judge whether second time is in effective use
In period;
S3134: if so, determining that the unlocking cipher passes through verifying;
S3135: if it is not, determining that the unlocking cipher is unverified.
As described in above-mentioned steps S3130 to S3135, it is above-mentioned according to preset rules to above-mentioned unlocking cipher with it is above-mentioned interim close
The step of code is compared, obtains comparison result, specifically includes: the first character sum of above-mentioned unlocking cipher is obtained first, and
Judge whether above-mentioned first character sum and the second character sum of above-mentioned temporary password are equal, citing ground, above-mentioned first character
The number for all characters that sum includes by unlocking cipher, all words that above-mentioned second character sum includes by temporary password
The number of symbol, if temporary password is 1234, the first character sum is 4, if unlocking cipher is 1244, the second character is total
Number is also 4.If the first character sum is equal with the second character sum of temporary password, can further judge unlocking cipher with
Whether above-mentioned temporary password is identical.If unlocking cipher is different from temporary password, indicate that the unlocking cipher of visitor's input is mistake
, it was demonstrated that visitor does not have the permission of unlocking currently, then can determine that unlocking cipher is unverified, and can generate unlocking cipher
Unverified comparison result, and then intelligent door lock can be forbidden executing unlocking action according to the comparison result, to prevent out
The case where the case where unlocking cipher of existing criminal's input error can also open intelligent door lock, in turn result in economic loss, have
The safety for improving intelligent door lock unlocking of effect.And if unlocking cipher is identical as temporary password, it is also necessary to another step judgement
Whether the unlocking cipher has validity, then obtains the second current time, and judges whether above-mentioned second time is in above-mentioned
In effective storage life section, citing ground, if the effective storage life section of temporary password is 2019/6/12/15:00-2019/6/
12/15:15, and the second current time is 2019/6/12/15:08, then when determining that the second current time is in effectively use
Between in section.If the second current time is in effective storage life section, indicate that the unlocking cipher of visitor's input is correct
And have using validity, then it can determine that unlocking cipher passes through verifying, and unlocking cipher can be generated and pass through the comparison knot of verifying
Fruit.And if the second current time is not in effective storage life section, indicate although the unlocking cipher of visitor's input is just
It is true but do not have using validity, then it can determine that unlocking cipher is unverified, and unlocking cipher can be generated do not pass through and test
The comparison result of card.The present embodiment carries out quantity, content and the use with temporary password by the unlocking cipher inputted to visitor
Effective period of time carries out multiple judgement can just determine to unlock close only when unlocking cipher has been all satisfied the requirement of multiple judgement
Code ensure that the preciseness of the comparison process of unlocking cipher by verifying, and effectively raise the peace of intelligent door lock unlocking
Quan Xing.
Further, in one embodiment of the invention, after above-mentioned steps S3131, comprising:
S31310: if it is not, judging in the unlocking cipher whether to include character string identical with the temporary password;
S31311: if so, obtaining the current third time, and judge whether the third time is in effective use
In period;
S31312: if so, determining that the unlocking cipher passes through verifying;
S31313: if it is not, determining that the unlocking cipher is unverified.
As described in above-mentioned steps S31310 and S31313, the of above-mentioned first character sum and above-mentioned temporary password is being judged
During whether two character sums are equal, it is also possible to there is the first character sum and the unequal situation of the second character sum,
Such as there is visitor in order to avoid passerby's snooping password, and had input in intelligent door lock end and be mixed with correct temporary password number
The case where word and the unlocking cipher of other multiple numbers, then intelligent door lock can carry out diastema to the unlocking cipher that visitor inputs at this time
Password authentification processing.Specifically, if the second character sum of the first character sum and temporary password is unequal, further sentence
Whether include with above-mentioned temporary password identical character string, citing ground, if temporary password is if breaking in above-mentioned unlocking cipher
1234, the unlocking cipher of visitor's input is 56123478, due to having identical with temporary password 1234 in the unlocking cipher, then
Determine that in unlocking cipher include character string identical with temporary password.If including in unlocking cipher and temporary password phase
Same character string, it is also necessary to another step judges whether the unlocking cipher has validity, then obtains the current third time, and
Judge whether the above-mentioned third time is in above-mentioned effective storage life section.If the current third time is in effectively use
Between in section, indicate that the unlocking cipher of visitor's input is correct and has using validity, then unlocking cipher can be determined by testing
Card, and unlocking cipher can be generated and pass through the comparison result of verifying.And if when the current third time is not at effective use
Between in section, indicate although the unlocking cipher of visitor's input is correct but does not have using validity, then can determine unlocking cipher
It is unverified, and the unverified comparison result of unlocking cipher can be generated.The present embodiment is close in the unlocking that user inputs
Under first character sum of code and the unequal situation of the second character sum of temporary password, split lock cipher that can be intelligent is carried out
Diastema password authentification processing, and the judgement using effective period of time is carried out, only when unlocking cipher has been all satisfied diastema password
When verifying is with using the requirement of effective period of time, it can just determine that unlocking cipher by verifying, ensure that the comparison of unlocking cipher
The preciseness and intelligence of journey, and effectively raise the safety of intelligent door lock unlocking.
Further, in one embodiment of the invention, after above-mentioned steps S314, comprising:
S3140: after the preset time for executing unlocking action, obtaining the location information between Hall sensor and magnet,
Wherein, the Hall sensor is arranged on the doorframe of door corresponding with intelligent door lock, magnet setting with the Hall
On the upper side frame of the corresponding door in the position of sensor;
S3141: according to the positional information, judge whether the door is in close state;
S3142: closing and lock if it is not, controlling the door, and nullifies the temporary password.
As described in above-mentioned steps S3140 to S3142, when above-mentioned comparison result is that unlocking cipher passes through verifying, executing
After unlocking action, whether intelligent door lock, which also has the function of detecting visitor having after entering house, closes door.Specifically, it is executing
Location information after the preset time of unlocking action, first between acquisition Hall sensor and magnet, wherein above-mentioned preset time
It can be arranged automatically by intelligent door lock or be configured by administrator, such as can be set as 2 minutes, above-mentioned Hall sensor is set
It sets on the doorframe of door corresponding with intelligent door lock, door corresponding with the position of above-mentioned Hall sensor is arranged in above-mentioned magnet
On upper side frame, above-mentioned Hall sensor is a kind of magneto-dependent sensor of magnetoelectricity conversion.In addition, above-mentioned location information may include, suddenly
Your the distance between sensor and magnet is close, such as distance between the two is between 5 millimeters or Hall sensor and magnet
Distance farther out, such as distance between the two is 50 centimetres.After obtaining above-mentioned location information, judge further according to the location information
Whether door is currently in close state.Specifically, when magnet be moved to being almost first of 0 at a distance from Hall sensor
Place is set, such as the distance of the two is 5 millimeters, and the axis of magnet and the axis of Hall sensor at this time can in same straight line
Hall effect is generated, the output end of Hall sensor can export low level, then can determine that door is currently at closed state.If magnetic
Iron be moved to at a distance from Hall sensor when the farther away second place, such as both distance be 50 centimetres, and magnet
Axis and Hall sensor axis not in same straight line, Hall sensor due to imperceptible magnet presence, thus
Hall effect will not be generated, the output end of Hall sensor can export high level, then can determine that door currently still in open state.
If door is not currently in closed state, controls door and close and lock, and nullifies temporary password.Wherein, in intelligent door lock
Portion is provided with the unlocking structure for unlocking, for the closedown structure of locking and for driving corresponding door to open or close
Driving structure.When judging that visitor neglects locking the door after the preset time in the room that opens the door, intelligent door lock can pass through the present embodiment
Above-mentioned driving device control door is closed, and is locked on the door by above-mentioned closedown structure, is locked a door automatically with realizing, thus
It is effectively prevent other people trailing, be conducive to avoid the occurrence of causes stranger illegally to enter room since visitor neglects locking the door, to make
The case where at economic loss, improves the safety of intelligent door lock.In addition, intelligent door lock can also intelligence cancellation temporary password,
So that the temporary password generated no longer has validity after by visitor's use, it is interim by inputting this to avoid the occurrence of stranger
Password come the case where unlocking to reach bad purpose, further improve intelligent door lock unlocking safety.In another implementation
In example, when judgement, which is gone out, is not at closed state, also capable of emitting warning information, to remind visitor currently without locking a door, thus
Visitor can have found alarm song in first time and lock a door in time.Wherein, the peak that above-mentioned warning information can issue for intelligent door lock
Ring sound, or the voice reminder information issued for door lock, and the content of the voice reminder information can are as follows: Men Wei is shut, and is please locked at once
Door.In addition, being by obtaining the Hall sensor being mounted on a door and going out with the direct location information of magnet come intelligent judgement
It is no to be in close state, if door is not at closed state, it can send a warning, to remind visitor to lock a door in time, favorably
Stranger is caused illegally to enter room since visitor neglects locking the door in avoiding the occurrence of, so that the case where causing economic loss, improves
The safety of intelligent door lock.
Referring to Fig. 2, a kind of generating means of temporary password are additionally provided in one embodiment of the invention, comprising:
First judgment module 1, what the administrator terminal for judging whether to receive binding connection in advance was sent temporarily opens
Lock request;
First obtains module 2, for if so, obtain the mcu number of pre-stored administrator's password, intelligent door lock, and
Current first time;
Generation module 3, for according to the mcu number of the administrator's password, the intelligent door lock, the first time with
And specified checking algorithm generates a temporary password.
It is obtained in module and generation module in above-mentioned first judgment module, first, the executing subject of this method embodiment
For the generating means of temporary password, concretely intelligent door lock.Above-mentioned administrator terminal is equipped with can be with above-mentioned intelligent door lock
The APP application software communicated, and administrator can log in the pipe for managing intelligent door lock in the APP application software
Reason person's account, above-mentioned administrator are the holder of administrator terminal.It generates a temporary password in the present embodiment, intelligent door lock
Process specifically includes: it is first determined whether the interim unlocking request that the administrator terminal for receiving binding connection in advance is sent,
In, above-mentioned interim unlocking request is that administrator is used to be that visitor's generation is faced by what administrator terminal was issued to intelligent door lock
When password request.In addition, the interim unlocking request first can be sent to server by administrator terminal, then will be faced by server
Shi Kaisuo request is transmitted to intelligent door lock.If intelligent door lock has received above-mentioned interim unlocking request, can obtain pre-stored
Administrator's password, intelligent door lock mcu code, and obtain current first time, wherein above-mentioned administrator's password is management
Member user pre-enters to intelligent door lock, and the mcu code of above-mentioned intelligent door lock has uniqueness, and a mcu code is only corresponding to be marked
Remember an intelligent door lock.In addition, be not specifically limited to the value mode of above-mentioned first time, for example, can be used year/day/when/
Point mode or year/day/when/point/second mode, etc..Finally according to above-mentioned administrator's password, above-mentioned intelligent door lock
Mcu code, above-mentioned first time and specified checking algorithm generate a temporary password, wherein above-mentioned specified checking algorithm is consistency school
Any one algorithm in checking method may be, for example, CRC32 (Cyclic Redundancy Check 32) checking algorithm, MD5
(Message-Digest Algorithm 5) checking algorithm and SHA1 (Secure Hash Algorithm 1) algorithm, etc.,
Above-mentioned temporary password is generated to specify the encryption of checking algorithm by this, it, can should in addition, after generating a temporary password
Temporary password is sent to above-mentioned administrator terminal, so that the temporary password is transmitted to visitor's terminal by administrator terminal, thus
Visitor can input the temporary password to control intelligent door lock and unlock.The present embodiment is receiving temporarily opening for administrator terminal transmission
After lock request, intelligent it will be calculated according to administrator's password, the mcu code of intelligent door lock, current first time and specified verification
Method generates a temporary password, and since the mcu code of administrator's password, intelligent door lock all has uniqueness, current first time also can
Change with walking about for time, so that the temporary password generated has stronger anti-crack ability, so that it is visiting for being conducive to
Visitor provides a kind of relatively reliable, better adaptability password unlocking mode, effectively raises the safety of intelligent door lock
Can, it ensure that safety and flexibility of the intelligent door lock when being used by the visitor that comes to visit.
Further, in one embodiment of the invention, above-mentioned generation module, comprising:
Assembled unit, for according to preset order to the mcu number of the administrator's password, the intelligent door lock with it is described
It is combined at the first time, obtains corresponding combining characters string;
Encryption unit is added for the combining characters string to be encrypted by the specified checking algorithm
Combining characters string after close;
Setting unit, for setting the temporary password for the encrypted combining characters string.
It is above-mentioned to be calculated according to administrator's password, the mcu code of intelligent door lock, first time and specified verification in the present embodiment
The step of method generates a temporary password, specifically can include: first, in accordance with preset order to above-mentioned administrator's password, above-mentioned intelligent door lock
Mcu password be combined with above-mentioned first time, corresponding combining characters string is obtained, wherein above-mentioned preset order can be by intelligence
Door lock carries out free setting, may be, for example, administrator's password-intelligent door lock mcu password-first time sequence, or is the
The sequence of the mcu password of m- administrator's password-intelligent door lock for the moment.Then by above-mentioned specified checking algorithm to said combination
Character string is encrypted, and obtains encrypted combining characters string, wherein above-mentioned specified checking algorithm can be calculated for CRC32 verification
Method.Above-mentioned temporary password finally is set by above-mentioned encrypted combining characters string, to obtain for opening intelligence for temporary visitor
The temporary password of energy door lock.The present embodiment by according to the mcu code of administrator's password, intelligent door lock, current first time with
Specified checking algorithm generates a temporary password so that visitor can be reached by inputting correct temporary password control intelligent door lock into
The demand that row is unlocked is conducive to provide for the visitor that comes to visit a kind of relatively reliable, better adaptability applied to intelligent door lock
Unlocking mode, further, in another embodiment, it is above-mentioned according to administrator's password, the mcu code of intelligent door lock, first when
Between the step of generating a temporary password with specified checking algorithm, may also include that first by above-mentioned specified checking algorithm to above-mentioned intelligence
The mcu code of energy door lock is encrypted, and obtains the lock id of corresponding intelligent door lock.Then according to the second preset order to above-mentioned
Administrator's password, above-mentioned intelligent door lock lock id and above-mentioned first time be combined, obtain corresponding second combining characters string,
Wherein above-mentioned preset order can carry out free setting by intelligent door lock, may be, for example, administrator's password-intelligent door lock lock id- the
The sequence of one time, or the sequence of the lock id for first time-administrator's password-intelligent door lock.Then by above-mentioned specified
Above-mentioned second combining characters string is encrypted in checking algorithm, obtains encrypted second combining characters string.It finally will be upper
It states encrypted second combining characters string and is set as above-mentioned temporary password, to obtain for opening intelligent door lock for temporary visitor
Temporary password.
Further, in one embodiment of the invention, the generating means of above-mentioned temporary password, comprising:
Setup module, for being arranged for the temporary password according to preset effective time threshold value and the first time
Effective storage life section;
First sending module, for the temporary password to be sent to administrator terminal, so that administrator passes through institute
It states administrator terminal and the temporary password is sent to visitor's terminal;
Second judgment module, for judging whether to receive the unlocking cipher of visitor's input;
Comparison module, for obtaining if so, be compared to the unlocking cipher with the temporary password according to preset rules
To comparison result, wherein the comparison result includes that the unlocking cipher is unverified by verifying or the unlocking cipher;
First execution module, for executing unlocking action or forbidding executing unlocking action according to the comparison result.
In the present embodiment, after generating above-mentioned temporary password, intelligent door lock can be further effective for temporary password setting
Then usage time interval is verified according to the unlocking cipher that the temporary password inputs visitor, moved with executing corresponding unlock
Make or forbid to execute unlocking action.It specifically, first can be according to preset effective time threshold value after generating above-mentioned temporary password
With above-mentioned first time, effective usage time interval is set for above-mentioned temporary password.Wherein, the same of above-mentioned temporary password is being generated
When, also effective usage time interval can be set for the temporary password simultaneously, i.e., according to preset effective time threshold value and current the
One time provided the usable time limit of the temporary password.In addition, above-mentioned preset effective time threshold value can be by intelligent door lock certainly
Dynamic setting, or be configured by administrator, such as can be set as 15 minutes.With illustrating, current first time is
2019/6/12/15:00, then the effective storage life section of temporary password is 2019/6/12/15:00-2019/6/12/15:15,
If the unlocking cipher of visitor's input is identical as temporary password, but the time of the unlocking cipher inputted is not in effective storage life section
Interior, then intelligent door lock will be considered that the unlocking cipher does not have and use validity.After setting above-mentioned effective storage life section, then
Above-mentioned temporary password is sent to administrator terminal, so that administrator is sent above-mentioned temporary password by above-mentioned administrator terminal
Visitor's terminal is given, so that visitor can know the temporary password by visitor's terminal.Then judge whether to receive visitor's input
Unlocking cipher, wherein visitor can dial after the temporary password for receiving administrator terminal return in the password of intelligent door lock
Corresponding unlocking cipher is inputted on disk.Intelligent door lock, will be according to preset rules to above-mentioned after receiving above-mentioned unlocking cipher
Unlocking cipher is compared with above-mentioned temporary password, obtains comparison result, wherein to it is above-mentioned according to preset rules to above-mentioned unlocking
The manner of comparison that password is compared with above-mentioned temporary password is not specifically limited, citing ground, can be used compare unlocking cipher with
Whether temporary password is identical and whether the unlocking cipher has the mode using validity, or can also use and compare out
It is combined and whether the unlocking cipher has makes in lock cipher with the presence or absence of with the above-mentioned temporary password identical number that puts in order
With the manner of comparison of validity.In addition, above-mentioned comparison result may include that above-mentioned unlocking cipher is close by verifying or above-mentioned unlocking
Code is unverified.Finally after having obtained above-mentioned comparison result, corresponding unlocking action will be executed according to the comparison result
Or forbid executing unlocking action.Citing ground shows visitor's input if comparison result is above-mentioned unlocking cipher by verifying
Unlocking cipher is correct and has using validity, it was demonstrated that visitor has the permission unlocked, then intelligent door lock can execute unlocking
Movement.And if comparison result be above-mentioned unlocking cipher it is unverified, show visitor input unlocking cipher be mistake or
Do not have with validity, it was demonstrated that visitor does not have the permission of unlocking currently, then unlocking action is not carried out in intelligent door lock.This implementation
Example is by temporary password one effective storage life section of setting to generate, so that the temporary password generated has Use Limitation
Property, effectively normalization is provided for the use of temporary password.In addition, being faced by the unlocking cipher for inputting visitor with what is generated
When password be compared, only when comparison result is that unlocking cipher can just execute unlocking action when passing through verifying, and when comparing knot
Fruit is that unlocking action is then not carried out when unverified in unlocking cipher, effectively raises the safety of intelligent door lock unlocking.
Further, in one embodiment of the invention, above-mentioned first sending module, comprising:
First acquisition unit, for obtaining the connection data used with the administrator terminal when establishing connection, and root
Symmetric key sessionkey is generated according to the connection data;
Encryption unit is used for according to the symmetric key sessionkey, using AES symmetric encipherment algorithm to described interim
Password is encrypted, and encrypted temporary password is obtained;
Transmission unit, for the encrypted temporary password to be sent to the administrator terminal, so as to the management
The symmetric key sessionkey is calculated according to the connection data in member's terminal, and according to the symmetric key
Sessionkey carries out AES decryption to the encrypted temporary password received, obtains the temporary password.
In the present embodiment, during sending temporary password to administrator terminal, it is possible that temporary password is revealed
The case where, thus also further first the temporary password can be encrypted, then encrypted temporary password is sent to pipe
Reason person's terminal, to guarantee the safety of the temporary password of transmission.Specifically, above-mentioned that temporary password is sent to administrator terminal
Step includes: the connection data obtained first with above-mentioned administrator terminal, and generates symmetric key according to above-mentioned connection data
Sessionkey, wherein above-mentioned connection data are required when establishing binding connection between intelligent door lock and administrator terminal to be made
The data used, specifically include administrator terminal random number, intelligent door lock end random number, intelligent door lock MAC Address and intelligence
The security password of door lock.In addition, above-mentioned administrator terminal random number and intelligent door lock end random number can be sent out with certain rule
The variation of raw randomness, so that very strong anti-crack ability can be had by generating symmetric key sessionkey.In generation
After stating symmetric key sessionkey, further according to symmetric key sessionkey, faced using AES symmetric encipherment algorithm above-mentioned
When password encrypted, obtain encrypted temporary password, i.e., by using above-mentioned symmetric key sessionkey as interim close
The encryption key of code, and above-mentioned temporary password is encrypted using AES symmetric encipherment algorithm.Finally after obtaining above-mentioned encryption
Temporary password after, then above-mentioned encrypted temporary password is sent to above-mentioned administrator terminal, so as to above-mentioned administrator terminal
According to above-mentioned connection data be calculated with above-mentioned symmetric key sessionkey, and according to symmetric key sessionkey dock
The encrypted temporary password received carries out AES decryption, obtains above-mentioned temporary password.In addition, the administrator terminal of binding connection
The permission for obtaining above-mentioned connection data is provided with intelligent door lock, so that only administrator terminal just has generation above-mentioned right
The permission for claiming key, also ensures that only administrator terminal has the permission that encrypted temporary password is decrypted.This reality
Example is applied after generating a temporary password, in the case where guaranteeing to encrypt temporary password by AES symmetric encipherment algorithm, then will
Encrypted temporary password is sent to administrator terminal, ensure that the safety and integrity of temporary password transmission process, effectively
Prevent temporary password from being cracked and being controlled by outside, it is ensured that the safety of temporary password.
Further, in one embodiment of the invention, above-mentioned comparison module, comprising:
Second acquisition unit, for obtaining the first character sum of the unlocking cipher;
First judging unit, for judge the first character sum and the temporary password the second character sum whether
It is equal;
Second judgment unit, for if so, judging whether the unlocking cipher is identical as the temporary password;
Third judging unit for if so, obtain the second current time, and judges whether second time is in institute
It states in effective storage life section;
First judging unit, for if so, determining that the unlocking cipher passes through verifying;
Second judging unit, for if it is not, determining that the unlocking cipher is unverified.
It is above-mentioned that above-mentioned unlocking cipher is compared with above-mentioned temporary password according to preset rules in the present embodiment, it obtains
The step of comparison result, specifically includes: obtaining the first character sum of above-mentioned unlocking cipher first, and judges above-mentioned first character
Whether total equal with the second character sum of above-mentioned temporary password, citing ground, above-mentioned first character sum is unlocking cipher institute
The number for all characters for including, the number for all characters that above-mentioned second character sum includes by temporary password, if faced
When password be 1234, then the first character sum be 4, if unlocking cipher be 1244, the second character sum is also 4.If the
One character sum is equal with the second character sum of temporary password, then can further judge that unlocking cipher is with above-mentioned temporary password
It is no identical.If unlocking cipher is identical as temporary password, indicate that the unlocking cipher of visitor's input is wrong, it was demonstrated that visitor is current
Permission without unlocking can then determine that unlocking cipher is unverified, and can generate the unverified ratio of unlocking cipher
Pair as a result, in turn intelligent door lock can be forbidden according to the comparison result execute unlocking action, with prevent criminal input
The case where the case where unlocking cipher of mistake can also open intelligent door lock, in turn result in economic loss, effectively raise intelligence
The safety that door lock is unlocked.And if unlocking cipher is identical as temporary password, it is also necessary to which whether another step judges the unlocking cipher
Have validity, then obtain the second current time, and judges whether above-mentioned second time is in above-mentioned effective storage life section
Interior, citing ground if the effective storage life section of temporary password is 2019/6/12/15:00-2019/6/12/15:15, and is worked as
The second preceding time is 2019/6/12/15:08, then determines that the second current time is in effective storage life section.If worked as
The second preceding time is in effective storage life section, indicates that the unlocking cipher of visitor's input is correct and has using effective
Property, then it can determine that unlocking cipher passes through verifying, and unlocking cipher can be generated and pass through the comparison result of verifying.And if current
Second time was not in effective storage life section, indicated although the unlocking cipher of visitor's input is correct but does not have use
Validity can then determine that unlocking cipher is unverified, and can generate the unverified comparison result of unlocking cipher.This reality
Apply example by unlocking cipher that visitor is inputted carry out with the quantity of temporary password, content with carried out using effective period of time it is multiple
Judgement can just determine that unlocking cipher by verifying, ensure that out only when unlocking cipher has been all satisfied the requirement of multiple judgement
The preciseness of the comparison process of lock cipher, and effectively raise the safety of intelligent door lock unlocking.
Further, in one embodiment of the invention, above-mentioned comparison module, comprising:
4th judging unit, for if it is not, judging in the unlocking cipher whether to include identical as the temporary password
Character string;
5th judging unit for if so, obtain current third time, and judges whether the third time is in institute
It states in effective storage life section;
Third judging unit, for if so, determining that the unlocking cipher passes through verifying;
4th judging unit, for if it is not, determining that the unlocking cipher is unverified.
In the present embodiment, judging whether above-mentioned first character sum and the second character sum of above-mentioned temporary password are equal
During, it is also possible to there is the first character sum and the unequal situation of the second character sum, such as occur visitor in order to
Passerby's snooping password is avoided, and is had input in intelligent door lock end and is mixed with correct temporary password number and other multiple numbers
The case where unlocking cipher, then intelligent door lock can carry out diastema password authentification processing to the unlocking cipher that visitor inputs at this time.Specifically
Ground further judges in above-mentioned unlocking cipher if the second character sum of the first character sum and temporary password is unequal
It whether include character string identical with above-mentioned temporary password, citing ground, if temporary password is 1234, visitor's input is opened
Lock cipher is 56123478, due to having identical with temporary password 1234 in the unlocking cipher, then determines to wrap in unlocking cipher
Contain character string identical with temporary password.If in unlocking cipher including character string identical with temporary password, also
It needs further to walk and judges whether the unlocking cipher has validity, then when obtaining the current third time, and judging above-mentioned third
Between whether in the above-mentioned effective storage life section.If the current third time is in effective storage life section, indicate to visit
The unlocking cipher of visitor's input is correct and has using validity, then can determine that unlocking cipher passes through verifying, and can generate
The comparison result that unlocking cipher passes through verifying.And if the current third time is not in effective storage life section, it indicates to visit
Although the unlocking cipher of visitor's input is correct but does not have using validity, then can determine that unlocking cipher is unverified, and
And the unverified comparison result of unlocking cipher can be generated.The present embodiment is total in the first character of the unlocking cipher that user inputs
In several unequal situations of the second character sum with temporary password, split lock cipher that can be intelligent is carried out at diastema password authentification
Reason, and the judgement using effective period of time is carried out, only when unlocking cipher has been all satisfied diastema password authentification and using effective
When the requirement of period, it can just determine that unlocking cipher by verifying, ensure that the preciseness and intelligence of the comparison process of unlocking cipher
Energy property, and effectively raise the safety of intelligent door lock unlocking.
Further, in one embodiment of the invention, the generating means of above-mentioned temporary password, comprising:
Second obtains module, for obtaining between Hall sensor and magnet after the preset time for executing unlocking action
Location information, wherein the Hall sensor is arranged on the doorframe of door corresponding with intelligent door lock, and magnet setting exists
On the upper side frame of door corresponding with the position of the Hall sensor;
Third obtains module, for according to the positional information, judging whether the door is in close state;
Second sending module sends a warning if being not at closed state for the door.
In the present embodiment, when above-mentioned comparison result is that unlocking cipher passes through verifying, after performing unlocking action, intelligence
Door lock also has the function of detecting whether visitor has after entering house by door closing.Specifically, execute unlocking action it is default when
Between after, first acquisition Hall sensor and magnet between location information, wherein above-mentioned preset time can be automatic by intelligent door lock
Setting is configured by administrator, such as can be set as 2 minutes, above-mentioned Hall sensor setting with intelligent door lock pair
On the doorframe for the door answered, above-mentioned magnet is arranged on the upper side frame of door corresponding with the position of above-mentioned Hall sensor, it is above-mentioned suddenly
Your sensor is a kind of magneto-dependent sensor Hall sensor of magnetoelectricity conversion.In addition, above-mentioned location information may include hall sensing
The distance between device and magnet are close, such as distance between the two is 5 millimeters or the distance between Hall sensor and magnet
Farther out, such as between the two distance is 50 centimetres.After obtaining above-mentioned location information, judge that door is current further according to the location information
Whether it is in close state.Specifically, when magnet be moved to be almost to Hall sensor 0 first position at,
Such as the distance of the two is 5 millimeters, and the axis of magnet and the axis of Hall sensor can generate suddenly at this time in same straight line
That effect, the output end of Hall sensor can export low level, then can determine that door is currently at closed state.If magnet is mobile
To at a distance from Hall sensor when the farther away second place, such as both distance be 50 centimetres, and the axis of magnet
Axis with Hall sensor not in same straight line, Hall sensor due to imperceptible magnet presence, because without producing
Raw Hall effect, the output end of Hall sensor can export high level, then can determine that door currently still in open state.If door
It is not currently in closed state, then controls door and closes and lock, and nullifies temporary password.Wherein, setting inside intelligent door lock
There is the unlocking structure for unlocking, the driving knot for the closedown structure of locking and for driving corresponding door to open or close
Structure.For the present embodiment when judging that visitor neglects locking the door after the preset time in the room that opens the door, intelligent door lock can pass through above-mentioned drive
Dynamic device control door is closed, and is locked on the door by above-mentioned closedown structure, is locked a door automatically with realizing, thus effectively anti-
Only other people trailing, be conducive to avoid the occurrence of causes stranger illegally to enter room since visitor neglects locking the door, to cause economy
The case where loss, improves the safety of intelligent door lock.In addition, intelligent door lock can also intelligence cancellation temporary password so that raw
At temporary password no longer have validity after by visitor's use, avoid the occurrence of stranger by input the temporary password come
The case where unlocking to reach bad purpose further improve the safety of intelligent door lock unlocking.In another embodiment, when
Judgement is gone out when being not at closed state, also capable of emitting warning information, to remind visitor currently without locking a door, so that visitor can be with
It locks a door in first time discovery alarm song and in time.Wherein, the beep sound that above-mentioned warning information can issue for intelligent door lock, or
For the voice reminder information that door lock issues, the content of the voice reminder information can are as follows: Men Wei is shut, and is please locked a door at once.In addition, logical
The Hall sensor for obtaining and being mounted on a door is crossed whether to go out with the next intelligent judgement of the direct location information of magnet in closing
State can send a warning if door is not at closed state, to remind visitor to lock a door in time, be conducive to avoid the occurrence of
Stranger is caused illegally to enter room since visitor neglects locking the door, so that the case where causing economic loss, improves intelligent door lock
Safety.
Computer program is stored in storage medium 100 the present invention also provides a kind of storage medium 100 referring to Fig. 3
200, when run on a computer, so that computer executes the generation method of temporary password described in above embodiments.
With reference to Fig. 4, the computer equipment 300 comprising instruction that the present invention also provides a kind of, when it is in computer equipment 300
When upper operation, so that computer equipment 300 is executed described in above embodiments temporarily by its internal processor 400 being arranged
The generation method of password.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can store and a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
Any reference used in provided herein and embodiment to memory, storage, database or other media,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM can by diversified forms
, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double speed are according to rate SDRAM (SSRSDRAM), increasing
Strong type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and
And further include the other elements being not explicitly listed, or further include for this process, device, article or method institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, device of element, article or method.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations
Technical field, be included within the scope of the present invention.
Claims (10)
1. a kind of generation method of temporary password characterized by comprising
Judge whether to receive the interim unlocking request that the administrator terminal of binding connection in advance is sent;
If so, obtaining pre-stored administrator's password, the mcu number of intelligent door lock and current first time;
It is generated according to the administrator's password, the mcu number of the intelligent door lock, the first time and specified checking algorithm
Temporary password.
2. the generation method of temporary password according to claim 1, which is characterized in that described close according to the administrator
The step of code, the mcu number of the intelligent door lock, the first time and specified checking algorithm generate a temporary password, comprising:
It is combined according to mcu number of the preset order to the administrator's password, the intelligent door lock with the first time,
Obtain corresponding combining characters string;
The combining characters string is encrypted by the specified checking algorithm, obtains encrypted combining characters string;
The temporary password is set by the encrypted combining characters string.
3. the generation method of temporary password according to claim 1, which is characterized in that described close according to the administrator
After the step of code, the mcu number of the intelligent door lock, the first time and specified checking algorithm generate a temporary password,
Include:
According to preset effective time threshold value and the first time, effective usage time interval is set for the temporary password;
The temporary password is sent to administrator terminal, so that administrator will be described interim by the administrator terminal
Password is sent to visitor's terminal;
Judge whether to receive the unlocking cipher that visitor inputs;
If so, being compared to the unlocking cipher with the temporary password according to preset rules, comparison result is obtained, wherein
The comparison result includes that the unlocking cipher is unverified by verifying or the unlocking cipher;
According to the comparison result, executes unlocking action or forbid executing unlocking action.
4. the generation method of temporary password according to claim 3, which is characterized in that described to send the temporary password
The step of to administrator terminal, comprising:
The connection data used with the administrator terminal when establishing connection are obtained, and are generated symmetrically according to the connection data
Key sessionkey;
According to the symmetric key sessionkey, the temporary password is encrypted using AES symmetric encipherment algorithm, is obtained
Encrypted temporary password;
The encrypted temporary password is sent to the administrator terminal, so that the administrator terminal is according to the connection
The symmetric key sessionkey, and the encryption according to the symmetric key sessionkey to receiving is calculated in data
Temporary password afterwards carries out AES decryption, obtains the temporary password.
5. the generation method of temporary password according to claim 3, which is characterized in that it is described according to preset rules to described
The step of unlocking cipher is compared with the temporary password, obtains comparison result, comprising:
Obtain the first character sum of the unlocking cipher;
Judge whether the first character sum and the second character sum of the temporary password are equal;
If so, judging whether the unlocking cipher is identical as the temporary password;
If so, obtaining the second current time, and judge whether second time is in the effective storage life section;
If so, determining that the unlocking cipher passes through verifying;
If it is not, determining that the unlocking cipher is unverified.
6. the generation method of temporary password according to claim 5, which is characterized in that judgement first character is total
After the number step whether equal with the second character sum of the temporary password, comprising:
If it is not, judging in the unlocking cipher whether to include character string identical with the temporary password;
If so, obtaining the current third time, and judge whether the third time is in the effective storage life section;
If so, determining that the unlocking cipher passes through verifying;
If it is not, determining that the unlocking cipher is unverified.
7. the generation method of temporary password according to claim 3, which is characterized in that the comparison result is the unlocking
Password is described according to the comparison result, after executing unlocking action or forbidding the step of executing unlocking action, packet by verifying
It includes:
After the preset time for executing unlocking action, obtain the location information between Hall sensor and magnet, wherein it is described suddenly
You are arranged on the doorframe of door corresponding with intelligent door lock sensor, and the position with the Hall sensor is arranged in the magnet
On the upper side frame of corresponding door;
According to the positional information, judge whether the door is in close state;
It closes and locks if it is not, controlling the door, and nullify the temporary password.
8. a kind of generating means of temporary password characterized by comprising
First judgment module, the interim unlocking that the administrator terminal for judging whether to receive binding connection in advance is sent are asked
It asks;
First obtains module, for if so, obtain the mcu number of pre-stored administrator's password, intelligent door lock, and current
At the first time;
Generation module, for according to the mcu number of the administrator's password, the intelligent door lock, the first time and referring to
Determine checking algorithm to generate a temporary password.
9. a kind of storage medium, which is characterized in that it is computer-readable storage medium, is stored thereon with computer program,
The computer program is performed the generation method for realizing temporary password as described in any one of claims 1 to 7.
10. a kind of computer equipment, which is characterized in that it includes processor, memory and is stored on the memory and can
The computer program run on the processor, the processor realize such as claim 1 when executing the computer program
The generation method of~7 described in any item temporary passwords.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910722305.6A CN110443925A (en) | 2019-08-06 | 2019-08-06 | Generation method, device, storage medium and the computer equipment of temporary password |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910722305.6A CN110443925A (en) | 2019-08-06 | 2019-08-06 | Generation method, device, storage medium and the computer equipment of temporary password |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110443925A true CN110443925A (en) | 2019-11-12 |
Family
ID=68433587
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910722305.6A Pending CN110443925A (en) | 2019-08-06 | 2019-08-06 | Generation method, device, storage medium and the computer equipment of temporary password |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110443925A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110992532A (en) * | 2019-11-29 | 2020-04-10 | 深圳市云天智能终端有限公司 | Temporary authorized unlocking method and system for intelligent door lock |
CN111080868A (en) * | 2019-12-21 | 2020-04-28 | 广州保仕盾智能科技有限公司 | Temporary password setting and verifying method for intelligent door lock |
CN111354116A (en) * | 2020-03-09 | 2020-06-30 | 珠海优特物联科技有限公司 | Lock control method and device, electronic lock and lock control system |
CN111502428A (en) * | 2020-04-21 | 2020-08-07 | 德施曼机电(中国)有限公司 | Intelligent lock based on pluggable key detection module |
CN111899380A (en) * | 2020-07-07 | 2020-11-06 | 广东臣家智能科技股份有限公司 | Intelligent lock management method and intelligent lock management system |
CN112884947A (en) * | 2021-01-12 | 2021-06-01 | 深圳讯声智控科技有限公司 | Offline remote electronic door lock control method and system |
CN113034745A (en) * | 2021-03-05 | 2021-06-25 | 深圳拓邦股份有限公司 | Unlocking method, intelligent lock and unlocking system |
CN113593085A (en) * | 2021-07-22 | 2021-11-02 | 深圳市海曼科技股份有限公司 | Door lock temporary password generation method, system, equipment and storage medium |
CN113593095A (en) * | 2021-08-19 | 2021-11-02 | 广东好太太智能家居有限公司 | Intelligent lock and off-line verification method and system for temporary password of intelligent lock |
CN114726573A (en) * | 2022-02-28 | 2022-07-08 | 新华三技术有限公司 | Password management method, cloud platform and terminal equipment |
CN114821860A (en) * | 2022-03-30 | 2022-07-29 | 深圳绿米联创科技有限公司 | Password generation method, device and system and electronic equipment |
CN116527258A (en) * | 2023-06-30 | 2023-08-01 | 深圳市旭子科技有限公司 | Unlocking method, device, equipment and storage medium of coded lock |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2430848A (en) * | 2005-09-29 | 2007-04-04 | Hewlett Packard Development Co | Device with multiple One-Time Pads having different security tings |
CN101983272A (en) * | 2008-09-02 | 2011-03-02 | 美瑞设备株式会社 | Electronic locker with variable secret code input unit |
CN103268456A (en) * | 2013-05-31 | 2013-08-28 | 杭州华三通信技术有限公司 | Method and device for file safety control |
CN103488427A (en) * | 2013-10-14 | 2014-01-01 | Tcl通讯(宁波)有限公司 | Touch screen unlocking method and system |
CN103679884A (en) * | 2013-12-02 | 2014-03-26 | 大连智慧城科技有限公司 | Casual user authorization device and method for internet door control |
CN103955982A (en) * | 2014-05-22 | 2014-07-30 | 国家电网公司 | Method and device for identifying time-varying dynamic two-dimensional code entrance guard |
CN105844744A (en) * | 2016-03-21 | 2016-08-10 | 成都艾德沃传感技术有限公司 | Password authentication method and password lock |
CN106131179A (en) * | 2016-07-05 | 2016-11-16 | 林哲敏 | The password Rights Management System of a kind of intelligent door lock and method |
CN106211048A (en) * | 2016-08-31 | 2016-12-07 | 重庆智城互盈科技发展有限公司 | The password unlocking method of smart lock, Apparatus and system |
CN106251442A (en) * | 2016-08-02 | 2016-12-21 | 成都荷码科技有限公司 | The setting of the temporary password of a kind of smart lock and verification method thereof |
CN106600775A (en) * | 2016-12-08 | 2017-04-26 | 南京魔格信息科技有限公司 | Non-networking dynamic password generation method used for intelligent access control system |
CN106789845A (en) * | 2015-11-23 | 2017-05-31 | 天津九洲云物联科技有限公司 | A kind of method of network data security transmission |
CN106930618A (en) * | 2017-05-17 | 2017-07-07 | 吴雪 | intelligent lock core control system and method |
CN107657692A (en) * | 2017-09-12 | 2018-02-02 | 佛山君兰智能科技有限公司 | A kind of temporary password generates system and method |
-
2019
- 2019-08-06 CN CN201910722305.6A patent/CN110443925A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2430848A (en) * | 2005-09-29 | 2007-04-04 | Hewlett Packard Development Co | Device with multiple One-Time Pads having different security tings |
CN101983272A (en) * | 2008-09-02 | 2011-03-02 | 美瑞设备株式会社 | Electronic locker with variable secret code input unit |
CN103268456A (en) * | 2013-05-31 | 2013-08-28 | 杭州华三通信技术有限公司 | Method and device for file safety control |
CN103488427A (en) * | 2013-10-14 | 2014-01-01 | Tcl通讯(宁波)有限公司 | Touch screen unlocking method and system |
CN103679884A (en) * | 2013-12-02 | 2014-03-26 | 大连智慧城科技有限公司 | Casual user authorization device and method for internet door control |
CN103955982A (en) * | 2014-05-22 | 2014-07-30 | 国家电网公司 | Method and device for identifying time-varying dynamic two-dimensional code entrance guard |
CN106789845A (en) * | 2015-11-23 | 2017-05-31 | 天津九洲云物联科技有限公司 | A kind of method of network data security transmission |
CN105844744A (en) * | 2016-03-21 | 2016-08-10 | 成都艾德沃传感技术有限公司 | Password authentication method and password lock |
CN106131179A (en) * | 2016-07-05 | 2016-11-16 | 林哲敏 | The password Rights Management System of a kind of intelligent door lock and method |
CN106251442A (en) * | 2016-08-02 | 2016-12-21 | 成都荷码科技有限公司 | The setting of the temporary password of a kind of smart lock and verification method thereof |
CN106211048A (en) * | 2016-08-31 | 2016-12-07 | 重庆智城互盈科技发展有限公司 | The password unlocking method of smart lock, Apparatus and system |
CN106600775A (en) * | 2016-12-08 | 2017-04-26 | 南京魔格信息科技有限公司 | Non-networking dynamic password generation method used for intelligent access control system |
CN106930618A (en) * | 2017-05-17 | 2017-07-07 | 吴雪 | intelligent lock core control system and method |
CN107657692A (en) * | 2017-09-12 | 2018-02-02 | 佛山君兰智能科技有限公司 | A kind of temporary password generates system and method |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110992532B (en) * | 2019-11-29 | 2021-06-29 | 深圳市云天智能终端有限公司 | Temporary authorized unlocking method and system for intelligent door lock |
CN110992532A (en) * | 2019-11-29 | 2020-04-10 | 深圳市云天智能终端有限公司 | Temporary authorized unlocking method and system for intelligent door lock |
CN111080868A (en) * | 2019-12-21 | 2020-04-28 | 广州保仕盾智能科技有限公司 | Temporary password setting and verifying method for intelligent door lock |
CN111354116B (en) * | 2020-03-09 | 2022-03-29 | 珠海优特物联科技有限公司 | Lock control method and device, electronic lock and lock control system |
CN111354116A (en) * | 2020-03-09 | 2020-06-30 | 珠海优特物联科技有限公司 | Lock control method and device, electronic lock and lock control system |
CN111502428A (en) * | 2020-04-21 | 2020-08-07 | 德施曼机电(中国)有限公司 | Intelligent lock based on pluggable key detection module |
CN111899380A (en) * | 2020-07-07 | 2020-11-06 | 广东臣家智能科技股份有限公司 | Intelligent lock management method and intelligent lock management system |
CN112884947A (en) * | 2021-01-12 | 2021-06-01 | 深圳讯声智控科技有限公司 | Offline remote electronic door lock control method and system |
CN113034745A (en) * | 2021-03-05 | 2021-06-25 | 深圳拓邦股份有限公司 | Unlocking method, intelligent lock and unlocking system |
CN113593085A (en) * | 2021-07-22 | 2021-11-02 | 深圳市海曼科技股份有限公司 | Door lock temporary password generation method, system, equipment and storage medium |
CN113593095A (en) * | 2021-08-19 | 2021-11-02 | 广东好太太智能家居有限公司 | Intelligent lock and off-line verification method and system for temporary password of intelligent lock |
CN114726573A (en) * | 2022-02-28 | 2022-07-08 | 新华三技术有限公司 | Password management method, cloud platform and terminal equipment |
CN114821860A (en) * | 2022-03-30 | 2022-07-29 | 深圳绿米联创科技有限公司 | Password generation method, device and system and electronic equipment |
CN114821860B (en) * | 2022-03-30 | 2024-06-07 | 深圳绿米联创科技有限公司 | Password generation method, device and system and electronic equipment |
CN116527258A (en) * | 2023-06-30 | 2023-08-01 | 深圳市旭子科技有限公司 | Unlocking method, device, equipment and storage medium of coded lock |
CN116527258B (en) * | 2023-06-30 | 2023-09-22 | 深圳市旭子科技有限公司 | Unlocking method, device, equipment and storage medium of coded lock |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110443925A (en) | Generation method, device, storage medium and the computer equipment of temporary password | |
CN105827576B (en) | Method for unlocking and system based on dynamic puzzle-lock | |
CN102422296B (en) | Method for authenticating access to a secured chip by a test device | |
CN103929306B (en) | The approaches to IM of intelligent cipher key equipment and intelligent cipher key equipment | |
US20150269378A1 (en) | Use of a Physical Unclonable Function for Checking Authentication | |
US20060101047A1 (en) | Method and system for fortifying software | |
CN111768522B (en) | CTID-based intelligent door lock unlocking method and system | |
CN109767534A (en) | Gate inhibition's access method, system, management terminal and door control terminal based on block chain | |
US20190028456A1 (en) | System and method for injecting a tag into a computing resource | |
CN101140605A (en) | Data safety reading method and safety storage apparatus thereof | |
US11997142B1 (en) | Systems and methods for multiple custody using mobile devices or wearables | |
CN111768523B (en) | CTID-based NFC intelligent door lock unlocking method, system, equipment and medium | |
CN107784207A (en) | Display methods, device, equipment and the storage medium at financial APP interfaces | |
JP2002502925A (en) | Access control protocol between electronic key and electronic lock | |
CN109685946A (en) | Lock opening method, device, equipment and storage medium | |
CN106100851A (en) | Password management system, intelligent wristwatch and cipher management method thereof | |
CN106936672A (en) | The control method and terminal of gas-fired equipment | |
CN103839305B (en) | A kind of gate control system and the method for gate control system rights management | |
CN101655893B (en) | Manufacture method of intelligent blog lock, Blog access control method and system thereof | |
CN106204812A (en) | Electronic lock and unlocking verification method thereof | |
CN110349301A (en) | Gate inhibition's open method and device | |
EP2965295B1 (en) | Localized pin management with reader verification and no disclosure | |
KR20060098412A (en) | Timely variable password formation module and a floating password application method | |
CN110349303A (en) | Smart lock controls method, apparatus, smart lock and storage medium | |
CN112910886A (en) | Method and system for verifying identity of lock |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191112 |