Intelligent lock management systemTechnical Field
The invention relates to the technical field of intelligent locks, in particular to an intelligent lock management system.
Background
The block chain is a chain formed by blocks, and each block stores certain information which are connected into the chain according to the time sequence generated by each block. This chain is maintained in all servers, and as long as one server can work in the entire system, the entire blockchain is secure. These servers, referred to as nodes in the blockchain system, provide storage space and computational support for the entire blockchain system. If the information in the block chain is to be modified, more than half of the nodes must be proved to agree and modify the information in all the nodes, and the nodes are usually held in different subjects, so that the information in the block chain is extremely difficult to tamper with.
The MetaID is a distributed DID system (Decentralized ID) of the BSV-based blockchain, and essentially organizes the discrete transactions on the blockchain for storage on a user-controlled MetaID structure. User data is stripped from the application and wallet side while giving control to the user, thereby giving the transaction more value.
At present, when the intelligent lock is managed, a third-party background server is required to be relied on, so that the use cost is high, the safety is poor, and the use requirements of users cannot be met.
To sum up, the development of an intelligent lock management system is still a key problem to be solved urgently in the technical field of intelligent locks.
Disclosure of Invention
In view of the above disadvantages in the prior art, the present invention provides an intelligent lock management system, which combines a bluetooth intelligent lock with a block chain technology, and can achieve a lower cost, safer and more reliable management effect without depending on a third-party background server.
In order to realize the purpose, the invention provides the following technical scheme:
the invention provides an intelligent lock management system, which comprises an application end, a storage end, a block chain module and an application lock end, wherein the application end comprises:
the application terminal is used for acquiring information and sending a control instruction;
the storage end is used for generating a public and private key pair and acquiring and processing information, and is in signal connection with the application end;
the block chain module is used for acquiring information on a chain, and is in signal connection with the application end and the storage end;
the application lock end is used for operation feedback and uploading in-lock information, and the application lock end is connected with the application end in a Bluetooth mode.
The invention is further configured to: the application end comprises an application APP module and a second Bluetooth module, wherein:
the application APP module is used for providing registered or logged-in applications;
the second Bluetooth module is used for realizing information interaction between the application end and the application locking end and is connected with the application APP module.
The invention is further configured to: the application end further comprises a first transceiver module and a first communication module, wherein:
the first transceiver module receives the interacted information from a storage end, and is connected with an application APP module;
the first communication module is used for realizing the mutual information between the application end and the storage end and is connected with the first transceiver module.
The invention is further configured to: the first communication module is further connected with the application APP module.
The invention is further configured to: the storage end comprises an application wallet module, a second transceiving module and a second communication module, wherein:
the application wallet module is used for generating a public and private key pair and processing information;
the second transceiver module is used for generating an acquisition instruction and is connected with the application wallet module;
the second communication module is used for realizing information interaction between the storage end and the application end, and the second communication module is connected with the second transceiver module.
The invention is further configured to: the second communication module is also connected with the application wallet module.
The invention is further configured to: the information processing includes operations of creating, modifying, reading and deleting information.
The invention is further configured to: the application lock end comprises an intelligent lock and a first Bluetooth module, wherein:
the intelligent lock is used for feeding back an operation result and uploading in-lock information;
the first Bluetooth module is used for realizing information interaction between the application lock end and the application end, and the first Bluetooth module is connected with the intelligent lock.
Advantageous effects
Compared with the known public technology, the technical scheme provided by the invention has the following beneficial effects:
the intelligent lock management system provided by the invention establishes communication connection between the application end and the application lock end through the Bluetooth, and establishes reliable connection among the application end, the storage end and the block chain module, and can realize lower cost, safer and more reliable management effects without depending on a third-party background server based on the Bluetooth intelligent lock and the block chain technology.
Drawings
Fig. 1 is a system diagram of an intelligent lock management system according to the present invention;
fig. 2 is a schematic diagram of an application end in an intelligent lock management system provided in the present invention;
fig. 3 is a schematic diagram of a storage end in an intelligent lock management system according to the present invention;
fig. 4 is a schematic diagram of an application lock end in an intelligent lock management system provided by the present invention.
The numbering in the figures illustrates:
100. an application end; 110. applying an APP module; 120. a second Bluetooth module; 130. a first transceiver module; 140. a first communication module; 200. a storage end; 210. an application wallet module; 220. a second transceiver module; 230. a second communication module; 300. a block chain module; 400. applying a locking end; 410. an intelligent lock; 420. a first Bluetooth module.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention; it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and all other embodiments obtained by those skilled in the art without any inventive work are within the scope of the present invention.
In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "top/bottom", etc. indicate orientations or positional relationships based on orientations or positional relationships shown in the drawings, which are merely for convenience of description and simplification of description, but do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "disposed," "sleeved/connected," "connected," and the like are to be construed broadly, e.g., "connected," which may be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; the two components can be directly connected or indirectly connected through an intermediate medium, and the two components can be communicated with each other; the specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Example (b):
referring to fig. 1-4, the present invention provides an intelligent lock management system, which includes anapplication end 100, astorage end 200, ablockchain module 300, and anapplication lock end 400, wherein: theapplication terminal 100 is used for information acquisition and control instruction sending; thestorage end 200 is used for generating a public and private key pair and acquiring and processing information, and thestorage end 200 is in signal connection with theapplication end 100; theblock chain module 300 is used for acquiring information on a chain, and theblock chain module 300 is in signal connection with theapplication terminal 100 and thestorage terminal 200; theapplication lock terminal 400 is used for operation feedback and uploading in-lock information, and theapplication lock terminal 400 is connected with theapplication terminal 100 through bluetooth.
Further, theapplication terminal 100 includes anapplication APP module 110 and asecond bluetooth module 120, wherein: theapplication APP module 110 is used to provide registered or logged-in applications; thesecond bluetooth module 120 is used for implementing information interaction between theapplication terminal 100 and theapplication lock terminal 400, and thesecond bluetooth module 120 is connected with theapplication APP module 110; theapplication 100 further includes afirst transceiver module 130 and afirst communication module 140, wherein: thefirst transceiver module 130 receives the exchanged information from thestorage 200, and thefirst transceiver module 130 is connected to theAPP application module 110; thefirst communication module 140 is used for implementing information interaction between theapplication terminal 100 and thestorage terminal 200, and thefirst communication module 140 is connected with thefirst transceiver module 130; thefirst communication module 140 is also connected to theAPP module 110.
In this embodiment, theapplication 100 serves as a sender to send an operation request to thestorage 200, thestorage 200 serves as a receiver to complete a request of theapplication 100 for registering or logging in the MetaID, and in addition, theapplication 100 may also establish a bluetooth connection with theapplication lock 400 through thesecond bluetooth module 120, so that thesmart lock 410 can send a public key to theapplication APP module 110.
Further, thestorage end 200 includes anapplication wallet module 210, asecond transceiver module 220, and asecond communication module 230, wherein: theapplication wallet module 210 is used for generating a public and private key pair and processing information; thesecond transceiver module 220 is configured to generate an acquisition instruction, and thesecond transceiver module 220 is connected to theapplication wallet module 210; thesecond communication module 230 is used for implementing information interaction between thestorage end 200 and theapplication end 100, and both thesecond communication module 230 and thesecond transceiver module 220 are connected; thesecond communication module 230 is also connected with theapplication wallet module 210; information processing includes create, modify, read, and delete operations of information.
In this embodiment, thestorage 200 establishes a communication connection with theapplication 100 through thesecond communication module 230, and when information needs to be obtained, theapplication wallet module 210 sends an instruction to thesecond transceiver module 220, and then thesecond transceiver module 220 obtains corresponding information from theapplication APP module 110 through thesecond communication module 230.
Further, theapplication lock terminal 400 includes asmart lock 410 and afirst bluetooth module 420, wherein: theintelligent lock 410 is used for feeding back operation results and uploading in-lock information; thefirst bluetooth module 420 is used for realizing information interaction between theapplication lock terminal 400 and theapplication terminal 100, and thefirst bluetooth module 420 is connected with thesmart lock 410.
In this embodiment, thesmart lock 410 establishes a bluetooth connection with theAPP module 110 through thefirst bluetooth module 420 and thesecond bluetooth module 120, so that thesmart lock 410 can feed back an operation result to theAPP module 110 and upload lock internal information.
When the bluetooth initializes the lock, theAPP module 110 realizes the SDK communication with thesmart lock 410 through thesecond bluetooth module 120 and thefirst bluetooth module 420, the bluetooth initializes the lock, thesmart lock 410 sends the public key to theAPP lock end 400, theAPP module 110 receives the feedback information through thesecond bluetooth module 120, the APP end 100 signs the lock information data using the private key of the Path, the APP end 100 uplinks the signed lock information to the etaID tree of the logged-in user, and the whole process of the lock initialization is completed.
When the bluetooth is unlocked/locked, theapplication APP module 110 acquires existing lock list data from the MetaID tree, theapplication APP module 110 signs lock information and an operation instruction through a private key of a Path, theapplication APP module 110 sends the signed data to theintelligent lock 410 through the SDK, theintelligent lock 410 verifies the signed information after receiving the data, analyzes the signed information again, corresponding unlocking/locking operation is performed, and the unlocking/locking operation flow is completed.
When sharing the bluetooth key, theAPP module 110 obtains existing lock list data from the MetaID tree, then theAPP module 110 signs the lock information and the information of the key receiver through the private key of the Path, and finally theAPP module 110 chains the signed information to complete bluetooth key sharing.
When the lock is deleted, theAPP module 110 and thesmart lock 410 communicate via the SDK, the bluetooth deletes the lock, thesmart lock 410 returns a successful deletion result, theAPP module 110 signs (blank) lock information data using a private key of the Path, and theAPP module 110 links the signed (blank) lock information to the MetaID tree of the logged-in user to complete the whole lock deletion process.
The above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.