CN109003185A - A kind of method for building up, device, calculating equipment and the storage medium of intelligence contract - Google Patents

A kind of method for building up, device, calculating equipment and the storage medium of intelligence contract Download PDF

Info

Publication number
CN109003185A
CN109003185A CN201810700792.1A CN201810700792A CN109003185A CN 109003185 A CN109003185 A CN 109003185A CN 201810700792 A CN201810700792 A CN 201810700792A CN 109003185 A CN109003185 A CN 109003185A
Authority
CN
China
Prior art keywords
participant
intelligent contract
contract
request
updated
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
Application number
CN201810700792.1A
Other languages
Chinese (zh)
Other versions
CN109003185B (en
Inventor
朱涛
许玉壮
姚翔
周钰
李炳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Unionpay Co Ltd
Original Assignee
China Unionpay Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201810700792.1A priority Critical patent/CN109003185B/en
Publication of CN109003185A publication Critical patent/CN109003185A/en
Application granted granted Critical
Publication of CN109003185B publication Critical patent/CN109003185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Abstract

The invention discloses a kind of method for building up of intelligent contract, device, equipment and storage medium are calculated, the block catenary system of the multi-party participant suitable for being deployed with the first intelligent contract;The described method includes: first participant sends the update request based on the described first intelligent contract to second participant;The public key updated in request including the first participant and the second intelligent contract;Described second intelligent contract is that the first participant updates the intelligent contract after the described first intelligent contract based on transaction permission mapping relations;The transaction permission mapping relations include the mapping relations between first participant's request transaction permission updated and the public key of the first participant;If the confirmation matching response that first participant's confirmation receives meets common recognition condition, the described second intelligent contract is updated to the intelligent contract of the block catenary system.

Description

A kind of method for building up, device, calculating equipment and the storage medium of intelligence contract
Technical field
The present invention relates to computer field more particularly to a kind of method for building up of intelligent contract, device, calculates equipment and deposit Storage media.
Background technique
Under normal conditions, when establishing business relationship between different enterprises, entity or individual, in order to save the time, be promoted Efficiency, electronics contract come into being, and electronics contract can be established on the basis of trusting each other by signing both sides, so that corresponding executing When business, if meeting the trigger condition of electronics contract, corresponding operating can be executed automatically.For example, bank is mutually believed with client Appoint, signs credit card and refund automatically contract, in repayment date, bank can deduct the corresponding amount of money from associated deposit card automatically, Centre is manually operated without client, to improve efficiency.
It is digitized contract, also, not but since electronics contract is recorded on the executable code in computer Same bank establishes electronics contract between the mechanism between different geographical and is likely to be obtained by other users, user information is caused to be revealed, Or even it by hacker attack or distorts, and then the safety and accuracy of transaction record may be will affect;And this mode It is trusted each other on condition that signing both sides, the enterprise that user can be allowed to trust completely is fewer and fewer, thus can also reduce electronics contract Usability.
In conclusion existing electronics contract has that safety is lower and usability is more low.
Summary of the invention
The embodiment of the invention provides a kind of method for building up of intelligent contract, device, equipment and storage medium are calculated, to Solve the problems, such as that safety present in the method for building up of existing electronics contract is lower and usability is more low.
The embodiment of the invention provides a kind of method for building up of intelligent contract, suitable for being deployed with the more of the first intelligent contract The block catenary system of square participant;The described method includes:
First participant sends the update request based on the described first intelligent contract to second participant;The update request In include the first participant public key and the second intelligent contract;Described second intelligent contract is that the first participant is based on Transaction permission mapping relations update the intelligent contract after the described first intelligent contract;The transaction permission mapping relations include described First participant requests the mapping relations between the transaction permission updated and the public key of the first participant;Described first participates in Person and the second participant are any participant of the intelligent contract;
If the confirmation matching response that first participant's confirmation receives meets common recognition condition, by second intelligence Contract is updated to the intelligent contract of the block catenary system;The confirmation matching response is based on institute for second participant confirmation It states to update and send when the request generates second intelligent contract is matched with the second intelligence contract updated in request.
A kind of possible implementation, the first participant are the participant that the block catenary system is newly added;
Before the first participant sends the update request based on the described first intelligent contract to second participant, also wrap It includes:
The first participant obtains the key pair of the first participant, and the key pair includes public key and private key.
A kind of possible implementation, the first participant send to second participant based on the described first intelligent contract Update request before, further includes:
The first participant confirms transaction permission to be changed and generates the transaction permission mapping relations.
A kind of possible implementation, the method also includes:
The first participant receives the update request based on the described second intelligent contract that the second participant sends; The public key and third intelligence contract updated in request including the second participant;The third intelligence contract is described the Two participants update the intelligent contract after the described second intelligent contract based on transaction permission mapping relations;The transaction permission mapping Relationship includes the mapping relations between second participant's request transaction permission updated and the public key of the second participant;
If the confirmation matching response that first participant's confirmation receives meets common recognition condition, by the third intelligence Contract is updated to the intelligent contract of the block catenary system;The confirmation matching response is based on institute for first participant confirmation Stating update requests the third intelligence contract generated to send when matching with the third intelligence contract updated in request.
The embodiment of the invention provides a kind of method for building up of intelligent contract, suitable for being deployed with the more of the first intelligent contract The block catenary system of square participant;The described method includes:
Second participant receives first participant and sends the update request based on the described first intelligent contract;First ginseng It is any participant of the described first intelligent contract with person and the second participant;It include described first in the update request The public key of participant and the second intelligent contract;Described second intelligent contract is that the first participant is based on transaction permission mapping pass System updates the intelligent contract after the described first intelligent contract;The transaction permission mapping relations include first participant's request Mapping relations between the transaction permission of update and the public key of the first participant;
When the second participant confirms that the transaction permission mapping relations meet update rule, requested based on the update Generate the second intelligent contract;
Second participant's confirmation is updated in the second intelligent contract and update request that request generates based on described The second intelligent contract matching when, send confirmation matching response to the participant of the block chain;
If the confirmation matching response that second participant's confirmation receives meets common recognition condition, by described second Intelligent contract is updated to the intelligent contract of the block catenary system.
Device is established the embodiment of the invention provides a kind of intelligent contract, suitable for being deployed with the more of the first intelligent contract The block catenary system of square participant;Described device is suitable for first participant, comprising:
Sending module, for sending the update request based on the described first intelligent contract to second participant;The update The intelligent contract of public key and second in request including first participant;Described second intelligent contract is that the first participant is based on Transaction permission mapping relations update the intelligent contract after the described first intelligent contract;The transaction permission mapping relations include described First participant requests the mapping relations between the transaction permission updated and the public key of the first participant;Described first participates in Person and the second participant are any participant of the intelligent contract;
Determining module, if for confirming that the confirmation received matching response meets common recognition condition, by second intelligence Contract is updated to the intelligent contract of the block catenary system;The confirmation matching response is based on institute for second participant confirmation It states to update and send when the request generates second intelligent contract is matched with the second intelligence contract updated in request.
A kind of possible implementation, the first participant are the participant that the block catenary system is newly added;It is described Device further include:
Module is obtained, the key pair of the first participant is obtained for the first participant, the key pair includes Public key and private key.
A kind of possible implementation, the determining module are also used to confirm described in transaction permission to be changed and generation Transaction permission mapping relations.
A kind of possible implementation, the acquisition module are also used to receive that the second participant sends based on institute State the update request of the second intelligent contract;The public key updated in request including the second participant and third are intelligently closed About;The third intelligence contract is after the second participant is based on the intelligent contract of transaction permission mapping relations update described second Intelligent contract;The transaction permission mapping relations include that the second participant requests the transaction permission and described second updated Mapping relations between the public key of participant;
The confirmation module, if being also used to confirm, the confirmation received matching response meets common recognition condition, by described the Three intelligent contracts are updated to the intelligent contract of the block catenary system;The confirmation matching response is that the first participant confirms It is sent when being matched based on the third intelligence contract for updating request generation with the third intelligence contract updated in request.
Device is established the embodiment of the invention provides a kind of intelligent contract, suitable for being deployed with the more of the first intelligent contract The block catenary system of square participant;Described device is suitable for second participant, comprising:
Module is obtained, sends the update request based on the described first intelligent contract for receiving first participant;Described One participant and the second participant are any participant of the described first intelligent contract;It include described in the update request The public key of first participant and the second intelligent contract;Described second intelligent contract is that the first participant is reflected based on transaction permission The relationship of penetrating updates the intelligent contract after the described first intelligent contract;The transaction permission mapping relations include the first participant Request the mapping relations between the transaction permission updated and the public key of the first participant;
Confirmation module is requested when for confirming that the transaction permission mapping relations meet update rule based on the update Generate the second intelligent contract;Confirm and updates the second intelligent contract and second updated in request that request generates based on described When intelligent contract matches, confirmation matching response is sent to the participant of the block chain;If confirming the confirmation received Meet common recognition condition with response, then the described second intelligent contract is updated to the intelligent contract of the block catenary system.
The embodiment of the invention provides a kind of computer readable storage medium, the computer-readable recording medium storage has Computer executable instructions, the computer executable instructions are for executing the computer as any in the embodiment of the present invention Method described in.
The embodiment of the invention provides a kind of calculating equipment of intelligent contract, comprising:
Memory, for storing program instruction;
Processor is executed according to the program of acquisition such as the present invention for calling the program instruction stored in the memory Method described in any one of embodiment.
The embodiment of the invention provides a kind of method for building up of intelligent contract, device, equipment and storage medium are calculated, compared In the prior art, in embodiments of the present invention, the foundation of the intelligence contract is by the block chain technology based on common recognition algorithm It realizes, the block catenary system of the multi-party participant suitable for being deployed with the first intelligent contract;In the method, pass through the first ginseng The update based on the intelligent contract is sent to second participant with person to request;It wherein, include described the in update request The public key of one participant and the second intelligent contract;Described second intelligent contract is that the first participant is mapped based on transaction permission Relationship updates the intelligent contract after the described first intelligent contract;The transaction permission mapping relations include that the first participant asks Seek the mapping relations between the corresponding affairs of the transaction permission of update and the public key of the first participant;In this way, can Permission is set up when executing the affairs in intelligent contract to each participant in block chain to realize, a participation is effectively guaranteed Interests of the person in business, and then the security risk for preventing each participant from may cause when executing the intelligence contract improve number According to confidentiality, can guarantee the accuracy of the safety and transaction of each participant in intelligent contract, improve intelligent contract Usability.Second participant's confirmation is requested according to the second intelligent contract for updating request generation and the update In the second intelligent contract matching when, send confirmation matching response;If the confirmation matching that first participant's confirmation receives Response meets common recognition condition, then the described second intelligent contract is updated to the intelligent contract of the block catenary system.By above-mentioned Method, can make the update of intelligent contract is to update after the approval based on each participant, and then ensure that intelligent contract Safety.
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, the accompanying drawings in the following description is only some embodiments of the present invention, for ability For the those of ordinary skill in domain, without creative efforts, it can also be obtained according to these attached drawings others Attached drawing.
Fig. 1 show the system architecture schematic diagram provided in the embodiment of the present invention;
Fig. 2 show the structural schematic diagram of the intelligent contract block chain provided in the embodiment of the present invention;
Fig. 3 show the flow diagram of the method for commerce of the intelligent contract provided in the embodiment of the present invention;
Fig. 4 show the flow diagram of the method for building up based on intelligent contract provided in the embodiment of the present invention;
Fig. 5 show the schematic diagram of the method for building up of the intelligent contract provided in the embodiment of the present invention;
Fig. 6 show the schematic diagram of the method for building up of the intelligent contract provided in the embodiment of the present invention;
Fig. 7 show the structural schematic diagram for establishing device of the intelligent contract provided in the embodiment of the present invention;
Fig. 8 show the structural schematic diagram for establishing device of the intelligent contract provided in the embodiment of the present invention.
Specific embodiment
Block chain or distributed account book network are peer-to-peer network, i.e., in the public chain such as bit coin, ether mill and It is communicated and is connected by P2P network between the node of the alliances such as Fabric, Corda chain, right is impartial.Compared to existing Electronics contract realizes the foundation of intelligent contract by the block chain technology based on common recognition algorithm, it is thus possible to guarantee intelligent contract Safety and accuracy;And block chain technology is trusted each other without signing both sides can sign corresponding electronics contract, because And the usability of the method for building up of intelligent contract can also be promoted.By taking Fabric as an example, bottom block platform chain can be used Fabric platform, corresponding intelligence contract layer can realize the compiling and performing environment of Go language using docker technology;Using Include the interface that each participant calls data service platform to provide in layer, realizes and apply logic.
Below by taking ether mill as an example, it is illustrated to establishing in the technical intelligent contract of block chain.It certainly can also To use other underlying platforms and corresponding compiling and performing environment, it is not limited here.
Ether mill (Ethereum) is one and establishes the decentralization application platform on block chain technology.It allows to appoint Who establishes in platform and using the decentralization application for passing through the technical operation of block chain.Ether mill platform is to bottom block chain Technology is encapsulated, and is allowed block chain application developer that can be directly based upon ether mill platform and is developed, as long as developer is special It infuses in the exploitation of application itself, thus greatly reduces difficulty.Program on ether mill is referred to as intelligent contract, it be code and The set of data.
Intelligent contract can be understood as (by the message-driven) that can be performed automatically on block chain, be compiled with code form The contract (special transaction) write.Ether mill is then more complete (in computer science terms, it be referred to as be " figure spirit complete "). Intelligent contract is very suitable to trust, safety and the higher application scenarios of persistent request, such as: digital cash, digital asset, Ballot, insurance, financial application, prediction markets, equity ownership management, Internet of Things, point-to-point transaction etc..
There are two class accounts: external account and contract account in ether mill.External account is that private key controls (being controlled by people), is not had Relevant any code.One external account can sign to transaction by private key, and then send messages to outside another Portion's account or contract account.The process that message is value Transfer is transmitted between two external accounts.Contract account by they Contract code controls and has code to be associated.The code of contract account can be activated to the message of contract account from external account, Contract account can just execute corresponding operation (such as transfer token, be written storage inside, dig out a new token, execute Operation 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.As shown in Figure 1, being one A block chain and distributed account book network, represent its identity in network by the public key of each participant.The public affairs of participant 1 Key and private key are to for (PK1, SK1);The public key and private key of participant 2 is to for (PK2, SK2);The public key and private key pair of participant 3 For (PK3, SK3);The public key and private key of participant 4 is to for (PK4, SK4).
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: contract is spread in block chain the whole network by way of P2P, each node can receive portion;Block The contract received can be first saved in memory by the verifying node in chain, wait the common recognition time of a new round, and the part is closed in triggering Common recognition and processing about.
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, as shown in Fig. 2, each block Include following information: the hash value of current block, the hash value of previous block, timestamp when reaching common understanding and other retouching State information;The most important information of block chain is with one group of contract collection reached common understanding simultaneously;The node of contract collection is received, Every contract will be verified, the contract being verified just can finally be written in block chain, and the content of verifying is mainly closed About whether the private key signature of participant 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 contract deployment, when the method for needing to call this intelligent contract When only need to send message to this contract account, will be executed in EVM by the code of contract intelligent after message trigger.
When triggering intelligent contract, the execution of intelligent contract may include: contract participant, for the phase for executing intelligent contract Participant is closed, message is sent by the external account of contract participant, triggers intelligent contract;Contract resource collection closes for intelligence About execute the participant's resource being related to, for example participate in each side's account, the digital properties possessed etc.;Affairs in intelligent contract are main Include the data for needing to send;And the event in intelligent contract is then the description information to these data.Affairs and event information After being received by the execution node of intelligent contract, the resource status in contract resource collection can be updated, and then trigger intelligent contract Carry out state machine judgement.State machine, including current resource status judgement, next step contract affairs execute selection etc.;Intelligent contract System issues preset data from the automatic state machine of intelligent contract if it is determined that when the trigger condition for including in event meets automatically Resource, and the event including trigger condition;Contract affairs set, for the next step movement of intelligent contract or behavior set, control It makes the assets of intelligent contract and the information received is responded.
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.
Further, to further increase safety, call request can also add for asymmetric encryption or symmetric cryptography etc. Call request after close, specific signature algorithm is herein also without limitation.
In conclusion realizing that intelligence is closed by the block chain technology based on common recognition algorithm compared to existing electronics contract Foundation about, it is thus possible to guarantee the safety and accuracy of intelligent contract;And block chain technology is mutual without signing both sides Trust can sign corresponding electronics contract, thus can also promote the usability of the method for building up of intelligent contract.
But further, for the calling angle to intelligent contract, due to each participant power in intelligent contract Power is impartial, the affairs that any node in network can call in intelligent contract, without being any way limited.For example, Any priority assignation concept is not present in publicly-owned chain;And conjunction whether can only be added according to the participant of contract in alliance's chain About limit permission.For example, in cubic alliance's chain of " Unionpay, Wanda, Jingdone district, China Merchants Bank ", if the conjunction of some Participant about only has Unionpay, Wanda, Jingdone district, then when the intelligence contract is disposed in intelligence contract initialization in other words, it should Intelligent contract will bind the public key of tripartite in Unionpay, Wanda, Jingdone district, it is meant that the intelligence can be used in only this tripartite Energy contract, China Merchants Bank cannot use the contract.But in the contract, existing multiple affairs still can give each ginseng It arbitrarily calls or runs with person.2016, ether mill crowd raised in the intelligent contract of project DAO there have been problems, Due to the intelligent contract write, anyone can call all methods therein, just have hacker to have found the loophole of contract, directly Connect the hard bifurcated for resulting in ether mill.
Therefore, it is necessary to define the competence for affairs of each participant in contract, so that Each performs its own functions by each participant, guarantee The interests of each side.As shown in figure 4, the embodiment of the present application provides a kind of method of commerce of intelligent contract, suitable for being deployed with intelligence The block catenary system of the multi-party participant of contract, comprising:
Step 401: first participant sends the call request for calling the affairs 1 of intelligent contract to second participant;
It can also include that the first participant generates affairs 1 according to the private key of first participant in the call request Signature;
Step 402: after second participant receives the call request, being reflected according to the transaction permission in the intelligent contract Relationship is penetrated, confirms that the first participant and the transaction permission mapping relations of affairs 1 whether there is;If so, thening follow the steps 403;If it is not, thening follow the steps 405;
Specifically, second participant can first extract all public affairs that can call affairs 1 from affairs permissions mapping relationship Key { PK1, PK2, PK3, and then confirm that the first participant and the transaction permission mapping relations of affairs 1 whether there is.Wherein, The transaction permission mapping relations can intelligent contract determine that before deployment, or intelligent contract was executing It is updated in journey, it is not limited here, specific generation method is described in detail later.The schematic diagram of the mapping relations can As shown in figure 3, affairs 1 can be called by participant 1, participant 2 and participant 3.Affairs 2 can be by participant 1 and participation Person 4 calls, and affairs n can be called by participant n.
Step 403: second participant confirms that the call request is verified, and according to the private key of second participant to true Recognize response and generate signature, is spread to the whole network, be broadcast to first participant and other second participants;
Specifically, second participant extracts all public key { PK that can call affairs 1 from affairs permissions mapping relationship1, PK2, PK3, the signature of the call request is verified.
Step 404: if the confirmation response that first participant's confirmation receives meets common recognition condition, calling affairs 1;
Step 405: determining that the call request is illegal calling, specifically, the call request, Huo Zhezhi can be ignored It can the call request of contract refusal.
In this way, may be implemented to set up power when executing each participant in block chain the affairs in intelligent contract Limit is effectively guaranteed an interests of the participant in business, and then prevents each participant may when executing the intelligence contract Caused security risk improves the confidentiality of data, can guarantee the safety and transaction of each participant in intelligent contract Accuracy improves the usability of intelligent contract.
The application scenarios of the update request of intelligent contract are sent to first participant for second participant, the method is also Include:
Step 1: the first participant receive that the second participant sends based on the described second intelligent contract more New request;The public key and third intelligence contract updated in request including the second participant;The third intelligence contract The intelligent contract after the described second intelligent contract is updated based on transaction permission mapping relations for the second participant;The affairs Permissions mapping relationship includes that the second participant requests between the transaction permission updated and the public key of the second participant Mapping relations;
, will be described Step 2: if the confirmation matching response that first participant confirmation receives meets common recognition condition Third intelligence contract is updated to the intelligent contract of the block catenary system;The confirmation matching response is that the first participant is true Recognize and updates transmission when the third intelligence contract that request generates is matched with the third intelligence contract updated in request based on described 's.
In this way, permission when may be implemented to execute each participant in block chain the affairs in intelligent contract Modification, which is all based on, to be updated after the agreement of each participant, an interests of the participant in business are effectively guaranteed, improve The usability of intelligent contract.
As shown in figure 5, the embodiment of the present application provides a kind of method for building up of intelligent contract, suitable for being deployed with the first intelligence The block catenary system of the multi-party participant of contract;The described method includes:
Step 501: second participant receives first participant and sends the update request based on the described first intelligent contract;
Wherein, the first participant and the second participant are any participant of the described first intelligent contract;Institute State the public key and the second intelligent contract updated in request including the first participant;Described second intelligent contract is described first Participant updates the intelligent contract after the described first intelligent contract based on transaction permission mapping relations;The transaction permission mapping is closed System includes the mapping relations between the first participant request transaction permission updated and the public key of the first participant;
Step 502: when the second participant confirms that the transaction permission mapping relations meet update rule, based on described It updates request and generates the second intelligent contract;
Step 503: second participant confirmation based on it is described update the second intelligent contract that request generates and it is described more When the second intelligent contract in new request matches, confirmation matching response is sent to the participant of the block chain;
Step 504:, will if the confirmation matching response that second participant confirmation receives meets common recognition condition Described second intelligent contract is updated to the intelligent contract of the block catenary system.
If the embodiment in Fig. 4 and Fig. 5 is to have updated the scene of intelligent contract in the case where intelligent contract has been disposed, at this In scene, each participant has set the transaction permission relationship of each participant.In practical applications, can may also be related to joining The case where changing is needed with the transaction permission of side, therefore, the embodiment of the present application provides a kind of method of transaction permission change, such as schemes Shown in 6, the block catenary system of the multi-party participant suitable for being deployed with the first intelligent contract;Include:
Step 601: first participant sends the update request based on the described first intelligent contract to second participant;
Wherein, the public key updated in request including the first participant and the second intelligent contract;Second intelligence Energy contract is that the first participant updates the intelligent contract after the described first intelligent contract based on transaction permission mapping relations;Institute Stating transaction permission mapping relations includes that the first participant requests the transaction permission updated and the public key of the first participant Between mapping relations;The first participant and the second participant are any participant of the intelligent contract.
A kind of possible application scenarios can be generated for after the completion of the first intelligent contract deployment by first participant The mode of second intelligent contract is updated the first intelligent contract, to increase or delete between first participant and each affairs Mapping relations.
A kind of possible implementation, the first participant are that the block chain is newly added after disposing the first intelligent contract The participant of system;The first participant sends the update based on the described first intelligent contract to second participant and requests it Before, further includes: the first participant obtains the key pair of the first participant, and the key pair includes public key and private key.
Specifically, when new participant is added in the block catenary system or distributed account book network, new participant from The external account for representing its identity, i.e. public private key pair (PK can locally be automatically generatednew, SKnew)。
A kind of possible implementation, the participant when first participant can be deployment the first intelligence contract, It can be the participant that the block catenary system is newly added;The first participant sends to second participant and is based on described first Before the update request of intelligent contract, further includes: the first participant confirms transaction permission to be changed and generates the thing Business permissions mapping relationship.
In a kind of specific implementation process, the second intelligent contract that first participant sends to second participant can be First participant updates the address of the intelligent contract after the described first intelligent contract according to transaction permission mapping relations;The address It can be hash value;The public key of first participant can be hash value, or other identifier mode, it is not limited here.
Step 602: the second participant receives the update request of the described first intelligent contract, confirms the transaction permission When mapping relations meet update rule, the second intelligence contract is generated based on update request;
Step 603: second participant confirmation based on it is described update the second intelligent contract that request generates and it is described more When the second intelligent contract in new request matches, confirmation matching response is sent to the participant of the block chain.
Specifically, second participant can be according to the address (hash value) for updating the second intelligent contract that request generates It is matched with the address of the second intelligent contract updated in request, if successful match, the intelligent contract of confirmation second Legitimacy.
Step 604: if the confirmation matching response that the first participant and second participant confirmation receive meets Described second intelligent contract is then updated to the intelligent contract of the block catenary system by common recognition condition.
Wherein, the confirmation matching response is second participant confirmation based on second intelligence for updating request and generating What energy contract was sent when matching with the second intelligent contract updated in request.
Certain several transaction permission therein can only be called by the way that each participant is arranged, it should to improve each participant's execution Safety when intelligent contract.And by the above method, can make the update of intelligent contract is recognizing based on each participant It can update afterwards, and then ensure that the safety of intelligent contract.
During the deployment of intelligent contract, first participant is by the public key of affairs and first participant in intelligent contract Between establish mapping relations, and by common recognition algorithm, so that the second participant for participating in disposing intelligent contract closes the mapping System is verified, if being proved to be successful, is stored in the account book of each participant, guarantee can not distort.It has been disposed in intelligent contract Cheng Hou establishes all affairs in intelligent contract and the mapping relations of first participant and second participant.
In specific implementation process, it may comprise steps of:
Step 1: first participant sends the transaction permission mapping relations based on the first participant to second participant Update request;Described update includes the public key of the first participant and the transaction permission of first participant in request;
Wherein, the transaction permission mapping relations include that the first participant requests the transaction permission updated and described the Mapping relations between the public key of one participant;
, will be described Step 2: if the confirmation matching response that first participant confirmation receives meets common recognition condition The intelligent contract of the block catenary system is added in the mapping relations of first participant.
Wherein, confirmation matching response be the second participant confirm the first participant possess it is described with it is described It is sent when updating the transaction permission in request.
The embodiment of the present application realizes the deployment process in intelligent contract only by the update to transaction permission mapping relations In, the setting of the transaction permission to each participant is quickly finished, the relevance grade of intelligent contract is improved, effectively raises intelligence The safety of energy contract.
To improve safety, transaction permission change request can also include the signature of first participant, and described first The signature of participant is that first participant generates according to the private key that transaction permission changes request and first participant;Second ginseng The legitimacy of the first participant can be verified according to the signature of first participant with person;If being proved to be successful, described in confirmation Transaction permission change request is what first participant sent, then carries out common recognition algorithm to transaction permission change request and test Card.What the common recognition algorithm can make an appointment for platform, or what each participant arranged jointly, it is not limited here.
In a specific embodiment, the first participant 1 of intelligent contract is remittance abroad mechanism overseas, and second participant 2 For liquidation organization and remittance 3 participants of mechanism of second participant 3 of transferring within the border.With intelligent contract for cross-border remittance inquiry business For, the establishment process of intelligent contract includes:
Step 1: establishing the transaction permission mapping relations of each participant and affairs, intelligent contract is generated.
The affairs to be called of each participant include 5 kinds, that is, submit remittance, remittance to transfer, remittance keeps accounts, it is clear to remit money It calculates, remittance inquiry.Transaction permission mapping relations are established to the participant of this 5 kinds of affairs, i.e. first participant 1 can only call submission Remittance and remittance two kinds of affairs of inquiry, second participant 2 can only call three kinds of things of remittance switching, remittance clearance and remittance inquiry Business, second participant 3 can only call remittance to keep accounts and remit money and inquire two kinds of affairs.
In the specific implementation process, in the transaction permission mapping relations, including " submitting remittance " affairs and second participate in The public key of person 3 is bound;The public key binding of " remittance switching " affairs and second participant 2;" remittance keeps accounts " affairs and second participate in The binding of 3 public key of person;The public key binding of " remittance clearance " affairs and second participant 2;" remittance inquiry " affairs be it is open, it is any Participant can call.
Step 2: the intelligent contract is deployed to each node.
By the above method, the participant of different function can be made only to be capable of calling corresponding affairs, ensure that each participation For person when calling the intelligence contract, Each performs its own functions, effectively raises the safety and adaptability of intelligent contract.
The establishment process of the intelligence contract can also include the method that block chain is added in new participant, comprising:
Step 1: first participant 2 sends to second participant 1-3 and first participant 1 based on the first intelligent contract Update request;Above-mentioned first participant 2 is new participant, it is described update include in request first participant 2 public key and the Two intelligent contracts;
Wherein, the described second intelligent contract is that first participant 2 is closed based on the first intelligence of transaction permission mapping relations update Intelligent contract after about;The transaction permission mapping relations include that first participant 2 requests the transaction permission updated and the first ginseng Mapping relations between the public key of person 2;
, will be described Step 2: if the confirmation matching response that first participant confirmation receives meets common recognition condition Second intelligent contract is updated to the intelligent contract of the block catenary system;The confirmation matching response is that the second participant is true Recognize and updates transmission when the second intelligent contract that request generates is matched with the second intelligent contract updated in request based on described 's.
Each participant realizes the change of the transaction permission to first participant 2 according to the second intelligent contract of update, First participant 2 obtains corresponding authority.
By taking intelligent contract is cross-border remittance inquiry business as an example, the implementation procedure of intelligent contract includes:
Step 1: first participant 1 initiates the call request of " submitting remittance " affairs, it include first in the call request Participant 1 remits money to the submission according to the private key of first participant 1 " affairs sign, and which can broadcast to network Each node;
Step 2: intelligent contract extracts " submitting remittance " corresponding public key of office to the calling from mapping relations Signature in request is verified, and after being verified, the data that first participant 1 uploads are stored in account book.
By taking intelligent contract is cross-border remittance transfer service as an example, the implementation procedure of intelligent contract includes:
Step 1: first participant 1 initiates the call request of " remittance switching " affairs, it include first in the call request Participant 1 signs to " remittance is transferred " affairs according to the private key of first participant 1, which can broadcast to network Each node;
Step 2: node server extracts " remittance switching " corresponding public key of office to the tune from mapping relations It is verified with the signature in request, the public key of first participant 1 is not present in " remittance switching " transaction permission mapping relations, then The node server confirmation verifying signature, returns to mistake.
As shown in fig. 7, the embodiment of the present application a kind of intelligent contract is provided establish device, suitable for being deployed with the first intelligence The block catenary system of the multi-party participant of contract;Described device is suitable for first participant, comprising:
Sending module 701, for sending the update request based on the described first intelligent contract to second participant;It is described more It include the public key and the second intelligent contract of first participant in new request;Described second intelligent contract is first participant's base Intelligent contract after transaction permission mapping relations update the described first intelligent contract;The transaction permission mapping relations include institute State the mapping relations between first participant's request transaction permission updated and the public key of the first participant;First ginseng It is any participant of the intelligent contract with person and the second participant;
Determining module 702, if for confirming that the confirmation received matching response meets common recognition condition, by second intelligence Energy contract is updated to the intelligent contract of the block catenary system;The confirmation matching response is that second participant confirmation is based on What the second intelligent contract for updating request generation was sent when matching with the second intelligent contract updated in request.
A kind of possible implementation, the first participant are the participant that the block catenary system is newly added;It is described Device further include:
Module is obtained, the key pair of the first participant is obtained for the first participant, the key pair includes Public key and private key.
A kind of possible implementation, determining module 701 are also used to confirm transaction permission to be changed and generate the thing Business permissions mapping relationship.
A kind of possible implementation, the acquisition module are also used to receive that the second participant sends based on institute State the update request of the second intelligent contract;The public key updated in request including the second participant and third are intelligently closed About;The third intelligence contract is after the second participant is based on the intelligent contract of transaction permission mapping relations update described second Intelligent contract;The transaction permission mapping relations include that the second participant requests the transaction permission and described second updated Mapping relations between the public key of participant;
Confirmation module 702, if being also used to confirm, the confirmation received matching response meets common recognition condition, by the third Intelligent contract is updated to the intelligent contract of the block catenary system;The confirmation matching response is that the first participant confirms base It is sent when the third intelligence contract for updating request generation is matched with the third intelligence contract updated in request.
As shown in figure 8, the embodiment of the present application a kind of intelligent contract is provided establish device, suitable for being deployed with the first intelligence The block catenary system of the multi-party participant of contract;Described device is suitable for second participant, comprising:
Module 801 is obtained, sends the update request based on the described first intelligent contract for receiving first participant;It is described First participant and the second participant are any participant of the described first intelligent contract;It include institute in the update request State the public key and the second intelligent contract of first participant;Described second intelligent contract is that the first participant is based on transaction permission Mapping relations update the intelligent contract after the described first intelligent contract;The transaction permission mapping relations include first participation Person requests the mapping relations between the transaction permission updated and the public key of the first participant;
Confirmation module 802 is asked when for confirming that the transaction permission mapping relations meet update rule based on the update Seek survival into the second intelligent contract;Confirm and updates the second intelligent contract that request generates and the updated in request based on described When two intelligent contract matchings, confirmation matching response is sent to the participant of the block chain;If confirming the confirmation received Matching response meets common recognition condition, then the described second intelligent contract is updated to the intelligent contract of the block catenary system.
It should be noted that the device of establishing of intelligent contract described in the embodiment of the present invention can be integrated for an integrating device In corresponding electronic equipment, such as in PC, tablet computer or mobile phone, it can also be arranged for an autonomous device in corresponding electronics Except equipment, the embodiment of the present invention is not limited in any way this.
The embodiment of the present application provides a kind of computer readable storage medium, and the computer-readable recording medium storage has meter Calculation machine executable instruction, the computer executable instructions are for making the computer execute such as above-mentioned as described in the examples One method.
The computer storage medium can be any usable medium or data storage device that computer can access, packet Include but be not limited to magnetic storage (such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc.), optical memory (such as CD, DVD, BD, HVD etc.) and semiconductor memory (such as it is ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid State hard disk (SSD)) etc..
The embodiment of the present application provides a kind of calculating equipment of intelligent contract, comprising:
Memory, for storing program instruction;
Processor executes such as above-mentioned reality according to the program of acquisition for calling the program instruction stored in the memory Either apply described in example method.
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 (12)

1. a kind of method for building up of intelligence contract, which is characterized in that suitable for being deployed with the multi-party participant of the first intelligent contract Block catenary system;The described method includes:
First participant sends the update request based on the described first intelligent contract to second participant;It is wrapped in the update request Include the public key and the second intelligent contract of the first participant;Described second intelligent contract is that the first participant is based on affairs Permissions mapping relationship updates the intelligent contract after the described first intelligent contract;The transaction permission mapping relations include described first Participant requests the mapping relations between the transaction permission updated and the public key of the first participant;The first participant with The second participant is any participant of the intelligent contract;
If the confirmation matching response that first participant's confirmation receives meets common recognition condition, by the described second intelligent contract It is updated to the intelligent contract of the block catenary system;It is that the second participant confirms based on described in more that the confirmation, which matches response, What the second intelligent contract that new request generates was sent when matching with the second intelligent contract updated in request.
2. the method for building up of intelligence contract as described in claim 1, which is characterized in that institute is added to be new in the first participant State the participant of block catenary system;
The first participant is sent to second participant before the update request based on the described first intelligent contract, further includes:
The first participant obtains the key pair of the first participant, and the key pair includes public key and private key.
3. the method for building up of intelligence contract as described in claim 1, which is characterized in that the first participant participates in second Person sends before the update request based on the described first intelligent contract, further includes:
The first participant confirms transaction permission to be changed and generates the transaction permission mapping relations.
4. the method for building up of intelligence contract as described in claim 1, which is characterized in that the method also includes:
The first participant receives the update request based on the described second intelligent contract that the second participant sends;It is described Update the public key and third intelligence contract in request including the second participant;The third intelligence contract is second ginseng The intelligent contract after the described second intelligent contract is updated based on transaction permission mapping relations with person;The transaction permission mapping relations The mapping relations between the transaction permission updated and the public key of the second participant are requested including the second participant;
If the confirmation matching response that first participant's confirmation receives meets common recognition condition, by the third intelligence contract It is updated to the intelligent contract of the block catenary system;It is that the first participant confirms based on described in more that the confirmation, which matches response, What the third intelligence contract that new request generates was sent when matching with the third intelligence contract updated in request.
5. a kind of method for building up of intelligence contract, which is characterized in that suitable for being deployed with the multi-party participant of the first intelligent contract Block catenary system;The described method includes:
Second participant receives first participant and sends the update request based on the described first intelligent contract;The first participant It is any participant of the described first intelligent contract with the second participant;It include first participation in the update request The public key of person and the second intelligent contract;Described second intelligent contract is that the first participant is based on transaction permission mapping relations more Intelligent contract after new described first intelligent contract;The transaction permission mapping relations include that the first participant requests to update Transaction permission and the first participant public key between mapping relations;
When the second participant confirms that the transaction permission mapping relations meet update rule, generated based on update request Second intelligent contract;
Second participant confirmation updates the second intelligent contract that request generates and the updated in request based on described When two intelligent contract matchings, confirmation matching response is sent to the participant of the block chain;
If the confirmation matching response that second participant's confirmation receives meets common recognition condition, by second intelligence Contract is updated to the intelligent contract of the block catenary system.
6. a kind of intelligence contract establishes device, which is characterized in that suitable for being deployed with the multi-party participant of the first intelligent contract Block catenary system;Described device is suitable for first participant, comprising:
Sending module, for sending the update request based on the described first intelligent contract to second participant;The update request In include first participant public key and the second intelligent contract;Described second intelligent contract is that the first participant is based on affairs Permissions mapping relationship updates the intelligent contract after the described first intelligent contract;The transaction permission mapping relations include described first Participant requests the mapping relations between the transaction permission updated and the public key of the first participant;The first participant with The second participant is any participant of the intelligent contract;
Determining module, if for confirming that the confirmation received matching response meets common recognition condition, by the described second intelligent contract It is updated to the intelligent contract of the block catenary system;It is that the second participant confirms based on described in more that the confirmation, which matches response, What the second intelligent contract that new request generates was sent when matching with the second intelligent contract updated in request.
7. intelligence contract as claimed in claim 6 establishes device, which is characterized in that institute is added to be new in the first participant State the participant of block catenary system;Described device further include:
Module is obtained, the key pair of the first participant is obtained for the first participant, the key pair includes public key And private key.
8. intelligence contract as claimed in claim 6 establishes device, which is characterized in that the determining module is also used to confirm Transaction permission to be changed simultaneously generates the transaction permission mapping relations.
9. intelligence contract as claimed in claim 6 establishes device, which is characterized in that
The acquisition module is also used to receive the update based on the described second intelligent contract that the second participant sends and asks It asks;The public key and third intelligence contract updated in request including the second participant;The third intelligence contract is institute It states second participant and updates the intelligent contract after the described second intelligent contract based on transaction permission mapping relations;The transaction permission Mapping relations include the mapping between second participant's request transaction permission updated and the public key of the second participant Relationship;
The confirmation module, if being also used to confirm, the confirmation received matching response meets common recognition condition, by the third intelligence Energy contract is updated to the intelligent contract of the block catenary system;The confirmation matching response is that first participant confirmation is based on What the third intelligence contract for updating request generation was sent when matching with the third intelligence contract updated in request.
10. a kind of intelligence contract establishes device, which is characterized in that suitable for being deployed with the multi-party participant of the first intelligent contract Block catenary system;Described device is suitable for second participant, comprising:
Module is obtained, sends the update request based on the described first intelligent contract for receiving first participant;First ginseng It is any participant of the described first intelligent contract with person and the second participant;It include described first in the update request The public key of participant and the second intelligent contract;Described second intelligent contract is that the first participant is based on transaction permission mapping pass System updates the intelligent contract after the described first intelligent contract;The transaction permission mapping relations include first participant's request Mapping relations between the transaction permission of update and the public key of the first participant;
Confirmation module when for confirming that the transaction permission mapping relations meet update rule, is generated based on update request Second intelligent contract;Confirm and updates the second intelligent contract and second intelligence updated in request that request generates based on described When contract matches, confirmation matching response is sent to the participant of the block chain;If confirming, the confirmation matching received is rung Common recognition condition should be met, then the described second intelligent contract is updated to the intelligent contract of the block catenary system.
11. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer can It executes instruction, the computer executable instructions are according to any one of claims 1 to 4 for executing the computer Method, or, the computer executable instructions are for making the computer execute method as claimed in claim 5.
12. a kind of calculating equipment of intelligence contract characterized by comprising
Memory, for storing program instruction;
Processor, for calling the program instruction stored in the memory, according to acquisition program execute as claim 1 to Method described in any one of 4, or method as claimed in claim 5 is executed according to the program of acquisition.
CN201810700792.1A 2018-06-29 2018-06-29 Intelligent contract establishing method and device, computing equipment and storage medium Active CN109003185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810700792.1A CN109003185B (en) 2018-06-29 2018-06-29 Intelligent contract establishing method and device, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810700792.1A CN109003185B (en) 2018-06-29 2018-06-29 Intelligent contract establishing method and device, computing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109003185A true CN109003185A (en) 2018-12-14
CN109003185B CN109003185B (en) 2022-03-22

Family

ID=64601783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810700792.1A Active CN109003185B (en) 2018-06-29 2018-06-29 Intelligent contract establishing method and device, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109003185B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885612A (en) * 2018-12-26 2019-06-14 联动优势科技有限公司 The synchronization take-effective method and device of block chain intelligence contract
CN109934593A (en) * 2019-03-26 2019-06-25 众安信息技术服务有限公司 For realizing the design method and equipment of the block catenary system for supporting multi-signature
CN110083604A (en) * 2019-04-17 2019-08-02 上海沄界信息科技有限公司 A kind of data really weigh method and device
CN111080292A (en) * 2019-11-25 2020-04-28 支付宝(杭州)信息技术有限公司 Method and device for acquiring block chain transaction signature data
CN111445235A (en) * 2019-01-16 2020-07-24 延安医链区块链科技有限公司 Key management method based on medical block chain
CN111445234A (en) * 2019-01-16 2020-07-24 延安医链区块链科技有限公司 Intelligent contract program updating system and method based on medical block chain
CN111626722A (en) * 2020-06-01 2020-09-04 中国联合网络通信集团有限公司 Cross-border payment method and device
CN112084256A (en) * 2019-06-12 2020-12-15 国际商业机器公司 Aggregated machine learning validation for databases
CN117172913A (en) * 2023-10-12 2023-12-05 广州保德来小额贷款有限公司 Intelligent contract-based contract change procedure execution method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
CN106534097A (en) * 2016-10-27 2017-03-22 上海亿账通区块链科技有限公司 Block chain trading based authority control method and system
CN106778329A (en) * 2016-11-28 2017-05-31 中国银行股份有限公司 A kind of block chain intelligence contract template dynamic updating method, apparatus and system
CN106778109A (en) * 2016-11-24 2017-05-31 江苏通付盾科技有限公司 A kind of certification authority evaluation method and device based on intelligent contract
CN107464148A (en) * 2017-08-23 2017-12-12 众安信息技术服务有限公司 A kind of intelligent contract upgrade method and system based on alliance's chain
CN107911373A (en) * 2017-11-24 2018-04-13 中钞信用卡产业发展有限公司杭州区块链技术研究院 A kind of block chain right management method and system
US20200151718A1 (en) * 2018-11-27 2020-05-14 Alibaba Group Holding Limited System and method for improving security of smart contract on blockchain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
CN106534097A (en) * 2016-10-27 2017-03-22 上海亿账通区块链科技有限公司 Block chain trading based authority control method and system
CN106778109A (en) * 2016-11-24 2017-05-31 江苏通付盾科技有限公司 A kind of certification authority evaluation method and device based on intelligent contract
CN106778329A (en) * 2016-11-28 2017-05-31 中国银行股份有限公司 A kind of block chain intelligence contract template dynamic updating method, apparatus and system
CN107464148A (en) * 2017-08-23 2017-12-12 众安信息技术服务有限公司 A kind of intelligent contract upgrade method and system based on alliance's chain
CN107911373A (en) * 2017-11-24 2018-04-13 中钞信用卡产业发展有限公司杭州区块链技术研究院 A kind of block chain right management method and system
US20200151718A1 (en) * 2018-11-27 2020-05-14 Alibaba Group Holding Limited System and method for improving security of smart contract on blockchain

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885612B (en) * 2018-12-26 2021-04-20 联动优势科技有限公司 Synchronous validation method and device for intelligent contracts of block chains
CN109885612A (en) * 2018-12-26 2019-06-14 联动优势科技有限公司 The synchronization take-effective method and device of block chain intelligence contract
CN111445235A (en) * 2019-01-16 2020-07-24 延安医链区块链科技有限公司 Key management method based on medical block chain
CN111445234A (en) * 2019-01-16 2020-07-24 延安医链区块链科技有限公司 Intelligent contract program updating system and method based on medical block chain
CN109934593A (en) * 2019-03-26 2019-06-25 众安信息技术服务有限公司 For realizing the design method and equipment of the block catenary system for supporting multi-signature
CN109934593B (en) * 2019-03-26 2023-07-04 众安信息技术服务有限公司 Design method and device for realizing block chain system supporting multiple signatures
CN110083604A (en) * 2019-04-17 2019-08-02 上海沄界信息科技有限公司 A kind of data really weigh method and device
CN112084256A (en) * 2019-06-12 2020-12-15 国际商业机器公司 Aggregated machine learning validation for databases
CN111080292B (en) * 2019-11-25 2021-09-10 支付宝(杭州)信息技术有限公司 Method and device for acquiring block chain transaction signature data
CN111080292A (en) * 2019-11-25 2020-04-28 支付宝(杭州)信息技术有限公司 Method and device for acquiring block chain transaction signature data
CN111626722A (en) * 2020-06-01 2020-09-04 中国联合网络通信集团有限公司 Cross-border payment method and device
CN111626722B (en) * 2020-06-01 2023-11-24 中国联合网络通信集团有限公司 Cross-border payment method and device
CN117172913A (en) * 2023-10-12 2023-12-05 广州保德来小额贷款有限公司 Intelligent contract-based contract change procedure execution method and system
CN117172913B (en) * 2023-10-12 2024-02-13 广州保德来小额贷款有限公司 Intelligent contract-based contract change procedure execution method and system

Also Published As

Publication number Publication date
CN109003185B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
CN109003185A (en) A kind of method for building up, device, calculating equipment and the storage medium of intelligence contract
Li et al. CrowdBC: A blockchain-based decentralized framework for crowdsourcing
US20190173854A1 (en) Decentralized information sharing network
TWI716140B (en) Data processing method and device based on blockchain
JP7377312B2 (en) Systems and methods realized by blockchain
CN110175913A (en) Data processing system, method, calculating equipment and storage medium based on block chain
CN109241778A (en) A kind of public transport data processing method and device based on block chain
TWI717927B (en) Hybrid blockchain architecture with computing pool
Alshaikhli et al. Evolution of Internet of Things from blockchain to IOTA: A survey
Yadav Blockchain Security
CN111383114A (en) Asset information management method and device based on block chain
CN111402033A (en) Asset information management method and device based on block chain
WO2022237588A1 (en) Blockchain-based data evidence storage method and apparatus, device, and storage medium
US20210176036A1 (en) Pyramid construct with trusted score validation
CN111340628A (en) Asset information management method and device based on block chain
JP2023027775A (en) Computer-implemented method, computer system and computer program for privacy-preserving auditable accounts (privacy-preserving auditable accounts)
Islam et al. A survey on consensus algorithms in blockchain-based applications: Architecture, taxonomy, and operational issues
CN109711840A (en) A kind of transaction data processing method, device and storage medium
KR102139551B1 (en) Method and server for managing testament
Shah Blockchain for Business with Hyperledger Fabric: A complete guide to enterprise blockchain implementation using Hyperledger Fabric
Clark et al. Research perspectives and challenges for bitcoin and cryptocurrencies
Gauld et al. The burst dymaxion
Antal et al. Distributed Ledger Technology Review and Decentralized Applications Development Guidelines. Future Internet 2021, 13, 62
CN117061089B (en) Voting management method, device, equipment and storage medium
Dhillon et al. Blockchain 3.0

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