The invention discloses a DAG-based cross-fragmentation point-to-
point energy transaction optimization method, and belongs to the technical field of cross-fragmentation
transaction processing. Comprising the following steps: defining a cross-fragment transaction; describing a dependency relationship among a plurality of sub-transactions based on a
directed graph (DAG) structure; constructing a
coordination layer based on a DAG account book, and selecting a node with the highest reputation value to serve as a DAG committee member; and carrying out transaction
verification, cross-fragment transaction forwarding and
verification during forwarding on the nodes serving as DAG committee members. According to the method, the optimistic strategy is adopted to process the cross-fragmentation transaction in parallel, and the cross-fragmentation transaction is decomposed into a plurality of sub-transactions in combination with a DAG structure, so that the
atomicity and consistency of the transactions are ensured; in a high-frequency transaction scene, the
throughput and the
processing rate of the
system are remarkably improved, and the transaction
delay is effectively reduced; a DAG committee is formed in cross-fragment internal nodes, a DAG account book is maintained, efficient cross-fragment
transaction processing is achieved, dependence on a
trusted third party is eliminated, and communication and
verification cost is remarkably reduced.