Data processing system based on block chain cross-chain migration and use method thereof
By introducing permission configuration, intelligent migration, adaptive segmentation and distributed storage technologies into the blockchain data migration system, traditional data migration has been solved, inconsistency and security issues, and efficient and secure data migration and management have been achieved. .
Patent Information
- Application Number
- CN202411515866.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-02-11
AI Technical Summary
Traditional blockchain data migration methods take time, easily lead to data inconsistency and security issues, and it is difficult to manage different users and nodes.
A cross-chain migration data processing system based on blockchain is proposed, including permission configuration module, data migration module, data segmentation module, data storage module and migration expansion module. Through full migration mode and incremental migration mode, segmentation strategy and distribution storage, enabling efficient data migration and secure management.
It realizes the refinement, automation and efficiency of data management, reduces operation and maintenance costs, improves data security and availability, and supports the flexible expansion and long-term sustainable development of blockchain networks.
Smart Images

Figure CN119415496A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data processing system based on blockchain cross-chain migration and a method of using the system. Background Art
[0002] With the widespread application of blockchain technology, the accumulation of data on the chain has gradually increased, making data management and migration a major challenge. Traditional data migration methods usually involve migrating the data of the entire chain at one time, which is not only time-consuming, but also prone to data inconsistency and security issues. In addition, with the increase in participants, the management of different users and nodes is also a problem that should be solved. Summary of the invention
[0003] The present invention proposes a data processing system based on cross-chain migration of blockchain and a method of using the same, aiming to solve one of the technical problems in the related technology at least to a certain extent. The embodiment of the present invention can conveniently realize data processing based on cross-chain migration of blockchain.
[0004] On the one hand, an embodiment of the present invention provides a data processing system based on cross-chain migration of blockchain, the system including a permission configuration module, a data migration module, a data segmentation module, a data storage module and a migration and expansion module;
[0005] A permission configuration module, used to respond to the permission configuration instruction of the management object and set the permission for specific data through the access control list;
[0006] A data migration module is used to determine a data migration mode according to the data type of the target data to be migrated; the data migration mode includes a full migration mode or an incremental migration mode;
[0007] A data segmentation module, used to determine a segmentation strategy for target data according to a data migration mode, and segment the target data into data segments based on the segmentation strategy;
[0008] The data storage module is used to store data fragments in nodes on the target chain.
[0009] Optionally, the permission configuration module sets permissions for specific data through an access control list in response to the permission configuration instruction of the management object, specifically for performing at least one of the following operations:
[0010] In response to the permission configuration instruction of the management object, assigning permissions for reading, writing and / or modifying specific data to pre-selected users or nodes;
[0011] In response to the permission configuration instruction of the management object, configure preset permissions for the pre-selected smart contract;
[0012] In response to the permission configuration instructions of the management object, a privacy level is set for specific data.
[0013] Optionally, the data migration module determines the data migration mode according to the data type of the target data to be migrated, and is specifically used to perform the following operations:
[0014] When the target data is structured data, determine the data migration mode as full migration mode;
[0015] When the target data is unstructured data, the data migration mode is determined to be an incremental migration mode; the target data is identified as text data.
[0016] Optionally, the data segments include data segments and real-time target fields; the data segmentation module determines a segmentation strategy for the target data according to the data migration mode, and segments the target data into data segments based on the segmentation strategy, specifically for performing the following operations:
[0017] When the data migration mode is full migration mode, the target data is divided into multiple data segments based on the first byte segmentation length;
[0018] When the data migration mode is the incremental migration mode, the real-time byte length of the text data is obtained; a segmentation rule of the text data is determined based on the real-time byte length, and the text data is segmented into at least one real-time target field based on the segmentation rule; the text data is pre-identified based on the target data.
[0019] Optionally, the data segmentation module determines a segmentation rule for the text data based on the real-time byte length, and segments the text data into a plurality of real-time target fields based on the segmentation rule, specifically for performing the following operations:
[0020] When the real-time byte length is less than or equal to the preset standard byte length, the target data is determined to be a type of data, and the text data is directly used as the real-time target field;
[0021] When the real-time byte length is greater than the standard byte length, the target data is determined to be second-category data, and the text data is segmented into a plurality of real-time target fields based on the second byte segmentation length.
[0022] Optionally, the data segmentation module is further used to:
[0023] Extract keywords according to the real-time target field, obtain the historical access count of each keyword from the target database, and use the maximum historical access count obtained as the real-time access count of the real-time target field;
[0024] When the real-time access number is greater than or equal to the preset standard access number, the real-time access frequency of the real-time target field is obtained;
[0025] When the real-time access frequency is greater than the preset standard access frequency, the second byte segmentation length is modified according to the number of real-time accesses and the real-time access frequency;
[0026] Among them, the expression of the corrected second byte segmentation length is:
[0027] Ss'=Ss×[1+(Fs-Fb) / Fs+(Ns-Nb) / Ns];
[0028] Wherein, Ss' represents the calculated simulated byte segmentation length, Ss' is used as the corrected second byte segmentation length; Ss represents the second byte segmentation length before correction; Fs represents the real-time access frequency; Fb represents the standard access frequency; Ns represents the number of real-time accesses; and Nb represents the number of standard accesses.
[0029] Optionally, when the data migration mode is the incremental migration mode, the data segment is a real-time target field; the system further includes a migration expansion module; the migration expansion module is specifically used to perform the following operations:
[0030] Based on the preset collection time, the historical data volume of the target link receiving the target data is obtained, and then a curve of the change of the historical data volume over time is drawn;
[0031] Get the real-time growth rate based on the change curve;
[0032] When the implementation growth rate is greater than the preset standard growth rate, the migration speed of the corresponding migration stage will be reduced; otherwise, the migration speed will not be adjusted;
[0033] Arrange the real-time target fields in each migration phase in descending order of criticality and determine the migration priority of each real-time target field;
[0034] Obtain the amount of migration data included in each migration stage, and then estimate the migration time of each migration stage based on the migration speed.
[0035] On the other hand, an embodiment of the present invention provides a method for using a data processing system based on cross-chain migration of blockchain, which is applied to the aforementioned data processing system based on cross-chain migration of blockchain, and the method includes the following steps:
[0036] The permission configuration module responds to the permission configuration instruction of the management object and sets the permission for specific data through the access control list;
[0037] The data migration module determines the data migration mode according to the data type of the target data to be migrated; the data migration mode includes a full migration mode or an incremental migration mode;
[0038] The data segmentation module determines the segmentation strategy of the target data according to the data migration mode, and segments the target data into data segments based on the segmentation strategy;
[0039] The data fragments are stored in the nodes on the target chain through the data storage module.
[0040] Optionally, when the data migration mode is the incremental migration mode, the data segment is a real-time target field; the method further includes: performing the following steps through the migration and expansion module:
[0041] Based on the preset collection time, the historical data volume of the target link receiving the target data is obtained, and then a curve of the change of the historical data volume over time is drawn;
[0042] Get the real-time growth rate based on the change curve;
[0043] When the implementation growth rate is greater than the preset standard growth rate, the migration speed of the corresponding migration stage will be reduced; otherwise, the migration speed will not be adjusted;
[0044] Arrange the real-time target fields in each migration phase in descending order of criticality and determine the migration priority of each real-time target field;
[0045] Obtain the amount of migration data included in each migration stage, and then estimate the migration time of each migration stage based on the migration speed.
[0046] On the other hand, an embodiment of the present invention provides an electronic device, including: a processor and a memory; the memory is used to store programs; the processor executes the program to implement the method of using the above-mentioned data processing system based on blockchain cross-chain migration.
[0047] On the other hand, an embodiment of the present invention provides a computer storage medium, which stores a program executable by a processor. When the program executable by the processor is executed by the processor, it is used to implement the method of using the above-mentioned data processing system based on cross-chain migration of blockchain.
[0048] The embodiment of the present invention responds to the permission configuration instruction of the management object through the permission configuration module, and sets the permission for specific data through the access control list; determines the data migration mode according to the data type of the target data to be migrated through the data migration module; the data migration mode includes a full migration mode or an incremental migration mode; determines the segmentation strategy of the target data according to the data migration mode through the data segmentation module, and segments the target data into data segments based on the segmentation strategy; and stores the data segments to the nodes on the target chain through the data storage module. The present invention realizes flexible segmentation through permission configuration, intelligent migration, and adaptive determination of migration mode, realizes the refinement, automation and efficiency of data management, reduces operation and maintenance costs, and improves data security and availability. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0050] Figure 1 A schematic diagram of the module composition of a data processing system based on cross-chain migration of blockchains provided in an embodiment of the present invention;
[0051] Figure 2 A schematic diagram of the specific operation logic of the permission configuration module provided in an embodiment of the present invention;
[0052] Figure 3 A schematic diagram of the specific operation logic of the data migration module provided in an embodiment of the present invention;
[0053] Figure 4 The data migration module provided in the embodiment of the present invention selects a logical relationship of a migration mode according to a data type;
[0054] Figure 5 A logical decision diagram for segmenting data on a chain provided by a data segmentation module according to an embodiment of the present invention;
[0055] Figure 6 A logic decision diagram for adaptively adjusting the migration speed by the migration and expansion module provided in an embodiment of the present invention;
[0056] Figure 7 A schematic diagram of the architecture logic of a data processing system based on cross-chain migration of blockchains provided in an embodiment of the present invention;
[0057] Figure 8 A schematic diagram of an implementation environment for a method of using a data processing system based on cross-chain migration of blockchains provided in an embodiment of the present invention;
[0058] Fig. 9 A flowchart of a method for using a data processing system based on cross-chain migration of blockchains provided by an embodiment of the present invention;
[0059] Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0061] It should be noted that, although the functional modules are divided in the system schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the system or the order in the flowchart. The terms "first / S100", "second / S200", etc. in the specification, claims and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0062] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0063] On the one hand, if Figure 1 As shown, an embodiment of the present invention provides a data processing system 100 based on cross-chain migration of blockchain, which may include a permission configuration module 110, a data migration module 120, a data segmentation module 130, a data storage module 140 and a migration and expansion module 150; wherein:
[0064] A permission configuration module, used to respond to the permission configuration instruction of the management object and set the permission for specific data through the access control list;
[0065] A data migration module is used to determine a data migration mode according to the data type of the target data to be migrated; the data migration mode includes a full migration mode or an incremental migration mode;
[0066] A data segmentation module, used to determine a segmentation strategy for target data according to a data migration mode, and segment the target data into data segments based on the segmentation strategy;
[0067] The data storage module is used to store data fragments in nodes on the target chain.
[0068] It should be noted that, in some embodiments, the present invention provides a data processing system based on blockchain cross-chain migration, which includes a permission configuration module, a data migration module, a data segmentation module, a data storage module and a migration and expansion module, wherein:
[0069] The permission configuration module is used to set permissions for specific data through access control lists to determine the corresponding access permissions of each user. The permission settings include reading, writing and modifying data;
[0070] Data migration module, which includes full migration mode and incremental migration mode. The full migration mode is used in scenarios where the data volume is small or needs to be completely updated. The incremental migration mode only migrates new or modified data and is used in scenarios where the data volume is large or needs to be continuously updated.
[0071] The data segmentation module divides the on-chain data into smaller fragments or blocks (real-time target fields) according to preset rules. The preset rules include the type of data (unstructured data, structured data), size (standard byte length), and access frequency (standard access times, standard access frequency);
[0072] The data storage module stores the segmented data fragments on different nodes.
[0073] It should be noted that in some embodiments, Figure 2 As shown, the permission configuration module responds to the permission configuration instruction of the management object and sets the permission for specific data through the access control list, which is specifically used to perform at least one of the following operations:
[0074] T111. In response to the permission configuration instruction of the management object, assigning permissions for reading, writing and / or modifying specific data to a pre-selected user or node;
[0075] T112. In response to the permission configuration instruction of the management object, configure preset permissions for the pre-selected smart contract;
[0076] T113. In response to the permission configuration instruction of the management object, set the privacy level for specific data.
[0077] For example, in some specific implementations, the system provides a flexible permission configuration scheme for data access rights on the blockchain, allowing administrators to set different permission levels and access conditions as needed. For example, the following permissions can be defined in the system:
[0078] Read and write permission management: allows administrators to assign permissions to read and write data to different users or nodes.
[0079] Smart contract permissions: Specific permissions can be configured for the execution of smart contracts to ensure the safe execution of the contract.
[0080] Data privacy settings: You can set data privacy levels to ensure that sensitive data is visible only to authorized users.
[0081] It should be noted that in some embodiments, Figure 3 As shown, the data migration module determines the data migration mode according to the data type of the target data to be migrated, and is specifically used to perform the following operations:
[0082] T121. When the target data is structured data, determine that the data migration mode is the full migration mode;
[0083] T122. When the target data is unstructured data, determine the data migration mode as incremental migration mode; identify the target data as text data.
[0084] For example, in some specific embodiments, Figure 4 As shown, the data migration module obtains the received target data, analyzes and reads the target data, and determines and selects the data migration mode according to the data type of the target data.
[0085] If the target data is structured data, the data migration mode of the target data is determined to be full migration mode;
[0086] If the target data is unstructured data, the data migration mode of the target data is determined to be an incremental migration mode, and the target data is intelligently identified to obtain text data.
[0087] It should be noted that, in some embodiments, the data fragments include data segments and real-time target fields; the data segmentation module determines the segmentation strategy of the target data according to the data migration mode, and divides the target data into data fragments based on the segmentation strategy, and is specifically used to perform the following operations: when the data migration mode is the full migration mode, the target data is divided into multiple data segments based on the first byte segmentation length; when the data migration mode is the incremental migration mode, the real-time byte length of the text data is obtained; the segmentation rule of the text data is determined based on the real-time byte length, and the text data is divided into at least one real-time target field based on the segmentation rule; the text data is pre-identified based on the target data.
[0088] Further, in some preferred embodiments, the data segmentation module determines the segmentation rules of the text data based on the real-time byte length, and segments the text data into multiple real-time target fields based on the segmentation rules, and is specifically used to perform the following operations: when the real-time byte length is less than or equal to the preset standard byte length, the target data is determined to be Category I data, and the text data is directly used as the real-time target field; when the real-time byte length is greater than the standard byte length, the target data is determined to be Category II data, and the text data is segmented into multiple real-time target fields based on the second byte segmentation length.
[0089] For example, in some specific implementations, a standard byte length is set in the data segmentation module. When the target data is determined to be unstructured data, the data segmentation module obtains the real-time byte length of the text data and determines the real-time byte length according to the standard byte length.
[0090] If the real-time byte length is less than or equal to the standard byte length, the target data is determined to be first-class data, and the text data is not divided into a number of real-time target fields, and the text data is directly used as the real-time target field;
[0091] If the real-time byte length is greater than the standard byte length, the data segmentation module determines that the target data corresponding to the text data is second-class data, and divides the text data into a number of real-time target fields according to the preset byte segmentation length.
[0092] Further, in some preferred embodiments, the data segmentation module is further used to: extract keywords according to the real-time target field, obtain the historical access times of each keyword from the target database, and use the maximum historical access times obtained as the real-time access times of the real-time target field; when the real-time access times are greater than or equal to the preset standard access times, obtain the real-time access frequency of the real-time target field; when the real-time access frequency is greater than the preset standard access frequency, modify the second byte segmentation length according to the real-time access times and the real-time access frequency;
[0093] Among them, the expression of the corrected second byte segmentation length is:
[0094] Ss'=Ss×[1+(Fs-Fb) / Fs+(Ns-Nb) / Ns];
[0095] Wherein, Ss' represents the calculated simulated byte segmentation length, Ss' is used as the corrected second byte segmentation length; Ss represents the second byte segmentation length before correction; Fs represents the real-time access frequency; Fb represents the standard access frequency; Ns represents the number of real-time accesses; and Nb represents the number of standard accesses.
[0096] For example, in some specific embodiments, Figure 5 As shown, for any real-time target field, the associated keywords can be obtained by extracting keywords and matching them in the historical database, and the keyword data items corresponding to each associated keyword and the corresponding historical access times are obtained in the historical database. The maximum value of the historical access times among the associated keywords is selected as the real-time access times of the real-time target field. The data segmentation module determines the real-time access times according to the standard access times.
[0097] If the real-time access number is less than the standard access number, the data segmentation module does not modify the preset byte segmentation length corresponding to the real-time target field;
[0098] If the real-time access number is greater than or equal to the standard access number, the data segmentation module obtains the real-time access frequency corresponding to the real-time target field, and determines the real-time access frequency according to the standard access frequency to determine whether to modify the preset byte segmentation length.
[0099] A standard access frequency is set. For the real-time target field, when the data segmentation module determines that the real-time access times are greater than or equal to the standard access times, it obtains the keyword data item corresponding to the maximum value of the historical access times and the corresponding historical access frequency as the real-time access frequency. The data segmentation module determines the real-time access frequency according to the standard access frequency.
[0100] If the real-time access frequency is less than or equal to the standard access frequency, the data segmentation module does not modify the preset byte segmentation length corresponding to the real-time target field;
[0101] If the real-time access frequency is greater than the standard access frequency, the data segmentation module modifies the preset byte segmentation length corresponding to the real-time target field according to the real-time access times and the real-time access frequency, and modifies it to the modified byte segmentation length;
[0102] Among them, Ss'=Ss×[1+(Fs-Fb) / Fs+(Ns-Nb) / Ns], Ss"=[Ss'], Ss' is the calculated simulated byte segmentation length, Ss" is the corrected byte segmentation length after correction, Ss is the preset byte segmentation length, Fs is the real-time access frequency, Fb is the standard access frequency, Ns is the real-time access number, and Nb is the standard access number.
[0103] It should be noted that, in some embodiments, when the data migration mode is the incremental migration mode, the data segment is the real-time target field; the system also includes a migration expansion module; the migration expansion module is specifically used to perform the following operations: based on the preset collection time, obtain the historical data volume of the target data received by the target link, and then draw a change curve of the historical data volume over time; obtain the real-time growth rate according to the change curve; when the implementation growth rate is greater than the preset standard growth rate, the migration speed of the corresponding migration stage is reduced; otherwise, the migration speed is not adjusted; the real-time target fields of each migration stage are arranged in order from high to low in terms of criticality, and the migration priority of each real-time target field is determined; the amount of migration data contained in each migration stage is obtained, and then the migration time of each migration stage is estimated in combination with the migration speed.
[0104] For example, in some specific embodiments, Figure 6 As shown, the historical data volume of the target data received in the past period of time is obtained with the preset collection time, and the change curve of the historical data volume over time is drawn, and the real-time growth rate of the change curve is analyzed.
[0105] If the real-time growth rate is greater than the standard growth rate, the migration speed of the corresponding migration stage will be reduced;
[0106] If there is no real-time growth rate greater than the standard growth rate, the migration speed of the corresponding migration stage will not be adjusted;
[0107] Arrange the real-time target fields of each migration phase in descending order of criticality, so as to set high-criticality data as high priority, and migrate the data of the corresponding migration phase according to priority;
[0108] Estimate the completion time of each stage based on the amount of data to be migrated and the adjusted migration speed.
[0109] In order to explain the principle of the technical solution of the present invention in detail, the overall process of the present invention is described below in combination with some specific embodiments. It is easy to understand that the following is an explanation of the technical principle of the present invention and cannot be regarded as a limitation of the present invention.
[0110] First of all, it should be noted that, in view of the relevant problems of the prior art, such as Figure 7 As shown, the present invention provides a data processing system based on cross-chain migration of blockchain, the system includes a permission configuration module, a data migration module, a data segmentation module, a data storage module and a migration and expansion module, wherein:
[0111] The permission configuration module is used to set permissions for specific data through access control lists to determine the corresponding access permissions of each user. The permission settings include reading, writing and modifying data;
[0112] Data migration module, which includes full migration mode and incremental migration mode. The full migration mode is used in scenarios where the data volume is small or needs to be completely updated. The incremental migration mode only migrates new or modified data and is used in scenarios where the data volume is large or needs to be continuously updated.
[0113] Among them, Figure 4 As shown, the data migration module obtains the received target data, analyzes and reads the target data, and determines and selects the data migration mode according to the data type of the target data.
[0114] If the target data is structured data, the data migration mode of the target data is determined to be full migration mode;
[0115] If the target data is unstructured data, the data migration mode of the target data is determined to be an incremental migration mode, and the target data is intelligently identified to obtain text data.
[0116] The data segmentation module divides the on-chain data into smaller fragments or blocks (real-time target fields) according to preset rules. The preset rules include the type of data (unstructured data, structured data), size (standard byte length), and access frequency (standard access times, standard access frequency);
[0117] Among them, the data segmentation module is set with a standard byte length. When the target data is determined to be unstructured data, the data segmentation module obtains the real-time byte length of the text data and determines the real-time byte length according to the standard byte length.
[0118] If the real-time byte length is less than or equal to the standard byte length, the target data is determined to be first-class data, and the text data is not divided into a number of real-time target fields, and the text data is directly used as the real-time target field;
[0119] If the real-time byte length is greater than the standard byte length, the data segmentation module determines that the target data corresponding to the text data is second-class data, and divides the text data into a number of real-time target fields according to the preset byte segmentation length.
[0120] like Figure 5 As shown, for any real-time target field, by extracting keywords and matching them in the historical database, the associated keywords are obtained, the keyword data items corresponding to each associated keyword and the corresponding historical access times are obtained in the historical database, and the maximum value of the historical access times among the associated keywords is selected as the real-time access times of the real-time target field. The data segmentation module determines the real-time access times according to the standard access times.
[0121] If the real-time access number is less than the standard access number, the data segmentation module does not modify the preset byte segmentation length corresponding to the real-time target field;
[0122] If the real-time access number is greater than or equal to the standard access number, the data segmentation module obtains the real-time access frequency corresponding to the real-time target field, and determines the real-time access frequency according to the standard access frequency to determine whether to modify the preset byte segmentation length.
[0123] A standard access frequency is set. For the real-time target field, when the data segmentation module determines that the real-time access times are greater than or equal to the standard access times, it obtains the keyword data item corresponding to the maximum value of the historical access times and the corresponding historical access frequency as the real-time access frequency. The data segmentation module determines the real-time access frequency according to the standard access frequency.
[0124] If the real-time access frequency is less than or equal to the standard access frequency, the data segmentation module does not modify the preset byte segmentation length corresponding to the real-time target field;
[0125] If the real-time access frequency is greater than the standard access frequency, the data segmentation module modifies the preset byte segmentation length corresponding to the real-time target field according to the real-time access times and the real-time access frequency, and modifies it to the modified byte segmentation length;
[0126] Among them, Ss'=Ss×[1+(Fs-Fb) / Fs+(Ns-Nb) / Ns], Ss"=[Ss'], Ss' is the calculated simulated byte segmentation length, Ss" is the corrected byte segmentation length after correction, Ss is the preset byte segmentation length, Fs is the real-time access frequency, Fb is the standard access frequency, Ns is the real-time access number, and Nb is the standard access number.
[0127] The data storage module stores the segmented data fragments on different nodes;
[0128] The migration and expansion module analyzes the historical data volume and growth trend, predicts the migration time, and uses incremental migration to migrate new data to the expanded chain in stages.
[0129] like Figure 6 As shown, the historical data volume of the target data received in the past period of time is obtained with the preset collection time, and the change curve of the historical data volume over time is drawn, and the real-time growth rate of the change curve is analyzed.
[0130] If the real-time growth rate is greater than the standard growth rate, the migration speed of the corresponding migration stage will be reduced;
[0131] If there is no real-time growth rate greater than the standard growth rate, the migration speed of the corresponding migration stage will not be adjusted;
[0132] Arrange the real-time target fields of each migration phase in descending order of criticality, so as to set high-criticality data as high priority, and migrate the data of the corresponding migration phase according to priority;
[0133] Estimate the completion time of each stage based on the amount of data to be migrated and the adjusted migration speed.
[0134] To sum up, the present invention aims to provide a data migration and permission management solution based on blockchain, which can solve the data supervision problem in the chain migration process while ensuring data integrity, realize efficient data migration and dynamic migration of chain data, seamlessly connect, reduce the difficulty of data migration in chain migration and expansion, and also provide technical support for chain management. In this way, the expansion and long-term sustainable development of the blockchain network can be effectively supported.
[0135] The application scenarios and functions of the present invention are further described below in conjunction with some specific application embodiments:
[0136] 1. Example 1, data permission configuration and migration system based on blockchain:
[0137] 1.1 Permission configuration scheme:
[0138] For data access rights on the blockchain, the system provides a flexible permission configuration scheme, allowing administrators to set different permission levels and access conditions as needed. For example, the following permissions can be defined in the system:
[0139] 1.1.1 Read and write permission management: allows administrators to assign permissions to read and write data to different users or nodes.
[0140] 1.1.2 Smart Contract Permissions: Specific permissions can be configured for the execution of smart contracts to ensure the safe execution of the contract.
[0141] 1.1.3 Data privacy settings: You can set the data privacy level to ensure that sensitive data is visible only to authorized users.
[0142] 1.1.4 Permission configuration and on-chain operations:
[0143] System administrators configure permissions through the on-chain operation interface and use smart contracts to ensure the security and traceability of permission changes.
[0144] 1.2 Data migration mode:
[0145] The system supports two different data migration modes to ensure data integrity and continuity:
[0146] 1.2.1 Full Migration Mode: When the entire chain needs to be migrated or backed up, the system divides the data according to the preset segmentation rules, and then migrates it to the target chain segment by segment. This full migration mode can be used to back up the entire chain or migrate to a new chain network.
[0147] 1.2.2 Incremental migration mode: For chain expansion or partial data migration, the system determines the migration fragments and priorities by analyzing the amount of data on the chain and predicting the migration time. Only the newly added data or specific data fragments need to be migrated, without migrating the entire chain content, thereby reducing the difficulty and risk of migration.
[0148] 1.3 Data Migration Process:
[0149] 1.3.1 When chain migration and expansion are in progress, the system first determines the migration priority and target fragment based on the data volume and predictive analysis.
[0150] 1.3.2 Store the target data on different nodes according to the distributed storage strategy to ensure data redundancy and fault tolerance.
[0151] 1.3.3 Through incremental migration, new data is gradually migrated to the expanded chain to ensure the continuity and integrity of the chain.
[0152] 1.4 Data security and integrity protection:
[0153] 1.4.1 The system implements data encryption and identity authentication mechanisms to ensure data security and privacy.
[0154] 1.4.2 During the migration process, data verification and synchronization mechanisms are used to ensure the consistency of the migrated data with the original data.
[0155] 1.4.3 By combining the requirements of on-chain permission configuration and data migration, a secure and controllable data management and migration solution is provided through smart contracts and blockchain technology, which is suitable for scenarios where blockchain expansion, backup or partial data migration is required.
[0156] 2. Example 2, applied in the field of medical health:
[0157] In the healthcare sector, privacy and data security are of vital importance. Blockchain-based permission configuration solutions can ensure that medical data is visible only to authorized personnel while protecting patient privacy. When migrating medical data, incremental migration can ensure data integrity and continuous accessibility while reducing the risks of migration. For example, patients' medical records can be securely stored on the blockchain and shared securely and controllably between medical institutions.
[0158] 3. Example 3, applied to supply chain management:
[0159] In supply chain management, it is necessary to ensure the accuracy and traceability of data. Blockchain-based permission configuration can help set different access rights at each link in the supply chain, thereby protecting key data from tampering or leakage. Data migration technology can be used to effectively manage and migrate supply chain data when the supply chain is expanded or changed, ensuring the continuity and integrity of the data. For example, when tracking the source of raw materials and production processes of products, blockchain technology can be used to ensure the authenticity and credibility of data.
[0160] 4. Example 4, applied to the field of financial services:
[0161] In the field of financial services, security and data protection are primary concerns. Permission configuration solutions based on actual operations on the chain can ensure that only authorized personnel can access sensitive financial data, while improving data security and confidentiality. In the process of migrating financial transaction data, incremental migration and distributed storage can help ensure the continuity and integrity of financial data while reducing the risks brought by data migration. For example, banks can use blockchain technology to securely store customer transaction records and ensure data security and reliability when expansion or migration is needed.
[0162] The technical solution of the present invention specifically provides a permission configuration solution, which sets two data migration modes, segments and distributes data, collaboratively predicts migration time, and reasonably arranges migration plans. Through this comprehensive technical solution, the challenges in blockchain data migration and permission management can be effectively solved, and the healthy and sustainable development of the blockchain network can be supported.
[0163] Compared with the prior art, the present invention has at least the following beneficial effects:
[0164] 1. Improve the efficiency of data migration: Through incremental migration and data segmentation, the amount of data to be migrated at one time is reduced, and the efficiency and reliability of migration are improved;
[0165] 2. Enhanced data security and integrity: Refined permission control and distributed storage mechanism enhance data security and integrity;
[0166] 3. Support flexible expansion of the network: The solution supports on-demand migration and expansion, which helps the flexible expansion and long-term development of the blockchain network.
[0167] On the other hand, the embodiment of the present invention also provides a method for using a data processing system based on cross-chain migration of blockchain. It can be understood that the method for using a data processing system based on cross-chain migration of blockchain provided by the embodiment of the present invention can be applied to any computer device with data processing computing capabilities, and this computer device can be various types of terminals or servers. When the computer device in the embodiment is a server, the server is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network), and big data and artificial intelligence platforms. Optionally, the terminal is a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited to this.
[0168] like Figure 8 FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present invention. Figure 8 The implementation environment includes at least one terminal 102 and a server 101. The terminal 102 and the server 101 can be connected to a network wirelessly or wired to complete data transmission and exchange.
[0169] Server 101 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.
[0170] In addition, the server 101 can also be a node server in the blockchain network. Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm.
[0171] The terminal 102 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal 102 and the server 101 may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiment of the present invention.
[0172] Based on the example Figure 8 In the implementation environment shown, an embodiment of the present invention provides a method for using a data processing system based on cross-chain migration of blockchain. The following is an example of applying the method for using the data processing system based on cross-chain migration of blockchain to terminal 102. It can be understood that the method for using the data processing system based on cross-chain migration of blockchain can also be applied to server 101.
[0173] Reference Fig. 9 , Fig. 9 A flowchart of a method for using a data processing system based on cross-chain migration of blockchains applied to a terminal provided in an embodiment of the present invention. The execution subject of the method for using a data processing system based on cross-chain migration of blockchains can be any of the aforementioned computer devices (including servers or terminals). Fig. 9 , the method comprises the following steps:
[0174] S100, responding to the permission configuration instruction of the management object through the permission configuration module, setting permissions for specific data through the access control list;
[0175] S200, determining a data migration mode according to the data type of the target data to be migrated by a data migration module; the data migration mode includes a full migration mode or an incremental migration mode;
[0176] S300, determining a segmentation strategy for target data according to a data migration mode through a data segmentation module, and segmenting the target data into data segments based on the segmentation strategy;
[0177] S400. Store the data fragments in the nodes on the target chain through the data storage module.
[0178] In some embodiments, when the data migration mode is an incremental migration mode, the data segment is a real-time target field; the method further includes: performing the following steps through the migration and expansion module:
[0179] Based on the preset collection time, the historical data volume of the target link receiving the target data is obtained, and then a curve of the change of the historical data volume over time is drawn;
[0180] Get the real-time growth rate based on the change curve;
[0181] When the implementation growth rate is greater than the preset standard growth rate, the migration speed of the corresponding migration stage will be reduced; otherwise, the migration speed will not be adjusted;
[0182] Arrange the real-time target fields in each migration phase in descending order of criticality and determine the migration priority of each real-time target field;
[0183] Obtain the amount of migration data included in each migration stage, and then estimate the migration time of each migration stage based on the migration speed.
[0184] It should be noted that the contents of the system embodiment of the present invention are applicable to the method embodiment, the process steps specifically implemented by the method embodiment are the same as those of the above system embodiment, and the beneficial effects achieved are also the same as those achieved by the above system. It should be understood that the functional logics implemented by the specific modules of each part of the above system embodiment all belong to the protection scope of the method embodiment of the present invention, and will not be described one by one here.
[0185] On the other hand, an embodiment of the present invention further provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the method of using the data processing system based on blockchain cross-chain migration when executing the computer program. The electronic device can be any smart terminal including a tablet computer, a car computer, etc.
[0186] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0187] like Fig.10 As shown, Fig.10 A specific example of the hardware structure of an electronic device 1000 according to an embodiment is shown. The electronic device 1000 includes:
[0188] The processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present invention.
[0189] The memory 1002 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1002, and the processor 1001 calls and executes the network node population optimization method of the embodiment of the present invention;
[0190] Input / output interface 1003, used to implement information input and output;
[0191] The communication interface 1004 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0192] A bus 1005 , which transmits information between various components of the device (e.g., the processor 1001 , the memory 1002 , the input / output interface 1003 , and the communication interface 1004 );
[0193] The processor 1001 , the memory 1002 , the input / output interface 1003 and the communication interface 1004 are connected to each other in communication within the device via the bus 1005 .
[0194] The electronic device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0195] The contents of the method embodiments of the present invention are all applicable to the electronic device embodiments. The functions specifically implemented by the electronic device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0196] Another aspect of an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the above method.
[0197] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (Compact Disc Read to Only Memory, CD to ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0198] The contents of the method embodiments of the present invention are all applicable to the computer-readable storage medium embodiments. The functions specifically implemented by the computer-readable storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0199] The embodiment of the present invention also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the above method.
[0200] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0201] It should be noted that, although several modules of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0202] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD to ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation of the present invention.
[0203] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.
[0204] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0205] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the solution of the present invention, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0206] The logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by an instruction execution device, apparatus or device (such as a computer-based device, a device including a processor, or other device that can fetch instructions from an instruction execution device, apparatus or device and execute the instructions), or in conjunction with such instruction execution device, apparatus or device. For purposes of this specification, "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution device, apparatus or device, or in conjunction with such instruction execution device, apparatus or device.
[0207] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0208] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0209] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0210] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0211] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the embodiments. Those skilled in the art can make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. A data processing system based on cross-chain migration of blockchain, characterized in that: It includes permission configuration module, data migration module, data segmentation module, data storage module and migration and expansion module; The permission configuration module is used to respond to the permission configuration instruction of the management object and set the permission for specific data through the access control list; The data migration module is used to determine a data migration mode according to the data type of the target data to be migrated; the data migration mode includes a full migration mode or an incremental migration mode; The data segmentation module is used to determine a segmentation strategy for the target data according to the data migration mode, and segment the target data into data segments based on the segmentation strategy; The data storage module is used to store the data fragments in the nodes on the target chain.
2. The data processing system based on cross-chain migration of blockchain according to claim 1 is characterized in that: The permission configuration module, in response to the permission configuration instruction of the management object, sets permissions for specific data through an access control list, specifically for performing at least one of the following operations: In response to the permission configuration instruction of the management object, assigning permissions for reading, writing and / or modifying the specific data to a preselected user or node; In response to the permission configuration instruction of the management object, configure preset permissions for a preselected smart contract; In response to the permission configuration instruction of the management object, a privacy level is set for the specific data.
3. The data processing system based on cross-chain migration of blockchain according to claim 1 is characterized in that: The data migration module determines the data migration mode according to the data type of the target data to be migrated, and is specifically used to perform the following operations: When the target data is structured data, determining that the data migration mode is the full migration mode; When the target data is unstructured data, determining that the data migration mode is the incremental migration mode; The target data is identified as text data.
4. The data processing system based on cross-chain migration of blockchain according to claim 1 is characterized in that: The data segments include data segments and real-time target fields; the data segmentation module determines a segmentation strategy for the target data according to the data migration mode, and segments the target data into data segments based on the segmentation strategy, specifically for performing the following operations: When the data migration mode is the full migration mode, dividing the target data into the plurality of data segments based on a first byte segmentation length; When the data migration mode is the incremental migration mode, obtaining the real-time byte length of the text data; The segmentation rule of the text data is determined based on the real-time byte length, and the text data is segmented into at least one real-time target field based on the segmentation rule; the text data is pre-identified based on the target data.
5. The data processing system based on cross-chain migration of blockchain according to claim 4 is characterized in that: The data segmentation module determines the segmentation rule of the text data based on the real-time byte length, and segments the text data into a plurality of the real-time target fields based on the segmentation rule, specifically for performing the following operations: When the real-time byte length is less than or equal to the preset standard byte length, the target data is determined to be a type of data, and the text data is directly used as the real-time target field; When the real-time byte length is greater than the standard byte length, the target data is determined to be second-category data, and the text data is segmented into a plurality of the real-time target fields based on a second byte segmentation length.
6. The data processing system based on cross-chain migration of blockchain according to claim 5 is characterized in that: The data segmentation module is also used for: Extract keywords according to the real-time target field, obtain the historical access times of each keyword from the target database, and use the maximum historical access times obtained as the real-time access times of the real-time target field; When the real-time access number is greater than or equal to a preset standard access number, obtaining the real-time access frequency of the real-time target field; When the real-time access frequency is greater than a preset standard access frequency, the second byte segmentation length is modified according to the real-time access times and the real-time access frequency; The modified expression of the second byte segmentation length is: Ss'=Ss×[1+(Fs-Fb) / Fs+(Ns-Nb) / Ns]; Wherein, Ss' represents the calculated simulated byte segmentation length, Ss' is used as the corrected second byte segmentation length; Ss represents the second byte segmentation length before correction; Fs represents the real-time access frequency; Fb represents the standard access frequency; Ns represents the number of real-time accesses; and Nb represents the number of standard accesses.
7. The data processing system based on cross-chain migration of blockchain according to claim 1 is characterized in that: When the data migration mode is the incremental migration mode, the data segment is a real-time target field; the system further includes a migration and expansion module; the migration and expansion module is specifically used to perform the following operations: Acquiring the historical data volume of the target data received by the target link based on a preset collection time, and then drawing a curve of the change of the historical data volume over time; Obtaining a real-time growth rate according to the change curve; When the implementation growth rate is greater than the preset standard growth rate, the migration speed of the corresponding migration stage is reduced; Otherwise, the migration speed is not adjusted; Arranging the real-time target fields in each migration phase in descending order of criticality, and determining the migration priority of each real-time target field; The amount of migration data included in each migration stage is obtained, and then the migration time of each migration stage is estimated in combination with the migration speed.
8. A method for using a data processing system based on cross-chain migration of blockchain, characterized in that: Applied to the data processing system based on blockchain cross-chain migration as described in any one of claims 1 to 7, the method comprises the following steps: The permission configuration module responds to the permission configuration instruction of the management object and sets the permission for specific data through the access control list; Determine a data migration mode according to the data type of the target data to be migrated by the data migration module; the data migration mode includes a full migration mode or an incremental migration mode; Determining a segmentation strategy for the target data according to the data migration mode by a data segmentation module, and segmenting the target data into data segments based on the segmentation strategy; The data fragments are stored in the nodes on the target chain through the data storage module.
9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the method according to claim 8.
10. A computer storage medium storing a program executable by a processor, characterized in that: The program executable by the processor is used to implement the method according to claim 8 when executed by the processor.