Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification one or more embodiment,
Below in conjunction with the attached drawing in this specification one or more embodiment, to the technology in this specification one or more embodiment
Scheme is clearly and completely described, it is clear that and described embodiment is only a part of the embodiment of this specification, without
It is whole embodiments.Based on this specification one or more embodiment, those of ordinary skill in the art are not making creation
Property labour under the premise of every other embodiment obtained, the protection scope of the application all should belong to.
This specification one or more embodiment provides one kind and is based on block chain transaction method for early warning, device and equipment,
Intelligent contract based on block chain carries out early warning analysis to the transaction request that the terminal device of supplier user is sent automatically, realizes
Effective supervision to funds on account provided by core enterprise, avoid supplier user using funds on account provided by core enterprise into
The generation of phenomena such as row illegal transaction promotes the steady ordered development of supply chain finance.
Fig. 1 is the application scenarios for the transaction early warning system based on block chain that this specification one or more embodiment provides
Schematic diagram, as shown in Figure 1, the system includes: block chain node, the terminal device of core enterprise user and the end of supplier user
End equipment;Wherein, block chain node access area block chain, the terminal device of core enterprise user and the terminal device of supplier user
It can be mobile phone, tablet computer, desktop computer, portable notebook formula computer etc., the terminal device of core enterprise user
Pass through wireless network with the terminal device of supplier user to be communicatively coupled with block chain link point.
Specifically, the terminal device of core enterprise user, receives the accounts payable data that core enterprise user sends, and
The accounts payable data are sent to block chain node;Wherein, accounts payable data include the use of the funds on account amount of money, supplier user
Family information (such as name, the enterprise name of place enterprise, contact method), issuing bank information (such as agricultural of supplier user
Bank), the account information (card number of such as bank card) of the bank of deposit of supplier user, payment method;
Block chain node receives the accounts payable data that the terminal device of core enterprise user is sent, according to should pay a bill
Amount of money will cope with the terminal device that funds on account data are sent to supplier user according to the user information for the supplier user for including, with
Make the corresponding amount of money of paying a bill of supplier user according to auditing;And it is logical in the audit that the terminal device for receiving supplier user is sent
When crossing information, transaction certificate data are generated according to accounts payable data;The trading rules of acquisition transaction certificate data, and according to
The trading rules of acquisition dispose intelligent contract in block chain;With receive supplier user terminal device send based on
When the transaction request of transaction certificate data, early warning analysis is carried out to transaction request by the intelligent contract of deployment;
The terminal device of supplier user receives the accounts payable data that block chain link point is sent, shows that this should pay a bill
Amount of money evidence so that supplier user audits, and when the audit for receiving supplier user's transmission passes through information, this is examined
Core is sent to block chain node by information;And in the transaction based on transaction certificate data for receiving supplier user's transmission
When data, transaction data generates transaction request based on the received, and sends transaction request and give block chain node, so that block chain link
Point handles transaction request.Wherein, supplier user is receiving above-mentioned transaction certificate number provided by core enterprise user
After corresponding funds on account, the funds on account can be used and trade with other supplier users, such as the producing of funds on account is transferred to, melts
Money etc.;Corresponding, transaction data includes the amount of money of transaction funds on account, the user information and silver for producing supplier user for funds on account of trading
Row account information, the user information for being transferred to supplier user for funds on account of trading and bank account information etc..
The above-mentioned transaction early warning system based on block chain, by obtaining the trading rules of transaction certificate data, and according to friendship
Easily rule disposes intelligent contract in block chain, with what is sent automatically to the terminal device of supplier user based on the intelligence contract
Transaction request carries out early warning analysis, realizes effective supervision to funds on account provided by core enterprise, avoids supplier user
The generation for phenomena such as carrying out illegal transaction using funds on account provided by core enterprise promotes the steady ordered hair of supply chain finance
Exhibition.
Fig. 2 is the process signal for the transaction method for early warning based on block chain that this specification one or more embodiment provides
To scheme, the method in Fig. 2 can be executed by the block chain node in Fig. 1, as shown in Fig. 2, method includes the following steps:
Step S102, block chain node receive the accounts payable data that the terminal device of core enterprise user is sent;
Step S104, block chain node generate transaction certificate data according to accounts payable data;
Step S106, block chain node obtains the trading rules of transaction certificate data, according to the trading rules of acquisition in area
Intelligent contract is disposed in block chain;
Step S108, when block chain node receive supplier user terminal device send based on transaction certificate data
Transaction request when, the intelligent contract based on deployment to transaction request carry out early warning analysis.
In one or more embodiments of this specification, based on the intelligent contract disposed in block chain automatically to supplier
Transaction request transmitted by the terminal device of user carries out early warning analysis, realizes to the effective of funds on account provided by core enterprise
Supervision avoids the generation for phenomena such as supplier user carries out illegal transaction using funds on account provided by core enterprise, promotes
The steady ordered of supply chain finance develops.
Due to including the funds on account amount of money and the relevant information of supplier in accounts payable data, in order to ensure being based on dealing with
The accuracy of funds on account data transaction certificate data generated, in this specification one or more embodiment, as shown in figure 3, step
Suddenly S102 includes:
Step S102-2, the user information for the supplier user that block chain node includes according to accounts payable data are sent
Accounts payable data give the terminal device of corresponding supplier user, so that the corresponding amount of money of paying a bill of supplier user is according to examining
Core;
Step S102-4, if block chain node receives examining for the terminal device transmission of supplier user in preset duration
Core then generates transaction certificate data according to accounts payable data by information.
Specifically, block chain node contact method according to included by the user information of supplier user, is answered received
Amount of money of paying a bill evidence is sent to the terminal device of supplier user, and judges the end that supplier user whether is received in preset duration
The audit that end equipment is sent is by information, and when the judgment result is yes, block chain node is generated according to accounts payable data and traded
Credential data;When the judgment result is no, block chain node sends Fail Transaction information to the terminal device of core enterprise user;
Wherein, account information etc. of the contact method such as mailbox, supplier user in supply chain financial platform.As a result, by will cope with account
Amount of money evidence is sent to supplier user and audits, and reduces wrong so that being generated according to included information in response to amount of money of paying a bill
Transaction certificate data it is wrong, and then cause the risk of dispute because transaction certificate data are wrong.
It is common, for the transaction between clear core enterprise and supplier, such as the funds on account amount of money, trading rules,
Trade contract is ordered in countersign between core enterprise and supplier;Further, in order to reduce user's operation to the greatest extent, avoid user manual
When inputting information due to input error the unnecessary trouble of bring, in this specification one or more embodiment, step S104
Before further include:
Step A, block chain node receive the electronic contract that the terminal device of core enterprise user is sent;
Specifically, its terminal device of core enterprise's user's operation, uploads the electronics that core enterprise and supplier are signed and closes
Together, or the electronic scanned document of papery contract signed, electronic contract is referred to as in this specification;The end of core enterprise user
End equipment receives the electronic contract that core enterprise user uploads, and received electronic contract is sent to block chain node, block
Chain node receives the electronic contract that the terminal device of core enterprise user is sent.It should be pointed out that electronic contract can be by preceding
Core enterprise user and supplier user is stated to sign, can also by other users that core enterprise specifies and supplier specifies its
His user signs;It is further noted that core enterprise user can upload electronics before submitting accounts payable data
Contract can also upload electronic contract after submitting accounts payable data, can also submit accounts payable data and upper simultaneously
Pass electronic contract;Namely step A can be executed before step S102, can also be executed after step s 102, it can also be with
Step S102 is performed simultaneously.
Corresponding, step S104 includes:
Block chain node searches preset critical field in received electronic contract, will include the clause work of critical field
For the trading rules of transaction certificate data.
Wherein, critical field can sets itself as needed in practical applications, for example, critical field includes financing
Than will include clause " financing ratio be not greater than the 50% of the funds on account amount of money " of the financing than field in electronic contract as transaction certificate
The trading rules of data.It include preset pass by being obtained in electronic contract transmitted by the terminal device in core enterprise user
The clause of key field, and trading rules of the clause that will acquire as transaction certificate data, are ensuring trading rules and contract
On the basis of the consistency of agreement, reduce user's operation;And ensure the intelligent contract disposed based on the trading rules
Validity, further ensure the accuracy and validity of early warning analysis result.
Since the accounts payable data that different core enterprise user sends are different, different core enterprises and different confessions
Answer the trading rules arranged between quotient different, therefore, block chain node is sent out according to the terminal device of different core enterprise users
The accounts payable data sent transaction certificate data generated are different, the intelligence disposed according to the trading rules of transaction certificate data
Energy contract is also different;It is effectively distinguished in order to effectively be distinguished to transaction certificate data, to intelligent contract and accurate
Identify intelligent contract corresponding to different transaction certificate data, in this specification one or more embodiment, step S104 it
Afterwards, further includes:
Step B, block chain node generate the mark of transaction certificate data;
After step S106, further includes:
Step C1, block chain node generate the Contract ID of intelligent contract;
The mark of the transaction certificate data of generation and Contract ID are associated record, obtained by step C2, block chain node
To associated record information.
Further, it is contemplated that core enterprise user and supplier user may have multiple transaction certificate data, in order to
Core enterprise user and supplier user is set to distinguish and manage its respective transaction certificate data, and inquiry transaction
The transaction record of Credential data, after step B further include: block chain node is by the transaction certificate data of generation and transaction certificate number
According to the mark corresponding terminal device for being sent to core enterprise user and supplier user terminal device.
By generating the mark of transaction certificate data, the Contract ID of intelligent contract, and by the mark of transaction certificate data
It is associated record with Contract ID, with when receiving the transaction request based on transaction certificate data, according to transaction certificate number
According to mark and associated record information determine carry out early warning analysis intelligent contract.Specifically, as shown in figure 4, step S108
In early warning analysis carried out to transaction request based on intelligent contract, comprising:
Step S108-2, the mark for the transaction certificate data that block chain node includes according to transaction request, in associated record
Associated Contract ID is obtained in information;
Step S108-4, block chain node calls corresponding intelligent contract according to the Contract ID of acquisition, based on calling
Intelligent contract determines whether transaction data meets the trading rules of transaction certificate data, if so, S108-6 is thened follow the steps, if
It is no, then follow the steps S108-8;
Step S108-6, block chain node executes corresponding transactional operation according to the transaction data that transaction request includes, raw
At transaction record information, transaction record information is written in block chain, and sends transaction successful information to the end of supplier user
End equipment;
Specifically, block chain node executes corresponding transactional operation according to the transaction data that transaction request includes, will trade
The mark associated record of data and transaction certificate data, and using the information of record as transaction record information, transaction record is believed
In breath write-in block chain, transaction successful information is sent to the terminal device of supplier user.
Wherein, transaction data includes but is not limited to the amount of money of transaction funds on account, the use for producing supplier user for funds on account of trading
The user information and bank account information for being transferred to supplier user of family information and bank account information, funds on account of trading.As showing
Example, when transaction request is for requesting funds on account transfer (such as producing) operation, then with funds on account to be transferred included by transaction data
Funds on account to be transferred are produced from bank account corresponding to the bank account information for producing supplier user, and are transferred to by the amount of money
To bank account corresponding to the bank account information for being transferred to supplier user, and by the mark of transaction certificate data, wait turn
It moves the amount of money of funds on account, the transfer time of funds on account to be transferred, the identity information for producing supplier user and bank account information, turn
The identity information and bank account information for entering supplier user are associated record, and using the information of record as transaction record
Transaction record information is written in block chain information, and sends transaction successful information to the terminal device of supplier user.
Step S108-8, block chain node send Fail Transaction information to the terminal device of supplier user.
Early warning point is carried out by transaction request transmitted by intelligent the contract automatically terminal device to supplier user as a result,
Analysis avoids supplier user and utilizes core enterprise to determine whether transaction data meets the trading rules of transaction certificate data
Provided funds on account carry out the generation of phenomena such as illegal transaction, realize effective supervision of funds on account provided to core enterprise, promote
Into the sustainable development of supply chain finance.Meanwhile by the way that transaction record information is written in block chain, it is ensured that transaction data
Can not tamper and the open property looked into, inquiry is carried out to the transaction of funds on account provided by it for core enterprise user and provides number
According to basis.Based on this, in one or more embodiments of this specification, method further include:
Step D1, the Transaction Inquiries request that the terminal device that block chain node receives core enterprise user is sent, wherein state
Transaction Inquiries request includes the mark of transaction certificate data to be checked;
Step D2, block chain node obtain corresponding friendship according to the mark of transaction certificate data to be checked in block chain
Easily record information;
Specifically, the transaction record that block chain node will store in the mark of transaction certificate data to be checked and block chain
The mark of transaction certificate data in information is matched;If successful match, using corresponding transaction record information as state to
The corresponding transaction record information of mark of the transaction certificate data of inquiry.
Step D3, block chain node generate the mark of transaction certificate data to be checked according to the transaction record information of acquisition
Know the circulation path profile of corresponding funds on account;
Specifically, block chain node obtains in transaction record information the amount of money of transaction funds on account, transaction funds on account produce confession
It answers the user information at commercial family and is transferred to the user information of supplier user;According to the amount of money of transaction funds on account, turn of transaction funds on account
The user information of supplier user and the user information for being transferred to supplier user out, generate the mark of transaction certificate data to be checked
Know the circulation path profile of corresponding funds on account.
Step D4, the path profile that circulates is sent to the terminal device of core enterprise user by block chain node, to look forward in core
The terminal device of industry user is shown.
By generating the circulation path profile of funds on account corresponding to the mark of transaction certificate data to be checked, and by the circulation
Path profile is sent to the terminal device of core enterprise user, by all circulation nodes of corresponding funds on account clearly, it is very clear
Show core enterprise user, artificially combed without circulation process of the core enterprise user to funds on account, promoted core
The inquiry of enterprise customer is experienced.
Based on any of the above embodiments, in order to avoid accounts payable data are maliciously tampered and with transaction certificate number
According to inconsistent, in this specification one or more embodiment, after step B, further includes: will cope with funds on account data, transaction certificate
The mark associated record of data and transaction certificate data, and the information of record is written in block chain.
Since in practical applications, there are some supplier users, after the funds on account that core enterprise user offer is provided,
To the funds on account without any transactional operation, the effect of the funds on account could not be not only played, but also there are the risks such as illegal fund collection;It is right
In this this specification one or more embodiment, core enterprise user be can be set as supplier user to funds on account provided by it
The corresponding whole funds on account of the amount of money or part funds on account carry out the operation time limit of transactional operation, and when reaching the operation time limit, if really
Determine supplier user not to core enterprise user provide all or part of funds on account carry out transactional operation, then to supplier user into
Row is reminded;Specifically, method further include:
Step E1, the terminal device that block chain node receives core enterprise user are sent golden to funds on account by supplier user
The corresponding whole funds on account of volume or part funds on account carry out the operation time limit of transactional operation;
Step E2, when core enterprise user pays the corresponding whole funds on account of the funds on account amount of money or part funds on account to supplier user
When, the block chain nodes records time of payment;
Step E3, block chain node carry out timing by initial time of the time of payment, if reach the operation time limit, determine and supply
It answers commercial family whole funds on account not corresponding to the funds on account amount of money or part funds on account to carry out transactional operation, then sends prompt information to supply
The terminal device at commercial family.
Specifically, block chain node carries out timing by initial time of the time of payment, when reaching the operation time limit, according to friendship
The mark of easy Credential data searches corresponding transaction record information in block chain, if finding corresponding transaction record information,
Then determine that supplier user whole funds on account corresponding to the funds on account amount of money or part funds on account within the operation time limit carry out transactional operation,
If not finding corresponding transaction record information, it is determined that supplier user is not corresponding to the funds on account amount of money complete within the operation time limit
Portion's funds on account or part funds on account carry out transactional operation, send prompt information to the terminal device of corresponding supplier user.
In a specific embodiment, the terminal device transmission of core enterprise user is received simultaneously with block chain node
It is illustrated for accounts payable data and electronic contract, as shown in figure 5, method includes:
Step S202, block chain node receive the accounts payable data and electronics that the terminal device of core enterprise user is sent
Contract;
Step S204, the user information for the supplier user that block chain node includes according to accounts payable data, will cope with
Funds on account data are sent to the terminal device of corresponding supplier user;
Step S206, block chain node judge what the terminal device that supplier user whether is received in preset duration was sent
Audit is to then follow the steps S208 by information, otherwise sends Fail Transaction information to the terminal device of core enterprise user;
Step S208, block chain node generates transaction certificate data according to accounts payable data, and generates transaction certificate
The mark of data;
Step S210, block chain node will cope with the mark of funds on account data, transaction certificate data and transaction certificate data
Associated record, and the information of record is written in block chain, and by the transaction certificate data of generation and transaction certificate data
The terminal device of the mark corresponding terminal device for being sent to core enterprise user and supplier user;
Step S212, block chain node search preset critical field in electronic contract, by the item including critical field
Trading rules of the money as transaction certificate data;
Step S214, block chain node disposes intelligent contract according to trading rules in block chain, and generates intelligent contract
Contract ID;
The mark of the transaction certificate data of generation and Contract ID are associated record by step S216, block chain node,
Obtain associated record information;
Step S218, when block chain node receive supplier user terminal device send based on transaction certificate data
Transaction request when, according to the mark for the transaction certificate data that transaction request includes, obtained in associated record information corresponding
Contract ID;
Step S220, block chain node call corresponding intelligent contract, based on intelligent contract according to the Contract ID of acquisition
It determines whether transaction data that transaction request includes meets the trading rules of transaction certificate data, is to then follow the steps S222, it is no
Fail Transaction information is then sent to the terminal device of supplier user;
Step S222, block chain node executes corresponding transactional operation according to transaction data, and by transaction data and trades
The mark of Credential data is associated record, using the information of record as transaction record information;
Transaction record information is written in block chain for step S224, block chain node, and the successful information that occurs to trade is to confession
Answer the terminal device at commercial family.
Wherein, the specific implementation process of step S202 to step S224, reference can be made to aforementioned associated description, repeats place here
It repeats no more.
In this specification one or more embodiment, the terminal device hair of core enterprise user is received in block chain node
When the accounts payable data sent, transaction certificate data are generated according to accounts payable data;Obtain the transaction rule of transaction certificate data
Then, and according to trading rules intelligent contract is disposed in block chain;And the end of supplier user is received in block chain node
When the transaction request based on transaction certificate data that end equipment is sent, early warning analysis is carried out to transaction request based on intelligent contract.
As it can be seen that by the embodiment in this specification, based on the intelligent contract disposed in block chain automatically to the terminal of supplier user
The transaction request that equipment is sent carries out early warning analysis, realizes effective supervision to funds on account provided by core enterprise, avoids
The generation for phenomena such as supplier user carries out illegal transaction using funds on account provided by core enterprise promotes supply chain finance
Steady ordered development.
The transaction method for early warning based on block chain that corresponding above-mentioned Fig. 2 to Fig. 5 is described, based on the same technical idea, this
Specification one or more embodiment also provides a kind of transaction prior-warning device based on block chain.Fig. 6 be this specification one or
The module composition schematic diagram for the transaction prior-warning device based on block chain that multiple embodiments provide, the device is for executing Fig. 2 extremely
The transaction method for early warning based on block chain of Fig. 5 description, as shown in fig. 6, the device includes:
Receiving module 301 receives the accounts payable data that the terminal device of core enterprise user is sent;
First generation module 302 generates transaction certificate data according to accounts payable data;
Module 304 is obtained, the trading rules of transaction certificate data are obtained;
Deployment module 305 disposes intelligent contract according to trading rules in block chain;
Warning module 306, when the terminal device transmission for receiving supplier user is based on the transaction certificate data
Transaction request when, early warning analysis is carried out to the transaction request based on the intelligent contract.
In one or more embodiments of this specification, based on the intelligent contract disposed in block chain automatically to supplier
The transaction request that the terminal device of user is sent carries out early warning analysis, realizes effective prison to funds on account provided by core enterprise
Pipe avoids the generation for phenomena such as supplier user carries out illegal transaction using funds on account provided by core enterprise, promotes confession
The steady ordered of chain finance is answered to develop.
Optionally, the accounts payable data include the user information of the supplier user;
First generation module 302 sends the accounts payable data according to the user information of the supplier user
To the terminal device of corresponding supplier user, so that the supplier user audits the accounts payable data;With
And
If the audit that the terminal device for receiving the supplier user in preset duration is sent passes through information, basis
The accounts payable data generate transaction certificate data.
Optionally, the receiving module 301 also obtains the transaction of the transaction certificate data in the acquisition module 303
Before rule, the electronic contract that the terminal device of the core enterprise user is sent is received;
The acquisition module 303, searches preset critical field in the electronic contract, will include the critical field
Trading rules of the clause as the transaction certificate data.
Optionally, device further include: the second generation module;
Second generation module generates transaction certificate number according to accounts payable data in first generation module 302
According to the mark for later, generating the transaction certificate data;And
After the deployment module 302 disposes intelligent contract according to the trading rules in block chain, described in generation
The mark of the transaction certificate data and the Contract ID are associated record, are closed by the Contract ID of intelligent contract
Connection record information.
Optionally, the warning module 306, according to the mark for the transaction certificate data that the transaction request includes, in institute
It states and obtains associated Contract ID in associated record information;And
Corresponding intelligent contract is called according to the Contract ID of acquisition, the number of deals is determined based on the intelligent contract of calling
According to whether meeting the trading rules of the transaction certificate data;
If so, executing corresponding transactional operation according to the transaction data, transaction record information is generated, by the transaction
It records information to be written in the block chain, and sends transaction successful information to the terminal device of the supplier user;
If it is not, then sending Fail Transaction information to the terminal device of the supplier user.
Optionally, the transaction data is associated with note with the mark of the transaction certificate data by the warning module 306
Record, and using the information of record as transaction record information.
Optionally, second generation module should pay a bill after the mark for generating the transaction certificate data by described
The mark associated record of amount of money evidence, the transaction certificate data and the transaction certificate data, and the information of record is written
In the block chain.
Optionally, the accounts payable data include the funds on account amount of money, the device further include: logging modle, timing module and
Sending module;
The receiving module 301 also receives the commercial by the supply of the terminal device transmission of the core enterprise user
Family whole funds on account corresponding to the funds on account amount of money or part funds on account carry out the operation time limit of transactional operation;
The logging modle is corresponded to when the core enterprise user pays the funds on account amount of money to the supplier user
Whole funds on account or part funds on account when, record the time of payment;
The timing module carries out timing by initial time of the time of payment;
The sending module, if determining the supplier user not to the account when timing reaches the operation time limit
The corresponding whole funds on account of the money amount of money or part funds on account carry out transactional operation, then send prompt information to the end of the supplier user
End equipment.
The transaction prior-warning device based on block chain that this specification one or more embodiment provides can receive core enterprise
The accounts payable data that the terminal device of industry user is sent generate transaction certificate data according to accounts payable data;Obtain transaction
The trading rules of Credential data, and intelligent contract is disposed in block chain according to trading rules;And it is commercial receiving supply
When the transaction request based on transaction certificate data that the terminal device at family is sent, early warning is carried out to transaction request based on intelligent contract
Analysis.As it can be seen that by the embodiment in this specification, based on the intelligent contract disposed in block chain automatically to supplier user's
The transaction request that terminal device is sent carries out early warning analysis, realizes effective supervision to funds on account provided by core enterprise, keeps away
The generation for phenomena such as Mian Liao supplier user carries out illegal transaction using funds on account provided by core enterprise promotes supply chain gold
The steady ordered development melted.
It should be noted that being closed in embodiment and the application in the application about the transaction prior-warning device based on block chain
In the transaction method for early warning based on block chain embodiment based on the same inventive concept, therefore the specific implementation of the embodiment can be with
Referring to the implementation of the aforementioned corresponding transaction method for early warning based on block chain, overlaps will not be repeated.
Further, corresponding above-mentioned method shown in Fig. 2 to Fig. 5, based on the same technical idea, this specification one or
Multiple embodiments also provide a kind of transaction source of early warning based on block chain, which is used to executing above-mentioned based on block chain
Transaction method for early warning, Fig. 7 are a kind of transaction source of early warning based on block chain that this specification one or more embodiment provides
Structural schematic diagram.
As shown in fig. 7, the transaction source of early warning based on block chain can generate bigger difference because configuration or performance are different
It is different, it may include one or more processor 401 and memory 402, can store one or one in memory 402
A application program stored above or data.Wherein, memory 402 can be of short duration storage or persistent storage.It is stored in memory
402 application program may include one or more modules (diagram is not shown), and each module may include based on block
Series of computation machine executable instruction in the transaction source of early warning of chain.Further, processor 401 can be set to and deposit
Reservoir 402 communicates, and the executable finger of series of computation machine in memory 402 is executed on the transaction source of early warning based on block chain
It enables.Transaction source of early warning based on block chain can also include one or more power supplys 403, one or more are wired
Or radio network interface 404, one or more input/output interfaces 405, one or more keyboards 406 etc..
In a specific embodiment, the transaction source of early warning based on block chain include memory and one or
More than one program, perhaps more than one program is stored in memory and one or more than one program for one of them
It may include one or more modules, and each module may include to one in the transaction source of early warning based on block chain
Family computer executable instruction, and be configured to be executed by one or more than one processor this or more than one
Program includes for carrying out following computer executable instructions:
Receive the accounts payable data that the terminal device of core enterprise user is sent;
Transaction certificate data are generated according to the accounts payable data;
The trading rules for obtaining the transaction certificate data dispose intelligence conjunction according to the trading rules in block chain
About;
When the transaction request based on the transaction certificate data that the terminal device for receiving supplier user is sent, base
Early warning analysis is carried out to the transaction request in the intelligent contract.
In one or more embodiments of this specification, based on the intelligent contract disposed in block chain automatically to supplier
The transaction request that the terminal device of user is sent carries out early warning analysis, realizes effective prison to funds on account provided by core enterprise
Pipe avoids the generation for phenomena such as supplier user carries out illegal transaction using funds on account provided by core enterprise, promotes confession
The steady ordered of chain finance is answered to develop.
Optionally, when executed, the accounts payable data include the supplier user to computer executable instructions
User information, it is described according to the accounts payable data generate transaction certificate data, comprising:
According to the user information of the supplier user, the accounts payable data are sent to corresponding supplier user's
Terminal device, so that the supplier user audits the accounts payable data;
If the audit that the terminal device for receiving the supplier user in preset duration is sent passes through information, basis
The accounts payable data generate transaction certificate data.
Optionally, computer executable instructions when executed, the trading rules for obtaining the transaction certificate data
Before, further includes:
Receive the electronic contract that the terminal device of the core enterprise user is sent;
The trading rules for obtaining the transaction certificate data, comprising:
Preset critical field is searched in the electronic contract, will include the clause of the critical field as the friendship
The trading rules of easy Credential data.
Optionally, computer executable instructions when executed, it is described according to the accounts payable data generate transaction with
After card data, further includes:
Generate the mark of the transaction certificate data;
It is described to be disposed in block chain according to the trading rules after intelligent contract, further includes:
Generate the Contract ID of the intelligent contract;
The mark of the transaction certificate data and the Contract ID are associated record, obtain associated record information.
Optionally, when executed, the transaction request includes the transaction certificate data to computer executable instructions
Mark and transaction data, it is described that early warning analysis is carried out to the transaction request based on the intelligent contract, comprising:
According to the mark of the transaction certificate data, associated Contract ID is obtained in the associated record information;
Corresponding intelligent contract is called according to the Contract ID of acquisition, the number of deals is determined based on the intelligent contract of calling
According to whether meeting the trading rules of the transaction certificate data;
If so, executing corresponding transactional operation according to the transaction data, transaction record information is generated, by the transaction
It records information to be written in the block chain, and sends transaction successful information to the terminal device of the supplier user;
If it is not, then sending Fail Transaction information to the terminal device of the supplier user.
Optionally, computer executable instructions when executed, the generation transaction record information, comprising:
By the mark associated record of the transaction data and the transaction certificate data, and using the information of record as transaction
Record information.
Optionally, computer executable instructions when executed, after the mark for generating the transaction certificate data,
Further include:
The mark of the accounts payable data, the transaction certificate data and the transaction certificate data is associated with note
Record, and the information of record is written in the block chain.
Optionally, when executed, the accounts payable data include the funds on account amount of money, the side to computer executable instructions
Method further include:
Receive the core enterprise user terminal device send by the supplier user to the funds on account amount of money pair
The whole funds on account or part funds on account answered carry out the operation time limit of transactional operation;And
When the core enterprise user pays the corresponding whole funds on account of the funds on account amount of money or portion to the supplier user
When dividing funds on account, the time of payment is recorded;
Timing is carried out by initial time of the time of payment, if reach the operation time limit, determines the supplier
User's whole funds on account not corresponding to the funds on account amount of money or part funds on account carry out transactional operation, then send prompt information to described
The terminal device of supplier user.
The transaction source of early warning based on block chain that this specification one or more embodiment provides, can receive core
When the accounts payable data that the terminal device of heart enterprise customer is sent, transaction certificate data are generated according to accounts payable data;It obtains
The trading rules of transaction certificate data are taken, and dispose intelligent contract in block chain according to trading rules;And receiving confession
When the transaction request based on transaction certificate data for answering the terminal device at commercial family to send, based on intelligent contract to transaction request into
Row early warning analysis.As it can be seen that by the embodiment in this specification, based on the intelligent contract disposed in block chain automatically to supplier
The transaction request that the terminal device of user is sent carries out early warning analysis, realizes effective prison to funds on account provided by core enterprise
Pipe avoids the generation for phenomena such as supplier user carries out illegal transaction using funds on account provided by core enterprise, promotes confession
The steady ordered of chain finance is answered to develop.
It should be noted that embodiment and this specification in this specification about the transaction source of early warning based on block chain
In about the transaction method for early warning based on block chain embodiment based on the same inventive concept, therefore the specific implementation of the embodiment
It may refer to the implementation of the aforementioned corresponding transaction method for early warning based on block chain, overlaps will not be repeated.
Further, corresponding above-mentioned method shown in Fig. 2 to Fig. 5, based on the same technical idea, this specification one or
Multiple embodiments additionally provide a kind of storage medium,, should in a specific embodiment for storing computer executable instructions
Storage medium can be USB flash disk, CD, hard disk etc., and the computer executable instructions of storage medium storage are being executed by processor
When, it is able to achieve following below scheme:
Receive the accounts payable data that the terminal device of core enterprise user is sent;
Transaction certificate data are generated according to the accounts payable data;
The trading rules for obtaining the transaction certificate data dispose intelligence conjunction according to the trading rules in block chain
About;
When the transaction request based on the transaction certificate data that the terminal device for receiving supplier user is sent, base
Early warning analysis is carried out to the transaction request in the intelligent contract.
In one or more embodiments of this specification, based on the intelligent contract disposed in block chain automatically to supplier
The transaction request that the terminal device of user is sent carries out early warning analysis, realizes effective prison to funds on account provided by core enterprise
Pipe avoids the generation for phenomena such as supplier user carries out illegal transaction using funds on account provided by core enterprise, promotes confession
The steady ordered of chain finance is answered to develop.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the accounts payable
Data include the user information of the supplier user, described to generate transaction certificate data, packet according to the accounts payable data
It includes:
According to the user information of the supplier user, the accounts payable data are sent to corresponding supplier user's
Terminal device, so that the supplier user audits the accounts payable data;
If the audit that the terminal device for receiving the supplier user in preset duration is sent passes through information, basis
The accounts payable data generate transaction certificate data.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, described in the acquisition
Before the trading rules of transaction certificate data, further includes:
Receive the electronic contract that the terminal device of the core enterprise user is sent;
The trading rules for obtaining the transaction certificate data, comprising:
Preset critical field is searched in the electronic contract, will include the clause of the critical field as the friendship
The trading rules of easy Credential data.
Optionally, the computer executable instructions of storage medium storage are described according to when being executed by processor
Accounts payable data generate after transaction certificate data, further includes:
Generate the mark of the transaction certificate data;
It is described to be disposed in block chain according to the trading rules after intelligent contract, further includes:
Generate the Contract ID of the intelligent contract;
The mark of the transaction certificate data and the Contract ID are associated record, obtain associated record information.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the transaction request
Mark and transaction data including the transaction certificate data, it is described that the transaction request is carried out in advance based on the intelligent contract
Alert analysis, comprising:
According to the mark of the transaction certificate data, associated Contract ID is obtained in the associated record information;
Corresponding intelligent contract is called according to the Contract ID of acquisition, the number of deals is determined based on the intelligent contract of calling
According to whether meeting the trading rules of the transaction certificate data;
If so, executing corresponding transactional operation according to the transaction data, transaction record information is generated, by the transaction
It records information to be written in the block chain, and sends transaction successful information to the terminal device of the supplier user;
If it is not, then sending Fail Transaction information to the terminal device of the supplier user.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the generation transaction
Record information, comprising:
By the mark associated record of the transaction data and the transaction certificate data, and using the information of record as transaction
Record information.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, described in the generation
After the voucher identification of transaction certificate data, further includes:
The mark of the accounts payable data, the transaction certificate data and the transaction certificate data is associated with note
Record, and the information of record is written in the block chain.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the accounts payable
Data include the funds on account amount of money, the method also includes:
Receive the core enterprise user terminal device send by the supplier user to the funds on account amount of money pair
The whole funds on account or part funds on account answered carry out the operation time limit of transactional operation;And
When the core enterprise user pays the corresponding whole funds on account of the funds on account amount of money or portion to the supplier user
When dividing funds on account, the time of payment is recorded;
Timing is carried out by initial time of the time of payment, if reach the operation time limit, determines the supplier
User's whole funds on account not corresponding to the funds on account amount of money or part funds on account carry out transactional operation, then send prompt information to described
The terminal device of supplier user.
The computer executable instructions for the storage medium storage that this specification one or more embodiment provides are processed
When device executes, the accounts payable data that the terminal device of core enterprise user is sent are received, is generated and is handed over according to accounts payable data
Easy Credential data;The trading rules of transaction certificate data are obtained, and dispose intelligent contract in block chain according to trading rules;With
And in the transaction request based on transaction certificate data that the terminal device for receiving supplier user is sent, based on intelligent contract
Early warning analysis is carried out to transaction request.As it can be seen that by the embodiment in this specification, based on the intelligent contract disposed in block chain
Automatically early warning analysis is carried out to the transaction request that supplier user sends, realized to the effective of funds on account provided by core enterprise
Supervision avoids the generation for phenomena such as supplier user carries out illegal transaction using funds on account provided by core enterprise, promotes
The steady ordered of supply chain finance develops.
It should be noted that in the application about in the embodiment of storage medium and the application about the friendship based on block chain
Based on the same inventive concept, therefore the specific implementation of the embodiment may refer to aforementioned corresponding base to the embodiment of easy method for early warning
In the implementation of the transaction method for early warning of block chain, overlaps will not be repeated.
In the 1940s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group
Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.