CN109117660A - A kind of data sharing method and system based on block chain and intelligent contract - Google Patents
A kind of data sharing method and system based on block chain and intelligent contract Download PDFInfo
- Publication number
- CN109117660A CN109117660A CN201710481357.XA CN201710481357A CN109117660A CN 109117660 A CN109117660 A CN 109117660A CN 201710481357 A CN201710481357 A CN 201710481357A CN 109117660 A CN109117660 A CN 109117660A
- Authority
- CN
- China
- Prior art keywords
- data
- intelligent contract
- requirements side
- providing
- block chain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- 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/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
Abstract
This application provides a kind of data sharing method based on block chain and intelligent contract, it include: when the corresponding metadata of the initial data possessed is recorded on default block chain by data providing in the form of data directory and/or the description of required data is published on the default block chain by data requirements side, and when detecting data sharing request, the environment for creating intelligent contract is provided for the data providing and the data requirements side, the data providing and the data requirements side is made to create intelligent contract jointly;After detecting that the intelligent contract comes into force, according to the content execution intelligence contract of the intelligent contract, automatic, limit power, the data sharing prescribed a time limit and limit content between the data providing and the data requirements side are realized.Data providing only provides metadata and is always maintained at the ownership to initial data, ensure that safety and the privacy of data providing data.
Description
Technical field
The present invention relates to block chain technical fields and intelligent contract technical field, more particularly to a kind of be based on block
The data sharing method and system of chain and intelligent contract.
Background technique
With being constantly progressive for human society, the continuous development of information age, the data of various formats are in explosive growth.
Data sharing becomes a kind of effective data and utilizes form, realizes that data sharing can make more people more fully using existing
Data resource, reduce the duplications of labour such as data collection, data acquisition with by the corresponding expense of duplication of labour bring.
However, data category is numerous and jumbled since data volume is big, and data format disunity, data regulatory rule disunity, data
Isolated island is more, and data management and data store broad categories, and data-privacy requires the problems such as high, increases data sharing difficulty.
For example, data-privacy requires height in medical field, since data sharing and exchange are difficult, information is obstructed, causes
The problems such as expert consultation is difficult, and across the institute inspection of patient is difficult, and academic research can not obtain data, delays treatment time, causes to patient
Pain increases medical expense.
Available data is shared and exchange scheme, it usually needs prior uniform data exchange standard, authority data format, to hidden
Private data encryption etc. needs to change respectively existing data system in numerous participants, and the cost done so is high, and the time is long.
There are also some new solutions, for example dispose alliance's chain between the parties, can be with the data between effective solution alliance
It shares and exchanges problem, but since each node of block chain requires to replicate complete account book system, it is some right to be difficult to persuade
Alliance's chain is disposed in data sensitive and the higher mechanism of data privacy requirement.Therefore data safety and data-privacy are existing
The insoluble critical issue of data sharing technology.
Summary of the invention
In view of this, the present invention provides a kind of data sharing method and system based on block chain and intelligent contract, number
The metadata of initial data is recorded on default block chain in the form of data directory according to provider, so that data requirements side is logical
The data that access data directory understands the offer of data providing are crossed, data providing and data party in request pass through intelligent contract
The data sharing that mode is automatic to data progress, limit power, prescribes a time limit and limit content, ensure that the safety of data providing data.
In order to achieve the above-mentioned object of the invention, specific technical solution provided by the invention is as follows:
A kind of data sharing method based on block chain and intelligent contract, comprising:
When data providing the corresponding metadata of the initial data possessed is recorded in the form of data directory it is default
The description of required data is published on the default block chain by block chain and/or data requirements side, and detects that data are total
When enjoying request, the environment of the intelligent contract of creation is provided for the data providing and the data requirements side, proposes the data
Supplier and the data requirements side create intelligent contract jointly;
After detecting that the intelligent contract comes into force, the intelligent contract is executed according to the content of the intelligent contract, it is real
Data sharing between the existing data providing and the data requirements side.
Optionally, the corresponding metadata of initial data that will be possessed when data providing is in the form of data directory
It is recorded on default block chain and/or the description of required data is published on the default block chain by data requirements side, and examine
When measuring data sharing request, the environment of the intelligent contract of creation is provided for the data providing and the data requirements side, is made
The data providing and the data requirements side create intelligent contract jointly, comprising:
When data providing the corresponding metadata of the initial data possessed is recorded in the form of data directory it is default
On block chain, after data requirements side determines data sharing demand by the access data directory, the data requirements side is received
The data sharing of transmission is requested;
The environment for creating intelligent contract is provided for the data providing and the data requirements side, the data are provided
The data requirements side creates intelligent contract jointly.
Optionally, the corresponding metadata of initial data that will be possessed when data providing is in the form of data directory
It is recorded on default block chain and/or the description of required data is published on the default block chain by data requirements side, and examine
When measuring data sharing request, the environment of the intelligent contract of creation is provided for the data providing and the data requirements side, is made
The data providing and the data requirements side create intelligent contract jointly, comprising:
When the description of required data is published on default block chain by data requirements side, data providing access is described default
Block chain determine possess and when the corresponding initial data of the description will with described to describe corresponding initial data corresponding
After metadata is recorded on the default block chain in the form of data directory, it is total to receive the data that the data providing is sent
Enjoy request;
The environment for creating intelligent contract is provided for the data providing and the data requirements side, the data are provided
The data requirements side creates intelligent contract jointly.
Optionally, the corresponding metadata of initial data that will be possessed when data providing is in the form of data directory
It is recorded on default block chain and/or the description of required data is published on the default block chain by data requirements side, and examine
When measuring data sharing request, the environment of the intelligent contract of creation is provided for the data providing and the data requirements side, is made
The data providing and the data requirements side create intelligent contract jointly, comprising:
When data providing the corresponding metadata of the initial data possessed is recorded in the form of data directory it is default
On block chain, and when the description of required data is published on the default block chain by data requirements side, to the default block
The description of the data directory and data that record on chain is scanned;
During the scanning process, it is completely or partially matched between data directory and the description of data when detecting, and the data
When not creating intelligent contract between the data requirements side of the description of the data providing of catalogue and the data, mentioned for the data
Supplier and the data requirements side provide the environment for creating intelligent contract, keep the data providing and the data requirements side total
With the intelligent contract of creation.
Preferably, provided described for the data providing and the data requirements side create intelligent contract environment it
Afterwards, the method also includes:
Intelligent contract template is provided for the data providing and the data requirements side.
Preferably, the content of the intelligent contract includes: access mode, permission, time, content and the expense of data sharing
With.
Preferably, the content according to the intelligent contract executes the intelligent contract, realizes the data providing
With the data sharing between the data requirements side, comprising:
The access mode and permission of data sharing are provided for the data requirements side, makes the data requirements root described in
Access mode and permission pair initial data corresponding with the access content of the data sharing access;
According to the interview expenses of data sharing in the intelligent contract, the terms of payments in the intelligent contract are executed;
When the data requirements side, the access time to the initial data reaches data sharing in the intelligent contract
When access time, cancel the data requirements side to the access authority of the initial data.
Preferably, after the content according to the intelligent contract executes the intelligent contract, the method is also wrapped
It includes:
By the data requirements side to the process record of the access process of the initial data and payment expense described pre-
If on block chain.
Preferably, the data providing is also by the fingerprint recording of initial data corresponding with metadata described in every in institute
It states on default block chain, to possess the data requirements side according to the intelligent contract access data providing
Corresponding initial data when, the initial data is verified according to the fingerprint.
Preferably, the data providing determines when creating intelligent contract and accesses original number to the data requirements side
Parameter is limited according to manual authorisation or the data sharing by the way that intelligent contract is arranged, and initial data is accessed certainly to the data requirements side
Dynamic authorization.
A kind of data-sharing systems based on block chain and intelligent contract, comprising:
Unit is provided, for working as data providing for the corresponding metadata of the initial data possessed with the shape of data directory
Formula is recorded on default block chain and/or the description of required data is published on the default block chain by data requirements side, and
When detecting data sharing request, the environment of the intelligent contract of creation is provided for the data providing and the data requirements side,
The data providing and the data requirements side is set to create intelligent contract jointly;
Execution unit, for executing institute according to the content of the intelligent contract after detecting that the intelligent contract comes into force
Intelligent contract is stated, realizes the data sharing between the data providing and the data requirements side.
Opposite and the prior art, beneficial effects of the present invention are as follows:
Data sharing method and system provided by the invention based on block chain and intelligent contract, data providing is from being gathered around
Metadata is extracted in some initial data, and the metadata is recorded on default block chain in the form of data directory, with
It accesses for data requirements side, data providing only provides metadata and is always maintained at the ownership to initial data.Data
Party in request is published on default block chain by data directory on access preset block chain or the spontaneous description by required data,
Form the data sharing supply-demand relationship between data providing and data requirements side.Data providing and data party in request create jointly
Intelligent contract is built, data sharing that is automatic, prescribing a time limit, limit power and limit content is carried out on default block chain, to effectively connect
Data silo has been connect, has brought the data sharing of data providing and data party in request together.It is controlled automatically by way of intelligent contract
Data requirements side accesses data to the access mode of data, permission, time and content, and by data requirements side when data sharing processed
Process and payment expense process record on default block chain, on the one hand make data sharing controllable, and data access stays
Trace ensure that the process of data sharing is traceable;Another aspect data sharing does not destroy data providing to initial data
Ownership just can be carried out data sharing when data providing is to data sharing authorization, ensure that the safety of data providing data
Property and privacy.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of data sharing method flow chart based on block chain and intelligent contract disclosed by the embodiments of the present invention;
Fig. 2 is a kind of sub-process of data sharing method based on block chain and intelligent contract disclosed by the embodiments of the present invention
Figure;
Fig. 3 is a kind of data-sharing systems structural representation based on block chain and intelligent contract disclosed by the embodiments of the present invention
Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, present embodiment discloses a kind of data sharing method based on block chain and intelligent contract, specific to wrap
Include following steps:
S101: when the corresponding metadata of the initial data possessed is recorded in by data providing in the form of data directory
On default block chain and/or the description of required data is published on the default block chain by data requirements side, and detects number
When according to sharing request, the environment of the intelligent contract of creation is provided for the data providing and the data requirements side, makes the number
Intelligent contract is created jointly according to provider and the data requirements side;
Metadata (Metadata) is to describe the data of data, describes the information of data attribute, mainly for supporting such as
Indicate the functions such as storage location, historical data, resource lookup, file record.
It should be noted that the initial data of any format can be described with metadata, original number is extracted
According to metadata, metadata is recorded on default block chain in the form of data directory, has been unified to a certain extent shared
The presentation format of data reduces the complexity of data sharing.
Data requirements side can provide data providing by metadata catalog in access preset block chain in this implementation
Initial data perceived, that is, the content for understanding the initial data that data providing provides to a certain extent but cannot obtain
The specific initial data for taking data providing to provide.It is understood that only recording metadata on the default block chain, not
Save the initial data that data providing provides.
The description of data needed for data requirements side is the data described in data party in request in the side such as data type, data content
The description in face, data providing can be learned by the description of data needed for data requirements side in the access default block chain
Data needed for data requirements side, and judge whether data needed for possessing data requirements side.
Detection data sharing request can be the data sharing request for receiving data providing or data requirements side,
Can for system active detecting on default block chain between the description of data needed for the data directory recorded and party in request whether
With data supply-demand relationship.
System provides the environment of the intelligent contract of creation for the data providing and the data requirements side, for the data
Provider and the data requirements side create intelligent contract, the data providing and the data requirements jointly in this context
Side can modify or edit to the content of intelligent contract.
Preferably, the data providing is also by the fingerprint recording of initial data corresponding with metadata described in every in institute
It states on default block chain, to possess the data requirements side according to the intelligent contract access data providing
Corresponding initial data when, the initial data is verified according to the fingerprint.
The fingerprint can be the cryptographic Hash of the corresponding initial data of metadata, and certainly, the fingerprint can also be number
The data that can characterize the corresponding initial data of metadata of the other forms such as signature.
Party in request is by verifying the initial data according to the fingerprint, it can be determined that data providing provided
Whether data are correct.
S102: after detecting that the intelligent contract comes into force, the intelligence is executed according to the content of the intelligent contract and is closed
About, the data sharing between the data providing and the data requirements side is realized.
Preferably, the content of the intelligent contract includes: access mode, permission, time, content and the expense of data sharing
Deng.
It should be noted that defining the specific side of execution of each step in data sharing process in the intelligence contract
Formula, in addition to the access mode of above-mentioned data sharing, permission, time, content and expense etc., further includes: the triggering of intelligent contract
Condition, access data, payment expense, and the end triggering condition etc. of intelligent contract.
It is understood that the participant of intelligent contract is not limited in data providing and data party in request.Only join
After all signing to intelligent contract with each participant of intelligent contract, intelligent contract can just come into force.
It should also be noted that, the data providing when creating intelligent contract, is determined and is visited the data requirements side
Ask that initial data manual authorisation or the data sharing by the way that intelligent contract is arranged limit parameter and access original to the data requirements side
Beginning data automatic authorization.That is, must could be to data providing in the case where data providing authorization in data requirements side
Corresponding initial data accesses, and the mode of authorization can be data providing manual authorisation, or be provided by data
Data sharing is arranged in intelligent contract and limits parameter for side, and when meeting the condition of the data sharing limitation parameter, intelligence is closed
About authorized automatically for data requirements side.
In the base that the intelligent treaty content includes: access mode, permission, time, content and expense of data sharing etc.
On plinth, referring to Fig. 2, a kind of S102 preferably to be carried out mode as follows:
S201: the access mode and permission of data sharing are provided for the data requirements side, makes the data requirements root
It accesses according to the access mode and permission pair initial data corresponding with the access content of the data sharing;
It is understood that the access content provided of data sharing data requirements side can access the original of data providing
Beginning data.Data requirements side cannot access in data providing except the access content of the data sharing in data sharing limitation parameter
Except any data, ensure that the data safety of data providing.
The access mode of the data sharing can be various ways, be illustrated below:
For example, (1) data providing provides the access for storing initial data corresponding with the access content of shared data
Location is guaranteed the safety of the initial data in storage address by data providing, if data providing can be the storage address
Generation individually log in key, perhaps using special container storage data container design can be encryption or with when
Effect property, by intelligent contract with the prespecified mode in data requirements side and data providing by access address and relevant information (such as:
The information such as modification logging) it is sent to data requirements side.Voluntarily access address is accessed with obtaining raw data associated for data requirements side
Permission.
(2) the corresponding initial data of access content for the data space storage shared data trusted by both party, data provide
Side sends this data space for the initial data in advance, this space can be encryption either using the control of specific safety mechanism
System, the access mode of the data space is sent to data requirements side by intelligent contract, and data requirements side is empty by access data
Between, access corresponding initial data.
S202: according to the interview expenses of data sharing in the intelligent contract, the payment item in the intelligent contract is executed
Money;
It is understood that including terms of payments in intelligent contract, it is specified that data requirements side is under what conditions with assorted
The expense that form is shared to data providing payment data.
S203: when the data requirements side, the access time to the initial data, it is total to reach data in the intelligent contract
When the access time enjoyed, cancel the data requirements side to the access authority of the initial data.
It is understood that data requirements side can only provide data in the time of data sharing in the intelligent contract
The corresponding initial data just provided accesses.
It should be noted that a kind of preferred embodiment as the present embodiment, described based on block chain and intelligent contract
Data sharing method further include:
By the data requirements side to the process record of the access process of the initial data and payment expense described pre-
If on block chain.
By the process record of the process of data requirements side's access data and payment expense on default block chain, it is total to data
It enjoys controllably, and data access trace, ensure that the process of data sharing is traceable.
According to the difference of the initiator of data sharing, there are three types of optional executive modes by S101, that is, data providing, number
It all can serve as the initiator of data sharing according to party in request and system, driving data is shared.
Optionally, mode one: data requirements side is the initiator of data sharing
The specific executive mode of S101 are as follows: when data providing by the corresponding metadata of the initial data possessed with data
The form of catalogue is recorded on default block chain, and data requirements side determines data sharing demand by accessing the data directory
Afterwards, the data sharing request that the data requirements side is sent is received;It is provided for the data providing and the data requirements side
The environment for creating intelligent contract makes the data providing and the data requirements side create intelligent contract jointly.
Specifically, data providing extracts a plurality of metadata from database, and by a plurality of metadata with data mesh
The form of record is recorded on default block chain;Data requirements side passes through the data directory in access preset block chain, logarithm
The content of the initial data possessed according to provider generates perception, that is, understands what data providing was possessed to a certain extent
The content of initial data.After data requirements side determines data sharing demand, data sharing request, driving data are sent to system
It is shared.
Optionally, mode two: data providing is the initiator of data sharing
The specific executive mode of S101 are as follows: when the description of required data is published on default block chain by data requirements side,
The data providing access default block chain will be with the description when determining and possessing with the corresponding initial data of the description
After the corresponding metadata of corresponding initial data is recorded on the default block chain in the form of data directory, described in reception
The data sharing request that data providing is sent;There is provided creation intelligent contract for the data providing and the data requirements side
Environment, so that the data providing and the data requirements side is created intelligent contract jointly.
Specifically, the description of required data is published to the default block chain by data requirements side;Data providing access
The demand of the default block chain discovery data requirements side, and determination possesses original number corresponding with the demand of data requirements side
According to rear, according to the metadata of the demand of data requirements side data needed for extracting data requirements side in database, and by the member
Data are recorded on the default block chain in the form of data directory, and send data sharing request to system.
Optionally, mode three: system is the initiator of data sharing
The specific executive mode of S101 are as follows: when data providing by the corresponding metadata of the initial data possessed with data
The form of catalogue is recorded on default block chain, and the description of required data is published to the default block chain by data requirements side
When upper, the description of the data directory recorded and data on the default block chain was scanned;During the scanning process, work as detection
It is completely or partially matched between data directory and the description of data, and the data providing of the data directory and the data
When not creating intelligent contract between the data requirements side of description, creation is provided for the data providing and the data requirements side
The environment of intelligent contract makes the data providing and the data requirements side create intelligent contract jointly.
Specifically, data providing extracts metadata from database, and by the metadata in the form of data directory
It is recorded on default block chain;The description of required data is also published on the default block chain by data requirements side;System has
One intelligent contract run always, the intelligence contract continually scan for data directory recorded on the default block chain and
The description of the required data of data requirements side's publication, if it find that the required data that data directory is issued with data requirements side are retouched
Relation between supply and demand is stated, the keyword as described in: metadata in data directory with required data matches, and data provide at this time
When between side and data party in request there are no corresponding intelligent contract is generated, determines and deposited between data providing and data requirements side
In data supply-demand relationship.
Based on the executive mode of any one of the above S101, the present embodiment additionally provides a kind of preferred embodiment, that is,
It is described provide the environment for creating intelligent contract for the data providing and the data requirements side after, the method is also wrapped
It includes: providing intelligent contract template for the data providing and the data requirements side.
The intelligence contract template is a default data sharing intelligence contract template, data providing and data requirements
Side can create intelligent contract according to the intelligence contract template, since intelligent contract template is it has been determined that data providing and data
The parameters such as access mode, permission, time, content and the expense of data sharing are filled in i.e. in the intelligence contract template by party in request
Can, it improves the data providing and the data requirements side creates the speed and efficiency of intelligent contract.
Certainly, according to actual needs, data providing and data party in request can also repair the intelligence contract template
Change and edits.
Preferably, in mode three: in the case that system is the initiator of data sharing, the intelligent contract of system can be according to number
The description of data needed for the metadata provided according to provider and data party in request determines retouching for the data directory and the data
The content exactly matched between stating is provided according to the content exactly matched between the data directory and the description of the data for data
Side and data party in request automatically generate available intelligent contract template, the intelligence contract template closer to the data providing with
The data sharing demand of the data requirements side, can be improved the data providing and data requirements side creation intelligence is closed
Speed and efficiency about.
Data sharing method provided in this embodiment based on block chain and intelligent contract, data providing is from being possessed
Metadata is extracted in initial data, and the metadata is recorded on default block chain in the form of data directory, for number
It accesses according to party in request, data providing only provides metadata and is always maintained at the ownership to initial data.Data requirements
The square data directory by access preset block chain or the spontaneous description by required data are published on default block chain, are formed
Data sharing supply-demand relationship between data providing and data requirements side.Data providing and data party in request create intelligence jointly
Energy contract carries out data sharing that is automatic, prescribing a time limit, limit power and limit content, to effectively be connected on default block chain
Data silo has brought the data sharing of data providing and data party in request together.Number is automatically controlled by way of intelligent contract
According to it is shared when data requirements side to the access mode of data, permission, time and content, and by data requirements side access data mistake
On the one hand the process record of journey and payment expense makes data sharing controllable, and data access trace, protects on default block chain
The process for having demonstrate,proved data sharing is traceable;Another aspect data sharing does not destroy data providing and possesses initial data
Power, just can be carried out data sharing when data providing is to data sharing authorization, ensure that the safeties of data providing data with
Privacy.
The disclosed data sharing method based on block chain and intelligent contract based on the above embodiment, referring to Fig. 3, this reality
It applies example correspondence and discloses a kind of data-sharing systems based on block chain and intelligent contract, specifically include:
Unit 101 is provided, for working as data providing for the corresponding metadata of the initial data possessed with data directory
Form be recorded on default block chain and/or the description of required data is published to the default block chain by data requirements side
On, and when detecting data sharing request, creation intelligence contract is provided for the data providing and the data requirements side
Environment makes the data providing and the data requirements side create intelligent contract jointly;
Execution unit 102, for being executed according to the content of the intelligent contract after detecting that the intelligent contract comes into force
The intelligence contract, realizes the data sharing between the data providing and the data requirements side.
The disclosed data-sharing systems based on block chain and intelligent contract of the present embodiment, when data providing will be possessed
The corresponding metadata of initial data be recorded in the form of data directory on default block chain and/or data requirements side will needed for
The description of data is published on the default block chain, and detect data sharing request when, for the data providing and institute
It states data requirements side and the environment for creating intelligent contract is provided, the data providing and the data requirements side is made to create intelligence jointly
It can contract;After detecting that the intelligent contract comes into force, the intelligent contract is executed according to the content of the intelligent contract, is realized
Data sharing between the data providing and the data requirements side.Data are carried out certainly by way of intelligent contract
Dynamic, limit power, the data sharing prescribed a time limit with limit content, data providing only provide metadata and are always maintained at and gather around to initial data
It has the right, ensure that the safety of data providing data.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (11)
1. a kind of data sharing method based on block chain and intelligent contract characterized by comprising
When the corresponding metadata of the initial data possessed is recorded in default block by data providing in the form of data directory
The description of required data is published on the default block chain by chain and/or data requirements side, and detects that data sharing is asked
When asking, the environment of the intelligent contract of creation is provided for the data providing and the data requirements side, makes the data providing
Create intelligent contract jointly with the data requirements side;
After detecting that the intelligent contract comes into force, the intelligent contract is executed according to the content of the intelligent contract, realizes institute
State the data sharing between data providing and the data requirements side.
2. the method according to claim 1, wherein the initial data pair that will be possessed when data providing
The metadata answered is recorded on default block chain and/or data requirements side in the form of data directory and sends out the description of required data
On cloth to the default block chain, and detect data sharing request when, be the data providing and the data requirements side
The environment for creating intelligent contract is provided, the data providing and the data requirements side is made to create intelligent contract jointly, comprising:
When the corresponding metadata of the initial data possessed is recorded in default block by data providing in the form of data directory
On chain, after data requirements side determines data sharing demand by the access data directory, receives the data requirements side and send
Data sharing request;
The environment for creating intelligent contract is provided for the data providing and the data requirements side, make the data providing and
The data requirements side creates intelligent contract jointly.
3. the method according to claim 1, wherein the initial data pair that will be possessed when data providing
The metadata answered is recorded on default block chain and/or data requirements side in the form of data directory and sends out the description of required data
On cloth to the default block chain, and detect data sharing request when, be the data providing and the data requirements side
The environment for creating intelligent contract is provided, the data providing and the data requirements side is made to create intelligent contract jointly, comprising:
When the description of required data is published on default block chain by data requirements side, data providing accesses the default block
Chain, which determines, to be possessed and will the corresponding member number of corresponding with the description initial data when the corresponding initial data of the description
After the form of data directory is recorded on the default block chain accordingly, receives the data sharing that the data providing is sent and ask
It asks;
The environment for creating intelligent contract is provided for the data providing and the data requirements side, make the data providing and
The data requirements side creates intelligent contract jointly.
4. the method according to claim 1, wherein the initial data pair that will be possessed when data providing
The metadata answered is recorded on default block chain and/or data requirements side in the form of data directory and sends out the description of required data
On cloth to the default block chain, and detect data sharing request when, be the data providing and the data requirements side
The environment for creating intelligent contract is provided, the data providing and the data requirements side is made to create intelligent contract jointly, comprising:
When the corresponding metadata of the initial data possessed is recorded in default block by data providing in the form of data directory
On chain, and when the description of required data is published on the default block chain by data requirements side, on the default block chain
The data directory of record and the description of data are scanned;
During the scanning process, it is completely or partially matched between data directory and the description of data when detecting, and the data directory
Data providing and the data description data requirements side between when not creating intelligent contract, be the data providing
The environment for creating intelligent contract is provided with the data requirements side, creates the data providing and the data requirements side jointly
Build intelligent contract.
5. method described in any one according to claim 1~4, which is characterized in that it is described for the data providing and
After the data requirements side provides the environment for creating intelligent contract, the method also includes:
Intelligent contract template is provided for the data providing and the data requirements side.
6. the method according to claim 1, wherein the content of the intelligence contract includes: the visit of data sharing
Ask mode, permission, time, content and expense.
7. according to the method described in claim 6, it is characterized in that, the content according to the intelligent contract executes the intelligence
Energy contract, realizes the data sharing between the data providing and the data requirements side, comprising:
The access mode and permission of data sharing are provided for the data requirements side, makes the data requirements root according to the access
Mode and permission pair initial data corresponding with the access content of the data sharing access;
According to the interview expenses of data sharing in the intelligent contract, the terms of payments in the intelligent contract are executed;
When the data requirements side, the access time to the initial data reaches the access of data sharing in the intelligent contract
When the time, cancel the data requirements side to the access authority of the initial data.
8. the method according to the description of claim 7 is characterized in that described in being executed in the content according to the intelligent contract
After intelligent contract, the method also includes:
By the data requirements side to the process record of the access process of the initial data and payment expense in the preset areas
On block chain.
9. the method according to claim 1, wherein the data providing will also be with metadata pair described in every
The fingerprint recording for the initial data answered is on the default block chain, to close the data requirements side according to the intelligence
When about accessing the corresponding initial data that the data providing is possessed, the initial data is tested according to the fingerprint
Card.
10. the method according to claim 1, wherein the data providing when creating intelligent contract, determines
Initial data manual authorisation is accessed to the data requirements side or the data sharing by the way that intelligent contract is arranged limits parameter to institute
State data requirements side's access initial data automatic authorization.
11. a kind of data-sharing systems based on block chain and intelligent contract characterized by comprising
Unit is provided, for remembering the corresponding metadata of the initial data possessed in the form of data directory when data providing
Record is on default block chain and/or the description of required data is published on the default block chain by data requirements side, and detects
To when data sharing request, the environment of the intelligent contract of creation is provided for the data providing and the data requirements side, makes institute
It states data providing and the data requirements side and creates intelligent contract jointly;
Execution unit, for executing the intelligence according to the content of the intelligent contract after detecting that the intelligent contract comes into force
Energy contract, realizes the data sharing between the data providing and the data requirements side.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710481357.XA CN109117660B (en) | 2017-06-22 | 2017-06-22 | Data sharing method and system based on block chain and intelligent contract |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710481357.XA CN109117660B (en) | 2017-06-22 | 2017-06-22 | Data sharing method and system based on block chain and intelligent contract |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109117660A true CN109117660A (en) | 2019-01-01 |
CN109117660B CN109117660B (en) | 2021-05-28 |
Family
ID=64732693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710481357.XA Active CN109117660B (en) | 2017-06-22 | 2017-06-22 | Data sharing method and system based on block chain and intelligent contract |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109117660B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109905464A (en) * | 2019-01-29 | 2019-06-18 | 华东师范大学 | A kind of distributed Sharing of remote sensing data system based on block chain |
CN109934000A (en) * | 2019-03-12 | 2019-06-25 | 黑龙江世纪精彩科技有限公司 | Entertainment industry cooperation intention matching process and storage medium based on block chain technology |
CN110049066A (en) * | 2019-05-23 | 2019-07-23 | 中国科学院软件研究所 | A kind of resource access authorization method based on digital signature and block chain |
CN110113375A (en) * | 2019-03-26 | 2019-08-09 | 罗克佳华科技集团股份有限公司 | Resource share method and device, system, storage medium |
CN110610094A (en) * | 2019-07-25 | 2019-12-24 | 温州医科大学 | College data increment treatment system based on block chain |
CN110797099A (en) * | 2019-10-28 | 2020-02-14 | 河北北方学院 | Medical data sharing method and system based on block chain |
CN111291247A (en) * | 2020-01-20 | 2020-06-16 | 支付宝(杭州)信息技术有限公司 | Data service providing method, device and equipment |
CN111682934A (en) * | 2020-04-21 | 2020-09-18 | 国网天津市电力公司电力科学研究院 | Storage, access and sharing method and system for comprehensive energy metering data |
WO2020253394A1 (en) * | 2019-06-17 | 2020-12-24 | 深圳壹账通智能科技有限公司 | Blockchain-based insurance data interaction method, electronic device, and computer device |
CN112231404A (en) * | 2020-10-15 | 2021-01-15 | 深圳壹账通智能科技有限公司 | Block chain-based data sharing method, computer device and storage medium |
CN112733207A (en) * | 2021-04-02 | 2021-04-30 | 国网电子商务有限公司 | Data processing method, device and system based on block chain |
CN113220787A (en) * | 2021-05-25 | 2021-08-06 | 成都佰纳瑞信息技术有限公司 | Transaction method, model, device and equipment for data sharing based on block chain |
CN113535663A (en) * | 2021-08-09 | 2021-10-22 | 恒安嘉新(北京)科技股份公司 | Data sharing processing method, device, equipment and medium based on block chain |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600405A (en) * | 2016-11-17 | 2017-04-26 | 复旦大学 | Block-chain-based data rights protection method |
CN106651346A (en) * | 2016-11-28 | 2017-05-10 | 上海凯岸信息科技有限公司 | Block chain-based credit investigation data sharing and trading system |
-
2017
- 2017-06-22 CN CN201710481357.XA patent/CN109117660B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600405A (en) * | 2016-11-17 | 2017-04-26 | 复旦大学 | Block-chain-based data rights protection method |
CN106651346A (en) * | 2016-11-28 | 2017-05-10 | 上海凯岸信息科技有限公司 | Block chain-based credit investigation data sharing and trading system |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109905464A (en) * | 2019-01-29 | 2019-06-18 | 华东师范大学 | A kind of distributed Sharing of remote sensing data system based on block chain |
CN109905464B (en) * | 2019-01-29 | 2021-08-20 | 华东师范大学 | Distributed remote sensing data sharing system based on block chain |
CN109934000A (en) * | 2019-03-12 | 2019-06-25 | 黑龙江世纪精彩科技有限公司 | Entertainment industry cooperation intention matching process and storage medium based on block chain technology |
CN109934000B (en) * | 2019-03-12 | 2021-06-29 | 黑龙江世纪精彩科技有限公司 | Entertainment industry cooperative intention matching method based on block chain technology and storage medium |
CN110113375A (en) * | 2019-03-26 | 2019-08-09 | 罗克佳华科技集团股份有限公司 | Resource share method and device, system, storage medium |
CN110049066A (en) * | 2019-05-23 | 2019-07-23 | 中国科学院软件研究所 | A kind of resource access authorization method based on digital signature and block chain |
WO2020253394A1 (en) * | 2019-06-17 | 2020-12-24 | 深圳壹账通智能科技有限公司 | Blockchain-based insurance data interaction method, electronic device, and computer device |
CN110610094A (en) * | 2019-07-25 | 2019-12-24 | 温州医科大学 | College data increment treatment system based on block chain |
CN110610094B (en) * | 2019-07-25 | 2020-06-30 | 温州医科大学 | College data increment treatment system based on block chain |
CN110797099A (en) * | 2019-10-28 | 2020-02-14 | 河北北方学院 | Medical data sharing method and system based on block chain |
CN110797099B (en) * | 2019-10-28 | 2022-06-17 | 河北北方学院 | Medical data sharing method and system based on block chain |
CN111291247A (en) * | 2020-01-20 | 2020-06-16 | 支付宝(杭州)信息技术有限公司 | Data service providing method, device and equipment |
CN111682934A (en) * | 2020-04-21 | 2020-09-18 | 国网天津市电力公司电力科学研究院 | Storage, access and sharing method and system for comprehensive energy metering data |
CN112231404A (en) * | 2020-10-15 | 2021-01-15 | 深圳壹账通智能科技有限公司 | Block chain-based data sharing method, computer device and storage medium |
CN112733207A (en) * | 2021-04-02 | 2021-04-30 | 国网电子商务有限公司 | Data processing method, device and system based on block chain |
CN112733207B (en) * | 2021-04-02 | 2021-07-13 | 国网电子商务有限公司 | Data processing method, device and system based on block chain |
CN113220787A (en) * | 2021-05-25 | 2021-08-06 | 成都佰纳瑞信息技术有限公司 | Transaction method, model, device and equipment for data sharing based on block chain |
CN113535663A (en) * | 2021-08-09 | 2021-10-22 | 恒安嘉新(北京)科技股份公司 | Data sharing processing method, device, equipment and medium based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN109117660B (en) | 2021-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109117660A (en) | A kind of data sharing method and system based on block chain and intelligent contract | |
CN110050474A (en) | The type name of subobject for the composite object in Internet of Things network and block chain | |
CN102236763B (en) | Based on the safety of data driven role | |
CN110535833B (en) | Data sharing control method based on block chain | |
CN101785243B (en) | Transferable restricted security tokens | |
CN109729168A (en) | A kind of data share exchange system and method based on block chain | |
CN107241360A (en) | A kind of data safety shares exchange method and data safety shares switching plane system | |
CN112559627A (en) | Alliance chain-based on-chain-under-chain collaborative electronic medical record data sharing method | |
CN109525570A (en) | A kind of data hierarchy safety access control method of Cargo Oriented on Group client | |
CN101969475A (en) | Business data controllable distribution and fusion application system based on cloud computing | |
CN113297625A (en) | Data sharing system and method based on block chain and electronic equipment | |
CN109587146A (en) | Method for managing object and system based on block chain | |
CN105871914A (en) | Customer-relationship-management-system access control method | |
CN111611554B (en) | Drawing file circulation and tracing system and method based on alliance block chain | |
CN109919771A (en) | A kind of hierarchical block chain network and method of commerce applied to industry internet | |
CN110264042A (en) | A kind of method and relevant apparatus of project management | |
CN107634989A (en) | A kind of cloud wallet construction method and server | |
CN106301791B (en) | A kind of realization method and system of the unifying user authentication authorization based on big data platform | |
CN113268773A (en) | Personal data transaction system and method | |
Daraghmi et al. | A blockchain-based editorial management system | |
CN101383030A (en) | Problem tracking system and method in process of project progressing | |
CN111385086B (en) | Key charging method and system based on quantum network | |
CN109829334A (en) | Data box configuration, use and bookkeeping methods and its operation system based on block chain | |
CN111682934B (en) | Method and system for storing, accessing and sharing comprehensive energy metering data | |
CN110266666A (en) | A kind of method for managing security and system based on industry internet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |