Integral Frame Design

更新时间:2019-08-14 20:34:00点击:482 Technical framework

Traceability Chain (OTI) Eco-block Chain aims to provide an open traceability tool for the global smart lock industry, to build new resources for consumers and smart lock institutions, which has a basic technology framework based on block chain technology.

5.1 Whole Frame Design

After many experiments, the feasibility of the bottom technology framework of block chain is obtained. This paper will analyze the framework one by one from multiple dimensions.


5.2 Infrastructure

Infrastructure layer realizes the recording, validation and dissemination of information in OT block chain system.

Block chain is a distributed system based on communication mechanism, verification mechanism and storage mechanism. There is no centralized hardware or management organization in the whole network. Any node has the opportunity to participate in the record and verification of the general ledger, broadcast the calculation results to other nodes, and either node is damaged or withdrawn. It does not affect the operation of the whole system.

1) Network Discovery

Block chain system has many nodes connected by network, especially in common chain system, the number of nodes is often large. Each node needs to discover its neighbor nodes through the network discovery protocol and establish a link with the neighbor nodes.

For block chains, network discovery protocols also need to verify the identity of nodes to prevent various network attacks.

2) Data Receiving and Sending

After the node is connected to the neighbor node through the network communication protocol, the data transceiver module completes the data exchange with other nodes. Things broadcasting, message consensus and data synchronization are all implemented by this module. According to the architecture of different block chains, the design of data transceiver needs to consider the number of nodes, cryptographic algorithm and other factors.

3) Cryptographic Library

Many links in block chains involve cryptographic algorithms.

The cryptographic library provides basic cryptographic algorithm support for the upper components, including various commonly used encoding algorithms, hashing algorithms, signature algorithms, privacy protection algorithms and so on.

At the same time, cryptographic libraries also involve functions such as key maintenance and storage.

4) Data storage

According to data type and system structure design, different data storage modes are used in block chain system.

Storage patterns include relational databases (such as MySQL) and non-relational databases (such as LevelDB).

Usually, the data to be saved includes public data (e.g. transaction data, transaction data, status data, etc.) and local private data.

5) Message Notification

Message notification module provides message notification service for different components in block chain and different nodes.

After a successful transaction, the customer usually needs to track the record during the execution of the transaction and obtain the results of the execution of the transaction.

Message notification module can complete message generation, distribution, storage and other functions to meet the needs of block chain system.

Recommended Reading