CN109615745A - Unlocking method, device, system, coded lock, equipment and medium - Google Patents

Unlocking method, device, system, coded lock, equipment and medium Download PDF

Info

Publication number
CN109615745A
CN109615745A CN201811519254.9A CN201811519254A CN109615745A CN 109615745 A CN109615745 A CN 109615745A CN 201811519254 A CN201811519254 A CN 201811519254A CN 109615745 A CN109615745 A CN 109615745A
Authority
CN
China
Prior art keywords
random code
subcode
electronic equipment
algorithm
random
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
Application number
CN201811519254.9A
Other languages
Chinese (zh)
Inventor
李扬渊
卞维军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201811519254.9A priority Critical patent/CN109615745A/en
Publication of CN109615745A publication Critical patent/CN109615745A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a kind of unlocking method, device, system, coded lock, equipment and media, are related to smart lock technical field.This method comprises: (1) receives the unlocking pin of user's input;(2) judge the unlocking pin whether be specific electronic equipment set generate temporary password;(3) when judging result is yes, determining unlock.The present invention unlocks in the case where electronic equipment and coded lock are without communication, has achieved the effect that improve unlocking safety while not increasing manual operation complexity.

Description

Unlocking method, device, system, coded lock, equipment and medium
Technical field
The present embodiments relate to smart lock technical field more particularly to a kind of unlocking method, device, system, coded lock, Equipment and medium.
Background technique
Currently, coded lock is widely used, there are mainly two types of situations for the setting of password: the first is that setting fixation is close Code;Second is setting temporary password.When user is coded lock manager, both coded locks are all very convenient, but working as makes When user is interim user, setting fixed password then slightly aobvious inconvenience, because fixed password is needed after interim user's use Coded lock manager modifies to fixed password.Therefore a kind of safely and conveniently temporary password is needed for interim user Set-up mode.
Temporary password is mainly the following set-up mode: temporary password, preset interim close is obtained by way of networking Code or setting kind of a subcode generate a temporary password, kind subcode can with default setting or artificial setting, for the situation being manually arranged, Kind subcode is usually shorter and simple, but repeatedly setting is easy identical kind of subcode of setting, and safety is low.
Summary of the invention
The present invention provides a kind of unlocking method, device, system, coded lock, equipment and medium, sharp in the prior art to solve With the low problem of the safety of temporary password unlock.
In a first aspect, it is applied to coded lock the embodiment of the invention provides a kind of unlocking method, this method comprises:
(1) unlocking pin of user's input is received;
(2) judge the unlocking pin whether be specific electronic equipment set generate temporary password;
Wherein, which has kind of subcode and default random code set, and the temporary password is the electronic equipment It is generated based on kind of subcode and the random code generated at random from default random code set using the first algorithm;
Wherein, which has identical with the electronic equipment kind of subcode and default random code set;
Wherein, the deterministic process is as follows:
Random code is enumerated in default random code set, and raw using the first algorithm based on kind of subcode and the random code enumerated At code sequence;
If in the random code set, there are target random codes, and the corresponding code sequence of the target random code with it is described Unlocking pin matches, then determines that the unlocking pin is the temporary password;
(3) when judging result is yes, determining unlock.
Second aspect, the embodiment of the invention also provides a kind of unlocking methods, are applied to electronic equipment, this method comprises:
Random code is generated at random from default random code set;
It based on kind of subcode and the random code, is generated a temporary password using the first algorithm, wherein the temporary password is used for Coded lock is unlocked;
Wherein, the electronic equipment and having the same kind of subcode of the coded lock and default random code set.
The third aspect, the embodiment of the invention provides a kind of trippers, are configured at coded lock, the tripper packet It includes:
Password acceptance module, for receiving the unlocking pin of user's input;
Judgment module, for judge the unlocking pin whether be specific electronic equipment set generate temporary password;
Wherein, which has kind of subcode and default random code set, and the temporary password is the electronic equipment It is generated based on kind of subcode and the random code generated at random from default random code set using the first algorithm;
Wherein, which has identical with the electronic equipment kind of subcode and default random code set;
Wherein, the deterministic process is as follows:
Random code is enumerated in default random code set, and raw using the first algorithm based on kind of subcode and the random code enumerated At code sequence;
If in the random code set, there are target random codes, and the corresponding code sequence of the target random code with it is described Unlocking pin matches, then determines that the unlocking pin is the temporary password;
Unlocked state, for determining unlock when above-mentioned judging result, which is, is.
Fourth aspect, the embodiment of the invention provides a kind of trippers, are configured at electronic equipment, the tripper packet It includes:
Password acceptance module, for receiving the unlocking pin of user's input;
Judgment module, for judge the unlocking pin whether be specific electronic equipment set generate temporary password;
Wherein, which has kind of subcode and default random code set, and the temporary password is the electronic equipment It is generated based on kind of subcode and the random code generated at random from default random code set using the first algorithm;
Wherein, which has identical with the electronic equipment kind of subcode and default random code set;
Wherein, the deterministic process is as follows:
Random code is enumerated in default random code set, and raw using the first algorithm based on kind of subcode and the random code enumerated At code sequence;
If in the random code set, there are target random codes, and the corresponding code sequence of the target random code with it is described Unlocking pin matches, then determines that the unlocking pin is the temporary password;
Unlocked state, for determining unlock when above-mentioned judging result, which is, is.
5th aspect, the embodiment of the invention provides a kind of system for unlocking, including close described in any embodiment of the present invention Code lock and electronic equipment.
6th aspect, the embodiment of the invention provides a kind of coded locks, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the unlocking method for being applied to coded lock described in any embodiment of the present invention.
7th aspect, the embodiment of the invention provides a kind of storage medium comprising executable instruction, the executable finger It enables when executed by the processor for executing the unlocking method for being applied to coded lock described in any embodiment of the present invention.
Eighth aspect, it is described executable the embodiment of the invention also provides a kind of storage medium comprising executable instruction Instruction is when executed by the processor for executing the unlocking method for being applied to electronic equipment described in any embodiment of the present invention.
The present invention enumerates random code by coded lock, based on kind of subcode and the random code generated code sequence enumerated, make using Person can unlock in the case where electronic equipment and coded lock are without communication.And electronic equipment generation is interim close in the prior art After code, manager is needed to tell the temporary password to coded lock, this process may have security risk.Therefore, and now There is technology to compare, the present invention unlocks in the case where electronic equipment and coded lock are without communication, has reached and has not increased manually The effect of unlocking safety is improved while operation complexity.
Detailed description of the invention
Fig. 1 is the flow chart of the unlocking method in the embodiment of the present invention one;
Fig. 2 is the flow chart of the unlocking method in the embodiment of the present invention three;
Fig. 3 is the tripper module map for being configured at coded lock in the embodiment of the present invention four;
Fig. 4 is the tripper module map for being configured at electronic equipment in the embodiment of the present invention five;
Fig. 5 is the structural schematic diagram of one of the embodiment of the present invention six coded lock;
Fig. 6 is the structural schematic diagram of one of the embodiment of the present invention seven electronic equipment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Technical solution of the present invention is locked for unlocking pin, and the password for usually unlocking the coded lock includes the fixed password of lock And temporary password, fixed password are unlocked for administrator, temporary password is generally used for interim user's unlock.Fixed password solution Lock is the conventional scheme of this field, and technical solution of the present invention mainly solves the technical issues of unlocking using temporary password.
Having the same kind of subcode of coded lock and electronic equipment and default random code set in the present invention, it is however generally that, it should Electronic equipment is controlled by the manager locked.Electronic equipment generates random code at random in default random code set, and is based on seed Code and the random code generated are generated a temporary password using the first algorithm, and the temporary password is for being unlocked coded lock.Due to Without communication between coded lock and electronic equipment, the random code generated at random and the temporary password are not known to coded lock.
When coded lock receives the unlocking pin of user's input, need to judge whether the unlocking pin is by above-mentioned electronics The temporary password that equipment generates, the user of the input unlocking pin are in general casual user but are not limited to casual user, manage Reason person oneself also can use the temporary password and be unlocked.This judges that unlocking pin whether be the process of temporary password is pre- If enumerating random code in random code set, and based on kind of subcode and the random code enumerated using the first algorithm generated code sequence.Such as There are target random codes in the random code set for fruit, and the corresponding code sequence of the target random code and the unlocking pin phase Matching, then determine that the unlocking pin is the temporary password generated on an electronic device, and be unlocked.If enumerated default All random codes in random code set may be not present above-mentioned target random code and make corresponding code sequence and unlocking pin phase Match, then determining the unlocking pin not is the temporary password generated on electronic equipment, is not unlocked according to the unlocking pin.
Embodiment one
Fig. 1 is the flow chart for the unlocking method that the embodiment of the present invention one provides, and the present embodiment is applicable to coded lock unlock The case where, this method can be executed by password device for locking and unlocking, which can be realized by the mode of software and/or hardware. Typically, which may be disposed in coded lock lock body.Referring to Fig. 1, unlocking method provided in an embodiment of the present invention includes:
S110, the unlocking pin for receiving user's input.
Specifically, unlocking pin can be the temporary password (i.e. correct password) of user's acquisition, is also possible to user and exists The trial (being likely to be the password of mistake) carried out in the case where not knowing temporary password.
S120, judge the unlocking pin whether be specific electronic equipment set generate temporary password.
Electronic equipment is used to generate the temporary password of unlocking pin lock, and specifically, electronic equipment refers to that user is hand-holdable Temporary password generator or PC, consumer personal electric product and communicating terminal, it is mountable thereon to run one kind or more Kind or more application software.
The electronic equipment has kind of subcode and default random code set, and specifically, default random code set refers in software Pre-set random code in program, for example, 1000 random codes of setting, default random code collection be combined into 0,1,2,3 ... ..., 999}。
The temporary password is the electronic equipment based on kind of subcode and the random code generated at random from default random code set It is generated using the first algorithm.
Specifically, kind subcode is that user is arranged on electronic equipment and coded lock in advance, in use process, this kind of subcode It artificial regeneration or can automatically update.
Specifically, the first algorithm is to can be any achievable encryption using kind of subcode and random code as the function of independent variable Algorithm, it is alternatively possible to be Advanced Encryption Standard (Advanced Encryption Standard, AES) Encryption Algorithm, It can be other Encryption Algorithm such as MD5 (MD5Message-Digest Algorithm) Encryption Algorithm.
The coded lock has identical with the electronic equipment kind of subcode and default random code set.
The deterministic process are as follows:
(1) random code is enumerated in default random code set, and is calculated based on kind of subcode and the random code enumerated using first Method generated code sequence;
Specifically, it enumerates random code and refers to one random code of selection in default random code set.
(2) if there are target random codes in the random code set, and the corresponding code sequence of the target random code with The unlocking pin matches, then determines that the unlocking pin is the temporary password;
S130, when judging result be it is yes, determine unlock.
Specifically, if mismatch, reselect another random code carry out aforesaid operations, until generation random code with The unlocking pin of code sequence and user's input that kind subcode is generated using the first algorithm is matched or is preset in random code set The code sequence that all random codes generate all mismatches, then stops enumerating.
Preferably, the unlocking method of the present embodiment further comprises the steps of:
If the target random code S140, is not present in random code set, judge unlocking pin input not just Really, and alert.
Specifically, the target random code is not present in random code set, refers to default random code exhaustion one time, does not also have The unlocking pin for obtaining based on kind of subcode and random code using the first algorithm generated code sequence, and inputting yard sequence and user Match.For example, default random code collection is combined into { 0,1,2,3 ... ..., 999 }, by 0 to 999 if 1000 random codes of setting This 1000 digital random exhaustions one time, and sequentially generate the code sequence for using the first algorithm to generate based on kind of subcode and random code Column, the unlocking pin that the code sequence of generation cannot be inputted with user match, then illustrate that there is no the mesh in random code set Random code is marked, then judges that unlocking pin input is incorrect, and alert.
Preferably, which further comprises the steps of:
S150, new kind subcode is generated using the second algorithm based on kind of subcode and target random code, and uses the new kind Subcode updates described kind of subcode.
Specifically, the second algorithm is novel species subcode generating algorithm, which is with kind of subcode and target Random code is the function of independent variable.The working principle of the unlocking method: coded lock enumerates random code in default random code set, And based on kind of subcode and the random code enumerated using the first algorithm generated code sequence.And judge the corresponding code sequence of the target random code Whether column match with the unlocking pin, and unlock is determined if matching.
The technical solution of the present embodiment enumerates random code by coded lock, is generated based on kind of subcode and the random code enumerated Code sequence.It enables a user to unlock in the case where electronic equipment and coded lock are without communication, has reached and do not increased people The effect of unlocking safety is improved while work operation complexity.And it is random based on kind of subcode and target after unlocking successfully Code generates new kind subcode, and updates described kind of subcode using the new kind subcode, and the method for this more new seed code, which improves, unlocks Safety.
Embodiment two
Fig. 2 is the flow chart of unlocking method provided by Embodiment 2 of the present invention, and it is raw that the present embodiment is applicable to electronic equipment The case where at temporary password, this method can be executed by electronic equipment tripper, which can be by software and/or hardware Mode realize.Typically, which may be disposed in electronic equipment.Referring to fig. 2, temporary password provided in an embodiment of the present invention Generation method includes:
S210, random code is generated at random from default random code set.
S220, it is based on kind of subcode and the random code, is generated a temporary password using the first algorithm, wherein is described interim close Code is for being unlocked coded lock.
Wherein, the electronic equipment and having the same kind of subcode of the coded lock and default random code set, the random life At random code be not known to the coded lock.
Specifically, the first algorithm is identical as the first algorithm that coded lock generated code sequence in the embodiment of the present invention one uses.
Preferably, which further comprises the steps of:
S230, new kind subcode is generated using the second algorithm based on described kind of subcode and random code, and uses the new kind Subcode updates described kind of subcode.
Specifically, the second algorithm generates the second algorithm phase that new kind subcode uses with coded lock in the embodiment of the present invention one Together.
Unlocking method provided by the embodiment of the present invention expands the valued space of temporary password by introducing random code, This method has both safety while not increasing manual operation complexity.
Embodiment three
Tripper module map provided by the embodiment of the present invention three is as described in Figure 3.Fig. 3 is a kind of coded lock of being configured at Tripper module map.
As shown in figure 3, being configured at the tripper of coded lock, comprising:
Password acceptance module 30, for receiving the unlocking pin of user's input.
Judgment module 31, for judge the unlocking pin whether be specific electronic equipment set generate temporary password.
Wherein, which has kind of subcode and default random code set, and the temporary password is the electronic equipment It is generated based on kind of subcode and the random code generated at random from default random code set using the first algorithm;
Wherein, which has identical with the electronic equipment kind of subcode and default random code set;
Wherein, the deterministic process is as follows:
Random code is enumerated in default random code set, and raw using the first algorithm based on kind of subcode and the random code enumerated At code sequence;
If in the random code set, there are target random codes, and the corresponding code sequence of the target random code with it is described Unlocking pin matches, then determines that the unlocking pin is the temporary password.
Unlocked state 32, for determining unlock when above-mentioned judging result, which is, is.
Further, it is configured at the tripper of coded lock further include:
Alarm module then judges the solution when for the target random code to be not present in the random code set Lock cipher input is incorrect, and alert.
Further, first algorithm is Encryption Algorithm, which is using kind of subcode and random code as independent variable Function.
Further, it is configured at the tripper of coded lock further include:
Kind subcode update module, for generating new seed using the second algorithm based on described kind of subcode and target random code Code, and described kind of subcode is updated using the new kind subcode.
Further, second algorithm is kind of a subcode generating algorithm, this kind of subcode generating algorithm is with kind of subcode and mesh Mark the function that random code is independent variable.
The technical solution of the present embodiment enumerates random code by coded lock, is generated based on kind of subcode and the random code enumerated Code sequence.It enables a user to unlock in the case where electronic equipment and coded lock are without communication, has reached and do not increased people The effect of unlocking safety is improved while work operation complexity.And it is random based on kind of subcode and target after unlocking successfully Code generates new kind subcode, and updates described kind of subcode using the new kind subcode, and the method for this more new seed code, which improves, unlocks Safety.
Example IV
Tripper module map provided by the embodiment of the present invention five is as shown in figure 4, Fig. 4 is that one kind is configured at electronic equipment Tripper module map.
As shown in figure 4, being configured at the tripper of electronic equipment, comprising:
Random code generation module 40, for generating random code at random from default random code set;
Temporary password generation module 41, for being generated using the first algorithm interim close based on kind of subcode and the random code Code, wherein the temporary password is for being unlocked coded lock.
Wherein, the electronic equipment and having the same kind of subcode of the coded lock and default random code set.
Further, it is configured at the tripper of electronic equipment further include:
Kind of subcode update module, the random code for generating based on described kind of subcode and at random are generated newly using the second algorithm Kind subcode, and update described kind of subcode using the new kind subcode.
The technical solution of the present embodiment enables a user to be opened in the case where electronic equipment and coded lock are without communication Lock, has achieved the effect that improve unlocking safety while not increasing manual operation complexity.And it is interim close generating New kind subcode is generated based on kind of subcode and random code after code, and updates described kind of subcode using the new kind subcode, is avoided The problem of manually changing kind subcode is required after unlocking every time, it is more convenient, quick.Unlocking method is expanded by introducing random code The big valued space of temporary password, this method have both safety while not increasing manual operation complexity.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for coded lock that the embodiment of the present invention five provides, as shown in figure 5, the coded lock packet Include processor 50, memory 51 and input unit 52.The quantity of processor 50 can be one or more in coded lock, in Fig. 5 By taking a processor 50 as an example, processor 50, memory 51 and input unit 52 in coded lock can by bus or other Mode connects, in Fig. 5 for being connected by bus.
The program that processor 50 is stored in system storage 51 by operation, thereby executing various function application and number It according to processing, such as realizes that the embodiment of the present invention provides a kind of unlocking method, is applied to coded lock, comprising:
(1) unlocking pin of user's input is received;
(2) judge the unlocking pin whether be specific electronic equipment set generate temporary password;
Wherein, which has kind of subcode and default random code set, and the temporary password is the electronic equipment It is generated based on kind of subcode and the random code generated at random from default random code set using the first algorithm;
Wherein, which has identical with the electronic equipment kind of subcode and default random code set;
Wherein, the deterministic process is as follows:
Random code is enumerated in default random code set, and raw using the first algorithm based on kind of subcode and the random code enumerated At code sequence;
If in the random code set, there are target random codes, and the corresponding code sequence of the target random code with it is described Unlocking pin matches, then determines that the unlocking pin is the temporary password;
(3) when judging result is yes, determining unlock.
Memory 51 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module are applied to coded lock such as the unlocking method in the embodiment of the present invention, corresponding program instruction/module (for example, Password acceptance module 30, judgment module 31 and unlocked state 32).The software that processor 50 is stored in memory 51 by operation Program, instruction and module realize above-mentioned unlock side thereby executing the various function application and data processing of coded lock Method.
Memory 51 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This Outside, memory 51 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic Disk storage device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 51 can be further Including the memory remotely located relative to processor 50, these remote memories can pass through network connection to coded lock.On The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 52 can be used for receiving the encrypted message of input.
Embodiment six
Fig. 6 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention six provides, as shown in fig. 6, the electronics is set Standby includes processor 60, memory 61 and input unit 62.The quantity of processor 60 can be one or more in electronic equipment, In Fig. 6 by taking a processor 60 as an example, processor 60, memory 61 and input unit 62 in electronic equipment can pass through bus Or other modes connect, in Fig. 6 for being connected by bus.
The program that processor 60 is stored in system storage 61 by operation, thereby executing various function application and number It according to processing, such as realizes that the embodiment of the present invention provides a kind of unlocking method, is applied to electronic equipment, comprising:
Random code is generated at random in default random code set;
It based on kind of subcode and the random code, is generated a temporary password using the first algorithm, wherein the temporary password is used for Coded lock is unlocked;
Wherein, the electronic equipment and having the same kind of subcode of the coded lock and default random code set.
Memory 61 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module are applied to electronic equipment, corresponding program instruction/module (example such as the unlocking method in the embodiment of the present invention Such as, random code generation module 40, temporary password generation module 41).Processor 60 is stored in soft in memory 61 by operation Part program, instruction and module realize above-mentioned solution thereby executing the various function application and data processing of electronic equipment Locking method.
Memory 61 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This Outside, memory 61 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic Disk storage device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 61 can be further Including the memory remotely located relative to processor 60, these remote memories can pass through network connection to electronic equipment. The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Output device 62 can be used for exporting the temporary password of generation.
Embodiment seven
The embodiment of the present invention seven also provides a kind of storage medium comprising executable instruction, the executable instruction by For executing a kind of unlocking method when reason device executes, applied to coded lock, this method comprises:
(1) unlocking pin of user's input is received;
(2) judge the unlocking pin whether be specific electronic equipment set generate temporary password;
Wherein, which has kind of subcode and default random code set, and the temporary password is the electronic equipment It is generated based on kind of subcode and the random code generated at random from default random code set using the first algorithm;
Wherein, which has identical with the electronic equipment kind of subcode and default random code set;
Wherein, the deterministic process is as follows: enumerating random code in default random code set, and based on kind of subcode and enumerates Random code uses the first algorithm generated code sequence;
If in the random code set, there are target random codes, and the corresponding code sequence of the target random code with it is described Unlocking pin matches, then determines that the unlocking pin is the temporary password;
(3) when judging result is yes, determining unlock.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention The method operation that executable instruction is not limited to the described above can also be performed provided by any embodiment of the invention applied to survey Try the relevant operation in the log processing method of terminal.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
The embodiment of the present invention also provide it is another include executable instruction storage medium, the executable instruction by For executing a kind of unlocking method when reason device executes, applied to electronic equipment, this method comprises:
Random code is generated at random from default random code set;
It based on kind of subcode and the random code, is generated a temporary password using the first algorithm, wherein the temporary password is used for Coded lock is unlocked;
Wherein, the electronic equipment and having the same kind of subcode of the coded lock and default random code set.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention The method operation that executable instruction is not limited to the described above can also be performed provided by any embodiment of the invention applied to solution Relevant operation in locking method.It can be found in the content in embodiment eight to the introduction of storage medium to explain.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (13)

1. a kind of unlocking method is applied to coded lock, which is characterized in that the described method includes:
(1) unlocking pin of user's input is received;
(2) judge the unlocking pin whether be specific electronic equipment set generate temporary password;
Wherein, which has kind of subcode and default random code set, and the temporary password is that the electronic equipment is based on What kind subcode and the random code generated at random from default random code set were generated using the first algorithm;
Wherein, which has identical with the electronic equipment kind of subcode and default random code set;
Wherein, the deterministic process is as follows: enumerating random code in default random code set, and based on kind of subcode and enumerates random Code uses the first algorithm generated code sequence;
If in the random code set, there are target random codes, and the corresponding code sequence of the target random code and the unlock Password matches, then determines that the unlocking pin is the temporary password;
(3) when judging result is yes, determining unlock.
2. the method according to claim 1, wherein the method also includes:
If the target random code is not present in the random code set, judge the unlocking pin input not just Really, and alert.
3. method according to claim 1 or 2, which is characterized in that first algorithm is Encryption Algorithm, the Encryption Algorithm It is using kind of subcode and target random code as the function of independent variable.
4. the method according to claim 1, wherein determine unlock successfully after, the method also includes:
New kind subcode is generated using the second algorithm based on described kind of subcode and target random code, and more using the new kind subcode New described kind of subcode.
5. according to the method described in claim 4, this is new it is characterized in that, second algorithm is novel species subcode generating algorithm Kind subcode generating algorithm is using kind of subcode and random code as the function of independent variable.
6. a kind of unlocking method is applied to electronic equipment, which is characterized in that the described method includes:
Random code is generated at random from default random code set;
It based on kind of subcode and the random code, is generated a temporary password using the first algorithm, wherein the temporary password is used for close Code lock is unlocked;
Wherein, the electronic equipment and having the same kind of subcode of the coded lock and default random code set.
7. according to the method described in claim 6, it is characterized in that, after generating a temporary password, the method also includes:
New kind subcode is generated using the second algorithm based on described kind of subcode and random code, and updates institute using the new kind subcode State kind of a subcode.
8. a kind of tripper, is configured at coded lock, which is characterized in that the tripper includes:
Password acceptance module, for receiving the unlocking pin of user's input;
Judgment module, for judge the unlocking pin whether be specific electronic equipment set generate temporary password;
Wherein, which has kind of subcode and default random code set, and the temporary password is that the electronic equipment is based on What kind subcode and the random code generated at random from default random code set were generated using the first algorithm;
Wherein, which has identical with the electronic equipment kind of subcode and default random code set;
Wherein, the deterministic process is as follows: enumerating random code in default random code set, and based on kind of subcode and enumerates random Code uses the first algorithm generated code sequence;
If in the random code set, there are target random codes, and the corresponding code sequence of the target random code and the unlock Password matches, then determines that the unlocking pin is the temporary password;
Unlocked state, for determining unlock when above-mentioned judging result, which is, is.
9. a kind of tripper, is configured at electronic equipment, which is characterized in that the tripper includes:
Random code generation module, for generating random code at random from default random code set;
Temporary password generation module, for being generated a temporary password using the first algorithm based on kind of subcode and the random code, In, the temporary password is for being unlocked coded lock;
Wherein, which has identical with the electronic equipment kind of subcode and default random code set.
10. a kind of system for unlocking, including being configured at the tripper of coded lock as claimed in claim 8 and such as claim 9 The tripper for being configured at electronic equipment.
11. a kind of coded lock characterized by comprising
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as unlocking method as claimed in any one of claims 1 to 5.
12. a kind of storage medium comprising executable instruction, the executable instruction are used to execute such as when executed by the processor Unlocking method as claimed in any one of claims 1 to 5.
13. a kind of storage medium comprising executable instruction, the executable instruction are used to execute such as when executed by the processor Unlocking method described in claim 6 or 7.
CN201811519254.9A 2018-12-12 2018-12-12 Unlocking method, device, system, coded lock, equipment and medium Pending CN109615745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811519254.9A CN109615745A (en) 2018-12-12 2018-12-12 Unlocking method, device, system, coded lock, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811519254.9A CN109615745A (en) 2018-12-12 2018-12-12 Unlocking method, device, system, coded lock, equipment and medium

Publications (1)

Publication Number Publication Date
CN109615745A true CN109615745A (en) 2019-04-12

Family

ID=66007207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811519254.9A Pending CN109615745A (en) 2018-12-12 2018-12-12 Unlocking method, device, system, coded lock, equipment and medium

Country Status (1)

Country Link
CN (1) CN109615745A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102168509A (en) * 2011-03-23 2011-08-31 袁磊 Dynamic password lock system capable of changing password with date
CN104537738A (en) * 2014-02-24 2015-04-22 袁磊 Dynamic coded lock system for acquiring codes by virtue of table look-up
CN104579686A (en) * 2015-01-15 2015-04-29 上海动联信息技术股份有限公司 Seed matching method for mobile phone token
CN104631961A (en) * 2014-02-17 2015-05-20 袁磊 Dynamic password electronic lock system in which password changes according to random codes
CN107274532A (en) * 2017-07-11 2017-10-20 广东能兴科技发展有限公司 The temporary password gate control system that encryption parameter dynamically updates
US9821769B2 (en) * 2016-01-25 2017-11-21 Ford Global Technologies, Llc Random seed entry number to eliminate key sequence capture
CN107978047A (en) * 2017-12-04 2018-05-01 北京深思数盾科技股份有限公司 Use the methods, devices and systems of password unlocking

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102168509A (en) * 2011-03-23 2011-08-31 袁磊 Dynamic password lock system capable of changing password with date
CN104631961A (en) * 2014-02-17 2015-05-20 袁磊 Dynamic password electronic lock system in which password changes according to random codes
CN104537738A (en) * 2014-02-24 2015-04-22 袁磊 Dynamic coded lock system for acquiring codes by virtue of table look-up
CN104579686A (en) * 2015-01-15 2015-04-29 上海动联信息技术股份有限公司 Seed matching method for mobile phone token
US9821769B2 (en) * 2016-01-25 2017-11-21 Ford Global Technologies, Llc Random seed entry number to eliminate key sequence capture
CN107274532A (en) * 2017-07-11 2017-10-20 广东能兴科技发展有限公司 The temporary password gate control system that encryption parameter dynamically updates
CN107978047A (en) * 2017-12-04 2018-05-01 北京深思数盾科技股份有限公司 Use the methods, devices and systems of password unlocking

Similar Documents

Publication Publication Date Title
CN110098923B (en) Method and equipment for generating and verifying temporary password
CN101964789B (en) Method and system for safely accessing protected resources
CN109150499A (en) Method, apparatus, computer equipment and the storage medium of dynamic encryption data
US20100128876A1 (en) Method of distributing encoding/decoding program and symmetric key in security domain environment and data divider and data injector therefor
CN108877098B (en) Cardless withdrawal method, device, system, storage medium and electronic equipment
CN108090331A (en) A kind of unlocking method and equipment
CN109167662A (en) A kind of seed generation method and its equipment
CN108809982B (en) Secret-free authentication method and system based on trusted execution environment
CN111340987A (en) Internet of things door lock communication method, device and system and computer storage medium
CN114301688B (en) Login verification method and device based on client permission, internet of things terminal and medium
CN109166199B (en) Password generation method, device and equipment
EP1703456A2 (en) Electronic value exchange system and electronic value exchange method
CN104579686A (en) Seed matching method for mobile phone token
CN109615745A (en) Unlocking method, device, system, coded lock, equipment and medium
CN116580489B (en) Access control equipment, access control card and card sender control method, equipment and medium
CN111148275B (en) Communication method, device and system based on equipment code
CN112434094A (en) Database connection method and device based on encryption algorithm and computer equipment
CN106897637A (en) Business method of calibration and device
CN109979062A (en) A kind of smart lock chip module control method and smart lock chip module
CN109697780B (en) Method and device for double door interlink unlocking, computer equipment and storage medium
KR102264067B1 (en) Electronic locker apparatus that can be opened through complex authentication and operating method thereof
CN111179474B (en) Unlocking processing method and device for vehicle authenticated by user and electronic equipment
CN112347492A (en) Cut-in data encryption transmission decryption receiving method
CN109257341B (en) Block chain address management method and equipment
CN107380122B (en) Method and device for unlocking vehicle

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

Application publication date: 20190412

RJ01 Rejection of invention patent application after publication