CN108960830A - Dispositions method, device, equipment and the storage medium of intelligent contract - Google Patents
Dispositions method, device, equipment and the storage medium of intelligent contract Download PDFInfo
- Publication number
- CN108960830A CN108960830A CN201810779278.1A CN201810779278A CN108960830A CN 108960830 A CN108960830 A CN 108960830A CN 201810779278 A CN201810779278 A CN 201810779278A CN 108960830 A CN108960830 A CN 108960830A
- Authority
- CN
- China
- Prior art keywords
- contract
- intelligent
- node
- intelligent target
- platform
- 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/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses dispositions method, device, equipment and the storage mediums of a kind of intelligent contract.Wherein, this method is executed by the node in block chain network, this method comprises: the platform digital according to the Intelligent target contract obtained in advance is signed, auditing verification is reported to request to intelligent contract platform, wherein auditing verification request is for requesting the intelligent contract platform to issue the auditing result of the Intelligent target contract;If the Intelligent target contract audit passes through, local verification is carried out to the Intelligent target contract;If local verification passes through, the Intelligent target contract is disposed in local node.Technical solution provided in an embodiment of the present invention, node in block chain network uses intelligent contract according to security certification result of the intelligent contract platform to intelligent contract, it solves the problems, such as that intelligent contract causes to be not used due to being not trusted, ensure that the safety and reliability of intelligent contract.
Description
Technical field
The present embodiments relate to block chain technical field more particularly to a kind of dispositions method of intelligent contract, device, set
Standby and storage medium.
Background technique
Existing intelligence contract only has fixed several modes, such as the script mode of bit coin, ether mill
Solidity mode and EOS WebAssembly mode.The development mode of these types of intelligence contract has limitation, all
It is not write with the primary language of block chain, is write with other language.
Since existing intelligent contract is write with the primary language of block chain, existing intelligence contract be all to CPU,
Memory, disk have to be run in the virtual machine of restriction condition, and the limitation of poor performance, virtual machine is also very much.
Although the property of intelligent contract can be improved in the intelligent contract that being write using primary language can be executed in physical machine
Can, still, the ability of primary language is very powerful, and intelligent contract is run directly in physical machine, rather than operates in void
On quasi- machine, there are security risks.
Summary of the invention
The embodiment of the invention provides dispositions method, device, equipment and the storage mediums of a kind of intelligent contract, solve intelligence
Energy contract leads to the problem of being not used due to being not trusted, and ensure that the safety and reliability of intelligent contract.
In a first aspect, the embodiment of the invention provides a kind of dispositions methods of intelligent contract, by the section in block chain network
Point executes, this method comprises:
According to the platform digital signature of the Intelligent target contract obtained in advance, auditing verification is reported to ask to intelligent contract platform
It asks, wherein auditing verification request is for requesting the intelligent contract platform to issue the audit knot of the Intelligent target contract
Fruit;
If the Intelligent target contract audit passes through, local verification is carried out to the Intelligent target contract;
If local verification passes through, the Intelligent target contract is disposed in local node.
Second aspect, the embodiment of the invention provides a kind of dispositions methods of intelligent contract, are executed by intelligent contract platform,
This method comprises:
The auditing verification that the node in block catenary system is reported according to the platform digital signature of Intelligent target contract is received to ask
It asks;
The auditing result of the Intelligent target contract is obtained, and issues the auditing result to the node, makes the section
Point executes as follows: if Intelligent target contract audit passes through, carrying out local verification to the Intelligent target contract;If local
Verification passes through, then the Intelligent target contract is disposed in local node.
The third aspect, the embodiment of the invention provides a kind of deployment devices of intelligent contract, are configured in block chain network
Node in, which includes:
Checking request reporting module, for the platform digital signature according to the Intelligent target contract obtained in advance, to intelligence
Contract platform reports auditing verification to request, wherein auditing verification request is described for requesting the intelligent contract platform to issue
The auditing result of Intelligent target contract;
Local correction verification module carries out the Intelligent target contract if passing through for Intelligent target contract audit
Local verification;
Intelligent contract deployment module is disposed the Intelligent target in local node and is closed if passing through for local verify
About.
Fourth aspect, the embodiment of the invention provides a kind of deployment devices of intelligent contract, are configured at intelligent contract platform
In, which includes:
Checking request receiving module, for receiving platform digital of the node in block catenary system according to Intelligent target contract
The auditing verification reported of signing is requested;
Auditing result issues module, issues for obtaining the auditing result of the Intelligent target contract, and to the node
The auditing result executes the node as follows: if Intelligent target contract audit passes through, closing to the Intelligent target
About carry out local verification;If local verification passes through, the Intelligent target contract is disposed in local node.
5th aspect, the embodiment of the invention also provides a kind of equipment, which includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the dispositions method of any intelligent contract in first aspect or realizes any intelligence in second aspect
The dispositions method of contract.
6th aspect, the embodiment of the invention also provides a kind of storage mediums, are stored thereon with computer program, the program
It realizes when being executed by processor in first aspect and appoints in the dispositions method of any intelligent contract or realization second aspect
The dispositions method of the meaning intelligent contract.
Technical solution provided in an embodiment of the present invention, the node in block chain network when disposing Intelligent target contract, according to
Intelligent target contract is disposed to the auditing result of Intelligent target contract and local check results according to intelligent contract platform, is solved
Intelligent contract directly executes in physical machine, due to there are problems that security risk etc. is not trusted and causes to be not used, protects
The safety and reliability of intelligent contract are demonstrate,proved.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the dispositions method of the intelligent contract provided in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of the dispositions method of the intelligent contract provided in the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of the dispositions method of the intelligent contract provided in the embodiment of the present invention three;
Fig. 4 is a kind of flow chart of the dispositions method of the intelligent contract provided in the embodiment of the present invention four;
Fig. 5 is a kind of structural block diagram of the deployment device of the intelligent contract provided in the embodiment of the present invention five;
Fig. 6 is a kind of structural block diagram of the deployment device of the intelligent contract provided in the embodiment of the present invention six;
Fig. 7 is a kind of structural schematic diagram of the equipment provided in the embodiment of the present invention seven.
Specific embodiment
The embodiment of the present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this
Locate described specific embodiment and is used only for explaining the embodiment of the present invention, rather than limitation of the invention.It further needs exist for
Bright, only parts related to embodiments of the present invention are shown for ease of description, in attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart of the dispositions method for intelligent contract that the embodiment of the present invention one provides, and the present embodiment is available
In solving directly to execute in physical machine based on embedded contract mechanism using the intelligent contract that primary voice speech is write, due to existing
Security risk etc. and being not trusted leads to the case where being not used.The block chain being applicable in can be publicly-owned chain, alliance's chain or
Private chain.The dispositions method of a whole set of intelligence contract executes with the node and intelligent contract platform usually in block chain network, this
The scheme of inventive embodiments is applied to the node in block chain network, and this method can be closed by intelligence provided in an embodiment of the present invention
Deployment device about executes, and the mode which can be used software and/or hardware is realized, and can be integrated in carrying block link network
In the calculating equipment of network node.Referring to Fig. 1, this method is specifically included:
S110 reports audit to intelligent contract platform according to the platform digital signature of the Intelligent target contract obtained in advance
Checking request, wherein auditing verification request is for requesting intelligent contract platform to issue the auditing result of Intelligent target contract.
Wherein, Intelligent target contract, which refers to, is called simultaneously based on what Plugin Mechanism was write for the node in block chain network
The code segment of execution, the execution of an Intelligent target contract can be achieved at least one function or handle a kind of transactions requests;It is optional
, Intelligent target contract may include at least one operation function, and with operation function there are dynamic binding relationship, running
The function of middle calling;It can also include initialization function, for in the Intelligent target contract that is configured in local node for the first time
Input parameter, variable or the condition of function etc. assign initial value, so that Intelligent target contract be enable to be run;In addition, target
It can also include the rollback function of each operation function in intelligent contract, operation function and rollback function correspond, if operation letter
Number, then can be using the rollback function for the operation function that system default generates without including rollback function.
Intelligent contract platform is the intelligent contract storage system of a centralization or decentralization, can carry out intelligent contract
It audits, compile and issues;Typical intelligence contract platform can be a carrying intelligent contract and the function such as audit, compiles and issue
The computer equipment of energy.Platform digital signature refers to intelligent contract platform using signature algorithm such as SHA256, platform public key or private
The signature unique that key etc. carries out Intelligent target contract, can be cryptographic Hash or mark of Intelligent target contract etc..
It should be noted that the platform digital signature of Intelligent target contract be it is unique, the two there are dynamic binding relationship,
It can sign according to the platform digital of Intelligent target contract and inquire unique intelligent contract on intelligent platform.
If also, local node is the creation node of block chain network and local node is not creation node, platform digital
The acquisition modes of signature are distinct.
If local node is not the creation node of block chain network, local node can obtain mesh by following several modes
It marks the platform digital signature of intelligent contract: 1) receiving the flat of the Intelligent target contract that intelligent contract platform is issued to block chain network
Platform digital signature;2) the platform number for the Intelligent target contract that the creation node of reception block chain network is issued in block chain network
Word signature;3) other sections for having platform digital to sign are obtained from intelligent contract platform or creation node in advance from block chain network
It is obtained at point.
If local node is the creation node of block chain network, local node can obtain target intelligence by two ways
The platform digital signature of energy contract: 1) the platform number for the Intelligent target contract that intelligent contract platform is issued to block chain network is received
Word signature;2) the deployment request of Intelligent target contract is sent to intelligent contract platform, receives the target intelligence that intelligent contract platform issues
The platform digital signature of energy contract.
Audit verification request is platform digital signature and local node of the local node according to the intelligent contract obtained in advance
The generations such as mark, the platform digital signature for being used to indicate intelligent contract platform according to Intelligent target contract waits until that Intelligent target closes
Auditing result about, and identify according to local node to local node and issue auditing result.Wherein, auditing result refers to target
The code of intelligent contract is write that specification, function and safety etc. are authenticated as a result, may include that audit passes through and audits not
Pass through two kinds of situations.
Specifically, if local node needs to dispose an Intelligent target contract, it can be according to the Intelligent target obtained in advance
The platform digital of contract is signed and the generations audit verification requests such as local node mark, and reports to intelligent contract platform, so that
Auditing result of the intelligent contract platform to local node Intelligent target contract;Intelligent contract platform can also be into block chain network
Other nodes issue the auditing result of the Intelligent target contract or local node will be from the intelligent received mesh of contract platform
The auditing result for marking intelligent contract is forwarded to other nodes in block chain network.
S120 carries out local verification to Intelligent target contract if the audit of Intelligent target contract passes through.
Wherein, local verification, which can be, verifies the platform digital signature of Intelligent target contract, such as can using with
The identical signature algorithm of intelligent contract platform signs to Intelligent target contract, and Comparison basis digital signature and local signature
Consistency.
Specifically, in order to reduce, intelligent contract platform is played tricks or the platform digital of Intelligent target contract signature is issued to block
The probability distorted is intercepted and captured by external equipment during chain network, local node after confirmation Intelligent target contract audit passes through,
Local verification can be carried out, to Intelligent target contract to guarantee the safety and reliability of Intelligent target contract.
Optionally, if the audit of Intelligent target contract does not pass through, the platform digital of Intelligent target contract is signed from local
It deletes.
S130 disposes Intelligent target contract if local verification passes through in local node.
Specifically, Intelligent target contract is put into local by local node if the local verification of Intelligent target contract passes through
In the file for storing intelligent contract, for local node calling.
Illustratively, it is disposed after Intelligent target contract in local node, can also include: into block chain network
Block generates node or other nodes send local disposition successful information.
Technical solution provided in an embodiment of the present invention, the node in block chain network when disposing Intelligent target contract, according to
Deployment mesh is determined to the auditing result of Intelligent target contract and local check results, that is, two-stage check results according to intelligent contract platform
Intelligent contract is marked, intelligent contract is solved and is directly executed in physical machine, caused due to being not trusted there are security risk etc.
The problem of being not used ensure that the safety and reliability of intelligent contract.
It should be noted that all nodes in block chain network need in order to guarantee that block chain network can be carried out orderly
Dispose identical intelligent contract.Therefore the block in block chain network is needed to generate node to the node in block chain network
The case where affixing one's name to Intelligent target contract is detected.
If local node is not block, generation node illustratively disposes the Intelligent target contract in local node
Later, if can also include: to receive deployment to cancel instruction, cancel the deployment of Intelligent target contract from local node,
In, if deployment cancels the block generation nodal test that instruction is block chain network and is deployed with Intelligent target conjunction into block chain network
What the half that number of nodes about is equal to or less than the node total number amount of block chain network generated.
Specifically, block generates nodal test 50% node deployment below, one Intelligent target into block chain network
Contract, represents target intelligence contract deployment failure, and the node generation deployment of block generation at this time cancels instruction and is sent to block link network
Other nodes in network, local node receive deployment cancel instruction when, can by Intelligent target contract from local deletion, and
Continue to work normally.Optionally, if block, which generates nodal test, receives deployment cancellation to any node in block chain network
After instruction, the operation for cancelling deployment Intelligent target contract is not executed, then by the node revocation block chain network.
Corresponding, if local node is not block, generation node illustratively disposes the target intelligence in local node
After energy contract, if can also include: to receive deployment success instruction, Intelligent target contract be carried out just in local node
Beginningization, if wherein deployment success instruction is that the block generation nodal test of block chain network is deployed with target into block chain network
What the half that the number of nodes of intelligent contract is greater than the node total number amount of block catenary system network generated.
Specifically, block generates nodal test 50% or more node deployment, one Intelligent target into block chain network
Contract represents the target intelligence contract deployment success, and block generates node generation deployment success instruction and is sent to block link network at this time
Other nodes in network, so that all nodes in block chain network dispose the Intelligent target contract.Local node is receiving
To when deployment success instruction, Intelligent target contract can be initialized according to initialization function, thus the Intelligent target contract
Executable corresponding function when called.
If local node is that block generates node, illustratively, disposed after Intelligent target contract in local node, also
If may include: to detect that the number of nodes for being deployed with Intelligent target contract in block chain network is greater than the node of block chain network
The half of total quantity then generates deployment success instruction, and the node into block chain network issues deployment success instruction;
If detecting, the number of nodes that Intelligent target contract is deployed in block chain network is equal to or less than block chain network
Node total number amount half, then generate deployment cancel instruction, and the node into block chain network issue deployment cancel instruction.
Technical solution provided in an embodiment of the present invention passes through block chain after local node disposes Intelligent target contract
Block in network generates node and detects to the case where node deployment Intelligent target contract in block chain network, and issues
Instruction or deployment success instruction are cancelled in deployment, improve the flexibility of intelligent contract deployment, and ensure that in block chain network
The identical intelligent contract of all node deployments, so that block chain network be enable orderly to carry out.
Embodiment two
Fig. 2 is a kind of flow chart of the dispositions method of intelligent contract provided by Embodiment 2 of the present invention, and the present embodiment is upper
It is further to optimize on the basis of stating embodiment one.Referring to fig. 2, this method specifically includes:
S210 obtains the platform digital signature of the Intelligent target contract of intelligent contract platform publication;Alternatively, obtaining block chain
The platform digital signature of the Intelligent target contract of the creation node publication of network.
Specifically, can actively be sent out by intelligent contract platform if local node is not the creation node of block chain network
The mode of cloth obtains the platform digital signature of Intelligent target contract;The flat of Intelligent target contract can also be obtained in the following way
Platform digital signature: the creation node of block chain network actively sends Intelligent target to intelligent contract platform when creating block chain and closes
After about deployment is requested, and the platform digital for receiving the intelligent contract that intelligent contract platform issues is signed, into block chain network
The platform digital signature of the Intelligent target contract of other nodes forwarding;Local node receives the creation node of block chain network in area
The platform digital for the Intelligent target contract issued in block chain network is signed.
If local node is the creation node of block chain network, local node can obtain mesh by the following two kinds mode
It marks the platform digital signature of intelligent contract: 1) receiving the flat of the Intelligent target contract that intelligent contract platform is issued to block chain network
Platform digital signature;2) the deployment request of Intelligent target contract actively is sent to intelligent contract platform when creating block chain, receives intelligence
The platform digital signature for the Intelligent target contract that energy contract platform issues.
S220 reports audit to intelligent contract platform according to the platform digital signature of the Intelligent target contract obtained in advance
Checking request, wherein auditing verification request is for requesting intelligent contract platform to issue the auditing result of Intelligent target contract.
Specifically, if local node is not the creation node of block chain network, when needing to dispose an Intelligent target contract
When, it can sign according to the platform digital of the Intelligent target contract obtained in advance and the generations audit verifications such as local node mark are asked
It asks, and reports to intelligent contract platform, so that auditing result of the intelligent contract platform to local node Intelligent target contract.
Optionally, the platform digital if local node is the creation node of block chain network, according to Intelligent target contract
Signature can also include: to obtain Intelligent target from intelligent contract platform before reporting auditing verification to request to intelligent contract platform
The platform digital of contract is signed, and other nodes into block chain network send platform digital signature.
Specifically, if local node is the creation node of block chain network, when needing to dispose an Intelligent target contract,
Other nodes into block chain network send the platform digital signature for the Intelligent target contract that intelligent contract platform issues, so that
Other nodes store the platform digital signature of the Intelligent target contract, or store and execute deployment target intelligence according to self-demand
The operation of energy contract.Local node is according to the platform digital signature of the Intelligent target contract obtained in advance and local node mark etc.
Audit verification request is generated, and reports to intelligent contract platform, so that intelligent contract platform is to local node Intelligent target contract
Auditing result.
S230 is digitally signed local Intelligent target contract to obtain this if the audit of Intelligent target contract passes through
Ground digital signature.
Wherein, local digital signature refers to local node using signature algorithm such as SHA256, public key or private key etc. to target
The signature unique that intelligent contract carries out, can be cryptographic Hash or mark of Intelligent target contract etc..
Local Intelligent target contract can be local node and obtain from such as creation node of other nodes in block chain network
It takes and is stored in local;It is also possible to obtain and deposit from intelligent contract platform according to the platform digital signature of Intelligent target contract
It stores up in local.
Specifically, local node obtains local Intelligent target contract using signature algorithm identical with intelligent contract platform
To local digital signature.
It illustratively, can be with before being digitally signed to obtain local digital signature to local Intelligent target contract
If including: locally not have Intelligent target contract, Intelligent target contract is pulled from intelligent contract platform.
In order to improve efficiency, optionally, if local do not have Intelligent target contract, local node can be into block chain network
Other nodes send the acquisition request that the platform digital including Intelligent target contract is signed, if receiving the response letter of any node
Breath then obtains Intelligent target contract from the node;If not receiving the echo message of any node, from intelligent contract platform
Pull the Intelligent target contract.
S240, if platform digital signature is identical as local digital signature, it is determined that locally verification passes through Intelligent target contract.
Optionally, if platform digital signature is not identical as local digital signature, it is determined that Intelligent target contract locally verifies
Do not pass through, at this point, other nodes into block chain network send the local that the platform digital including Intelligent target contract is signed
Verification does not pass through information;Do not pass through information if receiving block and generating the local verification that node is sent, by Intelligent target contract
From local deletion.
S250 disposes Intelligent target contract if local verification passes through in local node.
Technical solution provided in an embodiment of the present invention provides a kind of scheme locally verified, makes in block chain network
Node, can be according to intelligent contract platform to the auditing result of Intelligent target contract and local school when disposing Intelligent target contract
It tests result i.e. two-stage check results and determines deployment Intelligent target contract, solve intelligent contract and directly executed in physical machine, by
In there are problems that security risk etc. is not trusted and causes to be not used, the safety and reliability of intelligent contract ensure that.
Embodiment three
Fig. 3 is a kind of flow chart of the dispositions method for intelligent contract that the embodiment of the present invention three provides, and the present embodiment is available
In solving directly to execute in physical machine based on embedded contract mechanism using the intelligent contract that primary voice speech is write, due to existing
Security risk etc. and the case where be not used caused by being not trusted.The block chain being applicable in can be publicly-owned chain, alliance's chain or
Person's private chain.The dispositions method of a whole set of intelligence contract executes with the node and intelligent contract platform usually in block chain network,
The scheme of the embodiment of the present invention is applied to intelligent contract platform, and this method can be by intelligent contract provided in an embodiment of the present invention
Device is disposed to execute, the mode which can be used software and/or hardware is realized.Referring to Fig. 3, this method is specifically included:
S310 receives the audit that the node in block catenary system is reported according to the platform digital signature of Intelligent target contract and tests
Card request.
Wherein, platform digital signature refers to intelligent contract platform using signature algorithm such as SHA256, platform public key or private key
Deng the signature unique carried out to Intelligent target contract, cryptographic Hash or mark of Intelligent target contract etc. can be.
Auditing verification request is platform digital signature of the node in block chain network according to the intelligent contract obtained in advance
And the request of the generations such as local node mark, the platform digital for being used to indicate intelligent contract platform according to Intelligent target contract are signed
Local node is issued to until the auditing result of Intelligent target contract, and according to local node mark.
In order to improve the deployment efficiency of intelligent contract, intelligent contract platform is in the auditing verification for receiving Intelligent target contract
Need to complete before request to the Intelligent target together in audit.Illustratively, the node in block catenary system is received according to target
Can also include following operation before the auditing verification request that the platform digital signature of intelligent contract reports:
A, the original code of customized intelligent contract is obtained.
Wherein, original code refers to the code segment write using the primary language of block chain, and the primary language of block chain refers to can
To write language of block chain underlying network architecture, such as GO language, Java language or C Plus Plus etc..
The node that customized intelligence contract can be node users or other non-block chain networks in block chain network is used
Family is write according to self-demand, and is uploaded to intelligent contract platform.
Specifically, can input or upload the original code of customized intelligent contract on intelligent contract platform by user
Mode;It is also possible to receive the original code mode for the customized intelligent contract that any node in block chain network is sent, obtains
The original code of customized intelligence contract.
B, acquisition and the auditing result of customized intelligent contract is stored.
Specifically, after intelligent contract platform gets the original code of customized intelligent contract, it can be according to pre-set
Audit regulation audits to the customized intelligent contract, and auditing result is stored in local.Wherein, audit regulation refers to pre-
The audit principle being first arranged, such as write rule, function, safety and the reliability of foundation code are audited.
C, the original code of customized intelligent contract is compiled, the platform digital label of the executable file after determining compiling
Name, and node distribution platform digital signature or distribution platform digital signature and executable file into block chain network.
Wherein, executable file refers to the code called for block chain network, as Intelligent target contract.
Specifically, intelligent contract platform is to customized intelligence if the auditing result of customized intelligence contract is that audit passes through
The original code of energy contract is compiled to obtain executable file, and is carried out to executable file using signature algorithm such as SHA256 etc.
Digital signature obtains the platform digital signature of executable file;The platform digital signature of executable file is locally created, can be performed
File and the incidence relation of auditing result three, and the node distribution platform digital signature into block chain network, or publication
Platform digital signature and executable file.
Illustratively, if send auditing verification request to intelligent contract platform is the wound of the block chain in block chain network
Node is built, then intelligent contract platform is on receiving platform digital signature of the node in block catenary system according to Intelligent target contract
It can also include: the Intelligent target contract for responding the creation node publication of block chain network before the auditing verification request of report
Deployment request sends the platform digital signature of Intelligent target contract to creation node.
Wherein, deployment request can be creation node when creating block chain, and need to dispose a certain Intelligent target contract, to
Request transmitted by intelligent contract platform.
Specifically, creation node sends the deployment request of Intelligent target contract, intelligent contract platform to intelligent contract platform
After the deployment request for receiving the Intelligent target contract that creation node is sent, according to Intelligent target contract and Intelligent target contract
The incidence relation of platform digital signature determines the platform digital signature of Intelligent target contract, and sends the target to creation node
The platform digital of intelligent contract is signed.
S320, obtains the auditing result of Intelligent target contract, and issues auditing result to node, executes node as follows:
If the audit of Intelligent target contract passes through, local verification is carried out to Intelligent target contract;If local verification passes through, in local section
Intelligent target contract is disposed in point.
Specifically, receive the transmission of the node in block chain network when intelligent contract platform includes Intelligent target contract
When the auditing verification request of platform digital signature, according to pre-stored Intelligent target contract, the platform number of Intelligent target contract
Incidence relation between word signature and the auditing result three of Intelligent target contract, obtains the auditing result of Intelligent target contract,
And the auditing result that Intelligent target contract is sent to the node is identified according to the local node in auditing verification request, so that the section
Point executes the operation of deployment Intelligent target contract according to auditing result.
Technical solution provided in an embodiment of the present invention, the customized intelligent contract that user is issued by intelligent contract platform
The node audited, and be issued in block chain network, so that the node in block chain network is according to auditing result and local
Check results, that is, two-stage check results dispose Intelligent target contract, solve intelligent contract and directly execute in physical machine, due to
There are problems that security risk etc. is not trusted and causes to be not used, ensure that the safety and reliability of intelligent contract.
Example IV
Fig. 4 is a kind of flow chart of the dispositions method for intelligent contract that the embodiment of the present invention four provides, this implementation is above-mentioned
On the basis of embodiment, provides a kind of block catenary system interior joint and intelligent contract platform cooperation interacts realization intelligence and closes
The preferable example about disposed.Referring to fig. 4, this method specifically includes:
S410, platform digital signature of the node according to the Intelligent target contract obtained in advance in block chain network, Xiang Zhi
Energy contract platform reports auditing verification to request.
S420, intelligent contract platform receive the node in block catenary system and sign according to the platform digital of Intelligent target contract
The auditing verification request reported.
S430, intelligent contract platform obtain the auditing result of Intelligent target contract, and under the node into block chain network
Send out auditing result.
S440, the node in block chain network receive the auditing result for the Intelligent target contract that intelligent contract platform issues.
S450, if the audit of Intelligent target contract passes through, the node in block chain network carries out this to Intelligent target contract
Ground verification.
S460, if local verification passes through, the node in block chain network disposes Intelligent target contract in local node.
Technical solution provided in an embodiment of the present invention, the node in block chain network when disposing Intelligent target contract, to
Intelligent contract platform sends the auditing verification request of Intelligent target contract, and the node in block chain network is according to intelligent contract platform
Auditing result and local check results, that is, two-stage check results to Intelligent target contract determine deployment Intelligent target contract, solve
Intelligent contract directly executes in physical machine, due to there are problems that security risk etc. is not trusted and causes to be not used,
It ensure that the safety and reliability of intelligent contract.
Embodiment five
Fig. 5 is a kind of structural block diagram of the deployment device for intelligent contract that the embodiment of the present invention five provides, device configuration
In node in block catenary system, the deployment side of intelligence contract provided by the embodiment of the present invention one and embodiment two can be performed
Method has the corresponding functional module of execution method and beneficial effect.As shown in figure 5, the apparatus may include:
Checking request reporting module 510, for the platform digital signature according to the Intelligent target contract obtained in advance, Xiang Zhi
Energy contract platform reports auditing verification to request, and wherein auditing verification request is closed for requesting intelligent contract platform to issue Intelligent target
Auditing result about;
Local correction verification module 520 carries out local school to Intelligent target contract if passing through for the audit of Intelligent target contract
It tests;
Intelligent contract deployment module 530 is disposed Intelligent target in local node and is closed if passing through for local verify
About.
Technical solution provided in an embodiment of the present invention, the node in block chain network when disposing Intelligent target contract, according to
Deployment mesh is determined to the auditing result of Intelligent target contract and local check results, that is, two-stage check results according to intelligent contract platform
Intelligent contract is marked, intelligent contract is solved and is directly executed in physical machine, caused due to being not trusted there are security risk etc.
The problem of being not used ensure that the safety and reliability of intelligent contract.
Illustratively, local correction verification module 520 is specifically used for:
Local Intelligent target contract is digitally signed to obtain local digital signature;If platform digital signature and local
Digital signature is identical, it is determined that locally verification passes through Intelligent target contract.
Illustratively, above-mentioned apparatus can also include:
Intelligent contract obtains module, for being digitally signed to obtain local digital label to local Intelligent target contract
Before name, if local do not have Intelligent target contract, Intelligent target contract is pulled from intelligent contract platform.
Illustratively, above-mentioned apparatus can also include:
Disposition Instructions receiving module, after disposing the Intelligent target contract in local node, if receiving portion
Administration cancels instruction, then cancels the deployment of Intelligent target contract from local node, wherein if it is block link network that instruction is cancelled in deployment
The block of network generates nodal test and is deployed with the number of nodes of Intelligent target contract into block chain network equal to or less than block
What the half of the node total number amount of chain network generated.
Illustratively, Disposition Instructions receiving module is also used to dispose in local node after the Intelligent target contract,
If receiving deployment success instruction, Intelligent target contract is initialized in local node, wherein deployment success instructs
If be block chain network block generate nodal test be deployed with into block chain network Intelligent target contract number of nodes it is big
It is generated in the half of the node total number amount of block chain network.
Illustratively, above-mentioned apparatus can also include:
Disposition Instructions issue module, if being that block generates node for local node, target is disposed in local node
After intelligent contract, if detecting, the number of nodes that Intelligent target contract is deployed in block chain network is greater than block chain network
The half of node total number amount then generates deployment success instruction, and the node into block chain network issues deployment success instruction;
Disposition Instructions issue module, if being also used to detect the number of nodes for being deployed with Intelligent target contract in block chain network
Amount is equal to or less than the half of the node total number amount of block chain network, then generates deployment and cancel instruction, and into block chain network
Node issue deployment cancel instruction.
Illustratively, above-mentioned apparatus can also include:
Platform signature obtains module, in the platform digital signature according to the Intelligent target contract obtained in advance, Xiang Zhi
Before energy contract platform reports auditing verification to request, the platform digital label of the Intelligent target contract of intelligent contract platform publication are obtained
Name;Alternatively, obtaining the platform digital signature of the Intelligent target contract of the creation node publication of block chain network.
Illustratively, above-mentioned apparatus can also include:
First platform is signed sending module, if for local node being the creation node of block chain network, according to target
The platform digital of intelligent contract is signed, and before reporting auditing verification to request to intelligent contract platform, is obtained from intelligent contract platform
The platform digital of Intelligent target contract is signed, and other nodes into block chain network send platform digital signature.
Embodiment six
Fig. 6 is a kind of structural block diagram of the deployment device for intelligent contract that the embodiment of the present invention six provides, device configuration
In intelligent contract platform, the dispositions method of intelligence contract provided by the embodiment of the present invention three can be performed, have execution method
Corresponding functional module and beneficial effect.As shown in fig. 6, the apparatus may include:
Checking request receiving module 610, for receiving platform of the node in block catenary system according to Intelligent target contract
The auditing verification request that digital signature reports;
Auditing result issues module 620, issues audit knot for obtaining the auditing result of Intelligent target contract, and to node
Fruit executes node as follows: if the audit of Intelligent target contract passes through, carrying out local verification to Intelligent target contract;If local
Verification passes through, then Intelligent target contract is disposed in local node.
Technical solution provided in an embodiment of the present invention, the customized intelligent contract that user is issued by intelligent contract platform
The node audited, and be issued in block chain network, so that the node in block chain network is according to auditing result and local
Check results, that is, two-stage check results dispose Intelligent target contract, solve intelligent contract and directly execute in physical machine, due to
There are problems that security risk etc. is not trusted and causes to be not used, ensure that the safety and reliability of intelligent contract.
Illustratively, above-mentioned apparatus can also include:
Original code obtains module, for receiving platform digital of the node in block catenary system according to Intelligent target contract
It signs before the auditing verification request reported, obtains the original code of customized intelligent contract;
Auditing result obtains module, for obtaining and storing the auditing result of customized intelligent contract;
Second platform signature sending module is compiled, after determining compiling for the original code to customized intelligent contract
Executable file platform digital signature, and the node distribution platform digital signature into block chain network, or publication is flat
Platform digital signature and executable file.
Illustratively, the second platform signature sending module is also used to receiving the node in block chain network according to target
Before the auditing verification request that the platform digital signature of intelligent contract reports, the mesh of the creation node publication of response block chain network
The deployment request for marking intelligent contract sends the platform digital signature of Intelligent target contract to creation node.
Embodiment seven
Fig. 7 is a kind of structural schematic diagram for equipment that the embodiment of the present invention seven provides, and Fig. 7, which is shown, to be suitable for being used to realizing this
The block diagram of the example devices of inventive embodiments embodiment.The server that Fig. 7 is shown is only an example, should not be to this hair
The function and use scope of bright embodiment bring any restrictions.Equipment 12 is typically the meter for undertaking block chain network nodal function
Calculate equipment;It is also possible to the computer equipment of functions such as there is intelligent contract audit, compile and issue.
As shown in fig. 7, equipment 12 is showed in the form of universal computing device.The component of equipment 12 may include but unlimited
In one or more processor or processing unit 16, system storage 28, connecting different system components, (including system is deposited
Reservoir 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment 12
The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Equipment 12 may further include it is other it is removable/nonremovable,
Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable
, non-volatile magnetic media (Fig. 7 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 7, use can be provided
In the disc driver read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk
The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can
To be connected by one or more data media interfaces with bus 18.System storage 28 may include that at least one program produces
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention real
Apply the function of each embodiment of example.
Program/utility 40 with one group of (at least one) program module 42 can store and store in such as system
In device 28, such program module 42 includes but is not limited to operating system, one or more application program, other program modules
And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 42
Usually execute the function and/or method in described embodiment of the embodiment of the present invention.
Equipment 12 can also be communicated with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.),
Can also be enabled a user to one or more equipment interacted with the equipment 12 communication, and/or with enable the equipment 12 with
One or more of the other any equipment (such as network interface card, modem etc.) communication for calculating equipment and being communicated.It is this logical
Letter can be carried out by input/output (I/O) interface 22.Also, equipment 12 can also by network adapter 20 and one or
The multiple networks of person (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown,
Network adapter 20 is communicated by bus 18 with other modules of equipment 12.It should be understood that although not shown in the drawings, can combine
Equipment 12 use other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit,
External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize the dispositions method of intelligence contract provided by the embodiment of the present invention.
Embodiment eight
The embodiment of the present invention eight also provides a kind of computer readable storage medium, be stored thereon with computer program (or
For computer executable instructions), intelligent contract described in above-mentioned any embodiment can be realized when which is executed by processor
Dispositions method.The computer readable storage medium can be configured in the calculating equipment of carrying block chain network node, can also be with
It is configured on intelligent contract platform.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the embodiment of the present invention operation
Computer program code, described program design language include object oriented program language-such as Java,
Smalltalk, C++, further include conventional procedural programming language-such as " C " language or similar program design language
Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence
Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or
It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet
It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit
It is connected with ISP by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being implemented by above embodiments to the present invention
Example is described in further detail, but the embodiment of the present invention is not limited only to above embodiments, is not departing from structure of the present invention
It can also include more other equivalent embodiments in the case where think of, and the scope of the present invention is determined by scope of the appended claims
It is fixed.
Claims (15)
1. a kind of dispositions method of intelligence contract, which is characterized in that executed by the node in block chain network, the method packet
It includes:
According to the platform digital signature of the Intelligent target contract obtained in advance, auditing verification is reported to request to intelligent contract platform,
Wherein the auditing verification request is for requesting the intelligent contract platform to issue the auditing result of the Intelligent target contract;
If the Intelligent target contract audit passes through, local verification is carried out to the Intelligent target contract;
If local verification passes through, the Intelligent target contract is disposed in local node.
2. the method according to claim 1, wherein carrying out local verification to the Intelligent target contract, comprising:
Local Intelligent target contract is digitally signed to obtain local digital signature;
If the platform digital signature is identical as the local digital signature, it is determined that locally verification is logical for the Intelligent target contract
It crosses.
3. according to the method described in claim 2, it is characterized in that, being digitally signed to obtain to local Intelligent target contract
Before local digital signature, further includes:
If local do not have Intelligent target contract, the Intelligent target contract is pulled from the intelligent contract platform.
4. method according to claim 1-3, which is characterized in that dispose the Intelligent target in local node
After contract, further includes:
If receiving deployment cancels instruction, cancel the deployment of the Intelligent target contract from local node, wherein the portion
If the block generation nodal test that administration's cancellation instruction is block chain network is disposed into block chain network is stated Intelligent target conjunction
What the half that number of nodes about is equal to or less than the node total number amount of the block chain network generated.
5. method according to claim 1-3, which is characterized in that dispose the Intelligent target in local node
After contract, further includes:
If receiving deployment success instruction, the Intelligent target contract is initialized in local node, wherein described
If the block generation nodal test that deployment success instruction is block chain network is disposed into block chain network is stated Intelligent target
What the half that the number of nodes of contract is greater than the node total number amount of the block chain network generated.
6. the method according to claim 1, wherein if local node is that block generates node, in local section
It is disposed in point after the Intelligent target contract, further includes:
The number of nodes for being stated Intelligent target contract is disposed in block chain network greater than the block chain network if detecting
The half of node total number amount then generates deployment success instruction, and the node into block chain network issues the deployment success and refers to
It enables;
The number of nodes for being stated Intelligent target contract is disposed in block chain network equal to or less than the block chain if detecting
The half of the node total number amount of network then generates deployment and cancels instruction, and the node into block chain network issues the deployment
Cancel instruction.
7. the method according to claim 1, wherein the platform digital according to the Intelligent target contract obtained in advance
Signature, before reporting auditing verification to request to the intelligent contract platform, further includes:
Obtain the platform digital signature of the Intelligent target contract of intelligent contract platform publication;Alternatively,
Obtain the platform digital signature of the Intelligent target contract of the creation node publication of block chain network.
8. the method according to claim 1, wherein if local node is the creation node of block chain network,
Platform digital according to Intelligent target contract is signed, before reporting auditing verification to request to the intelligent contract platform, further includes:
The platform digital signature of Intelligent target contract is obtained from intelligent contract platform, and other nodes hair into block chain network
The platform digital is sent to sign.
9. a kind of dispositions method of intelligence contract, which is characterized in that executed by intelligent contract platform, which comprises
Receive the auditing verification request that the node in block catenary system is reported according to the platform digital signature of Intelligent target contract;
The auditing result of the Intelligent target contract is obtained, and issues the auditing result to the node, holds the node
Row is as follows: if Intelligent target contract audit passes through, carrying out local verification to the Intelligent target contract;If local verification
Pass through, then disposes the Intelligent target contract in local node.
10. according to the method described in claim 9, it is characterized in that, receiving the node foundation Intelligent target in block catenary system
Before the auditing verification request that the platform digital signature of contract reports, further includes:
Obtain the original code of customized intelligent contract;
Obtain and store the auditing result of the customized intelligent contract;
The original code of the customized intelligent contract is compiled, the platform digital label of the executable file after determining compiling
Name, and the node into block chain network issues the platform digital signature, or the publication platform digital signature and institute
State executable file.
11. according to the method described in claim 9, it is characterized in that, receiving the node foundation Intelligent target in block chain network
Before the auditing verification request that the platform digital signature of contract reports, further includes:
The deployment request for responding the Intelligent target contract of the creation node publication of block chain network, sends institute to the creation node
State the platform digital signature of Intelligent target contract.
12. a kind of deployment device of intelligence contract, which is characterized in that be configured in the node in block chain network, described device
Include:
Checking request reporting module, for the platform digital signature according to the Intelligent target contract obtained in advance, to intelligent contract
Platform reports auditing verification to request, wherein auditing verification request is for requesting the intelligent contract platform to issue the target
The auditing result of intelligent contract;
Local correction verification module carries out the Intelligent target contract local if passing through for Intelligent target contract audit
Verification;
Intelligent contract deployment module disposes the Intelligent target contract if passing through for local verify in local node.
13. a kind of deployment device of intelligence contract, which is characterized in that be configured in intelligent contract platform, described device includes:
Checking request receiving module is signed for receiving the node in block catenary system according to the platform digital of Intelligent target contract
The auditing verification request reported;
Auditing result issues module, for obtaining the auditing result of the Intelligent target contract, and issues to the node described
Auditing result executes the node as follows: passing through if the Intelligent target contract is audited, to the Intelligent target contract into
The local verification of row;If local verification passes through, the Intelligent target contract is disposed in local node.
14. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now if the dispositions method of intelligent contract described in any one of claims 1-8 or realization are as described in any in claim 9-11
Intelligent contract dispositions method.
15. a kind of storage medium, is stored thereon with computer program, which is characterized in that the realization when program is executed by processor
If the dispositions method of intelligent contract described in any one of claims 1-8 or realization are as described in any in claim 9-11
The dispositions method of intelligent contract.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810779278.1A CN108960830B (en) | 2018-07-16 | 2018-07-16 | Intelligent contract deployment method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810779278.1A CN108960830B (en) | 2018-07-16 | 2018-07-16 | Intelligent contract deployment method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108960830A true CN108960830A (en) | 2018-12-07 |
CN108960830B CN108960830B (en) | 2022-07-15 |
Family
ID=64481811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810779278.1A Active CN108960830B (en) | 2018-07-16 | 2018-07-16 | Intelligent contract deployment method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108960830B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109710385A (en) * | 2018-12-29 | 2019-05-03 | 杭州趣链科技有限公司 | A kind of intelligent contract complexity method for limiting based on Java Virtual Machine |
CN109726997A (en) * | 2019-01-09 | 2019-05-07 | 广州闪链区块链科技有限公司 | A kind of gold register auditing method, device and storage medium based on block chain |
CN110069295A (en) * | 2019-05-06 | 2019-07-30 | 百度在线网络技术(北京)有限公司 | Block chain processing method, device, equipment and medium |
CN110688428A (en) * | 2019-09-24 | 2020-01-14 | 北京海益同展信息科技有限公司 | Method and device for issuing intelligent contracts |
CN110727948A (en) * | 2019-10-11 | 2020-01-24 | 腾讯科技(深圳)有限公司 | Intelligent contract auditing method and device, computer equipment and storage medium |
CN111221904A (en) * | 2019-12-23 | 2020-06-02 | 深圳壹账通智能科技有限公司 | Intelligent contract deployment and execution method and device, electronic equipment and storage medium |
WO2020172880A1 (en) * | 2019-02-28 | 2020-09-03 | 云图有限公司 | Data processing method for blockchain contract and server |
CN112199096A (en) * | 2020-09-30 | 2021-01-08 | 深圳壹账通智能科技有限公司 | Intelligent contract deployment detection method and device, node equipment and storage medium |
CN112634040A (en) * | 2020-12-25 | 2021-04-09 | 中国农业银行股份有限公司 | Data processing method and device |
CN113449034A (en) * | 2021-06-24 | 2021-09-28 | 安徽安时科技发展有限公司 | Intelligent contract data security management method, system and storage medium based on block chain network |
CN114647861A (en) * | 2022-03-21 | 2022-06-21 | 广东润联信息技术有限公司 | Method, device and equipment for matching human posts and storage medium |
CN117349867A (en) * | 2023-12-04 | 2024-01-05 | 成都峰潮信息技术有限公司 | Intelligent contract deployment method, system, equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009211622A (en) * | 2008-03-06 | 2009-09-17 | Nec Corp | Contract definition function verification device, method thereof, and program thereof |
CN105893042A (en) * | 2016-03-31 | 2016-08-24 | 北京航空航天大学 | Intelligent contract implementation method based on block chain |
CN107342858A (en) * | 2017-07-05 | 2017-11-10 | 武汉凤链科技有限公司 | A kind of intelligent contract guard method and system based on trusted context |
CN107526625A (en) * | 2017-07-18 | 2017-12-29 | 杭州趣链科技有限公司 | A kind of Java intelligence contract safety detection methods based on bytecode inspection |
CN107562513A (en) * | 2017-07-18 | 2018-01-09 | 杭州趣链科技有限公司 | A kind of management method of the intelligent contract life cycle based on JAVA |
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 |
US20180137465A1 (en) * | 2016-11-11 | 2018-05-17 | International Business Machines Corporation | Smart contract admission check and fault tolerance in a blockchain |
-
2018
- 2018-07-16 CN CN201810779278.1A patent/CN108960830B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009211622A (en) * | 2008-03-06 | 2009-09-17 | Nec Corp | Contract definition function verification device, method thereof, and program thereof |
CN105893042A (en) * | 2016-03-31 | 2016-08-24 | 北京航空航天大学 | Intelligent contract implementation method based on block chain |
US20180137465A1 (en) * | 2016-11-11 | 2018-05-17 | International Business Machines Corporation | Smart contract admission check and fault tolerance in a blockchain |
CN107342858A (en) * | 2017-07-05 | 2017-11-10 | 武汉凤链科技有限公司 | A kind of intelligent contract guard method and system based on trusted context |
CN107526625A (en) * | 2017-07-18 | 2017-12-29 | 杭州趣链科技有限公司 | A kind of Java intelligence contract safety detection methods based on bytecode inspection |
CN107562513A (en) * | 2017-07-18 | 2018-01-09 | 杭州趣链科技有限公司 | A kind of management method of the intelligent contract life cycle based on JAVA |
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 |
Non-Patent Citations (4)
Title |
---|
DANIELE MAGAZZENI ET AL.: ""Validation and Verification of Smart Contracts: A Research Agenda"", 《IEEE》 * |
DANIELE MAGAZZENI ET AL.: ""Validation and Verification of Smart Contracts: A Research Agenda"", 《IEEE》, vol. 50, 22 September 2017 (2017-09-22), pages 50 - 57, XP011661016, DOI: 10.1109/MC.2017.3571045 * |
胡凯 等: ""智能合约的形式化验证方法"", 《信息安全研究》 * |
胡凯 等: ""智能合约的形式化验证方法"", 《信息安全研究》, vol. 2, no. 12, 31 December 2016 (2016-12-31), pages 1080 - 1089 * |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109710385A (en) * | 2018-12-29 | 2019-05-03 | 杭州趣链科技有限公司 | A kind of intelligent contract complexity method for limiting based on Java Virtual Machine |
CN109726997A (en) * | 2019-01-09 | 2019-05-07 | 广州闪链区块链科技有限公司 | A kind of gold register auditing method, device and storage medium based on block chain |
WO2020172880A1 (en) * | 2019-02-28 | 2020-09-03 | 云图有限公司 | Data processing method for blockchain contract and server |
CN110069295A (en) * | 2019-05-06 | 2019-07-30 | 百度在线网络技术(北京)有限公司 | Block chain processing method, device, equipment and medium |
CN110069295B (en) * | 2019-05-06 | 2022-06-17 | 百度在线网络技术(北京)有限公司 | Block chain processing method, device, equipment and medium |
CN110688428A (en) * | 2019-09-24 | 2020-01-14 | 北京海益同展信息科技有限公司 | Method and device for issuing intelligent contracts |
CN110727948B (en) * | 2019-10-11 | 2021-10-29 | 腾讯科技(深圳)有限公司 | Intelligent contract auditing method and device, computer equipment and storage medium |
CN110727948A (en) * | 2019-10-11 | 2020-01-24 | 腾讯科技(深圳)有限公司 | Intelligent contract auditing method and device, computer equipment and storage medium |
CN111221904A (en) * | 2019-12-23 | 2020-06-02 | 深圳壹账通智能科技有限公司 | Intelligent contract deployment and execution method and device, electronic equipment and storage medium |
CN112199096A (en) * | 2020-09-30 | 2021-01-08 | 深圳壹账通智能科技有限公司 | Intelligent contract deployment detection method and device, node equipment and storage medium |
CN112634040A (en) * | 2020-12-25 | 2021-04-09 | 中国农业银行股份有限公司 | Data processing method and device |
CN112634040B (en) * | 2020-12-25 | 2023-08-18 | 中国农业银行股份有限公司 | Data processing method and device |
CN113449034A (en) * | 2021-06-24 | 2021-09-28 | 安徽安时科技发展有限公司 | Intelligent contract data security management method, system and storage medium based on block chain network |
WO2022267184A1 (en) * | 2021-06-24 | 2022-12-29 | 安徽安时科技发展有限公司 | Blockchain network-based smart contract data security management method and system, and storage medium |
CN113449034B (en) * | 2021-06-24 | 2024-03-19 | 合肥壹物易证科技有限公司 | Intelligent contract data security management method, system and storage medium based on blockchain network |
CN114647861A (en) * | 2022-03-21 | 2022-06-21 | 广东润联信息技术有限公司 | Method, device and equipment for matching human posts and storage medium |
CN114647861B (en) * | 2022-03-21 | 2024-06-04 | 华润智算科技(广东)有限公司 | Person post matching method, device, equipment and storage medium |
CN117349867A (en) * | 2023-12-04 | 2024-01-05 | 成都峰潮信息技术有限公司 | Intelligent contract deployment method, system, equipment and medium |
CN117349867B (en) * | 2023-12-04 | 2024-02-09 | 成都峰潮信息技术有限公司 | Intelligent contract deployment method, system, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN108960830B (en) | 2022-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108960830A (en) | Dispositions method, device, equipment and the storage medium of intelligent contract | |
CN110830463B (en) | Third party authorized login method and device | |
CN110414268A (en) | Access control method, device, equipment and storage medium | |
CN108399329B (en) | Method for improving security of trusted application program | |
CN104113551B (en) | A kind of platform authorization method, platform service end and applications client and system | |
JP5173844B2 (en) | Trust code group | |
CN109002297B (en) | Deployment method, device, equipment and storage medium of consensus mechanism | |
CN105164633B (en) | The configuration and verifying carried out by trusted provider | |
CN109361740A (en) | A kind of block generation method, device, equipment and the medium of block chain | |
CN108173938A (en) | Server load shunt method and device | |
CN110011793A (en) | Anti-fake data processing method of tracing to the source, device, equipment and medium | |
CN109873808A (en) | Communication means and device, storage medium and electronic equipment between block chain node | |
CN109951547A (en) | Transactions requests method for parallel processing, device, equipment and medium | |
KR101832535B1 (en) | Trustworthy device claims as a service | |
CN107301343A (en) | Secure data processing method, device and electronic equipment | |
CN109995523B (en) | Activation code management method and device and activation code generation method and device | |
US11972241B2 (en) | Validation of payload for deployment to a target environment | |
CN110362318A (en) | Using dispositions method, device, equipment and storage medium | |
US8468523B2 (en) | Network apparatus and method for supporting network virtualization | |
US20190199705A1 (en) | Authorization and authentication for recurring workflows | |
CN110430051A (en) | A kind of method for storing cipher key, device and server | |
CN109710695A (en) | The identification of transactions requests validity and initiating method, device, equipment and medium | |
CN110516417A (en) | A kind of method for verifying authority and device of intelligence contract | |
CN110535631A (en) | Method, system, equipment and the storage medium of edge calculations node data transmission | |
CN110070360A (en) | A kind of transactions requests processing method, device, equipment and storage medium |
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 |