TW202032480A - Method for high speed transaction processing on blockchain and apparatus for using the method - Google Patents

Method for high speed transaction processing on blockchain and apparatus for using the method Download PDF

Info

Publication number
TW202032480A
TW202032480A TW109101809A TW109101809A TW202032480A TW 202032480 A TW202032480 A TW 202032480A TW 109101809 A TW109101809 A TW 109101809A TW 109101809 A TW109101809 A TW 109101809A TW 202032480 A TW202032480 A TW 202032480A
Authority
TW
Taiwan
Prior art keywords
transaction
blockchain
request
buffer memory
information
Prior art date
Application number
TW109101809A
Other languages
Chinese (zh)
Inventor
比約恩 泰格潤
Original Assignee
南韓商卡沙韓國股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020190010322A external-priority patent/KR20200093719A/en
Priority claimed from KR1020190087569A external-priority patent/KR102262618B1/en
Application filed by 南韓商卡沙韓國股份有限公司 filed Critical 南韓商卡沙韓國股份有限公司
Publication of TW202032480A publication Critical patent/TW202032480A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a high speed transaction processing method on a blockchain, and a device using the method. The high speed transaction processing method on a blockchain can comprise the steps in which a blockchain platform receives a request transaction from a user device, determines whether the request transaction can be processed on the basis of a cache, and transmits a response transaction for the request transaction without access to the blockchain on the basis of information recorded on the cache.

Description

區塊鏈之高速交易處理方法及使用該方法之裝置Block chain high-speed transaction processing method and device using the method

本發明涉及區塊鏈之高速交易處理方法及使用該方法的裝置。更加詳細地,涉及一種用於快速處理需要處理的交易而不會在區塊鏈平臺上產生不必要的負載的方法及裝置。The invention relates to a high-speed transaction processing method of a blockchain and a device using the method. In more detail, it relates to a method and device for quickly processing transactions that need to be processed without generating unnecessary load on the blockchain platform.

區塊鏈可以是對在公共網路(public network)或私人網路絡(private network)中產生的交易資訊進行加密來在網路成員之間共用的數位分類帳(ledger)。Blockchain can be a digital ledger that encrypts transaction information generated in a public network or a private network to be shared among network members.

將交易分類帳的副本分發(distributed)給每個網路成員,從而每當發生新交易時,可在成員的同意下對相應交易進行認證步驟。A copy of the transaction ledger is distributed to each network member, so that whenever a new transaction occurs, the corresponding transaction can be authenticated with the member's consent.

基於區塊鏈的交易資訊無法任意更改,因而增加了交易的可靠性並易於跟蹤資訊。尤其在金融服務領域,正在努力應用區塊鏈技術來提高業務效率並建立新的服務基礎。Blockchain-based transaction information cannot be changed arbitrarily, thus increasing the reliability of transactions and making it easier to track information. Especially in the field of financial services, efforts are being made to apply blockchain technology to improve business efficiency and establish a new service foundation.

通過分散式分類帳系統進行透明交易,可以節約安全、監督、監管成本。區塊鏈不僅可以應用於金融領域,而且可以應用於物流、流通甚至政府公共行政服務。Transparent transactions through a distributed ledger system can save security, supervision, and supervision costs. Blockchain can be used not only in the financial field, but also in logistics, circulation and even government public administrative services.

諸如現有比特幣之類的公共區塊鏈網路(public blockchain network)中,參與節點可具有相同的許可權來在區塊鏈網路上進行操作,但在專用區塊鏈網路(private blockchain network)或許可式區塊鏈網路(permissioned blockchain network)的情況下,按節點設置差別許可權來可在區塊鏈內進行操作。In a public blockchain network such as the existing Bitcoin, participating nodes can have the same permission to operate on the blockchain network, but in a private blockchain network (private blockchain network) ) Or permissioned blockchain network (permissioned blockchain network), you can operate in the blockchain by setting different permissions per node.

當有很多人想要訪問記錄在區塊鏈上的特定資訊時,在區塊鏈上可能會產生負載,因上述負載,可能會降低對區塊鏈上的資訊的存取速度。When many people want to access specific information recorded on the blockchain, a load may be generated on the blockchain. Because of the above load, the speed of access to the information on the blockchain may be reduced.

因此,需要研究一種用於準確地獲得記錄於區塊鏈上的資訊而不會在區塊鏈上產生不必要的負載的方法。Therefore, it is necessary to study a method for accurately obtaining information recorded on the blockchain without generating unnecessary load on the blockchain.

技術問題technical problem

本發明的目的在於,解決上述所有問題。The purpose of the present invention is to solve all the above-mentioned problems.

並且,本發明的目的在於,通過減少在區塊鏈平臺上對區塊鏈的不必要的訪問來提高區塊鏈上的交易處理速度。Moreover, the purpose of the present invention is to improve the transaction processing speed on the blockchain by reducing unnecessary access to the blockchain on the blockchain platform.

並且,本發明的目的在於,在區塊鏈平臺上對交易進行分組來以交易組為基準進行交易驗證,並避免不必要地傳輸用於管理存儲於區塊鏈的資訊的交易。Moreover, the purpose of the present invention is to group transactions on a blockchain platform to verify transactions based on the transaction group, and avoid unnecessary transmission of transactions for managing information stored in the blockchain.

解決問題的手段Means to solve the problem

用於實現上述目的的本發明的代表性結構如下。A representative structure of the present invention for achieving the above-mentioned objects is as follows.

根據本發明的一方面,區塊鏈之高速交易處理方法可包括:區塊鏈平臺從使用者裝置接收請求交易的步驟;上述區塊鏈平臺確定是否能夠基於快速緩衝記憶體處理上述請求交易的步驟;以及上述區塊鏈平臺基於記錄在上述快速緩衝記憶體上的資訊來傳輸針對上述請求交易的回應交易而無需訪問上述區塊鏈的步驟。According to one aspect of the present invention, the high-speed transaction processing method of the block chain may include: the block chain platform receives the request transaction from the user device; the block chain platform determines whether the request transaction can be processed based on the fast buffer memory. Step; and the block chain platform based on the information recorded on the fast buffer memory to transmit the response transaction for the request transaction without accessing the block chain.

根據本發明的另一方面,用於快速處理交易的區塊鏈平臺可包括:通信部,用於從上述使用者裝置接收請求交易;以及快速緩衝記憶體,確定是否能夠處理基於所記錄的資訊確定的上述請求交易,並基於上述記錄的資訊來傳輸針對上述請求交易的回應交易而無需訪問上述區塊鏈。According to another aspect of the present invention, a blockchain platform for fast processing transactions may include: a communication unit for receiving the requested transaction from the above-mentioned user device; and a fast buffer memory for determining whether it can process information based on the recorded Determine the above-mentioned request transaction, and transmit the response transaction for the above-mentioned request transaction based on the above-mentioned recorded information without accessing the above-mentioned blockchain.

發明的效果Effect of invention

根據本發明,通過減少在區塊鏈平臺上對區塊鏈的不必要的訪問來可以提高區塊鏈上的交易處理速度。According to the present invention, the transaction processing speed on the blockchain can be improved by reducing unnecessary access to the blockchain on the blockchain platform.

並且,根據本發明,在區塊鏈平臺上對交易進行分組來以交易組為基準進行交易驗證,並可以避免不必要地傳輸用於管理存儲於區塊鏈的資訊的交易。Furthermore, according to the present invention, transactions are grouped on the blockchain platform to perform transaction verification based on the transaction group, and unnecessary transmission of transactions for managing information stored in the blockchain can be avoided.

對於後述的本發明的詳細說明參照以可實施本發明的特定實施例為例示來示出的附圖。以下將詳細說明這種實施例,以使本發明所屬技術領域的普通技術人員可以實施本發明。本發明的多種實施例雖然互不相同,但是相互沒有排他性。例如,在本說明書中記載的特定形狀、結構及特性可在不超出本發明的思想和範圍的情況下從一實施例變更為其他實施例。並且,各個實施例或個別結構要素的位置或配置也可以在不超出本發明的思想和範圍的情況下變更。因此,後述的詳細說明並不用於限定本發明,本發明的範圍應理解為包括與發明要求保護範圍中的請求項所申請的範圍及等同的所有範圍。圖中,相似的附圖標記在多個方面表示相同或相似的結構要素。For the detailed description of the present invention to be described later, reference is made to the drawings showing specific embodiments in which the present invention can be implemented as examples. This embodiment will be described in detail below, so that those of ordinary skill in the art to which the present invention belongs can implement the present invention. Although the various embodiments of the present invention are different from each other, they are not mutually exclusive. For example, the specific shapes, structures, and characteristics described in this specification can be changed from one embodiment to other embodiments without departing from the spirit and scope of the present invention. In addition, the position or arrangement of each embodiment or individual structural elements may also be changed without departing from the spirit and scope of the present invention. Therefore, the following detailed description is not intended to limit the present invention, and the scope of the present invention should be understood to include the scope of the claims in the protection scope of the invention and all equivalent scopes. In the figures, similar reference numerals denote the same or similar structural elements in many aspects.

以下,參照附圖,詳細說明本發明的多個優選實施例,以使本發明所屬技術領域的普通技術人員可以輕鬆實施本發明。Hereinafter, with reference to the accompanying drawings, a number of preferred embodiments of the present invention will be described in detail, so that those skilled in the art to which the present invention belongs can easily implement the present invention.

以下,本發明的實施例公開為了以區塊鏈形式存儲分散式分類帳,並可同時快速進行大量交易(或交易)的高性能區塊鏈平臺。Hereinafter, the embodiments of the present invention disclose a high-performance blockchain platform for storing distributed ledgers in the form of a blockchain and capable of performing a large number of transactions (or transactions) simultaneously.

本發明實施例的高性能區塊鏈平臺既減少區塊鏈上的負載又顯著提高交易速度,從而可以支援可使數百萬名以上同時交易的交易量和速度。The high-performance block chain platform of the embodiment of the present invention not only reduces the load on the block chain but also significantly increases the transaction speed, so that it can support the transaction volume and speed that can enable millions of simultaneous transactions.

以下,為了便於說明,本發明實施例中公開從用戶帳戶存取金額,並確認使用者帳戶的步驟。但是,可從使用者錢包傳輸或接收數位有價證券等具有規定價值的物件,確認使用者錢包的步驟中也可使用以下本發明實施例的高性能區塊鏈平臺,並且可包含於本發明的權利範圍之內。In the following, for ease of description, the embodiments of the present invention disclose the steps of depositing and withdrawing money from a user account and confirming the user account. However, it is possible to transmit or receive objects of prescribed value such as digital securities from the user's wallet. The following high-performance blockchain platform of the embodiment of the present invention can also be used in the step of confirming the user's wallet, and can be included in the present invention. Within the scope of rights.

即,用戶帳戶能夠以包括多種網路上的價值存儲手段的含義來使用,上述網路上的價值存儲手段包含存在價值的物件,金額能夠以包含存在價值的物件的含義來使用。That is, the user account can be used in the meaning of including a variety of value storage methods on the Internet. The above-mentioned value storage methods on the Internet include objects with existing value, and the amount can be used in the meaning of including objects with existing value.

圖1為示出本發明實施例的高性能區塊鏈平臺的概念圖。Fig. 1 is a conceptual diagram showing a high-performance blockchain platform according to an embodiment of the present invention.

圖1中公開高性能區塊鏈平臺,其以區塊鏈形式存儲分散式分類帳並顯著提高交易速度,以能夠同時快速進行大量交易。Figure 1 discloses a high-performance blockchain platform, which stores distributed ledgers in the form of a blockchain and significantly improves transaction speed to enable rapid simultaneous large numbers of transactions.

參照圖1,本發明實施例的高性能區塊鏈平臺可包括分類帳應用器程式設計介面(API,application programming interface)100、快速緩衝記憶體(cache)110、分類帳調用器(ledger invoker)130、資料流程(data streaming)(或資料流程部(data streaming unit))120、區塊鏈(blockchain)140、通知器(notifier)150、分類帳管理器(ledger manager)160。1, the high-performance blockchain platform of the embodiment of the present invention may include a ledger application programming interface (API, application programming interface) 100, a fast buffer memory (cache) 110, and a ledger invoker. 130. Data streaming (or data streaming unit) 120, blockchain 140, notifier 150, ledger manager 160.

分類帳應用器程式設計介面100可以是用於連接使用者裝置和區塊鏈(或區塊鏈平臺)以提供基於區塊鏈的服務的介面。使用者裝置可通過分類帳應用器程式設計介面100訪問區塊鏈140上的資訊。例如,使用者可通過分類帳應用器程式設計介面100請求存款、取款、交易等,並接收請求的結果值。The ledger application programming interface 100 may be an interface for connecting a user device and a blockchain (or blockchain platform) to provide services based on the blockchain. The user device can access the information on the blockchain 140 through the ledger application programming interface 100. For example, the user can request deposits, withdrawals, transactions, etc. through the ledger application programming interface 100, and receive the requested result value.

快速緩衝記憶體110用於快速提供區塊鏈140上的資料,而無需訪問區塊鏈140。快速緩衝記憶體110可以存儲記錄在區塊鏈140上的資訊(區塊鏈記錄資訊)、用於對記錄在區塊鏈140上的資訊進行變更的資訊(區塊鏈記錄變化資訊)等。The fast buffer memory 110 is used to quickly provide data on the blockchain 140 without accessing the blockchain 140. The fast buffer memory 110 can store information recorded on the blockchain 140 (blockchain record information), information used to change the information recorded on the blockchain 140 (blockchain record change information), and so on.

當用戶在區塊鏈140上生成用於訪問的交易時,快速緩衝記憶體110可以存儲與交易有關的資料。例如,可以產生通過使用者裝置向使用者帳戶(或錢包)(或特定帳戶)存入規定金額,或從用戶帳戶取出規定金額的交易等改變使用者帳戶資訊的交易。或者可以產生通過使用者裝置確認使用者帳戶(或錢包)的交易等不改變使用者帳戶資訊的交易。在此情況下,與使用者帳戶有關的存款資訊/取款資訊、使用者帳戶餘額資訊等可以記錄在快速緩衝記憶體。When a user generates a transaction for access on the blockchain 140, the fast buffer memory 110 can store information related to the transaction. For example, it is possible to generate a transaction that changes user account information, such as depositing a specified amount into a user account (or wallet) (or a specific account) through a user device, or withdrawing a specified amount from the user account. Or, it is possible to generate transactions that do not change the user account information, such as transactions that confirm the user account (or wallet) through the user device. In this case, deposit information/withdrawal information related to the user account, user account balance information, etc. can be recorded in the fast buffer memory.

基於這種快速緩衝記憶體110的記錄,使用者可以確認與當前使用者帳戶有關的資訊,而無需另外訪問。例如,若通過檢查存儲於快速緩衝記憶體110的資訊來判斷為區塊鏈140上沒有進一步發生與使用者帳戶有關的資訊的變化,則可使用記錄於快速緩衝記憶體110的資訊來向使用者裝置傳輸當前使用者帳戶資訊,而無需訪問區塊鏈140。即,當用戶請求讀取(read)並非簡單變化的記錄於區塊鏈140上的資料時,可以立即向使用者裝置傳輸記錄在快速緩衝記憶體110的資料,而無需不必要地訪問區塊鏈140。Based on the records in the cache memory 110, the user can confirm the information related to the current user account without additional access. For example, if it is determined by checking the information stored in the cache memory 110 that there is no further change in the information related to the user account on the blockchain 140, the information recorded in the cache memory 110 can be used to inform the user The device transmits current user account information without access to the blockchain 140. That is, when the user requests to read the data recorded on the blockchain 140 that is not simply changed, the data recorded in the cache memory 110 can be immediately transmitted to the user device without unnecessary access to the block. Chain 140.

通過該方法,區塊鏈140上減少用於記錄資料的不必要的交易/協定等,並且可以提高區塊鏈140的資料處理速度。快速緩衝記憶體110的操作將在後述中具體描述。By this method, unnecessary transactions/agreements for recording data on the blockchain 140 are reduced, and the data processing speed of the blockchain 140 can be improved. The operation of the fast buffer memory 110 will be described in detail later.

資料流程部120可用於依次向分類帳調用器130傳遞通過分類帳應用器程式設計介面100傳遞的交易,而不會丟失。從多個使用者裝置發生的多個交易包含時間戳,並且可以通過分類帳應用器程式設計介面100向快速緩衝記憶體110及資料流程部120傳遞。時間戳可以包含與交易發生時間有關的資訊。資料流程部120可以被實現為佇列(que)。累積在資料流程部120的多個交易資料可向分類帳調用器130傳遞。The data flow unit 120 can be used to sequentially transfer the transactions passed through the ledger application programming interface 100 to the ledger invoker 130 without losing them. Multiple transactions from multiple user devices include time stamps, and can be transmitted to the cache memory 110 and the data processing unit 120 through the ledger application programming interface 100. The timestamp can contain information related to when the transaction occurred. The data flow unit 120 may be implemented as a queue (que). A plurality of transaction data accumulated in the data flow unit 120 can be transferred to the ledger caller 130.

例如,分類帳調用器130可以至少一次刮擦並整理在資料流程部120中存儲的多個(例如,100至1000個)交易來向區塊鏈140傳輸。根據本發明的實施例,可在資料流程部120中對多個交易進行分組,經過分組的交易組可以被識別為一個交易來處理。例如,包含1000個交易的交易組可被視為一個交易來執行交易的驗證工作。交易的分組將在後述中具體描述。For example, the ledger caller 130 may scrape and sort multiple (for example, 100 to 1000) transactions stored in the data flow unit 120 at least once for transmission to the blockchain 140. According to the embodiment of the present invention, multiple transactions can be grouped in the data flow unit 120, and the grouped transaction group can be identified as one transaction for processing. For example, a transaction group containing 1000 transactions can be regarded as one transaction to perform transaction verification work. The grouping of transactions will be described in detail later.

分類帳調用器130可以基於從資料流程部120接收的交易來調用(invoke)區塊鏈140的鏈碼。可通過分類帳調用器130調用多種鏈碼(chain code)。分類帳調用器130調用區塊鏈140的鏈碼,可通過分類帳調用器130向區塊鏈140傳輸交易(或交易組)。例如,通過分類帳調用器130向區塊鏈140傳遞交易,通過挖掘區塊,可將包含在交易中的資料記錄在連接到區塊鏈140的區塊上。The ledger invoker 130 may invoke (invoke) the chain code of the blockchain 140 based on the transaction received from the data flow unit 120. Various chain codes can be called through the ledger caller 130. The ledger caller 130 calls the chain code of the blockchain 140, and the transaction (or transaction group) can be transmitted to the blockchain 140 through the ledger caller 130. For example, the transaction is transferred to the blockchain 140 through the ledger caller 130, and the data contained in the transaction can be recorded on the block connected to the blockchain 140 by mining the block.

通知器150可以識別區塊鏈140上發生的變化,並向其他元件(或模組)傳遞區塊鏈140上的變化資訊。並且,通知器150可以起到檢查區塊鏈140與快速緩衝記憶體110之間的資料相容性並在相容性受損時自動恢復的作用。例如,通知器150可將1)與使用者帳戶的存款/取款有關的交易記錄在區塊鏈140上的情況,2)與後述的分類帳管理器160的結算請求有關的交易(帳戶整理請求交易)記錄在區塊鏈140上的情況等與區塊鏈140上發生的變化有關的資訊向快速緩衝記憶體110、分類帳管理器160等高性能區塊鏈平臺上的組件傳遞。The notifier 150 can identify the changes that have occurred on the blockchain 140, and transmit the change information on the blockchain 140 to other components (or modules). In addition, the notifier 150 can check the data compatibility between the blockchain 140 and the cache memory 110 and automatically restore it when the compatibility is damaged. For example, the notifier 150 may record 1) the transaction related to the deposit/withdrawal of the user account on the blockchain 140, and 2) the transaction related to the settlement request of the ledger manager 160 described later (account arrangement request) Transaction) information related to changes in the blockchain 140, such as the situation recorded on the blockchain 140, is transferred to components on the high-performance blockchain platform such as the fast buffer memory 110 and the ledger manager 160.

分類帳管理器160可用於管理/更新存儲於區塊鏈140上的資料。例如,分類帳管理器160基於記錄在區塊鏈140上的使用者的帳戶餘額資訊及帳戶變化資訊等來向區塊鏈140傳輸用於請求更新使用者帳戶餘額資訊的資料更新請求交易(例如,帳戶整理請求交易)。在帳戶整理請求交易傳輸到區塊鏈140上的情況下,可以基於記錄在區塊鏈140上的使用者的帳戶資訊及帳戶變化資訊等來將使用者的帳戶資訊更新為最新並執行記錄於區塊鏈140上的操作。將在後述中描述分類帳管理器160的具體操作。The ledger manager 160 can be used to manage/update data stored on the blockchain 140. For example, the ledger manager 160 transmits to the blockchain 140 a data update request transaction for requesting to update the user’s account balance information based on the user’s account balance information and account change information recorded on the blockchain 140 (for example, Account management request transaction). In the case that the account management request transaction is transmitted to the blockchain 140, the user’s account information can be updated to the latest based on the user’s account information and account change information recorded on the blockchain 140 and recorded in Operations on the blockchain 140. The specific operation of the ledger manager 160 will be described later.

圖2為示出本發明實施例的高性能區塊鏈平臺的概念圖。Fig. 2 is a conceptual diagram showing a high-performance blockchain platform according to an embodiment of the present invention.

圖2中公開高性能區塊鏈平臺上的資料寫入操作的流程。尤其,公開與用於改變區塊鏈上的資料的資料寫入(或記錄)有關的資料寫入流程。改變區塊鏈上的資料的交易可以用術語“資料變化請求交易”來表示。Figure 2 discloses the flow of data writing operations on the high-performance blockchain platform. In particular, disclose the data writing process related to data writing (or recording) used to change the data on the blockchain. A transaction that changes data on the blockchain can be represented by the term "data change request transaction".

參照圖2,以下,為了便於說明,在本發明實施例中以使用者帳戶資訊(或使用者帳號資訊、使用者錢包資訊)為例進行說明,但本發明也可適用於使用者帳戶資訊之外的其他多種資訊的讀取、寫入、變化報警,並且這種實施例也可包含在本發明的權利範圍之內。Referring to Figure 2, in the following, for the convenience of description, the embodiment of the present invention takes user account information (or user account information, user wallet information) as an example for description, but the present invention can also be applied to user account information. Reading, writing, and changing alarms of various other information, and such an embodiment may also be included in the scope of rights of the present invention.

假設當前用戶帳戶中存有10000韓元,且與使用者帳戶有關的資訊(10000韓元)記錄在區塊鏈240上的情況。然後,假設用戶1)請求提取3000韓元,2)請求存入5000韓元的情況。Assume that there are 10,000 won in the current user account, and information related to the user account (10,000 won) is recorded on the blockchain 240. Then, suppose that the user 1) requests to withdraw 3000 won and 2) requests to deposit 5000 won.

在此情況下,可以生成第一交易(3000韓元取款請求)(第一時間戳),然後可以生成第二交易(5000韓元存款請求)(第二時間戳)。In this case, the first transaction (3000 won withdrawal request) (first timestamp) may be generated, and then the second transaction (5000 won deposit request) (second timestamp) may be generated.

在此情況下,第一交易(3000韓元取款請求)(第一時間戳)及第二交易(5000韓元存款請求)(第二時間戳)可以存儲於快速緩衝記憶體210,並且還可同時或依次傳輸並存儲於資料流程部220。In this case, the first transaction (3000 won withdrawal request) (first timestamp) and the second transaction (5000 won deposit request) (second timestamp) can be stored in the fast buffer memory 210, and can be simultaneously or They are sequentially transmitted and stored in the data flow section 220.

資料流程部220可以按時間順序存儲第一交易(3000韓元取款請求)(第一時間戳)及第二交易(5000韓元存款請求)(第二時間戳)。The data flow unit 220 may store the first transaction (3,000 won withdrawal request) (first time stamp) and the second transaction (5,000 won deposit request) (second time stamp) in chronological order.

然後,分類帳調用器230可以接收存儲於資料流程部220的第一交易(3000韓元取款請求)(第一時間戳)及第二交易(5000韓元存款請求)(第二時間戳)。第一交易(3000韓元取款請求)(第一時間戳)及第二交易(5000韓元存款請求)(第二時間戳)可以存儲於區塊鏈240上的區塊上。Then, the ledger caller 230 may receive the first transaction (3,000 won withdrawal request) (first time stamp) and the second transaction (5,000 won deposit request) (second time stamp) stored in the data flow section 220. The first transaction (3000 won withdrawal request) (first timestamp) and the second transaction (5000 won deposit request) (second timestamp) may be stored on a block on the blockchain 240.

區塊鏈240上可以記錄有1)使用者帳戶餘額資訊(10000韓元)、2)使用者帳戶取款資訊(3000韓元)、3)使用者帳戶存款資訊(5000韓元)。The blockchain 240 can record 1) user account balance information (10,000 won), 2) user account withdrawal information (3,000 won), and 3) user account deposit information (5,000 won).

根據本發明的實施例,若沒有通過分類帳管理器260傳輸帳戶整理請求交易,則可以不更新使用者帳戶餘額資訊。2)使用者帳戶取款資訊(3000韓元)以及3)使用者帳戶存款資訊(5000韓元)作為用於改變使用者帳戶餘額資訊的資訊,可在此追加用於表示其為未反映的資訊的識別字(或標記)。According to the embodiment of the present invention, if the account management request transaction is not transmitted through the ledger manager 260, the user account balance information may not be updated. 2) User account withdrawal information (3000 won) and 3) User account deposit information (5000 won) are used to change the user account balance information, which can be added here to indicate that it is not reflected information. Word (or mark).

然後,若通過分類帳管理器260傳輸帳戶整理請求交易,則使用者帳戶餘額資訊被更新為12000韓元,2)使用者帳戶取款資訊(3000韓元)以及3)使用者帳戶存款資訊(5000韓元)作為用於改變使用者帳戶餘額資訊的資訊,可在此顯示用於表示其為反映資訊的識別字(標記)。Then, if the account management request transaction is transmitted through the ledger manager 260, the user account balance information is updated to 12,000 won, 2) user account withdrawal information (3,000 won) and 3) user account deposit information (5,000 won) As the information used to change the user's account balance information, it can be displayed here to indicate that it is an identifier (mark) that reflects the information.

即,針對用於改變使用者帳戶餘額的資訊,可利用另外的識別字通過帳戶整理請求交易檢查是否反映到使用者帳戶餘額中。That is, for the information used to change the balance of the user's account, another identifier can be used to check whether it is reflected in the balance of the user's account by requesting a transaction to organize the account.

圖3為示出本發明實施例的高性能區塊鏈平臺的概念圖。Fig. 3 is a conceptual diagram showing a high-performance blockchain platform according to an embodiment of the present invention.

圖3中公開用於通知區塊鏈上的資料變化的資料變化報警流程。Figure 3 discloses the data change alarm process used to notify the data change on the blockchain.

參照圖3,資料變化報警流程可在區塊鏈340上發生資料變化的情況下發生。例如,在資料寫入流程中,當由於第二交易(5000韓元存款請求)(第二時間戳)、第一交易(3000韓元取款請求)(第一時間戳)及第二交易(5000韓元存款請求)(第二時間戳)而在區塊鏈340上記錄了存款請求資料、取款請求資料時,區塊鏈上可能發生變化。Referring to FIG. 3, the data change alarm process can occur when a data change occurs on the blockchain 340. For example, in the data writing process, when the second transaction (5,000 won deposit request) (second time stamp), the first transaction (3,000 won withdrawal request) (first time stamp), and the second transaction (5,000 won deposit request) Request) (second timestamp) When the deposit request data and withdrawal request data are recorded on the blockchain 340, changes may occur on the blockchain.

在此情況下,通知器350可以識別區塊鏈上的變化,並向快速緩衝記憶體、分類帳管理器360等高性能區塊鏈平臺上的組件傳遞用於通知區塊鏈上的變化的資訊(或與變化有關的資訊)。可將用於通知區塊鏈340上的變化的資訊(或與變化有關的資訊)以術語“區塊鏈變化報警資訊”來表示。In this case, the notifier 350 can recognize the changes on the blockchain, and deliver information for notifying the changes on the blockchain to components on the high-performance blockchain platform such as fast buffer memory and ledger manager 360. Information (or information related to changes). The information used to notify the change on the blockchain 340 (or information related to the change) can be represented by the term "blockchain change alarm information".

例如,分類帳管理器360可向區塊鏈340傳輸帳戶整理請求交易。在此情況下,使用者帳戶可被整理為最終值。具體地,存儲於區塊鏈340上的1)使用者帳戶餘額資訊(10000韓元)、2)使用者帳戶取款資訊(3000韓元)、3)使用者帳戶存款資訊(5000韓元)均被整理,在區塊鏈340上,使用者帳戶餘額資訊可以被更新並存儲為12000韓元。For example, the ledger manager 360 may transmit the account sorting request transaction to the blockchain 340. In this case, the user account can be sorted into the final value. Specifically, 1) user account balance information (10,000 won), 2) user account withdrawal information (3,000 won), and 3) user account deposit information (5,000 won) stored on the blockchain 340 are all sorted. On the blockchain 340, user account balance information can be updated and stored as 12,000 won.

同樣,由於通過分類帳管理器360傳輸的帳戶整理請求交易而發生的變化可通過通知器350通知到分類帳管理器360及快速緩衝記憶體310。Similarly, changes that occur due to the account organization request transaction transmitted through the ledger manager 360 can be notified to the ledger manager 360 and the fast buffer memory 310 through the notifier 350.

分類帳管理器360可從通知器350接收變化資訊,並將帳戶整理請求交易傳輸到區塊鏈340上。分類帳管理器360傳輸帳戶整理請求交易,從通知器350接收由於帳戶整理請求交易而產生的區塊鏈變化報警資訊,並傳輸帳戶整理請求交易,可通過這種方式不繼續傳輸不必要的帳戶整理請求交易。因此,防止區塊鏈上的不必要的帳戶整理請求交易的傳輸,最終可減少區塊鏈340上的超載,並可提高區塊鏈340的處理速度。The ledger manager 360 can receive the change information from the notifier 350 and transmit the account management request transaction to the blockchain 340. The ledger manager 360 transmits the account sorting request transaction, receives the block chain change alarm information from the account sorting request transaction from the notifier 350, and transmits the account sorting request transaction, which can prevent unnecessary accounts from being transferred in this way Organize request transactions. Therefore, preventing the transmission of unnecessary account sorting request transactions on the blockchain can ultimately reduce the overload on the blockchain 340 and increase the processing speed of the blockchain 340.

並且,根據本發明的實施例,設置帳戶整理請求交易的週期,分類帳管理器360還可在每個設置週期傳輸帳戶整理請求交易。Moreover, according to the embodiment of the present invention, the period of the account management request transaction is set, and the ledger manager 360 may also transmit the account management request transaction in each set period.

快速緩衝記憶體310可從通知器350接收區塊鏈變化報警資訊,可根據是否接收區塊鏈變化報警資訊來確定基於記錄在快速緩衝記憶體的資訊還是基於記錄在區塊鏈340的資訊來提供針對從使用者裝置產生的交易的回應。將在後述中描述這種基於快速緩衝記憶體310的回應方法。The fast buffer memory 310 can receive the block chain change alarm information from the notifier 350, and can determine whether it is based on the information recorded in the fast buffer memory or based on the information recorded in the blockchain 340 according to whether the block chain change alarm information is received. Provides responses to transactions generated from user devices. This response method based on the fast buffer memory 310 will be described later.

圖4為示出本發明實施例的高性能區塊鏈平臺的概念圖。Fig. 4 is a conceptual diagram showing a high-performance blockchain platform according to an embodiment of the present invention.

圖4中公開與區塊鏈上的資料讀取有關的資料讀取流程。資料讀取等不改變區塊鏈上的資料的交易可用術語“資料無變化請求交易”來表示。Figure 4 discloses the data reading process related to data reading on the blockchain. Data reading transactions that do not change the data on the blockchain can be represented by the term "data no change request transaction".

參照圖4,例如,當發生使用者裝置請求確認帳戶餘額的交易(使用者帳戶餘額確認交易)時,可以首先通過快速緩衝記憶體410確認使用者帳戶相關資訊,並判斷是否可以直接向用戶提供快速緩衝記憶體410上的使用者帳戶餘額資訊。然後,若可以直接向用戶提供快速緩衝記憶體410上的使用者帳戶餘額資訊,則可向用於裝置提供快速緩衝記憶體410上的使用者帳戶餘額資訊,而無需防問區塊鏈440。相反,若無法直接向用戶提供快速緩衝記憶體410上的使用者帳戶餘額資訊,則可通過訪問區塊鏈來向使用者裝置提供使用者帳戶餘額資訊。Referring to Figure 4, for example, when a transaction in which the user device requests to confirm the account balance (user account balance confirmation transaction) occurs, the user's account related information can be confirmed through the fast buffer memory 410 first, and whether it can be directly provided to the user The user account balance information on the memory 410 is cached quickly. Then, if the user account balance information on the fast buffer memory 410 can be directly provided to the user, the user account balance information on the fast buffer memory 410 can be provided to the user device without asking the blockchain 440. On the contrary, if the user account balance information on the fast buffer memory 410 cannot be directly provided to the user, the user account balance information can be provided to the user device by accessing the blockchain.

將在後述中描述與是否可以直接向用戶提供快速緩衝記憶體410上的使用者帳戶餘額資訊有關的判斷。The determination related to whether the user account balance information on the cache memory 410 can be directly provided to the user will be described later.

若可通過快速緩衝記憶體410提供使用者帳戶餘額資訊,則可直接提供使用者帳戶餘額資訊,而無需訪問區塊鏈440。相反,若無法通過快速緩衝記憶體410提供使用者帳戶餘額資訊,則可通過訪問區塊鏈440來基於記錄在區塊鏈440上的資料中的使用者帳戶餘額相關資訊(使用者帳戶餘額資訊、使用者帳戶存款資訊、使用者帳戶取款資訊等)整理使用者帳戶餘額並提供給用戶。If the user account balance information can be provided through the fast buffer memory 410, the user account balance information can be directly provided without accessing the blockchain 440. On the contrary, if the user account balance information cannot be provided through the fast buffer memory 410, the user account balance information (user account balance information) in the data recorded on the blockchain 440 can be accessed by accessing the blockchain 440. , User account deposit information, user account withdrawal information, etc.) organize the user account balance and provide it to the user.

例如,在前述例中,可以收集存儲於區塊鏈上的使用者帳戶餘額相關資訊(使用者帳戶餘額資訊(10000韓元)、使用者帳戶取款資訊(3000韓元)、使用者帳戶存款資訊(5000韓元)),並基於所收集的資訊來計算使用者帳戶餘額(10000韓元-3000韓元+5000韓元=12000韓元)來提供給使用者裝置。For example, in the preceding example, the user account balance information (user account balance information (10000 won), user account withdrawal information (3000 won), user account deposit information (5000 South Korean won)), and calculate the user account balance (10000 won-3000 won + 5000 won = 12000 won) based on the collected information and provide it to the user device.

當不傳輸分類帳管理器460的帳戶整理請求交易時,因使用者的請求而被整理的使用者帳戶餘額可以不存儲於區塊鏈440。即,僅通過分類帳管理器460的帳戶整理請求交易來對多個使用者的多個用戶帳戶餘額分別進行整理,最終更新的多個用戶中的每個用戶的使用者帳戶餘額相關資訊可以記錄在區塊鏈440上。When the account sorting request transaction of the ledger manager 460 is not transmitted, the user account balance sorted due to the user's request may not be stored in the blockchain 440. That is, only through the account management request transaction of the ledger manager 460 to sort the balances of multiple users' multiple users' accounts separately, and finally update the user account balance related information of each of the multiple users can be recorded On the blockchain 440.

或者,根據本發明的實施例,在即使未傳輸分類帳管理器460的帳戶整理請求交易也通過使用者裝置發生帳戶餘額確認交易的情況下,針對相應使用者的用戶帳戶餘額執行另外的帳戶整理,並更新使用者帳戶餘額資訊,可在使用者帳戶取款資訊及使用者帳戶存款資訊顯示用於表示其為反映資訊的識別字(標記)。即,當針對特定用戶發生單獨的帳戶餘額確認交易時,也可以僅針對相應用戶的用戶帳戶餘額執行另外的帳戶整理來作為使用者帳戶餘額資訊記錄於區塊鏈上。Or, according to the embodiment of the present invention, in the case that the account balance confirmation transaction occurs through the user device even if the account management request transaction of the ledger manager 460 is not transmitted, another account management is performed for the user account balance of the corresponding user , And update the user account balance information, which can be displayed in the user account withdrawal information and user account deposit information to indicate that it is an identifier (mark) that reflects the information. That is, when a separate account balance confirmation transaction occurs for a specific user, it is also possible to perform another account sorting only for the user account balance of the corresponding user to record on the blockchain as the user account balance information.

圖5為示出本發明實施例的對區塊鏈上的記錄的訪問判斷操作的概念圖。Fig. 5 is a conceptual diagram showing an access judgment operation on a record on a blockchain according to an embodiment of the present invention.

圖5中公開當通過使用者裝置發生資料讀取操作(或與資料讀取有關的交易)時,僅通過訪問快速緩衝記憶體來向使用者裝置提供資料而無需訪問區塊鏈的方法。Figure 5 discloses a method of providing data to the user device without accessing the blockchain by only accessing the fast buffer memory when a data reading operation (or a transaction related to data reading) occurs through the user device.

參照圖5,可以基於記錄在快速緩衝記憶體上的使用者交易資訊和/或從通知器接收的區塊鏈變化報警資訊,來確定是否僅通過訪問快速緩衝記憶體而不訪問區塊鏈向使用者裝置提供資料。5, based on the user transaction information recorded on the cache memory and/or the block chain change alarm information received from the notifier, it can be determined whether to access the cache memory without accessing the blockchain direction. The user device provides data.

根據本發明的實施例,區塊鏈平臺從使用者裝置接收請求交易,區塊鏈平臺可以基於快速緩衝記憶體確定是否可以處理請求交易。請求交易可以是在前述的區塊鏈上用於讀取/寫入資料等的交易(例如,帳戶餘額確認交易、使用者帳戶存款/取款相關交易等)。According to an embodiment of the present invention, the blockchain platform receives the requested transaction from the user device, and the blockchain platform can determine whether the requested transaction can be processed based on the fast buffer memory. The request transaction may be a transaction used to read/write data on the aforementioned blockchain (for example, account balance confirmation transaction, user account deposit/withdrawal related transaction, etc.).

如果可能,區塊鏈平臺可以基於記錄在快速緩衝記憶體上的資訊來在不訪問上述區塊鏈的情況下傳輸針對請求交易的回應交易。當區塊鏈平臺無法基於快速緩衝記憶體處理請求交易時,可向資料流程部傳輸請求交易,以向區塊鏈傳輸請求交易。If possible, the blockchain platform can transmit response transactions to the requested transaction without accessing the above-mentioned blockchain based on the information recorded on the fast buffer memory. When the blockchain platform cannot process the request transaction based on the fast buffer memory, it can transmit the request transaction to the data processing department to transmit the request transaction to the blockchain.

快速緩衝記憶體存儲與請求交易有關的資訊,請求交易可以包含時間戳。資料流程部存儲與請求交易不同的請求交易,不同的請求交易可以包含在從使用者裝置或其他使用者裝置接收請求交易之前接收並傳輸到區塊鏈之前的交易。如上所述,區塊鏈平臺可以基於分類帳調用器對區塊鏈的調用來向區塊鏈傳輸與請求交易不同的請求交易。The fast buffer memory stores information related to the requested transaction, and the requested transaction can include a time stamp. The data flow department stores request transactions that are different from the request transaction, and different request transactions may include transactions that are received and transmitted to the blockchain before the request transaction is received from the user device or other user devices. As described above, the blockchain platform can transmit a request transaction different from the request transaction to the blockchain based on the call of the ledger caller to the blockchain.

是否能夠基於快速緩衝記憶體處理請求交易可以基於請求交易的特性及先前與使用者裝置關聯地傳輸到快速緩衝記憶體上的先前請求交易的特性來確定。請求交易及先前請求交易的特性可以是資料無變化請求交易550、資料變化請求交易570中的一種。Whether the requested transaction can be processed based on the fast buffer memory can be determined based on the characteristics of the requested transaction and the characteristics of the previously requested transaction previously transmitted to the fast buffer memory in association with the user device. The characteristics of the requested transaction and the previously requested transaction may be one of the data no change request transaction 550 and the data change request transaction 570.

具體地,在從使用者裝置傳輸的交易為不改變區塊鏈上的資料的資料無變化請求交易(例如,帳戶確認請求交易500),且在最後更新所要提供的資料之後,在快速緩衝記憶體520上僅記錄有不改變區塊鏈上的資料的資料無變化請求交易550的情況下,可以在不訪問區塊鏈540的情況下傳輸存儲有快速緩衝記憶體520的資料作為回應交易580。Specifically, after the transaction transmitted from the user’s device is a data request transaction that does not change the data on the blockchain (for example, an account confirmation request transaction 500), and after the data to be provided is finally updated, the fast buffer memory The body 520 only records data that does not change the data on the blockchain. In the case of a transaction 550 without change, the data stored in the fast buffer memory 520 can be transmitted without accessing the blockchain 540 as a response transaction 580 .

相反,在從使用者裝置傳輸的交易為不改變區塊鏈540上的資料的資料無變化請求交易(例如,帳戶確認請求交易500),且在最後更新所要提供的資料之後,在快速緩衝記憶體520上記錄有用於改變區塊鏈540上的資料的至少一個資料變化請求交易570的情況下,可通過訪問區塊鏈540來基於記錄在區塊鏈540上的資料傳輸回應交易580。On the contrary, when the transaction transmitted from the user's device is a data request transaction without changing the data on the blockchain 540 (for example, an account confirmation request transaction 500), and after the data to be provided is finally updated, the fast buffer memory When the body 520 records at least one data change request transaction 570 for changing the data on the blockchain 540, the transaction 580 can be responded to based on the data transmission recorded on the blockchain 540 by accessing the blockchain 540.

例如,可以確定從快速緩衝記憶體520直接提供還是基於記錄在區塊鏈540上的資料來提供使用者帳戶餘額資訊。例如,在快速緩衝記憶體520上記錄使用者帳戶餘額資訊之後,未存儲用於改變使用者帳戶餘額資訊的與使用者帳戶取款和/或使用者帳戶存款有關的交易相關資訊的情況(不發生使用者帳戶取款資訊和/或使用者帳戶存款資訊的情況)下,可將存儲於快速緩衝記憶體520上的使用者帳戶餘額資訊判斷為最新更新的帳戶資訊。在此狀態下,當從使用者裝置發生帳戶確認請求交易500時,可提供存儲於快速緩衝記憶體的使用者帳戶餘額資訊,而無需訪問區塊鏈540來讀取資料。For example, it can be determined whether the user account balance information is provided directly from the fast buffer memory 520 or based on the data recorded on the blockchain 540. For example, after the user account balance information is recorded in the fast buffer memory 520, the transaction-related information related to user account withdrawal and/or user account deposits used to change the user account balance information is not stored (no occurrence In the case of user account withdrawal information and/or user account deposit information), the user account balance information stored in the fast buffer memory 520 can be determined as the latest updated account information. In this state, when an account confirmation request transaction 500 occurs from the user device, the user account balance information stored in the fast buffer memory can be provided without accessing the blockchain 540 to read the data.

相反,可以假設在將使用者帳戶餘額資訊記錄於快速緩衝記憶體520之後,發生用於改變使用者帳戶餘額資訊的使用者帳戶取款資訊和/或使用者帳戶存款資訊等使用者帳戶餘額變化資訊的情況(或在快速緩衝記憶體上存儲用於改變使用者帳戶餘額資訊的使用者帳戶取款和/或與使用者帳戶存款有關的交易相關資訊的情況)。在此情況下,使用者帳戶餘額資訊可在區塊鏈540上確認。On the contrary, it can be assumed that after the user account balance information is recorded in the fast buffer memory 520, user account balance change information such as user account withdrawal information and/or user account deposit information for changing the user account balance information occurs (Or storing user account withdrawals and/or transaction-related information related to user account deposits for changing user account balance information on the fast buffer memory). In this case, the user account balance information can be confirmed on the blockchain 540.

提取記錄在區塊鏈540上的使用者帳戶餘額相關資訊,在作為傳輸帳戶整理請求交易等資料更新交易之後更新的最新資訊來記錄於區塊鏈540上的資訊為使用者帳戶餘額資訊(或資料無變化資訊590)的情況下,可將記錄於區塊鏈540上的使用者帳戶餘額資訊提供給使用者。相反,在傳輸帳戶整理請求交易等資料更新交易之後記錄於區塊鏈540上的資訊為使用者帳戶餘額變更資訊(或資料變化資訊595)的情況下,可以搜索最新使用者帳戶餘額資訊及其之後產生的帳戶餘額變更資訊,對相應使用者進行另外的帳戶整理並提供給使用者裝置。所提取的區塊鏈540上的使用者帳戶餘額相關資訊可以重新存儲於快速緩衝記憶體中。即,也可在區塊鏈540上判斷是否發生與提供請求資料相關聯的資料無變化請求交易(或是否存儲與提供請求資料相關聯的資料無變化資訊590)或是否發生資料變化請求交易(或是否存儲與提供請求資料相關聯的資料變化資訊595),來生成基於區塊鏈上的資料的回應交易。Extract the user account balance-related information recorded on the blockchain 540, and use it as the latest information updated after the transaction account sorting request transaction and other data update transactions. The information recorded on the blockchain 540 is the user account balance information (or In the case of data unchanged information 590), the user account balance information recorded on the blockchain 540 can be provided to the user. On the contrary, in the case that the information recorded on the blockchain 540 after the data update transaction such as the transfer account sorting request transaction is the user account balance change information (or data change information 595), the latest user account balance information and its The account balance change information generated afterwards will be organized separately for the corresponding user and provided to the user’s device. The extracted information about the user account balance on the blockchain 540 can be stored in the fast buffer memory again. That is, it can also be judged on the blockchain 540 whether there is a data no change request transaction associated with the provision of the requested data (or whether the data no change information associated with the provision of the requested data 590 is stored) or whether a data change request transaction has occurred ( Or whether to store the data change information associated with the requested data 595) to generate a response transaction based on the data on the blockchain.

通過上述方法,用戶可在不訪問區塊鏈540的情況下僅訪問快速緩衝記憶體520來獲得資訊,在此情況下,可減少在區塊鏈540上發生不必要的交易,並且使用者可以更加快速且準確地獲得所需的資訊。Through the above method, the user can only access the fast buffer memory 520 to obtain information without accessing the blockchain 540. In this case, unnecessary transactions on the blockchain 540 can be reduced, and the user can Get the information you need more quickly and accurately.

換言之,在最終更新區塊鏈540上的資料之後,若在快速緩衝記憶體520上僅記錄有不改變資料的資料無變化請求交易550,則可以無需訪問區塊鏈540而僅訪問快速緩衝記憶體520來向使用者裝置傳輸針對與資料讀取有關的請求交易的回應交易。In other words, after the data on the blockchain 540 is finally updated, if only the data no change request transaction 550 that does not change the data is recorded on the fast buffer memory 520, it is possible to access the fast buffer memory without accessing the blockchain 540. The body 520 transmits the response transaction for the request transaction related to data reading to the user device.

相反,在最終更新區塊鏈540上的資料之後,在快速緩衝記憶體520上記錄有用於改變至少一個資料的資料變化請求交易570,則可通過訪問區塊鏈540來向使用者裝置傳輸針對與資料讀取有關的請求交易的回應交易。On the contrary, after the data on the block chain 540 is finally updated, the data change request transaction 570 for changing at least one data is recorded on the fast buffer memory 520, and the data change request transaction 570 can be transmitted to the user device by accessing the block chain 540. Data read related to the response transaction of the requested transaction.

圖6為示出本發明實施例的資料流程部的操作的概念圖。Fig. 6 is a conceptual diagram showing the operation of the data flow part of the embodiment of the present invention.

圖6中公開在資料流程部對交易進行分組的操作。Figure 6 discloses the operation of grouping transactions in the data flow department.

參照圖6,資料流程部600可對所要處理的交易進行分組來生成交易組650。以組為單位對交易組650進行驗證,從而可以提高區塊鏈660上的處理速度。6, the data flow unit 600 may group the transactions to be processed to generate a transaction group 650. The transaction group 650 is verified on a group basis, so that the processing speed on the blockchain 660 can be improved.

從多個使用者裝置發生的交易包含時間戳,多個交易可以基於時間戳依次存儲於資料流程部600。Transactions that occur from multiple user devices include time stamps, and multiple transactions can be sequentially stored in the data flow unit 600 based on the time stamps.

根據本發明的實施例,交易可以被單獨驗證,並基於分類帳調用器620的調用記錄於區塊鏈660上,但是也能夠以交易組單位分組並驗證,並且基於分類帳調用器620的調用記錄於區塊鏈660上。According to the embodiment of the present invention, transactions can be individually verified and recorded on the blockchain 660 based on the invocation of the ledger caller 620, but can also be grouped and verified in transaction group units, and based on the invocation of the ledger caller 620 Recorded on the blockchain 660.

能夠以多種方法確定包含存儲於資料流程部600的多個交易的交易組650。首先,當調用分類帳調用器620的交易時,在調用時間點存在於資料流程部600的所有交易可以被分組為一個交易組650。在此情況下,可以按相關帳戶另外形成子組。例如,當用戶A、用戶B、使用者C之間進行交易時,可將與用戶A、用戶B、使用者C有關的交易另外設置為子交易組。The transaction group 650 including a plurality of transactions stored in the data flow unit 600 can be determined by various methods. First, when the transaction of the ledger invoker 620 is invoked, all the transactions existing in the data flow part 600 at the invocation time can be grouped into a transaction group 650. In this case, additional subgroups can be formed by related accounts. For example, when a transaction is conducted between user A, user B, and user C, the transaction related to user A, user B, and user C can be additionally set as a sub-transaction group.

或者,根據本發明的實施例,按交易的特性形成交易組650並進行驗證步驟。例如,可以形成不改變區塊鏈660上的資料的用於讀取簡單資料的交易組(以下,資料無變化交易組),諸如產生區塊鏈上的資料變化的交易組等根據基於交易進行的操作形成交易組(資料變化交易組)。可以針對資料無變化交易組和資料變化交易組進行不同的驗證步驟。Or, according to the embodiment of the present invention, the transaction group 650 is formed according to the characteristics of the transaction and the verification step is performed. For example, it is possible to form a transaction group for reading simple data without changing the data on the blockchain 660 (hereinafter, a transaction group with no data change), such as a transaction group that generates data changes on the blockchain, etc. based on transactions. The operation forms a transaction group (data change transaction group). Different verification steps can be performed for the data unchanged transaction group and the data change transaction group.

以相同的方式對資料無變化交易組和資料變化交易組進行基本驗證,但可以對資料變化交易組進一步進行與是否可以改變資料有關的驗證。In the same way, basic verification is performed on the data unchanged transaction group and the data change transaction group, but the data change transaction group can be further verified on whether the data can be changed.

例如,資料變化交易組可以分為作為用於存款的資料變化的資料變化(存款)交易組和作為用於取款的資料變化的資料變化(取款)交易組。For example, the data change transaction group can be divided into a data change (deposit) transaction group as a data change for deposit and a data change (withdrawal) transaction group as a data change for withdrawal.

在資料變化(存款)交易組的情況下,可能有必要驗證存款的使用者帳戶中是否可以進行存款的驗證。在作為資料變化的資料變化(取款)交易組的情況下,可能有必要進行取款的用戶帳戶中是否可以進行取款的驗證。In the case of a data change (deposit) transaction group, it may be necessary to verify whether the deposit can be verified in the user account of the deposit. In the case of a data change (withdrawal) transaction group as a data change, it may be necessary to verify whether the withdrawal is possible in the user account of the withdrawal.

根據本發明的實施例,根據交易的特性,多個交易可形成交易組650,按交易組650進行另外的驗證步驟來記錄在區塊上。當包含於交易組650的多個交易記錄在區塊鏈上時,可以不考慮交易組650,而基於時間戳來存儲。具體地,當記錄在區塊鏈上時,解除交易組650,並考慮交易的時間戳來記錄多個交易。或者考慮交易組650來記錄在區塊上,或在單個交易中顯示與驗證時分組的交易組650有關的識別資訊。According to the embodiment of the present invention, a plurality of transactions can form a transaction group 650 according to the characteristics of the transaction, and perform additional verification steps according to the transaction group 650 to be recorded on the block. When multiple transactions included in the transaction group 650 are recorded on the blockchain, the transaction group 650 may not be considered, and the transaction group 650 may be stored based on the timestamp. Specifically, when recording on the blockchain, the transaction group 650 is released, and multiple transactions are recorded in consideration of the time stamp of the transaction. Or consider the transaction group 650 to be recorded on the block, or display identification information related to the transaction group 650 grouped during verification in a single transaction.

以上描述的本發明的實施例能夠以可以由各種電腦元件執行的程式指令的形式實現並記錄在電腦可讀記錄介質中。該電腦可讀記錄介質可以單獨或組合地包括程式指令、資料檔案、資料結構等。記錄在上述電腦可讀記錄介質的程式指令可以為本發明專門設計和配置,或者可以是被電腦軟體領域的普通技術人員公知並使用的程式指令。電腦可讀記錄介質的示例包括諸如硬碟、軟碟和磁帶之類的磁性介質,諸如CD-ROM和DVD之類的光學記錄介質以及諸如軟式光碟(floptical disk)之類的磁光介質(magneto-optical medium)和諸如ROM、RAM、快閃記憶體之類的專門為了存儲和執行程式指令而配置的硬體裝置。程式指令的示例不僅包括由編譯器生成的機器代碼,而且包括可以由電腦使用解譯器等執行的高階語言代碼。可以通過一個或多個軟體模組來改變硬體裝置以執行根據本發明的處理,反之亦然。The above-described embodiments of the present invention can be implemented in the form of program instructions that can be executed by various computer components and recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc., alone or in combination. The program instructions recorded in the computer-readable recording medium may be specially designed and configured for the present invention, or may be program instructions known and used by those of ordinary skill in the computer software field. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, and magneto-optical media such as floptical disks. -optical medium) and hardware devices specially configured for storing and executing program instructions such as ROM, RAM, and flash memory. Examples of program instructions include not only machine codes generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. The hardware device can be changed by one or more software modules to perform the processing according to the present invention, and vice versa.

儘管在上述中通過諸如具體的結構要求之類的特定事項和受限的實施例以及附圖來描述了本發明,但這僅是為了有助於更全面地理解本發明而提供,並且本發明不限於上述實施例。只要是本發明所屬技術領域的普通技術人員就可根據這種記載進行各種修改和變更。Although the present invention has been described in the above through specific matters such as specific structural requirements, limited embodiments, and drawings, this is only provided to help a more comprehensive understanding of the present invention, and the present invention It is not limited to the above embodiment. A person of ordinary skill in the technical field of the present invention can make various modifications and changes based on this description.

因此,本發明的思想不應局限於上述所描述的實施例,除了後述的發明要求保護範圍之外,與發明要求保護範圍等同或由此等效改變的所有範圍也應屬於本發明的思想範疇之內。Therefore, the idea of the present invention should not be limited to the above-described embodiments. In addition to the scope of protection of the invention described below, all ranges equivalent to or equivalently changed from the scope of the invention shall also belong to the scope of the invention. within.

100:分類帳應用器程式設計介面 110:快速緩衝記憶體 120:資料流程 120:資料流程部 130:分類帳調用器 140:區塊鏈 150:通知器 160:分類帳管理器 200:分類帳應用器程式設計介面 210:快速緩衝記憶體 220:資料流程 220:資料流程部 230:分類帳調用器 240:區塊鏈 250:通知器 260:分類帳管理器 300:分類帳應用器程式設計介面 310:快速緩衝記憶體 320:資料流程 330:分類帳調用器 340:區塊鏈 350:通知器 360:分類帳管理器 400:分類帳應用器程式設計介面 410:快速緩衝記憶體 420:資料流程 430:分類帳調用器 440:區塊鏈 450:通知器 460:分類帳管理器 500:帳戶確認請求交易 520:快速緩衝記憶體 540:區塊鏈 550:資料無變化請求交易 570:資料變化請求交易 580:回應交易 590:資料無變化資訊 595:資料變化資訊 600:資料流程部 620:分類帳調用器 650:交易組 660:區塊鏈100: Ledger application programming interface 110: fast buffer memory 120: data flow 120: Data Process Department 130: Ledger caller 140: Blockchain 150: Notifier 160: Ledger Manager 200: Ledger application programming interface 210: fast buffer memory 220: data flow 220: Data Process Department 230: ledger caller 240: Blockchain 250: Notifier 260: Ledger Manager 300: Ledger application programming interface 310: fast buffer memory 320: data flow 330: Ledger Caller 340: Blockchain 350: Notifier 360: Ledger Manager 400: Ledger application programming interface 410: fast buffer memory 420: data flow 430: Ledger Caller 440: Blockchain 450: Notifier 460: Ledger Manager 500: Account confirmation request transaction 520: fast buffer memory 540: Blockchain 550: No data change request transaction 570: Data change request transaction 580: response to transaction 590: Data unchanged information 595: data change information 600: Data Process Department 620: Ledger Caller 650: Trading Group 660: Blockchain

圖1為示出本發明實施例的高性能區塊鏈平臺的概念圖。 圖2為示出本發明實施例的高性能區塊鏈平臺的概念圖。 圖3為示出本發明實施例的高性能區塊鏈平臺的概念圖。 圖4為示出本發明實施例的高性能區塊鏈平臺的概念圖。 圖5為示出本發明實施例的對區塊鏈上的記錄的訪問判斷操作的概念圖。 圖6為示出本發明實施例的資料流程部的操作的概念圖。Fig. 1 is a conceptual diagram showing a high-performance blockchain platform according to an embodiment of the present invention. Fig. 2 is a conceptual diagram showing a high-performance blockchain platform according to an embodiment of the present invention. Fig. 3 is a conceptual diagram showing a high-performance blockchain platform according to an embodiment of the present invention. Fig. 4 is a conceptual diagram showing a high-performance blockchain platform according to an embodiment of the present invention. Fig. 5 is a conceptual diagram showing an access judgment operation on a record on a blockchain according to an embodiment of the present invention. Fig. 6 is a conceptual diagram showing the operation of the data flow part of the embodiment of the present invention.

100:分類帳應用器程式設計介面 100: Ledger application programming interface

110:快速緩衝記憶體 110: fast buffer memory

120:資料流程 120: data flow

130:分類帳調用器 130: Ledger caller

140:區塊鏈 140: Blockchain

150:通知器 150: Notifier

160:分類帳管理器 160: Ledger Manager

Claims (8)

一種區塊鏈之高速交易處理方法,其特徵在於,包括: 區塊鏈平臺從使用者裝置接收請求交易的步驟; 上述區塊鏈平臺確定是否能夠基於快速緩衝記憶體處理上述請求交易的步驟;以及 上述區塊鏈平臺基於記錄在上述快速緩衝記憶體上的資訊來傳輸針對上述請求交易的回應交易而無需訪問上述區塊鏈的步驟。A high-speed transaction processing method for blockchain, which is characterized in that it includes: Blockchain platform receives the steps of requesting transaction from user device; The above-mentioned blockchain platform determines whether it can process the steps of the above-mentioned request transaction based on the fast buffer memory; and The above-mentioned blockchain platform transmits the response transaction for the above-mentioned request transaction based on the information recorded on the above-mentioned fast buffer memory without the step of accessing the above-mentioned blockchain. 如請求項1所述的區塊鏈之高速交易處理方法,其特徵在於, 還包括若上述區塊鏈平臺無法基於上述快速緩衝記憶體處理上述請求交易,則將上述請求交易傳輸到資料流程部,以向上述區塊鏈傳輸上述請求交易的步驟, 上述快速緩衝記憶體存儲與上述請求交易有關的資訊, 上述請求交易包含時間戳, 上述資料流程部存儲與上述請求交易不同的請求交易, 上述不同的請求交易包含在從上述使用者裝置或其他使用者裝置接收上述請求交易之前接收但向上述區塊鏈傳輸之前的交易。The high-speed transaction processing method of the blockchain according to claim 1, characterized in that: It also includes the step of transmitting the requested transaction to the data flow department if the blockchain platform cannot process the requested transaction based on the fast buffer memory to transmit the requested transaction to the blockchain, The fast buffer memory stores information related to the requested transaction, The above request transaction contains a timestamp, The aforementioned data flow department stores request transactions that are different from the aforementioned request transactions, The aforementioned different requested transactions include transactions that are received before receiving the requested transaction from the aforementioned user device or other user devices but before being transmitted to the aforementioned blockchain. 如請求項2所述的區塊鏈之高速交易處理方法,其特徵在於,還包括上述區塊鏈平臺基於分類帳調用器調用上述區塊鏈來將上述請求交易和上述不同的請求交易存儲於上述區塊鏈的步驟。The high-speed transaction processing method of the blockchain according to claim 2, which is characterized in that it further includes the above-mentioned blockchain platform based on the ledger caller invoking the above-mentioned blockchain to store the above-mentioned requested transaction and the above-mentioned different requested transaction in The above mentioned blockchain steps. 如請求項1所述的區塊鏈之高速交易處理方法,其特徵在於,是否能夠基於上述快速緩衝記憶體處理上述請求交易基於上述請求交易的特性及先前與上述使用者裝置關聯地傳輸到上述快速緩衝記憶體上的先前請求交易的特性來確定。The high-speed transaction processing method of the blockchain according to claim 1, characterized in that whether the requested transaction can be processed based on the fast buffer memory is based on the characteristics of the requested transaction and is previously associated with the user device and transmitted to the The characteristics of the previously requested transaction on the fast buffer memory are determined. 一種區塊鏈平臺,用於快速處理交易,其特徵在於,包括: 通信部,用於從上述使用者裝置接收請求交易;以及 快速緩衝記憶體,確定是否能夠處理基於所記錄的資訊確定的上述請求交易,並基於上述記錄的資訊來傳輸針對上述請求交易的回應交易而無需訪問上述區塊鏈。A blockchain platform for fast transaction processing, which is characterized in that it includes: The communication unit is used to receive the transaction request from the above-mentioned user device; and The fast buffer memory determines whether it can process the requested transaction determined based on the recorded information, and transmits the response transaction for the requested transaction based on the recorded information without accessing the blockchain. 如請求項5所述的區塊鏈平臺,其特徵在於, 還包括資料流程部,若無法基於上述快速緩衝記憶體處理上述請求交易,則上述資料流程部接收上述請求交易,以向上述區塊鏈傳輸上述請求交易, 上述快速緩衝記憶體存儲與上述請求交易有關的資訊, 上述請求交易包含時間戳, 上述資料流程部存儲與上述請求交易不同的請求交易, 上述不同的請求交易包含在從上述使用者裝置或其他使用者裝置接收上述請求交易之前接收但向上述區塊鏈傳輸之前的交易。The blockchain platform according to claim 5, characterized in that: It also includes a data processing unit. If the request transaction cannot be processed based on the fast buffer memory, the data processing unit receives the request transaction to transmit the request transaction to the blockchain, The fast buffer memory stores information related to the requested transaction, The above request transaction contains a timestamp, The aforementioned data flow department stores request transactions that are different from the aforementioned request transactions, The aforementioned different requested transactions include transactions that are received before receiving the requested transaction from the aforementioned user device or other user devices but before being transmitted to the aforementioned blockchain. 如請求項6所述的區塊鏈平臺,其特徵在於,還包括分類帳調用器,上述分類帳調用器基於對上述區塊鏈的調用來將上述請求交易和上述不同的請求交易存儲於上述區塊鏈。The blockchain platform according to claim 6, characterized in that it further includes a ledger caller, and the ledger caller stores the requested transaction and the different requested transaction in the above based on the call to the blockchain. Blockchain. 如請求項5所述的區塊鏈平臺,其特徵在於,是否能夠基於上述快速緩衝記憶體處理上述請求交易基於上述請求交易的特性及先前與上述使用者裝置關聯地傳輸到上述快速緩衝記憶體上的先前請求交易的特性來確定。The blockchain platform according to claim 5, wherein whether the requested transaction can be processed based on the fast buffer memory is based on the characteristics of the requested transaction and previously associated with the user device and transmitted to the fast buffer memory To determine the characteristics of the previously requested transaction.
TW109101809A 2019-01-28 2020-01-17 Method for high speed transaction processing on blockchain and apparatus for using the method TW202032480A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2019-0010322 2019-01-28
KR1020190010322A KR20200093719A (en) 2019-01-28 2019-01-28 High performance blockchain platform using cache
KR1020190087569A KR102262618B1 (en) 2019-07-19 2019-07-19 Method for high speed transaction processing on blockchain and apparatus for using the method
KR10-2019-0087569 2019-07-19

Publications (1)

Publication Number Publication Date
TW202032480A true TW202032480A (en) 2020-09-01

Family

ID=71841159

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109101809A TW202032480A (en) 2019-01-28 2020-01-17 Method for high speed transaction processing on blockchain and apparatus for using the method

Country Status (2)

Country Link
TW (1) TW202032480A (en)
WO (1) WO2020159072A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100013755A (en) * 2008-08-01 2010-02-10 주식회사 비즈모델라인 System and method for settling cash by the balance mirroring in an account and recording medium
US8886570B1 (en) * 2013-10-29 2014-11-11 Quisk, Inc. Hacker-resistant balance monitoring
EP3317775B1 (en) * 2015-07-02 2022-02-16 Nasdaq, Inc. Systems and methods of secure provenance for distributed transaction databases
US11146535B2 (en) * 2016-10-12 2021-10-12 Bank Of America Corporation System for managing a virtual private ledger and distributing workflow of authenticated transactions within a blockchain distributed network
KR101989450B1 (en) * 2017-06-23 2019-09-30 홍석현 Method for keeping security of data in public distributed database based on blockchain, and server for managing blockchain using the same

Also Published As

Publication number Publication date
WO2020159072A1 (en) 2020-08-06

Similar Documents

Publication Publication Date Title
JP7385706B2 (en) Method of distributing digital assets registered on blockchain and autonomous computing agent
US11042876B2 (en) Transaction method and system based on centralized settlement and blockchain deposit certificates
US20210049608A1 (en) Transaction method and system based on centralized clearing and blockchain record keeping
US20240095719A1 (en) Self-enforcing security token implementing smart-contract-based compliance rules consulting smart-contract-based global registry of investors
US11200226B2 (en) Data read and write method and apparatus, and electronic device
US11652607B1 (en) Symmetric encryption for private smart contracts among multiple parties in a private peer-to-peer network
EP3594884A1 (en) Electronic bill management method, device, and storage medium
CN110032598B (en) Method and device for updating field and electronic equipment
WO2020029629A1 (en) Transaction method and system based on centralized settlement and block chain storage
KR102151895B1 (en) A platform for atomic transmission of smart assets within a blockchain network
KR102285798B1 (en) Shared secret-based blockchain storage
KR20200018069A (en) Method and system for secure payment of blockchain using intermediate node
KR102151896B1 (en) A platform for atomic transmission of smart assets within a blockchain network
WO2020207093A1 (en) Blockchain-based leasing method and apparatus
US20210326906A1 (en) Blockchain-based bill write-off method, apparatus, electronic device, and storage medium
WO2020088130A1 (en) Blockchain-based property execution method and system
AU2018348327B2 (en) Utilizing nonce table to resolve concurrent blockchain transaction failure
US20210326859A1 (en) Data recording methods and apparatuses, electronic devices, and storage media
TW202107361A (en) Method and apparatus for realizing confidential transaction in blockchain network
WO2018192931A1 (en) Delivery versus payment mechanism
US10789628B2 (en) Blockchain-based bill number allocation method, apparatus and electronic device
US11381403B2 (en) Integrating blockchain with off-chain services
US20200175502A1 (en) Confidential transaction in a blockchain network
TW202032480A (en) Method for high speed transaction processing on blockchain and apparatus for using the method
Gómez et al. Blockverse: A cloud blockchain-based platform for tracking in affiliate systems