A block chain-based data processing method, comprising: obtaining virtual asset associated data of an item transmitted by a first device, wherein the item comprises at least two components; triggering (S 102) a smart contract based on the virtual asset associated data of the item, and obtaining a block generation rule through the smart contract, characterized in that: the block generation rule comprises a service type of data used for block generation; and the method further comprises: classifying (S 103) the virtual asset associated data of the item according to the smart contract and the service type in the block generation rule, to obtain N types of classified data, wherein each of the N types of classified data corresponds to one service type, and N is an integer greater than 1; for each of the N types of classified data, obtaining (S 104) virtual asset associated data belonging to a first target component, and determining component asset data having N service types of the first target component according to the virtual asset associated data belonging to the first target component, wherein the at least two components comprise the first target component; and generating (S 105), according to the component asset data having the N service types of the first target component, a block used to record the first target component, storing the component asset data having the N service types of the first target component into the block used to record the first target component, and adding the block into a block chain to which the smart contract belongs. obtaining virtual asset associated data of an item transmitted by a first device, wherein the item comprises at least two components; triggering (S 102) a smart contract based on the virtual asset associated data of the item, and obtaining a block generation rule through the smart contract, characterized in that: the block generation rule comprises a service type of data used for block generation; and the method further comprises: classifying (S 103) the virtual asset associated data of the item according to the smart contract and the service type in the block generation rule, to obtain N types of classified data, wherein each of the N types of classified data corresponds to one service type, and N is an integer greater than 1; for each of the N types of classified data, obtaining (S 104) virtual asset associated data belonging to a first target component, and determining component asset data having N service types of the first target component according to the virtual asset associated data belonging to the first target component, wherein the at least two components comprise the first target component; and generating (S 105), according to the component asset data having the N service types of the first target component, a block used to record the first target component, storing the component asset data having the N service types of the first target component into the block used to record the first target component, and adding the block into a block chain to which the smart contract belongs. the block generation rule comprises a service type of data used for block generation; and the method further comprises: classifying (S 103) the virtual asset associated data of the item according to the smart contract and the service type in the block generation rule, to obtain N types of classified data, wherein each of the N types of classified data corresponds to one service type, and N is an integer greater than 1; for each of the N types of classified data, obtaining (S 104) virtual asset associated data belonging to a first target component, and determining component asset data having N service types of the first target component according to the virtual asset associated data belonging to the first target component, wherein the at least two components comprise the first target component; and generating (S 105), according to the component asset data having the N service types of the first target component, a block used to record the first target component, storing the component asset data having the N service types of the first target component into the block used to record the first target component, and adding the block into a block chain to which the smart contract belongs. classifying (S 103) the virtual asset associated data of the item according to the smart contract and the service type in the block generation rule, to obtain N types of classified data, wherein each of the N types of classified data corresponds to one service type, and N is an integer greater than 1; for each of the N types of classified data, obtaining (S 104) virtual asset associated data belonging to a first target component, and determining component asset data having N service types of the first target component according to the virtual asset associated data belonging to the first target component, wherein the at least two components comprise the first target component; and generating (S 105), according to the component asset data having the N service types of the first target component, a block used to record the first target component, storing the component asset data having the N service types of the first target component into the block used to record the first target component, and adding the block into a block chain to which the smart contract belongs.