IP Library Granted Patent US 10,789,628
Granted Patent B2
US 10,789,628 · App. 16/783,094 · Granted Sep 29, 2020

Blockchain-based bill number allocation method, apparatus and electronic device

Inventors: Longsheng Qing (Hangzhou, CN); Zhen Sun (Hangzhou, CN); Xueqing Yang (Hangzhou, CN); Ge Jin (Hangzhou, CN); Zhenzhong Meng (Hangzhou, CN); Yu Chu (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
G06Q30/04G06F16/2365G06F16/2379G06F40/186G06Q10/10G06Q20/401G06Q30/0185H04L63/102G06Q20/065
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,789,628
App. No.
16/783,094
Granted
Sep 29, 2020
Kind
B2
Abstract

In an implementation of a computer-implemented method, a target transaction sent by a billing initiator is received, where the target transaction includes bill information of an e-bill to be issued. In response to the target transaction, check logic is invoked in a smart contract deployed in a blockchain network, and a validity check is performed on the bill information. If the validity check succeeds, allocation logic is invoked in the smart contract, and an e-bill number is allocated to the bill information from available e-bill number segments maintained in a blockchain account corresponding to a biller of the e-bill.

Claims (53)

1. A computer-implemented method for blockchain-based bill number allocation, comprising:

performing, by a network node in a blockchain network:

receiving a target transaction sent by a billing initiator, wherein the target transaction comprises bill information of an e-bill to be issued;

in response to the target transaction, invoking check logic in a smart contract deployed in the blockchain network, and performing validity check on the bill information; and

in response to determining that the validity check succeeds:

invoking allocation logic in the smart contract; and

allocating an e-bill number to the bill information from available e-bill number segments maintained in a blockchain account corresponding to a biller of the e-bill,

wherein the network node in the blockchain network is connected to a server of a billing regulator by using an oracle, wherein the oracle facilitates synchronizing data on the server of the billing regulator outside the blockchain network to the blockchain network to implement data exchange and conversion of assets between the blockchain network and the real world, and further comprises:

invoking billing logic in the smart contract deployed in the blockchain network;

obtaining an e-bill template from the server of the billing regulator by using the oracle;

generating the e-bill from the bill information and the e-bill number based on the e-bill template; and

publishing the e-bill in the blockchain network for storage.

2. The computer-implemented method according to claim 1 , wherein:

the bill information comprises a bill type of the e-bill and the blockchain account corresponding to the biller maintains available number segments corresponding to bill types that are issued by the biller of the e-bill; and

allocating the e-bill number to the bill information from the available e-bill number segments maintained in the blockchain account corresponding to the biller of the e-bill comprises:

determining an available number segment corresponding to a bill type of the e-bill to be issued from the available e-bill number segments maintained in the blockchain account corresponding to the biller of the e-bill; and

allocating the e-bill number to the bill information from the available number segment.

3. The computer-implemented method according to claim 1 , wherein the validity check comprises one or both of checking permission of the billing initiator or checking billing permission of the biller.

4. The computer-implemented method according to claim 1 , wherein the blockchain network is a consortium blockchain network, and consortium members in the consortium blockchain network comprise a financial institution serving as the billing regulator and a billing institution serving as the biller.

5. A computer-implemented apparatus for blockchain-based bill number allocation deployed in a network node in a blockchain network, 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 a target transaction sent by a billing initiator, wherein the target transaction comprises bill information of an e-bill to be issued;

in response to the target transaction, invoking check logic in a smart contract deployed in the blockchain network, and performing validity check on the bill information; and

in response to determining that the validity check succeeds, invoking allocation logic in the smart contract, and allocating an e-bill number to the bill information from available e-bill number segments maintained in a blockchain account corresponding to a biller of the e-bill,

wherein the network node in the blockchain network is connected to a server of a billing regulator by using an oracle, wherein the oracle facilitates synchronizing data on the server of the billing regulator outside the blockchain network to the blockchain network to implement data exchange and conversion of assets between the blockchain network and the real world; and the operations further comprise:

invoking billing logic in the smart contract deployed in the blockchain network;

obtaining an e-bill template from the server of the billing regulator by using the oracle;

generating the e-bill from the bill information and the e-bill number based on the e-bill template obtained; and

publishing the e-bill in the blockchain network for storage.

6. The computer-implemented apparatus according to claim 5 , wherein:

the bill information comprises a bill type of the e-bill and the blockchain account corresponding to the biller maintains available number segments corresponding to bill types that are issued by the biller of the e-bill; and

allocating the e-bill number to the bill information from the available e-bill number segments maintained in the blockchain account corresponding to the biller of the e-bill comprises:

determining an available number segment corresponding to a bill type of the e-bill to be issued from the available e-bill number segments maintained in the blockchain account corresponding to the biller of the e-bill; and

allocating the e-bill number to the bill information from the available number segment.

7. The computer-implemented apparatus according to claim 5 , wherein the validity check comprises one or both of checking permission of the billing initiator or checking billing permission of the biller.

8. The computer-implemented apparatus according to claim 5 , wherein the blockchain network is a consortium blockchain network, and consortium members in the consortium blockchain network comprise a financial institution serving as the billing regulator and a billing institution serving as the biller.

9. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system deployed in a network node in a blockchain network to perform operations for blockchain-based bill number allocation, comprising:

receiving a target transaction sent by a billing initiator, wherein the target transaction comprises bill information of an e-bill to be issued;

in response to the target transaction, invoking check logic in a smart contract deployed in the blockchain network, and performing validity check on the bill information; and

in response to determining that the validity check succeeds, invoking allocation logic in the smart contract, and allocating an e-bill number to the bill information from available e-bill number segments maintained in a blockchain account corresponding to a biller of the e-bill,

wherein the network node in the blockchain network is connected to a server of a billing regulator by using an oracle, wherein the oracle facilitates synchronizing data on the server of the billing regulator outside the blockchain network to the blockchain network to implement data exchange and conversion of assets between the blockchain network and the real world; and the operations further comprise:

invoking billing logic in the smart contract deployed in the blockchain network;

obtaining an e-bill template from the server of the billing regulator by using the oracle;

generating the e-bill from the bill information and the e-bill number based on the e-bill template obtained; and

publishing the e-bill in the blockchain network for storage.

10. The non-transitory, computer-readable medium to claim 9 , wherein:

the bill information comprises a bill type of the e-bill and the blockchain account corresponding to the biller maintains available number segments corresponding to bill types that are issued by the biller of the e-bill; and

allocating the e-bill number to the bill information from the available e-bill number segments maintained in the blockchain account corresponding to the biller of the e-bill comprises:

determining an available number segment corresponding to a bill type of the e-bill to be issued from the available e-bill number segments maintained in the blockchain account corresponding to the biller of the e-bill; and

allocating the e-bill number to the bill information from the available number segment.

11. The non-transitory, computer-readable medium to claim 9 , wherein the validity check comprises one or both of checking permission of the billing initiator or checking billing permission of the biller.

12. The non-transitory, computer-readable medium to claim 9 , wherein the blockchain network is a consortium blockchain network, and consortium members in the consortium blockchain network comprise a financial institution serving as the billing regulator and a billing institution serving as the biller.

Assignments (3)
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 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 26, 2020
From: QING, LONGSHENG; SUN, ZHEN; YANG, XUEQING; JIN, GE; MENG, ZHENZHONG; CHU, YU
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 052747/0458 →