A method for processing data based on a blockchain, wherein: the blockchain comprises at least one block and is deployed in a blockchain network comprising a witness subnet and a consensus subnet, the witness subnet comprises at least one service node, and the consensus subnet comprises at least two consensus clusters; each of the at least two consensus cluster comprises a plurality of accounting nodes, one of which is elected as a representative node of such consensus cluster, and the representative nodes of all consensus clusters form a consensus committee of the blockchain; the method is executable by a computer device at a first representative node among the representative nodes, and comprises: obtaining upload information of the blockchain, wherein the upload information indicates a block type to which a next block to be uploaded onto the blockchain is required to belong; obtaining a target block to be verified through a consensus mechanism in the blockchain network, wherein the target block is generated from data of an inter-chain service; and determining the target block to serve as the next block to be uploaded onto the blockchain and adding the target block into the blockchain, in response to the upload information indicating that the block type is a co-exclusive type, wherein each block of the co-exclusive type stores data of a respective independent inter-chain service. the blockchain comprises at least one block and is deployed in a blockchain network comprising a witness subnet and a consensus subnet, the witness subnet comprises at least one service node, and the consensus subnet comprises at least two consensus clusters; each of the at least two consensus cluster comprises a plurality of accounting nodes, one of which is elected as a representative node of such consensus cluster, and the representative nodes of all consensus clusters form a consensus committee of the blockchain; the method is executable by a computer device at a first representative node among the representative nodes, and comprises: obtaining upload information of the blockchain, wherein the upload information indicates a block type to which a next block to be uploaded onto the blockchain is required to belong; obtaining a target block to be verified through a consensus mechanism in the blockchain network, wherein the target block is generated from data of an inter-chain service; and determining the target block to serve as the next block to be uploaded onto the blockchain and adding the target block into the blockchain, in response to the upload information indicating that the block type is a co-exclusive type, wherein each block of the co-exclusive type stores data of a respective independent inter-chain service. obtaining upload information of the blockchain, wherein the upload information indicates a block type to which a next block to be uploaded onto the blockchain is required to belong; obtaining a target block to be verified through a consensus mechanism in the blockchain network, wherein the target block is generated from data of an inter-chain service; and determining the target block to serve as the next block to be uploaded onto the blockchain and adding the target block into the blockchain, in response to the upload information indicating that the block type is a co-exclusive type, wherein each block of the co-exclusive type stores data of a respective independent inter-chain service.