CN112333247A - Method and system for sharing private data of block chain system - Google Patents
Method and system for sharing private data of block chain system Download PDFInfo
- Publication number
- CN112333247A CN112333247A CN202011156843.2A CN202011156843A CN112333247A CN 112333247 A CN112333247 A CN 112333247A CN 202011156843 A CN202011156843 A CN 202011156843A CN 112333247 A CN112333247 A CN 112333247A
- Authority
- CN
- China
- Prior art keywords
- data
- module
- sharing
- request
- transaction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 230000000977 initiatory effect Effects 0.000 claims abstract description 30
- 238000012790 confirmation Methods 0.000 claims abstract description 17
- 238000013500 data storage Methods 0.000 claims description 14
- 238000004806 packaging method and process Methods 0.000 claims description 7
- 238000000926 separation method Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
Abstract
The invention discloses a method for sharing private data of a block chain system, which comprises the following steps of S01, uploading user node data; s02, separating the user node data to obtain abstract data; s03, uploading the packed abstract data to an transaction block; s04, storing other data except the summary data into a private area; s05, acquiring and confirming the data summary information in the transaction block; s06, receiving a confirmation data sharing transaction request; s07, acquiring detailed data in the private area; s08, generating a data Key corresponding to the detailed data; and S09, initiating a data sharing transaction request. The invention also discloses a private data sharing system of the block chain system. The method has the advantages of privatizing the data and performing authorized sharing on the private data, and improving the use safety of the data.
Description
Technical Field
The present invention relates to the field of data sharing, and in particular, to a method and a system for sharing private data in a blockchain system.
Background
The current data sharing technology is based on data encryption mode sharing, and ciphertext data is also freely transmitted, and if a secret key is obtained, the data is still in an unsafe state.
Disclosure of Invention
In view of the above problems, the present invention provides a method and a system for sharing private data in a blockchain system, which have the advantages of privatizing data and authorizing and sharing private data, and improving the use security of data.
The technical scheme of the invention is as follows:
a method for sharing private data in a blockchain system includes the following steps,
s01, uploading user node data;
s02, separating the user node data to obtain abstract data;
s03, uploading the packed abstract data to an transaction block;
s04, storing other data except the summary data into a private area;
s05, acquiring and confirming the data summary information in the transaction block;
s06, receiving a confirmation data sharing transaction request;
s07, acquiring detailed data in the private area;
s08, generating a data Key corresponding to the detailed data;
and S09, initiating a data sharing transaction request.
In a further technical solution, step S06 further includes the following steps,
s61, confirming whether the data are sent to the request node of the shared data, if yes, entering the step S62, and if not, staying at the request interface;
and S62, acquiring the detailed data in the corresponding roommate data storage area according to the request of the request node.
In a further technical solution, step S09 includes the following steps,
s91, storing the data with Key as Key into the shared data storage space of the data sharing request node and the current node;
s92, initiating a transaction for confirming sharing, wherein the transaction information contains Key stored in shared data;
and S93, carrying out private data synchronization through the P2P network.
A private data sharing system of a block chain system comprises an uploading module, a separating module, a packaging module, a storage module, an acquisition confirming module, a receiving module, an acquisition module, a generating module and an initiating module, wherein,
the uploading module is used for uploading user node data;
the separation module is used for separating the user node data to obtain abstract data;
the packaging module is used for uploading the packaged abstract data to the transaction block;
the storage module is used for storing other data except the abstract data to a private area;
the acquisition confirming module is used for acquiring and confirming the data summary information in the transaction block;
the receiving module is used for receiving a confirmation data sharing transaction request;
the acquisition module is used for acquiring detailed data in the private area;
the generation module is used for generating a data Key corresponding to the detailed data;
and the initiating module is used for initiating a data sharing transaction request.
In a further technical solution, the receiving module includes a confirming sub-module and an obtaining sub-module, wherein,
the confirming submodule is used for confirming whether the data is sent to the request node of the shared data or not;
and the acquisition submodule is used for acquiring the detailed data in the corresponding roommate data storage area according to the request of the request node.
In a further technical solution, the initiating module includes a storage sub-module, an initiating confirmation sub-module, and a synchronization sub-module, wherein,
the storage submodule is used for storing data taking the data Key as a Key into a data storage space shared by the data sharing request node and the current node;
the initiating confirmation submodule is used for initiating a transaction for confirming sharing, wherein the transaction information contains a Key stored by sharing data;
and the synchronization submodule is used for carrying out private data synchronization through the P2P network.
The invention has the beneficial effects that:
the invention has the advantages that after the data sharing request node receives the transaction of confirming sharing, the detailed data is acquired from the node sharing storage space through storing keys, the data is privatized and the private data is authorized to be shared, so that the use safety of the data is improved.
Drawings
Fig. 1 is a schematic flow chart illustrating a method for sharing private data in a blockchain system according to an embodiment 1 of the present invention;
fig. 2 is a schematic flow chart illustrating a method for sharing private data in a blockchain system according to an embodiment 2 of the present invention;
fig. 3 is a schematic flowchart illustrating a method for sharing private data in a blockchain system according to embodiment 3 of the present invention;
fig. 4 is a schematic structural diagram of a private data sharing system of a blockchain system according to embodiment 4 of the present invention;
fig. 5 is a schematic diagram of an installation structure of the private data sharing system of the blockchain system according to embodiment 5 of the present invention;
fig. 6 is a schematic diagram of an installation structure of the private data sharing system of the blockchain system according to embodiment 6 of the present invention.
Description of reference numerals:
10. an uploading module; 20. a separation module; 30. a packaging module; 40. a storage module; 50. acquiring a confirmation module; 60. a receiving module; 61. a confirmation submodule; 62. obtaining a submodule; 70. an acquisition module; 80. a generation module; 90. an initiating module; 91. storing the submodule; 92. initiating a confirmation submodule; 93. and a synchronization submodule.
Detailed Description
The embodiments of the present invention will be further described with reference to the accompanying drawings.
Example 1:
as shown in fig. 1, a method for private data sharing in a blockchain system includes the following steps,
s01, uploading user node data;
s02, separating the user node data to obtain abstract data;
s03, uploading the packed abstract data to an transaction block;
s04, storing other data except the summary data into a private area;
s05, acquiring and confirming the data summary information in the transaction block;
s06, receiving a confirmation data sharing transaction request;
s07, acquiring detailed data in the private area;
s08, generating a data Key corresponding to the detailed data;
and S09, initiating a data sharing transaction request.
Example 2:
in this embodiment, on the basis of embodiment 1, as shown in fig. 2, step S06 further includes the following steps,
s61, confirming whether the data is sent to the request node of the shared data, if yes, the step S62 is carried out, and if not, the data is confirmed again;
and S62, acquiring the detailed data in the corresponding roommate data storage area according to the request of the request node.
Example 3:
this embodiment is based on embodiment 1, as shown in fig. 3, step S09 includes the following steps,
s91, storing the data with Key as Key into the shared data storage space of the data sharing request node and the current node;
s92, initiating a transaction for confirming sharing, wherein the transaction information contains Key stored in shared data;
and S93, carrying out private data synchronization through the P2P network.
Example 4:
as shown in fig. 4, a system for sharing private data of a blockchain system includes an uploading module 10, a separating module 20, a packaging module 30, a storing module 40, an obtaining and confirming module 50, a receiving module 60, an obtaining module 70, a generating module 80, and an initiating module 90, wherein,
an uploading module 10, configured to upload user node data;
a separation module 20, configured to separate user node data to obtain summary data;
the packaging module 30 is used for uploading the packaged abstract data to the transaction block;
a storage module 40, configured to store data other than the summary data in a private area;
the acquisition confirming module 50 is used for acquiring and confirming the data summary information in the transaction block;
a receiving module 60, configured to receive a confirmation data sharing transaction request;
an obtaining module 70, configured to obtain detailed data in the private area;
a generating module 80, configured to generate a data Key corresponding to the detailed data;
the initiating module 90 is configured to initiate a data sharing transaction request.
Example 5:
in this embodiment, on the basis of embodiment 1, as shown in fig. 5, the receiving module 60 includes a confirming sub-module 61 and an obtaining sub-module 62, wherein,
a confirmation submodule 61 configured to confirm whether to send the data to a request node that shares the data;
and the obtaining submodule 62 is configured to obtain the detailed data in the corresponding roommate data storage area according to the request of the requesting node.
Example 6:
in this embodiment, on the basis of embodiment 1, as shown in fig. 6, the initiating module 90 includes a storing sub-module 91, an initiating confirmation sub-module 92, and a synchronization sub-module 93, wherein,
the storage submodule 91 is configured to store data using the data Key as a Key into a data storage space shared by the data sharing request node and the current node;
the initiating confirmation submodule 92 is used for initiating and confirming the shared transaction, wherein the transaction information contains a Key stored in the shared data;
and a synchronization submodule 93 for performing private data synchronization through the P2P network.
The specific working principle is as follows:
firstly, user node data is uploaded to a block chain node, data summary separation is carried out on the data, summary data is uploaded and packaged to a transaction block, and detailed data is stored in a private area of a current node.
Other node users acquire the data summary information through the transaction block and confirm that the data is the data required by the other node users, and then a transaction request for data sharing is sent to the block network.
After receiving the shared data request, the node with the data authority confirms whether the data is shared to the node initiating the shared data request, after confirming that the data needs to be shared, the node acquires detailed data in a private data storage area of the node, generates a data key for the detailed data, stores the data into a data storage space shared by the data sharing request node and the current node by taking the key as a key word, initiates a transaction for confirming the sharing to the blockchain network, wherein the transaction information comprises the key for storing the shared data, and the private data synchronization is carried out on the shared storage space through a p2p network.
And after receiving the transaction for confirming the sharing, the data sharing request node acquires detailed data from the node sharing storage space through storing keys.
The above-mentioned embodiments only express the specific embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.
Claims (6)
1. A method for sharing private data in a blockchain system includes the following steps,
s01, uploading user node data;
s02, separating the user node data to obtain abstract data;
s03, uploading the packed abstract data to an transaction block;
s04, storing other data except the summary data into a private area;
s05, acquiring and confirming the data summary information in the transaction block;
s06, receiving a confirmation data sharing transaction request;
s07, acquiring detailed data in the private area;
s08, generating a data Key corresponding to the detailed data;
and S09, initiating a data sharing transaction request.
2. The method of claim 1, wherein step S06 further comprises the following steps,
s61, confirming whether the data are sent to the request node of the shared data, if yes, entering the step S62, and if not, staying at the request interface;
and S62, acquiring the detailed data in the corresponding roommate data storage area according to the request of the request node.
3. The method of claim 1, wherein step S09 includes the following steps,
s91, storing the data with Key as Key into the shared data storage space of the data sharing request node and the current node;
s92, initiating a transaction for confirming sharing, wherein the transaction information contains Key stored in shared data;
and S93, carrying out private data synchronization through the P2P network.
4. A private data sharing system of a block chain system is characterized by comprising an uploading module, a separating module, a packaging module, a storage module, an acquisition confirming module, a receiving module, an acquisition module, a generating module and an initiating module, wherein,
the uploading module is used for uploading user node data;
the separation module is used for separating the user node data to obtain abstract data;
the packaging module is used for uploading the packaged abstract data to the transaction block;
the storage module is used for storing other data except the abstract data to a private area;
the acquisition confirming module is used for acquiring and confirming the data summary information in the transaction block;
the receiving module is used for receiving a confirmation data sharing transaction request;
the acquisition module is used for acquiring detailed data in the private area;
the generation module is used for generating a data Key corresponding to the detailed data;
and the initiating module is used for initiating a data sharing transaction request.
5. The system of claim 4, wherein the receiving module comprises an acknowledgement sub-module and an acquisition sub-module, wherein,
the confirming submodule is used for confirming whether the data is sent to the request node of the shared data or not;
and the acquisition submodule is used for acquiring the detailed data in the corresponding roommate data storage area according to the request of the request node.
6. The blockchain system private data sharing system of claim 4, wherein the initiation module includes a storage submodule, an initiation confirmation submodule, and a synchronization submodule, wherein,
the storage submodule is used for storing data taking the data Key as a Key into a data storage space shared by the data sharing request node and the current node;
the initiating confirmation submodule is used for initiating a transaction for confirming sharing, wherein the transaction information contains a Key stored by sharing data;
and the synchronization submodule is used for carrying out private data synchronization through the P2P network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011156843.2A CN112333247A (en) | 2020-10-26 | 2020-10-26 | Method and system for sharing private data of block chain system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011156843.2A CN112333247A (en) | 2020-10-26 | 2020-10-26 | Method and system for sharing private data of block chain system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112333247A true CN112333247A (en) | 2021-02-05 |
Family
ID=74311787
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011156843.2A Pending CN112333247A (en) | 2020-10-26 | 2020-10-26 | Method and system for sharing private data of block chain system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112333247A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108650328A (en) * | 2018-05-22 | 2018-10-12 | 河海大学常州校区 | The block catenary system of data information record and storage in a kind of cloud service platform |
CN109600374A (en) * | 2018-12-12 | 2019-04-09 | 四川商通实业有限公司 | Secure user data sending method and its system based on block chain |
CN109684287A (en) * | 2018-12-29 | 2019-04-26 | 厦门链平方科技有限公司 | Gateway information sharing query method and system based on block chain |
CN111371863A (en) * | 2020-02-25 | 2020-07-03 | 常州三泰科技有限公司 | Chemical data storage and sharing platform and method based on alliance chain technology |
US20200252404A1 (en) * | 2019-01-31 | 2020-08-06 | Salesforce.Com, Inc. | Systems, methods, and apparatuses for implementing a declarative, metadata driven, cryptographically verifiable multi-network (multi-tenant) shared ledger |
CN111611315A (en) * | 2020-05-25 | 2020-09-01 | 辽宁大学 | Financial big data-oriented multi-branch tree structure block chain integrated optimization storage method |
CN111680013A (en) * | 2019-03-11 | 2020-09-18 | 深圳市深圳通电子商务有限公司 | Data sharing method based on block chain, electronic equipment and device |
-
2020
- 2020-10-26 CN CN202011156843.2A patent/CN112333247A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108650328A (en) * | 2018-05-22 | 2018-10-12 | 河海大学常州校区 | The block catenary system of data information record and storage in a kind of cloud service platform |
CN109600374A (en) * | 2018-12-12 | 2019-04-09 | 四川商通实业有限公司 | Secure user data sending method and its system based on block chain |
CN109684287A (en) * | 2018-12-29 | 2019-04-26 | 厦门链平方科技有限公司 | Gateway information sharing query method and system based on block chain |
US20200252404A1 (en) * | 2019-01-31 | 2020-08-06 | Salesforce.Com, Inc. | Systems, methods, and apparatuses for implementing a declarative, metadata driven, cryptographically verifiable multi-network (multi-tenant) shared ledger |
CN111680013A (en) * | 2019-03-11 | 2020-09-18 | 深圳市深圳通电子商务有限公司 | Data sharing method based on block chain, electronic equipment and device |
CN111371863A (en) * | 2020-02-25 | 2020-07-03 | 常州三泰科技有限公司 | Chemical data storage and sharing platform and method based on alliance chain technology |
CN111611315A (en) * | 2020-05-25 | 2020-09-01 | 辽宁大学 | Financial big data-oriented multi-branch tree structure block chain integrated optimization storage method |
Non-Patent Citations (2)
Title |
---|
SHALINI SHUKLA.: ""Online Voting Application Using Ethereum Blockchain"", 《2018 INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATIONS AND INFORMATICS (ICACCI)》 * |
刘丽苹: ""政务数据共享中的隐私保护研究"", 《中国优秀硕士论文全文数据库》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111935080B (en) | Data sharing method and device of block chain, computer equipment and storage medium | |
CN108124505B (en) | Method and device for acquiring trusted node, storage medium and block link node | |
CN110430186B (en) | Block chain data transaction system and method based on agent re-encryption and intelligent contract | |
CN110049016B (en) | Data query method, device, system, equipment and storage medium of block chain | |
US20150270963A1 (en) | Communication device, communication method, and computer program product | |
CN106953729B (en) | Satellite communication encryption system and method based on quantum key | |
CN109359472B (en) | Data encryption and decryption processing method and device and related equipment | |
KR20140052703A (en) | Method and apparatus for accelerating web service using a proxy server | |
CN105141602A (en) | File ownership proof method based on convergence encryption | |
CN107342861B (en) | Data processing method, device and system | |
CN104756458A (en) | Method and apparatus for securing a connection in a communications network | |
RU2013157400A (en) | METHOD AND DEVICE FOR AUTHENTICATION OF HYBRID TERMINAL USERS | |
KR20210002955A (en) | An OTP security management method by using dynamic shared secret distribution algorithm | |
CN104994095A (en) | Equipment authentication method, clients, server and system | |
CN112118245A (en) | Key management method, system and equipment | |
CN112333247A (en) | Method and system for sharing private data of block chain system | |
CN111277605B (en) | Data sharing method and device, computer equipment and storage medium | |
KR101922965B1 (en) | Implicit Certificate Issuing Method and System for Applying Key Expansion | |
CN117118598A (en) | Data sharing method, electronic equipment and computer cluster | |
CN115567926A (en) | Unmanned aerial vehicle flight control message transmission method and device | |
CN113779629A (en) | Key file sharing method and device, processor chip and server | |
CN113472835A (en) | Data reading and uploading method and device | |
WO2020173451A1 (en) | Method, device, and storage medium for implementing forward security | |
KR102047589B1 (en) | A Encrypted Communication System Based on a Quantum Cryptography and a Certificating Method by the Same | |
US10469267B2 (en) | Method of managing implicit certificates using a distributed public keys infrastructure |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210205 |
|
RJ01 | Rejection of invention patent application after publication |