CN116226097B - Block chain data online migration method - Google Patents
Block chain data online migration method Download PDFInfo
- Publication number
- CN116226097B CN116226097B CN202310512201.9A CN202310512201A CN116226097B CN 116226097 B CN116226097 B CN 116226097B CN 202310512201 A CN202310512201 A CN 202310512201A CN 116226097 B CN116226097 B CN 116226097B
- Authority
- CN
- China
- Prior art keywords
- data
- target
- source
- block
- storage server
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/214—Database migration support
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2379—Updates performed during online database operations; commit processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Hardware Redundancy (AREA)
Abstract
The invention provides a block chain data online migration method, which comprises the following steps: determining a target node from the data nodes; the target node is disconnected from the source data storage server, and connection with the target data storage server is established; copying the source creating block and the source data block to a target data storage server, and determining the source creating block and the source data block as a target creating block and a target data block; and carrying out signature verification on the node, and judging whether the non-target node is offline from the source data storage server according to a signature verification result. According to the invention, the target node is determined by analyzing and processing the organization to which the data node belongs, and the source blockchain data is copied to the target data storage server, so that the online migration of the data is realized, the online migration data synchronization of the blockchain data can be realized without offline the source data storage server, the safety of data transmission and verification is ensured, and the occurrence of the condition of data loss caused by data delay is avoided.
Description
Technical Field
The invention relates to the field of data processing, in particular to a block chain data online migration method.
Background
When the existing blockchain data is migrated, the blockchain to be migrated in the database to be migrated needs to be firstly offline, and then the blockchain to be migrated is migrated to the target database, and the blockchain migration mode is a migration work for the offline blockchain to be migrated, so that when the blockchain to be migrated is migrated and the blockchain to be migrated in the target database is verified, if the blockchain to be migrated in the database to be migrated is subjected to data change, the blockchain to be migrated cannot be timely synchronized to the target database, and the loss and the delay of the data are easily caused.
Disclosure of Invention
Aiming at the technical problems, the invention adopts the following technical scheme:
according to one aspect of the present application, there is provided an online migration method of blockchain data, applied to a data migration system, wherein the data migration system is communicatively connected with a source blockchain system and a target blockchain system, the source blockchain system includes a source data storage server, the source data storage server stores source blockchain data and a source consensus contract, the source blockchain data includes a source creation block and c source data blocks, the source data storage server is connected with n data nodes, and the target blockchain system includes a target data storage server;
The block chain data online migration method comprises the following steps:
s100, responding to a data migration request sent by a source block chain system, and configuring the same back-end service and front-end service as the source block chain system in a target block chain system;
s200, acquiring the affiliated organization of each data node, and if all the affiliated organizations of the data nodes are the same, executing the step S300;
s300, determining j target nodes from n data nodes; the target node is any data node; where j=n-Num, which is the minimum number of endorsement nodes that need to be involved in executing the source consensus contract;
s400, each target node is disconnected from the source data storage server, and a connection relation between the target node and the target data storage server is established;
s500, copying the source creating block and the source data block into a target data storage server, and determining the source creating block and the source data block as a target creating block and a target data block;
s600, carrying out signature verification on the target creation block and each target data block to obtain a corresponding signature verification result;
s700, if all signature verification results are verification success, storing the source consensus contract to a target data storage server;
S800, disconnecting n-j non-target nodes from a source data storage server, and establishing a connection relation between the non-target nodes and the target data storage server; the non-target nodes are data nodes that do not belong to the target node.
In an exemplary embodiment of the present application, step S200 further includes:
s210, if the number of the affiliated organizations corresponding to all the data nodes is greater than 1, executing a step S220;
s220, acquiring the number x (i) of data nodes of an ith affiliated organization; wherein i=1, 2, m; sigma (sigma) m i=1 x (i) =n; m is the number of the affiliated organizations corresponding to all the data nodes;
s230, according to the i-th endorsement node proportion threshold E of the affiliated organization stored in the source consensus contract i Determining g (i) target nodes from x (i), and executing step S400; wherein g (i) =e i ×x(i);0<E i <1;∑ m i=1 g(i)=j。
In an exemplary embodiment of the present application, step S400 includes:
s410, acquiring the priority of the historical data of each target node to obtain a priority set Q= (Q) 1 ,Q 2 ,...,Q z ,...,Q j );Q z =A z1 /A 2 The method comprises the steps of carrying out a first treatment on the surface of the Wherein z=1, 2,..j; q (Q) z Historical data priority for the z-th target node; a is that z1 A historical number of data changes to the source blockchain data for the z-th target node; a is that 2 A historical total number of data changes for the source blockchain data;
S420, according to the descending order of the values of the priorities of the historical data, for Q 1 ,Q 2 ,...,Q z ,...,Q j Sequencing to obtain a priority list P after sequencing 1 ,P 2 ,...,P z ,...,P j The method comprises the steps of carrying out a first treatment on the surface of the Wherein P is z The z historical data priority is reduced and sequenced according to the numerical value;
s430, sequentially combining P 1 ,P 2 ,...,P z ,...,P j The corresponding target node is off-line from the source data storage server and stores its public and private keys into the target data storage server.
In one exemplary embodiment of the present application, the i-th organization's endorsement node proportion threshold E i Is determined by the following method:
s231, obtaining the credibility value of each affiliated organization, and sequencing each credibility value according to the descending order of the credibility values to obtain a credibility value set K= (K) 1 ,K 2 ,...,K i ,...,K m );K i =K i1 /A 2 The method comprises the steps of carrying out a first treatment on the surface of the Wherein K is i For the confidence value, K, of the ith belonging organization ordered according to the descending order of confidence values i1 The historical number of successful data modification of the source blockchain data for the ith affiliated organization after sequencing according to the descending order of the credibility value;
s232, if K i ≤K 0 Step S233 is executed; otherwise, step S234 is performed; wherein K is 0 A preset credibility value threshold value is set;
s233, 1/B (i) is determined as E i The method comprises the steps of carrying out a first treatment on the surface of the Wherein B (i) is K i The number of corresponding data nodes of the organization;
S234, num-d ×K ⌈ i /∑ m-d a=1 K a ⌉/B (i) is determined as E i The method comprises the steps of carrying out a first treatment on the surface of the Wherein d is the credibility value less than or equal to K 0 ⌈ ⌉ is a preset round-up function.
In an exemplary embodiment of the present application, step S300 is replaced with:
s310, traversing all data nodes, and if the data nodes are endorsement nodes stored in a source consensus contract, determining the data nodes as initial nodes to obtain S initial nodes;
s320, if S > j, executing step S330; if S is less than or equal to j, determining the initial node as a target node, and executing step S400;
S330、acquiring the historical data updating time of each initial node to obtain a historical data updating time set T= (T) 1 ,T 2 ,...,T r ,...,T s ) The method comprises the steps of carrying out a first treatment on the surface of the Wherein r=1, 2,..s; t (T) r Updating time for the historical data of the r initial node; the historical data updating time is the historical total time of the corresponding initial node for carrying out data change on the source block chain data;
s340, according to the descending order of the values of the historical data update time, for T 1 ,T 2 ,...,T r ,...,T s Sorting to obtain a sorted updated time list F 1 ,F 2 ,...,F r ,...,F s The method comprises the steps of carrying out a first treatment on the surface of the Wherein F is r Updating time for the (r) th historical data after descending and sorting according to the numerical value;
s350, F 1 ,F 2 ,...,F j The corresponding initial node is determined as the target node, and step S400 is performed.
In an exemplary embodiment of the present application, step S500 further includes:
s510, copying the source creation block into a target data storage server, and determining the source creation block as a target creation block;
s520, obtaining the block height of each source data block to obtain a data block height set D= (D) 1 ,D 2 ,...,D b ,...,D c ) The method comprises the steps of carrying out a first treatment on the surface of the Wherein b=1, 2, c; d (D) b Block height for the b-th source data block;
s530, according to the numerical increasing sequence of the block heights, for D 1 ,D 2 ,...,D b ,...,D c Sequencing to obtain a sequenced block height list N 1 ,N 2 ,...,N b ,...,N c The method comprises the steps of carrying out a first treatment on the surface of the Wherein N is b The height of the b-th block after the sorting is increased according to the numerical value;
s540, N 1 ,N 2 ,...,N b ,...,N c The corresponding source data blocks are sequentially copied to the target data storage server and are determined to be target data blocks;
s550, N 1 ,N 2 ,...,N b ,...,N c The corresponding target data blocks are connected in turn, and the target creation blocks are connected to N 1 Corresponding to the target data block.
In an exemplary embodiment of the present application, step S800 further includes:
s810, if n-j is less than or equal to j, each non-target node is disconnected from the source data storage server, and a connection relation between the non-target node and the target data storage server is established; otherwise, step S820 is performed;
s820, selecting j from n-j non-target nodes, determining the non-target nodes as target nodes, disconnecting the non-target nodes from a source data storage server, and establishing a connection relation between the target nodes and the target data storage server;
S830, let n=n-j, and execute step S810.
In an exemplary embodiment of the present application, step S600 includes:
s610, obtaining the hash value W of the source creation block 0 ;
S620, selecting one data node from a plurality of data nodes connected with a target data storage server, and determining the data node as a verification data node;
s630, carrying out hash processing on the target generation block through the verification data node to obtain a corresponding hash value Y 0 ;
S640, if Y 0 =W 0 Step S650 is performed; otherwise, determining the verification failure as a signature verification result;
s650, obtaining the hash value W of each source data block 1 ,W 2 ,...,W b ,...,W c The method comprises the steps of carrying out a first treatment on the surface of the Wherein W is b Hash value for the b-th source data block;
s660, performing hash processing on the target data block corresponding to each source data block through the verification data node to obtain a corresponding hash value Y 1 ,Y 2 ,...,Y b ,...,Y c The method comprises the steps of carrying out a first treatment on the surface of the Wherein Y is b Hash value of the target data block corresponding to the b-th source data block;
s670, if Y b =W b The verification success is determined as the signature verification result of the b target data block; otherwise, determining the verification failure as the signature verification result of the b-th target data block.
In an exemplary embodiment of the present application, step 600 further comprises:
S601, if the source data storage server generates data change when signature verification is performed on the target creation block and each target data block, executing step S602;
s602, determining the data with the data change as change source data;
s603, acquiring a source data block where the change source data is located, and determining the source data block as a change source data block;
s604, copying the change source data to a target data storage server, and determining the change source data as change target data;
s605, inserting the change target data into the target data block corresponding to the change source data block so as to synchronize the data of the source data storage server and the target data storage server.
In an exemplary embodiment of the present application, after step S820, the blockchain data online migration method further includes:
s821, after the target node is offline from the source data storage server and before the target node establishes a connection relationship with the target data storage server, if the source blockchain data is changed, determining the data with the changed data as changed source data, and executing step S822;
s822, if the number of the target nodes connected to the target data storage server is greater than or equal to Num, performing endorsement and chaining verification on the modified source data through the target nodes of the target data storage server; otherwise, joint endorsement uplink verification is performed by the non-target node on the source data storage server and the target node of the target data storage server.
According to one aspect of the present application, there is provided a non-transitory computer readable storage medium having stored therein at least one instruction or at least one program loaded and executed by a processor to implement the foregoing blockchain data online migration method.
According to one aspect of the present application, there is provided an electronic device comprising a processor and the aforementioned non-transitory computer-readable storage medium.
The invention has at least the following beneficial effects:
according to the invention, the data node belongs to the organization, the analysis processing is carried out, the target node is determined from each of the affiliated organizations, the target node is disconnected from the source data storage server, the target data storage server is disconnected, the source blockchain data is copied to the target data storage server to realize online data migration, signature verification is carried out, if the verification is successful, the source consensus contract is stored to the target data storage server, and the non-target node is disconnected from the source data storage server, the target data storage server is disconnected, the online migration data synchronization of the blockchain data can be realized without disconnecting the source data storage server, the safety of data transmission and verification is ensured, and the occurrence of data loss caused by data delay is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for online migration of blockchain data provided by an embodiment of the present invention;
fig. 2 is a connection schematic diagram of a data migration system according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
When the prior blockchain data is migrated, the blockchain to be migrated in the database to be migrated needs to be firstly offline and then enters an offline state, and the blockchain to be migrated is migrated into the target database, and the blockchain migration mode is a migration work for the offline blockchain to be migrated, so that when the blockchain to be migrated is migrated and the blockchain to be migrated in the target database is verified, if the blockchain to be migrated in the database is subjected to data change, the blockchain to be migrated cannot be timely synchronized into the target database, and data loss and delay are easy to cause, and therefore, in order to solve the problem, a blockchain data migration method capable of realizing online migration and realizing data synchronization needs to be provided.
The utility model provides a block chain data online migration method, which is applied to a data migration system, as shown in fig. 2, wherein the data migration system is in communication connection with a source block chain system and a target block chain system, the source block chain system comprises a source data storage server, the source data storage server stores source block chain data and source consensus contracts, the source block chain data comprises a source creation block and c source data blocks, the source data storage server is connected with n data nodes, and the target block chain system comprises a target data storage server.
The source block chain data stored in the source data storage server is the data to be migrated, the target data storage server is the target server for data migration to be migrated, the data migration system migrates the source block chain data in the source block chain system to the target data storage server in the target block chain system, the source block chain data comprises a source generation block which is a generation block with the block height of 0 of the source block chain, a plurality of source data blocks are sequentially connected, a plurality of data nodes are connected to the source data storage server, each data node can change the source block chain data, the data transmission rule of each data node and the data change rule of each source data block are stored in a source consensus contract, and the minimum number and endorsement rule of endorsement nodes required by the source block chain data are used for maintaining and changing the source block chain data.
A block chain data online migration method, as shown in figure 1, comprises the following steps:
s100, responding to a data migration request sent by a source block chain system, and configuring the same back-end service and front-end service as the source block chain system in a target block chain system;
the data migration request is a request for migrating source block chain data in a source data storage server to a target data storage server, the data migration request comprises an address of the target data storage server and an address of the source block chain data, the data migration request is sent to a data migration system by a source block chain system, after the data migration request is received by the data migration system, the corresponding source data storage server is found according to the address of the source block chain data in the data migration request, the corresponding target data storage server is found according to the address of the target data storage server, and a back-end service and a front-end service which are the same as the source block chain system comprising the source data storage server are configured in the target block chain system so as to establish the same data storage environment as the source block chain system in the target block chain system, the back-end service is a service for carrying out data maintenance on the source block chain data and the target data storage server, and the front-end service is a service for carrying out data modification on the source block chain data.
S200, acquiring the affiliated organization of each data node, and if all the affiliated organizations of the data nodes are the same, executing the step S300;
s210, if the number of the affiliated organizations corresponding to all the data nodes is greater than 1, executing a step S220;
since there are several data nodes connected to the source blockchain in the source blockchain data, each data node belongs to an organization, there may be several organizations connected to the source blockchain, but since during data migration, in order to ensure that each organization distributes at least one data node to connect to the source data storage server, the source data storage server and the target data storage server are connected by corresponding endorsement nodes, so that no offline situation occurs, before data migration, analysis processing is performed on the organization to which each data node belongs, and whether the organization belongs to the same organization or different organizations is determined.
S220, acquiring the number x (i) of data nodes of an ith affiliated organization; wherein i=1, 2, m; sigma (sigma) m i=1 x (i) =n; m is the number of the affiliated organizations corresponding to all the data nodes;
s230, according to the i-th endorsement node proportion threshold E of the affiliated organization stored in the source consensus contract i Determining g (i) target nodes from x (i), and executing step S400; wherein g (i) =e i ×x(i);0<E i <1;∑ m i=1 g(i)=j;
Step S220-step S230 are data processing methods of different organizations of data nodes, firstly counting the number of different organizations of all data nodes and the number of data nodes in each organization, then obtaining the corresponding endorsement node proportion threshold value of the organization from a source consensus contract to determine the number of data nodes to be migrated of each organization, if the number of data nodes connected with a source data storage server in organization A is 12 and the corresponding endorsement node proportion threshold value is one-fourth, when the organization A performs node migration, the number of data nodes migrated each time is at most 3 to ensure that each organization has the possibility of endorsement nodes, and ensure that the number of data nodes connected with the source data storage server meet the requirement of on-line endorsement nodes when performing data migration, so as to realize data synchronization between the source data storage server and a target data storage server.
Wherein, the endorsement node proportion threshold E of the ith affiliated organization i By the followingThe method comprises the following steps:
s231, obtaining the credibility value of each affiliated organization, and sequencing each credibility value according to the descending order of the credibility values to obtain a credibility value set K= (K) 1 ,K 2 ,...,K i ,...,K m );K i =K i1 /A 2 The method comprises the steps of carrying out a first treatment on the surface of the Wherein K is i For the confidence value, K, of the ith belonging organization ordered according to the descending order of confidence values i1 The historical number of successful data modification of the source blockchain data for the ith affiliated organization after sequencing according to the descending order of the credibility value;
s232, if K i ≤K 0 Step S233 is executed; otherwise, step S234 is performed; wherein K is 0 A preset credibility value threshold value is set;
s233, 1/B (i) is determined as E i The method comprises the steps of carrying out a first treatment on the surface of the Wherein B (i) is K i The number of corresponding data nodes of the organization;
s234, num-d ×K ⌈ i /∑ m-d a=1 K a ⌉/B (i) is determined as E i The method comprises the steps of carrying out a first treatment on the surface of the Wherein d is the credibility value less than or equal to K 0 ⌈ ⌉ is a preset round-up function;
the endorsement node proportion threshold value of each affiliated organization is determined through the steps S231-S234, firstly, the credibility value of each affiliated organization is obtained through the successful data change times of source block chain data, then each credibility value is compared with a preset credibility value threshold value, if the credibility value is smaller than or equal to the credibility value threshold value, the corresponding endorsement node proportion threshold value is one-half of the included data nodes, which means that when the endorsement node proportion threshold value is used for node migration, only one data node is selected from the organization as a target node, and node migration is carried out, otherwise, if the credibility value is larger than the credibility value threshold value, normalization processing is carried out on the endorsement node proportion threshold value, which corresponds to the endorsement node proportion threshold value is determined.
S300, determining j target nodes from n data nodes; the target node is any data node; where j=n-Num, which is the minimum number of endorsement nodes that need to be involved in executing the source consensus contract;
step S300 is a method for determining a target node when all data nodes connected to the source data storage server belong to the same organization, and if all data nodes belong to the same organization, the selected proportion is not required to be considered, and only the target node corresponding to the minimum number of endorsement nodes in the source consensus contract is required to be determined.
S400, each target node is disconnected from the source data storage server, and a connection relation between the target node and the target data storage server is established;
after determining the target node by judging the organization to which the data node belongs, the target data storage server can synchronize or verify, and a part of data nodes are selected from the source data storage server and transferred to the target data storage server to ensure the data synchronization of the two data storage servers, and the selected part of data nodes are the target nodes.
Further, step S400 includes:
s410, acquiring the priority of the historical data of each target node to obtain a priority set Q= (Q) 1 ,Q 2 ,...,Q z ,...,Q j );Q z =A z1 /A 2 The method comprises the steps of carrying out a first treatment on the surface of the Wherein z=1, 2,..j; q (Q) z Historical data priority for the z-th target node; a is that z1 A historical number of data changes to the source blockchain data for the z-th target node; a is that 2 A historical total number of data changes for the source blockchain data;
s420, according to the descending order of the values of the priorities of the historical data, for Q 1 ,Q 2 ,...,Q z ,...,Q j Sequencing to obtain a priority list P after sequencing 1 ,P 2 ,...,P z ,...,P j The method comprises the steps of carrying out a first treatment on the surface of the Wherein P is z The z historical data priority is reduced and sequenced according to the numerical value;
s430, eiSecondary pair P 1 ,P 2 ,...,P z ,...,P j The corresponding target node is disconnected from the source data storage server, and stores the public key and the private key of the target node into the target data storage server;
s431, when P z When the public key and the private key of the corresponding target node are stored in the target data storage server, P is further stored in the target data storage server z+1 The corresponding target node is off-line from the source data storage server;
the offline sequence of the target nodes is determined by the method described in step S410-step S430, the historical data priority of each target node is determined first, then the historical data priorities are sorted according to decreasing values, the target nodes are sequentially offline from the source data storage server according to the sorted sequence of the target nodes and offline from the target data storage server according to the order of the historical data priorities, the data importance of the migration of the target nodes can be ensured, and the maintenance effect of the target nodes online on the target data storage server on the whole blockchain system is ensured.
In addition, in step S431, the connection priority of the target node is expressed, and the next target node must be disconnected from the source data storage server after the previous target node is disconnected from the target data storage server, so as to ensure that two target nodes are not in offline state at the same time, and improve the system maintenance capability during data migration.
S500, copying the source creating block and the source data block into a target data storage server, and determining the source creating block and the source data block as a target creating block and a target data block;
after migrating the target node to the target data storage server, performing data migration, namely copying source blockchain data from the source data storage server to the target data storage server, wherein at the moment, the source data storage server and the target data storage server are both connected with data nodes, so that the data migration is online migration, the source blockchain data in the source data storage server need to be copied to the target data storage server, the source blockchain data are determined to be target blockchain data, the target blockchain data comprise a target creation block and a target data block, the target creation block corresponds to a source creation block, the target data block corresponds to a source data block, and the block height of each target data block is equal to the block height of the corresponding source data block.
Further, step S500 includes:
s510, copying the source creation block into a target data storage server, and determining the source creation block as a target creation block;
s520, obtaining the block height of each source data block to obtain a data block height set D= (D) 1 ,D 2 ,...,D b ,...,D c ) The method comprises the steps of carrying out a first treatment on the surface of the Wherein b=1, 2, c; d (D) b Block height for the b-th source data block;
s530, according to the numerical increasing sequence of the block heights, for D 1 ,D 2 ,...,D b ,...,D c Sequencing to obtain a sequenced block height list N 1 ,N 2 ,...,N b ,...,N c The method comprises the steps of carrying out a first treatment on the surface of the Wherein N is b The height of the b-th block after the sorting is increased according to the numerical value;
s540, N 1 ,N 2 ,...,N b ,...,N c The corresponding source data blocks are sequentially copied to the target data storage server and are determined to be target data blocks;
s550, N 1 ,N 2 ,...,N b ,...,N c The corresponding target data blocks are connected in turn, and the target creation blocks are connected to N 1 Corresponding to the target data block;
step S510-step S550 is the replication sequence of the target block chain data, namely, the block height of each target data block is sequentially replicated to the target data storage server, and a connection relationship is sequentially established in the target data storage server according to the block height.
S600, carrying out signature verification on the target creation block and each target data block to obtain a corresponding signature verification result;
Further, step S600 includes:
s610, obtaining the hash value W of the source creation block 0 ;
S620, selecting one data node from a plurality of data nodes connected with a target data storage server, and determining the data node as a verification data node;
s630, carrying out hash processing on the target generation block through the verification data node to obtain a corresponding hash value Y 0 ;
S640, if Y 0 =W 0 Step S650 is performed; otherwise, determining the verification failure as a signature verification result;
s650, obtaining the hash value W of each source data block 1 ,W 2 ,...,W b ,...,W c The method comprises the steps of carrying out a first treatment on the surface of the Wherein W is b Hash value for the b-th source data block;
s660, performing hash processing on the target data block corresponding to each source data block through the verification data node to obtain a corresponding hash value Y 1 ,Y 2 ,...,Y b ,...,Y c The method comprises the steps of carrying out a first treatment on the surface of the Wherein Y is b Hash value of the target data block corresponding to the b-th source data block;
s670, if Y b =W b The verification success is determined as the signature verification result of the b target data block; otherwise, determining the verification failure as a signature verification result of the b-th target data block;
step S610-step S670 is a method for signature verification of target blockchain data, firstly determining a verification data node, wherein the verification data node is a data node trusted by both a source data storage server and a target data storage server, sequentially carrying out hash processing on a source data block and a target data block corresponding to the source data block to obtain hash values of the source data block and the target data block, comparing the hash values of the source data block and the target data block, and if the hash values of the source data block and the target data block are equal, the verification is successful, otherwise, the verification is failed.
In addition, step 600 further includes:
s601, if the source data storage server generates data change when signature verification is performed on the target creation block and each target data block, executing step S602;
s602, determining the data with the data change as change source data;
s603, acquiring a source data block where the change source data is located, and determining the source data block as a change source data block;
s604, copying the change source data to a target data storage server, and determining the change source data as change target data;
s605, inserting the change target data into a target data block corresponding to the change source data block so as to synchronize the data of the source data storage server and the data of the target data storage server;
in the processing method of the source data storage server for performing signature verification on the target data block, since the data migration in the present application is online migration, if the source data storage server performs data change, in order to ensure that data is not lost, data synchronization between the source data storage server and the target data storage server is to be achieved, so when the source data storage server performs data change, the corresponding change source data block is acquired first, then the change source data block is copied to the target data storage server, the corresponding target data block is replaced, and when signature verification is performed, the source data storage server adds one source data block, and then the corresponding target data block is also added to the target data storage server, thereby achieving data synchronization of the two data storage servers.
S700, if all signature verification results are verification success, storing the source consensus contract to a target data storage server;
s800, disconnecting n-j non-target nodes from a source data storage server, and establishing a connection relation between the non-target nodes and the target data storage server; the non-target node is a data node which does not belong to the target node;
if the signature verification result of each target data block is successful, storing the source consensus contract into the target data storage server, and establishing an association relation between the source consensus contract and a data node of the target data storage server, so that the data node can perform data processing on the target block chain data according to the source consensus contract.
Further, step S800 includes:
s810, if n-j is less than or equal to j, each non-target node is disconnected from the source data storage server, and a connection relation between the non-target node and the target data storage server is established; otherwise, step S820 is performed;
s820, selecting j from n-j non-target nodes, determining the non-target nodes as target nodes, disconnecting the non-target nodes from a source data storage server, and establishing a connection relation between the target nodes and the target data storage server;
S821, after the target node is offline from the source data storage server and before the target node establishes a connection relationship with the target data storage server, if the source blockchain data is changed, determining the data with the changed data as changed source data, and executing step S822;
s822, if the number of the target nodes connected to the target data storage server is greater than or equal to Num, performing endorsement and chaining verification on the modified source data through the target nodes of the target data storage server; otherwise, carrying out joint endorsement uplink verification through the non-target node on the source data storage server and the target node of the target data storage server;
s830, let n=n-j, and execute step S810.
When the non-target nodes are migrated, the rule of endorsement nodes of a source consensus contract is complied with, namely, normal operation of two data storage servers is maintained only by migrating j data nodes at most each time, when source block chain data is subjected to data modification, endorsement link verification is required to be performed on the source block chain data, the data nodes can be modified only after verification passes, and the number of the data nodes used for endorsement link verification also follows the endorsement node requirement of the consensus contract.
Further, in determining the target node in each organization, the following method may be performed: step S300 is replaced with:
s310, traversing all data nodes, and if the data nodes are endorsement nodes stored in a source consensus contract, determining the data nodes as initial nodes to obtain S initial nodes;
s320, if S > j, executing step S330; if S is less than or equal to j, determining the initial node as a target node, and executing step S400;
s330, obtaining the historical data update time of each initial node to obtain a historical data update time set T= (T) 1 ,T 2 ,...,T r ,...,T s ) The method comprises the steps of carrying out a first treatment on the surface of the Wherein r=1, 2,..s; t (T) r Updating time for the historical data of the r initial node; the historical data updating time is the historical total time of the corresponding initial node for carrying out data change on the source block chain data;
s340, according to the descending order of the values of the historical data update time, for T 1 ,T 2 ,...,T r ,...,T s Sorting to obtain a sorted updated time list F 1 ,F 2 ,...,F r ,...,F s The method comprises the steps of carrying out a first treatment on the surface of the Wherein F is r Updating time for the (r) th historical data after descending and sorting according to the numerical value;
s350, F 1 ,F 2 ,...,F j The corresponding initial node is determined as the target node, and step S40 is performed0。
According to the historical data updating time of each data node in the same organization, each data node is sequenced, and the data node with more historical data updating time is determined as the target node, so that the optimal data transmission performance of the target node on the target data storage server can be ensured when the first node is migrated, the highest efficiency of hash processing and signature verification is realized when the subsequent signature verification is carried out, and the situation of data packet loss is avoided.
In addition, if the data migration request includes a chain name modification request for modifying a chain name of the source blockchain data, the following method is executed:
s001, responding to a received chain name modification request sent by a source block chain system; the chain name modification request includes a target chain name;
the chain name modification request is a request for modifying the chain name of source block chain data, namely, a request for modifying the name of a source creation block, wherein the request comprises a target chain name, the name to be modified by the target chain name is about to be modified, and if the data migration request comprises the chain name modification request, the data migration and the chain name modification are simultaneously carried out.
S002, the same back-end service and front-end service as the source block chain system are configured in the target block chain system;
s003, determining j target nodes from n data nodes; the target node is any data node;
s004, each target node is disconnected from the source data storage server, and a connection relation between the target node and the target data storage server is established;
s005, copying the source creation block into a target data storage server, and determining the source creation block as a target creation block;
s006, changing the name of the target creation block into a target chain name;
S007, performing block verification on each source data block through an intermediate data storage server to obtain a corresponding block verification result;
the intermediate data storage server is connected with the data migration system and is used for performing block verification on the source block chain data when the chain name is modified while the data is migrated.
Further, step S007 further includes:
s0071, selecting one from n data nodes, and determining the selected data node as a block verification node;
s0072, connecting the block verification node to an intermediate data storage server;
s0073, sending the hash value of each source data block to an intermediate data storage server;
s0074, reading the hash value of each source data block of the source data storage server through the block verification node;
s0075, for the same source data block, if the hash value read by the block verification node is the same as the hash value received by the intermediate data storage server, determining that the verification is successful as a block verification result of the source data block; otherwise, determining the verification failure as a block verification result of the source data block;
the block verification is a block existence verification method for a source data block, and is used for verifying whether the source data block to be migrated exists in a source data storage server, firstly determining a block verification node, wherein the block verification node is a data node commonly trusted by the source data storage server and a target data storage server, the block verification node reads the hash value of each source data block and compares the hash value of the corresponding source data block received by an intermediate data storage server, if the two hash values are the same, the corresponding source data block exists in the source data storage server, the block verification result is verification success, otherwise, the corresponding source data block is not in the source data storage server, and the block verification result is verification failure.
S008, if the block verification result is that verification is successful, copying block body data of the corresponding source data block into a target data storage server to obtain a target data block;
if the block verification result is successful, the corresponding source data block exists in the source data storage server, the block body data of the corresponding source data block is copied to the target data storage server, and the hash values of the target generation block and the source generation block are different because the name of the target generation block is modified, and the block structure is composed of a block head and a block body, so that the block body data of the source data block is only required to be copied to the target data storage server, and the block body data of the source data block is combined with the hash value of the previous data block to obtain the corresponding target data block.
Further, step S008 further includes:
s0081, if the block verification result is that verification is successful, copying the block volume data of the corresponding source data block to a target data storage server, and determining the block volume data as target area block volume data;
s0082, carrying out hash processing on a previous data block connected with the target block body data to obtain corresponding target block head data;
S0083, obtaining a corresponding target data block according to target block volume data and target block header data;
and verifying from the source data block with the smallest block height, copying the block body data of the source data block into a target data storage server after verification is successful, at the moment, taking the previous data block connected with the block body data as a target generation block, carrying out hash processing on the target generation block to obtain a corresponding hash value, wherein the hash value is the block head data of the block body data, combining the two to form a first target data block in the target data storage server, and so on, taking the block head data of a second target data block as the hash value obtained after carrying out hash processing on the first target data block, and taking the block body data of the second target data block as the block body data of the second source data block until all the target data blocks are obtained.
S009, disconnecting n-j non-target nodes from a source data storage server, and establishing a connection relation between the non-target nodes and the target data storage server; the non-target nodes are data nodes that do not belong to the target node.
If the signature verification result of each target data block is successful, storing the source consensus contract into the target data storage server, and establishing an association relation between the source consensus contract and a data node of the target data storage server, so that the data node can perform data processing on the target block chain data according to the source consensus contract.
According to the invention, the data node belongs to the organization, the analysis processing is carried out, the target node is determined from each of the affiliated organizations, the target node is disconnected from the source data storage server, the target data storage server is disconnected, the source blockchain data is copied to the target data storage server to realize online data migration, signature verification is carried out, if the verification is successful, the source consensus contract is stored to the target data storage server, and the non-target node is disconnected from the source data storage server, the target data storage server is disconnected, the online migration data synchronization of the blockchain data can be realized without disconnecting the source data storage server, the safety of data transmission and verification is ensured, and the occurrence of data loss caused by data delay is avoided.
Embodiments of the present invention also provide a non-transitory computer readable storage medium that may be disposed in an electronic device to store at least one instruction or at least one program for implementing one of the methods embodiments, the at least one instruction or the at least one program being loaded and executed by the processor to implement the methods provided by the embodiments described above.
Embodiments of the present invention also provide an electronic device comprising a processor and the aforementioned non-transitory computer-readable storage medium.
While certain specific embodiments of the invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the invention. Those skilled in the art will also appreciate that many modifications may be made to the embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.
Claims (9)
1. The online migration method of the blockchain data is characterized by being applied to a data migration system, wherein the data migration system is in communication connection with a source blockchain system and a target blockchain system, the source blockchain system comprises a source data storage server, the source data storage server stores source blockchain data and source consensus contracts, the source blockchain data comprises a source creation block and c source data blocks, the source data storage server is connected with n data nodes, and the target blockchain system comprises a target data storage server;
The method comprises the following steps:
s100, responding to a data migration request sent by the source block chain system, and configuring back-end service and front-end service which are the same as the source block chain system in the target block chain system;
s200, acquiring the affiliated organization of each data node, and if all the affiliated organizations of the data nodes are the same, executing a step S300;
s210, if the number of the organizations corresponding to all the data nodes is greater than 1, executing a step S220;
s220, acquiring the number x (i) of data nodes of an ith affiliated organization; wherein i=1, 2, m; sigma (sigma) m i=1 x (i) =n; m is the number of the affiliated organizations corresponding to all the data nodes;
s230, according to the endorsement node proportion threshold E of the ith affiliated organization stored in the source consensus contract i Determining g (i) target nodes from x (i), and executing step S400; wherein g (i) =e i ×x(i);0<E i <1;∑ m i=1 g(i)=j;
S300, determining j target nodes from n data nodes; the target node is any data node; where j=n-Num, num is the minimum number of endorsement nodes that need to be involved in executing the source consensus contract;
s400, each target node is disconnected from the source data storage server, and a connection relation between the target node and the target data storage server is established;
S500, copying the source creating block and the source data block into the target data storage server, and determining the source creating block and the source data block as target creating blocks and target data blocks;
s600, carrying out signature verification on the target generation block and each target data block to obtain a corresponding signature verification result;
s700, if all signature verification results are successful in verification, storing the source consensus contract to the target data storage server;
s800, off-line n-j non-target nodes from the source data storage server, and establishing a connection relation between the non-target nodes and the target data storage server; the non-target node is a data node not belonging to the target node.
2. The online migration method of blockchain data of claim 1, wherein the step S400 includes:
s410, acquiring the historical data priority of each target node to obtain a historical data priority set Q= (Q) 1 ,Q 2 ,...,Q z ,...,Q j );Q z =A z1 /A 2 The method comprises the steps of carrying out a first treatment on the surface of the Wherein z=1, 2,..j; q (Q) z Historical data priority for the z-th target node; a is that z1 A historical number of data changes to the source blockchain data for a z-th target node; a is that 2 A historical total number of data changes for the source blockchain data;
s420, according to the descending order of the values of the priorities of the historical data, for Q 1 ,Q 2 ,...,Q z ,...,Q j Sequencing to obtain a priority list P after sequencing 1 ,P 2 ,...,P z ,...,P j The method comprises the steps of carrying out a first treatment on the surface of the Wherein P is z The z historical data priority is reduced and sequenced according to the numerical value;
s430, sequentially combining P 1 ,P 2 ,...,P z ,...,P j The corresponding target node is offline from the source data storage server and stores its public and private keys into the target data storage server.
3. The method for online migration of blockchain data of claim 2, wherein an i-th organization has an endorsed node scaling threshold E i Is determined by the following method:
s231, obtaining the credibility value of each affiliated organization, and sequencing each credibility value according to the descending order of the credibility values to obtain a credibility value set K= (K) 1 ,K 2 ,...,K i ,...,K m );K i =K i1 /A 2 The method comprises the steps of carrying out a first treatment on the surface of the Wherein K is i For the confidence value, K, of the ith belonging organization ordered according to the descending order of confidence values i1 The historical number of successful data modification of the source blockchain data is carried out for the ith affiliated organization after sequencing according to the descending order of the credibility value;
s232, if K i ≤K 0 Step S233 is executed; otherwise, step S234 is performed; wherein K is 0 A preset credibility value threshold value is set;
s233, 1/B (i) is determined as E i The method comprises the steps of carrying out a first treatment on the surface of the Wherein B (i) is K i The number of corresponding data nodes of the organization;
s234, num-d ×K ⌈ i /∑ m-d a=1 K a ⌉/B (i) is determined as E i The method comprises the steps of carrying out a first treatment on the surface of the Wherein d is the credibility value less than or equal to K 0 ⌈ ⌉ is a preset round-up function.
4. The method according to claim 1, wherein the step S300 is replaced with:
s310, traversing all the data nodes, and if the data nodes are endorsement nodes stored in the source consensus contracts, determining the data nodes as initial nodes to obtain S initial nodes;
s320, if S > j, executing step S330; if S is less than or equal to j, determining the initial node as a target node, and executing step S400;
s330, obtaining the historical data update time of each initial node to obtain a historical data update time set T= (T) 1 ,T 2 ,...,T r ,...,T s ) The method comprises the steps of carrying out a first treatment on the surface of the Wherein r=1, 2,..s; t (T) r Updating time for the historical data of the r initial node; the historical data updating time is the historical total time of the corresponding initial node for carrying out data change on the source block chain data;
s340, according to the descending order of the values of the historical data update time, for T 1 ,T 2 ,...,T r ,...,T s Sorting to obtain a sorted updated time list F 1 ,F 2 ,...,F r ,...,F s The method comprises the steps of carrying out a first treatment on the surface of the Wherein F is r Updating time for the (r) th historical data after descending and sorting according to the numerical value;
s350, F 1 ,F 2 ,...,F j The corresponding initial node is determined as the target node, and step S400 is performed.
5. The online migration method of blockchain data of claim 1, wherein the step S500 further includes:
s510, copying the source creation block into the target data storage server, and determining the source creation block as a target creation block;
s520, obtaining the block height of each source data block to obtain a data block height set D= (D) 1 ,D 2 ,...,D b ,...,D c ) The method comprises the steps of carrying out a first treatment on the surface of the Wherein b=1, 2, c; d (D) b Block height for the b-th source data block;
s530, according to the numerical increasing sequence of the block heights, for D 1 ,D 2 ,...,D b ,...,D c Sequencing to obtain a sequenced block height list N 1 ,N 2 ,...,N b ,...,N c The method comprises the steps of carrying out a first treatment on the surface of the Wherein N is b To be sorted according to increment of numerical valueThe height of the b th block;
s540, N 1 ,N 2 ,...,N b ,...,N c The corresponding source data blocks are sequentially copied to the target data storage server and are determined to be target data blocks;
s550, N 1 ,N 2 ,...,N b ,...,N c The corresponding target data blocks are connected in sequence, and the target creation blocks are connected in N 1 Corresponding to the target data block.
6. The online migration method of blockchain data of claim 1, wherein the step S800 further includes:
s810, if n-j is less than or equal to j, disconnecting each non-target node from the source data storage server, and establishing a connection relationship between the non-target node and the target data storage server; otherwise, step S820 is performed;
s820, selecting j out of n-j non-target nodes, determining the non-target nodes as target nodes, downloading the target nodes from the source data storage server, and establishing a connection relation between the target nodes and the target data storage server;
s830, let n=n-j, and execute step S810.
7. The online migration method of blockchain data of claim 1, wherein the step S600 includes:
s610, obtaining the hash value W of the source creation block 0 ;
S620, selecting one data node from a plurality of data nodes connected with the target data storage server, and determining the data node as a verification data node;
s630, carrying out hash processing on the target creation block through the verification data node to obtain a corresponding hash value Y 0 ;
S640, if Y 0 =W 0 Step S650 is performed; otherwise, determining the verification failure as a signature verification result;
S650, obtaining the hash value W of each source data block 1 ,W 2 ,...,W b ,...,W c The method comprises the steps of carrying out a first treatment on the surface of the Wherein W is b Hash value for the b-th source data block;
s660, performing hash processing on the target data block corresponding to each source data block through the verification data node to obtain a corresponding hash value Y 1 ,Y 2 ,...,Y b ,...,Y c The method comprises the steps of carrying out a first treatment on the surface of the Wherein Y is b Hash value of the target data block corresponding to the b-th source data block;
s670, if Y b =W b The verification success is determined as the signature verification result of the b target data block; otherwise, determining the verification failure as the signature verification result of the b-th target data block.
8. The method of claim 1, wherein the step 600 further comprises:
s601, if data change occurs in the source data storage server when signature verification is performed on the target generation block and each target data block, executing a step S602;
s602, determining the data with the data change as change source data;
s603, acquiring a source data block where the change source data is located, and determining the source data block as a change source data block;
s604, copying the change source data to the target data storage server, and determining the change source data as change target data;
S605, inserting the change target data into a target data block corresponding to the change source data block so as to synchronize the data of the source data storage server and the data of the target data storage server.
9. The online migration method of blockchain data of claim 6, further comprising, after the step S820:
s821, after the target node is offline from the source data storage server and before the target node establishes a connection relationship with the target data storage server, if the source blockchain data is changed, determining the data with the changed data as changed source data, and executing step S822;
s822, if the number of the target nodes connected to the target data storage server is greater than or equal to Num, performing endorsement and chaining verification on the change source data through the target nodes of the target data storage server; otherwise, joint endorsement uplink verification is carried out through the non-target node on the source data storage server and the target node of the target data storage server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310512201.9A CN116226097B (en) | 2023-05-09 | 2023-05-09 | Block chain data online migration method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310512201.9A CN116226097B (en) | 2023-05-09 | 2023-05-09 | Block chain data online migration method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116226097A CN116226097A (en) | 2023-06-06 |
CN116226097B true CN116226097B (en) | 2023-07-14 |
Family
ID=86587709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310512201.9A Active CN116226097B (en) | 2023-05-09 | 2023-05-09 | Block chain data online migration method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116226097B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110287107A (en) * | 2019-05-27 | 2019-09-27 | 丹阳市萌咔信息技术有限公司 | The data processing of block chain and intelligent contract combined debugging integrated approach, system and computer readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11941588B2 (en) * | 2015-11-06 | 2024-03-26 | Cable Television Laboratories, Inc. | Systems and methods for blockchain virtualization and scalability |
-
2023
- 2023-05-09 CN CN202310512201.9A patent/CN116226097B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110287107A (en) * | 2019-05-27 | 2019-09-27 | 丹阳市萌咔信息技术有限公司 | The data processing of block chain and intelligent contract combined debugging integrated approach, system and computer readable storage medium |
Non-Patent Citations (1)
Title |
---|
基于区块链和云平台的数据共享模型;杨明 等;《信息工程大学学报》;第22卷(第1期);94-101 * |
Also Published As
Publication number | Publication date |
---|---|
CN116226097A (en) | 2023-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108805702B (en) | Transaction buffering/accelerating method based on block chain and block chain transaction processing system | |
CN109240830B (en) | Application intelligent request management based on server health and client information | |
AU2019203861B2 (en) | System and method for ending view change protocol | |
Montresor | A robust protocol for building superpeer overlay topologies | |
US20210126867A1 (en) | Data-interoperability-oriented trusted processing method and system | |
AU2019203862B2 (en) | System and method for ending view change protocol | |
US7698239B2 (en) | Self-evolving distributed system performance using a system health index | |
CN109684307A (en) | A kind of date storage method, device, equipment and storage medium | |
US8938495B2 (en) | Remote management system with adaptive session management mechanism | |
CN112788137A (en) | Alliance chain consensus method based on RAFT algorithm | |
CN108846745B (en) | Block chain transaction processing auxiliary system, block chain data processing system and method | |
KR102486419B1 (en) | Leader election method using federated learning for private blockchain, recording medium and device for performing the method | |
KR20200062887A (en) | Apparatus and method for assuring quality of control operations of a system based on reinforcement learning. | |
CN116361271B (en) | Block chain data modification and migration method, electronic equipment and storage medium | |
CN115189908B (en) | Random attack survivability evaluation method based on network digital twin | |
CN115049061A (en) | Artificial intelligence reasoning system based on block chain | |
CN111555860A (en) | Block link point consensus method and device, electronic equipment and storage medium | |
CN116226097B (en) | Block chain data online migration method | |
CN115022205A (en) | Cross-network data transmission method applied to high-concurrency scene of massive terminals | |
Müller et al. | Stability of local tip pool sizes | |
CN112020849A (en) | Method for verifying a node | |
Xu et al. | Curb: Trusted and scalable software-defined network control plane for edge computing | |
CN106874341B (en) | Database synchronization method | |
CN116055330B (en) | Digital twin network slicing method and device based on knowledge graph | |
CN111711702A (en) | Distributed cooperative interaction method and system based on communication topology |
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 |