Intelligent lock system based on block chain

Through blockchain technology and smart contracts, a decentralized smart lock system is constructed, which solves the single point of failure, security and scalability problems caused by the centralized server in the smart lock system, and achieves efficient and safe permission management. and data processing, improving the overall reliability and user experience of the system.

CN118692170APending Publication Date: 2024-09-24WUHAN LANGYI INFORMATION TECH CO LTD

Patent Information

Application Number
CN202410506378.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing smart lock systems rely on centralized servers, which have single points of failure, security issues, scalability and cost issues, performance bottlenecks, and legal and compliance risks, affecting the security and reliability of the system.

Method used

Use blockchain technology and smart contracts to build a decentralized smart lock system, and jointly manage user registration, permission allocation and unlocking events through the blockchain network, smart contracts, decentralized application terminals and smart lock devices, using blocks The immutability and automatic execution characteristics of the chain improve the security and reliability of the system.

Benefits of technology

It realizes distributed permission management, avoids the security risks of single point of failure and centralized data storage, improves the security and reliability of the system, reduces human errors and delays, enhances the efficiency and response speed of the system, and reduces the cost of Operating costs and compliance risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118692170A
    Figure CN118692170A
Patent Text Reader

Abstract

The invention relates to an intelligent lock system based on a block chain. The intelligent lock system comprises a block chain network, an intelligent contract deployed on the block chain network, a decentralized application terminal and intelligent lock equipment, the intelligent contract is used for managing user registration and authority distribution of the intelligent lock equipment, setting an unlocking strategy and recording an unlocking event; the decentralized application terminal and the intelligent lock device jointly initiate an administrator user registration application and a non-administrator user registration application to the intelligent contract; the administrator user manages the account number and authority of the non-administrator user through the decentralized application terminal; a local storage module is arranged in the intelligent lock equipment and is used for storing identification information and unlocking event related information of administrator users and non-administrator users; and the intelligent lock device is also embedded with a block chain wallet for authority verification and unlocking, interacting with the intelligent contract, uploading unlocking event related information, and monitoring an intelligent contract event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart locks, and in particular to a decentralized smart lock system based on blockchain smart contracts. Background Art

[0002] The industry background of smart locks is driven by the rapidly developing smart home market, the advancement of Internet of Things (IoT) technology, and consumers' growing demand for home security and convenience. In recent years, smart locks have become a key component in the smart home ecosystem, and its market is expected to continue to grow rapidly.

[0003] The market demand drivers of this industry mainly include the following aspects. The first is security needs. The demand for security in homes and businesses is growing, and smart locks provide more advanced security solutions than traditional mechanical locks, such as intrusion alarms, access control records, etc. The second is convenience. Smart locks eliminate the need for traditional keys. Users can unlock using a variety of methods such as mobile phones, passwords, and biometrics, while supporting remote authorized access. There is also the need for smart home integration. As the smart home ecosystem matures, smart locks are integrated into home automation and work with smart lighting, security cameras, voice assistants and other devices to provide a more complete smart home experience.

[0004] The technology drive of the industry is also an important development factor. Mainly, the rapid development of Internet of Things (IoT) technology, mobile Internet technology and security technology has created conditions and foundations for the emergence and development of smart locks. The development of IoT technology enables smart locks to be easily connected to the Internet to achieve remote control, status monitoring and automation functions. This greatly improves the functionality and user experience of smart locks. The popularity of smartphones provides a convenient control interface for smart locks. Through a dedicated mobile APP, users can control and monitor smart locks anytime, anywhere and receive security alerts. With the development of encryption technology and biometric technology (such as fingerprint recognition and facial recognition), the security of smart locks has also been significantly improved.

[0005] The development of smart locks still has industry pain points, one of the important pain points is that security and reliability still need to be improved. The development of smart locks depends on technology, such as the Internet of Things (IoT) technology, mobile Internet technology, encryption technology, and biometric technology mentioned above. At present, the smart locks on the market are implemented by centralized servers, but many manufacturers still cannot guarantee the security of the cloud (centralized server), causing security issues.

[0006] There are some potential drawbacks and challenges in using a centralized server as the authentication and control center of a smart lock, mainly as follows:

[0007] 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 from technical failure, physical damage or network problems, the entire system may be paralyzed, causing all smart locks to fail to work properly and affecting users' daily use.

[0008] 2. Security issues. Centralized servers become potential targets of attack. If hackers successfully break into the system, they may gain control, tamper with permission data, or even remotely control all connected smart locks, posing serious security risks. Security issues also include data leakage risks. If sensitive data such as users' personal information and usage habits are accessed or misused without authorization, it will seriously infringe on users' privacy.

[0009] 3. Scalability and cost issues. As the number of connected smart locks increases, the amount of data and requests that the centralized server needs to process will also grow significantly, which may require more powerful hardware and more complex maintenance work, increasing the operating costs of the system. Expanding the server's capacity to accommodate more smart locks and users may require significant time and financial investment, affecting the scalability of the system.

[0010] 4. Performance bottleneck. All operations and data processing need to go through the central server, which may cause processing delays, especially during peak hours, affecting user experience. Strong network dependence. If there is a problem with the network connection between the central server and the smart lock, authentication and control instructions may not be transmitted in time.

[0011] 5. Update and maintenance issues. 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 the consistency and compatibility of software versions of all devices.

[0012] 6. Legal and compliance risk issues. Centralized data storage may need to comply with more stringent data protection regulations, such as the EU's General Data Protection Regulation (GDPR). Legal and compliance requirements may lead to additional compliance costs and operational complexity. Summary of the invention

[0013] In view of the technical problems existing in the prior art, the present invention provides a smart lock system based on blockchain, which combines the immutability of blockchain technology, distributed ledgers and the automatic execution characteristics of smart contracts to improve the security and reliability of the smart lock system.

[0014] The technical solution of the present invention to solve the above technical problems is as follows: a blockchain-based smart lock system, comprising: a blockchain network, a smart contract deployed on the blockchain network, a decentralized application terminal, and a smart lock device;

[0015] The smart contract is used to manage user registration and authority allocation of smart lock devices, set unlocking strategies, and record unlocking events;

[0016] The decentralized application terminal and the smart lock device jointly initiate an administrator user registration application and a non-administrator user registration application to the smart contract; the administrator user manages the account and authority of the non-administrator user through the decentralized application terminal;

[0017] The smart lock device is provided with a local storage module for storing identification information of administrator users and non-administrator users, and information related to unlocking events; the smart lock device also has a built-in blockchain wallet for authority verification and unlocking, and interacts with the smart contract, uploads information related to unlocking events, and monitors smart contract events.

[0018] Furthermore, the blockchain network selects a private blockchain or a public blockchain as a basic framework.

[0019] Furthermore, the smart contract includes a user information management module, a rights management module, and an unlocking record module;

[0020] The user information management module is used to store user ID information, including administrator user ID information and non-administrator user ID information;

[0021] The authority management module is used to respond to administrator user requests, add non-administrator user ID information in the user information management module, and assign unlocking permissions to different non-administrator users, wherein the unlocking permissions include unlocking methods and unlocking validity periods;

[0022] The unlocking record module is used to record unlocking event related information, and the unlocking event related information includes the user ID corresponding to each unlocking, the unlocking time, the unlocking method and the unlocking result.

[0023] Furthermore, the unlocking record module is also used to record abnormal violent unlocking events.

[0024] Furthermore, the identification information of the administrator user and the non-administrator user is encrypted by a hash algorithm and stored in the local storage module of the smart lock device.

[0025] Furthermore, the smart lock device regularly performs integrity and consistency verification with the smart contract based on the embedded blockchain wallet.

[0026] Furthermore, the smart lock device is based on an embedded blockchain wallet. When unlocking, it first obtains the user's unlocking request and locally verifies the user's identity information. If the verification fails, the smart lock device communicates with the blockchain network to obtain the latest user registration information and authority allocation information in the smart contract, and verifies again.

[0027] Furthermore, when the smart lock device monitors smart contract events based on the embedded blockchain wallet, if the administrator user initiates a non-administrator user registration application and management, as well as non-administrator user permission management to the smart contract, the synchronous update operation of relevant data in the smart lock device is triggered.

[0028] Furthermore, the smart lock device communicates with the blockchain network through LPWAN and uses an encrypted communication protocol to improve the security of data transmission.

[0029] The beneficial effects of the present invention are: utilizing the decentralized characteristics of blockchain to realize a distributed smart lock permission management system. Compared with traditional centralized servers, this mechanism significantly improves the security and reliability of the system because it avoids the security risks of single point failure and centralized data storage. The preset conditions and logic in the smart contract can automatically verify the user's unlocking request and permission change without the need for a centralized authentication service. This automatic execution mechanism reduces human errors and delays, and improves the efficiency and response speed of the smart lock system. Through the smart contract event triggering mechanism, real-time updating and synchronization of smart lock permission data is achieved. This ensures that the smart lock can make operation judgments based on the latest permission data at any time, increasing the flexibility of system use and user convenience. The present invention emphasizes the encryption of all data in the process of communicating with the blockchain network, ensuring the secure transmission and storage of sensitive information. This is particularly important for smart lock systems involving user identity and permission information. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A logical block diagram of a blockchain-based smart lock system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0032] In the description of the present application, the term "for example" is used to mean "used as an example, illustration or description". Any embodiment described as "for example" in the present application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid unnecessary details to obscure the description of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.

[0033] The application of blockchain technology in smart lock systems can solve many technical problems faced by traditional smart lock systems, mainly including security, transparency, data immutability, management efficiency and cost issues.

[0034] Here are some of the main technical problems that blockchain smart locks can solve:

[0035] 1. Single point of failure problem. The decentralized nature of blockchain means that there is no single point of failure (SPOF), which perfectly solves the single point of failure problem.

[0036] 2. Security issues. Encryption technology: Blockchain uses advanced encryption technology to protect data, ensuring that only users with the correct key can access or modify the data. Transaction traceability: Every transaction on the blockchain is traceable, and all access records are permanently stored and visible to all parties involved, which improves the transparency of the system. Data cannot be tampered with: Since all smart lock control operation records are tamper-proof and verifiable, once the data is recorded on the blockchain, it cannot be modified or deleted. This provides a strong guarantee to prevent data tampering and improve the overall security of the system, while making it easier and more reliable to audit or check historical records. This greatly reduces the risk of hacker attacks.

[0037] 3. Management efficiency issues. Through smart contracts, the allocation, change and revocation of access rights can be automated, reducing the need for manual operations and improving management efficiency and response speed. Blockchain technology decentralization can reduce or eliminate the need for intermediaries, simplify management processes and reduce costs.

[0038] 4. Cost efficiency issues. As the number of smart locks increases, the scalability and maintenance costs of centralized systems become challenges, and in centralized systems, system updates and maintenance may lead to service interruptions. The method of the present invention reduces system maintenance costs. Although the initial investment may be high, in the long run, the blockchain smart lock system can save costs by reducing intermediary fees, reducing fraud risks, and automating processes. Reduced operating costs: Automation and enhanced security can reduce additional costs caused by security issues or poor management.

[0039] 5. Legal and compliance risk issues. Decentralization and stricter encryption of blockchain data can better avoid legal and compliance risks.

[0040] 6. There are other similar technologies that use blockchain technology to achieve smart lock management, but their implementation methods are extremely complex and not as simple, clear, and easy to implement as the present invention. In particular, patent CN 109272606 A is also implemented using smart contracts, but its smart contracts are deployed in the smart lock, that is, the smart lock is connected to the blockchain network as a node, resulting in complex implementation, high power consumption, and the delay of the blockchain network will seriously affect practicality and user experience.

[0041] Specifically, Figure 1 As shown, an embodiment of the present invention provides a blockchain-based smart lock system, including: a blockchain network, a smart contract deployed on the blockchain network, a decentralized application terminal, and a smart lock device.

[0042] The present invention uses the existing blockchain network to provide a decentralized, tamper-proof data storage solution. Private blockchain is selected as the basic framework because it can provide faster processing speed and better privacy protection. If it is necessary to meet information security compliance requirements, public chains can also be used as the framework basis, but some fees (cryptocurrency) will be involved.

[0043] Smart contracts are deployed on the blockchain to manage smart lock user registration and authority allocation, and integrate multiple unlocking methods. Specifically, new users are registered through smart contracts, and unlocking permissions are allocated to users; different unlocking strategies can be set using smart contracts, such as time limits, combined verification of unlocking methods, etc., to meet different security requirements; unlocking events are recorded, and each unlocking event (including abnormal forced and violent unlocking) is recorded on the blockchain.

[0044] The decentralized application terminal and the smart lock device jointly initiate an administrator user and a non-administrator user registration application to the smart contract; the administrator user manages the account and authority of the non-administrator user through the decentralized application terminal. The decentralized application terminal is generally implemented by a smart phone with a decentralized application installed. It should be understood that the smart phone is not the only type of carrier. According to actual needs, a special smart terminal device can also be designed as a carrier of the decentralized application. It should be noted here that the administrator user and the non-administrator user are general users. A general user becomes an administrator user only after completing the administrator registration through the decentralized application terminal and the smart lock device. When applying for administrator user or non-administrator user registration, if biometric information, such as iris, fingerprint, face, etc., needs to be entered, it is necessary to use the decentralized application terminal to initiate the registration application, and then collect the identity information of the registered object through the smart lock device to realize the association between the registration information and the identity information. If the identity information does not need to be entered, for example, for temporary users, only a password needs to be assigned, and no biometric information needs to be collected, then it is only necessary to enter the corresponding password when initiating the registration application using the decentralized application terminal.

[0045] The smart lock device is provided with a local storage module for storing the identification information of administrator users and non-administrator users and information related to unlocking events. The identification information of administrator users and non-administrator users is encrypted by a hash algorithm and stored in the local storage module of the smart lock device. Here, the identification information of administrator users and non-administrator users 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 administrator users and non-administrator users is only stored in the local storage module of the smart lock device to ensure the security and privacy of user information.

[0046] The smart lock device also has a built-in blockchain wallet for permission verification and unlocking, and interacts with the smart contract, uploads information related to unlocking events, and monitors smart contract events.

[0047] Smart locks are smart devices with built-in blockchain wallets (the private key of the wallet is stored in a security module (such as TPM) inside the lock to prevent illegal extraction) and blockchain network connection capabilities (communication modules). They can perform operations and verifications specified by smart contracts. The device stores a copy of local permission data for offline unlocking operation verification. Smart lock devices interact directly with the blockchain network through the built-in network communication module (by using the API interface of the blockchain network) and listen to smart contract events. Smart contract events trigger the local synchronization of the latest permission data to ensure consistency with the information on the blockchain. Smart locks perform unlocking / locking operations based on the latest permission data obtained from the blockchain. The identification, encryption, and authentication of biometric information such as fingerprints, irises, and faces are the same as those of traditional smart locks. The smart lock communication module communicates with the blockchain network through LPWAN, and improves the security of data transmission through encrypted communication. Encrypted communication protocols, such as TLS, are used to ensure the security of data during transmission.

[0048] Based on the built-in blockchain wallet, when unlocking, the smart lock device first obtains the user's unlocking request and locally verifies the user's identity information. If the verification fails, the smart lock device communicates with the blockchain network to obtain the latest user registration information and permission allocation information in the smart contract, and verifies again. When monitoring smart contract events, if the administrator user initiates non-administrator user registration application and management, as well as non-administrator user permission management to the smart contract, the synchronous update operation of the relevant data in the smart lock device is triggered.

[0049] Furthermore, the smart contract includes a user information management module, a rights management module, and an unlocking record module.

[0050] The user information management module is used to store user ID information, including administrator user ID information and non-administrator user ID information. Specifically, the administrator user ID information and non-administrator user ID information are written into the smart contract by the user through the decentralized application terminal.

[0051] The authority management module is used to respond to administrator user requests, add non-administrator user ID information in the user information management module, and assign unlocking permissions to different non-administrator users. The unlocking permissions include unlocking methods and unlocking validity periods.

[0052] The unlocking record module is used to record unlocking event related information, including the user ID, unlocking time, unlocking method and unlocking result corresponding to each unlocking. Furthermore, the unlocking record module is also used to record abnormal violent unlocking events.

[0053] The technical solution of the embodiment of the present invention is further described below through specific scenarios.

[0054] User Alice purchased a blockchain-based smart lock for her smart home system. She hopes to be able to unlock it herself (via fingerprint and mobile phone NFC) and her family (via iris or facial recognition), and also wants to be able to remotely authorize visitors to unlock the lock.

[0055] The business process is as follows:

[0056] 1. User registration and authority allocation

[0057] Alice, as the administrator, first registers her fingerprint and mobile phone NFC identifier through the decentralized application and smart lock.

[0058] Using smart contracts, assign permanent unlocking permissions to Alice’s ID on the blockchain.

[0059] Alice also registered her family members’ iris and facial recognition information and set corresponding unlocking permissions.

[0060] Biometric information is stored locally in the smart lock using an encrypted hash function to ensure security and privacy, just like traditional smart locks.

[0061] 2. Unlocking process

[0062] The background program of the smart lock device monitors the events in the smart contract through the blockchain smart contract API and regularly obtains updated data from the blockchain network, such as permission update events and unlock events.

[0063] When Alice approaches the smart lock using fingerprint or NFC, the lock is activated and sends an unlock request. The smart lock queries the local permission database for the user ID permission and confirms its unlock permission.

[0064] After the permission verification is passed, the smart contract notifies the smart lock to unlock and records the unlocking event on the blockchain.

[0065] 3. Remote visitor authorization

[0066] Alice is expecting the arrival of visitor Bob and remotely generates a one-time unlock password for Bob through a decentralized application.

[0067] The smart contract records the one-time password and its validity period on the blockchain. The event is monitored by the smart lock background program and synchronized with the smart lock local permission database.

[0068] When Bob arrives, he enters the password, and the smart lock's local program verifies the validity of the password and authorizes unlocking.

[0069] 4. Low power consumption and communication

[0070] The smart lock communicates with the blockchain network through LPWAN (Low Power Wide Area Network, including NB-IoT, LoRa, Sigfox, eMTC) when needed, and is in a low power state at other times.

[0071] Unlocking operations and permission verification are done directly through the smart lock, and LPWAN communication is only used when blockchain data needs to be updated.

[0072] 5. Unlock records and security

[0073] Each unlocking event is recorded on the blockchain, including the unlocking time, user, and unlocking method.

[0074] In the above implementation case, the best practice is to let Alice and the smart lock have their own blockchain wallets. This approach not only ensures the security of the operation, but also facilitates the management and tracking of transactions. The following is a detailed explanation of how the two work:

[0075] 6. Administrator (Alice)’s blockchain wallet

[0076] Purpose: Alice's wallet is mainly used for identity authentication, permission management, and performing operations related to smart contracts, such as registering users, assigning and modifying permissions, etc.

[0077] Security: Alice’s wallet private key ensures that only Alice can perform specific smart contract operations, increasing the security of the system.

[0078] This private key should not be stored on the smart lock device, but managed through more secure means such as a hardware wallet or a secure software wallet application.

[0079] 7. Blockchain wallet with smart lock

[0080] Purpose: The wallet of the smart lock is mainly used to record unlocking events and verify the permissions of unlocking requests on the blockchain. As an independent entity, the smart lock interacts with the blockchain through its wallet, and can automatically complete permission verification and record unlocking events without Alice's intervention every time.

[0081] Automated operation: Smart locks interact with blockchain through built-in logic and smart contracts to automate unlocking operations. For example, when Alice updates user data and permission management data on the blockchain, the smart lock device background program regularly obtains updated data from the blockchain network through the blockchain smart contract AP to monitor events in the smart contract, automatically initiates verification requests to the blockchain, and updates the local permission database based on the response of the smart contract.

[0082] Security: The blockchain wallet of the smart lock also needs security management. The private key of the wallet should be securely stored in the security module (such as TPM) inside the lock to prevent illegal extraction.

[0083] 8. Interaction process

[0084] Permission management: Alice sends instructions to the smart contract through her blockchain wallet to register user information or update permission settings.

[0085] Unlock request: When unlocking is required, the lock body activates and sends an unlock request. The smart lock queries the local permission database for the user ID permission and confirms its unlock permission. This request contains the requester's verification information and the timestamp of the request.

[0086] Permission verification and recording: The smart lock verifies the unlock request, confirms whether the requester has permission, and records the unlock event on the blockchain, using the smart lock’s wallet address as the initiator of the record.

[0087] Through this design, a high degree of security and operability can be achieved, while ensuring the decentralization and transparency of the smart lock system.

[0088] 9. Other users do not need a blockchain wallet

[0089] In the above design, visitors Bob and Alice's family do not necessarily need to have their own blockchain wallets. This is because the design of the smart lock system can handle permission verification and unlocking operations through Alice's management operations or the smart lock's own logic, without directly relying on each user's blockchain wallet. This design takes into account user-friendliness and system practicality, especially for those users who are not familiar with blockchain technology. The following is a further explanation of this design choice

[0090] Other reasons why users don't need a blockchain wallet

[0091] 10. Simplify user experience: For ordinary users who are not familiar with blockchain, creating and managing blockchain wallets may be a technical threshold.

[0092] By not requiring each user to have their own wallet, the smart lock system can be made more user-friendly, easier to accept and use.

[0093] 11. Centralized management: As the administrator of the smart lock, Alice can centrally manage the permissions of all users, including family members and visitors. Such management operations are performed through Alice's blockchain wallet and smart contracts, ensuring security and traceability.

[0094] 12. Permission verification logic: The smart lock verifies the unlock request by interacting with the local permission database. For example, when visitor Bob tries to unlock the door using a one-time password, the smart lock sends a verification request to the local permission database. The local permission database checks the password and its validity, and then authorizes or denies the unlock request. This process does not require the visitor to have a blockchain wallet.

[0095] Implementation

[0096] 13. For Alice's family, their identities and unlocking permissions are set by Alice through smart contracts. The smart lock automatically verifies these permissions when receiving an unlock attempt, without the family directly interacting with the blockchain.

[0097] 14. For visitor Bob, Alice can generate a one-time password or temporary permission identification for him and record this information on the blockchain through a smart contract. When Bob uses this information to try to unlock the door, the smart lock is responsible for verifying its validity.

[0098] Security and Management

[0099] 15. Although visitors and family members do not use blockchain wallets directly, their identity and authority information are still protected by blockchain technology, ensuring the immutability of transaction records and the overall security of the system.

[0100] 16. Alice, as the system administrator, performs all key operations through her blockchain wallet, including permission management and unlocking records, ensuring the control and audit capabilities of the system.

[0101] In summary, through proper design, the blockchain smart lock system based on the present invention can provide a safe and convenient user experience for different types of users, while taking advantage of the advantages of blockchain technology to ensure the security and reliability of the system.

[0102] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0103] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A smart lock system based on blockchain, characterized in that: include: Blockchain network, smart contracts deployed on the blockchain network, decentralized application terminals, and smart lock devices; The smart contract is used to manage user registration and authority allocation of smart lock devices, set unlocking strategies, and record unlocking events; The decentralized application terminal and the smart lock device jointly initiate an administrator user registration application and a non-administrator user registration application to the smart contract; The administrator user manages the accounts and permissions of non-administrator users through the decentralized application terminal; The smart lock device is provided with a local storage module for storing identification information of administrator users and non-administrator users, and information related to unlocking events; The smart lock device also has a built-in blockchain wallet for permission verification and unlocking, and interacts with the smart contract, uploads information related to unlocking events, and monitors smart contract events.

2. The blockchain-based smart lock system according to claim 1 is characterized in that: The blockchain network selects a private blockchain or a public blockchain as a basic framework.

3. The blockchain-based smart lock system according to claim 1 is characterized in that: The smart contract includes a user information management module, a rights management module, and an unlocking record module; The user information management module is used to store user ID information, including administrator user ID information and non-administrator user ID information; The authority management module is used to respond to administrator user requests, add non-administrator user ID information in the user information management module, and assign unlocking permissions to different non-administrator users, wherein the unlocking permissions include unlocking methods and unlocking validity periods; The unlocking record module is used to record unlocking event related information, and the unlocking event related information includes the user ID corresponding to each unlocking, the unlocking time, the unlocking method and the unlocking result.

4. The blockchain-based smart lock system according to claim 3 is characterized in that: The unlocking record module is also used to record abnormal violent unlocking events.

5. The blockchain-based smart lock system according to claim 1 is characterized in that: The identification information of the administrator user and the non-administrator user is encrypted by a hash algorithm and stored in the local storage module of the smart lock device.

6. The blockchain-based smart lock system according to claim 1 is characterized in that: The smart lock device regularly performs integrity and consistency verification with the smart contract based on the embedded blockchain wallet.

7. The blockchain-based smart lock system according to claim 1 is characterized in that: The smart lock device is based on an embedded blockchain wallet. When unlocking, it first obtains the user's unlocking request and locally verifies the user's identity information. If the verification fails, the smart lock device communicates with the blockchain network to obtain the latest user registration information and authority allocation information in the smart contract, and verifies again.

8. The blockchain-based smart lock system according to claim 1, characterized in that: The smart lock device is based on the embedded blockchain wallet. When monitoring smart contract events, if the administrator user initiates a non-administrator user registration application and management, as well as non-administrator user permission management to the smart contract, it triggers a synchronous update operation of the relevant data in the smart lock device.

9. The blockchain-based smart lock system according to claim 1, characterized in that: The smart lock device communicates with the blockchain network through LPWAN and uses an encrypted communication protocol to improve the security of data transmission.

Citation Information

Patent Citations

  • Intelligent lock supervision device and method based on blockchain, and storage medium

    CN109272606A

  • Block chain network, electronic lock control method thereof, terminal equipment and storage medium

    CN111163034A

  • Electronic lock control method and system based on block chain network and request end

    CN114662161A

  • Remote unlocking method and system based on block chain and electronic lock

    CN115909554A

  • Intelligent lock control method and device based on block chain contract event mechanism

    CN116152968A

Cited By

  • Decentralization Internet of Things security framework system based on block chain

    CN119210687A