CN109492049A - Data processing, block generation and synchronous method for block chain network - Google Patents

Data processing, block generation and synchronous method for block chain network Download PDF

Info

Publication number
CN109492049A
CN109492049A CN201811108985.4A CN201811108985A CN109492049A CN 109492049 A CN109492049 A CN 109492049A CN 201811108985 A CN201811108985 A CN 201811108985A CN 109492049 A CN109492049 A CN 109492049A
Authority
CN
China
Prior art keywords
block
deleted
data
cryptographic hash
memory space
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
CN201811108985.4A
Other languages
Chinese (zh)
Other versions
CN109492049B (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.)
Shanghai Point Information Technology Co Ltd
Original Assignee
Shanghai Point Information Technology 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 Shanghai Point Information Technology Co Ltd filed Critical Shanghai Point Information Technology Co Ltd
Priority to CN201811108985.4A priority Critical patent/CN109492049B/en
Publication of CN109492049A publication Critical patent/CN109492049A/en
Application granted granted Critical
Publication of CN109492049B publication Critical patent/CN109492049B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of data processing for block chain network, block generates and synchronous method, calculates equipment, storage medium, the data processing method includes: that A. is deleted in response to the block data being stored in default memory space, it generates and deletes mark, it is described to delete the deleted block data of mark instruction, the default memory space can be associated with by least one block chain node visit in block chain network, the block data with target block;B. deletion mark is added and has deleted data list, it is described to have deleted data list and be stored in the default memory space.The deletion of the block data to block associations each in block chain may be implemented in technical solution of the present invention.

Description

Data processing, block generation and synchronous method for block chain network
Technical field
The present invention relates to block chain technical field more particularly to a kind of data processings for block chain network, block life At and synchronous method.
Background technique
Block chain (Blockchain) is the intelligent peer-to-peer network with distributed data base identification, propagation and information-recording Network, also referred to as value internet.Block chain technology includes guaranteeing that transmission and access are pacified using cryptography with block structure storing data Congruence can be realized data consistency storage, tamper-resistant, the technical system for going to center.
Currently, in Partial Block chain network, each node is owned by the account book data copy of full dose.With business Develop, the data on account book can sustainable growth.The form that data in block chain are divided into block is stored, each block It all include the cryptographic Hash (HASH) of previous block, the HASH of this block and the data of this block.The HASH of this block is base It is generated in the HASH of previous block and the data of this block.So the missing or data of any block change, can all lead Cause can not verify entire block chain integrality and can not tamper.
Summary of the invention
The embodiment provides a kind of data processings for block chain network, block generation, synchronous method.
The embodiment of the present invention provides a kind of data processing method for block chain network, the mesh in the block chain network Mark block includes the cryptographic Hash, the cryptographic Hash of the target block and the target block of the previous block of the target block The cryptographic Hash and storage address of each block data at least one associated block data, the cryptographic Hash of the target block It is according to the cryptographic Hash and storage address of each block data at least one described block data and the previous block Cryptographic Hash generate, the storage address of each block data indicates storage position of the block data in default memory space It sets, the default memory space can be by least one block chain node visit in block chain network, which comprises A. is rung Ying Yu is stored in the block data in the default memory space and is deleted, and generates and deletes mark, the deletion mark instruction quilt The block data of deletion;B. deletion mark is added and has deleted data list, it is described to have deleted data list and be stored in institute It states in default memory space.
In scheme described in the present embodiment, block data block separation storage associated with it, by being deleted in block data Except when formed deleted data list, can be realized the deletion of the block data to block associations each in block chain, to subtract The data volume of storing data in block of cells chain network realizes the flexibility of block chain network data storage.
It includes processor and memory, the target area in block chain network that the embodiment of the present invention, which also provides a kind of calculating equipment, Block includes the cryptographic Hash of the previous block of the target block, the cryptographic Hash of the target block, is associated with the target block At least one block data in each block data cryptographic Hash and storage address, the cryptographic Hash of the target block is root According to the cryptographic Hash and storage address of each block data at least one described block data and the Kazakhstan of the previous block What uncommon value generated, the storage address of each block data indicates storage location of the block data in default memory space, The default memory space can include processing by least one block chain node visit in block chain network, the calculating equipment Device and memory are stored with the computer instruction that can be run on the processor, the processor fortune on the memory Execute following steps when the row computer instruction: A. is deleted in response to the block data being stored in default memory space, It generates and deletes mark, it is described to delete the deleted block data of mark instruction;B. deletion mark is added and has deleted data List, it is described to have deleted data list and be stored in the default memory space.
The embodiment of the present invention also provides a kind of block generation method for block chain network, the block generation method packet Include: A. obtains the cryptographic Hash of previous block;B. it obtains and has deleted data list, and generate the Hash for having deleted data list It is worth, described to have deleted data list including deleting mark, the deletion, which identifies, indicates deleted block data, the deletion mark Know to be in response to be deleted in the block data being stored in default memory space and generate, it is described deleted data list and be stored in The default memory space, the default memory space can be visited by least one block chain node in the block chain network It asks;C. it is generated according to the cryptographic Hash for having deleted data list and storage address and the cryptographic Hash of the previous block current The cryptographic Hash of block, wherein the storage address instruction for having deleted data list is described to have deleted data list described pre- If the storage location in memory space;D. the cryptographic Hash at least based on the previous block, the cryptographic Hash of the current block, institute The cryptographic Hash and storage address for having deleted data list are stated, the current block is generated, wherein the current block is connected to institute After stating previous block.
Scheme described in the present embodiment can record the cryptographic Hash and storage address for having deleted data list within a block, lead to The access path for having deleted data list can be provided by crossing storage address, can be verified using the cryptographic Hash for having deleted data list Whether the data list of deletion of separation storage is tampered.
The embodiment of the present invention also provides a kind of calculating equipment, including processor and memory, is stored on the memory The computer instruction that can be run on the processor, the processor execute following step when running the computer instruction Rapid: A. obtains the cryptographic Hash of previous block;B. it obtains and has deleted data list, and generate the Hash for having deleted data list It is worth, described to have deleted data list including deleting mark, the deletion, which identifies, indicates deleted block data, the deletion mark Know to be in response to be deleted in the block data being stored in default memory space and generate, it is described deleted data list and be stored in The default memory space, the default memory space can be visited by least one block chain node in the block chain network It asks;C. it is generated according to the cryptographic Hash for having deleted data list and storage address and the cryptographic Hash of the previous block current The cryptographic Hash of block, wherein the storage address instruction for having deleted data list is described to have deleted data list described pre- If the storage location in memory space;D. the cryptographic Hash at least based on the previous block, the cryptographic Hash of the current block, institute The cryptographic Hash and storage address for having deleted data list are stated, the current block is generated, wherein the current block is connected to institute After stating previous block.
The embodiment of the present invention also provides a kind of synchronous method for block chain network, and the synchronous method includes: that A. is obtained Current block is taken, the current block includes the cryptographic Hash of previous block, the cryptographic Hash of current block, deleted data list Cryptographic Hash and storage address, described to have deleted data list include having deleted the mark of data, the mark for having deleted data Indicate deleted block data, the deletion mark is in response to be deleted in the block data being stored in default memory space It generates, it is described to have deleted data list and be stored in the default memory space;B. according to the cryptographic Hash of the previous block and The cryptographic Hash of current block verifies the current block, and when being verified is connected to the current block described After previous block;Wherein, data list has been deleted described in the storage address instruction for having deleted data list to deposit default The storage location in space is stored up, the default memory space can be by least part block chain node in the block chain network Access.
In scheme described in the present embodiment, the block on block chain may include the storage address for having deleted data list, make Block chain node in block chain network can obtain after being synchronized to the block and delete data list so that block Chain node can know whether each block data is deleted.
The embodiment of the present invention also provides a kind of calculating equipment, including processor and memory, is stored on the memory The computer instruction that can be run on the processor, the processor execute following step when running the computer instruction Rapid: A. obtains current block, and the current block includes the cryptographic Hash of previous block, the cryptographic Hash of current block, deleted number According to the cryptographic Hash and storage address of list, described to have deleted data list include having deleted the mark of data, described to have deleted number According to the deleted block data of mark instruction, deletions identify and be in response in the block counts being stored in default memory space It is described to have deleted data list and be stored in the default memory space according to deleted generation;B. according to the previous block Cryptographic Hash and the cryptographic Hash of current block verify the current block, and connect the current block when being verified It connects after the previous block;Wherein, the storage address instruction for having deleted data list is described has deleted data list Storage location in default memory space, the default memory space can be by least part area in the block chain network Block chain node visit.
The embodiment of the present invention also provides a kind of storage medium, is stored thereon with computer instruction, the computer instruction fortune The step of above method is executed when row.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the data processing method for block chain network of the embodiment of the present invention;
Fig. 2 is flow chart of the another kind of the embodiment of the present invention for the data processing method of block chain network;
Fig. 3 is a kind of flow chart of the block generation method for block chain network of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the current block generated based on method shown in Fig. 3;
Fig. 5 is a kind of flow chart of the synchronous method for block chain network of the embodiment of the present invention.
Specific embodiment
Present inventor has found that the block data in existing block chain cannot be deleted, because after deleting, it is new to add After the node entered gets the data of block chain, the correctness of block data can not be just verified.So in face of sustainable growth Block chain data, old data cannot generate business value, but can not delete again, will occupy a large amount of storage resource and calculating Resource.
The embodiment of the present invention provides a kind of data processing method for block chain network, the data processing method packet It includes: being deleted in response to the block data being stored in default memory space, generate and delete mark, the deletion mark instruction quilt The block data of deletion, the default memory space can be described by least one block chain node visit in block chain network Block data is associated with target block;Deletion mark is added and has deleted data list, it is described to have deleted data list and deposit It is stored in the default memory space;Wherein, the target block includes the cryptographic Hash of the previous block of the target block, institute State the cryptographic Hash of each block data at least one associated block data of cryptographic Hash, the target block of target block And storage address, the cryptographic Hash of the target block are the Kazakhstan according to each block data at least one described block data What uncommon value and storage address and the cryptographic Hash of the previous block generated, the storage address of each block data indicates the area Block number is according to the storage location in the default memory space.
In scheme described in the present embodiment, block data block head separation storage associated with it, by block data quilt It is formed when deletion and has deleted data list, can be realized the deletion of the block data to block associations each in block chain, thus Realize the flexibility of block chain network data storage.
Below with reference to each exemplary embodiment of the attached drawing detailed description disclosure.Flow chart and block diagram in attached drawing are shown The architecture, function and operation in the cards of method and system according to various embodiments of the present disclosure.It should be noted that Each box in flowchart or block diagram can represent a part of a module, section or code, the module, program segment Or a part of code may include it is one or more for realizing in each embodiment the logic function of defined it is executable Instruction.It should also be noted that in some alternative implementations, function marked in the box can also be according to different from attached drawing Middle marked sequence occurs.For example, two boxes succeedingly indicated can actually be basically executed in parallel or they Sometimes it can also execute in a reverse order, this depends on related function.It should also be noted that flow chart and/ Or the combination of each box in block diagram and the box in flowchart and or block diagram, can be used execution as defined in function or The dedicated hardware based system of operation realizes, or can be used specialized hardware and computer instruction combination come it is real It is existing.
Term as used herein "comprising", " comprising " and similar terms are understood to open term, i.e., " including/including but not limited to ", expression can also include other content.In this disclosure, term "based" is " at least portion It is based on dividing ";Term " one embodiment " expression " at least one embodiment ";Term " another embodiment " expression " at least one Other embodiment ".
Herein presented " block data " includes the Transaction Information at least one affairs.Further, multiple described Block data can be associated with the same block.More specifically, by synchronizing the block, available the multiple block The storage address of each block data in data.
For another example the block data can also include the Transaction Information in whole affairs that single business includes, it is such as single The number of transactions that associated whole block chain node generates in whole affairs of the assets transfer business in a assets transfer business According to, or in single supply chain financial business associated upstream and downstream block chain node in whole affairs of the supply chain financial business The Transaction Information etc. of generation.
Herein presented " Transaction Information " refers to: the various data that affairs (transaction) generate during carrying out. Further, Transaction Information may include affairs carry out during generate various intermediate data and affairs carry out after the completion of Obtained various result datas.
Herein presented " default memory space " refers to: can be by least part block chain node in block chain network The data space of access particularly can be generated the number of the block chain node visit of block in block chain network According to memory space.For example, the default memory space can be the memory that can generate the block chain node local of block.Again For example, the default memory space can also be the external server for the block chain node coupling that can generate block (for example, cloud Hold a part of memory space in server or cloud server).
Herein presented " storage address " refers to: the mark of storage location of the block data in the default memory space Know symbol (such as combination of character string or character string), which can be uniquely determined in institute according to the storage address State the storage location in default memory space.For example, the storage address can at least be based on one or more of agreement table Show: file protocol (such as file: // ...);Hypertext transfer protocol (Hyper Text Transfer Protocol, referred to as HTTP);File Transfer Protocol (File Transfer Protocol, abbreviation FTP).
Herein presented " deleting mark " refers to: the mark of deleted block data is indicated, as that can be deleted Storage address, filename of block data etc. are generated based on the storage address, filename etc..
Herein presented " having deleted data list " refers to that record has the column of the deletion mark of deleted block data Table.Further, having deleted data list, to can be used as one of block data associated with block.That is, passing through synchronization The block, the available storage address for having deleted data list.In a non-limiting embodiment, deleted area Block number, can be in the deletion mark for having deleted data list and removing the deleted block data according to after being resumed.
Herein presented " flag bit " refers to: for by the finger deleted data list and be different from the block data Show the character of symbol.The marker for example can be the character string that single character or multiple characters are formed.
It should be appreciated that provide these exemplary embodiments merely to make those skilled in the art can better understand that into And realize embodiment of the disclosure, and do not in any way limit the scope of the invention.
To make the above purposes, features and advantages of the invention more obvious and understandable, with reference to the accompanying drawing to the present invention Specific embodiment be described in detail.
Fig. 1 is a kind of flow chart of the data processing method for block chain network of the embodiment of the present invention.
Wherein, the block chain network may include multiple block chain nodes that can be communicated each other, the block chain link Point can be various calculating equipment appropriate, such as personal computer (PC), server, smart phone etc..The side of the present embodiment Method can be executed in the block chain node side.For example, the 1 associated block data of block 1 generated of block chain node is deleted It removes, the block chain node 1 can execute each step of the method.
In one non-limiting embodiment, block chain node can be by calling the intelligent contract of deletion to execute the present embodiment Method.
Specifically, in the present embodiment, the data processing method for block chain network may comprise steps of:
Step 101. is deleted in response to the block data being stored in default memory space, is generated and is deleted mark, described The deleted block data of mark instruction is deleted, the default memory space can be by least one block chain in block chain network Node visit, the block data are associated with target block;
Deletion mark is added and has deleted data list by step 102., it is described deleted data list be stored in it is described In default memory space;
Wherein, the target block includes the Kazakhstan of the cryptographic Hash of the previous block of the target block, the target block Uncommon value, the cryptographic Hash and storage address of each block data at least one associated block data of the target block, institute The cryptographic Hash for stating target block is according to the cryptographic Hash of each block data at least one described block data and storage What the cryptographic Hash of location and the previous block generated, the storage address of each block data indicates the block data described Storage location in default memory space.
It should be pointed out that the serial number of each step does not represent the limit to the execution sequence of each step in the present embodiment It is fixed.
In one non-limiting embodiment, the storage address can be indicated using various modes appropriate.For example, It can at least be indicated based on following agreement: file protocol (such as file: // ...);Hypertext transfer protocol (Hyper Text Transfer Protocol, abbreviation HTTP);File Transfer Protocol (File Transfer Protocol, abbreviation FTP).
In one non-limiting embodiment, cryptographic Hash, which can be, selects one or more of to data to be treated What algorithm was calculated: Message Digest Algorithm 5 (Message Digest Algorithm MD5, abbreviation MD5), password Hash algorithm (senior middle 3, abbreviation SM3), Secure Hash Algorithm (Secure Hash Algorithm, abbreviation SHA) 1, SHA256, SHA384, SHA128, SHA2567 scheduling algorithm (hereafter referred to collectively as hash algorithm) etc..
For example, Hash calculation can be carried out to block data using SHA256 algorithm, to generate the Kazakhstan of the block data Uncommon value.In another example can be using MD5 algorithm to the Hash of the cryptographic Hash of the block data, storage address and previous block Value carries out Hash calculation together, to generate the cryptographic Hash of the target block.
In the present embodiment, deleting mark is generated when block data is deleted.Delete mark with it is described deleted Block data has corresponding relationship, in other words, described to delete the deleted block data of mark instruction.In specific implementation, such as The multiple block datas of fruit are deleted simultaneously, then can generate corresponding deletion to deleted block data one by one and identify.
In the specific implementation of step 102, the deletion can be identified to be added and delete data list.Data are deleted List is stored in default memory space.That is, default memory space can be stored with simultaneously block data and delete Data list.
In the present embodiment, block data block associated with it separates the verifying stored, to block and to block data Verifying is also separation.
It will be apparent to a skilled person that being verified to the deleted associated target block of block data When, it is to be verified according to the cryptographic Hash of previous block and the cryptographic Hash of target block of target block.And target block Cryptographic Hash is raw according to the cryptographic Hash and storage address of the deleted block data and the cryptographic Hash of the previous block At.That is, will not influence the Hash for the block data being deleted in target block after the block data is deleted Value, would not also influence verification process of the target block in block synchronizing process, not influence block chain so as to realize On the basis of deletion to the block data.
In one non-limiting embodiment, the step S101 may include with next step: be deleted according to described The storage address of the block data removed generates the deletion mark;According to the storage address of the deleted block data and Cryptographic Hash generates the deletion mark;It is identified alternatively, generating the deletion according to the mark of the deleted block data.
In one non-limiting embodiment, table 1 is please referred to.Table 1 shows one kind and has deleted data list.It is described to have deleted Except data list includes the mark of deleted block data, such as block data 1, block data 2 and block data 3.Area in table 1 The mark of block number evidence also could alternatively be the storage address of deleted block data, for example, storage address 1, storage address 2, Storage address 3;The mark of block data may be replaced by the storage address of deleted block data and be deleted in table 1 Block data cryptographic Hash, for example, storage address 1+ cryptographic Hash 1, storage address 2+ cryptographic Hash 2, storage address 3+ cryptographic Hash 3。
Table 1
Delete mark
Block data 1
Block data 2
Block data 3
In one non-limiting embodiment, referring to figure 2..Data processing method shown in Fig. 1 can also include following step It is rapid:
Step 201: the data recovery request in response to being directed to the deleted block data detects back up memory space In whether remain with the deleted block data;
Step 202: if remaining with the deleted block data in the back up memory space, from the backup The deleted block data is moved to depositing for the instruction of storage address described in the default memory space in memory space Storage space is set;
Step 203: data list has been deleted described in updating, to remove the deletion mark of the deleted block data.
It should be noted that step 201 is execution after step 102 shown in Fig. 1.
In the present embodiment, after block data is deleted, block chain node can also restore deleted data. Block data, which is deleted, to be referred to the block data being moved to back up memory space from the storage address of the block data.Institute Stating back up memory space can be the local memory for the block chain node for deleting the block data;The backup storage is empty Between be also possible to delete external server that the block chain node of the block data closes (for example, cloud server or cloud clothes A part of memory space being engaged in device).
The block data for restoring deleted refers to: moving the deleted block data from the back up memory space It moves to the storage location of the storage address instruction for the block data being deleted described in the default memory space.
As previously mentioned, described deleted the deletion mark that data list includes the deleted block data of instruction, if by The block data of deletion is resumed, then update is described has deleted data list, namely removes the deleted block data Delete mark.
Scheme through this embodiment can also realize the recovery to the block data after block data deletion, The flexibility that data store in block chain network is furthermore achieved.
It in one non-limiting embodiment, can be the following steps are included: described in traversal before step 101 shown in Fig. 1 All block datas in default memory space choose storage duration and are more than the block data of preset duration threshold value, alternatively, choosing Occupy the block data that memory space is more than pre-set space threshold value;Delete the block data chosen.
Since storage duration is more than that the block data of preset duration threshold value namely historical data possibly can not generate value, And the storage resource in block chain network is occupied, therefore the scheme of the present embodiment can be realized automatic traverse in default memory space All block datas, and filter out storage duration be more than preset duration threshold value block data, to be deleted.Alternatively, being Storage resource in block chain network is made full use of, the block counts for occupying that memory space is more than pre-set space threshold value can also be chosen According to be deleted.
The embodiment of the invention also discloses a kind of calculating equipment.It will be appreciated by those skilled in the art that the calculating of the present embodiment is set It is ready for use on and implements method and technology scheme described in above-mentioned Fig. 1 or embodiment illustrated in fig. 2.
Specifically, in the present embodiment, the calculating equipment may include processor and memory, deposit on the memory The computer instruction that can be run on the processor is contained, the processor executes following when running the computer instruction Step: being deleted in response to the block data being stored in default memory space, generates and deletes mark, the deletion mark instruction Deleted block data, the default memory space can be by least one block chain node visit in block chain network, institutes Block data is stated to be associated with target block;Deletion mark is added and has deleted data list, it is described to have deleted data list It is stored in the default memory space;
Wherein, the target block includes the Kazakhstan of the cryptographic Hash of the previous block of the target block, the target block Uncommon value, the cryptographic Hash and storage address of each block data at least one associated block data of the target block, institute The cryptographic Hash for stating target block is according to the cryptographic Hash of each block data at least one described block data and storage What the cryptographic Hash of location and the previous block generated, the storage address of each block data indicates the block data described Storage location in default memory space.
In one non-limiting embodiment, following steps are also executed when the processor runs the computer instruction: The deletion mark is generated according to the storage address of the deleted block data;Alternatively, according to the deleted block The storage address and cryptographic Hash of data generate the deletion mark;Alternatively, according to the mark of the deleted block data Generate the deletion mark.
In one non-limiting embodiment, following steps are also executed when the processor runs the computer instruction: In response to being directed to the data recovery request of the deleted block data, detect described in whether being remained in back up memory space Deleted block data;If remaining with the deleted block data in the back up memory space, from described standby The deleted block data is moved to the instruction of storage address described in the default memory space in part memory space Storage location;Data list is deleted described in updating, to remove the deletion mark of the deleted block data.
In one non-limiting embodiment, the deleted block data is to run the meter by the processor Execute what following steps determined when calculation machine instructs: all block datas in the traversal default memory space, when choosing storage Long is more than the block data of preset duration threshold value, alternatively, choosing the block data for occupying that memory space is more than pre-set space threshold value
About working principle, the more contents of working method for calculating equipment, it is referred in above-mentioned Fig. 1 or Fig. 2 Associated description, which is not described herein again.
Fig. 3 is a kind of flow chart of the block generation method for block chain network of the embodiment of the present invention.The present embodiment Scheme can be executed by the block chain node of generation block.
Specifically, in the present embodiment, the block generation method for block chain network may include steps of:
Step 301: obtaining the cryptographic Hash of previous block;
Step 302: data list has been deleted in acquisition, and generates the cryptographic Hash for having deleted data list, described to have deleted It is described to delete the deleted block data of mark instruction except data list includes deleting mark, deletions identify be in response in It is stored in block data in default memory space and is deleted and generate, it is described to have deleted data list and be stored in described default deposit Space is stored up, the default memory space can be by least one block chain node visit in the block chain network;
Step 303: according to the cryptographic Hash for having deleted data list and storage address and the Kazakhstan of the previous block Uncommon value generates the cryptographic Hash of current block, wherein the storage address instruction for having deleted data list is described to have deleted data Storage location of the list in the default memory space;
Step 304: the cryptographic Hash of cryptographic Hash, the current block at least based on the previous block described has been deleted The cryptographic Hash and storage address of data list, generate the current block, wherein the current block is connected to the previous area After block.
It is understood that the opportunity for executing above-mentioned steps is to have deleted data list in generation or updated to have deleted data When list.Data list has been deleted in update can refer to that increasing deletion mark or removal newly in having deleted data list deletes mark Know.
In the present embodiment, the current block that step 304 generates may include the cryptographic Hash, described current of the previous block The cryptographic Hash of block, the cryptographic Hash and storage address for having deleted data list.
The present embodiment be by only generate deleted data list or update deleted data list when for illustrate block Generating process should not constitute the limitation to the present embodiment.If generating (or update) simultaneously has deleted data list and generation New block data, then when generating current block, step 302 can also generate the cryptographic Hash of the block data together;Step Rapid 303 can be according to the cryptographic Hash for having deleted data list and storage address, the cryptographic Hash and storage of the block data The cryptographic Hash of the cryptographic Hash of address and previous block generation current block;Step 304 can be based on the previous block Cryptographic Hash, the cryptographic Hash of the current block, the cryptographic Hash for having deleted data list and storage address and the area The cryptographic Hash and storage address of block number evidence, generate the current block.
In one non-limiting embodiment, the step 304 may further include: the Kazakhstan based on the previous block Uncommon value, the cryptographic Hash of the current block, the cryptographic Hash for having deleted data list, storage address and flag bit, generate institute Current block is stated, the flag bit is by the indicator deleted data list and be different from the block data.
With previous embodiment generate current block the difference is that, the number of the current block generated in the present embodiment According to further including flag bit.The flag bit and the storage address for having deleted data list have corresponding relationship.In other words, lead to The flag bit crossed in block can determine its corresponding storage address for having deleted data list.
In one non-limiting embodiment, it can wrap in the block head information 40 of the current block with reference to Fig. 4 Containing following information: the cryptographic Hash 41 of previous block, the cryptographic Hash of current block 42, the cryptographic Hash 43 for having deleted data list and Storage address 44, the storage address 44 indicate to be stored with the storage position for having deleted data list in default memory space It sets.
It should be noted that can also include the Hash of block data in the block head information 40 of the current block The storage address of value and block data.
It will be appreciated by those skilled in the art that in fact, the scheme based on the present embodiment, the current block and the block head Information 40 substantially can be it is equivalent, that is, the current block based on schemes generation described in the present embodiment only includes the area Build information, and the data list of deletion of the block head information association is then discretely stored in the default memory space.
The embodiment of the invention also discloses a kind of calculating equipment.It will be appreciated by those skilled in the art that the calculating of the present embodiment is set It is ready for use on and implements method and technology scheme described in above-mentioned embodiment illustrated in fig. 3.
Specifically, in the present embodiment, the calculating equipment may include processor and memory, deposit on the memory The computer instruction that can be run on the processor is contained, the processor executes following when running the computer instruction Step: the cryptographic Hash of previous block is obtained;Data list has been deleted in acquisition, and generates the Hash for having deleted data list It is worth, described to have deleted data list including deleting mark, the deletion, which identifies, indicates deleted block data, the deletion mark Know to be in response to be deleted in the block data being stored in default memory space and generate, it is described deleted data list and be stored in The default memory space, the default memory space can be visited by least one block chain node in the block chain network It asks;Work as proparea according to the cryptographic Hash for having deleted data list and storage address and the generation of the cryptographic Hash of the previous block The cryptographic Hash of block, wherein the storage address instruction for having deleted data list is described to have deleted data list described default Storage location in memory space;The cryptographic Hash of cryptographic Hash, the current block at least based on the previous block, it is described Delete data list cryptographic Hash and storage address, generate the current block, wherein the current block be connected to it is described before After one block.
In one non-limiting embodiment, the processor runs the computer instruction to execute the step at least It the cryptographic Hash of cryptographic Hash, the current block based on the previous block, the cryptographic Hash for having deleted data list and deposits Address is stored up, when generating the current block, is further performed the step of:
The cryptographic Hash of cryptographic Hash, the current block based on the previous block, the Kazakhstan for having deleted data list Uncommon value, storage address and flag bit, generate the current block, and the flag bit is to have deleted data list by described and be different from The indicator of the block data.
About working principle, the more contents of working method for calculating equipment, it is referred to above-mentioned Fig. 3 and Fig. 4 In associated description, which is not described herein again.
Referring to figure 5., Fig. 5 is a kind of flow chart of the synchronous method for block chain network of the embodiment of the present invention.This reality The scheme for applying example can be by block chain node (the existing block in such as block chain network except the block chain node of generation block Chain node or the block chain node being newly added) it executes.
Specifically, in the present embodiment, the block generation method for block chain network may include steps of:
Step 501: obtaining current block, the current block includes the Hash of the cryptographic Hash of previous block, current block Value, the cryptographic Hash and storage address for having deleted data list, described to have deleted data list include having deleted the mark of data, institute State the deleted block data of mark instruction for having deleted data, deletions, which identifies, to be in response in being stored in default memory space Interior block data, which is deleted, to be generated, described to have deleted data list and be stored in the default memory space;
Step 502: the current block being carried out according to the cryptographic Hash of the previous block and the cryptographic Hash of current block Verifying, and the current block is connected to after the previous block when being verified;
Wherein, the storage address instruction for having deleted data list is described has deleted data list in default memory space In storage location, the default memory space can be by least part block chain node visit in the block chain network.
Through the above steps 501 and 502, the synchronization to current block may be implemented, it is hereby achieved that current block institute Including data, such as the cryptographic Hash of previous block, the cryptographic Hash of current block, with having deleted the cryptographic Hash and storage of data list Location.
In one non-limiting embodiment, synchronous method shown in fig. 5 can be the following steps are included: delete according to described Data list has been deleted except the storage address acquisition of data list is described;Data list has been deleted to being locally stored according to described The storage state of block data is adjusted.
It is understood that above-mentioned steps can be by having what block chain node executed in block chain network.
In specific implementation, after existing block chain node is synchronized to current block, the storage for deleting data list can be determined Address, so as to directly delete number from the storage location acquisition in the default memory space that the storage address indicates is described According to list.Further, since having deleted data list includes being deleted the deletion mark of block data, therefore have block chain node The storage state for the block data being locally stored can be adjusted according to the deletion mark deleted in data list.
For example, having deleted in data list in the case where newly-increased deletion mark, existing block chain node can will be stored in The block data of local newly-increased deletion mark instruction is deleted.Mark is deleted in another example having deleted and having removed in data list In the case where knowledge, having block chain node can be by area different from the block data for deleting mark instruction in back up memory space Block number is according to being restored.
In one non-limiting embodiment, synchronous method shown in fig. 5 can with the following steps are included: according to it is described It deletes and has deleted data list described in the storage address acquisition of data list;According to it is described deleted data list duplication it is described pre- If at least part block data in memory space.
It is understood that above-mentioned steps can be and be executed by the block chain node that is newly added in block chain network.
In specific implementation, after the block chain node being newly added is synchronized to current block, it can determine and delete data list Storage address, so as to directly obtain described deleted from the storage location in the default memory space that the storage address indicates Except data list.Further, since having deleted the deletion mark that data list includes deleted block data, therefore the area being newly added Block chain node can replicate at least part block data according to mark is deleted.
For example, having deleted the deletion mark that data list includes deleted block data, the block chain node being newly added When replicating block data, it may not be necessary to which the block data for deleting mark instruction in data list has been deleted in duplication, is only replicated Delete other block datas except the block data for deleting mark instruction in data list.
It should be noted that the block chain node being newly added also may not necessarily delete data list duplicate field according to described Block number evidence.In this case, the block chain node being newly added can replicate all block datas.
In one non-limiting embodiment, number has been deleted according to the storage address acquisition for deleting data list is described It according to the step of list has been executed when the current block has deleted the flag bit of data list comprising described in.
In the present embodiment, current block may include flag bit.Block chain node can obtain mark by synchronous block Position.As previously mentioned, the flag bit is corresponding with the storage address for having deleted data list.Block chain node once exists as a result, The flag bit is got in current block, so that it may which the storage location indicated from the corresponding storage address of the flag bit obtains Data list is deleted.
In a change case, block chain node in replicate data, can first to generate block block chain node or Specified block chain node sends data copy request, and is sent out by the block chain node of generation block or specified block chain node Send data.
For example, existing block chain node sends data copy request, the block chain node or specified block of block are generated Chain node sends newly-generated block data or has deleted data list to existing block chain node.
In another example the block chain node being newly added sends data copy request, the block chain node or specified of block is generated Block chain node send whole block datas and deleted data list to the block chain node being newly added.Alternatively, new add The block chain node entered sends data copy request, and the block chain node or specified block chain node for generating block are first according to It deletes data list and determines deleted block data, and other block datas except deleted block data are sent to The block chain node being newly added.
For another example existing block chain node or the block chain node being newly added, which pass through synchronous current block, obtains mark therein Behind will position, the request for obtaining and having deleted data list is sent, the block chain node or specified block chain node for generating block will The block chain node that data list is sent to existing block chain node or is newly added is deleted.
The embodiment of the invention also discloses a kind of calculating equipment.It will be appreciated by those skilled in the art that the calculating of the present embodiment is set It is ready for use on and implements method and technology scheme described in above-mentioned embodiment illustrated in fig. 5.
Specifically, in the present embodiment, the calculating equipment may include processor and memory, deposit on the memory The computer instruction that can be run on the processor is contained, the processor executes following when running the computer instruction Step: obtaining current block, and the current block includes the cryptographic Hash of previous block, the cryptographic Hash of current block, deleted number According to the cryptographic Hash and storage address of list, described to have deleted data list include having deleted the mark of data, described to have deleted number According to the deleted block data of mark instruction, deletions identify and be in response in the block counts being stored in default memory space It is described to have deleted data list and be stored in the default memory space according to deleted generation;According to the Kazakhstan of the previous block Uncommon value and the cryptographic Hash of current block verify the current block, and connect the current block when being verified After the previous block;
Wherein, the storage address instruction for having deleted data list is described has deleted data list in default memory space In storage location, the default memory space can be by least part block chain node visit in the block chain network.
In one non-limiting embodiment, following steps are also executed when the processor runs the computer instruction: Data list has been deleted according to the storage address acquisition for deleting data list is described;Data list pair has been deleted according to described The storage state for the block data being locally stored is adjusted.
In one non-limiting embodiment, following steps are also executed when the processor runs the computer instruction: Data list has been deleted according to the storage address acquisition for having deleted data list is described;Data list has been deleted according to described Replicate at least part block data in the default memory space.
In one non-limiting embodiment, number has been deleted according to the storage address acquisition for deleting data list is described It according to the step of list has been executed when the current block has deleted the flag bit of data list comprising described in.
About working principle, the more contents of working method for calculating equipment, the correlation being referred in above-mentioned Fig. 5 Description, which is not described herein again.
In specific application scenarios, in the system that one is realized communication, blog etc. using block chain technology, largely disappear Breath may be packaged (namely forming block data) and be stored in the default memory space separated with block.For storing duration More than the block data (namely history message, can not generate value again) of preset duration threshold value, block chain node can delete institute Block data is stated, to realize the filing to historical data.
In another concrete application scene, in the transaction system that one is realized using block chain technology, it will trade Data (namely block data) in block after separating, if associated transaction data and its block before in current block The transaction output (Unspent Transaction Output, UTXO) that whole in associated transaction data is not used by is All by post-consumer, then the transaction data of the block and its block associations before, can be deleted.It also can be from pre- If back up memory space is arrived in memory space filing storage.
It should be noted that embodiment of the present invention is not limited to be applied to above-mentioned application scenarios, can be applied to appoint Meaning uses in the scene of block chain technology.
The embodiment of the invention also discloses a kind of storage mediums, are stored thereon with computer instruction, the computer instruction The step of method shown in Fig. 1, Fig. 2, Fig. 3 or Fig. 5 can be executed when operation.The storage medium may include ROM, RAM, magnetic Disk or CD etc..The storage medium can also include non-volatility memorizer (non-volatile) or non-transient (non- Transitory) memory etc..
Although present disclosure is as above, present invention is not limited to this.Anyone skilled in the art are not departing from this It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute Subject to the range of restriction.

Claims (23)

1. a kind of data processing method for block chain network, which is characterized in that the target block in the block chain network It is the cryptographic Hash of previous block including the target block, the cryptographic Hash of the target block, associated with the target block The cryptographic Hash and storage address of each block data at least one block data, the cryptographic Hash of the target block are bases The cryptographic Hash and storage address of each block data at least one described block data and the Hash of the previous block What value generated, the storage address of each block data indicates storage location of the block data in default memory space, institute Stating default memory space can be by least one block chain node visit in block chain network, which comprises
A. it is deleted in response to the block data being stored in the default memory space, generates and delete mark, the deletion mark Know the deleted block data of instruction;
B. deletion mark is added and has deleted data list, it is described to have deleted data list and be stored in the default storage sky In.
2. data processing method according to claim 1, which is characterized in that the default memory space and the block chain Account book is independent from each other.
3. data processing method according to claim 1, which is characterized in that step A further comprises: being deleted according to described The storage address of the block data removed generates the deletion mark;
It is identified alternatively, generating the deletion according to the storage address of the deleted block data and cryptographic Hash;
It is identified alternatively, generating the deletion according to the mark of the deleted block data.
4. data processing method according to claim 1, which is characterized in that further include:
C. it in response to the data recovery request for the deleted block data, detects and whether retains in back up memory space There is the deleted block data;
D. if the deleted block data is remained in the back up memory space, from the back up memory space The deleted block data is moved to the storage location of the instruction of storage address described in the default memory space;
E. data list has been deleted described in updating, to remove the deletion mark of the deleted block data.
5. data processing method according to any one of claims 1 to 4, which is characterized in that before step A further include:
A1 traverses all block datas in the default memory space, chooses the area that storage duration is more than preset duration threshold value Block number evidence, alternatively, choosing the block data for occupying that memory space is more than pre-set space threshold value;
A2 deletes the block data of selection.
6. a kind of calculating equipment, which is characterized in that the target block in block chain network includes the previous area of the target block The cryptographic Hash of block, the cryptographic Hash of the target block, each of at least one associated block data of the target block The cryptographic Hash and storage address of block data, the cryptographic Hash of the target block is according at least one described block data What the cryptographic Hash and storage address of each block data and the cryptographic Hash of the previous block generated, each block data is deposited Storage address indicates storage location of the block data in default memory space, and the default memory space can be by block link network At least one block chain node visit in network, the calculating equipment includes processor and memory, is stored on the memory There is the computer instruction that can be run on the processor, the processor executes following step when running the computer instruction It is rapid:
A. it is deleted in response to the block data being stored in default memory space, generates and delete mark, the deletion mark refers to Show deleted block data;
B. deletion mark is added and has deleted data list, it is described to have deleted data list and be stored in the default storage sky In.
7. calculating equipment according to claim 6, which is characterized in that the default memory space and the block chain account book It is independent from each other.
8. calculating equipment according to claim 6, which is characterized in that the processor is gone back when running the computer instruction Execute following steps:
The deletion mark is generated according to the storage address of the deleted block data;
It is identified alternatively, generating the deletion according to the storage address of the deleted block data and cryptographic Hash;
It is identified alternatively, generating the deletion according to the mark of the deleted block data.
9. calculating equipment according to claim 6, which is characterized in that the processor is gone back when running the computer instruction Execute following steps:
C. it in response to the data recovery request for the deleted block data, detects and whether retains in back up memory space There is the deleted block data;
D. if the deleted block data is remained in the back up memory space, from the back up memory space The deleted block data is moved to the storage location of the instruction of storage address described in the default memory space;
E. data list has been deleted described in updating, to remove the deletion mark of the deleted block data.
10. according to the described in any item calculating equipment of claim 6 to 9, which is characterized in that the processor runs the calculating Following steps can also be performed before machine instruction execution step A:
A1 traverses all block datas in the default memory space, chooses the area that storage duration is more than preset duration threshold value Block number evidence, alternatively, choosing the block data for occupying that memory space is more than pre-set space threshold value;
A2 deletes the block data of selection.
11. a kind of block generation method for block chain network characterized by comprising
A. the cryptographic Hash of previous block is obtained;
B. it obtains and has deleted data list, and generate the cryptographic Hash for having deleted data list, it is described to have deleted data list It is identified including deleting, described to delete the deleted block data of mark instruction, the deletion mark is in response to default in being stored in Block data in memory space, which is deleted, to be generated, described to have deleted data list and be stored in the default memory space, institute Stating default memory space can be by least one block chain node visit in the block chain network;
C. worked as according to the cryptographic Hash for having deleted data list and storage address and the generation of the cryptographic Hash of the previous block The cryptographic Hash of preceding block, wherein the storage address instruction for having deleted data list is described to have deleted data list described Storage location in default memory space;
D. the cryptographic Hash at least based on the previous block, the cryptographic Hash of the current block, described deleted data list Cryptographic Hash and storage address generate the current block, wherein the current block is connected to after the previous block.
12. block generation method according to claim 11, which is characterized in that step D further comprises: before described The cryptographic Hash of one block, the cryptographic Hash of the current block, the cryptographic Hash for having deleted data list, storage address and mark Position, generates the current block, and the flag bit is by the instruction deleted data list and be different from the block data Symbol.
13. a kind of calculating equipment, which is characterized in that including processor and memory, being stored on the memory can be in institute The computer instruction run on processor is stated, the processor executes following steps when running the computer instruction:
A. the cryptographic Hash of previous block is obtained;
B. it obtains and has deleted data list, and generate the cryptographic Hash for having deleted data list, it is described to have deleted data list It is identified including deleting, described to delete the deleted block data of mark instruction, the deletion mark is in response to default in being stored in Block data in memory space, which is deleted, to be generated, described to have deleted data list and be stored in the default memory space, institute Stating default memory space can be by least one block chain node visit in the block chain network;
C. worked as according to the cryptographic Hash for having deleted data list and storage address and the generation of the cryptographic Hash of the previous block The cryptographic Hash of preceding block, wherein the storage address instruction for having deleted data list is described to have deleted data list described Storage location in default memory space;
D. the cryptographic Hash at least based on the previous block, the cryptographic Hash of the current block, described deleted data list Cryptographic Hash and storage address generate the current block, wherein the current block is connected to after the previous block.
14. calculating equipment according to claim 13, which is characterized in that the processor run the computer instruction with When executing step D, further perform the step of:
The cryptographic Hash of cryptographic Hash, the current block based on the previous block, the cryptographic Hash for having deleted data list, Storage address and flag bit, generate the current block, the flag bit be by it is described deleted data list be different from it is described The indicator of block data.
15. a kind of synchronous method for block chain network characterized by comprising
A. current block is obtained, the current block includes the cryptographic Hash of previous block, the cryptographic Hash of current block, deleted number According to the cryptographic Hash and storage address of list, described to have deleted data list include having deleted the mark of data, described to have deleted number According to the deleted block data of mark instruction, deletions identify and be in response in the block counts being stored in default memory space It is described to have deleted data list and be stored in the default memory space according to deleted generation;
B. the current block is verified according to the cryptographic Hash of the cryptographic Hash of the previous block and current block, and tested The current block is connected to after the previous block by card when passing through;
Wherein, the storage address instruction for having deleted data list is described has deleted data list in default memory space Storage location, the default memory space can be by least part block chain node visits in the block chain network.
16. synchronous method according to claim 15, which is characterized in that further include:
C1. data list has been deleted according to the storage address acquisition for deleting data list is described;
D1. data list has been deleted according to be adjusted the storage state for the block data being locally stored.
17. synchronous method according to claim 15, which is characterized in that further include:
C2. data list has been deleted according to the storage address acquisition for having deleted data list is described;
D2. it has deleted data list according to described and replicates at least part block data in the default memory space.
18. synchronous method according to claim 16 or 17, which is characterized in that according to the storage for deleting data list It includes the mark for having deleted data list that the step of having deleted data list described in the acquisition of address, which is in the current block, It is executed when position.
19. a kind of calculating equipment, which is characterized in that including processor and memory, being stored on the memory can be in institute The computer instruction run on processor is stated, the processor executes following steps when running the computer instruction:
A. current block is obtained, the current block includes the cryptographic Hash of previous block, the cryptographic Hash of current block, deleted number According to the cryptographic Hash and storage address of list, described to have deleted data list include having deleted the mark of data, described to have deleted number According to the deleted block data of mark instruction, deletions identify and be in response in the block counts being stored in default memory space It is described to have deleted data list and be stored in the default memory space according to deleted generation;
B. the current block is verified according to the cryptographic Hash of the cryptographic Hash of the previous block and current block, and tested The current block is connected to after the previous block by card when passing through;
Wherein, the storage address instruction for having deleted data list is described has deleted data list in default memory space Storage location, the default memory space can be by least part block chain node visits in the block chain network.
20. calculating equipment according to claim 19, which is characterized in that when the processor runs the computer instruction Also execute following steps:
C1. data list has been deleted according to the storage address acquisition for deleting data list is described;
D1. data list has been deleted according to be adjusted the storage state for the block data being locally stored.
21. calculating equipment according to claim 19, which is characterized in that when the processor runs the computer instruction Also execute following steps:
C2. data list has been deleted according to the storage address acquisition for having deleted data list is described;
D2. it has deleted data list according to described and replicates at least part block data in the default memory space.
22. the calculating equipment according to claim 20 or 21, which is characterized in that according to the storage for deleting data list It includes the mark for having deleted data list that the step of having deleted data list described in the acquisition of address, which is in the current block, It is executed when position.
23. a kind of storage medium, is stored thereon with computer instruction, which is characterized in that the computer instruction executes when running The step of data processing method of block chain network is used for described in any one of claims 1 to 5, perform claim requires 11 to 12 Any one of described in the step of being used for the block generation method of block chain network or perform claim require any one of 15 to 18 The step of synchronous method for block chain network.
CN201811108985.4A 2018-09-21 2018-09-21 Data processing, block generation and synchronization method for block chain network Expired - Fee Related CN109492049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811108985.4A CN109492049B (en) 2018-09-21 2018-09-21 Data processing, block generation and synchronization method for block chain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811108985.4A CN109492049B (en) 2018-09-21 2018-09-21 Data processing, block generation and synchronization method for block chain network

Publications (2)

Publication Number Publication Date
CN109492049A true CN109492049A (en) 2019-03-19
CN109492049B CN109492049B (en) 2021-05-04

Family

ID=65689368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811108985.4A Expired - Fee Related CN109492049B (en) 2018-09-21 2018-09-21 Data processing, block generation and synchronization method for block chain network

Country Status (1)

Country Link
CN (1) CN109492049B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110474776A (en) * 2019-07-19 2019-11-19 上海朝夕网络技术有限公司 A kind of believable block data dynamic deletes method
CN111340496A (en) * 2020-05-20 2020-06-26 南京如般量子科技有限公司 Block chain system and method for automatically optimizing historical transaction data
CN111930753A (en) * 2020-09-15 2020-11-13 腾讯科技(深圳)有限公司 Data retrieving method and device, electronic equipment and storage medium
CN112819617A (en) * 2020-08-21 2021-05-18 支付宝(杭州)信息技术有限公司 Data uplink method and device, electronic equipment and storage medium
CN113627938A (en) * 2021-08-24 2021-11-09 上海点融信息科技有限责任公司 Data deleting method, device, equipment and storage medium of block chain

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364192A (en) * 2007-08-09 2009-02-11 英华达(上海)电子有限公司 Recovery method and system after data being cancelled by mistake and electronic appliance
CN106372868A (en) * 2016-09-06 2017-02-01 联动优势科技有限公司 Verification method and apparatus for transaction data written into block chain
CN106446705A (en) * 2016-08-26 2017-02-22 杨鹏 Cyclic writing method and system of data on the basis of block chain
CN106775497A (en) * 2017-01-19 2017-05-31 郑志超 Distributed storage method and equipment based on block chain
CN106776894A (en) * 2016-11-29 2017-05-31 北京众享比特科技有限公司 Log database system and synchronous method
US20170163733A1 (en) * 2015-12-02 2017-06-08 Olea Networks, Inc. System and method for data management structure using auditable delta records in a distributed environment
CN107122477A (en) * 2017-05-02 2017-09-01 成都中远信电子科技有限公司 A kind of block chain storage system
US9774578B1 (en) * 2016-05-23 2017-09-26 Accenture Global Solutions Limited Distributed key secret for rewritable blockchain
CN107273410A (en) * 2017-05-03 2017-10-20 上海点融信息科技有限责任公司 Distributed storage based on block chain
CN107360156A (en) * 2017-07-10 2017-11-17 广东工业大学 P2P network method for cloud storage based on block chain under a kind of big data environment
CN107967291A (en) * 2017-10-12 2018-04-27 腾讯科技(深圳)有限公司 Journal entries clone method, device, computer equipment and storage medium
WO2018103850A1 (en) * 2016-12-08 2018-06-14 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for creating a finite blockchain
CN108519862A (en) * 2018-03-30 2018-09-11 百度在线网络技术(北京)有限公司 Storage method, device, system and the storage medium of block catenary system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364192A (en) * 2007-08-09 2009-02-11 英华达(上海)电子有限公司 Recovery method and system after data being cancelled by mistake and electronic appliance
US20170163733A1 (en) * 2015-12-02 2017-06-08 Olea Networks, Inc. System and method for data management structure using auditable delta records in a distributed environment
US9774578B1 (en) * 2016-05-23 2017-09-26 Accenture Global Solutions Limited Distributed key secret for rewritable blockchain
CN106446705A (en) * 2016-08-26 2017-02-22 杨鹏 Cyclic writing method and system of data on the basis of block chain
CN106372868A (en) * 2016-09-06 2017-02-01 联动优势科技有限公司 Verification method and apparatus for transaction data written into block chain
CN106776894A (en) * 2016-11-29 2017-05-31 北京众享比特科技有限公司 Log database system and synchronous method
WO2018103850A1 (en) * 2016-12-08 2018-06-14 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for creating a finite blockchain
CN106775497A (en) * 2017-01-19 2017-05-31 郑志超 Distributed storage method and equipment based on block chain
CN107122477A (en) * 2017-05-02 2017-09-01 成都中远信电子科技有限公司 A kind of block chain storage system
CN107273410A (en) * 2017-05-03 2017-10-20 上海点融信息科技有限责任公司 Distributed storage based on block chain
CN107360156A (en) * 2017-07-10 2017-11-17 广东工业大学 P2P network method for cloud storage based on block chain under a kind of big data environment
CN107967291A (en) * 2017-10-12 2018-04-27 腾讯科技(深圳)有限公司 Journal entries clone method, device, computer equipment and storage medium
CN108519862A (en) * 2018-03-30 2018-09-11 百度在线网络技术(北京)有限公司 Storage method, device, system and the storage medium of block catenary system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
翟社平 等: "区块链技术:应用及问题", 《西安邮电大学学报》 *
费禹 等: "基于区块链的日志存储系统", 《网络空间安全》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110474776A (en) * 2019-07-19 2019-11-19 上海朝夕网络技术有限公司 A kind of believable block data dynamic deletes method
CN111340496A (en) * 2020-05-20 2020-06-26 南京如般量子科技有限公司 Block chain system and method for automatically optimizing historical transaction data
CN112819617A (en) * 2020-08-21 2021-05-18 支付宝(杭州)信息技术有限公司 Data uplink method and device, electronic equipment and storage medium
CN112819617B (en) * 2020-08-21 2022-06-07 支付宝(杭州)信息技术有限公司 Data uplink method and device, electronic equipment and storage medium
CN111930753A (en) * 2020-09-15 2020-11-13 腾讯科技(深圳)有限公司 Data retrieving method and device, electronic equipment and storage medium
CN111930753B (en) * 2020-09-15 2021-01-22 腾讯科技(深圳)有限公司 Data retrieving method and device, electronic equipment and storage medium
US11829411B2 (en) 2020-09-15 2023-11-28 Tencent Technology (Shenzhen) Company Limited Data recovery method and apparatus, electronic device, and storage medium
CN113627938A (en) * 2021-08-24 2021-11-09 上海点融信息科技有限责任公司 Data deleting method, device, equipment and storage medium of block chain

Also Published As

Publication number Publication date
CN109492049B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN109492049A (en) Data processing, block generation and synchronous method for block chain network
CN105095013B (en) Date storage method, restoration methods, relevant apparatus and system
CN110933953B (en) Systems and methods for extending blockchain utility through use of related sub-blockchains
US10630463B2 (en) Meta block chain
CN110597925B (en) Cross-chain data processing method and device based on block chain
CN105339929B (en) Select the storage for cancelling repeated data
EP3321819B1 (en) Device, method and program for securely reducing an amount of records in a database
CN108805570A (en) Data processing method, device and storage medium
CN109543455B (en) Data archiving method and device for block chain
CN103473277B (en) The Snapshot Method and device of file system
CN106844477B (en) To synchronous method after block catenary system, block lookup method and block chain
CN109460405A (en) For the block generation method of block chain network, synchronous method, storage medium, calculate equipment
CN106933703A (en) A kind of method of database data backup, device and electronic equipment
CN111444196B (en) Method, device and equipment for generating Hash of global state in block chain type account book
CN106909605B (en) Method and system for generating block chain expanded along transverse direction
CN106899648A (en) A kind of data processing method and equipment
EP3709568A1 (en) Deleting user data from a blockchain
WO2021047541A1 (en) Method and device for obtaining transaction dependency relationship in blockchain
CN106897353A (en) The generation method and system of the block chain that centre type multidimensional is expanded
CN107018185A (en) The synchronous method and device of cloud storage system
CN109194646A (en) A kind of safety certification data access method based on block chain
CN110704438B (en) Method and device for generating bloom filter in blockchain
CN106605217B (en) For the method and system for being moved to another website from a website will to be applied
CN107451013A (en) Data reconstruction method, apparatus and system based on distributed system
CN107704604A (en) A kind of information persistence method, server and computer-readable recording medium

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: 20210504

Termination date: 20210921

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