Abstract: is facing the challenge of the next-generation information system, how to open up multiple data and break through the data island? Under the centralized management mode, how to solve the problem of difficult protection of privacy?

This article is shared from Huawei Cloud Community " Five-layer Self-Immune System, Developer Business Successfully Chain 160c6cd412e872", the original author: Qiming.

Blockchain is currently a relatively hot topic. In this year’s National Fourteenth Five-Year Plan, blockchain has been listed as one of the seven major digital economy industries, and it will serve as the digital economy and digital China’s next five-year plan. Carrier.

Since Bitcoin entered the field of vision in 2008, people have the initial understanding and concept of blockchain, which is the most typical application of blockchain. Broadly speaking, blockchain is to verify and store data through a block-chain data structure, consensus algorithms to generate or update ledgers, cryptography technology to ensure data interaction, and security issues of identity authentication, and finally execute scripts through automation The composed smart contract is a distributed architecture system for programming and manipulating data.

In the face of the challenges of the next generation of information systems, how to open up data from multiple parties and break through data islands? Under the centralized management mode, how to solve the problem of difficult protection of privacy? At the Huawei Developer Conference in 2021, Mr. Zhang Ziyi, Chief Architect of Huawei Cloud Blockchain, will answer Huawei's five-layer verification self-immunity system and how to protect against potential loopholes in the blockchain business.

HUAWEI CLOUD blockchain decentralized model delivers value and builds a credible system

HUAWEI CLOUD Blockchain uses blockchain plus smart contracts to transform the very low-trust and centralized information replication model into a multi-centralized model of mutual trust and mutual assistance for value delivery, and use blockchain technology to help enterprises achieve Commercial success promotes the sharing of data, optimizes the business process of the enterprise, reduces operating costs, improves collaboration efficiency, and at the same time builds a credible system to provide developers with a convenient and feasible blockchain system.
image.png

Five-layer verification blockchain system to escort safety protection

carried out the HUAWEI CLOUD series security certification from the physical layer of the blockchain operating environment, consensus protocol, transaction node, contract execution environment, and business code writing 160c6cd412e90f, providing trusted operations based on HUAWEI CLOUD Euler system The system environment and the kernel are verified by means of formal verification, thereby optimizing the consensus protocol within the entire blockchain architecture, providing a complete set of static scanning + formal verification capabilities, identifying potential business vulnerabilities, and supporting the enterprise's overall business logic , The correctness of the business code and security protection.
image.png

HUAWEI CLOUD Blockchain Panorama

From the perspective of the panorama, Huawei Cloud Blockchain is committed to providing an efficient, secure, easy-to-use, and open system-level network environment that supports multi-cloud and cross-cloud deployment capabilities. That is, when the majority of developers build their own blockchain applications, they can realize online connections in multi-cloud and edge scenarios, and build a complete set of data interaction and data exchange processes, based on the native container engine of the public cloud and HUAWEI CLOUD AI Cloud security, log and other capabilities, provides trusted sharing, computing sandbox, distributed identity, light node, multi-party computing, cross-chain transactions and other services . At the same time, it supports a series of basic capabilities such as the ability to support multiple business innovations and model innovations, and blockchain alliance management.

Huawei Cloud Blockchain supports the capabilities of mature communities in the industry and provides Huawei's self-developed chain capabilities. At present, it has reached the scale of 100,000-level TPS and 10,000-level nodes. It is the industry's only new edge-cloud integrated solution, ensuring the safety and reliability of enterprise-wide transactions and applications.
image.png

HUAWEI CLOUD blockchain services comply with cloud-native standards. The ability to build blockchains based on a cloud-native system has extremely high reliability and scalability, dual-core support, allowing dynamic members to join, node elastic scalability, and flexible deployment. Mode, but also supports hybrid deployment and interconnection. For developers, it is easy to build a complete set of application systems on the cloud by using Huawei Cloud blockchain services, realize the ability of business innovation, and seamlessly connect with services on the cloud.

HUAWEI CLOUD Blockchain Smart Contract Efficient and Rapid Development Boosts Business Success

For the majority of developers, writing smart contracts is critical to business chaining. The so-called smart contract is an event-driven, stateful program stored and running on the . The 160c6cd412e9b8 smart contract is actually the automation code , but this code has trigger conditions. Blockchain supports Java, js and other languages development, which leads to business complexity during the development process, which makes it difficult to scale, and causes the business to fail to reach the highest peak throughput that the current blockchain system can carry, resulting in performance privacy and security problems facing contract vulnerabilities; refactoring the data model, resulting in a lot of workload, causing problems of applicability and versatility.

1. Provide developers with a minimalist smart contract development experience

image.png

Huawei Cloud Blockchain has proposed a series of solutions and technologies to create a complete set of blockchain application systems that are efficient, safe, easy to use, and open.

one-click environment acquisition: provides a minimalist, efficient, and smart contract development experience. When located in the cloud, it can build a complete blockchain environment within one minute.

  • one-stop efficient development: The development environment supports coding, compiling, running, and debugging, seamlessly connecting with development services on the cloud, and opening up the development and running state of smart contracts.
  • one-stop contract template: provides a smart contract warehouse, extracts practical experience in various industries and summarizes a common template to help developers quickly realize the chain capability.

2. Provide visual chain code process editing

The visual chain code process editing service is based on the BDB process engine to model the business process, the model is compiled and packaged, and the developer invokes the entire chain code to trigger the business process. The visual editing process engine monitors and executes the business process, ensuring the security and reliability of the generated chain code. Provides the ability to visualize the life cycle management of smart contracts, including the visualization of a series of processes such as code viewing, installation, and instantiation.

3. Provide SQL smart contract:

image.png

It has a rich and more universal data model, which is close to existing businesses, reduces the learning cost of developers, and shortens the time to go online. For people who understand relational databases, they don't need to learn too many other programming languages based on blockchain smart contracts, just as they can use a database to use the blockchain.

4. Provide a general template library used by smart contracts

image.png

The smart contract template library includes some general smart contract scenarios for government affairs, finance, medical, manufacturing, energy, entertainment, logistics, etc. These templates are open to any developer, download and use, directly install, and call smart contracts. One-stop smart contract warehouse helps developers to quickly edit and achieve business applications and business success.

In order to allow developers to better develop industry applications and achieve commercial success, the following calling methods are provided:

  • Directly call the node through the SDK to drive business transactions;
  • Provides a way to call rest API to make it easier for customers to develop business applications;
  • It integrates Huawei's self-developed fabric GDP and the SDK provides a complete set of methods based on relational database calls to call the entire SQL-based smart contract.

5. Provide open access and global collaboration network support, flexible deployment

image.png

The Huawei Cloud blockchain service is more conducive to the entire system to build a set of blockchain service development experience, supporting the deployment of different clouds such as Huawei Cloud and hybrid cloud edge cloud, open access, and global collaboration networks. Realize flexible deployment, and build an alliance of different nodes through an open network. In this alliance network, based on the capabilities of the blockchain itself, services are interconnected and data is shared.

6. Provide hierarchical network management to support ultra-large-scale node networks

image.png

ability to meet the needs of large scale network node is proposed hierarchical network of . In traditional blockchain node networks, as the number of nodes increases, the performance of nodes decays linearly. The more nodes there are, the worse the performance is. Because the transaction volume is also very large, its entire data synchronization is done through the gossip protocol. The gossip protocol has a lot of redundant messages. In this regard, Huawei Cloud Blockchain has built a hierarchical network scale system. Data is constructed through hierarchical algorithms and protocols for dynamic distribution and dynamic message distribution. It slowly spreads from the core to the edge nodes while reducing The number of redundant messages in the message sending process reduces the impact on performance.

7. Provide trusted sharing and exchange of data assets

image.png

Developers can realize business capabilities based on the application-based capabilities of the blockchain and directly based on the distributed identity system, providing the ability to provide upper-level applications for trusted sharing and exchange of data assets. How to open up the data exchange between the blockchain and different databases, through ROMA, blockchain plus ROMA, a credible data sharing and exchange platform can be built, and the entire process can be authorized, monitored and orchestrated through the blockchain. ROMA conducts data distribution, and uses blockchain technology to open up the entire trusted exchange of data assets based on ROMA's capabilities. Directly apply the trusted data exchange solution in different scenarios to meet your own business needs, and also provide trusted and secure multi-party computing capabilities, thereby playing a protective role, opening up data islands between organizations, and providing data availability. Visibility.

Let's summarize how Huawei's self-immune five-layer verification blockchain system achieves security protection against potential vulnerabilities.

First of all, for performance vulnerabilities, a one-stop smart contract warehouse is provided to meet the optimal performance calling and writing mode. Applicability A process editor that generates chain codes through process choreography, which can also achieve high-performance optimization, and the chain code provided is also an efficient chain code.

Secondly, privacy and security capabilities vulnerabilities provide a series of invocation methods including trusted multi-party secure computing, homomorphic encryption, etc. This hardware layer provides the ability to execute code training in the trusted execution zone, as well as formal verification, Static inspection scans the ability to solve privacy and security.

Third, the open capability loopholes, through the cross-chain technology, through the blockchain plus ROMA technology to open up the interaction with the data of each system, and the interaction between the blockchain island and the blockchain to achieve openness. ability.

Finally, the application capability vulnerabilities, through one-stop rapid deployment, one-stop full-stack smart life cycle smart contract management capabilities, and provide process-based orchestration.

Blockchain technology has been applied in many scenarios such as government affairs, finance, manufacturing, medical care, etc., to realize the credible transfer of value. Blockchain and cloud computing, big data, artificial intelligence and other emerging technologies will reconstruct the development of the digital economy. Ecology, to promote the deep integration of the Internet of Value and the real economy. HUAWEI CLOUD blockchain can help enterprises to rebuild trust through blockchain, reduce costs and increase efficiency, flow information, and shape new supply chains and marketing models, which is equivalent to achieving a business model innovation through blockchain.

Click to follow, and learn about Huawei Cloud's fresh technology for the first time~


华为云开发者联盟
1.4k 声望1.8k 粉丝

生于云,长于云,让开发者成为决定性力量