US 12,081,658 B2
Key generation method and apparatus, device, and medium
Maocai Li, Shenzhen (CN); Zongyou Wang, Shenzhen (CN); Jinsong Zhang, Shenzhen (CN); Huankun Huang, Shenzhen (CN); Kaiban Zhou, Shenzhen (CN); Yifang Shi, Shenzhen (CN); Qucheng Liu, Shenzhen (CN); Pan Liu, Shenzhen (CN); Hu Lan, Shenzhen (CN); Changqing Yang, Shenzhen (CN); and Gengliang Zhu, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed on Apr. 13, 2022, as Appl. No. 17/720,274.
Application 17/720,274 is a continuation of application No. PCT/CN2021/077374, filed on Feb. 23, 2021.
Claims priority of application No. 202010277116.5 (CN), filed on Apr. 9, 2020.
Prior Publication US 2022/0311607 A1, Sep. 29, 2022
Int. Cl. H04L 9/08 (2006.01); H04L 9/00 (2022.01); H04L 9/32 (2006.01)
CPC H04L 9/0869 (2013.01) [H04L 9/0838 (2013.01); H04L 9/3247 (2013.01); H04L 9/50 (2022.05)] 20 Claims
OG exemplary drawing
 
1. A key generation method based on a blockchain network, performed by a first device, the method comprising:
transmitting a key negotiation request to a consensus node in a blockchain network, to request a key verification parameter;
negotiating a collaboration key pair with a second device when the key verification parameter returned by the consensus node is received, to obtain a first private key component and a shared public key in the collaboration key pair, a second private key component in the collaboration key pair being held by the second device, and the shared public key being used for verifying validity of collaboration signature information obtained by collaboration signature using the first private key component and the second private key component;
signing the key verification parameter by using the first private key component, to obtain a first signature component;
generating transaction data according to the first signature component and the key verification parameter; and
transmitting the transaction data to the second device, the second device signing the transaction data by using the second private key component to obtain a second signature component, and obtaining the collaboration signature information according to the first signature component and the second signature component, and transmitting negotiation result data to the consensus node, the negotiation result data comprising the collaboration signature information, the shared public key, and the key verification parameter, wherein the consensus node performs a consensus on the negotiation result data, and after the negotiation result data passes the consensus, submits the negotiation result data to a blockchain of the blockchain network.