KR20190125426A - Method, apparatus and system for blockchain consensus - Google Patents

Method, apparatus and system for blockchain consensus Download PDF

Info

Publication number
KR20190125426A
KR20190125426A KR1020197029402A KR20197029402A KR20190125426A KR 20190125426 A KR20190125426 A KR 20190125426A KR 1020197029402 A KR1020197029402 A KR 1020197029402A KR 20197029402 A KR20197029402 A KR 20197029402A KR 20190125426 A KR20190125426 A KR 20190125426A
Authority
KR
South Korea
Prior art keywords
consensus
transaction data
agreement
unit
distributing
Prior art date
Application number
KR1020197029402A
Other languages
Korean (ko)
Other versions
KR102262713B1 (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 알리바바 그룹 홀딩 리미티드
Publication of KR20190125426A publication Critical patent/KR20190125426A/en
Application granted granted Critical
Publication of KR102262713B1 publication Critical patent/KR102262713B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1012Server selection for load balancing based on compliance of requirements or conditions with available server resources
    • H04L67/327
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0637Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Apparatus For Radiation Diagnosis (AREA)
  • Pens And Brushes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

블록체인 합의 방법은, 트랜잭션 데이터를 획득하는 단계; 및 미리 설정된 분배 규칙에 따라, 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시켜서, 적어도 하나의 합의부가 분배된 트랜잭션 데이터에 관한 합의 처리를 수행하게 하는 단계를 포함할 수도 있다.The blockchain consensus method includes the steps of obtaining transaction data; And distributing the transaction data to at least one agreement unit in the agreement set according to a preset distribution rule, such that the at least one agreement unit performs consensus processing on the distributed transaction data.

Description

블록체인 합의를 위한 방법, 장치 및 시스템Method, apparatus and system for blockchain consensus

관련 출원에 대한 상호 참조Cross Reference to Related Application

본 출원은 중국 출원 제201710197538.X호(출원일: 2017년 3월 29일)의 우선권에 기초하고 그리고 이 우선권을 주장하며, 상기 기초출원은 전문이 참고로 본 명세서에 편입된다.This application is based on and claims this priority in Chinese Application No. 201710197538.X (filed March 29, 2017), which is incorporated herein by reference in its entirety.

기술 분야Technical field

본 출원은 컴퓨터 소프트웨어 기술의 분야, 구체적으로, 블록체인 합의를 위한 방법, 장치 및 시스템에 관한 것이다.The present application relates to the field of computer software technology, specifically to methods, apparatus and systems for blockchain consensus.

블록체인은 본래 비트코인을 위해 설계된 분산형 데이터베이스 기술이다. 이러한 데이터 구조는 시스템 내에서 검증되는 순차적인 데이터를 저장하기 위해 특히 적합하다. 게다가, 이러한 데이터 구조는 합의 알고리즘을 사용하여 데이터가 조작될 수 없거나 또는 위조될 수 없는 것을 보장한다. 합의 알고리즘은 블록체인 내 노드에 의한 참여를 필요로 하고 그리고 복수의 노드에 의한 합동 계산을 통해 합의에 도달하는 알고리즘이다. 예를 들어, 트랜잭션 데이터를 수신할 시, 부기 노드(bookkeeping node)가 트랜잭션 데이터를 다른 참여 노드로 브로드캐스팅(broadcast)하고, 그리고 다른 참여 노드가 합의 처리를 수행하여 부기 노드가 트랜잭션 데이터를 위한 부기 권한을 갖는지를 결정한다. 다른 참여 노드의 합의 결과가 부기 노드가 트랜잭션 데이터를 위한 부기 권한을 갖는 것이라면, 부기 노드는 트랜잭션 데이터를 부기 노드에 대응하는 블록체인에 저장한다. 따라서, 블록체인 기술에서, 합의 알고리즘은 블록체인 내 노드 또는 프로그램을 위한 준거법이고, 이는 모든 노드가 임의의 환경에서 일관된 방식으로 협력할 수 있는 것을 보장한다.Blockchain is a distributed database technology originally designed for Bitcoin. This data structure is particularly suitable for storing sequential data that is verified within the system. In addition, this data structure ensures that data cannot be manipulated or forged using a consensus algorithm. The consensus algorithm is an algorithm that requires participation by nodes in the blockchain and reaches consensus through joint calculation by multiple nodes. For example, upon receiving transaction data, a bookkeeping node broadcasts the transaction data to another participating node, and the other participating node performs consensus processing so that the bookkeeping node can perform bookkeeping for the transaction data. Determine if you have authority. If the result of the consensus of other participating nodes is that the bookkeeping node has bookkeeping authority for the transaction data, the bookkeeping node stores the transaction data in the blockchain corresponding to the bookkeeping node. Thus, in blockchain technology, the consensus algorithm is the governing law for nodes or programs in the blockchain, which ensures that all nodes can cooperate in a consistent manner in any environment.

실용적 비잔틴 장애 허용(Practical Byzantine Fault Tolerance: PBFT)은 블록체인 내 공통 합의 알고리즘이다. PBFT 알고리즘은 일부 허용을 제공할 수 있으면서 액티비티 및 보안을 보장하고, 따라서 광범위하게 사용되어 왔다. PBFT 알고리즘에서, 하나의 노드는 마스터 노드이고, 그리고 다른 노드는 백업 노드이다. 마스터 노드는 수신된 트랜잭션 요청을 분류하고, 그리고 이어서 분류 결과에 따라 트랜잭션 요청을 백업 노드로 브로드캐스팅하는데 책임이 있다. PBFT 알고리즘은 보통 사전-준비, 준비 및 확정의 3가지 단계를 포함한다. 사전-준비 단계 및 준비 단계는 트랜잭션 요청의 시퀀스를 결정하도록 사용된다.Practical Byzantine Fault Tolerance (PBFT) is a common consensus algorithm in the blockchain. PBFT algorithms can provide some tolerance while ensuring activity and security, and thus have been widely used. In the PBFT algorithm, one node is the master node and the other node is the backup node. The master node is responsible for classifying the received transaction request and then broadcasting the transaction request to the backup node according to the classification result. PBFT algorithms usually include three stages: pre-preparation, preparation and confirmation. The pre-preparation phase and the preparation phase are used to determine the sequence of transaction requests.

그러나, 트랜잭션 요청을 분류할 때, 예를 들어, 동일한 시퀀스 번호를 상이한 트랜잭션 요청에 제공하거나 또는 시퀀스 번호를 할당하는데 실패하거나 또는 인접한 트랜잭션 요청의 시퀀스 번호를 불연속적이게 만들 때 등 마스터 노드가 에러를 확정할 확률이 크다. 결과적으로, 백업 노드가 순서가 매겨진 트랜잭션 요청을 수신할 때 트랜잭션 요청의 시퀀스를 검증하는 것이 필요하다.However, when classifying transaction requests, for example, when providing the same sequence number to different transaction requests, failing to assign sequence numbers, or making the sequence numbers of adjacent transaction requests discontinuous, the master node may fail. There is a high probability of confirmation. As a result, it is necessary to verify the sequence of transaction requests when the backup node receives an ordered transaction request.

결과적으로, PBFT 알고리즘이 많은 설계 및 계산을 행하여 시퀀스를 보장한다. 많은 현재 사용되는 합의 알고리즘(예를 들어, 작업량을 검증하기 위한 메커니즘 및 권한 및 이득 등을 검증하기 위한 메커니즘과 같은 합의 메커니즘)이 상당한 시스템 자원을 소모하는, 합의 처리를 수행할 때 다량의 설계 및 계산을 시퀀스대로 수행해야 한다는 것을 연구를 통해 발견하였다.As a result, the PBFT algorithm does many designs and calculations to ensure the sequence. Many current consensus algorithms (e.g., consensus mechanisms such as mechanisms for verifying workload and mechanisms for verifying rights and benefits, etc.) consume a large amount of system resources when performing consensus processing. Research has found that the calculations must be performed in sequence.

그러나, 실질적인 적용에서, 시퀀스 필요조건이 없는 트랜잭션 요청이 많다. 시퀀스 필요조건이 없는 트랜잭션 요청은 트랜잭션 요청을 수신할 시, 서버가 자선 기부 트랜잭션, 상한선 또는 한도 등이 없는 크라우드 펀딩 트랜잭션(crowdfunding transaction) 등과 같은 수신된 트랜잭션 요청을 수락 시간의 순서에 따라 처리할 필요가 없는 것을 의미한다. 자선 기부 트랜잭션을 예로 들면, 기부의 시퀀스는 트랜잭션 처리에 영향을 주지 않는다. 따라서, 이 유형의 트랜잭션 요청은 시퀀스 필요조건을 갖지 않는 트랜잭션 요청(요약해서, "시퀀스 필요조건이 없는 트랜잭션 요청")으로서 지칭될 수도 있다. 이 유형의 트랜잭션 요청이 블록체인에서 처리될 때, 현재의 합의 알고리즘의 사용은 이 유형의 트랜잭션을 위한 비교적 낮은 처리 효율을 야기할 것이고, 그리고 동시에, 또한 블록체인의 합의 처리량에 영향을 줄 것이다.However, in practical applications, there are many transaction requests without sequence requirements. Transaction requests without sequence requirements require the server to process received transaction requests in the order of acceptance time, such as a charitable donation transaction, a crowdfunding transaction with no upper limit or limit, etc. upon receiving a transaction request. Means there is no. Using a charitable donation transaction as an example, the sequence of donations does not affect transaction processing. Thus, this type of transaction request may be referred to as a transaction request that does not have a sequence requirement (summary, "a transaction request without a sequence requirement"). When this type of transaction request is processed in the blockchain, the use of current consensus algorithms will result in a relatively low processing efficiency for this type of transaction, and at the same time, will also affect the blockchain's consensus throughput.

위의 내용을 고려하여, 본 개시내용의 실시형태는 합의 알고리즘이 시퀀스 필요조건이 없는 트랜잭션 요청을 처리하도록 사용될 때 처리 효율이 낮은 종래 기술의 문제점을 적어도 완화하기 위한 블록체인 합의를 위한 방법, 장치, 및 시스템을 제공한다.In view of the above, embodiments of the present disclosure provide a method and apparatus for blockchain consensus to at least mitigate the problems of the prior art with low processing efficiency when a consensus algorithm is used to process a transaction request without sequence requirements. , And systems.

하나의 양상에 따르면, 블록체인 합의 방법은, 트랜잭션 데이터를 획득하는 단계; 및 미리 설정된 분배 규칙에 따라, 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시켜서, 적어도 하나의 합의부가 분배된 트랜잭션 데이터에 관한 합의 처리를 수행하게 하는 단계를 포함할 수도 있다.According to one aspect, a blockchain consensus method includes obtaining transaction data; And distributing the transaction data to at least one agreement unit in the agreement set according to a preset distribution rule, such that the at least one agreement unit performs consensus processing on the distributed transaction data.

또 다른 양상에 따르면, 블록체인-기반 데이터 저장 방법은, 상이한 합의부로부터 합의 결과를 수신하는 단계; 및 합의 결과의 타임 스탬프에 따라 합의 결과를 블록체인의 블록에 저장하는 단계를 포함할 수도 있다.According to another aspect, a blockchain-based data storage method comprises: receiving a consensus result from a different consensus unit; And storing the result of the agreement in a block of the blockchain according to the time stamp of the result of the agreement.

또 다른 양상에 따르면, 블록체인 합의 시스템은, 분배부 및 복수의 합의부를 포함한 합의부 세트를 포함할 수도 있고, 분배부는 트랜잭션 데이터를 획득하도록 그리고 미리 설정된 분배 규칙에 따라, 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키도록 구성되고; 그리고 적어도 하나의 합의부는 분배된 트랜잭션 데이터에 관한 합의 처리를 수행하도록 구성된다.According to another aspect, the blockchain consensus system may comprise a set of consensus units comprising a distributing unit and a plurality of consensus units, wherein the distributing unit obtains the transaction data and according to preset distribution rules, at least the transaction data in the set of consensus units; To distribute to one consensus unit; And the at least one consensus unit is configured to perform consensus processing on the distributed transaction data.

또 다른 양상에 따르면, 블록체인 합의 장치는 프로세서, 및 프로세서에 의해 실행될 때, 블록체인 합의 장치가 방법을 수행하게 하는 명령어를 저장하는 비일시적 컴퓨터-판독 가능 저장 매체를 포함한다. 방법은, 트랜잭션 데이터를 획득하는 단계; 및 미리 설정된 분배 규칙에 따라, 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시켜서, 적어도 하나의 합의부가 분배된 트랜잭션 데이터에 관한 합의 처리를 수행하게 하는 단계를 포함할 수도 있다.According to another aspect, a blockchain consensus apparatus includes a processor and a non-transitory computer-readable storage medium that, when executed by the processor, stores instructions that cause the blockchain consensus apparatus to perform a method. The method includes obtaining transaction data; And distributing the transaction data to at least one agreement unit in the agreement set according to a preset distribution rule, such that the at least one agreement unit performs consensus processing on the distributed transaction data.

또 다른 양상에 따르면, 블록체인 기반 데이터 저장 장치는 프로세서, 및 프로세서에 의해 실행될 때, 블록체인 기반 데이터 저장 장치가 방법을 수행하게 하는 명령어를 저장하는 비일시적 컴퓨터-판독 가능 저장 매체를 포함한다. 방법은, 상이한 합의부로부터 합의 결과를 수신하는 단계; 및 합의 결과의 타임 스탬프에 따라, 합의 결과를 블록체인의 블록에 저장하는 단계를 포함할 수도 있고, 합의 결과를 블록체인의 블록에 저장하는 단계는, 합의 결과를 합의 결과를 생성하는 합의부에 대응하는 블록체인 네트워크 내 노드의 블록에 저장하는 것을 포함한다.According to another aspect, a blockchain-based data storage device includes a processor and a non-transitory computer-readable storage medium that, when executed by the processor, stores instructions that cause the blockchain-based data storage device to perform a method. The method includes receiving an agreement result from a different agreement unit; And according to the timestamp of the consensus result, storing the consensus result in the block of the blockchain, and storing the consensus result in the block of the blockchain corresponds to the consensus unit generating the consensus result. Storing in a block of a node in the blockchain network.

본 출원은 독립적인 합의부로서 예시적인 합의 알고리즘을 개시하고, 합의 알고리즘은 종래의 블록체인 합의와는 상이하고, 이 합의부에 의해 합의부 세트를 형성하고, 그리고 트랜잭션 데이터의 수신 시, 설정된 분배 규칙에 따라, 트랜잭션 데이터를 합의부 세트 내 합의부로 분배시켜서 합의부에 의한 트랜잭션 데이터에 관한 합의 처리를 달성할 수 있다. 이 방식으로, 복수의 합의부가 시퀀스 필요조건이 없는 트랜잭션 요청에 관한 합의 처리를 동시에 수행할 수 있고, 기존의 합의 알고리즘에 의한 시퀀스 처리가 간소화되고, 시퀀스 필요조건이 없는 트랜잭션 요청에 관한 처리 효율 및 처리량이 개선되고, 그리고 블록체인 네트워크의 작동 성능이 개선된다.The present application discloses an exemplary consensus algorithm as an independent consensus unit, which is different from the conventional blockchain consensus, forms a set of consensus units by this consensus unit, and upon receipt of transaction data, in accordance with the set distribution rules. In turn, the transaction data can be distributed to the consensus in the consensus set to achieve consensus processing on the transaction data by the consensus. In this way, a plurality of consensus units can simultaneously perform consensus processing on a transaction request without a sequence requirement, simplifying the sequence processing by the existing consensus algorithm, and processing efficiency on a transaction request without a sequence requirement and Throughput is improved, and the operational performance of the blockchain network is improved.

본 개시내용의 실시형태의 기술적 해결책을 더 분명하게 설명하기 위해서, 첨부 도면이 다음과 같이 간략하게 설명될 것이다. 첨부 도면은 단지 예시적이다. 당업자는 창조적 노력 없이 이 도면에 따라 다른 도면을 더 획득할 수도 있다.
도 1은 본 개시내용의 실시형태에 따른, 블록체인 합의 방법의 흐름도.
도 2는 본 개시내용의 실시형태에 따른, 블록체인 합의 방법의 흐름도.
도 3은 본 개시내용의 실시형태에 따른, 블록체인 합의 방법의 흐름도.
도 4는 본 개시내용의 실시형태에 따른, 블록체인 기반 데이터 저장 방법의 흐름도.
도 5는 본 개시내용의 실시형태에 따른, 블록체인 합의 시스템의 개략적인 구조도.
도 6은 본 개시내용의 실시형태에 따른, 블록체인 합의 장치의 개략도.
도 7은 본 개시내용의 실시형태에 따른, 블록체인 합의 장치의 개략도.
도 8은 본 개시내용의 실시형태에 따른, 블록체인 기반 데이터 저장 장치의 개략적인 구조도.
BRIEF DESCRIPTION OF DRAWINGS To describe the technical solutions in the embodiments of the present disclosure more clearly, the accompanying drawings will be briefly described as follows. The accompanying drawings are merely illustrative. Those skilled in the art may further obtain other drawings in accordance with this drawing without creative efforts.
1 is a flow diagram of a blockchain consensus method, in accordance with an embodiment of the present disclosure.
2 is a flow diagram of a blockchain consensus method, in accordance with an embodiment of the present disclosure.
3 is a flow diagram of a blockchain consensus method, in accordance with an embodiment of the present disclosure.
4 is a flow diagram of a blockchain based data storage method, in accordance with an embodiment of the present disclosure.
5 is a schematic structural diagram of a blockchain consensus system, in accordance with an embodiment of the present disclosure.
6 is a schematic diagram of a blockchain consensus apparatus, in accordance with an embodiment of the present disclosure.
7 is a schematic diagram of a blockchain consensus apparatus, in accordance with an embodiment of the present disclosure.
8 is a schematic structural diagram of a blockchain based data storage device, in accordance with an embodiment of the present disclosure.

당업자가 본 개시내용의 기술적 해결책을 더 잘 이해하게 하기 위해서, 실시형태의 기술적 해결책이 첨부 도면을 참조하여 아래에 분명히 그리고 완전히 설명될 것이다. 분명히, 설명된 실시형태는 단지 예시적이다. 창조적 노력 없이 그리고 본 개시내용의 실시형태에 기초하여 당업자가 획득 가능한 모든 다른 실시형태는 본 개시내용의 범위에 포함될 것이다.To enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are merely exemplary. All other embodiments obtainable by those skilled in the art without creative efforts and based on the embodiments of the present disclosure will fall within the scope of the present disclosure.

본 개시내용에 따른 해결책은 다음의 실시형태를 통해 상세히 설명될 것이다.The solution according to the present disclosure will be described in detail through the following embodiments.

도 1은 본 개시내용의 실시형태에 따른, 블록체인 합의 방법의 흐름도이다. 프로그램의 관점에서, 흐름을 실행시키는 주 본체는 개인용 컴퓨터(personal computer: PC) 단말기의 애플리케이션(application: APP) 또는 프로그램일 수도 있다. 장치의 관점에서, 흐름을 실행시키는 주 본체는 개인용 컴퓨터, 크거나 또는 중간 규모의 컴퓨터, 컴퓨터 클러스터, 휴대폰, 태블릿 컴퓨터, 스마트 착용형 디바이스, 차량 기계 등을 포함할 수도 있지만 이들로 제한되지 않는다.1 is a flow diagram of a blockchain consensus method, in accordance with an embodiment of the present disclosure. From the point of view of the program, the main body for executing the flow may be an application (APP) or program of a personal computer (PC) terminal. In view of the apparatus, the main body that executes the flow may include, but is not limited to, a personal computer, a large or medium computer, a computer cluster, a mobile phone, a tablet computer, a smart wearable device, a vehicle machine, and the like.

하나의 실시형태에 따르면, 도 1에 도시된 바와 같은 블록체인 합의 방법은 다음의 단계를 포함할 수도 있다:According to one embodiment, a blockchain consensus method as shown in FIG. 1 may include the following steps:

S101: 트랜잭션 데이터(예를 들어, 블록체인 네트워크에서 합의 처리를 추구하는 트랜잭션 데이터, 그리고 이 트랜잭션 데이터는 "합의될" 트랜잭션 데이터로서 지칭될 수 있음)를 획득하는 단계.S101: Acquiring transaction data (eg, transaction data seeking consensus processing in a blockchain network, and this transaction data may be referred to as "consensus" transaction data).

하나의 실시형태에서, 방법을 실행시키는 주 본체가 블록체인 네트워크 내 블록체인 노드(이하에 "노드")라면, 노드는 처리될 트랜잭션 요청을 수신할 수 있고, 트랜잭션 요청으로부터 트랜잭션 데이터를 획득할 수 있고, 그리고 트랜잭션 데이터를 저장할 수 있다. 단계(S101)에서 합의될 트랜잭션 데이터는 저장된 트랜잭션 데이터일 수도 있다. 본 명세서의 트랜잭션 요청은 클라이언트 단말기가 전송하는 트랜잭션 요청, 예를 들어, 부기 요청 또는 또 다른 상태 기계 작동을 실행시키기 위한 요청일 수도 있거나; 또는 다른 장치가 전송하는 트랜잭션 요청일 수도 있고, 이는 본 명세서에서 제한되지 않는다.In one embodiment, if the main body executing the method is a blockchain node (hereinafter referred to as a "node") in the blockchain network, the node may receive a transaction request to be processed and obtain transaction data from the transaction request. And store transaction data. The transaction data to be agreed in step S101 may be stored transaction data. The transaction request herein may be a transaction request sent by the client terminal, eg, a bookkeeping request or a request to execute another state machine operation; Or a transaction request sent by another device, which is not limited herein.

일부 실시형태에서, 합의될 트랜잭션 데이터는 트랜잭션 데이터의 하나의 세트를 나타낼 수도 있고, 예를 들어, 차후의 작동은 트랜잭션 데이터의 하나의 세트가 수신될 때 트리거링(trigger)된다. 대안적으로, 합의될 트랜잭션 데이터는 합의될 트랜잭션 데이터의 복수의 세트일 수도 있고, 예를 들어, 차후의 작동은 트랜잭션 데이터의 복수의 세트가 수신될 때 트리거링된다. 대안적으로, 합의될 트랜잭션 데이터는 설정된 시간 기간 내에 생성되는 트랜잭션 데이터일 수도 있고, 예를 들어, 설정된 시간 기간 내에 생성되는 트랜잭션 데이터가 수신되고, 그리고 설정된 시간 기간이 만료될 때, 차후의 작동이 트리거링된다. 획득된 트랜잭션 데이터의 세트의 수는 본 명세서에서 제한되지 않는다.In some embodiments, transactional data to be agreed may represent one set of transactional data, for example, subsequent operations are triggered when one set of transactional data is received. Alternatively, the transaction data to be agreed may be a plurality of sets of transaction data to be agreed, for example, subsequent operations are triggered when a plurality of sets of transaction data are received. Alternatively, the transaction data to be agreed may be transaction data generated within a set time period, for example, when transaction data generated within a set time period is received and the set time period expires, subsequent operations Is triggered. The number of sets of transaction data obtained is not limited herein.

본 명세서의 "트랜잭션 데이터"는 시퀀스 필요조건이 없는 트랜잭션 데이터를 포함한다. 즉, 획득된 트랜잭션 데이터가 처리될 때, 트랜잭션 데이터의 시간 인자는 고려되지 않는다. 예를 들어, 수신된 트랜잭션 요청은 기부 요청이다. 그리고, 합의될 트랜잭션 데이터는 획득된 합의될 트랜잭션 데이터이다. 기부와 관련된 트랜잭션 데이터에 대해, 트랜잭션 데이터 처리의 시퀀스는 전송자와 무관하다. 즉, 기부 요청이 전송자에 의해 전송될 때의 시간 인자는 무시된다. 따라서, 이 유형의 트랜잭션 요청은 또한 시퀀스 필요조건이 없는 트랜잭션 요청으로서 지칭된다."Transaction data" herein includes transaction data without sequence requirements. That is, when the acquired transaction data is processed, the time factor of the transaction data is not taken into account. For example, the received transaction request is a donation request. And, the transaction data to be agreed is the obtained transaction data to be agreed. For transaction data related to the base, the sequence of transaction data processing is independent of the sender. That is, the time factor when the donation request is sent by the sender is ignored. Thus, this type of transaction request is also referred to as a transaction request without sequence requirements.

S102: 미리 설정된 분배 규칙에 따라, 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 단계.S102: Distributing the transaction data to at least one agreement unit in the agreement unit set according to a preset distribution rule.

여기서, 합의부는 분배된 트랜잭션 데이터에 관한 합의 처리를 수행하도록 사용된다.Here, the consensus unit is used to perform consensus processing on the distributed transaction data.

블록체인 기술에서, 합의 알고리즘은 획득된 트랜잭션 데이터를 처리하도록 사용되고, 한편, 합의 알고리즘은 합의에 참여하는 투표 노드에 의해 완료되는 알고리즘이고, 예를 들어, 모든 투표 노드는 결국 합동 계산을 통해 합의 결과에 도달한다.In blockchain technology, the consensus algorithm is used to process the acquired transaction data, while the consensus algorithm is an algorithm that is completed by the voting nodes participating in the consensus, for example, all the voting nodes eventually result in consensus through joint calculations. To reach.

하나의 실시형태에서 합의부 세트는 합의부를 포함하고, 그리고 각각의 합의부는 독립적인 합의 트랜잭션을 제공할 수도 있다. 즉, 상이한 합의부는 동일한 합의 알고리즘을 사용할 수도 있거나 또는 상이한 합의 알고리즘을 사용할 수도 있다.In one embodiment the set of consensus portions includes the consensus portion, and each consensus portion may provide an independent consensus transaction. In other words, different consensus units may use the same consensus algorithm or different consensus algorithms.

일부 실시형태에서, 합의부 세트에 포함되는 합의부의 수는 본 명세서에서 제한되지 않는다. 상이한 합의부에 포함된 투표 노드의 수는 동일할 수도 있거나 또는 상이할 수도 있다. 예를 들어, 합의 알고리즘이 PBFT 알고리즘이라면, 합의부 내 하나의 투표 노드는 하나의 일차 노드 및 4개의 이차 노드를 포함한다. 합의 알고리즘이 작업 증명 메커니즘이라면, 합의부는 적어도 하나의 투표 노드를 포함한다. 따라서, 합의부 내 투표 노드의 수는 본 명세서에서 제한되지 않고, 이는 합의 알고리즘의 실제 필요조건에 따라 결정될 수 있다.In some embodiments, the number of consensus sections included in the consensus set is not limited herein. The number of voting nodes included in different agreements may be the same or may be different. For example, if the consensus algorithm is a PBFT algorithm, one voting node in the consensus section includes one primary node and four secondary nodes. If the consensus algorithm is a proof-of-work mechanism, the consensus portion includes at least one voting node. Thus, the number of voting nodes in the consensus unit is not limited herein, which may be determined according to the actual requirements of the consensus algorithm.

이 방식으로, 합의될 트랜잭션 데이터에 대해, 합의 처리는 다양한 실시형태의 해결책에 따라 동시 발생 방식으로 상이한 트랜잭션 데이터에서 수행될 수 있다. 즉, 상이한 트랜잭션 데이터가 상이한 합의부로 동시에 분배되고, 그리고 합의부는 수신된 트랜잭션 데이터에 관한 합의 처리를 독립적으로 수행한다.In this way, for transaction data to be agreed, consensus processing may be performed on different transaction data in a co-occurrence manner, in accordance with the solutions of various embodiments. That is, different transaction data are simultaneously distributed to different agreement units, and the agreement unit independently performs consensus processing on the received transaction data.

미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키기 위한 다양한 방법이 아래에 상세히 설명될 것이다.In accordance with preset distribution rules, various methods for distributing transaction data to be agreed upon to at least one consensus in the consensus set will be described in detail below.

하나의 실시예에서, 제1 분배 방법은, 수신된 합의될 트랜잭션 데이터의 세트의 수에 따라, 랜덤 방식(random manner)으로, 합의부 세트로부터 합의부의 매칭 수를 결정하는 단계; 및 합의될 트랜잭션 데이터를 결정된 합의부로 동시에 각각 분배시키는 단계를 포함할 수도 있다.In one embodiment, the first distribution method further comprises: determining, in a random manner, the number of agreements of the agreement part from the agreement part set, according to the number of sets of transaction data to be agreed upon; And simultaneously distributing transaction data to be agreed upon, respectively, to the determined consensus unit.

하나의 실시예에서, 합의될 트랜잭션 데이터의 세트의 수가 1이라면, 하나의 합의부가 합의부 세트로부터 랜덤 방식으로 결정된다. 합의될 트랜잭션 데이터가 결정된 합의부로 분배되고, 그리고 합의부가 합의될 트랜잭션 데이터에 관한 합의 처리를 수행한다.In one embodiment, if the number of sets of transaction data to be agreed is one, then one consensus part is determined in a random manner from the set of consensus parts. The transaction data to be agreed is distributed to the determined consensus unit, and the consensus unit performs consensus processing on the transaction data to be agreed.

합의될 트랜잭션 데이터의 세트의 수가 1보다 더 클 때, 합의될 트랜잭션 데이터의 세트의 수에 따라, 합의부의 동일한 수가 합의부 세트로부터 랜덤 방식으로 결정된다. 합의될 트랜잭션 데이터의 세트는 결정된 상이한 합의부로 각각 순차적으로 분배된다.When the number of sets of transaction data to be agreed is greater than 1, according to the number of sets of transaction data to be agreed, the same number of agreement parts is determined in a random manner from the set of agreement parts. The set of transaction data to be agreed upon is distributed sequentially to each of the determined different agreement units.

예를 들어, 획득된 합의될 트랜잭션 데이터는 합의될 트랜잭션 데이터(1), 합의될 트랜잭션 데이터(2), 및 합의될 트랜잭션 데이터(3)를 포함하고, 그리고 합의부 세트는 합의부(1), 합의부(2), 합의부(3), 합의부(4), 및 합의부(5)를 포함한다고 가정한다. 여기서, 3개의 합의부는 합의부 세트로부터 랜덤으로 결정될 수 있다. 랜덤으로 결정된 합의부가 합의부(2), 합의부(4), 및 합의부(5)라고 가정하면, 합의될 트랜잭션 데이터(1), 합의될 트랜잭션 데이터(2), 및 합의될 트랜잭션 데이터(3)는 결정된 상이한 합의부로 랜덤 방식으로 순차적으로 분배된다. 예를 들어, 합의될 트랜잭션 데이터(1)가 합의부(5)로 분배되고; 합의될 트랜잭션 데이터(2)가 합의부(4)로 분배되고; 그리고 합의될 트랜잭션 데이터(3)가 합의부(2)로 분배된다.For example, the acquired transaction data to be agreed upon includes transaction data 1 to be agreed upon, transaction data 2 to be agreed upon, and transaction data 3 to be agreed upon, and the set of agreement portions includes an agreement portion 1, an agreement portion ( 2), it is assumed that it includes an agreement unit (3), an agreement unit (4) and an agreement unit (5). Here, the three consensus portions may be determined randomly from the set of consensus portions. Assuming that the randomly determined consensus is the consensus (2), consensus (4), and consensus (5), the transaction data to be agreed (1), transaction data to be agreed (2), and transaction data to be agreed (3) are determined. It is sequentially distributed in a random manner to different consensus units. For example, the transaction data 1 to be agreed is distributed to the agreement unit 5; The transaction data 2 to be agreed upon is distributed to the agreeing section 4; Then, the transaction data 3 to be agreed is distributed to the agreement unit 2.

본 출원의 구현 모드에서 합의 분배는 시퀀스를 위한 임의의 필요조건을 갖지 않는다. 따라서, 랜덤 방식은 분배를 위해 사용될 수 있다. 게다가, "합의될 트랜잭션 데이터(1), 합의될 트랜잭션 데이터(2), 및 합의될 트랜잭션 데이터(3)가 결정된 상이한 합의부로 랜덤 방식으로 순차적으로 분배되는 것"이 동시 분배 방식으로 구현될 수도 있다. 분배는 랜덤 방식으로 수행된다. 즉, 합의될 트랜잭션 데이터가 획득될 때, 임의의 합의부가 합의 트랜잭션의 합의부가 되어 합의될 트랜잭션 데이터를 처리할 수 있다. 이러한 랜덤 분배 방식은 분배 시 시스템이 사용하는 자원을 감소시킬 수 있다.In the implementation mode of the present application, the consensus distribution does not have any requirement for the sequence. Thus, the random scheme can be used for distribution. In addition, "the transaction data 1 to be agreed, the transaction data 2 to be agreed, and the transaction data 3 to be agreed upon are sequentially distributed in a random manner to different agreement parts determined" may be implemented in a simultaneous distribution manner. . Distribution is performed in a random manner. That is, when the transaction data to be agreed is obtained, any consensus can become an agreement of the agreed transaction and can process the transaction data to be agreed. This random distribution scheme can reduce the resources used by the system in the distribution.

본 명세서의 "랜덤 방식"은 랜덤 알고리즘을 통해 구현될 수도 있거나, 또는 다른 방식으로 구현될 수도 있고, 이는 본 명세서에서 구체적으로 제한되지 않는다.The “random manner” herein may be implemented through a random algorithm, or may be implemented in other ways, which is not specifically limited herein.

또 다른 실시예에서, 제2 분배 방법은, 합의부 세트로부터 합의 트랜잭션이 필요한 합의부를 폴링 방식(polling manner)으로 결정하는 단계; 및 합의될 트랜잭션 데이터를 결정된 합의부로 분배시키는 단계를 포함할 수도 있다.In yet another embodiment, the second distribution method may further comprise: determining, in a polling manner, an agreement portion that requires an agreement transaction from an agreement portion set; And distributing the transaction data to be agreed upon to the determined consensus unit.

하나의 실시예에서, 합의될 트랜잭션 데이터가 획득될 때, 문의 메시지가 합의부 세트 내 모든 합의부로 폴링 방식으로 전송되어 합의 트랜잭션 대상(예를 들어, 트랜잭션 요청)이 필요한 합의부가 있는지를 결정한다. 합의부가 합의 트랜잭션 대상이 필요하다고 결정될 때, 합의될 트랜잭션 데이터는 합의부로 전송된다.In one embodiment, when the transaction data to be agreed is obtained, an inquiry message is sent in a polling manner to all the agreements in the agreement set to determine if there is an agreement that requires an agreement transaction subject (eg, a transaction request). When the consensus part determines that a consensus transaction object is needed, the transaction data to be agreed is sent to the consensus part.

합의될 트랜잭션 데이터의 수가 1일 때, 문의 메시지는 합의부 세트 내 모든 합의부로 순차적으로 전송된다. 수신된 응답 메시지가 합의 트랜잭션 대상이 필요하다는 것을 나타낼 때, 합의될 트랜잭션 데이터는 응답 메시지를 복귀시키는 합의부로 전송된다.When the number of transaction data to be agreed is one, the inquiry message is sent sequentially to all the agreements in the agreement set. When the received response message indicates that a consensus transaction target is needed, the transaction data to be agreed upon is sent to the consensus portion returning the response message.

합의될 트랜잭션 데이터의 수가 1보다 더 클 때, 문의 메시지는 합의부 세트 내 모든 합의부로 동시에 전송될 수도 있다. 응답 메시지가 수신될 때, 합의 트랜잭션 대상이 필요한 합의부의 수는 수신된 응답 메시지에 나타낸 바와 같이, 결정된다. 합의부의 수가 트랜잭션 요청의 수보다 더 크다면, 합의부는 수신된 응답 메시지에 나타낸 바와 같이 합의 트랜잭션 대상이 필요한 합의부로부터 제1 방식에 따라 랜덤으로 선택될 수 있고, 그리고 합의될 트랜잭션 데이터는 랜덤으로 선택된 합의부로 각각 동시에 전송된다. 합의부의 수가 트랜잭션 요청의 수보다 더 크지 않다면, 합의될 트랜잭션 데이터는 수신된 응답 메시지에 나타낸 바와 같이 합의 트랜잭션 대상이 필요한 합의부로 랜덤으로 분배되고, 그리고 분배되지 않은 합의될 트랜잭션 데이터는 계속해서 대기할 것이다.When the number of transaction data to be agreed upon is greater than one, the inquiry message may be sent simultaneously to all the agreeing parties in the agreement set. When a response message is received, the number of agreement parts for which an agreement transaction subject is needed is determined, as indicated in the received response message. If the number of consensus parts is greater than the number of transaction requests, the consensus part may be randomly selected according to the first scheme from the consensus part requiring consensus transaction subjects as indicated in the received response message, and the transaction data to be agreed upon is randomly selected. Each is sent to the agreement unit at the same time. If the number of consensus parts is not greater than the number of transaction requests, the transaction data to be agreed upon is randomly distributed to the consensus parts requiring consensus transaction subjects as indicated in the received response message, and the undistributed transaction data to continue waiting. will be.

예를 들어, 합의 트랜잭션 대상이 필요한 3개의 합의부가 있다는 것이 폴링 방식으로 결정된다. 획득된 합의될 트랜잭션 데이터의 4개의 세트가 있다고 가정한다. 이어서, 합의될 트랜잭션 데이터의 3개의 세트가 획득된 합의될 트랜잭션 데이터의 4개의 세트로부터 랜덤으로 선택된다. 랜덤으로 선택된 합의될 트랜잭션 데이터의 3개의 세트가 합의 트랜잭션 대상이 필요한 합의부로 각각 전송되고, 그리고 분배되지 않은 합의될 트랜잭션 데이터의 하나의 세트가 분배될 상태로 있다.For example, it is determined in a polling manner that there are three consensus sections that need a consensus transaction subject. Assume there are four sets of transaction data to be obtained that are agreed. Subsequently, three sets of transaction data to be agreed upon are randomly selected from the four sets of transaction data to be agreed upon. Three sets of randomly selected transaction data to be agreed upon are each sent to an agreement portion that requires an agreed transaction object, and one set of undistributed transaction data to be distributed is to be distributed.

획득된 합의될 트랜잭션 데이터의 2개의 세트가 있다고 가정하면, 합의될 트랜잭션 데이터의 2개의 세트는 합의 트랜잭션 대상이 필요하도록 결정된 합의될 트랜잭션 데이터로부터 랜덤으로 선택된다. 획득된 합의될 트랜잭션 데이터의 2개의 세트가 랜덤으로 선택된 합의부로 동시에 전송되어, 합의부가 수신된 합의될 트랜잭션 데이터에 관한 합의 처리를 수행한다.Assuming that there are two sets of transaction data to be agreed upon, the two sets of transaction data to be agreed upon are randomly selected from the transaction data to be agreed upon that need to be agreed upon. Two sets of obtained transaction data to be agreed are simultaneously transmitted to a randomly selected agreement unit, where the agreement unit performs a settlement process on the received transaction data to be agreed.

또 다른 실시예에서, 제3 분배 방법은, 합의부 세트 내 각각의 합의부의 부하 용량을 결정하는 단계; 및 부하 균형 규칙(load balancing rule)에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 단계를 포함할 수도 있다.In yet another embodiment, the third distribution method includes determining a load capacity of each of the agreement units in the agreement set; And distributing the transaction data to be agreed upon to at least one consensus in the set of consensus according to a load balancing rule.

하나의 실시예에서, 합의될 트랜잭션 데이터가 획득될 때, 합의부 세트 내 각각의 합의부의 부하 용량(여기서 부하 용량은 현재의 합의부의 부하 상태를 나타낼 수도 있고, 이는 합의부의 총 부하 용량과는 상이할 수도 있음)은 부하가 합의부 세트 내 모든 합의부에 대해 균형화되는 것을 보장하도록 결정될 수 있다. 게다가, 각각의 합의부의 유휴 자원의 현재의 양은 각각의 합의부의 부하 용량에 따라 결정될 수 있다. 하나의 실시형태에서, 합의될 트랜잭션 데이터는 설정된 조건 미만인 부하 용량을 갖는 합의부 세트 내 합의부로 분배될 수 있다. 즉, 합의될 트랜잭션 데이터는 설정된 문턱값 초과인 유휴 자원을 갖는 합의부 세트 내 합의부로 분배된다.In one embodiment, when transaction data to be agreed is obtained, the load capacities of each consensus in the consensus set (where the load capacity may represent the current consensus load status, which will be different from the total condensed load of the consensus). May be determined to ensure that the load is balanced for all agreements in the agreement set. In addition, the current amount of idle resources in each consensus can be determined according to the load capacity of each consensus. In one embodiment, the transaction data to be agreed may be distributed to a consensus within a set of consensus with load capacity that is less than a set condition. In other words, the transaction data to be agreed is distributed to the consensus in the set of consensus with idle resources above the set threshold.

일부 실시형태에서, 합의 트랜잭션 대상이 필요한 합의부의 수가 위의 제2 분배 방법의 트랜잭션 요청의 수보다 더 큰 상황에 대하여, 랜덤 방법에 더하여, 제3 분배 방법에 따른 부하 균형 방법이 합의부를 결정하도록 사용될 수도 있고, 이는 본 명세서에서 상세히 설명되지 않을 것이다.In some embodiments, for situations where the number of consensus portions for which a consensus transaction object is needed is greater than the number of transaction requests of the second distribution method above, in addition to the random method, the load balancing method according to the third distribution method may determine the consensus portion. May be used and will not be described in detail herein.

하나의 실시형태에서, 획득된 합의될 트랜잭션 데이터가 전부 합의부로 한번에 분배될 수 없을 때, 트랜잭션 요청의 일부는 분배될 상태로 있어야 한다. 이어서, 분배될 상태의 트랜잭션 요청에 대해, 합의부는 여전히 위의 3개의 분배 방법을 사용함으로써 결정될 수 있다.In one embodiment, when the acquired transaction data to be agreed cannot all be distributed to the consensus portion at once, part of the transaction request must remain in the state to be distributed. Subsequently, for a transaction request in a state to be distributed, the consensus portion can still be determined by using the above three distribution methods.

예를 들어, 합의부 세트는 3개의 합의부를 포함한다. 그래서, 합의부 세트는 동일한 시점에 획득된 3개의 합의될 트랜잭션 데이터를 동시에 처리할 수 있다. 합의될 트랜잭션 데이터(1), 합의될 트랜잭션 데이터(2), 합의될 트랜잭션 데이터(3), 및 합의될 트랜잭션 데이터(4)인, 합의될 트랜잭션 데이터의 4개의(즉, 3개보다 더 많은) 세트가 획득된다고 가정한다. 이어서, 합의될 트랜잭션 데이터(1), 합의될 트랜잭션 데이터(2), 및 합의될 트랜잭션 데이터(3)가 합의부 세트 내 3개의 합의부로 동시에 분배되고, 그리고 합의될 트랜잭션 데이터(4)가 분배될 상태로 있을 것임을 가정한다. 일단 합의부 세트 내 합의부가 유휴 상태가 된다고 검출된다면, 합의될 트랜잭션 데이터(4)는 합의부로 분배될 수 있다.For example, the consensus set includes three consensus parts. Thus, the consensus unit set can simultaneously process three to be agreed transaction data obtained at the same time. Four (i.e., more than three) of transaction data to be agreed upon, which is transaction data to be agreed (1), transaction data to be agreed (2), transaction data to be agreed (3), and transaction data to be agreed (4). Assume a set is obtained. Then, the transaction data 1 to be agreed upon, the transaction data 2 to be agreed upon, and the transaction data 3 to be agreed upon are simultaneously distributed to three agreement units in the agreement set, and the transaction data 4 to be agreed upon is distributed. Assume that we will be Once the agreement in the agreement set is detected to be idle, the transaction data 4 to be agreed can be distributed to the agreement.

하나의 실시형태에서, 합의부 세트로부터 합의부를 결정하는 것은, 합의부 세트 내 각각의 합의부의 작업 상태(작업 상태는 정상 상태 및 비정상 상태 중 적어도 하나를 포함함)를 결정하는 것; 및 작업 상태가 정상 상태인 합의부로부터 합의부를 결정하는 것을 포함한다.In one embodiment, determining the consensus from the set of consensus includes determining a working state of each consensus portion in the consensus set (the working state includes at least one of a normal state and an abnormal state); And determining an agreement unit from an agreement unit in which the working state is normal.

결정된 합의부가 획득된 합의될 트랜잭션 데이터에 관한 합의 처리를 성공적으로 수행할 수 있다는 것을 보장하기 위해서, 합의부 세트 내 합의부의 작업 상태가 더 모니터링될 수 있다. 이러한 방식으로, 합의부가 선택될 때, 비정상 작업 상태를 가진 합의부가 회피될 수 있고, 이는 트랜잭션 요청의 처리 효율을 효과적으로 개선시킨다.To ensure that the determined consensus can successfully perform consensus processing on the acquired transaction data to be agreed, the working status of the consensus in the consensus set can be further monitored. In this way, when an agreement portion is selected, an agreement portion with an abnormal working state can be avoided, which effectively improves the processing efficiency of the transaction request.

또한, 합의부 세트 내 합의부에는 전환 제어가 더 제공될 수 있다. 이러한 방식으로, 블록체인 네트워크에서 처리될 트랜잭션 요청의 수량이 비교적 적을 때, 합의부 세트 내 일부 합의부가 턴 오프(turn off)될 수 있고, 이는 시스템 자원을 절약하여 시스템 자원의 활용률을 개선시킨다. 일부 실시형태에서, 각각의 합의부의 전환 상태를 제어함으로써, 본 출원의 구현 방식에서 블록체인은 다운타임 또는 인터넷 차단과 같은 이슈에 직면할 때 시스템 이용률을 개선시킬 수 있다. 예를 들어, 노드 다운타임 또는 인터넷 차단이 합의부에서 발생할 때, 기존 방식에서 낮은 시스템 이용률의 결점이 합의부를 차단함으로써 방지될 수 있다.In addition, a conferencing unit in the consensus unit set may further be provided with switching control. In this way, when the number of transaction requests to be processed in the blockchain network is relatively small, some consensus in the consensus set can be turned off, which saves system resources and improves utilization of system resources. In some embodiments, by controlling the transition state of each consensus part, in the implementation manner of the present application, the blockchain may improve system utilization when faced with issues such as downtime or Internet blocking. For example, when node downtime or internet blocking occurs at the consensus, the shortage of low system utilization in the conventional manner can be prevented by blocking the consensus.

S103: 합의부가 분배된 트랜잭션 데이터에 관한 합의 처리를 수행하는(예를 들어, 수행하게 유발되는) 단계.S103: the consensus unit performing consensus processing on the distributed transaction data (eg, caused to be performed).

하나의 실시형태에서, 합의부가 사용하는 합의 알고리즘은 본 명세서에서 제한되지 않고, 이는 메인스트림 PBFT 알고리즘을 포함하여, 임의의 합의 알고리즘일 수 있다.In one embodiment, the consensus algorithm used by the consensus unit is not limited herein, which may be any consensus algorithm, including a mainstream PBFT algorithm.

당업자는 합의될 트랜잭션 데이터를 분배시키기 위해 본 개시내용의 구현 방식에서 시퀀스 필요조건이 없다는 것을 이해해야 한다. 본 개시내용에서, 합의 알고리즘은 종래의 블록체인 합의와는 상이한, 독립적인 합의부로서 설계될 수 있다. 합의부 세트가 이 합의부에 의해 형성되고, 그리고 합의될 트랜잭션 데이터의 수신 시, 트랜잭션 데이터가 설정된 분배 규칙에 따라, 합의부 세트 내 합의부로 분배되어 합의부에 의한 트랜잭션 데이터에 관한 합의 처리를 달성할 수 있다. 이 방식으로, 복수의 합의부가 시퀀스 필요조건이 없는 트랜잭션 요청에 관한 합의 처리를 동시에 수행할 수 있고, 기존의 합의 알고리즘에 의한 시퀀스 처리가 간소화되고, 시퀀스 필요조건이 없는 트랜잭션 요청에 관한 처리 효율 및 처리량이 개선되고, 그리고 블록체인 네트워크의 작동 성능이 개선된다.Those skilled in the art should understand that there is no sequence requirement in the implementation manner of the present disclosure in order to distribute transaction data to be agreed upon. In the present disclosure, the consensus algorithm can be designed as an independent consensus unit, which is different from conventional blockchain consensus. An agreement set is formed by this agreement, and upon receipt of the transaction data to be agreed, the transaction data can be distributed to the agreement within the agreement set, in accordance with the set distribution rules, to achieve agreement processing on the transaction data by the agreement. In this way, a plurality of consensus units can simultaneously perform consensus processing on a transaction request without a sequence requirement, simplifying the sequence processing by the existing consensus algorithm, and processing efficiency on a transaction request without a sequence requirement and Throughput is improved, and the operational performance of the blockchain network is improved.

일부 실시형태에서, 트랜잭션 요청은 시퀀스 필요조건이 없는 트랜잭션 요청을 포함할 수도 있다. 시퀀스 필요조건이 없는 트랜잭션 요청은 자선 기부 트랜잭션, 상한선 또는 한도가 없는 크라우드 펀딩 트랜잭션 등을 포함하지만 이들로 제한되지 않는다. 자선 기부 트랜잭션에 대하여, 기부 시퀀스는 밀리초 수준에서 트랜잭션에 영향을 주지 않을 수도 있고, 그리고 상한선 또는 한도가 없는 크라우드 펀딩 트랜잭션은 동일한 특성을 가질 수도 있다. 따라서, 이 유형의 트랜잭션 요청은 시퀀스 필요조건이 없는 요청으로서 처리될 수 있다. 하나의 실시형태에서, 합의 처리의 작동 효율은 시퀀스 필요조건이 없는 이 유형의 트랜잭션 요청을 위한 동시 발생 합의 방식으로 개선될 수 있다. 이러한 동시 발생 합의 방식의 채택으로 인해, 전체 블록체인 시스템의 처리량이 크게 개선되고, 그리고 특히, 합의 알고리즘 모듈이 더 이상 전체 블록체인 시스템 내 병목현상을 겪지 않는다.In some embodiments, a transaction request may include a transaction request without sequence requirements. Transaction requests without sequence requirements include, but are not limited to, charitable donation transactions, crowdfunding transactions without caps or limits, and the like. For charitable donation transactions, the donation sequence may not affect the transaction at the millisecond level, and crowdfunding transactions without an upper limit or limit may have the same characteristics. Thus, this type of transaction request can be handled as a request without sequence requirements. In one embodiment, the operational efficiency of the consensus processing can be improved in a concurrent consensus manner for this type of transaction request without sequence requirements. Due to the adoption of this concurrent consensus approach, the throughput of the entire blockchain system is greatly improved, and in particular, the consensus algorithm module no longer suffers from bottlenecks in the overall blockchain system.

도 2는 본 개시내용의 실시형태에 따른, 블록체인 합의 방법의 흐름도이다. 방법은 다음의 단계를 포함할 수도 있다.2 is a flowchart of a blockchain consensus method, in accordance with an embodiment of the present disclosure. The method may include the following steps.

S201: 트랜잭션 데이터를 획득하는 단계.S201: Acquiring transaction data.

이것은 도 1을 참조하면 단계(S101)의 방식과 동일하거나 또는 유사하고, 이는 상세히 설명되지 않을 것이다.This is the same as or similar to that of step S101 with reference to FIG. 1, which will not be described in detail.

S202: 트랜잭션 데이터를 처리하도록 필요한 자원의 양 및 합의부 세트 내 각각의 합의부의 유휴 자원의 양을 결정하는 단계.S202: Determining the amount of resources required to process the transaction data and the amount of idle resources of each consensus part in the consensus part set.

하나의 실시형태에서, 합의될 트랜잭션 데이터가 획득될 때, 합의될 트랜잭션 데이터를 처리하도록 필요한 자원이 결정될 수 있다.In one embodiment, when transaction data to be agreed is obtained, the resources needed to process the transaction data to be agreed may be determined.

게다가, 합의부 세트 내 각각의 합의부의 유휴 자원의 현재의 양이 문의를 통해 결정될 수 있다.In addition, the current amount of idle resources of each consensus in the consensus set can be determined via query.

S203: 각각의 합의부의 유휴 자원의 양과 트랜잭션 데이터를 처리하도록 필요한 자원을 각각 비교하고, 그리고 트랜잭션 데이터를 처리하도록 필요한 자원의 양보다 더 큰 유휴 자원의 양을 가진 합의부의 수를 결정하는 단계.S203: comparing each amount of idle resources of each consensus unit with resources required to process transaction data, and determining the number of consensus units having an amount of idle resources larger than the amount of resources required to process transaction data.

S204: 수가 설정값보다 더 큰지를 결정하는 단계; 그러하다면, 방법은 S205로 진행되고; 그렇지 않다면, 방법은 S206으로 진행된다.S204: Determine whether the number is greater than the set value; If so, the method proceeds to S205; Otherwise, the method proceeds to S206.

본 개시내용의 실시형태의 설정값은 필요할 경우 결정될 수도 있거나, 또는 실험 데이터에 따라 결정될 수도 있고, 이는 본 명세서에서 제한되지 않는다.Setpoints in embodiments of the present disclosure may be determined as needed, or may be determined in accordance with experimental data, which is not limited herein.

S205: 트랜잭션 데이터를 처리하도록 필요한 자원보다 더 많은 유휴 자원을 가진 합의부로부터 합의 트랜잭션이 필요한 합의부를 폴링 방식으로 결정하고, 그리고 트랜잭션 데이터를 결정된 합의부로 분배시키는 단계.S205: Polling the consensus part requiring consensus transaction from the consensus part having more idle resources than necessary resources to process the transaction data in a polling manner, and distributing the transaction data to the determined consensus part.

단계(S102)를 참조하여 위에서 설명된 제2 분배 방법은 합의 트랜잭션이 필요한 합의부를 결정하도록 폴링 방식으로서 여기서 사용될 수도 있다.The second distribution method described above with reference to step S102 may be used here as a polling scheme to determine an agreement portion for which a consensus transaction is required.

하나의 실시형태에서, 각각의 합의될 트랜잭션 데이터를 폴링 및 분배시키는 메커니즘이 채택된다. 폴링 및 분배 메커니즘에 따라, 분배에 책임이 있는 분배부 또는 어댑터는 합의 트랜잭션 대상이 필요하든 아니든 각각의 합의부를 순차적으로 폴링하도록 폴(poll)을 주기적으로 전송한다. 그러하다면, 트랜잭션이 제공되고, 즉, 합의될 트랜잭션 데이터가 분배되고, 그리고 트랜잭션이 완료될 때, 다음의 합의부가 폴링되고, 이는 연속적으로 반복된다.In one embodiment, a mechanism for polling and distributing each agreed transactional data is adopted. Depending on the polling and distribution mechanism, the distribution or adapter responsible for the distribution periodically sends a poll to poll each of the agreements sequentially, whether or not a consensus transaction subject is required. If so, a transaction is provided, that is, the transaction data to be agreed upon is distributed, and when the transaction is completed, the next consensus part is polled, which is repeated continuously.

S206: 부하 균형 규칙에 따라, 트랜잭션 데이터를 처리하도록 필요한 자원보다 더 많은 유휴 자원을 가진 합의부로부터 설정된 조건 미만인 부하 용량을 가진 합의부를 결정하고, 그리고 트랜잭션 데이터를 결정된 합의부로 분배시키는 단계.S206: Determine, according to the load balancing rule, an agreement unit having a load capacity that is less than a set condition from an agreement unit having more idle resources than resources necessary to process transaction data, and distributing the transaction data to the determined agreement unit.

단계(S102)를 참조하여 위에서 설명된 제3 분배 방법은 부하 균형 규칙이 합의부를 결정하도록 사용되는 방식으로서 여기에 사용될 수도 있다.The third distribution method described above with reference to step S102 may be used herein as a way in which load balancing rules are used to determine the agreement part.

예를 들어, 한 시점에서의 처리를 위해 대기하는 합의될 트랜잭션 데이터의 5개의 세트가 있고, 반면에 합의 트랜잭션에 참여할 수 있는 3개의 합의부가 현재 있다. 그래서, 트랜잭션 요청의 부하가 독립적인 합의부의 처리 능력을 초과한다. 합의될 트랜잭션 데이터의 부하와 독립적인 합의부의 처리 능력이 비교되어 다음의 합의 분배를 위한 기준을 제공하여, 각각의 합의부가 시간당 최대 능력 및 합의 처리량으로 사용되고, 예를 들어, 처리량이 개선된다.For example, there are five sets of transaction data to be agreed upon waiting for processing at one point in time, while there are currently three consensus sections that can participate in a consensus transaction. Thus, the load of the transaction request exceeds the processing power of the independent consensus part. The load of transaction data to be agreed with the processing power of the independent consensus unit is compared to provide a basis for the next consensus distribution, so that each consensus unit is used as the maximum capacity per hour and the consensus throughput, for example, the throughput is improved.

일부 실시형태에서, 사용되는 부하 균형 분배 방법은 예를 들어, DNS 부하 균형, 게이트웨이 부하 균형, 또는 부하 균형장치를 통한, 소프트웨어 또는 하드웨어 부하 균형 방식을 포함하지만 이로 제한되지 않는다. 부하 균형 방식에서 분배는 다른 개별적인 합의부를 유휴 상태로 두면서, 많은 트랜잭션 요청이 일부 개별적인 합의부를 과부하시키는 것을 방지할 수 있다.In some embodiments, the load balancing distribution method used includes, but is not limited to, a software or hardware load balancing scheme, eg, via DNS load balancing, gateway load balancing, or load balancer. In a load balancing approach, the distribution can idle other individual agreements while preventing many transaction requests from overloading some individual agreements.

부하 균형 방법의 분배와 비교하여, 폴링 분배 방법이 작동시키기가 더 쉽지만, 부하 균형 방법의 분배가 더 높은 효율을 갖는다.Compared with the distribution of the load balancing method, the polling distribution method is easier to operate, but the distribution of the load balancing method has higher efficiency.

도 3은 본 개시내용의 실시형태에 따른, 블록체인 합의 방법의 흐름도이다. 방법은 또한 다음과 같을 수도 있다.3 is a flow diagram of a blockchain consensus method, in accordance with an embodiment of the present disclosure. The method may also be as follows.

S301: 트랜잭션 데이터의 적어도 하나의 세트를 획득하는 단계.S301: Obtaining at least one set of transaction data.

S302: 적어도 하나의 트랜잭션 데이터를 분류하여 하나 이상의 트랜잭션 데이터 군을 획득하는 단계.S302: classifying at least one transaction data to obtain one or more transaction data groups.

하나의 실시형태에서, 합의될 트랜잭션 데이터가 시퀀스 필요조건이 없는 트랜잭션 데이터이기 때문에, 획득된 합의될 트랜잭션 데이터가 분류될 수 있어서, 처리 효율이 트랜잭션 데이터에 대해 개선될 수 있다.In one embodiment, since the transaction data to be agreed is transaction data without sequence requirements, the obtained transaction data to be agreed can be classified, so that the processing efficiency can be improved for the transaction data.

S303: 미리 설정된 분배 규칙에 따라, 트랜잭션 데이터 군을 합의부 세트 내 상이한 합의부로 분배(예를 들어, 동시에 분배)시키는 단계.S303: Distributing (eg, distributing at the same time) a group of transaction data to different agreement units in the agreement set according to a preset distribution rule.

여기서, 합의부는 분배된 합의될 트랜잭션 데이터에 관한 합의 처리를 수행하도록 사용된다.Here, the consensus unit is used to perform consensus processing on the distributed transaction data to be agreed.

도 4는 본 개시내용의 실시형태에 따른, 블록체인 기반 데이터 저장 방법의 흐름도이다. 방법은 다음과 같을 수도 있다.4 is a flowchart of a blockchain based data storage method, in accordance with an embodiment of the present disclosure. The method may be as follows.

S401: 블록체인 네트워크 내 상이한 합의부가 전송하는 합의 결과를 수신하는 단계.S401: Receiving an agreement result transmitted by different agreement units in the blockchain network.

하나의 실시형태에서, 합의부는 데이터 저장 능력을 가질 수도 있다. 합의 결과가 획득될 때, 합의 결과가 바로 저장되어야 하고; 합의부가 또한 데이터 저장 능력을 갖지 않을 수도 있고, 그러면 상이한 합의부가 획득된 합의 결과를 공개 노드로 전송할 수도 있고, 그리고 공개 노드가 저장을 완료할 것이다.In one embodiment, the consensus unit may have data storage capability. When an agreement result is obtained, the agreement result should be stored immediately; The consensus part may also not have the data storage capability, then different consensus parts may send the obtained consensus results to the public node, and the public node will complete the storage.

S402: 합의 결과의 타임 스탬프에 따라 합의 결과를 블록체인 네트워크의 블록에 저장하는 단계.S402: storing the agreement result in a block of the blockchain network according to the time stamp of the agreement result.

하나의 실시예에서, 합의 결과의 생성 시간에 따라, 상이한 합의 결과가 블록체인의 블록에 순차적으로 저장되고; 대안적으로, 합의 결과의 수신 시간에 따라, 상이한 합의 결과가 블록체인의 블록에 순차적으로 저장된다.In one embodiment, according to the generation time of the consensus result, different consensus results are stored sequentially in the blocks of the blockchain; Alternatively, depending on the time of receipt of the consensus result, different consensus results are stored sequentially in the block of the blockchain.

하나의 실시형태에서, 합의 결과가 블록체인의 블록에 저장될 때, 저장 노드가 랜덤 방식으로 선택될 수도 있거나; 또는 합의부와 저장 노드 간의 대응 관계에 따라, 합의 결과가 합의 결과를 생성하는 합의부에 대응하는 블록체인 네트워크 내 노드의 블록에 저장되고, 이는 본 명세서에서 제한되지 않는다. 즉, 합의부는 저절로 생성된 합의 결과를 저장할 수 있고, 다른 합의부가 생성하는 합의 결과를 저장할 수 있거나, 또는 독립적인 저장 노드에 저장된 합의 결과와 함께 합의 결과를 저장하지 않는다.In one embodiment, when the result of the consensus is stored in a block of the blockchain, the storage node may be selected in a random manner; Or according to the correspondence between the consensus unit and the storage node, the consensus result is stored in a block of nodes in the blockchain network corresponding to the consensus unit generating the consensus result, which is not limited herein. That is, the consensus unit may store the consensus result generated by itself, and may store the consensus result generated by another consensus unit, or do not store the consensus result with the consensus result stored in an independent storage node.

하나의 실시예에서, 각각의 합의부로의 전환 제어의 제공에 더하여, 전환 제어가 저장 노드에 더 제공될 수도 있다. 저장 노드의 다운타임, 인터넷 차단, 새로운 노드의 추가 및 오래된 노드의 퇴거에 직면할 때, 이러한 전환 제어는 전체 블록체인 시스템의 이용률을 크게 개선시킨다.In one embodiment, in addition to providing switch control to each consensus unit, switch control may be further provided to the storage node. When faced with downtime of storage nodes, Internet blocking, addition of new nodes, and retirement of old nodes, this switching control greatly improves the utilization of the entire blockchain system.

도 5는 본 개시내용의 실시형태에 따른, 블록체인 합의 시스템의 개략적인 구조도이다. 합의 시스템은 분배부(501) 및 합의부(5021a 내지 5021d)를 포함하는 합의부 세트(502)를 포함하고, 분배부(501)가 합의될 트랜잭션 데이터를 획득하고 그리고 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트(502) 내 적어도 하나의 합의부(예를 들어, 5021a, 5021b, 5021c 또는 5021d)로 분배시키고; 그리고 합의부 세트(502)에 포함된 합의부(5021a 내지 5021d)가 분배된 합의될 트랜잭션 데이터에 관한 합의 처리를 수행한다.5 is a schematic structural diagram of a blockchain consensus system according to an embodiment of the present disclosure. The consensus system includes a consensus set 502 that includes a distributing portion 501 and consensus portions 5021a to 5021d, wherein the distributing portion 501 obtains the transaction data to be agreed upon and according to a preset distributing rule, Distribute the transaction data to at least one consensus portion (eg, 5021a, 5021b, 5021c or 5021d) in the consensus portion 502; Then, the agreement units 5021a to 5021d included in the agreement unit set 502 perform consensus processing on the distributed transaction data to be agreed.

하나의 실시형태에서, 합의 시스템은 하나 이상의 저장 노드(503a 내지 503d)를 더 포함하고, 저장 노드(503a 내지 503d)는 블록체인 네트워크 내 상이한 합의부가 전송하는 합의 결과를 수신하고 그리고 합의 결과의 타임 스탬프에 따라, 합의 결과를 순차적으로 저장한다.In one embodiment, the consensus system further includes one or more storage nodes 503a through 503d, wherein the storage nodes 503a through 503d receive a consensus result sent by different consensus units in the blockchain network and time of consensus result. According to the stamp, the result of the settlement is stored sequentially.

하나의 실시형태에서, 분배부(501)가 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것은, 수신된 합의될 트랜잭션 데이터의 세트의 수에 따라, 합의부 세트로부터 합의부의 매칭 수를 랜덤 방식으로 결정하는 것; 및 합의될 트랜잭션 데이터를 결정된 합의부로 각각 동시에 분배시키는 것을 포함한다.In one embodiment, the distribution unit 501 distributing the transaction data to be agreed to the at least one agreement unit in the agreement set according to a preset distribution rule, according to the number of sets of received transaction data to be agreed Determining, in a random manner, the number of matches of the consensus part from the set; And simultaneously distributing transaction data to be agreed upon to the determined consensus unit, respectively.

하나의 실시형태에서, 분배부(501)가 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것은, 합의부 세트로부터 합의 트랜잭션이 필요한 합의부를 폴링 방식으로 결정하는 것; 및 합의될 트랜잭션 데이터를 결정된 합의부로 분배시키는 것을 포함한다.In one embodiment, the distribution unit 501 distributes the transaction data to be agreed to the at least one agreement unit in the agreement set according to a preset distribution rule, which determines in a polling manner the agreement portion requiring the agreement transaction from the agreement set. that; And distributing the transaction data to be agreed upon to the determined consensus unit.

하나의 실시형태에서, 분배부(501)가 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것은, 합의부 세트 내 각각의 합의부의 부하 용량을 결정하는 것; 및 부하 균형 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것을 포함한다.In one embodiment, the distributing unit 501 distributing the transaction data to be agreed to at least one consensus in the consensus set according to a preset dispensing rule comprises: determining the load capacity of each consensus in the consensus set; And distributing the transaction data to be agreed upon to at least one consensus in the set of consensus according to the load balancing rule.

하나의 실시형태에서, 분배부(501)가 부하 균형 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것은, 합의될 트랜잭션 데이터를 설정된 조건 미만인 부하 용량을 갖는 합의부 세트 내 합의부로 분배시키는 것을 포함한다.In one embodiment, the distribution unit 501 distributing the transaction data to be agreed to the at least one consensus in the set of consensus according to the load balancing rule, in the set of consensus having load capacity less than the set condition. Distribution to consensus.

하나의 실시형태에서, 분배부(501)가 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것은, 합의될 트랜잭션 데이터를 처리하도록 필요한 자원의 양 및 합의부 세트 내 각각의 합의부의 유휴 자원의 양을 결정하는 것; 합의될 트랜잭션 데이터를 처리하도록 필요한 자원의 양보다 더 큰 유휴 자원의 양을 가진 합의부의 수가 설정값보다 더 클 때, 합의될 트랜잭션 데이터를 처리하도록 필요한 자원보다 더 많은 유휴 자원을 가진 합의부로부터 합의 트랜잭션이 필요한 합의부를 폴링 방식으로 결정하고, 그리고 합의될 트랜잭션 데이터를 결정된 합의부로 분배시키는 것; 및 합의될 트랜잭션 데이터를 처리하도록 필요한 자원의 양보다 더 큰 유휴 자원의 양을 가진 합의부의 수가 설정값보다 더 작을 때, 부하 균형 규칙에 따라, 합의될 트랜잭션 데이터를 처리하도록 필요한 자원보다 더 많은 유휴 자원을 가진 합의부로부터 설정된 조건 미만인 부하 용량을 가진 합의부를 결정하고, 그리고 합의될 트랜잭션 데이터를 결정된 합의부로 분배시키는 것을 포함한다.In one embodiment, the distribution unit 501 distributing the transaction data to be agreed to the at least one agreement unit in the agreement set according to a preset distribution rule, the amount of resources and the agreement set required to process the transaction data to be agreed. Determining the amount of idle resources in each consensus of mine; A consensus transaction from an consensus with more idle resources than the resources required to process the transaction data to be agreed upon when the number of consensus sections with an amount of idle resources larger than the amount of resources needed to process the transaction data to be agreed upon is greater than the set value. Determining this necessary agreement in a polling manner, and distributing the transaction data to be agreed upon to the determined agreement; And more idle than resources required to process the transaction data to be agreed upon, according to load balancing rules, when the number of consensus portions with an amount of idle resources greater than the amount of resources needed to process the transaction data to be agreed upon is less than the set value. Determining a consensus with load capacity that is less than the set conditions from the consensus with resources, and distributing the transaction data to be agreed to the determined consensus.

하나의 실시형태에서, 분배부(501)가 합의부 세트로부터 합의부를 결정하는 것은, 합의부 세트 내 각각의 합의부의 작업 상태(작업 상태는 정상 상태 및 비정상 상태 중 적어도 하나를 포함함)를 결정하는 것; 및 작업 상태가 정상 상태인 합의부로부터 합의부를 결정하는 것을 포함한다.In one embodiment, the distributing unit 501 determines the consensus unit from the consensus unit set to determine the working state of each consensus unit in the consensus unit set (the working state includes at least one of a normal state and an abnormal state). ; And determining an agreement unit from an agreement unit in which the working state is normal.

하나의 실시형태에서, 합의될 트랜잭션 데이터는 시퀀스 필요조건이 없는 트랜잭션 데이터를 포함한다.In one embodiment, the transaction data to be agreed upon includes transaction data without sequence requirements.

하나의 실시형태에서, 저장 노드(503)는 블록체인 네트워크 내 상이한 합의부가 전송하는 합의 결과를 수신하고; 그리고 합의 결과의 타임 스탬프에 따라, 합의 결과를 블록체인 네트워크의 블록에 저장한다.In one embodiment, the storage node 503 receives the agreement result sent by different agreement units in the blockchain network; According to the time stamp of the consensus result, the consensus result is stored in a block of the blockchain network.

하나의 실시형태에서, 저장 노드(503)가 합의 결과를 블록체인의 블록에 저장하는 것은, 합의 결과를 합의 결과를 생성하는 합의부에 대응하는 블록체인 네트워크 내 노드의 블록에 저장하는 것을 포함한다.In one embodiment, the storing node 503 storing the consensus result in a block of the blockchain includes storing the consensus result in a block of nodes in the blockchain network corresponding to the consensus portion generating the consensus result.

도 6은 본 개시내용의 실시형태에 따른, 블록체인 합의 장치(600)의 개략도이다. 합의 장치(600)는 획득부(601) 및 처리부(602)를 포함할 수도 있고, 획득부(601)는 합의될 트랜잭션 데이터를 획득하고; 그리고 처리부(602)는 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키고, 그리고 합의부는 분배된 합의될 트랜잭션 데이터에 관한 합의 처리를 수행하도록 구성된다. 일부 실시형태에서, 블록체인 합의 장치(600)는 함께 연결된 메모리 및 프로세서를 포함할 수도 있다. 메모리는 비일시적일 수도 있고 컴퓨터-판독 가능할 수도 있으며 그리고 프로세서에 의해 실행될 때, 장치(600)가 본 명세서에 설명된 하나 이상의 단계를 수행하게 하는 명령어를 저장할 수도 있다. 명령어는 본 명세서에 설명된 바와 같이 다양한 기구로서 구현될 수도 있다. 각각의 기구는 소프트웨어, 하드웨어, 또는 둘 다의 조합일 수도 있다.6 is a schematic diagram of a blockchain consensus apparatus 600, in accordance with an embodiment of the present disclosure. The consensus apparatus 600 may include an acquirer 601 and a processor 602, which acquires transaction data to be agreed upon; And the processing unit 602 is configured to distribute the transaction data to be agreed to at least one agreement unit in the set of agreement units according to a preset distribution rule, and the agreement unit performs consensus processing on the distributed transaction data to be agreed. In some embodiments, blockchain consensus device 600 may include a memory and a processor coupled together. The memory may be non-transitory or computer-readable and may store instructions that, when executed by the processor, cause the device 600 to perform one or more steps described herein. The instructions may be implemented as various mechanisms as described herein. Each instrument may be software, hardware, or a combination of both.

하나의 실시형태에서, 처리부(602)가 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것은, 수신된 합의될 트랜잭션 데이터의 세트의 수에 따라, 합의부 세트로부터 합의부의 매칭 수를 랜덤 방식으로 결정하는 것; 및 합의될 트랜잭션 데이터를 결정된 합의부로 각각 동시에 분배시키는 것을 포함한다.In one embodiment, the processing unit 602 distributing the transaction data to be agreed to the at least one agreement unit in the agreement set according to a preset distribution rule, according to the number of sets of received transaction data to be agreed Randomly determining the number of matches of the consensus part from; And simultaneously distributing transaction data to be agreed upon to the determined consensus unit, respectively.

하나의 실시형태에서, 처리부(602)가 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것은, 합의부 세트로부터 합의 트랜잭션이 필요한 합의부를 폴링 방식으로 결정하는 것; 및 합의될 트랜잭션 데이터를 결정된 합의부로 분배시키는 것을 포함한다.In one embodiment, the processing unit 602 distributing the transaction data to be agreed to at least one consensus in the set of consensus according to a preset distribution rule is to determine, in a polling manner, an consensus portion requiring consensus transaction from the set of consensus. ; And distributing the transaction data to be agreed upon to the determined consensus unit.

하나의 실시형태에서, 처리부(602)가 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것은, 합의부 세트 내 각각의 합의부의 부하 용량을 결정하는 것; 및 부하 균형 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것을 포함한다.In one embodiment, the processing unit 602 distributing the transaction data to be agreed to at least one consensus in the consensus set according to a preset distribution rule includes determining a load capacity of each consensus in the consensus set; And distributing the transaction data to be agreed upon to at least one consensus in the set of consensus according to the load balancing rule.

하나의 실시형태에서, 처리부(602)가 부하 균형 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것은, 합의될 트랜잭션 데이터를 설정된 조건 미만인 부하 용량을 가진 합의부 세트 내 합의부로 분배시키는 것을 포함한다.In one embodiment, the processing unit 602 distributing the transaction data to be agreed to the at least one consensus in the set of consensus according to the load balancing rule, the consensus in the set of consensus with load capacity less than the set condition. Distribution.

하나의 실시형태에서, 처리부(602)가 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키는 것은, 합의될 트랜잭션 데이터를 처리하도록 필요한 자원의 양 및 합의부 세트 내 각각의 합의부의 유휴 자원의 양을 결정하는 것; 합의될 트랜잭션 데이터를 처리하도록 필요한 자원의 양보다 더 큰 유휴 자원의 양을 가진 합의부의 수가 설정값보다 더 클 때, 합의될 트랜잭션 데이터를 처리하도록 필요한 자원보다 더 많은 유휴 자원을 가진 합의부로부터 합의 트랜잭션이 필요한 합의부를 폴링 방식으로 결정하고, 그리고 합의될 트랜잭션 데이터를 결정된 합의부로 분배시키는 것; 및 합의될 트랜잭션 데이터를 처리하도록 필요한 자원의 양보다 더 큰 유휴 자원의 양을 가진 합의부의 수가 설정값보다 더 작을 때, 부하 균형 규칙에 따라, 합의될 트랜잭션 데이터를 처리하도록 필요한 자원보다 더 많은 유휴 자원을 가진 합의부로부터 설정된 조건 미만인 부하 용량을 가진 합의부를 결정하고, 그리고 합의될 트랜잭션 데이터를 결정된 합의부로 분배시키는 것을 포함한다.In one embodiment, the processing unit 602 distributing the transaction data to be agreed to the at least one consensus in the set of consensus according to a preset distribution rule, the amount of resources required to process the transaction data to be agreed upon and in the set of consensus. Determining the amount of idle resources in each consensus unit; A consensus transaction from an consensus with more idle resources than the resources required to process the transaction data to be agreed upon when the number of consensus sections with an amount of idle resources larger than the amount of resources needed to process the transaction data to be agreed upon is greater than the set value. Determining this necessary agreement in a polling manner, and distributing the transaction data to be agreed upon to the determined agreement; And more idle than resources required to process the transaction data to be agreed upon, according to load balancing rules, when the number of consensus portions with an amount of idle resources greater than the amount of resources needed to process the transaction data to be agreed upon is less than the set value. Determining a consensus with load capacity that is less than the set conditions from the consensus with resources, and distributing the transaction data to be agreed to the determined consensus.

하나의 실시형태에서, 처리부(602)가 합의부 세트로부터 합의부를 결정하는 것은, 합의부 세트 내 각각의 합의부의 작업 상태(작업 상태는 정상 상태 및 비정상 상태 중 적어도 하나를 포함함)를 결정하는 것; 및 작업 상태가 정상 상태인 합의부로부터 합의부를 결정하는 것을 포함한다.In one embodiment, the processing unit 602 determines the consensus unit from the consensus unit set to determine the working state of each consensus unit in the consensus unit set (the working state includes at least one of a normal state and an abnormal state); And determining an agreement unit from an agreement unit in which the working state is normal.

하나의 실시형태에서, 합의될 트랜잭션 데이터는 시퀀스 필요조건이 없는 트랜잭션 데이터를 포함한다.In one embodiment, the transaction data to be agreed upon includes transaction data without sequence requirements.

다양한 실시형태에 따른 합의 장치는 소프트웨어 방식으로 구현될 수도 있거나, 또는 하드웨어 방식으로 구현될 수도 있고, 이는 본 명세서에서 제한되지 않는다. 즉, 기구(601 및 602)는 메모리에 저장된 소프트웨어 기능부일 수 있다. 소프트웨어 기능부가 프로세서에 의해 실행될 때, 소프트웨어 기능부는 프로세서가 설명된 기능을 수행하게 한다. 기구(601 및 602)는 또한 하드웨어 기구, 예컨대, 설명된 기능을 수행하기 위한 프로그래밍된 회로일 수도 있다.The consensus apparatus according to various embodiments may be implemented in software or in hardware, which is not limited herein. That is, the instruments 601 and 602 can be software functions stored in memory. When the software function is executed by the processor, the software function causes the processor to perform the described function. The instruments 601 and 602 may also be hardware instruments, such as programmed circuitry for performing the described functions.

도 7은 본 출원의 실시형태에 따른, 블록체인 합의 장치(700)의 개략도이다. 합의 장치(700)는 획득부(701) 및 처리부(702)를 포함할 수도 있고, 획득부는 적어도 하나의 합의될 트랜잭션 데이터를 획득하고; 그리고 처리부는 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시키고, 그리고 합의부는 분배된 합의될 트랜잭션 데이터에 관한 합의 처리를 수행하도록 구성된다. 일부 실시형태에서, 블록체인 합의 장치(700)는 함께 연결된 메모리 및 프로세서를 포함할 수도 있다. 메모리는 비일시적일 수도 있고 컴퓨터-판독 가능할 수도 있으며 그리고 프로세서에 의해 실행될 때, 장치(700)가 본 명세서에 설명된 하나 이상의 단계를 수행하게 하는 명령어를 저장할 수도 있다. 명령어는 본 명세서에 설명된 바와 같이 다양한 기구로서 구현될 수도 있다. 각각의 기구는 소프트웨어, 하드웨어, 또는 둘 다의 조합일 수도 있다. 예를 들어, 기구(701 및 702)는 메모리에 저장된 소프트웨어 기능부일 수 있다. 소프트웨어 기능부가 프로세서에 의해 실행될 때, 소프트웨어 기능부는 프로세서가 설명된 기능을 수행하게 한다. 기구(701 및 702)는 또한 하드웨어 기구, 예컨대, 설명된 기능을 수행하기 위한 프로그래밍된 회로일 수도 있다.7 is a schematic diagram of a blockchain consensus apparatus 700 according to an embodiment of the present application. The consensus apparatus 700 may include an acquirer 701 and a processor 702, which acquires at least one transaction data to be agreed upon; And the processing unit is configured to distribute the transaction data to be agreed to at least one agreement unit in the set of agreement units according to a preset distribution rule, and the agreement unit performs consensus processing on the distributed transaction data to be agreed. In some embodiments, blockchain consensus apparatus 700 may include a memory and a processor coupled together. The memory may be non-transitory or computer-readable and may store instructions that, when executed by a processor, cause the apparatus 700 to perform one or more steps described herein. The instructions may be implemented as various mechanisms as described herein. Each instrument may be software, hardware, or a combination of both. For example, the instruments 701 and 702 can be software functions stored in memory. When the software function is executed by the processor, the software function causes the processor to perform the described function. The instruments 701 and 702 may also be hardware instruments, such as programmed circuitry for performing the described functions.

하나의 실시형태에서, 처리부(702)가 미리 설정된 분배 규칙에 따라, 합의될 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 동시에 분배시키는 것은, 적어도 하나의 합의될 트랜잭션 데이터를 분류하여 하나 이상의 트랜잭션 데이터 군을 획득하는 것; 및 미리 설정된 분배 규칙에 따라, 트랜잭션 데이터 군을 합의부 세트 내 상이한 합의부로 분배시키는 것을 포함한다.In one embodiment, the processing unit 702 simultaneously distributing the transaction data to be agreed upon to at least one agreement unit in the set of agreement units according to a preset distribution rule, classifying the at least one transaction data to be agreed upon and the one or more transaction data. Obtaining a military; And distributing the transaction data group to different agreement units in the agreement set according to a preset distribution rule.

도 8은 본 출원의 실시형태에 따른, 블록체인 기반 데이터 저장 장치(800)의 개략적인 구조도이다. 저장 장치(800)는 수신부(801) 및 저장부(802)를 포함할 수도 있고, 수신부(801)는 블록체인 네트워크 내 상이한 합의부가 전송하는 합의 결과를 수신하고; 그리고 저장부(802)는 합의 결과의 타임 스탬프에 따라, 합의 결과를 블록체인 네트워크의 블록에 저장한다. 일부 실시형태에서, 블록체인 합의 장치(800)는 함께 연결된 메모리 및 프로세서를 포함할 수도 있다. 메모리는 비일시적일 수도 있고 컴퓨터-판독 가능할 수도 있으며 그리고 프로세서에 의해 실행될 때, 장치(800)가 본 명세서에 설명된 하나 이상의 단계를 수행하게 하는 명령어를 저장할 수도 있다. 명령어는 본 명세서에 설명된 바와 같이 다양한 기구로서 구현될 수도 있다. 각각의 기구는 소프트웨어, 하드웨어, 또는 둘 다의 조합일 수도 있다. 예를 들어, 기구(801 및 802)는 메모리에 저장된 소프트웨어 기능부일 수 있다. 소프트웨어 기능부가 프로세서에 의해 실행될 때, 소프트웨어 기능부는 프로세서가 설명된 기능을 수행하게 한다. 기구(801 및 802)는 또한 하드웨어 기구, 예컨대, 설명된 기능을 수행하기 위한 프로그래밍된 회로일 수도 있다.8 is a schematic structural diagram of a blockchain based data storage device 800 according to an embodiment of the present application. The storage device 800 may include a receiving unit 801 and a storage unit 802, and the receiving unit 801 receives an agreement result transmitted by different agreement units in the blockchain network; The storage unit 802 stores the settlement result in a block of the blockchain network according to the time stamp of the settlement result. In some embodiments, blockchain consensus device 800 may include a memory and a processor coupled together. The memory may be non-transitory or computer-readable and may store instructions that, when executed by a processor, cause the device 800 to perform one or more steps described herein. The instructions may be implemented as various mechanisms as described herein. Each instrument may be software, hardware, or a combination of both. For example, the instruments 801 and 802 can be software functions stored in memory. When the software function is executed by the processor, the software function causes the processor to perform the described function. The instruments 801 and 802 may also be hardware instruments, such as programmed circuitry for performing the described functions.

하나의 실시형태에서, 저장부(802)가 합의 결과를 블록체인의 블록에 저장하는 것은, 합의 결과를 합의 결과를 생성하는 합의부에 대응하는 블록체인 네트워크 내 노드의 블록에 저장하는 것을 포함한다.In one embodiment, the storing unit 802 storing the consensus result in a block of the blockchain includes storing the consensus result in a block of a node in the blockchain network corresponding to the consensus unit generating the consensus result.

다양한 실시형태에 따른 합의 장치는 소프트웨어 방식으로 구현될 수도 있거나, 또는 하드웨어 방식으로 구현될 수도 있고, 이는 본 명세서에서 제한되지 않는다. 합의 장치에 대해, 합의 알고리즘은 독립적인 합의부로서 설계되고, 이는 종래의 블록체인 합의와는 상이하다. 합의부 세트가 이 합의부에 의해 형성되고, 그리고 합의될 트랜잭션 데이터의 수신 시, 트랜잭션 데이터가 설정된 분배 규칙에 따라 합의부 세트 내 합의부로 분배되어 합의부에 의한 트랜잭션 데이터에 관한 합의 처리를 달성할 수 있다. 이 방식으로, 복수의 합의부가 시퀀스 필요조건이 없는 트랜잭션 요청에 관한 합의 처리를 동시에 수행할 수 있고, 기존의 합의 알고리즘에 의한 시퀀스 처리가 간소화되고, 시퀀스 필요조건이 없는 트랜잭션 요청에 관한 처리 효율 및 처리량이 개선되고, 그리고 블록체인 네트워크의 작동 성능이 개선된다.The consensus apparatus according to various embodiments may be implemented in software or in hardware, which is not limited herein. For the consensus apparatus, the consensus algorithm is designed as an independent consensus unit, which is different from the conventional blockchain consensus. An agreement set is formed by this agreement, and upon receipt of the transaction data to be agreed, the transaction data can be distributed to the agreement within the agreement set according to the set distribution rules to achieve agreement processing on the transaction data by the agreement. In this way, a plurality of consensus units can simultaneously perform consensus processing on a transaction request without a sequence requirement, simplifying the sequence processing by the existing consensus algorithm, and processing efficiency on a transaction request without a sequence requirement and Throughput is improved, and the operational performance of the blockchain network is improved.

본 개시내용의 실시형태에 따르면, 장치는 방법에 각각 대응한다. 따라서, 장치는 또한 대응하는 방법의 기술적 효과와 유사한 유리한 기술적 효과를 달성한다. 방법의 유리한 기술적 효과가 위에서 상세히 설명되었기 때문에, 대응하는 장치의 유리한 기술적 효과는 본 명세서에서 반복되지 않을 것이다.According to embodiments of the present disclosure, the apparatuses each correspond to a method. Thus, the apparatus also achieves an advantageous technical effect similar to that of the corresponding method. Since the advantageous technical effects of the method have been described in detail above, the advantageous technical effects of the corresponding apparatus will not be repeated herein.

1990년대에, 기술의 개선은 하드웨어 개선(예를 들어, 회로 구조, 예컨대, 다이오드, 트랜지스터, 스위치 등의 개선) 또는 소프트웨어 개선(방법의 흐름의 개선)으로 구별될 수 있다. 그러나, 기술적 개발과 함께, 방법 흐름에 대한 많은 현재의 개선은 하드웨어 회로 구조에 대한 직접적인 개선으로서 간주될 수 있다. 설계자는 개선된 방법 흐름을 하드웨어 회로로 프로그래밍함으로써 대응하는 하드웨어 회로 구조를 획득할 수 있다. 따라서, 방법 흐름의 개선은 하드웨어 구현예에 의해 실현될 수 있다. 예를 들어, 프로그램 가능한 논리 디바이스(Programmable Logic Device: PLD)(예를 들어, 필드 프로그램 가능한 게이트 어레이(Field Programmable Gate Array: FPGA))는 논리 기능이 디바이스의 프로그래밍을 통해 사용자에 결정되는 집적 회로이다. 칩 제작업자가 전용 IC 칩을 설계 및 제작하게 요청할 필요가 없이 설계자는 디지털 시스템을 PLD의 원피스에 "통합"시키도록 프로그래밍할 수 있다. 현재, 이 유형의 프로그래밍은 IC 칩을 수동으로 제작하는 것 대신, "논리 컴파일러" 소프트웨어를 통해 대부분 구현되어 왔다. 논리 컴파일러 소프트웨어는 프로그램 개발 및 기입을 위해 사용되는 소프트웨어 컴파일러와 유사하지만, 특정한 프로그래밍 언어가 컴파일링 전에 원시 코드를 기입하기 위해 사용되고, 이는 하드웨어 기술 언어(Hardware Description Language: HDL)로서 지칭된다. 단 하나가 아닌 많은 유형의 HDL, 예컨대, 진보된 부울식 언어(Advanced Boolean Expression Language: ABEL), 알테라 하드웨어 기술 언어(Altera Hardware Description Language: AHDL), 컨플루언스(Confluence), 코널 대학 프로그래밍 언어(Cornell University Programming Language: CUPL), HDCal, 자바 하드웨어 기술 언어(Java Hardware Description Language: JHDL), 라바(Lava), 로라(Lola), MyHDL, PALASM, 루비 하드웨어 기술 언어(Ruby Hardware Description Language: RHDL)가 있다. 가장 흔히 사용되는 HDL은 초고속 집적 회로 하드웨어 기술 언어(Very-High-Speed Integrated Circuit Hardware Description Language: VHDL)와 베릴로그(Verilog)를 포함한다. 당업자는 방법 흐름의 약간의 논리 프로그래밍을 수행하고 그리고 IC에 프로그래밍하도록 위의 HDL을 사용함으로써 논리 방법 흐름을 구현하도록 하드웨어 회로를 획득하는 것을 알 것이다.In the 1990s, improvements in technology can be distinguished as hardware improvements (eg, improvements in circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements in method flow). However, with technical development, many current improvements to the method flow can be considered as direct improvements to the hardware circuit structure. The designer can obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Thus, an improvement in the method flow can be realized by hardware implementation. For example, a programmable logic device (PLD) (e.g., a field programmable gate array (FPGA)) is an integrated circuit whose logic function is determined by the user through programming of the device. . Rather than requiring chipmakers to design and build dedicated IC chips, designers can program a digital system to "integrate" into a piece of PLD. Currently, this type of programming has been largely implemented through "logic compiler" software, rather than manually building the IC chip. Logical compiler software is similar to software compilers used for program development and writing, but a specific programming language is used to write source code before compilation, which is referred to as Hardware Description Language (HDL). Many types of HDL, not just one, such as Advanced Boolean Expression Language (ABEL), Altera Hardware Description Language (AHDL), Confluence, Cornell University Programming Language ( Cornell University Programming Language (CUPL), HDCal, Java Hardware Description Language (JHDL), Lava, Laura, MyHDL, PALASM, Ruby Hardware Description Language (RHDL) have. The most commonly used HDLs include the Very-High-Speed Integrated Circuit Hardware Description Language (VHDL) and Verilog. Those skilled in the art will appreciate obtaining hardware circuitry to implement the logic method flow by performing some logic programming of the method flow and using the above HDL to program to the IC.

제어기가 임의의 적절한 방식으로 구현될 수도 있다. 예를 들어, 제어기는 예를 들어, 마이크로프로세서 또는 프로세서, 뿐만 아니라 (마이크로)프로세서, 논리 게이트, 스위치, 응용 주문형 집적 회로(Application Specific Integrated Circuit: ASIC), 프로그램 가능한 논리 제어기, 및 내장형 마이크로제어기에 의해 실행될 수 있는 컴퓨터 판독 가능한 프로그램 코드(예를 들어, 소프트웨어 또는 펌웨어)를 저장하는 컴퓨터 판독 가능한 매체의 형태일 수도 있다. 제어기의 예는 다음의 마이크로제어기: ARC 625D, 아트멜(Atmel) AT91SAM, 마이크로칩(Microchip) PIC18F26K20, 및 실리콘 연구소(Silicone Labs) C8051F320을 포함하지만, 이들로 제한되지 않는다. 메모리 제어기는 메모리의 제어 논리의 부분으로서 더 구현될 수도 있다. 당업자는 또한 제어기가 완전한 컴퓨터 판독 가능한 프로그램 코드의 방식으로 구현되는 것에 더하여, 방법의 단계에서 논리 프로그래밍을 수행하는 것이 실현 가능하여 제어기가 논리 게이트, 스위치, ASIC, 프로그램 가능한 논리 제어기, 및 내장형 마이크로제어기의 형태로 동일한 기능을 구현하게 한다는 것을 알아야 한다. 따라서, 이러한 제어기가 하드웨어 부분으로서 간주될 수 있지만, 제어기에 포함되고 그리고 다양한 기능을 수행하도록 구성된 디바이스가 또한 하드웨어 부분 내부의 구조체로서 간주될 수도 있다. 대안적으로, 다양한 기능을 수행하도록 구성된 디바이스는 방법을 구현하기 위한 소프트웨어 모듈과 하드웨어 부분 내부의 구조체 둘 다로서 간주될 수도 있다.The controller may be implemented in any suitable manner. For example, the controller may be, for example, a microprocessor or processor, as well as (micro) processors, logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers, and embedded microcontrollers. It may also be in the form of a computer readable medium storing computer readable program code (eg, software or firmware) that can be executed by. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. The memory controller may be further implemented as part of the control logic of the memory. Those skilled in the art also realize that in addition to the controller being implemented in the manner of complete computer readable program code, it is feasible to perform logic programming at the stage of the method such that the controller is configured with logic gates, switches, ASICs, programmable logic controllers, and embedded microcontrollers. It should be noted that the same function is implemented in the form of. Thus, although such a controller may be considered as a hardware part, a device included in the controller and configured to perform various functions may also be considered as a structure inside the hardware part. Alternatively, a device configured to perform various functions may be considered as both a software module and a structure inside a hardware portion for implementing the method.

위의 실시형태에서 설명된 시스템, 장치, 모듈 또는 기구는 컴퓨터 칩 또는 엔티티에 의해 구현될 수도 있거나 또는 기능을 가진 제품에 의해 구현될 수도 있다. 전형적인 구현 디바이스는 컴퓨터이다. 예를 들어, 컴퓨터는 개인용 컴퓨터, 랩탑 컴퓨터, 휴대폰, 카메라폰, 스마트폰, 개인 휴대용 단말기, 미디어 플레이어, 네비게이션 디바이스, 이메일 장치, 게임 콘솔, 태블릿 컴퓨터, 착용 가능 디바이스, 또는 이 디바이스 중 임의의 디바이스의 조합일 수도 있다.The system, apparatus, module or mechanism described in the above embodiments may be implemented by a computer chip or entity or by a product having functionality. Typical implementation device is a computer. For example, the computer may be a personal computer, laptop computer, mobile phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any device thereof. It may be a combination of.

설명의 편의성을 위해, 위의 장치는 설명을 위해 기능에 따라 다양한 기구로 나눠진다. 기구의 기능은 본 개시내용을 구현할 때 소프트웨어 및/또는 하드웨어의 하나 또는 다수의 피스로 구현될 수도 있다.For convenience of description, the above apparatus is divided into various mechanisms according to functions for explanation. The functionality of the instrument may be implemented in one or multiple pieces of software and / or hardware when implementing the present disclosure.

당업자는 본 개시내용의 실시형태가 방법, 시스템 또는 컴퓨터 프로그램 제품으로서 제공될 수도 있다는 것을 이해해야 한다. 따라서, 개시된 시스템은 개시된 방법을 수행하기 위해, 완전한 하드웨어 실시형태, 완전한 소프트웨어 실시형태, 또는 소프트웨어와 하드웨어를 결합한 실시형태로서 구현될 수도 있다. 또한, 개시된 시스템은 컴퓨터 사용 가능한 프로그램 코드를 내부에 포함하는 하나 이상의 컴퓨터 사용 가능한 저장 매체(자기 디스크 메모리, CD-ROM, 광 메모리 등을 포함하지만 이들로 제한되지 않음)에 구현된 컴퓨터 프로그램 제품의 형태일 수도 있다.Those skilled in the art should understand that embodiments of the present disclosure may be provided as a method, system or computer program product. Thus, the disclosed system may be implemented as a complete hardware embodiment, a complete software embodiment, or a combination of software and hardware to perform the disclosed method. In addition, the disclosed system may further comprise a computer program product embodied in one or more computer usable storage media (including but not limited to magnetic disk memory, CD-ROM, optical memory, etc.) having computer usable program code therein. It may also be in the form.

개시된 시스템은 본 개시내용의 실시형태에 따라 방법, 디바이스(시스템) 및 컴퓨터 프로그램 제품의 흐름도 및/또는 블록도를 참조하여 설명된다. 컴퓨터 프로그램 명령어가 흐름도 및/또는 블록도에서 각각의 과정 및/또는 블록 그리고 흐름도 및/또는 블록도에서 과정 및/또는 블록의 조합을 구현하도록 사용될 수도 있다. 이 컴퓨터 프로그램 명령어가 기계를 생산하도록 다용도 컴퓨터, 특수화 컴퓨터, 내장된 프로세서, 또는 다른 프로그램 가능한 데이터 처리 디바이스의 프로세서에 제공될 수도 있어서, 컴퓨터 또는 다른 프로그램 가능한 데이터 처리 디바이스의 프로세서에 의해 실행되는 명령어가 흐름도의 하나 이상의 과정 및/또는 블록도의 하나 이상의 블록에서 지정된 기능을 구현하기 위한 장치를 생성한다.The disclosed system is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products in accordance with embodiments of the present disclosure. Computer program instructions may be used to implement each process and / or block in a flowchart and / or block diagram and a combination of process and / or block in the flowchart and / or block diagram. These computer program instructions may be provided to a multipurpose computer, a specialized computer, a built-in processor, or a processor of another programmable data processing device such that the instructions executed by the processor of the computer or other programmable data processing device are produced. Create an apparatus for implementing a specified function in one or more processes of the flowchart and / or in one or more blocks of the block diagram.

이 컴퓨터 프로그램 명령어가 또한 컴퓨터 또는 다른 프로그램 가능한 데이터 처리 디바이스가 특정한 방식으로 작동하게 명령할 수 있는 컴퓨터 판독 가능한 메모리에 저장될 수도 있어서, 이 컴퓨터 판독 가능한 메모리에 저장된 명령어가 명령 장치를 포함하는 제작된 물품을 생성한다. 이 명령 장치는 흐름도의 하나 이상의 과정 및/또는 블록도의 하나 이상의 블록에서 하나 이상의 기능을 구현한다.The computer program instructions may also be stored in a computer readable memory capable of instructing a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory include an instruction device. Create an article. This command device implements one or more functions in one or more procedures and / or one or more blocks in the block diagram.

이 컴퓨터 프로그램 명령어가 컴퓨터 또는 다른 프로그램 가능한 데이터 처리 디바이스에 로딩될 수도 있어서, 일련의 작동 단계가 컴퓨터 또는 다른 프로그램 가능한 디바이스에서 수행되어 컴퓨터 구현 처리를 생성한다. 따라서, 컴퓨터 또는 다른 프로그램 가능한 디바이스에서 실행된 명령어가 흐름도의 하나 이상의 과정 및/또는 블록도의 하나 이상의 블록에서 하나 이상의 기능을 구현하기 위한 단계를 제공한다.These computer program instructions may be loaded into a computer or other programmable data processing device such that a series of operating steps are performed at the computer or other programmable device to generate computer implemented processing. Thus, instructions executed on a computer or other programmable device provide one or more procedures in the flowcharts and / or steps for implementing one or more functions in one or more blocks in the block diagram.

전형적인 구성에서, 연산 디바이스는 하나 이상의 중앙 처리 장치(Central Processing Unit: CPU), 입력/출력 인터페이스, 네트워크 인터페이스 및 메모리를 포함한다.In a typical configuration, the computing device includes one or more central processing units (CPUs), input / output interfaces, network interfaces, and memory.

메모리는 컴퓨터 판독 가능한 매체, 예컨대, 휘발성 메모리, 랜덤 액세스 메모리(Random Access Memory: RAM) 및/또는 비휘발성 메모리, 예를 들어, 판독-전용 메모리(Read-Only Memory: ROM) 또는 플래시 RAM을 포함할 수도 있다. 메모리는 컴퓨터 판독 가능한 매체의 예이다.The memory includes computer readable media such as volatile memory, random access memory (RAM) and / or nonvolatile memory such as read-only memory (ROM) or flash RAM. You may. Memory is an example of a computer readable medium.

컴퓨터 판독 가능한 매체는 영구적, 휘발성, 이동, 및 부동 매체를 포함하고, 이는 임의의 방법 또는 기술을 통해 정보 저장을 구현할 수 있다. 정보는 컴퓨터 판독 가능한 명령어, 데이터 구조, 프로그램 모듈 또는 다른 데이터일 수도 있다. 컴퓨터의 저장 매체의 예는 상-변화 랜덤 액세스 메모리(Phase-change RAM: PRAM), 정적 랜덤 액세스 메모리(Static RAM: SRAM), 동적 랜덤 액세스 메모리(Dynamic RAM: DRAM), 다른 유형의 랜덤 액세스 메모리(RAM), 판독-전용 메모리(ROM), 전기적으로 소거 가능한 프로그램 가능한 판독 전용 메모리(Electrically Erasable Programmable Read-Only Memory: EEPROM), 플래시 메모리 또는 다른 메모리 기술, 콤팩트 디스크-판독-전용 메모리(Compact Disk Read-Only Memory: CD-ROM), 디지털 다기능 디스크(Digital Versatile Disc: DVD) 또는 다른 광 메모리, 카세트, 카세트 및 디스크 메모리 또는 다른 자기 메모리 디바이스 또는 임의의 다른 비전송 매체를 포함하지만, 이들로 제한되지 않고, 이는 연산 디바이스에 액세스 가능한 정보를 저장하기 위해 사용될 수 있다. 본 명세서의 정의에 따르면, 컴퓨터 판독 가능한 매체는 일시적인 매체, 예컨대, 변조된 데이터 신호 및 캐리어를 포함하지 않는다.Computer-readable media includes permanent, volatile, removable, and floating media, which can implement information storage through any method or technology. The information may be computer readable instructions, data structures, program modules or other data. Examples of storage media in a computer include phase-change random access memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory. (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk-read-only memory Include, but are not limited to, Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical memory, cassettes, cassettes and disk memories or other magnetic memory devices or any other non-transfer media. Rather, it can be used to store information accessible to the computing device. By definition, computer readable media do not include transitory media, such as modulated data signals and carriers.

용어 "포함" 또는 용어의 임의의 다른 변형은 배타적이지 않은 포함을 포함하도록 의도되어, 일련의 구성요소를 포함하는 과정, 방법, 상품 또는 디바이스가 이 구성요소를 포함할 뿐만 아니라 나열되지 않은 다른 구성요소를 포함하거나, 또는 이 과정, 방법, 상품 또는 디바이스에 고유한 구성요소를 더 포함한다. 추가의 제한이 없을 때, 표현 "~을 포함하는"에 의해 규정된 구성요소는 규정된 구성요소를 포함하는 과정, 방법, 상품 또는 디바이스에서 추가의 유사한 구성요소를 배제하지 않는다.The term "comprising" or any other variation of the term is intended to include non-exclusive inclusions, such that a process, method, article or device comprising a series of components includes not only this component but also other configurations not listed. Elements, or further include components unique to this process, method, product, or device. When no further limitations exist, a component defined by the expression "comprising" does not exclude additional similar components in a process, method, product or device that includes the defined component.

본 개시내용은 컴퓨터, 예컨대, 프로그램 모듈에 의해 실행되는 컴퓨터 실행 가능한 명령어의 규칙적인 맥락으로 설명될 수도 있다. 다양한 실시형태에서, 프로그램 모듈은 특정한 태스크를 실행하거나 또는 특정한 추상 데이터 유형을 구현하기 위한 루틴, 프로그램, 객체, 컴포넌트, 데이터 구조 등을 포함한다. 본 개시내용은 또한 분산형 연산 환경에서 실행될 수도 있다. 이 분산형 연산 환경에서, 통신 네트워크를 통해 연결된 원격 처리 디바이스가 태스크를 수행한다. 이 분산형 연산 환경에서, 프로그램 모듈은 저장 디바이스를 포함하는, 국부적 및 원격 컴퓨터 저장 매체에 위치될 수 있다.The present disclosure may be described in the regular context of computer-executable instructions executed by a computer, eg, a program module. In various embodiments, program modules include routines, programs, objects, components, data structures, etc., for performing particular tasks or implementing particular abstract data types. The present disclosure may also be practiced in distributed computing environments. In this distributed computing environment, remote processing devices connected through a communication network perform tasks. In this distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.

이 설명에서 실시형태는 각각의 실시형태가 다른 실시형태로부터의 차이에 초점을 맞추는 진보적인 방식으로 설명되고, 그리고 실시형태는 동일한 또는 유사한 부분에 대해 상호 참조될 수도 있다. 시스템 실시형태에 대해, 시스템 실시형태의 설명은 시스템 실시형태가 실질적으로 방법 실시형태와 유사하기 때문에, 비교적 간단하다. 방법 실시형태의 설명은 이의 관련된 부분에 대해 참조될 수도 있다.In this description, embodiments are described in a progressive manner in which each embodiment focuses on differences from other embodiments, and embodiments may be cross-referenced to the same or similar parts. For the system embodiment, the description of the system embodiment is relatively simple since the system embodiment is substantially similar to the method embodiment. The description of the method embodiments may be referred to for the relevant parts thereof.

본 개시내용의 실시형태는 단지 예시적이고, 그리고 본 개시내용을 제한하도록 사용되지 않는다. 당업자는 개시된 실시형태를 다양한 방식으로 변경 또는 변화시킬 수 있다. 본 개시내용의 정신 및 원리 내에 행해진 모든 변경, 등가 치환 또는 개선은 본 개시내용의 청구항에 포함될 것이다.Embodiments of the present disclosure are illustrative only and are not used to limit the present disclosure. Those skilled in the art can modify or change the disclosed embodiments in various ways. All changes, equivalent substitutions, or improvements made within the spirit and principles of the disclosure will be included in the claims of the disclosure.

Claims (20)

블록체인 합의 방법으로서,
트랜잭션 데이터를 획득하는 단계; 및
미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시켜서, 상기 적어도 하나의 합의부가 분배된 트랜잭션 데이터에 관한 합의 처리를 수행하게 하는 단계를 포함하는, 블록체인 합의 방법.
As a blockchain consensus method,
Obtaining transaction data; And
Distributing the transaction data to at least one consensus in the set of consensus according to a preset distribution rule, causing the at least one consensus to perform consensus processing on the distributed transaction data.
제1항에 있어서, 상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 트랜잭션 데이터의 세트의 수에 따라, 상기 적어도 하나의 합의부로서 상기 합의부 세트로부터 합의부의 매칭 수를 랜덤 방식(random manner)으로 결정하는 것; 및
상기 트랜잭션 데이터의 세트를 결정된 합의부로 각각 분배시키는 것을 포함하는, 블록체인 합의 방법.
The method of claim 1, wherein, in accordance with the preset distribution rule, distributing the transaction data to the at least one agreement unit in the agreement unit set includes:
Determining, according to the number of sets of transaction data, in a random manner the number of matches of an agreement from the agreement set as the at least one agreement; And
And distributing said set of transaction data to a determined consensus unit, respectively.
제1항에 있어서, 상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 적어도 하나의 합의부로서 상기 합의부 세트로부터 합의 트랜잭션이 필요한 합의부를 폴링 방식(polling manner)으로 결정하는 것; 및
상기 트랜잭션 데이터를 결정된 합의부로 분배시키는 것을 포함하는, 블록체인 합의 방법.
The method of claim 1, wherein, in accordance with the preset distribution rule, distributing the transaction data to the at least one agreement unit in the agreement unit set includes:
Determining, in the polling manner, an agreement portion that requires an agreement transaction from the set of agreement portions as the at least one agreement portion; And
And distributing said transaction data to a determined consensus unit.
제1항에 있어서, 상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 합의부 세트 내 각각의 합의부의 부하 용량을 결정하는 것; 및
부하 균형 규칙(load balancing rule)에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 것을 포함하는, 블록체인 합의 방법.
The method of claim 1, wherein, in accordance with the preset distribution rule, distributing the transaction data to the at least one agreement unit in the agreement unit set includes:
Determining the load capacity of each consensus part in the consensus set; And
And distributing the transaction data to the at least one consensus in the set of consensus according to a load balancing rule.
제1항에 있어서, 상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 트랜잭션 데이터를 처리하도록 필요한 자원의 양 및 상기 합의부 세트 내 각각의 합의부의 유휴 자원의 양을 결정하는 것;
상기 트랜잭션 데이터를 처리하기 위해 필요한 자원의 양보다 더 큰 유휴 자원의 양을 가진 합의부의 수가 설정값보다 더 큰 것에 응답하여, 상기 트랜잭션 데이터를 처리하도록 필요한 자원보다 더 많은 유휴 자원을 가진 상기 합의부로부터 합의 트랜잭션이 필요한 합의부를 폴링 방식으로 결정하고, 그리고 상기 트랜잭션 데이터를 결정된 합의부로 분배시키는 것; 및
상기 트랜잭션 데이터를 처리하기 위해 필요한 자원의 양보다 더 큰 유휴 자원의 양을 가진 합의부의 수가 상기 설정값보다 더 작은 것에 응답하여, 상기 트랜잭션 데이터를 처리하도록 필요한 자원보다 더 많은 유휴 자원을 가진 상기 합의부로부터 설정된 조건 미만인 부하 용량을 가진 합의부를 부하 균형 규칙에 따라 결정하고, 그리고 상기 트랜잭션 데이터를 상기 결정된 합의부로 분배시키는 것을 포함하는, 블록체인 합의 방법.
The method of claim 1, wherein, in accordance with the preset distribution rule, distributing the transaction data to the at least one agreement unit in the agreement unit set includes:
Determining the amount of resources needed to process the transaction data and the amount of idle resources of each consensus portion in the consensus set;
From the consensus unit having more idle resources than the resources necessary to process the transaction data, in response to the number of consensus units having an amount of idle resources larger than the amount of resources required to process the transaction data being greater than a set value. Determining, in a polling manner, a consensus portion requiring a consensus transaction, and distributing the transaction data to the determined consensus portion; And
The consensus section having more idle resources than the resources required to process the transaction data, in response to the number of consensus sections having an amount of idle resources larger than the amount of resources required to process the transaction data being smaller than the set value. Determining, according to the load balancing rules, and distributing the transaction data to the determined consensus unit, wherein the consensus unit having a load capacity less than the condition set therefrom.
제1항에 있어서, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 합의부 세트 내 각각의 합의부의 작업 상태를 결정하는 것으로서, 상기 작업 상태는 정상 상태 또는 비정상 상태 중 적어도 하나를 포함하는, 상기 합의부 세트 내 각각의 합의부의 작업 상태를 결정하는 것; 및
상기 작업 상태가 정상 상태인 합의부로부터 합의부를 상기 적어도 하나의 합의부로서 결정하는 것을 포함하는, 블록체인 합의 방법.
The method of claim 1, wherein distributing the transaction data to the at least one consensus in the set of consensus comprises:
Determining a work state of each consensus part in the set of consensus parts, wherein the work state includes at least one of a normal state or an abnormal state; And
And determining an agreement unit as the at least one agreement unit from an agreement unit in which the working state is normal.
제1항에 있어서, 상기 트랜잭션 데이터는 시퀀스 필요조건이 없는 트랜잭션 데이터를 포함하는, 블록체인 합의 방법.10. The method of claim 1, wherein the transaction data includes transaction data without sequence requirements. 제1항에 있어서,
상기 트랜잭션 데이터는 트랜잭션 데이터의 다수의 세트를 포함하고; 그리고
상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 트랜잭션 데이터의 다수의 세트를 분류하여 하나 이상의 트랜잭션 데이터 군을 획득하는 것; 및
상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터 군을 상기 합의부 세트 내 상이한 합의부로 분배시키는 것을 포함하는, 블록체인 합의 방법.
The method of claim 1,
The transaction data comprises a plurality of sets of transaction data; And
According to the preset distribution rule, distributing the transaction data to the at least one agreement unit in the agreement unit set,
Classifying the plurality of sets of transaction data to obtain one or more transaction data groups; And
In accordance with the preset distribution rule, distributing the group of transaction data to different agreement units in the agreement set.
블록체인-기반 데이터 저장 방법으로서,
블록체인 네트워크 내 상이한 합의부로부터 합의 결과를 수신하는 단계; 및
상기 합의 결과의 타임 스탬프에 따라 상기 합의 결과를 상기 블록체인 네트워크의 블록에 저장하는 단계를 포함하는, 블록체인-기반 데이터 저장 방법.
Blockchain-based data storage method,
Receiving an agreement result from a different agreement unit in the blockchain network; And
Storing the consensus result in a block of the blockchain network according to the time stamp of the consensus result.
제9항에 있어서, 상기 합의 결과를 상기 블록체인 네트워크의 블록에 저장하는 단계는,
상기 합의 결과를 상기 합의 결과를 생성하는 합의부에 대응하는 상기 블록체인 네트워크 내 노드의 블록에 저장하는 것을 포함하는, 블록체인-기반 데이터 저장 방법.
10. The method of claim 9, wherein storing the result of the sum in a block of the blockchain network,
And storing the result of the agreement in a block of a node in the blockchain network corresponding to the agreement unit that generates the agreement result.
블록체인 합의 시스템으로서,
분배부 및 복수의 합의부를 포함한 합의부 세트를 포함하되,
상기 분배부는 트랜잭션 데이터를 획득하도록 그리고 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 적어도 하나의 합의부로 분배시키도록 구성되고; 그리고
상기 적어도 하나의 합의부는 분배된 트랜잭션 데이터에 관한 합의 처리를 수행하도록 구성되는, 블록체인 합의 시스템.
As a blockchain consensus system,
A set of agreements including a distribution and a plurality of agreements,
The distribution unit is configured to obtain transaction data and to distribute the transaction data to at least one agreement unit in the set of agreement units according to a preset distribution rule; And
And the at least one consensus unit is configured to perform consensus processing on the distributed transaction data.
제11항에 있어서, 상기 합의 시스템은 상이한 합의부로부터 합의 결과를 수신하도록 그리고 상기 합의 결과의 타임 스탬프에 따라, 상기 합의 결과를 순차적으로 저장하도록 구성되는 저장 노드를 더 포함하는, 블록체인 합의 시스템.12. The blockchain consensus system of claim 11, wherein the consensus system further comprises a storage node configured to receive consensus results from different consensus units and to sequentially store the consensus results according to a time stamp of the consensus results. 블록체인 합의 장치로서,
프로세서, 및 상기 프로세서에 의해 실행될 때, 상기 블록체인 합의 장치가 방법을 수행하게 하는 명령어를 저장하는 비일시적 컴퓨터-판독 가능 저장 매체를 포함하되, 상기 방법은,
트랜잭션 데이터를 획득하는 단계; 및
미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 합의부 세트 내 적어도 하나의 합의부로 분배시켜서, 상기 적어도 하나의 합의부가 분배된 트랜잭션 데이터에 관한 합의 처리를 수행하게 하는 단계를 포함하는, 블록체인 합의 장치.
As a blockchain consensus device,
A non-transitory computer-readable storage medium storing instructions that, when executed by the processor, cause the blockchain consensus apparatus to perform a method, the method comprising:
Obtaining transaction data; And
And distributing the transaction data to at least one consensus in the set of consensus according to a preset distribution rule, causing the at least one consensus to perform consensus processing on the distributed transaction data.
제13항에 있어서, 상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 트랜잭션 데이터의 세트의 수에 따라, 상기 적어도 하나의 합의부로서 상기 합의부 세트로부터 합의부의 매칭 수를 랜덤 방식으로 결정하는 것; 및
상기 트랜잭션 데이터의 세트를 결정된 합의부로 각각 분배시키는 것을 포함하는, 블록체인 합의 장치.
The method of claim 13, wherein, in accordance with the preset distribution rule, distributing the transaction data to the at least one agreement unit in the agreement unit set includes:
Determining, according to the number of sets of transaction data, the matching number of consensus sections from the set of consensus sections as the at least one consensus section in a random manner; And
And distributing said set of transaction data respectively to a determined consensus unit.
제13항에 있어서, 상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 적어도 하나의 합의부로서 상기 합의부 세트로부터 합의 트랜잭션이 필요한 합의부를 폴링 방식으로 결정하는 것; 및
상기 트랜잭션 데이터를 결정된 합의부로 분배시키는 것을 포함하는, 블록체인 합의 장치.
The method of claim 13, wherein, in accordance with the preset distribution rule, distributing the transaction data to the at least one agreement unit in the agreement unit set includes:
Determining, as the at least one consensus part, a consensus part that requires a consensus transaction from the set of consensus parts in a polling manner; And
And distributing the transaction data to the determined consensus unit.
제13항에 있어서, 상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 합의부 세트 내 각각의 합의부의 부하 용량을 결정하는 것; 및
부하 균형 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 것을 포함하는, 블록체인 합의 장치.
The method of claim 13, wherein, in accordance with the preset distribution rule, distributing the transaction data to the at least one agreement unit in the agreement unit set includes:
Determining the load capacity of each consensus part in the consensus set; And
And distributing the transaction data to the at least one consensus in the set of consensus according to a load balancing rule.
제13항에 있어서, 상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 트랜잭션 데이터를 처리하도록 필요한 자원의 양 및 상기 합의부 세트 내 각각의 합의부의 유휴 자원의 양을 결정하는 것;
상기 트랜잭션 데이터를 처리하기 위해 필요한 자원의 양보다 더 큰 유휴 자원의 양을 가진 합의부의 수가 설정값보다 더 큰 것에 응답하여, 상기 트랜잭션 데이터를 처리하도록 필요한 자원보다 더 많은 유휴 자원을 가진 상기 합의부로부터 합의 트랜잭션이 필요한 합의부를 폴링 방식으로 결정하고, 그리고 상기 트랜잭션 데이터를 결정된 합의부로 분배시키는 것; 및
상기 트랜잭션 데이터를 처리하기 위해 필요한 자원의 양보다 더 큰 유휴 자원의 양을 가진 합의부의 수가 상기 설정값보다 더 작은 것에 응답하여, 상기 트랜잭션 데이터를 처리하도록 필요한 자원보다 더 많은 유휴 자원을 가진 상기 합의부로부터 설정된 조건 미만인 부하 용량을 가진 합의부를 부하 균형 규칙에 따라 결정하고, 그리고 상기 트랜잭션 데이터를 상기 결정된 합의부로 분배시키는 것을 포함하는, 블록체인 합의 장치.
The method of claim 13, wherein, in accordance with the preset distribution rule, distributing the transaction data to the at least one agreement unit in the agreement unit set includes:
Determining the amount of resources needed to process the transaction data and the amount of idle resources of each consensus portion in the consensus set;
From the consensus unit having more idle resources than the resources necessary to process the transaction data, in response to the number of consensus units having an amount of idle resources larger than the amount of resources required to process the transaction data being greater than a set value. Determining, in a polling manner, a consensus portion requiring a consensus transaction, and distributing the transaction data to the determined consensus portion; And
The consensus section having more idle resources than the resources required to process the transaction data, in response to the number of consensus sections having an amount of idle resources larger than the amount of resources required to process the transaction data being smaller than the set value. Determining, according to the load balancing rules, and distributing the transaction data to the determined consensus unit.
제13항에 있어서, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 합의부 세트 내 각각의 합의부의 작업 상태를 결정하는 것으로서, 상기 작업 상태는 정상 상태 또는 비정상 상태 중 적어도 하나를 포함하는, 상기 합의부 세트 내 각각의 합의부의 작업 상태를 결정하는 것; 및
상기 작업 상태가 정상 상태인 합의부로부터 합의부를 상기 적어도 하나의 합의부로서 결정하는 것을 포함하는, 블록체인 합의 장치.
The method of claim 13, wherein distributing the transaction data to the at least one consensus in the set of consensus,
Determining a work state of each consensus part in the set of consensus parts, wherein the work state includes at least one of a normal state or an abnormal state; And
And determining an agreement unit as the at least one agreement unit from an agreement unit in which the working state is normal.
제13항에 있어서,
상기 트랜잭션 데이터는 트랜잭션 데이터의 다수의 세트를 포함하고; 그리고
상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터를 상기 합의부 세트 내 상기 적어도 하나의 합의부로 분배시키는 단계는,
상기 트랜잭션 데이터의 다수의 세트를 분류하여 하나 이상의 트랜잭션 데이터 군을 획득하는 것; 및
상기 미리 설정된 분배 규칙에 따라, 상기 트랜잭션 데이터 군을 상기 합의부 세트 내 상이한 합의부로 분배시키는 것을 포함하는, 블록체인 합의 장치.
The method of claim 13,
The transaction data comprises a plurality of sets of transaction data; And
According to the preset distribution rule, distributing the transaction data to the at least one agreement unit in the agreement unit set,
Classifying the plurality of sets of transaction data to obtain one or more transaction data groups; And
And distributing the group of transaction data to different agreement units in the agreement set according to the preset distribution rule.
블록체인 기반 데이터 저장 장치로서,
프로세서, 및 상기 프로세서에 의해 실행될 때, 상기 블록체인 기반 데이터 저장 장치가 방법을 수행하게 하는 명령어를 저장하는 비일시적 컴퓨터-판독 가능 저장 매체를 포함하되, 상기 방법은,
블록체인 네트워크 내 상이한 합의부로부터 합의 결과를 수신하는 단계; 및
상기 합의 결과의 타임 스탬프에 따라, 상기 합의 결과를 상기 블록체인 네트워크의 블록에 저장하는 단계를 포함하되, 상기 합의 결과를 상기 블록체인 네트워크의 블록에 저장하는 단계는, 상기 합의 결과를 상기 합의 결과를 생성하는 합의부에 대응하는 상기 블록체인 네트워크 내 노드의 블록에 저장하는 것을 포함하는, 블록체인 기반 데이터 저장 장치.
Blockchain based data storage device,
A non-transitory computer-readable storage medium storing instructions that, when executed by the processor, cause the blockchain-based data storage device to perform a method, the method comprising:
Receiving an agreement result from a different agreement unit in the blockchain network; And
In accordance with a time stamp of the agreement result, storing the agreement result in a block of the blockchain network, wherein storing the agreement result in a block of the blockchain network comprises: storing the agreement result in the agreement result. And storing the data in a block of a node in the blockchain network corresponding to the consensus generating unit.
KR1020197029402A 2017-03-29 2018-03-26 Methods, devices and systems for blockchain consensus KR102262713B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710197538.XA CN107360206B (en) 2017-03-29 2017-03-29 Block chain consensus method, equipment and system
CN201710197538.X 2017-03-29
PCT/US2018/024256 WO2018183148A1 (en) 2017-03-29 2018-03-26 Method, apparatus, and system for blockchain consensus

Publications (2)

Publication Number Publication Date
KR20190125426A true KR20190125426A (en) 2019-11-06
KR102262713B1 KR102262713B1 (en) 2021-06-09

Family

ID=60270911

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020197029402A KR102262713B1 (en) 2017-03-29 2018-03-26 Methods, devices and systems for blockchain consensus

Country Status (16)

Country Link
US (3) US11010369B2 (en)
EP (1) EP3602293A1 (en)
JP (1) JP6882511B2 (en)
KR (1) KR102262713B1 (en)
CN (1) CN107360206B (en)
AU (2) AU2018243696B2 (en)
BR (1) BR112019020374B1 (en)
CA (1) CA3057329C (en)
MX (1) MX2019011549A (en)
MY (1) MY202367A (en)
PH (1) PH12019502200A1 (en)
RU (1) RU2744498C1 (en)
SG (1) SG11201908451UA (en)
TW (1) TWI694339B (en)
WO (1) WO2018183148A1 (en)
ZA (1) ZA201906163B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210107544A (en) * 2020-02-21 2021-09-01 바이두 온라인 네트웍 테크놀러지 (베이징) 캄파니 리미티드 Resource processing method and device for block chain, equipment and medium

Families Citing this family (89)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8874477B2 (en) 2005-10-04 2014-10-28 Steven Mark Hoffberg Multifactorial optimization system and method
CN111756550B (en) * 2017-03-28 2023-08-22 创新先进技术有限公司 Block chain consensus method and device
GB201707296D0 (en) * 2017-05-08 2017-06-21 Nchain Holdings Ltd Computer-implemented system and method
CN109819003A (en) * 2017-11-22 2019-05-28 南京理工大学 A kind of layering common recognition method and system of block chain
CN108009824A (en) * 2017-11-28 2018-05-08 北京博晨技术有限公司 Data common recognition method, apparatus and electronic equipment
CN107992356B (en) * 2017-12-13 2021-09-14 深圳壹账通智能科技有限公司 Block chain transaction block processing method, electronic device and readable storage medium
CN108234470B (en) * 2017-12-28 2020-08-04 江苏通付盾科技有限公司 Block packing method and system in block chain network, electronic equipment and storage medium
WO2019144353A1 (en) * 2018-01-25 2019-08-01 深圳前海达闼云端智能科技有限公司 Blockchain-based data training method and device, storage medium and blockchain node
CN110083437A (en) * 2018-01-25 2019-08-02 北京欧链科技有限公司 Handle the method and device of block chain affairs
CN108307000A (en) * 2018-02-06 2018-07-20 武汉康慧然信息技术咨询有限公司 Block chain generation method based on time scheduling
US10873625B2 (en) * 2018-02-26 2020-12-22 International Business Machines Corpora ! Ion Service management for the infrastructure of blockchain networks
CN108540536B (en) * 2018-03-16 2021-07-23 深圳前海微众银行股份有限公司 Block chain-based network mass service processing method, equipment and storage medium
CN108681963B (en) * 2018-03-29 2020-07-31 深圳市网心科技有限公司 Multi-block chain integration control method, system, electronic device and storage medium
CN108564468A (en) * 2018-04-04 2018-09-21 上海金丘信息科技股份有限公司 A kind of common recognition method based on the dynamic equity for trusting member
CN108833330B (en) * 2018-04-08 2020-07-17 浙江商业职业技术学院 Rural e-commerce data authentication method
CN108809929B (en) * 2018-04-08 2020-07-17 浙江商业职业技术学院 Rural financial system based on block chain technology
CN108830709A (en) * 2018-04-17 2018-11-16 中车工业研究院有限公司 A kind of crowdsourcing transaction system based on block chain
CN111433807A (en) * 2018-04-18 2020-07-17 深圳市元征软件开发有限公司 Block chain link point service and mining method, device, equipment, system and medium
CN108683645A (en) * 2018-04-27 2018-10-19 欧阳福 A kind of information-distribution type domain name and data transacting system based on block chain
US11816094B2 (en) 2018-05-10 2023-11-14 Cornell University Metastable byzantine agreement
CN108664623A (en) * 2018-05-14 2018-10-16 中钞***产业发展有限公司杭州区块链技术研究院 A kind of date storage method, device, equipment and medium
CN108712491A (en) * 2018-05-17 2018-10-26 易链科技(深圳)有限公司 Block chain node, exchange information processing method, terminal device and medium
CN108717460A (en) * 2018-05-25 2018-10-30 济南浪潮高新科技投资发展有限公司 A kind of method and device reached common understanding in block chain
CN108881177B (en) * 2018-05-28 2021-04-23 夸克链科技(深圳)有限公司 Method for realizing heterogeneous parallel block chain
CN108985758B (en) * 2018-06-07 2020-10-30 深圳海派创客教育学院有限公司 Data processing method, data processing system and terminal equipment
US10880072B2 (en) 2018-06-20 2020-12-29 Verizon Patent And Licensing Inc. Systems and methods for controlled random endorsement in a blockchain network
CN108768792B (en) * 2018-07-06 2021-02-12 网宿科技股份有限公司 Network detection system
CN109032803B (en) 2018-08-01 2021-02-12 创新先进技术有限公司 Data processing method and device and client
CN109034809B (en) * 2018-08-16 2021-08-17 北京京东尚科信息技术有限公司 Block chain generation method and device, block chain node and storage medium
CN109086140A (en) * 2018-08-21 2018-12-25 上海点融信息科技有限责任公司 The method, apparatus and storage medium of data processing are carried out in block chain
CN110875893B (en) * 2018-08-29 2022-03-08 深圳启元信息服务有限公司 Consensus verification method, check node and block chain system
GB2577118B (en) * 2018-09-14 2022-08-31 Arqit Ltd Autonomous quality regulation for distributed ledger networks
CN109257427B (en) * 2018-09-26 2021-04-02 网宿科技股份有限公司 Service processing method and system based on block chain
US11368446B2 (en) * 2018-10-02 2022-06-21 International Business Machines Corporation Trusted account revocation in federated identity management
CN111092925B (en) * 2018-10-23 2022-08-05 ***通信有限公司研究院 Block chain capacity expansion processing method, device and equipment
CN109376274B (en) * 2018-10-23 2020-12-22 杭州能链科技有限公司 Block output method and device based on block chain system and storage medium
US11138188B2 (en) 2018-11-07 2021-10-05 International Business Machines Corporation Performance optimization
KR102193549B1 (en) * 2018-11-07 2020-12-23 어드밴스드 뉴 테크놀로지스 씨오., 엘티디. Practical Byzantine failure-tolerant blockchain consensus and ease of node synchronization
CN109600323B (en) * 2018-11-12 2021-10-01 中山大学 Byzantine consensus mechanism
US20200175503A1 (en) 2018-11-29 2020-06-04 Paypal, Inc. Resource-based distributed public ledger system
CN111314393B (en) * 2018-12-11 2023-04-18 京东科技控股股份有限公司 Data processing method, device and equipment based on block chain
PL3560142T3 (en) 2018-12-13 2021-01-11 Alibaba Group Holding Limited Performing a recovery process for a network node in a distributed system
CN110169015B (en) 2018-12-13 2022-03-01 创新先进技术有限公司 Achieving consensus among network nodes in a distributed system
SG11201907346UA (en) 2018-12-13 2019-09-27 Alibaba Group Holding Ltd Performing a change of primary node in a distributed system
CN111369243B (en) * 2018-12-24 2023-07-14 航天信息股份有限公司 Distributed accounting method and device
CN109660545B (en) * 2018-12-27 2021-04-09 北京新唐思创教育科技有限公司 Alliance chain consensus method and computer storage medium
CN109635595B (en) * 2018-12-29 2020-10-23 杭州趣链科技有限公司 Block chain-based data tamper-proof method
CN111461468B (en) * 2019-01-02 2023-10-31 ***通信有限公司研究院 Data processing method and device, data node and storage medium
CN111443998B (en) * 2019-01-17 2023-03-21 杨税令 Multi-layer segment type consensus method and system applied to block chain
US11875400B2 (en) * 2019-01-31 2024-01-16 Salesforce, Inc. Systems, methods, and apparatuses for dynamically assigning nodes to a group within blockchains based on transaction type and node intelligence using distributed ledger technology (DLT)
US11899817B2 (en) 2019-01-31 2024-02-13 Salesforce, Inc. Systems, methods, and apparatuses for storing PII information via a metadata driven blockchain using distributed and decentralized storage for sensitive user information
CN109886681B (en) * 2019-01-31 2021-06-18 北京瑞卓喜投科技发展有限公司 Block chain consensus method and system
US11824864B2 (en) 2019-01-31 2023-11-21 Salesforce, Inc. Systems, methods, and apparatuses for implementing a declarative and metadata driven blockchain platform using distributed ledger technology (DLT)
US11811769B2 (en) 2019-01-31 2023-11-07 Salesforce, Inc. Systems, methods, and apparatuses for implementing a declarative, metadata driven, cryptographically verifiable multi-network (multi-tenant) shared ledger
CN109918378B (en) * 2019-03-05 2020-09-25 中国科学院深圳先进技术研究院 Remote sensing data storage method and storage system based on block chain
CN109871279B (en) * 2019-03-11 2021-10-01 京东方科技集团股份有限公司 Consensus task coordination method and device, block chain system and storage medium
CA3057395A1 (en) * 2019-03-18 2019-05-31 Alibaba Group Holding Limited System and method for ending view change protocol
KR102170345B1 (en) 2019-03-18 2020-10-28 알리바바 그룹 홀딩 리미티드 System and method for terminating view change protocol
ES2862428T3 (en) * 2019-03-18 2021-10-07 Advanced New Technologies Co Ltd Consensus System Downtime Recovery
CN110049030B (en) * 2019-04-08 2020-03-10 山东公链信息科技有限公司 Block chain consensus system based on random continuous dispersion
JP6827564B2 (en) 2019-04-12 2021-02-10 アドバンスド ニュー テクノロジーズ カンパニー リミテッド Performing parallel execution of transactions in a distributed ledger system
WO2019120333A2 (en) 2019-04-12 2019-06-27 Alibaba Group Holding Limited Performing parallel execution of transactions in a distributed ledger system
CN110113388B (en) * 2019-04-17 2020-01-14 四川大学 Improved clustering algorithm-based block chain system consensus method and device
CN110138597B (en) * 2019-04-17 2021-11-05 上海大学 Block chain DPOS (distributed DPOS) consensus mechanism improvement method based on credit integration and node clustering
US11995647B2 (en) 2019-04-30 2024-05-28 Salesforce, Inc. System and method of providing interoperable distributed and decentralized ledgers using consensus on consensus and delegated consensus
CN110245006B (en) * 2019-05-07 2023-05-02 深圳壹账通智能科技有限公司 Method, device, equipment and storage medium for processing block chain transaction
CN110311958B (en) * 2019-06-14 2021-01-01 柳州市蓝海数链科技有限公司 Block chain network system
KR102342752B1 (en) * 2019-06-19 2021-12-23 에스케이텔레콤 주식회사 Apparatus and method for consensus based on blockchain
KR102228214B1 (en) * 2019-07-22 2021-03-16 에이치엔핀코어 주식회사 Node device that can improve transaction processing speed by propagating transactions before generating blocks in a block-chain network and operating method thereof
CN110599139B (en) * 2019-08-19 2022-09-13 杭州秘猿科技有限公司 Block output method and device in block chain consensus algorithm
CN110753028B (en) * 2019-09-11 2021-06-22 复旦大学 Method for controlling distributed accounting network resource use
US11768701B2 (en) * 2019-09-17 2023-09-26 Western Digital Technologies, Inc. Exception analysis for data storage devices
CN110855475B (en) * 2019-10-25 2022-03-11 昆明理工大学 Block chain-based consensus resource slicing method
CN110912994B (en) * 2019-11-22 2022-02-11 中国联合网络通信集团有限公司 Block chain consensus method and device
CN110851537A (en) * 2019-11-28 2020-02-28 蒋勇 Consensus method based on block chain fragmentation technology
CN111343292B (en) * 2020-02-10 2022-09-27 广州根链国际网络研究院有限公司 Authoritative DNS server information updating method and system
CN111291067B (en) * 2020-03-12 2021-01-26 南京珥仁科技有限公司 Block chain data forwarding method
CN111522876B (en) * 2020-04-07 2024-02-20 金蝶软件(中国)有限公司 Block chain consensus method, device, computer equipment and block chain link point
CN111680076B (en) * 2020-04-21 2023-08-22 广州中科易德科技有限公司 Block chain consensus method and system based on association rule model training
CN111524010B (en) * 2020-05-06 2023-06-02 杭州复杂美科技有限公司 Parallel chain consensus method, apparatus and storage medium
CN111524011B (en) * 2020-05-06 2023-05-30 杭州复杂美科技有限公司 Parallel link consensus validation method, apparatus, and storage medium
CN111522822A (en) 2020-07-03 2020-08-11 支付宝(杭州)信息技术有限公司 Block chain consensus method and device and electronic equipment
CN111522696B (en) * 2020-07-03 2020-12-29 支付宝(杭州)信息技术有限公司 Downtime processing method, data persistence method and hardware of block chain common identification node
CN112486518B (en) * 2020-12-01 2024-03-12 北京微芯区块链与边缘计算研究院 Consensus algorithm assembling method and device
CN112565240A (en) * 2020-12-01 2021-03-26 杭州云象网络技术有限公司 Multi-chain structure compatible method and system for bearing massive general certificate circulation
CN112835743B (en) * 2021-01-25 2023-12-19 中央财经大学 Distributed account book data storage optimization method and device, electronic equipment and medium
CN113110921B (en) * 2021-06-11 2021-10-22 北京百度网讯科技有限公司 Operation method, device, equipment and storage medium of block chain system
CN113784238B (en) * 2021-06-30 2023-04-18 北京邮电大学 Spectrum resource transaction method and system based on block chain network
CN114296831A (en) * 2021-12-30 2022-04-08 迅鳐成都科技有限公司 Dynamic loading method, device and system for block chain consensus algorithm and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160259937A1 (en) * 2015-03-02 2016-09-08 Dell Products L.P. Device reporting and protection systems and methods using a secure distributed transactional ledger

Family Cites Families (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5858507B2 (en) 1979-09-21 1983-12-26 ヨツギ株式会社 Device to prevent kudzu from winding up on the branch line
US7454516B1 (en) 2000-08-03 2008-11-18 Microsoft Corporation Scalable virtual partitioning of resources
US7290059B2 (en) 2001-08-13 2007-10-30 Intel Corporation Apparatus and method for scalable server load balancing
US9406063B2 (en) 2002-10-01 2016-08-02 Dylan T X Zhou Systems and methods for messaging, calling, digital multimedia capture, payment transactions, global digital ledger, and national currency world digital token
US20040254984A1 (en) 2003-06-12 2004-12-16 Sun Microsystems, Inc System and method for coordinating cluster serviceability updates over distributed consensus within a distributed data system cluster
US7146353B2 (en) 2003-07-22 2006-12-05 Hewlett-Packard Development Company, L.P. Resource allocation for multiple applications
US7543069B2 (en) 2004-10-18 2009-06-02 International Business Machines Corporation Dynamically updating session state affinity
US7725901B2 (en) 2005-04-14 2010-05-25 International Business Machines Corporation Method and system for performance balancing in a distributed computer system
US20060242647A1 (en) 2005-04-21 2006-10-26 Kimbrel Tracy J Dynamic application placement under service and memory constraints
JP2009134472A (en) 2007-11-29 2009-06-18 Nomura Research Institute Ltd Electric commerce device
US8495604B2 (en) 2009-12-30 2013-07-23 International Business Machines Corporation Dynamically distribute a multi-dimensional work set across a multi-core system
US8910176B2 (en) * 2010-01-15 2014-12-09 International Business Machines Corporation System for distributed task dispatch in multi-application environment based on consensus for load balancing using task partitioning and dynamic grouping of server instance
US9569771B2 (en) 2011-04-29 2017-02-14 Stephen Lesavich Method and system for storage and retrieval of blockchain blocks using galois fields
US9461876B2 (en) * 2012-08-29 2016-10-04 Loci System and method for fuzzy concept mapping, voting ontology crowd sourcing, and technology prediction
JP6086463B2 (en) 2014-05-05 2017-03-01 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Method, device and system for peer-to-peer data replication and method, device and system for master node switching
US20160335628A1 (en) 2014-05-15 2016-11-17 Adam Mark Weigold System and method for digital currency storage, payment and credit
US9818092B2 (en) 2014-06-04 2017-11-14 Antti Pennanen System and method for executing financial transactions
US10346814B2 (en) 2014-06-04 2019-07-09 MONI Limited System and method for executing financial transactions
JP6425808B2 (en) 2014-07-11 2018-11-21 ロイヤル コーポレイション Decentralized Ledger Protocol Encouraging Trade and Non-Trading Commerce
RU2584506C1 (en) 2014-10-22 2016-05-20 Закрытое акционерное общество "Лаборатория Касперского" System and method of protecting operations with electronic money
US20160217436A1 (en) 2015-01-25 2016-07-28 Dror Samuel Brama Method, System and Program Product for Tracking and Securing Transactions of Authenticated Items over Block Chain Systems.
US9875510B1 (en) 2015-02-03 2018-01-23 Lance Kasper Consensus system for tracking peer-to-peer digital records
US11386404B2 (en) * 2015-02-04 2022-07-12 Ripple Luxembourg S.A. Temporary consensus subnetwork in a distributed network for payment processing
RU2673842C1 (en) 2015-03-20 2018-11-30 Ривец Корп. Device safety automatic certification with the use of the blocks chain
US9397985B1 (en) 2015-04-14 2016-07-19 Manifold Technology, Inc. System and method for providing a cryptographic platform for exchanging information
TWI676943B (en) * 2015-05-06 2019-11-11 現代財富控股有限公司 Electronic trading system for cryptocurrency and method thereof
JP5858507B1 (en) * 2015-05-18 2016-02-10 株式会社Orb Virtual currency management program and virtual currency management method
US20160342977A1 (en) 2015-05-20 2016-11-24 Vennd.io Pty Ltd Device, method and system for virtual asset transactions
US20170011460A1 (en) * 2015-07-09 2017-01-12 Ouisa, LLC Systems and methods for trading, clearing and settling securities transactions using blockchain technology
US10643288B2 (en) * 2015-10-13 2020-05-05 TransActive Grid Inc. Use of blockchain based distributed consensus control
US10282457B1 (en) * 2016-02-04 2019-05-07 Amazon Technologies, Inc. Distributed transactions across multiple consensus groups
WO2017189027A1 (en) * 2016-04-29 2017-11-02 Digital Asset Holdings Digital asset modeling
US10360191B2 (en) * 2016-10-07 2019-07-23 International Business Machines Corporation Establishing overlay trust consensus for blockchain trust validation system
US10158527B2 (en) * 2016-10-28 2018-12-18 International Business Machines Corporation Changing an existing blockchain trust configuration
CN106534273B (en) * 2016-10-31 2022-04-15 中金云金融(北京)大数据科技股份有限公司 Block chain metadata storage system and storage method and retrieval method thereof
CN106530072A (en) * 2016-11-22 2017-03-22 天津米游科技有限公司 Block chain consensus mechanism
CN106529951A (en) * 2016-12-30 2017-03-22 杭州云象网络技术有限公司 Node consensus verification method under league chain network through asynchronous mode
CA3067903A1 (en) * 2017-06-05 2018-12-13 Balanced Media Technology, LLC Platform for collaborative processing of computing tasks

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160259937A1 (en) * 2015-03-02 2016-09-08 Dell Products L.P. Device reporting and protection systems and methods using a secure distributed transactional ledger

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210107544A (en) * 2020-02-21 2021-09-01 바이두 온라인 네트웍 테크놀러지 (베이징) 캄파니 리미티드 Resource processing method and device for block chain, equipment and medium
US11770264B2 (en) 2020-02-21 2023-09-26 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for processing resource of block chain, device and medium

Also Published As

Publication number Publication date
MX2019011549A (en) 2019-11-28
SG11201908451UA (en) 2019-10-30
RU2744498C1 (en) 2021-03-10
WO2018183148A1 (en) 2018-10-04
JP2020515976A (en) 2020-05-28
TW201837733A (en) 2018-10-16
MY202367A (en) 2024-04-24
US20210248131A1 (en) 2021-08-12
ZA201906163B (en) 2020-12-23
US11010369B2 (en) 2021-05-18
CN107360206A (en) 2017-11-17
TWI694339B (en) 2020-05-21
AU2018243696B2 (en) 2020-11-05
CA3057329A1 (en) 2018-10-04
CN107360206B (en) 2020-03-27
BR112019020374B1 (en) 2022-01-25
KR102262713B1 (en) 2021-06-09
AU2018243696A1 (en) 2019-10-10
PH12019502200A1 (en) 2020-12-07
EP3602293A1 (en) 2020-02-05
AU2019101614A4 (en) 2020-01-23
JP6882511B2 (en) 2021-06-02
CA3057329C (en) 2021-11-23
US10860574B2 (en) 2020-12-08
BR112019020374A2 (en) 2020-04-28
US20180285412A1 (en) 2018-10-04
US20200159721A1 (en) 2020-05-21

Similar Documents

Publication Publication Date Title
KR102262713B1 (en) Methods, devices and systems for blockchain consensus
KR102304492B1 (en) Method and apparatus for consensus verification
KR102152556B1 (en) Service processing and consensus method and device
TWI660617B (en) Blockchain consensus method and equipment
US10789085B2 (en) Selectively providing virtual machine through actual measurement of efficiency of power usage
TWI694700B (en) Data processing method and device, user terminal
KR20190091484A (en) Blockchain consensus method and device
JP6468499B2 (en) Distributed computing architecture
CN107645520B (en) Load balancing method, device and system
TWI697223B (en) Data processing method
WO2019144809A1 (en) Service update method and device, system
US10698770B1 (en) Regionally agnostic in-memory database arrangements with reconnection resiliency
TW202008153A (en) Data processing method and apparatus, and server

Legal Events

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