| CPC H04L 9/0618 (2013.01) [H04L 9/0822 (2013.01); H04L 9/0825 (2013.01); H04L 9/0869 (2013.01)] | 17 Claims |

|
1. A data processing method for a blockchain system, the blockchain system including multiple node devices, each of the multiple node devices being connected with at least one access terminal and corresponding to a node role, the access terminal having a permission of the node role corresponding to the connected node device, the method being performed by a node device in the blockchain system, the method comprising:
determining, in response to a request of a target access terminal for writing target data to a blockchain, a target node role with a read permission for the target data, the target access terminal being one of access terminals connected with the node device;
acquiring an encryption key corresponding to the target node role;
performing encryption processing on the target data according to the encryption key to obtain a cipher text corresponding to the target data, the cipher text corresponding to the target data being decryptable for an access terminal corresponding to the target node role;
generating a role shared key corresponding to a same target node role by aggregation according to user secret information configured in each access terminal corresponding to the same target node role,
performing encryption processing on the encryption key according to a key sequence comprising a role shared key corresponding to each target node role to obtain a cipher text corresponding to the encryption key; and
storing the cipher text corresponding to the target data and the cipher text corresponding to the encryption key to the blockchain.
|