CN107730676A - Unlocking method, device and the storage medium of the vehicles - Google Patents

Unlocking method, device and the storage medium of the vehicles Download PDF

Info

Publication number
CN107730676A
CN107730676A CN201710905643.4A CN201710905643A CN107730676A CN 107730676 A CN107730676 A CN 107730676A CN 201710905643 A CN201710905643 A CN 201710905643A CN 107730676 A CN107730676 A CN 107730676A
Authority
CN
China
Prior art keywords
password
group
current
vehicles
code set
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
CN201710905643.4A
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.)
Dongxia Datong Beijing Management Consulting Co Ltd
Original Assignee
Dongxia Datong Beijing Management Consulting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongxia Datong Beijing Management Consulting Co Ltd filed Critical Dongxia Datong Beijing Management Consulting Co Ltd
Priority to CN201710905643.4A priority Critical patent/CN107730676A/en
Publication of CN107730676A publication Critical patent/CN107730676A/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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The embodiment of the present invention provides a kind of unlocking method of the vehicles, device and storage medium, belongs to field of vehicles.Methods described includes:Receive the unlocking pin of user's input;Judge whether one of the unlocking pin and multiple passwords in the current password group stored match, wherein the current password group includes multiple passwords;And in the case that one of multiple passwords in the unlocking pin and the current password group match, the vehicles are controlled to be unlocked.It can avoid leak caused by single password, and network failure or delay are not influenceed between by smart lock and server in operation.

Description

Unlocking method, device and the storage medium of the vehicles
Technical field
The present invention relates to field of vehicles, in particular it relates to a kind of unlocking method of the vehicles, device and storage Medium.
Background technology
When user is using the vehicles (for example, shared bicycle), it is necessary to which the vehicles are unlocked with operation.With shared Exemplified by bicycle, lock common at present includes following several:
(1) it is mechanically fixed coded lock:After user's barcode scanning, mobile phone is defeated by password, user corresponding to background query to the car Enter corresponding password, unlocked after the match is successful.Terminated to terminate order on mobile phone with car.This unlocking mode is not by environment shadow Ring, but password is fixed, poor controllability.
(2) electronic password lock:After user's barcode scanning, mobile phone passes through password corresponding to background query to the car, user's input pair The password answered, unlocked after the match is successful.Terminate rear electronic lock with car and report sequence information to server, terminate order.It is this to open Lock mode password is variable, affected by environment big, if the network between lock end and server is poor, it is impossible to and server is same in time Step password is possible to cause password constant for a long time.In addition, when the communication between lock end and server might have certain Between postpone, so as to cause password change have certain delay.
(3) electronic remote is locked:After user's barcode scanning, mobile phone sends unlocking instruction by backstage to lock, and lock end performs unlocking. Terminate rear electronic lock with car and report sequence information to server, terminate order.This mode is also affected by environment big, if net Network is poor, cannot unlock.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of unlocking method of the vehicles, device and storage medium, is used for Solve or at least partly solve above-mentioned technical problem.
To achieve these goals, the embodiment of the present invention provides a kind of unlocking method of the vehicles, for the vehicles Smart lock, methods described includes:Receive the unlocking pin of user's input;Judge that the unlocking pin is current close with being stored Whether one of multiple passwords match in code character;And multiple passwords in the unlocking pin and the current password group it In the case that one matches, the vehicles are controlled to be unlocked.
Correspondingly, the embodiment of the present invention provides a kind of unlocking method of the vehicles, for server, methods described bag Include:The password that the mark for including the vehicles is received from client obtains request;According to the mark of the vehicles determine with The corresponding current password group of the vehicles;And a password is selected to send to described from the current password group Client.
Correspondingly, the embodiment of the present invention also provides a kind of tripper of the vehicles, for the smart lock of the vehicles, Described device includes:Receiving module, for receiving the unlocking pin of user's input;Judge module, for judging that the unblock is close Whether one of code and multiple passwords in the current password group that is stored match, wherein the current password group is including multiple close Code;And control module, the feelings to match for one of multiple passwords in the unlocking pin and the current password group Under condition, the vehicles are controlled to be unlocked.
Correspondingly, the embodiment of the present invention also provides a kind of tripper of the vehicles, for server, described device bag Include:First receiving module, the password for receiving the mark for including the vehicles from client obtain request;Cipher code set determines mould Block, the current password group corresponding with the vehicles is determined for the mark according to the vehicles;And first hair Module is sent, for selecting a password from the current password group to send to the client.
Correspondingly, the embodiment of the present invention also provides a kind of machinable medium, is deposited on the machinable medium Instruction is contained, the instruction is used for the unlocking method for causing machine to perform the above-mentioned vehicles.
Correspondingly, the embodiment of the present invention also provides a kind of machinable medium, is deposited on the machinable medium Instruction is contained, the instruction is used for the unlocking method for causing machine to perform the above-mentioned vehicles.
Pass through above-mentioned technical proposal, the cipher code set for including multiple passwords is stored in smart lock, accordingly in the server Storing or generating for the smart lock has a cipher code set for including multiple passwords, and server can be from corresponding with the smart lock current Password is selected in cipher code set, and to send to client, then user is unlocked using the password, can so be avoided single close Leak caused by code, and network failure or delay are not influenceed between by smart lock and server in operation.
The further feature and advantage of the embodiment of the present invention will be described in detail in subsequent specific embodiment part.
Brief description of the drawings
Accompanying drawing is that the embodiment of the present invention is further understood for providing, and a part for constitution instruction, with The embodiment in face is used to explain the embodiment of the present invention together, but does not form the limitation to the embodiment of the present invention.Attached In figure:
Fig. 1 shows the flow chart of the unlocking method of the vehicles according to embodiments of the present invention;
Fig. 2 shows the flow chart of the unlocking method of the vehicles according to another embodiment of the present invention;
Fig. 3 shows the flow chart of the unlocking method of the vehicles according to further embodiment of this invention;
Fig. 4 show it is according to an embodiment of the invention judgement user input unlocking pin with it is close in current password group The flow chart whether code matches;
Fig. 5 shows the flow chart of the unlocking method of the vehicles according to embodiments of the present invention;
Fig. 6 shows the flow chart of the unlocking method of the vehicles according to another embodiment of the present invention;
Fig. 7 shows the structure chart of the system according to embodiments of the present invention under the scene using shared bicycle;
Fig. 8 shows the tripper of the vehicles according to an embodiment of the invention;
Fig. 9 shows the tripper of the vehicles according to another embodiment of the present invention;And
Figure 10 shows the tripper of the vehicles according to an embodiment of the invention.
Embodiment
The embodiment of the embodiment of the present invention is described in detail below in conjunction with accompanying drawing.It should be appreciated that this The embodiment of place description is merely to illustrate and explain the present invention embodiment, is not intended to limit the invention embodiment.
Fig. 1 shows the flow chart of the unlocking method of the vehicles according to embodiments of the present invention.As shown in figure 1, this hair Bright embodiment provides a kind of unlocking method of the vehicles, and it thinks suitable any friendship available for those skilled in the art In the smart lock of logical instrument, such as in the smart lock of shared bicycle, shared electric car etc., methods described may comprise steps of:
Step S110, receive the unlocking pin of user's input;
By taking shared bicycle as an example, user can be scanned by the client of terminal to the Quick Response Code for sharing bicycle, such as This obtains the mark of shared bicycle, or can be manually entered the mark of shared bicycle, and client will can include shared single The password of the mark of car obtains request and sent to server., can be according to shared list after server receives password acquisition request The mark of car selects password from corresponding cipher code set, and selected password is sent to client, and client is received and shown The unlocking pin.User inputs shown unlocking pin on smart lock, and smart lock receives the unlocking pin of user's input.
Step S120, judge one of the unlocking pin and multiple passwords in the current password group stored whether phase Match somebody with somebody.
Cipher code set can be stored with smart lock, multiple passwords can be included in cipher code set, such as can be close including 3 Code.Receive user input unlocking pin after, judge the unlocking pin with it is multiple in the current password group stored Whether one of password matches, for example, the unlocking pin can be compared to determine with the password in cipher code set one by one be No matching, or it is alternatively possible to the unlocking pin is compare to determine if to match with the specific cryptosystem in cipher code set.
The situation that one of step S130, multiple passwords in the unlocking pin and the current password group matches Under, control the vehicles to be unlocked.
If one of unlocking pin and multiple passwords in current password group match, illustrate the unblock that user is inputted Password is correct, in this case, the vehicles can be controlled to be unlocked, for example, smart lock can send solution lock control Signal is unlocked.
Alternatively, if one of unlocking pin and multiple passwords in current password group do not match that, illustrate that user is defeated The unlocking pin entered is incorrect, and in this case, smart lock can send prompting, such as can send sound prompting to prompt to use Family code error.
Storage includes the cipher code set of multiple passwords in smart lock, equivalent to standby password has been reserved in smart lock, such as This can be avoided leak caused by single password, and in operation not between by smart lock and server network failure or The influence of delay.
Fig. 2 shows the flow chart of the unlocking method of the vehicles according to another embodiment of the present invention.As shown in Fig. 2 Based on above-described embodiment, after the unlocking pin (step S110) of user's input is received, it can be determined that the unlocking pin Whether match (step S202) with the first password in current password group, the in the unlocking pin and current password group In the case of one code matches, the vehicles can be controlled to be unlocked (step is S130), wherein, the first password is According to preset rules in the cipher code set previously selected password.
Specifically, smart lock can be built-in with a cipher code set when dispatching from the factory, and the cipher code set includes multiple passwords, server In can be stored with identical cipher code set.In normal course of operation, server receives the password acquisition from client please After asking, the first password in corresponding cipher code set is sent to client.User inputs the password on smart lock, and smart lock will The unlocking cipher of user's input is matched with the first password in the current password group stored, after the match is successful, is solved Lock is so that user is ridden.
Further, it is determined that after the vehicles locking, the password of the mark including the vehicles can be generated more New request, and send password update request to server.Server generates new cipher code set, intelligence according to password update request Energy interlocking receives the new cipher code set, and the current password group stored is updated into the new cipher code set, when next user uses Client barcode scanning and to server send password obtain request after, server by the first password in new cipher code set send to Client, user input the password on smart lock, the unlocking cipher that smart lock inputs user and the current password stored First password in group is matched, and after the match is successful, is unlocked so that user is ridden.
During the fault-free that communicated between smart lock and server, the password stored in smart lock can obtain timely updates. Said process can be repeated between client, server and smart lock.It is appreciated that the first password in the embodiment is only used for Illustrate, be not limited to, first password can be selected between server and smart lock according to preset rules in cipher code set Any one password.For example, multiple passwords in cipher code set can be sequential storage, the first password can be that this is suitable Any one password in the cipher code set of sequence storage, such as can be first password in cipher code set or can be cipher code set In last password, or cipher code set in any one other password.Or alternatively, the first password also may be used Be in cipher code set have specific identifier a password.
Fig. 3 shows the flow chart of the unlocking method of the vehicles according to further embodiment of this invention.As shown in figure 3, Based on above-described embodiment, after the unlocking pin (step S110) of user's input is received, it can be determined that the unlocking pin Whether match (step S202) with the first password in current password group, the in the unlocking pin and current password group In the case of one code matches, the vehicles can be controlled to be unlocked (step is S130).In the unlocking pin with working as In the case of first password in preceding cipher code set is unmatched, judge the unlocking pin with the current password group except described the Whether other passwords outside one password match (step S204), if in the unlocking pin and the current password group Other code matches, then the vehicles can be controlled to be unlocked (step is S130).
Specifically, in some cases, user may not have to after getting unlocking cipher from server, and server can be with According to whether receive password update request come determine to client send unlocking cipher, then user get unlocking and In the case of no, if receiving another password obtains request, server can be by other passwords in corresponding cipher code set Transmission to client, then user is unlocked according to the password received.
For example, first user sends password by user end to server and obtains request, and server is according to password Request is obtained to send the first password in corresponding cipher code set to client, and first user is obtained after the password simultaneously Do not use.Afterwards, second user sends password by user end to server and obtains request, and server sends first password Password update request is not received afterwards, and corresponding cipher code set is not updated, then server sends out the second password in cipher code set Client is delivered to, second user can be unlocked using the password, similarly, if after second user gets password Also do not use, then the 3rd password in corresponding cipher code set can be sent for third party, server to client.
Therefore, smart lock, can be first by the unlocking cipher with being deposited after the unlocking cipher of user's input is received First password in the current password group of storage is compared, if it does not match, by the unlocking cipher and current password group Other passwords are compared, and are unlocked if matching.Alternatively, it is equal in the unlocking cipher and all passwords in current password group In the case of unmatched, smart lock can send prompting.
Alternatively, smart lock can judge unlocking cipher and other passwords in the current password group stored in sequence Whether match, for example, judging whether the unlocking cipher matches with the second password in current password lock, if it does, then intelligence It can lock and open, and cause the first password in current password group and the failure of the second password.Similarly, if the unlocking cipher with The second password in current password lock mismatches, then judges that the unlocking cipher is with the 3rd password in current password lock No matching, if it does, then smart lock is opened, and cause first password, the second password and the 3rd password in current password group Failure, the like, to complete to unlock.
In above-described embodiment, for same smart lock, the unlocking cipher that client obtains from server every time is different, intelligence The password in cipher code set is locked to judge whether the unlocking cipher is correct, and performs unlocking function, and this mode can improve The validity in short-term of password, and then prevent user from obtaining password and can not use shared bicycle without caused next user.
After vehicles locking is determined each time, smart lock can generate the password update of the mark including the vehicles Request, and send password update request to server.Server generates new cipher code set, smart lock according to password update request The new cipher code set is received, current password group is then updated to the new cipher code set.
Alternatively, smart lock is receiving the new cipher code set scheduled time and then is being updated to the current password group New cipher code set.Receiving the new cipher code set scheduled time and then current password group is updated to new cipher code set, can be with So that the password in previously stored cipher code set retains the term of validity of the scheduled time.
For example, if smart lock is unsuccessfully received before new cipher code set, server have received from client Password obtains request, then server can send the password in corresponding previously cipher code set, such as the second password to client End.User inputs second password to smart lock.And during server and client communication, smart lock may have successfully received New cipher code set.At this moment, if current password group is updated to new cipher code set by smart lock immediately, client will be caused to obtain Previously second password in cipher code set can not use, it is necessary to obtain password from server again.Therefore, smart lock is pre- Fix time and then update cipher code set, it can be ensured that the second password acquired in client still can use, for example, intelligence It is locked in after the second password for receiving user's input, can be all in the first two cipher code set with working as by the password that user inputs Password is compared, to determine whether the password of user's input is correct.
Alternatively, the scheduled time can be 3 minutes, but the embodiment of the present invention is not restricted to this, described predetermined Time can be according to the arbitrary value for being actually needed setting.
The unlocking rate of smart lock, and effectively save user time can be improved through the above way.
It is defeated one or many may to receive user before the new cipher code set of server transmission is received for smart lock The unlocking cipher entered.The reason for generation for causing such case is probably the failed transmission of password update request that smart lock is sent To server, or because server send new cipher code set be not properly received by smart lock, that is to say, that server with Failure or delay be present in the communication between smart lock.In this case, smart lock can be tested according to mode set in advance Whether the unlocking cipher for demonstrate,proving user's input is correct.
Fig. 4 shows more in the unlocking pin and current password group of judgement user input according to an embodiment of the invention The flow chart whether one of individual password matches.Specifically introduced in an embodiment below in conjunction with Fig. 4, it is described new close receiving Before code character, one of multiple passwords in the unlocking pin and the current password group stored the ratio that whether matches how is judged Compared with.
As shown in figure 4, after the unlocking pin (step S402) of user's input is received, first determine whether to receive user Whether the number i of input PUK meets that 1≤i≤n (step S404), wherein n are integer and represented in the current password group The number of included password.If it is satisfied, then judge unlocking pin that ith receives and the in the current password group Whether i password matches (step S406), if it does, then the control vehicles are unlocked (step S410).If connect The number i for receiving user's input PUK is unsatisfactory for 1≤i≤n, i.e. i meets i>N, then judge that the unblock that ith receives is close Whether code matches (step S408) with n-th of password in the current password group, if it does, then the control vehicles enter Row unblock (step S410).
Cipher code set in smart lock can include n password, and this n password can be suitable to facilitate by the storage of order The reading of sequence.Identical cipher code set is accordingly stored in server, the communication between server and smart lock exist failure or In the case of delay, after server receives password acquisition request, it can be sent successively to client according to storage order Password, for example, after receiving password acquisition request for the first time, first sent to accordingly client in cipher code set is close Code, receive for the second time after password obtains request, second password ... ... the in cipher code set is sent to accordingly client After n times receives password acquisition request, n-th of password in cipher code set is sent to accordingly client, password is received and obtains After the number of request is taken more than n, n-th of password in cipher code set is sent to accordingly client.In this way, accordingly, in intelligence Before energy interlocking receives new cipher code set, it can be unlocked according to step S402 to step S410.
Alternatively, in addition to n-th of password, remaining password is after by use, and smart lock can be allowed to fail, such as This, can keep n-th of password forever effective.
By above-described embodiment, between the communication function failure or smart lock and server of smart lock network occur prolongs In the case of late, although smart lock, which can not succeed, obtains new cipher code set from server, server and smart lock can be by Run according to predetermined rule, and then can ensure that the communication between smart lock and server has failure or delay Under, smart lock still can be with normal work.
In one embodiment, the unlocking method of the vehicles can also include:I-th in the current password group is close Code is used for after successfully unlocking, and is invalid password by i-th of cipher mark;And in the current password group N password is used for after successfully unlocking, and it is valid password to keep n-th of password, and wherein i is integer and 1≤i < n, n For the number of password included in integer and the expression current password group.
Specifically, the cipher code set in smart lock can include n password, and this n password can be by the storage of order.Except Outside n password, for remaining password in cipher code set after it be used to successfully unlock, smart lock can be by corresponding cipher mark For invalid password.For example, smart lock judges the unblock of user's input according to any judgment mode provided in an embodiment of the present invention In the case of i-th of code matches in password and cipher code set, the vehicles can be controlled to unlock, at the same can by this i-th Individual cipher mark is invalid password, and i is integer and 1≤i < n here.Smart lock is arbitrarily sentenced according to provided in an embodiment of the present invention In the case that disconnected mode judges n-th of code matches in the unlocking pin and cipher code set of user's input, friendship can be controlled Logical instrument unblock, but it is valid password to keep n-th of password simultaneously, in the case of causing arbitrarily, is remained with smart lock At least one valid password is used to unlocking.
Further, smart lock is before the new cipher code set of server transmission is received, if receiving user's input Unlocking pin, then may determine that whether the unlocking pin matches with the first valid password in current password group, wherein One valid password can be first valid password of the sequential storage ground in the n password.
By taking n=3 as an example, it is stored in cipher code set, when initial, this 3 passwords are valid password 3 sequence of coden. Before new cipher code set is received, receive for the first time user input unlocking pin after, first by the unlocking pin with First code matches in current password group, because first password is the first valid password in current password group.
If the unlocking pin of user's input does not match that with first password, show that user inputs code error, then intelligence Can lock can send prompting, such as auditory tone cues, and it is valid password to retain first password.Received next time After the unlocking pin of user's input, still judge whether the unlocking pin of user's input matches with first password.
If the unlocking pin and first code matches of user's input, control vehicles unblock, first close Code has been used for successfully unlocking, then first cipher mark is invalid password by smart lock, in this case, in current password group Second password be changed into the first valid password in current password group, receive next time user's input unlocking pin it Afterwards, judge whether the unlocking pin of user's input matches with second password.
The like, after second password is used successfully, second password is identified as invalid password.It is current close The first valid password in code character is changed into the 3rd password.In this case, if receiving the unlocking pin of user's input, Judge whether the unlocking pin of user's input matches with the 3rd password.If do not matched that, if the unblock of user's input Password does not match that with first password, shows that user inputs code error, then smart lock can send prompting, such as auditory tone cues Deng.If matched, control vehicles unblock.No matter user input unlocking pin whether with the 3rd password phase Match somebody with somebody, the 3rd password is retained as valid password forever.
It is appreciated that above-mentioned n=3 being merely to illustrate property of example, and it is nonrestrictive.Receiving new cipher code set Before, the unlocking pin that user inputs is matched with the first valid password in current password group, it is possible to prevente effectively from because The leak of single password caused by communication failure between server and smart lock.
Correspondingly, the embodiment of the present invention also provides a kind of machinable medium, is deposited on the machinable medium Instruction is contained, the instruction is used for the unlocking method for causing smart lock to perform the above-mentioned vehicles.
Fig. 5 shows the flow chart of the unlocking method of the vehicles according to embodiments of the present invention.As shown in figure 5, this hair Bright embodiment also provides a kind of unlocking method of the vehicles, and it is used for server, for example, server corresponding to shared bicycle, The vehicles can be shared bicycle, shared electric car etc., and methods described may comprise steps of:
Step S510, the password that the mark for including the vehicles is received from client obtain request.
User can be scanned by the client in terminal to the Quick Response Code of the vehicles, be handed over so that client obtains The mark of logical instrument, or the mark of the vehicles can be manually entered, client can be by the mark including the vehicles Password obtains request and sent to server, and the password acquisition that server receives the mark including the vehicles from client please Ask.
Step S520, the current password group corresponding with the vehicles is determined according to the mark of the vehicles.
Multiple cipher code sets can be stored or generated in server, after receiving password and obtaining request, obtained according to password The mark of the vehicles in request is taken to determine corresponding with the vehicles work as from the multiple cipher code sets stored Preceding cipher code set.
Step S530, a password is selected to send to the client from the current password group.
Server selects corresponding password after the current password group is determined from the cipher code set, for example, from Specific cryptosystem is selected in current password group, or a password is selected according to pre-defined rule, then sends out selected password Client is delivered to, client shows the password.Then user by the Password Input to smart lock to be unlocked.
By above-described embodiment, storing or generate for smart lock in the server has the cipher code set for including multiple passwords, Server can select a password to send to client, then user's use from current password group corresponding with smart lock The password is unlocked, leak caused by so can avoiding single password.
Further, methods described can also include:Receive the mark including the vehicles that smart lock is sent Password update is asked, and after smart lock determines locking, password update request can be sent to server;Server can be close according to this Code renewal request generates new cipher code set;Then can be sent out according to the mark of the vehicles to the smart lock of the corresponding vehicles Send the new cipher code set.
Server can be successfully sent to smart lock in the new cipher code set, and the current password group is updated For the new cipher code set.Alternatively, server can according to smart lock feedback come judge the new cipher code set whether by It is successfully transmitted to the smart lock.
In the case of occurring network failure or delay between smart lock and server, server may be not received by Before the password update request that smart lock is sent, one or many passwords received from client obtain request.Or The new cipher code set of server generation is sent to before smart lock not successfully, one or many to receive the password from client Obtain request.In this case, server can select a password according to pre-defined rule from current password group, and by selected by The password selected is sent to client.
Fig. 6 shows the flow chart of the unlocking method of the vehicles according to embodiments of the present invention.As shown in fig. 6, it is based on Above-described embodiment, server are sent to intelligence not successfully before password update request is not received, or in new cipher code set Before lock, server obtains the friendship in request after client receives password acquisition request (step S510), according to password The mark of logical instrument determines the current password group (step S520) corresponding with the vehicles.Then judge to receive from client Whether the number i that the password at end obtains request meets that 1≤i≤n (step S602), wherein n are integer and represent described current close The number of included password in code character.If it is satisfied, then i-th of password in the current password group is sent to the visitor Family end (step S604).1≤i≤n is unsatisfactory for if receiving the password from client and obtaining the number i asked, i.e. i meets i>N, n-th of password in the current password group is sent to the client.Client shows received password, user Password according to client is unlocked.
Cipher code set in server can include n password, and this n password can be suitable to facilitate by the storage of order The reading of sequence.In the case that communication between server and smart lock has failure or delay, server receives password After obtaining request, password can be sent to client successively according to storage order, for example, receiving password acquisition for the first time After request, first password in cipher code set is sent to accordingly client, after receiving password acquisition request for the second time, After second password ... ... the n-th sent to accordingly client in cipher code set receives password acquisition request, to correspondingly Ground client sends n-th of password in cipher code set, receives after password obtains the number of request more than n, to accordingly visitor Family end sends n-th of password in cipher code set.
By above-described embodiment, between the communication function failure or smart lock and server of smart lock network occur prolongs In the case of late, server can be run according to predetermined rule, and then can ensure that smart lock being capable of normal work.
In one embodiment, the unlocking method of the vehicles can also include:It is determined that in the current password group i-th Individual password is used for after successfully unlocking, and is invalid password by i-th of cipher mark;And in the current password group N-th of password be used for after successfully unlocking, it is valid password to keep n-th of password, and wherein i is integer and 1≤i < N, n are integer and represent the number of password included in the current password group.
For example, n password can be sequentially stored., can be with after server sends i-th of password to client By judge whether from client receive corresponding to the sequence informations of the vehicles judge whether i-th of password is used for Success unlocks.If not receiving the sequence information, illustrate that i-th of password is employed successfully in unblock, then keep this i-th Password is valid password.If receiving the sequence information, illustrate that i-th of password has been employed successfully in unblock, then should I-th of cipher mark is invalid password.Here, i is integer and 1≤i < n.If server is to the password that client is sent N-th of password, then afterwards regardless of whether receiving the sequence information, i.e. no matter whether n-th of password is used, and is protected It is valid password to hold n-th of password.In the case of causing arbitrarily, it is stored with least for the vehicles in server One valid password comes for users to use.
Further, do not receive smart lock transmission password update request before, or new cipher code set not into In the case that work(is sent to smart lock, if receiving the password from client obtains request, server can be by described in The first valid password in current password group is sent to client, wherein the first valid password can be the sequential storage ground n First valid password in individual password.
By taking n=3 as an example, it is stored in cipher code set, when initial, this 3 passwords are valid password 3 sequence of coden. Sent not successfully to the feelings of smart lock before the password update request of smart lock transmission is not received, or in new cipher code set Under condition, after receiving the password acquisition request from client for the first time, first by first password in current password group Send to client, because first password is the first valid password in current password group.Client can show and be connect First password received, user input first password, the password and institute that smart lock inputs user to smart lock The first valid password in the current password group of storage matches, and after the match is successful, smart lock is opened.It is appreciated that with service The first valid password in device is corresponding, and the first valid password is first password in current password group in the smart lock. It is determined that after smart lock locking, client can generate sequence information and send to server.Only acquired in user's use Password unlocked and after smart lock locking, client can just generate the sequence information.If user obtains password And do not have to, then server will not receive the sequence information.
After first password is sent, if do not receive always from client on the traffic work The sequence information of tool, then illustrate that first password not be used to successfully unlock, then it is effectively close to retain the first password Code.After receiving the password from client next time and obtaining request, still first password is sent to client End.
After first password is sent, if receiving the order on the vehicles from client Information, then illustrate that first password be used to successfully unlock, then the first password is identified as invalid password, it is current close Second password in code character is changed into the first valid password in current password group.Receiving next time from the close of client After code obtains request, second password in the current password group is sent to client.Client can show and be connect Second password received, user input second password, the password and institute that smart lock inputs user to smart lock The first valid password in the current password group of storage matches, and after the match is successful, smart lock is opened.It is appreciated that with service The first valid password in device is corresponding, and the first valid password is second password in current password group in the smart lock. It is determined that after smart lock locking, client can generate sequence information and send to server.
The like, after second password is used successfully, second password is identified as invalid password.It is current close The first valid password in code character is changed into the 3rd password.Afterwards if receiving the password from client obtains request, then 3rd password is sent to client, and it is valid password to keep the 3rd password forever.
It is appreciated that above-mentioned n=3 being merely to illustrate property of example, and it is nonrestrictive.Smart lock hair is not being received Before the password update request sent, or in the case where new cipher code set is sent to smart lock not successfully, come if received Request is obtained from the password of client, then is sent the first valid password to client, it is possible to prevente effectively from because of server and intelligence The leak of single password caused by communication failure between locking.
Correspondingly, the embodiment of the present invention also provides a kind of machinable medium, is deposited on the machinable medium Instruction is contained, the instruction is used for the unlocking method for causing server to perform the above-mentioned vehicles.
Fig. 7 shows the structure chart of the system according to embodiments of the present invention under the scene using shared bicycle.Such as Fig. 7 It is shown, under the scene using shared bicycle, it is attached between client and server by network, between smart lock and server It is attached by network.Above-mentioned network can include any type of networks such as cellular network, WLAN WiFi, This is not particularly limited the present invention.
The embodiment of the present invention is lifted so that the vehicles include 3 passwords for shared bicycle, every group of cipher code set as an example Example explanation.
It is built-in with first password group when smart lock dispatches from the factory, identical first password is stored with for the smart lock in server Group.In course of normal operation, client obtains the mark of shared bicycle by scanning Quick Response Code or user's input, and generates Password including the mark obtains request, and the password then is obtained into request sends to server.Server receives and comes from client The password of the mark for including shared bicycle at end obtains request, and the first password according to corresponding to determining the mark of shared bicycle Group, then the first password in first password group is sent to client, client shows the first password.User is to smart lock The first password is inputted, after smart lock receives the first password, by the first password and the first password group stored First password is matched, and after the match is successful, smart lock is opened.
It is determined that after smart lock locking, smart lock generation includes the password update request of the mark of shared bicycle, and should It is the second new password of smart lock generation according to password update request that password update request, which is sent to server, server, Group, and second cipher code set is sent to corresponding smart lock.Smart lock stores second cipher code set, when next user passes through When user end to server sends password acquisition request, server can send the first password in the second cipher code set to client End.Client, server and smart lock repeat said process.
In the case of communication failure or delay between server and smart lock being present, in the password that intelligent lock end generates more New request may not be sent to server in time, or may not be successfully transmitted in the new cipher code set of server end generation To server.
In this case, if server does not receive password update request, server receives password for the first time and obtained When taking request, the first password in first password group is sent to client.User inputs the first password to smart lock, intelligence After interlocking receives the first password, the first password is matched with the first password in the first password group stored, After success, smart lock is opened, the first password failure in smart lock.It is determined that after smart lock locking, smart lock generation includes The password update request of the mark of shared bicycle, and password update request is sent to server.
If server does not receive password update request, will when server receives password acquisition request for the second time The second password in first password group is sent to client.User inputs second password to smart lock, and smart lock receives this After second password, second password is matched with the second password in the first password group stored, after the match is successful, intelligence It can lock and open, the second password failure in smart lock.It is determined that after smart lock locking, smart lock generation includes the mark of shared bicycle The password update request of knowledge, and password update request is sent to server.
If server does not receive password update request, will when server third time receives password acquisition request The 3rd password in first password group is sent to client.User inputs the 3rd password to smart lock, and smart lock receives this After 3rd password, second password is matched with the third yard in the first password group stored, after the match is successful, intelligence Lock is opened, and it is determined that after smart lock locking, smart lock generation includes the password update request of the mark of shared bicycle, and this is close Code renewal request is sent to server.
If server does not receive password update request, (number is more than the password in cipher code set for server the 4th time Number) receive password obtain request when, the 4th password in first password group is sent to client.User is defeated to smart lock Enter the 4th password, after smart lock receives the 4th password, by the in second password and the first password group that is stored Four yards are matched, and after the match is successful, smart lock is opened.The like, until server receives the password from server Renewal request, before the cipher code set renewal of smart lock, the 3rd password is forever effective.
Correspondingly, said process is also applied for the new cipher code set of server generation and sent not successfully to the field of smart lock Scape.
In above process, if new cipher code set is successfully transmitted to the smart lock of shared bicycle, server and intelligence Lock is run using the new cipher code set and according to above-mentioned implementation procedure, and which time password corresponded to but regardless of the new cipher code set Renewal request.For example, after if above-mentioned second is unlocked, connect if smart lock has received and stored server for the first time Receive the second cipher code set generated after password update request.Then if server third time receive password obtain request after, will First password in second cipher code set is sent to client, user and unlocked using the first password in second cipher code set.
It is appreciated that in above-described embodiment, it is illustrative and not restrictive that cipher code set, which includes 3 passwords,.On also, The implementation procedure stated is only used for illustrating technical scheme, is not used in limitation technical scheme.
Fig. 8 shows the tripper of the vehicles according to an embodiment of the invention.As shown in figure 8, the present invention is implemented Example also provides a kind of tripper of the vehicles, and it thinks suitable any traffic work available for those skilled in the art In the smart lock of tool, such as in the smart lock of shared bicycle, shared electric car etc., described device can include:Receiving module 810, For receiving the unlocking pin of user's input;Judge module 820, for the current password for judging the unlocking pin Yu being stored Whether one of multiple passwords in group match;And control module 830, in the unlocking pin and the current password In the case that one of multiple passwords in group match, the vehicles are controlled to be unlocked.
Alternatively, judge module 820 can be by judging that the unlocking pin and first in the current password group are close Whether code matches to judge whether one of the unlocking pin and multiple passwords in the current password group stored match, In the case that first password in the unlocking pin and the current password group matches, control module 830 controls described The vehicles are unlocked, wherein, the first password be according to preset rules in the cipher code set previously selected password.
Further, in the case of first password in the unlocking pin and the current password group is unmatched, sentence Disconnected module 820 judge the unlocking pin and other passwords in the current password group in addition to the first password whether phase Matching, if it does, control module 830 controls the vehicles to be unlocked.
Storage includes the cipher code set of multiple passwords in smart lock, equivalent to standby password has been reserved in smart lock, such as This can be avoided leak caused by single password, and in operation not between by smart lock and server network failure or The influence of delay.
Fig. 9 shows the tripper of the vehicles according to another embodiment of the present invention.As shown in figure 9, the present invention is real Applying the tripper of example offer can also include:Generation module 840, for it is determined that after the vehicles locking, generation to be wrapped Include the password update request of the mark of the vehicles;And communication module 850, for sending the password more to server New request.
Further, the communication module 850 is additionally operable to the new cipher code set of the reception server transmission.It is described in reference diagram 9 Device can also include:Update module 860, for the current password group to be updated into the new cipher code set.Alternatively, more New module 860 is used for after the new cipher code set scheduled time is received, and the current password group is updated to described new Cipher code set.
Alternatively, before the communication module 850 receives the new cipher code set, the judge module 820 is used for Judge whether one of the unlocking pin and multiple passwords in the current password group stored match by following steps: Meet 1≤i≤n if receiving user and inputting the number i of unlocking pin, judge unlocking pin and institute that ith receives Whether i-th of the password stated in current password group matches, and wherein n is integer and represents included in the current password group The number of password;And if the number i for receiving user's input unlocking pin meets i>N, then judge the solution that ith receives Whether lock cipher matches with n-th of password in the current password group;The control module 830 is additionally operable to received Unlocking pin in the case of the corresponding code matches in the current password group, controlling the vehicles to be solved Lock.
Alternatively, control module 830 is additionally operable to:I-th of password in the current password group be used to successfully unlock Afterwards, it is invalid password by i-th of cipher mark;And n-th of password in the current password group is used for into After work(unblock, it is valid password to keep n-th of password, and wherein i is integer and 1≤i < n, n are described in integer and expression The number of included password in current password group.
Further, before the communication module 850 receives the new cipher code set, the judge module 820 is used In judged by following steps one of the unlocking pin and multiple passwords in the current password group stored whether phase Match somebody with somebody:Judge whether the unlocking pin matches with the first valid password in the current password group, wherein described first has It is first valid password of the sequential storage ground in the n password to imitate password.
By above-described embodiment, between the communication function failure or smart lock and server of smart lock network occur prolongs In the case of late, although smart lock, which can not succeed, obtains new cipher code set from server, server and smart lock can be by Run according to predetermined rule, and then can ensure that the communication between smart lock and server has failure or delay Under, smart lock still can be with normal work.
The concrete operating principle of the tripper of the above-mentioned vehicles for smart lock provided in an embodiment of the present invention and The concrete operating principle of the unlocking method of benefit and the above-mentioned vehicles provided in an embodiment of the present invention for smart lock and Benefit is similar, will not be described in great detail here.
Figure 10 shows the tripper of the vehicles according to an embodiment of the invention.As shown in Figure 10, the present invention is real Apply example and a kind of tripper of the vehicles is also provided, it is used for server, for example, server corresponding to shared bicycle, described The vehicles can be shared bicycle, shared electric car etc., and described device can include:First receiving module 1010, for from visitor The password that family termination packet receiving includes the mark of the vehicles obtains request;Cipher code set determining module 1020, for according to the traffic The mark of instrument determines the current password group corresponding with the vehicles;And first sending module 1030, for from institute State and a password is selected in current password group to send to the client.Storing or generate for smart lock in the server has Include the cipher code set of multiple passwords, server can select password to send to visitor from current password group corresponding with smart lock Family end, then user be unlocked using the password, leak caused by so can avoiding single password.
Alternatively, described device also includes:Second receiving module, for receive smart lock transmission include the traffic work The password update request of the mark of tool;Cipher code set generation module, for generating new cipher code set according to password update request; And second sending module, for the new cipher code set to be sent to the smart lock.
Alternatively, before second receiving module does not receive password update request, or described new Cipher code set is sent in the case of the smart lock not successfully, and first sending module is used for by following steps come from described A password is selected to send to the client in current password group:If receiving the password from client obtains request Number i meet 1≤i≤n, then i-th of password in the current password group is sent to the client, wherein n is whole Number and the number for representing password included in the current password group;And obtained if receiving the password from client The number i of request meets i>N, n-th of password in the current password group is sent to the client.
Alternatively, the tripper of the vehicles provided in an embodiment of the present invention can also include mark module, for Determine that i-th of password in the current password group is used for after successfully unlocking, be invalid close by i-th of cipher mark Code;And after n-th of password in the current password group be used to successfully unlock, n-th of password is kept to have Password is imitated, wherein i is integer and 1≤i < n, n are integer and represent the number of password included in the current password group.
Further, before second receiving module does not receive the password update request, or described new Cipher code set send not successfully in the case of the smart lock, first sending module is used for by following steps come from institute State and a password is selected in current password group to send to the client:By the first valid password in the current password group Send to the client, wherein first valid password be sequential storage first in the n password it is effective close Code.
Further, described device can also include:Update module, for being successfully transmitted in the new cipher code set to institute In the case of stating smart lock, the current password group is updated to the new cipher code set.
By above-described embodiment, between the communication function failure or smart lock and server of smart lock network occur prolongs In the case of late, server can be run according to predetermined rule, and then can ensure that smart lock being capable of normal work.
The concrete operating principle of the tripper of the above-mentioned vehicles for server provided in an embodiment of the present invention and The concrete operating principle of the unlocking method of benefit and the above-mentioned vehicles provided in an embodiment of the present invention for server and Benefit is similar, will not be described in great detail here.
The optional embodiment of the embodiment of the present invention is described in detail above in association with accompanying drawing, still, the embodiment of the present invention is simultaneously The detail being not limited in above-mentioned embodiment, can be to of the invention real in the range of the technology design of the embodiment of the present invention The technical scheme for applying example carries out a variety of simple variants, and these simple variants belong to the protection domain of the embodiment of the present invention.
It is further to note that each particular technique feature described in above-mentioned embodiment, in not lance In the case of shield, it can be combined by any suitable means.In order to avoid unnecessary repetition, the embodiment of the present invention pair Various combinations of possible ways no longer separately illustrate.
It will be appreciated by those skilled in the art that realize that all or part of step in above-described embodiment method is to pass through Program instructs the hardware of correlation to complete, and the program storage is in the storage medium, including some instructions are causing list Piece machine, chip or processor (processor) perform all or part of step of each embodiment methods described of the application.It is and preceding The storage medium stated includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
In addition, it can also be combined between a variety of embodiments of the embodiment of the present invention, as long as it is not The thought of the embodiment of the present invention is run counter to, it should equally be considered as disclosure of that of the embodiment of the present invention.

Claims (32)

1. a kind of unlocking method of the vehicles, it is characterised in that for the smart lock of the vehicles, methods described includes:
Receive the unlocking pin of user's input;
Judge whether one of the unlocking pin and multiple passwords in the current password group stored match;And
In the case that one of multiple passwords in the unlocking pin and the current password group match, the traffic is controlled Instrument is unlocked.
2. according to the method for claim 1, it is characterised in that described to judge that the unlocking pin is current close with being stored One of multiple passwords in code character whether match including:
Judge whether the unlocking pin matches with the first password in the current password group, wherein, the first password For according to preset rules in the cipher code set previously selected password.
3. according to the method for claim 2, it is characterised in that described to judge that the unlocking pin is current close with being stored Whether one of multiple passwords in code character, which match, also includes:
In the case of first password in the unlocking pin and the current password group is unmatched, the unlocking pin is judged Whether match with one of other passwords in the current password group in addition to the first password.
4. according to the method for claim 1, it is characterised in that methods described also includes:
It is determined that after the vehicles locking, generation includes the password update request of the mark of the vehicles;And
The password update request is sent to server.
5. according to the method for claim 4, it is characterised in that methods described also includes:
Receive the new cipher code set that the server is sent;And
The current password group is updated to the new cipher code set.
6. according to the method for claim 5, it is characterised in that methods described also includes:
Before the new cipher code set is received, it is described judge it is more in the unlocking pin and the current password group stored One of individual password whether match compare including:
If receiving number i satisfaction 1≤i≤n that user inputs unlocking pin, the unlocking pin that ith receives is judged Whether match with i-th of password in the current password group, wherein n is by integer and represents to wrap in the current password group The number of the password included;And
If the number i for receiving user's input unlocking pin meets i>N, then judge unlocking pin and institute that ith receives Whether n-th of the password stated in current password group matches;And
In received unlocking pin in the case of the corresponding code matches in the current password group, controlling the friendship Logical instrument is unlocked.
7. according to the method for claim 5, it is characterised in that methods described also includes:
It is invalid by i-th of cipher mark after i-th of password in the current password group be used to successfully unlock Password;And
After n-th of password in the current password group be used to successfully unlock, it is effectively close to keep n-th of password Code,
Wherein i is integer and 1≤i < n, n are integer and represent the number of password included in the current password group.
8. according to the method for claim 7, it is characterised in that methods described also includes:
Before the new cipher code set is received, it is described judge the unlocking pin with it is close in the current password group stored Code one of whether match compare including:
Judge whether the unlocking pin matches with the first valid password in the current password group, wherein, described first Valid password is first valid password of the sequential storage ground in the n password.
9. according to the method for claim 5, it is characterised in that it is described the current password group is updated to it is described new close Code character includes:
After the new cipher code set scheduled time is received, the current password group is updated to the new cipher code set.
10. a kind of unlocking method of the vehicles, it is characterised in that for server, methods described includes:
The password that the mark for including the vehicles is received from client obtains request;
The current password group corresponding with the vehicles is determined according to the mark of the vehicles;And
A password is selected to send to the client from the current password group.
11. according to the method for claim 8, it is characterised in that methods described also includes:
Receive the password update request for the mark including the vehicles that smart lock is sent;
New cipher code set is generated according to password update request;And
The new cipher code set is sent to the smart lock.
12. according to the method for claim 11, it is characterised in that before the password update request is not received, or Person is described to select one from the current password group in the case where the new cipher code set is sent to the smart lock not successfully Individual password is included with sending to the client:
If number i satisfaction 1≤i≤n that the password from client obtains request are received, by the current password group I-th of password send to the client, wherein n is integer and represents of password included in the current password group Number;And
Meet i if receiving the password from client and obtaining the number i asked>N, by n-th in the current password group Individual password is sent to the client.
13. according to the method for claim 11, it is characterised in that methods described also includes:
After it is determined that i-th of password in the current password group be used to successfully unlock, it is by i-th of cipher mark Invalid password;And
After n-th of password in the current password group be used to successfully unlock, it is effectively close to keep n-th of password Code,
Wherein i is integer and 1≤i < n, n are integer and represent the number of password included in the current password group.
14. according to the method for claim 13, it is characterised in that before the password update request is not received, or Person is described to select one from the current password group in the case where the new cipher code set is sent to the smart lock not successfully Individual password is included with sending to the client:
The first valid password in the current password group is sent to the client, wherein first valid password is suitable First valid password in n password described in sequence storage.
15. according to the method for claim 11, it is characterised in that methods described also includes:
In the case where the new cipher code set is successfully transmitted to the smart lock, the current password group is updated to described new Cipher code set.
16. a kind of tripper of the vehicles, it is characterised in that for the smart lock of the vehicles, described device includes:
Receiving module, for receiving the unlocking pin of user's input;
Judge module, for judge one of the unlocking pin and multiple passwords in the current password group stored whether phase Match somebody with somebody;And
Control module, situation about matching for one of multiple passwords in the unlocking pin and the current password group Under, control the vehicles to be unlocked.
17. device according to claim 16, it is characterised in that the judge module is used to judge by following steps Whether one of the unlocking pin and multiple passwords in the current password group stored match:
Judge whether the unlocking pin matches with the first password in the current password group, wherein, the first password For according to preset rules in the cipher code set previously selected password.
18. device according to claim 17, it is characterised in that the judge module is additionally operable to sentence by following steps Whether break one of the unlocking pin and multiple passwords in the current password group that is stored match:
In the case of first password in the unlocking pin and the current password group is unmatched, the unlocking pin is judged Whether match with one of other passwords in the current password group in addition to the first password.
19. device according to claim 16, it is characterised in that described device also includes:
Generation module, for it is determined that after the vehicles locking, generation to include the password of the mark of the vehicles more New request;And
Communication module, asked for sending the password update to server.
20. device according to claim 19, it is characterised in that
The communication module is additionally operable to receive the new cipher code set that the server is sent;
Described device also includes update module, for the current password group to be updated into the new cipher code set.
21. device according to claim 20, it is characterised in that
Before the communication module receives the new cipher code set, the judge module is used to judge by following steps Whether one of the unlocking pin and multiple passwords in the current password group stored match:
If receiving number i satisfaction 1≤i≤n that user inputs unlocking pin, the unlocking pin that ith receives is judged Whether match with i-th of password in the current password group, wherein n is by integer and represents to wrap in the current password group The number of the password included;And
If the number i for receiving user's input unlocking pin meets i>N, then judge unlocking pin and institute that ith receives Whether n-th of the password stated in current password group matches;
The control module is additionally operable in received unlocking pin and the corresponding code matches in the current password group In the case of, control the vehicles to be unlocked.
22. device according to claim 20, it is characterised in that
The control module is additionally operable to:
It is invalid by i-th of cipher mark after i-th of password in the current password group be used to successfully unlock Password;And
After n-th of password in the current password group be used to successfully unlock, it is effectively close to keep n-th of password Code,
Wherein i is integer and 1≤i < n, n are integer and represent the number of password included in the current password group.
23. device according to claim 22, it is characterised in that receive the new cipher code set in the communication module Before, the judge module is more in the unlocking pin and the current password group stored for being judged by following steps Whether one of individual password matches:
Judge whether the unlocking pin matches with the first valid password in the current password group, wherein described first has It is first valid password of the sequential storage ground in the n password to imitate password.
24. device according to claim 20, it is characterised in that the update module be used for receive it is described new close After the code character scheduled time, the current password group is updated to the new cipher code set.
25. a kind of tripper of the vehicles, it is characterised in that for server, described device includes:
First receiving module, the password for receiving the mark for including the vehicles from client obtain request;
Cipher code set determining module, corresponding with the vehicles for the mark determination according to the vehicles is current close Code character;And
First sending module, for selecting a password from the current password group to send to the client.
26. device according to claim 25, it is characterised in that described device also includes:
Second receiving module, the password update request of the mark including the vehicles for receiving smart lock transmission;
Cipher code set generation module, for generating new cipher code set according to password update request;And
Second sending module, for the new cipher code set to be sent to the smart lock.
27. device according to claim 26, it is characterised in that do not receive the password in second receiving module Before renewal request, or in the case where the new cipher code set is sent to the smart lock not successfully, described first sends Module is used to select a password from the current password group by following steps to send to the client:
If number i satisfaction 1≤i≤n that the password from client obtains request are received, by the current password group I-th of password send to the client, wherein n is integer and represents of password included in the current password group Number;And
Meet i if receiving the password from client and obtaining the number i asked>N, by n-th in the current password group Individual password is sent to the client.
28. device according to claim 26, it is characterised in that described device also includes mark module, is used for:
After it is determined that i-th of password in the current password group be used to successfully unlock, it is by i-th of cipher mark Invalid password;And
After n-th of password in the current password group be used to successfully unlock, it is effectively close to keep n-th of password Code,
Wherein i is integer and 1≤i < n, n are integer and represent the number of password included in the current password group.
29. device according to claim 28, it is characterised in that do not receive the password in second receiving module Before renewal request, or in the case where the new cipher code set is sent to the smart lock not successfully, described first sends Module is used to select a password from the current password group by following steps to send to the client:
The first valid password in the current password group is sent to the client, wherein first valid password is suitable First valid password in n password described in sequence storage.
30. device according to claim 26, it is characterised in that described device also includes:
Update module, in the case of being successfully transmitted in the new cipher code set to the smart lock, by the current password Group is updated to the new cipher code set.
31. a kind of machinable medium, instruction is stored with the machinable medium, the instruction is used to cause machine Perform the unlocking method of the vehicles according to any one claim in claim 1 to 9.
32. a kind of machinable medium, instruction is stored with the machinable medium, the instruction is used to cause machine Perform the unlocking method of the vehicles according to any one claim in claim 10 to 15.
CN201710905643.4A 2017-09-29 2017-09-29 Unlocking method, device and the storage medium of the vehicles Pending CN107730676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710905643.4A CN107730676A (en) 2017-09-29 2017-09-29 Unlocking method, device and the storage medium of the vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710905643.4A CN107730676A (en) 2017-09-29 2017-09-29 Unlocking method, device and the storage medium of the vehicles

Publications (1)

Publication Number Publication Date
CN107730676A true CN107730676A (en) 2018-02-23

Family

ID=61209119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710905643.4A Pending CN107730676A (en) 2017-09-29 2017-09-29 Unlocking method, device and the storage medium of the vehicles

Country Status (1)

Country Link
CN (1) CN107730676A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259174A (en) * 2018-04-23 2018-07-06 唯得智慧(湖北)科技有限公司 The update method of safety door unblocking key based on narrowband Internet of Things
CN109039595A (en) * 2018-06-07 2018-12-18 深圳市叮咚云智能家居有限公司 A kind of method, apparatus and server for reducing internet-of-things terminal temporary password and issuing time delay
WO2019174507A1 (en) * 2018-03-16 2019-09-19 东莞盛世科技电子实业有限公司 Temporary password usage control method and system
CN110930551A (en) * 2019-11-27 2020-03-27 惠州拓邦电气技术有限公司 Unlocking method and device, password authorization method and device, and door lock system
CN110992529A (en) * 2019-11-21 2020-04-10 泰康保险集团股份有限公司 Intelligent door lock system
CN111144787A (en) * 2019-12-31 2020-05-12 上海能塔智能科技有限公司 Vehicle-using process accident processing method and device, electronic equipment and medium
CN113160476A (en) * 2021-02-23 2021-07-23 国网山东省电力公司日照供电公司 Intelligent key management system and method for transformer substation
CN113688380A (en) * 2021-10-26 2021-11-23 苏州浪潮智能科技有限公司 Password protection method, device and medium
CN113903107A (en) * 2021-09-28 2022-01-07 上海擎朗智能科技有限公司 Door lock control method and device for robot, robot and storage medium
CN118097823A (en) * 2024-02-07 2024-05-28 重庆市鹿享家科技有限公司 Door lock password generation request processing method, intelligent door lock, door body and readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160260274A1 (en) * 2013-10-24 2016-09-08 Utc Fire & Security Americas Corporations, Inc. Systems and methods for locking device management including time delay policies using random time delays
CN106652141A (en) * 2016-12-30 2017-05-10 北京拜克洛克科技有限公司 Unlocking method, unlocking system, and unlocking apparatus for bicycles
CN106652117A (en) * 2016-10-14 2017-05-10 张智 Method and system for enabling dynamic passwords to realize offline unlocking, mobile terminal and server
CN106780895A (en) * 2016-12-23 2017-05-31 余仁植 Method for unlocking coded lock, locking method, coded lock, systems approach and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160260274A1 (en) * 2013-10-24 2016-09-08 Utc Fire & Security Americas Corporations, Inc. Systems and methods for locking device management including time delay policies using random time delays
CN106652117A (en) * 2016-10-14 2017-05-10 张智 Method and system for enabling dynamic passwords to realize offline unlocking, mobile terminal and server
CN106780895A (en) * 2016-12-23 2017-05-31 余仁植 Method for unlocking coded lock, locking method, coded lock, systems approach and system
CN106652141A (en) * 2016-12-30 2017-05-10 北京拜克洛克科技有限公司 Unlocking method, unlocking system, and unlocking apparatus for bicycles

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019174507A1 (en) * 2018-03-16 2019-09-19 东莞盛世科技电子实业有限公司 Temporary password usage control method and system
US11657128B2 (en) 2018-03-16 2023-05-23 Smart Electronic Industrial (Dong Guan) Co., Ltd. Temporary password usage control method and system
CN108259174A (en) * 2018-04-23 2018-07-06 唯得智慧(湖北)科技有限公司 The update method of safety door unblocking key based on narrowband Internet of Things
CN109039595A (en) * 2018-06-07 2018-12-18 深圳市叮咚云智能家居有限公司 A kind of method, apparatus and server for reducing internet-of-things terminal temporary password and issuing time delay
CN110992529A (en) * 2019-11-21 2020-04-10 泰康保险集团股份有限公司 Intelligent door lock system
CN110930551A (en) * 2019-11-27 2020-03-27 惠州拓邦电气技术有限公司 Unlocking method and device, password authorization method and device, and door lock system
CN111144787A (en) * 2019-12-31 2020-05-12 上海能塔智能科技有限公司 Vehicle-using process accident processing method and device, electronic equipment and medium
CN111144787B (en) * 2019-12-31 2023-08-25 上海能塔智能科技有限公司 Method and device for processing accident of vehicular flow, electronic equipment and medium
CN113160476A (en) * 2021-02-23 2021-07-23 国网山东省电力公司日照供电公司 Intelligent key management system and method for transformer substation
CN113903107A (en) * 2021-09-28 2022-01-07 上海擎朗智能科技有限公司 Door lock control method and device for robot, robot and storage medium
CN113688380A (en) * 2021-10-26 2021-11-23 苏州浪潮智能科技有限公司 Password protection method, device and medium
CN118097823A (en) * 2024-02-07 2024-05-28 重庆市鹿享家科技有限公司 Door lock password generation request processing method, intelligent door lock, door body and readable medium

Similar Documents

Publication Publication Date Title
CN107730676A (en) Unlocking method, device and the storage medium of the vehicles
CN106971442B (en) A kind of safe and intelligent lock system
US7590246B2 (en) Authentication between a cellular phone and an access point of a short-range network
US11117548B2 (en) Method and system for opening and/or using at least one vehicle
CN105447928B (en) Access control method and control system
CN107146307B (en) A kind of method of securely unlocking of intelligent lock system
CN102262793B (en) Entrance guard control method and entrance guard control system
CN100593923C (en) Authentication system, authentication method, and hand-over system
CN106785146A (en) The charging method and system of the electric automobile charging pile with bluetooth
CN108109239A (en) A kind of method for unlocking of smart lock, mobile terminal and unlocking system
US5887250A (en) Mobile station having lock code based on secure value
CN105083214A (en) Authorization method, authorization system and authorization mobile terminal for vehicle and authorized mobile terminal
CN110406414A (en) Vehicular charging method, mobile terminal and server based on household charging pile
CN105551118A (en) Electronic key opening access control method, and apparatus and system thereof
CN110232754A (en) A kind of blue-tooth intelligence unlocking system and method
CN109920114A (en) A kind of control method for door lock and system based on geographical location
CN108112012A (en) The method for network authorization and device of a kind of group endpoints
US20170366411A1 (en) Method, Apparatus, and System for Joining Node to Network
CN110164005B (en) Method and device for logging off intelligent key
CN106060034A (en) Account login method and device
CN1885770B (en) Authentication method
CN108462703A (en) Password update method, smart lock and server
CN106696749A (en) Charging method and system for electric automobile charging pile with Zigbee
CN108447149A (en) A kind of unlocking method and device in shared house
JP3704312B2 (en) Authentication method for mobile station of wireless communication network, wireless communication network and mobile station

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: 20180223

RJ01 Rejection of invention patent application after publication