US 12,273,437 B2
Data processing method and apparatus for blockchain system
Maocai Li, Shenzhen (CN); Hu Lan, Shenzhen (CN); Zongyou Wang, Shenzhen (CN); Kaiban Zhou, Shenzhen (CN); Pan Liu, Shenzhen (CN); Gengliang Zhu, Shenzhen (CN); and Yifang Shi, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed on Sep. 28, 2022, as Appl. No. 17/955,422.
Application 17/955,422 is a continuation of application No. PCT/CN2021/124282, filed on Oct. 18, 2021.
Claims priority of application No. 202011306241.0 (CN), filed on Nov. 20, 2020.
Prior Publication US 2023/0014599 A1, Jan. 19, 2023
Int. Cl. H04L 9/32 (2006.01); H04L 9/06 (2006.01); H04L 9/08 (2006.01)
CPC H04L 9/0618 (2013.01) [H04L 9/0822 (2013.01); H04L 9/0825 (2013.01); H04L 9/0869 (2013.01)] 17 Claims
OG exemplary drawing
 
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.