KR20200053070A - System for auditing data transaction and event in blockchain network and method thereof - Google Patents

System for auditing data transaction and event in blockchain network and method thereof Download PDF

Info

Publication number
KR20200053070A
KR20200053070A KR1020180136034A KR20180136034A KR20200053070A KR 20200053070 A KR20200053070 A KR 20200053070A KR 1020180136034 A KR1020180136034 A KR 1020180136034A KR 20180136034 A KR20180136034 A KR 20180136034A KR 20200053070 A KR20200053070 A KR 20200053070A
Authority
KR
South Korea
Prior art keywords
audit
nodes
blockchain network
block
data
Prior art date
Application number
KR1020180136034A
Other languages
Korean (ko)
Other versions
KR102208411B1 (en
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
Application filed by 서강대학교산학협력단 filed Critical 서강대학교산학협력단
Priority to KR1020180136034A priority Critical patent/KR102208411B1/en
Publication of KR20200053070A publication Critical patent/KR20200053070A/en
Application granted granted Critical
Publication of KR102208411B1 publication Critical patent/KR102208411B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1053Group management mechanisms  with pre-configuration of logical or physical connections with a determined number of other peers
    • H04L67/1057Group management mechanisms  with pre-configuration of logical or physical connections with a determined number of other peers involving pre-assessment of levels of reputation of peers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1046Joining mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1061Peer-to-peer [P2P] networks using node-based peer discovery mechanisms
    • H04L67/1065Discovery involving distributed pre-established resource-based relationships among peers, e.g. based on distributed hash tables [DHT] 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1087Peer-to-peer [P2P] networks using cross-functional networking aspects
    • H04L67/1093Some peer nodes performing special functions

Abstract

The present invention relates to an audit system of a blockchain network. According to the present invention, the audit system of a blockchain network is composed of a plurality of reliable audit nodes. The audit nodes periodically collect primary audit data from each node, collect secondary audit data such as event data including an abnormal pattern based on the collected primary audit data, generate and verify a block for storing audit data by a block creator according to a preset assurance protocol and a consensus protocol, store it in a blockchain for audit, and automatically generate and provide an audit report using the audit data stored in the blockchain for audit.

Description

블록체인 네트워크의 트랜잭션 및 이벤트 감사 시스템 및 감사 방법{System for auditing data transaction and event in blockchain network and method thereof}System for auditing data transaction and event in blockchain network and method thereof

본 발명은 블록체인 네트워크의 감사 시스템 및 방법에 관한 것으로서, 더욱 구체적으로는, 블록체인 네트워크에 감사 노드들을 별도로 구비하고, 상기 감사 노드들이 블록체인 네트워크의 노드들이 송수신하는 트랜잭션이나 발생되는 이벤트들에 대한 데이터들을 수집하고, 수집된 데이터들을 정제한 뒤 블록 생성하여 감사용 블록체인을 생성하고, 이를 이용하여 감사 보고서를 작성하여 제공할 수 있도록 구성된 감사 시스템 및 방법에 관한 것이다. The present invention relates to an audit system and method of a blockchain network, and more specifically, to provide an audit node separately in the blockchain network, and the audit nodes are used for transactions or events that are transmitted and received by nodes in the blockchain network. It is related to an audit system and method configured to collect and collect data, create a block for audit by generating blocks, and use it to prepare and provide an audit report.

블록체인(Blockchain)은 공공 거래 장부라고도 불리우는데, 블록(block)에 데이터를 담아 체인(chain) 형태로 연결한 것으로서, 수많은 노드에 이를 동시에 복제해 저장하는 분산형 데이터 저장 기술이다. 블록체인 기술은 중앙 집중형 서버에 거래 기록을 보관하지 않고 거래에 참여하는 모든 사용자에게 거래 내역을 보내 주며, 거래때마다 모든 거래 참여자들이 정보를 공유하고 이를 대조함으로써 데이터 위조 및 변조를 방지할 수 있게 된다. Blockchain, also called a public transaction ledger, is a decentralized data storage technology that stores data in blocks and connects them in a chain form, replicating and storing them simultaneously in numerous nodes. Blockchain technology does not store transaction records on a centralized server, but sends transaction details to all users participating in the transaction, and every transaction participant shares information and collates against it to prevent data forgery and tampering. There will be.

블록체인을 저장하는 다수 개의 노드들로 이루어지는 블록체인 네트워크에 있어서, 하나의 노드가 전자 서명된 트랜잭션을 브로드캐스팅하면, 이를 수신한 모든 노드들은 작업 증명 과정을 진행하게 되고, 이에 따라 최초로 논스값을 찾은 노드는 블록체인 네트워크의 다른 노드들에 의해 검증된 후 블록 생성 권한을 갖게 된다. 블록 생성 권한을 가진 노드는 트랜잭션을 포함한 블록 생성 정보를 블록체인 네트워크의 모든 노드들로 브로드캐스팅하게 되고, 이를 수신한 모든 노드들은 트랜잭션을 포함하는 블록을 생성하고 자신의 블록체인에 상기 생성된 블록을 연결시켜 저장하게 된다. In a blockchain network composed of multiple nodes that store a blockchain, when one node broadcasts an electronically signed transaction, all nodes that receive it proceed with the proof-of-work process, and accordingly, the first nonce value. The found node is authorized to create blocks after being verified by other nodes in the blockchain network. A node with block creation authority broadcasts block creation information, including transactions, to all nodes in the blockchain network, and all nodes that receive it create blocks containing transactions and create the blocks on their blockchain. Connect and save.

한편, 이러한 특성을 갖는 블록체인 네트워크에서는 트랜잭션 및 이벤트들이 지속적으로 발생되고 있으며, 이러한 트랜잭션 및 이벤트들을 감사하기 위한 시스템에 대한 개발이 요구되고 있다. Meanwhile, in a blockchain network having such characteristics, transactions and events are continuously generated, and development of a system for auditing these transactions and events is required.

한국등록특허공보 제 10-18149898호Korean Registered Patent Publication No. 10-18149898

전술한 문제점을 해결하기 위한 본 발명의 목적은 블록체인 네트워크에서의 트랜잭션 및 이벤트들에 대한 데이터들을 수집하고, 수집된 데이터들을 이용하여 트랜잭션 및 이벤트를 감사하여 감사 보고서를 작성하여 제공할 수 있는 감사 시스템 및 방법을 제공하는 것이다. An object of the present invention for solving the above-described problems is to collect data on transactions and events in the blockchain network, audit the transactions and events using the collected data, and create an audit report to provide an audit It is to provide a system and method.

전술한 기술적 과제를 달성하기 위한 본 발명의 제1 특징에 따른 블록체인 네트워크에서의 감사 시스템은, 복수 개의 노드들로 이루어진 블록체인 네트워크에서, 블록체인 네트워크의 노드들과 연결되어 블록체인 네트워크에 발생되는 트랜잭션 및 이벤트를 감사하기 위한 복수 개의 감사 노드들을 구비하고, The audit system in the blockchain network according to the first aspect of the present invention for achieving the above-described technical problem occurs in a blockchain network in a blockchain network composed of a plurality of nodes, connected to nodes in the blockchain network Equipped with a plurality of audit nodes for auditing the transactions and events to be,

상기 감사 노드는, 감사 데이터들을 저장한 블록들이 연결되어 이루어진 감사용 블록체인; 블록체인 네트워크를 감사하기 위한 감사 데이터를 수집하는 수집부; 사전 설정된 보증 프로토콜 및 합의 프로토콜에 따라, 상기 수집된 감사 데이터들을 가공하여 저장하는 블록을 생성하고 검증한 후, 상기 생성된 블록을 상기 감사용 블록체인에 저장하는 블록 저장부; 상기 감사용 블록체인에 저장된 감사 데이터들을 이용하여 감사 보고서를 생성하여 제공하는 감사 보고서 생성부;를 구비하여, 상기 블록체인 네트워크에서 발생되는 트랜잭션 및 이벤트를 감사한다. The audit node includes an audit block chain formed by connecting blocks storing audit data; A collection unit for collecting audit data for auditing the blockchain network; A block storage unit for generating and verifying a block for processing and storing the collected audit data according to a preset guarantee protocol and a consensus protocol, and storing the generated block in the audit blockchain; And an audit report generator for generating and providing an audit report using the audit data stored in the audit blockchain, to audit transactions and events occurring in the blockchain network.

전술한 제1 특징에 따른 블록체인 네트워크에서의 감사 시스템에 있어서, 상기 수집부는, 제1 감사 데이터를 수집하는 제1 수집부 및 제2 감사 데이터를 수집하는 제2 수집부를 1차 감사 데이터 및 2차 감사 데이터를 포함하는 감사 데이터를 수집하는 것이 바람직하며, In the audit system in the blockchain network according to the first feature described above, the collection unit includes a first collection unit for collecting the first audit data and a second collection unit for collecting the second audit data, the primary audit data and the second audit unit. It is desirable to collect audit data, including primary audit data,

상기 제1 수집부는, 블록체인 네트워크에 연결된 노드들의 각각에 주기적으로 연결하고, 연결된 노드의 상태 정보 및 트랜잭션 정보들을 포함하는 1차 감사 데이터를 수집함으로써, 블록체인 네트워크의 노드들에 대한 1차 감사 데이터를 주기적으로 수집하는 것을 특징으로 하며, The first collection unit periodically connects to each of the nodes connected to the blockchain network, and collects primary audit data including status information and transaction information of the connected nodes, thereby primary auditing the nodes of the blockchain network. It is characterized by periodically collecting data,

제2 수집부는, 상기 제1 수집부에 의해 수집된 1차 감사 데이터들을 기반으로 하여, 노드들간의 상호 작용 패턴을 감사하기 위한 2차 감사 데이터를 수집하고, 상기 2차 감사 데이터는 블록체인 네트워크에서 발생되는 이상 상황 이벤트 정보를 포함하는 것을 특징으로 한다. The second collection unit collects secondary audit data for auditing the interaction pattern between nodes based on the primary audit data collected by the first collection unit, and the secondary audit data is a blockchain network It characterized in that it comprises the event information of the abnormal situation that occurs in.

전술한 제1 특징에 따른 블록체인 네트워크에서의 감사 시스템에 있어서, 상기 감사 시스템을 구성하는 감사 노드들은 적어도 1개 이상의 다른 감사 노드들에 대하여 항상 의존(Dependency)해야 하며, 감사 노드의 의존 보증도(Depaendency Guarantee)는 감사 노드가 의존하는 노드 갯수에 따라 결정되며, In the audit system in the blockchain network according to the first feature described above, the audit nodes constituting the audit system must always depend on at least one or more other audit nodes, and the degree of assurance of the dependency of the audit node (Depaendency Guarantee) is determined by the number of nodes that the audit node depends on,

상기 의존 보증도(Depaendency Guarantee)가 사전 설정된 기준값 이상인 감사 노드들만이 상기 감사 시스템에 참여할 수 있도록 구성되어, 감사 시스템의 신뢰도를 향상시키도록 구성된 것이 바람직하다. It is preferable that only the audit nodes whose dependency guarantee is greater than or equal to a preset reference value are configured to participate in the audit system, and are configured to improve the reliability of the audit system.

전술한 제1 특징에 따른 블록체인 네트워크에서의 감사 시스템에 있어서, 상기 감사 시스템을 구성하는 감사 노드들은, 보증 프로토콜에 따라, 블록체인 네트워크에 초기 연결될 때 일반 가중치(Normal Weight)를 부여받고, 수집한 감사 데이터들을 기반으로 하여 신뢰 가중치(Trust Weight)를 생성하게 되며, 상기 신뢰 가중치는 다른 감사 노드에게 Dependency 요청할 때 사용되는 값이다. In the audit system in the blockchain network according to the first feature described above, the audit nodes constituting the audit system are given a normal weight and collected when initially connected to the blockchain network according to the guarantee protocol. A trust weight is generated based on one audit data, and the trust weight is a value used when Dependency is requested from another audit node.

전술한 제1 특징에 따른 블록체인 네트워크에서의 감사 시스템에 있어서, 상기 블록 생성 및 저장부는, 감사 데이터를 저장하기 위한 블록을 생성하기 위하여, 감사 노드들간의 사전 설정된 합의 프로토콜에 따라 블록 생성자를 선출하고, 선출된 블록 생성자에 의해 상기 감사 데이터를 저장하는 블록을 생성하고, 상기 생성된 블록을 검증하고, 검증된 블록을 감사용 블록체인에 저장하는 것이 바람직하다. In the audit system in the blockchain network according to the first feature described above, the block generation and storage unit selects a block creator according to a preset consensus protocol between audit nodes in order to generate a block for storing audit data. It is preferable to generate a block storing the audit data by the elected block creator, verify the generated block, and store the verified block in the auditing blockchain.

전술한 제1 특징에 따른 블록체인 네트워크에서의 감사 시스템에 있어서, 상기 블록 생성 및 저장부는 2명의 블록 생성자를 선출하며, 제1 블록 생성자는 감사 노드에 대한 Dependency Guarantee 를 기준으로 하여 구한 선출자 목록에서 무작위 선출되며, 제2 블록 생성자는 상기 선출된 제1 블록 생성자를 제외한 다른 모든 감사 노드들에서 무작위 선출되는 것이 바람직하다. In the audit system in the blockchain network according to the above-described first feature, the block generation and storage unit selects two block producers, and the first block creator is a list of electors obtained based on the Dependency Guarantee for the audit node It is preferably randomly selected from, and the second block generator is randomly selected from all other audit nodes except the selected first block constructor.

본 발명의 제2 특징에 따른 감사 방법은, 복수 개의 노드 및 감사 노드들을 구비하는 블록체인 네트워크에서의 감사 노드들에 의해 블록체인 네트워크의 트랜잭션 및 이벤트들을 감사하는 감사 방법에 관한 것으로서, (a) 감사 노드들에 감사 데이터들이 저장된 블록들을 저장하기 위한 감사용 블록체인을 생성하는 감사용 블록체인 생성 단계; (b) 블록체인 네트워크를 감사하기 위한 감사 데이터를 수집하는 데이터 수집 단계; (c) 사전 설정된 보증 프로토콜 및 합의 프로토콜에 따라, 상기 수집된 감사 데이터들을 가공하여 저장하는 블록을 생성하고 검증한 후, 상기 생성된 블록을 상기 감사용 블록체인에 저장하는 블록 생성 및 저장 단계; (d) 상기 감사용 블록체인에 저장된 감사 데이터들을 이용하여 감사 보고서를 생성하여 제공하는 보고서 생성 단계;를 구비하여, 상기 블록체인 네트워크에서 발생되는 트랜잭션 및 이벤트를 감사한다. The auditing method according to the second aspect of the present invention relates to an auditing method for auditing transactions and events in a blockchain network by auditing nodes in a blockchain network having a plurality of nodes and auditing nodes, (a) An audit block chain generating step of generating an audit block chain for storing blocks in which audit data is stored in the audit nodes; (b) a data collection step of collecting audit data for auditing the blockchain network; (c) a block generation and storage step of generating and verifying a block storing and processing the collected audit data according to a preset assurance protocol and a consensus protocol, and then storing the generated block in the auditing blockchain; (d) a report generation step of generating and providing an audit report using the audit data stored in the audit blockchain, to audit transactions and events occurring in the blockchain network.

전술한 제2 특징에 따른 블록체인 네트워크에서의 감사 방법에 있어서, 상기 (b) 데이터 수집 단계는, 블록체인 네트워크에 연결된 노드들의 각각에 주기적으로 연결하고, 연결된 노드의 상태 정보 및 트랜잭션 정보들을 포함하는 1차 감사 데이터를 수집함으로써, 블록체인 네트워크의 노드들에 대한 1차 감사 데이터를 주기적으로 수집하는 제1 수집 단계; 및 상기 수집된 1차 감사 데이터들을 기반으로 하여, 노드들간의 상호 작용 패턴을 감사하기 위한 2차 감사 데이터를 수집하고, 상기 2차 감사 데이터는 블록체인 네트워크에서 발생되는 이상 상황 이벤트 정보를 포함하는 것을 특징으로 하는 제2 수집 단계;를 구비하여, 1차 감사 데이터 및 2차 감사 데이터를 포함하는 감사 데이터를 수집하는 것이 바람직하다. In the auditing method in the blockchain network according to the above-described second feature, the (b) data collection step periodically connects to each of the nodes connected to the blockchain network, and includes status information and transaction information of the connected nodes. A first collection step of periodically collecting primary audit data for nodes of the blockchain network by collecting primary audit data; And based on the collected primary audit data, collect secondary audit data for auditing interaction patterns between nodes, and the secondary audit data includes abnormal event information generated in a blockchain network. It is preferable to collect the audit data including the primary audit data and the secondary audit data; having a second collection step, characterized in that.

전술한 제2 특징에 따른 블록체인 네트워크에서의 감사 방법에 있어서, 상기 감사 노드들은 적어도 1개 이상의 다른 감사 노드들에 대하여 항상 의존(Dependency)해야 하며, 감사 노드의 의존 보증도(Depaendency Guarantee)는 감사 노드가 의존하는 노드 갯수에 따라 결정되며, 상기 의존 보증도(Depaendency Guarantee)가 사전 설정된 기준값 이상인 감사 노드들만이 상기 감사 방법에 참여할 수 있도록 구성되어, 감사 방법의 신뢰도를 향상시키는 것이 바람직하다. In the auditing method in the blockchain network according to the above-mentioned second feature, the audit nodes must always depend on at least one other audit node, and the dependency guarantee of the audit node is It is determined according to the number of nodes that the audit node depends on, and it is desirable to improve the reliability of the audit method by configuring only the audit nodes whose dependency guarantee is higher than a preset reference value to participate in the audit method.

전술한 제2 특징에 따른 블록체인 네트워크에서의 감사 방법에 있어서, 상기 감사 노드들은, 보증 프로토콜에 따라, 블록체인 네트워크에 초기 연결될 때 일반 가중치(Normal Weight)를 부여받고, 수집한 감사 데이터들을 기반으로 하여 신뢰 가중치(Trust Weight)를 생성하게 되며, 상기 신뢰 가중치는 다른 감사 노드에게 Dependency 요청할 때 사용되는 값이다. In the auditing method in the blockchain network according to the above-mentioned second feature, the audit nodes are given a normal weight when initially connected to the blockchain network according to the guarantee protocol, and based on the collected audit data As a result, a trust weight is generated, and the trust weight is a value used when requesting dependency from other audit nodes.

전술한 제2 특징에 따른 블록체인 네트워크에서의 감사 방법에 있어서, 상기 (c) 블록 생성 및 저장 단계는, 감사 데이터를 저장하기 위한 블록을 생성하기 위하여, 감사 노드들간의 사전 설정된 합의 프로토콜에 따라 2명의 블록 생성자를 선출하고, 선출된 블록 생성자들에 의해 상기 감사 데이터를 저장하는 블록을 생성하고, 상기 생성된 블록을 검증하고, 검증된 블록을 감사용 블록체인에 저장하는 것이 바람직하다. In the auditing method in the blockchain network according to the above-described second feature, the (c) block generation and storage step is performed according to a preset consensus protocol between audit nodes in order to generate a block for storing audit data. It is preferable to select two block producers, generate a block storing the audit data by the selected block creators, verify the generated block, and store the verified block in the auditing blockchain.

본 발명에 따른 블록체인 네트워크의 감사 시스템은, 감사 대상이 되는 블록체인 네트워크의 데이터들을 수집하는 수집기를 통해, 블록체인 네트워크를 감사하기 위한 데이터들을 수집한다. The audit system of the blockchain network according to the present invention collects data for auditing the blockchain network through a collector that collects data of the blockchain network to be audited.

또한, 본 발명에 따른 블록체인 네트워크의 감사 시스템은, 감사 기록 데이터를 기반으로 하여 보증 프로토콜 및 합의 프로토콜을 사용하여 데이터를 가공한다. 상기 보증 프로토콜은, 감사 시스템에 참여하는 감사 노드들간의 신뢰 가중치를 설정하기 위하여, 서로 상호간에 보증을 해주는 프로토콜이다. 그리고, 보증 프로토콜에 의해 생성된 신뢰 가중치를 통해, 감사 기록 데이터를 하나의 블록으로 만들고, 감사 노드들의 합의 프로토콜에 따라 블록을 생성 및 검증하게 된다. 검증된 블록은 이전 생성된 블록 해쉬값을 가지게 되며 감사용 블록체인에 연결된다. In addition, the blockchain network audit system according to the present invention processes data using an assurance protocol and an agreement protocol based on the audit record data. The assurance protocol is a protocol that guarantees each other to set trust weights between the audit nodes participating in the audit system. And, through the trust weight generated by the assurance protocol, the audit record data is made into one block, and the block is generated and verified according to the agreement protocol of the audit nodes. The verified block has the previously generated block hash value and is connected to the auditing blockchain.

또한, 본 발명에 따른 블록체인 네트워크의 감사 시스템은, 감사용 블록체인에 저장된 데이터들을 기반으로 하여 사전 설정된 주기 또는 사전 설정된 시각에 감사 보고서를 생성하여 제공하게 된다. In addition, the audit system of the blockchain network according to the present invention generates and provides an audit report at a preset cycle or at a preset time based on data stored in the audit blockchain.

전술한 구성을 갖는 본 발명에 따른 감사 시스템은 기존의 블록체인 기반 서비스를 감사할 수 있는 환경을 제공하게 되고, 그 결과 기존의 금융 서비스등에 적용됨으로써 고신뢰성의 분산 감사 체계를 구현할 수 있게 된다. 또한, 감사 보고서를 자동으로 작성해줌으로써, 편의성도 향상시킬 수 있게 된다. The audit system according to the present invention having the above-described configuration provides an environment for auditing existing blockchain-based services, and as a result, it is possible to implement a highly reliable distributed audit system by being applied to existing financial services. In addition, it is possible to improve convenience by automatically generating an audit report.

도 1은 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템에 대한 구성도이다.
도 2는 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템에 있어서, 감사 노드의 구조를 도시한 블록도이다.
도 3은 블록체인 네트워크의 노드들의 블록 생성 과정 및 이들 과정에서의 오류 리스트들을 예시적으로 도시한 흐름도이다.
도 4는 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템에 있어서, 기본 시스템과 감사 시스템의 동작을 순차적으로 설명하기 위하여 도시한 흐름도이다.
도 5는 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템에 있어서, 감사 노드들간의 의존 보증도를 설명하기 위하여 도시한 블록도이다.
도 6은 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템에 있어서, 감사 노드가 5개의 트랜잭션을 이용하여 머클트리를 구성하는 것을 도시한 그래프이다.
1 is a block diagram of an audit system of a blockchain network according to a preferred embodiment of the present invention.
2 is a block diagram showing the structure of an audit node in an audit system of a blockchain network according to a preferred embodiment of the present invention.
FIG. 3 is a flowchart exemplarily showing a block generation process of nodes in a blockchain network and a list of errors in these processes.
4 is a flowchart illustrating in order to sequentially explain the operation of the basic system and the audit system in the audit system of the blockchain network according to the preferred embodiment of the present invention.
5 is a block diagram illustrating a dependency guarantee between audit nodes in an audit system of a blockchain network according to a preferred embodiment of the present invention.
FIG. 6 is a graph showing that an audit node configures a merkle tree using five transactions in an audit system of a blockchain network according to a preferred embodiment of the present invention.

본 발명에 따른 블록체인 네트워크의 감사 시스템은, 신뢰성있는 복수 개의 감사 노드들로 이루어지며, 상기 감사 노드들은 각 노드들로부터 주기적으로 1차 감사 데이터를 수집하고, 수집된 1차 감사 데이터를 기반으로 하여 이상 패턴을 포함하는 이벤트 데이터와 같은 2차 감사 데이터를 수집하며, 사전 설정된 보증 프로토콜 및 합의 프로토콜에 따라 블록 생성자에 의해 감사 데이터를 저장하기 위한 블록을 생성하고 검증한 후 감사용 블록체인에 저장하며, 감사용 블록체인에 저장된 감사 데이터들을 이용하여 자동으로 감사 보고서를 생성하여 제공하는 것을 특징으로 한다. The audit system of the blockchain network according to the present invention is composed of a plurality of reliable audit nodes, and the audit nodes periodically collect primary audit data from each node, and based on the collected primary audit data To collect secondary audit data such as event data including abnormal patterns, generate and verify blocks for storing audit data by block creators according to preset assurance protocols and consensus protocols, and store them in the blockchain for auditing. It is characterized by automatically generating and providing an audit report using the audit data stored in the audit blockchain.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템의 구성 및 동작에 대하여 구체적으로 설명한다. Hereinafter, the configuration and operation of an audit system of a blockchain network according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템에 대한 구성도이며, 도 2는 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템에 있어서, 감사 노드의 구조를 도시한 블록도이다. 1 is a block diagram of an audit system of a blockchain network according to a preferred embodiment of the present invention, and FIG. 2 shows a structure of an audit node in the audit system of a blockchain network according to a preferred embodiment of the present invention It is a block diagram.

도 1 및 도 2를 참조하면, 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템(1)은, 복수 개의 노드들로 이루어진 블록체인 네트워크에서 발생되는 트랜잭션 및 이벤트를 감사하기 위한 시스템으로서, 블록체인 네트워크의 노드들과 연결되어 블록체인 네트워크에 발생되는 트랜잭션 및 이벤트를 감사하기 위한 복수 개의 감사 노드들(10)을 구비한다. 1 and 2, the audit system 1 of a blockchain network according to a preferred embodiment of the present invention is a system for auditing transactions and events occurring in a blockchain network composed of a plurality of nodes, It is connected to the nodes of the blockchain network and has a plurality of audit nodes 10 for auditing transactions and events occurring in the blockchain network.

상기 감사 노드(10)는, 감사용 블록체인(100), 수집부(110), 블록 생성 및 저장부(120) 및 감사 보고서 생성부(130)를 구비한다. 상기 감사용 블록체인(100)은 감사 데이터들을 저장한 블록들로 이루어진다. 상기 수집부(110)는 블록체인 네트워크를 감사하기 위한 감사 데이터를 수집한다. 상기 블록 생성 및 저장부(120)는 사전 설정된 보증 프로토콜 및 합의 프로토콜에 따라, 상기 수집된 감사 데이터들을 가공하여 저장하는 블록을 생성하고, 상기 생성된 블록을 검증한 후 상기 감사용 블록체인에 저장한다. 상기 감사 보고서 생성부(130)는 상기 감사용 블록체인에 저장된 감사 데이터들을 이용하여 감사 보고서를 생성하여 제공한다. 전술한 구성을 갖는 본 발명에 따른 블록체인 네트워크의 감사 시스템은 상기 블록체인 네트워크에서 발생되는 트랜잭션 및 이벤트를 감사하고 이에 따른 신뢰성있는 감사 보고서를 생성하여 제공하게 된다. 이하, 전술한 각 구성 요소들에 대하여 보다 구체적으로 설명한다. The audit node 10 includes an audit blockchain 100, a collection unit 110, a block generation and storage unit 120, and an audit report generation unit 130. The audit block chain 100 is composed of blocks storing audit data. The collection unit 110 collects audit data for auditing the blockchain network. The block generation and storage unit 120 generates a block that processes and stores the collected audit data according to a preset guarantee protocol and an agreement protocol, verifies the generated block, and stores it in the audit blockchain. . The audit report generation unit 130 generates and provides an audit report using the audit data stored in the audit blockchain. The audit system of the blockchain network according to the present invention having the above-described configuration audits transactions and events occurring in the blockchain network and generates and provides a reliable audit report accordingly. Hereinafter, each of the above-described components will be described in more detail.

상기 수집부(110)는 1차 감사 데이터를 수집하는 제1 수집부(112) 및 1차 감사 데이터를 기반으로 한 2차 감사 데이터를 수집하는 제2 수집부(114)를 구비하여, 1차 감사 데이터 및 2차 감사 데이터를 포함하는 감사 데이터를 수집하게 된다. The collection unit 110 includes a first collection unit 112 for collecting primary audit data and a second collection unit 114 for collecting secondary audit data based on the primary audit data. Audit data, including audit data and secondary audit data, will be collected.

상기 제1 수집부(112)는, 블록체인 네트워크에 연결되어 베이스 체인을 구성하는 노드들의 각각에 주기적으로 연결하고, 연결된 노드의 상태 정보 및 트랜잭션 정보들을 포함하는 1차 감사 데이터를 수집함으로써, 블록체인 네트워크의 노드들에 대한 1차 감사 데이터를 주기적으로 수집하게 된다. 상기 제2 수집부(114)는, 상기 제1 수집부에 의해 수집된 1차 감사 데이터들을 기반으로 하여, 노드들간의 상호 작용 패턴을 감사하기 위한 2차 감사 데이터를 수집한다. 상기 2차 감사 데이터는 블록체인 네트워크에서 발생되는 이상 상황 이벤트 정보 등을 포함한다. The first collection unit 112 is connected to a blockchain network, periodically connects to each of the nodes constituting the base chain, and collects primary audit data including status information and transaction information of the connected nodes, thereby blocking Primary audit data for nodes in the chain network is collected periodically. The second collection unit 114 collects secondary audit data for auditing the interaction pattern between nodes based on the primary audit data collected by the first collection unit. The second audit data includes abnormal event information and the like generated in the blockchain network.

도 3은 블록체인 네트워크의 노드들의 블록 생성 과정 및 이들 과정에서의 오류 리스트들을 예시적으로 도시한 흐름도이다. 도 3을 참조하면, 블록체인 네트워크의 노드들에 의한 블록 생성 과정은, 트랜잭션 전파, 피어간 합의 과정, 블록 생성, 블록 전파, 블록 검증, 블록체인에 블록 연결로 이루어지게 된다. 상기 제1 수집부(112)는 전술한 과정들에서 발생되는 상태 정보 및 트랜잭션 정보들을 수집하고, 상기 제2 수집부(114)는 제1 수집부에 의해 수집된 정보들을 기반으로 하여 노드들 간의 상호 작용 패턴을 수집하며, 특히 상호 작용 패턴들 중 이상 상황 이벤트를 수집하게 된다. FIG. 3 is a flowchart exemplarily showing a block generation process of nodes in a blockchain network and a list of errors in these processes. Referring to FIG. 3, the block generation process by nodes of the blockchain network is performed through transaction propagation, peer-to-peer consensus process, block generation, block propagation, block verification, and block connection to the blockchain. The first collection unit 112 collects state information and transaction information generated in the above-described processes, and the second collection unit 114 is based on the information collected by the first collection unit between nodes. Interaction patterns are collected, and in particular, an abnormal event is collected among the interaction patterns.

상기 제1 수집부는 1:m 감사 데이터 수집부로서, 베이스 체인의 m개의 일반 노드에 대해 응답 요청/ 응답 반응 방식으로 주기적으로 상태를 확인하는 것으로서, 베이스 체인에 연결된 모든 노드에 대해 한번씩 주기적으로 확인하게 된다. 제1 수집부에 의해 수집되는 비정상 상태 정보로는 socket cloed, send timeout, cersion check, signature check 등을 포함한다. The first collection unit is a 1: m audit data collection unit, which periodically checks the status of response requests / response responses to m general nodes in the base chain, and periodically checks every node connected to the base chain once. Is done. The abnormal state information collected by the first collection unit includes socket cloed, send timeout, cersion check, and signature check.

상기 제2 수집부는 n:m 감사 데이터 수집부로서, 블록체인 네트워크에 참여하는 m개의 피어들에 대해 블록 생성 주기내에 수집된 감사 데이터들을 기반으로 하여 노드들간의 상호 작용 패턴을 감사하게 된다. 제2 수집부에 의해 수집되는 패턴으로는 트랜잭션 송신(Tx), 블록생성(block create), 블록 전파(block broadcasting), 트랜잭션 수신(recv), 블록 검증(proof), 노드 A,B가 있을 때 임의 시간 x내 임의 개수 y개 이상의 트랜잭션을 전파하는 패턴 등이 포함된다. The second collection unit is an n: m audit data collection unit, and audits interaction patterns between nodes based on the audit data collected in the block generation cycle for m peers participating in the blockchain network. Patterns collected by the second collection unit include transaction transmission (Tx), block creation, block broadcasting, transaction reception (recv), block verification, and nodes A and B. Patterns for propagating any number of y or more transactions within a certain time x are included.

한편, 상기 블록 생성 및 저장부(120)는 사전 설정된 보증 프로토콜 및 합의 프로토콜에 따라, 상기 수집된 감사 데이터들을 가공하여 저장하는 블록을 생성하고, 상기 생성된 블록을 검증한 후 상기 감사용 블록체인에 저장한다. On the other hand, the block generation and storage unit 120 generates a block for processing and storing the collected audit data according to a preset guarantee protocol and a consensus protocol, and after verifying the generated block to the audit blockchain To save.

상기 보증 프로토콜은 감사 체인 네트워크에 접속한 감사 노드들의 신뢰 가중치를 만들어 주기 위한 프로토콜이다. 도 5는 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템에 있어서, 감사 노드들간의 의존 보증도를 설명하기 위하여 도시한 블록도이다. The assurance protocol is a protocol for creating trust weights of audit nodes connected to the audit chain network. 5 is a block diagram illustrating a dependency guarantee between audit nodes in an audit system of a blockchain network according to a preferred embodiment of the present invention.

도 5를 참조하면, 감사 노드는 감사용 블록체인 네트워크에 참여하기 위하여 반드시 1개 이상의 다른 감사 노드에 항상 의존(Dependency)해야 하고, 1개 이상의 다른 감사 노드에게 의존(Dependency)을 받아야 하며, Dependency하는 감사 노드의 개수에 따라 의존 보증도(Dependenct Guarantee)가 결정된다. 감사 노드는 의존 보증도에 따라 합의 프로토콜에 영향을 주게 된다. Referring to FIG. 5, an audit node must always depend on one or more other audit nodes to participate in an audit blockchain network, and must receive dependency from one or more other audit nodes, and Depending on the number of audit nodes, a dependency guarantee is determined. The audit node will influence the consensus protocol according to the degree of dependence assurance.

상기 의존 보증도(Dependenct Guarantee)는 감사용 블록체인 네트워크를 초기에 구성하기 위해 사용되는 것으로서, 각 감사 노드에 대한 의존 보증도를 통해 감사 노드들간에 서로 보증해줌으로써 해당 네트워크의 Integrity를 높여주게된다. 모든 감사 노드들이 감사용 블록체인 네트워크에 연결될 때 사전에 정의한 정채(policy)에 따라, 각 감사 노드는 임의의 의존 보증도를 가지게 된다. 한편, 감사 노드의 의존 보증도는 다른 감사 노드를 의존(Dependency) 관계를 맺게 되는데, 자기 자신의 의존 보증도를 줄이는 대신 의존 관계를 맺을 수 있기 때문에, 각 감사 노드는 신중하게 의존 관계를 맺어야 한다. The dependency guarantee is used to initially configure the blockchain network for audit, and increases the integrity of the network by guaranteeing each other between the audit nodes through the dependency guarantee for each audit node. When all the audit nodes are connected to the blockchain network for auditing, each audit node has a certain degree of dependency guarantee according to a predefined policy. On the other hand, the dependency guarantee of the audit node has a dependency relationship with other audit nodes. Since each of the audit nodes can make a dependency relationship instead of reducing its own dependency guarantee, each audit node has to make a dependency relationship carefully. .

그리고, 이후 블록 생성을 하기 위한 투표 과정에서 의존 보증을 받은 횟수에 따라서 투표의 신뢰 그룹에 참여해 블록 생성자에 높은 확률로 선택될 수 있으며, 의존 횟수가 높을수록 신뢰도가 높은 감사 노드임을 나타낸다. Then, depending on the number of times the dependency is guaranteed in the voting process for creating a block, it can be selected with a high probability to the block creator by participating in the trust group of the voting, and the higher the number of dependence, the more reliable the audit node.

각 감사 노드는 블록체인 네트워크에 초기 연결할 때 일반 가중치(Normal Weight)를 받게 되는데, 일반 가중치는 추후 제1 수집부에 의한 수집 데이터 및 제2 수집부에 의한 수집 데이터들을 기반으로 하여 신뢰 가중치(Trust Weight)를 생성하는 중요한 값이다. 전술한 일반 가중치는 감사용 블록체인 네트워크에 참여하게 되면 사전 정의한 policy 에 따라서 지급받게 된다. Each audit node receives a normal weight when initially connecting to the blockchain network, and the general weight is based on the collection data by the first collection unit and the collection data by the second collection unit. Weight). The above-mentioned general weights are paid according to a predefined policy when participating in the blockchain network for audit.

전술한 의존 보증도는 감사용 블록체인 네트워크를 초기에 구성하기 위한 프로토콜인 반면에, 가중치는 네트워크를 구성한 뒤에 감사 노드들 간의 신뢰도를 나타내는 프로토콜에 해당한다. The above-described dependency guarantee is a protocol for initially constructing a blockchain network for auditing, whereas the weight corresponds to a protocol representing reliability between audit nodes after constructing the network.

신뢰 가중치는 감사 모드가 보증 프로토콜에 따라 다른 감사 노드에게 Dependency 요청할 때 사용되는 값으로서, 전술한 일반 가중치와 감사 노드에서 발생한 이벤트를 기반으로 가감되는 가중치이다. 감사 노드에서 발생한 이벤트별로 신뢰 가중치를 가감하는 것은 사전 정의된 policy에 따라 설정된다. 이때, 이벤트 목록은 도 3에 도시된 목록을 기반으로 하는 것이 바람직하다. The trust weight is a value that is used when the audit mode requests Dependency to other audit nodes according to the assurance protocol, and is a weight that is added or decreased based on the above-described general weight and an event occurring in the audit node. Adding or subtracting the trust weight for each event generated in the audit node is set according to a predefined policy. At this time, it is preferable that the event list is based on the list shown in FIG. 3.

한편, 신뢰 가중치는 추후 자동으로 생성되는 보고서에 내용이 포함되며, 신뢰 가중치가 낮은 경우 감사용 블록체인 네트워크에서 참여를 거부당할 수도 있다. 즉, 신뢰 가중치가 사전 설정된 기준값보다 낮아지게 되면 블록체인 네트워크에 참여할 거부당할 수 있으며, 그 결과 네트워크에 참여할 기회가 감소하게 된다. 따라서, 신뢰 가중치가 상기 기준값보다 높은 감사 노드만이 블록체인 네트워크의 감사 시스템에 참여할 수 있게 되므로, 노드간의 신뢰성있는 감사 시스템을 구성할 수 있게 된다. 이러한 방법을 통해, 기존의 감사용 블록체인 네트워크에 참여하고 있던 감사 노드들도 잘못된 행동을 통해 해당 네트워크에서 배제될수 있게 되고, 이로 인해 최대한 빠른 처리 성능을 가지면서 동시에 데이터의 Integrity를 보장할 수 있게 된다. On the other hand, the trust weight is included in the automatically generated report in the future, and if the trust weight is low, participation in the audit blockchain network may be denied. In other words, if the trust weight becomes lower than the preset reference value, it may be denied participation in the blockchain network, and as a result, the chance to participate in the network decreases. Therefore, only an audit node whose trust weight is higher than the reference value can participate in the audit system of the blockchain network, so that a reliable audit system between nodes can be constructed. Through this method, even the audit nodes participating in the existing blockchain network for audit can be excluded from the network through wrong actions, thereby ensuring the integrity of data while having the fastest processing performance. .

한편, 상기 합의 프로토콜은 블록을 생성하고 전파를 하기 위하여 노드간의 합의 과정을 도출하기 위한 프로토콜로서, 이러한 합의 과정에 따라 블록 생성자를 선출하고, 블록 생성자에 의해 생성된 블록을 검증하게 된다. 본 발명에 따른 감사 시스템에서는 블록 생성자를 총 네트워크에서 2명을 선출하게 된다. Meanwhile, the consensus protocol is a protocol for deriving a consensus process between nodes in order to generate and propagate a block, and a block constructor is selected according to the consensus process, and a block generated by the block constructor is verified. In the audit system according to the present invention, block creators are elected from the total network.

먼저, 수학식 1을 만족하는 감사 노드들을 선출자 목록에 등록시킨 후, 선출자 목록에서 무작위로 한 노드를 제1 블록 생성자로서 선출하게 된다. First, after audit nodes satisfying Equation 1 are registered in the elector list, a node randomly selected from the elector list is selected as the first block generator.

Figure pat00001
Figure pat00001

여기서, (Peernetwork)은 현재 네트워크에 참여중인 모든 노드들의 수이며, (Peerguarantee) 는 현재 자신이 받고 있는 의존 보증도(Dependency Guarantee)이며, x는 사전 설정된 기준값이다. Here, (Peer network ) is the number of all nodes currently participating in the network, (Peer guarantee ) is the dependency guarantee (Payment Guarantee) that they are currently receiving, and x is a preset reference value.

다음, 수학식 1을 만족하는 감사 노드들로 구성된 선출자 목록에서 제1 블록 생성자를 선출한 후, 상기 선출된 제1 블록 생성자를 제외한 다른 모든 노드들을 선출자 목록에서 등록한 후, 무작위로 제2 블록 생성자를 선출하게 된다. Next, after selecting the first block constructor from the elector list consisting of audit nodes satisfying Equation 1, all other nodes except the elected first block constructor are registered in the elector list, and the second randomly You will elect a block constructor.

도 6은 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템에 있어서, 감사 노드가 5개의 트랜잭션을 이용하여 머클트리를 구성하는 것을 도시한 그래프이다. 선출된 노드는 도 6에 도시된 바와 같이 linked timestamp 기반의 트랜잭션들을 이용하여 머클트리를 생성한다. 생성된 머클트리의 머클 루트인 64 자리의 숫자를 각 32 자리의 숫자로 나누어 선출해야 하는 두 노드를 선정하기 위한 시드값으로 활용한다. FIG. 6 is a graph showing that an audit node configures a merkle tree using five transactions in an audit system of a blockchain network according to a preferred embodiment of the present invention. The elected node creates a Merkle tree using linked timestamp-based transactions as shown in FIG. 6. The 64 digits, the Merkle root of the created Merkle Tree, are divided by 32 digits, and used as a seed value to select two nodes to be selected.

상기 감사 보고서 생성부(140)는 감사용 블록체인의 블록들에 저장된 가사 데이터들을 활용하여 자동으로 감사 보고서를 작성하여 제공하게 된다. The audit report generation unit 140 automatically creates and provides an audit report by utilizing housekeeping data stored in blocks of the audit blockchain.

도 4는 본 발명의 바람직한 실시예에 따른 블록체인 네트워크의 감사 시스템에 있어서, 블록체인 네트워크의 기본 네트워크와 감사 네트워크의 동작을 순차적으로 설명하기 위하여 도시한 흐름도이다. 도 4에 있어서, Basechain은 기본 블록체인 네트워크의 각 노드에 저장된 블록체인을 의미하며, Auditchain은 블록체인 네트워크의 감사 시스템을 구성하는 감사 노드들에 저장된 감사용 블록체인을 의미하는 것으로서 감사 데이터들이 저장된 블록들로 이루어지는 것을 특징으로 한다. 4 is a flowchart illustrating in order to sequentially explain the operation of the basic network and the audit network of the blockchain network in the audit system of the blockchain network according to the preferred embodiment of the present invention. In FIG. 4, Basechain refers to a blockchain stored in each node of the basic blockchain network, Auditchain refers to a blockchain for audit stored in audit nodes constituting the audit system of the blockchain network, and blocks in which audit data is stored It is characterized by consisting of.

도 4를 참조하면, 본 발명에 따른 블록체인 네트워크의 감사 노드에 의한 감사 방법은, 먼저 감사용 블록체인을 초기화시키고(단계 300), 기본 네트워크를 구성하는 노드들과 주기적으로 연결되어 노드들로부터 트랜잭션 등의 정보를 포함하는 1차 감사 데이터를 수집하여 트랜잭션의 형태로 감사 체인으로 브로드캐스팅하게 된다(단계 310). 다음, 사전 설정된 보증 프로토콜 및 합의 프로토콜에 따라 감사 블록 생성자들을 선출한다(단계 320). 다음, 1차 감사 데이터들을 기반으로 하여 이상 상황 이벤트 등과 같은 노드들간의 상호 작용 패턴을 포함하는 2차 감사 데이터를 수집하여 감사 데이터에 추가한다(단계 330). 블록 생성자들이 감사 데이터들에 대한 블록을 생성하여 브로드캐스팅하고(단계 340), 브로드캐스팅된 블록을 검증한 후(단계 350), 감사용 블록체인에 상기 검증된 블록을 연결한다(단계 360). 다음, 사전 설정된 시간 등의 조건이 만족되면, 상기 감사용 블록체인을 이용하여 감사 보고서를 생성하여 제공한다(단계 370).Referring to Figure 4, the audit method by the audit node of the blockchain network according to the present invention, first initializes the blockchain for auditing (step 300), and is periodically connected to the nodes constituting the basic network and transactions from the nodes The primary audit data including the information is collected and broadcast in the form of a transaction to the audit chain (step 310). Next, audit block creators are selected according to the preset assurance protocol and consensus protocol (step 320). Next, based on the primary audit data, secondary audit data including interaction patterns between nodes such as an abnormal event is collected and added to the audit data (step 330). Block creators create and broadcast a block of audit data (step 340), verify the broadcast block (step 350), and connect the verified block to the audit blockchain (step 360). Next, when conditions such as a preset time are satisfied, an audit report is generated and provided using the audit blockchain (step 370).

이상에서 본 발명에 대하여 그 바람직한 실시예를 중심으로 설명하였으나, 이는 단지 예시일 뿐 본 발명을 한정하는 것이 아니며, 본 발명이 속하는 분야의 통상의 지식을 가진 자라면 본 발명의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 그리고, 이러한 변형과 응용에 관계된 차이점들은 첨부된 청구 범위에서 규정하는 본 발명의 범위에 포함되는 것으로 해석되어야 할 것이다. In the above, the present invention has been mainly described for its preferred embodiment, but this is merely an example and does not limit the present invention, and those skilled in the art to which the present invention pertains do not depart from the essential characteristics of the present invention. It will be appreciated that various modifications and applications not illustrated above are possible in the scope. And, the differences related to these modifications and applications should be construed as being included in the scope of the invention defined in the appended claims.

1 : 블록체인 네트워크의 감사 시스템
10 : 감사 노드
100 : 감사용 블록체인
110 : 수집부
120 : 블록 생성 및 저장부
130 : 감사 보고서 생성부
1: Blockchain network audit system
10: Audit node
100: Audit blockchain
110: collection unit
120: block generation and storage
130: audit report generation unit

Claims (12)

복수 개의 노드들로 이루어진 블록체인 네트워크에서,
블록체인 네트워크의 노드들과 연결되어 블록체인 네트워크에 발생되는 트랜잭션 및 이벤트를 감사하기 위한 복수 개의 감사 노드들을 구비하고,
상기 감사 노드는,
감사 데이터들을 저장한 블록들이 연결되어 이루어진 감사용 블록체인;
블록체인 네트워크를 감사하기 위한 감사 데이터를 수집하는 수집부;
사전 설정된 보증 프로토콜 및 합의 프로토콜에 따라, 상기 수집된 감사 데이터들을 가공하여 저장하는 블록을 생성하고 검증한 후, 상기 생성된 블록을 상기 감사용 블록체인에 저장하는 블록 저장부;
상기 감사용 블록체인에 저장된 감사 데이터들을 이용하여 감사 보고서를 생성하여 제공하는 감사 보고서 생성부;
를 구비하여, 상기 블록체인 네트워크에서 발생되는 트랜잭션 및 이벤트를 감사하는 것을 특징으로 하는 블록체인 네트워크의 감사 시스템.
In a blockchain network of multiple nodes,
It is connected to the nodes of the blockchain network and has a plurality of audit nodes for auditing transactions and events occurring in the blockchain network,
The audit node,
Blockchain for auditing made by connecting blocks that store audit data;
A collection unit for collecting audit data for auditing the blockchain network;
A block storage unit for generating and verifying a block for processing and storing the collected audit data according to a preset guarantee protocol and a consensus protocol, and storing the generated block in the audit blockchain;
An audit report generator that generates and provides an audit report using the audit data stored in the audit blockchain;
With, it is an audit system of the blockchain network, characterized in that for auditing transactions and events occurring in the blockchain network.
제1항에 있어서, 상기 수집부는
블록체인 네트워크에 연결된 노드들의 각각에 주기적으로 연결하고, 연결된 노드의 상태 정보 및 트랜잭션 정보들을 포함하는 1차 감사 데이터를 수집함으로써, 블록체인 네트워크의 노드들에 대한 1차 감사 데이터를 주기적으로 수집하는 제1 수집부; 및
상기 제1 수집부에 의해 수집된 1차 감사 데이터들을 기반으로 하여, 노드들간의 상호 작용 패턴을 감사하기 위한 2차 감사 데이터를 수집하고, 상기 2차 감사 데이터는 블록체인 네트워크에서 발생되는 이상 상황 이벤트 정보를 포함하는 것을 특징으로 하는 제2 수집부;
를 구비하여, 1차 감사 데이터 및 2차 감사 데이터를 포함하는 감사 데이터를 수집하는 것을 특징으로 하는 블록체인 네트워크의 감사 시스템.
The method of claim 1, wherein the collection unit
Periodically collecting primary audit data for nodes in the blockchain network by periodically connecting to each of the nodes connected to the blockchain network and collecting primary audit data including status information and transaction information of the connected node A first collection unit; And
Based on the primary audit data collected by the first collection unit, secondary audit data for auditing interaction patterns between nodes is collected, and the secondary audit data is an abnormal situation occurring in the blockchain network A second collection unit comprising event information;
With, the audit system of the blockchain network, characterized in that for collecting the audit data including the primary audit data and secondary audit data.
제1항에 있어서,
상기 감사 시스템을 구성하는 감사 노드들은 적어도 1개 이상의 다른 감사 노드들에 대하여 항상 의존(Dependency)해야 하며,
감사 노드의 의존 보증도(Depaendency Guarantee)는 감사 노드가 의존하는 노드 갯수에 따라 결정되며,
상기 의존 보증도(Depaendency Guarantee)가 사전 설정된 기준값 이상인 감사 노드들만이 상기 감사 시스템에 참여할 수 있도록 구성되어, 감사 시스템의 신뢰도를 향상시킨 것을 특징으로 하는 블록체인 네트워크의 감사 시스템.
According to claim 1,
The audit nodes constituting the audit system must always depend on at least one other audit node,
The dependency guarantee of an audit node is determined according to the number of nodes that the audit node depends on,
The audit system of the blockchain network, characterized in that it is configured to allow only those audit nodes whose dependency guarantee is greater than or equal to a predetermined reference value to participate in the audit system, thereby improving the reliability of the audit system.
제1항에 있어서,
상기 감사 시스템을 구성하는 감사 노드들은, 보증 프로토콜에 따라, 블록체인 네트워크에 초기 연결될 때 일반 가중치(Normal Weight)를 부여받고, 수집한 감사 데이터들을 기반으로 하여 신뢰 가중치(Trust Weight)를 생성하게 되며,
상기 신뢰 가중치는 다른 감사 노드에게 Dependency 요청할 때 사용되는 값인 것을 특징으로 하는 블록체인 네트워크의 감사 시스템.
According to claim 1,
The audit nodes constituting the audit system are given a normal weight when initially connected to the blockchain network according to the assurance protocol, and generate a trust weight based on the collected audit data. ,
The trust weight is an audit system of a blockchain network, characterized in that it is a value used when a dependency request is made to another audit node.
제1항에 있어서, 상기 블록 생성 및 저장부는
감사 데이터를 저장하기 위한 블록을 생성하기 위하여, 감사 노드들간의 사전 설정된 합의 프로토콜에 따라 블록 생성자를 선출하고, 선출된 블록 생성자에 의해 상기 감사 데이터를 저장하는 블록을 생성하고, 상기 생성된 블록을 검증하고, 검증된 블록을 감사용 블록체인에 저장하는 것을 특징으로 하는 블록체인 네트워크의 감사 시스템.
The method of claim 1, wherein the block generation and storage unit
In order to generate a block for storing audit data, a block constructor is selected according to a preset consensus protocol between audit nodes, a block for storing the audit data is generated by the selected block creator, and the generated block is generated. An audit system of a blockchain network, characterized by verifying and storing the verified blocks in an audit blockchain.
제5항에 있어서, 상기 블록 생성 및 저장부는 2명의 블록 생성자를 선출하며,
제1 블록 생성자는 감사 노드에 대한 Dependency Guarantee 를 기준으로 하여 구한 선출자 목록에서 무작위 선출되며,
제2 블록 생성자는 상기 선출된 제1 블록 생성자를 제외한 다른 모든 감사 노드들에서 무작위 선출되는 것을 특징으로 하는 블록체인 네트워크의 감사 시스템.
The method of claim 5, wherein the block generation and storage unit selects two block producers,
The first block creator is randomly selected from the list of electors obtained based on the Dependency Guarantee for the audit node,
The second block creator is randomly selected from all other audit nodes except the elected first block creator, the audit system of the blockchain network.
제6항에 있어서, 상기 블록 생성 및 저장부는,
각 감사 노드에 대하여, 아래의 수학식에 따라, 현재 자신이 받고 있는 의존 보증도(Dependency Guarantee)(Peerguarantee) 를 현재 네트워크에 참여중인 모든 노드들의 수(Peernetwork)로 나눈 값을 백분율화하여 계산하고, 상기 계산한 값이 사전 설정된 기준값(x)보다 큰 감사 노드들을 선출자 목록에 등록시키는 것을 특징으로 하는 블록체인 네트워크의 감사 시스템.
Figure pat00002
The method of claim 6, wherein the block generation and storage unit,
For each audit node, the percentage obtained by dividing the dependency guarantee (Peer guarantee ) currently being received by the number of all nodes participating in the current network (Peer network ) according to the following equation The audit system of the blockchain network, characterized in that, the audit nodes whose calculation is greater than the preset reference value (x) are registered in the elector list.
Figure pat00002
복수 개의 노드 및 감사 노드들을 구비하는 블록체인 네트워크에서의 감사 노드들에 의해 블록체인 네트워크의 트랜잭션 및 이벤트들을 감사하는 감사 방법에 있어서,
(a) 감사 노드들에 감사 데이터들이 저장된 블록들을 저장하기 위한 감사용 블록체인을 생성하는 감사용 블록체인 생성 단계;
(b) 블록체인 네트워크를 감사하기 위한 감사 데이터를 수집하는 데이터 수집 단계;
(c) 사전 설정된 보증 프로토콜 및 합의 프로토콜에 따라, 상기 수집된 감사 데이터들을 가공하여 저장하는 블록을 생성하고 검증한 후, 상기 생성된 블록을 상기 감사용 블록체인에 저장하는 블록 생성 및 저장 단계;
(d) 상기 감사용 블록체인에 저장된 감사 데이터들을 이용하여 감사 보고서를 생성하여 제공하는 보고서 생성 단계;
를 구비하여, 상기 블록체인 네트워크에서 발생되는 트랜잭션 및 이벤트를 감사하는 것을 특징으로 하는 블록체인 네트워크의 감사 방법.
In the audit method for auditing transactions and events of the blockchain network by the audit nodes in the blockchain network having a plurality of nodes and audit nodes,
(a) an audit block chain generating step of generating an audit block chain for storing blocks in which audit data is stored in the audit nodes;
(b) a data collection step of collecting audit data for auditing the blockchain network;
(c) a block generation and storage step of generating and verifying a block storing and processing the collected audit data according to a preset assurance protocol and a consensus protocol, and then storing the generated block in the auditing blockchain;
(d) a report generation step of generating and providing an audit report using the audit data stored in the audit blockchain;
Having, the audit method of the blockchain network, characterized in that for auditing transactions and events occurring in the blockchain network.
제8항에 있어서, 상기 (b) 데이터 수집 단계는
블록체인 네트워크에 연결된 노드들의 각각에 주기적으로 연결하고, 연결된 노드의 상태 정보 및 트랜잭션 정보들을 포함하는 1차 감사 데이터를 수집함으로써, 블록체인 네트워크의 노드들에 대한 1차 감사 데이터를 주기적으로 수집하는 제1 수집 단계; 및
상기 수집된 1차 감사 데이터들을 기반으로 하여, 노드들간의 상호 작용 패턴을 감사하기 위한 2차 감사 데이터를 수집하고, 상기 2차 감사 데이터는 블록체인 네트워크에서 발생되는 이상 상황 이벤트 정보를 포함하는 것을 특징으로 하는 제2 수집 단계;
를 구비하여, 1차 감사 데이터 및 2차 감사 데이터를 포함하는 감사 데이터를 수집하는 것을 특징으로 하는 블록체인 네트워크의 감사 방법.
The method of claim 8, wherein the (b) data collection step
Periodically collecting primary audit data for nodes in the blockchain network by periodically connecting to each of the nodes connected to the blockchain network and collecting primary audit data including status information and transaction information of the connected node A first collection step; And
Based on the collected primary audit data, secondary audit data for auditing the interaction pattern between nodes is collected, and the secondary audit data includes abnormal event information generated in the blockchain network. A second collection step, characterized by;
With, the audit method of the blockchain network, characterized in that for collecting the audit data including the primary audit data and secondary audit data.
제8항에 있어서,
상기 감사 노드들은 적어도 1개 이상의 다른 감사 노드들에 대하여 항상 의존(Dependency)해야 하며,
감사 노드의 의존 보증도(Depaendency Guarantee)는 감사 노드가 의존하는 노드 갯수에 따라 결정되며,
상기 의존 보증도(Depaendency Guarantee)가 사전 설정된 기준값 이상인 감사 노드들만이 상기 감사 방법에 참여할 수 있도록 구성되어, 감사 방법의 신뢰도를 향상시킨 것을 특징으로 하는 블록체인 네트워크의 감사 방법.
The method of claim 8,
The audit nodes should always depend on at least one other audit node,
The dependency guarantee of an audit node is determined according to the number of nodes that the audit node depends on,
The audit method of the blockchain network, characterized in that the dependency guarantee (Depaendency Guarantee) is configured to be able to participate in the audit method only audit nodes above a predetermined reference value, to improve the reliability of the audit method.
제8항에 있어서, 상기 (c) 블록 생성 및 저장 단계는,
상기 감사 노드들이, 보증 프로토콜에 따라, 블록체인 네트워크에 초기 연결될 때 일반 가중치(Normal Weight)를 부여받고, 수집한 감사 데이터들을 기반으로 하여 신뢰 가중치(Trust Weight)를 생성하게 되며,
상기 신뢰 가중치는 다른 감사 노드에게 Dependency 요청할 때 사용되는 값인 것을 특징으로 하는 블록체인 네트워크의 감사 방법.
The method of claim 8, wherein the (c) block generation and storage step,
When the audit nodes are initially connected to the blockchain network according to the assurance protocol, they are given a normal weight and generate a trust weight based on the collected audit data,
The trust weight is a value used when requesting Dependency to other audit nodes.
제8항에 있어서, 상기 (c) 블록 생성 및 저장 단계는,
감사 데이터를 저장하기 위한 블록을 생성하기 위하여, 감사 노드들간의 사전 설정된 합의 프로토콜에 따라 2명의 블록 생성자를 선출하고, 선출된 블록 생성자들에 의해 상기 감사 데이터를 저장하는 블록을 생성하고, 상기 생성된 블록을 검증하고, 검증된 블록을 감사용 블록체인에 저장하는 것을 특징으로 하는 블록체인 네트워크의 감사 방법.

The method of claim 8, wherein the (c) block generation and storage step,
In order to generate a block for storing audit data, two block producers are selected according to a preset consensus protocol between audit nodes, and a block for storing the audit data is generated by the selected block creators, and the generation A method of auditing a blockchain network, characterized in that the verified block is verified and the verified block is stored in the auditing blockchain.

KR1020180136034A 2018-11-07 2018-11-07 System for auditing data transaction and event in blockchain network and method thereof KR102208411B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180136034A KR102208411B1 (en) 2018-11-07 2018-11-07 System for auditing data transaction and event in blockchain network and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180136034A KR102208411B1 (en) 2018-11-07 2018-11-07 System for auditing data transaction and event in blockchain network and method thereof

Publications (2)

Publication Number Publication Date
KR20200053070A true KR20200053070A (en) 2020-05-18
KR102208411B1 KR102208411B1 (en) 2021-01-28

Family

ID=70912914

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180136034A KR102208411B1 (en) 2018-11-07 2018-11-07 System for auditing data transaction and event in blockchain network and method thereof

Country Status (1)

Country Link
KR (1) KR102208411B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112270983A (en) * 2020-11-25 2021-01-26 浙江省人民医院 Disinfection supply tracing data recording system based on block chain
CN113411191A (en) * 2021-08-20 2021-09-17 深圳前海微众银行股份有限公司 Data auditing method and device
CN114301715A (en) * 2022-01-29 2022-04-08 杭州趣链科技有限公司 Alliance link data security auditing method and device, computer equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220137329A (en) * 2021-04-02 2022-10-12 삼성전자주식회사 Electronic device performing block agreement based on blockchain and operating method thereof
KR20230094920A (en) 2021-12-21 2023-06-28 포항공과대학교 산학협력단 Blockchain Network System for Blockchain Service Provider and Method for Blockchain Service Provider

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030010263A (en) * 2001-07-26 2003-02-05 펜타시큐리티시스템 주식회사 Multi-layered intrusion detection engine
US20170346833A1 (en) * 2016-05-27 2017-11-30 Sony Corporation Blockchain-based system, and electronic apparatus and method in the system
KR20170137388A (en) * 2016-06-03 2017-12-13 (주) 블록체인오에스 A method for ensuring integrity by using a blockchain technology
KR101814989B1 (en) 2017-07-06 2018-01-05 주식회사 케이뱅크은행 Method of detecting fraud financial trade and server performing the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030010263A (en) * 2001-07-26 2003-02-05 펜타시큐리티시스템 주식회사 Multi-layered intrusion detection engine
US20170346833A1 (en) * 2016-05-27 2017-11-30 Sony Corporation Blockchain-based system, and electronic apparatus and method in the system
KR20170137388A (en) * 2016-06-03 2017-12-13 (주) 블록체인오에스 A method for ensuring integrity by using a blockchain technology
KR101814989B1 (en) 2017-07-06 2018-01-05 주식회사 케이뱅크은행 Method of detecting fraud financial trade and server performing the same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Ju, Long, et al. "An improved intrusion detection scheme based on weighted trust evaluation for wireless sensor networks." 2010 Proceedings of the 5th International Conference on Ubiquitous Information Technologies and Applications. IEEE (2010.) 1부.* *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112270983A (en) * 2020-11-25 2021-01-26 浙江省人民医院 Disinfection supply tracing data recording system based on block chain
CN113411191A (en) * 2021-08-20 2021-09-17 深圳前海微众银行股份有限公司 Data auditing method and device
CN114301715A (en) * 2022-01-29 2022-04-08 杭州趣链科技有限公司 Alliance link data security auditing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
KR102208411B1 (en) 2021-01-28

Similar Documents

Publication Publication Date Title
KR102208411B1 (en) System for auditing data transaction and event in blockchain network and method thereof
Bano et al. SoK: Consensus in the age of blockchains
Zhang et al. Blockchain-based public integrity verification for cloud storage against procrastinating auditors
EP3731494B1 (en) Blockchain maintaining method and apparatus, server, and computer-readable storage medium
Chalaemwongwan et al. Notice of Violation of IEEE Publication Principles: State of the art and challenges facing consensus protocols on blockchain
CN110832825B (en) Method and node for network for increasing verification speed by tamper-proof data
US10579974B1 (en) Systems, methods, and program products for a distributed digital asset network with rapid transaction settlements
Sheng et al. BFT protocol forensics
Velliangiri et al. Blockchain technology: challenges and security issues in consensus algorithm
EP3616358A1 (en) Distributed privately subspaced blockchain data structures with secure access restriction management
Kiayias et al. On the security properties of e-voting bulletin boards
US11503036B2 (en) Methods of electing leader nodes in a blockchain network using a role-based consensus protocol
CN113723962B (en) Block chain authority management method and block chain system
CN112116349B (en) High-throughput-rate-oriented random consensus method and device for drawing account book
KR20200081533A (en) Blockchain Consensus Method based Improved Dynamic Blind Voting for Internet of Things Environment
Garcia Ribera Design and implementation of a proof-of-stake consensus algorithm for blockchain
Smith et al. IBM Blockchain: An enterprise deployment of a distributed consensus-based transaction log
Zhao et al. Secure hierarchical processing and logging of sensing data and IoT events with blockchain
Li et al. Three-dimensional tradeoffs for consensus algorithms: A review
Kubilay et al. KORGAN: An efficient PKI architecture based on PBFT through dynamic threshold signatures
Berrang et al. Albatross–an optimistic consensus algorithm
Benedetti et al. A pow-less bitcoin with certified byzantine consensus
Berger et al. Sok: Scalability techniques for BFT consensus
Bezuidenhout et al. Permissionless blockchain systems as pseudo-random number generators for decentralized consensus
Qi et al. Blockchain-Based Light-Weighted Provable Data Possession for Low Performance Devices.

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant