Conflict detection method and device, node equipment and storage medium

A technology of conflict detection and node equipment, applied in the field of blockchain, it can solve problems such as certain risks and conflicts in the availability and stability of blockchain services
CN111340482AActive Publication Date: 2020-06-26TENCENT TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
TENCENT TECH (SHENZHEN) CO LTD
Publication Date
2020-06-26

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a conflict detection method and device, node equipment and a storage medium, and belongs to the technical field of block chains. The method comprises the steps: in response to an execution waiting instruction, creating at least two tasks for a block of a target batch indicated by the execution waiting instruction, wherein one task is used for indicating multiple processing logics of one block in the target batch to be chained in a block chain system; in response to an execution instruction for the target batch, executing the at least two tasks, and in the execution process, controlling the same processing logic included in the at least two tasks to be synchronously executed; and determining the conflict state of the target batch according to the execution results ofthe at least two tasks. According to the invention, the corresponding task is set for one block in the to-be-linked target batch in the block chain system, and the same processing logic included in each task is executed at the same time, so that whether conflicts exist among the execution logics or not can be determined according to the execution result, and the security risk existing in the blockchain system is discovered.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the technical field of blockchain, and in particular to a conflict detection method, device, node device and storage medium. Background technique

[0002] In the blockchain system, in order to meet the high-performance requirements of the business, the blockchain service will carry various concurrent optimization processes in the processes of transaction reception, packaging, verification, submission, and storage. Since there may be transactions with upper and lower dependencies between blocks, these transactions cannot be submitted at the same time, otherwise conflicts will occur. For example, transaction A: user a pays X yuan to user b, transaction B: user a pays Y yuan to user c, and transaction A occurs before transaction B, then user a should actually have Z-X-Y yuan remaining. If transaction A and transaction B are submitted at the same time, user a will have Z-X yuan left after executing transaction A, and use...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More