IP Library Granted Patent US 10,846,765
Granted Patent B2
US 10,846,765 · App. 16/779,198 · Granted Nov 24, 2020

Blockchain-based e-bill number application method, apparatus, and electronic device

Inventors: Zhen Sun (Hangzhou, CN); Longsheng Qing (Hangzhou, CN); Xueqing Yang (Hangzhou, CN); Ge Jin (Hangzhou, CN); Zhenzhong Meng (Hangzhou, CN); Yu Chu (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06Q30/04G06Q20/102H04L9/0643G06Q2220/00H04L2209/38H04L2209/56
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,846,765
App. No.
16/779,198
Granted
Nov 24, 2020
Kind
B2
Abstract

A computer-implemented method, non-transitory, computer-readable medium, and computer-implemented system are provided for applying a blockchain-based e-bill number. A blockchain includes multiple levels of accounts used to maintain e-bill number segments. An e-bill number application transaction published to the blockchain is received, where the e-bill number application transaction includes an account identifier of an account of a number applicant; allocating one or more e-bill numbers to the number applicant from an e-bill number segment maintained in an upper-level account corresponding to the account of the number applicant in response to the e-bill number application transaction; and adding the one or more e-bill numbers allocated to the number applicant to the account of the number applicant for maintenance.

Claims (50)

1. A computer-implemented method, comprising:

receiving, by a node device in a blockchain, an e-bill number application transaction published to the blockchain, wherein the e-bill number application transaction comprises an account identifier of an account of a number applicant applying for e-bill numbers, the e-bill numbers are unique identifiers of respective e-bills, the blockchain comprises a plurality levels of accounts for maintaining respective e-bill number segments, each of the respective e-bill number segments comprises one or more e-bill numbers corresponding to the respective e-bills, and an e-bill number segment maintained by an account is a portion of an e-bill number segment maintained in an upper-level account corresponding to the account;

in response to the e-bill number application transaction, allocating, by the node device in the blockchain, one or more e-bill numbers to the number applicant from an e-bill number segment maintained in an upper-level account corresponding to the account of the number applicant, wherein the allocating one or more e-bill numbers to the number applicant from the e-bill number segment maintained in the upper-level account comprises:

determining whether a quantity corresponding to an e-bill number segment maintained in the account of the number applicant is sufficient;

in response to determining that the quantity corresponding to the e-bill number segment maintained in the account of the number applicant is sufficient, allocating to the number applicant the one or more e-bill numbers from the e-bill number segment maintained in the account of the number applicant, wherein the one or more e-bill numbers from the e-bill number segment maintained in the account of the number applicant are a subset of one or more e-bill numbers from the e-bill number segment maintained in the upper-level account corresponding to the account of the number applicant;

in response to determining that the quantity corresponding to the e-bill number segment maintained in the account of the number applicant is insufficient, applying for the one or more e-bill numbers from the e-bill number segment maintained in the upper-level account corresponding to the account of the number applicant; and

adding, by the node device in the blockchain, the one or more e-bill numbers allocated to the number applicant to the account of the number applicant for maintenance.

2. The computer-implemented method of claim 1 , wherein the allocating one or more e-bill numbers to the number applicant from an e-bill number segment maintained in an upper-level account corresponding to the account of the number applicant comprises:

invoking a smart contract deployed on the blockchain to allocate the one or more e-bill numbers to the number applicant from the e-bill number segment maintained in the upper-level account corresponding to the account of the number applicant.

3. The computer-implemented method of claim 1 , further comprising:

further in response to determining that the quantity corresponding to the e-bill number segment maintained in the upper-level account is insufficient, sending an alarm indication to a client device corresponding to the upper-level account.

4. The computer-implemented method of claim 1 , further comprising:

further in response to determining that the quantity corresponding to the e-bill number segment maintained in the upper-level account is insufficient, generating event information that the quantity corresponding to the e-bill number segment maintained in the upper-level account is insufficient, and publishing the event information to the block chain for storage, wherein the event information causes a client device corresponding to the upper-level account to construct a third e-bill number application transaction and publish the third e-bill number application transaction to the blockchain.

5. The computer-implemented method of claim 1 , further comprising:

periodically determining whether a quantity corresponding to an e-bill number segment maintained in each level of account in the plurality levels of accounts is sufficient; and

if a quantity corresponding to an e-bill number segment maintained in a level of a target account in the plurality levels of accounts is insufficient, sending an alarm indication to a client device corresponding to the target account to instruct the client device to construct a fourth e-bill number application transaction and publish the fourth e-bill number application transaction to the blockchain.

6. A computer-implemented system, comprising:

one or more computers; and

one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations, comprising:

receiving, by a node device in a blockchain, an e-bill number application transaction published to the blockchain, wherein the e-bill number application transaction comprises an account identifier of an account of a number applicant applying for e-bill numbers, the e-bill numbers are unique identifiers of respective e-bills, the blockchain comprises a plurality levels of accounts for maintaining respective e-bill number segments, each of the respective e-bill number segments comprises one or more e-bill numbers corresponding to the respective e-bills, and an e-bill number segment maintained by an account is a portion of an e-bill number segment maintained in an upper-level account corresponding to the account;

in response to the e-bill number application transaction, allocating, by the node device in the blockchain, one or more e-bill numbers to the number applicant from an e-bill number segment maintained in an upper-level account corresponding to the account of the number applicant, wherein the allocating one or more e-bill numbers to the number applicant from the e-bill number segment maintained in the upper-level account comprises:

determining whether a quantity corresponding to an e-bill number segment maintained in the account of the number applicant is sufficient;

in response to determining that the quantity corresponding to the e-bill number segment maintained in the account of the number applicant is sufficient, allocating to the number applicant the one or more e-bill numbers from the e-bill number segment maintained in the account of the number applicant, wherein the one or more e-bill numbers from the e-bill number segment maintained in the account of the number applicant are a subset of one or more e-bill numbers from the e-bill number segment maintained in the upper-level account corresponding to the account of the number applicant;

in response to determining that the quantity corresponding to the e-bill number segment maintained in the account of the number applicant is insufficient, applying for the one or more e-bill numbers from the e-bill number segment maintained in the upper-level account corresponding to the account of the number applicant; and

adding, by the node device in the blockchain, the one or more e-bill numbers allocated to the number applicant to the account of the number applicant for maintenance.

7. The computer-implemented system of claim 6 , wherein the allocating one or more e-bill numbers to the number applicant from an e-bill number segment maintained in an upper-level account corresponding to the account of the number applicant comprises:

invoking a smart contract deployed on the blockchain to allocate the one or more e-bill numbers to the number applicant from the e-bill number segment maintained in the upper-level account corresponding to the account of the number applicant.

8. The computer-implemented system of claim 6 , wherein the operations further comprise:

further in response to determining that the quantity corresponding to the e-bill number segment maintained in the upper-level account is insufficient, sending an alarm indication to a client device corresponding to the upper-level account.

9. The computer-implemented system of claim 6 , wherein the operations further comprise:

further in response to determining that the quantity corresponding to the e-bill number segment maintained in the upper-level account is insufficient, generating event information that the quantity corresponding to the e-bill number segment maintained in the upper-level account is insufficient, and publishing the event information to the blockchain for storage, wherein the event information causes a client device corresponding to the upper-level account to construct a third e-bill number application transaction and publish the third e-bill number application transaction to the blockchain.

10. The computer-implemented system of claim 6 , wherein the operations further comprise:

periodically determining whether a quantity corresponding to an e-bill number segment maintained in each level of account in the plurality levels of accounts is sufficient; and

if a quantity corresponding to an e-bill number segment maintained in a level of a target account in the plurality levels of accounts is insufficient, sending an alarm indication to a client device corresponding to the target account to instruct the client device to construct a fourth e-bill number application transaction and publish the fourth e-bill number application transaction to the blockchain.

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

receiving, by a node device in a blockchain, an e-bill number application transaction published to the blockchain, wherein the e-bill number application transaction comprises an account identifier of an account of a number applicant applying for e-bill numbers, the e-bill numbers are unique identifiers of respective e-bills, the blockchain comprises a plurality levels of accounts for maintaining respective e-bill number segments, each of the respective e-bill number segments comprises one or more e-bill numbers corresponding to the respective e-bills, and an e-bill number segment maintained by an account is a portion of an e-bill number segment maintained in an upper-level account corresponding to the account;

in response to the e-bill number application transaction, allocating, by the node device in the blockchain, one or more e-bill numbers to the number applicant from an e-bill number segment maintained in an upper-level account corresponding to the account of the number applicant, wherein the allocating one or more e-bill numbers to the number applicant from the e-bill number segment maintained in the upper-level account comprises:

determining whether a quantity corresponding to an e-bill number segment maintained in the account of the number applicant is sufficient;

in response to determining that the quantity corresponding to the e-bill number segment maintained in the account of the number applicant is sufficient, allocating to the number applicant the one or more e-bill numbers from the e-bill number segment maintained in the account of the number applicant, wherein the one or more e-bill numbers from the e-bill number segment maintained in the account of the number applicant are a subset of one or more e-bill numbers from the e-bill number segment maintained in the upper-level account corresponding to the account of the number applicant;

in response to determining that the quantity corresponding to the e-bill number segment maintained in the account of the number applicant is insufficient, applying for the one or more e-bill numbers from the e-bill number segment maintained in the upper-level account corresponding to the account of the number applicant; and

adding, by the node device in the blockchain, the one or more e-bill numbers allocated to the number applicant to the account of the number applicant for maintenance.

12. The non-transitory, computer-readable medium of claim 11 , wherein the allocating one or more e-bill numbers to the number applicant from an e-bill number segment maintained in an upper-level account corresponding to the account of the number applicant comprises:

invoking a smart contract deployed on the blockchain to allocate the one or more e-bill numbers to the number applicant from the e-bill number segment maintained in the upper-level account corresponding to the account of the number applicant.

13. The non-transitory, computer-readable medium of claim 11 , wherein the operations further comprise:

further in response to determining that the quantity corresponding to the e-bill number segment maintained in the upper-level account is insufficient, sending an alarm indication to a client device corresponding to the upper-level account.

14. The non-transitory, computer-readable medium of claim 11 , wherein the operations further comprise:

further in response to determining that the quantity corresponding to the e-bill number segment maintained in the upper-level account is insufficient, generating event information that the quantity corresponding to the e-bill number segment maintained in the upper-level account is insufficient, and publishing the event information to the blockchain for storage, wherein the event information causes a client device corresponding to the upper-level account to construct a third e-bill number application transaction and publish the third e-bill number application transaction to the blockchain.

15. The non-transitory, computer-readable medium of claim 11 , wherein the operations further comprise:

periodically determining whether a quantity corresponding to an e-bill number segment maintained in each level of account in the plurality levels of accounts is sufficient; and

if a quantity corresponding to an e-bill number segment maintained in a level of a target account in the plurality levels of accounts is insufficient, sending an alarm indication to a client device corresponding to the target account to instruct the client device to construct a fourth e-bill number application transaction and publish the fourth e-bill number application transaction to the blockchain.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 9, 2020
From: SUN, ZHEN; QING, LONGSHENG; YANG, XUEQING; JIN, GE; MENG, ZHENZHONG; CHU, YU
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 054367/0846 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053754/0625 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053743/0464 →