Summary of the invention
The embodiment of the present application provides a kind of resource share method, system, device and electronic equipment, to solve the prior art
In the resource that can be shared than relatively limited, even if can be realized certain resources it is shared be also required to resources requesting party pay it is larger
Cost the problem of.
In order to solve the above technical problems, the embodiment of the present application is achieved in that
In a first aspect, proposing a kind of resource share method, comprising:
Information of the resources requesting party based on the shared resource issued in the public account book of block chain on block catenary system, Xiang Guan
The super node for managing the shared resource sends the use request of shared resource;Wherein, include in the information of the shared resource
The sharing policy of the shared resource includes obtaining what the shared resource needed to pay in the sharing policy of the shared resource
Transaction cost;
The super node is based on described using between request and the resources requesting party and the resource provider
Transaction record determines the corresponding resources use right limit information of transaction cost of resource request direction resource provider payment;
The super node is based on the resources use right limit information, distributes the shared resource for the resources requesting party
Or the scheduling shared resource is requested with the use for completing the resources requesting party.
Second aspect proposes a kind of resource share method, and the method is applied to the super node in block catenary system,
The described method includes:
The shared resource from resource provider is received, and issues institute in the public account book of block chain on block catenary system
The information of shared resource is stated, so that resources requesting party is based on issuing in the public account book of block chain on the block catenary system
The information of shared resource sends the use request of shared resource to the super node for managing the shared resource;Wherein, described total
The sharing policy in the information of resource including the shared resource is enjoyed, includes described in acquisition in the sharing policy of the shared resource
Shared resource needs the transaction cost paid;
Based on described using the transaction record requested and between the resources requesting party and the resource provider, really
The corresponding resources use right limit information of transaction cost of fixed resource request direction resource provider payment;
Based on the resources use right limit information, the shared resource is distributed for the resources requesting party or scheduling is described total
Resource is enjoyed to complete the use of resources requesting party request.
The third aspect proposes a kind of resource sharing system, including resource provider, resources requesting party and super node,
Wherein:
The resource provider uploads shared resource to the super node, so that the super node is in block linkwork
The information of the shared resource is issued in the public account book of block chain on system;
The resources requesting party is based on the shared resource issued in the public account book of block chain on the block catenary system
Information sends the use request of shared resource to the super node for managing the shared resource;Wherein, the letter of the shared resource
Include the sharing policy of the shared resource in breath, includes obtaining the shared resource to need in the sharing policy of the shared resource
The transaction cost to be paid;
The super node is based on described using between request and the resources requesting party and the resource provider
Transaction record determines the corresponding resources use right limit information of transaction cost of resource request direction resource provider payment;
And it is based on the resources use right limit information, the shared resource or the scheduling shared resource are distributed for the resources requesting party
To complete the use request of the resources requesting party.
Fourth aspect proposes a kind of resource shared device, comprising:
Receiving unit receives the shared resource from resource provider, and the public account of block chain on block catenary system
The information that the shared resource is issued in this, so that resources requesting party is based on the public account of block chain on the block catenary system
The information for the shared resource issued in this sends the use request of shared resource to the super node for managing the shared resource;
It wherein, include the sharing policy of the shared resource in the information of the shared resource, in the sharing policy of the shared resource
The transaction cost for needing to pay including obtaining the shared resource;
Determination unit uses the friendship requested and between the resources requesting party and the resource provider based on described
Easily record determines the corresponding resources use right limit information of transaction cost of resource request direction resource provider payment;
Complete unit, be based on the resources use right limit information, for the resources requesting party distribute the shared resource or
The shared resource is dispatched to complete the use of resources requesting party request.
5th aspect, proposes a kind of electronic equipment, which includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
It manages device and executes following operation:
The shared resource from resource provider is received, and issues institute in the public account book of block chain on block catenary system
The information of shared resource is stated, so that resources requesting party is based on issuing in the public account book of block chain on the block catenary system
The information of shared resource sends the use request of shared resource to the super node for managing the shared resource;Wherein, described total
The sharing policy in the information of resource including the shared resource is enjoyed, includes described in acquisition in the sharing policy of the shared resource
Shared resource needs the transaction cost paid;
Based on described using the transaction record requested and between the resources requesting party and the resource provider, really
The corresponding resources use right limit information of transaction cost of fixed resource request direction resource provider payment;
Based on the resources use right limit information, the shared resource is distributed for the resources requesting party or scheduling is described total
Resource is enjoyed to complete the use of resources requesting party request.
6th aspect, proposes a kind of computer readable storage medium, the computer-readable recording medium storage one
Or multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that the electricity
Sub- equipment executes following operation:
The shared resource from resource provider is received, and issues institute in the public account book of block chain on block catenary system
The information of shared resource is stated, so that resources requesting party is based on issuing in the public account book of block chain on the block catenary system
The information of shared resource sends the use request of shared resource to the super node for managing the shared resource;Wherein, described total
The sharing policy in the information of resource including the shared resource is enjoyed, includes described in acquisition in the sharing policy of the shared resource
Shared resource needs the transaction cost paid;
Based on described using the transaction record requested and between the resources requesting party and the resource provider, really
The corresponding resources use right limit information of transaction cost of fixed resource request direction resource provider payment;
Based on the resources use right limit information, the shared resource is distributed for the resources requesting party or scheduling is described total
Resource is enjoyed to complete the use of resources requesting party request.
The embodiment of the present application at least can achieve following technical effects by adopting the above technical scheme:
Since resources requesting party can be based on the shared resource issued in the public account book of block chain on block catenary system
Information sends the use request of shared resource to the super node of managing shared resource;Wherein, include in the information of shared resource
The sharing policy of shared resource includes the transaction cost for obtaining shared resource and needing to pay in the sharing policy of shared resource, surpasses
Grade node can determine that resource is asked based on this using request and the transaction record between resources requesting party and resource provider
The corresponding resources use right limit information of transaction cost for asking direction resource provider to pay, and can be based on resources use right limit letter
Breath distributes shared resource or scheduling shared resources for resources requesting party so as to complete the use request of resources requesting party.Benefit
With the feature that the process of exchange in block catenary system is open and clear, provided for different types of resource-sharing easily shared flat
Platform greatly facilitates the access right that resources requesting party gets shared resource.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
To solve the resource that can be shared in the prior art than relatively limited, even if can be realized being total to for certain resources
It enjoys and is also required to the problem of resources requesting party pays biggish cost, this specification embodiment provides a kind of resource share method.
Specifically, a kind of implementation process schematic diagram for resource share method that this specification one or more embodiment provides
As shown in Figure 1, comprising:
Step 110, resources requesting party is based on the shared resource issued in the public account book of block chain on block catenary system
Information sends the use request of shared resource to the super node of managing shared resource;
Wherein, include the sharing policy of shared resource in the information of shared resource, include in the sharing policy of shared resource
Obtain the transaction cost that shared resource needs to pay.Optionally, obtaining shared resource needs the transaction cost that pays specifically can be with
It is measured with transaction points that most of nodes in block chain are reached common understanding.In addition, the shared money of the acquisition for including in sharing policy
Source needs in the transaction cost that pays, specifically may further specify that use in unit interval or dispatch the shared resource and needs to pay
Transaction cost, for example can specify that using the transaction points for needing to pay in some shared resource per unit time section.
Optionally, the use of shared resource is requested to complete resources requesting party convenient for super node, this is used in request
It may include that resources requesting party wants the duration using the shared resource, using information such as the purposes of the shared resource.
Optionally, for convenient for the shared resource being uploaded in block catenary system is managed and is dispatched, the block linkwork
System includes at least one super node and multiple ordinary nodes, wherein a super node manages at least one common section
Point, then super node may include: to the processing step for the shared resource that resource provider uploads
The sharing policy of the shared resource and shared resource of the super node reception from resource provider;
Super node stores shared resource at least one ordinary node of super node management, and by shared resource
Shared information be recorded in the public account book of block chain.
Wherein, after the shared information of shared resource being recorded in the public account book of block chain, resources requesting party then can be with
Required shared resource, and the transaction cost for needing to pay using the shared resource are found in the public account book of block chain
Etc. information.
Optionally, in order to improve the shared resource being uploaded in block catenary system, such as data resource or algorithm resource etc.
It is easy the safety of resource being stolen, when shared resource includes data resource or algorithm resource, super node is by shared money
Source is stored at least one ordinary node of super node management, can specifically be beaten shared resource by following step
It dissipates and encrypts storage:
Shared resource is divided at least one set of resource by super node;
At least one set of resource is encrypted super node;
Super node respectively stores at least one set of resource after encryption at least one institute of super node management
It states in ordinary node.
For example, the ordinary node of super node management has 10, then shared resource can be divided into 10 groups of resources, then
Every group of resource is encrypted, finally by an ordinary node of every group of resource random storage to the super node management
In, and by specific storage condition, i.e., which ordinary node stores which group shared resource, and the public account of block chain is arrived in encryption storage
In this.
Optionally, in order to improve the safety of shared resource, this specification one or more embodiment can also be preset altogether
The acquisition permission of resource is enjoyed, for example the indexs such as possessed transaction points, account reputation can be set more than or equal to some threshold
The resource request of value has the acquisition permission of shared resource just now.That is, not all resources requesting party can be to
Super node sends the use request of shared resource, and the resources requesting party for only having the acquisition permission of shared resource can be to
Super node sends the use request of shared resource.So, when shared resource includes data resource or algorithm resource, money is shared
Further including in the sharing policy in source can be with the acquisition permission of shared resource, then resources requesting party is based on the block on block catenary system
The information of the shared resource of the public account book publication of chain, the use for sending shared resource to the super node of managing shared resource are asked
It asks, can specifically include following step:
The information of shared resource of the resources requesting party based on the public account book publication of block chain on block catenary system, determines money
Whether source requesting party has the acquisition permission of shared resource;
If resources requesting party has the acquisition permission of shared resource, shared resource can be sent to management super node
Use request.
Optionally, when shared resource includes computing resource, the shared money of the acquisition for including in the sharing policy of shared resource
The presetting method for the transaction cost that source needs to pay is by following at least one determining:
It is preset by the resource provider of shared resource;
It is determined by super node based on the trading situation of other computing resources in block catenary system.
Wherein, computing resource can specifically include central processing unit (Central Processing Unit, CPU) and figure
Shape processor (Graphics Processing Unit, GPU) can pass through super node at actually shared (hiring out)
Ballot is initiated in block catenary system to determine the unit of CPU and GPU, that is, the GPU of the CPU and per unit that determine per unit are specific
Including resource size, and the unit time in rent per unit CPU and per unit GPU required payment transaction cost
Both can be by resource provider Lai preset, it can also transaction feelings by super node based on other computing resources in block chain
Condition determines.
Step 120, super node is based on the transaction note for using request and between resources requesting party and resource provider
Record determines the corresponding resources use right limit information of transaction cost of resource request direction resource provider payment;
Wherein, in order to guarantee the arm's length transaction between resources requesting party and resource provider, resources requesting party is in Xiang Ziyuan
After provider pays transaction cost, then transaction record caused by the payment can be sent to super node, similarly, money
Source provider can also send produced by the payment after the transaction cost for receiving resources requesting party's payment to super node
Transaction record, so that super node verifies the transaction record.
It should be understood that in order to improve safety of the shared resource after sharing to resources requesting party, in resources use right limit
It may include that resources requesting party is able to use or calls the information such as the duration of shared resource, access right.
Step 130, super node is based on resources use right limit information, distributes shared resource or scheduling altogether for resources requesting party
Resource is enjoyed to complete the use of resources requesting party request.
Optionally, in order to avoid computing resource is also uploaded in block chain while using, so as to cause to provide
Source requesting party after getting the access right of the computing resource, can not the normal use computing resource, this specification implemented
Example in computing resource after being distributed on the public account book of block chain and by super node distribute to resources requesting party it
Before, in locked state.Wherein, during computing resource is in locked state, be cannot by resource provider or
Person's other users use.
Optionally, it when shared resource includes machine learning model, for the interests of Support Resource requesting party, avoids providing
After source requesting party pays the payment cost of shared resource, the shared resource for meeting its demand is not obtained, this specification is real
Intelligent contract can be formulated based on the use request of resources requesting party and transaction record by applying example, with constraint resource provider completion
The use of resources requesting party is requested.So, when shared resource includes machine learning model, then super node is used based on resource
Authority information completes the use request of resources requesting party for resources requesting party's scheduling shared resources, comprising:
Super node is directed to the transaction record of machine learning model based on resources requesting party and resource provider, generates intelligence
Contract is that resources requesting party's training obtains machine learning model to supervise resource provider;
If super node determines that resource provider completes intelligent contract, preset condition is determined for compliance with from block catenary system
User, to carry out an acceptance inspection to resource provider as the obtained machine learning model of resource provider training.
Wherein, in order to guarantee that resource provider has fulfiled intelligent contract, being satisfied it for resources requesting party's training is needed
The artificial intelligence model asked, super node are determined for compliance with the user of preset condition from block catenary system, specifically can be from block
Multiple users more authoritative in the field of the artificial intelligence model are determined in catenary system, provided for resource resource provider
The artificial intelligence model that Fang Xunlian is obtained carries out an acceptance inspection.
Optionally, when shared resource includes environmental level, then super node is based on resources use right limit information, is resource
Requesting party's scheduling shared resources are requested with the use for completing resources requesting party, comprising:
Super node is directed to the transaction record of the environmental level based on resources requesting party and resource provider, generates intelligence
Contract is disposed to obtain environmental level as resource provider to supervise resource provider;
If super node determines that resource provider completes intelligent contract, can be determined for compliance with from block catenary system default
The user of condition is carried out an acceptance inspection using the environmental level disposed to resource provider as resource provider.
Wherein, it in order to guarantee that resource provider has fulfiled intelligent contract, is deployed for resources requesting party and meets its demand
Environmental level, super node are determined for compliance with the user of preset condition from block catenary system, specifically can be from block catenary system
Multiple users more authoritative in the deployment field of the environmental level are determined, to be that resource provider is disposed to resource provider
To environmental level carry out an acceptance inspection.
Optionally, when shared resource includes data resource or algorithm resource, super node is based on resources use right limit letter
Breath distributes shared resource or scheduling shared resources for resources requesting party to complete the use of resources requesting party and request, specifically then may be used
It is shared in multiple ordinary nodes by being stored in the storage condition according to the shared resource recorded in the public account book of block chain
Resource is decrypted, and carries out splicing, is finally issued in the secrecy node of super node management, and announcing resource is requested
Side's downloading from the secrecy node obtains the shared resource.Wherein, each super node in block catenary system except management have to
A few ordinary node, also management have at least one secrecy node, which is used to store the use for obtaining shared resource
Or the resources requesting party of permission is called to request the shared resource used.
Optionally, when shared resource includes data resource, public affairs of the data resource to the resources requesting party in block chain
The degree of opening includes following three kinds:
1, full disclosure;
When extent of disclosure of a certain data resource to the resources requesting party in block chain is full disclosure, block catenary system
In all resources requesting parties all have the acquisition permission of the data resource, that is to say, that as long as resources requesting party pays this
The acquisition data resource for including in the sharing policy of data resource needs the transaction cost paid, it will be able to get and the money
The corresponding resources use right limit of the transaction cost of source requesting party payment.
2, part is open;
When extent of disclosure of a certain data resource to the resources requesting party in block chain is that part is open, block catenary system
In only have the data resource the resources requesting party of acquisition permission can obtain the access right of the data resource, such as
Resource provider can define the transaction points only possessed and be greater than or equal to preset threshold when uploading a certain data resource
Resource request has the acquisition permission of the data resource just now.So, resources requesting party be greater than in its transaction points possessed or
Equal to preset threshold and pay the transaction that the acquisition data resource for including in the sharing policy of the data resource needs to pay
Cost can get resources use right corresponding with the transaction cost of resources requesting party payment and limit.
3, completely underground.
When extent of disclosure of a certain data resource to the resources requesting party in block chain is completely underground, data money
Source then can store, transmits or train for artificial intelligence model, at this point, for the loss for avoiding the data resource, Ke Yishe
The security classification of the data resource is set, different security classifications corresponds to different duplication passes, such as the number that security classification is 1
Correspond to according to resource and store up 3 store-throughs of data resource duplication into each ordinary node of super node management, security classification is 2
Data resource, which corresponds to, stores up 5 store-throughs of data resource duplication into each ordinary node of super node management.When resource provides
When side wants using these data resources, then data can be sent to super node using request, so that super node will be deposited
It stores up data resource into different ordinary nodes and carries out splicing and be issued in secrecy node, enable resource provider from secrecy
Downloading obtains the data resource in node.
It should be noted that the resources requesting party and resource provider in this specification one or more embodiment are to gather around
The user for the account for thering is block catenary system to be distributed.
Since resources requesting party can be based on the shared resource issued in the public account book of block chain on block catenary system
Information sends the use request of shared resource to the super node of managing shared resource;Wherein, include in the information of shared resource
The sharing policy of shared resource includes the transaction cost for obtaining shared resource and needing to pay in the sharing policy of shared resource, surpasses
Grade node can determine that resource is asked based on this using request and the transaction record between resources requesting party and resource provider
The corresponding resources use right limit information of transaction cost for asking direction resource provider to pay, and can be based on resources use right limit letter
Breath distributes shared resource or scheduling shared resources for resources requesting party so as to complete the use request of resources requesting party.Benefit
With the feature that the process of exchange in block catenary system is open and clear, provided for different types of resource-sharing easily shared flat
Platform greatly facilitates the access right that resources requesting party gets shared resource.
Fig. 2 is the implementation process that the resource share method that this specification provides is applied to the super node in block catenary system
Schematic diagram, comprising:
Step 210, the shared resource from resource provider, and the public account book of block chain on block catenary system are received
The information of middle publication shared resource, so that resources requesting party is based on issuing in the public account book of block chain on block catenary system
The information of shared resource sends the use request of shared resource to the super node of managing shared resource;Wherein, shared resource
Include the sharing policy of shared resource in information, includes the friendship for obtaining shared resource and needing to pay in the sharing policy of shared resource
Easy cost;
Step 220, based on request and the transaction record between resources requesting party and resource provider is used, money is determined
Request the corresponding resources use right limit information of transaction cost of direction resource provider payment in source;
Step 230, be based on resources use right limit information, for resources requesting party distribute shared resource or scheduling shared resources with
Complete the use request of resources requesting party.
The specific implementation of embodiment illustrated in fig. 2 correlation step can refer to the specific of step corresponding in embodiment illustrated in fig. 1
It realizes, details are not described herein for this specification one or more embodiment.
Since resources requesting party can be based on the shared resource issued in the public account book of block chain on block catenary system
Information sends the use request of shared resource to the super node of managing shared resource;Wherein, include in the information of shared resource
The sharing policy of shared resource includes the transaction cost for obtaining shared resource and needing to pay in the sharing policy of shared resource, surpasses
Grade node can determine that resource is asked based on this using request and the transaction record between resources requesting party and resource provider
The corresponding resources use right limit information of transaction cost for asking direction resource provider to pay, and can be based on resources use right limit letter
Breath distributes shared resource or scheduling shared resources for resources requesting party so as to complete the use request of resources requesting party.Benefit
With the feature that the process of exchange in block catenary system is open and clear, provided for different types of resource-sharing easily shared flat
Platform greatly facilitates the access right that resources requesting party gets shared resource.
Fig. 3 is the structural schematic diagram for the resource sharing system 300 that this specification provides, and refers to Fig. 3, real in a kind of software
It applies in mode, resource sharing system 300 may include resource provider 301, resources requesting party 302 and super node 303, in which:
The resource provider 301 uploads shared resource to the super node, so that the super node is in block
The information of the shared resource is issued in the public account book of block chain on catenary system;
The resources requesting party 302 is based on the shared resource issued in the public account book of block chain on the block catenary system
Information, the use request of shared resource is sent to the super node for managing the shared resource;Wherein, the shared resource
Include the sharing policy of the shared resource in information, includes obtaining the shared resource in the sharing policy of the shared resource
The transaction cost for needing to pay;
The super node 303 be based on it is described using request and the resources requesting party and the resource provider it
Between transaction record, determine the transaction cost corresponding resources use right limit letter of resource request direction resource provider payment
Breath;And it is based on the resources use right limit information, the shared resource is distributed for the resources requesting party or scheduling is described shared
Resource is requested with the use for completing the resources requesting party.
Optionally, in one embodiment, described total when the shared resource includes data resource or algorithm resource
It enjoys when further including the acquisition permission of the shared resource in the sharing policy of resource, the resources requesting party 302 is specifically used for:
The information of shared resource based on the public account book publication of block chain on block catenary system, determines the resource request
Whether side has the acquisition permission of the shared resource;
If it is determined that the resources requesting party has the acquisition permission of the shared resource, then to the management super node hair
The use of the shared resource is sent to request.
Optionally, in one embodiment, when the shared resource includes computing resource, the shared resource is total to
The transaction cost that the acquisition shared resource for including in strategy needs to pay is enjoyed to be determined by following at least one:
Resource provider by the shared resource is preset;
It is determined by the super node based on the trading situation of other computing resources in the block catenary system.
Optionally, in one embodiment, the computing resource on being distributed to the public account book of block chain it
Afterwards, before and distributing to the resources requesting party by the super node, in locked state.
Optionally, in one embodiment, when the shared resource includes machine learning model, then the super section
Point 303, is specifically used for:
It is directed to the transaction record of the machine learning model based on the resources requesting party and the resource provider, generates
Intelligent contract is that resources requesting party training obtains the machine learning model to supervise the resource provider;
If it is determined that the resource provider completes the intelligent contract, then it is determined for compliance with from the block catenary system default
The user of condition, to be that the machine learning model that resource provider training obtains is tested to the resource provider
It receives.
Optionally, in one embodiment, when the shared resource includes environmental level, then the super node
303, it is specifically used for:
It is directed to the transaction record of the environmental level based on the resources requesting party and the resource provider, generates intelligence
Contract is that the resource provider disposes to obtain the environmental level to supervise the resource provider;
If it is determined that the resource provider completes the intelligent contract, then it is determined for compliance with from the block catenary system default
The user of condition, to be that the environmental level that the resource provider is disposed carries out an acceptance inspection to the resource provider.
Optionally, in one embodiment, the block catenary system includes at least one described super node, Yi Jiduo
A ordinary node, a super node manage at least one described ordinary node, then the super node 303, are also used to:
Receive the sharing policy of the shared resource and the shared resource from the resource provider;
The shared resource is stored at least one described ordinary node of the super node management, and will be described
The shared information of shared resource is recorded in the public account book of block chain.
Optionally, in one embodiment, described super when the shared resource includes data resource or algorithm resource
Grade node 303, is used for:
The shared resource is divided at least one set of resource;
At least one set of resource is encrypted;
At least one set of resource after the encryption is stored at least one institute of the super node management respectively
It states in ordinary node.
The method that resource sharing system 300 can be realized the embodiment of the method for Fig. 1, specifically refers to embodiment illustrated in fig. 1
Resource share method, repeat no more.
Fig. 4 is the structural schematic diagram for the resource shared device 400 that this specification provides.Referring to FIG. 4, real in a kind of software
It applies in mode, resource shared device 400 may include receiving unit 401, determination unit 402 and completion unit 403, in which:
Receiving unit 401 receives the shared resource from resource provider, and the block chain on block catenary system is public
The information of the shared resource is issued in account book, so that resources requesting party is public based on the block chain on the block catenary system
The information for the shared resource issued in account book, the use for sending shared resource to the super node for managing the shared resource are asked
It asks;It wherein, include the sharing policy of the shared resource, the sharing policy of the shared resource in the information of the shared resource
In include the transaction cost for obtaining the shared resource and needing to pay;
Determination unit 402, based on described using between request and the resources requesting party and the resource provider
Transaction record determines the corresponding resources use right limit information of transaction cost of resource request direction resource provider payment;
Unit 403 is completed, the resources use right limit information is based on, distributes the shared resource for the resources requesting party
Or the scheduling shared resource is requested with the use for completing the resources requesting party.
Optionally, in one embodiment, when the shared resource includes computing resource, the shared resource is total to
The transaction cost that the acquisition shared resource for including in strategy needs to pay is enjoyed to be determined by following at least one:
Resource provider by the shared resource is preset;
It is determined by the super node based on the trading situation of other computing resources in the block catenary system.
Optionally, in one embodiment, the computing resource on being distributed to the public account book of block chain it
Afterwards, before and distributing to the resources requesting party by the super node, in locked state.
Optionally, in one embodiment, when the shared resource includes machine learning model, then the completion is single
Member 403, is used for:
It is directed to the transaction record of the machine learning model based on the resources requesting party and the resource provider, generates
Intelligent contract is that resources requesting party training obtains the machine learning model to supervise the resource provider;
If it is determined that the resource provider completes the intelligent contract, then it is determined for compliance with from the block catenary system default
The user of condition, to be that the machine learning model that resource provider training obtains is tested to the resource provider
It receives.
Optionally, in one embodiment, when the shared resource includes environmental level, then the completion unit
403, it is used for:
It is directed to the transaction record of the environmental level based on the resources requesting party and the resource provider, generates intelligence
Contract is that the resource provider disposes to obtain the environmental level to supervise the resource provider;
If it is determined that the resource provider completes the intelligent contract, then it is determined for compliance with from the block catenary system default
The user of condition, to be that the environmental level that the resource provider is disposed carries out an acceptance inspection to the resource provider.
Optionally, in one embodiment, described device further includes storage unit 404, is used for:
The shared resource is stored at least one described ordinary node of the super node management, and will be described
The shared information of shared resource is recorded in the public account book of block chain.
Optionally, in one embodiment, described to deposit when the shared resource includes data resource or algorithm resource
Storage unit 404, is used for:
The shared resource is divided at least one set of resource;
At least one set of resource is encrypted;
At least one set of resource after the encryption is stored at least one institute of the super node management respectively
It states in ordinary node.
The method that resource shared device 400 can be realized the embodiment of the method for Fig. 2, specifically refers to embodiment illustrated in fig. 2
Resource share method, repeat no more.
Fig. 5 is the structural schematic diagram for the electronic equipment that one embodiment of this specification provides.Referring to FIG. 5, in hardware
Level, the electronic equipment include processor, optionally further comprising internal bus, network interface, memory.Wherein, memory can
It can include memory, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-easy
The property lost memory (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible to
Including hardware required for other business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended IndustryStandard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..Only to be indicated with a four-headed arrow in Fig. 5, it is not intended that an only bus or a type of convenient for indicating
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
Resource shared device is formed on face.Processor executes the program that memory is stored, and is specifically used for executing following operation:
The shared resource from resource provider is received, and issues institute in the public account book of block chain on block catenary system
The information of shared resource is stated, so that resources requesting party is based on issuing in the public account book of block chain on the block catenary system
The information of shared resource sends the use request of shared resource to the super node for managing the shared resource;Wherein, described total
The sharing policy in the information of resource including the shared resource is enjoyed, includes described in acquisition in the sharing policy of the shared resource
Shared resource needs the transaction cost paid;
Based on described using the transaction record requested and between the resources requesting party and the resource provider, really
The corresponding resources use right limit information of transaction cost of fixed resource request direction resource provider payment;
Based on the resources use right limit information, the shared resource is distributed for the resources requesting party or scheduling is described total
Resource is enjoyed to complete the use of resources requesting party request.
Resource share method disclosed in the above-mentioned embodiment illustrated in fig. 1 such as this specification can be applied in processor, or
It is realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.During realization, on
Each step for stating method can be completed by the integrated logic circuit of the hardware in processor or the instruction of software form.It is above-mentioned
Processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processes
Device (Network Processor, NP) etc.;Can also be digital signal processor (Digital Signal Processor,
DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate
Array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or crystalline substance
Body pipe logical device, discrete hardware components.It may be implemented or execute and is in this specification one or more embodiment disclosed
Each method, step and logic diagram.General processor can be microprocessor or the processor be also possible to it is any conventional
Processor etc..The step of method in conjunction with disclosed in this specification one or more embodiment, can be embodied directly in hardware decoding
Processor executes completion, or in decoding processor hardware and software module combination execute completion.Software module can position
In random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register
In the storage medium of equal this fields maturation.The storage medium is located at memory, and processor reads the information in memory, in conjunction with it
Hardware completes the step of above method.
The electronic equipment can also carry out the resource share method of Fig. 2, and details are not described herein for this specification.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of this specification, such as
Logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each
Logic unit is also possible to hardware or logical device.
In short, being not intended to limit the protection of this specification the foregoing is merely the preferred embodiment of this specification
Range.With within principle, made any modification, changes equivalent replacement all spirit in this specification one or more embodiment
Into etc., it should be included within the protection scope of this specification one or more embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.