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

CN108170740A - Data migration method, system and computer readable storage medium - Google Patents

Data migration method, system and computer readable storage medium Download PDF

Info

Publication number
CN108170740A
CN108170740A CN201711363314.8A CN201711363314A CN108170740A CN 108170740 A CN108170740 A CN 108170740A CN 201711363314 A CN201711363314 A CN 201711363314A CN 108170740 A CN108170740 A CN 108170740A
Authority
CN
China
Prior art keywords
block chain
contract
new
node
data
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
CN201711363314.8A
Other languages
Chinese (zh)
Other versions
CN108170740B (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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201711363314.8A priority Critical patent/CN108170740B/en
Publication of CN108170740A publication Critical patent/CN108170740A/en
Application granted granted Critical
Publication of CN108170740B publication Critical patent/CN108170740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/214Database migration support

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of data migration method, system and computer readable storage medium, the data mover system is equipped with client and block chain node, the described method comprises the following steps:The block chain Transaction Information of client transmission is received by block chain node, and new intelligent contract node is created based on the block chain Transaction Information received;The old contract address in the block chain Transaction Information is read, to extract the storage root of memory space in the old contract address;The storage of extraction is taken root in assignment to store in root to the new intelligent contract node is corresponding, subsequently to realize the migration of data according to the address of new contract.The present invention is based on the integration that memory space realizes block chain intelligence contract, allow new contract and old contract simultaneously and deposit and be independent of each other, block chain storage pressure will not be increased, have stronger upgrading fault-tolerant ability, maintenance cost is reduced, safety, reliability and practical operation is greatly improved.

Description

Data migration method, system and computer readable storage medium
Technical field
The present invention relates to block chain technical field more particularly to a kind of data migration method, system and computer-readable deposit Storage media.
Background technology
Block chain is applied in the case of service logic variation or failure, needs that intelligent contract data is migrated to reach To the purpose of upgrading.Current intelligent contract data migration scheme mainly has following two:
1) hard coded transfer method, this method are that a direction legacy version intelligence contract is preserved in the intelligent contract of new version Contract address, the data preserved in legacy version intelligence contract do not move, and new version intelligence contract is used for preserving the number of increment According to content so that the intelligent contract of new and old edition is got up by contract address information, remains association in logic.This method etc. The pointer that new version intelligence contract remains a legacy version intelligence contract data is same as, the drawback is that:Continual version Upgrading can result in the logic association of longer chain formula so that maintenance cost is higher.
2) hard copy transfer method, this method are using external Migration tools, and legacy version intelligence contract data is all copied Region to other than block chain, then asynchronously the region other than block chain is stored again into new version intelligence contract again, So that logically no longer retain any association between new and old edition intelligence contract.This method is equal to copying completely for contract data Shellfish, the drawback is that:Block chain storage pressure increases considerably;Data Migration Tools need to be adapted to different in practical applications Intelligent contract, development cost are higher;Need to stop service in transition process, be otherwise susceptible to dirty data, and data volume compared with In the case of big, time-consuming, complicated for operation, and data easily malfunction.
Invention content
It is a primary object of the present invention to provide a kind of data migration method, system and computer readable storage medium, purport Solving existing Data Migration mode, maintenance and the skill that development cost is higher, time-consuming, cumbersome and data easily malfunction Art problem.
To achieve the above object, the present invention provides a kind of data migration method, applied to data mover system, the data Migratory system is equipped with client and block chain node, the data migration method include:
The block chain Transaction Information of client transmission is received by block chain node, and is merchandised and believed based on the block chain received Breath creates new intelligent contract node;
The old contract address in the block chain Transaction Information is read, to extract memory space in the old contract address Storage root;
The storage of extraction is taken root in assignment to store in root to the new intelligent contract node is corresponding, so as to follow-up basis Realize the migration of data in the address of new contract.
Optionally, it is described to receive the block chain Transaction Information that client sends by block chain node, and based on receiving Before block chain Transaction Information creates the step of new intelligent contract node, the method further includes:
In the Data Migration request for receiving sender's initiation, established newly according to the storage organization of old contract by client The corresponding Data Migration structure of deal of contract, wherein, the Data Migration structure of deal of the new contract is compatible with the storage of old contract Structure;
External account address, old contract address, transaction data and the trading signature number of sender is obtained by the client According to, and it is assembled into block chain Transaction Information with reference to the Data Migration structure of deal;
The block chain Transaction Information being assembled into is sent to block chain node by the client.
Optionally, the block chain node include far call module, point-to-point module and block chain frame module, it is described by Block chain node receives the block chain Transaction Information that client is sent, and creates new intelligence based on the block chain Transaction Information received It can include the step of contract node:
The block chain Transaction Information of client transmission is received by the far call module of block chain node or point-to-point module, And block chain Transaction Information is decoded by the far call module or point-to-point module;
The each field included in merchandising to decoded block chain checks, to determine whether each field meets respectively The corresponding preset condition of a field;
When the corresponding each field of block chain Transaction Information meets the corresponding preset condition of each field, block chain is handed over Easy information is put into transaction pool queue;
Block chain Transaction Information is extracted from transaction pool queue, and merchandise to the block chain of extraction by block chain frame module Information carries out being packaged processing to create new intelligent contract node.
Optionally, each field included in the transaction to decoded block chain checks, to determine each word Whether section, which meets the step of each field corresponding preset condition, includes:
Check whether trading signature data meet signature algorithm;
Check whether transaction data did not occurred in current block chain;
Check sender external account address whether with the account address matching that prestores;
Check whether old contract address is intelligent contract account address on current block chain;
Check whether the data field capacity in transaction data is more than the data word of the corresponding intelligent contract in old contract address Duan Rongliang.
Optionally, it is described block chain Transaction Information to be extracted from transaction pool queue by block chain frame module, and to extraction Block chain Transaction Information carry out being packaged processing and included the step of new intelligent contract node with creating:
Block chain Transaction Information is extracted from transaction pool queue, and the block chain of extraction is merchandised by block chain frame module Information is added in the transaction List Table of new block;
The established contract account total number in account address and account address of initiator is obtained, and according to the account Family address and total contract account number calculate the address of new intelligent contract;
New intelligent contract node is established, and it is corresponding to obtain the old contract address in transaction data according to the address of new contract The storage root of old intelligence contract node, and its value assignment is stored to new intelligent contract node is corresponding in root.
Optionally, the block chain node further includes computing module, described that the storage of extraction is taken root in assignment to described new After the corresponding step stored in taking root in of intelligent contract node, the method further includes:
Computing module is called to extract constructing variable in the transaction data of block chain Transaction Information;
The construction of new contract is performed in the corresponding storage of new intelligence contract node is taken root in using the constructing variable as input Function, the update taken root in the storage for realizing intelligent contract node.
Optionally, it is described to be performed newly in the corresponding storage of new intelligence contract node is taken root in using the constructing variable as input After the step of constructed fuction of contract, the update taken root in the storage for realizing intelligent contract node, the method further includes:
It will newly intelligent contract node store into block chain, and feed back block chain last state;
Data Migration transaction receipt structure is assembled into, and Data Migration is merchandised receipt according to the implementing result of migration transaction Structure is added in the receipt list of new block, to feed back to client.
Optionally, the block chain node further includes common recognition module and memory module, described that Data Migration is merchandised receipt Structure is added in the receipt list of new block, the step of to feed back to client after, the method further includes:
New block is supplied to common recognition module by block chain frame module, so that common recognition module signs to new block, and New block after signature is broadcasted to each node of the whole network, to realize that the whole network is known together;
After the completion of new block common recognition, described piece of chain frame module is notified by common recognition module, for described piece of chain frame mould Block calls memory module to store contract data caused by new block and new block into storage medium, to complete block chain Update.
In addition, to achieve the above object, the present invention also provides a kind of data mover system, the data mover system includes Processor, memory and it is stored in the Data Migration program that can be run on the memory and on the processor, the number The step of data migration method as described above is realized when being performed according to migrator by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Data Migration program is stored on storage medium, the Data Migration program is applied to data mover system, the Data Migration The step of data migration method as described above is realized when program is executed by processor.
Data migration method proposed by the present invention is first received the block chain transaction letter of client transmission by block chain node Breath, and new intelligent contract node is created based on the block chain Transaction Information received, then read the block chain Transaction Information In old contract address, in the old contract address extract memory space storage root, the storage root most extracted at last It plants assignment to store in root to the new intelligent contract node is corresponding, subsequently to realize data according to the address of new contract Migration.The present invention is based on the integration that memory space realizes block chain intelligence contract so that new contract and old contract can simultaneously simultaneously It deposits and is independent of each other, block chain storage pressure will not be increased, have stronger upgrading fault-tolerant ability, reduce maintenance cost, substantially Degree improves safety, reliability and practical operation.
Description of the drawings
Fig. 1 is the system structure diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of data migration method first embodiment of the present invention;
Fig. 3 is the refinement flow diagram of step S10 in Fig. 2;
Fig. 4 is the refinement flow diagram of step S14 in Fig. 3;
Fig. 5 is the flow diagram of data migration method second embodiment of the present invention;
Fig. 6 is the flow diagram of data migration method 3rd embodiment of the present invention;
Fig. 7 is the flow diagram of data migration method fourth embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly:The block chain that client transmission is first received by block chain node is merchandised Information, and new intelligent contract node is created based on the block chain Transaction Information received, then read the block chain transaction letter Old contract address in breath, to extract the storage root of memory space, the storage most extracted at last in the old contract address It takes root in assignment to store in root to the new intelligent contract node is corresponding, subsequently to realize data according to the address of new contract Migration.To solve in a manner of existing Data Migration, safeguard and development cost is higher, time-consuming, cumbersome and data are easy The problem of error.
As shown in Figure 1, the structure of the data mover system of hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to Schematic diagram.
The data mover system of the embodiment of the present invention can be PC, smart mobile phone, tablet computer, pocket computer, also may be used To be the equipment such as server, virtual machine facility.
As shown in Figure 1, the data mover system can include:Processor 1001, such as CPU, communication bus 1002, user Interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to implement the connection between these components Communication.User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard), optional user Interface 1003 can also include wireline interface (such as connecting wired keyboard, wire mouse etc.), the wireless interface (example of standard It is such as used to connect Wireless Keyboard, wireless mouse).Network interface 1004 can optionally include the wireline interface of standard (for connecting Connect cable network), wireless interface (such as WI-FI interfaces, blue tooth interface, infrared interface, for connecting wireless network).Storage Device 1005 can be high-speed RAM memory or the memory (non-volatile memory) of stabilization, such as disk Memory.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
Optionally, data mover system can also include sensor, WiFi module etc..
It will be understood by those skilled in the art that structure paired data does not migrate the data mover system structure shown in Fig. 1 The restriction of system can include either combining certain components or different component cloth than illustrating more or fewer components It puts.
As shown in Figure 1, as operating system, net can be included in a kind of memory 1005 of computer readable storage medium Network communication module, Subscriber Interface Module SIM and Data Migration program.Wherein, operating system is management and control data mover system With the program of software resource, network communication module, Subscriber Interface Module SIM, Data Migration program and other programs or software are supported Operation;Network communication module is used to managing and controlling network interface 1002;Subscriber Interface Module SIM is used to managing and controlling user Interface 1003.
In data mover system shown in Fig. 1, the data mover system calls memory by processor 1001 The Data Migration program stored in 1005, to realize following steps:
The block chain Transaction Information of client transmission is received by block chain node, and is merchandised and believed based on the block chain received Breath creates new intelligent contract node;
The old contract address in the block chain Transaction Information is read, to extract memory space in the old contract address Storage root;
The storage of extraction is taken root in assignment to store in root to the new intelligent contract node is corresponding, so as to follow-up basis Realize the migration of data in the address of new contract.
Further, the block chain Transaction Information that client transmission is received by block chain node, and be based on receiving Block chain Transaction Information the step of creating new intelligent contract node before, the data mover system is adjusted by processor 1001 With the Data Migration program stored in memory 1005, to realize following steps:
In the Data Migration request for receiving sender's initiation, established newly according to the storage organization of old contract by client The corresponding Data Migration structure of deal of contract, wherein, the Data Migration structure of deal of the new contract is compatible with the storage of old contract Structure;
External account address, old contract address, transaction data and the trading signature number of sender is obtained by the client According to, and it is assembled into block chain Transaction Information with reference to the Data Migration structure of deal;
The block chain Transaction Information being assembled into is sent to block chain node by the client.
Further, the block chain node includes far call module, point-to-point module and block chain frame module, described Data mover system calls the Data Migration program stored in memory 1005 by processor 1001, to realize by block chain link Point receives the block chain Transaction Information that client is sent, and creates new intelligent contract section based on the block chain Transaction Information received The step of point:
The block chain Transaction Information of client transmission is received by the far call module of block chain node or point-to-point module, And block chain Transaction Information is decoded by the far call module or point-to-point module;
The each field included in merchandising to decoded block chain checks, to determine whether each field meets respectively The corresponding preset condition of a field;
When the corresponding each field of block chain Transaction Information meets the corresponding preset condition of each field, block chain is handed over Easy information is put into transaction pool queue;
Block chain Transaction Information is extracted from transaction pool queue, and merchandise to the block chain of extraction by block chain frame module Information carries out being packaged processing to create new intelligent contract node.
Further, the data mover system calls the Data Migration stored in memory 1005 by processor 1001 Program checks each field included in the transaction of decoded block chain with realizing, to determine whether each field is full The step of each field of foot corresponding preset condition:
Check whether trading signature data meet signature algorithm;
Check whether transaction data did not occurred in current block chain;
Check sender external account address whether with the account address matching that prestores;
Check whether old contract address is intelligent contract account address on current block chain;
Check whether the data field capacity in transaction data is more than the data word of the corresponding intelligent contract in old contract address Duan Rongliang.
Further, the data mover system calls the Data Migration stored in memory 1005 by processor 1001 Program extracts block chain Transaction Information, and to the block chain of extraction by block chain frame module to realize from transaction pool queue Transaction Information carries out being packaged the step of processing is to create new intelligent contract node:
Block chain Transaction Information is extracted from transaction pool queue, and the block chain of extraction is merchandised by block chain frame module Information is added in the transaction List Table of new block;
The established contract account total number in account address and account address of initiator is obtained, and according to the account Family address and total contract account number calculate the address of new intelligent contract;
New intelligent contract node is established, and it is corresponding to obtain the old contract address in transaction data according to the address of new contract The storage root of old intelligence contract node, and its value assignment is stored to new intelligent contract node is corresponding in root.
Further, the block chain node further includes computing module, described that the storage of extraction is taken root in assignment described in Newly after the corresponding step stored in taking root in of intelligence contract node, the data mover system is deposited by the calling of processor 1001 The Data Migration program stored in reservoir 1005, to realize following steps:
Computing module is called to extract constructing variable in the transaction data of block chain Transaction Information;
The construction of new contract is performed in the corresponding storage of new intelligence contract node is taken root in using the constructing variable as input Function, the update taken root in the storage for realizing intelligent contract node.
Further, it is described to be performed in the corresponding storage of new intelligence contract node is taken root in using the constructing variable as input After the step of constructed fuction of new contract, the update taken root in the storage for realizing intelligent contract node, the Data Migration system System calls the Data Migration program stored in memory 1005 by processor 1001, to realize following steps:
It will newly intelligent contract node store into block chain, and feed back block chain last state;
Data Migration transaction receipt structure is assembled into, and Data Migration is merchandised receipt according to the implementing result of migration transaction Structure is added in the receipt list of new block, to feed back to client.
Further, the block chain node further includes common recognition module and memory module, described that Data Migration is merchandised back Structure is implemented and concluded to be added in the receipt list of new block, the step of to feed back to client after, the data mover system passes through Processor 1001 calls the Data Migration program stored in memory 1005, to realize following steps:
New block is supplied to common recognition module by block chain frame module, so that common recognition module signs to new block, and New block after signature is broadcasted to each node of the whole network, to realize that the whole network is known together;
After the completion of new block common recognition, described piece of chain frame module is notified by common recognition module, for described piece of chain frame mould Block calls memory module to store contract data caused by new block and new block into storage medium, to complete block chain Update.
Technical solution proposed by the present invention, the data mover system are called in memory 1005 by processor 1001 and deposited The Data Migration program of storage, to realize step:The block chain Transaction Information of client transmission, and base are first received by block chain node New intelligent contract node is created in the block chain Transaction Information received, then reads the old conjunction in the block chain Transaction Information About address, to extract the storage root of memory space in the old contract address, the storage most extracted at last is taken root in assignment and is arrived The new intelligent contract node is corresponding to be stored in root, subsequently to realize the migration of data according to the address of new contract.This The integration of block chain intelligence contract is realized in invention based on memory space so that new contract and old contract simultaneously and can deposit mutually not shadow It rings, block chain storage pressure will not be increased, have stronger upgrading fault-tolerant ability, reduce maintenance cost, be greatly improved Safety, reliability and practical operation.
Based on the hardware configuration of above-mentioned data mover system, each embodiment of data migration method of the present invention is proposed.
With reference to Fig. 2, Fig. 2 is the flow diagram of data migration method first embodiment of the present invention.
In the present embodiment, the data migration method is applied to data mover system, and the data mover system includes Client and block chain node, the data migration method include:
Step S10 is received the block chain Transaction Information of client transmission by block chain node, and based on the block received Chain Transaction Information creates new intelligent contract node;
Step S20 reads the old contract address in the block chain Transaction Information, to be extracted in the old contract address The storage root of memory space;
The storage of extraction is taken root in assignment and is stored in root to the new intelligent contract node is corresponding by step S30, so as to The migration of data is subsequently realized according to the address of new contract.
In the present embodiment, before the step S10, the method further includes:
Step A, in the Data Migration request for receiving sender's initiation, by client according to the storage organization of old contract The corresponding Data Migration structure of deal of new contract is established, wherein, the Data Migration structure of deal of the new contract is compatible with old contract Storage organization;
Step B is obtained external account address, old contract address, transaction data and the transaction of sender by the client Signed data, and it is assembled into block chain Transaction Information with reference to the Data Migration structure of deal;
The block chain Transaction Information being assembled into is sent to block chain node by step C by the client.
That is, in the Data Migration request for receiving sender's initiation, the client in data mover system is first established newly Contract, specifically, client establish the corresponding Data Migration structure of deal of new contract according to the storage organization of old contract.This implementation In example, client establish the corresponding Data Migration structure of deal of new contract be using intelligent contract language support object-oriented after Hold what characteristic was established, i.e., new contract can inherit old contract, therefore, client the storage organization for getting old contract it Afterwards, the Data Migration structure of deal of new contract is established according to the storage organization of old contract, so that the Data Migration transaction of new contract The storage organization of the old contract of structure compatible.
After client establishes the corresponding Data Migration structure of deal of new contract according to the storage organization of old contract, further The external account address of sender, old contract address, transaction data and trading signature data to be migrated are obtained, then basis obtains The every terms of information and Data Migration structure of deal taken is assembled into block chain Transaction Information.I.e. block chain Transaction Information includes following Field:The external account address of transaction sender, old contract address to be migrated, transaction data, trading signature data;Wherein, Transaction data has included the input parameter of command code data and new contract constructed fuction after new contract compiling, trading signature data Contain signing messages of the corresponding private key in external account address to the structure of deal of transaction sender.It should be appreciated that block Chain node can perform deployment and the Data Migration of new contract according to the field value in the structure of deal of the block chain Transaction Information. After client is assembled into block chain Transaction Information according to the every terms of information and Data Migration structure of deal of acquisition, by assembling Block chain Transaction Information is sent in block chain node.
Each step of Data Migration is done step-by-step in the present embodiment described in detail below:
Wherein, step S10 is received the block chain Transaction Information of client transmission by block chain node, and is based on receiving Block chain Transaction Information create new intelligent contract node;
That is, after the block chain Transaction Information of assembling is sent to block chain node by client, block chain node receives should Block chain Transaction Information, and new intelligent contract node is created based on the block chain Transaction Information.In the present embodiment, the block chain Node includes far call module, point-to-point module and block chain frame module, specifically, includes with reference to Fig. 3, the step S10:
Step S11 is received the block chain of client transmission by the far call module of block chain node or point-to-point module Transaction Information, and block chain Transaction Information is decoded by the far call module or point-to-point module;
Step S12, each field included in merchandising to decoded block chain check, are with determining each field It is no to meet the corresponding preset condition of each field;
Step S13, will when the corresponding each field of block chain Transaction Information meets the corresponding preset condition of each field Block chain Transaction Information is put into transaction pool queue;
Step S14 extracts block chain Transaction Information, and to the area of extraction by block chain frame module from transaction pool queue Block chain Transaction Information carries out being packaged processing to create new intelligent contract node.
That is, after the block chain Transaction Information of assembling is sent to block chain node by client, block chain node it is long-range Calling module (Remote Procedure Call Protocol, RPC) or point-to-point module (Peer to Peer, P2P) connect Receive the block chain Transaction Information that client is sent, it should be noted that as long as far call module or point-to-point module have wherein One receives the block chain Transaction Information that client is sent, and is received by the far call module or point-to-point module To after block chain Transaction Information, the block chain Transaction Information received is solved by far call module or point-to-point module Code, and each field included to decoded block chain Transaction Information checks, to determine whether each field meets respectively The corresponding preset condition of a field, in the present embodiment, the step S12 includes:
Check whether trading signature data meet signature algorithm;Wherein, whether the inspection trading signature data meet label The step of name algorithm, includes:Block chain Transaction Information is parsed, with determine parsing after trading signature data whether with area The trading signature Data Matching of script in block chain Transaction Information.
Check whether transaction data did not occurred in current block chain.
Check sender external account address whether with the account address matching that prestores.
Check whether old contract address is intelligent contract account address on current block chain.
Check whether the data field capacity in transaction data is more than the data word of the corresponding intelligent contract in old contract address Duan Rongliang.
When each field meets the corresponding preset condition of each field, i.e., trading signature data fit signature algorithm, hand over Easy data did not occurred in current block chain, the external account address of sender with prestoring account address matching, old contract Location is the intelligent contract account address on current block chain, the data field capacity in transaction data is corresponded to more than old contract address Intelligent contract data field capacity, after above-mentioned each condition is met, far call module or point-to-point module are by area Block chain Transaction Information is put into transaction pool queue, so that block chain frame module extracts block chain transaction letter from transaction pool queue Breath, and the block chain Transaction Information of extraction is carried out being packaged processing to create new intelligent contract node.Specifically, with reference to Fig. 4, institute Step S14 is stated to include:
Step S141 extracts block chain Transaction Information by block chain frame module from transaction pool queue, and by extraction Block chain Transaction Information is added in the transaction List Table of new block;
Step S142 obtains the established contract account total number in account address and account address of initiator, and According to the account address and total contract account number, the address of new intelligent contract is calculated;
Step S143 establishes new intelligent contract node, and obtain the old contract in transaction data according to the address of new contract The storage root of the corresponding old intelligent contract node in address, and by its value assignment to the corresponding storage root of new intelligence contract node In.
That is, after block chain frame module extracts block chain Transaction Information from transaction pool queue, merchandise and believe to block chain Breath does the transaction packing processing of new block, specifically:The block chain Transaction Information of extraction is added to the transaction List Table of new block In, and the established contract account total number in account address and account address of initiator is obtained, with according to the account Location and contract account total number, calculate the address of new intelligent contract, described according to account address and contract account in the present embodiment The corresponding mode in address that family total number calculates new intelligent contract is:Hash is asked to the account address and contract account total number Value obtains the address of new intelligent contract.To be best understood from, it is exemplified below:The account address of the initiator currently obtained is adee, The contract account total number is 3, then the cryptographic Hash of adee+3 is calculated, by ground of the result calculated as new intelligent contract Location.After the address for calculating new intelligent contract in block chain frame module, block chain frame module is further according to the ground of new intelligent contract New intelligent contract node is established in location, then obtains the storage of the corresponding old intelligent contract node in old contract address in transaction data Root stores its value assignment in root to new intelligent contract node is corresponding.
Wherein, step S20 reads the old contract address in the block chain Transaction Information, in the old contract address The storage root of middle extraction memory space;
After new intelligent contract node is created, the block chain frame module in block chain node reads block chain Transaction Information In old contract address, the storage root (StoreageRoot) of memory space is then extracted in old contract address.
Wherein, the storage of extraction is taken root in assignment to the corresponding storage root of the new intelligent contract node by step S30 In, subsequently to realize the migration of data according to the address of new contract.
It, will after the block chain frame module of block chain node extracts the storage root of memory space in old contract address The storage root assignment of extraction is stored to the new intelligent contract node is corresponding in root, so that new intelligence contract node corresponds to Storage take root in and taken root in unanimously with the storage of memory space in old contract address, so as to fulfill new contract address and old contract address It is consistent, subsequently to carry out Data Migration.
The data migration method that the present embodiment proposes first is received the block chain transaction letter of client transmission by block chain node Breath, and new intelligent contract node is created based on the block chain Transaction Information received, then read the block chain Transaction Information In old contract address, in the old contract address extract memory space storage root, the storage root most extracted at last It plants assignment to store in root to the new intelligent contract node is corresponding, subsequently to realize data according to the address of new contract Migration.The present invention is based on the integration that memory space realizes block chain intelligence contract so that new contract and old contract can simultaneously simultaneously It deposits and is independent of each other, block chain storage pressure will not be increased, have stronger upgrading fault-tolerant ability, reduce maintenance cost, substantially Degree improves safety, reliability and practical operation.
Further, the second embodiment of data migration method of the present invention is proposed based on first embodiment.
Difference lies in the blocks for the second embodiment of data migration method and the first embodiment of data migration method Chain node further includes computing module, and with reference to Fig. 5, after the step S30, the method further includes:
Step S40 calls computing module to extract constructing variable in the transaction data of block chain Transaction Information;
Step S50 is performed in the corresponding storage of new intelligence contract node is taken root in as input using the constructing variable and newly closed Constructed fuction about, the update taken root in the storage for realizing intelligent contract node.
In the present embodiment, the block chain node further includes computing module, in the block chain frame module of block chain node After the storage of extraction is taken root in assignment to the corresponding storage root of the new intelligent contract node, block chain frame module calls Computing module performs initialization operation to new contract, and specific initialization operation is:Computing module is called to merchandise in block chain to believe Constructing variable is extracted in the transaction data of breath, then using the constructing variable as input, is deposited new intelligence contract node is corresponding Storage, which is taken root in, middle performs the constructed fuction of new contract, and the storage after being finished takes root in update to the storage root of new intelligence contract In plant, the update taken root in the storage for realizing intelligent contract node.
In the present embodiment, by the way that computing module is called to perform initialization operation to new intelligent contract, so as to follow-up basis New intelligent contract after initialization realizes the migration of data.
Further, the 3rd embodiment of data migration method of the present invention is proposed based on second embodiment.
The 3rd embodiment of data migration method and the second embodiment of data migration method difference lies in, with reference to Fig. 6, After the step S50, the method further includes:
Step S60 will newly intelligent contract node be stored into block chain, and feed back block chain last state;
Step S70 is assembled into Data Migration transaction receipt structure, and by Data Migration according to the implementing result of migration transaction Transaction receipt structure is added in the receipt list of new block, to feed back to client.
In the present embodiment, block chain frame module call computing module to new intelligent contract execution initialization operation it Afterwards, it will newly intelligent contract node store into block chain, and feed back block chain last state, finally according to above-mentioned each step Implementing result composition data migrates transaction receipt structure, and Data Migration transaction receipt structure is added to the receipt row of new block In table, to feed back to client.Wherein, Data Migration transaction receipt structure mainly includes following field:Transaction performs place Block number, transaction serial number, transaction Hash, new contract address, Data Migration transaction receipt are Data Migration transaction in block chain The voucher being performed in account book, it contains the key message of transaction implementing result.It should be appreciated that client can pass through transaction Hash is to the corresponding acknowledgement information of block chain node service-seeking.
In the present embodiment, Data Migration transaction receipt structure is assembled, and assemble by the storage result of establishing of new contract By Data Migration merchandise receipt structural feedback to client, so that client learns implementing result, convenient for subsequent execution data Migration operation.
Further, the fourth embodiment of data migration method of the present invention is proposed based on 3rd embodiment.
Difference lies in the blocks for the fourth embodiment of data migration method and the 3rd embodiment of data migration method Chain node further includes common recognition module and memory module, and with reference to Fig. 7, after the step S70, the method further includes:
New block is supplied to common recognition module by step S80 by block chain frame module, so that common recognition module carries out new block Signature, and the new block after signature is broadcasted to each node of the whole network, to realize that the whole network is known together;
Step S90 after the completion of new block common recognition, notifies described piece of chain frame module, for described piece by common recognition module Chain frame module calls memory module to store contract data caused by new block and new block into storage medium, to complete The update of block chain.
In the present embodiment, block chain frame module by Data Migration transaction receipt structure receipt feed back to client it Afterwards, new block is supplied to common recognition module, so that common recognition module signs to new block, and the new block after signature is broadcasted To each node of the whole network, to realize that the whole network is known together, after the completion of new block common recognition, described piece of chain frame is notified by common recognition module Module, so that described piece of chain frame module calls memory module by contract data storage caused by new block and new block to depositing In storage media, to complete the update of block chain, so as to complete whole flow process, subsequently can number be realized according to updated block chain According to migration.
The present invention further provides a kind of computer readable storage mediums.
Data Migration program is stored on the computer readable storage medium, the Data Migration program is held by processor Following steps are realized during row:
The block chain Transaction Information of client transmission is received by block chain node, and is merchandised and believed based on the block chain received Breath creates new intelligent contract node;
The old contract address in the block chain Transaction Information is read, to extract memory space in the old contract address Storage root;
The storage of extraction is taken root in assignment to store in root to the new intelligent contract node is corresponding, so as to follow-up basis Realize the migration of data in the address of new contract.
Further, the block chain Transaction Information that client transmission is received by block chain node, and be based on receiving Block chain Transaction Information the step of creating new intelligent contract node before, when the Data Migration program is executed by processor, Also realize following steps:
In the Data Migration request for receiving sender's initiation, established newly according to the storage organization of old contract by client The corresponding Data Migration structure of deal of contract, wherein, the Data Migration structure of deal of the new contract is compatible with the storage of old contract Structure;
External account address, old contract address, transaction data and the trading signature number of sender is obtained by the client According to, and it is assembled into block chain Transaction Information with reference to the Data Migration structure of deal;
The block chain Transaction Information being assembled into is sent to block chain node by the client.
Further, the block chain node includes far call module, point-to-point module and block chain frame module, described When Data Migration program is executed by processor, the block chain Transaction Information that client transmission is received by block chain node is also realized, And the step of new intelligent contract node is created based on the block chain Transaction Information received:
The block chain Transaction Information of client transmission is received by the far call module of block chain node or point-to-point module, And block chain Transaction Information is decoded by the far call module or point-to-point module;
The each field included in merchandising to decoded block chain checks, to determine whether each field meets respectively The corresponding preset condition of a field;
When the corresponding each field of block chain Transaction Information meets the corresponding preset condition of each field, block chain is handed over Easy information is put into transaction pool queue;
Block chain Transaction Information is extracted from transaction pool queue, and merchandise to the block chain of extraction by block chain frame module Information carries out being packaged processing to create new intelligent contract node.
Further, it when the Data Migration program is executed by processor, also realizes in merchandising to decoded block chain Comprising each field checked, the step of whether each field meets each field corresponding preset condition determined:
Check whether trading signature data meet signature algorithm;
Check whether transaction data did not occurred in current block chain;
Check sender external account address whether with the account address matching that prestores;
Check whether old contract address is intelligent contract account address on current block chain;
Check whether the data field capacity in transaction data is more than the data word of the corresponding intelligent contract in old contract address Duan Rongliang.
Further, it when the Data Migration program is executed by processor, also realizes by block chain frame module from trading pit Block chain Transaction Information is extracted in queue, and the block chain Transaction Information of extraction is carried out being packaged processing to create new intelligence conjunction About node the step of:
Block chain Transaction Information is extracted from transaction pool queue, and the block chain of extraction is merchandised by block chain frame module Information is added in the transaction List Table of new block;
The established contract account total number in account address and account address of initiator is obtained, and according to the account Family address and total contract account number calculate the address of new intelligent contract;
New intelligent contract node is established, and it is corresponding to obtain the old contract address in transaction data according to the address of new contract The storage root of old intelligence contract node, and its value assignment is stored to new intelligent contract node is corresponding in root.
Further, the block chain node further includes computing module, described that the storage of extraction is taken root in assignment described in It is also real when the Data Migration program is executed by processor newly after the corresponding step stored in taking root in of intelligence contract node Existing following steps:
Computing module is called to extract constructing variable in the transaction data of block chain Transaction Information;
The construction of new contract is performed in the corresponding storage of new intelligence contract node is taken root in using the constructing variable as input Function, the update taken root in the storage for realizing intelligent contract node.
Further, it is described to be performed in the corresponding storage of new intelligence contract node is taken root in using the constructing variable as input After the step of constructed fuction of new contract, the update taken root in the storage for realizing intelligent contract node, following steps are also realized:
It will newly intelligent contract node store into block chain, and feed back block chain last state;
Data Migration transaction receipt structure is assembled into, and Data Migration is merchandised receipt according to the implementing result of migration transaction Structure is added in the receipt list of new block, to feed back to client.
Further, the block chain node further includes common recognition module and memory module, described that Data Migration is merchandised back Structure is implemented and concluded to be added in the receipt list of new block, the step of to feed back to client after, the Data Migration program is located When managing device execution, following steps are also realized:
New block is supplied to common recognition module by block chain frame module, so that common recognition module signs to new block, and New block after signature is broadcasted to each node of the whole network, to realize that the whole network is known together;
After the completion of new block common recognition, described piece of chain frame module is notified by common recognition module, for described piece of chain frame mould Block calls memory module to store contract data caused by new block and new block into storage medium, to complete block chain Update.
Technical solution proposed by the present invention when the Data Migration program is executed by processor, realizes following steps:First by Block chain node receives the block chain Transaction Information that client is sent, and creates new intelligence based on the block chain Transaction Information received Energy contract node, then reads the old contract address in the block chain Transaction Information, to be extracted in the old contract address The storage root of memory space, the storage most extracted at last take root in assignment to the corresponding storage root of the new intelligent contract node In, subsequently to realize the migration of data according to the address of new contract.Realize that block chain intelligently closes the present invention is based on memory space Integration about so that new contract and old contract simultaneously and can be deposited and are independent of each other, and will not increase block chain storage pressure, have compared with Strong upgrading fault-tolerant ability, reduces maintenance cost, and safety, reliability and practical operation is greatly improved.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes the other elements being not explicitly listed or further includes intrinsic for this process, method, article or device institute Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, computer takes Be engaged in device, air conditioner or the network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of data migration method, which is characterized in that applied to data mover system, the data mover system is equipped with client End and block chain node, the data migration method include:
The block chain Transaction Information of client transmission is received by block chain node, and based on the block chain Transaction Information wound received Build new intelligent contract node;
The old contract address in the block chain Transaction Information is read, to extract depositing for memory space in the old contract address Store up root;
The storage of extraction is taken root in assignment to store in root to the new intelligent contract node is corresponding, is closed so as to follow-up according to new Realize the migration of data in address about.
2. data migration method as described in claim 1, which is characterized in that described that client transmission is received by block chain node Block chain Transaction Information, and the step of create new intelligent contract node based on the block chain Transaction Information that receives before, institute The method of stating further includes:
In the Data Migration request for receiving sender's initiation, new contract is established according to the storage organization of old contract by client Corresponding Data Migration structure of deal, wherein, the Data Migration structure of deal of the new contract is compatible with the storage organization of old contract;
External account address, old contract address, transaction data and the trading signature data of sender are obtained by the client, and Block chain Transaction Information is assembled into reference to the Data Migration structure of deal;
The block chain Transaction Information being assembled into is sent to block chain node by the client.
3. data migration method as described in claim 1, which is characterized in that the block chain node includes far call mould Block, point-to-point module and block chain frame module, the block chain Transaction Information that client transmission is received by block chain node, and The step of creating new intelligent contract node based on the block chain Transaction Information received includes:
The block chain Transaction Information sent by the far call module of block chain node or point-to-point module reception client, and by The far call module or point-to-point module are decoded block chain Transaction Information;
The each field included in merchandising to decoded block chain checks, to determine whether each field meets each word The corresponding preset condition of section;
When the corresponding each field of block chain Transaction Information meets the corresponding preset condition of each field, block chain is merchandised and is believed Breath is put into transaction pool queue;
Block chain Transaction Information is extracted, and to the block chain Transaction Information of extraction from transaction pool queue by block chain frame module It carries out being packaged processing to create new intelligent contract node.
4. data migration method as claimed in claim 3, which is characterized in that included in the transaction to decoded block chain Each field checked, to determine that the step of whether each field meets each field corresponding preset condition includes:
Check whether trading signature data meet signature algorithm;
Check whether transaction data did not occurred in current block chain;
Check sender external account address whether with the account address matching that prestores;
Check whether old contract address is intelligent contract account address on current block chain;
Check whether the data field capacity in transaction data is more than the data field appearance of the corresponding intelligent contract in old contract address Amount.
5. data migration method as claimed in claim 3, which is characterized in that it is described by block chain frame module from transaction pool queue In extract block chain Transaction Information, and the block chain Transaction Information of extraction is carried out being packaged processing to create new intelligent contract section The step of point, includes:
Block chain Transaction Information is extracted from transaction pool queue, and by block chain frame module by the block chain Transaction Information of extraction It is added in the transaction List Table of new block;
The established contract account total number in account address and account address of initiator is obtained, and according to the account Location and total contract account number calculate the address of new intelligent contract;
New intelligent contract node is established, and obtain the corresponding old intelligence in old contract address in transaction data according to the address of new contract The storage root of energy contract node, and its value assignment is stored to new intelligent contract node is corresponding in root.
6. such as claim 1-5 any one of them data migration methods, which is characterized in that the block chain node further includes meter Calculate module, it is described by the storage of extraction take root in assignment to the corresponding step stored in taking root in of the new intelligent contract node it Afterwards, the method further includes:
Computing module is called to extract constructing variable in the transaction data of block chain Transaction Information;
The constructed fuction of new contract is performed in the corresponding storage of new intelligence contract node is taken root in using the constructing variable as input, The update taken root in the storage for realizing intelligent contract node.
7. data migration method as claimed in claim 6, which is characterized in that it is described using the constructing variable be input in new intelligence The middle constructed fuction for performing new contract is taken root in the corresponding storage of energy contract node, is taken root in the storage for realizing intelligent contract node After the step of update, the method further includes:
It will newly intelligent contract node store into block chain, and feed back block chain last state;
According to migration transaction implementing result be assembled into Data Migration transaction receipt structure, and by Data Migration merchandise receipt structure It is added in the receipt list of new block, to feed back to client.
8. data migration method as claimed in claim 7, which is characterized in that the block chain node further include common recognition module and Memory module, it is described that Data Migration transaction receipt structure is added in the receipt list of new block, to feed back to client After step, the method further includes:
New block is supplied to common recognition module by block chain frame module, so that common recognition module signs to new block, and will label New block after name is broadcasted to each node of the whole network, to realize that the whole network is known together;
After the completion of new block common recognition, described piece of chain frame module is notified by common recognition module, for described piece of chain frame module tune Contract data caused by new block and new block is stored into storage medium with memory module, to complete block chain more Newly.
9. a kind of data mover system, which is characterized in that the data mover system includes processor, memory and is stored in institute The Data Migration program that can be run on memory and on the processor is stated, the Data Migration program is held by the processor It is realized during row such as the step of data migration method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with data on the computer readable storage medium and move Program is moved, such as claim 1 to 8 any one of them Data Migration side is realized when the Data Migration program is executed by processor The step of method.
CN201711363314.8A 2017-12-18 2017-12-18 Data migration method, system and computer readable storage medium Active CN108170740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711363314.8A CN108170740B (en) 2017-12-18 2017-12-18 Data migration method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711363314.8A CN108170740B (en) 2017-12-18 2017-12-18 Data migration method, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108170740A true CN108170740A (en) 2018-06-15
CN108170740B CN108170740B (en) 2022-04-26

Family

ID=62522212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711363314.8A Active CN108170740B (en) 2017-12-18 2017-12-18 Data migration method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108170740B (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989118A (en) * 2018-07-31 2018-12-11 温州市图盛科技有限公司 A kind of privately owned block chain deployment tool of enterprise-level based on GO language
CN109144414A (en) * 2018-07-27 2019-01-04 阿里巴巴集团控股有限公司 The multistage storage method and device of block chain data
CN109213730A (en) * 2018-09-14 2019-01-15 莆田市烛火信息技术有限公司 A kind of file storage service address changing method and system being associated with block chain main chain
CN109298835A (en) * 2018-08-16 2019-02-01 北京京东尚科信息技术有限公司 Data filing processing method, device, equipment and the storage medium of block chain
CN109859038A (en) * 2018-12-26 2019-06-07 联动优势科技有限公司 A kind of take-effective method and device of block chain intelligence contract
CN109960696A (en) * 2019-03-22 2019-07-02 杭州复杂美科技有限公司 A kind of configuration method, equipment and the storage medium of intelligence contract
CN110008735A (en) * 2019-01-31 2019-07-12 阿里巴巴集团控股有限公司 The method and node, storage medium that contract calls are realized in block chain
CN110033367A (en) * 2018-11-28 2019-07-19 阿里巴巴集团控股有限公司 Based on the contract record method and device of block chain, electronic equipment
CN110134668A (en) * 2019-04-28 2019-08-16 阿里巴巴集团控股有限公司 Data migration method, device and equipment applied to block chain
CN110825486A (en) * 2019-09-19 2020-02-21 北京大学 Self-perception method and system for virtual machine migration behavior based on block chain
WO2020042586A1 (en) * 2018-08-27 2020-03-05 深圳前海益链网络科技有限公司 Method and apparatus for generating address of smart contract, computer device, and readable storage medium
CN111127205A (en) * 2019-12-23 2020-05-08 卓尔智联(武汉)研究院有限公司 Intelligent contract generation method and device, computer equipment and storage medium
WO2020108289A1 (en) * 2018-11-29 2020-06-04 华为技术有限公司 Database system, node and method
CN111309711A (en) * 2020-03-13 2020-06-19 财付通支付科技有限公司 Cross-block-chain data migration method, device, equipment and storage medium
CN111309812A (en) * 2020-03-11 2020-06-19 深圳市网心科技有限公司 Block chain based mail transmission method and related equipment
WO2020206848A1 (en) * 2019-04-11 2020-10-15 深圳市网心科技有限公司 Method and device for smart contract upgrade, blockchain node device, and medium
CN111949297A (en) * 2020-08-20 2020-11-17 杭州溪塔科技有限公司 Block chain intelligent contract upgrading method and device and electronic equipment
CN112015517A (en) * 2020-08-05 2020-12-01 北京链飞未来科技有限公司 Dynamic migration method and system for block link points based on k8s cluster
CN112052235A (en) * 2020-09-21 2020-12-08 深圳前海微众银行股份有限公司 Method and device for migrating block chain transaction data
CN112199186A (en) * 2020-12-07 2021-01-08 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium based on intelligent contract
CN112527781A (en) * 2020-12-23 2021-03-19 上海万向区块链股份公司 Intelligent contract data migration method and system
CN112749152A (en) * 2021-01-19 2021-05-04 矩阵元技术(深圳)有限公司 Data migration method and device of intelligent contract and storage medium
CN112862490A (en) * 2021-04-26 2021-05-28 北京连琪科技有限公司 Output consensus method under asynchronous network
CN113379423A (en) * 2020-03-10 2021-09-10 本无链科技(深圳)有限公司 Block chain evolution method and system
CN113779006A (en) * 2021-08-20 2021-12-10 华中科技大学 Method, device and system for deleting repeated data among transactions in block chain
EP3834155A4 (en) * 2018-08-10 2022-06-01 tZERO IP, LLC Upgradeable security token
CN114845290A (en) * 2022-06-30 2022-08-02 荣耀终端有限公司 Data migration method, electronic device and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150142650A1 (en) * 2013-11-15 2015-05-21 The Fusion Network LLC Centralized financial account migration system
CN106709704A (en) * 2016-11-23 2017-05-24 杭州秘猿科技有限公司 Intelligent contract upgrading method based on permission chain
CN107145521A (en) * 2017-04-10 2017-09-08 杭州趣链科技有限公司 A kind of data migration method towards block chain multistage intelligent contract
CN107273759A (en) * 2017-05-08 2017-10-20 上海点融信息科技有限责任公司 Method, equipment and computer-readable recording medium for protecting block chain data
CN107464148A (en) * 2017-08-23 2017-12-12 众安信息技术服务有限公司 A kind of intelligent contract upgrade method and system based on alliance's chain
CN107464118A (en) * 2017-08-16 2017-12-12 济南浪潮高新科技投资发展有限公司 A kind of data trade method based on block chain intelligence contract

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150142650A1 (en) * 2013-11-15 2015-05-21 The Fusion Network LLC Centralized financial account migration system
CN106709704A (en) * 2016-11-23 2017-05-24 杭州秘猿科技有限公司 Intelligent contract upgrading method based on permission chain
CN107145521A (en) * 2017-04-10 2017-09-08 杭州趣链科技有限公司 A kind of data migration method towards block chain multistage intelligent contract
CN107273759A (en) * 2017-05-08 2017-10-20 上海点融信息科技有限责任公司 Method, equipment and computer-readable recording medium for protecting block chain data
CN107464118A (en) * 2017-08-16 2017-12-12 济南浪潮高新科技投资发展有限公司 A kind of data trade method based on block chain intelligence contract
CN107464148A (en) * 2017-08-23 2017-12-12 众安信息技术服务有限公司 A kind of intelligent contract upgrade method and system based on alliance's chain

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MELANIE SWAN: ""Blockchain Temporality: Smart Contract Time Specifiability with Blocktime"", 《RULEML 2016: RULE TECHNOLOGIES, RESEARCH, TOOLS, AND APPLICATIONS》 *
NÉSTOR ÁLVAREZ-DÍAZ 等: ""Smart Contracts based on Blockchain for Logistics Management"", 《IN IML’17: INTERNATIONAL CONFERENCE ON INTERNET OF THINGS AND MACHINE LEARNING》 *
黄洁华 等: ""众筹区块链上的智能合约设计"", 《信息安全研究》 *

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144414A (en) * 2018-07-27 2019-01-04 阿里巴巴集团控股有限公司 The multistage storage method and device of block chain data
CN109144414B (en) * 2018-07-27 2020-07-07 阿里巴巴集团控股有限公司 Multi-level storage method and device for block chain data
CN108989118A (en) * 2018-07-31 2018-12-11 温州市图盛科技有限公司 A kind of privately owned block chain deployment tool of enterprise-level based on GO language
CN108989118B (en) * 2018-07-31 2021-07-20 温州市图盛科技有限公司 Enterprise-level private block chain deployment tool based on GO language
EP3834155A4 (en) * 2018-08-10 2022-06-01 tZERO IP, LLC Upgradeable security token
US11410159B2 (en) 2018-08-10 2022-08-09 Tzero Ip, Llc Upgradeable security token
CN109298835A (en) * 2018-08-16 2019-02-01 北京京东尚科信息技术有限公司 Data filing processing method, device, equipment and the storage medium of block chain
CN109298835B (en) * 2018-08-16 2022-04-26 北京京东尚科信息技术有限公司 Data archiving processing method, device, equipment and storage medium of block chain
WO2020042586A1 (en) * 2018-08-27 2020-03-05 深圳前海益链网络科技有限公司 Method and apparatus for generating address of smart contract, computer device, and readable storage medium
CN109213730A (en) * 2018-09-14 2019-01-15 莆田市烛火信息技术有限公司 A kind of file storage service address changing method and system being associated with block chain main chain
CN110033367A (en) * 2018-11-28 2019-07-19 阿里巴巴集团控股有限公司 Based on the contract record method and device of block chain, electronic equipment
WO2020108289A1 (en) * 2018-11-29 2020-06-04 华为技术有限公司 Database system, node and method
CN109859038A (en) * 2018-12-26 2019-06-07 联动优势科技有限公司 A kind of take-effective method and device of block chain intelligence contract
CN110008735B (en) * 2019-01-31 2020-05-19 阿里巴巴集团控股有限公司 Method, node and storage medium for realizing contract calling in block chain
CN110008735A (en) * 2019-01-31 2019-07-12 阿里巴巴集团控股有限公司 The method and node, storage medium that contract calls are realized in block chain
CN109960696A (en) * 2019-03-22 2019-07-02 杭州复杂美科技有限公司 A kind of configuration method, equipment and the storage medium of intelligence contract
WO2020206848A1 (en) * 2019-04-11 2020-10-15 深圳市网心科技有限公司 Method and device for smart contract upgrade, blockchain node device, and medium
CN110134668A (en) * 2019-04-28 2019-08-16 阿里巴巴集团控股有限公司 Data migration method, device and equipment applied to block chain
CN110825486B (en) * 2019-09-19 2022-05-03 北京大学 Self-perception method and system for virtual machine migration behavior based on block chain
CN110825486A (en) * 2019-09-19 2020-02-21 北京大学 Self-perception method and system for virtual machine migration behavior based on block chain
CN111127205A (en) * 2019-12-23 2020-05-08 卓尔智联(武汉)研究院有限公司 Intelligent contract generation method and device, computer equipment and storage medium
CN113379423A (en) * 2020-03-10 2021-09-10 本无链科技(深圳)有限公司 Block chain evolution method and system
CN113379423B (en) * 2020-03-10 2024-02-13 本无链科技(深圳)有限公司 Block chain evolution method and system
CN111309812A (en) * 2020-03-11 2020-06-19 深圳市网心科技有限公司 Block chain based mail transmission method and related equipment
CN111309711A (en) * 2020-03-13 2020-06-19 财付通支付科技有限公司 Cross-block-chain data migration method, device, equipment and storage medium
CN112015517B (en) * 2020-08-05 2024-03-29 北京链飞未来科技有限公司 Block chain node dynamic migration method and system based on k8s cluster
CN112015517A (en) * 2020-08-05 2020-12-01 北京链飞未来科技有限公司 Dynamic migration method and system for block link points based on k8s cluster
CN111949297A (en) * 2020-08-20 2020-11-17 杭州溪塔科技有限公司 Block chain intelligent contract upgrading method and device and electronic equipment
CN111949297B (en) * 2020-08-20 2023-04-07 杭州溪塔科技有限公司 Block chain intelligent contract upgrading method and device and electronic equipment
CN112052235A (en) * 2020-09-21 2020-12-08 深圳前海微众银行股份有限公司 Method and device for migrating block chain transaction data
CN112199186B (en) * 2020-12-07 2021-03-02 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium based on intelligent contract
CN112199186A (en) * 2020-12-07 2021-01-08 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium based on intelligent contract
CN112527781A (en) * 2020-12-23 2021-03-19 上海万向区块链股份公司 Intelligent contract data migration method and system
CN112749152A (en) * 2021-01-19 2021-05-04 矩阵元技术(深圳)有限公司 Data migration method and device of intelligent contract and storage medium
CN112862490B (en) * 2021-04-26 2022-05-24 北京连琪科技有限公司 Output consensus method under asynchronous network
CN112862490A (en) * 2021-04-26 2021-05-28 北京连琪科技有限公司 Output consensus method under asynchronous network
CN113779006A (en) * 2021-08-20 2021-12-10 华中科技大学 Method, device and system for deleting repeated data among transactions in block chain
CN113779006B (en) * 2021-08-20 2024-09-06 华中科技大学 Method, device and system for deleting repeated data among transactions in blockchain
CN114845290A (en) * 2022-06-30 2022-08-02 荣耀终端有限公司 Data migration method, electronic device and computer-readable storage medium
CN114845290B (en) * 2022-06-30 2022-11-08 荣耀终端有限公司 Data migration method, electronic device and computer-readable storage medium

Also Published As

Publication number Publication date
CN108170740B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN108170740A (en) Data migration method, system and computer readable storage medium
CN108510389B (en) Intelligent contract calling method and device based on block chain and readable storage medium
US11032140B2 (en) Using a template to update a stack of resources
CN100535901C (en) Dynamic web page updating method and system
CN109408132A (en) A kind of configuration file processing method and server, user terminal, storage medium
CN101009516A (en) A method and system for data synchronization
CN104219316A (en) Method and device for processing call request in distributed system
CN105868231A (en) Cache data updating method and device
CN109067890A (en) A kind of CDN node edge calculations system based on docker container
CN106293311A (en) Page display method based on Mobile solution, client, server and platform
CN107291744A (en) It is determined that and with the method and device of the relationship between application program
JP2022041907A (en) Api mash-up infrastructure generation on computing system
CN109189400A (en) Program dissemination method and device, storage medium, processor
CN107728999A (en) A kind of App, the method and system of small routine interface simulation
CN110888858A (en) Database operation method and device, storage medium and electronic device
CN106325870A (en) Realization method and device of API (Application Programming Interface) of dynamic form
CN106850724A (en) Data push method and device
CN103488697A (en) System and mobile terminal capable of automatically collecting and exchanging fragmented commercial information
CN101212342B (en) Multi-version network element network management method
CN110321122A (en) The development approach and relevant device of browser application
CN109213955A (en) Data processing method and relevant device
US20150229526A1 (en) Configuration of network devices in a network
CN112131177A (en) Data migration method and device, storage medium and electronic equipment
CN109660379B (en) Network method, system and terminal
CN109508182A (en) Quickly generate method, server and the computer storage medium of instruction

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