IP Library Granted Patent US 11,544,102
Granted Patent B2
US 11,544,102 · App. 16/660,998 · Granted Jan 3, 2023

Apparatus and method for batch processing for blockchain transactions

Inventors: Kyu Sang Lee (Seoul, KR); Chang Suk Yoon (Seoul, KR); Sang Jun Kang (Seoul, KR); Ki Woon Sung (Seoul, KR)
Assignee: SAMSUNG SDS CO., LTD.
G06F9/466G06F16/2379
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,544,102
App. No.
16/660,998
Granted
Jan 3, 2023
Kind
B2
Abstract

A method for batch processing for a plurality of individual transactions includes generating a batch transaction by aggregating at least some of the plurality of individual transactions according to a setting value of a batch size, and processing the batch transaction via a blockchain network. The generation of the batch transaction includes adjusting the setting value of the batch size based on a monitoring result for a transaction processing status, and generating the batch transaction according to the adjusted setting value.

Claims (34)

1. An apparatus for batch processing for a plurality of individual transactions, comprising:

a memory for storing one or more instructions;

a communication interface for communicating with a blockchain network; and

a processor, the processor executing the one or more instructions for batch processing function to generate a batch transaction by aggregating at least some of the plurality of individual transactions depending on a setting value of a batch size and to process the batch transaction via the blockchain network,

wherein the processor classifies the plurality of individual transactions according to predetermined classification criteria, inserts the plurality of individual transactions into a batch queue corresponding to a classification result, and in response to determining that the number of a first plurality of individual transactions inserted into a first batch queue satisfies the setting value of the batch size, aggregates the first plurality of individual transactions to generate the batch transaction, wherein the classification criteria comprise an identifier of a smart contract associated with an individual transaction.

2. The apparatus of claim 1 , wherein the classification criteria further comprise at least one of a channel identifier associated with an individual transaction, and a type of an individual transaction.

3. The apparatus of claim 1 , wherein in response to determining that the number of individual transactions incoming to the apparatus for batch processing during a unit time is less than a threshold value, the processor decreases the setting value of the batch size or deactivates the batch processing function.

4. The apparatus of claim 1 , wherein in response to determining that the number of individual transactions incoming to the apparatus for batch processing during a unit time is greater than or equal to a threshold value, the processor increases the setting value of the batch size or activates the batch processing function.

5. The apparatus of claim 1 , wherein in response to determining that the number of transactions outgoing from the apparatus for batch processing during a unit time is greater than or equal to a threshold value, the processor increases the setting value of the batch size or activates the batch processing function.

6. The apparatus of claim 1 , wherein in response to determining that the number of transactions outgoing from the apparatus for batch processing during a unit time is less than a threshold value, the processor decreases the setting value of the batch size or deactivates the batch processing function.

7. The apparatus of claim 1 , wherein in response to determining that a processing time of a transaction is less than a threshold value, the processor decreases the setting value of the batch size or deactivates the batch processing function.

8. The apparatus of claim 1 , wherein in response to determining that a processing time of a transaction is greater than or equal to a threshold value, the processor increases the setting value of the batch size or activates the batch processing function.

9. The apparatus of claim 1 , wherein in response to determining that a load on the apparatus for batch processing is less than a threshold value, the processor decreases the setting value of the batch size or deactivates the batch processing function.

10. The apparatus of claim 1 , wherein in response to determining that a load on the apparatus for batch processing is greater than or equal to a threshold value, the processor increases the setting value of the batch size or activates the batch processing function.

11. The apparatus of claim 1 , wherein in response to determining that a load on the blockchain network is less than a threshold value, the processor decreases the setting value of the batch size or deactivates the batch processing function.

12. The apparatus of claim 1 , wherein in response to determining that a load on the blockchain network is greater than or equal to a threshold value, the processor increases the setting value of the batch size or activates the batch processing function.

13. The apparatus of claim 1 , wherein when a transaction processing failure event occurs, the processor decreases the setting value of the batch size or deactivates the batch processing function.

14. The apparatus of claim 1 , wherein in response to a preset batch timer expired, the processor generates the batch transaction even if the number of the plurality of individual transactions does not satisfy the setting value of the batch size.

15. The apparatus of claim 14 , wherein the processor measures an amount of time the individual transaction has waited until the batch transaction is generated, and in response to determining that the measured waiting time is less than a threshold value, increases the setting value of the batch size or activates the batch processing function.

16. The apparatus of claim 14 , wherein the processor measures an amount of time the individual transaction has waited until the batch transaction is generated, and in response to determining that the measured waiting time is greater than or equal to a threshold value, decreases the setting value of the batch size or deactivates the batch processing function.

17. A method for batch processing for a plurality of individual transactions in an apparatus for batch processing, the method comprising:

generating a batch transaction by aggregating at least some of the plurality of individual transactions according to a setting value of a batch size; and

processing the batch transaction via a blockchain network,

wherein generating the batch transaction comprises:

adjusting the setting value of the batch size based on a monitoring result for a transaction processing status; and

generating the batch transaction according to the adjusted setting value,

wherein the generating the batch transaction according to the adjusted setting value comprising classifying the plurality of individual transactions according to predetermined classification criteria, inserting the plurality of individual transactions into a batch queue corresponding to a classification result, and in response to determining that the number of a first plurality of individual transactions inserted into a first batch queue satisfies the setting value of the batch size, aggregating the first plurality of individual transactions to generate the batch transaction, wherein the classification criteria comprise an identifier of a smart contract associated with an individual transaction.

18. A computer program product stored on a computer readable recording medium, and the computer program product causing to:

generate a batch transaction by aggregating at least some of a plurality of individual transactions according to a setting value of a batch size; and

process the batch transaction via a blockchain network,

wherein generating the batch transaction comprises:

adjusting the setting value of the batch size based on a monitoring result for a transaction processing status; and

generating the batch transaction according to the adjusted setting value,

wherein the generating the batch transaction according to the adjusted setting value comprising classifying the plurality of individual transactions according to predetermined classification criteria, inserting the plurality of individual transactions into a batch queue corresponding to a classification result, and in response to determining that the number of a first plurality of individual transactions inserted into a first batch queue satisfies the setting value of the batch size, aggregating the first plurality of individual transactions to generate the batch transaction, wherein the classification criteria comprise an identifier of a smart contract associated with an individual transaction.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 23, 2019
From: LEE, KYU SANG; YOON, CHANG SUK; KANG, SANG JUN; SUNG, KI WOON
To: SAMSUNG SDS CO., LTD.
Reel/Frame 050799/0544 →
Priority Claims (1)
KR 10-2018-0126899 · Oct 23, 2018 · national
Continuity (1)
Related Publication 20200125391A1 · Apr 23, 2020