[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107451011A - The corrigenda method and system of the block chain of parallel increase block - Google Patents

The corrigenda method and system of the block chain of parallel increase block Download PDF

Info

Publication number
CN107451011A
CN107451011A CN201710425446.2A CN201710425446A CN107451011A CN 107451011 A CN107451011 A CN 107451011A CN 201710425446 A CN201710425446 A CN 201710425446A CN 107451011 A CN107451011 A CN 107451011A
Authority
CN
China
Prior art keywords
block
data
copy
corrigenda
chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710425446.2A
Other languages
Chinese (zh)
Other versions
CN107451011B (en
Inventor
谭智勇
王子龙
许进
张勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Brilliant Hi Tech Development Co Ltd
Original Assignee
Beijing Brilliant Hi Tech Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Brilliant Hi Tech Development Co Ltd filed Critical Beijing Brilliant Hi Tech Development Co Ltd
Publication of CN107451011A publication Critical patent/CN107451011A/en
Application granted granted Critical
Publication of CN107451011B publication Critical patent/CN107451011B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiments of the invention provide a kind of corrigenda method and system of the block chain of parallel increase block, belong to block chain technical field, method includes:Receive the data corrigenda request for the block volume data of block in current established extension block chain;The copy block according to corresponding to the block volume data of the first block and the second data where the first data in data corrigenda request generate the corrigenda of this data, the block volume data of block volume data first block of the copy block, in addition to first data are modified to second data, other data correspond to identical;Using either block in the extension block chain as father's block, using the copy block as sub-block, by the copy region block chaining into the block chain.The scheme of the embodiment of the present invention, it is intended in the spreading process of existing block chain, by increasing copy block parallel in block chain, to realize the corrigenda corrigendum to the block volume data in original block.

Description

The corrigenda method and system of the block chain of parallel increase block
Technical field
The embodiment of the present invention belongs to block chain technical field, more particularly to a kind of corrigenda of the block chain of parallel increase block Method and system.
Background technology
With the continuous development of internet, block chain technology is arisen at the historic moment, and it is a kind of internet database technology, is had Decentralization, it is open and clear the characteristics of.Specifically, the essence of block chain technology is decentralization and resides in the number of distributed frame According to storage, transmission and the method proved, substitute dependence of the current internet to central server with data block so that all numbers According to change or trading item be all recorded simultaneously on multiple account book nodes.Due to the distribution of no central control point Peer-to-peer network, and the method operated using distributed collective, it may be said that block chain is " to disclose big account book " on network.It Many nodes be present, each node can observe whole account book, and participate in safeguarding jointly, and its income is then to be kept accounts Right, and a complete database can be replicated, individual node can not change database, so as to ensure that account book data It is safe and reliable.
Instantly, the organization and management for data being carried out using block chain technology has been widely used various business necks Domain.
Inventor has found that prior art has following defect during the present invention is realized:
Existing block chain is the extension direction along block chain, sequentially generates new block, and meet one between block The checking of cause property, this is maliciously tampered also for preventing the data in block.But in some cases, when on block chain Block volume data in some block is implicitly present in mistake, or for supervision or the specific demand of police department, it is necessary to be repaiied Change corrigendum, but if being modified by force to the data, the consistency checking of block chain will certainly be caused not by so as to occur Change the contradiction between block data and block chain consistency checking.
The content of the invention
The embodiment of the present invention provides a kind of corrigenda method and system of the block chain of parallel increase block, it is intended to existing block In the spreading process of chain, in the case that block volume data in the block chain to having generated is without modification, by block Increase copy block in chain parallel, to realize the corrigenda corrigendum to the block volume data in original block.
To reach above-mentioned purpose, the embodiments of the invention provide a kind of corrigenda method of the block chain of parallel increase block, The block chain includes an extension block chain, or an extension block chain and at least one and extension block chain The copy block of link, the corrigenda method include:Receive the area for block in the current established extension block chain The data corrigenda request of block data, the data corrigenda request include:First data to be corrected errors in printing are in the extension block Positional information in chain, and the second data after being corrected errors in printing to first data;According to where first data the The block volume data of one block and second data generate copy block corresponding to the corrigenda of this data, the copy block Block volume data first block block volume data, in addition to first data are modified to second data, Other data correspond to identical;Using either block in the extension block chain as father's block, sub-district is used as using the copy block Block, by the copy region block chaining into the block chain.
The embodiments of the invention provide a kind of corrigenda system of the block chain of parallel increase block, the block chain includes one Individual extension block chain, or an extension block chain and at least one copy block linked with the extension block chain, The corrigenda system includes:Corrigenda request receiving module, for receiving for the current established extension block Lian Zhong areas The data corrigenda request of the block volume data of block, the data corrigenda request include:First data to be corrected errors in printing are prolonged described Positional information in the block chain of exhibition section, and the second data after being corrected errors in printing to first data;Copy block generation module, The corrigenda of this data is generated for the block volume data of the first block and second data according to where first data Corresponding copy block, the block volume data of block volume data first block of the copy block, except described first Data are modified to outside second data, and other data correspond to identical;Copy region block chaining module, for the zones of extensibility Either block is as father's block in block chain, using the copy block as sub-block, by the copy region block chaining to the area In block chain.
The corrigenda method and system of the block chain of the parallel increase block of the embodiment of the present invention, please receiving data corrigenda After asking, according to the positional information of the first data to be corrected errors in printing in data corrigenda request in extension block chain, and counted to first According to the second data after being corrected errors in printing, copy block corresponding to the corrigenda of this data, the block volume data of the copy block are generated Compared with the block volume data of the first block where the first data, in addition to the first data are modified to the second data, other data pair Should be identical;Using either block in extension block chain as father's block, using the copy block that is currently generated as sub-block, by copy Block is linked in block chain, so that in the case that the block volume data in the block chain to having generated is without modification, is led to Cross increases copy block parallel in block chain, to realize the corrigenda corrigendum to the block volume data in original block.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
Fig. 1 is the aspect graph one of block chain provided in an embodiment of the present invention;
Fig. 2 is the aspect graph two of block chain provided in an embodiment of the present invention;
Fig. 3 is the aspect graph three of block chain provided in an embodiment of the present invention;
Fig. 4 is the corrigenda method flow diagram of the block chain of parallel increase block provided in an embodiment of the present invention;
Fig. 5 is the aspect graph four of block chain provided in an embodiment of the present invention;
Fig. 6 a are the aspect graph five of block chain provided in an embodiment of the present invention;
Fig. 6 b are the aspect graph six of block chain provided in an embodiment of the present invention;
Fig. 7 is the corrigenda system schematic one of the block chain of parallel increase block provided in an embodiment of the present invention;
Fig. 8 is the corrigenda system schematic two of the block chain of parallel increase block provided in an embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Firstly the need of explanation, the embodiment of the present invention will provide a kind of corrigenda side of the block chain of parallel increase block Method, with the block volume data in the block chain to having generated without modification in the case of, realize to block body in block chain The corrigenda corrigendum of data.So-called parallel increase block, refers to be directed to the block that each is corrected errors in printing in extension block chain, Only included in each copy block corresponding to it when secondary generation copy region block, relative to the corrigenda result data of original block, and And these copy blocks are linked on extension block chain respectively in a parallel fashion.Specifically, by receiving for current shape Into extension block chain in block block volume data data correct errors in printing request, the data corrigenda request include, it is to be corrected errors in printing Positional information of first data in extension block chain and the second data after being corrected errors in printing to the first data;Surveyed according to data The block volume data of first block and the second data where the first data ask by mistake in are generated corresponding to the corrigenda of this data Copy block, the block volume data of the copy block compared with the first block block volume data, except the first data are modified to second Outside data, other data correspond to identical;Using either block in extension block chain as father's block, sub-district is used as using copy block Block, by copy region block chaining into block chain, so as to be used as block body number in the first block using block volume data in copy block According to corrigenda result, realize block volume data corrigenda corrigendum.
Secondly it should be noted that the transaction that the block volume data of each block is recorded in block chain in the embodiment of the present invention Information is not limited to the information of " account book " or " financial transaction " in business, can also broad sense be not understood as needing pass through block The diversified object data of this data tissue format management of chain, the business administration data being such as managed for enterprise, pin Project management of process data of progress tracking etc. are carried out to project.In the embodiment of the present invention, to extension block chain sheet in block chain The form of body and extension direction do not limit, simply during extension block chain normally extends, by extension block chain In extra increase copy block mode, carry out corrigendum corrigenda to the block volume data of block in block chain, at the same need not pair Modify corresponding block volume data part in former extension block chain.For example, the extension form of extension block chain can be The block chain of traditional single-chain as shown in Figure 1 or it is as shown in Figure 2 be on the whole tree structure block chain (each block only has father's block in the block chain, and has one or more sub-blocks), can also be tool as shown in Figure 3 There is the block chain of directed acyclic pattern structure (at least one block in the block chain be present has one or more father's blocks).
The corrigenda method of the block chain of the parallel increase block of the embodiment of the present invention will be described in detail below.
Embodiment one
Fig. 4 is the corrigenda method flow diagram of the block chain of parallel increase block provided in an embodiment of the present invention, this method Executive agent can be the system with data processing function, including terminal and/or server.The present embodiments relate to extension The concept of block chain, so-called extension block chain are:When generating new block for new caused data, the new block is in whole block The Partial Block chain linked in chain is referred to as extension block chain.In the present embodiment, a complete block chain may include one Extension block chain, or an extension block chain and at least one copy block linked with extension block chain.These copy regions Block is to play the purpose that corrigenda corrigendum is carried out to the block volume data of the block in extension block chain, is not intended as to be new caused The new block of data generation.
As shown in figure 4, the corrigenda method of the block chain of the parallel increase block comprises the following steps:
S410, the data corrigenda request for the block volume data of block in current established extension block chain is received, Data corrigenda request includes:The positional information of the first data to be corrected errors in printing in extension block chain, and to the first data The second data after being corrected errors in printing;
Wherein, described current established extension block chain refers to the extension block chain by current time, formed The block chain form presented on the whole.
Specifically, can when the block volume data of block in needing to current established extension block chain is corrected errors in printing Data corrigenda request is sent to said system, data corrigenda request includes:First data to be corrected errors in printing are in extension block chain In positional information, and the second data after being corrected errors in printing to the first data.Wherein, the first described data are positioned at described Partial Block volume data in the block of extension block chain, and the number of objects that the Partial Block volume data is corrected errors in printing as this According to first data can be the data for only including being corrected errors in printing, or contain the data acquisition system including the data corrected errors in printing.
In order to facilitate the block body of each block in description block chain (including block and copy block in extension block chain) Data, the present embodiment divide the block volume data of each block in block chain for multiple Data Entries, in each Data Entry Independent includes a Transaction Information, and a corresponding data ID, such as shown in Fig. 5, it illustrates block body in block chain The existence form of data, i.e., it can include a plurality of Data Entry in the block volume data of each block.In Fig. 5, by Block1, In Block2 and the extension block chain of block3 ... compositions, the tx01 in block Block2:Olddata, as one Data Entry, its data ID are tx01, and Transaction Information is that (olddata refers to not to be corrected errors in printing also olddata in extension block chain Original transaction information).In fact, above-mentioned first data can be handed over corresponding to one or more of Data Entries to be corrected errors in printing Easy information or the set for including the data including these Transaction Informations to be corrected errors in printing.In order to facilitate data management, this reality The system in example is applied when receiving and processing data corrigenda request, is with the number in already present block volume data in block chain It is unit according to entry, handles one by one, i.e., the number for a Data Entry is only included in the data corrigenda request received every time Asked according to corrigenda.
Specifically, can when the block volume data of block during block chain manager needs to extension block chain is corrected errors in printing The positional information of the first data to be corrected errors in printing in extension block chain is inputted to system, the positional information can be specifically the first number According to the block at place numbering (numbering of each block uniquely determines in block chain, as " Block1 " in Fig. 5, " Block2 ", " Block3 ", can be as the numbering of block), and data ID (such as Fig. 5 of first data in the block volume data of block In " tx01 ").Pass through the block number where locking the first data in extension block chain, and the block body in the block Data ID cans in data uniquely determine a Data Entry and its comprising Transaction Information.Therefore, need exist for illustrating , for the Transaction Information in some Data Entry correct errors in printing just has determined when determining to carry out data corrigenda, And when specifically performing data corrigenda, it is only necessary to which locking is position of first data in the extension block chain by corrigenda data Information, the particular content without clearly inputting the first data to system again.
The second described data, refer to the first data corrected errors in printing after data, that is, be used for replace the first data corresponding to Part data.Include two parts content in the data corrigenda request inputted to system, i.e.,:First data to be corrected errors in printing are being prolonged Positional information in the block chain of exhibition section, and the second data after being corrected errors in printing to the first data.
In practical application scene, block chain manager may disposably input a plurality of Transaction Information in block to system Positional information in chain, and the object information after being corrected errors in printing to these Transaction Informations, system can be according to these Transaction Informations Positional information in block chain, the data entries corresponding to it are analyzed, so as in units of data entries, be regarded as multiple Data corrigenda request is handled, i.e., only please comprising the data corrigenda for a Data Entry in each data corrigenda request Ask.
S420, the block volume data of the first block and the second data according to where the first data generate the corrigenda of this data Corresponding copy block, the block volume data of the copy block compared with the first block block volume data, except the first data are changed Outside for the second data, other data correspond to identical.
Specifically, system extracts the first data to be corrected errors in printing in extension block chain from the data corrigenda request of reception In positional information, and the second data after being corrected errors in printing to the first data, and the position according to the first data in block chain Confidence breath finds block where the first data, i.e. the first block, and according to the block volume data in first block and the Two data ghost blocks.For example, first the block volume data of the first block can be replicated, then by replicate data First data replace with the second data, and are used as block volume data ghost block, the copy using the replicate data after replacement The block volume data of block is corresponding identical on the whole, differed only in, by first compared with the block volume data of the first block Data modification is for the second data.
Here illustrate, the block head data content of copy block does not limit in this programme, and keeper can be according to need Ask, control information is added in block head.For example, the copy can be added into the block head of the copy block of this corrigenda generation The positional information of the generation temporal information of block and/or the first data for being corrected errors in printing in extension block chain;In another example to this Version number corresponding to the copy block is added in the block head of the copy block of corrigenda generation.It is same in for extension block chain , can be by these copy blocks by corrigenda when block volume data in one block is repeatedly corrected errors in printing and generates multiple copy blocks Time, order add version number with carry out correct errors in printing version differentiation.
S430, using either block in extension block chain as father's block, using copy block as sub-block, by copy block It is linked in block chain.
Specifically, a block is chosen from extension block chain as father's block, using the copy block that is currently generated as Sub-block, by copy region block chaining into block chain, so that in a manner of additionally increasing copy block on extension block chain, it is right The block volume data of block carries out corrigenda corrigendum in extension block chain.
When choosing father block of the block as copy block from extension block chain, can arbitrarily choose in principle, As long as (corresponding relation can be by copy region for the corresponding relation that can embody between the copy block and the block corrected errors in printing Control information is added in the block head of block to realize, or is embodied by the linking relationship between block).But in order to apparent The block for showing to be corrected errors in printing and copy block between relation, in the block chain that can extend, this first number corrected errors in printing According to first block at place as father's block, using copy block as sub-block, by copy region block chaining into block chain.
As shown in Figure 6 a, the block chain aspect graph for copy region block chaining is formed afterwards into block chain.In figure, zones of extensibility The data ID in block " Block2 " in block chain is respectively the data of " tx01 " and " tx02 " respectively in copy block Corrected errors in printing in " Block2 (ver2.0) " and copy block " Block2 (ver3.0) ".It is corresponding in block chain in the present embodiment Block data table in, the version number for each original block being defaulted as in extension block chain is ver1.0, then can compile former block Number+version number as final block number, for example, the block number of original block:" Block2 (ver1.0) ", copy block Block number:“Block2(ver2.0)”、“Block2(ver3.0)”.
By taking Fig. 6 a as an example, it can also increase original block corresponding to the block in the block head of the copy block of formation Data ID corresponding to information and the first data corrected errors in printing.For example, increase information in Block2 (ver2.0) block head: " ver1.0Block2 (ver1.0) " and " tx01 ", increase information in Block2 (ver3.0) block head: " ver1.0Block2 (ver1.0) " and " tx02 ".
In addition, in concrete application scene, it is also possible to which same first data existed for an original block carry out multiple The situation of corrigenda, every time corrigenda can correspond to the copy block for generating a more highest version, and such as Fig. 6 b, it is for original block The block chain that data ID by tx01 the first data formed after repeatedly correcting errors in printing in Block2 (ver1.0), wherein, For first data are carried out with the copy block that is formed after first time corrigenda, Block2 (ver3.0) is Block2 (ver2.0) First data are carried out second with the copy block formed after correcting errors in printing.
The corrigenda method of the block chain of the parallel increase block of the embodiment of the present invention, after data corrigenda request is received, According to the positional information of the first data to be corrected errors in printing in data corrigenda request in extension block chain, and the first data are carried out The second data after corrigenda, copy block corresponding to the corrigenda of this data is generated, the block volume data of the copy block is compared with first The block volume data of the first block where data, in addition to the first data are modified to the second data, other data correspond to identical; Using either block in extension block chain as father's block, using the copy block that is currently generated as sub-block, by copy block chain It is connected in block chain, so that in the case that the block volume data in the block chain to having generated is without modification, by area Increase copy block in block chain parallel, to realize the corrigenda corrigendum to the block volume data in original block.
Further, in the block head of the copy block of generation, the generation time letter such as the copy block can be increased The positional information of breath and/or the first data for being corrected errors in printing in extension block chain, can also add version corresponding to the copy block This number, so as to clearly embody the attribute information of copy block, and itself and the corresponding corresponding relation by corrigenda block, Facilitate consultation.
Embodiment two
Fig. 7 is the corrigenda system schematic of the block chain of parallel increase block provided in an embodiment of the present invention, the block Chain includes an extension block chain, or an extension block chain and at least one copy block linked with extension block chain. As shown in fig. 7, the corrigenda system of the block chain of the parallel increase block includes:Corrigenda request receiving module 710, the life of copy block Into module 720 and copy region block chaining module 730, wherein:
Corrigenda request receiving module 710, for receiving the block body for block in current established extension block chain The data corrigenda request of data, data corrigenda request include:The position of the first data to be corrected errors in printing in extension block chain Information, and the second data after being corrected errors in printing to the first data;Copy block generation module 720, for according to the first data The block volume data and the second data of the block of place first generate copy block corresponding to the corrigenda of this data, the copy block Block volume data compared with the block volume data of the first block, in addition to the first data are modified to the second data, other data are corresponding It is identical;Copy region block chaining module 730, for using either block in extension block chain as father's block, using copy block as Sub-block, by copy region block chaining into block chain.
Further, the copy region block chaining module 730 can be specifically used for, so that in extension block chain, this is corrected errors in printing The first data where the first block as father's block, using copy block as sub-block, by copy region block chaining to described In block chain.
Further, on the basis of system shown in Figure 7, as shown in figure 8, said system also includes:
Information add module 740, for this corrigenda generation copy block block head in add the copy block Positional information in extension block chain of generation temporal information and/or the first data for being corrected errors in printing
Further or interchangeable, above- mentioned information add module 740 can be additionally used in the copy region to this corrigenda generation Version number corresponding to the copy block is added in the block head of block.
Further, positional information of above-mentioned first data in extension block chain includes:Block where first data Numbering, and data ID of first data in the block volume data of block.
The corrigenda system of the block chain of parallel increase block shown in the present embodiment can be used for performing the method shown in Fig. 4 Step, step principle is not repeated at this.
The corrigenda system of the block chain of the parallel increase block of the embodiment of the present invention, after data corrigenda request is received, According to the positional information of the first data to be corrected errors in printing in data corrigenda request in extension block chain, and the first data are carried out The second data after corrigenda, copy block corresponding to the corrigenda of this data is generated, the block volume data of the copy block is compared with first The block volume data of the first block where data, in addition to the first data are modified to the second data, other data correspond to identical; Using either block in extension block chain as father's block, using the copy block that is currently generated as sub-block, by copy block chain It is connected in block chain, so that in the case that the block volume data in the block chain to having generated is without modification, by area Increase copy block in block chain parallel, to realize the corrigenda corrigendum to the block volume data in original block.
Further, in the block head of the copy block of generation, the generation time letter such as the copy block can be increased The positional information of breath and/or the first data for being corrected errors in printing in extension block chain, can also add version corresponding to the copy block This number, so as to clearly embody the attribute information of copy block, and itself and the corresponding corresponding relation by corrigenda block, Facilitate consultation.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Method described in some parts of example or embodiment.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (10)

  1. A kind of 1. corrigenda method of the block chain of parallel increase block, it is characterised in that the block chain includes a zones of extensibility Block chain, or an extension block chain and at least one copy block linked with the extension block chain,
    The corrigenda method includes:
    Receive the data corrigenda request for the block volume data of block in the current established extension block chain, the number Include according to corrigenda request:The positional information of the first data to be corrected errors in printing in the extension block chain, and to described first Data corrected errors in printing after the second data;
    The block volume data of the first block and second data according to where first data generate the corrigenda of this data Corresponding copy block, the block volume data of block volume data first block of the copy block, except described first Data are modified to outside second data, and other data correspond to identical;
    Using either block in the extension block chain as father's block, using the copy block as sub-block, by the copy Block is linked in the block chain.
  2. 2. corrigenda method according to claim 1, it is characterised in that described to be made with either block in the extension block chain For father's block, using the copy block as sub-block, the copy region block chaining is included to the block chain:
    So that in the extension block chain, the first block where this first data corrected errors in printing is as father's block, with institute Copy block is stated as sub-block, by the copy region block chaining into the block chain.
  3. 3. corrigenda method according to claim 1, it is characterised in that methods described also includes:
    To this corrigenda generation the copy block block head in add the copy block generation temporal information and/or by Positional information of first data of corrigenda in the extension block chain.
  4. 4. corrigenda method according to claim 1, it is characterised in that methods described also includes:
    Version number corresponding to the copy block is added into the block head of the copy block of this corrigenda generation.
  5. 5. the corrigenda method according to any one of claim 1-4, it is characterised in that first data are in the extension Positional information in block chain includes:The numbering of block where first data, and first data are in the block Block volume data in data ID.
  6. 6. a kind of corrigenda system of the block chain of parallel increase block, it is characterised in that the block chain includes a zones of extensibility Block chain, or an extension block chain and at least one copy block linked with the extension block chain,
    The corrigenda system includes:
    Corrigenda request receiving module, for receiving the block volume data for block in the current established extension block chain Data corrigenda request, data corrigenda request includes:The position of the first data to be corrected errors in printing in the extension block chain Confidence ceases, and the second data after being corrected errors in printing to first data;
    Copy block generation module, the block volume data and described second for the first block according to where first data Data generate copy block corresponding to the corrigenda of this data, the area of block volume data first block of the copy block Block data, in addition to first data are modified to second data, other data correspond to identical;
    Copy region block chaining module, for using either block in the extension block chain as father's block, with the copy block As sub-block, by the copy region block chaining into the block chain.
  7. 7. corrigenda system according to claim 6, it is characterised in that the copy region block chaining module is specifically used for,
    So that in the extension block chain, the first block where this first data corrected errors in printing is as father's block, with institute Copy block is stated as sub-block, by the copy region block chaining into the block chain.
  8. 8. corrigenda system according to claim 6, it is characterised in that the system also includes:
    Information add module, the life of the copy block is added in the block head for the copy block to this corrigenda generation Into the positional information of temporal information and/or first data corrected errors in printing in the extension block chain.
  9. 9. corrigenda system according to claim 6, it is characterised in that the system also includes:
    Information add module, it is corresponding that the copy block is added in the block head for the copy block to this corrigenda generation Version number.
  10. 10. the corrigenda system according to any one of claim 6-9, it is characterised in that first data are prolonged described Positional information in the block chain of exhibition section includes:The numbering of block where first data, and first data are in the area Data ID in the block volume data of block.
CN201710425446.2A 2017-03-24 2017-06-08 Error correction method and system for block chain of parallel added blocks Expired - Fee Related CN107451011B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2017101811040 2017-03-24
CN201710181104 2017-03-24

Publications (2)

Publication Number Publication Date
CN107451011A true CN107451011A (en) 2017-12-08
CN107451011B CN107451011B (en) 2020-12-25

Family

ID=60486802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710425446.2A Expired - Fee Related CN107451011B (en) 2017-03-24 2017-06-08 Error correction method and system for block chain of parallel added blocks

Country Status (1)

Country Link
CN (1) CN107451011B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033886A (en) * 2018-06-20 2018-12-18 北京欧链科技有限公司 A kind of corrigenda of block chain method and device, storage medium, electronic equipment
CN113516557A (en) * 2021-07-14 2021-10-19 桂林电子科技大学 Block chain with directed acyclic graph structure and implementation method thereof
US11522726B1 (en) * 2021-06-29 2022-12-06 Fmr Llc Systems and methods for reading, storing, and correcting historical records in distributed ledgers

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110191530A1 (en) * 2003-12-30 2011-08-04 Gonzalez Carlos J Adaptive Deterministic Grouping of Blocks into Multi-Block Units
CN106330431A (en) * 2016-08-29 2017-01-11 北京瑞卓喜投科技发展有限公司 Data processing method, apparatus and system based on block chain technology
US20170078299A1 (en) * 2015-09-11 2017-03-16 Bank Of America Corporation Controlling access to data
CN106534317A (en) * 2016-11-17 2017-03-22 杭州云象网络技术有限公司 Disaster recovery cloud storage system construction method based on block chain technology
CN106528775A (en) * 2016-10-28 2017-03-22 山东明和软件有限公司 Private block chain operation support system that supports logical multi-chain, and working method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110191530A1 (en) * 2003-12-30 2011-08-04 Gonzalez Carlos J Adaptive Deterministic Grouping of Blocks into Multi-Block Units
US20170078299A1 (en) * 2015-09-11 2017-03-16 Bank Of America Corporation Controlling access to data
CN106330431A (en) * 2016-08-29 2017-01-11 北京瑞卓喜投科技发展有限公司 Data processing method, apparatus and system based on block chain technology
CN106528775A (en) * 2016-10-28 2017-03-22 山东明和软件有限公司 Private block chain operation support system that supports logical multi-chain, and working method thereof
CN106534317A (en) * 2016-11-17 2017-03-22 杭州云象网络技术有限公司 Disaster recovery cloud storage system construction method based on block chain technology

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033886A (en) * 2018-06-20 2018-12-18 北京欧链科技有限公司 A kind of corrigenda of block chain method and device, storage medium, electronic equipment
US11522726B1 (en) * 2021-06-29 2022-12-06 Fmr Llc Systems and methods for reading, storing, and correcting historical records in distributed ledgers
CN113516557A (en) * 2021-07-14 2021-10-19 桂林电子科技大学 Block chain with directed acyclic graph structure and implementation method thereof
CN113516557B (en) * 2021-07-14 2022-09-23 桂林电子科技大学 Block chain with directed acyclic graph structure and implementation method thereof

Also Published As

Publication number Publication date
CN107451011B (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN107423163A (en) The corrigenda method and system of the block chain of overall serial increase block
CN106897352A (en) The generation method and system of the block chain modified in expansion
DE112018005894T5 (en) MACHINE LEARNING TO INTEGRATE KNOWLEDGE AND NATURAL LANGUAGE PROCESSING
CN106897353A (en) The generation method and system of the block chain that centre type multidimensional is expanded
CN106844523A (en) The generation method and system of the block chain that sequence type multidimensional is expanded
CN104361119B (en) A kind of method and system of data scrubbing
CN107463597A (en) For the passive verification method and system of the block chain for changing block volume data
CN108280646A (en) Block chain group chain method based on alliance's chain and block catenary system
CN106909605B (en) Method and system for generating block chain expanded along transverse direction
CN107391292A (en) The block chain verification method and system of corrigenda are realized for holding area block data
CN107451011A (en) The corrigenda method and system of the block chain of parallel increase block
CN107391557A (en) Block chain Series poll method and system for setting errata outside chain
CN111241589A (en) Database system, node and method
CN107451177A (en) For the querying method and system of the block chain of the single corrigenda of increase block
CN112905616B (en) Storage system of block chain account book
CN105872127B (en) A kind of IP address management system
CN107463596A (en) Block chain parallel query method and system for setting errata outside chain
CN111768202B (en) Payment verification method, payment verification node, full-quantity node and storage medium
CN107451007A (en) The verification method and system for the block chain corrected errors in printing for increase block
CN107426293A (en) The corrigenda method and system of the block chain of single serial increase block
Mitsyuk et al. Process model repair by detecting unfitting fragments?
CN107451179A (en) For the querying method and system of the block chain integrally corrected errors in printing for increasing block
CN107451178A (en) It is the block chain corrigenda method and system for having block volume data to keep block chain
EP3605377A1 (en) Computer-implemented method and system for providing a hierarchical block chain made from block chains
CN107451002A (en) For the Proactive authentication method and system for the block chain for changing block volume data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201225

CF01 Termination of patent right due to non-payment of annual fee