IP Library Granted Patent US 10,700,876
Granted Patent B1
US 10,700,876 · App. 16/719,548 · Granted Jun 30, 2020

Methods and devices for processing certificates in blockchain system

Inventors: Long Cheng (Zhejiang, CN); Yanpeng Li (Zhejiang, CN)
Assignee: Alibaba Group Holding Limited
H04L9/3268H04L9/3239H04L9/3297H04L2209/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 10,700,876
App. No.
16/719,548
Granted
Jun 30, 2020
Kind
B1
Abstract

Disclosed herein are methods, devices, and apparatuses, including computer programs stored on computer-readable media, for processing certificates in a blockchain system. One of the methods includes: causing a smart contract to be generated in the blockchain system, wherein the smart contract includes computer-readable instructions for processing certificates; after the smart contract is generated, sending a first request for a first transaction to the blockchain system, the first transaction causing the blockchain system to execute the smart contract to generate a certificate specification based on the first request; receiving, from the blockchain system, the certificate specification; and sending, to the blockchain system, a second request for a plurality of second transactions, the plurality of second transactions causing the blockchain system to execute the smart contract to generate a plurality of certificates.

Claims (47)

1. A computer-implemented method for processing certificates in a blockchain system, comprising:

causing a smart contract to be generated in the blockchain system, wherein the smart contract includes computer-readable instructions for processing certificates;

after the smart contract is generated, sending a first request for a first transaction to the blockchain system, the first transaction causing the blockchain system to execute the smart contract to generate a certificate specification based on the first request;

receiving, from the blockchain system, the certificate specification;

sending, to the blockchain system, a second request for a plurality of second transactions, the plurality of second transactions causing the blockchain system to execute the smart contract to generate a plurality of certificates, wherein the plurality of certificates comprise at least one of coupons, tickets, or vouchers;

sending, to the blockchain system, a third request for a third transaction, the third transaction causing the blockchain system to execute the smart contract to write off a target certificate of the plurality of certificates; and

receiving, from the blockchain system, a result indicating that the target certificate is written off.

2. The method of claim 1 , further comprising:

generating the second request for the plurality of second transactions based on the certificate specification.

3. The method of claim 1 , wherein the certificate specification indicates at least one of certificate types, a number of certificates for each certificate type, a total number of the certificates, or a valid period of each certificate.

4. The method of claim 3 , further comprising:

causing the blockchain system to execute the smart contract to determine whether the plurality of certificates satisfy the certificate specification; and

after it is determined that the plurality of certificates satisfy the certificate specification, receiving a message indicating the plurality of certificates are successfully generated.

5. The method of claim 1 , further comprising:

distributing the plurality of certificates to users.

6. The method of claim 1 , further comprising:

asynchronously sending, to the blockchain system, a plurality of third requests for a plurality of third transactions, each of the plurality of third transactions causing the blockchain system to execute the smart contract to write off a corresponding target certificate of the plurality of certificates.

7. The method of claim 1 , wherein the certificate specification includes a hash value representing execution of the first transaction, and each of the plurality of certificates includes a hash value representing execution of a corresponding second transaction.

8. The method of claim 1 , wherein the blockchain system implements a consortium blockchain.

9. A device for processing certificates in a blockchain system, the device 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,

wherein the one or more processors are configured to:

cause a smart contract to be generated in the blockchain system, wherein the smart contract includes computer-readable instructions for processing certificates;

after the smart contract is generated, send a first request for a first transaction to the blockchain system, the first transaction causing the blockchain system to execute the smart contract to generate a certificate specification based on the first request;

receive, from the blockchain system, the certificate specification;

send, to the blockchain system, a second request for a plurality of second transactions, the plurality of second transactions causing the blockchain system to execute the smart contract to generate a plurality of certificates, wherein the plurality of certificates comprise at least one of coupons, tickets, or vouchers;

send, to the blockchain system, a third request for a third transaction, the third transaction causing the blockchain system to execute the smart contract to write off a target certificate of the plurality of certificates; and

receive, from the blockchain system, a result indicating that the target certificate is written off.

10. The device of claim 9 , wherein the one or more processors are further configured to:

generate the second request for the plurality of second transactions based on the certificate specification.

11. The device of claim 9 , wherein the certificate specification indicates at least one of certificate types, a number of certificates for each certificate type, a total number of the certificates, or a valid period of each certificate.

12. The device of claim 11 , wherein the one or more processors are further configured to:

cause the blockchain system to execute the smart contract to determine whether the plurality of certificates satisfy the certificate specification; and

after it is determined that the plurality of certificates satisfy the certificate specification, receive a message indicating the plurality of certificates are successfully generated.

13. The device of claim 9 , wherein the one or more processors are further configured to:

distribute the plurality of certificates to users.

14. The device of claim 9 , wherein the one or more processors are further configured to:

asynchronously send, to the blockchain system, a plurality of third requests for a plurality of third transactions, each of the plurality of third transactions causing the blockchain system to execute the smart contract to write off a corresponding target certificate of the plurality of certificates.

15. The device of claim 9 , wherein the certificate specification includes a hash value representing execution of the first transaction, and each of the plurality of certificates includes a hash value representing execution of a corresponding second transaction.

16. A non-transitory computer-readable medium having stored therein instructions that, when executed by a processor of a device, cause the device to perform a method for processing certificates in a blockchain system, the method comprising:

causing a smart contract to be generated in the blockchain system, wherein the smart contract includes computer-readable instructions for processing certificates;

after the smart contract is generated, sending a first request for a first transaction to the blockchain system, the first transaction causing the blockchain system to execute the smart contract to generate a certificate specification based on the first request;

receiving, from the blockchain system, the certificate specification;

sending, to the blockchain system, a second request for a plurality of second transactions, the plurality of second transactions causing the blockchain system to execute the smart contract to generate a plurality of certificates, wherein the plurality of certificates comprise at least one of coupons, tickets, or vouchers;

sending, to the blockchain system, a third request for a third transaction, the third transaction causing the blockchain system to execute the smart contract to write off a target certificate of the plurality of certificates; and

receiving, from the blockchain system, a result indicating that the target certificate is written off.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 13, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053761/0338 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053713/0665 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 6, 2020
From: CHENG, LONG; LI, YANPENG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 051736/0827 →
Continuity (1)
Continuation PCTCN2019076866 · Mar 4, 2019