IP Library Granted Patent US 11,398,914
Granted Patent B2
US 11,398,914 · App. 17/378,424 · Granted Jul 26, 2022

Blockchain-based data authorization method and apparatus

Inventors: Changzheng Wei (Hangzhou, CN); Ying Yan (Hangzhou, CN); Hui Zhang (Hangzhou, CN); Yujun Peng (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
H04L9/3234G06F21/57G06F21/602H04L9/0637H04L9/0643H04L9/30H04L63/101H04L2209/38
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,398,914
App. No.
17/378,424
Granted
Jul 26, 2022
Kind
B2
Abstract

One or more implementations of the present specification provide a blockchain-based data authorization method and apparatus. The method can include receiving, by a blockchain node, an authentication transaction submitted by a privacy computing platform, where the authentication transaction queries whether a data user has obtained authorization of target data possessed by a data owner, and in response to determining that the data user has obtained authorization of the target data, executing, by the blockchain node, a smart contract invoked by the authentication transaction to provide an authorization token to the privacy computing platform that instructs the privacy computing platform to obtain the target data, and send a computational result of one or more predetermined computational operations based on the target data to the data user.

Claims (49)

1. A computer-implemented method comprising:

receiving, by one or more computers that are associated with an off-chain platform that provides a private key hosting service for an institution, a private key for the institution;

receiving, by the one or more computers that are associated with the off-chain platform that provides the private key hosting service for the institution, a request that is initiated by a data user and that requests to obtain target data whose access is controlled by the institution;

transmitting, by the one or more computers that are associated with the off-chain platform and to a blockchain, an authentication request transaction that queries whether the data user has obtained authorization for the target data;

after (i) the blockchain invokes a data authorization smart contract using information identifying the data user and the institution that is included in the authentication request transaction, (ii) the blockchain generates an authorization request event that includes information identifying the data user and the institution, in response to the blockchain invoking the data authorization smart contract, and (iii) the institution which controls access to the target data transmitting, in response to the blockchain generating the authorization request event, an authorization confirmation transaction to the blockchain to indicate that the institution agrees to provide the data user with access to the target data, obtaining, by the one or more computers that are associated with the off-chain platform, a transaction execution result event indicating that the institution has agreed to provide the data user with access to the target data;

obtaining, by the one or more computers that are associated with the off-chain platform, an authorization token from the transaction execution result event;

in response to obtaining the authorization token, obtaining, by the one or more computers that are associated with the off-chain platform, encrypted target data from the blockchain;

decrypting, by the one or more computers that are associated with the off-chain platform, the encrypted target data using the previously received private key for the institution, to generate the target data; and

providing, by the one or more computers that are associated with the off-chain platform the target data to the data user.

2. The method of claim 1 , wherein the data authorization smart contract is associated with an authorizer list.

3. The method of claim 1 , comprising:

obtaining the transaction execution result event from a transaction log of the blockchain using an event listening mechanism.

4. The method of claim 1 , comprising providing the authorization token to the data user.

5. The method of claim 1 , comprising providing the authorization token to the data user based on a user ID associated with the data user.

6. The method of claim 1 , comprising providing the target data based on a privacy level associated with the target data.

7. The method of claim 1 , wherein the authorization token comprises a temporary session key.

8. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:

receiving, by one or more computers that are associated with an off-chain platform that provides a private key hosting service for an institution, a private key for the institution;

receiving, by the one or more computers that are associated with the off-chain platform that provides the private key hosting service for the institution, a request that is initiated by a data user and that requests to obtain target data whose access is controlled by the institution;

transmitting, by the one or more computers that are associated with the off-chain platform and to a blockchain, an authentication request transaction that queries whether the data user has obtained authorization for the target data;

after (i) the blockchain invokes a data authorization smart contract using information identifying the data user and the institution that is included in the authentication request transaction, (ii) the blockchain generates an authorization request event that includes information identifying the data user and the institution, in response to the blockchain invoking the data authorization smart contract, and (iii) the institution which controls access to the target data transmitting, in response to the blockchain generating the authorization request event, an authorization confirmation transaction to the blockchain to indicate that the institution agrees to provide the data user with access to the target data, obtaining, by the one or more computers that are associated with the off-chain platform, a transaction execution result event indicating that the institution has agreed to provide the data user with access to the target data;

obtaining, by the one or more computers that are associated with the off-chain platform, an authorization token from the transaction execution result event;

in response to obtaining the authorization token, obtaining, by the one or more computers that are associated with the off-chain platform, encrypted target data from the blockchain;

decrypting, by the one or more computers that are associated with the off-chain platform, the encrypted target data using the previously received private key for the institution, to generate the target data; and

providing, by the one or more computers that are associated with the off-chain platform the target data to the data user.

9. The medium of claim 8 , wherein the data authorization smart contract is associated with an authorizer list.

10. The medium of claim 8 , wherein the operations comprise:

obtaining the transaction execution result event from a transaction log of the blockchain using an event listening mechanism.

11. The medium of claim 8 , wherein the operations comprise providing the authorization token to the data user.

12. The medium of claim 8 , wherein the operations comprise providing the authorization token to the data user based on a user ID associated with the data user.

13. The medium of claim 8 , wherein the operations comprise providing, by the one or more computers, the target data based on a privacy level associated with the target data.

14. The medium of claim 8 , wherein the authorization token comprises a temporary session key.

15. A computer-implemented system comprising:

one or more processors; and

one or more computer-readable memories coupled to the one or more processors and having instructions stored thereon that are executable by the one or more processors to perform operations comprising:

receiving, by one or more computers that are associated with an off-chain platform that provides a private key hosting service for an institution, a private key for the institution;

receiving, by the one or more computers that are associated with the off-chain platform that provides the private key hosting service for the institution, a request that is initiated by a data user and that requests to obtain target data whose access is controlled by the institution;

transmitting, by the one or more computers that are associated with the off-chain platform and to a blockchain, an authentication request transaction that queries whether the data user has obtained authorization for the target data;

after (i) the blockchain invokes a data authorization smart contract using information identifying the data user and the institution that is included in the authentication request transaction, (ii) the blockchain generates an authorization request event that includes information identifying the data user and the institution, in response to the blockchain invoking the data authorization smart contract, and (iii) the institution which controls access to the target data transmitting, in response to the blockchain generating the authorization request event, an authorization confirmation transaction to the blockchain to indicate that the institution agrees to provide the data user with access to the target data, obtaining, by the one or more computers that are associated with the off-chain platform, a transaction execution result event indicating that the institution has agreed to provide the data user with access to the target data;

obtaining, by the one or more computers that are associated with the off-chain platform, an authorization token from the transaction execution result event;

in response to obtaining the authorization token, obtaining, by the one or more computers that are associated with the off-chain platform, encrypted target data from the blockchain;

decrypting, by the one or more computers that are associated with the off-chain platform, the encrypted target data using the previously received private key for the institution, to generate the target data; and

providing, by the one or more computers that are associated with the off-chain platform the target data to the data user.

16. The system of claim 15 , wherein the data authorization smart contract is associated with an authorizer list.

17. The system of claim 15 , wherein the operations comprise:

obtaining the transaction execution result event from a transaction log of the blockchain using an event listening mechanism.

18. The system of claim 15 , wherein the operations comprise providing the authorization token to the data user.

19. The system of claim 15 , wherein the operations comprise providing the authorization token to the data user based on a user ID associated with the data user.

20. The system of claim 15 , wherein the operations comprise providing, by the one or more computers, the target data based on a privacy level associated with the target data.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 18, 2025
From: ADVANCED NEW TECHNOLOGIES CO., LTD.
To: ANTCHAIN TECHNOLOGY PTE. LTD.
Reel/Frame 070253/0064 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 12, 2021
From: WEI, CHANGZHENG; YAN, YING; ZHANG, HUI; PENG, YUJUN
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 057763/0844 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 12, 2021
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 057778/0478 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 12, 2021
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 057778/0800 →
Priority Claims (1)
CN 201910703811.0 · Jul 31, 2019 · national
Continuity (3)
Continuation 16779052 · Jan 31, 2020
Continuation PCTCN2020072224 · Jan 15, 2020
Related Publication 20210344496A1 · Nov 4, 2021
Cited By (1)
US 12,418,418