Abstract: Huawei Cloud BCS service is a high performance, high availability and high security blockchain technology platform service for enterprises and developers. It enables enterprises and developers to quickly and cheaply create, deploy and manage blockchain applications on Huawei Cloud.

This article is shared from Huawei Cloud community “Take you into the” Huawei Chain “, a new self-developed kernel based on Huawei blockchain platform “, author: Pipi love to eat shrimp.

Huawei Cloud BCS service is a high performance, high availability and high security blockchain technology platform service for enterprises and developers, enabling enterprises and developers to quickly and cheaply create, deploy and manage blockchain applications on Huawei Cloud. The overall architecture of Huawei Cloud Blockchain platform is as follows:

Huawei Cloud creates a one-click link mode for customers to reduce the use cost of users as much as possible. Huawei cloud blockchain has supported the blockchain service based on HyperLedgerFabric as the underlying core, and now the “huawei chain” based on the new self-developed blockchain kernel with independent intellectual property rights will be launched.

In recent years, blockchain industry technology has developed rapidly and rapidly. Blockchain technology has brought great convenience, enhanced mutual trust and sharing, as well as the stability of business systems and so on. Blockchain technology has been continuously enriched and expanded in the actual industry, and has been gradually applied in various scenarios such as government affairs, finance, logistics and medical care. However, there are still some pain points in the current industry promotion. The main factors that will hinder the development speed of the blockchain industry include: low transaction performance, difficult scale expansion; Weak security and privacy protection ability, incompatibility with the existing business system, high renovation cost, ecological intercommunication, data island link coordination is difficult, etc. Focusing on the above-mentioned factors that hinder the development of blockchain industry, Huawei Cloud has made great efforts to build and will soon launch its self-developed Huawei Chain. Starting with some key technologies of Huawei chain, we will take you to further understand Huawei chain.

Trusted RaftTEE consensus supports high throughput transactions: the traditional PBFT consensus algorithm has a large amount of message interaction and the message complexity is O(N^2), while Huawei chain uses Raft consensus to greatly reduce the message interaction and the message complexity is O(N), which is more suitable for large-scale networks. In addition, TEE trusted execution environment is used to implement consensus core logic, and BFT problem is transformed into CFT problem, which preserves BFT consensus security and greatly improves efficiency.

Hierarchical network management supports super-large-scale node networks: Traditional blockchain networks use the Gossip protocol for data synchronization. Due to the redundant information in Gossip itself, network performance deteriorates rapidly as the number of nodes increases. Huawei chain adopts hierarchical management. Data synchronization spreads from the core to the edge, reducing the number of redundant messages and reducing the impact on performance.

Trusted smart contract engine ensures secure execution of contracts: Traditional blockchain nodes, smart contracts run on the REE side, low security level, contract logic may be maliciously tampered with, resulting in changes in state data not trusted. In addition, the DATA on the REE side is encrypted, lacking the protection of the root secret key, and is not secure enough. However, Huawei chain takes advantage of a feasible execution environment to undertake the operation of smart contracts, with high security level. Combined with remote certificate, it prevents the contract logic from being maliciously tampered with and ensures the credibility of transaction results. Data protection The root secret key is saved in TEE to prevent data from being stolen and cracked.

The combination of hardware and software with reliable cross-chain relay creates a lightweight and easily adaptable cross-chain system: Traditional blockchain platform, the underlying technologies are different, each ecosystem is independent of each other, and the upper business is isolated from each other, forming a large number of data islands. Cross-chain interaction depends on relay chain, hash locking and other methods, low efficiency, insufficient privacy protection. However, Huawei chain combines with trusted hardware and makes use of trusted execution environment to create cross-chain relay, with reliable status data and better privacy protection. It is easy to adapt across link ports, and the original link logic is not modified, which is more friendly to heterogeneous systems.

SQL smart contract improves ease of use and reduces learning cost: Traditional blockchain platforms, mostly using KV data model, do not support complex relationship expression. Colleagues business staff need to conduct separate contract development according to the programming language framework of each blockchain platform, adding learning costs. Huawei supports relational data model and common SQL interface for writing contracts. Business people don’t need to learn other languages and can use blockchain like a database. In contrast, SQL smart contract provides richer, more universal data model, close to the existing business, reduce learning costs.

Generally speaking, Huawei Chain has built an autonomous and controllable blockchain platform focusing on large-scale, high performance and privacy protection, and there are no difficulties such as open source components in meeting the domestic market access requirements. In addition, with high-performance Raft trusted consensus and hardware cryptography acceleration engine, the transaction performance is greatly improved to solve the problem of scale expansion. And based on the trusted environment to achieve the software and hardware security privacy protection; Support SQL smart contract to reduce user learning and business transformation costs; And support cross – chain multi – chain collaboration technology. It is believed that with all the above advantages, Huawei chain will occupy a place in the blockchain market in the future.

Click follow to learn about the fresh technologies of Huawei Cloud