CN108985936A - A kind of auditing method and system based on intelligent contract - Google Patents

A kind of auditing method and system based on intelligent contract Download PDF

Info

Publication number
CN108985936A
CN108985936A CN201810744812.5A CN201810744812A CN108985936A CN 108985936 A CN108985936 A CN 108985936A CN 201810744812 A CN201810744812 A CN 201810744812A CN 108985936 A CN108985936 A CN 108985936A
Authority
CN
China
Prior art keywords
intelligent contract
block chain
chain network
execution condition
automatic execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810744812.5A
Other languages
Chinese (zh)
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.)
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Beijing China Power Information Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Beijing China Power Information Technology 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 State Grid Corp of China SGCC, State Grid Information and Telecommunication Co Ltd, Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd, Beijing China Power Information Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201810744812.5A priority Critical patent/CN108985936A/en
Publication of CN108985936A publication Critical patent/CN108985936A/en
Pending legal-status Critical Current

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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

This application discloses a kind of auditing method and system based on intelligent contract, method includes: to generate intelligent contract, it will be passed in block chain network with the intelligent contract after private key signature, validation verification is carried out to the intelligent contract in incoming block chain network, after the validation verification success of intelligent contract, intelligent contract is integrated into a Hash block ID, and the Hash block ID is diffused into the whole network, whether monitoring intelligent contract reaches automatic execution condition, after intelligent contract reaches automatic execution condition, consistency checking is carried out in block chain network to the corresponding Audit data of intelligent contract, when the corresponding Audit data consistency checking of intelligent contract passes through, it is automatically performed the entire affairs and the processing of state of intelligent contract.The application is able to solve in the prior art that audit process is underground, the incredible problem of Audit data, can construct credible, efficiently auditing method.

Description

A kind of auditing method and system based on intelligent contract
Technical field
This application involves audit technique field more particularly to a kind of auditing methods and system based on intelligent contract.
Background technique
Traditional audit measure is that auditor moves into unit under auditing, in-process review and the warp for consulting unit under auditing Management information is sought, cash in kind, marketable securities and Assets are verified.
Traditional field audit is that accounting information in the past period is exercised supervision and checked, since the time is upper stagnant Afterwards, so that bookkeeper person has the possibility for illegally modifying or distorting book of accounts, thus there are the wind of business activities information distortion Danger.As the management functions of client gradually develops, audit information will become increasingly huge and complicated, if in field audit Not perfect, audit resources distribution deficiency that there are management systems or personnel link up the problems such as having some setbacks, and will lead to audit work matter It measures inferior, inefficiency or even great audit occurs and make mistakes, and the problems such as there are audit process insufficient disclosures.
Therefore, how to solve that audit process is underground, Audit data is insincere, how to construct credible, efficiently auditing party Method is a urgent problem to be solved.
Summary of the invention
In view of this, being able to solve and examining in the prior art this application provides a kind of auditing method based on intelligent contract Meter process is underground, the incredible problem of Audit data, can construct credible, efficiently auditing method.
This application provides a kind of auditing methods based on intelligent contract, which comprises
Intelligent contract is generated, will be passed in block chain network with the intelligent contract after private key signature;
Validation verification is carried out to the intelligent contract in incoming block chain network;
After the validation verification success of intelligent contract, intelligent contract is integrated into a Hash block ID, and will be described Hash block ID is diffused into the whole network;
Whether monitoring intelligent contract reaches automatic execution condition;
After intelligent contract reaches automatic execution condition, to the corresponding Audit data of intelligent contract in block chain network into Row consistency checking;
When the corresponding Audit data consistency checking of intelligent contract passes through, be automatically performed intelligent contract entire affairs and The processing of state.
Preferably, the intelligent contract of the generation includes:
Public key and private key are obtained by registration;
By a intelligent contract of auditing method and Rulemaking.
Preferably, the intelligent contract progress validation verification in described pair of incoming block chain network includes:
Validation verification is carried out to the intelligent contract in incoming block chain network by the authoritative node for authoritative institution of auditing.
Preferably, whether the monitoring intelligent contract reaches automatic execution condition and includes:
Monitor whether the automatic execution time write in intelligent contract expires, if so, showing that monitoring intelligent contract reaches It is automatic to execute condition.
Preferably, whether the monitoring intelligent contract reaches automatic execution condition further include:
Whether the affairs of monitoring intelligent contract meet the execution condition of parameter request, if so, showing monitoring intelligent contract Reach automatic execution condition.
A kind of auditing system based on intelligent contract, comprising:
Generation module will be passed in block chain network for generating intelligent contract with the intelligent contract after private key signature;
First authentication module, for carrying out validation verification to the intelligent contract in incoming block chain network;
Integration module, for after the validation verification success of intelligent contract, intelligent contract to be integrated into a Hash area Block ID, and the Hash block ID is diffused into the whole network;
Whether monitoring module reaches automatic execution condition for monitoring intelligent contract;
Second authentication module, for after intelligent contract reaches automatic execution condition, audit number corresponding to intelligent contract According to carrying out consistency checking in block chain network;
Processing module, for being automatically performed intelligent conjunction when the corresponding Audit data consistency checking of intelligent contract passes through The processing of entire affairs and state about.
Preferably, the generation module is specifically used for:
Public key and private key are obtained by registration, by a intelligent contract of auditing method and Rulemaking, private key signature will be used Intelligent contract afterwards is passed in block chain network.
Preferably, the first authentication module is specifically used for:
Validation verification is carried out to the intelligent contract in incoming block chain network by the authoritative node for authoritative institution of auditing.
Preferably, second authentication module is specifically used for:
Monitor whether the automatic execution time write in intelligent contract expires, if so, showing that monitoring intelligent contract reaches It is automatic to execute condition.
Preferably, second authentication module is specifically also used to:
Whether the affairs of monitoring intelligent contract meet the execution condition of parameter request, if so, showing monitoring intelligent contract Reach automatic execution condition.
In conclusion this application discloses a kind of auditing methods based on intelligent contract, when being audited, first Intelligent contract is generated, will be passed in block chain network with the intelligent contract after private key signature, then in incoming block chain network Intelligent contract carry out validation verification, when intelligent contract validation verification success after, intelligent contract is integrated into a Kazakhstan Uncommon block ID, and the Hash block ID is diffused into the whole network, whether monitoring intelligent contract reaches automatic execution condition, works as intelligence After contract reaches automatic execution condition, consistency checking is carried out in block chain network to the corresponding Audit data of intelligent contract, When the corresponding Audit data consistency checking of intelligent contract passes through, it is automatically performed entire affairs and the place of state of intelligent contract Reason.Based on the transparency of block chain, and the automatic execution feature that intelligent contract has, disclosing for audit process ensure that It is bright, it ensure that the confidence level of audit evidence and audit process.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of the auditing method embodiment 1 based on intelligent contract disclosed in the present application;
Fig. 2 is a kind of flow chart of the auditing method embodiment 2 based on intelligent contract disclosed in the present application;
Fig. 3 is a kind of structural schematic diagram of the auditing system embodiment 1 based on intelligent contract disclosed in the present application;
Fig. 4 is a kind of structural schematic diagram of the auditing system embodiment 2 based on intelligent contract disclosed in the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
As shown in Figure 1, for a kind of flow chart of the auditing method based on intelligent contract disclosed in the embodiment of the present application 1, institute The method of stating may comprise steps of:
S101, intelligent contract is generated, will be passed in block chain network with the intelligent contract after private key signature;
Block chain is a kind of a kind of chain type number for being sequentially in time combined into data block in such a way that sequence is connected According to structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.
Intelligent contract is the contract code operated on block chain, has become block chain using indispensable part. Intelligent contract is exactly the execution for promoting contract by agreement and user interface, it is that formation is safe, digital in internet The key of change relationship.The features such as intelligent contract needs with uniformity, observability, verifiability, self forcing property and access to control.
When being audited, a intelligent contract is formulated first, is then signed by private key, the intelligence after signature Energy contract can be passed in block chain network.
S102, validation verification is carried out to the intelligent contract in incoming block chain network;
Then, unified verifying is carried out to the intelligent contract in incoming block chain, intelligent contract is spread and is stored in by network On each node of block chain, the enabling once common recognition mechanism is triggered verifies the validity of intelligent contract.Wherein, altogether Knowledge is a kind of among the participants without mutually recognizing and being not necessarily to establish on the basis of trusting relationship of block chain use, by having There are identification and verification process, only the know together transaction that passes through of the node completion of common recognition permission to Transaction Information that can just be written into area Block is simultaneously stored into block chain.
Whether data consistency, the logical relation being often referred between associated data are correct and complete, it can be understood as application Whether the data mode that program oneself thinks and the data mode being finally written in disk are consistent.It can be managed in distributed system Solution is whether the value of the same data in multiple nodes is consistent, to guarantee the validity and correctness that use.
S103, after the validation verification success of intelligent contract, intelligent contract is integrated into a Hash block ID, and will The Hash block ID is diffused into the whole network;
Once the validation verification success of intelligent contract, is integrated into a Hash block ID for intelligent contract and spreads rapidly Hash block ID is back to platform, determines the legitimacy of auditing method after common recognition is consistent to the whole network.
Whether S104, monitoring intelligent contract reach automatic execution condition;
Then, in block chain network, monitoring node can periodically traverse automatic execution state, the affairs of each intelligent contract And trigger condition, to judge whether monitoring intelligent contract reaches automatic execution condition.
S105, after intelligent contract reaches automatic execution condition, to the corresponding Audit data of intelligent contract in block link network Consistency checking is carried out in network;
After some intelligence contract reaches automatic execution condition, it is corresponding careful that intelligent contract is read first from block chain It counts, consistency checking is carried out in block chain network, that is, carry out the common recognition again of Audit data, it was demonstrated that audit number According to being not tampered with.
S106, when the corresponding Audit data consistency checking of intelligent contract passes through, be automatically performed the entire of intelligent contract The processing of affairs and state.
When the corresponding Audit data consistency checking of intelligent contract passes through, that is, after completing double consistency checkings, intelligence is closed About it is automatically performed the processing of entire affairs and state.Double consistency checkings guarantee this transparent procedures, can not distort.
In conclusion in the above-described embodiments, when being audited, firstly generating intelligent contract, private key label will be used Intelligent contract after name is passed in block chain network, is then carried out validity to the intelligent contract in incoming block chain network and is tested Intelligent contract is integrated into a Hash block ID after validation verification success of intelligent contract by card, and by the Hash area Block ID is diffused into the whole network, and whether monitoring intelligent contract reaches automatic execution condition, after intelligent contract reaches automatic execution condition, Consistency checking is carried out in block chain network to the corresponding Audit data of intelligent contract, when the corresponding Audit data of intelligent contract When consistency checking passes through, it is automatically performed the entire affairs and the processing of state of intelligent contract.Based on the transparency of block chain, with And the automatic execution feature that intelligent contract has, it ensure that the open and clear of audit process, ensure that audit evidence and audited The confidence level of journey.
As shown in Fig. 2, for a kind of flow chart of the auditing method based on intelligent contract disclosed in the embodiment of the present application 2, institute The method of stating may comprise steps of:
S201, public key and private key are obtained by registration, by a intelligent contract of auditing method and Rulemaking, private key will be used Intelligent contract after signature is passed in block chain network;
Block chain is a kind of a kind of chain type number for being sequentially in time combined into data block in such a way that sequence is connected According to structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.
Intelligent contract is the contract code operated on block chain, has become block chain using indispensable part. Intelligent contract is exactly the execution for promoting contract by agreement and user interface, it is that formation is safe, digital in internet The key of change relationship.The features such as intelligent contract needs with uniformity, observability, verifiability, self forcing property and access to control.
When being audited, user obtains public key and private key by registration first, audit unit by auditing method and A intelligent contract of Rulemaking, is then signed by private key, the intelligent contract after signature can be passed in block chain network.
S202, validity is carried out to the intelligent contract in incoming block chain network by the authoritative node for authoritative institution of auditing Verifying;
Then, unified verifying is carried out to the intelligent contract in incoming block chain, intelligent contract is spread and is stored in by network On each node of block chain, the enabling once common recognition mechanism is triggered, intelligent contract is had by audit authoritative institution's verifying contract Effect property is verified when verifying the validity of contract by authoritative node (host node).Wherein, common recognition is that block chain uses It is a kind of among the participants without mutually recognizing and without establishing on the basis of trusting relationship, by having the section of common recognition permission Point completes identification and verification process to Transaction Information, and the transaction passed through of only knowing together can just be written into block and store to block In chain.
Whether data consistency, the logical relation being often referred between associated data are correct and complete, it can be understood as application Whether the data mode that program oneself thinks and the data mode being finally written in disk are consistent.It can be managed in distributed system Solution is whether the value of the same data in multiple nodes is consistent, to guarantee the validity and correctness that use.
S203, after the validation verification success of intelligent contract, intelligent contract is integrated into a Hash block ID, and will The Hash block ID is diffused into the whole network;
Once the validation verification success of intelligent contract, is integrated into a Hash block ID for intelligent contract and spreads rapidly Hash block ID is back to platform, determines the legitimacy of auditing method after common recognition is consistent to the whole network.
Whether the automatic execution time that S204, monitoring write in intelligent contract expires or whether the affairs of monitoring intelligent contract Meet the execution condition of parameter request;
Intelligent contract executes, and generally by two kinds of situations, one is the automatic execution times write in intelligent contract to expire, separately A kind of outer situation is the execution condition that affairs have arrived parameter request.In block chain network, monitoring node can periodically traverse each Automatic execution state, affairs and the trigger condition of intelligent contract execute item to judge whether monitoring intelligent contract reaches automatic Part.
S205, after intelligent contract reaches automatic execution condition, to the corresponding Audit data of intelligent contract in block link network Consistency checking is carried out in network;
After some intelligence contract reaches automatic execution condition, it is corresponding careful that intelligent contract is read first from block chain It counts, consistency checking is carried out in block chain network, that is, carry out the common recognition again of Audit data, it was demonstrated that audit number According to being not tampered with.
S206, when the corresponding Audit data consistency checking of intelligent contract passes through, be automatically performed the entire of intelligent contract The processing of affairs and state.
When the corresponding Audit data consistency checking of intelligent contract passes through, that is, after completing double consistency checkings, intelligence is closed About it is automatically performed the processing of entire affairs and state.Double consistency checkings guarantee this transparent procedures, can not distort.
In conclusion in the above-described embodiments, the time response that has using intelligent contract technology itself, fairness, easily Usability, the application emphasis study the intelligent contract construction method for meeting auditing method standard.The application has three big excellent Gesture: first is that studying the intelligent contract standard form construction method based on auditing method, the efficiency of contract building is improved. Contract is made into a standard module platform, different auditing methods by algorithm data by the intelligent contract platform based on block chain Autonomous composite module, auditing method can greatly reduce auditing method and form average time, especially in order to avoid examination & approval, automatically generate The gentle efficiency of transparency, Automated water is improved in inter-trade;Second is that the intrinsic fairness that the attribute of intelligent contract determines.It will Intelligent contract is written in block chain in the form of digitized, realizes decentralization by block chain technology.The characteristic of intelligent contract is determined Determined storage, the irreversibility that reads, execute whole process and can not tamper, all participants manage this contract, And the code and state of intelligent contract be all in block chain, cause its everybody as it can be seen that open and clear;Third is that intelligent contract is easy It uses, there is very strong availability.Intelligent contract based on block chain includes that issued transaction and data storage mechanism and one are complete Standby contract status mechanism, for receiving and handling various intelligent contracts, and affairs preservation and state processing all in block It is completed on chain, the safety of intelligent contract is significantly better than traditional contract, and the degree of automation is very high.
As shown in figure 3, for a kind of structural representation of the auditing system based on intelligent contract disclosed in the embodiment of the present application 1 Figure, the system may include:
Generation module 301 will be passed to block chain network with the intelligent contract after private key signature for generating intelligent contract In;
Block chain is a kind of a kind of chain type number for being sequentially in time combined into data block in such a way that sequence is connected According to structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.
Intelligent contract is the contract code operated on block chain, has become block chain using indispensable part. Intelligent contract is exactly the execution for promoting contract by agreement and user interface, it is that formation is safe, digital in internet The key of change relationship.The features such as intelligent contract needs with uniformity, observability, verifiability, self forcing property and access to control.
When being audited, a intelligent contract is formulated first, is then signed by private key, the intelligence after signature Energy contract can be passed in block chain network.
First authentication module 302, for carrying out validation verification to the intelligent contract in incoming block chain network;
Then, unified verifying is carried out to the intelligent contract in incoming block chain, intelligent contract is spread and is stored in by network On each node of block chain, the enabling once common recognition mechanism is triggered verifies the validity of intelligent contract.Wherein, altogether Knowledge is a kind of among the participants without mutually recognizing and being not necessarily to establish on the basis of trusting relationship of block chain use, by having There are identification and verification process, only the know together transaction that passes through of the node completion of common recognition permission to Transaction Information that can just be written into area Block is simultaneously stored into block chain.
Whether data consistency, the logical relation being often referred between associated data are correct and complete, it can be understood as application Whether the data mode that program oneself thinks and the data mode being finally written in disk are consistent.It can be managed in distributed system Solution is whether the value of the same data in multiple nodes is consistent, to guarantee the validity and correctness that use.
Integration module 303, for after the validation verification success of intelligent contract, intelligent contract to be integrated into a Hash Block ID, and the Hash block ID is diffused into the whole network;
Once the validation verification success of intelligent contract, is integrated into a Hash block ID for intelligent contract and spreads rapidly Hash block ID is back to platform, determines the legitimacy of auditing method after common recognition is consistent to the whole network.
Whether monitoring module 304 reaches automatic execution condition for monitoring intelligent contract;
Then, in block chain network, monitoring node can periodically traverse automatic execution state, the affairs of each intelligent contract And trigger condition, to judge whether monitoring intelligent contract reaches automatic execution condition.
Second authentication module 305, for after intelligent contract reaches automatic execution condition, audit corresponding to intelligent contract Data carry out consistency checking in block chain network;
After some intelligence contract reaches automatic execution condition, it is corresponding careful that intelligent contract is read first from block chain It counts, consistency checking is carried out in block chain network, that is, carry out the common recognition again of Audit data, it was demonstrated that audit number According to being not tampered with.
Processing module 306, for being automatically performed intelligence when the corresponding Audit data consistency checking of intelligent contract passes through The entire affairs of contract and the processing of state.
When the corresponding Audit data consistency checking of intelligent contract passes through, that is, after completing double consistency checkings, intelligence is closed About it is automatically performed the processing of entire affairs and state.Double consistency checkings guarantee this transparent procedures, can not distort.
In conclusion in the above-described embodiments, when being audited, firstly generating intelligent contract, private key label will be used Intelligent contract after name is passed in block chain network, is then carried out validity to the intelligent contract in incoming block chain network and is tested Intelligent contract is integrated into a Hash block ID after validation verification success of intelligent contract by card, and by the Hash area Block ID is diffused into the whole network, and whether monitoring intelligent contract reaches automatic execution condition, after intelligent contract reaches automatic execution condition, Consistency checking is carried out in block chain network to the corresponding Audit data of intelligent contract, when the corresponding Audit data of intelligent contract When consistency checking passes through, it is automatically performed the entire affairs and the processing of state of intelligent contract.Based on the transparency of block chain, with And the automatic execution feature that intelligent contract has, it ensure that the open and clear of audit process, ensure that audit evidence and audited The confidence level of journey.
As shown in figure 4, for a kind of structural representation of the auditing system based on intelligent contract disclosed in the embodiment of the present application 2 Figure, the system may include:
Generation module 401 closes auditing method and a intelligence of Rulemaking for obtaining public key and private key by registration About, it will be passed in block chain network with the intelligent contract after private key signature;
Block chain is a kind of a kind of chain type number for being sequentially in time combined into data block in such a way that sequence is connected According to structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.
Intelligent contract is the contract code operated on block chain, has become block chain using indispensable part. Intelligent contract is exactly the execution for promoting contract by agreement and user interface, it is that formation is safe, digital in internet The key of change relationship.The features such as intelligent contract needs with uniformity, observability, verifiability, self forcing property and access to control.
When being audited, user obtains public key and private key by registration first, audit unit by auditing method and A intelligent contract of Rulemaking, is then signed by private key, the intelligent contract after signature can be passed in block chain network.
First authentication module 402, for the authoritative node by audit authoritative institution to the intelligence in incoming block chain network It can contract progress validation verification;
Then, unified verifying is carried out to the intelligent contract in incoming block chain, intelligent contract is spread and is stored in by network On each node of block chain, the enabling once common recognition mechanism is triggered, intelligent contract is had by audit authoritative institution's verifying contract Effect property is verified when verifying the validity of contract by authoritative node (host node).Wherein, common recognition is that block chain uses It is a kind of among the participants without mutually recognizing and without establishing on the basis of trusting relationship, by having the section of common recognition permission Point completes identification and verification process to Transaction Information, and the transaction passed through of only knowing together can just be written into block and store to block In chain.
Whether data consistency, the logical relation being often referred between associated data are correct and complete, it can be understood as application Whether the data mode that program oneself thinks and the data mode being finally written in disk are consistent.It can be managed in distributed system Solution is whether the value of the same data in multiple nodes is consistent, to guarantee the validity and correctness that use.
Integration module 403, for after the validation verification success of intelligent contract, intelligent contract to be integrated into a Hash Block ID, and the Hash block ID is diffused into the whole network;
Once the validation verification success of intelligent contract, is integrated into a Hash block ID for intelligent contract and spreads rapidly Hash block ID is back to platform, determines the legitimacy of auditing method after common recognition is consistent to the whole network.
Monitoring module 404, for monitoring, whether the automatic execution time write in intelligent contract expires or monitoring intelligent closes Whether affairs about meet the execution condition of parameter request;
Intelligent contract executes, and generally by two kinds of situations, one is the automatic execution times write in intelligent contract to expire, separately A kind of outer situation is the execution condition that affairs have arrived parameter request.In block chain network, monitoring node can periodically traverse each Automatic execution state, affairs and the trigger condition of intelligent contract execute item to judge whether monitoring intelligent contract reaches automatic Part.
Second authentication module 405, for after intelligent contract reaches automatic execution condition, audit corresponding to intelligent contract Data carry out consistency checking in block chain network;
After some intelligence contract reaches automatic execution condition, it is corresponding careful that intelligent contract is read first from block chain It counts, consistency checking is carried out in block chain network, that is, carry out the common recognition again of Audit data, it was demonstrated that audit number According to being not tampered with.
Processing module 406, for being automatically performed intelligence when the corresponding Audit data consistency checking of intelligent contract passes through The entire affairs of contract and the processing of state.
When the corresponding Audit data consistency checking of intelligent contract passes through, that is, after completing double consistency checkings, intelligence is closed About it is automatically performed the processing of entire affairs and state.Double consistency checkings guarantee this transparent procedures, can not distort.
In conclusion in the above-described embodiments, the time response that has using intelligent contract technology itself, fairness, easily Usability, the application emphasis study the intelligent contract construction method for meeting auditing method standard.The application has three big excellent Gesture: first is that studying the intelligent contract standard form construction method based on auditing method, the efficiency of contract building is improved. Contract is made into a standard module platform, different auditing methods by algorithm data by the intelligent contract platform based on block chain Autonomous composite module, auditing method can greatly reduce auditing method and form average time, especially in order to avoid examination & approval, automatically generate The gentle efficiency of transparency, Automated water is improved in inter-trade;Second is that the intrinsic fairness that the attribute of intelligent contract determines.It will Intelligent contract is written in block chain in the form of digitized, realizes decentralization by block chain technology.The characteristic of intelligent contract is determined Determined storage, the irreversibility that reads, execute whole process and can not tamper, all participants manage this contract, And the code and state of intelligent contract be all in block chain, cause its everybody as it can be seen that open and clear;Third is that intelligent contract is easy It uses, there is very strong availability.Intelligent contract based on block chain includes that issued transaction and data storage mechanism and one are complete Standby contract status mechanism, for receiving and handling various intelligent contracts, and affairs preservation and state processing all in block It is completed on chain, the safety of intelligent contract is significantly better than traditional contract, and the degree of automation is very high.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of auditing method based on intelligent contract, which is characterized in that the described method includes:
Intelligent contract is generated, will be passed in block chain network with the intelligent contract after private key signature;
Validation verification is carried out to the intelligent contract in incoming block chain network;
After the validation verification success of intelligent contract, intelligent contract is integrated into a Hash block ID, and by the Hash Block ID is diffused into the whole network;
Whether monitoring intelligent contract reaches automatic execution condition;
After intelligent contract reaches automatic execution condition, one is carried out in block chain network to the corresponding Audit data of intelligent contract The verifying of cause property;
When the corresponding Audit data consistency checking of intelligent contract passes through, it is automatically performed the entire affairs and state of intelligent contract Processing.
2. the method according to claim 1, wherein generation intelligence contract includes:
Public key and private key are obtained by registration;
By a intelligent contract of auditing method and Rulemaking.
3. the method according to claim 1, wherein the intelligent contract in described pair of incoming block chain network carries out Validation verification includes:
Validation verification is carried out to the intelligent contract in incoming block chain network by the authoritative node for authoritative institution of auditing.
4. the method according to claim 1, wherein whether the monitoring intelligent contract reaches automatic execution condition Include:
Monitor whether the automatic execution time write in intelligent contract expires, if so, showing that monitoring intelligent contract reaches automatic Execution condition.
5. according to the method described in claim 4, it is characterized in that, whether the monitoring intelligent contract reaches automatic execution condition Further include:
Whether the affairs of monitoring intelligent contract meet the execution condition of parameter request, if so, showing that monitoring intelligent contract reaches It is automatic to execute condition.
6. a kind of auditing system based on intelligent contract characterized by comprising
Generation module will be passed in block chain network for generating intelligent contract with the intelligent contract after private key signature;
First authentication module, for carrying out validation verification to the intelligent contract in incoming block chain network;
Integration module, for after the validation verification success of intelligent contract, intelligent contract to be integrated into a Hash block ID, And the Hash block ID is diffused into the whole network;
Whether monitoring module reaches automatic execution condition for monitoring intelligent contract;
Second authentication module, for existing after intelligent contract reaches automatic execution condition to the corresponding Audit data of intelligent contract Consistency checking is carried out in block chain network;
Processing module, for being automatically performed intelligent contract when the corresponding Audit data consistency checking of intelligent contract passes through The processing of entire affairs and state.
7. system according to claim 6, which is characterized in that the generation module is specifically used for:
Public key and private key are obtained by registration, it, will be with after private key signature by a intelligent contract of auditing method and Rulemaking Intelligent contract is passed in block chain network.
8. system according to claim 6, which is characterized in that the first authentication module is specifically used for:
Validation verification is carried out to the intelligent contract in incoming block chain network by the authoritative node for authoritative institution of auditing.
9. system according to claim 6, which is characterized in that second authentication module is specifically used for:
Monitor whether the automatic execution time write in intelligent contract expires, if so, showing that monitoring intelligent contract reaches automatic Execution condition.
10. system according to claim 9, which is characterized in that second authentication module is specifically also used to:
Whether the affairs of monitoring intelligent contract meet the execution condition of parameter request, if so, showing that monitoring intelligent contract reaches It is automatic to execute condition.
CN201810744812.5A 2018-07-09 2018-07-09 A kind of auditing method and system based on intelligent contract Pending CN108985936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810744812.5A CN108985936A (en) 2018-07-09 2018-07-09 A kind of auditing method and system based on intelligent contract

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810744812.5A CN108985936A (en) 2018-07-09 2018-07-09 A kind of auditing method and system based on intelligent contract

Publications (1)

Publication Number Publication Date
CN108985936A true CN108985936A (en) 2018-12-11

Family

ID=64536485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810744812.5A Pending CN108985936A (en) 2018-07-09 2018-07-09 A kind of auditing method and system based on intelligent contract

Country Status (1)

Country Link
CN (1) CN108985936A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109711176A (en) * 2018-12-12 2019-05-03 曲阜师范大学 One kind being based on Q-Learning intelligence contract validation checking method
CN109729092A (en) * 2019-01-09 2019-05-07 山东浪潮质量链科技有限公司 A kind of method and apparatus of business platform access
CN109840780A (en) * 2019-02-14 2019-06-04 重庆金窝窝网络科技有限公司 Agricultural product information maintaining method, apparatus and system
CN110246044A (en) * 2019-04-16 2019-09-17 阿里巴巴集团控股有限公司 Project auditing system, method, calculating equipment and storage medium based on block chain
CN110503538A (en) * 2019-08-16 2019-11-26 南京审计大学 A kind of audit application solution based on block chain intelligence contract
CN110502898A (en) * 2019-07-31 2019-11-26 深圳前海达闼云端智能科技有限公司 Method, system, device, storage medium and the electronic equipment of the intelligent contract of audit
CN110704490A (en) * 2019-10-15 2020-01-17 北京启迪区块链科技发展有限公司 Service data processing method and device based on intelligent contract
CN111046439A (en) * 2019-12-03 2020-04-21 安徽航天信息科技有限公司 Intelligent contract task verifiable method and system based on block chain
CN111160803A (en) * 2019-12-31 2020-05-15 上海分布信息科技有限公司 Business process safety and management method and system based on block chain
CN111275406A (en) * 2020-02-13 2020-06-12 布比(北京)网络技术有限公司 Block chain transaction contract auditing method and device, computer equipment and storage medium
CN111311255A (en) * 2020-01-19 2020-06-19 杭州云象网络技术有限公司 Intelligent contract formalization verification and error correction method based on prediction machine
US10922652B2 (en) 2019-04-16 2021-02-16 Advanced New Technologies Co., Ltd. Blockchain-based program review system, method, computing device and storage medium
CN112560081A (en) * 2020-11-11 2021-03-26 山西特信环宇信息技术有限公司 Cone block chain intelligent contract operation method and system
CN112667748A (en) * 2021-03-16 2021-04-16 杭州链城数字科技有限公司 Block chain all-in-one machine facing audit service, 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
WO2021208956A1 (en) * 2020-04-17 2021-10-21 支付宝(杭州)信息技术有限公司 Deployment of smart contract
CN114531247A (en) * 2022-04-22 2022-05-24 北京中宇万通科技股份有限公司 Data sharing method, device, equipment, storage medium and program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106845280A (en) * 2017-03-14 2017-06-13 广东工业大学 A kind of Merkle Hash trees cloud data integrity auditing method and system
CN107103473A (en) * 2017-04-27 2017-08-29 电子科技大学 A kind of intelligent contract implementation method based on block chain
CN107171794A (en) * 2017-06-27 2017-09-15 葛峰 A kind of electronic document based on block chain and intelligent contract signs method
CN107622385A (en) * 2017-08-28 2018-01-23 南京邮电大学 A kind of copyright distributing method based on block chain intelligence contract
CN107944892A (en) * 2017-12-28 2018-04-20 上海唯链信息科技有限公司 A kind of milk supply traceability system based on block chain technology
CN108076063A (en) * 2017-12-25 2018-05-25 天津理工大学 Network O&M auditing method, server terminal and client based on block chain
CN108197942A (en) * 2018-02-06 2018-06-22 上海千加信息科技有限公司 A kind of distributed intellect economy management system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106845280A (en) * 2017-03-14 2017-06-13 广东工业大学 A kind of Merkle Hash trees cloud data integrity auditing method and system
CN107103473A (en) * 2017-04-27 2017-08-29 电子科技大学 A kind of intelligent contract implementation method based on block chain
CN107171794A (en) * 2017-06-27 2017-09-15 葛峰 A kind of electronic document based on block chain and intelligent contract signs method
CN107622385A (en) * 2017-08-28 2018-01-23 南京邮电大学 A kind of copyright distributing method based on block chain intelligence contract
CN108076063A (en) * 2017-12-25 2018-05-25 天津理工大学 Network O&M auditing method, server terminal and client based on block chain
CN107944892A (en) * 2017-12-28 2018-04-20 上海唯链信息科技有限公司 A kind of milk supply traceability system based on block chain technology
CN108197942A (en) * 2018-02-06 2018-06-22 上海千加信息科技有限公司 A kind of distributed intellect economy management system

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109711176A (en) * 2018-12-12 2019-05-03 曲阜师范大学 One kind being based on Q-Learning intelligence contract validation checking method
CN109711176B (en) * 2018-12-12 2023-08-25 曲阜师范大学 Q-Learning intelligent contract effectiveness detection method
CN109729092A (en) * 2019-01-09 2019-05-07 山东浪潮质量链科技有限公司 A kind of method and apparatus of business platform access
CN109840780A (en) * 2019-02-14 2019-06-04 重庆金窝窝网络科技有限公司 Agricultural product information maintaining method, apparatus and system
CN109840780B (en) * 2019-02-14 2023-04-18 重庆金窝窝网络科技有限公司 Agricultural product information maintenance method, device and system
US11157873B2 (en) 2019-04-16 2021-10-26 Advanced New Technologies Co., Ltd. Blockchain-based program review system, method, computing device and storage medium
WO2020211491A1 (en) * 2019-04-16 2020-10-22 创新先进技术有限公司 Block chain-based project auditing system and method, computing device and storage medium
CN110246044A (en) * 2019-04-16 2019-09-17 阿里巴巴集团控股有限公司 Project auditing system, method, calculating equipment and storage medium based on block chain
US10922652B2 (en) 2019-04-16 2021-02-16 Advanced New Technologies Co., Ltd. Blockchain-based program review system, method, computing device and storage medium
CN110502898A (en) * 2019-07-31 2019-11-26 深圳前海达闼云端智能科技有限公司 Method, system, device, storage medium and the electronic equipment of the intelligent contract of audit
CN110503538A (en) * 2019-08-16 2019-11-26 南京审计大学 A kind of audit application solution based on block chain intelligence contract
CN110704490A (en) * 2019-10-15 2020-01-17 北京启迪区块链科技发展有限公司 Service data processing method and device based on intelligent contract
CN111046439A (en) * 2019-12-03 2020-04-21 安徽航天信息科技有限公司 Intelligent contract task verifiable method and system based on block chain
CN111046439B (en) * 2019-12-03 2023-06-06 安徽航天信息科技有限公司 Intelligent contract task verifiable method and system based on blockchain
CN111160803A (en) * 2019-12-31 2020-05-15 上海分布信息科技有限公司 Business process safety and management method and system based on block chain
CN111311255A (en) * 2020-01-19 2020-06-19 杭州云象网络技术有限公司 Intelligent contract formalization verification and error correction method based on prediction machine
CN111275406A (en) * 2020-02-13 2020-06-12 布比(北京)网络技术有限公司 Block chain transaction contract auditing method and device, computer equipment and storage medium
WO2021208956A1 (en) * 2020-04-17 2021-10-21 支付宝(杭州)信息技术有限公司 Deployment of smart contract
CN112560081A (en) * 2020-11-11 2021-03-26 山西特信环宇信息技术有限公司 Cone block chain intelligent contract operation method and system
CN112560081B (en) * 2020-11-11 2023-11-21 山西特信环宇信息技术有限公司 Cone blockchain intelligent contract operation method and system
CN112667748A (en) * 2021-03-16 2021-04-16 杭州链城数字科技有限公司 Block chain all-in-one machine facing audit service, data processing method and device
CN112667748B (en) * 2021-03-16 2021-07-13 杭州链城数字科技有限公司 Block chain all-in-one machine facing audit service, data processing method and device
WO2022267184A1 (en) * 2021-06-24 2022-12-29 安徽安时科技发展有限公司 Blockchain network-based smart contract data security management method and system, and storage medium
CN113449034A (en) * 2021-06-24 2021-09-28 安徽安时科技发展有限公司 Intelligent contract data security management method, system and storage medium based on block chain network
CN113449034B (en) * 2021-06-24 2024-03-19 合肥壹物易证科技有限公司 Intelligent contract data security management method, system and storage medium based on blockchain network
CN114531247A (en) * 2022-04-22 2022-05-24 北京中宇万通科技股份有限公司 Data sharing method, device, equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
CN108985936A (en) A kind of auditing method and system based on intelligent contract
CN111464518B (en) Method and device for sending and verifying cross-link communication data
US20180315145A1 (en) Managing school systems on a blockchain
CN108648056A (en) A kind of house lease contract processing method and system based on block chain
CN109598147B (en) Data processing method and device based on block chain and electronic equipment
CN109003185B (en) Intelligent contract establishing method and device, computing equipment and storage medium
TW201933204A (en) Smart contract generation method and apparatus
CN108600163A (en) A kind of cloud environment distributed hash chain framework and cloud data integrity verification method
CN109816386A (en) Data get through method on a kind of chain of the unified identity authentication based on block chain
CN103685244A (en) Differentiated authentication method and differentiated authentication device
CN106934621A (en) The examination & approval safety certifying method and system of payment funding
CN111597269A (en) Block chain-based contract implementation method, device and equipment
CN102891841B (en) The method of a kind of Web bank Account lockout, device and system
CN108875407A (en) For the sensitive information processing method and processing device of financial business, client, data framework
CN110084706A (en) It is a kind of that guarantor's verifying System and method for is prolonged based on block chain
CN109800601A (en) A kind of internet real-name authentication method based on block chain
CN109726574A (en) A kind of electronic proof system that can not be distorted based on block chain
CN114037576A (en) System and method for allocating academic resources
Setiawan et al. Information security governance on national cyber physical systems
CN105429986B (en) A kind of system of genuine cyber identification verifying and secret protection
CN113240380A (en) System and method for distributed power management
CN106603535A (en) SaaS platform-based security system architecture
CN112101943A (en) Method and device for intelligently acquiring customer information based on block chain
CN114912149B (en) BIM cloud design platform and achievement protection method based on blockchain technology
Bartoletti et al. Security and privacy risks in the blockchain ecosystem

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181211

RJ01 Rejection of invention patent application after publication