Database write-in method and system based on block chain network

A technology for writing systems and databases, applied in the field of blockchain, can solve problems such as inconsistency in reading and writing, and achieve the effect of ensuring consistent reading and writing

Active Publication Date: 2017-05-03
BEIJING ZHONGXIANG BIT TECH
View PDF6 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the period before the consensus is passed, it will lead to the problem of inconsistency in reading and writing

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
  • Database write-in method and system based on block chain network
  • Database write-in method and system based on block chain network
  • Database write-in method and system based on block chain network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0025] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0026] figure 1 It is a flowchart of a database writing method based on a blockchain network provided by an embodiment of the present invention.

[0027] Such as figure 1 As shown, in this embodiment, a database writing method based on a block chain network provided by the present invention incl...

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 provides a database write-in method and system based on a block chain network. The method comprises the following steps: receiving transaction information comprising database operation; establishing database transaction according to the database operation, and storing the database transaction in a local database; sending the transaction information into a current block chain network to participate in consensus; receiving returned consensus result information and judging whether the transaction information passes through the consensus or not; if yes, submitting the database transaction in the local database; and if not, retreating the database transaction in the local database. The database operation is stored in the database before the consensus is performed in a database transaction manner, that the database transaction is submitted or retreated is judged according to the consensus result after the consensus is completed, so that read-write consistency of the database is guaranteed in the consensus process.

Description

technical field [0001] This application relates to the technical field of block chain, in particular to a database writing method and system based on block chain network. Background technique [0002] For database operations through transactions in the blockchain network, the transaction information needs to participate in the consensus of the blockchain network. After each node votes to determine whether the transaction is passed, the voting process takes a certain amount of time. For example, every transaction on the Ripple network After submitting, it takes 3-8 seconds for the whole network to vote. During the period before the consensus is passed, it will lead to the problem of inconsistency in reading and writing. Contents of the invention [0003] In view of the above-mentioned defects or deficiencies in the prior art, it is desired to provide a database writing method and system based on a blockchain network that ensures consistent reading and writing of the databa...

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): G06F17/30
CPCG06F16/22G06F16/2365G06F16/25
Inventor 陈姝程双全卢小明
Owner BEIJING ZHONGXIANG BIT TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products