IP Library › Granted Patent US 11,336,660
Granted Patent B2
US 11,336,660 · App. 17/362,891 · Granted May 17, 2022

Methods and apparatuses for identifying replay transaction based on blockchain integrated station

Inventors: Zongru Zhan (Hangzhou, CN); Jiang Wang (Hangzhou, CN); Xiaoli Liu (Hangzhou, CN); Zheng Cao (Hangzhou, CN); Fuxi Deng (Hangzhou, CN); Chao Zeng (Hangzhou, CN)
Assignee: Alipay (Hangzhou) Information Technology Co., Ltd.
H04L63/1408G06Q20/389H04L9/088H04L9/30
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 11,336,660
App. No.
17/362,891
Granted
May 17, 2022
Kind
B2
Abstract

Computer-implemented methods, apparatuses, and system for processing transactions using a blockchain integrated station are provided. The blockchain integrated station includes a central processing unit (CPU) and an intelligent network card. The intelligent network card includes a processor different from the CPU. The intelligent network card is coupled with one or more caches. The blockchain integrated station serves as a blockchain node of a blockchain network. The intelligent network card is configured to receive a transaction of the blockchain network; identify the transaction as a replay transaction by operations comprising: comparing the transaction with historically received transactions in the one or more caches; and in response to a comparison result indicates that the transaction is the same as one of the historically received transactions, determining the transaction as a replay transaction.

Claims (48)

1. A blockchain integrated station, comprising:

a central processing unit (CPU); and

an intelligent network card, wherein the intelligent network card comprises a processor different from the CPU, the intelligent network card is coupled with one or more caches, the blockchain integrated station serves as a blockchain node of a blockchain network, and the intelligent network card is configured to:

receive a transaction of the blockchain network;

write each received transaction into a transaction identification pool in the one or more caches; and

identify the transaction as a replay transaction by operations comprising:

identifying historically received transactions from the transaction identification pool, wherein each of the historically received transactions has a reception time duration greater than a designated time duration, and the reception time duration is a time duration between a current time point and a reception time point of the each of the historically received transactions;

comparing the transaction with the historically received transactions in the transaction identification pool; and

in response to a comparison result indicating that the transaction is the same as one of the historically received transactions, determining the transaction as a replay transaction.

2. The blockchain integrated station according to claim 1 , wherein the replay transaction does not participate in a blockchain consensus, or the replay transaction is not sent to the CPU.

3. The blockchain integrated station according to claim 1 , wherein the designated time duration is no less than a valid time duration of a transaction.

4. The blockchain integrated station according to claim 1 , wherein the intelligent network card is configured to classify the replay transaction into a replay transaction set, wherein the replay transaction set does not participate in a blockchain consensus, or the replay transaction set is not sent to the CPU.

5. The blockchain integrated station according to claim 1 , wherein the one or more caches are one or more network card caches, the CPU is coupled with one or more CPU caches, and the intelligent network card is configured to:

write one or more transactions into the one or more network card caches; and

perform subsequent blockchain consensus based on the one or more transactions in the one or more network card caches.

6. The blockchain integrated station according to claim 1 , wherein the processor of the intelligent network card comprises a build-in processor or microprocessor.

7. The blockchain integrated station according to claim 1 , further comprising one or more of a smart contract processing chip or a cryptographic acceleration card.

8. A blockchain system, comprising one or more blockchain nodes of a blockchain network, wherein at least one of the one or more blockchain nodes is implemented using a blockchain integrated station, wherein the blockchain integrated station comprising:

a central processing unit (CPU); and

an intelligent network card, wherein the intelligent network card comprises a processor different from the CPU, the intelligent network card is coupled with one or more caches, the blockchain integrated station serves as a blockchain node of the blockchain network, and the intelligent network card is configured to:

receive a transaction of the blockchain network;

write each received transaction into a transaction identification pool in the one or more caches; and

identify the transaction as a replay transaction by operations comprising:

identifying historically received transactions from the transaction identification pool, wherein each of the historically received transactions has a reception time duration greater than a designated time duration, and the reception time duration is a time duration between a current time point and a reception time point of the each of the historically received transactions;

comparing the transaction with the historically received transactions in the transaction identification pool; and

in response to a comparison result indicating that the transaction is the same as one of the historically received transactions, determining the transaction as a replay transaction.

9. The blockchain system according to claim 8 , wherein the replay transaction does not participate in a blockchain consensus, or the replay transaction is not sent to the CPU.

10. The blockchain system according to claim 8 , wherein the designated time duration is no less than a valid time duration of a transaction.

11. The blockchain system according to claim 8 , wherein the intelligent network card is configured to classify the replay transaction into a replay transaction set, wherein the replay transaction set does not participate in a blockchain consensus, or the replay transaction set is not sent to the CPU.

12. The blockchain system according to claim 8 , wherein the one or more caches are one or more network card caches, the CPU is coupled with one or more CPU caches, and the intelligent network card is configured to:

write one or more transactions into the one or more network card caches; and

perform subsequent blockchain consensus based on the one or more transactions in the one or more network card caches.

13. The blockchain system according to claim 8 , wherein the processor of the intelligent network card comprises a build-in processor or microprocessor.

14. The blockchain system according to claim 8 , wherein the blockchain integrated station further comprises one or more of a smart contract processing chip or a cryptographic acceleration card.

15. A computer-implemented method, comprising:

receiving, by an intelligent network card of a blockchain integrated station that serves as a blockchain node of a blockchain network, a transaction of the blockchain network, wherein the blockchain integrated station comprises a central processing unit (CPU) and the intelligent network card, and the intelligent network card comprises a processor different from the CPU;

writing, by the intelligent network card of the blockchain integrated station, each received transaction into a transaction identification pool in the one or more caches; and

identifying, by the intelligent network card of the blockchain integrated station, the transaction as a replay transaction by operations comprising:

identifying, by the intelligent network card of the blockchain integrated station, historically received transactions from the transaction identification pool, wherein each of the historically received transactions has a reception time duration greater than a designated time duration, and the reception time duration is a time duration between a current time point and a reception time point of the each of the historically received transactions;

comparing, by the intelligent network card of the blockchain integrated station, by the intelligent network card of the blockchain integrated station, the transaction with the historically received transactions in the transaction identification pool; and

in response to a comparison result indicating that the transaction is the same as one of the historically received transactions, determining, by the intelligent network card of the blockchain integrated station, the transaction as a replay transaction.

16. The computer-implemented method according to claim 15 , wherein the replay transaction does not participate in a blockchain consensus, or the replay transaction is not sent to the CPU.

17. The computer-implemented method according to claim 15 , further comprising classifying, by the intelligent network card of the blockchain integrated station, the replay transaction into a replay transaction set, wherein the replay transaction set does not participate in a blockchain consensus, or the replay transaction set is not sent to the CPU.

18. The computer-implemented method according to claim 15 , wherein the one or more caches are one or more network card caches, the CPU is coupled with one or more CPU caches, and the computer-implemented method further comprises:

writing, by the intelligent network card of the blockchain integrated station, one or more transactions into the one or more network card caches; and

performing, by the intelligent network card of the blockchain integrated station, subsequent blockchain consensus based on the one or more transactions in the one or more network card caches.

19. The computer-implemented method according to claim 15 , wherein the processor of the intelligent network card comprises a build-in processor or microprocessor.

20. The computer-implemented method according to claim 15 , wherein the blockchain integrated station further comprises one or more of a smart contract processing chip or a cryptographic acceleration card.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 7, 2022
From: ZHAN, ZONGRU; WANG, JIANG; LIU, XIAOLI; CAO, ZHENG; DENG, FUXI; ZENG, CHAO
To: ALIPAY (HANGZHOU) INFORMATION TECHNOLOGY CO., LTD.
Reel/Frame 059529/0579 →
Priority Claims (1)
CN 202010653796.6 · Jul 8, 2020 · national
Continuity (1)
Related Publication 20210326863A1 · Oct 21, 2021