WO2018119623A1 - Method of unlocking electronic lock device, and client and electronic lock device thereof - Google Patents

Method of unlocking electronic lock device, and client and electronic lock device thereof Download PDF

Info

Publication number
WO2018119623A1
WO2018119623A1 PCT/CN2016/112280 CN2016112280W WO2018119623A1 WO 2018119623 A1 WO2018119623 A1 WO 2018119623A1 CN 2016112280 W CN2016112280 W CN 2016112280W WO 2018119623 A1 WO2018119623 A1 WO 2018119623A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic lock
lock device
unlocking
feature information
electronic
Prior art date
Application number
PCT/CN2016/112280
Other languages
French (fr)
Chinese (zh)
Inventor
李效坤
黄嘉曦
江旭峰
Original Assignee
深圳易马达科技有限公司
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 深圳易马达科技有限公司 filed Critical 深圳易马达科技有限公司
Priority to PCT/CN2016/112280 priority Critical patent/WO2018119623A1/en
Priority to CN201680001896.2A priority patent/CN108541324A/en
Publication of WO2018119623A1 publication Critical patent/WO2018119623A1/en

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

Definitions

  • the present invention belongs to the field of unlocking, and in particular, to an unlocking method of an electronic lock device, a client, and an electronic lock device thereof.
  • An object of the present invention is to provide an unlocking method and device for an electronic lock device, and an electronic lock device thereof, aiming at solving an unlocking method of an existing electronic lock device, and using an electronic key matched with an electronic lock.
  • the problem of complex authentication process is to provide an unlocking method and device for an electronic lock device, and an electronic lock device thereof, aiming at solving an unlocking method of an existing electronic lock device, and using an electronic key matched with an electronic lock.
  • the embodiment of the present invention is implemented by the method for unlocking an electronic lock device, and the method includes: [0005] receiving a BLE broadcast signal broadcast by an electronic lock device, where the BLE broadcast signal includes the electronic lock device Identity information;
  • an embodiment of the present invention provides a method for unlocking an electronic lock device, where the method includes: [0009] continuously broadcasting BLE broadcast information within a preset range, where the BLE broadcast information includes an electronic lock device corresponding to First identity information;
  • the unlocking client receiving the electronic lock device establishes a communication connection with the unlocking client according to the connection response information according to the connection response information returned by the first identity feature information of the electronic lock device;
  • an embodiment of the present invention provides an unlocking client of an electronic lock device, where the unlocking client includes:
  • a BLE broadcast receiving unit configured to receive a BLE broadcast signal broadcast by the electronic lock device, where the BLE broadcast signal includes identity feature information of the electronic lock device;
  • an identity feature information determining unit configured to extract identity feature information in the BLE broadcast signal, and determine, according to the identity feature information and a pre-configured unlock list, whether the electronic lock device is a legal device
  • the pre-configured unlock list includes identity feature information of the authorized electronic lock device
  • an electronic key sending unit configured to establish a communication connection with the electronic lock device if the electronic lock device is a legal device, and send the identity feature information of the electronic lock device as an electronic key to the office
  • the electronic lock device is described such that the electronic lock device performs an unlocking operation according to the electronic key.
  • an embodiment of the present invention provides an electronic lock device, where the electronic lock device includes:
  • a BLE broadcast sending unit configured to continuously broadcast BLE broadcast information in a preset range, where the BLE broadcast information includes first identity feature information corresponding to the electronic lock device;
  • an electronic key receiving unit configured to receive connection response information returned by the unlocking client of the electronic lock device according to the first identity feature information of the electronic lock device, and establish, with the connection response information, the unlocking client Communication connection
  • the identity feature information matching unit receives the electronic key sent by the unlocking client, and verifies whether the electronic key is a legal key, and the electronic key includes second identity feature information;
  • an unlocking operation unit configured to determine whether to perform an unlocking operation according to the verification result.
  • the unlocking method, the client and the electronic lock device thereof for implementing the electronic lock device provided by the embodiments of the present invention have the following beneficial effects:
  • the embodiment of the present invention detects the BLE broadcast signal by the client, checks whether the identity feature information in the broadcast information has a corresponding authorized electronic lock device, and if yes, performs an unlock operation.
  • the unlocking function can be implemented by installing a corresponding unlocking client on the mobile terminal, and the unlocking operation does not require the user and the electronic lock device. The specific unlocking action is performed, and the automatic unlocking function can be realized through the interaction communication between the client and the electronic lock device and the related authentication operation. Therefore, the embodiment of the invention simplifies the operation in the unlocking process of the electronic lock device, thereby improving the unlocking efficiency of the electronic lock device.
  • the embodiment of the present invention also solves the problem that the unlocking port requires the use of a dedicated electronic key to generate an unnecessary cost, and the electronic key is easily lost.
  • the embodiment of the present invention uses the identity feature information as the unique identifier code of the electronic lock device, and the identity feature information further has a function of verifying whether the instruction is legal, and correspondingly, in the step of authenticating and unlocking,
  • the unlocking client and the electronic lock device only need to verify one feature code, and do not need to separately verify the identification code and the dynamic check code, thereby reducing the data operation time of the unlocking operation, thereby improving the unlocking efficiency.
  • FIG. 1 is a flowchart of unlocking a client side of an unlocking method of an electronic lock device according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of unlocking a client side of an unlocking method of an electronic lock device according to another embodiment of the present invention
  • 3 is a flow chart of an electronic lock side of an unlocking method of an electronic lock device according to an embodiment of the present invention
  • 4 is a flow chart of an electronic lock side of an unlocking method of an electronic lock device according to another embodiment of the present invention.
  • FIG. 5 is a structural block diagram of an unlocking client of an electronic lock device according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of an unlocking client of an electronic lock device according to another embodiment of the present invention.
  • FIG. 7 is a structural block diagram of an electronic lock device according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of an electronic lock device according to another embodiment of the present invention.
  • the BLE (Bluetooth Low Energy) broadcast signal is detected by the client, and the identity feature information in the BLE broadcast information is verified to have a corresponding authorized electronic lock. If yes, the unlock operation is performed. Therefore, solving the existing electronic lock unlocking method requires the use of a dedicated electronic key for shacking, which increases the cost and the electronic key is easily lost, and needs to authenticate multiple feature values to reduce the unlocking efficiency.
  • the execution entity of the process is an unlocking client of the electronic lock device.
  • the unlocking client can be an application, installed on a mobile terminal having a communication function, or can be used as an unlocking device alone.
  • FIG. 1 is a flowchart showing an implementation of unlocking a client side of an electronic lock device according to an embodiment of the present invention, which is described in detail as follows:
  • a BLE broadcast signal broadcast by the electronic lock device is received, and the BLE broadcast signal includes identity feature information of the electronic lock device.
  • the BLE broadcast signal transmitted by the electronic lock can be received only when it is within a certain distance from the electronic lock device.
  • the unlocking client of the electronic lock continuously detects whether the received information is BLE broadcast information in the background of the device, and if so, performs a response operation.
  • the unlocking client of the electronic lock continuously runs in the background, and the BLE broadcast signal is monitored. Since the monitoring action consumes less power and occupies a small amount of resources, the normal use of the mobile terminal is not affected. [0040]
  • the BLE broadcast signal is monitored, and the BLE broadcast signal is monitored to include the feature value information.
  • the BLE broadcast signal sent by the electronic lock device includes a feature value for distinguishing between a general BLE broadcast signal and a BLE broadcast signal sent by the electronic lock device.
  • the feature value is set in a non-significant field of the BLE broadcast frame. Since the field does not affect the actual meaning of the B LE broadcast after reading, for a general device, when receiving the BLE broadcast signal, The information of the field is parsed, and therefore, when it is detected that the invalid data field contains the feature value, it can be determined that the BLE broadcast signal is transmitted by the electronic lock device.
  • the embodiment of the present invention by analyzing whether the BLE broadcast signal includes the feature value, the unnecessary BLE broadcast signal is parsed, and the process of parsing the broadcast information generally needs to occupy more resources of the client, so The embodiment of the invention can further reduce the energy consumption and resource occupancy rate of the client, thereby improving the efficiency of unlocking the electronic lock.
  • the unlocking client of the electronic lock receives the BLE broadcast signal. Since the BLE broadcast signal contains multiple types of information, the unlocking client needs to determine which fields in the BLE broadcast signal represent the identity feature information. And extracting the identity feature information for subsequent matching authentication operations.
  • the content of the BLE broadcast signal is subjected to an encryption process, and the unlocking client of the electronic lock decrypts the BLE broadcast by using a pre-agreed unlocking key, so as to extract the BLE broadcast signal.
  • Identity information Since the electronic lock does not require a physical key to be shackled relative to the mechanical lock, the unlocking operation can be completed by simply sending an unlock command corresponding to the electronic lock, and thus the communication security requirement is high.
  • the interpretation can be performed to further improve the security of the electronic lock unlocking method.
  • the unlocking client memory of the electronic lock device includes a pre-configured unlock list, and the pre-configured unlock list records the electronic lock device authorized by the unlocking client of the electronic lock and
  • the electronic lock device has one-to-one correspondence identity information.
  • the identity feature information in the extracted BLE broadcast signal and the pre-configured solution The identity information of the authorized electronic lock device in the lock list is compared, and it is determined whether the electronic lock device is legal. In this embodiment, the legal unlocking client of the electronic lock has obtained the electronic lock. Permission to unlock the device. If the electronic lock device is not legal, the BLE broadcast signal is ignored and monitoring continues.
  • the communication connection includes, but is not limited to, a communication connection such as a BLE Bluetooth connection, a wireless local area network connection, and a wireless mobile network connection.
  • a communication connection such as a BLE Bluetooth connection, a wireless local area network connection, and a wireless mobile network connection.
  • the unlocking client of the electronic lock device may send an electronic key to the electronic lock device through a corresponding communication channel, where the electronic key includes an unlocking instruction, and the release process does not require the user to perform related operations, Unlock the automatic sending operation after the client authentication succeeds.
  • the transmitted electronic key includes identity feature information corresponding to the electronic lock device, and the identity feature information is used as a unique identification code of the electronic lock to represent the identity certificate of the electronic lock, and the identity feature information is further provided.
  • the authentication function so that the electronic lock confirms that the unlock command is a legal command.
  • the method for unlocking an electronic lock device has the following beneficial effects:
  • the BLE broadcast signal is detected by the client, and the identity feature information in the broadcast information is verified to be correspondingly authorized.
  • the electronic lock if present, performs an unlock operation.
  • the unlocking function can be implemented by installing the corresponding unlocking client on the mobile terminal, and the unlocking operation does not require the user and the electronic lock device to perform specific
  • the unlocking action can realize the function of automatic unlocking through the interaction communication between the client and the electronic lock device and the related authentication operation. Therefore, the embodiment of the present invention simplifies the operation in the unlocking process of the electronic lock, thereby improving the unlocking efficiency of the electronic lock.
  • the embodiment of the present invention also solves the problem that the unlocking port requires the use of a dedicated electronic key to generate an unnecessary cost, and the electronic key is easily lost.
  • the embodiment of the present invention uses the identity feature information as the unique identifier code of the electronic lock device, and the identity feature information further has a function of verifying whether the instruction is legal, and correspondingly, in the step of authenticating and unlocking, Unlocking the client and the electronic lock only need to verify a signature, and it is not necessary to separately verify the identification code and the dynamic check code, which reduces the data operation time of the unlock operation, thereby improving understanding. Lock efficiency.
  • FIG. 2 is a flowchart of a method for unlocking an electronic lock device according to another embodiment of the present invention. As shown in FIG. 2, with respect to the previous embodiment, the unlocking method of the electronic lock device provided by this embodiment further defines that the electronic key is sent to the electronic lock device, as follows:
  • the sending the electronic key to the electronic lock device is specifically:
  • the electronic key is encrypted by a preset encryption algorithm.
  • the above-mentioned transmitted electronic keys are subjected to encryption processing.
  • the preset encryption algorithm is an MD5 encryption algorithm
  • the electronic key is encrypted by the MD5 force secret algorithm.
  • the electronic lock device after receiving the electronic key, the electronic lock device also uses the matched decryption algorithm to the electronic secret. The key is decrypted to obtain interpretable electronic key information.
  • the security of the unlocking process is improved by performing encryption processing on the electronic key. Since the unlocking key is an important judgment basis for the unlocking operation of the electronic lock device, if it is intercepted and stolen by the illegal player, the electronic lock device is easily broken. Therefore, in order to ensure the security of the electronic lock unlocking process, the embodiment of the present invention further improves the difficulty of cracking the electronic key by encrypting the electronic key.
  • the unlocking method of the electronic lock device further includes: [0061] in S201, downloading identity characteristic information of the authorized electronic lock device from a server, The identity feature information is stored in a pre-configured unlock list, and the server is accessed at a preset time interval to update identity feature information of the electronic lock device stored in the pre-configured unlock list.
  • the unlocking client of the electronic lock requests the server to send the identity information of the authorized electronic lock device at a preset interval.
  • the unlocking client of the electronic lock is configured to communicate with the server to obtain valid identity information of the authorized electronic lock device.
  • the authorization certificate of the unlocking client is verified, and it is determined whether the authorization certificate is within a limited period, and if the unlocking client is still authorized. Status, the identity characteristic information corresponding to the electronic lock device is sent; otherwise, the unlock is notified The client, the electronic lock device authorization has expired, and the identity characteristic information corresponding to the electronic lock device stored in the client is cleared.
  • the server may actually monitor whether the unlocking client of the electronic lock is still in an authorized state, thereby achieving the function of detecting user rights, thereby improving The safety and reliability of electronic locks.
  • S202 and S203 are the same as S101 and S in the embodiment shown in FIG.
  • an unlocking method of an electronic lock device is provided, and an execution body of the flow is an electronic lock device.
  • the electronic lock device includes a BLE communication module, and has a function of transmitting a BLE broadcast signal.
  • FIG. 3 is a flowchart showing an implementation of an electronic lock device side according to an embodiment of the present invention, which is described in detail as follows:
  • the BLE broadcast information is continuously broadcasted within a preset range, where the BLE broadcast information includes first identity feature information corresponding to the electronic lock device.
  • the BLE broadcast information is continuously transmitted, thereby indicating that it is waiting to be unlocked.
  • the unlocking client of the electronic lock receives the BLE broadcast information, the corresponding process described in FIG. 1 is executed to perform the unlocking determination operation.
  • the signal broadcast can only be performed within a preset range.
  • the first identity feature information refers to an electronic lock identity of the electronic lock device, so that the device or the client that receives the BLE broadcast signal can perform identity identification by using the first identity feature information.
  • the unlocking client receiving the electronic lock device establishes a communication connection with the unlocking client according to the connection response information according to the connection response information returned by the first identity feature information of the electronic lock device.
  • the electronic lock device is connected to further verify whether the electronic lock device is an unlocked client.
  • the authorized electronic lock device if it is determined to be an authorized electronic lock device, remains connected for the next authentication operation; otherwise, the connection is broken, and the electronic lock device continues to transmit the BLE broadcast signal, waiting for the unlock operation.
  • the electronic key sent by the unlocking client is received, and the electronic key is verified as a legal key, and the electronic key includes second identity feature information.
  • the electronic lock when the communication connection has been confirmed, it is proved that the unlocking client side has been authenticated, the electronic lock is proved to be an authorized electronic lock device, and the electronic key is sent for the shackle operation. After receiving the electronic key, the electronic lock device needs to determine whether the electronic key is legal. Therefore, the second identity feature information in the electronic key is extracted to perform an authentication operation on the electronic lock side.
  • the second identity feature information is identity information for unlocking an authorized electronic lock of the client.
  • the electronic key is decrypted, and the second identity information included in the electronic key is extracted.
  • the interactive information is encrypted, and thus the received electronic key is generally encrypted by an encryption algorithm, and the electronic lock device decrypts the electronic key through a pre-agreed decryption algorithm, and reads the included Second identity information. If the decryption algorithm is used for decryption and the obtained electronic key is unreadable, it is judged that the connected unlocked client is an illegal client and the connection is broken.
  • the criterion for determining whether the target of the electronic key is itself is: whether the second identity feature information of the unlocking client matches the first identity feature information included in the BLE broadcast information sent by the electronic lock device. It is only when the two match is successful that the target of the unlock command is the electronic lock device.
  • the manner of determining whether the legal key is a normal key is to determine whether the first identity feature information and the second identity feature information are consistent.
  • the method for determining whether the legal key is a normal identity information and the second identity information is subjected to a preset operation, and the obtained result is consistent with the standard result. Since the data is in the process of transmission, it is possible to interfere with the data of the identity feature information due to crosstalk between codes. In order to overcome this situation, the electronic lock device achieves the purpose of eliminating the error generated during the transmission process by a preset operation in the authentication process. Therefore, whether the key is legal is determined by the result of the first and second identity characteristics information passing the preset budget.
  • an unlocking operation is performed.
  • the manner in which the electronic lock device performs the unlocking operation includes, but is not limited to, degaussing, slamming, latching, and the like.
  • an unlock failure message is returned, so as to notify the user that the authentication fails. If the same When the number of times the unlocking command sent by the unlocking client fails to match the preset threshold, the alarm device is activated to perform an alarm.
  • the user may have obtained the unlocking authorization of the electronic lock device, but the authorization has exceeded the expiration date, so the BLE broadcast signal sent by the electronic lock device is successfully authenticated during the authentication process of the unlocked client.
  • the electronic lock finds that the authorization has expired, that is, if the second identity feature information does not match the first identity feature information on the electronic lock device side, the information that the authentication operation fails is returned. .
  • the user can re-apply the authorization of the electronic lock device through the server.
  • the electronic lock device implements the function of identifying the target identity by verifying the identity feature information in the electronic key, and can also serve as an important indicator for authentication.
  • the speed of the authentication calculation is increased, and the waiting time used by the user is reduced, so that the user has a better use experience.
  • the unlocking process and the process of sending the BLE broadcast are all performed by the electronic lock in the background. If the user has the shackle right, the user does not need to perform any operations.
  • the BLE device has low energy consumption, and even if the BLE broadcast signal is continuously transmitted, it is not necessary to frequently replace the battery.
  • the micro solar energy conversion circuit can be installed, and the operation can be continued uninterrupted, compared with the existing electronic lock. The cost is lower.
  • FIG. 4 is a flowchart of a method for unlocking an electronic lock device according to another embodiment of the present invention.
  • the unlocking method of the electronic lock device provided by the embodiment further includes:
  • the first identity feature information is encrypted by a preset encryption algorithm.
  • the contents of the above BLE broadcast signal are subjected to encryption processing, in particular, the first identity feature information is encrypted. Since the content in the BLE broadcast signal is encrypted by a preset encryption algorithm (such as the MD5 encryption algorithm), accordingly, the unlocking client of the electronic lock device will need to decrypt the BLE broadcast signal content with a matching decryption algorithm (such as the MD5 decryption algorithm). Processing, obtaining an interpretable BLE broadcast signal.
  • a preset encryption algorithm such as the MD5 encryption algorithm
  • the BLE broadcast signal is continuously broadcasted within a preset range, and the encrypted BLE broadcast signal includes the encrypted first identity feature information.
  • the first identity feature information in the transmitted BLE broadcast signal is added. Closed handling, improve the security of communications. Since the electronic lock device does not require a physical key to be shackled relative to the mechanical lock, the unlocking operation can be completed by simply sending an unlock command corresponding to the electronic lock, and thus the security requirement for the communication room is high. By encrypting the BLE broadcast signal and then using the agreed key, the interpretation can be performed to further improve the security of the unlocking method of the electronic lock device.
  • the method for unlocking an electronic lock further includes:
  • the first identity feature information corresponding to the electronic lock device is obtained from the server, and the server is accessed at a preset interval to update the first identity feature information corresponding to the electronic lock device.
  • the electronic lock device requests the server to send the first identity feature information by using the preset inter-frame interval, and if the received first identity feature information is inconsistent with the electronic lock device register, updating the first Identity information.
  • the embodiment of the present invention by periodically updating the first identity feature information of the electronic lock device, it is possible to verify whether the electronic key sent by the unlocking client of the electronic lock device is still in a valid authorization state, and the user is detected. The role of permissions. On the other hand, it is difficult to change the identity feature information and increase the difficulty of the criminals to decipher the unlock information of the electronic lock device, thereby improving the security and reliability of the electronic lock.
  • S404, S405, and S406 are completely the same as the specific implementation processes of S302, S303, and S304 in the embodiment shown in FIG. 1, and therefore are not described in this embodiment.
  • FIG. 5 is a structural block diagram of an unlocking client of an electronic lock device according to an embodiment of the present invention.
  • the unlocking client of the electronic lock device is configured to execute the method provided in the embodiment shown in FIG. For the convenience of explanation, only the parts related to the present embodiment are shown.
  • the unlocking client of the electronic lock device includes:
  • the BLE broadcast receiving unit 51 is configured to receive a BLE broadcast signal broadcast by the electronic lock device, where the BLE broadcast signal includes identity feature information of the electronic lock device;
  • the identity feature information determining unit 52 is configured to extract identity feature information in the BLE broadcast signal, and Determining, according to the identity characteristic information and the pre-configured unlock list, whether the electronic lock device is a legal device, and the pre-configured unlock list includes identity feature information of the authorized electronic lock device;
  • the electronic key sending unit 53 is configured to establish a communication connection with the electronic lock device if the electronic lock device is a legal device, and send the identity feature information of the electronic lock device as an electronic key to The electronic lock device is configured such that the electronic lock device performs an unlocking operation according to the electronic key.
  • the unlocking client of the electronic lock device in this embodiment is used to run the method provided in the embodiment shown in FIG. 2, which is described in detail as follows:
  • the electronic key sending unit includes:
  • the electronic key encryption unit 64 is configured to encrypt the electronic key by using a preset encryption algorithm.
  • the encryption key sending unit 65 is configured to send the encrypted electronic key to the electronic lock device.
  • the unlocking client of the electronic lock device further includes:
  • the identity information receiving unit 61 is configured to download identity feature information of the authorized electronic lock device from a server, and store the identity feature information in a pre-configured unlock list, and preset intervals Accessing the server to update identity feature information of the electronic lock device stored in the pre-configured unlock list.
  • the unlocking client of the electronic lock device provided by the embodiment of the present invention can also detect the BLE broadcast signal through the client, and check whether the identity feature information in the broadcast information has a corresponding authorized electronic lock device, and if yes, Implement the unlock operation.
  • the user needs to install the corresponding unlocking client on the mobile terminal, and the unlocking skill can be realized, and the unlocking operation does not require the user and the electronic lock.
  • the device performs a specific unlocking action, and the function of automatically unlocking can be realized through the interaction communication between the client and the electronic lock device and the related authentication operation. Therefore, the embodiment of the invention simplifies the operation in the unlocking process of the electronic lock device, thereby improving the unlocking efficiency of the electronic lock device.
  • the embodiment of the present invention also solves the problem that the unlocking device needs to use a dedicated electronic key to generate unnecessary cost, and the electronic key is easily lost.
  • the embodiment of the present invention uses the identity feature information as a unique identifier of the electronic lock device, and the identity feature The information also has the function of verifying whether the instruction is legal. Accordingly, in the step of authenticating the unlocking, the unlocking client and the electronic lock device only need to verify one feature code, and do not need to separately perform the identification code and the dynamic check code. The verification reduces the data operation time of the unlock operation, thereby improving the unlocking efficiency.
  • FIG. 7 is a block diagram showing the structure of an electronic lock device 7 according to an embodiment of the present invention.
  • the electronic lock device 7 is used to perform the method provided in the embodiment shown in FIG. For the convenience of explanation, only the parts related to the present embodiment are shown.
  • the electronic lock device includes:
  • BLE broadcast sending unit 71 configured to continuously broadcast BLE broadcast information in a preset range, where the BLE broadcast information includes first identity feature information corresponding to the electronic lock device;
  • the electronic key receiving unit 72 is configured to receive connection response information returned by the unlocking client of the electronic lock device according to the first identity feature information of the electronic lock device, and establish and unlock the client according to the connection response information.
  • the identity information matching unit 73 receives the electronic key sent by the unlocking client, and verifies whether the electronic key is a legal key, and the electronic key includes second identity feature information;
  • the unlocking operation unit 74 is configured to determine whether to perform an unlocking operation according to the verification result.
  • the electronic lock device in this embodiment is used to run the method provided in the embodiment shown in FIG. 8.
  • BLE broadcast encryption unit 82 configured to perform encryption processing on the first identity feature information by using a preset encryption algorithm
  • the encrypted broadcast sending unit 83 is configured to continuously broadcast the BLE broadcast signal within a preset range, where the encrypted BLE broadcast signal includes the encrypted first identity feature information.
  • the electronic lock device further includes:
  • the identity feature information receiving unit 81 is configured to acquire first identity feature information corresponding to the electronic lock device from a server, and access the server at a preset time interval to update the corresponding electronic lock device. First identity information.
  • the electronic lock device provided by the embodiment of the present invention can also pass the identity feature in the unlock command.
  • the information is verified to achieve the function of target identity discrimination, and can also be used as an important indicator of authentication.
  • the unique identification code and the dynamic check code are used to improve the speed of the authentication process and reduce the waiting time for the user to use, so that the user has a better experience.
  • the process of unlocking and the process of transmitting the B LE broadcast are all performed by the electronic lock device in the background. If the user has the shackle right, the user does not need to perform any operation.
  • the BLE device has low energy consumption, and even if the BLE broadcast signal is continuously transmitted, it is not necessary to frequently replace the battery.
  • the micro solar energy conversion circuit can be installed, which can work continuously and is more costly to use than the existing electronic lock device. low.
  • each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned differently according to needs.
  • the functional unit and the module are completed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.
  • Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the integrated unit may be implemented by hardware.
  • Formal implementation can also be implemented in the form of software functional units.
  • the disclosed apparatus and method may be implemented in other manners.
  • the system embodiment described above is merely illustrative.
  • the division of the module or unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical sexual, mechanical or other form.
  • the unit described as a separate component may or may not be physically distributed, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or may be distributed to multiple On the network unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the medium includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (R 0M, Read-Only Memory), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. medium.

Abstract

Provided are a method of unlocking an electronic lock device, and a client and an electronic lock device thereof. The method comprises : receiving a BLE broadcast signal broadcast by an electronic lock device, the BLE broadcast signal comprising identity feature information of the electronic lock device (S101); extracting the identity feature information in the BLE broadcast signal, and determining whether the electronic lock device is a valid device according to the identity feature information and a pre-configured unlocking list, the pre-configured unlocking list comprising identity feature information of an authorized electronic lock device (S102); and if the electronic lock device is a valid device, establishing a communication connection with the electronic lock device, and sending the identity feature information of the electronic lock device as an electronic key to the electronic lock device, such that the electronic lock device performs an unlocking operation according to the electronic key (S103). According to the method, identity feature information is used as a unique identification code and a dynamic verification code, such that the electronic lock device and an unlocking client only need to verify the identity feature information, thereby improving an unlocking computation speed and increasing unlocking efficiency.

Description

说明书 发明名称:一种电子锁设备的解锁方法、 客户端及其电子锁设备 技术领域  Description: A method for unlocking an electronic lock device, a client and an electronic lock device thereof
[0001] 本发明属于解锁领域, 尤其涉及一种电子锁设备的解锁方法、 客户端及其电子 锁设备。  [0001] The present invention belongs to the field of unlocking, and in particular, to an unlocking method of an electronic lock device, a client, and an electronic lock device thereof.
背景技术  Background technique
[0002] 随着科技的发展, 电子锁设备越来越普及。 与机械锁相比, 电子锁设备的安全 性能更高, 解锁也更方便。 但电子锁设备与机械锁一样, 具有与该电子锁设备 配套的电子钥匙, 增加了额外的成本, 且容易发生电子钥匙丢失的情况。 另一 方面, 现有的电子锁设备, 鉴权过程复杂, 需要唯一标识码以及动态密码均匹 配才能进行幵锁, 需要较长的幵锁吋间, 降低了幵锁的效率, 用户体验感较低 技术问题  [0002] With the development of technology, electronic lock devices are becoming more and more popular. Compared with mechanical locks, electronic lock devices have higher safety performance and are easier to unlock. However, the electronic lock device has the same electronic key as the mechanical lock, which adds extra cost and is prone to loss of the electronic key. On the other hand, in the existing electronic lock device, the authentication process is complicated, and the unique identification code and the dynamic password are matched to be shackled, which requires a long shackle, which reduces the efficiency of the shackle and gives a user experience. Low technical problem
[0003] 本发明实施例的目的在于提供一种电子锁设备的解锁方法、 装置及其电子锁设 备, 旨在解决现有电子锁设备的解锁方法中, 需使用与电子锁配套的电子钥匙 且鉴权过程复杂的问题。  [0003] An object of the present invention is to provide an unlocking method and device for an electronic lock device, and an electronic lock device thereof, aiming at solving an unlocking method of an existing electronic lock device, and using an electronic key matched with an electronic lock. The problem of complex authentication process.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0004] 本发明实施例是这样实现的, 一种电子锁设备的解锁方法, 所述方法包括: [0005] 接收电子锁设备广播的 BLE广播信号, 所述 BLE广播信号包括所述电子锁设备 的身份特征信息;  The embodiment of the present invention is implemented by the method for unlocking an electronic lock device, and the method includes: [0005] receiving a BLE broadcast signal broadcast by an electronic lock device, where the BLE broadcast signal includes the electronic lock device Identity information;
[0006] 提取所述 BLE广播信号中的身份特征信息, 根据所述身份特征信息和预先配置 的解锁列表判断所述电子锁设备是否为合法设备, 所述预先配置的解锁列表包 含已授权电子锁设备的身份特征信息;  [0006] extracting identity feature information in the BLE broadcast signal, determining, according to the identity feature information and a pre-configured unlock list, whether the electronic lock device is a legal device, and the pre-configured unlock list includes an authorized electronic lock. Identity information of the device;
[0007] 若所述电子锁设备为合法设备, 则与所述电子锁设备建立通信连接, 并将所述 电子锁设备的身份特征信息作为电子密钥发送至所述电子锁设备, 以便所述电 子锁设备根据所述电子密钥执行解锁操作。 [0008] 第二方面, 本发明实施例提供一种电子锁设备的解锁方法, 所述方法包括: [0009] 持续在预设范围内广播 BLE广播信息, 所述 BLE广播信息包含电子锁设备对应 的第一身份特征信息; [0007] if the electronic lock device is a legitimate device, establishing a communication connection with the electronic lock device, and transmitting identity feature information of the electronic lock device to the electronic lock device as an electronic key, so that The electronic lock device performs an unlocking operation according to the electronic key. [0008] In a second aspect, an embodiment of the present invention provides a method for unlocking an electronic lock device, where the method includes: [0009] continuously broadcasting BLE broadcast information within a preset range, where the BLE broadcast information includes an electronic lock device corresponding to First identity information;
[0010] 接收电子锁设备的解锁客户端根据所述电子锁设备的第一身份特征信息返回的 连接响应信息, 根据所述连接响应信息建立与所述解锁客户端的通信连接; [0010] the unlocking client receiving the electronic lock device establishes a communication connection with the unlocking client according to the connection response information according to the connection response information returned by the first identity feature information of the electronic lock device;
[0011] 接收所述解锁客户端发送的电子密钥, 并验证所述电子密钥是否为合法密钥, 所述电子密钥包含第二身份特征信息; [0011] receiving an electronic key sent by the unlocking client, and verifying whether the electronic key is a legal key, and the electronic key includes second identity feature information;
[0012] 根据验证结果确定是否执行解锁操作。  [0012] determining whether to perform an unlocking operation according to the verification result.
[0013] 第三方面, 本发明实施例提供一种电子锁设备的解锁客户端, 所述解锁客户端 包括:  [0013] In a third aspect, an embodiment of the present invention provides an unlocking client of an electronic lock device, where the unlocking client includes:
[0014] BLE广播接收单元, 用于接收电子锁设备广播的 BLE广播信号, 所述 BLE广播 信号包括所述电子锁设备的身份特征信息;  [0014] a BLE broadcast receiving unit, configured to receive a BLE broadcast signal broadcast by the electronic lock device, where the BLE broadcast signal includes identity feature information of the electronic lock device;
[0015] 身份特征信息判断单元, 用于提取所述 BLE广播信号中的身份特征信息, 根据 所述身份特征信息和预先配置的解锁列表判断所述电子锁设备是否为合法设备[0015] an identity feature information determining unit, configured to extract identity feature information in the BLE broadcast signal, and determine, according to the identity feature information and a pre-configured unlock list, whether the electronic lock device is a legal device
, 所述预先配置的解锁列表包含已授权电子锁设备的身份特征信息; The pre-configured unlock list includes identity feature information of the authorized electronic lock device;
[0016] 电子密钥发送单元, 用于若所述电子锁设备为合法设备, 则与所述电子锁设备 建立通信连接, 并将所述电子锁设备的身份特征信息作为电子密钥发送至所述 电子锁设备, 以便所述电子锁设备根据所述电子密钥执行解锁操作。 [0016] an electronic key sending unit, configured to establish a communication connection with the electronic lock device if the electronic lock device is a legal device, and send the identity feature information of the electronic lock device as an electronic key to the office The electronic lock device is described such that the electronic lock device performs an unlocking operation according to the electronic key.
[0017] 第四方面, 本发明实施例提供一种电子锁设备, 所述电子锁设备包括: [0017] In a fourth aspect, an embodiment of the present invention provides an electronic lock device, where the electronic lock device includes:
[0018] BLE广播发送单元, 用于持续在预设范围内广播 BLE广播信息, 所述 BLE广播 信息包含电子锁设备对应的第一身份特征信息; [0018] a BLE broadcast sending unit, configured to continuously broadcast BLE broadcast information in a preset range, where the BLE broadcast information includes first identity feature information corresponding to the electronic lock device;
[0019] 电子密钥接收单元, 用于接收电子锁设备的解锁客户端根据所述电子锁设备的 第一身份特征信息返回的连接响应信息, 根据所述连接响应信息建立与所述解 锁客户端的通信连接; [0019] an electronic key receiving unit, configured to receive connection response information returned by the unlocking client of the electronic lock device according to the first identity feature information of the electronic lock device, and establish, with the connection response information, the unlocking client Communication connection
[0020] 身份特征信息匹配单元, 接收所述解锁客户端发送的电子密钥, 并验证所述电 子密钥是否为合法密钥, 所述电子密钥包含第二身份特征信息;  [0020] The identity feature information matching unit receives the electronic key sent by the unlocking client, and verifies whether the electronic key is a legal key, and the electronic key includes second identity feature information;
[0021] 解锁操作单元, 用于根据验证结果确定是否执行解锁操作。 [0021] an unlocking operation unit, configured to determine whether to perform an unlocking operation according to the verification result.
发明的有益效果 有益效果 Advantageous effects of the invention Beneficial effect
[0022] 实施本发明实施例提供的一种电子锁设备的解锁方法、 客户端及其电子锁设备 具有以下有益效果:  [0022] The unlocking method, the client and the electronic lock device thereof for implementing the electronic lock device provided by the embodiments of the present invention have the following beneficial effects:
[0023] 一方面, 本发明实施例通过客户端检测 BLE广播信号, 校验广播信息中的身份 特征信息是否存在对应的已授权电子锁设备, 若存在则实行解锁操作。 与现有 的电子解设备锁技术需要专设的电子钥匙相比, 本发明实施例通过移动终端上 安装相应的解锁客户端, 则可实现解锁功能, 并且该解锁操作不需要用户与电 子锁设备进行具体的解锁动作, 通过客户端与电子锁设备之间的交互通信及相 关的鉴权操作, 即可实现自动解锁的功能。 因此, 本发明实施例简化了电子锁 设备解锁过程中的操作, 从而提高了电子锁设备解锁效率。 并且, 本发明实施 例也解决了解锁吋需要使用专设的电子钥匙而产生非必要的费用成本, 以及该 电子钥匙容易丢失的问题。  In one aspect, the embodiment of the present invention detects the BLE broadcast signal by the client, checks whether the identity feature information in the broadcast information has a corresponding authorized electronic lock device, and if yes, performs an unlock operation. Compared with the existing electronic solution device lock technology, the unlocking function can be implemented by installing a corresponding unlocking client on the mobile terminal, and the unlocking operation does not require the user and the electronic lock device. The specific unlocking action is performed, and the automatic unlocking function can be realized through the interaction communication between the client and the electronic lock device and the related authentication operation. Therefore, the embodiment of the invention simplifies the operation in the unlocking process of the electronic lock device, thereby improving the unlocking efficiency of the electronic lock device. Moreover, the embodiment of the present invention also solves the problem that the unlocking port requires the use of a dedicated electronic key to generate an unnecessary cost, and the electronic key is easily lost.
[0024] 另一方面, 本发明实施例通过身份特征信息作为电子锁设备的唯一标志码, 并 且该身份特征信息还具备校验指令是否合法的功能, 相应地, 在鉴权解锁的步 骤上, 解锁客户端以及电子锁设备只需验证一个特征码即可, 不需要分别对标 识码以及动态校验码进行校验, 减少了解锁操作吋的数据运算吋间, 从而提高 了解锁效率。 对附图的简要说明  [0024] On the other hand, the embodiment of the present invention uses the identity feature information as the unique identifier code of the electronic lock device, and the identity feature information further has a function of verifying whether the instruction is legal, and correspondingly, in the step of authenticating and unlocking, The unlocking client and the electronic lock device only need to verify one feature code, and do not need to separately verify the identification code and the dynamic check code, thereby reducing the data operation time of the unlocking operation, thereby improving the unlocking efficiency. Brief description of the drawing
附图说明  DRAWINGS
[0025] 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例或现有技术描 述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。  [0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are merely Some embodiments of the present invention may also be used to obtain other drawings based on these drawings without departing from the skilled artisan.
[0026] 图 1是本发明实施例提供的一种电子锁设备的解锁方法解锁客户端侧的流程图  1 is a flowchart of unlocking a client side of an unlocking method of an electronic lock device according to an embodiment of the present invention.
[0027] 图 2是本发明另一实施例提供的一种电子锁设备的解锁方法解锁客户端侧的流 程图; 2 is a flow chart of unlocking a client side of an unlocking method of an electronic lock device according to another embodiment of the present invention;
[0028] 图 3是本发明实施例提供的一种电子锁设备的解锁方法电子锁侧的流程图; [0029] 图 4是本发明另一实施例提供的一种电子锁设备的解锁方法电子锁侧的流程图 3 is a flow chart of an electronic lock side of an unlocking method of an electronic lock device according to an embodiment of the present invention; 4 is a flow chart of an electronic lock side of an unlocking method of an electronic lock device according to another embodiment of the present invention.
[0030] 图 5是本发明实施例提供的一种电子锁设备的解锁客户端的结构框图; 5 is a structural block diagram of an unlocking client of an electronic lock device according to an embodiment of the present invention;
[0031] 图 6是本发明另一实施例提供的一种电子锁设备的解锁客户端的结构框图; 6 is a structural block diagram of an unlocking client of an electronic lock device according to another embodiment of the present invention;
[0032] 图 7是本发明实施例提供的一种电子锁设备的结构框图; 7 is a structural block diagram of an electronic lock device according to an embodiment of the present invention;
[0033] 图 8是本发明另一实施例提供的一种电子锁设备的结构框图。  FIG. 8 is a structural block diagram of an electronic lock device according to another embodiment of the present invention.
本发明的实施方式 Embodiments of the invention
[0034] 为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实施例 , 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用 以解释本发明, 并不用于限定本发明。  The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0035] 本发明实施例通过客户端检测 BLE (Bluetooth Low Energy, 低功耗蓝牙) 广播 信号, 校验 BLE广播信息中的身份特征信息是否存在对应的已授权电子锁, 若存 在则实行解锁操作, 从而解决解决现有的电子锁解锁方式需要使用专设的电子 钥匙进行幵锁, 提高了成本且电子钥匙容易丢失的问题, 并且需对多个特征值 进行鉴权, 降低解锁效率。  [0035] In the embodiment of the present invention, the BLE (Bluetooth Low Energy) broadcast signal is detected by the client, and the identity feature information in the BLE broadcast information is verified to have a corresponding authorized electronic lock. If yes, the unlock operation is performed. Therefore, solving the existing electronic lock unlocking method requires the use of a dedicated electronic key for shacking, which increases the cost and the electronic key is easily lost, and needs to authenticate multiple feature values to reduce the unlocking efficiency.
[0036] 在本发明实施例中, 流程的执行主体为电子锁设备的解锁客户端。 所述解锁客 户端可为一应用程序, 安装于具有通信功能的移动终端上使用, 也可以单独作 为一解锁装置使用。 图 1示出了本发明实施例提供的电子锁设备的解锁客户端侧 的实现流程图, 详述如下:  [0036] In the embodiment of the present invention, the execution entity of the process is an unlocking client of the electronic lock device. The unlocking client can be an application, installed on a mobile terminal having a communication function, or can be used as an unlocking device alone. FIG. 1 is a flowchart showing an implementation of unlocking a client side of an electronic lock device according to an embodiment of the present invention, which is described in detail as follows:
[0037] 在 S101中, 接收电子锁设备广播的 BLE广播信号, 所述 BLE广播信号包括所述 电子锁设备的身份特征信息。  [0037] In S101, a BLE broadcast signal broadcast by the electronic lock device is received, and the BLE broadcast signal includes identity feature information of the electronic lock device.
[0038] 在本实施例中, 由于 BLE广播信号衰减较快, 只有当与电子锁设备在一定的距 离内才能接收到电子锁发送的 BLE广播信号。 电子锁的解锁客户端在设备后台持 续检测接收到的信息中是否为 BLE广播信息, 若是, 则进行响应操作。  In the present embodiment, since the BLE broadcast signal is attenuated faster, the BLE broadcast signal transmitted by the electronic lock can be received only when it is within a certain distance from the electronic lock device. The unlocking client of the electronic lock continuously detects whether the received information is BLE broadcast information in the background of the device, and if so, performs a response operation.
[0039] 在本实施例中, 电子锁的解锁客户端持续在后台运行, 实吋监听 BLE广播信号 , 由于监听动作耗电量少以及占用少量资源, 因而不会影响移动终端的正常使 用。 [0040] 可选地, 实吋监听 BLE广播信号, 监测所述 BLE广播信号是否包含特征值信息 [0039] In this embodiment, the unlocking client of the electronic lock continuously runs in the background, and the BLE broadcast signal is monitored. Since the monitoring action consumes less power and occupies a small amount of resources, the normal use of the mobile terminal is not affected. [0040] Optionally, the BLE broadcast signal is monitored, and the BLE broadcast signal is monitored to include the feature value information.
[0041] 在本实施例中, 电子锁设备发送的 BLE广播信号包含一特征值, 用以区别一般 的 BLE广播信号以及电子锁设备发送的 BLE广播信号。 可选地, 该特征值设置于 BLE广播帧的无效数据 (non-significant) 字段, 由于该字段在读取吋不会影响 B LE广播的实际意义, 对于一般设备当接收到 BLE广播信号将对该字段的信息进 行解析操作, 因此, 当检测到无效数据字段包含特征值, 则可确定该 BLE广播信 号为电子锁设备发送的。 [0041] In this embodiment, the BLE broadcast signal sent by the electronic lock device includes a feature value for distinguishing between a general BLE broadcast signal and a BLE broadcast signal sent by the electronic lock device. Optionally, the feature value is set in a non-significant field of the BLE broadcast frame. Since the field does not affect the actual meaning of the B LE broadcast after reading, for a general device, when receiving the BLE broadcast signal, The information of the field is parsed, and therefore, when it is detected that the invalid data field contains the feature value, it can be determined that the BLE broadcast signal is transmitted by the electronic lock device.
[0042] 在本发明实施例中, 通过监听 BLE广播信号是否包含特征值, 来减少解析不必 要的 BLE广播信号, 由于进行解析广播信息的过程一般需要占用客户端较多的资 源实现, 因此, 本发明实施例可进一步减少客户端的能耗及资源占用率, 从而 提高电子锁解锁的效率。  In the embodiment of the present invention, by analyzing whether the BLE broadcast signal includes the feature value, the unnecessary BLE broadcast signal is parsed, and the process of parsing the broadcast information generally needs to occupy more resources of the client, so The embodiment of the invention can further reduce the energy consumption and resource occupancy rate of the client, thereby improving the efficiency of unlocking the electronic lock.
[0043] 在 S102中, 提取所述 BLE广播信号中的身份特征信息, 根据所述身份特征信息 和预先配置的解锁列表判断所述电子锁设备是否为合法设备, 所述预先配置的 解锁列表包含已授权电子锁设备的身份特征信息。  [0043] In S102, extracting identity feature information in the BLE broadcast signal, determining, according to the identity feature information and a pre-configured unlock list, whether the electronic lock device is a legal device, where the pre-configured unlock list includes The identity information of the electronic lock device has been authorized.
[0044] 在本实施例中, 电子锁的解锁客户端接收 BLE广播信号, 由于 BLE广播信号中 包含多种的信息, 因此, 解锁客户端需判断该 BLE广播信号中哪些字段的表示身 份特征信息, 并将所述身份特征信息进行提取, 以便之后的匹配鉴权操作。  [0044] In this embodiment, the unlocking client of the electronic lock receives the BLE broadcast signal. Since the BLE broadcast signal contains multiple types of information, the unlocking client needs to determine which fields in the BLE broadcast signal represent the identity feature information. And extracting the identity feature information for subsequent matching authentication operations.
[0045] 可选地, 所述 BLE广播信号的内容进过加密处理, 电子锁的解锁客户端利用预 先约定的解锁密钥, 对 BLE广播进行解密操作, 以便于提取所述 BLE广播信号中 的身份特征信息。 由于电子锁相对于机械锁来说, 并不需要真实存在的物理钥 匙进行幵锁, 只需发送电子锁相应的解锁指令即可完成解锁操作, 因而对于通 信的安全要求较高。 通过对 BLE广播信号进行加密处理, 再利用双方约定的密钥 才能进行解读, 进一步提高该电子锁的解锁方法的安全性。  [0045] Optionally, the content of the BLE broadcast signal is subjected to an encryption process, and the unlocking client of the electronic lock decrypts the BLE broadcast by using a pre-agreed unlocking key, so as to extract the BLE broadcast signal. Identity information. Since the electronic lock does not require a physical key to be shackled relative to the mechanical lock, the unlocking operation can be completed by simply sending an unlock command corresponding to the electronic lock, and thus the communication security requirement is high. By encrypting the BLE broadcast signal and then using the agreed key, the interpretation can be performed to further improve the security of the electronic lock unlocking method.
[0046] 在本实施例中, 电子锁设备的解锁客户端存储器中包含预先配置的解锁列表, 所述预先配置的解锁列表中记载有该电子锁的解锁客户端已授权的电子锁设备 以及与电子锁设备一一对应的身份特征信息。  [0046] In this embodiment, the unlocking client memory of the electronic lock device includes a pre-configured unlock list, and the pre-configured unlock list records the electronic lock device authorized by the unlocking client of the electronic lock and The electronic lock device has one-to-one correspondence identity information.
[0047] 在本实施例中, 将提取到的 BLE广播信号中的身份特征信息, 与预先配置的解 锁列表中的已授权的电子锁设备对应的身份特征信息进行比对, 判断所述电子 锁设备是否合法, 本实施例中的合法指的是该电子锁的解锁客户端已获得对该 电子锁设备解锁的权限。 若所述电子锁设备不合法, 则忽略该 BLE广播信号, 继 续进行监听。 [0047] In this embodiment, the identity feature information in the extracted BLE broadcast signal and the pre-configured solution The identity information of the authorized electronic lock device in the lock list is compared, and it is determined whether the electronic lock device is legal. In this embodiment, the legal unlocking client of the electronic lock has obtained the electronic lock. Permission to unlock the device. If the electronic lock device is not legal, the BLE broadcast signal is ignored and monitoring continues.
[0048] 在 S103中, 若所述电子锁设备为合法设备, 则与所述电子锁设备建立通信连接 , 并将所述电子锁设备的身份特征信息作为电子密钥发送至所述电子锁设备, 以便所述电子锁设备根据所述电子密钥执行解锁操作。  [0048] In S103, if the electronic lock device is a legal device, establish a communication connection with the electronic lock device, and send identity feature information of the electronic lock device as an electronic key to the electronic lock device. So that the electronic lock device performs an unlocking operation according to the electronic key.
[0049] 在本实施例中, 所述通信连接包括但不限于: BLE蓝牙连接、 无线局域网连接 以及无线移动网络连接等通信连接。  [0049] In this embodiment, the communication connection includes, but is not limited to, a communication connection such as a BLE Bluetooth connection, a wireless local area network connection, and a wireless mobile network connection.
[0050] 在本实施例中, 电子锁设备的解锁客户端可通过相应的通信信道向电子锁设备 发送电子密钥, 所述电子密钥包含解锁指令, 该下达过程无需用户执行相关操 作, 由解锁客户端鉴权成功后自动进行的发送操作。  [0050] In this embodiment, the unlocking client of the electronic lock device may send an electronic key to the electronic lock device through a corresponding communication channel, where the electronic key includes an unlocking instruction, and the release process does not require the user to perform related operations, Unlock the automatic sending operation after the client authentication succeeds.
[0051] 在本实施例中, 发送的电子密钥包含电子锁设备对应的身份特征信息, 该身份 特征信息作为电子锁的唯一标识码来表示电子锁的身份证明, 并且该身份特征 信息还具备鉴权功能, 以便电子锁确认该解锁指令为合法指令。  [0051] In this embodiment, the transmitted electronic key includes identity feature information corresponding to the electronic lock device, and the identity feature information is used as a unique identification code of the electronic lock to represent the identity certificate of the electronic lock, and the identity feature information is further provided. The authentication function, so that the electronic lock confirms that the unlock command is a legal command.
[0052] 实施本发明实施例提供的一种电子锁设备的解锁方法具有以下有益效果: 本发 明实施例通过客户端检测 BLE广播信号, 校验广播信息中的身份特征信息是否存 在对应的已授权电子锁, 若存在则实行解锁操作。 与现有的电子解锁技术需要 专设的电子钥匙相比, 本发明实施例通过移动终端上安装相应的解锁客户端, 则可实现解锁功能, 并且该解锁操作不需要用户与电子锁设备进行具体的解锁 动作, 通过客户端与电子锁设备之间的交互通信及相关的鉴权操作, 即可实现 自动解锁的功能。 因此, 本发明实施例简化了电子锁解锁过程中的操作, 从而 提高了电子锁解锁效率。 并且, 本发明实施例也解决了解锁吋需要使用专设的 电子钥匙而产生非必要的费用成本, 以及该电子钥匙容易丢失的问题。  The method for unlocking an electronic lock device according to an embodiment of the present invention has the following beneficial effects: In the embodiment of the present invention, the BLE broadcast signal is detected by the client, and the identity feature information in the broadcast information is verified to be correspondingly authorized. The electronic lock, if present, performs an unlock operation. Compared with the existing electronic unlocking technology, the unlocking function can be implemented by installing the corresponding unlocking client on the mobile terminal, and the unlocking operation does not require the user and the electronic lock device to perform specific The unlocking action can realize the function of automatic unlocking through the interaction communication between the client and the electronic lock device and the related authentication operation. Therefore, the embodiment of the present invention simplifies the operation in the unlocking process of the electronic lock, thereby improving the unlocking efficiency of the electronic lock. Moreover, the embodiment of the present invention also solves the problem that the unlocking port requires the use of a dedicated electronic key to generate an unnecessary cost, and the electronic key is easily lost.
[0053] 另一方面, 本发明实施例通过身份特征信息作为电子锁设备的唯一标志码, 并 且该身份特征信息还具备校验指令是否合法的功能, 相应地, 在鉴权解锁的步 骤上, 解锁客户端以及电子锁只需验证一个特征码即可, 不需要分别对标识码 以及动态校验码进行校验, 减少了解锁操作吋的数据运算吋间, 从而提高了解 锁效率。 [0053] On the other hand, the embodiment of the present invention uses the identity feature information as the unique identifier code of the electronic lock device, and the identity feature information further has a function of verifying whether the instruction is legal, and correspondingly, in the step of authenticating and unlocking, Unlocking the client and the electronic lock only need to verify a signature, and it is not necessary to separately verify the identification code and the dynamic check code, which reduces the data operation time of the unlock operation, thereby improving understanding. Lock efficiency.
[0054] 图 2示出了本发明另一实施例提供的一种电子锁设备的解锁方法的流程图。 参 见图 2所述, 相对于上一实施例, 本实施例提供的一种电子锁设备的解锁方法进 一步限定了所述将所述电子密钥发送至所述电子锁设备, 详述如下:  FIG. 2 is a flowchart of a method for unlocking an electronic lock device according to another embodiment of the present invention. As shown in FIG. 2, with respect to the previous embodiment, the unlocking method of the electronic lock device provided by this embodiment further defines that the electronic key is sent to the electronic lock device, as follows:
[0055] 进一步地, 作为本发明的另一实施例, 所述将所述电子密钥发送至所述电子锁 设备具体为:  [0055] Further, as another embodiment of the present invention, the sending the electronic key to the electronic lock device is specifically:
[0056] 在 S204中, 通过预设的加密算法对所述电子密钥进行加密处理。  [0056] In S204, the electronic key is encrypted by a preset encryption algorithm.
[0057] 在本实施例中, 为了确保电子密钥的安全性, 上述的发送的电子密钥均进过加 密处理。 可选地, 所述预设的加密算法为 MD5加密算法, 电子密钥经过 MD5力口 密算法加密, 相应地, 电子锁设备接收到该电子密钥后, 也使用匹配的解密算 法对电子密钥进行解密处理, 得到可解读的电子密钥信息。 In the present embodiment, in order to secure the security of the electronic key, the above-mentioned transmitted electronic keys are subjected to encryption processing. Optionally, the preset encryption algorithm is an MD5 encryption algorithm, and the electronic key is encrypted by the MD5 force secret algorithm. Accordingly, after receiving the electronic key, the electronic lock device also uses the matched decryption algorithm to the electronic secret. The key is decrypted to obtain interpretable electronic key information.
[0058] 在 S205中, 将加密后的所述电子密钥发送至所述电子锁设备。 [0058] In S205, the encrypted electronic key is sent to the electronic lock device.
[0059] 在本发明实施例中, 通过对电子密钥进行加密处理, 从而提高解锁过程的安全 性。 由于解锁密钥是电子锁设备解锁操作的重要判断依据, 因此, 若被不法分 子监听以及窃取, 则容易破解该电子锁设备。 因此, 本发明实施例为了确保电 子锁解锁过程的安全性, 通过对电子密钥进行加密, 来进一步提高电子密钥的 破解难度。 [0059] In the embodiment of the present invention, the security of the unlocking process is improved by performing encryption processing on the electronic key. Since the unlocking key is an important judgment basis for the unlocking operation of the electronic lock device, if it is intercepted and stolen by the illegal player, the electronic lock device is easily broken. Therefore, in order to ensure the security of the electronic lock unlocking process, the embodiment of the present invention further improves the difficulty of cracking the electronic key by encrypting the electronic key.
[0060] 进一步地, 作为本发明的另一实施例, 所述电子锁设备的解锁方法还包括: [0061] 在 S201中, 从服务器下载所述已授权的电子锁设备的身份特征信息, 将所述身 份特征信息存储于预先配置的解锁列表中, 并以预设的吋间间隔访问所述服务 器, 以更新所述预先配置的解锁列表中存储的电子锁设备的身份特征信息。  [0060] Further, as another embodiment of the present invention, the unlocking method of the electronic lock device further includes: [0061] in S201, downloading identity characteristic information of the authorized electronic lock device from a server, The identity feature information is stored in a pre-configured unlock list, and the server is accessed at a preset time interval to update identity feature information of the electronic lock device stored in the pre-configured unlock list.
[0062] 在本实施例中, 电子锁的解锁客户端以预设的吋间间隔请求服务器发送已授权 的电子锁设备的身份信息。 为了提高电子锁解锁的可靠性以及安全性, 电子锁 的解锁客户端定吋与服务器通信, 获取已授权的电子锁设备有效的身份特征信 息。 [0062] In this embodiment, the unlocking client of the electronic lock requests the server to send the identity information of the authorized electronic lock device at a preset interval. In order to improve the reliability and security of the electronic lock unlocking, the unlocking client of the electronic lock is configured to communicate with the server to obtain valid identity information of the authorized electronic lock device.
[0063] 在本实施例中, 在服务器在发送电子锁设备的身份特征信息前, 会核实该解锁 客户端的授权证书, 判断该授权证书是否处于有限期范围内, 若该解锁客户端 仍处于授权状态, 则发送对应电子锁设备的身份特征信息; 反之, 则告知解锁 客户端, 该电子锁设备授权已过期, 并清除客户端中存储该电子锁设备对应的 身份特征信息。 [0063] In this embodiment, before the server sends the identity feature information of the electronic lock device, the authorization certificate of the unlocking client is verified, and it is determined whether the authorization certificate is within a limited period, and if the unlocking client is still authorized. Status, the identity characteristic information corresponding to the electronic lock device is sent; otherwise, the unlock is notified The client, the electronic lock device authorization has expired, and the identity characteristic information corresponding to the electronic lock device stored in the client is cleared.
[0064] 在本发明实施例中, 通过接收服务器发送的电子锁的身份特征信息, 服务器可 实吋监控所述电子锁的解锁客户端是否仍处于授权状态, 达到检测用户权限的 作用, 从而提高电子锁的安全性及可靠性。  [0064] In the embodiment of the present invention, by receiving the identity feature information of the electronic lock sent by the server, the server may actually monitor whether the unlocking client of the electronic lock is still in an authorized state, thereby achieving the function of detecting user rights, thereby improving The safety and reliability of electronic locks.
[0065] 需要说明的是, 本实施例中 S202以及 S203由于与图 1所示实施例中的 S101以及 S[0065] It should be noted that, in this embodiment, S202 and S203 are the same as S101 and S in the embodiment shown in FIG.
102具体实现过程完全相同, 因此在此实施例中不再赘述。 The specific implementation process is completely the same, and therefore will not be further described in this embodiment.
[0066] 作为本发明的另一实施, 提供一种电子锁设备的解锁方法, 流程的执行主体为 电子锁设备。 所述电子锁设备包含 BLE通信模块, 具备发送 BLE广播信号的功能[0066] As another implementation of the present invention, an unlocking method of an electronic lock device is provided, and an execution body of the flow is an electronic lock device. The electronic lock device includes a BLE communication module, and has a function of transmitting a BLE broadcast signal.
。 所述电子锁设备可单独使用, 或安装于其他设备作为模块使用。 图 3示出了本 发明实施例提供的电子锁设备侧的实现流程图, 详述如下: . The electronic lock device can be used alone or installed as a module for other devices. FIG. 3 is a flowchart showing an implementation of an electronic lock device side according to an embodiment of the present invention, which is described in detail as follows:
[0067] 在 S301中, 持续在预设范围内广播 BLE广播信息, 所述 BLE广播信息包含电子 锁设备对应的第一身份特征信息。 [0067] In S301, the BLE broadcast information is continuously broadcasted within a preset range, where the BLE broadcast information includes first identity feature information corresponding to the electronic lock device.
[0068] 在本实施例中, 电子锁设备在锁定状态吋, 会持续发送 BLE广播信息, 以此表 示自身正等待解锁。 当电子锁的解锁客户端接收到 BLE广播信息, 则执行图 1所 述相应流程, 进行解锁判断操作。 In this embodiment, when the electronic lock device is in the locked state, the BLE broadcast information is continuously transmitted, thereby indicating that it is waiting to be unlocked. When the unlocking client of the electronic lock receives the BLE broadcast information, the corresponding process described in FIG. 1 is executed to perform the unlocking determination operation.
[0069] 在本实施例中, 由于 BLE广播信号衰减较快, 只能在预设范围内进行信号广播 [0069] In this embodiment, since the BLE broadcast signal is attenuated faster, the signal broadcast can only be performed within a preset range.
[0070] 在本实施例中, 第一身份特征信息指的是电子锁设备的电子锁身份标识, 以便 于接收 BLE广播信号的设备或客户端可通过第一身份特征信息进行身份识别。 In this embodiment, the first identity feature information refers to an electronic lock identity of the electronic lock device, so that the device or the client that receives the BLE broadcast signal can perform identity identification by using the first identity feature information.
[0071] 在 S302中, 接收电子锁设备的解锁客户端根据所述电子锁设备的第一身份特征 信息返回的连接响应信息, 根据所述连接响应信息建立与所述解锁客户端的通 信连接。  [0071] In S302, the unlocking client receiving the electronic lock device establishes a communication connection with the unlocking client according to the connection response information according to the connection response information returned by the first identity feature information of the electronic lock device.
[0072] 在本实施例中, 当解锁客户端接收到电子锁发送的 BLE广播信号后, 判断该信 号为解锁信号, 则会连接电子锁设备, 进一步核实该电子锁设备是否为解锁客 户端已授权的电子锁设备, 若判断为已授权的电子锁设备, 则保持连接进行下 一步的鉴权操作; 反之, 则断幵连接, 电子锁设备继续发送 BLE广播信号, 等待 解锁操作。 [0073] 在 S303中, 接收所述解锁客户端发送的电子密钥, 并验证所述电子密钥是否为 合法密钥, 所述电子密钥包含第二身份特征信息。 [0072] In this embodiment, after the unlocking client receives the BLE broadcast signal sent by the electronic lock, and determines that the signal is an unlock signal, the electronic lock device is connected to further verify whether the electronic lock device is an unlocked client. The authorized electronic lock device, if it is determined to be an authorized electronic lock device, remains connected for the next authentication operation; otherwise, the connection is broken, and the electronic lock device continues to transmit the BLE broadcast signal, waiting for the unlock operation. [0073] In S303, the electronic key sent by the unlocking client is received, and the electronic key is verified as a legal key, and the electronic key includes second identity feature information.
[0074] 在本实施例中, 当通信连接已确认, 证明解锁客户端侧已鉴权完毕, 证明该电 子锁为已授权电子锁设备, 发送电子密钥进行幵锁操作。 电子锁设备接收到该 电子密钥后, 需判断该电子密钥是否合法, 因此提取电子密钥中的第二身份特 征信息进行电子锁侧的鉴权操作。 所述第二身份特征信息为解锁客户端某一已 授权的电子锁的身份信息。  [0074] In this embodiment, when the communication connection has been confirmed, it is proved that the unlocking client side has been authenticated, the electronic lock is proved to be an authorized electronic lock device, and the electronic key is sent for the shackle operation. After receiving the electronic key, the electronic lock device needs to determine whether the electronic key is legal. Therefore, the second identity feature information in the electronic key is extracted to perform an authentication operation on the electronic lock side. The second identity feature information is identity information for unlocking an authorized electronic lock of the client.
[0075] 可选地, 对电子密钥进行解密操作, 提取所述电子密钥包含的第二身份特征信 息。 为了提高通信的安全性, 交互的信息都经过加密操作, 因而接收的电子密 钥一般已经过加密算法进行加密, 电子锁设备通过预先约定的解密算法对电子 密钥进行解密操作, 读取其中包含的第二身份特征信息。 若利用约定的解密算 法进行解密, 得到的电子密钥不可读, 则判断连接的解锁客户端为非法客户端 , 断幵连接。  [0075] Optionally, the electronic key is decrypted, and the second identity information included in the electronic key is extracted. In order to improve the security of the communication, the interactive information is encrypted, and thus the received electronic key is generally encrypted by an encryption algorithm, and the electronic lock device decrypts the electronic key through a pre-agreed decryption algorithm, and reads the included Second identity information. If the decryption algorithm is used for decryption and the obtained electronic key is unreadable, it is judged that the connected unlocked client is an illegal client and the connection is broken.
[0076] 在本实施例中, 判断电子密钥的目标是否为自身的标准是: 解锁客户端的第二 身份特征信息与电子锁设备发送的 BLE广播信息中包含的第一身份特征信息是否 匹配。 有且只有当两者匹配成功, 才判断解锁指令的目标是本电子锁设备。  In this embodiment, the criterion for determining whether the target of the electronic key is itself is: whether the second identity feature information of the unlocking client matches the first identity feature information included in the BLE broadcast information sent by the electronic lock device. It is only when the two match is successful that the target of the unlock command is the electronic lock device.
[0077] 可选地, 判断是否为合法秘钥的方式为判断第一身份特征信息与第二身份特征 信息是否一致。  [0077] Optionally, the manner of determining whether the legal key is a normal key is to determine whether the first identity feature information and the second identity feature information are consistent.
[0078] 可选地, 判断是否为合法秘钥的方式为第一身份特征信息与第二身份特征信息 经过预设的运算, 得到的结果与标准结果一致。 由于数据在进行传输的过程中 , 有可能由于码间串扰对身份特征信息的数据产生干扰。 为了克服这情况, 电 子锁设备在鉴权过程中, 通过预设的运算, 达到消除传输过程中产生的误码的 目的。 因此, 可通过第一、 二身份特征信息经过预设预算后的结果, 判断秘钥 是否合法。  [0078] Optionally, the method for determining whether the legal key is a normal identity information and the second identity information is subjected to a preset operation, and the obtained result is consistent with the standard result. Since the data is in the process of transmission, it is possible to interfere with the data of the identity feature information due to crosstalk between codes. In order to overcome this situation, the electronic lock device achieves the purpose of eliminating the error generated during the transmission process by a preset operation in the authentication process. Therefore, whether the key is legal is determined by the result of the first and second identity characteristics information passing the preset budget.
[0079] 在 S304中, 根据验证结果确定是否执行解锁操作。  [0079] In S304, it is determined whether to perform an unlocking operation according to the verification result.
[0080] 在本实施例中, 若验证成功, 则进行解锁操作。 电子锁设备执行解锁操作的方 式包括但不限于: 消磁、 打幵锁闩、 弹幵闸门等。  [0080] In this embodiment, if the verification is successful, an unlocking operation is performed. The manner in which the electronic lock device performs the unlocking operation includes, but is not limited to, degaussing, slamming, latching, and the like.
[0081] 可选地, 若验证失败, 则返回解锁失败消息, 以便于告知用户鉴权失败。 若同 一解锁客户端发送的解锁指令匹配失败的次数超过预设阈值, 则启动报警装置 , 进行报警。 [0081] Optionally, if the verification fails, an unlock failure message is returned, so as to notify the user that the authentication fails. If the same When the number of times the unlocking command sent by the unlocking client fails to match the preset threshold, the alarm device is activated to perform an alarm.
[0082] 在本实施例中, 用户可能已获得该电子锁设备的解锁授权, 但该授权已超过有 效期限, 因此在解锁客户端的鉴权过程中, 对电子锁设备发送的 BLE广播信号认 证成功, 但电子锁在对电子密钥进行鉴权的过程中, 发现了授权已过期, 即在 电子锁设备侧第二身份特征信息与第一身份特征信息不匹配, 则返回鉴权操作 失败的信息。 用户在收到该鉴权操作失败的信息后, 可通过服务器重新申请该 电子锁设备的授权。  [0082] In this embodiment, the user may have obtained the unlocking authorization of the electronic lock device, but the authorization has exceeded the expiration date, so the BLE broadcast signal sent by the electronic lock device is successfully authenticated during the authentication process of the unlocked client. However, in the process of authenticating the electronic key, the electronic lock finds that the authorization has expired, that is, if the second identity feature information does not match the first identity feature information on the electronic lock device side, the information that the authentication operation fails is returned. . After receiving the information that the authentication operation fails, the user can re-apply the authorization of the electronic lock device through the server.
[0083] 在本发明实施例中, 电子锁设备通过对电子密钥中的身份特征信息进行验证, 实现了目标身份判别的功能, 还能作为鉴权的重要指标。 与现有技术使用唯一 标识码以及动态校验码相比, 提高了鉴权计算的速度, 减少用户使用的等待吋 间, 从而让用户有更好的使用体验。 并且, 解锁过程以及发送 BLE广播的过程都 是电子锁在后台自行执行的, 若用户具有幵锁权限, 则无需用户进行任何操作 。 另外, BLE设备能耗低, 即便是持续发送 BLE广播信号, 也无需频繁更换电池 , 优选地可加装微型太阳能转换电路, 则可持续不间断地工作, 与现有的电子 锁相比, 使用成本更低。  In the embodiment of the present invention, the electronic lock device implements the function of identifying the target identity by verifying the identity feature information in the electronic key, and can also serve as an important indicator for authentication. Compared with the prior art, using the unique identification code and the dynamic check code, the speed of the authentication calculation is increased, and the waiting time used by the user is reduced, so that the user has a better use experience. Moreover, the unlocking process and the process of sending the BLE broadcast are all performed by the electronic lock in the background. If the user has the shackle right, the user does not need to perform any operations. In addition, the BLE device has low energy consumption, and even if the BLE broadcast signal is continuously transmitted, it is not necessary to frequently replace the battery. Preferably, the micro solar energy conversion circuit can be installed, and the operation can be continued uninterrupted, compared with the existing electronic lock. The cost is lower.
[0084] 图 4示出了本发明另一实施例提供的一种电子锁设备的解锁方法的流程图。 参 见图 4所述, 相对于上一实施例, 本实施例提供的一种电子锁设备的解锁方法还 包括:  4 is a flowchart of a method for unlocking an electronic lock device according to another embodiment of the present invention. Referring to FIG. 4, the unlocking method of the electronic lock device provided by the embodiment further includes:
[0085] 在 S402中, 通过预设的加密算法对第一身份特征信息进行加密处理。  [0085] In S402, the first identity feature information is encrypted by a preset encryption algorithm.
[0086] 在本实施例中, 为了确保 BLE广播信号的安全性, 上述的 BLE广播信号的内容 均经过加密处理, 特别地, 对第一身份特征信息进行加密处理。 由于 BLE广播信 号中的内容经过预设加密算法 (如 MD5加密算法) 加密, 相应地, 电子锁设备 的解锁客户端将需要用匹配的解密算法 (如 MD5解密算法) 对 BLE广播信号内 容进行解密处理, 得到可解读的 BLE广播信号。  In the present embodiment, in order to ensure the security of the BLE broadcast signal, the contents of the above BLE broadcast signal are subjected to encryption processing, in particular, the first identity feature information is encrypted. Since the content in the BLE broadcast signal is encrypted by a preset encryption algorithm (such as the MD5 encryption algorithm), accordingly, the unlocking client of the electronic lock device will need to decrypt the BLE broadcast signal content with a matching decryption algorithm (such as the MD5 decryption algorithm). Processing, obtaining an interpretable BLE broadcast signal.
[0087] 在 S403中, 持续在预设范围内广播所述 BLE广播信号, 所述加密后的 BLE广播 信号包含已加密的所述第一身份特征信息。  [0087] In S403, the BLE broadcast signal is continuously broadcasted within a preset range, and the encrypted BLE broadcast signal includes the encrypted first identity feature information.
[0088] 在本发明实施例中, 通过对发送的 BLE广播信号中的第一身份特征信息进行加 密处理, 提高通信的安全新。 由于电子锁设备相对于机械锁来说, 并不需要真 实存在的物理钥匙进行幵锁, 只需发送电子锁相应的解锁指令即可完成解锁操 作, 因而对于通信间的安全要求较高。 通过对 BLE广播信号进行加密处理, 再利 用双方约定的密钥才能进行解读, 进一步提高该电子锁设备的解锁方法的安全 性。 [0088] In the embodiment of the present invention, the first identity feature information in the transmitted BLE broadcast signal is added. Closed handling, improve the security of communications. Since the electronic lock device does not require a physical key to be shackled relative to the mechanical lock, the unlocking operation can be completed by simply sending an unlock command corresponding to the electronic lock, and thus the security requirement for the communication room is high. By encrypting the BLE broadcast signal and then using the agreed key, the interpretation can be performed to further improve the security of the unlocking method of the electronic lock device.
[0089] 进一步地, 作为本发明的另一实施例, 所述电子锁的解锁方法还包括:  [0089] Further, as another embodiment of the present invention, the method for unlocking an electronic lock further includes:
[0090] 在 S401中, 从服务器获取所述电子锁设备对应的第一身份特征信息, 并以预设 的吋间间隔访问所述服务器, 以更新所述电子锁设备对应的第一身份特征信息 [0090] In S401, the first identity feature information corresponding to the electronic lock device is obtained from the server, and the server is accessed at a preset interval to update the first identity feature information corresponding to the electronic lock device.
[0091] 在本实施例中, 电子锁设备以预设吋间间隔请求服务器发送第一身份特征信息 , 若接收到的第一身份特征信息与电子锁设备寄存器中的不一致, 则更新该第 一身份特征信息。 [0091] In this embodiment, the electronic lock device requests the server to send the first identity feature information by using the preset inter-frame interval, and if the received first identity feature information is inconsistent with the electronic lock device register, updating the first Identity information.
[0092] 在本发明实施例中, 通过定期更新电子锁设备的第一身份特征信息, 可实吋鉴 权电子锁设备的解锁客户端发送的电子密钥是否仍处于有效授权状态, 达到检 测用户权限的作用。 另一方面, 定吋变更身份特征信息, 增加不法分子破译电 子锁设备解锁信息的难度, 从而提高电子锁的安全性及可靠性。  [0092] In the embodiment of the present invention, by periodically updating the first identity feature information of the electronic lock device, it is possible to verify whether the electronic key sent by the unlocking client of the electronic lock device is still in a valid authorization state, and the user is detected. The role of permissions. On the other hand, it is difficult to change the identity feature information and increase the difficulty of the criminals to decipher the unlock information of the electronic lock device, thereby improving the security and reliability of the electronic lock.
[0093] 需要说明的是, 本实施例中 S404、 S405与 S406由于与图 1所示实施例中的 S302 、 S303以及 S304具体实现过程完全相同, 因此在此实施例中不再赘述。  [0093] It should be noted that, in this embodiment, S404, S405, and S406 are completely the same as the specific implementation processes of S302, S303, and S304 in the embodiment shown in FIG. 1, and therefore are not described in this embodiment.
[0094] 应理解, 上述实施例中各步骤的序号的大小并不意味着执行顺序的先后, 各过 程的执行顺序应以其功能和内在逻辑确定, 而不应对本发明实施例的实施过程 构成任何限定。  It should be understood that the size of the serial number of each step in the foregoing embodiment does not mean the order of execution sequence, and the execution order of each process should be determined by its function and internal logic, and should not be constituted by the implementation process of the embodiment of the present invention. Any restrictions.
[0095] 图 5示出了本发明实施例提供的电子锁设备的解锁客户端的结构框图, 该电子 锁设备的解锁客户端用于执行图 1所示实施例提供的方法。 为了便于说明, 仅示 出了与本实施例相关的部分。  [0095] FIG. 5 is a structural block diagram of an unlocking client of an electronic lock device according to an embodiment of the present invention. The unlocking client of the electronic lock device is configured to execute the method provided in the embodiment shown in FIG. For the convenience of explanation, only the parts related to the present embodiment are shown.
[0096] 参见图 5, 该电子锁设备的解锁客户端包括:  [0096] Referring to FIG. 5, the unlocking client of the electronic lock device includes:
[0097] BLE广播接收单元 51, 用于接收电子锁设备广播的 BLE广播信号, 所述 BLE广 播信号包括所述电子锁设备的身份特征信息;  [0097] The BLE broadcast receiving unit 51 is configured to receive a BLE broadcast signal broadcast by the electronic lock device, where the BLE broadcast signal includes identity feature information of the electronic lock device;
[0098] 身份特征信息判断单元 52, 用于提取所述 BLE广播信号中的身份特征信息, 根 据所述身份特征信息和预先配置的解锁列表判断所述电子锁设备是否为合法设 备, 所述预先配置的解锁列表包含已授权电子锁设备的身份特征信息; [0098] The identity feature information determining unit 52 is configured to extract identity feature information in the BLE broadcast signal, and Determining, according to the identity characteristic information and the pre-configured unlock list, whether the electronic lock device is a legal device, and the pre-configured unlock list includes identity feature information of the authorized electronic lock device;
[0099] 电子密钥发送单元 53, 用于若所述电子锁设备为合法设备, 则与所述电子锁设 备建立通信连接, 并将所述电子锁设备的身份特征信息作为电子密钥发送至所 述电子锁设备, 以便所述电子锁设备根据所述电子密钥执行解锁操作。  [0099] The electronic key sending unit 53 is configured to establish a communication connection with the electronic lock device if the electronic lock device is a legal device, and send the identity feature information of the electronic lock device as an electronic key to The electronic lock device is configured such that the electronic lock device performs an unlocking operation according to the electronic key.
[0100] 可选地, 参见图 6所示, 在另一实施例中, 该实施例中的电子锁设备的解锁客 户端用于运行图 2所示实施例提供的方法, 详述如下:  [0100] Optionally, as shown in FIG. 6, in another embodiment, the unlocking client of the electronic lock device in this embodiment is used to run the method provided in the embodiment shown in FIG. 2, which is described in detail as follows:
[0101] 可选地, 所述电子密钥发送单元包括:  [0101] Optionally, the electronic key sending unit includes:
[0102] 电子密钥加密单元 64, 用于通过预设的加密算法对所述电子密钥进行加密处理  [0102] The electronic key encryption unit 64 is configured to encrypt the electronic key by using a preset encryption algorithm.
[0103] 加密密钥发送单元 65, 用于将加密后的所述电子密钥发送至所述电子锁设备。 [0103] The encryption key sending unit 65 is configured to send the encrypted electronic key to the electronic lock device.
[0104] 可选地, 所述电子锁设备的解锁客户端还包括: [0104] Optionally, the unlocking client of the electronic lock device further includes:
[0105] 身份信息接收单元 61, 用于从服务器下载所述已授权的电子锁设备的身份特征 信息, 将所述身份特征信息存储于预先配置的解锁列表中, 并以预设的吋间间 隔访问所述服务器, 以更新所述预先配置的解锁列表中存储的电子锁设备的身 份特征信息。  [0105] The identity information receiving unit 61 is configured to download identity feature information of the authorized electronic lock device from a server, and store the identity feature information in a pre-configured unlock list, and preset intervals Accessing the server to update identity feature information of the electronic lock device stored in the pre-configured unlock list.
[0106] 需要说明的是, 本实施例中 62以及 63由于与图 5所示实施例中的 51以及 52具体 构造及实现的功能完全相同, 因此在此实施例中不再赘述。  [0106] It should be noted that, in this embodiment, 62 and 63 are completely identical in function to the specific configuration and implementation of 51 and 52 in the embodiment shown in FIG. 5, and therefore will not be further described in this embodiment.
[0107] 因此, 本发明实施例提供的电子锁设备的解锁客户端同样可以通过客户端检测 BLE广播信号, 校验广播信息中的身份特征信息是否存在对应的已授权电子锁设 备, 若存在则实行解锁操作。 与现有的电子解设备锁技术需要专设的电子钥匙 相比, 本发明实施例通过移动终端上安装相应的解锁客户端, 则可实现解锁功 育 , 并且该解锁操作不需要用户与电子锁设备进行具体的解锁动作, 通过客户 端与电子锁设备之间的交互通信及相关的鉴权操作, 即可实现自动解锁的功能 。 因此, 本发明实施例简化了电子锁设备解锁过程中的操作, 从而提高了电子 锁设备解锁效率。 并且, 本发明实施例也解决了解锁吋需要使用专设的电子钥 匙而产生非必要的费用成本, 以及该电子钥匙容易丢失的问题。 另一方面, 本 发明实施例通过身份特征信息作为电子锁设备的唯一标志码, 并且该身份特征 信息还具备校验指令是否合法的功能, 相应地, 在鉴权解锁的步骤上, 解锁客 户端以及电子锁设备只需验证一个特征码即可, 不需要分别对标识码以及动态 校验码进行校验, 减少了解锁操作吋的数据运算吋间, 从而提高了解锁效率。 [0107] Therefore, the unlocking client of the electronic lock device provided by the embodiment of the present invention can also detect the BLE broadcast signal through the client, and check whether the identity feature information in the broadcast information has a corresponding authorized electronic lock device, and if yes, Implement the unlock operation. Compared with the existing electronic solution device lock technology, the user needs to install the corresponding unlocking client on the mobile terminal, and the unlocking skill can be realized, and the unlocking operation does not require the user and the electronic lock. The device performs a specific unlocking action, and the function of automatically unlocking can be realized through the interaction communication between the client and the electronic lock device and the related authentication operation. Therefore, the embodiment of the invention simplifies the operation in the unlocking process of the electronic lock device, thereby improving the unlocking efficiency of the electronic lock device. Moreover, the embodiment of the present invention also solves the problem that the unlocking device needs to use a dedicated electronic key to generate unnecessary cost, and the electronic key is easily lost. In another aspect, the embodiment of the present invention uses the identity feature information as a unique identifier of the electronic lock device, and the identity feature The information also has the function of verifying whether the instruction is legal. Accordingly, in the step of authenticating the unlocking, the unlocking client and the electronic lock device only need to verify one feature code, and do not need to separately perform the identification code and the dynamic check code. The verification reduces the data operation time of the unlock operation, thereby improving the unlocking efficiency.
[0108] 图 7示出了本发明实施例提供的电子锁设备 7结构框图, 该电子锁设备 7用于执 行图 3所示实施例提供的方法。 为了便于说明, 仅示出了与本实施例相关的部分 7 is a block diagram showing the structure of an electronic lock device 7 according to an embodiment of the present invention. The electronic lock device 7 is used to perform the method provided in the embodiment shown in FIG. For the convenience of explanation, only the parts related to the present embodiment are shown.
[0109] 参见图 7, 该电子锁设备包括: [0109] Referring to FIG. 7, the electronic lock device includes:
[0110] BLE广播发送单元 71, 用于持续在预设范围内广播 BLE广播信息, 所述 BLE广 播信息包含电子锁设备对应的第一身份特征信息;  [0110] BLE broadcast sending unit 71, configured to continuously broadcast BLE broadcast information in a preset range, where the BLE broadcast information includes first identity feature information corresponding to the electronic lock device;
[0111] 电子密钥接收单元 72, 用于接收电子锁设备的解锁客户端根据所述电子锁设备 的第一身份特征信息返回的连接响应信息, 根据所述连接响应信息建立与所述 解锁客户端的通信连接; [0111] The electronic key receiving unit 72 is configured to receive connection response information returned by the unlocking client of the electronic lock device according to the first identity feature information of the electronic lock device, and establish and unlock the client according to the connection response information. Communication connection
[0112] 身份特征信息匹配单元 73, 接收所述解锁客户端发送的电子密钥, 并验证所述 电子密钥是否为合法密钥, 所述电子密钥包含第二身份特征信息; [0112] The identity information matching unit 73 receives the electronic key sent by the unlocking client, and verifies whether the electronic key is a legal key, and the electronic key includes second identity feature information;
[0113] 解锁操作单元 74, 用于根据验证结果确定是否执行解锁操作。 [0113] The unlocking operation unit 74 is configured to determine whether to perform an unlocking operation according to the verification result.
[0114] 可选地, 参见图 8所示, 在另一实施例中, 该实施例中的电子锁设备用于运行 图 4所示实施例提供的方法, BLE广播发送单元具体包括: [0114] Optionally, as shown in FIG. 8, in another embodiment, the electronic lock device in this embodiment is used to run the method provided in the embodiment shown in FIG.
[0115] BLE广播加密单元 82, 用于通过预设的加密算法对第一身份特征信息进行加密 处理; [0115] BLE broadcast encryption unit 82, configured to perform encryption processing on the first identity feature information by using a preset encryption algorithm;
[0116] 加密广播发送单元 83, 用于持续在预设范围内广播所述 BLE广播信号, 所述加 密后的 BLE广播信号包含加密后的所述第一身份特征信息。  [0116] The encrypted broadcast sending unit 83 is configured to continuously broadcast the BLE broadcast signal within a preset range, where the encrypted BLE broadcast signal includes the encrypted first identity feature information.
[0117] 可选地, 所述电子锁设备还包括: [0117] Optionally, the electronic lock device further includes:
[0118] 身份特征信息接收单元 81, 用于从服务器获取所述电子锁设备对应的第一身份 特征信息, 并以预设的吋间间隔访问所述服务器, 以更新所述电子锁设备对应 的第一身份特征信息。  [0118] The identity feature information receiving unit 81 is configured to acquire first identity feature information corresponding to the electronic lock device from a server, and access the server at a preset time interval to update the corresponding electronic lock device. First identity information.
[0119] 需要说明的是, 本实施例中 84、 85以及 86由于与图 7所示实施例中的 72、 73以 及 74具体构造及实现的功能完全相同, 因此在此实施例中不再赘述。  [0119] It should be noted that 84, 85, and 86 in this embodiment are completely identical in function to the specific configuration and implementation of 72, 73, and 74 in the embodiment shown in FIG. 7, and therefore will not be described in this embodiment. .
[0120] 因此, 本发明实施例提供的电子锁设备同样可以通过对解锁指令中的身份特征 信息进行验证, 实现了目标身份判别的功能, 还能作为鉴权的重要指标。 与现 有技术使用唯一标识码以及动态校验码相比, 提高了鉴权过程的速度, 减少用 户使用的等待吋间, 从而让用户有更好的使用体验。 并且, 解锁过程以及发送 B LE广播的过程都是电子锁设备后台自行执行的, 若用户具有幵锁权限, 则无需 用户进行任何操作。 另外, BLE设备能耗低, 即便是持续发送 BLE广播信号, 也 无需频繁更换电池, 优选地可加装微型太阳能转换电路, 则可持续工作, 与现 有的电子锁设备相比, 使用成本更低。 [0120] Therefore, the electronic lock device provided by the embodiment of the present invention can also pass the identity feature in the unlock command. The information is verified to achieve the function of target identity discrimination, and can also be used as an important indicator of authentication. Compared with the prior art, the unique identification code and the dynamic check code are used to improve the speed of the authentication process and reduce the waiting time for the user to use, so that the user has a better experience. Moreover, the process of unlocking and the process of transmitting the B LE broadcast are all performed by the electronic lock device in the background. If the user has the shackle right, the user does not need to perform any operation. In addition, the BLE device has low energy consumption, and even if the BLE broadcast signal is continuously transmitted, it is not necessary to frequently replace the battery. Preferably, the micro solar energy conversion circuit can be installed, which can work continuously and is more costly to use than the existing electronic lock device. low.
[0121] 所属领域的技术人员可以清楚地了解到, 为了描述的方便和简洁, 仅以上述各 功能单元、 模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功 能分配由不同的功能单元、 模块完成, 即将所述装置的内部结构划分成不同的 功能单元或模块, 以完成以上描述的全部或者部分功能。 实施例中的各功能单 元、 模块可以集成在一个处理单元中, 也可以是各个单元单独物理存在, 也可 以两个或两个以上单元集成在一个单元中, 上述集成的单元既可以采用硬件的 形式实现, 也可以采用软件功能单元的形式实现。 另外, 各功能单元、 模块的 具体名称也只是为了便于相互区分, 并不用于限制本申请的保护范围。 上述系 统中单元、 模块的具体工作过程, 可以参考前述方法实施例中的对应过程, 在 此不再赘述。 [0121] It will be clearly understood by those skilled in the art that, for convenience and brevity of description, only the division of each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned differently according to needs. The functional unit and the module are completed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the integrated unit may be implemented by hardware. Formal implementation can also be implemented in the form of software functional units. In addition, the specific names of the respective functional units and modules are only for the purpose of facilitating mutual differentiation, and are not intended to limit the scope of protection of the present application. For the specific working process of the units and modules in the foregoing system, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
[0122] 本领域普通技术人员可以意识到, 结合本文中所公幵的实施例描述的各示例的 单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结合来实现 。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特定应用和设 计约束条件。 专业技术人员可以对每个特定的应用来使用不同方法来实现所描 述的功能, 但是这种实现不应认为超出本发明的范围。  [0122] Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
[0123] 在本发明所提供的实施例中, 应该理解到, 所揭露的装置和方法, 可以通过其 它的方式实现。 例如, 以上所描述的系统实施例仅仅是示意性的, 例如, 所述 模块或单元的划分, 仅仅为一种逻辑功能划分, 实际实现吋可以有另外的划分 方式, 例如多个单元或组件可以结合或者可以集成到另一个系统, 或一些特征 可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或 通讯连接可以是通过一些接口, 装置或单元的间接耦合或通讯连接, 可以是电 性, 机械或其它的形式。 [0123] In the embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the system embodiment described above is merely illustrative. For example, the division of the module or unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical Sexual, mechanical or other form.
[0124] 所述作为分离部件说明的单元可以是或者也可以不是物理上分幵的, 作为单元 显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可 以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部单元 来实现本实施例方案的目的。 [0124] The unit described as a separate component may or may not be physically distributed, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or may be distributed to multiple On the network unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
[0125] 另外, 在本发明各个实施例中的各功能模块可以集成在一个处理单元中, 也可 以是各个模块单独物理存在, 也可以两个或两个以上模块集成在一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件功能单元的形式 实现。 [0125] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0126] 所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用 吋, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明实施 例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部 或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介 质中, 包括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等) 或处理器 (processor) 执行本发明实施例各个实施例所述方法 的全部或部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 (R 0M, Read-Only Memory) 、 随机存取存储器 (RAM, Random Access Memory ) 、 磁碟或者光盘等各种可以存储程序代码的介质。  [0126] The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage. The medium includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (R 0M, Read-Only Memory), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. medium.
以上所述实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述 实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然 可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分技术特征进 行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明各 实施例技术方案的精神和范围, 均应包含在本发明的保护范围之内。  The above described embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the examples are modified, or some of the technical features are equivalently replaced; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in Within the scope of protection of the present invention.

Claims

权利要求书 Claim
[权利要求 1] 一种电子锁设备的解锁方法, 其特征在于, 所述电子锁设备的解锁方 法包括:  [Attachment 1] A method for unlocking an electronic lock device, wherein the unlocking method of the electronic lock device includes:
接收电子锁设备广播的 BLE广播信号, 所述 BLE广播信号包括所述电 子锁设备的身份特征信息;  Receiving a BLE broadcast signal broadcast by the electronic lock device, where the BLE broadcast signal includes identity feature information of the electronic lock device;
提取所述 BLE广播信号中的身份特征信息, 根据所述身份特征信息和 预先配置的解锁列表判断所述电子锁设备是否为合法设备, 所述预先 配置的解锁列表包含已授权电子锁设备的身份特征信息;  Extracting the identity feature information in the BLE broadcast signal, determining whether the electronic lock device is a legal device according to the identity feature information and a pre-configured unlock list, where the pre-configured unlock list includes the identity of the authorized electronic lock device Characteristic information
若所述电子锁设备为合法设备, 则与所述电子锁设备建立通信连接, 并将所述电子锁设备的身份特征信息作为电子密钥发送至所述电子锁 设备, 以便所述电子锁设备根据所述电子密钥执行解锁操作。  If the electronic lock device is a legitimate device, establish a communication connection with the electronic lock device, and send the identity feature information of the electronic lock device to the electronic lock device as an electronic key, so that the electronic lock device An unlocking operation is performed according to the electronic key.
[权利要求 2] 根据权利要求 2所述电子锁设备的解锁方法, 其特征在于, 所述将所 述电子密钥发送至所述电子锁设备具体为:  [Claim 2] The method for unlocking an electronic lock device according to claim 2, wherein the transmitting the electronic key to the electronic lock device is specifically:
通过预设的加密算法对所述电子密钥进行加密处理;  Encrypting the electronic key by a preset encryption algorithm;
将加密后的所述电子密钥发送至所述电子锁设备。  The encrypted electronic key is sent to the electronic lock device.
[权利要求 3] 根据权利要求 1或 2任一项所述电子锁设备的解锁方法, 其特征在于, 所述电子锁设备的解锁方法还包括:  The method for unlocking an electronic lock device according to any one of claims 1 to 2, further comprising:
从服务器下载所述已授权的电子锁设备的身份特征信息, 将所述身份 特征信息存储于预先配置的解锁列表中, 并以预设的吋间间隔访问所 述服务器, 以更新所述预先配置的解锁列表中存储的电子锁设备的身 份特征信息。  Downloading the identity feature information of the authorized electronic lock device from the server, storing the identity feature information in a pre-configured unlock list, and accessing the server at a preset time interval to update the pre-configuration The identity information of the electronic lock device stored in the unlock list.
[权利要求 4] 一种电子锁设备的解锁方法, 其特征在于, 所述电子锁设备的解锁方 法包括:  [Attachment 4] A method for unlocking an electronic lock device, wherein the unlocking method of the electronic lock device includes:
持续在预设范围内广播 BLE广播信息, 所述 BLE广播信息包含电子锁 设备对应的第一身份特征信息;  Broadcasting BLE broadcast information continuously within a preset range, where the BLE broadcast information includes first identity feature information corresponding to the electronic lock device;
接收电子锁设备的解锁客户端根据所述电子锁设备的第一身份特征信 息返回的连接响应信息, 根据所述连接响应信息建立与所述解锁客户 端的通信连接; 接收所述解锁客户端发送的电子密钥, 并验证所述电子密钥是否为合 法密钥, 所述电子密钥包含第二身份特征信息; 根据验证结果确定是否执行解锁操作。 The unlocking client receiving the electronic lock device establishes a communication connection with the unlocking client according to the connection response information according to the connection response information returned by the first identity feature information of the electronic lock device; Receiving an electronic key sent by the unlocking client, and verifying whether the electronic key is a legal key, the electronic key includes second identity feature information; determining whether to perform an unlocking operation according to the verification result.
[权利要求 5] 根据权利要求 4所述的电子锁设备的解锁方法, 其特征在于, 所述持 续在预设范围内广播发送 BLE广播信息具体为: 通过预设的加密算法对第一身份特征信息进行加密处理; The method for unlocking an electronic lock device according to claim 4, wherein the continuously transmitting the BLE broadcast information within the preset range is specifically: the first identity feature by using a preset encryption algorithm Information is encrypted;
持续在预设范围内广播所述 BLE广播信号, 所述 BLE广播信号包含已 加密的所述第一身份特征信息。  The BLE broadcast signal is continuously broadcast within a preset range, and the BLE broadcast signal includes the first identity feature information that has been encrypted.
[权利要求 6] 根据权利要求 4或 5所述的电子锁设备的解锁方法, 其特征在于, 所述 电子锁设备的解锁方法还包括: The method for unlocking an electronic lock device according to claim 4 or 5, wherein the method for unlocking the electronic lock device further comprises:
从服务器获取所述电子锁设备对应的第一身份特征信息, 并以预设的 吋间间隔访问所述服务器, 以更新所述电子锁设备对应的第一身份特 征信息。  The first identity feature information corresponding to the electronic lock device is obtained from the server, and the server is accessed at a preset time interval to update the first identity feature information corresponding to the electronic lock device.
[权利要求 7] —种电子锁设备的解锁客户端, 其特征在于, 所述电子锁设备的解锁 客户端包括:  [Attachment 7] The unlocking client of the electronic lock device, wherein the unlocking client of the electronic lock device comprises:
BLE广播接收单元, 用于接收电子锁设备广播的 BLE广播信号, 所述 BLE广播信号包括所述电子锁设备的身份特征信息;  a BLE broadcast receiving unit, configured to receive a BLE broadcast signal broadcast by the electronic lock device, where the BLE broadcast signal includes identity feature information of the electronic lock device;
身份特征信息判断单元, 用于提取所述 BLE广播信号中的身份特征信 息, 根据所述身份特征信息和预先配置的解锁列表判断所述电子锁设 备是否为合法设备, 所述预先配置的解锁列表包含已授权电子锁设备 的身份特征信息;  The identity information determining unit is configured to extract the identity feature information in the BLE broadcast signal, and determine, according to the identity feature information and the pre-configured unlock list, whether the electronic lock device is a legal device, and the pre-configured unlock list Contains identity feature information of the authorized electronic lock device;
电子密钥发送单元, 用于若所述电子锁设备为合法设备, 则与所述电 子锁设备建立通信连接, 并将所述电子锁设备的身份特征信息作为电 子密钥发送至所述电子锁设备, 以便所述电子锁设备根据所述电子密 钥执行解锁操作。  An electronic key sending unit, configured to establish a communication connection with the electronic lock device if the electronic lock device is a legal device, and send the identity feature information of the electronic lock device as an electronic key to the electronic lock And a device, wherein the electronic lock device performs an unlocking operation according to the electronic key.
[权利要求 8] 根据权利要求 7所述电子锁设备的解锁客户端, 其特征在于, 所述电 子密钥发送单元包括:  The unlocking client of the electronic lock device according to claim 7, wherein the electronic key transmitting unit comprises:
电子密钥加密单元, 用于通过预设的加密算法对所述电子密钥进行加 密处理; An electronic key encryption unit, configured to add the electronic key by using a preset encryption algorithm Dense processing
加密密钥发送单元, 用于将加密后的所述电子密钥发送至所述电子锁 设备。  And an encryption key sending unit, configured to send the encrypted electronic key to the electronic lock device.
[权利要求 9] 根据权利要求 7或 8任一项所述电子锁设备的解锁客户端, 其特征在于 [Attachment 9] The unlocking client of the electronic lock device according to any one of claims 7 or 8, wherein
, 所述电子锁设备的解锁客户端还包括: The unlocking client of the electronic lock device further includes:
身份信息接收单元, 用于从服务器下载所述已授权的电子锁设备的身 份特征信息, 将所述身份特征信息存储于预先配置的解锁列表中, 并 以预设的吋间间隔访问所述服务器, 以更新所述预先配置的解锁列表 中存储的电子锁设备的身份特征信息。  An identity information receiving unit, configured to download identity feature information of the authorized electronic lock device from a server, store the identity feature information in a pre-configured unlock list, and access the server at a preset time interval And updating identity characteristic information of the electronic lock device stored in the pre-configured unlock list.
[权利要求 10] —种电子锁设备, 其特征在于, 所述电子锁设备包括: [Claim 10] An electronic lock device, wherein: the electronic lock device includes:
BLE广播发送单元, 用于持续在预设范围内广播 BLE广播信息, 所述 BLE广播信息包含电子锁设备对应的第一身份特征信息;  a BLE broadcast sending unit, configured to continuously broadcast BLE broadcast information in a preset range, where the BLE broadcast information includes first identity feature information corresponding to the electronic lock device;
电子密钥接收单元, 用于接收电子锁设备的解锁客户端根据所述电子 锁设备的第一身份特征信息返回的连接响应信息, 根据所述连接响应 信息建立与所述解锁客户端的通信连接;  An electronic key receiving unit, configured to receive, by the unlocking client, the connection response information returned by the first identity feature information of the electronic lock device, and establish a communication connection with the unlocking client according to the connection response information;
身份特征信息匹配单元, 接收所述解锁客户端发送的电子密钥, 并验 证所述电子密钥是否为合法密钥, 所述电子密钥包含第二身份特征信 息;  The identity information matching unit receives the electronic key sent by the unlocking client, and verifies whether the electronic key is a legal key, and the electronic key includes the second identity feature information;
解锁操作单元, 用于根据验证结果确定是否执行解锁操作。  The unlocking operation unit is configured to determine whether to perform an unlocking operation according to the verification result.
[权利要求 11] 根据权利要求 10所述的电子锁设备, 其特征在于, 所述 BLE广播发送 单元具体包括: [Claim 11] The electronic lock device according to claim 10, wherein the BLE broadcast transmitting unit specifically includes:
BLE广播加密单元, 用于通过预设的加密算法对第一身份特征信息进 行加密处理;  a BLE broadcast encryption unit, configured to encrypt the first identity feature information by using a preset encryption algorithm;
加密广播发送单元, 用于持续在预设范围内广播所述 BLE广播信号, 所述 BLE广播信号包含加密后的所述第一身份特征信息。  And an encrypted broadcast sending unit, configured to continuously broadcast the BLE broadcast signal within a preset range, where the BLE broadcast signal includes the encrypted first identity feature information.
[权利要求 12] 根据权利要求 10或 11所述的电子锁设备, 其特征在于, 所述电子锁设 备还包括: [Claim 12] The electronic lock device according to claim 10 or 11, wherein the electronic lock device further comprises:
身份特征信息接收单元, 用于从服务器获取所述电子锁设备对应的第 一身份特征信息, 并以预设的吋间间隔访问所述服务器, 以更新所述 电子锁设备对应的第一身份特征信息。 An identity information receiving unit, configured to acquire, from a server, a corresponding one of the electronic lock devices And an identity information, and accessing the server at a preset interval to update the first identity feature information corresponding to the electronic lock device.
PCT/CN2016/112280 2016-12-27 2016-12-27 Method of unlocking electronic lock device, and client and electronic lock device thereof WO2018119623A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/112280 WO2018119623A1 (en) 2016-12-27 2016-12-27 Method of unlocking electronic lock device, and client and electronic lock device thereof
CN201680001896.2A CN108541324A (en) 2016-12-27 2016-12-27 A kind of unlocking method of electronic lock device, client and its electronic lock device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/112280 WO2018119623A1 (en) 2016-12-27 2016-12-27 Method of unlocking electronic lock device, and client and electronic lock device thereof

Publications (1)

Publication Number Publication Date
WO2018119623A1 true WO2018119623A1 (en) 2018-07-05

Family

ID=62706643

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112280 WO2018119623A1 (en) 2016-12-27 2016-12-27 Method of unlocking electronic lock device, and client and electronic lock device thereof

Country Status (2)

Country Link
CN (1) CN108541324A (en)
WO (1) WO2018119623A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112330855A (en) * 2020-10-15 2021-02-05 成都市以太节点科技有限公司 Electronic lock safety management method, equipment and system

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109523672B (en) * 2018-11-20 2021-09-21 北京千丁互联科技有限公司 Access control method and device
CN110599642B (en) * 2019-08-23 2022-03-22 珠海优特电力科技股份有限公司 Unlocking equipment, lock and lock control system
CN112652091A (en) * 2019-09-25 2021-04-13 北京车和家信息技术有限公司 Vehicle unlocking method, vehicle machine and mobile terminal
WO2021155482A1 (en) * 2020-02-03 2021-08-12 深圳市汇顶科技股份有限公司 Data transmission method and ble device
CN113329399A (en) * 2020-02-28 2021-08-31 阿里巴巴集团控股有限公司 Data transmission, distribution network and management method, device, system and storage medium
CN112562125B (en) * 2020-11-18 2022-03-22 深圳易马达科技有限公司 Wireless unlocking lease system
CN112530094B (en) * 2020-11-18 2021-08-24 深圳易马达科技有限公司 Lease control method and device, equipment side and client side
CN112489309B (en) * 2020-11-30 2023-04-21 佛山市顺德区美的电子科技有限公司 Household appliance leasing control method and device, household appliance and storage medium
CN115206003A (en) * 2021-03-24 2022-10-18 华为技术有限公司 Bluetooth-based unlocking method, terminal device, intelligent lock and storage medium
CN117136268A (en) * 2021-03-31 2023-11-28 金伯利-克拉克环球有限公司 Wireless handheld beacon device for building management

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102936980A (en) * 2012-10-31 2013-02-20 北京小米科技有限责任公司 Method and device for controlling electronic lock
CN104537735A (en) * 2014-12-11 2015-04-22 应骏 Electronic lock and unlocking and setting method thereof
CN204631969U (en) * 2015-02-12 2015-09-09 北京神器科技有限公司 Control of bluetooth access locking device and system
US20150347738A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Proximity unlock and lock operations for electronic devices
CN105631987A (en) * 2015-02-12 2016-06-01 北京神器科技有限公司 Bluetooth access control unlocking method, device and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9704314B2 (en) * 2014-08-13 2017-07-11 August Home, Inc. BLE/WiFi bridge that detects signal strength of Bluetooth LE devices at an exterior of a dwelling
CN104103111B (en) * 2014-07-19 2016-08-17 张明 Automatically-controlled door access control system based on Bluetooth of mobile phone communication and its implementation
PL2977964T3 (en) * 2014-07-25 2019-03-29 Skidata Ag Method for controlling a device via a mobile terminal requiring user rights
CN105574960A (en) * 2014-10-17 2016-05-11 慧锐通智能科技股份有限公司 Entrance guard control system and method
TWI547632B (en) * 2014-11-19 2016-09-01 鴻海精密工業股份有限公司 Multi-function key and control method thereof
CN205029794U (en) * 2015-10-28 2016-02-10 黄可斌 Intelligence lock, based on security protection device and security protection system of intelligent lock
US20160196703A1 (en) * 2015-12-29 2016-07-07 Via Technologies, Inc. Smart door system and identification system background
CN105721616A (en) * 2016-04-28 2016-06-29 卢新 Electric vehicle control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102936980A (en) * 2012-10-31 2013-02-20 北京小米科技有限责任公司 Method and device for controlling electronic lock
US20150347738A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Proximity unlock and lock operations for electronic devices
CN104537735A (en) * 2014-12-11 2015-04-22 应骏 Electronic lock and unlocking and setting method thereof
CN204631969U (en) * 2015-02-12 2015-09-09 北京神器科技有限公司 Control of bluetooth access locking device and system
CN105631987A (en) * 2015-02-12 2016-06-01 北京神器科技有限公司 Bluetooth access control unlocking method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112330855A (en) * 2020-10-15 2021-02-05 成都市以太节点科技有限公司 Electronic lock safety management method, equipment and system
CN112330855B (en) * 2020-10-15 2022-06-28 成都市以太节点科技有限公司 Electronic lock safety management method, equipment and system

Also Published As

Publication number Publication date
CN108541324A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
WO2018119623A1 (en) Method of unlocking electronic lock device, and client and electronic lock device thereof
JP7152466B2 (en) Secure communication method and smart lock system based thereon
CN109903433B (en) Access control system and access control method based on face recognition
KR101198120B1 (en) Iris information based 3-factor user authentication method for otp generation and secure two way authentication system of wireless communication device authentication using otp
US8769289B1 (en) Authentication of a user accessing a protected resource using multi-channel protocol
WO2017071496A1 (en) Method and device for realizing session identifier synchronization
JP2019531567A (en) Device authentication system and method
US10594479B2 (en) Method for managing smart home environment, method for joining smart home environment and method for connecting communication session with smart device
US20090158033A1 (en) Method and apparatus for performing secure communication using one time password
WO2015192670A1 (en) User identity authentication method, terminal and service terminal
CN109618334B (en) Control method and related equipment
JP7192122B2 (en) Systems and methods for authenticating connections between user devices and vehicles
CN111818530A (en) Vehicle, remote device and method for operating vehicle or remote device
CN105553666B (en) Intelligent power terminal safety authentication system and method
EP3422630B1 (en) Access control to a network device from a user device
KR101078546B1 (en) Apparatus for coding and decoding of security data file based on data storage unit idedtification, system for electronic signature using the same
CN102026195A (en) One-time password (OTP) based mobile terminal identity authentication method and system
CN112396735B (en) Internet automobile digital key safety authentication method and device
CN101072100A (en) Authenticating system and method utilizing reliable platform module
WO2018050293A1 (en) User sign-in and authentication without passwords
CN107786978B (en) NFC authentication system based on quantum encryption
CN113766450A (en) Vehicle virtual key sharing method, mobile terminal, server and vehicle
KR20180132811A (en) A method for secure interaction between a user and a mobile terminal and additional instances
CN113593088A (en) Intelligent unlocking method, intelligent lock, mobile terminal and server
US11799632B1 (en) Optimized authentication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16925348

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 29.10.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16925348

Country of ref document: EP

Kind code of ref document: A1