IP Library Granted Patent US 10,833,875
Granted Patent B2
US 10,833,875 · App. 16/877,205 · Granted Nov 10, 2020

Methods and devices for processing certificates in blockchain system

Inventors: Long Cheng (Zhejiang, CN); Yanpeng Li (Zhejiang, CN)
Assignee: Advanced New Technologies Co., Ltd.
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,833,875
App. No.
16/877,205
Granted
Nov 10, 2020
Kind
B2
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 (49)

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; and

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.

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 , 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.

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

8. 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; and

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.

9. The device of claim 8 , 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.

10. The device of claim 8 , 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.

11. The device of claim 10 , 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.

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

distribute the plurality of certificates to users.

13. The device of claim 8 , 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.

14. 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; and

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.

15. The non-transitory computer-readable medium of claim 14 , wherein the method further comprises:

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

16. The non-transitory computer-readable medium of claim 14 , 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.

17. The non-transitory computer-readable medium of claim 16 , wherein the method further comprises:

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.

18. The non-transitory computer-readable medium of claim 14 , wherein the method further comprises:

distributing the plurality of certificates to users.

19. The non-transitory computer-readable medium of claim 14 , 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.

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 May 18, 2020
From: CHENG, LONG; LI, YANPENG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 052692/0353 →
Continuity (3)
Continuation 16719548 · Dec 18, 2019
Continuation PCTCN2019076866 · Mar 4, 2019
Related Publication 20200287727A1 · Sep 10, 2020