CN109213900A - A kind of data modification method, device, equipment and the medium of block chain - Google Patents

A kind of data modification method, device, equipment and the medium of block chain Download PDF

Info

Publication number
CN109213900A
CN109213900A CN201811087977.6A CN201811087977A CN109213900A CN 109213900 A CN109213900 A CN 109213900A CN 201811087977 A CN201811087977 A CN 201811087977A CN 109213900 A CN109213900 A CN 109213900A
Authority
CN
China
Prior art keywords
block
data
modification
message
target
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
CN201811087977.6A
Other languages
Chinese (zh)
Other versions
CN109213900B (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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811087977.6A priority Critical patent/CN109213900B/en
Publication of CN109213900A publication Critical patent/CN109213900A/en
Application granted granted Critical
Publication of CN109213900B publication Critical patent/CN109213900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses data modification method, device, equipment and the media of a kind of block chain, this method comprises: obtaining block data modifies message;Message is modified according to the block data, determines target modification block to be modified;Message is modified according to the block data to modify to the block data in target modification block;Using the previous block of the target modification block as starting block is reformed, the Transaction Information in the target modification block and its subsequent block is handled again, to generate new block chain, be connected to it is described reform starting block after;The discarded subsequent block reformed after starting block.The technical solution of the embodiment of the present invention can be realized the modification to block chain data, provide a kind of effective solution scheme for modification block chain data.

Description

A kind of data modification method, device, equipment and the medium of block chain
Technical field
The present embodiments relate to block chain data processing technique more particularly to a kind of data modification method of block chain, Device, equipment and medium.
Background technique
Block chain is a kind of decentralization technology, by multiple node common storage region block number evidences, and improves the letter of network Ren Du.
Existing block chain technology passes through whole nodes memory block chain together, to improve the modification difficulty of Transaction Information, from And prevent malice from distorting.But under special scenes, the demand of data modification is still had in block chain, and the prior art does not have Effective solution is provided.
Summary of the invention
The embodiment of the present invention provides data modification method, device, equipment and the medium of a kind of block chain, to realize block counts According to modification.
In a first aspect, the embodiment of the invention provides a kind of data modification methods of block chain, this method comprises:
It obtains block data and modifies message;
Message is modified according to the block data, determines target modification block to be modified;
Message is modified according to the block data to modify to the block data in target modification block;
Using the previous block of the target modification block as reforming starting block, to the target modification block and its Transaction Information in subsequent block is handled again, to generate new block chain, be connected to it is described reform starting block after;
The discarded subsequent block reformed after starting block.
Second aspect, the embodiment of the invention also provides a kind of data modifying apparatus of block chain, which includes:
Message capturing module is modified, for obtaining block data modification message;
Block determining module is modified, for modifying message according to the block data, determines target modification area to be modified Block;
Data modification module, for according to the block data modify message to the block data in target modification block into Row modification;
Data processing module, for using the previous block of the target modification block as starting block is reformed, to institute The Transaction Information stated in target modification block and its subsequent block is handled again, to generate new block chain, is connected to institute It states after reforming starting block;
Block discard module, for the discarded subsequent block reformed after originating block.
The third aspect, the embodiment of the invention also provides a kind of electronic equipment, comprising:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the data modification method of the block chain as described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the data modification method of the block chain as described in any embodiment of that present invention when the program is executed by processor.
The embodiment of the present invention modifies message by obtaining block data, in determining target modification block to be modified Data are modified, and using the previous block of target modification block as starting block is reformed, to the thing of subsequent all blocks Business data are handled again, generate new block chain, are connected to after reforming starting block, the discarded original reformed after starting block Subsequent block.It solves the problems, such as that existing block chain technology modification Transaction Information difficulty is big, can be realized to block chain data Modification provides a kind of simple and effective solution for modification block chain data.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the data modification method for block chain that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the data modification method of block chain provided by Embodiment 2 of the present invention;
Fig. 3 A-3C is the flow chart of the data modification method for the block chain that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural block diagram of the data modifying apparatus for block chain that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart of the data modification method for block chain that the embodiment of the present invention one provides, and the present embodiment can The case where suitable for modifying to the data block chain, can especially modify to Transaction Information.The block being applicable in Chain can be publicly-owned chain, privately owned chain or alliance's chain.The scheme of the embodiment of the present invention is applied to block chain node, and this method can be with It is executed by the data modifying apparatus or equipment of block chain, which can be used hardware and/or the mode of software is realized, and can collect At in the electronic equipment of carrying block chain link point.Specifically comprise the following steps:
S101 obtains block data and modifies message.
Wherein, the modification message of block data can be the control instruction modified to block data, be also possible to send out The transactions requests of the modification block data risen.It may include modification initiator information, modification time in block data modification message And the contents such as data information of modification.
Optionally, in embodiments of the present invention, the mode for obtaining block data modification message has very much, and the present embodiment is to this Without limiting.It can be the block data modification message that localized nodes receive the transmission of other nodes, wherein other nodes can be with It is with super authority and the stronger central node of public credibility;It is also possible to an arbitrary node in block chain.Obtain block Data modification message is also possible to localized nodes (i.e. localized nodes are the node for sending block data modification message) and directly acquires Its own block data generated modifies message.
Optionally, the node for sending block data modification message is different, obtains the mode of block data modification message also not Together.If the node for sending block data modification information is center node, obtaining block data modification message can be reception The block data that central node is sent modifies message, specifically includes: receiving the block data modification message that central node is sent;It adopts The super authority public key distributed with central node carries out central node authentication to block data modification order, and verifying is logical Later receive the block data modification message.
Illustratively, after the block data modification message for receiving central node transmission, body first is carried out to central node Part verifying, can just receive block data modification message after being verified, specific verification process can be, and central node can be with Block data modification order is encrypted by super authority private key, then public key is distributed to section all in block chain Point, localized nodes pass through the super power of central node transmission after receiving the block data modification message of central node transmission The encrypted data are decrypted in limit public key, obtain the identity that data modification order carrys out authentication center node, if verifying Pass through, block data modification message can be received.Block data is sent by central node and modifies message, block counts can be prevented According to arbitrarily being modified or maliciously being distorted, the safety of block data is improved.
Optionally, if the node for sending block data modification information is any node, block data modification message is obtained It can be and receive the block data modification message that any node is initiated with motion voting formula.It specifically includes: receiving any node The block data of transmission modifies message, carries out motion voting, is confirmed whether repairing for executable block data jointly by all nodes Change, when motion voting meets sets requirement, determines and receive block data modification message.
Illustratively, if any node can send block modification message, block data is maliciously usurped in order to prevent Change, any node for sending block modification message can initiate block data modification based on common recognition mechanism in such a way that motion is decided by vote Message.If the common recognition mechanism based on ballot ratio sends block data and modifies message, when localized nodes receive the block counts When according to modification message, other nodes into block chain initiate the ballot notice of block data modification message, so that other nodes It is voted, and counts voting results, based on the principle to use a large force to defeat a small one, receives block modification message if holding in voting results Poll be greater than participate in ballot number of nodes setting ratio, it is determined that receive the block data modification message;If voting results In hold support receive block modification message poll be less than or equal to participate in ballot number of nodes setting ratio, then refusal connect Message is modified by the block data.Block data is initiated by any node and modifies message, can achieve the effect of decentralization, is led to Motion voting formula is crossed to avoid the malicious modification to data, improves the safety of block data.
It is of course also possible to use other modes come control initiate block data modification message permission, can permit to obtain The node of ad hoc fashion authorization initiates to modify.
Optionally, the block data modification message in the embodiment of the present invention carries in the intelligent contract of transactions requests.Example Such as, if a certain code segment executed in intelligent contract is used to realize transactions requests (i.e. to the modification of Transaction Information in block), Block generates node and is handled by the transactions requests to the code segment in intelligent contract, generates Transaction Information, is stored in In block, so that subsequent other newly-generated nodes are all had the right, when, how backtracking is checked, to which node Data are modified.It, can be with broadcast if block data, which modifies message, to be carried in the intelligent contract of transactions requests Form the control instruction that block data is modified is sent to each block node so that its according to the control instruction execute pair The modification of block data.
S102 modifies message according to block data, determines target modification block to be modified.
Optionally, it determines that the mode of target modification block to be modified has very much, which kind of mode area is specifically depended on using The content for including in block data modification message.Specifically, if in block data modification message including the block of target modification block Mark, it is determined that target modification block to be modified can be from block data modification message, extract target modification area Block it is block-identified, using in block chain have the block-identified block as target modification block to be modified;If block counts According to the block-identified of target modification block is not included in modification message, due to the modification of block data to be carried out, so wherein must It surely include target transaction data to be modified, it is thus determined that can be when target modification block to be modified from the block counts According in modification message, extracting target transaction data to be modified (can be specific Transaction Information, is also possible to the target transaction The corresponding Transaction Information mark of data), the block including the target transaction data is searched, as the target modification block. Wherein, target transaction data can be the Transaction Information to be modified in this block chain.It is extracted from block data modification message After target transaction data to be modified, all blocks in block chain can be successively traversed, searching includes the target transaction number According to block as target modification block.
S103 modifies message according to block data and modifies to the block data in target modification block.
Wherein, it is included at least in block data modification message: the target transaction data (area to be modified to be modified Original transaction data in block) and for replacing the modification Transaction Information of target transaction data, or the original number of transactions of deletion According to the instruction of content.
Illustratively, in embodiments of the present invention, message is modified to the block in target modification block according to block data The process that data are modified may is that in target modification block with target transaction data content or target transaction Data Identification It is searched, is modified after finding target transaction data to be modified to it, for example, it may be by new modification Transaction Information Replace original target transaction data;It is also possible to according to modification Transaction Information to certain ginsengs in original target transaction data Number is modified;Or it can directly delete.
S104, using the previous block of target modification block as starting block is reformed, to target modification block and thereafter Transaction Information in continuous block is handled again, to generate new block chain, is connected to after reforming starting block.
Since modification has been carried out in the Transaction Information in the target modification block in block chain, in the target modification block The Data Identifications of target transaction data to be modified just changed, so as to cause the root and mesh of the Mei Keer tree of generation Mark modification the block-identified of block is all changed.Again because in each block head including the block mark of previous block Know, therefore, the block-identified change of target modification block causes the block-identified of its latter linked all block and changes Become, therefore, it is necessary to do all blocks after starting block using the previous block of target block as starting block, counterweight is reformed In Transaction Information handle again, generate new block chain, be connected to reform starting block after.
Specifically, each Transaction Information in target modification block can be extracted since target modification block, it is based on Hash Algorithm handles each Transaction Information again, generates the Data Identification of each Transaction Information, then regenerate based on Mei Keer tree algorithm The root of Mei Keer tree is stored in the block head of new block, determine in block head other data (such as timestamp, random number, Target Hash, mark of previous block etc.), to generate corresponding first new block of target modification block, then mention again Take the Transaction Information in the latter block of target modification block, again processing generate the second new block be connected to the first new block it Afterwards, and so on, the Transaction Information extracted in institute's block after reforming starting block in former block chain is all handled again, A new block is generated for each original block and is joined together to form a new block chain, is connected to and is reformed sintering After block.It is equivalent to, since the previous block of target modification block, has separately reformed a bifurcated block chain, and it is old Block chain component is discarded.
Optionally, the Transaction Information in target modification block and its subsequent block is handled again, to generate newly Block chain, be connected to the starting block of reforming includes: to generate node by current block later, executes and generates the new block The operation of chain;Node is generated by current block, by the new block chain of generation, other nodes is transferred to and is stored.
It should be noted that the operation for executing the generation new block chain can be by one in the embodiment of the present invention Current block generates node and completes, and is also possible to generate node by multiple and different blocks to complete, when reaching a certain switching When condition, it is switched to next block and generates the processing again that node continues to execute Transaction Information, generate the behaviour of new block chain Make.For example, if target modification block and its subsequent block there are 100 altogether, 11 blocks can be arranged to generate nodes, first 10 Block generates each generation and connection for being responsible for 10 new blocks of node, each block generate node complete 10 new blocks generate and After connection, automatically switches to next block and generate generation and connection that node continues to execute subsequent new block, when 100 new blocks After all generating, switches to the last one block generation node and deposited for newly-generated block chain to be transferred to other nodes Storage.The new block chain of generation is transferred to other nodes and stored by the embodiment of the present invention, so that other nodes are to newly-generated Block chain verified, avoid and there is the case where playing tricks when generating new block chain, improve the safety of block chain.
S105, the discarded subsequent block reformed after starting block.
Since S103 is modified the block data in target modification block, so that reforming starting in original block chain The data in subsequent block after block are not correct, in order to avoid it is clashed between newly-generated block chain, It needs to discard the subsequent block reformed in former block chain after originating block.Specifically, discarding the mode of subsequent block has very It is more, for example, it may be subsequent block is deleted in former block chain, it can also be and set invalid for the block-identified of subsequent block Mark, when view a certain block it is block-identified for it is invalid when, just default the block be invalid block.Due to reforming new block Block-identified have occurred and that variation, each account or node, be according to new block-identified and things when searching block data Business mark goes to obtain content.Old block-identified and old Transaction Identifier is not re-used as searching address, so also corresponding to old block quilt It is discarded.
Optionally, when discarding the subsequent block after reforming starting block, not only local node will execute the operation, block Other nodes in catenary system will also execute the discarded operation for reforming the subsequent block after starting block and optionally can be Other nodes are notified to execute the operation of the S105 in the form of broadcast;It is also possible to carry the intelligence of the block data modification message Energy contract, the discarded subsequent block reformed after starting block of instruction block chain node;It can also be that each node receives After block data modifies message, and when having received newly-generated block chain, using public key, motion voting or other authorizations Newly-generated block chain is verified, if being proved to be successful, the newly-generated block chain link is being reformed into starting block Later, the subsequent block after starting block is reformed in automatic discarded former block chain.
The data modification method for present embodiments providing a kind of block chain modifies message by obtaining block data, to true Data in fixed target modification block to be modified are modified, and using the previous block of target modification block as reforming Originate block, the Transaction Information of subsequent all blocks is handled again, generates new block chain, be connected to reform starting block it Afterwards, the subsequent block of original after reforming starting block is discarded.It is big to solve existing block chain technology modification Transaction Information difficulty Problem can be realized the modification to block chain data, provide a kind of simple and effective solution for modification block chain data.
Embodiment two
Fig. 2 is a kind of flow chart of the data modification method of block chain provided by Embodiment 2 of the present invention, and this method is upper State and further optimize on the basis of embodiment, provide a preferred embodiment, specifically, as shown in Fig. 2, this method comprises:
S201 obtains block data and modifies message.
S202 modifies message according to block data, determines target modification block to be modified.
S203 modifies message according to block data and modifies to the block data in target modification block.
The block data modified may be business association data, it is also possible to non-traffic associated data.Business association number Data are shifted according to e.g. element, such as digital cash being transferred to or produces.Non-traffic associated data for example can be plain text Data, image data etc..For business association data, after it is modified or deleted, may will affect in the block of subsequent zone The processing of transactions requests.If the block data of modification exists with the transactions requests of subsequent block and conflicts, then asks in subsequent transaction , will be different from former processing result when asking needs processed, or can not be processed.For example, if the block data of modification makes certain The digital cash remaining sum of a account is zero, and subsequent transactions requests are to produce digital cash outward from the account.Since remaining sum is Zero can not carry out producing processing, can accordingly notify user.
S204, using the previous block of target modification block as reforming starting block.
Optionally, when starting block is reformed in determination, if target modification block is one, by target modification block Previous block is used as and reforms starting block;If target modification block is at least two, the mesh of block chain front end will be located at The previous block of mark modification block, which is used as, reforms starting block.Because if the data in block are modified, from the area of modification BOB(beginning of block), the Transaction Information in subsequent all blocks will be handled again generates new block, therefore, when there is multiple targets to repair When changing block, without determining that is reformed a starting block according to each target modification block, it need to will only be in the target of front end For the previous block of modification block as starting block is reformed, subsequent all blocks all handle number of transactions wherein included again According to the new block chain of generation.
S205, for each block in block chain, extracts the original thing in block since target modification block one by one Business request is handled, and forms Transaction Information, and be added in new block, repeats to handle again for each onblock executing, directly It is disposed to subsequent block.
Illustratively, when being handled again the Transaction Information in target modification block and its subsequent block, for Each block extracts original transaction data therein one by one, restores processing environment at that time, re-starts processing, forms thing Business data, are added in new block, pass through the shapes Mei Keer trees such as hash algorithm, Mei Keer tree algorithm in the block body of new block Root be stored in block head, determine and form a complete new block after other data in block head.From target modification area BOB(beginning of block) executes each block thereafter one by one, a new block chain is formed, until subsequent all blocks have all been handled Until finishing.
Optionally, if being to handle to obtain under a certain specific environment at that time from the original transaction reques extracted in block Transaction Information, and handle the environment of the original transaction reques again and specific environment at that time is not inconsistent now, then it can be and pass through Operating environment is handled at that time for simulation, or default directly acquires the number of transactions that the original transaction reques processing of former block is formed According to.For example, simulation can be passed through if original transaction reques are the Transaction Informations formed in specific time-triggered protocol a certain at that time The time environment of original transaction reques was handled at that time, is formed Transaction Information to handle the original transaction reques again, is added to new In block;If original transaction reques are to execute in the environment of voting, and voted again at this time, possible outcome It is different at that time, therefore, the Transaction Information that original transaction reques are formed in former block can be directly acquired at this time, be added to new In block.
S206, by the new block chain link of generation and reform starting block after.
S207, the discarded subsequent block reformed after starting block.
The data modification method for present embodiments providing a kind of block chain repairs target according to block data modification message Change after the data in block modify, for all blocks after starting block are reformed, extracts the original thing in block one by one Business data re-start processing and form new block chain link after reforming starting block, discard after reforming starting block Former subsequent block.It can realize to block chain data modification, the further perfect scheme of modification block chain data.
Embodiment three
Fig. 3 A-3C is the flow chart for the data modification method of block chain that the embodiment of the present invention three provides, the present embodiment with Based on previous embodiment, a preferred embodiment is provided, suitable for when the data to block chain are modified, receiving in real time The case where transactions requests of generation, if Fig. 3 A-3C is the flow chart of three kinds of processing methods in this case respectively.Next it combines Fig. 3 A-3C specifically introduces following three kinds of processing methods.
Fig. 3 A is the first processing method provided in this embodiment, this method comprises:
S301 obtains block data and modifies message.
S302 after transactions requests processing, adds if receiving the transactions requests occurred in real time as Transaction Information It is added in the block being presently processing.
Illustratively, the first processing method provided in this embodiment can also during to block chain data modification The transactions requests are handled at once if receiving transactions requests with receiving the transactions requests occurred in real time, and will processing As a result it is added to as Transaction Information in the block for being presently processing block chain data modification.
Optionally, if receive the transactions requests occurred in real time, it can be and continue S303-S306 after execution to block Processing of the S302 to the transactions requests is executed while chain data modification, and obtained Transaction Information is added to and is currently being located In the block of reason.For example, when handling the transactions requests occurred in real time, the modification and in real time for block data can be The processing of the transactions requests of generation is arranged different blocks and generates node, and two nodes are performed simultaneously to the Transaction Information occurred in real time Processing and block chain data modification operation.It is also possible to block and generates node to ask the affairs having executed S302 The processing asked, and obtained Transaction Information is added in the block being presently processing and then is continued to execute S303-S306 Modification to block chain data.For example, can be current block when handling the transactions requests occurred in real time and generate section Point stops the processing to block chain data, first handles the real-time transactions requests that occur, Transaction Information is added to currently just In the block of processing and then continue to execute modification to block chain data.
S303 modifies message according to block data, determines target modification block to be modified.
S304 modifies message according to block data and modifies to the block data in target modification block.
S305, using the previous block of target modification block as starting block is reformed, to target modification block and thereafter Transaction Information in continuous block is handled again, to generate new block chain, is connected to after reforming starting block.
S306, the discarded subsequent block reformed after starting block.
It should be noted that the affairs that S302 reception occurs in real time in the first processing method described in the present embodiment are asked It asks, Transaction Information is added to the specific execution sequence embodiment of the present invention of the process of block without limit after real-time perfoming processing It is fixed, it can be executed parallel with S301, S303-S306 arbitrary process modified to block chain data.S302 is what specific when It waits to execute and only depends on and when receive the transactions requests occurred in real time.
It should be noted that in the first processing method described in the present embodiment, to the data modification in block chain In the process, the transactions requests occurred in real time are received, with regard to handling in real time the transactions requests, and by the Transaction Information of formation It is added in the block being presently processing, if the Real-time Transaction data received are in business association data, with block chain Data modification process is handled simultaneously, it is possible that the case where subsequent transaction data corruption, therefore the first processing method, it is more suitable The case where Real-time Transaction request for receiving is non-traffic associated data, even if handling in real time transactions requests, It will not influence the confusion of subsequent transaction data.Wherein, business association data, which can be, has incidence relation with subsequent transaction data Data, include at least: account element shift data, for example, the transfer for the virtual objects being related between account.Non-traffic association Data are then not have the independent data of incidence relation with subsequent transaction data, plain text data are included at least, for example, what user said In short.
Fig. 3 B is second of processing method provided in this embodiment, this method comprises:
S307 obtains block data and modifies message.
If receiving the transactions requests occurred in real time buffer queue will be added after transactions requests processing in S308.
Wherein, buffer queue can be for temporarily storing at the transactions requests occurred in real time or store transaction request The Transaction Information obtained after reason, the purpose that buffer queue is arranged are, avoid the transactions requests sent in real time and modification block chain The case where original Transaction Information of block chain mixes, leads to data corruption in the process.For example, in modification block chain data When, the original transaction data handled are middle A transfers accounts 50 bit coin to B, after the Real-time Transaction request processing at this moment received The Transaction Information that obtains to be B transfer accounts 100 bit coin to C, if B is added to the transfer accounts Transaction Information of 100 bit coin of C at this time A is transferred accounts to B after 50 bit coin, and real-time Transaction Information and historical transactions data are mixed, and is easy to cause the mixed of data Disorderly.
Therefore, second of processing method provided in this embodiment can be when receiving the transactions requests occurred in real time First the transactions requests are cached, are handled again after waiting original block to reform completion.The advantages of this arrangement are as follows that is, Make to have received a plurality of transactions requests occurred in real time during to block chain data modification, caching team can be first stored in In column, when follow-up storage, follows first in first out, is stored, will not be caused according to the chronological order of transactions requests The confusion of data.
S309 modifies message according to block data, determines target modification block to be modified.
S310 modifies message according to block data and modifies to the block data in target modification block.
S311, using the previous block of target modification block as starting block is reformed, to target modification block and thereafter Transaction Information in continuous block is handled again, to generate new block chain, is connected to after reforming starting block.
S312, the discarded subsequent block reformed after starting block.
Transaction Information in buffer queue is added in block by S313 after the completion of new block chain is reformed.
Illustratively, after the completion of the data modification of block chain, transactions requests progress can be extracted from buffer queue Processing forms Transaction Information, Transaction Information is added in block.Alternatively, S308 to be added to the number of transactions in buffer queue According to according to first in first out, being successively added in current block, to guarantee the accuracy of Transaction Information storage order.
It should be noted that second method occurs to real-time compared to the first processing method described in the present embodiment Transactions requests receive after directly storage, but be first added in buffer queue, until block chain data modification is completed Afterwards, then successively it handles.Can guarantee no matter real-time reception to transactions requests whether be business association data, not will cause thing The confusion for data of being engaged in.
Fig. 3 C is the third processing method provided in this embodiment, this method comprises:
S314 obtains block data and modifies message.
Notice is submitted in S315, publication transactions requests pause.
Wherein, transactions requests pause submits notice to can be for notifying the node in block catenary system to suspend publication affairs Request, it may include: distributor information, Dwell duration, pause reason etc. in notice that transactions requests pause, which is submitted,.The affairs Request pause submits notice to can be a control instruction, is also possible to carry in the intelligent contract of transactions requests.
Optionally, publication transactions requests pause submit notice node can be with super authority and public credibility it is stronger Central node, after the node in block chain, which receives affairs pause, submits notification message, using the super of central node distribution Permission public key to transactions requests suspend submit notice carry out central node authentication, be verified be followed by it is temporary by the transactions requests Stop submitting notice;Publication transactions requests pause submits the node of notice to can also be that any node initiates thing with motion voting formula Notice is submitted in business request pause, after the node in block chain, which receives affairs pause, submits notification message, using voting Mode come decide whether to receive the transactions requests pause submit notice;It can also decide whether to connect using other authorizations Suspended by transactions requests and submit notice, the embodiment of the present invention is to specific method without limiting.
Illustratively, the node in block chain submits notice to transactions requests pause is received, and is verified, just no longer Any transactions requests are submitted, until normally submitting notice until receiving transactions requests again.
S316 modifies message according to block data, determines target modification block to be modified.
S317 modifies message according to block data and modifies to the block data in target modification block.
S318, using the previous block of target modification block as starting block is reformed, to target modification block and thereafter Transaction Information in continuous block is handled again, to generate new block chain, is connected to after reforming starting block.
S319, the discarded subsequent block reformed after starting block.
S320, publication transactions requests normally submit notice.
Wherein, transactions requests normally submit notice to notify with the transactions requests pause submission in S315 corresponding, for leading to Know that the node in block catenary system can normally submit transactions requests.Its specific publisher node, published method and authentication Formula etc. can notify similar with transactions requests pause submission.After the completion of S319 is to block chain data modification, thing can be issued Business request is normal to submit notice, to restore the submission and processing of transactions requests in block chain.
It should be noted that the third processing method of the present embodiment, in order to avoid the thing of the transactions requests of real-time reception Being engaged in data and block chain, original Transaction Information is chaotic, proposes a kind of new solution, i.e., to block chain data into When row modification, the submission of pause Real-time Transaction request does not handle the Transaction Information generated in real time, to block chain data modification After the completion, Real-time Transaction request, which is submitted, just restores normal.
It, can also be with it should be noted that three kinds of methods provided in this embodiment, can independently execute as shown in figs. 3 a-3 c It is to combine execution, for example, it may be when obtaining block chain data modification message, the common transaction of issuing service associated data Notice is submitted in request pause, and for the transactions requests of non-traffic associated data, executing first method handles and stores in real time, Emergency management request for business association data, is added in buffer queue, right after being handled in real time using second method After the completion of block chain data modification, successively the Transaction Information in buffer queue is stored in current block.
The data modification method for present embodiments providing a kind of block chain, gives and modifies in the data to block chain When, for real-time reception to three kinds of schemes how handling of transactions requests, be based on actual conditions, between three kinds of processing schemes into Row scheduling not will cause Transaction Information confusion while ensure that block chain data modification.
Example IV
Fig. 4 is a kind of structural block diagram of the data modifying apparatus for block chain that the embodiment of the present invention four provides, which can The data modification method for executing block chain provided by any embodiment of the invention, have the corresponding functional module of execution method and Beneficial effect.As shown in figure 4, the device includes:
Message capturing module 401 is modified, for obtaining block data modification message;
Block determining module 402 is modified, for modifying message according to the block data, determines target modification to be modified Block;
Data modification module 403, for modifying message to the block counts in target modification block according to the block data According to modifying;
Data processing module 404, it is right for using the previous block of the target modification block as reforming starting block Transaction Information in the target modification block and its subsequent block is handled again, to generate new block chain, is connected to It is described reform starting block after;
Block discard module 405, for the discarded subsequent block reformed after originating block.
The data modifying apparatus for present embodiments providing a kind of block chain modifies message by obtaining block data, to true Data in fixed target modification block to be modified are modified, and using the previous block of target modification block as reforming Originate block, the Transaction Information of subsequent all blocks is handled again, generates new block chain, be connected to reform starting block it Afterwards, the subsequent block of original after reforming starting block is discarded.It is big to solve existing block chain technology modification Transaction Information difficulty Problem can be realized the modification to block chain data, provide a kind of effective solution scheme for modification block chain data.
Further, above-mentioned modification message capturing module 401 is specifically used for:
It receives the block data that central node is sent and modifies message;Or
It receives any node and message is modified with the block data that motion voting formula is initiated;
Wherein, the block data modification message carries in the intelligent contract of transactions requests.
Further, above-mentioned modification message capturing module 401 is specifically used for:
It receives the block data that central node is sent and modifies message;
Order is modified to the block data using the super authority public key of central node distribution and carries out central node identity Verifying is verified and is followed by being modified message by the block data.
Further, the intelligent contract for carrying the block data modification message, is also used to indicate block chain knot removal The subsequent block reformed after starting block.
Further, above-mentioned data processing module 404 includes:
Block chain generation unit executes the operation for generating the new block chain for generating node by current block;
The new block chain of generation is transferred to it for generating node by the current block by block chain transmission unit He stores node.
Further, above-mentioned modification block determining module 402 is specifically used for:
From block data modification message, the block-identified of target modification block is extracted;Or
From block data modification message, target transaction data to be modified are extracted, searching includes the target thing The block for data of being engaged in, as the target modification block.
Further, above-mentioned data processing module 404 is using the previous block of the target modification block as having reformed It is specifically used for when beginning block, if the target modification block is at least two, the target for being located at block chain front end is repaired The previous block for changing block, which is used as, reforms starting block.
Further, above-mentioned data processing module 404 is to the affairs in the target modification block and its subsequent block Data are handled again, are specifically used for when new block chain with generating, since the target modification block, for block chain In each block, the original transaction reques extracted in block one by one are handled, form Transaction Information, and be added to new block In, it repeats to handle again for each onblock executing, until subsequent block is disposed.
Further, above-mentioned apparatus further include:
Real time request processing module, if for receiving the transactions requests occurred in real time, at the transactions requests After reason, it is added in the block being presently processing as Transaction Information.
Further, above-mentioned apparatus further include:
Cache module is handled, if for receiving the transactions requests occurred in real time, after transactions requests processing Buffer queue is added;
Transaction Information adding module, after the completion of reforming when the new block chain, by the thing in the buffer queue Business data are added in block.
Further, above-mentioned apparatus further include:
It notifies release module, submits notice for issuing transactions requests pause.
Embodiment five
The structural schematic diagram for a kind of electronic equipment that Fig. 5 embodiment of the present invention five provides.Fig. 5, which is shown, to be suitable for being used to realizing The block diagram of the example electronic device 50 of embodiment of the present invention.The electronic equipment 50 that Fig. 5 is shown is only an example, is not answered Any restrictions are brought to the function and use scope of the embodiment of the present invention.As shown in figure 5, the electronic equipment 50 is set with general-purpose computations Standby form shows, typically block chain node.The component of the electronic equipment 50 can include but is not limited to: one or more A processor or processing unit 501, system storage 502 connect different system components (including system storage 502 and place Manage unit 501) bus 503.
Bus 503 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Electronic equipment 50 typically comprises a variety of computer system readable media.These media can be it is any can be electric The usable medium that sub- equipment 50 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 502 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 504 and/or cache memory 505.Electronic equipment 50 may further include it is other it is removable/no Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 506 can be used for reading and writing Immovable, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").It, can although being not shown in Fig. 5 To provide the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk "), and it is non-volatile to moving Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read and write CD drive.In these cases, each drive Dynamic device can be connected by one or more data media interfaces with bus 503.System storage 502 may include at least one A program product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform The function of various embodiments of the present invention.
Program/utility 508 with one group of (at least one) program module 507, can store and deposit in such as system In reservoir 502, such program module 507 includes but is not limited to operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.Program mould Block 507 usually executes function and/or method in embodiment described in the invention.
Electronic equipment 50 can also be with one or more external equipments 506 (such as keyboard, sensing equipment, display 510 Deng) communication, can also be enabled a user to one or more equipment interact with the equipment communicate, and/or with make the electronics Any equipment (such as network interface card, modem etc.) that equipment 50 can be communicated with one or more of the other calculating equipment is logical Letter.This communication can be carried out by input/output (I/O) interface 511.Also, electronic equipment 50 can also be suitable by network Orchestration 512 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as because of spy Net) communication.As shown in figure 5, network adapter 512 is communicated by bus 503 with other modules of electronic equipment 50.It should be bright It is white, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 50, including but not limited to: micro- Code, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup Storage system etc..
Processing unit 501 by the program that is stored in system storage 502 of operation, thereby executing various function application with And data processing, such as realize the data modification method of block chain provided by the embodiment of the present invention.
Embodiment six
The embodiment of the present invention six additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should Program can realize the data modification method of block chain described in above-described embodiment when being executed by processor.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium can be for example but not limited to: electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or Any above combination of person.The more specific example (non exhaustive list) of computer readable storage medium includes: with one Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to: Wirelessly, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language, such as Java, Smalltalk, C++, also Including conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to And in the situation of remote computer, remote computer can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to subscriber computer, or, it may be connected to outer computer (such as led to using ISP Cross internet connection).
Above-described embodiment serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Will be appreciated by those skilled in the art that each module of the above-mentioned embodiment of the present invention or each operation can be used and lead to Computing device realizes that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computer installation can be performed, so as to storing them Be performed by computing device in the storage device, perhaps they are fabricated to each integrated circuit modules or by they In multiple modules or operation be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific The combination of hardware and software.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar part between each embodiment may refer to each other.
The above description is only a preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art For, the invention can have various changes and changes.All any modifications made within the spirit and principles of the present invention are equal Replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (14)

1. a kind of data modification method of block chain characterized by comprising
It obtains block data and modifies message;
Message is modified according to the block data, determines target modification block to be modified;
Message is modified according to the block data to modify to the block data in target modification block;
Using the previous block of the target modification block as reforming starting block, to the target modification block and its subsequent Transaction Information in block is handled again, to generate new block chain, be connected to it is described reform starting block after;
The discarded subsequent block reformed after starting block.
2. the method according to claim 1, wherein acquisition block data modification message includes:
It receives the block data that central node is sent and modifies message;Or
It receives any node and message is modified with the block data that motion voting formula is initiated;
Wherein, the block data modification message carries in the intelligent contract of transactions requests.
3. according to the method described in claim 2, it is characterized in that, receiving the block data that central node is sent modifies message package It includes:
It receives the block data that central node is sent and modifies message;
Order is modified to the block data using the super authority public key of central node distribution and carries out central node authentication, It is verified and is followed by being modified message by the block data.
4. according to the method described in claim 2, it is characterized in that, carry the intelligent contract of block data modification message, It is also used to indicate to reform the subsequent block after starting block described in block chain knot removal.
5. according to the method described in claim 2, it is characterized in that, using the previous block of the target modification block as weight Starting block is done, the Transaction Information in the target modification block and its subsequent block is handled again, to generate newly Block chain, be connected to the starting block of reforming includes: later
Node is generated by current block, executes the operation for generating the new block chain;
It generates node by the current block the new block chain of generation is transferred to other nodes and is stored.
6. being determined to be modified the method according to claim 1, wherein modifying message according to the block data Target modification block include:
From block data modification message, the block-identified of target modification block is extracted;Or
From block data modification message, target transaction data to be modified are extracted, searching includes the target transaction number According to block, as the target modification block.
7. the method according to claim 1, wherein using the previous block of the target modification block as weight Doing starting block includes:
If the target modification block is at least two, the previous of the target modification block of block chain front end will be located at Block is used as and reforms starting block.
8. the method according to claim 1, wherein to the thing in the target modification block and its subsequent block Business data are handled again, include: to generate new block chain
Since the target modification block, for each block in block chain, the original transaction extracted in block one by one is asked It asks and is handled, form Transaction Information, and be added in new block, repeat to handle again for each onblock executing, until after Continuous block is disposed.
9. the method according to claim 1, wherein further include:
If receiving the transactions requests occurred in real time, after transactions requests processing, it is added to as Transaction Information and works as In the preceding block handled.
10. the method according to claim 1, wherein further include:
If receiving the transactions requests occurred in real time, buffer queue will be added after transactions requests processing;
After the completion of the new block chain is reformed, the Transaction Information in the buffer queue is added in block.
11. the method according to claim 1, wherein further include:
It issues transactions requests pause and submits notice.
12. a kind of data modifying apparatus of block chain characterized by comprising
Message capturing module is modified, for obtaining block data modification message;
Block determining module is modified, for modifying message according to the block data, determines target modification block to be modified;
Data modification module repairs the block data in target modification block for modifying message according to the block data Change;
Data processing module, for using the previous block of the target modification block as starting block is reformed, to the mesh Transaction Information in mark modification block and its subsequent block is handled again, to generate new block chain, is connected to described heavy After doing starting block;
Block discard module, for the discarded subsequent block reformed after originating block.
13. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now data modification method of the block chain as described in any in claim 1-11.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The data modification method of the block chain as described in any in claim 1-11 is realized when execution.
CN201811087977.6A 2018-09-18 2018-09-18 Data modification method, device, equipment and medium for block chain Active CN109213900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811087977.6A CN109213900B (en) 2018-09-18 2018-09-18 Data modification method, device, equipment and medium for block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811087977.6A CN109213900B (en) 2018-09-18 2018-09-18 Data modification method, device, equipment and medium for block chain

Publications (2)

Publication Number Publication Date
CN109213900A true CN109213900A (en) 2019-01-15
CN109213900B CN109213900B (en) 2020-10-16

Family

ID=64984228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811087977.6A Active CN109213900B (en) 2018-09-18 2018-09-18 Data modification method, device, equipment and medium for block chain

Country Status (1)

Country Link
CN (1) CN109213900B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857751A (en) * 2019-01-23 2019-06-07 平安科技(深圳)有限公司 Cross-platform data update method, device and computer equipment based on block chain
CN109889505A (en) * 2019-01-23 2019-06-14 平安科技(深圳)有限公司 The data property held verification method and terminal device
CN110443052A (en) * 2019-07-30 2019-11-12 深圳市科迈爱康科技有限公司 The amending method and system of block chain block
CN111008218A (en) * 2019-12-04 2020-04-14 福州博泉网络科技有限公司 Method and system for structured storage of data on block chain
CN111639939A (en) * 2020-06-08 2020-09-08 杭州复杂美科技有限公司 Block restoring method, equipment and storage medium
CN111966696A (en) * 2019-05-20 2020-11-20 深圳市网安计算机安全检测技术有限公司 Method, device and equipment for updating data in block chain
CN112506914A (en) * 2019-09-16 2021-03-16 西安华域网络文化发展有限公司 Block chain data management method, system, device and medium based on double-chain structure
CN112650734A (en) * 2020-12-29 2021-04-13 杭州趣链科技有限公司 Block repairing method and related device
WO2021068728A1 (en) * 2019-10-10 2021-04-15 深圳前海微众银行股份有限公司 Methods and apparatus for generating state tree of block and validating on-chain data
CN113163011A (en) * 2021-04-21 2021-07-23 深圳壹账通智能科技有限公司 Method, system, device and storage medium for modifying data in block chain
CN113312362A (en) * 2020-02-26 2021-08-27 百度在线网络技术(北京)有限公司 Block chain data modification method, device, equipment and storage medium
CN113835931A (en) * 2021-10-11 2021-12-24 长春嘉诚信息技术股份有限公司 Data modification discovery method applied to block chain
CN113986940A (en) * 2021-11-11 2022-01-28 建信金融科技有限责任公司 Contract processing method and device based on block chain public chain

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598490A (en) * 2016-11-25 2017-04-26 深圳前海微众银行股份有限公司 Access method for block chain data and block chain management system
CN106897352A (en) * 2016-12-29 2017-06-27 北京瑞卓喜投科技发展有限公司 The generation method and system of the block chain modified in expansion
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
CN107967557A (en) * 2017-11-17 2018-04-27 西安电子科技大学 Reputation Evaluation System and method, electronic fare payment system are changed based on block chain
CN108063752A (en) * 2017-11-02 2018-05-22 暨南大学 A kind of credible genetic test and data sharing method based on block chain and proxy re-encryption technology
US20180165476A1 (en) * 2016-12-09 2018-06-14 International Business Machines Corporation Interlocked blockchains to increase blockchain security
CN108470039A (en) * 2018-02-09 2018-08-31 北京欧链科技有限公司 Data processing method and device in block chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598490A (en) * 2016-11-25 2017-04-26 深圳前海微众银行股份有限公司 Access method for block chain data and block chain management system
US20180165476A1 (en) * 2016-12-09 2018-06-14 International Business Machines Corporation Interlocked blockchains to increase blockchain security
CN106897352A (en) * 2016-12-29 2017-06-27 北京瑞卓喜投科技发展有限公司 The generation method and system of the block chain modified in expansion
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
CN108063752A (en) * 2017-11-02 2018-05-22 暨南大学 A kind of credible genetic test and data sharing method based on block chain and proxy re-encryption technology
CN107967557A (en) * 2017-11-17 2018-04-27 西安电子科技大学 Reputation Evaluation System and method, electronic fare payment system are changed based on block chain
CN108470039A (en) * 2018-02-09 2018-08-31 北京欧链科技有限公司 Data processing method and device in block chain

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889505A (en) * 2019-01-23 2019-06-14 平安科技(深圳)有限公司 The data property held verification method and terminal device
CN109889505B (en) * 2019-01-23 2022-05-27 平安科技(深圳)有限公司 Data consistency verification method and terminal equipment
CN109857751A (en) * 2019-01-23 2019-06-07 平安科技(深圳)有限公司 Cross-platform data update method, device and computer equipment based on block chain
CN111966696A (en) * 2019-05-20 2020-11-20 深圳市网安计算机安全检测技术有限公司 Method, device and equipment for updating data in block chain
CN111966696B (en) * 2019-05-20 2023-10-13 深圳市网安计算机安全检测技术有限公司 Method, device and equipment for updating data in block chain
CN110443052B (en) * 2019-07-30 2021-05-07 深圳市科迈爱康科技有限公司 Modification method and system for block chain block
CN110443052A (en) * 2019-07-30 2019-11-12 深圳市科迈爱康科技有限公司 The amending method and system of block chain block
CN112506914A (en) * 2019-09-16 2021-03-16 西安华域网络文化发展有限公司 Block chain data management method, system, device and medium based on double-chain structure
CN112506914B (en) * 2019-09-16 2024-02-27 西安华域网络文化发展有限公司 Block chain data management method, system, device and medium based on double-chain structure
WO2021068728A1 (en) * 2019-10-10 2021-04-15 深圳前海微众银行股份有限公司 Methods and apparatus for generating state tree of block and validating on-chain data
CN111008218B (en) * 2019-12-04 2022-05-24 福州博泉网络科技有限公司 Method and system for structured storage of data on block chain
CN111008218A (en) * 2019-12-04 2020-04-14 福州博泉网络科技有限公司 Method and system for structured storage of data on block chain
CN113312362B (en) * 2020-02-26 2024-07-19 百度在线网络技术(北京)有限公司 Block chain data modification method, device, equipment and storage medium
CN113312362A (en) * 2020-02-26 2021-08-27 百度在线网络技术(北京)有限公司 Block chain data modification method, device, equipment and storage medium
CN111639939A (en) * 2020-06-08 2020-09-08 杭州复杂美科技有限公司 Block restoring method, equipment and storage medium
CN112650734A (en) * 2020-12-29 2021-04-13 杭州趣链科技有限公司 Block repairing method and related device
CN113163011A (en) * 2021-04-21 2021-07-23 深圳壹账通智能科技有限公司 Method, system, device and storage medium for modifying data in block chain
CN113835931A (en) * 2021-10-11 2021-12-24 长春嘉诚信息技术股份有限公司 Data modification discovery method applied to block chain
CN113986940A (en) * 2021-11-11 2022-01-28 建信金融科技有限责任公司 Contract processing method and device based on block chain public chain

Also Published As

Publication number Publication date
CN109213900B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN109213900A (en) A kind of data modification method, device, equipment and the medium of block chain
US20240265358A1 (en) Sharded Permissioned Distributed Ledgers
CN110599173B (en) Block chain consensus node determination method, device, equipment and storage medium
CN109587238B (en) Data processing and synchronizing method, device, equipment and storage medium of block chain
CN104252375B (en) Method and system for sharing USB Key positioned at multiple virtual machines of different main frames
CN109345259A (en) Virtual resource transfer method, device, medium and electronic equipment based on block chain
WO2020040937A2 (en) Blockchain-based service rental method, apparatus, and system, and electronic device
CN108810006A (en) resource access method, device, equipment and storage medium
CN108985772A (en) A kind of verification method, device, equipment and the storage medium of block chain
CN110011793A (en) Anti-fake data processing method of tracing to the source, device, equipment and medium
CN109344631A (en) The data modification and block verification method, device, equipment and medium of block chain
CN108769230A (en) Transaction data storage method, device, server and storage medium
CN102170440A (en) Method suitable for safely migrating data between storage clouds
CN109246176A (en) Based on the multi-controller synchronous method and device of block chain in software defined network
CN110210207A (en) Authorization method and equipment
CN112291372B (en) Asynchronous posting method, device, medium and electronic equipment for block chain
CN109727044A (en) Brand transaction methods, device, equipment and medium based on block chain
CN108665272A (en) Block chain data processing method, device, equipment and storage medium
US20230134162A1 (en) Method of processing information, electronic device, and storage medium
CN111385103A (en) Authority processing method, system and device and electronic equipment
CN110096542A (en) Data verification processing method, device, system and the medium of decentralization
JP7357096B1 (en) Data delivery system, data delivery method
CN109347877A (en) Block chain structure storage controlling method
CN111597269A (en) Block chain-based contract implementation method, device and equipment
CN110599384A (en) Organization relation transfer method, device, equipment and storage 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