Block chain packing and storing method

A blockchain and block technology, applied in the field of blockchain technology, can solve problems such as large-scale concurrency restrictions, reduce delays or errors, increase the number of concurrency, and speed up processing.

Active Publication Date: 2016-06-01
HANGZHOU FUZAMEI TECH CO LTD
View PDF4 Cites 78 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Existing bitcoin-based blockchain technology solutions use a single machine to handle balance ver...

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
  • Block chain packing and storing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] Embodiment 1, with reference to figure 1 :

[0027] The packaging and storage method of the blockchain, when a public key address has multiple expenditures in the same block, it must be verified in turn whether the balance of the public key address is sufficient. Here, the expenditure addresses are divided into 4 categories according to the address range (00**, 01 **, 10**, 11**), independent threads or processes or servers can be used to verify transactions separately to ensure that the same payment address does not exceed the balance, the steps are as follows:

[0028] Step S1: The packaging server receives the transaction records, and segments them sequentially according to the address range (such as 00**, 01**, 10**, 11**), corresponding to servers A1, A2, A3, and A4, and assigns the payment address to the above The address interval segments are put into corresponding different threads or different processes or different servers;

[0029] Step S2: Check the validi...

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

Disclosed is a block chain packing and storing method.When multiple expenditures occur at a public key address, whether the balance is sufficient or not must be verified sequentially; expenditure addresses are classified according to address range, transactions can be verified respectively according to different threads or processes, and a same expenditure address can be ensured not to exceed the balance; the balance added by received money in each address range is transmitted to a server that the corresponding address range is in, and final balance is calculated again; during data storing, in order to overcome limitation of disk writing speed, disk writing can be performed on multiple servers circularly and sequentially, division modulus-taking mapping can be performed on block chain block height and number of the servers, or a corresponding relationship between the block height and the servers can be used as metadata to be managed by a special metadata server; during data accessing, the metadata server is accessed first, the server corresponding to the block height is acquired, data size of disk writing in each time is set, and time when disk writing of each time is finished can be made not to be greater than time when disk writing of next time should be started.

Description

technical field [0001] The present invention relates to the field of Internet technology, especially block chain technology. Background technique [0002] The existing Bitcoin-based blockchain technology solutions all use a single machine to handle balance verification and packaging. Due to the limitations of bandwidth and hard disk read and write, large-scale concurrency is limited. Contents of the invention [0003] In order to overcome the deficiencies of the above-mentioned prior art, the packaging storage method of the blockchain of the present invention classifies transaction records, so that transaction verification, balance verification, and packaging storage can be distributed to multiple servers, thereby increasing the amount of concurrency. [0004] The technical scheme adopted in the present invention is: [0005] 1. In the same block, when a public key address has multiple expenditures, it must be verified in turn whether the balance is sufficient. Here, the ...

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
IPC IPC(8): G06F9/50G06Q40/04
CPCG06F9/5027G06F2209/5017G06Q40/04
Inventor 吴思进王志文
Owner HANGZHOU FUZAMEI TECH CO LTD
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