Data element storage verification sharing method and device based on alliance chain
By configuring the data sub-chain in each data space and connecting it with the data main chain across the space, ensuring cross-space sharing and evidence verification of data elements is solved, and the authenticity and immutability of data elements in the sub-chain are realized, realizing the authenticity and security of data sharing.
Patent Information
- Application Number
- CN202510063075.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-05-13
AI Technical Summary
The prior art is difficult to ensure the authenticity and immutability of data elements in the sub-chain, and there is a risk of being tampered with during data sharing.
By configuring data sub-chains in each data space and linking the data elements into the corresponding sub-chains, and simultaneously achieving communication connection with the data main chain across the space, ensuring cross-space sharing and proof verification of data elements.
The authenticity and immutability of data elements in the sub-chain are realized, and the authenticity of all shared data is ensured, avoiding the risk of data tampering.
Smart Images

Figure CN119988490A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a data element evidence storage verification and sharing method and device based on an alliance chain. Background Art
[0002] Alliance chain: Alliance chain is a type of blockchain that is developed only for members of a specific group and a limited number of third parties. The alliance chain specifies multiple pre-selected nodes as bookkeepers. The generation of each block is jointly determined by all pre-selected nodes. Other access nodes can participate in transactions but do not ask about the bookkeeping process. Other third parties can perform limited queries through the API developed by the blockchain.
[0003] Data element: A data element is a data set formed by several related fields or a data feature formed by modeling the associated fields of the data after desensitizing the data. As the name suggests, a data element is similar to an electronic component. It is a primary data product formed by desensitizing data resources and modeling according to the data governance process.
[0004] Currently, there are problems with data element sharing and tampering between data spaces, that is, how the elements of a data space are shared with other data spaces, and the data elements may be tampered with during the sharing process. Summary of the invention
[0005] The technical problem to be solved by the present invention is how to ensure the authenticity and non-tamperability of data elements in the sub-chain, and ensure the authenticity of all shared data; in view of this, the present invention provides a data element notarization verification sharing method and device based on the alliance chain.
[0006] The technical solution adopted by the present invention is a data component evidence verification sharing method based on the alliance chain, comprising:
[0007] Step S1, configuring a corresponding data subchain in each data space, for uplinking the data elements generated in each data space to the data subchain of the corresponding data space;
[0008] Step S2, the data sub-chains of each of the data spaces are communicated with the cross-space data main chain to achieve cross-space sharing of the data elements.
[0009] In one embodiment, the format of the data element on the chain includes:
[0010] Component type, component function, url, component parameters.
[0011] In one embodiment, the data element is specifically configured as follows:
[0012] When the data element is linked to the data main chain, corresponding to the modification operation on the data original, the various versions of the data original generated are connected in the form of blocks.
[0013] In one embodiment, the method further comprises:
[0014] Corresponding to the modification of the data element of the data sub-chain, it is verified whether the corresponding data element call is consistent with the data main chain.
[0015] In one embodiment, the shared block of the data element is configured with the storage time and the hash address of the storage party for tracing the data storage information.
[0016] Another aspect of the present invention further provides a data element evidence verification sharing device based on the alliance chain, comprising:
[0017] A data subchain module is configured to configure a corresponding data subchain in each data space, and is used to link the data elements generated in each data space to the data subchain of the corresponding data space;
[0018] The data main chain module is configured so that the data sub-chains of each of the data spaces are all communicated with the cross-space data main chain to realize cross-space sharing of the data elements.
[0019] Another aspect of the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the data element evidence verification and sharing method based on the alliance chain as described in any one of the above items.
[0020] Another aspect of the present invention further provides a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the data element evidence verification and sharing method based on the alliance chain as described in any of the above items are implemented.
[0021] Compared with the prior art, the present invention has at least the following advantages:
[0022] The present invention builds a sub-chain for each sub-space to ensure the authenticity and non-tamperability of the data in the sub-chain, and builds a shared cross-space main chain for all sub-chains to ensure the authenticity of all shared data. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a schematic diagram of the flow of a data component evidence storage verification and sharing method based on a consortium chain according to an embodiment of the present invention;
[0024] Figure 2 A schematic diagram of an implementation architecture of a data element evidence verification and sharing method based on a consortium chain according to an embodiment of the present invention;
[0025] Figure 3 A schematic diagram of the data format of a data element being linked to the main chain according to an embodiment of the present invention;
[0026] Figure 4 A schematic diagram of connecting various versions of modified data according to an embodiment of the present invention;
[0027] Figure 5 A schematic diagram of the composition of a device for enhancing the performance of natural language to SQL conversion based on a dynamic planner according to an embodiment of the present invention;
[0028] Figure 6 FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose, the present invention is described in detail below in conjunction with the accompanying drawings and preferred embodiments.
[0030] Unless otherwise defined, all terms (including technical terms and scientific terms) used in this article have the same meaning as commonly understood by ordinary technicians in the field to which this application belongs. It should also be understood that terms (such as terms defined in commonly used dictionaries) should be interpreted as having the same meaning as their meaning in the context of the relevant technology, and will not be interpreted in an idealized or overly formal sense unless explicitly defined in this article.
[0031] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0032] In an embodiment of the present invention, a data component storage verification and sharing method based on a consortium chain is provided. Figure 1 As shown, including:
[0033] Step S1, configuring a corresponding data subchain in each data space, for uplinking the data elements generated in each data space to the data subchain of the corresponding data space;
[0034] Step S2, the data sub-chains of each of the data spaces are communicated with the cross-space data main chain to achieve cross-space sharing of the data elements.
[0035] In this embodiment, the format of the data element on the chain includes:
[0036] Component type, component function, url, component parameters.
[0037] In this embodiment, the data element is specifically configured as follows:
[0038] When the data element is linked to the data main chain, corresponding to the modification operation on the data original, the various versions of the data original generated are connected in the form of blocks.
[0039] In this embodiment, the method further includes:
[0040] Corresponding to the modification of the data element of the data sub-chain, it is verified whether the corresponding data element call is consistent with the data main chain.
[0041] In this embodiment, the shared block of the data element is configured with the storage time and the hash address of the storage party for tracing the data storage information.
[0042] The following will be combined Figure 2 The method provided in this embodiment is described in detail.
[0043] refer to Figure 2 In this embodiment, each data space has a corresponding sub-chain. For data that needs to be shared across spaces, it is uploaded to the cross-space main chain, and they together form a consortium chain. The data components produced by each sub-space are first chained to each sub-chain, and when the component needs to be shared across spaces, it is uploaded to the main chain.
[0044] Specifically, by using the URL of the component and the input parameters specified by params, you can call the component and obtain cross-space data.
[0045] In addition, due to the use of blockchain technology, key parameters such as url and params cannot be modified privately, ensuring the authenticity of shared data. If the url of the external API provided by the data component is indeed modified, and therefore the shared information of the component on the chain needs to be modified, the information of the component on the main chain can be modified by upgrading the data version. The various versions of this data will be connected like blocks, such as Figure 4 shown.
[0046] In other words, every modification of the data in the data element will be connected with a chain, so that the previous data can be traced back to ensure that each modification is transparent.
[0047] Furthermore, users can query the latest version of data and use the latest URL to access the cross-space data element.
[0048] In some possible implementation processes, if the component sharing information of the sub-chain is modified privately and not synchronized to the main chain, resulting in errors when the demander continues to use the original component sharing information to call components, the demander can verify whether their component calls are consistent with the main chain. If they are consistent with the main chain but the component is wrong, the demander can find the component developer to confirm whether the component information is incorrect, thereby achieving the purpose of component information verification.
[0049] Specifically, the shared block of the component will contain the storage time and the hash address of the certifying party, which can be used to trace back to who stored the data. In addition, the blockchain multi-party consensus technology can ensure that the block, certifying party and storage time cannot be forged, thereby ensuring the authenticity of the component shared information.
[0050] It should be noted that multiple sub-chains are registered to one main chain. This technology can ensure decentralization. Data is not stored in a single node. Even if the data of a node is tampered with, the system can immediately detect the data anomaly of the node through the data of other nodes, thereby ensuring the accuracy of the data on the entire chain.
[0051] Compared with the prior art, the advantages of the embodiments of the present invention are:
[0052] Generally, information is shared through database recording components and then shared with other users. However, the database is stored in a centralized manner. If the database information is tampered with through technical means, the system cannot recognize that the information has been tampered with, resulting in system abnormalities. In this embodiment, the technology of registering multiple sub-chains to a main chain is decentralized. If the data of a single node is tampered with, the system will discover nodes with abnormal data based on the data of other nodes, thereby ensuring the accuracy of the data of the entire system.
[0053] The second embodiment of the present invention corresponds to the first embodiment. Figure 5 As shown, this embodiment introduces a device, including the following components:
[0054] A data subchain module is configured to configure a corresponding data subchain in each data space, and is used to link the data elements generated in each data space to the data subchain of the corresponding data space;
[0055] The data main chain module is configured so that the data sub-chains of each of the data spaces are all communicated with the cross-space data main chain to realize cross-space sharing of the data elements.
[0056] A third embodiment of the present invention is an electronic device, such as Figure 6 As shown, it can be understood as a physical device, including a processor and a memory storing instructions executable by the processor. When the instructions are executed by the processor, the following operations are performed:
[0057] Step S1, configuring a corresponding data subchain in each data space, for uplinking the data elements generated in each data space to the data subchain of the corresponding data space;
[0058] Step S2, the data sub-chains of each of the data spaces are communicated with the cross-space data main chain to achieve cross-space sharing of the data elements.
[0059] The fourth embodiment of the present invention, the process of the data element evidence verification sharing method based on the alliance chain of this embodiment is the same as the first, second or third embodiment, the difference is that in engineering implementation, this embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the method of the present invention can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), including a number of instructions for a device to execute the method described in the embodiment of the present invention.
[0060] Through the description of the specific implementation methods, a deeper and more specific understanding of the technical means and effects adopted by the present invention to achieve the predetermined purpose should be obtained. However, the accompanying drawings are only for reference and illustration purposes and are not intended to limit the present invention.
Claims
1. A data component evidence verification and sharing method based on alliance chain, characterized in that: include: Step S1, configuring a corresponding data subchain in each data space, for uplinking the data elements generated in each data space to the data subchain of the corresponding data space; Step S2, the data sub-chains of each of the data spaces are communicated with the cross-space data main chain to achieve cross-space sharing of the data elements.
2. According to the data component evidence verification and sharing method based on the alliance chain according to claim 1, it is characterized in that: The formats of the data elements on the chain include: Component type, component function, url, component parameters.
3. According to the data component evidence verification and sharing method based on the alliance chain according to claim 2, it is characterized in that: The data element is specifically configured as follows: When the data element is linked to the data main chain, corresponding to the modification operation on the data original, the various versions of the data original generated are connected in the form of blocks.
4. According to the data component evidence verification and sharing method based on the alliance chain according to claim 3, it is characterized in that: The method further comprises: Corresponding to the modification of the data element of the data sub-chain, it is verified whether the corresponding data element call is consistent with the data main chain.
5. According to the data component evidence verification and sharing method based on the alliance chain according to claim 4, it is characterized in that: The shared block of the data element is configured with the storage time and the hash address of the storage party, which are used to trace the data storage information.
6. A data element evidence verification sharing device based on alliance chain, characterized in that: include: A data subchain module is configured to configure a corresponding data subchain in each data space, and is used to link the data elements generated in each data space to the data subchain of the corresponding data space; The data main chain module is configured so that the data sub-chains of each of the data spaces are all communicated with the cross-space data main chain to realize cross-space sharing of the data elements.
7. An electronic device, characterized in that: The electronic device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the data element evidence verification and sharing method based on the alliance chain as described in any one of claims 1 to 5 are implemented.
8. A computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the data element evidence verification and sharing method based on the alliance chain as described in any one of claims 1 to 5.