CN118692170A - Intelligent lock system based on block chain - Google Patents
Intelligent lock system based on block chain Download PDFInfo
- Publication number
- CN118692170A CN118692170A CN202410506378.2A CN202410506378A CN118692170A CN 118692170 A CN118692170 A CN 118692170A CN 202410506378 A CN202410506378 A CN 202410506378A CN 118692170 A CN118692170 A CN 118692170A
- Authority
- CN
- China
- Prior art keywords
- unlocking
- blockchain
- user
- intelligent
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 claims abstract description 6
- 238000012795 verification Methods 0.000 claims description 20
- 230000006854 communication Effects 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 5
- 230000002159 abnormal effect Effects 0.000 claims description 4
- 230000001360 synchronised effect Effects 0.000 claims description 4
- 238000007726 management method Methods 0.000 description 30
- 238000005516 engineering process Methods 0.000 description 20
- 238000000034 method Methods 0.000 description 7
- 238000013461 design Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 6
- 238000012423 maintenance Methods 0.000 description 6
- 210000000554 iris Anatomy 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000004075 alteration Effects 0.000 description 2
- 238000013475 authorization Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000001934 delay Effects 0.000 description 2
- 206010033799 Paralysis Diseases 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000003339 best practice Methods 0.000 description 1
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 210000000887 face Anatomy 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Landscapes
- Lock And Its Accessories (AREA)
Abstract
The invention relates to an intelligent lock system based on a block chain, which comprises: the system comprises a blockchain network, an intelligent contract deployed on the blockchain network, a decentralised application terminal and intelligent lock equipment; the intelligent contract is used for managing user registration and authority allocation of the intelligent lock equipment, setting an unlocking strategy and recording an unlocking event; the decentralizing application terminal and the intelligent lock equipment together initiate registration applications of an administrator user and a non-administrator user to the intelligent contract; the administrator user manages the account numbers and the authorities of non-administrator users through the decentralizing application terminal; the intelligent lock device is internally provided with a local storage module which is used for storing the identification information of the manager user and the non-manager user and the related information of the unlocking event; the intelligent lock device is also embedded with a blockchain wallet and is used for verifying and unlocking authorities, interacting with the intelligent contracts, uploading information related to unlocking events and monitoring intelligent contract events.
Description
Technical Field
The invention relates to the technical field of intelligent locks, in particular to a block chain-based intelligent contract decentralizing intelligent lock system.
Background
The industry background of smart locks is driven by the rapidly evolving smart home market, advances in internet of things (IoT) technology, and consumer demands for increased home security and convenience. In recent years, smart locks have become a key component in smart home ecosystems, and their market is expected to continue to grow rapidly.
Market demand drivers for the industry mainly include the following aspects. First is the security requirement. There is an increasing demand for security for homes and businesses, and smart locks offer more advanced security solutions than traditional mechanical locks, such as intrusion alarms, access control records, etc. And secondly convenience. The intelligent lock eliminates the requirement of the traditional key, and a user can unlock the intelligent lock in various modes such as a mobile phone, a password, biological identification and the like, and simultaneously supports remote authorized access. There is also an integration need for smart home. Along with the maturity of intelligent house ecosystem, intelligent lock is integrated into home automation, works in coordination with equipment such as intelligent illumination, security camera, voice assistant, provides more perfect intelligent house experience.
The technical drive of this industry is also an important development factor. Mainly the rapid development of internet of things (IoT), mobile internet technology and security technology creates conditions and foundation for the advent and development of smart locks. Advances in IoT technology have enabled smart locks to easily connect to the internet, enabling remote control, status monitoring, and automation functions. This greatly improves the functionality and user experience of the smart lock. The popularization of smart phones provides a convenient control interface for smart locks. Through special removal APP, the user can control and monitor the intelligent lock anytime and anywhere, receives the security alarm. Along with the development of encryption technology and biological recognition technology (such as fingerprint recognition and facial recognition), the security of the intelligent lock is also improved obviously.
The development of intelligent locks still has industry pain points, wherein one of important pain points is that the safety and reliability still need to be improved. The development of smart locks depends on technologies such as internet of things (IoT) technology, mobile internet technology and encryption technology and biometric technology as mentioned above. At present, the intelligent locks on the market are realized by a centralized server, but many manufacturers still cannot guarantee the security of the cloud (the centralized server), and the security problem is caused.
There are some potential drawbacks and challenges with the centralized server as an authentication and control center for the smart lock, mainly as follows:
1. Single point of failure. One of the biggest weaknesses of centralized systems is the single point of failure problem. If the central server suffers technical failure, physical damage or network problems, the whole system may be paralyzed, so that all intelligent locks cannot work normally, and daily use of users is affected.
2. Safety problems. The centralized server becomes a potential target for attack. If hackers successfully hack the system, they may gain control rights, tamper rights data, and even remotely control all connected smart locks, with serious security implications. Security issues also include data leakage risk. Sensitive data such as personal information and use habit of a user can seriously violate the privacy of the user if the sensitive data is accessed or stolen without authorization.
3. Scalability and cost issues. As the number of intelligent locks connected increases, the amount of data and requests that the centralized server needs to handle also increases significantly, potentially requiring more powerful hardware and more complex maintenance work, increasing the operating cost of the system. Expanding the capabilities of the server to accommodate more smartlocks and users may require significant time and financial investment, affecting the scalability of the system.
4. Performance bottlenecks. All operations and data processing need to pass through the central server, which can lead to processing delays, especially during peak hours, affecting the user experience. The network dependence is strong. If a network connection between the central server and the smart lock becomes problematic, authentication and control instructions may not be communicated in time.
5. Update and maintenance problems. System updates and maintenance require downtime, which may affect the normal use of all users. For widely distributed smart lock systems, it may be difficult to ensure consistency and compatibility of all device software versions.
6. Legal and compliance risk issues. The data set storage may need to comply with more stringent data protection regulations, such as the general data protection regulations of the european union (GDPR). Legal and compliance requirements may result in additional compliance costs and operational complexity.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides an intelligent lock system based on a blockchain, which combines the non-tamper property of the blockchain technology, the automatic execution characteristics of a distributed account book and an intelligent contract, and improves the safety and the reliability of the intelligent lock system.
The technical scheme for solving the technical problems is as follows: a blockchain-based smart lock system, comprising: the system comprises a blockchain network, an intelligent contract deployed on the blockchain network, a decentralised application terminal and intelligent lock equipment;
The intelligent contract is used for managing user registration and authority allocation of the intelligent lock equipment, setting an unlocking strategy and recording an unlocking event;
The decentralizing application terminal and the intelligent lock equipment together initiate an administrator user registration application and a non-administrator user registration application to the intelligent contract; the administrator user manages the account numbers and the authorities of non-administrator users through the decentralizing application terminal;
The intelligent lock device is internally provided with a local storage module which is used for storing the identification information of the manager user and the non-manager user and the related information of the unlocking event; the intelligent lock device is also embedded with a blockchain wallet and is used for verifying and unlocking authorities, interacting with the intelligent contracts, uploading information related to unlocking events and monitoring intelligent contract events.
Further, the blockchain network selects a private blockchain or a public blockchain as a base frame.
Further, the intelligent contract comprises a user information management module, a permission management module and an unlocking record module;
The user information management module is used for storing user ID information, including administrator user ID information and non-administrator user ID information;
the right management module is used for responding to the request of an administrator user, adding non-administrator user ID information into the user information management module and distributing unlocking rights for different non-administrator users, wherein the unlocking rights comprise an unlocking mode and an unlocking validity period;
the unlocking record module is used for recording unlocking event related information, and the unlocking event related information comprises a user ID, unlocking time, an unlocking mode and an unlocking result corresponding to each unlocking.
Furthermore, the unlocking recording module is also used for recording abnormal violent unlocking events.
Furthermore, the identification information of the manager user and the non-manager user is encrypted through a hash algorithm and then stored into a local storage module of the intelligent lock device.
Further, the smart lock device periodically performs integrity and consistency verification with the smart contract based on an embedded blockchain wallet.
Further, the intelligent lock device is based on an embedded blockchain wallet, when unlocking is performed, firstly, an unlocking request of a user is obtained, local verification is performed on identity information of the user, if verification is not passed, the intelligent lock device is communicated with a blockchain network, latest user registration information and authority allocation information in an intelligent contract are obtained, and verification is performed again.
Further, when the intelligent lock device monitors an intelligent contract event based on the embedded blockchain wallet, if an administrator user initiates a registration application and management of a non-administrator user and authority management of the non-administrator user to the intelligent contract, synchronous updating operation of relevant data in the intelligent lock device is triggered.
Furthermore, the intelligent lock device is in communication with the blockchain network through LPWAN, and the security of data transmission is improved by using an encryption communication protocol.
The beneficial effects of the invention are as follows: and a distributed intelligent lock authority management system is realized by utilizing the characteristic of block chain decentralization. This mechanism significantly improves the security and reliability of the system compared to conventional centralized servers, as it avoids the single point of failure and the potential safety hazards of centralized data storage. The preset conditions and logic in the intelligent contract can automatically verify the unlocking request and the authority change of the user, and a centralized authentication service is not needed. The automatic execution mechanism reduces human errors and delays and improves the efficiency and response speed of the intelligent lock system. The real-time updating and synchronization of the intelligent lock authority data are realized through an intelligent contract event triggering mechanism. The intelligent lock can perform operation judgment based on the latest authority data at any time, and flexibility of system use and convenience of users are improved. The invention emphasizes the encryption of data in the communication process with the blockchain network, and ensures the safe transmission and storage of sensitive information. This is particularly important for smart lock systems that involve user identity and rights information.
Drawings
FIG. 1 is a block diagram of a block chain based intelligent lock system according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present application, the term "for example" is used to mean "serving as an example, instance, or illustration. Any embodiment described as "for example" in this disclosure is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the application. In the following description, details are set forth for purposes of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known structures and processes have not been described in detail so as not to obscure the description of the application with unnecessary detail. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
The application of the blockchain technology in the intelligent lock system can solve the technical problems faced by a plurality of traditional intelligent lock systems, and mainly comprises the problems of safety, transparency, data non-tamper-resistance, management efficiency and cost.
The following are some of the main technical problems that the blockchain smart lock can solve:
1. Single point of failure problem. The decentralization nature of the blockchain means that there is no single point of failure (Single Point ofFailure, SPOF) to perfectly solve the single point of failure problem.
2. Safety problems. Encryption technology: blockchains use advanced encryption techniques to protect data, ensuring that only users with the correct keys can access or modify the data. Transaction traceability: each transaction on the blockchain is traceable, all access records are permanently stored and visible to all participants, improving the transparency of the system. Data is not tamperable: since all intelligent lock control operation records are non-tamperable and verifiable, once data is recorded on the blockchain, it cannot be modified or deleted. This provides a powerful guarantee for preventing data tampering and improving the overall security of the system, while making audit or inspection history easier and more reliable. This greatly reduces the risk of hacking.
3. Management efficiency problems. The distribution, the change and the revocation of the access rights can be automatically executed through the intelligent contract, so that the requirement of manual operation is reduced, and the management efficiency and the response speed are improved. The block chain technology de-mediation can reduce or eliminate the requirement of the mediation mechanism, simplify the management flow and reduce the cost.
4. Cost effectiveness issues. As the number of smart locks increases, the scalability and maintenance costs of a centralized system become a challenge, and in a centralized system, system updates and maintenance may cause service outages. The method reduces the maintenance cost of the system, and although the initial investment can be higher, the blockchain intelligent lock system can save the cost by reducing the intermediary cost, the fraud risk and the automatic flow in the long term. The operation cost is reduced: automation and enhanced security may reduce additional costs due to security issues or improper management.
5. Legal and compliance risk issues. Decentralizing and more tightly encrypting blockchain data is more capable of circumventing legal and compliance risks.
6. Other similar technologies for achieving intelligent lock management by adopting a block chain technology appear, but the implementation mode is extremely complex, and the method is simple and clear and easy to implement. In particular, the CN 109272606A is also implemented by using an intelligent contract, but the intelligent contract is deployed in the intelligent lock, that is, the intelligent lock is used as a node to access the blockchain network, which results in complex implementation and high power consumption, and the delay of the blockchain network can seriously affect the practicality and user experience.
Specifically, as shown in fig. 1, an embodiment of the present invention provides an intelligent lock system based on a blockchain, including: the system comprises a blockchain network, an intelligent contract deployed on the blockchain network, a decentralised application terminal and intelligent lock equipment.
The present invention utilizes existing blockchain networks to provide a decentralised, non-tamperable data storage solution. The private blockchain is chosen as the base framework because it provides faster processing speed and better privacy protection. If the requirements for compliance with information security are met, a public chain can be used as the framework, but some expenditure (cryptocurrency) is involved.
And deploying intelligent contracts on the blockchain, managing intelligent lock user registration and authority allocation, and integrating multiple unlocking modes. Specifically, a new user is registered through an intelligent contract, and unlocking permission is allocated to the user; different unlocking strategies such as time limitation, combination verification of unlocking modes and the like can be set by utilizing the intelligent contract so as to adapt to different security requirements; the unlocking event is recorded, and each unlocking event (including abnormal forced violent unlocking) is recorded on the blockchain.
The decentralizing application terminal and the intelligent lock equipment together initiate registration applications of an administrator user and a non-administrator user to the intelligent contract; and the administrator user manages the account numbers and the authorities of the non-administrator users through the decentralization application terminal. The decentralizing application terminal is generally implemented by a smart phone with the decentralizing application installed, and it should be understood that the smart phone is not a unique type carrier, and a special smart terminal device can be designed as a carrier of the decentralizing application according to actual needs. It should be noted here that both the administrator user and the non-administrator user are general users, and a general user becomes an administrator user after completing the administrator registration with the smart lock device through the decentralizing application terminal. When registering applications of manager users or non-manager users, if biometric information such as iris, fingerprint, face and the like needs to be input, the application terminal needs to be used for initiating the registration applications, and then the intelligent lock equipment is used for collecting the identity recognition information of the registered objects so as to realize the association of the registration information and the identity recognition information. If the identification information does not need to be input, for example, aiming at a temporary user, only a password is needed to be allocated, and the biological identification information does not need to be acquired, the corresponding password is only needed to be input when the application terminal for registration is initiated by using the decentralization application terminal.
And a local storage module is arranged in the intelligent lock equipment and used for storing the identification information of the manager user and the non-manager user and the related information of the unlocking event. The identification information of the manager user and the non-manager user is encrypted through a hash algorithm and then stored into a local storage module of the intelligent lock device. Here, the identification information of the administrator user and the non-administrator user includes biometric information such as iris, fingerprint, face, etc., and may also include electronic cards such as radio frequency cards. It should be noted here that the identification information of the administrator user and the non-administrator user is stored only in the local storage module of the smart lock device, so as to ensure the security and privacy of the user information.
The intelligent lock device is also embedded with a blockchain wallet and is used for verifying and unlocking authorities, interacting with the intelligent contracts, uploading information related to unlocking events and monitoring intelligent contract events.
The intelligent lock is an intelligent device embedded with a blockchain wallet (the private key of the wallet is stored in a security module (such as a TPM) in the lock and prevented from being illegally extracted), and has blockchain network connection capability (a communication module), and can execute operation and verification specified by an intelligent contract. The device stores a copy of the local rights data for verification of the off-line unlocking operation. The smart lock device directly interacts with the blockchain network (through an API interface using the blockchain network) through a built-in network communication module, listening for smart contract events. The intelligent contract event triggers the local synchronization of the latest rights data, ensuring consistency with the information on the blockchain. The smart lock performs an unlocking/locking operation based on the latest authority data acquired from the blockchain. The identification, encryption and authentication of biological information such as fingerprints, irises, faces and the like are the same as the traditional intelligent lock. The intelligent lock communication module is communicated with the blockchain network through LPWAN, improves the safety of data transmission through encryption communication, and ensures the safety of data in the transmission process by using an encryption communication protocol such as TLS.
Based on embedded blockchain wallet, when unlocking, firstly the intelligent lock device obtains the unlocking request of the user, and carries out local verification on the identity information of the user, if the verification is not passed, the intelligent lock device communicates with the blockchain network, and obtains the latest user registration information and authority allocation information in the intelligent contract, and carries out verification again. When monitoring an intelligent contract event, if an administrator user initiates a registration application and management of a non-administrator user and authority management of the non-administrator user to the intelligent contract, triggering synchronous updating operation of relevant data in the intelligent lock equipment.
Further, the intelligent contract comprises a user information management module, a right management module and an unlocking record module.
The user information management module is used for storing user ID information, including manager user ID information and non-manager user ID information. Specifically, the administrator user ID information and the non-administrator user ID information are written into the smart contract by the user through the decentralized application terminal,
The right management module is used for responding to the request of the administrator user, adding non-administrator user ID information into the user information management module and distributing unlocking rights for different non-administrator users, wherein the unlocking rights comprise an unlocking mode and an unlocking validity period.
The unlocking record module is used for recording unlocking event related information, and the unlocking event related information comprises a user ID, unlocking time, an unlocking mode and an unlocking result corresponding to each unlocking. Furthermore, the unlocking recording module is also used for recording abnormal violent unlocking events.
The technical scheme of the embodiment of the invention is further described through a specific scene.
The user Alice purchased a blockchain-based smart lock for her smart home system. She wants to unlock himself (via fingerprint and cell phone NFC) and her family (via iris or face recognition) while at the same time wants to be able to remotely grant the visitor unlocking right.
The business process is as follows:
1. User registration and rights allocation
Alice as an administrator first registers his own fingerprint and NFC identity of the handset through the decentralized application and the smart lock.
Using a smart contract, a permanent unlocking right is assigned to Alice's ID on the blockchain.
Alice also registers iris and face recognition information of her family and sets the corresponding unlocking authority.
The biometric information is stored locally only in the smart lock using a cryptographic hash function to ensure its security and privacy, as in conventional smart locks.
2. Unlocking process
The intelligent lock device daemon listens to events in the intelligent contract through the blockchain intelligent contract API to periodically obtain update data from the blockchain network, such as entitlement update events, unlock events.
When Alice approaches the smart lock using fingerprint or NFC, the lock body activates and sends an unlocking request, and the smart lock queries the user ID rights in the local rights database and confirms its unlocking rights.
After the permission verification is passed, the intelligent contract notifies the intelligent lock to unlock, and simultaneously records the unlocking event on the blockchain.
3. Remote guest authorization
Alice expects the arrival of the guest Bob, generating a one-time unlock password for Bob remotely through the decentralised application.
The smart contract records this one-time password and its expiration date on the blockchain. The event is monitored and synchronized by the smart lock daemon to the smart lock local rights database.
And when Bob arrives, inputting a password, and verifying the validity of the password by the local program of the intelligent lock to authorize unlocking.
4. Low power consumption and communication
The smart lock communicates with the blockchain network when needed through LPWAN (low power wide area network, low PowerWideAreaNetwork, including NB-IoT, loRa, sigfox, eMTC) or the like, with the rest in a low power state.
Unlocking operations and rights verification are accomplished directly through the smart lock, using LPWAN communications only when the blockchain data needs to be updated.
5. Unlocking records and security
Each unlocking event is recorded on the blockchain, including the unlocking time, the user, and the unlocking mode.
In the above embodiment, it is best practice to have both Alice and the smart lock own their own blockchain wallets. This ensures operational safety as well as facilitates managing and tracking transactions. How the two function is explained in detail below:
6. block chain wallet of administrator (Alice)
The application is as follows: alice's wallet is mainly used for authentication, rights management, and performing operations related to smart contracts, such as registering users, assigning and modifying rights, etc.
Safety: the wallet private key of Alice ensures that only Alice can execute specific intelligent contract operation, and the security of the system is improved.
This private key should not be stored on the smart lock device, but rather be managed in a more secure manner (e.g., a hardware wallet or a secure software wallet application).
7. Block chain wallet of intelligent lock
The application is as follows: the wallet of the smart lock is mainly used for recording unlocking events and verifying the authority of unlocking requests on the blockchain. The intelligent lock is used as an independent entity, and can automatically complete authority verification and record unlocking events through interaction of the wallet and the blockchain, and intervention of Alice is not needed each time.
And (3) automation operation: the intelligent lock interacts with the blockchain through built-in logic and intelligent contracts, and automation of unlocking operation is achieved. For example, when Alice updates user data and rights management data on the blockchain, the smart lock device daemon periodically obtains update data from the blockchain network by listening for events in the smart contract through the blockchain smart contract AP, automatically initiates a validation request to the blockchain, and updates the local rights database according to the response of the smart contract.
Safety: the blockchain wallet of the smart lock also requires security management. The private key of the wallet should be securely stored in a security module (such as a TPM) within the lock to prevent illegal extraction.
8. Interactive flow
Rights management: alice sends instructions to the smart contract through her blockchain wallet to register user information or update rights settings.
Unlocking request: when unlocking is needed, the lock body is activated and transmits an unlocking request, and the intelligent lock inquires the user ID authority in the local authority database and confirms the unlocking authority. This request contains the authentication information of the requester and the timestamp of the request.
Rights verification and recording: the intelligent lock verifies the unlocking request, confirms whether the requester has authority, records the unlocking event on the blockchain, and uses the wallet address of the intelligent lock as the initiator of the record.
By this design, a high degree of security and operability can be achieved while guaranteeing the decentralization and transparency of the smart lock system.
9. Wallet without blockchain for other users
In the above design, the families of visitors Bob and Alice do not necessarily need to have their own blockchain wallets. This is because the design of the smart lock system can handle rights verification and unlocking operations through Alice's management operations or the logic of the smart lock itself, rather than directly relying on each user's blockchain wallet. Such designs allow for user friendliness and practicality of the system, especially for those users who are not familiar with blockchain technology. The following is a further explanation of this design choice
Reasons for other users not requiring a blockchain wallet
10. Simplifying the user experience: creating and managing a blockchain wallet can be a technological threshold for common users who are unfamiliar with blockchains.
By not requiring each user to have his own wallet, the smart lock system is more user friendly and easy to accept and use.
11. And (3) centralized management: alice, as an administrator of the intelligent lock, can centrally manage the rights of all users, including family and visitors. Such management operations are performed by Alice's blockchain wallet and smart contracts, guaranteeing security and traceability.
12. Rights verification logic: the intelligent lock verifies the unlocking request by interacting with the local rights database. For example, when a guest Bob attempts to unlock using a one-time password, the smart lock may send a verification request to the local rights database. The local rights database checks the password for its validity and then grants or denies the unlock request. This process does not require the visitor himself to have a blockchain wallet.
Implementation mode
13. For Alice's family, their identity and unlocking rights are set by Alice through an intelligent contract. The intelligent lock automatically verifies the rights when receiving the unlocking attempt, and does not need the family to directly interact with the blockchain.
14. For the guest Bob, alice may generate a one-time password or temporary rights identification for him and record this information on the blockchain through the smart contract. When Bob attempts to unlock using this information, the smart lock is responsible for verifying its validity.
Security and management
15. Although guests and families do not directly use the blockchain wallet, their identity and rights information is still protected by blockchain technology, ensuring the non-tamper-evident nature of transaction records and the overall security of the system.
Alice, acting as a system administrator, ensures control and auditing capabilities of the system by performing all key operations, including rights management and unlocking records, through her blockchain wallet.
In summary, through proper design, the blockchain intelligent lock system based on the invention can provide safe and convenient use experience for different types of users, and simultaneously, the advantages of the blockchain technology are utilized to ensure the safety and reliability of the system.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (9)
1. A blockchain-based smart lock system, comprising: the system comprises a blockchain network, an intelligent contract deployed on the blockchain network, a decentralised application terminal and intelligent lock equipment;
The intelligent contract is used for managing user registration and authority allocation of the intelligent lock equipment, setting an unlocking strategy and recording an unlocking event;
The decentralizing application terminal and the intelligent lock equipment together initiate an administrator user registration application and a non-administrator user registration application to the intelligent contract; the administrator user manages the account numbers and the authorities of non-administrator users through the decentralizing application terminal;
The intelligent lock device is internally provided with a local storage module which is used for storing the identification information of the manager user and the non-manager user and the related information of the unlocking event; the intelligent lock device is also embedded with a blockchain wallet and is used for verifying and unlocking authorities, interacting with the intelligent contracts, uploading information related to unlocking events and monitoring intelligent contract events.
2. The blockchain-based intelligent lock system of claim 1, wherein the blockchain network selects a private blockchain or a public blockchain as the base frame.
3. The blockchain-based intelligent lock system of claim 1, wherein the intelligent contract includes a user information management module, a rights management module, an unlock record module;
The user information management module is used for storing user ID information, including administrator user ID information and non-administrator user ID information;
the right management module is used for responding to the request of an administrator user, adding non-administrator user ID information into the user information management module and distributing unlocking rights for different non-administrator users, wherein the unlocking rights comprise an unlocking mode and an unlocking validity period;
the unlocking record module is used for recording unlocking event related information, and the unlocking event related information comprises a user ID, unlocking time, an unlocking mode and an unlocking result corresponding to each unlocking.
4. The blockchain-based smart lock system of claim 3, wherein the unlock record module is further configured to record an abnormal violent unlock event.
5. The blockchain-based smart lock system of claim 1, wherein the identification information of the administrator user and the non-administrator user is encrypted by a hash algorithm and stored in a local storage module of the smart lock device.
6. The blockchain-based smart lock system of claim 1, wherein the smart lock device periodically verifies integrity and consistency with the smart contract based on an embedded blockchain wallet.
7. The blockchain-based intelligent lock system of claim 1, wherein the intelligent lock device is based on an embedded blockchain wallet, when unlocking is performed, firstly, an unlocking request of a user is obtained, local verification is performed on identity information of the user, if verification is not passed, the intelligent lock device communicates with a blockchain network, latest user registration information and authority allocation information in an intelligent contract are obtained, and verification is performed again.
8. The blockchain-based intelligent lock system of claim 1, wherein the intelligent lock device triggers a synchronous update operation of relevant data in the intelligent lock device when the intelligent lock device monitors an intelligent contract event based on an embedded blockchain wallet, if an administrator user initiates a non-administrator user registration application and management to the intelligent contract, and rights management of the non-administrator user.
9. The blockchain-based smart lock system of claim 1, wherein the smart lock device communicates with a blockchain network through LPWAN and uses an encrypted communication protocol to improve security of data transmissions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410506378.2A CN118692170A (en) | 2024-04-25 | 2024-04-25 | Intelligent lock system based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410506378.2A CN118692170A (en) | 2024-04-25 | 2024-04-25 | Intelligent lock system based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118692170A true CN118692170A (en) | 2024-09-24 |
Family
ID=92777935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410506378.2A Pending CN118692170A (en) | 2024-04-25 | 2024-04-25 | Intelligent lock system based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118692170A (en) |
-
2024
- 2024-04-25 CN CN202410506378.2A patent/CN118692170A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109272606B (en) | Intelligent lock supervision equipment and method based on block chain and storage medium | |
EP1389752B1 (en) | System and method for privilege delegation and control | |
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 | |
US8689013B2 (en) | Dual-interface key management | |
US8787902B2 (en) | Method for mobile-key service | |
US8971537B2 (en) | Access control protocol for embedded devices | |
CN104798083B (en) | For the method and system of authentication-access request | |
CN1323538C (en) | A dynamic identity certification method and system | |
US20020095573A1 (en) | Method and apparatus for authenticated dial-up access to command controllable equipment | |
EP3941014A1 (en) | Digital key-based identity authentication method, terminal apparatus, and medium | |
JP2023527862A (en) | Secure remote access to industrial control systems with hardware-based authentication | |
CN109285256A (en) | Computer room based on block chain authentication enter permission give method | |
CA3103667A1 (en) | Local authentication of communications device | |
CN116669888A (en) | Method for suspending protection of an object by a protection device | |
CN113781689A (en) | Access control system based on block chain | |
CN104135480A (en) | Entrance guard authorization system and entrance guard authorization method | |
WO2010048350A1 (en) | Card credential method and system | |
US20240356933A1 (en) | Man-In-The-Middle Extender Defense In Data Communications | |
CN118692170A (en) | Intelligent lock system based on block chain | |
CN105991524A (en) | Family information security system | |
CN117858079B (en) | Safety control method of building intercom system | |
CN118646557A (en) | Acquisition access and access control method and equipment based on industrial data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |