CN110111074A - Contract based on block chain is transferred accounts execution method, equipment and the medium of clause - Google Patents

Contract based on block chain is transferred accounts execution method, equipment and the medium of clause Download PDF

Info

Publication number
CN110111074A
CN110111074A CN201910366047.2A CN201910366047A CN110111074A CN 110111074 A CN110111074 A CN 110111074A CN 201910366047 A CN201910366047 A CN 201910366047A CN 110111074 A CN110111074 A CN 110111074A
Authority
CN
China
Prior art keywords
transferring accounts
contract
accounts
amount
information
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
CN201910366047.2A
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.)
Jiangsu Full Chain Communication Information Technology Co Ltd
Original Assignee
Jiangsu Full Chain Communication 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 Jiangsu Full Chain Communication Information Technology Co Ltd filed Critical Jiangsu Full Chain Communication Information Technology Co Ltd
Priority to CN201910366047.2A priority Critical patent/CN110111074A/en
Publication of CN110111074A publication Critical patent/CN110111074A/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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • 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/02Banking, e.g. interest calculation or account maintenance
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • Technology Law (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the present invention provides execution method, equipment and the medium that a kind of contract based on block chain transfers accounts clause.Wherein, this method includes the information that the accounting nodes in the subchain of domain name block chain network receive the contract of card to be deposited, and the guarantee fund's amount record for prestoring the signatory of the information and contract in subchain is into account book, transferring accounts for clause of transferring accounts in the electronic document, electronic document in the information of the contract of card to be deposited including contract and executes the information of the required data source of rule of transferring accounts at rule;Data are obtained from data source, and according to the data got and rule of transferring accounts, judge whether to need to transfer accounts between the signatory of contract;If so, determining transfer amounts according to rule and direction of transferring accounts, transfer amounts are deducted in guarantee fund's amount of money current from the side of transferring accounts to recipient;Remaining sum after the side of transferring accounts to be deducted to transfer amounts is recorded in the account book of the subchain.The embodiment of the present invention can execute the clause of transferring accounts of contract by domain name block chain subchain.

Description

Contract based on block chain is transferred accounts execution method, equipment and the medium of clause
Technical field
It transfers accounts clause the present embodiments relate to block chain technical field more particularly to a kind of contract based on block chain Execution method, equipment and medium.
Background technique
Current no matter contract in writing deposits card or electronic contract deposits card, and contract digital information is only stored in block In chain, as contract class evidence, contract of guarantee can not tamper deposit card convenient for directlying adopt this when court action Contract.But the execution of the execution especially clause of transferring accounts of contract of contract must be completed by people, block chain and be not involved in turn The execution of account clause can not also perceive the process of similar step.This just brings possibility to contract promise breaking.
Summary of the invention
The embodiment of the present invention provides execution method, equipment and the medium that a kind of contract based on block chain transfers accounts clause, uses The clause of transferring accounts of contract is executed with the subchain by domain name block chain network.
In a first aspect, the embodiment of the present invention provides a kind of execution method that the contract based on block chain transfers accounts clause, the party Method includes:
Accounting nodes in the subchain of domain name block chain network receive the information of the contract of card to be deposited, and by the information with And guarantee fund's amount record that the signatory of the contract prestores in the subchain is into the account book of the subchain, it is described wait deposit Transferring accounts including clause of transferring accounts in the electronic document of the contract, the electronic document and is held rule in the information of the contract of card The information of the capable required data source of rule of transferring accounts;
Accounting nodes in the subchain obtain data from the data source, and according to the data and institute got Rule of transferring accounts is stated, judges whether to need to transfer accounts between the signatory of the contract;
Wherein if so, determining transfer amounts according to the rule and transferring accounts direction, and based on the direction of transferring accounts, from turning The transfer amounts are deducted to recipient in the current guarantee fund's amount of money in account side;
Remaining sum after the side of transferring accounts to be deducted to the transfer amounts is recorded in the account book of the subchain.
Optionally, the transfer amounts are deducted to recipient in guarantee fund's amount of money current from the side of transferring accounts, comprising:
Whether the current guarantee fund's amount of money in the judgement side of transferring accounts is greater than the transfer amounts;
If guarantee fund's amount of money is greater than or equal to the transfer amounts, described turn is deducted from guarantee fund's amount of money The account amount of money gives the recipient;
If guarantee fund's amount of money is less than the transfer amounts, the prompt letter for failure of transferring accounts is sent to the side of transferring accounts Breath includes the current guarantee fund's amount of money of the transfer amounts and the side of transferring accounts in the prompt information.
Optionally, when guarantee fund's amount of money is equal to the transfer amounts, the method also includes:
Recharge Promotion information is sent to the side of transferring accounts.
Optionally, after deducting the transfer amounts to recipient in guarantee fund's amount of money current from the side of transferring accounts, institute State method further include:
The information that recipient described in direction transfers accounts of transferring accounts is recorded in the account book of the subchain.
Optionally, after deducting the transfer amounts to recipient in guarantee fund's amount of money current from the side of transferring accounts, institute State method further include:
The information that recipient described in direction transfers accounts of transferring accounts is sent to the recipient.
Second aspect, the embodiment of the present invention are to provide a kind of accounting nodes of the subchain of domain name block chain network, the book keeping operation Node includes: memory;
Processor;
Communication interface;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor following Operation:
The information of the contract of card to be deposited is received, and the signatory of the information and the contract is pre- in the subchain The guarantee fund's amount record deposited includes the electricity of the contract into the account book of the subchain, in the information of the contract of the card to be deposited The information that is regular and executing the required data source of rule of transferring accounts of transferring accounts for clause of transferring accounts in subfile, the electronic document;
Data are obtained from the data source, and according to the data and the rule of transferring accounts got, are judged whether It needs to transfer accounts between the signatory of the contract;
Wherein if so, determining transfer amounts according to the rule and transferring accounts direction, and based on the direction of transferring accounts, from turning The transfer amounts are deducted to recipient in the current guarantee fund's amount of money in account side;
Remaining sum after the side of transferring accounts to be deducted to the transfer amounts is recorded in the account book of the subchain.
Optionally, the processor deducts from the current guarantee fund's amount of money in the side of transferring accounts the transfer amounts to connecing executing When the operation of debit, it is used for:
Whether the current guarantee fund's amount of money in the judgement side of transferring accounts is greater than the transfer amounts;
If guarantee fund's amount of money is greater than or equal to the transfer amounts, described turn is deducted from guarantee fund's amount of money The account amount of money gives the recipient;
If guarantee fund's amount of money is less than the transfer amounts, the prompt letter for failure of transferring accounts is sent to the side of transferring accounts Breath includes the current guarantee fund's amount of money of the transfer amounts and the side of transferring accounts in the prompt information.
Optionally, when guarantee fund's amount of money is equal to the transfer amounts, the processor is also used to:
Recharge Promotion information is sent to the side of transferring accounts.
Optionally, the processor is also used to:
The information that recipient described in direction transfers accounts of transferring accounts is recorded in the account book of the subchain.
The third aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, The computer program is executed by processor to realize method described in first aspect.
In execution method, equipment and the medium that the contract provided in an embodiment of the present invention based on block chain transfers accounts clause, Receive the information of the contract of card to be deposited by the accounting nodes in the subchain of domain name block chain network, and by the information and described Guarantee fund's amount record that the signatory of contract prestores in the subchain is into the account book of the subchain, wherein described wait deposit card Contract information in include that the electronic document of contract, transferring accounts for clause of transferring accounts in electronic document and execute rule of transferring accounts at rule The information of required data source;Then data are obtained in data source indicated by the information from the contract of the card to be deposited, And according to the data and the rule of transferring accounts got, judge whether to need to transfer accounts between the signatory of contract;Its In if so, determine transfer amounts according to rule of transferring accounts and transfer accounts direction, and based on direction of transferring accounts, the guarantee current from the side of transferring accounts Transfer amounts are deducted in the amount of money to recipient, the account of the subchain is recorded in the remaining sum then side of transferring accounts to be deducted to transfer amounts after In this, the technical solution of the clause of transferring accounts for the contract that executes is realized based on the subchain of domain name block chain network, has ensured contract The execution for clause of transferring accounts.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention;
Fig. 2 be the contract provided in an embodiment of the present invention based on block chain transfer accounts clause execution method flow chart;
Fig. 3 is that transfer amounts are deducted in guarantee fund's amount of money current from the side of transferring accounts provided in an embodiment of the present invention to recipient Method flow diagram;
Fig. 4 is a kind of structural representation of the accounting nodes of the subchain of domain name block chain network provided in an embodiment of the present invention Figure.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
In order to help to understand technical solution of the present invention, simply it is situated between to the relevant content of electronic contract first below It continues:
Electronic contract refers to signature both sides or multi-party party, by internet electronically reach set up, change, Terminate the agreement of certain civil rights and obligations relationship.Simply, electronic contract is exactly the electronization of papery contract, is conventional paper The system upgrade of matter contract.
The big advantage of electronic contract four: " it is more, it is fastly, good, save ", wherein it is so-called " more ", refer to that single user can handle institute The contract magnitude of the management work of some electronic contracts, server storage is larger.It is so-called " fast ", it does not need exactly to find institute in person Have link signs people, as long as there is network, signing people and can providing examination reports at any time for each link can also accomplish that more people are different Ground is signed simultaneously, so, greatly improves the efficiency of contract.It is so-called " good ", refer to that the management of electronic contract is precisely steady It is fixed, the problems such as effectively avoiding human error, be less prone to contract loss, damage.So-called " province ", refers to the reduction of expense, electronics Contract does not need the costs such as the no mailing of mailing printing, printing, environmentally protective.
It after portion papery contract is drafted at present, needs to give official seal responsible person and affixes one's seal, affixing one's seal practical is exactly contract The file common from one page has risen to one by contract law protection, the contract with legal effect.
And this movement that complete to affix one's seal, it is necessary to meet three conditions: first, there is official seal;Second, whom to determine to control Make this official seal;Third will cover this official seal in a determining time by determining control people.And for electronic contract It also needs to meet above three condition.Does so how electronic contract realize these three conditions? it is closed below with reference to electronics It is illustrated with signature mode.
Electronic contract signs mode
Directly sign and seal on electronic contract platform, three conditions that equally meet above of affixing one's seal: official seal, official seal control People processed, what is determined affixes one's seal the time.
1. official seal → CA certificate
2. official seal controls people → mobile phone identifying code
3. → timestamp of affixing one's seal the time
First, the corresponding official seal of electronic contract be e-business certification authorized organization (Certificate Authority, Abbreviation CA) certificate.As long as going to compare the user information that confirmation user provides online to be true by preset technological means , then just complete user authentication, these mechanisms will by electronic contract platform to user issue one can represent and Prove the legal CA certificate of the user.This CA certificate is equivalent to the official seal that official mission carves on line to user.
Second, it is mobile phone identifying code that electronic contract, which corresponds to official seal control people, sends verifying by the mobile phone specified to user Code, and identifying code backfilled by user to guarantee that affix one's seal is user for operation.
Third, electronic contract corresponding determining time of affixing one's seal are timestamp.
By CA certificate, mobile phone identifying code, timestamp, electronic contract equally realizes traditionally on paper contract people, chapter, time Three unification.
It is viewed from above, electronic contract and the not essential difference of traditionally on paper contract, but electronic contract is compared to tradition Papery contract has the advantages such as convenient, fast again, solves the problems, such as that papery contract exists and is easily lost, damages.
But it is current no matter contract in writing deposits card or electronic contract deposits card, only contract digital information is stored in In block chain, as contract class evidence, contract of guarantee can not tamper deposit convenient for directlying adopt this when court action The contract of card.But the execution of the execution especially clause of transferring accounts of contract of contract must be completed by people, block chain is not joined With the execution for clause of transferring accounts, the process of similar step can not be also perceived.This just brings possibility to contract promise breaking.
Contract processing method provided in an embodiment of the present invention based on block chain, it is intended to solve the technology as above of the prior art Problem, this method can be adapted for communication system shown in FIG. 1.As shown in Figure 1, the communication system include: signatory's node 11, Signatory's node 12 and accounting nodes 13, wherein signatory's node 11, signatory's node 12, accounting nodes 13 belong to together One domain name block chain subchain, signatory's node 11 and signatory's node 12 specifically can be the equipment such as terminal device, server. Signatory's node 11 and signatory's node 12 are the signatory of same contract.Signatory's node 11 and signatory's node 12 are set respectively It is equipped with Distributed Application (Decentralized Application, abbreviation DAPP), passes through the DAPP signatory node 11 and label The e-text of the available contract of management side node 12, and the based on contract clause of transferring accounts in e-text generate corresponding Transfer accounts rule, indicate data source for executing rule of transferring accounts, and by the e-text of contract, it is described transfer accounts it is regular and The data source is sent to other signatory's nodes of contract, so that each signatory's node is based on those information and carries out contract label Administration, accounting nodes are used to carry out depositing to the contract after signature card, and regular and corresponding according to transferring accounts for clause of transferring accounts in the contract Data source, execute the clause of transferring accounts of the contract.In addition, only schematically illustrate herein, the domain name block chain is not limited The node number of the structure of subchain and the domain name block chain subchain.
How technical solution of the present invention and technical solution of the present invention are solved with specifically embodiment below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 be the contract provided in an embodiment of the present invention based on block chain transfer accounts clause execution method flow chart.It should Method is suitable for a kind of domain name block chain subchain, and the structure of the domain name block chain subchain is referred to Fig. 1, this method specific steps It is as follows:
Accounting nodes in step 201, the subchain of domain name block chain network receive the information of the contract of card to be deposited, and by institute Guarantee fund's amount record that the signatory of information and the contract prestores in the subchain is stated into the account book of the subchain, The rule of transferring accounts for clause of transferring accounts in electronic document, the electronic document in the information of the contract of the card to be deposited including the contract Then and execute the information of the required data source of rule of transferring accounts.
Accounting nodes in step 202, the subchain obtain data from the data source, and according to the number got Accordingly and the rule of transferring accounts, judge whether to need to transfer accounts between the signatory of the contract, wherein if so, executing Step 203-204.
Step 203 determines transfer amounts and direction of transferring accounts according to the rule, and based on the direction of transferring accounts, from transferring accounts The transfer amounts are deducted in guarantee fund's amount of money of Fang Dangqian to recipient.
Remaining sum after the side of the transferring accounts deduction transfer amounts is recorded in the account book of the subchain step 204.
Referring to Fig. 1, by taking signatory's node 11 in Fig. 1 as an example, signatory's node 11 of contract starts DAPP, by this DAPP acquisition contract e-text, wherein the method for obtaining the e-text of contract may include it is a variety of, one kind can wherein Signatory's node 11 can scan the electricity of acquisition contract by the scanning device (such as camera) itself carried in capable mode Ziwen sheet.In another feasible mode, signatory's node 11 can provide a user contract mould by human-computer interaction interface Plate, and prompt information is exported, so that user fills in treaty content (for example, contract is compiled according to the prompt information in contract template Number, contract terms, the information of contract signatory's node etc., wherein include but is not limited to signatory in the information of signatory's node The domain name block chain of node identifies).After user completes the input of contract information, the reception user of signatory's node 11 passes through man-machine The completion instruction of interactive interface input, and the e-text for generating the contract is instructed according to the completion.
Signatory's node 11 is after the e-text of the contract of acquisition, based on preset clause identification model from e-text It identifies clause of transferring accounts, and semantic analysis is carried out to the clause of transferring accounts that identification obtains based on preset semantic analysis model, obtain The rule of transferring accounts contained in clause of transferring accounts, and the data source relied on for executing the rule of transferring accounts, for example, content is " ## channel designated time audience ratings it is every increase by 0.1 then A to B payment 10,000,000 " clause of transferring accounts, transfer accounts rule be " audience ratings It is every to increase by 0.1 payment 10,000,000 ", data source is " ## channel is in designated time audience ratings ".Certainly it is only for illustrate Rather than to unique restriction of the invention.
Further, signatory's node 11 is after the e-text of the contract of acquisition, transfer accounts rule and data source, using certainly The private key of body signs to those information, and is identified according to the domain name block chain of signatory's node 12 of itself storage from domain name The IP address of signatory's node 12 is searched in block chain.Specifically, signatory's node 11 can be in domain name block chain with itself Private key signs to the domain name block chain mark of signatory's node 12, and the information after signature is then broadcast to domain name block chain In network, the accounting nodes of domain name block chain network are searched and signatory's node 12 in account book after receiving the broadcast message Domain name block chain identify corresponding IP address, if inquired, accounting nodes are by oneself private key label of the IP address It is broadcast in domain name block chain network after name, after signatory's node 11 receives the IP address, after being signed according to the IP address Information be sent to signatory's node 12 and verify.
After signatory's node 12 receives the information of the transmission of signatory's node 11, based on the side similar with signatory's node 11 Method extracts transfer accounts clause, clause of transferring accounts corresponding transfer accounts rule and data source from e-text, and itself is based on electronics In what text obtained transfer accounts rule and data source and the information that signatory's node 11 is sent transfer accounts regular and data source into The comparison of row consistency, e-text is presented to the user so that user audits the content of e-text.
Until after the information for the contract that signatory's node 11 is sent all is verified, signatory's node 12 is private using itself The information that key sends signatory's node 11 is signed, and generates the contract information of dual signature, and by the contract of dual signature Remember in the subchain for the domain name block chain network that information uploads to where the DAPP of signatory's node 11 and signatory's node 12 Account.
The accounting nodes of subchain where the DAPP of signatory's node 11 and signatory's node 12 are receiving signatory's node It is verified if being verified after 12 information uploaded to the private key signature of the information, the contract that signatory's node 12 is uploaded Information carry out depositing card, and guarantee fund's amount of money that signatory's node 11 and/or signatory's node 12 are prestored in the subchain It is recorded in the account book of the subchain.
Further, the accounting nodes of the subchain where the DAPP of signatory's node 11 and signatory's node 12 are based on this Card is deposited, is deposited in real time or periodically from this in the data source recorded in demonstrate,proving and obtains data, and according to the data got And this deposits the rule of transferring accounts recorded in card, judges whether to need to carry out between signatory's node 11 and signatory's node 12 It transfers accounts, if so, further determining that transfer amounts and direction of transferring accounts, and (may be signatory from the side of transferring accounts based on direction of transferring accounts Node 11, it is also possible to signatory's node 12) transfer amounts are deducted to recipient in current guarantee fund's amount of money, it will transfer accounts The remaining sum after the transfer amounts deducts in side, and the account book of the subchain is recorded in the information that direction recipient transfers accounts of transferring accounts In, and the information that direction recipient transfers accounts that will transfer accounts is sent to recipient.
Still with clause of transferring accounts --- and " ## channel designated time audience ratings it is every increase by 0.1 then A to B payment 10,000,000 " be Example, if ## channel increases 0.1 in designated time audience ratings, then it is determined that direction of transferring accounts is that A transfers accounts to B, transfer amounts are 10000000.So from the current guarantee fund's amount of money of the side of transferring accounts A deduct 10,000,000 give B, and by A to B transfer accounts 10,000,000 message And A deduct 10,000,000 after remaining sum be recorded in the account book of the subchain where A, B, while by A to B transfer accounts 10,000,000 message It is sent to B.It certainly not is uniquely to limit it is only for illustrating.
In execution method, equipment and the medium that the contract provided in this embodiment based on block chain transfers accounts clause, pass through Accounting nodes in the subchain of domain name block chain network receive the information of the contract of card to be deposited, and by the information and the contract Guarantee fund's amount record for being prestored in the subchain of signatory into the account book of the subchain, wherein the conjunction of the card to be deposited The regular and execution of transferring accounts for clause of transferring accounts in electronic document, electronic document in same information including contract is transferred accounts needed for rule Data source information;Then data, and root are obtained in data source indicated by the information from the contract of the card to be deposited According to the data and the rule of transferring accounts got, judge whether to need to transfer accounts between the signatory of contract;If wherein It is, then transfer amounts is determined according to rule of transferring accounts and transfers accounts direction, and based on direction of transferring accounts, more than the guarantee fund current from the side of transferring accounts Transfer amounts are deducted in volume to recipient, the account book of the subchain is recorded in the remaining sum then side of transferring accounts to be deducted to transfer amounts after In, the technical solution of the clause of transferring accounts for the contract that executes is realized based on the subchain of domain name block chain network, has ensured that contract turns The execution of account clause.
Fig. 3 is that transfer amounts are deducted in guarantee fund's amount of money current from the side of transferring accounts provided in an embodiment of the present invention to recipient Method flow diagram, as shown in figure 3, on the basis of Fig. 2 embodiment, this method comprises:
Whether the current guarantee fund's amount of money in step 301, the judgement side of transferring accounts is greater than or equal to the transfer amounts, wherein if institute Guarantee fund's amount of money is stated more than or equal to the transfer amounts, thens follow the steps 302, it is no to then follow the steps 303.
Step 302 deducts the transfer amounts to the recipient from guarantee fund's amount of money.
Step 303, the side of transferring accounts Xiang Suoshu send the prompt information for failure of transferring accounts, and include described transfer accounts in the prompt information The current guarantee fund's amount of money of the amount of money and the side of transferring accounts.
Wherein, when the current guarantee fund's amount of money in the side of transferring accounts is equal to transfer amounts, this method can also include to the side of transferring accounts Recharge Promotion information is sent, so that the side of transferring accounts supplements with money in time.
The present embodiment can notify the side of transferring accounts to supplement with money in time when Sorry, your ticket has not enough value for the side of transferring accounts, ensure transfer accounts clause it is normal into Row.
Fig. 4 is a kind of structural representation of the accounting nodes of the subchain of domain name block chain network provided in an embodiment of the present invention Figure.The accounting nodes of the subchain of domain name block chain network provided in an embodiment of the present invention can execute the contract based on block chain and turn The process flow that the execution embodiment of the method for account clause provides.As shown in figure 4, accounting nodes 40 include: memory 41, processor 42, computer program and communication interface 43;Wherein, computer program storage in the memory, and be configured as by Processor 42 executes following operation:
The information of the contract of card to be deposited is received, and the signatory of the information and the contract is pre- in the subchain The guarantee fund's amount record deposited includes the electricity of the contract into the account book of the subchain, in the information of the contract of the card to be deposited The information that is regular and executing the required data source of rule of transferring accounts of transferring accounts for clause of transferring accounts in subfile, the electronic document;
Data are obtained from the data source, and according to the data and the rule of transferring accounts got, are judged whether It needs to transfer accounts between the signatory of the contract;
Wherein if so, determining transfer amounts according to the rule and transferring accounts direction, and based on the direction of transferring accounts, from turning The transfer amounts are deducted to recipient in the current guarantee fund's amount of money in account side;
Remaining sum after the side of transferring accounts to be deducted to the transfer amounts is recorded in the account book of the subchain.
Optionally, the processor deducts from the current guarantee fund's amount of money in the side of transferring accounts the transfer amounts to connecing executing When the operation of debit, it is used for:
Whether the current guarantee fund's amount of money in the judgement side of transferring accounts is greater than the transfer amounts;
If guarantee fund's amount of money is greater than or equal to the transfer amounts, described turn is deducted from guarantee fund's amount of money The account amount of money gives the recipient;
If guarantee fund's amount of money is less than the transfer amounts, the prompt letter for failure of transferring accounts is sent to the side of transferring accounts Breath includes the current guarantee fund's amount of money of the transfer amounts and the side of transferring accounts in the prompt information.
Optionally, when guarantee fund's amount of money is equal to the transfer amounts, the processor is also used to:
Recharge Promotion information is sent to the side of transferring accounts.
Optionally, the processor is also used to:
The information that recipient described in direction transfers accounts of transferring accounts is recorded in the account book of the subchain.
The accounting nodes of embodiment illustrated in fig. 4 can be used for executing the technical solution of above method embodiment, realization principle Similar with technical effect, details are not described herein again.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium, it is stored thereon with computer program, institute It states computer program and is executed by processor and transferred accounts the execution of clause with the contract for realizing based on block chain described in above-described embodiment Method.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

  1. A kind of execution method of clause 1. contract based on block chain is transferred accounts, which is characterized in that the described method includes:
    Accounting nodes in the subchain of domain name block chain network receive the information of the contract of card to be deposited, and by the information and institute Guarantee fund's amount record that the signatory of contract prestores in the subchain is stated into the account book of the subchain, the card to be deposited Transfer accounts rule and the execution turn for clause of transferring accounts in electronic document, the electronic document in the information of contract including the contract The information of the required data source of account rule;
    Accounting nodes in the subchain obtain data from the data source, and according to the data got and described turn Account rule, judges whether to need to transfer accounts between the signatory of the contract;
    Wherein if so, determining transfer amounts and direction of transferring accounts according to the rule, and based on the direction of transferring accounts, from the side of transferring accounts The transfer amounts are deducted in current guarantee fund's amount of money to recipient;
    Remaining sum after the side of transferring accounts to be deducted to the transfer amounts is recorded in the account book of the subchain.
  2. 2. the method according to claim 1, wherein deducting institute in guarantee fund's amount of money current from the side of transferring accounts Transfer amounts are stated to recipient, comprising:
    Whether the current guarantee fund's amount of money in the judgement side of transferring accounts is greater than the transfer amounts;
    If guarantee fund's amount of money is greater than or equal to the transfer amounts, gold of transferring accounts described in deduction from guarantee fund's amount of money Volume gives the recipient;
    If guarantee fund's amount of money is less than the transfer amounts, the prompt information for failure of transferring accounts, institute are sent to the side of transferring accounts Stating in prompt information includes the current guarantee fund's amount of money of the transfer amounts and the side of transferring accounts.
  3. 3. according to the method described in claim 2, it is characterized in that, when guarantee fund's amount of money be equal to the transfer amounts when, The method also includes:
    Recharge Promotion information is sent to the side of transferring accounts.
  4. 4. method according to any one of claim 1-3, which is characterized in that the guarantee fund gold current from the side of transferring accounts After the transfer amounts are deducted in volume to recipient, the method also includes:
    The information that recipient described in direction transfers accounts of transferring accounts is recorded in the account book of the subchain.
  5. 5. according to the method described in claim 4, it is characterized in that, deducting institute in guarantee fund's amount of money current from the side of transferring accounts After transfer amounts are stated to recipient, the method also includes:
    The information that recipient described in direction transfers accounts of transferring accounts is sent to the recipient.
  6. 6. a kind of accounting nodes of the subchain of domain name block chain network, which is characterized in that the accounting nodes include:
    Memory;
    Processor;
    Communication interface;And
    Computer program;
    Wherein, the computer program stores in the memory, and is configured as executing following operation by the processor:
    The information of the contract of card to be deposited is received, and the signatory of the information and the contract is prestored in the subchain Electronics text of guarantee fund's amount record into the account book of the subchain, in the information of the contract of the card to be deposited including the contract The information that is regular and executing the required data source of rule of transferring accounts of transferring accounts for clause of transferring accounts in part, the electronic document;
    Data are obtained from the data source, and according to the data and the rule of transferring accounts got, judge whether to need It transfers accounts between the signatory of the contract;
    Wherein if so, determining transfer amounts and direction of transferring accounts according to the rule, and based on the direction of transferring accounts, from the side of transferring accounts The transfer amounts are deducted in current guarantee fund's amount of money to recipient;
    Remaining sum after the side of transferring accounts to be deducted to the transfer amounts is recorded in the account book of the subchain.
  7. 7. accounting nodes according to claim 6, which is characterized in that the processor is executing the guarantor current from the side of transferring accounts When deducting operation of the transfer amounts to recipient in the golden amount of money of card, it is used for:
    Whether the current guarantee fund's amount of money in the judgement side of transferring accounts is greater than the transfer amounts;
    If guarantee fund's amount of money is greater than or equal to the transfer amounts, gold of transferring accounts described in deduction from guarantee fund's amount of money Volume gives the recipient;
    If guarantee fund's amount of money is less than the transfer amounts, the prompt information for failure of transferring accounts, institute are sent to the side of transferring accounts Stating in prompt information includes the current guarantee fund's amount of money of the transfer amounts and the side of transferring accounts.
  8. 8. accounting nodes according to claim 7, which is characterized in that when guarantee fund's amount of money is equal to the transfer amounts When, the processor is also used to:
    Recharge Promotion information is sent to the side of transferring accounts.
  9. 9. a method according to any one of claims 6-8 transfer accounts executes node, which is characterized in that the processor is also used to:
    The information that recipient described in direction transfers accounts of transferring accounts is recorded in the account book of the subchain.
  10. 10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Method according to any one of claims 1 to 5 is realized when being executed by processor.
CN201910366047.2A 2019-05-05 2019-05-05 Contract based on block chain is transferred accounts execution method, equipment and the medium of clause Pending CN110111074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910366047.2A CN110111074A (en) 2019-05-05 2019-05-05 Contract based on block chain is transferred accounts execution method, equipment and the medium of clause

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910366047.2A CN110111074A (en) 2019-05-05 2019-05-05 Contract based on block chain is transferred accounts execution method, equipment and the medium of clause

Publications (1)

Publication Number Publication Date
CN110111074A true CN110111074A (en) 2019-08-09

Family

ID=67487847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910366047.2A Pending CN110111074A (en) 2019-05-05 2019-05-05 Contract based on block chain is transferred accounts execution method, equipment and the medium of clause

Country Status (1)

Country Link
CN (1) CN110111074A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111583002A (en) * 2020-04-30 2020-08-25 财付通支付科技有限公司 Data processing method, data processing device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108694551A (en) * 2018-08-13 2018-10-23 福建省农村信用社联合社 A method of the supply chain advance money financing based on Internet of Things block chain
CN109034797A (en) * 2018-06-26 2018-12-18 东莞市大易产业链服务有限公司 A kind of bill evidence's method of payment based on block chain technology
CN109245894A (en) * 2018-07-18 2019-01-18 电子科技大学 A kind of distributed cloud storage system based on intelligent contract
CN109472593A (en) * 2018-10-10 2019-03-15 远光软件股份有限公司 A kind of settlement method based on block chain technology, device and block chain network
CN109544335A (en) * 2018-10-25 2019-03-29 平安科技(深圳)有限公司 Transaction data processing method, device, equipment and storage medium based on block chain
CN109615510A (en) * 2018-12-04 2019-04-12 国网辽宁省电力有限公司大连供电公司 A kind of supply chain finance based on block chain is multistage to increase letter method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109034797A (en) * 2018-06-26 2018-12-18 东莞市大易产业链服务有限公司 A kind of bill evidence's method of payment based on block chain technology
CN109245894A (en) * 2018-07-18 2019-01-18 电子科技大学 A kind of distributed cloud storage system based on intelligent contract
CN108694551A (en) * 2018-08-13 2018-10-23 福建省农村信用社联合社 A method of the supply chain advance money financing based on Internet of Things block chain
CN109472593A (en) * 2018-10-10 2019-03-15 远光软件股份有限公司 A kind of settlement method based on block chain technology, device and block chain network
CN109544335A (en) * 2018-10-25 2019-03-29 平安科技(深圳)有限公司 Transaction data processing method, device, equipment and storage medium based on block chain
CN109615510A (en) * 2018-12-04 2019-04-12 国网辽宁省电力有限公司大连供电公司 A kind of supply chain finance based on block chain is multistage to increase letter method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111583002A (en) * 2020-04-30 2020-08-25 财付通支付科技有限公司 Data processing method, data processing device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109741056B (en) Method and device for uploading electronic certificate
CN109660350A (en) Data based on block chain deposit card method and device, electronic equipment
CN108921627A (en) A kind of method and system generating electronic invoice OFD layout files
CN107396360A (en) Block verification method and device
CN109741168A (en) Online arbitration information exchange method and system
US20090319797A1 (en) Method and computer system for ensuring authenticity of an electronic transaction
CN107463806A (en) The signature and sign test method of a kind of Android application programs installation kit
CN110276588A (en) Electron underwriting authentication method, apparatus and computer readable storage medium
CN110113334A (en) Contract processing method, equipment and storage medium based on block chain
CN107133777A (en) A kind of establishment of electronic contract, signature method and system
CN101183439A (en) Electronic bill processing system and processing method
CN111461917B (en) Power system material contract management system based on block chain
WO2008024162A3 (en) Electronic signature validation systems and methods for asynchronous environments
CN107330701A (en) The method and apparatus of the intelligent contract of implantation
CN104158668A (en) Method and system for realizing electronic signature
CN109726571A (en) Electronic signature method, device, storage medium and the electronic equipment of document
CN104168117B (en) A kind of speech digit endorsement method
CN109191119A (en) Method and system for digital signature and verification of electronic certificate
CN107977556A (en) The method and device of stamped signature is carried out to online e-file
CN108492071A (en) A kind of express delivery information processing method and device based on block chain
US11627142B2 (en) E-code multi-imprints
CN110111074A (en) Contract based on block chain is transferred accounts execution method, equipment and the medium of clause
CN109934588A (en) A kind of business handling method and device
CN108876485A (en) A kind of advertisement scheme is than original text method, server and computer-readable medium
CN110062044A (en) Distributed application program downloads verification method, 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190809

RJ01 Rejection of invention patent application after publication