Intelligent encryption module in block chain system
Technical Field
The invention relates to the technical field of Internet, in particular to an intelligent encryption module in a block chain system.
Background
In a block chain application system, the advantages of the block chain have the safety of storing data, and meanwhile, distributed verification and the like are realized through a consensus algorithm; through the intelligent encryption module of design, provide a system that blockchain and intelligent hardware combined together. To sum up, the drawbacks of the prior art are: in the current blockchain technology, as the blockchain technology just rises, the development is still slow in other application scenes, especially in the process of combining with intelligent hardware; the binding sites are not very numerous, but the trend of binding becomes more and more pronounced.
Disclosure of Invention
Aiming at the defects, the invention aims to solve the problems that in the following process of combining the blockchain technology with the Internet of vehicles technology, the Internet of things technology and the intelligent equipment technology, the provided universal combination technology reduces the implementation difficulty, reduces the implementation cost, expands the implementation range and realizes standardized operation in the process of combining the blockchain technology with other technologies.
The invention is realized by the following technical scheme:
an intelligent encryption module in a blockchain system, the intelligent encryption module in the blockchain system comprising: the modularized packaging technology is adopted, protocols for communication with the blockchain nodes are made into application communication modules, analysis among instruction protocols is made into instruction analysis modules, and the module can support multiple communication modes of 2G/3G/4G/5G/NB-IoT/LORA/ZiggerB, and also comprises a basic GPS/Beidou information positioning module, a data caching module, a timer module, a protection module, a power supply module, a general control module and an encryption module for executing an encryption algorithm, wherein the data caching module, the timer module, the protection module, the power supply module, the general control module and the encryption module are received through a data interface module.
As an improvement of the technical scheme, the intelligent encryption module in the blockchain system is operated as follows:
step 1: firstly, combining an intelligent encryption module with intelligent equipment, wherein the intelligent equipment needs to connect a data interface module, connect the data interface module with the intelligent encryption module, and simultaneously needs to be combined with a power supply module to provide external power for the intelligent encryption module;
step 2: after implementation is completed, the intelligent equipment is started, the intelligent encryption module performs normal work, receives data through the data interface module, caches the data into the cache module, when the data of the cache module reaches a threshold value set by the master control module, selects data cached in the early stage from the cache module for data packaging, places the data packaging into the encryption module for data encryption after the data packaging, and enters the communication module for data uploading to a node of a block chain corresponding to the intelligent encryption module, wherein the corresponding relation between the data and the node is one-to-one;
step 3: when the block chain node sends an instruction to the intelligent encryption module, the communication module receives instruction data, the instruction data is started to the analysis module for analysis, and the analyzed instruction is submitted to the master control module for corresponding operation treatment;
step 4: the timer module can automatically detect network communication conditions, data caching conditions, general control task conditions and the like at regular time, and can check a time clock at regular time.
As an improvement of the above technical solution, the smart device in step 1 includes: vehicle event data recorder, on-vehicle refrigerator, on-vehicle charger, family's intelligent audio amplifier, sweeping machine and printer.
The invention has the beneficial effects that: the implementation of the scheme simplifies the application combination of the block chain system node and the intelligent equipment, breaks through the barriers of the block chain system and the intelligent equipment in various aspects such as data, protocols, instructions and the like, and simplifies the operation of each level.
Detailed Description
Examples
The intelligent encryption module in the blockchain system is characterized in that firstly, the intelligent encryption module is combined with intelligent equipment (including a vehicle recorder, a vehicle-mounted refrigerator, a vehicle-mounted charger, a household intelligent sound box, a sweeper, a printer and the like), the intelligent equipment needs to connect a data interface module, connects the data interface module to the intelligent encryption module, and meanwhile needs to be combined with a power supply module to supply external power for the intelligent encryption module;
after implementation is completed, the intelligent equipment is started, the intelligent encryption module normally works, data is received through the data interface module and is cached to the cache module, when the data of the cache module reaches a threshold value set by the master control module, the data cached in the early stage is selected from the cache module to carry out data package, the package is put into the encryption module to carry out data encryption after the data package, the encrypted data enters the communication module to carry out data uploading to a node of a block chain corresponding to the intelligent encryption module, and the corresponding relation between the data and the node is one-to-one;
when the block chain node sends an instruction to the intelligent encryption module, the communication module receives instruction data, the instruction data is started to the analysis module for analysis, and the analyzed instruction is submitted to the master control module for corresponding operation treatment;
the timer module can automatically detect network communication conditions, data caching conditions, general control task conditions and the like at regular time, and can check a time clock at regular time.
The intelligent encryption module provides a caching mechanism, the technology comprises 2 layers, 1 is used for caching data accessed by the data interface module, 2 is used for enabling a power supply system of the intelligent encryption module to act in the power failure process of the intelligent equipment, a built-in super capacitor of the intelligent encryption module delays the closing time of the intelligent encryption module, a master control module starts a closing event operation task, cached information is locally stored and uploaded after the master control module is started, meanwhile, a block chain system node is informed of the intelligent encryption module through an instruction module and a communication module, the power consumption of the block chain node is reduced, and the energy consumption is reduced.
The invention solves the problems that in the following process of combining the blockchain technology with the Internet of vehicles technology, the Internet of things technology and the intelligent equipment technology, the general combination technology is provided, the implementation difficulty is reduced, the implementation cost is reduced, the implementation range is enlarged, and the standardized operation is realized.
Although the invention has been described hereinabove with reference to embodiments, various modifications may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In particular, the features of the disclosed embodiments may be combined with each other in any manner as long as there is no structural conflict, and the present disclosure is not to be taken into account by way of the exhaustion of these combinations only for the sake of omitting the descriptions and saving resources. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.