IP Library Granted Patent US 10,963,854
Granted Patent B2
US 10,963,854 · App. 16/779,173 · Granted Mar 30, 2021

Blockchain-based electronic bill reimbursement method, apparatus, and electronic device

Inventors: Ge Jin (Hangzhou, CN); Longsheng Qing (Hangzhou, CN); Zhen Sun (Hangzhou, CN); Zhenzhong Meng (Hangzhou, CN); Xueqing Yang (Hangzhou, CN); Yu Chu (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06Q20/14G06F16/2379G06F16/27G06Q10/10G06Q30/04G06Q40/12
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,963,854
App. No.
16/779,173
Granted
Mar 30, 2021
Kind
B2
Abstract

One or more implementations of the present specification provide a blockchain-based electronic bill reimbursement method, apparatus, and an electronic device. The blockchain stores electronic bills. The method includes determining whether a maintained target electronic bill is in an unreimbursed state in response to detecting a reimbursement transaction broadcasted by a reimbursement initiator for the target electronic bill to the blockchain; if the target electronic bill is in the unreimbursed state, updating the target electronic bill from the unreimbursed state to a reimbursement lock state; instructing a reimbursement acceptor to perform reimbursement processing on the target electronic bill; determining whether a reimbursement result corresponding to the target electronic bill is broadcasted by the reimbursement acceptor to the blockchain; and if the reimbursement result is detected, updating the target electronic bill from the reimbursement lock state to a reimbursed state.

Claims (61)

1. A computer-implemented method for blockchain-based electronic bill reimbursement, comprising:

in response to detecting a first reimbursement transaction broadcasted by a first reimbursement initiator for a target electronic bill to a blockchain that stores electronic bills, determining, by a blockchain node, whether the target electronic bill is in an unreimbursed state;

in response to determining that the target electronic bill is in the unreimbursed state, updating the target electronic bill from the unreimbursed state to a reimbursement lock state;

after the target electronic bill is updated to the reimbursement lock state, instructing a reimbursement acceptor to perform reimbursement processing on the target electronic bill;

detecting a reimbursement result that is corresponding to the target electronic bill and that is broadcasted by the reimbursement acceptor to the blockchain;

in response to detecting the reimbursement result, updating the target electronic bill from the reimbursement lock state to a reimbursed state;

after the target electronic bill is updated to the reimbursement lock state and before the target electronic bill is updated to the reimbursed state, in response to detecting a second reimbursement transaction broadcasted by a second reimbursement initiator for the target electronic bill to the blockchain, determining, by the blockchain node, that the target electronic bill is in the reimbursement lock state; and

in response to determining that the target electronic bill is in the reimbursement lock state, preventing duplicate reimbursement processing from being performed on the target electronic bill.

2. The computer-implemented method according to claim 1 , wherein, in response to detecting the first reimbursement transaction broadcasted by the first reimbursement initiator for the first target electronic bill to a blockchain that stores electronic bills, determining whether the target electronic bill is in an unreimbursed state comprises:

in response to the first reimbursement transaction, invoking a reimbursement verification logic specified in a smart contract deployed on the blockchain to determine whether the target electronic bill satisfies reimbursement criteria; and

in response to a monitored verification success event generated by the smart contract and corresponding to the target electronic bill, determining whether the target electronic bill is in the unreimbursed state.

3. The computer-implemented method according to claim 2 , wherein the reimbursement criteria comprise reimbursement permission criteria, reimbursement amount criteria, and reimbursement duration criteria.

4. The computer-implemented method according to claim 1 , wherein the reimbursement acceptor subscribes to a bill state of the target electronic bill maintained by the blockchain node; and

after the target electronic bill is updated to the reimbursement lock state, instructing the reimbursement acceptor to perform reimbursement processing on the target electronic bill comprises:

after the target electronic bill is updated to the reimbursement lock state, pushing the reimbursement lock state of the target electronic bill to the reimbursement acceptor to trigger the reimbursement acceptor to perform reimbursement processing on the target electronic bill in the reimbursement lock state.

5. The computer-implemented method according to claim 1 , wherein detecting the reimbursement result that is corresponding to the target electronic bill and that is broadcasted by the reimbursement acceptor to the blockchain comprises detecting the reimbursement result that is corresponding to the target electronic bill and that is broadcasted by the reimbursement acceptor to the blockchain for a predetermined duration.

6. The computer-implemented method according to claim 5 , wherein the method further comprises:

in response to not detecting the reimbursement result within the predetermined duration, updating the target electronic bill from the reimbursement lock state to the unreimbursed state.

7. The computer-implemented method according to claim 1 , wherein the method further comprises:

if the target electronic bill is in the reimbursement lock state, sending, to the second reimbursement initiator, a notification message indicating that reimbursement for the target electronic bill fails.

8. 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:

in response to detecting a first reimbursement transaction broadcasted by a first reimbursement initiator for a target electronic bill to a blockchain that stores electronic bills, determining, by a blockchain node, whether the target electronic bill is in an unreimbursed state;

in response to determining that the target electronic bill is in the unreimbursed state, updating the target electronic bill from the unreimbursed state to a reimbursement lock state;

after the target electronic bill is updated to the reimbursement lock state, instructing a reimbursement acceptor to perform reimbursement processing on the target electronic bill;

detecting a reimbursement result that is corresponding to the target electronic bill and that is broadcasted by the reimbursement acceptor to the blockchain;

in response to detecting the reimbursement result, updating the target electronic bill from the reimbursement lock state to a reimbursed state;

after the target electronic bill is updated to the reimbursement lock state and before the target electronic bill is updated to the reimbursed state, in response to detecting a second reimbursement transaction broadcasted by a second reimbursement initiator for the target electronic bill to the blockchain, determining, by the blockchain node, that the target electronic bill is in the reimbursement lock state; and

in response to determining that the target electronic bill is in the reimbursement lock state, preventing duplicate reimbursement processing from being performed on the target electronic bill.

9. The computer-implemented system according to claim 8 , wherein, in response to detecting the reimbursement transaction broadcasted by the first reimbursement initiator for the target electronic bill to a blockchain that stores electronic bills, determining whether the target electronic bill is in an unreimbursed state comprises:

in response to the first reimbursement transaction, invoking a reimbursement verification logic specified in a smart contract deployed on the blockchain to determine whether the target electronic bill satisfies reimbursement criteria; and

in response to a monitored verification success event generated by the smart contract and corresponding to the target electronic bill, determining whether the target electronic bill is in the unreimbursed state.

10. The computer-implemented system according to claim 9 , wherein the reimbursement criteria comprise reimbursement permission criteria, reimbursement amount criteria, and reimbursement duration criteria.

11. The computer-implemented system according to claim 8 , wherein the reimbursement acceptor subscribes to a bill state of the target electronic bill maintained by the blockchain node; and

after the target electronic bill is updated to the reimbursement lock state, instructing the reimbursement acceptor to perform reimbursement processing on the target electronic bill comprises:

after the target electronic bill is updated to the reimbursement lock state, pushing the reimbursement lock state of the target electronic bill to the reimbursement acceptor to trigger the reimbursement acceptor to perform reimbursement processing on the target electronic bill in the reimbursement lock state.

12. The computer-implemented system according to claim 8 , wherein detecting the reimbursement result that is corresponding to the target electronic bill and that is broadcasted by the reimbursement acceptor to the blockchain comprises detecting the reimbursement result that is corresponding to the target electronic bill and that is broadcasted by the reimbursement acceptor to the blockchain for a predetermined duration.

13. The computer-implemented system according to claim 12 , wherein the operations further comprise:

in response to not detecting the reimbursement result within the predetermined duration, updating the target electronic bill from the reimbursement lock state to the unreimbursed state.

14. The computer-implemented system according to claim 8 , wherein the operations further comprise:

if the target electronic bill is in the reimbursement lock state, sending, to the second reimbursement initiator, a notification message indicating that reimbursement for the target electronic bill fails.

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

in response to detecting a first reimbursement transaction broadcasted by a first reimbursement initiator for a target electronic bill to a blockchain that stores electronic bills, determining, by a blockchain node, whether the target electronic bill is in an unreimbursed state;

in response to determining that the target electronic bill is in the unreimbursed state, updating the target electronic bill from the unreimbursed state to a reimbursement lock state;

after the target electronic bill is updated to the reimbursement lock state, instructing a reimbursement acceptor to perform reimbursement processing on the target electronic bill;

detecting a reimbursement result that is corresponding to the target electronic bill and that is broadcasted by the reimbursement acceptor to the blockchain;

in response to detecting the reimbursement result, updating the target electronic bill from the reimbursement lock state to a reimbursed state;

after the target electronic bill is updated to the reimbursement lock state and before the target electronic bill is updated to the reimbursed state, in response to detecting a second reimbursement transaction broadcasted by a second reimbursement initiator for the target electronic bill to the blockchain, determining, by the blockchain node, that the target electronic bill is in the reimbursement lock state; and

in response to determining that the target electronic bill is in the reimbursement lock state, preventing duplicate reimbursement processing from being performed on the target electronic bill.

16. The non-transitory, computer-readable medium according to claim 15 , wherein, in response to detecting the first reimbursement transaction broadcasted by the first reimbursement initiator for the target electronic bill to a blockchain that stores electronic bills, determining whether the target electronic bill is in an unreimbursed state comprises:

in response to the first reimbursement transaction, invoking a reimbursement verification logic specified in a smart contract deployed on the blockchain to determine whether the target electronic bill satisfies reimbursement criteria; and

in response to a monitored verification success event generated by the smart contract and corresponding to the target electronic bill, determining whether the target electronic bill is in the unreimbursed state.

17. The non-transitory, computer-readable medium according to claim 16 , wherein the reimbursement criteria comprise reimbursement permission criteria, reimbursement amount criteria, and reimbursement duration criteria.

18. The non-transitory, computer-readable medium according to claim 15 , wherein the reimbursement acceptor subscribes to a bill state of the target electronic bill maintained by the blockchain node; and

after the target electronic bill is updated to the reimbursement lock state, instructing the reimbursement acceptor to perform reimbursement processing on the target electronic bill comprises:

after the target electronic bill is updated to the reimbursement lock state, pushing the reimbursement lock state of the target electronic bill to the reimbursement acceptor to trigger the reimbursement acceptor to perform reimbursement processing on the target electronic bill in the reimbursement lock state.

19. The non-transitory, computer-readable medium according to claim 15 , wherein detecting the reimbursement result that is corresponding to the target electronic bill and that is broadcasted by the reimbursement acceptor to the blockchain comprises detecting the reimbursement result that is corresponding to the target electronic bill and that is broadcasted by the reimbursement acceptor to the blockchain for a predetermined duration, and the operations further comprise:

in response to not detecting the reimbursement result within the predetermined duration, updating the target electronic bill from the reimbursement lock state to the unreimbursed state.

20. The non-transitory, computer-readable medium according to claim 15 , wherein the operations further comprise:

if the target electronic bill is in the reimbursement lock state, sending, to the second reimbursement initiator, a notification message indicating that reimbursement for the target electronic bill fails.

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