Huawei's blockchain ledger technology makes your funds safer

Publisher:SerendipitySoulLatest update time:2020-10-10 Source: 爱集微Keywords:Huawei Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Blockchain is a distributed ledger that combines multiple data blocks, each containing several transaction records, in chronological order. It is a database shared, replicated and synchronized among network members. The distributed ledger records transactions between network participants, such as the exchange of assets or data.

In multiple data areas, the latter data block contains the verification information of the previous data block, such as hash value, so that multiple data blocks are formed into a chain data structure that is difficult to tamper with. In addition, the same blockchain copy is stored on multiple distributed nodes for mutual verification. The transaction can be conducted directly between the two parties, that is, without the involvement of a third-party trust agency, to ensure the security of the transaction.

At present, each distributed node needs to save a complete copy of the blockchain. Therefore, when the amount of blockchain data is large, the storage space occupied is also large, and the cost is high. In addition, the storage capacity of different distributed nodes may vary. Once some distributed nodes have insufficient storage space, they cannot save a complete copy of the blockchain, thereby reducing the security of the blockchain.

Based on the difficulties of the current distributed ledger, Huawei applied for an invention patent entitled "Storage method and device for blockchain ledger" (application number: 201910045742.9) on January 17, 2019, and the applicant was Huawei Technologies Co., Ltd.

Based on the information currently published in the patent, let us take a look at Huawei's blockchain ledger storage method.

As shown in the figure above, it is a schematic diagram of the structure of a distributed system for storing blockchain ledgers. The distributed system includes 6 nodes, which can be sensors, monitoring devices, forwarding devices, etc. Some nodes have direct communication connections, such as node 1 and node 2, node 3 and node 6. Of course, some nodes do not have direct communication connections, such as node 4 and node 6, node 2 and node 5.

The following will take this distributed system as an example to first introduce the existing blockchain ledger storage method.

As shown in the figure above, it is a flow chart of the storage method of the blockchain ledger. First, node 3 receives and stores a copy of the blockchain ledger. The copy of the blockchain ledger contains a header block and a data block. The header block contains the verification information of the blockchain, and the data block stores multiple transaction records.

Node 3 may update its stored copy of the blockchain ledger based on the new data, where the new data may include new transaction records generated by node 3 in the process of completing the new transaction, or new transaction records received from upstream adjacent nodes.

Finally, node 3 forwards the new data to its downstream adjacent nodes so that its downstream adjacent nodes can update their copies of the blockchain ledger. It should be noted that the upstream adjacent nodes and downstream adjacent nodes are based on the transmission direction of a certain new data. For example, assuming that the new data A is generated by node 2, node 2 needs to send the new data A to node 1, node 3 and node 6, then node 2 is the upstream adjacent node of node 1, node 3 and node 6.

However, the storage capacity of some nodes in this method is limited. As the amount of data in the blockchain ledger increases, some nodes may not have enough storage space to store a complete copy of the blockchain ledger. In addition, there may be a situation where some nodes have insufficient available storage space, while other nodes have a large amount of idle storage space, which will cause the number of actual blockchain ledger copies stored in the Internet of Things to decrease, thereby reducing the security and reliability of blockchain-based transactions in the existing Internet of Things.

As shown in the figure above, it is a schematic diagram of the structure of a distributed system applicable to the storage method of the blockchain ledger invented in the patent, and the distributed communication system includes multiple node clusters. Each node cluster includes a cluster head node and one or more ordinary nodes.

The cluster head node is used to communicate with other node clusters in the distributed communication system, such as receiving a blockchain ledger and storing the header block in the blockchain ledger. The ordinary node is used to store the data blocks in the blockchain ledger.

The header block is used to store the verification message of the blockchain ledger and the storage information of each data block. The data block is used for the verification message and transaction record of the previous data block. The specific storage method is shown in the figure below.

As shown in the figure above, it is a flowchart of the storage method of the blockchain ledger. First, the available storage space size reported by the first copy and the ordinary node is received. The first copy can be the blockchain ledger copy issued by the master control device, or it can be other node clusters adjacent to the first node cluster.

Secondly, according to the available storage space size reported by the ordinary nodes and the data volume of the first copy, the data blocks that each ordinary node needs to store are determined. For example, different numbers of data blocks can be allocated to different ordinary nodes according to the available storage space size of different ordinary nodes.

Assume that the first replica includes a total of 4 data blocks: data block 1-data block 4, ordinary node 1 and ordinary node 3 can store 1 data block respectively, ordinary node 4 can store 2 data blocks, and ordinary node 2 has insufficient available storage space and cannot store data blocks, as shown in the following figure:

The data blocks to be stored can be allocated to each common node in the following manner: common node 1 stores data block 1, common node 2 does not store data blocks, common node 3 stores data block 2, and common node 4 stores data block 3 and data block 4.

Of course, in addition to this, other data block allocation methods may also be used, such as ordinary node 4 storing data block 1 and data block 2, while data block 3 and data block 4 are stored by ordinary node 1 and ordinary node 3 respectively.

Finally, the system needs to store the storage information of the header block and the data block. The storage information is used to indicate the correspondence between each data block and the ordinary node where it is located. For example, in the figure above, the cluster head node is used to store the header block, such as block 0. The header block includes the ledger verification information of the first copy, such as the main hash value of the blockchain ledger.

The above is the storage method of blockchain ledger invented by Huawei. Blockchain ledger technology also has many application scenarios in life. After this technology passes consensus verification and is written into the ledger, it cannot be changed. This can save time and costs for enterprises and organizations, while reducing risks, allowing enterprises to build new revenue streams to interact with customers.


Keywords:Huawei Reference address:Huawei's blockchain ledger technology makes your funds safer

Previous article:iPhone 12 mini may give up 5 features
Next article:IBM accelerates shift to cloud computing, splits IT division to "redefine the company"

Recommended ReadingLatest update time:2024-11-15 13:29

Huawei announced that it has won more than 91 5G contracts and shipped 600,000 5G AAUs
On the 20th, Huawei's executive director and president of the Carrier BG Ding Yun said at a Huawei product and solution launch conference held in the UK that as of now, Huawei has shipped 600,000 5G AAUs and obtained more than 91 5G contracts, including 47 in Europe and 27 in Asia. Huawei and LG U+ have jointly buil
[Mobile phone portable]
Huawei and Chery cooperate to upgrade! Intellectual independence!
Electric Zhijia news, according to insiders, Chery has further upgraded the EH Division (i.e. Zhijie Business Unit) to an independent business unit, using independent accounting and independent operations, and is responsible for comprehensively developing the competitiveness of Zhijie brand products and business Opera
[Automotive Electronics]
Developing countries race to sign deals with Huawei for data centers and e-government
A study said that since 2006, many developing countries in Africa, Asia and Latin America have signed agreements with Huawei to provide cloud infrastructure and e-government services. The report released by the Washington think tank Center for Strategic and International Studies (CSIS) showed that from 2006 to April
[Embedded]
It is rumored that Huawei has set up a department to make screen driver chips and enter the screen industry
According to digital blogger @长安数码君's revelation today, Huawei's Yu Chengdong recently issued a document titled "Notice on the Establishment of Display Driver Product Area in the Terminal Chip Business Department". The content shows that Huawei will set up a department to make screen driver chips and enter the screen
[Mobile phone portable]
It is rumored that Huawei has set up a department to make screen driver chips and enter the screen industry
Guangdong's 2021 key construction project plan is released: Huawei Tuanbowa and others are selected
Recently, the Guangdong Provincial Development and Reform Commission issued a notice on issuing the plan for key construction projects in Guangdong Province in 2021. In 2021, Guangdong has arranged a total of 1,395 provincial key projects with a total investment of 7.28 trillion yuan and an annual planned investment o
[Mobile phone portable]
Guangdong's 2021 key construction project plan is released: Huawei Tuanbowa and others are selected
Huawei's new foldable screen phone Mate X3 will be released in April, equipped with Kirin 9000 chip
Recently, a new Huawei 4G phone with model PAL-AL00 passed the network access certification. It runs Hongmeng OS. It is reported that the phone is Huawei Mate X3 and will be equipped with Kirin 9000 4G chip. A digital blogger said that Huawei's new folding screen phone Mate X3 will be released at the end of April. It
[Mobile phone portable]
Integrating new-generation information technologies such as 5G and artificial intelligence, Huawei and Wuhan jointly built the
On November 21, the Wuhan Municipal Government and Wuhan Industrial Investment Development Group signed cooperation agreements with Huawei to jointly build the "Wuhan Cloud". According to reports, Huawei will integrate new-generation information technologies such as 5G, cloud computing and artificial intelligence, b
[Mobile phone portable]
With the frequent breaking news about Huawei, many lithium battery giants are rushing to buy upstream!
If you were to use one word to summarize the hot topic in the industry chain this week, it would be "Huawei". In the past week, news about Huawei has been coming one after another. When the industry's attention was still focused on Huawei's mass production of OLED driver ICs next year, Huawei returned strongly with th
[Mobile phone portable]
Latest Mobile phone portable Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号