BLOCKCHAIN-BASED DATA PROCESSING METHOD AND APPARATUS, DEVICE, AND READABLE STORAGE MEDIUM
A block chain-based data processing method and apparatus, a device, and a readable storage medium are provided in implementations of the disclosure. The method includes the following. Virtual asset associated data of an item transmitted by a first device is obtained, where the item includes at least...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A block chain-based data processing method and apparatus, a device, and a readable storage medium are provided in implementations of the disclosure. The method includes the following. Virtual asset associated data of an item transmitted by a first device is obtained, where the item includes at least two components. A smart contract is triggered based on the virtual asset associated data of the item, and a block generation rule is obtained through the smart contract, where the block generation rule includes a service type of data used for block generation. The virtual asset associated data of the item is classified according to the smart contract and the service type in the block generation rule, to obtain N types of classified data, where each of the N types of classified data corresponds to one service type, and N is a positive integer. For each of the N types of classified data, virtual asset associated data belonging to a first target component is obtained, and component asset data of the first target component is determined according to the virtual asset associated data belonging to the first target component, where the at least two components include the first target component. A block used to record the first target component is generated according to the component asset data of the first target component, and the block is added into a block chain to which the smart contract belongs. As such, with the disclosure, data can be classified and stored in the block chain, thereby improving a data reading rate. |
---|