CN109614822A - A kind of Information Resource Access method, apparatus and system based on block chain - Google Patents
A kind of Information Resource Access method, apparatus and system based on block chain Download PDFInfo
- Publication number
- CN109614822A CN109614822A CN201811519652.0A CN201811519652A CN109614822A CN 109614822 A CN109614822 A CN 109614822A CN 201811519652 A CN201811519652 A CN 201811519652A CN 109614822 A CN109614822 A CN 109614822A
- Authority
- CN
- China
- Prior art keywords
- request
- data
- party
- client
- information
- 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 54
- 230000008569 process Effects 0.000 claims abstract description 19
- 238000012797 qualification Methods 0.000 claims abstract description 7
- 230000005540 biological transmission Effects 0.000 claims description 22
- 210000000056 organ Anatomy 0.000 abstract description 3
- 230000008901 benefit Effects 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 244000035744 Hura crepitans Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
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
- 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
- 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/604—Tools and structures for managing or administering access control systems
-
- 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/606—Protecting data by securing the transmission between two devices or processes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Storage Device Security (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention discloses a kind of Information Resource Access method, apparatus and system based on block chain, this method comprises: receiving the request of data that party in request's client is sent, request of data includes information corresponding with demand data, intelligent contract and vendor ID information, includes party in request's identification information on intelligent contract;Information corresponding with demand data, intelligent contract and vendor ID information are party in request from inquiry obtains in the data directory of carry on block chain, party in request passes through party in request's client, it is signed on intelligent contract using public key, intelligent contract includes the request qualifications for demand data, and saves request process record;Request of data is sent to supplier's client;Encrypted demand data is received, and feeds back to party in request's client.By the above-mentioned means, can not only guarantee " mutual trust " between each operational agency, data sharing can also be realized, improve the work efficiency of government affairs organ.
Description
Technical field
The present invention relates to block chain technical fields, and in particular to a kind of Information Resource Access method based on block chain, dress
It sets and system.
Background technique
Due to requirements of one's work, require to cooperate with each other between many operational agencies, shared data.But each kiosk
Due to region restricted problem, trust problem etc. between structure, the shared of complete data can not achieve.If some operational agency wishes
Obtain a certain data, it will there are problems that two.First, it is unclear which operational agency this goes to obtain the data;Second, even if
Understand which operational agency this goes to obtain data, but due to trust problem, the operational agency with data dare not incite somebody to action oneself easily
The source data that body possesses is shared with the operational agency easily.Worry that big data can be replicated, be modified by the operational agency, nothing
Method controls the flow direction of data again, so as to cause the benefit damage of oneself operational agency.
And cooperating with each other between the related service mechanism that this is also hindered, affect working efficiency.So how to realize each
" mutual trust " between operational agency realizes data sharing, so that the work efficiency for improving government affairs organ becomes urgently to be resolved
The technical issues of.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of Information Resource Access method, apparatus based on block chain and is
System, cannot trust each other between existing related service mechanism, data cannot be shared, to influence doing for government affairs organ to solve
The problem of thing efficiency.
To achieve the above object, the embodiment of the present invention provides a kind of Information Resource Access method based on block chain, the party
Method is applied to a kind of Information Resource Access system based on block chain, which includes: party in request's client, supplier's client
And data exchange server, this method are executed by data exchange server, comprising:
The request of data that party in request's client is sent is received, request of data includes information corresponding with demand data, demand
Square identification information and vendor ID information;Information corresponding with demand data and vendor ID information are party in request from area
It inquires and obtains in the data directory of carry on block chain;
Request of data is sent to supplier's client, so as to when supplier's client is according to vendor ID information and need
When the side's of asking identification information determines that request of data is legal, according to information corresponding with demand data, demand data is called;Utilize demand
Square identification information is encrypted and is fed back to demand data;
Encrypted demand data is received, and feeds back to party in request's client.
The embodiment of the present invention has the advantages that on block chain and to gather around provided by the only each operational agency of carry with itself
There is the corresponding data directory of data.The data that party in request can inquire oneself needs according to the data directory of carry on block chain are deposited
Which operational agency be, information corresponding with demand data etc..Party in request can send request of data extremely by client
Request of data is sent to supplier's client by data exchange server by data exchange server.In this process, demand
Side needs to abide by intelligent contract, and intelligent contract is that supplier hangs on block chain, to constrain party in request to the rope of data
It takes and utilizes.For example limitation data can only be read primary, then just failure by party in request.Furthermore, it would be desirable to record request of data
Overall process.In this way, the whereabouts and utilization rate of data can be controlled effectively.And in request of data, supplier also needs to test
The legitimacy of requesting party is demonstrate,proved, therefore to determine whether request of data is legal according to intelligent contract and vendor ID information.Only
In legal situation, demand data is called;Demand data is encrypted and fed back using public key.To guarantee data transmission
Safety.By the above-mentioned means, can not only guarantee " mutual trust " between each operational agency, it can also realize that data are total
It enjoys, improves the work efficiency of each operational agency.
To achieve the above object, the embodiment of the present invention provides a kind of Information Resource Access device based on block chain, the dress
It sets and includes:
Receiving unit, for receiving the request of data of party in request's client transmission, request of data includes and demand data pair
The information answered, intelligent contract and vendor ID information include party in request's identification information on intelligent contract;With demand data pair
Information, intelligent contract and the vendor ID information answered are party in request from inquiry obtains in the data directory of carry on block chain,
Party in request is signed on intelligent contract using public key by party in request's client, and intelligent contract includes for demand data
Request qualifications, and save request process record;
Transmission unit, for request of data to be sent to supplier's client, so as to when supplier's client is according to intelligence
When contract and vendor ID information determine that request of data is legal, according to information corresponding with demand data, demand data is called;
Demand data is encrypted and fed back using public key;
Receiving unit is also used to, and receives encrypted demand data;
Transmission unit is also used to, and encrypted demand data is fed back to party in request's client.
The embodiment of the present invention has the advantages that on block chain and to gather around provided by the only each operational agency of carry with itself
There is the corresponding data directory of data.The data that party in request can inquire oneself needs according to the data directory of carry on block chain are deposited
Which operational agency be, information corresponding with demand data etc..Party in request can send request of data extremely by client
Request of data is sent to supplier's client by data exchange server by data exchange server.In this process, demand
Side needs to abide by intelligent contract, and intelligent contract is that supplier hangs on block chain, to constrain party in request to the rope of data
It takes and utilizes.For example limitation data can only be read primary, then just failure by party in request.Furthermore, it would be desirable to record request of data
Overall process.In this way, the whereabouts and utilization rate of data can be controlled effectively.And in request of data, supplier also needs to test
The legitimacy of requesting party is demonstrate,proved, therefore to determine whether request of data is legal according to intelligent contract and vendor ID information.Only
In legal situation, demand data is called;Demand data is encrypted and fed back using public key.To guarantee data transmission
Safety.By the above-mentioned means, can not only guarantee " mutual trust " between each operational agency, it can also realize that data are total
It enjoys, improves the work efficiency of each operational agency.
To achieve the above object, the embodiment of the present invention provides a kind of Information Resource Access system based on block chain, this is
System includes:
Party in request's client, supplier's client and data exchange server;
Party in request's client, for from inquiry obtains letter corresponding with demand data in the data directory of carry on block chain
Breath, intelligent contract and vendor ID information, are signed on intelligent contract using public key;
Will after information corresponding with demand data, intelligent contract and vendor ID information constitutes a request of data,
It is sent to data exchange server;
Supplier's client, for requesting legitimacy according to vendor ID information and intelligent contract verify data;
And when request of data is legal, according to information corresponding with demand data, demand data is called;Using public key to need
It asks data to be encrypted and feeds back to data exchange server;
Data exchange server is for executing a kind of Information Resource Access method based on block chain as described above.
The embodiment of the present invention has the advantages that on block chain and to gather around provided by the only each operational agency of carry with itself
There is the corresponding data directory of data.The data that party in request can inquire oneself needs according to the data directory of carry on block chain are deposited
Which operational agency be, information corresponding with demand data etc..Party in request can send request of data extremely by client
Request of data is sent to supplier's client by data exchange server by data exchange server.In this process, demand
Side needs to abide by intelligent contract, and intelligent contract is that supplier hangs on block chain, to constrain party in request to the rope of data
It takes and utilizes.For example limitation data can only be read primary, then just failure by party in request.Furthermore, it would be desirable to record request of data
Overall process.In this way, the whereabouts and utilization rate of data can be controlled effectively.And in request of data, supplier also needs to test
The legitimacy of requesting party is demonstrate,proved, therefore to determine whether request of data is legal according to intelligent contract and vendor ID information.Only
In legal situation, demand data is called;Demand data is encrypted and fed back using public key.To guarantee data transmission
Safety.By the above-mentioned means, can not only guarantee " mutual trust " between each operational agency, it can also realize that data are total
It enjoys, improves the work efficiency of each operational agency.
To achieve the above object, the embodiment of the present invention provides a kind of computer storage medium, which is characterized in that computer is deposited
Comprising one or more program instructions in storage media, one or more program instructions are used to be executed by data exchange server as above
A kind of Information Resource Access method based on block chain introduced.
Detailed description of the invention
Fig. 1 is a kind of Information Resource Access method flow schematic diagram based on block chain that the embodiment of the present invention 1 provides.
Fig. 2 is a kind of information resources apparatus structure schematic diagram based on block chain that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of information resource system structural schematic diagram based on block chain that the embodiment of the present invention 3 provides.
Specific embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation
Content disclosed by book is understood other advantages and efficacy of the present invention easily.
It should be clear that this specification structure depicted in this specification institute accompanying drawings, ratio, size etc., only to cooperate specification to be taken off
The content shown is not intended to limit the invention enforceable qualifications so that those skilled in the art understands and reads, therefore
Do not have technical essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size are not influencing the present invention
Under the effect of can be generated and the purpose that can reach, it should all still fall in disclosed technology contents and obtain the model that can cover
In enclosing.Meanwhile cited such as "upper", "lower", " left side ", the right side in this specification ", the term of " centre ", be merely convenient to chat
That states is illustrated, rather than to limit the scope of the invention, relativeness is altered or modified, and is changing skill without essence
It is held in art, when being also considered as the enforceable scope of the present invention.
Embodiment 1
The embodiment of the present invention 1 provides a kind of Information Resource Access method based on block chain, specific as shown in Figure 1, side
Data sharing of the scene of method application between related service mechanism.It is of course also possible to be applied to other answering suitable for this method
Use scene.In the present embodiment, mainly illustrate by taking the data sharing between related service mechanism as an example, this method is applied to one kind
Information Resource Access system based on block chain, the system include: party in request's client, supplier's client and data exchange clothes
Business device, this method are executed by data exchange server, this method comprises:
Step 110, the request of data that party in request's client is sent is received.
Specifically, request of data includes information corresponding with demand data, intelligent contract and vendor ID information, intelligence
It can include party in request's identification information on contract;Information corresponding with demand data, intelligent contract and vendor ID information are to need
From inquiry obtains in the data directory of carry on block chain, party in request is write on intelligent contract by party in request's client for the side of asking
The public key for entering party in request, as the identification information of party in request, intelligent contract includes the request qualifications for demand data, and
Save request process record.
Before this, it needs to do some preparations in advance.For example, supplier needs to count the data itself possessed.
Classify to data, then extracts the attribute information of every a kind of data according to certain rules.Remembered in the form of critical field
It is downloaded on data directory.Each supplier has a data directory corresponding on block chain.In addition, data directory up to
It less can also include that the corresponding request of data path of every a kind of data and the identification information of supplier oneself, i.e. supplier mark
Know information.Meanwhile supplier can also formulate intelligent contract, the intelligence contract is to bound data party in request to the data of request
Use.For example, can limit party in request's identity information of request data, using data area permission, using data when
Between and using data times etc..Pass through intelligent contract, it is ensured that the use of data belongs to the range that supplier can control
It is interior.And then promote the degree of belief between supplier and party in request.
And when party in request needs to supplier's request data, need that the public key of oneself is written in intelligent contract, with for
It square should can identify party in request's identity of request data.
And the overall process that intelligent contract also needs to record request of data and use.Once the use convenient for subsequent data occurs
Any accident can carry out retrospect corresponding responsibility according to record.
Step 120, request of data is sent to supplier's client, so as to when supplier's client according to intelligent contract and
When vendor ID information determines that request of data is legal, according to information corresponding with demand data, demand data is called;Utilize public affairs
Key is encrypted and is fed back to demand data.
Data exchange server needs for request of data to be sent to supplier's client.
Wherein, it is included at least with the corresponding information of demand data: critical field information corresponding with demand data and data
Request path.Request of data is sent to supplier's client, is specifically included:
It, will critical field information corresponding with demand data, intelligent contract and supplier's mark according to request of data path
Know information and is sent to supplier's client.
Supplier's client can determine whether request of data is legal according to intelligent contract and vendor ID information.
That is, determining that the request is destined to oneself according to vendor ID information first, oneself is needed to handle.So
Afterwards, it is also necessary to the identity of party in request is determined according to signing messages.Then determine that there is number of request in the party in request according to intelligent contract
According to permission.If met above, it can prove that the request of data is legal.Supplier can adjust from the database of itself
With demand data, then the public key of party in request is recycled to encrypt demand data, and feeds back to data exchange server.
Step 130, encrypted demand data is received, and feeds back to party in request's client.
Optionally, if party in request is it is desirable that result data, supplier in order to prevent let out by oneself source data
It is close, it can also that is to say in supplier's client and operation is carried out according to source data and corresponding algorithm, be tied in itself side
After fruit data, data exchange server is fed back to.
Or if the data that party in request requires need multiple suppliers to provide respectively, such as a supplier provides
Algorithm, a supplier provide source data.So, supplier can summarize all the elements with a customized supplier, including calculate
Method and source data, then unified feedback to data exchange server.And data exchange server is anti-together by algorithm and source data
It is fed to party in request's client.Alternatively, the data of oneself are sent to data exchange server respectively by each supplier, data are used
Swap server is uniformly sent to party in request's client.
It is set according to intelligent contract, party in request's client will not be immediately seen algorithm and data, but need to pass through sandbox
Operation obtains result.It that is to say, what party in request can be seen by client is still result data, and can't see source data
And algorithm.
Optionally, in order to promote data transmission performance, between party in request's client and data exchange server, can pass through
First middle layer carries out data transmission.That is, receiving the request of data that party in request's client is sent, specifically include: receiving party in request
Client passes through the request of data that the first middle layer is sent.
And/or encrypted demand data is received, and feed back to party in request's client, it specifically includes:
It receives supplier's client and passes through the encrypted demand data that the second middle layer is sent, and feed back to party in request visitor
Family end.And when feeding back to party in request's client, it again may be by the transmission of the first middle layer.Here practical middle layer is exactly pair
Calling interface far call agreement (Remote Procedure Call between party in request's client and data exchange server
Protocol, abbreviation RPC) interface is packaged.And the calling between supplier's client and data exchange server is connect
Mouth RPC interface is packaged.In a specific example, party in request's client and supplier's client can be agent machine.In
Interbed main function is decoupling, while simplifying agent function, is added to message queue in the intermediate layer, utilizes a set of distribution
Message Queuing Services, the corresponding information node of each agent, the processing that agent can be concurrent to the message of message queue,
To improve data transmission performance.
A kind of Information Resource Access method based on block chain provided in an embodiment of the present invention, only carry is each on block chain
Data directory corresponding with owned data provided by a operational agency.Party in request can be according to the number of carry on block chain
Which operational agency be present according to the data that directory oneself needs, information corresponding with demand data etc..Party in request can
To send request of data to data exchange server by client, request of data is sent to supply by data exchange server
Square client.In this process, party in request needs to abide by intelligent contract, and intelligent contract is that supplier hangs on block chain
, to constrain party in request's asking for and utilizing to data.For example limitation data can only be read primary, then just mistake by party in request
Effect.Furthermore, it would be desirable to record the overall process of request of data.In this way, the whereabouts and utilization rate of data can be controlled effectively.And
When request of data, supplier also needs the legitimacy of checking request side, therefore will be according to intelligent contract and vendor ID information
Determine whether request of data is legal.Only in legal situation, demand data is called;Demand data is encrypted using public key
And it feeds back.To guarantee the safety of data transmission.By the above-mentioned means, can not only guarantee the " phase between each operational agency
Mutually trust ", it can also realize data sharing, improve the work efficiency of each operational agency.
Embodiment 2
Corresponding with above-described embodiment 1, the embodiment of the present invention 2 additionally provides a kind of Information Resource Access based on block chain
Device, specifically as shown in Fig. 2, the device includes: receiving unit 201 and transmission unit 202.
Receiving unit 201, for receiving the request of data of party in request's client transmission, request of data includes and demand data
Corresponding information, intelligent contract and vendor ID information include party in request's identification information on intelligent contract;With demand data
Corresponding information, intelligent contract and vendor ID information are party in request from inquiry obtains in the data directory of carry on block chain
, party in request is signed on intelligent contract using public key by party in request's client, and intelligent contract includes for demand number
According to request qualifications, and save request process record;
Transmission unit 202, for request of data to be sent to supplier's client, so as to when supplier's client is according to intelligence
When energy contract and vendor ID information determine that request of data is legal, according to information corresponding with demand data, demand number is called
According to;Demand data is encrypted and fed back using public key;
Receiving unit 201 is also used to, and receives encrypted demand data;
Transmission unit 202 is also used to, and encrypted demand data is fed back to party in request's client.
Optionally, it receives party in request's client and passes through the request of data that the first middle layer is sent;And/or receiving unit 201
It is specifically used for, receives supplier's client and pass through the encrypted demand data that the second middle layer is sent, and feed back to party in request
Client.
Optionally, it is included at least with the corresponding information of demand data: critical field information sum number corresponding with demand data
According to request path;
Transmission unit 202 is specifically used for, according to request of data path, will critical field information corresponding with demand data,
Intelligent contract and vendor ID information are sent to supplier's client.
Optionally, when supplier contains at least two, receiving unit 201 is specifically used for: receiving at least two suppliers
The demand data that client is sent respectively, and feed back to party in request's client.
Function performed by each component in a kind of Information Resource Access system based on block chain provided in an embodiment of the present invention
It can be discussed in detail in above-described embodiment 1, therefore not do excessively repeat here.
A kind of Information Resource Access device based on block chain provided in an embodiment of the present invention, only carry is each on block chain
Data directory corresponding with owned data provided by a operational agency.Party in request can be according to the number of carry on block chain
Which operational agency be present according to the data that directory oneself needs, information corresponding with demand data etc..Party in request can
To send request of data to data exchange server by client, request of data is sent to supply by data exchange server
Square client.In this process, party in request needs to abide by intelligent contract, and intelligent contract is that supplier hangs on block chain
, to constrain party in request's asking for and utilizing to data.For example limitation data can only be read primary, then just mistake by party in request
Effect.Furthermore, it would be desirable to record the overall process of request of data.In this way, the whereabouts and utilization rate of data can be controlled effectively.And
When request of data, supplier also needs the legitimacy of checking request side, therefore will be according to intelligent contract and vendor ID information
Determine whether request of data is legal.Only in legal situation, demand data is called;Demand data is encrypted using public key
And it feeds back.To guarantee the safety of data transmission.By the above-mentioned means, can not only guarantee the " phase between each operational agency
Mutually trust ", it can also realize data sharing, improve the work efficiency of each operational agency.
Embodiment 3
Corresponding with above-described embodiment, the embodiment of the present invention 3 additionally provides a kind of information resources based on block chain and obtains
System is taken, specifically as shown in figure 3, the system includes: party in request's client 301, supplier's client 302 and data exchange service
Device 303.Wherein, party in request's client 301 and supplier's client 302 can be agent machine.
Party in request's client 301, for from block chain in the data directory of carry inquiry obtain it is corresponding with demand data
Information, intelligent contract and vendor ID information, signed on intelligent contract using public key;
Will after information corresponding with demand data, intelligent contract and vendor ID information constitutes a request of data,
It is sent to data exchange server 303;
Supplier's client 302, for requesting legitimacy according to vendor ID information and intelligent contract verify data;
And when request of data is legal, according to information corresponding with demand data, demand data is called;Using public key to need
It asks data to be encrypted and feeds back to data exchange server 303;
Data exchange server 303 is used to execute the method such as embodiment 1.
A kind of Information Resource Access system based on block chain provided in an embodiment of the present invention, only carry is each on block chain
Data directory corresponding with owned data provided by a operational agency.Party in request can be according to the number of carry on block chain
Which operational agency be present according to the data that directory oneself needs, information corresponding with demand data etc..Party in request can
To send request of data to data exchange server 303 by client, request of data is sent by data exchange server 303
To supplier's client 302.In this process, party in request needs to abide by intelligent contract, and intelligent contract is that supplier hangs over
On block chain, to constrain party in request's asking for and utilizing to data.For example limitation data can only be read once by party in request,
Then it just fails.Furthermore, it would be desirable to record the overall process of request of data.In this way, the whereabouts and benefit of data can be controlled effectively
With rate.And in request of data, supplier also needs the legitimacy of checking request side, therefore will be according to intelligent contract and supplier
Identification information determines whether request of data is legal.Only in legal situation, demand data is called;Using public key to demand data
It is encrypted and is fed back.To guarantee the safety of data transmission.By the above-mentioned means, can not only guarantee each operational agency it
Between " mutual trust ", can also realize data sharing, improve the work efficiency of each operational agency.
Embodiment 4
Corresponding with above-described embodiment, the embodiment of the invention also provides a kind of computer storage medium, the computers
Include one or more program instructions in storage medium.Wherein, one or more program instructions are used for by data exchange server
Execute a kind of Information Resource Access method based on block chain as described above.
Although above having used general explanation and specific embodiment, the present invention is described in detail, at this
On the basis of invention, it can be made some modifications or improvements, this will be apparent to those skilled in the art.Therefore,
These modifications or improvements without departing from theon the basis of the spirit of the present invention are fallen within the scope of the claimed invention.
Claims (10)
1. a kind of Information Resource Access method based on block chain, which is characterized in that the method is applied to a kind of based on block
The Information Resource Access system of chain, the system comprises: party in request's client, supplier's client and data exchange server,
The method is executed by data exchange server, which comprises
The request of data that party in request's client is sent is received, the request of data includes information corresponding with demand data, intelligence
Contract and vendor ID information, it is described intelligence contract on include party in request's identification information;It is described corresponding with demand data
Information, intelligent contract and vendor ID information are party in request from inquiry obtains in the data directory of carry on block chain, described
The public key of the party in request, the intelligence contract is written by party in request's client in party in request on the intelligent contract
Comprising the request qualifications for demand data, and save request process record;
The request of data is sent to supplier's client, so as to when supplier's client according to the intelligent contract and
When vendor ID information determines that request of data is legal, according to information corresponding with demand data, demand data is called;Using institute
It states public key and the demand data is encrypted and fed back;
Encrypted demand data is received, and feeds back to party in request's client.
2. the method according to claim 1, wherein it is described receive party in request's client send request of data,
It specifically includes: receiving party in request's client and pass through the request of data that the first middle layer is sent.
3. method according to claim 1 or 2, which is characterized in that it is described to receive encrypted demand data, and feed back to
Party in request's client, specifically includes:
It receives supplier's client and passes through the encrypted demand data that the second middle layer is sent, and feed back to described
Party in request's client.
4. the method according to claim 1, wherein the information corresponding with demand data includes at least: with
The corresponding critical field information of demand data and data request path;
It is described that the request of data is sent to supplier's client, it specifically includes:
According to the request of data path, will the critical field information corresponding with demand data, the intelligence contract and
Vendor ID information is sent to supplier's client.
5. according to claim 1,2 or 4 described in any item methods, which is characterized in that when the supplier contains at least two
When, the method also includes:
The demand data that at least two supplier's clients are sent respectively is received, and feeds back to party in request's client.
6. a kind of Information Resource Access device based on block chain, which is characterized in that described device includes:
Receiving unit, for receiving the request of data of party in request's client transmission, the request of data includes and demand data pair
The information answered, intelligent contract and vendor ID information include party in request's identification information on the intelligence contract;Described and need
Asking the corresponding information of data, intelligent contract and vendor ID information is party in request from looking into the data directory of carry on block chain
It askes and obtains, the public key of the party in request, institute is written by party in request's client in the party in request on the intelligent contract
Stating intelligent contract includes the request qualifications for demand data, and saves request process record;
Transmission unit, for the request of data to be sent to supplier's client, so as to when supplier's client according to
When the intelligence contract and vendor ID information determine that request of data is legal, according to information corresponding with demand data, call
Demand data;The demand data is encrypted and fed back using the public key;
The receiving unit is also used to, and receives encrypted demand data;
The transmission unit is also used to, and the encrypted demand data is fed back to party in request's client.
7. device according to claim 6, which is characterized in that receive what party in request's client was sent by the first middle layer
Request of data;And/or the receiving unit is specifically used for, and receives what supplier's client was sent by the second middle layer
The encrypted demand data, and feed back to party in request's client.
8. device according to claim 6, which is characterized in that the information corresponding with demand data includes at least: with
The corresponding critical field information of demand data and data request path;
The transmission unit is specifically used for, will the critical field corresponding with demand data according to the request of data path
Information, the intelligent contract and vendor ID information are sent to supplier's client.
9. a kind of Information Resource Access system based on block chain, which is characterized in that the system comprises: party in request's client,
Supplier's client and data exchange server;
Party in request's client, for from inquiry obtains letter corresponding with demand data in the data directory of carry on block chain
The public key of the party in request is written in breath, intelligent contract and vendor ID information on the intelligent contract;
After the information corresponding with demand data, intelligent contract and vendor ID information are constituted a request of data,
It is sent to data exchange server;
Supplier's client, for legal according to the vendor ID information and the intelligent contract verify data request
Property;
And when the request of data is legal, according to information corresponding with demand data, demand data is called;Utilize the public key
The demand data is encrypted and feeds back to data exchange server;
The data exchange server is for executing the method according to claim 1 to 5.
10. a kind of computer storage medium, which is characterized in that refer in the computer storage medium comprising one or more programs
It enables, one or more of program instructions are used to be executed as described in claim any one of 1-5 by a kind of data exchange server
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811519652.0A CN109614822A (en) | 2018-12-12 | 2018-12-12 | A kind of Information Resource Access method, apparatus and system based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811519652.0A CN109614822A (en) | 2018-12-12 | 2018-12-12 | A kind of Information Resource Access method, apparatus and system based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109614822A true CN109614822A (en) | 2019-04-12 |
Family
ID=66008197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811519652.0A Pending CN109614822A (en) | 2018-12-12 | 2018-12-12 | A kind of Information Resource Access method, apparatus and system based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109614822A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245150A (en) * | 2019-05-30 | 2019-09-17 | 阿里巴巴集团控股有限公司 | Data processing, querying method, device, equipment and data processing system |
CN110264206A (en) * | 2019-06-24 | 2019-09-20 | 北京艾摩瑞策科技有限公司 | A kind of electric quotient data cochain method and its equipment based on block chain |
CN111783160A (en) * | 2020-09-07 | 2020-10-16 | 南京金宁汇科技有限公司 | Government affair data sharing method |
CN113779621A (en) * | 2021-08-24 | 2021-12-10 | 浙江数秦科技有限公司 | Data sharing method based on block chain |
CN114004595A (en) * | 2021-11-03 | 2022-02-01 | 上海边界智能科技有限公司 | Block chain-based government affair statistical information management method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107105041A (en) * | 2017-04-27 | 2017-08-29 | 电子科技大学 | One medical big data management system and framework based on block chain |
CN107563112A (en) * | 2017-07-26 | 2018-01-09 | 上海若灵软件技术有限公司 | A kind of medical information sharing system |
CN108234457A (en) * | 2017-12-18 | 2018-06-29 | 苏州涞泽信息科技有限公司 | A kind of credible government data based on block chain shares network system and sharing method |
CN108830601A (en) * | 2018-06-25 | 2018-11-16 | 上海延华大数据科技有限公司 | Smart city information security application method and system based on block chain |
CN108881160A (en) * | 2018-05-07 | 2018-11-23 | 北京信任度科技有限公司 | Medical treatment & health data managing method and system based on block chain intelligence contract |
US10417219B1 (en) * | 2018-03-28 | 2019-09-17 | Macrogen, Inc. | Data sharing method based on plurality of blockchains |
-
2018
- 2018-12-12 CN CN201811519652.0A patent/CN109614822A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107105041A (en) * | 2017-04-27 | 2017-08-29 | 电子科技大学 | One medical big data management system and framework based on block chain |
CN107563112A (en) * | 2017-07-26 | 2018-01-09 | 上海若灵软件技术有限公司 | A kind of medical information sharing system |
CN108234457A (en) * | 2017-12-18 | 2018-06-29 | 苏州涞泽信息科技有限公司 | A kind of credible government data based on block chain shares network system and sharing method |
US10417219B1 (en) * | 2018-03-28 | 2019-09-17 | Macrogen, Inc. | Data sharing method based on plurality of blockchains |
CN108881160A (en) * | 2018-05-07 | 2018-11-23 | 北京信任度科技有限公司 | Medical treatment & health data managing method and system based on block chain intelligence contract |
CN108830601A (en) * | 2018-06-25 | 2018-11-16 | 上海延华大数据科技有限公司 | Smart city information security application method and system based on block chain |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245150A (en) * | 2019-05-30 | 2019-09-17 | 阿里巴巴集团控股有限公司 | Data processing, querying method, device, equipment and data processing system |
CN110245150B (en) * | 2019-05-30 | 2023-03-17 | 创新先进技术有限公司 | Data processing method, data processing device, data query method, data query device, data processing equipment and data processing system |
CN110264206A (en) * | 2019-06-24 | 2019-09-20 | 北京艾摩瑞策科技有限公司 | A kind of electric quotient data cochain method and its equipment based on block chain |
CN111783160A (en) * | 2020-09-07 | 2020-10-16 | 南京金宁汇科技有限公司 | Government affair data sharing method |
CN113779621A (en) * | 2021-08-24 | 2021-12-10 | 浙江数秦科技有限公司 | Data sharing method based on block chain |
CN113779621B (en) * | 2021-08-24 | 2023-08-22 | 浙江数秦科技有限公司 | Data sharing method based on block chain |
CN114004595A (en) * | 2021-11-03 | 2022-02-01 | 上海边界智能科技有限公司 | Block chain-based government affair statistical information management method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109614822A (en) | A kind of Information Resource Access method, apparatus and system based on block chain | |
CN109510846B (en) | API calling system, method and device, electronic equipment and storage medium | |
CN111309374B (en) | Micro-service system and service calling method in micro-service system | |
Daigneau | Service Design Patterns: fundamental design solutions for SOAP/WSDL and restful Web Services | |
JP5337702B2 (en) | Securing distributed application information delivery | |
JP6556706B2 (en) | Systems and methods for encryption key management, collaboration, and distribution | |
CN109144961A (en) | Authority sharing method and device | |
WO2019219324A1 (en) | Automated data projection for smart contract groups on a blockchain | |
CN114978638B (en) | Block chain cross-chain supervision method based on shared node | |
WO2020248768A1 (en) | Method and apparatus for managing application program service | |
US7519602B2 (en) | Systems and methods for information exchange using object warehousing | |
CN109510840A (en) | Sharing method, device, computer equipment and the storage medium of unstructured data | |
US20080301053A1 (en) | Service broker | |
CN109614821A (en) | A kind of data exchange server and data transmission system based on block chain | |
CN112235193A (en) | Data transmission method, device, equipment and medium based on cross-network multi-level routing | |
WO2023056713A1 (en) | Cloud platform binding method and system for internet of things card, and device and medium | |
Khan et al. | A model-driven approach for access control in internet of things (IoT) applications–an introduction to UMLOA | |
CN102693163A (en) | Response communication method in application on on-line application platform and on-line application platform | |
CN113676494B (en) | Centralized data processing method and device | |
CN115766123A (en) | Data cross-domain authorization method and device and electronic equipment | |
Ritter et al. | Toward a collection of cloud integration patterns | |
US20210314362A1 (en) | Cross-service rulebook management in a dynamic and adversarial environment | |
CN108694040A (en) | Calling processing method and device, communication system | |
Robinson et al. | From business process choreography to authorization policies | |
WO2015149530A1 (en) | M2m application service method, device and system |
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: 20190412 |
|
RJ01 | Rejection of invention patent application after publication |