CN109359957A - A kind of method and relevant apparatus of multi-party computations - Google Patents
A kind of method and relevant apparatus of multi-party computations Download PDFInfo
- Publication number
- CN109359957A CN109359957A CN201811082290.3A CN201811082290A CN109359957A CN 109359957 A CN109359957 A CN 109359957A CN 201811082290 A CN201811082290 A CN 201811082290A CN 109359957 A CN109359957 A CN 109359957A
- Authority
- CN
- China
- Prior art keywords
- node
- contract
- task
- intelligent contract
- party
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3823—Payment protocols; Details thereof insuring higher security of transaction combining multiple encryption tools for a transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Abstract
The invention discloses a kind of method of multi-party computations and relevant apparatus, which comprises first node determines the task for the intelligent contract that the corresponding contract side of the first node need to be executed when handling the multi-party computation requests according to multi-party computation requests;The intelligence contract includes the execution relationship between the task and each task for executing each contract side of the multi-party computation requests;The first node is any of described each contract side;The first node determines second node after need to executing for the task has been handled, according to the execution relationship between each task;The second node is the corresponding node of next task in each contract side for execute the multi-party computation requests;The first node sends a notification message to the second node;The notification message is used to indicate the second node and handles the multi-party computation requests.
Description
Technical field
The present invention relates to distributed computing and the technical fields more particularly to a kind of method of multi-party computations of cloud computing
And relevant apparatus.
Background technique
Multi-party computations (Secure Multi-party Computation, SMPC) refer in a distributed network
In network, multiple users need common cooperation to accomplish a task, and each user respectively holds some private datas as task
Input, they wish to complete the calculating to these data jointly, while requiring each user that can not obtain in addition to calculated result
Know any input information of other users.Multi-party computations are solved between the participant of one group of mutual mistrust in protection privacy
Under the premise of the problem of completing cooperated computing, multi-party computations will ensure the independence inputted, the correctness of calculating, while not
Each input data is revealed to other members for participating in calculating.In the case where primarily directed to without TTP, how safely
The problem of calculating an agreement function, multi-party computations are in electronic voting, electronic voting, electronic auction, privacy sharing, thresholding
There is important role in the scenes such as signature.
The intelligent contract implementation of current block chain does not have safe and efficient multi-party computing capability still, mainly
Because current intelligent contract is to realize each side using account book as core and cooperate with the influence generated to account book, a side is to account book number
According to operation according to the agreement of contract, other partners may be had an impact, it is this influence both there may be " transaction ", can also
The required event that transaction is reached can be generated.In such a mode, just need each cooperation part continuous more than the multi-party collaboration of two sides
Account book data are inquired, and are calculated according to query result, and calculated result is recorded and confirmed by intelligent contract.
This mode has two: first is that collaboration efficiency is very low.Each cooperation part needs continuous poll intelligence contract, obtains
Event or notice derived from body starting inter-related task;Second is that safety is lower.All data of intelligent contract are maintained in all
In task node or accounting nodes, the safety of data is completely dependent on the normal execution of node engine, once node engine fails
Or there are loophole, data are easy to reveal.
Summary of the invention
The embodiment of the invention provides a kind of method of multi-party computations and relevant apparatus, to solve in block chain
The problems such as collaboration low efficiency in the presence of embodiment and lower safety.
The embodiment of the invention provides a kind of methods of multi-party computations, comprising:
First node determines that the corresponding contract side of the first node is handling the multi-party meter according to multi-party computation requests
Calculate the task for the intelligent contract that need to be executed when request;The intelligence contract includes each contract side for executing the multi-party computation requests
Task and each task between execution relationship;The first node is any of described each contract side;
The first node determines after need to executing for the task has been handled according to the execution relationship between each task
Second node;The second node is the corresponding node of next task in each contract side for execute the multi-party computation requests;
The first node sends a notification message to the second node;The notification message is used to indicate second section
Point handles the multi-party computation requests.
The embodiment of the invention provides a kind of method of multi-party computations, the content of intelligent contract includes all contract sides
It executes the task of the intelligent contract, there are multiple tasks in intelligent contract, there is sequential logic relationship between these tasks, this
Intelligent contract in inventive embodiments does not depend on the corresponding operation system in each contract side when executing intelligent contract, what each side undertook appoints
Business home environment can execute outside chain, and the data of each task execution are dynamics and disposable, local data in contract
It will not leak out.Also, switching drives according to the implementing result of previous task between task, and intelligent contract does not need each contract
Square wheel askes the execution state for obtaining intelligent contract, ensure that the privacy of the data of each contract side, realizes multi-party computations.
A kind of possible implementation, the method also includes:
The corresponding node of requesting party of the intelligence contract calls the intelligent contract according to the multi-party computation requests.
Intelligent contract is only capable of calling by the requesting party of intelligent contract, so that the intelligence contract is not called by other nodes,
Effectively raise the safety calculated in many ways.
A kind of possible implementation, the first node send a notification message to the second node, comprising:
The first node sends the notification message to the second node by point-to-point mode.
By the above method, when ensure that the task execution in intelligent contract, task passes between the node of inter-related task
It passs, other nodes can not touch the data, effectively increase the privacy of data in multi-party calculate.
A kind of possible implementation, the intelligence contract further include the feedback agreement that task execution finishes;The method
Further include:
The corresponding node of the requesting party receives the feedback message that the second node is sent, and the feedback message is described
Second node, which determines, to be sent after the intelligent contract is finished.
By way of sending feedback message, allow first node directly feedback message based on the received, determines institute
The implementing result for stating intelligent contract, without reducing the inquiry pressure of block chain by periodically inquiring into block chain
Power improves the real-time and convenience of multi-party computations.
A kind of possible implementation, the method also includes:
The first node is after current need to executing for the task has been handled, by the place of current need to executing for the task
Reason result is sent on block chain belonging to the intelligent contract and reaches common understanding.
Contract implementing result cochain, for ensuring the true and reliability of multi-party computations.
The state of poll intelligence contract is needed in intelligent contract in compared with the existing technology to obtain current intelligent contract
Executive condition, the scene that can not can be executed with multiple contract sides in one task of parallel processing;A kind of possible implementation,
The second node is multiple;After the first node sends a notification message to the multiple second node, further includes:
The multiple second node according to the intelligent contract, determines that the corresponding contract side of the first node is locating respectively
Need to currently being executed when managing the multi-party computation requests for task;The multiple second node is at current need to executing for the task
After having managed, third node is determined according to the execution relationship between each task, and send a notification message to the third node;Institute
It states notification message and the node won is determined according to the multiple notification message for the third node, and according to the triumph
The notification message of node handles the task of the current desired execution of third node.
It, can be according to the execution relationship between task in the embodiment of the present invention, however, it is determined that there are can be with multiple contracts in task
Fang Zhihang, by way of parallel processing, and according to the implementing result of multiple contract sides, the preferably described implementing result is determining to obtain
The node of victory realizes the multiple threads of task, realizes the diversity of the execution of intelligent contract, effectively raises safety
In many ways the execution efficiency calculated.
The embodiment of the invention provides a kind of methods of multi-party computations, comprising:
First node writes intelligent contract;It include the nodal information of each contract side in the intelligence contract, each contract side is held
Task execution relationship between the task and task of the row intelligent contract;
The first node sends out the intelligent contract publication on block chain, and after reaching common understanding on the block chain
Cloth success.
The embodiment of the invention provides a kind of method of multi-party computations, which is realized by intelligent contract,
The content of intelligent contract includes the task that all contract sides execute the intelligent contract, and the state rather than just account book data is protected
It deposits and access interface, does not depend on the corresponding operation system in each contract side when executing intelligent contract, realizing has with operation system
Effect decoupling.Intelligent contract can directly be distributed to block chain after writing, after all authorizing without all contract sides again
Publication improves the efficiency of the foundation of intelligent contract so that the intelligent contract of publication is more convenient.
A kind of possible implementation, the method also includes:
The node of contract side of the first node into the intelligent contract sends authorization requests;
The first node determines whether the intelligent contract can be held according to the Authorization result of the node of the contract side
Row.
Related partner signs contract by sending authorization requests after contract publication, according to the authorization knot of all partners
Whether the fruit confirmation intelligent contract can be performed, it is ensured that the reliability of multi-party computations.
A kind of possible implementation, the first node are write before intelligent contract, further includes:
The first node obtains at least one capability service interface of at least one second node publication;Described at least one
A capability service interface is used to characterize the service of the offer of at least one second node;
The first node writes intelligent contract, comprising:
The first node determines institute according at least one described capability service interface and the business needs of first node
State executing needed for the contract side of intelligent contract and the node of each contract side for task.
By the above method, first node can be made when writing intelligent contract, it is only necessary to issue by second node
Capability service interface can determine the executive mode of task and task, do not need to write intelligent contract for operation system.
Therefore, the intelligent contract in the embodiment of the present invention only needs to modify intelligent contract according to business demand and capability service interface,
Whether it is compatible with without the concern for the operation system of each contract side, carries out the system reform or upgrade-system without each cooperation part, have
Effect improves the efficiency of upgrading and the maintenance of intelligent contract.
A kind of possible implementation, the first node write intelligent contract, comprising:
The access authority of the intelligent contract is called in the first node setting;The access authority is used to be the intelligence
The permission of the intelligent contract is called in the node setting of the requesting party of contract.
By the above method, the security risks such as the leakage of random calling and data of intelligent contract, Ke Yiyou are avoided
Effect improves the safety calculated in many ways.
The embodiment of the invention provides a kind of devices of multi-party computations, comprising:
Processing unit, for determining the intelligent contract for needing to call according to multi-party computation requests;It is described intelligence contract include
Execute the execution relationship between the task and each task of each contract side of the multi-party computation requests;The first node is described each
Any of contract side;According to the intelligent contract, determine that the corresponding contract side of the first node is described multi-party in processing
Need to currently being executed when computation requests for task;After current need to executing for the task has been handled, according between each task
Execution relationship determines second node;The second node is next task pair in each contract side for execute the multi-party computation requests
The node answered;
Transmit-Receive Unit, for sending a notification message to the second node;The notification message is used to indicate described second
Multi-party computation requests described in node processing.
A kind of possible implementation, the processing unit are specifically used for: according to multi-party computation requests, determination needs to adjust
The access authority of intelligent contract, the access authority are used to call institute for the node setting of the requesting party of the intelligent contract
State the permission of intelligent contract.
A kind of possible implementation, the Transmit-Receive Unit are also used to: having been handled in current need to executing for the task
Afterwards, the processing result of current need to executing for the task is sent on block chain belonging to the intelligent contract and is reached altogether
Know.
A kind of possible implementation, the Transmit-Receive Unit are also used to: the feedback message that the second node is sent is received,
The feedback message is that the second node is determined and sent after the intelligent contract is finished.
A kind of possible implementation, the second node are multiple;The multiple second node is respectively according to the intelligence
Energy contract, determines the task that the corresponding contract side of the first node need to currently be executed when handling the multi-party computation requests;
The multiple second node determines after current need to executing for the task has been handled according to the execution relationship between each task
Third node, and send a notification message to the third node;The notification message is for the third node according to described more
A notification message determines the node won, and handles the current institute of third node according to the notification message of the node of the triumph
Need to executing for task.
The embodiment of the invention provides a kind of devices of multi-party computations, comprising:
Processing unit, for writing intelligent contract;It include the nodal information of each contract side, each contract in the intelligence contract
Task execution relationship between the task and task of intelligence contract described in Fang Zhihang;
Transmit-Receive Unit, for by the intelligent contract publication in block chain, and after reaching common understanding on the block chain
It issues successfully.
A kind of possible implementation, the Transmit-Receive Unit are also used to the node of the contract side into the intelligent contract
Send authorization requests;
The processing unit is also used to the Authorization result of the node according to the contract side, determines that the intelligent contract is
It is no executable.
A kind of possible implementation, the Transmit-Receive Unit are also used to: obtaining the publication of at least one second node at least
One capability service interface;At least one described capability service interface is used to characterize the offer of at least one second node
Service;
The processing unit, is used for: according at least one described capability service interface and the business needs of first node,
Determine executing needed for the contract side of the intelligent contract and the node of each contract side for task.
A kind of possible implementation, the processing unit are also used to be arranged the access authority for calling the intelligent contract;
The node that the access authority is used to be arranged the requesting party of the intelligent contract calls the intelligent contract.
The embodiment of the invention provides a kind of calculating equipment, including memory and processor, in which:
The memory, for storing program instruction;
The processor executes sheet for calling the program instruction stored in the memory, and according to the program of acquisition
The method for the multi-party computations that inventive embodiments provide.
The embodiment of the invention provides a kind of computer storage medium, the computer storage medium is stored with computer can
It executes instruction, the computer executable instructions are by executing the computer based on Secure provided in an embodiment of the present invention
The method of calculation.
The embodiment of the invention provides a kind of calculating equipment, including memory and processor, in which:
The memory, for storing program instruction;
The processor executes sheet for calling the program instruction stored in the memory, and according to the program of acquisition
The method of multi-party computations described in inventive embodiments.
In addition, the computer storage medium is stored with meter the embodiment of the invention provides a kind of computer storage medium
Calculation machine executable instruction, the computer executable instructions are for making the computer execute peace described in the embodiment of the present invention
The method calculated in many ways entirely.
Further, the embodiment of the invention provides a kind of calculating equipment, including storage unit and processing unit, in which:
The storage unit, for storing program instruction;
The processing unit is executed for calling the program instruction stored in the memory, and according to the program of acquisition
The method of multi-party computations described in the embodiment of the present invention.
Optionally, the embodiment of the invention provides a kind of computer storage medium, the computer storage medium is stored with
Computer executable instructions, the computer executable instructions are for executing the computer described in the embodiment of the present invention
The method of multi-party computations.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 show a kind of flow diagram of the method for the multi-party computations provided in the embodiment of the present invention;
Fig. 2 show a kind of schematic diagram of the method for the multi-party computations provided in the embodiment of the present invention;
Fig. 3 show a kind of flow diagram of the method for the multi-party computations provided in the embodiment of the present invention;
Fig. 4 show a kind of schematic diagram of the method for the multi-party computations provided in the embodiment of the present invention;
Fig. 5 show a kind of structural schematic diagram of the device of the multi-party computations provided in the embodiment of the present invention;
Fig. 6 show a kind of structural schematic diagram of the device of the multi-party computations provided in the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
Below by taking ether mill as an example, it is illustrated to establishing in the technical intelligent contract of block chain.
In the prior art, there are two class accounts: external account and contract account in ether mill.External account is private key control
(being controlled by people) is not associated with any code.One external account can sign to transaction by private key, and then send and disappear
It ceases to another external account or contract account.The process that message is value Transfer is transmitted between two external accounts.Contract
Account is controlled by their contract code and has code to be associated.Contract can be activated from external account to the message of contract account
The code of account, contract account can just execute corresponding operation (such as transfer token, be written storage inside, dig out a new generation
Coin executes some operations, sends other message, creates a new contract etc.).
A intelligent contract is participated and draw in intelligent contract building based on block chain, i.e. multi-player jointly, including as follows
Step:
Step 1: user needs first to be registered as the user of block chain, block chain returns to user's a pair of public key and private key;
Account address of the public key as user on block chain, unique key of the private key as the operation account.
Step 2: two or more users are as needed, a promise has been decided through consultation jointly, has been contained in promise double
The rights and duties of side;These rights and duties are written as machine language in a manner of electronization;Each participant uses each selfishness respectively
Key is signed;To ensure the validity of contract.
Step 3: the intelligent contract after signature, it will according to promise content therein, spread and be stored in by P2P network
Block chain;
Step 4: intelligent contract is spread in block chain the whole network by way of P2P, each node can receive portion;
The contract received can be first saved in memory by the verifying node in block chain, wait the common recognition time of a new round, be triggered to this
The common recognition and processing of part contract.
Step 5: verifying node can beat together all contracts saved in nearest a period of time when the common recognition time reaches
It is bundled into a contract set (set), and calculates the hash value of this contract set, finally by the hash value group of this contract set
A block structure is dressed up, the whole network is diffused into;After other verifying nodes receive this block structure, the contract that include the inside is understood
The Hash of set takes out, and is compared with the contract set oneself saved;A contract set oneself approved is sent simultaneously
Node is verified to others;By this transmissions taken turns and compare more;All verifying nodes are finally right before the deadline
Newest contract set is reached an agreement.
Step 6: the newest contract collection credit union reached is diffused into the whole network in the form of block, each block includes following letter
Breath: the hash value of current block, the hash value of previous block, timestamp when reaching common understanding and other description informations;Simultaneously
The most important information of block chain is with one group of contract collection reached common understanding;The node of contract collection is received, it all can be to every
Contract is verified, and the contract being verified just can finally be written in block chain, and the content of verifying is mainly contract participant
Whether private key signature matches with account.
When compiled contract bytecode external account send transaction by way of be deployed on the block chain of ether mill,
And this contract is indicated using the address of contract account.After the deployment of intelligent contract, when needing to call this intelligent contract
It only needs to send message to this contract account when method, will be held in EVM by the code of contract intelligent after message trigger
Row.
From the above process, can learn: in the prior art, each participant completes only to make intelligent contract when multi-party calculate
For account book, the interface of status data needed for which encapsulates each participant and status data access;Complete one completely
The business of logic, it may be necessary to which multiple intelligent contracts, intelligent contract and business system are write according to the operation system of each participant
The degree of coupling of system is very high;In addition, since intelligent contract saves the status data and final result that cooperate in many ways, and these intelligence
Data in contract are still sensitive information, and for the prior art, each participant can at will be obtained, and safety is very
It is low.
In view of the above-mentioned problems, as shown in Figure 1, the embodiment of the invention provides a kind of methods of multi-party computations, comprising:
Step 101: first node writes intelligent contract;It include the nodal information of each contract side in the intelligence contract, respectively
Contract side executes the task execution relationship between the task and task of the intelligent contract;
Step 102: the first node reaches the intelligent contract publication on block chain, and on the block chain
It is issued successfully after common recognition.
The embodiment of the invention provides a kind of method of multi-party computations, the content of intelligent contract includes all contract sides
The task of the intelligent contract is executed, the state for being more than account book data stored in intelligent contract saves and access interface, intelligence
There can be sequential logic relationship between these tasks, the intelligent contract in the embodiment of the present invention is held in contract there are multiple tasks
Do not depend on the corresponding operation system in each contract side when row intelligence contract, the task that each contract side undertakes can outside chain home environment
It executes, the data of each task execution are dynamics with disposably in intelligent contract, will not be stored in intelligent contract, local
Data will not leak out, and meet the demand of the privacy of each contract number formulary evidence in multi-party calculate.
It should be noted that the method and relevant apparatus of the multi-party computations in the embodiment of the present application, can be based on area
The distributed network of block chain is realized, can also be realized by the way of system docking, it is not limited here.
In the embodiment of the present application, for the decoupling for further realizing operation system and intelligent contract, multi-party collaboration meter is being realized
Before calculation, after oneself can be needed the task details undertaken to be hidden by each side, it is issued as ability interface and is compiled for requesting party
Write contract.
A kind of possible implementation, the first node are write before intelligent contract, further includes:
The first node obtains at least one capability service interface of at least one second node publication;Described at least one
A capability service interface is used to characterize the service of the offer of at least one second node;
The first node writes intelligent contract, comprising:
The first node determines institute according at least one described capability service interface and the business needs of first node
State executing needed for the contract side of intelligent contract and the node of each contract side for task.
By the above method, first node can be made when writing intelligent contract, it is only necessary to issue by second node
Capability service interface can determine the executive mode of task and task, do not need to write intelligent contract for operation system.
Therefore, the intelligent contract in the embodiment of the present invention only needs to modify intelligent contract according to business demand and capability service interface,
Whether it is compatible with without the concern for the operation system of each contract side, carries out the system reform or upgrade-system without each cooperation part, have
Effect improves the efficiency of upgrading and the maintenance of intelligent contract.
It should be noted that in block chain, the corresponding contract of each node can be defined according to itself resource and ability
Capability service interface, and pass through node issue capability service interface.The corresponding contract of first node for writing intelligent contract can
Think the initial launching side of intelligent contract.Intelligent contract is usually write by initial launching side and is issued, by each conjunction of intelligent contract
Intelligent contract is determined as executable state after about square interdependent node authorization.It further include being not engaged in intelligence in block chain network
Other nodes of contract, these nodes are used to participate in verifying and the state recording of contract implementing result.Above-mentioned three kinds of nodes include
Node station and nodal information, nodal information may include the industry of the node account contract side corresponding with the node is accessed of its node
Business account, different contract sides possess itself unique account working, and the node for passing through the node Account Logon node of node takes
Business device executes intelligent contract on block chain.
Before writing intelligent contract, first node also needs to obtain the capability service interface of each intelligent contract publication.Energy
Power service interface is the interface that each second node is defined according to own resource and ability.The element of capability service interface may include
Content as shown in Table 1:
Table 1
Certainly, the element of interface can also include type of service, the contents such as business factor, for determining capability service interface
The scope of business.
The title of capability service interface API can be the function or method name for arbitrarily meeting running environment;Capability service
Interface, which inputs parameter, to be two kinds of data types: integer or hexadecimal string, number are unlimited.Capability service interface returns
Value can be limited to hexadecimal string, and length is at least 2 bytes.It is defined as follows:
Table 2
The corresponding account of node can be used in the published method of capability service interface, issues ability clothes by own node
Business interface, this publication movement will trigger a block chain transaction, and after which reaches common understanding, determine that capability service will connect
Mouth is issued successfully.It should be noted that transaction herein refer to block chain itself need the whole network reach common understanding required one kind " row
For ", it can be a true transaction, be also possible to a specific type of message, the technical side realized by block chain itself
Depending on case, but once reach common understanding, needs to provide the voucher of " transaction ".The voucher of transaction in block chain network for confirming
Whether corresponding " behavior " occurred.
The second node of success issue capability service interface can be made by the account of the node of issue capability service interface
For authority, the right of the capability service interface is used with acquisition.After the transaction of issue capability service interface is confirmed by block chain, chain
Upper all nodes will retain the capability service interface.The reference of capability service interface is with the second section of issue capability service interface
The account of point adds capability service interface identifier for index, and capability service interface is kept uniquely in the account of second node,
The capability service interface of publication can be used by the way of reference of agreement.
In a step 101, an intelligent contract may include following information, as shown in table 3:
Table 3
Wherein, contract side's account is each contract side in intelligent contract, includes block chain network in contract side's account list
In each contract side account.
To improve the safety calculated in many ways, for each contract side, it can also be arranged according to the demand of contract and call intelligence
The permission of contract.
The access authority of the intelligent contract is called in a kind of possible implementation, first node setting;The access right
It limits the use of and the permission of the calling intelligent contract is set in the requesting party for the intelligent contract.
To improve the safety for calling intelligent contract, the corresponding node of requesting party of the intelligence contract is only triggered, is arranged
The permission of the intelligence contract is not called by access authority, other contract sides in contract.During executing intelligent contract, need
When triggering the node of corresponding task, the mode to send a notification message to the node, activation node executes the task.
It is, of course, also possible to as needed, the permission of different task be executed for the setting of each contract side, so that intelligent contract is held
During row, the data confidentiality of different contract sides ensure that the data-privacy calculated in many ways.
Task list includes that all contract sides in intelligent contract participate in task required for intelligent contract.Mission script can
To be defined by the custom script of procedure-oriented, for example, as shown in table 4:
Table 4
Task in contract is write according to the capability service interface of node publication, can be corresponding by calling
Capability service interface (function call), so that corresponding node executes corresponding task;Also, each contract side can intelligently be closed
About engine (such as EVM) automatically wakes up and executes inter-related task, is not necessarily to poll, effectively increases the execution efficiency of intelligent contract,
Enhance the privacy of data.It is completely described by need to the cooperateing with contract in many ways of the task into intelligent contract, so that intelligence is closed
Service logic about it is complete, the state rather than just account book data saves and access interface, the business system outside task and chain
The degree of coupling of system is very low, therefore, in embodiment itself only needs to modify intelligent contract according to business demand, without the concern for each conjunction
Whether about square operation system is compatible with, and the upgrading and maintenance of intelligent contract can be realized.
In a step 102, publisher issues intelligence by first node using the corresponding account of first node in intelligent contract
Energy contract, publication movement will trigger the transaction of a block chain, and transaction determines that intelligence contract is issued after the whole network is reached common understanding
Success.After intelligent contract is issued successfully, intelligent contract can be kept in the node of each contract side, data in intelligent contract
Variation will record in block chain.Wherein, the common recognition algorithm of all message can use PBFT in the running environment of intelligent contract
Or RAFT algorithm.The record power of account book can about be set to the node that current intelligent contract is related to, can also by other means really
Determine the record power of account book, it is not limited here.
Could be issued after due to current intelligent each contract side's signature of contract, not high, efficiency that there are customization degree compared with
It is low, lack certain flexibility, limits the applicability of intelligent contract.
Therefore, in the embodiment of the present invention, for the flexibility for improving intelligent contract, a kind of possible implementation, comprising:
The node of contract side of the first node into the intelligent contract sends authorization requests;
The first node determines whether the intelligent contract can be held according to the Authorization result of the node of the contract side
Row.
It after intelligent contract is issued successfully, cannot run immediately, each contract side is needed to confirm and authorize intelligent contract,
Intelligent contract can be authorized in such a way that dynamic is signed.
Specific authorization, may comprise steps of:
Step 1: first node determines intelligent contract relevant to authorization requests according to account;
Wherein, the node can be the node of any contract side in intelligent contract;The authorization requests can be hair
The node of cloth intelligence contract is sent to the node of each contract side, and specific sending method can be point-to-point sending method,
Or the mode of broadcast, it is not limited here.
Step 2: contract information that first node is checked in the intelligent contract and confirming whether or not intelligent contract;
Transmission for the Authorization result can be used as a block chain transaction, the state synchronized of intelligent contract arrived
The node of other contract sides identifies the intelligence contract and agrees to execute to related contract side.
Step 3: the node of each contract side of the first node into intelligent contract sends Authorization result.
Wherein, Authorization result can be " signature " or " refusal ".It authorizes " signature ", the associated node of account including signature
The authorization using the account can be obtained, specifying in the contract for task is run.
Step 4: first node receives the Authorization result of all contract sides, and according to the Authorization result of all contract sides,
Determine whether the intelligent contract can execute.
After intelligent contract publication, each contract side signs contract, and all contract Fang Jun only arranged in contract complete " label
Administration ", all partner's signatures are completed, and contract enters executable state, which can just be performed.
Intelligent contract can directly be distributed to block chain after writing, after all authorizing without all contract sides again
Publication improves the efficiency of the foundation of intelligent contract so that the intelligent contract of publication is more convenient.Related partner issues in contract
Contract is signed by sending authorization requests afterwards, whether can be held according to the Authorization result of all partners confirmation intelligent contract
Row, it is ensured that the reliability of multi-party computations.
As shown in Fig. 2, being illustrated below using the intelligent contract that B2B2C integral exchanges as embodiment, below with first
What the intelligent contract that the integral of the corresponding operation system A of server changes the integral of the corresponding operation system B of second server was established
Method, comprising:
The interface API Step 1: each node publication integral of the corresponding second node of operation system B into block chain swaps out.
It is described integral swap out interface API include can swap out operation system B integral authorized party and accumulated point exchanging
Price parameter.
Step 2: the corresponding first node of operation system A writes intelligent contract, corresponding second section of specified services system B
Point is contract side, and operation system A and operation system B is executed to all tasks and task of accumulated point exchanging in intelligent contract
Execution relationship intelligent contract is written.
Wherein, the integral that intelligent contract need to call second node to issue swaps out interface API.Specifically, calling the integral
The input parameter of interface API of swapping out is integral category identities, account identification, quasi- quantity purchase.
Step 2: the corresponding first node of operation system A issues intelligent contract to block chain.
Step 4: second node authorizes the intelligent contract, and Authorization result is sent to first node.
Step 5: first node receives the Authorization result as signature, confirm that intelligent contract enters effective status.
So far, the intelligent contract foundation about integral and the accumulated point exchanging in operation system B in operation system A finishes.
By establishing the contract, user in operation system A can carry out the product in operation system A directly by the intelligence contract
Point with the accumulated point exchanging in operation system B, without accumulating by carrying out accumulated point exchanging between the user in 2 operation systems
Divide the mode exchanged from existing C2C, directly becomes the mode of B2B, so that the business realizing of accumulated point exchanging is more convenient, fastly
Victory, in addition, due to integrate the interface API that swaps out be can swap out operation system B integral authorized party, other contract sides or area
Node on block chain can not call the intelligence contract, ensure that the safety of intelligent contract, be conducive to the personalized customization of business,
The exchange efficiency for improving integral, improves user experience.
Below using data sharing as a specific embodiment, illustrate the foundation side of intelligent contract in the embodiment of the present invention
Method, comprising: contract side R, contract side T, contract side B, contract side U.Contract side R is the party in request of data sharing, is used for obtaining
The data of verification result and the consuming capacity assessment of the consistency of family information.Wherein, user information may include user name,
Station address, user mobile phone number MP, user's card number PAN.
Step 1: the corresponding node issue capability service interface in contract side.
In the specific implementation process, contract side T, contract side B, the corresponding node of contract side U issue capability into block chain
Service interface.Specifically, contract side T publication capability service interface 1, it may be verified that user name, MP, address consistency;Contract
The capability service interface 2 of square B publication, it may be verified that user name, the consistency of PAN;The capability service interface 3 of contract side U publication, can
Periodical consuming capacity assessment is provided according to PAN.
Step 2: R corresponding node in contract side obtains the capability service interface that contract side T, contract side B, contract side U are issued
1-3 writes intelligent contract according to the demand of itself, and the contract side in intelligent contract includes: contract side R, contract side T, contract side
B, contract side U.In intelligent contract, including task 1-3.Wherein, task 1 is the task of the corresponding node of contract side T, comprising:
User name, user mobile phone number and address consistency are verified, if it succeeds, send a notification message to the node of contract side B, it is described
Notification message, for notifying the node of contract side B to execute task 2;And consistency result is uploaded to block chain.
Task 2 is the task of the corresponding node of contract side B, comprising: verifying user name, MP consistency, if it succeeds, to
The node of contract side U sends a notification message, the notification message, for notifying the node of contract side U to execute task 3;And by one
Cause property result is uploaded to block chain.
Task 3 is the task of the corresponding node of contract side U, comprising: provides nearest 1 year consuming capacity according to PAN and comments
Estimate, consuming capacity assessment result is sent to block chain, and send the node of feedback message to contract side R, the node of contract side R
The feedback message received is sent to the operation system of contract side R.
It should be noted that the explanation of above-mentioned task is only for example, the number of task can be set according to actual needs,
And the content of task, the same node can execute multiple tasks, a task can also be executed by multiple nodes, and according to
The implementing result of multiple nodes determines an implementing result, it is not limited here.
Step 3: R corresponding node in contract side issues intelligent contract to block chain.
Step 4: the corresponding node of contract side T, contract side B, contract side U receives the intelligent contract, and according to practical need
Sign contract.If it is determined that contract side T, contract side B, contract side U are all signed, then the node of each contract side determines the intelligence
Contract enters effective status.
In the intelligent contract of the prior art, by taking ether mill as an example, when triggering intelligent contract, the execution of intelligent contract can be with
Include: contract side, for the related participant for executing intelligent contract, message, triggering intelligence are sent by the external account of contract side
Contract;Contract resource collection executes the participant's resource being related to for intelligent contract, such as each contract side's account, the number that possesses
Property etc.;Affairs in intelligent contract mainly include the data for needing to send;And the event in intelligent contract is then to these numbers
According to description information.After affairs and event information are received by the execution node of intelligent contract, the resource shape in contract resource collection
State can be updated, and then triggered intelligent contract and carried out state machine judgement.State machine, including current resource status judgement, next step
Contract affairs execute selection etc.;Intelligent contract system is if it is determined that when the trigger condition for including in event meets, from intelligent contract
Automatic state machine issues preset data resource, and the event including trigger condition automatically;Contract affairs set is closed for intelligence
Next step movement or behavior set about, control the assets of intelligent contract and respond to the information received.
Specifically, the execution of the intelligent contract based on block chain may include:
Step 1: inspecting periodically the intelligent contract in block, state machine, affairs and touching in each contract are traversed one by one
Clockwork spring part;The affairs that condition meets are pushed in queue to be verified, common recognition is waited;The affairs for not meeting trigger condition will be after
It renews and is placed on block chain.
Step 2: into it is newest wheel verifying affairs, can be diffused into each verifying node, with normal block chain transaction or
Affairs are the same, and verifying node carries out signature verification first, it is ensured that the validity of affairs;The affairs being verified can enter wait know together
Set, after waiting most of verifying nodes to reach common understanding, affairs meeting successful execution simultaneously notifies user.Each node executes intelligent contract
It is mutually independent, when each node, which executes intelligent contract, to be finished, will each other verification result it is whether consistent, after being verified, will tie
Fruit is back to user.
Step 3: the state machine of intelligent contract judges the state of affiliated contract, when contract includes after affairs run succeeded
All affairs all sequentially executed after, the status indication of contract can be to complete by state machine, and be removed from newest block
The contract;Otherwise in will be labeled as carrying out, continue to be stored in that next round processing is waited in newest block, until being disposed;
The processing of entire affairs and state is all automatically performed as the intelligent contract system built in block chain bottom, and whole process is transparent, can not hold
Change.
In addition, only storing the account information of each contract side, access interface, and access due in existing intelligent contract
The method of each interface.When contract is issued, access interface is distributed to by specified partner according to each side's agreement and is licensed, it is each to close
About side can realize the access to data in contract by access interface.
Each contract side needs when executing intelligent contract through the continuous poll intelligence contract of data access interface, and according to poll
As a result come completing needed for judging for task, the implementing result of task, which still needs, is stored in intelligent conjunction by the interface of intelligence contract
In about.
In the process of implementation, the node of contract side uses polling mechanism, needs constantly to inquire intelligence into block chain and close
State about allows the data of intelligent contract to know dawn by each contract to determine whether to execute the intelligent contract,
The privacy of data is not can guarantee.
In the specific implementation process, the node of contract side can currently be executed according to the state in intelligent contract, determination
Business, by treated, data are uploaded on block chain again after business processing is complete, to complete to contract intelligent in block chain
The update of data and state, this method execution efficiency are lower.Since the state of intelligent contract needs each contract side's active inquiry,
Lead to intelligent contract although multiparty collaboration task can be executed, be only capable of serial process, efficiency is very low, and it is highly difficult to implement operation.
In addition, since, only comprising the processing status and data access interface of each side, practical be directed to each connects in intelligent contract
The method for processing business of mouth is present in the operation system of each contract side itself, and intelligent contract can not determine each place of contract side
The concrete methods of realizing of reason energy contract, node can not understand intelligent contract according only to intelligent contract from the angle of service logic.
If the concrete methods of realizing of business changes when each contract side executes contract, must also be to the business of contract and each contract side itself
System makes adaptation, and the modification period is long, and cost is big, and modification is difficult.
As shown in figure 3, the embodiment of the invention provides a kind of methods of multi-party computations, comprising:
Step 301: first node determines the corresponding contract side of the first node in processing institute according to multi-party computation requests
The task for the intelligent contract that need to be executed when stating multi-party computation requests;The intelligence contract includes executing the multi-party computation requests
Execution relationship between the task of each contract side and each task;The first node is any of described each contract side;
Step 302: the first node is after need to executing for the task has been handled, according to the execution between each task
Relationship determines second node;
Wherein, second node is the corresponding node of next task in each contract side for execute the multi-party computation requests;
Step 303: first node sends a notification message to the second node;The notification message is used to indicate the second section
Point handles the multi-party computation requests.
It should be noted that the first node for writing intelligent contract is the requesting party of the intelligent contract, which can
Think the contract side executed in the intelligence contract, may not be the contract side for executing the intelligence contract, it is not limited here.
The embodiment of the invention provides a kind of method of multi-party computations, the content of intelligent contract includes all contract sides
The task of the intelligent contract is executed, the state rather than just account book data saves and access interface, when executing intelligent contract
It does not depend on the corresponding operation system in each contract side, there are multiple tasks in intelligent contract, there is sequential logic between these tasks
Relationship, switching drives according to the implementing result of previous task between task, and therefore, the implementation procedure of contract can be driven by task
Dynamic mode is orderly executed, and the operation system outside chain is not necessarily to poll contact point machine, realizes the automation of multi-party computations.And
And each contract side can automatically wake up by notification message and execute inter-related task, be not necessarily to poll, effectively increase intelligent contract
Execution efficiency, enhance the privacy of data.
In step 301, as shown in figure 4, first node is according to the multi-party computation requests of the received user of operation system A,
Execute intelligent contract.In the embodiment of the present invention, intelligent contract executes can be there are two types of mode, and one is explanations to execute, one is
It is executed after compiling, the embodiment of the present invention is without limitation.The environment that intelligent contract executes can be named as contract " running environment ".Fortune
Row environment can be all in memory, and is isolated with other environment, to reinforce the safety of data.The execution of contract point
For two steps: contract wakes up and contract operation.
It can be intelligence to guarantee that intelligent contract is only capable of being called by the requesting party of intelligent contract in contract wakeup process
The access authority of intelligent contract is called in contract setting.Specifically, the method also includes:
The access authority of the intelligent contract is called in the first node setting;The access authority is used to be the intelligence
The permission of the intelligent contract is called in the node setting of the requesting party of contract.
In the specific implementation process, permission can be called for the outside access interface setting of the intelligent contract.By upper
Method is stated, other nodes on other contract sides or block chain in intelligent contract in addition to requesting party can be made all can not
The intelligence contract is waken up, the safety calculated in many ways is strengthened.
In the specific implementation process, the wake-up of intelligent contract may comprise steps of:
Step 1: first node uses Account Logon node server associated by arranging in intelligent contract for task;
Step 2: first node passes through the Contract ID determination intelligent contract to be executed, and it is attached to the specified parameter of contract.
When intelligent contract wakes up, the running environment of intelligent contract can read the full content in intelligent contract interior
In depositing, to accelerate the execution of task.
Intelligent contract is made of multiple tasks, the triggering of intelligent contract and the execution of task by task implementing result
To drive.The implementing result of task can be issued to the node for executing next task by way of notification message.Notification message
It may include: the account list of the executor of next task;Contract ID;The task result of the previous task of execution, it is multi-party to count
Request is calculated, additional data, by the account authorization of the executor of current task, the only executor of current task can obtain the number
According to ensure that the safety of data in multi-party computations.Certainly, the node of next task can be also by intelligent contract engine
(such as EVM) automatically wakes up, and executes corresponding task, and specific embodiment can refer to the mode of notification message, herein no longer
It repeats.
It is, of course, also possible to as needed, in contract implementation procedure, the permission of different task is executed for the setting of contract side,
So that the data confidentiality of different contract sides ensure that the data-privacy calculated in many ways in the implementation procedure of intelligent contract.
In addition, the task in contract is when being executed, after the node for determining next task, sending the notification message be can be
It is transmitted by point-to-point mode, therefore, the task of intelligent contract is only transmitted between inter-related task node, other nodes can not
The data can be touched, the privacy of data is strengthened.
The contact point machine running environment of current account access need to check whether the current account account specified with task be consistent, and
Whether the contract has been signature state, if meeting above-mentioned condition, generates an example for current contract and brings into operation
The task.
When the task execution in contract finishes, running environment need to issue automatically implementing result according to treaty content, execute
As a result it can be sent in the form of notification message.
In the specific implementation process, contract, which executes, to include:
Second node determines whether second node obtains the authorization for the account arranged in task according to notification message.Such as
Fruit meets authorising conditional, then runs specifying in notification message for task.
The execution of task and implementing result cochain can be two logically separate parallel work-flows, not in a logic chain
On item.The process that contract executes task is that distal end executes, and running environment ensures that present node obtains capability service interface hair
The authorization of cloth person when calling the capability service interface, can carry out environmental protection and data isolation, ensure that contract side is respective
The independence of custom system, intelligent contract not will recognize that the user information of participant, improve the safety of user data, pass through
The data cochain returned after task execution is stored in intelligent contract, ensure that can not usurping for data in multi-party computations
Change.
In embodiments of the present invention, intelligent contract includes executing pass between all tasks and all tasks in intelligent contract
System realizes that multi-party node can be according to notification message, Yi Jisuo by sending a notification message to the node for executing next task
Intelligent contract is stated, determine need to respectively executing for task and executes the time of task;Compared with the prior art, each node is without wheel
The execution state for asking intelligent contract, effectively raises the execution efficiency of multi-party computations.
After the completion of the processing of each task, the embodiment of the present invention can also include:
First node is after current need to executing for the task has been handled, by the processing knot of current need to executing for the task
Fruit is sent on block chain belonging to the intelligent contract.
In the specific implementation process, the processing result for sending task can trigger one by way of sending event message
The implementing result of contract, is recorded on block chain, it is ensured that the true and reliability of multi-party computations by the transaction of block chain with this.
After the completion of the intelligent contract processing, the method also includes:
The corresponding node of requesting party receives the feedback message that second node is sent;
Wherein, the feedback message is that second node is determined and sent after the intelligent contract is finished.
It should be noted that the intelligence contract processing, which is finished, can be intelligent contract in a certain task processing failure, cause
Intelligent termination of contract execute, it is specific to determine that intelligent contract is disposed, can be associated in the task in the intelligent contract
It is write exactly in system;It is also possible to confirm that the intelligent contract is finished after the task in the intelligent contract is all finished.
By way of sending feedback message, the corresponding node of requesting party is directly fed back based on the received and is disappeared
Breath determines the implementing result of the intelligent contract, without reducing block chain by periodically inquiring into block chain
Inquiry pressure, improve the real-time and convenience of multi-party computations.
The state of poll intelligence contract is needed in intelligent contract in compared with the existing technology to obtain current intelligent contract
Executive condition, the scene that can not can be executed with multiple contract sides in one task of parallel processing;A kind of possible implementation,
The second node is multiple;After the first node sends a notification message to the multiple second node, further includes:
The multiple second node according to the intelligent contract, determines that the corresponding contract side of the first node is locating respectively
Need to currently being executed when managing the multi-party computation requests for task;The multiple second node is at current need to executing for the task
After having managed, third node is determined according to the execution relationship between each task, and send a notification message to the third node;Institute
It states notification message and the node won is determined according to the multiple notification message for the third node, and according to the triumph
The notification message of node handles the task of the current desired execution of third node.
For specific task, the corresponding account of node of multiple contract sides may be specified, alternatively, in a contract side
Multiple accounts, at this point it is possible to independently run the task upon receiving the notification message in the node where multiple accounts,
And the node of the triumph of the task can be determined according to preset rules.
In the specific implementation process, preset rules can be preferential for the deadline, i.e., issues out by task result earliest
Node win;Can also be preferential for the low person of price, i.e., the case where being completed at the same time if there is multiple nodes, arrange according to target
Price defined in the capability service interface of node reference is ranked up, the low person's victory of valence;It can also be advised according to scheduled sequence
It then determines, for example, can be somebody's turn to do according in intelligent contract if above-mentioned two preset rules do not distinguish the node of triumph
Subject to the specified account order of task, sort the forward node for triumph.
It, can be according to the execution relationship between task in the embodiment of the present invention, however, it is determined that there are can be with multiple contracts in task
Fang Zhihang, by way of parallel processing, and according to the implementing result of multiple contract sides, the preferably described implementing result is determining to obtain
The node of victory realizes the multiple threads of task, realizes the diversity of the execution of intelligent contract, effectively raises safety
In many ways the execution efficiency calculated.
In conjunction with Fig. 4, the multi-party computation requests of the intelligent contract exchanged below using B2B2C integral are illustrated as embodiment,
It is closed below with the intelligence for changing the integral of the corresponding operation system B of second node with the integral of the corresponding operation system A of first node
Method of commerce about, comprising:
It is exchanged Step 1: the user of operation system A determines to need to integrate by operation system A, sends and accumulate to operation system A
Divide and exchanges request;
It is requested Step 2: operation system A is exchanged according to the integral, it is corresponding to generate the intelligent contract for calling integral to exchange
Multi-party computation requests, and the multi-party computation requests are sent to first node;Association is identified in the multi-party computation requests
Intelligent contract and relevant parameter.
Step 3: first node verifies intelligent contract according to the multi-party computation requests, if the state of intelligent contract has
Effect, then generate contract enforcement engine of the execution message to first node of intelligent contract.
Wherein, the state of intelligent contract effectively includes that intelligent contract has been signed, for the state that can be executed;Further include
First node determines that the account of the corresponding contract side of first node can call the intelligence according to the calling permission of intelligent contract
Contract.
Step 4: the contract enforcement engine of first node executes automatically according to intelligent contract, however, it is determined that need to executing for task
For second node, then notification message is generated, and sent a notification message to the second node of associated task.
Step 4: second node passes to the contract enforcement engine of second node according to the notification message received, starting
Inter-related task is locally executed second node is corresponding, and implementing result passes to the node of next task by inter-task message,
Until all task executions finish.
Step 5: executing the node of the last one task if it is determined that intelligent contract executes completion, then to the industry of first node
Business system A sends implementing result;And operation system B is fed back to according to the mode that contract is arranged.
For example, if the node for executing the last one task is second node, business system of the second node to first node
The A that unites sends implementing result;If the node for executing the last one task is first node, first node is sent to operation system A
Implementing result.
Step 6: first node returning the result according to the integral exchange task received, is fed back to by way of agreement
Operation system A.
Below using data sharing as a specific embodiment, illustrate the counterparty of intelligent contract in the embodiment of the present invention
Method, wherein include: contract side R, contract side T, contract side B, contract side U in the intelligent contract of data sharing.Contract side R is number
According to shared party in request, for obtaining the verification result of the consistency of user information and the data of consuming capacity assessment.Its
In, user information may include user name, station address, user mobile phone number, user's card number etc..The intelligent contract of data sharing
Method of commerce may comprise steps of:
Step 1: the intelligent contract that the operation system of contract side R is shared according to scene demand trigger data;
Step 2: the first node of contract side R is started and carried out contract, notification message is generated to contract side T corresponding the
Two nodes;
Step 3: each node of contract side T executes corresponding task according to the logical order of task execution in intelligent contract,
If having executed the corresponding task of contract side T, and determine that the corresponding contract side of node of the execution of next task is contract side B;Then
The result executed is sent to the corresponding node of contract side B in the form of notification message;
Step 4: the node of contract side B executes corresponding task according to the logical order of task execution in intelligent contract;Example
Such as, if having executed the corresponding task of contract side B, and determine that the corresponding contract side of node of the execution of next task is contract side U;
The result executed is then sent to the corresponding node of contract side U in the form of notification message;
Step 5: the follow-up work specified in contract side U starting notification message;After being finished, however, it is determined that intelligent contract
In task be all finished, it is determined that intelligent contract is finished;Using the result of execution as the execution knot of intelligent contract
Fruit feeds back to the corresponding node of contract side R.
Step 6: R corresponding node in contract side is anti-by way of feedback message by the implementing result of the intelligent contract
It feeds the corresponding operation system of contract side R.
Based on identical inventive concept, as shown in figure 5, the embodiment of the invention provides a kind of dresses of multi-party computations
It sets, comprising:
Processing unit 501, for determining the intelligent contract for needing to call according to multi-party computation requests;The intelligence contract
Execution relationship between task and each task including each contract side for executing the multi-party computation requests;The first node is institute
State any of each contract side;According to the intelligent contract, determine the corresponding contract side of the first node described in the processing
Need to currently being executed when multi-party computation requests for task;After current need to executing for the task has been handled, according to each task
Between execution relationship determine second node;The second node is next in each contract side for execute the multi-party computation requests
It is engaged in corresponding node;
Transmit-Receive Unit 502, for sending a notification message to the second node;The notification message is used to indicate described
Multi-party computation requests described in two node processings.
A kind of possible implementation, processing unit 501 are specifically used for: according to multi-party computation requests, determination needs to call
Intelligent contract access authority, described in the access authority is used to calling for the node setting of the requesting party of the intelligent contract
The permission of intelligent contract.
A kind of possible implementation, Transmit-Receive Unit 502 are also used to: the feedback message that the second node is sent is received,
The feedback message is that the second node is determined and sent after the intelligent contract is finished.
A kind of possible implementation, Transmit-Receive Unit 502 are also used to: after current need to executing for the task has been handled,
The processing result of current need to executing for the task is sent on block chain belonging to the intelligent contract and is reached common understanding.
A kind of possible implementation, the second node are multiple;The multiple second node is respectively according to the intelligence
Energy contract, determines the task that the corresponding contract side of the first node need to currently be executed when handling the multi-party computation requests;
The multiple second node determines after current need to executing for the task has been handled according to the execution relationship between each task
Third node, and send a notification message to the third node;The notification message is for the third node according to described more
A notification message determines the node won, and handles the current institute of third node according to the notification message of the node of the triumph
Need to executing for task.
As shown in fig. 6, the embodiment of the invention provides a kind of devices of multi-party computations, comprising:
Processing unit 601, for writing intelligent contract;It include the nodal information of each contract side in the intelligence contract, respectively
Contract side executes the task execution relationship between the task and task of the intelligent contract;
Transmit-Receive Unit 602, for the intelligent contract publication to be reached common understanding in block chain, and on the block chain
It issues afterwards successfully.
A kind of possible implementation, Transmit-Receive Unit 602 are also used to the node hair of the contract side into the intelligent contract
Send authorization requests;
Processing unit 601 is also used to the Authorization result of the node according to the contract side, whether determines the intelligent contract
It is executable.
A kind of possible implementation, Transmit-Receive Unit 602 are also used to: obtaining the publication of at least one second node at least
One capability service interface;At least one described capability service interface is used to characterize the offer of at least one second node
Service;
Processing unit 601, is used for: according at least one described capability service interface and the business needs of first node,
Determine executing needed for the contract side of the intelligent contract and the node of each contract side for task.
A kind of possible implementation, processing unit 601 are also used to be arranged the access authority for calling the intelligent contract;
The node that the access authority is used to be arranged the requesting party of the intelligent contract calls the intelligent contract.The embodiment of the present invention mentions
Supply a kind of calculating equipment, including memory and processor, in which:
The memory, for storing program instruction;
The processor executes sheet for calling the program instruction stored in the memory, and according to the program of acquisition
The method of commerce for the intelligent contract that inventive embodiments provide or the method for building up of the intelligent contract.
The embodiment of the invention provides a kind of computer storage medium, the computer storage medium is stored with computer can
It executes instruction, the computer executable instructions are used to that the computer to be made to execute intelligent contract provided in an embodiment of the present invention
Method of commerce or intelligent contract method for building up.
The embodiment of the invention provides a kind of method of multi-party computations, the content of intelligent contract includes all contract sides
The task of the intelligent contract is executed, what is stored in intelligent contract is not state preservation and the access interface of account book data, intelligence
There are multiple tasks in contract, these tasks both can handle the input data of task, can also quote node on block chain and send out
The capability service interface to complete specific calculation task of cloth, it is industry that task, which is the complete description of cooperateing in many ways for task,
The complete package for logic of being engaged in, the state rather than just account book data saves and access interface, has sequence between these tasks
Logical relation, switches between task and executes and driven by the logical relation described when intelligent Contracts Definitions, between task and task
Both can execute, can also serially execute parallel, or parallel with serial any combination.Therefore, in the embodiment of the present invention
Intelligent contract does not depend on the corresponding operation system in each contract side when executing intelligent contract, the task that each side undertakes can be outside chain originally
Ground environment executes, and local data will not leak out, and realizes multi-party computations.
The permission of outside access interface needed for the triggering intelligence contract can also be arranged in intelligent contract reinforces intelligent contract
Safety.
Treaty content can quote the ability interface to complete specific calculation task that node is issued on chain, with realization pair
Therefore, in embodiment itself decoupling of task and chain external system only needs to modify intelligent contract according to business demand, does not need to examine
Whether the operation system for considering each contract side is compatible with, and the upgrading and maintenance of intelligent contract can be realized.
Intelligent contract can directly be distributed to block chain after writing, after all authorizing without all contract sides again
Publication improves the efficiency of the foundation of intelligent contract so that the intelligent contract of publication is more convenient.Related partner issues in contract
Contract is signed by sending authorization requests afterwards, whether can be held according to the Authorization result of all partners confirmation intelligent contract
Row, it is ensured that the reliability of multi-party computations.
The embodiment of the invention provides a kind of method of multi-party computations, the content of intelligent contract includes all contract sides
The task of the intelligent contract is executed, the state rather than just account book data saves and access interface, when executing intelligent contract
It does not depend on the corresponding operation system in each contract side, there are multiple tasks in intelligent contract, there is sequential logic between these tasks
Relationship, switching drives according to the implementing result of previous task between task, and therefore, the implementation procedure of contract can be driven by task
Dynamic mode is orderly executed, and the operation system outside chain is not necessarily to poll contact point machine, and compared with the prior art, each node is without wheel
The execution state for asking intelligent contract, effectively raises the execution efficiency of intelligent contract, realizes the automatic of multi-party computations
Change, enhances the privacy of data.Contract implementing result cochain ensure that the true and reliable of data in multi-party computations
Property.By way of sending feedback message, allow first node directly feedback message based on the received, determines the intelligence
The implementing result of contract, without reducing the inquiry pressure of block chain, improving by periodically being inquired into block chain
The real-time and convenience of multi-party computations.Poll intelligence contract is needed in intelligent contract in compared with the existing technology
State is to obtain the executive condition of current intelligent contract, the field that can not can be executed with multiple contract sides in one task of parallel processing
Scape;It, can be according to the execution relationship between task in the embodiment of the present invention, however, it is determined that there are can be held in task with multiple contract sides
Row, by way of parallel processing, and according to the implementing result of multiple contract sides, the preferably described implementing result determines triumph
Node realizes the multiple threads of task, realizes the diversity of the execution of multi-party computations, effectively raises safety
In many ways the execution efficiency calculated.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, apparatus (equipment) or computer journey
Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the present invention
The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the flow chart of device (equipment) and computer program product
And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions
And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to
Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate
One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing
The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (20)
1. a kind of method of multi-party computations characterized by comprising
First node determines that the corresponding contract side of the first node is asked in the processing multi-party calculating according to multi-party computation requests
The task for the intelligent contract that need to be executed when asking;The intelligence contract includes times for executing each contract side of the multi-party computation requests
Execution relationship between business and each task;The first node is any of described each contract side;
The first node determines second after need to executing for the task has been handled, according to the execution relationship between each task
Node;The second node is the corresponding node of next task in each contract side for execute the multi-party computation requests;
The first node sends a notification message to the second node;The notification message is used to indicate at the second node
Manage the multi-party computation requests.
2. the method for multi-party computations as described in claim 1, which is characterized in that the method also includes:
The corresponding node of requesting party of the intelligence contract calls the intelligent contract according to the multi-party computation requests.
3. the method for multi-party computations as claimed in claim 2, which is characterized in that the method also includes:
The corresponding node of the requesting party receives the feedback message that the second node is sent, and the feedback message is described second
Node, which determines, to be sent after the intelligent contract is finished.
4. the method for multi-party computations as described in claim 1, which is characterized in that further include:
The first node is after current need to executing for the task has been handled, by the processing knot of current need to executing for the task
Fruit is sent on block chain belonging to the intelligent contract and reaches common understanding.
5. the method for multi-party computations as described in claim 1, which is characterized in that the second node is multiple;It is described
After first node sends a notification message to the multiple second node, further includes:
The multiple second node according to the intelligent contract, determines the corresponding contract side of the first node in processing institute respectively
Need to currently being executed when stating multi-party computation requests for task;The multiple second node has been handled in current need to executing for the task
Afterwards, third node is determined according to the execution relationship between each task, and sent a notification message to the third node;It is described logical
Know that message determines the node won according to the multiple notification message for the third node, and according to the node of the triumph
Notification message handle the task of the current desired execution of third node.
6. a kind of method of multi-party computations characterized by comprising
First node writes intelligent contract;It include the nodal information of each contract side in the intelligence contract, each contract side executes institute
State the task execution relationship between the task and task of intelligent contract;
The first node by the intelligent contract publication on block chain, and after reaching common understanding on the block chain publication at
Function.
7. the method for multi-party computations as claimed in claim 6, which is characterized in that the method also includes:
The node of contract side of the first node into the intelligent contract sends authorization requests;
The first node determines whether the intelligent contract can be performed according to the Authorization result of the node of the contract side.
8. the method for multi-party computations as claimed in claim 6, which is characterized in that the first node writes intelligent contract
Before, further includes:
The first node obtains at least one capability service interface of at least one second node publication;At least one described energy
Power service interface is used to characterize the service of the offer of at least one second node;
The first node writes intelligent contract, comprising:
The first node determines the intelligence according at least one described capability service interface and the business needs of first node
Being executed needed for the contract side of energy contract and the node of each contract side for task.
9. the method for multi-party computations as claimed in claim 6, which is characterized in that the first node writes intelligent conjunction
About, comprising:
The access authority of the intelligent contract is called in the first node setting;The access authority is used for as the intelligent contract
The node setting of requesting party call the permission of the intelligent contract.
10. the device that one kind calculates in many ways characterized by comprising
Processing unit, for determining the intelligent contract for needing to call according to multi-party computation requests;The intelligence contract includes executing
Execution relationship between the task and each task of each contract side of the multi-party computation requests;The first node is each contract
Any of side;According to the intelligent contract, determine that the corresponding contract side of the first node is handling the multi-party calculating
Need to currently being executed when request for task;After current need to executing for the task has been handled, according to the execution between each task
Relationship determines second node;The second node is that next task is corresponding in each contract side for execute the multi-party computation requests
Node;
Transmit-Receive Unit, for sending a notification message to the second node;The notification message is used to indicate the second node
Handle the multi-party computation requests.
11. the device calculated in many ways as claimed in claim 10, which is characterized in that the processing unit is specifically used for: according to
Multi-party computation requests determine that the access authority for needing the intelligent contract called, the access authority are used for as the intelligent contract
The node setting of requesting party call the permission of the intelligent contract.
12. the device calculated in many ways as claimed in claim 11, which is characterized in that the Transmit-Receive Unit is also used to: receiving institute
The feedback message of second node transmission is stated, the feedback message is after the second node determines that the intelligent contract is finished
It sends.
13. the device calculated in many ways as claimed in claim 10, which is characterized in that the Transmit-Receive Unit is also used to: described
After need to currently executing for task has been handled, the processing result of current need to executing for the task is sent to the intelligent contract institute
On the block chain of category and reach common understanding.
14. the device calculated in many ways as claimed in claim 10, which is characterized in that the second node is multiple;It is described more
A second node determines that the corresponding contract side of the first node is handling the multi-party calculating respectively according to the intelligent contract
Need to currently being executed when request for task;The multiple second node is after current need to executing for the task has been handled, according to institute
It states the execution relationship between each task and determines third node, and send a notification message to the third node;The notification message is used
The node won is determined according to the multiple notification message in the third node, and is disappeared according to the notice of the node of the triumph
Breath handles the task of the current desired execution of third node.
15. the device that one kind calculates in many ways characterized by comprising
Processing unit, for writing intelligent contract;It include the nodal information of each contract side in the intelligence contract, each contract side is held
Task execution relationship between the task and task of the row intelligent contract;
Transmit-Receive Unit, for issuing the intelligent contract publication in block chain, and after reaching common understanding on the block chain
Success.
16. the device calculated in many ways as claimed in claim 10, which is characterized in that
The Transmit-Receive Unit, the node for being also used to the contract side into the intelligent contract send authorization requests;
The processing unit is also used to the Authorization result of the node according to the contract side, determines that the intelligent contract whether may be used
It executes.
17. the device calculated in many ways as claimed in claim 10, which is characterized in that the Transmit-Receive Unit is also used to: obtaining extremely
At least one capability service interface of few second node publication;At least one described capability service interface is described for characterizing
The service of the offer of at least one second node;
The processing unit, is used for: according at least one described capability service interface and the business needs of first node, determining
Being executed needed for the contract side of the intelligence contract and the node of each contract side for task.
18. the device calculated in many ways as claimed in claim 10, which is characterized in that the processing unit is also used to be arranged tune
With the access authority of the intelligent contract;The node that the access authority is used to be arranged the requesting party of the intelligent contract calls institute
State intelligent contract.
19. a kind of calculating equipment, which is characterized in that including memory and processor, in which:
The memory, for storing program instruction;
The processor is wanted for calling the program instruction stored in the memory, and according to the program execution benefit of acquisition
Ask 1~5 described in any item multi-party computations method or perform claim require 6-9 described in multi-party computations side
Method.
20. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with the executable finger of computer
It enables, the computer executable instructions are by requiring the computer perform claim based on 1~5 described in any item Secures
The method that the method or perform claim of calculation require multi-party computations described in 6-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811082290.3A CN109359957B (en) | 2018-09-17 | 2018-09-17 | Safe multiparty computing method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811082290.3A CN109359957B (en) | 2018-09-17 | 2018-09-17 | Safe multiparty computing method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109359957A true CN109359957A (en) | 2019-02-19 |
CN109359957B CN109359957B (en) | 2022-11-22 |
Family
ID=65350906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811082290.3A Active CN109359957B (en) | 2018-09-17 | 2018-09-17 | Safe multiparty computing method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109359957B (en) |
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109873866A (en) * | 2019-02-20 | 2019-06-11 | 北京邮电大学 | A kind of data sharing method based on block chain, device and electronic equipment |
CN109903163A (en) * | 2019-03-05 | 2019-06-18 | 杭州秘猿科技有限公司 | A kind of block bonusing method, device and the electronic equipment out of block chain |
CN110135847A (en) * | 2019-05-22 | 2019-08-16 | 同济大学 | The system and method for being used to improve electronic auction safety based on block chain |
CN110138802A (en) * | 2019-06-02 | 2019-08-16 | 四川虹微技术有限公司 | User's characteristic information acquisition methods, device, block chain node and storage medium |
CN110175461A (en) * | 2019-05-08 | 2019-08-27 | 矩阵元技术(深圳)有限公司 | Implementation method, device, computer equipment and the storage medium of multi-party computations |
CN110247960A (en) * | 2019-05-27 | 2019-09-17 | 矩阵元技术(深圳)有限公司 | Implementation method, device, computer equipment and the storage medium of multi-party computations |
CN110298190A (en) * | 2019-04-19 | 2019-10-01 | 矩阵元技术(深圳)有限公司 | Decentralization Secure data processing method, device and storage medium |
CN110335037A (en) * | 2019-04-19 | 2019-10-15 | 矩阵元技术(深圳)有限公司 | Method of commerce, device and the storage medium calculated based on block chain and Secure |
CN110348882A (en) * | 2019-06-19 | 2019-10-18 | 阿里巴巴集团控股有限公司 | Integration method, system, device and equipment based on intelligent contract |
CN110363528A (en) * | 2019-06-27 | 2019-10-22 | 矩阵元技术(深圳)有限公司 | Cooperate with generation, trading signature method and device, the storage medium of address |
CN111585994A (en) * | 2020-04-27 | 2020-08-25 | 中国银行股份有限公司 | Data processing method and system |
CN111683148A (en) * | 2020-06-09 | 2020-09-18 | 吉林亿联银行股份有限公司 | Service processing system and method, service publishing method |
CN112016922A (en) * | 2020-08-22 | 2020-12-01 | 王红建 | Information security protection method and equipment applied to block chain financial fusion and online payment |
WO2020237453A1 (en) * | 2019-05-27 | 2020-12-03 | 云图有限公司 | Method and apparatus for implementing secure multi-party computation, computer device, and storage medium |
CN112115204A (en) * | 2020-10-26 | 2020-12-22 | 大唐网络有限公司 | Multi-party security calculation implementation method based on block chain technology |
CN112272208A (en) * | 2020-09-22 | 2021-01-26 | 国网上海市电力公司 | Secure multiparty computing method, electronic device and storage medium |
CN112686671A (en) * | 2021-01-07 | 2021-04-20 | 腾讯科技(深圳)有限公司 | Intelligent contract deployment method, device, equipment and medium based on block chain |
CN112861169A (en) * | 2021-01-14 | 2021-05-28 | 支付宝(杭州)信息技术有限公司 | Data processing method, device and equipment based on privacy protection |
CN113067900A (en) * | 2021-06-02 | 2021-07-02 | 支付宝(杭州)信息技术有限公司 | Intelligent contract deployment method and device |
CN113067822A (en) * | 2021-03-19 | 2021-07-02 | 中国工商银行股份有限公司 | Block chain-based information processing method, apparatus, device, medium, and product |
CN113098983A (en) * | 2021-06-02 | 2021-07-09 | 支付宝(杭州)信息技术有限公司 | Task execution method and device based on intelligent contract |
CN113159944A (en) * | 2021-03-10 | 2021-07-23 | 华控清交信息科技(北京)有限公司 | Data processing method and device and data processing device |
CN113238806A (en) * | 2019-08-30 | 2021-08-10 | 创新先进技术有限公司 | Method and apparatus for concurrently executing transactions in a blockchain |
CN113259465A (en) * | 2021-06-02 | 2021-08-13 | 支付宝(杭州)信息技术有限公司 | Business execution method based on off-chain computing service |
CN113472538A (en) * | 2021-09-02 | 2021-10-01 | 富算科技(上海)有限公司 | Method, device, equipment and medium for detecting privacy of result of multi-party security calculation |
CN113496398A (en) * | 2020-03-19 | 2021-10-12 | 中移(上海)信息通信科技有限公司 | Data processing method, device, equipment and medium based on intelligent contract |
WO2022133827A1 (en) * | 2020-12-23 | 2022-06-30 | 杭州趣链科技有限公司 | Method and apparatus for processing task processing request, and blockchain node device |
CN115829561A (en) * | 2022-12-23 | 2023-03-21 | 星环信息科技(上海)股份有限公司 | Data product transaction method, system, computing node and storage medium |
US11782952B2 (en) | 2021-08-18 | 2023-10-10 | International Business Machines Corporation | Automation of multi-party computation as a service according to user regulations and requirements |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080117808A1 (en) * | 2006-11-16 | 2008-05-22 | Mark Henrik Sandstrom | Automatic configuration of network elements based on service contract definitions |
CN106911557A (en) * | 2017-01-17 | 2017-06-30 | 腾讯科技(深圳)有限公司 | Method for message transmission and device |
CN107273759A (en) * | 2017-05-08 | 2017-10-20 | 上海点融信息科技有限责任公司 | Method, equipment and computer-readable recording medium for protecting block chain data |
CN107301536A (en) * | 2017-06-12 | 2017-10-27 | 腾讯科技(深圳)有限公司 | Resource transfers method and device |
CN107707410A (en) * | 2017-10-26 | 2018-02-16 | 上海点融信息科技有限责任公司 | Configure method, information processor and the readable storage medium storing program for executing of system audit service |
CN107943951A (en) * | 2017-11-24 | 2018-04-20 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | A kind of search method and system of block chain business information |
US20180227116A1 (en) * | 2017-02-06 | 2018-08-09 | Northern Trust Corporation | Systems and methods for generating, uploading, and executing code blocks within distributed network nodes |
-
2018
- 2018-09-17 CN CN201811082290.3A patent/CN109359957B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080117808A1 (en) * | 2006-11-16 | 2008-05-22 | Mark Henrik Sandstrom | Automatic configuration of network elements based on service contract definitions |
CN106911557A (en) * | 2017-01-17 | 2017-06-30 | 腾讯科技(深圳)有限公司 | Method for message transmission and device |
US20180227116A1 (en) * | 2017-02-06 | 2018-08-09 | Northern Trust Corporation | Systems and methods for generating, uploading, and executing code blocks within distributed network nodes |
CN107273759A (en) * | 2017-05-08 | 2017-10-20 | 上海点融信息科技有限责任公司 | Method, equipment and computer-readable recording medium for protecting block chain data |
CN107301536A (en) * | 2017-06-12 | 2017-10-27 | 腾讯科技(深圳)有限公司 | Resource transfers method and device |
CN107707410A (en) * | 2017-10-26 | 2018-02-16 | 上海点融信息科技有限责任公司 | Configure method, information processor and the readable storage medium storing program for executing of system audit service |
CN107943951A (en) * | 2017-11-24 | 2018-04-20 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | A kind of search method and system of block chain business information |
Non-Patent Citations (1)
Title |
---|
郝琨等: "去中心化的分布式存储模型", 《计算机工程与应用》 * |
Cited By (43)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109873866A (en) * | 2019-02-20 | 2019-06-11 | 北京邮电大学 | A kind of data sharing method based on block chain, device and electronic equipment |
CN109873866B (en) * | 2019-02-20 | 2020-10-09 | 北京邮电大学 | Data sharing method and device based on block chain and electronic equipment |
CN109903163A (en) * | 2019-03-05 | 2019-06-18 | 杭州秘猿科技有限公司 | A kind of block bonusing method, device and the electronic equipment out of block chain |
CN110335037A (en) * | 2019-04-19 | 2019-10-15 | 矩阵元技术(深圳)有限公司 | Method of commerce, device and the storage medium calculated based on block chain and Secure |
CN110298190A (en) * | 2019-04-19 | 2019-10-01 | 矩阵元技术(深圳)有限公司 | Decentralization Secure data processing method, device and storage medium |
CN110175461A (en) * | 2019-05-08 | 2019-08-27 | 矩阵元技术(深圳)有限公司 | Implementation method, device, computer equipment and the storage medium of multi-party computations |
CN110135847A (en) * | 2019-05-22 | 2019-08-16 | 同济大学 | The system and method for being used to improve electronic auction safety based on block chain |
WO2020237453A1 (en) * | 2019-05-27 | 2020-12-03 | 云图有限公司 | Method and apparatus for implementing secure multi-party computation, computer device, and storage medium |
CN110247960A (en) * | 2019-05-27 | 2019-09-17 | 矩阵元技术(深圳)有限公司 | Implementation method, device, computer equipment and the storage medium of multi-party computations |
CN110247960B (en) * | 2019-05-27 | 2021-12-07 | 矩阵元技术(深圳)有限公司 | Method and device for realizing secure multi-party computation, computer equipment and storage medium |
CN110138802A (en) * | 2019-06-02 | 2019-08-16 | 四川虹微技术有限公司 | User's characteristic information acquisition methods, device, block chain node and storage medium |
CN110138802B (en) * | 2019-06-02 | 2021-09-24 | 四川虹微技术有限公司 | User characteristic information acquisition method, device, block chain node, network and storage medium |
CN110348882A (en) * | 2019-06-19 | 2019-10-18 | 阿里巴巴集团控股有限公司 | Integration method, system, device and equipment based on intelligent contract |
CN110363528A (en) * | 2019-06-27 | 2019-10-22 | 矩阵元技术(深圳)有限公司 | Cooperate with generation, trading signature method and device, the storage medium of address |
CN110363528B (en) * | 2019-06-27 | 2022-06-24 | 矩阵元技术(深圳)有限公司 | Collaborative address generation method, collaborative address generation device, transaction signature method, transaction signature device and storage medium |
CN113238806A (en) * | 2019-08-30 | 2021-08-10 | 创新先进技术有限公司 | Method and apparatus for concurrently executing transactions in a blockchain |
CN113496398A (en) * | 2020-03-19 | 2021-10-12 | 中移(上海)信息通信科技有限公司 | Data processing method, device, equipment and medium based on intelligent contract |
CN111585994A (en) * | 2020-04-27 | 2020-08-25 | 中国银行股份有限公司 | Data processing method and system |
CN111683148A (en) * | 2020-06-09 | 2020-09-18 | 吉林亿联银行股份有限公司 | Service processing system and method, service publishing method |
CN111683148B (en) * | 2020-06-09 | 2023-01-31 | 吉林亿联银行股份有限公司 | Service processing system and method, service publishing method |
CN112016922A (en) * | 2020-08-22 | 2020-12-01 | 王红建 | Information security protection method and equipment applied to block chain financial fusion and online payment |
CN112272208A (en) * | 2020-09-22 | 2021-01-26 | 国网上海市电力公司 | Secure multiparty computing method, electronic device and storage medium |
CN112115204A (en) * | 2020-10-26 | 2020-12-22 | 大唐网络有限公司 | Multi-party security calculation implementation method based on block chain technology |
WO2022133827A1 (en) * | 2020-12-23 | 2022-06-30 | 杭州趣链科技有限公司 | Method and apparatus for processing task processing request, and blockchain node device |
CN112686671B (en) * | 2021-01-07 | 2022-07-12 | 腾讯科技(深圳)有限公司 | Intelligent contract deployment method, device, equipment and medium based on block chain |
CN112686671A (en) * | 2021-01-07 | 2021-04-20 | 腾讯科技(深圳)有限公司 | Intelligent contract deployment method, device, equipment and medium based on block chain |
CN112861169A (en) * | 2021-01-14 | 2021-05-28 | 支付宝(杭州)信息技术有限公司 | Data processing method, device and equipment based on privacy protection |
CN112861169B (en) * | 2021-01-14 | 2022-06-14 | 支付宝(杭州)信息技术有限公司 | Data processing method, device and equipment based on privacy protection |
CN113159944A (en) * | 2021-03-10 | 2021-07-23 | 华控清交信息科技(北京)有限公司 | Data processing method and device and data processing device |
CN113067822A (en) * | 2021-03-19 | 2021-07-02 | 中国工商银行股份有限公司 | Block chain-based information processing method, apparatus, device, medium, and product |
CN113067822B (en) * | 2021-03-19 | 2023-11-10 | 中国工商银行股份有限公司 | Information processing method, device, equipment, medium and product based on block chain |
CN113098983B (en) * | 2021-06-02 | 2021-10-15 | 支付宝(杭州)信息技术有限公司 | Task execution method and device based on intelligent contract |
CN113259465B (en) * | 2021-06-02 | 2021-10-15 | 支付宝(杭州)信息技术有限公司 | Business execution method based on off-chain computing service |
CN113067900B (en) * | 2021-06-02 | 2021-09-24 | 支付宝(杭州)信息技术有限公司 | Intelligent contract deployment method and device |
CN113259465A (en) * | 2021-06-02 | 2021-08-13 | 支付宝(杭州)信息技术有限公司 | Business execution method based on off-chain computing service |
CN113098983A (en) * | 2021-06-02 | 2021-07-09 | 支付宝(杭州)信息技术有限公司 | Task execution method and device based on intelligent contract |
WO2022252995A1 (en) * | 2021-06-02 | 2022-12-08 | 支付宝(杭州)信息技术有限公司 | Smart contract deployment method and apparatus |
CN113067900A (en) * | 2021-06-02 | 2021-07-02 | 支付宝(杭州)信息技术有限公司 | Intelligent contract deployment method and device |
US11782952B2 (en) | 2021-08-18 | 2023-10-10 | International Business Machines Corporation | Automation of multi-party computation as a service according to user regulations and requirements |
CN113472538A (en) * | 2021-09-02 | 2021-10-01 | 富算科技(上海)有限公司 | Method, device, equipment and medium for detecting privacy of result of multi-party security calculation |
CN113472538B (en) * | 2021-09-02 | 2021-12-10 | 富算科技(上海)有限公司 | Method, device, equipment and medium for detecting privacy of result of multi-party security calculation |
CN115829561A (en) * | 2022-12-23 | 2023-03-21 | 星环信息科技(上海)股份有限公司 | Data product transaction method, system, computing node and storage medium |
CN115829561B (en) * | 2022-12-23 | 2023-12-19 | 星环信息科技(上海)股份有限公司 | Transaction method, system, computing node and storage medium for data products |
Also Published As
Publication number | Publication date |
---|---|
CN109359957B (en) | 2022-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109359957A (en) | A kind of method and relevant apparatus of multi-party computations | |
CN110163590B (en) | Payment withholding method and device based on block chain, electronic equipment and storage medium | |
CN109544160A (en) | A kind of transaction authenticity verification methods and system based on block chain and intelligent contract | |
CN112200571B (en) | Resource distribution method and device based on block chain and electronic equipment | |
CN108876497A (en) | Resource transfers method, apparatus and third-party server | |
CN108352021A (en) | The method and system collected and reported for authentication data associated with online transaction | |
KR101254358B1 (en) | Self-owned resources interactive method and processing method of electronic trade information and system | |
CN112328689A (en) | Universal asset business ecosystem based on block chain | |
US8762216B1 (en) | Digital lending of payment instruments | |
CN109643415A (en) | Trade management technology | |
CN112200568B (en) | Block chain based account creation method and device and electronic equipment | |
CN112200567A (en) | Resource management method and device based on block chain and electronic equipment | |
CN111639347A (en) | Electronic warehouse receipt verification method, device, terminal and storage medium | |
US20210264459A1 (en) | A method of loyalty exchange transaction by using blockchain for reward point exchange | |
CN113987080A (en) | Block chain excitation method and device based on reputation consensus and related products | |
CN112200572A (en) | Resource distribution method and device based on block chain and electronic equipment | |
CN112132684A (en) | Account settling method and system based on language prediction machine lock group | |
KR20190115553A (en) | Method for Providing Cryptocurrency Trade based on Verification of Information by using Smart Contract based on Blockchain | |
CN116308903A (en) | Digital asset right-determining protection method based on block chain | |
CN116415955A (en) | Cross-chain transaction method and system based on combination of hash locking and notary | |
CN112766952B (en) | Multi-payment terminal and multi-cash register collection method and system | |
TW201945989A (en) | System of smart ticket, method for issuing ticket and computer-readable storage device | |
CN112200570A (en) | Resource distribution method and device based on block chain and electronic equipment | |
CN112037056A (en) | Transaction processing method, device, equipment and storage medium | |
CN113139861A (en) | Open financial service platform (system device) based on internet and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |