Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Account book recording method and device based on block chain and terminal equipment

A recording method and blockchain technology, applied in the blockchain field, can solve the problems of large amount of calculation, low efficiency, and high cost, and achieve the effects of ensuring equality, reducing the amount of calculation, and improving efficiency

Inactive Publication Date: 2019-05-21
深圳市极致游科技有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a blockchain-based ledger recording method, device, and terminal equipment to solve the problems of high cost, large amount of calculation, and low efficiency of the ledger recording method in the prior art

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Account book recording method and device based on block chain and terminal equipment
  • Account book recording method and device based on block chain and terminal equipment
  • Account book recording method and device based on block chain and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Such as figure 1 As shown, this embodiment provides a blockchain-based account book recording method, which can be applied to terminal devices such as PCs and tablet computers. The blockchain-based ledger recording method provided in this embodiment includes:

[0042] S101. Acquire ledger data sent by a non-accounting node; wherein, the ledger data includes node data, signature and hash.

[0043] In a specific application, the ledger data sent by all non-bookkeeping nodes on the current blockchain is obtained, wherein the ledger data includes node data, signatures and hashes collected by non-bookkeeping nodes.

[0044] S102. Pack the ledger data of all the non-accounting nodes to generate a preset data block; wherein, the block header of the preset data block includes the hash of the previous preset data block, the preset The hash and timestamp of the data block; the block body of the preset data block includes the ledger data body collected by all nodes within the pr...

Embodiment 2

[0055] Such as figure 2 As shown, this embodiment is a further description of the method steps in the first embodiment. In this embodiment, after step S103, include:

[0056] S104. Obtain confirmation information sent by the node; wherein the confirmation information includes confirmation information of the node to the ledger data of the node in the ledger block.

[0057] In a specific application, the confirmation information sent by the node on the current blockchain is obtained to determine that the node confirms the ledger data of the node in the ledger block. Wherein, the confirmation information includes the node's confirmation information of the ledger data of the node in the ledger block.

[0058] S105. Mark the node sending the confirmation information as a confirmed node, and record the number of the confirmed nodes; if the number of the confirmed nodes meets the first preset threshold, it is determined that the confirmation of the ledger block is successful .

...

Embodiment 3

[0062] Such as image 3 As shown, this embodiment is a further description of the method steps in the first embodiment. In this embodiment, after step S103, it also includes:

[0063] S106. Acquire determination error information sent by the node.

[0064] In a specific application, the determination error information sent by the node on the current block chain is obtained to know the information that the node determines that the node's ledger data in the ledger block is wrong. Incorrect information about ledger data.

[0065] S107. Mark the node sending the determination error information as an error node, and record the number of the error nodes.

[0066] In a specific application, the node that sends judgment error information is marked as an error node, and the number of error nodes is recorded.

[0067] S108. If the number of the error nodes satisfies the second preset threshold, it is determined that the confirmation of the ledger block fails.

[0068] In a specific...

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

PUM

No PUM Login to View More

Abstract

The invention is applicable to the technical field of block chains, and provides an account book recording method and device based on a block chain and terminal equipment, and the method comprises thesteps: obtaining account book data sent by a non-accounting node, Wherein the account book data comprises node data, signatures and hash; packaging Account book data of all the non-accounting nodes,and generating a preset data block, Wherein the block head of the preset data block comprises a hash of a previous preset data block, a hash of the preset data block and a timestamp, the block body ofthe preset data block comprises account book data bodies collected by all nodes in a preset time period, the nodes comprise the non-accounting node and the accounting node; And generating an accountbook block according to the preset data block and the accounting node, and broadcasting the account book block to the whole network. the nodes output blocks in turn for accounting, the equivalence between the nodes is guaranteed, the calculated amount in the account book record is reduced, and the efficiency of the account book record is improved.

Description

technical field [0001] The invention belongs to the technical field of block chains, and in particular relates to a block chain-based ledger recording method, device and terminal equipment. Background technique [0002] In recent years, the application method of ledger recording based on the Internet of Things has become more and more extensive. At present, ledger recording methods generally include centralized ledger technology or blockchain ledger. [0003] However, the above ledger recording method is costly, computationally intensive, and inefficient. Contents of the invention [0004] In view of this, the embodiments of the present invention provide a blockchain-based ledger recording method, device, and terminal equipment to solve the problems of high cost, large amount of calculation, and low efficiency of ledger recording methods in the prior art. [0005] The first aspect of the embodiments of the present invention provides a blockchain-based account book recordi...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/27G06F16/22
Inventor 李俊超
Owner 深圳市极致游科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products