CN110503435B - Transaction early warning method, device and equipment based on blockchain - Google Patents

Transaction early warning method, device and equipment based on blockchain Download PDF

Info

Publication number
CN110503435B
CN110503435B CN201910702196.1A CN201910702196A CN110503435B CN 110503435 B CN110503435 B CN 110503435B CN 201910702196 A CN201910702196 A CN 201910702196A CN 110503435 B CN110503435 B CN 110503435B
Authority
CN
China
Prior art keywords
transaction
data
user
blockchain
terminal equipment
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.)
Active
Application number
CN201910702196.1A
Other languages
Chinese (zh)
Other versions
CN110503435A (en
Inventor
罗梓源
柳林东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201910702196.1A priority Critical patent/CN110503435B/en
Publication of CN110503435A publication Critical patent/CN110503435A/en
Application granted granted Critical
Publication of CN110503435B publication Critical patent/CN110503435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4016Transaction verification involving fraud or risk level assessment in transaction processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/405Establishing or using transaction specific rules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

One or more embodiments of the present disclosure provide a transaction pre-warning method, device and equipment based on blockchain, where the method includes: the block chain link point receives accounts payable data sent by terminal equipment of a core enterprise user, and generates transaction credential data according to the accounts payable data; the block chain link points acquire transaction rules of transaction voucher data, and intelligent contracts are distributed in the block chain according to the transaction rules; and when the blockchain node receives a transaction request based on the transaction credential data sent by the terminal equipment of the provider user, performing early warning analysis on the transaction request based on the intelligent contract. According to the embodiment, the transaction request sent by the terminal equipment of the supplier user is automatically subjected to early warning analysis based on the intelligent contracts deployed in the blockchain, so that the account provided by the core enterprise is effectively monitored, the phenomenon that the supplier uses the account provided by the core enterprise to conduct illegal transactions and the like is avoided, and the stable and orderly development of the supply chain finance is promoted.

Description

Transaction early warning method, device and equipment based on blockchain
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a blockchain-based transaction early warning method, device and equipment.
Background
The supply chain finances, namely, a financial institution such as a bank connects a core enterprise with upstream and downstream suppliers to provide a financial model of financial products and services which are flexibly utilized. However, in the current supply chain financial mode, since the transaction condition of accounts provided by the core enterprise for the suppliers cannot be effectively monitored, after some suppliers receive the accounts provided by the core enterprise, illegal transactions are performed by using the accounts, and the stable and orderly development of the supply chain finance is affected.
Disclosure of Invention
An object of one or more embodiments of the present disclosure is to provide a transaction early warning method, apparatus and device based on a blockchain, which automatically performs early warning analysis on a transaction request sent by a supplier user based on an intelligent contract deployed in the blockchain, so as to effectively manage accounts provided by a core enterprise, avoid the occurrence of phenomena such as illegal transactions performed by the supplier user using accounts provided by the core enterprise, and promote stable and orderly development of supply chain finance.
To solve the above technical problems, one or more embodiments of the present specification are implemented as follows:
one or more embodiments of the present disclosure provide a transaction pre-warning method based on blockchain, including:
The block chain link point receives accounts payable data sent by terminal equipment of a core enterprise user;
the blockchain node generates transaction credential data according to the accounts payable data;
the block chain link point obtains a transaction rule of the transaction credential data, and an intelligent contract is deployed in a block chain according to the transaction rule;
and when the block link point receives a transaction request based on the transaction credential data sent by terminal equipment of a provider user, carrying out early warning analysis on the transaction request based on the intelligent contract.
One or more embodiments of the present specification provide a blockchain-based transaction pre-warning device, including:
the receiving module is used for receiving accounts payable data sent by the terminal equipment of the core enterprise user;
a first generation module that generates transaction credential data from the accounts payable data;
an acquisition module that acquires a transaction rule of the transaction credential data;
a deployment module that deploys a smart contract in a blockchain according to the transaction rules;
and the early warning module is used for carrying out early warning analysis on the transaction request based on the intelligent contract if receiving the transaction request based on the transaction credential data and sent by the terminal equipment of the provider user.
One or more embodiments of the present specification provide a blockchain-based transaction pre-warning device, comprising: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to implement the steps of the blockchain-based transaction pre-warning method described above.
One or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the steps of the blockchain-based transaction pre-warning method described above.
In one or more embodiments of the present disclosure, when a blockchain-based transaction early warning method, device, and equipment receive accounts payable data sent by a terminal device of a core enterprise user, a blockchain link point generates transaction credential data according to the accounts payable data; acquiring transaction rules of transaction voucher data, and deploying intelligent contracts in a blockchain according to the transaction rules; and when the block link point receives a transaction request based on the transaction credential data sent by the terminal equipment of the provider user, carrying out early warning analysis on the transaction request based on the intelligent contract. Therefore, through the embodiment in the specification, the transaction request sent by the supplier user is automatically subjected to early warning analysis based on the intelligent contracts deployed in the blockchain, so that the effective supervision of the account provided by the core enterprise is realized, the phenomenon that the supplier user uses the account provided by the core enterprise to conduct illegal transaction and the like is avoided, and the stable and orderly development of the supply chain finance is promoted.
Drawings
For a clearer description of one or more embodiments of the present description or of the solutions of the prior art, the drawings that are necessary for the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description that follow are only some of the embodiments described in the description, from which, for a person skilled in the art, other drawings can be obtained without inventive faculty.
FIG. 1 is a schematic diagram of a transaction pre-warning system based on blockchain provided in one or more embodiments of the present disclosure;
FIG. 2 is a schematic diagram of a first flow chart of a blockchain-based transaction pre-warning method according to one or more embodiments of the present disclosure;
FIG. 3 is a detailed view of step S102 provided by one or more embodiments of the present disclosure;
FIG. 4 is a detailed diagram illustrating the early warning analysis operation performed in step S108 according to one or more embodiments of the present disclosure;
FIG. 5 is a second flow diagram of a blockchain-based transaction pre-warning method according to one or more embodiments of the present disclosure;
FIG. 6 is a schematic diagram illustrating a module composition of a blockchain-based transaction pre-warning device according to one or more embodiments of the present disclosure;
Fig. 7 is a schematic structural diagram of a transaction pre-warning device based on a blockchain according to one or more embodiments of the present disclosure.
Detailed Description
In order to enable a person skilled in the art to better understand the technical solutions in one or more embodiments of the present specification, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the drawings in one or more embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one or more embodiments of the present disclosure without inventive faculty, are intended to be within the scope of the present application.
One or more embodiments of the present disclosure provide a blockchain-based transaction early warning method, device and equipment, which automatically perform early warning analysis on a transaction request sent by a terminal device of a supplier user based on a blockchain intelligent contract, so as to effectively monitor accounts provided by a core enterprise, avoid the occurrence of illegal transactions and other phenomena caused by the supplier user using the accounts provided by the core enterprise, and promote the stable and orderly development of supply chain finance.
Fig. 1 is a schematic diagram of an application scenario of a transaction early warning system based on blockchain according to one or more embodiments of the present disclosure, as shown in fig. 1, where the system includes: the system comprises a blockchain node, terminal equipment of a core enterprise user and terminal equipment of a provider user; the terminal equipment of the core enterprise user and the terminal equipment of the provider user can be mobile phones, tablet computers, desktop computers, portable notebook computers and the like, and the terminal equipment of the core enterprise user and the terminal equipment of the provider user are in communication connection with the block chain link points through wireless networks.
Specifically, the terminal device of the core enterprise user receives accounts payable data sent by the core enterprise user and sends the accounts payable data to the blockchain node; the accounts payable data comprises account amount, user information (such as name, enterprise name of the enterprise, contact information and the like) of the provider user, account opening bank information (such as agricultural bank) of the provider user, account information (such as card number of a bank card) of the account opening bank of the provider user, payment mode and the like;
the blockchain node is used for receiving accounts payable data sent by the terminal equipment of the core enterprise user, and sending the accounts payable data to the terminal equipment of the provider user according to the user information of the provider user included in the accounts payable data so as to enable the provider user to audit the accounts payable data; generating transaction credential data according to accounts payable data when receiving audit passing information sent by terminal equipment of a provider user; acquiring transaction rules of transaction credential data and deploying intelligent contracts in a blockchain according to the acquired transaction rules; when a transaction request based on transaction credential data sent by terminal equipment of a provider user is received, carrying out early warning analysis on the transaction request through a deployed intelligent contract;
The terminal equipment of the supplier user receives accounts payable data sent by the blockchain node, displays the accounts payable data so that the supplier user can conduct auditing, and sends the auditing passing information to the blockchain node when the auditing passing information sent by the supplier user is received; and when transaction data based on the transaction credential data sent by the provider user is received, generating a transaction request according to the received transaction data, and sending the transaction request to the blockchain node so that the blockchain node processes the transaction request. After receiving the account corresponding to the transaction credential data provided by the core enterprise user, the provider user can use the account to conduct transactions with other provider users, such as account transfer-out, transfer-in, financing and the like; correspondingly, the transaction data comprises the amount of the transaction account, the user information and the bank account information of the user of the transfer-out provider of the transaction account, the user information and the bank account information of the user of the transfer-in provider of the transaction account, and the like.
According to the transaction early warning system based on the blockchain, the intelligent contract is distributed in the blockchain according to the transaction rule by acquiring the transaction rule of the transaction credential data, so that the transaction request sent by the terminal equipment of the supplier user is automatically subjected to early warning analysis based on the intelligent contract, the account provided by the core enterprise is effectively monitored, the phenomenon that the supplier user utilizes the account provided by the core enterprise to conduct illegal transaction and the like is avoided, and the stable and orderly development of supply chain finance is promoted.
FIG. 2 is a flow diagram of a blockchain-based transaction pre-warning method provided by one or more embodiments of the present disclosure, where the method of FIG. 2 can be performed by the blockchain node of FIG. 1, as shown in FIG. 2, and the method includes the steps of:
step S102, block chain link points receive accounts payable data sent by terminal equipment of a core enterprise user;
step S104, the blockchain node generates transaction credential data according to the payable account data;
step S106, the block chain link points acquire transaction rules of the transaction voucher data, and intelligent contracts are deployed in the block chain according to the acquired transaction rules;
step S108, when the blockchain node receives a transaction request based on transaction credential data sent by terminal equipment of a provider user, early warning analysis is carried out on the transaction request based on the deployed intelligent contract.
In one or more embodiments of the present disclosure, early warning analysis is automatically performed on a transaction request sent by a terminal device of a supplier user based on an intelligent contract deployed in a blockchain, so that effective supervision of accounts provided by a core enterprise is achieved, illegal transactions and other phenomena performed by the supplier user using accounts provided by the core enterprise are avoided, and stable and orderly development of supply chain finance is promoted.
Since the accounts payable data includes the accounts amount and the related information of the suppliers, in order to ensure the accuracy of the transaction credential data generated based on the accounts payable data, in one or more embodiments of the present disclosure, as shown in fig. 3, step S102 includes:
step S102-2, the block link point transmits the accounts payable data to the terminal equipment of the corresponding provider user according to the user information of the provider user included in the accounts payable data, so that the provider user can audit the accounts payable data;
step S102-4, if the blockchain node receives the audit passing information sent by the terminal equipment of the provider user within the preset time, generating transaction credential data according to the accounts payable data.
Specifically, the block chain link point sends the received accounts payable data to terminal equipment of the provider user according to the contact information included in the user information of the provider user, judges whether audit passing information sent by the terminal equipment of the provider user is received within a preset time length, and generates transaction credential data according to the accounts payable data when the judgment result is yes; if the judgment result is negative, the blockchain node sends transaction failure information to the terminal equipment of the core enterprise user; the contact way is such as a mailbox, account information of a provider user on a financial platform of a supply chain and the like. Therefore, the accounts payable data is sent to the provider user for auditing, so that the risk of disputes caused by misoperation of generated transaction credential data due to misoperation of information included in the accounts payable data is reduced.
Typically, in order to clarify transaction matters between the core enterprise and the provider, such as account amounts, transaction rules, etc., the core enterprise and the provider will sign a transaction contract; further, in order to minimize the user operation and avoid unnecessary trouble caused by input errors when the user manually inputs information, in one or more embodiments of the present disclosure, step S104 further includes:
step A, a block chain link point receives an electronic contract sent by terminal equipment of a core enterprise user;
specifically, the core enterprise user operates the terminal equipment thereof, and uploads an electronic contract signed by the core enterprise and the provider or an electronic scanning piece of the signed paper contract, which is collectively referred to as an electronic contract in the specification; and the terminal equipment of the core enterprise user receives the electronic contract uploaded by the core enterprise user, and sends the received electronic contract to the blockchain node, and the blockchain node receives the electronic contract sent by the terminal equipment of the core enterprise user. It should be noted that the electronic contract may be signed by the core enterprise user and the vendor, or by other users specified by the core enterprise and other users specified by the vendor; it should be further noted that the core enterprise user may upload the electronic contract before or after the accounts payable data is submitted, or may submit the accounts payable data and upload the electronic contract at the same time; that is, the step a may be performed before the step S102, may be performed after the step S102, or may be performed simultaneously with the step S102.
Correspondingly, step S104 includes:
the blockchain node searches a preset key field in the received electronic contract, and takes the clauses comprising the key field as the transaction rules of the transaction credential data.
The key field can be set according to the needs in practical application, for example, the key field comprises a financing ratio, and the term of the financing ratio field in the electronic contract, namely, the term that the financing ratio is not greater than 50% of the account amount, is used as a transaction rule of the transaction credential data. The method comprises the steps that the clauses comprising preset key fields are obtained from the electronic contract sent by the terminal equipment of a core enterprise user, the obtained clauses are used as the transaction rules of transaction evidence data, and user operation is reduced on the basis of ensuring consistency of the transaction rules and contract agreements; and the validity of the intelligent contract deployed based on the transaction rule is ensured, and the accuracy and the validity of the early warning analysis result are further ensured.
Because accounts payable data sent by different core enterprise users are different, transaction rules agreed between different core enterprises and different suppliers are different, so that transaction credential data generated by blockchain nodes according to accounts payable data sent by terminal equipment of different core enterprise users are different, and intelligent contracts deployed according to the transaction rules of the transaction credential data are also different; in order to effectively differentiate the transaction credential data, effectively differentiate the smart contracts, and accurately identify the smart contracts corresponding to different transaction credential data, in one or more embodiments of the present disclosure, after step S104, the method further includes:
Step B, the block chain link point generates an identification of transaction credential data;
after step S106, the method further includes:
step C1, generating contract identification of an intelligent contract by block chain link points;
and C2, performing association record on the identification of the generated transaction certificate data and the contract identification by the block link point to obtain association record information.
Further, considering that the core enterprise user and the provider user may have a plurality of transaction credential data, in order for the core enterprise user and the provider user to distinguish and manage their respective transaction credential data, and query the transaction records of the transaction credential data, step B further includes: the block link point sends the generated transaction credential data to the terminal equipment of the core enterprise user and the terminal equipment of the provider user in correspondence with the identification of the transaction credential data.
The intelligent contract for early warning analysis is determined according to the identification of the transaction credential data and the associated record information when the transaction request based on the transaction credential data is received. Specifically, as shown in fig. 4, in step S108, early warning analysis is performed on the transaction request based on the smart contract, including:
Step S108-2, the block link point obtains an associated contract identification from the associated record information according to the identification of the transaction credential data included in the transaction request;
step S108-4, the blockchain node calls a corresponding intelligent contract according to the acquired contract identification, determines whether transaction data meets the transaction rule of the transaction credential data based on the called intelligent contract, if so, executes step S108-6, and if not, executes step S108-8;
step S108-6, the block link point executes corresponding transaction operation according to the transaction data included in the transaction request, generates transaction record information, writes the transaction record information into the block chain, and sends transaction success information to terminal equipment of a provider user;
specifically, the block link point executes corresponding transaction operation according to the transaction data included in the transaction request, records the transaction data in association with the identification of the transaction voucher data, takes the recorded information as transaction record information, writes the transaction record information into the block chain, and sends transaction success information to the terminal equipment of the provider user.
The transaction data includes, but is not limited to, the amount of the transaction account, user information and bank account information of the transfer-out provider user of the transaction account, user information and bank account information of the transfer-in provider user of the transaction account. As an example, when the transaction request is used for requesting an account transfer (such as a transfer out) operation, the account to be transferred is transferred out of a bank account corresponding to the bank account information of the transfer-out supplier user with an amount of the account to be transferred included in the transaction data, and transferred into the bank account corresponding to the bank account information of the transfer-in supplier user, and the identification of the transaction credential data, the amount of the account to be transferred, the transfer time of the account to be transferred, the identity information of the transfer-out supplier user, the bank account information, the identity information of the transfer-in supplier user, and the bank account information are associated and recorded, and the recorded information is used as transaction record information, the transaction record information is written into the blockchain, and the transaction success information is transmitted to the terminal device of the supplier user.
In step S108-8, the blockchain node sends transaction failure information to the terminal device of the provider user.
Therefore, the intelligent contract automatically performs early warning analysis on the transaction request sent by the terminal equipment of the provider user to determine whether the transaction data meets the transaction rule of the transaction credential data, so that the phenomena that the provider user performs illegal transaction by using account provided by a core enterprise are avoided, the effective supervision of the account provided by the core enterprise is realized, and the sustainable development of supply chain finance is promoted. Meanwhile, by writing transaction record information into the blockchain, the non-tamper property and the disclosure and the investigation property of transaction data are ensured, and a data basis is provided for inquiring the transaction of the accounts provided by the core enterprise user. Based on this, in one or more embodiments of the present description, the method further comprises:
step D1, a block link point receives a transaction inquiry request sent by terminal equipment of a core enterprise user, wherein the transaction inquiry request comprises identification of transaction credential data to be inquired;
step D2, the blockchain node acquires corresponding transaction record information from the blockchain according to the identification of the transaction credential data to be queried;
Specifically, the block link point matches the identification of the transaction credential data to be queried with the identification of the transaction credential data in the transaction record information stored in the block chain; if the matching is successful, the corresponding transaction record information is used as the transaction record information corresponding to the identification of the transaction credential data to be queried.
Step D3, the blockchain node generates a circulation path diagram of accounts corresponding to the identification of the transaction credential data to be queried according to the acquired transaction record information;
specifically, the blockchain node acquires the amount of the transaction account, the user information of the user of the provider from which the transaction account is transferred and the user information of the user of the provider from which the transaction account is transferred in the transaction record information; and generating a circulation path diagram of the accounts corresponding to the identification of the transaction credential data to be queried according to the amount of the transaction accounts, the user information of the transfer-out provider user of the transaction accounts and the user information of the transfer-in provider user.
And D4, the block chain link point sends the circulation path diagram to the terminal equipment of the core enterprise user so as to display the circulation path diagram on the terminal equipment of the core enterprise user.
The circulation path diagram of the accounts corresponding to the identification of the transaction credential data to be inquired is generated, and the circulation path diagram is sent to the terminal equipment of the core enterprise user, so that all circulation nodes of the corresponding accounts are clearly and clearly displayed to the core enterprise user, the core enterprise user does not need to manually comb the circulation process of the accounts, and the inquiring experience of the core enterprise user is improved.
In one or more embodiments of the present disclosure, in order to avoid that the accounts payable data is maliciously tampered with and inconsistent with the transaction credential data, after the step B, the method further includes: the accounts payable data, the transaction credential data, and the identity of the transaction credential data are recorded in association and the recorded information is written into the blockchain.
In practical application, some provider users exist, after accounts provided by core enterprise users are received, no transaction operation is performed on the accounts, so that the accounts cannot be played, and risks such as illegal fund collection exist; in one or more embodiments of the present disclosure, a core enterprise user may set an operation period for performing a transaction operation on all accounts or a part of accounts corresponding to an account amount provided by the core enterprise user by a provider user, and when the operation period is reached, remind the provider user if it is determined that the provider user does not perform the transaction operation on all or a part of accounts provided by the core enterprise user; specifically, the method further comprises the steps of:
step E1, receiving an operation period of transaction operation of all accounts or part of accounts corresponding to the accounts by a provider from terminal equipment of a core enterprise user by a block link point;
Step E2, when the core enterprise user pays all accounts or part of accounts corresponding to the account amount to the provider user, the blockchain node records the payment time;
and E3, the blockchain node counts the time by taking the payment time as the starting time, and if the operation period is reached, the blockchain node determines that the supplier user does not conduct transaction operation on all accounts or part of accounts corresponding to the account amount, and then sends prompt information to the terminal equipment of the supplier user.
Specifically, the blockchain node counts the time by taking the payment time as the starting time, when the operation period is reached, corresponding transaction record information is searched in the blockchain according to the identification of the transaction certificate data, if the corresponding transaction record information is searched, the fact that the provider user performs transaction operation on all accounts or part of accounts corresponding to the account amount in the operation period is determined, if the corresponding transaction record information is not searched, the fact that the provider user does not perform transaction operation on all accounts or part of accounts corresponding to the account amount in the operation period is determined, and prompt information is sent to terminal equipment of the corresponding provider user.
In a specific embodiment, taking the example that the block link point receives accounts payable data and an electronic contract sent by a terminal device of a core enterprise user at the same time, as shown in fig. 5, the method includes:
Step S202, block chain link points receive accounts payable data and electronic contracts sent by terminal equipment of core enterprise users;
step S204, the blockchain node sends the payable account data to the terminal equipment of the corresponding supplier user according to the user information of the supplier user included in the payable account data;
step S206, the block chain node judges whether the audit passing information sent by the terminal equipment of the supplier user is received within the preset time period, if yes, the step S208 is executed, otherwise, the transaction failure information is sent to the terminal equipment of the core enterprise user;
step S208, the blockchain node generates transaction credential data according to the payable account data and generates an identifier of the transaction credential data;
step S210, the block chain link correlates records of accounts payable data, transaction credential data and identifications of the transaction credential data, writes the recorded information into a block chain, and correspondingly sends the generated transaction credential data and identifications of the transaction credential data to terminal equipment of a core enterprise user and terminal equipment of a provider user;
step S212, the blockchain node searches a preset key field in the electronic contract, and takes the clauses comprising the key field as a transaction rule of transaction credential data;
Step S214, the block chain link points distribute intelligent contracts in the block chain according to transaction rules and generate contract identifications of the intelligent contracts;
step S216, the block link point carries out association record on the identification of the generated transaction certificate data and the contract identification to obtain association record information;
step S218, when the blockchain node receives a transaction request based on transaction credential data sent by terminal equipment of a provider user, acquiring a corresponding contract identifier from associated record information according to the identifier of the transaction credential data included in the transaction request;
step S220, the blockchain node calls a corresponding intelligent contract according to the acquired contract identification, determines whether transaction data included in the transaction request meets the transaction rule of the transaction credential data or not based on the intelligent contract, if yes, step S222 is executed, and otherwise, transaction failure information is sent to terminal equipment of a provider user;
step S222, the block link points execute corresponding transaction operations according to the transaction data, and carry out association record on the identification of the transaction data and the transaction voucher data, and the recorded information is used as transaction record information;
in step S224, the block link writes the transaction record information into the block chain, and generates transaction success information to the terminal device of the provider user.
The specific implementation process of step S202 to step S224 may refer to the foregoing related description, and the repetition is not repeated here.
In one or more embodiments of the present disclosure, when the block link point receives accounts payable data sent by a terminal device of a core enterprise user, transaction credential data is generated according to the accounts payable data; acquiring transaction rules of transaction voucher data, and deploying intelligent contracts in a blockchain according to the transaction rules; and when the block link point receives a transaction request based on the transaction credential data sent by the terminal equipment of the provider user, carrying out early warning analysis on the transaction request based on the intelligent contract. Therefore, through the embodiment of the specification, the transaction request sent by the terminal equipment of the supplier user is automatically subjected to early warning analysis based on the intelligent contract deployed in the blockchain, so that the effective supervision of the account provided by the core enterprise is realized, the phenomenon that the supplier user uses the account provided by the core enterprise to conduct illegal transaction and the like is avoided, and the stable and orderly development of the supply chain finance is promoted.
Corresponding to the transaction early warning method based on the blockchain described in the above fig. 2 to 5, one or more embodiments of the present disclosure further provide a transaction early warning device based on the blockchain based on the same technical concept. Fig. 6 is a schematic block diagram of a block chain-based transaction pre-warning device according to one or more embodiments of the present disclosure, where the device is configured to perform the block chain-based transaction pre-warning method described in fig. 2 to 5, and as shown in fig. 6, the device includes:
A receiving module 301 that receives accounts payable data transmitted from a terminal device of a core enterprise user;
a first generation module 302 that generates transaction credential data from accounts payable data;
an acquisition module 304 that acquires transaction rules for the transaction credential data;
a deployment module 305 that deploys smart contracts in the blockchain according to transaction rules;
and the early warning module 306 is used for carrying out early warning analysis on the transaction request based on the intelligent contract when receiving the transaction request based on the transaction credential data and sent by the terminal equipment of the provider user.
In one or more embodiments of the present disclosure, early warning analysis is automatically performed on a transaction request sent by a terminal device of a supplier user based on an intelligent contract deployed in a blockchain, so that effective supervision of accounts provided by a core enterprise is achieved, illegal transactions and other phenomena caused by the supplier user using the accounts provided by the core enterprise are avoided, and stable and orderly development of supply chain finance is promoted.
Optionally, the accounts payable data includes user information of the vendor user;
the first generating module 302 sends the accounts payable data to the terminal device of the corresponding provider user according to the user information of the provider user, so that the provider user can audit the accounts payable data; the method comprises the steps of,
And if the audit passing information sent by the terminal equipment of the provider user is received within the preset time, generating transaction credential data according to the accounts payable data.
Optionally, the receiving module 301 further receives an electronic contract sent by a terminal device of the core enterprise user before the obtaining module 303 obtains the transaction rule of the transaction credential data;
the obtaining module 303 searches a preset key field in the electronic contract, and uses terms including the key field as a transaction rule of the transaction credential data.
Optionally, the apparatus further comprises: a second generation module;
the second generation module generates an identification of the transaction credential data after the first generation module 302 generates the transaction credential data from accounts payable data; the method comprises the steps of,
after the deployment module 302 deploys the intelligent contract in the blockchain according to the transaction rule, a contract identifier of the intelligent contract is generated, and the identifier of the transaction credential data and the contract identifier are associated and recorded to obtain associated record information.
Optionally, the early warning module 306 obtains an associated contract identifier from the associated record information according to the identifier of the transaction credential data included in the transaction request; the method comprises the steps of,
Calling a corresponding intelligent contract according to the acquired contract identification, and determining whether the transaction data meets the transaction rule of the transaction evidence data or not based on the called intelligent contract;
if yes, corresponding transaction operation is executed according to the transaction data, transaction record information is generated, the transaction record information is written into the blockchain, and transaction success information is sent to terminal equipment of the provider user;
if not, sending transaction failure information to the terminal equipment of the provider user.
Optionally, the early warning module 306 records the transaction data in association with the identification of the transaction credential data, and uses the recorded information as transaction record information.
Optionally, the second generation module, after generating the identification of the transaction credential data, associates the accounts payable data, the transaction credential data, and the identification of the transaction credential data with a record and writes the recorded information into the blockchain.
Optionally, the accounts payable data includes an account amount, the apparatus further comprising: the device comprises a recording module, a timing module and a sending module;
the receiving module 301 further receives an operation period of performing a transaction operation on all accounts or part of accounts corresponding to the accounts by the provider user, which is sent by the terminal device of the core enterprise user;
The recording module is used for recording the payment time when the core enterprise user pays all accounts or part of accounts corresponding to the account amount to the provider user;
the timing module is used for timing by taking the payment time as the initial time;
and the sending module is used for sending prompt information to terminal equipment of the provider user if the fact that the provider user does not conduct transaction operation on all accounts or part of accounts corresponding to the account amount is determined when the timing reaches the operation period.
The transaction early warning device based on the blockchain provided by one or more embodiments of the present disclosure can receive accounts payable data sent by a terminal device of a core enterprise user, and generate transaction credential data according to the accounts payable data; acquiring transaction rules of transaction voucher data, and deploying intelligent contracts in a blockchain according to the transaction rules; and when receiving a transaction request based on the transaction credential data sent by the terminal equipment of the provider user, performing early warning analysis on the transaction request based on the intelligent contract. Therefore, through the embodiment of the specification, the transaction request sent by the terminal equipment of the supplier user is automatically subjected to early warning analysis based on the intelligent contract deployed in the blockchain, so that the effective supervision of the account provided by the core enterprise is realized, the phenomenon that the supplier user uses the account provided by the core enterprise to conduct illegal transaction and the like is avoided, and the stable and orderly development of the supply chain finance is promoted.
It should be noted that, the embodiment of the transaction early warning device based on the blockchain in the present application and the embodiment of the transaction early warning method based on the blockchain in the present application are based on the same inventive concept, so that the specific implementation of the embodiment can refer to the implementation of the corresponding transaction early warning method based on the blockchain, and the repetition is omitted.
Further, according to the method shown in fig. 2 to 5, based on the same technical concept, one or more embodiments of the present disclosure further provide a blockchain-based transaction pre-warning device, where the device is configured to perform the blockchain-based transaction pre-warning method described above, and fig. 7 is a schematic structural diagram of the blockchain-based transaction pre-warning device provided by one or more embodiments of the present disclosure.
As shown in FIG. 7, blockchain-based transaction pre-warning devices may vary widely in configuration or performance, and may include one or more processors 401 and memory 402, where the memory 402 may store one or more storage applications or data. Wherein the memory 402 may be transient storage or persistent storage. The application program stored in memory 402 may include one or more modules (not shown in the figures), each of which may include a series of computer executable instructions in a blockchain-based transaction early warning device. Still further, the processor 401 may be configured to communicate with the memory 402 to execute a series of computer executable instructions in the memory 402 on the blockchain-based transaction pre-warning device. The blockchain-based transaction pre-warning device may also include one or more power supplies 403, one or more wired or wireless network interfaces 404, one or more input/output interfaces 405, one or more keyboards 406, and the like.
In one particular embodiment, a blockchain-based transaction pre-warning device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the blockchain-based transaction pre-warning device, and configured to be executed by one or more processors, the one or more programs including computer-executable instructions for:
receiving accounts payable data sent by terminal equipment of a core enterprise user;
generating transaction credential data from the accounts payable data;
acquiring a transaction rule of the transaction voucher data, and deploying an intelligent contract in a blockchain according to the transaction rule;
and when a transaction request based on the transaction credential data sent by the terminal equipment of the provider user is received, carrying out early warning analysis on the transaction request based on the intelligent contract.
In one or more embodiments of the present disclosure, early warning analysis is automatically performed on a transaction request sent by a terminal device of a supplier user based on an intelligent contract deployed in a blockchain, so that effective supervision of accounts provided by a core enterprise is achieved, illegal transactions and other phenomena caused by the supplier user using the accounts provided by the core enterprise are avoided, and stable and orderly development of supply chain finance is promoted.
Optionally, the computer executable instructions, when executed, the accounts payable data comprising user information of the vendor user, the generating transaction credential data from the accounts payable data comprising:
according to the user information of the provider user, sending the accounts payable data to the terminal equipment of the corresponding provider user so that the provider user can audit the accounts payable data;
and if the audit passing information sent by the terminal equipment of the provider user is received within the preset time, generating transaction credential data according to the accounts payable data.
Optionally, the computer executable instructions, when executed, further comprise, prior to the obtaining the transaction rules of the transaction credential data:
receiving an electronic contract sent by terminal equipment of the core enterprise user;
the transaction rule for acquiring the transaction credential data comprises:
searching a preset key field in the electronic contract, and taking the clauses comprising the key field as the transaction rule of the transaction evidence data.
Optionally, the computer executable instructions, when executed, further comprise, after generating transaction credential data from the accounts payable data:
Generating an identification of the transaction credential data;
after the intelligent contract is deployed in the blockchain according to the transaction rule, the method further comprises:
generating a contract identification of the smart contract;
and carrying out association record on the identification of the transaction certificate data and the contract identification to obtain association record information.
Optionally, the transaction request, when executed, includes an identification of the transaction credential data and transaction data, the pre-alarm analysis of the transaction request based on the smart contract comprising:
acquiring an associated contract identification from the associated record information according to the identification of the transaction credential data;
calling a corresponding intelligent contract according to the acquired contract identification, and determining whether the transaction data meets the transaction rule of the transaction evidence data or not based on the called intelligent contract;
if yes, corresponding transaction operation is executed according to the transaction data, transaction record information is generated, the transaction record information is written into the blockchain, and transaction success information is sent to terminal equipment of the provider user;
if not, sending transaction failure information to the terminal equipment of the provider user.
Optionally, the computer executable instructions, when executed, generate transaction record information comprising:
and associating and recording the transaction data with the identification of the transaction credential data, and taking the recorded information as transaction record information.
Optionally, the computer executable instructions, when executed, further comprise, after said generating the identification of the transaction credential data:
record the accounts payable data, the transaction credential data, and an identification of the transaction credential data in association and write the recorded information into the blockchain.
Optionally, the computer executable instructions, when executed, the accounts payable data comprises an account amount, the method further comprising:
receiving an operation period of transaction operation of all accounts or part accounts corresponding to the accounts by the provider user, wherein the operation period is sent by the terminal equipment of the core enterprise user; the method comprises the steps of,
when the core enterprise user pays all accounts or part of accounts corresponding to the account amount to the provider user, recording payment time;
and taking the payment time as the starting time for timing, and if the operation period is reached, determining that the supplier user does not conduct transaction operation on all accounts or part accounts corresponding to the account amount, and sending prompt information to terminal equipment of the supplier user.
The transaction early warning device based on the blockchain provided by one or more embodiments of the present disclosure can generate transaction credential data according to accounts payable data when the accounts payable data sent by the terminal device of a core enterprise user is received; acquiring transaction rules of transaction voucher data, and deploying intelligent contracts in a blockchain according to the transaction rules; and when receiving a transaction request based on the transaction credential data sent by the terminal equipment of the provider user, performing early warning analysis on the transaction request based on the intelligent contract. Therefore, through the embodiment of the specification, the transaction request sent by the terminal equipment of the supplier user is automatically subjected to early warning analysis based on the intelligent contract deployed in the blockchain, so that the effective supervision of the account provided by the core enterprise is realized, the phenomenon that the supplier user uses the account provided by the core enterprise to conduct illegal transaction and the like is avoided, and the stable and orderly development of the supply chain finance is promoted.
It should be noted that, in the present specification, the embodiment of the transaction early warning device based on the blockchain is based on the same inventive concept as the embodiment of the transaction early warning method based on the blockchain in the present specification, so that the specific implementation of the embodiment may refer to the implementation of the corresponding transaction early warning method based on the blockchain, and the repetition is omitted.
Further, in accordance with the methods shown in fig. 2 to 5, based on the same technical concept, one or more embodiments of the present disclosure further provide a storage medium for storing computer executable instructions, where in a specific embodiment, the storage medium may be a U-disc, an optical disc, a hard disk, etc., and the computer executable instructions stored in the storage medium can implement the following flow when executed by a processor:
receiving accounts payable data sent by terminal equipment of a core enterprise user;
generating transaction credential data from the accounts payable data;
acquiring a transaction rule of the transaction voucher data, and deploying an intelligent contract in a blockchain according to the transaction rule;
and when a transaction request based on the transaction credential data sent by the terminal equipment of the provider user is received, carrying out early warning analysis on the transaction request based on the intelligent contract.
In one or more embodiments of the present disclosure, early warning analysis is automatically performed on a transaction request sent by a terminal device of a supplier user based on an intelligent contract deployed in a blockchain, so that effective supervision of accounts provided by a core enterprise is achieved, illegal transactions and other phenomena caused by the supplier user using the accounts provided by the core enterprise are avoided, and stable and orderly development of supply chain finance is promoted.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, the accounts payable data includes user information of the vendor user, the generating transaction credential data from the accounts payable data includes:
according to the user information of the provider user, sending the accounts payable data to the terminal equipment of the corresponding provider user so that the provider user can audit the accounts payable data;
and if the audit passing information sent by the terminal equipment of the provider user is received within the preset time, generating transaction credential data according to the accounts payable data.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, further comprise, prior to the obtaining the transaction rules of the transaction credential data:
receiving an electronic contract sent by terminal equipment of the core enterprise user;
the transaction rule for acquiring the transaction credential data comprises:
searching a preset key field in the electronic contract, and taking the clauses comprising the key field as the transaction rule of the transaction evidence data.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, further comprise, after generating transaction credential data from the accounts payable data:
Generating an identification of the transaction credential data;
after the intelligent contract is deployed in the blockchain according to the transaction rule, the method further comprises:
generating a contract identification of the smart contract;
and carrying out association record on the identification of the transaction certificate data and the contract identification to obtain association record information.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, the transaction request includes an identification of the transaction credential data and transaction data, the pre-warning analysis of the transaction request based on the smart contract includes:
acquiring an associated contract identification from the associated record information according to the identification of the transaction credential data;
calling a corresponding intelligent contract according to the acquired contract identification, and determining whether the transaction data meets the transaction rule of the transaction evidence data or not based on the called intelligent contract;
if yes, corresponding transaction operation is executed according to the transaction data, transaction record information is generated, the transaction record information is written into the blockchain, and transaction success information is sent to terminal equipment of the provider user;
if not, sending transaction failure information to the terminal equipment of the provider user.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, generate transaction record information comprising:
and associating and recording the transaction data with the identification of the transaction credential data, and taking the recorded information as transaction record information.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, further comprise, after generating the credential identification of the transaction credential data:
record the accounts payable data, the transaction credential data, and an identification of the transaction credential data in association and write the recorded information into the blockchain.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, the accounts payable data comprises an account amount, the method further comprising:
receiving an operation period of transaction operation of all accounts or part accounts corresponding to the accounts by the provider user, wherein the operation period is sent by the terminal equipment of the core enterprise user; the method comprises the steps of,
when the core enterprise user pays all accounts or part of accounts corresponding to the account amount to the provider user, recording payment time;
And taking the payment time as the starting time for timing, and if the operation period is reached, determining that the supplier user does not conduct transaction operation on all accounts or part accounts corresponding to the account amount, and sending prompt information to terminal equipment of the supplier user.
The storage medium stores computer-executable instructions that, when executed by the processor, receive accounts payable data sent by a terminal device of a core enterprise user, and generate transaction credential data based on the accounts payable data; acquiring transaction rules of transaction voucher data, and deploying intelligent contracts in a blockchain according to the transaction rules; and when receiving a transaction request based on the transaction credential data sent by the terminal equipment of the provider user, performing early warning analysis on the transaction request based on the intelligent contract. Therefore, through the embodiment in the specification, the transaction request sent by the supplier user is automatically subjected to early warning analysis based on the intelligent contracts deployed in the blockchain, so that the effective supervision of the account provided by the core enterprise is realized, the phenomenon that the supplier user uses the account provided by the core enterprise to conduct illegal transaction and the like is avoided, and the stable and orderly development of the supply chain finance is promoted.
It should be noted that, the embodiment of the present application related to the storage medium and the embodiment of the present application related to the transaction pre-warning method based on the blockchain are based on the same inventive concept, so that the specific implementation of the embodiment may refer to the implementation of the corresponding transaction pre-warning method based on the blockchain, and the repetition is omitted.
In the 40 s of the 20 th century, improvements to one technology could clearly be distinguished as hardware improvements (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable Gate Array, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by using "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before the compiling is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but not just one of the hdds, but a plurality of kinds, 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 Integrated Circuit Hardware Description Language) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers, and embedded microcontrollers, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (9)

1. A blockchain-based transaction pre-warning method, comprising:
the block chain link point receives accounts payable data sent by terminal equipment of a core enterprise user;
the blockchain node generates transaction credential data according to the accounts payable data;
the block chain link point obtains a transaction rule of the transaction credential data, and an intelligent contract is deployed in a block chain according to the transaction rule;
when the block link point receives a transaction request based on the transaction credential data sent by terminal equipment of a provider user, carrying out early warning analysis on the transaction request based on the intelligent contract;
The transaction rules are agreed by the core enterprise user and the vendor user;
before the block link point obtains the transaction rule of the transaction credential data, the method further comprises:
the block chain node receives an electronic contract sent by terminal equipment of the core enterprise user;
the block link point obtains the transaction rule of the transaction credential data, including:
the blockchain node searches a preset key field in the electronic contract, and takes the clauses comprising the key field as the transaction rule of the transaction evidence data;
after the blockchain node generates the transaction credential data according to the accounts payable data, the blockchain node further comprises:
the block link point generates an identification of the transaction credential data;
after the intelligent contract is deployed in the blockchain according to the transaction rule, the method further comprises:
the block chain link point generates a contract identification of the intelligent contract;
the block link point carries out association record on the identification of the transaction certificate data and the contract identification to obtain association record information;
the transaction request comprises identification of the transaction credential data and transaction data, and the early warning analysis of the transaction request based on the intelligent contract comprises the following steps:
The block link point obtains an associated contract identifier from the associated record information according to the identifier of the transaction credential data;
the blockchain node calls a corresponding intelligent contract according to the acquired contract identification, and determines whether the transaction data meets the transaction rule of the transaction credential data or not based on the called intelligent contract;
if yes, the block link point executes corresponding transaction operation according to the transaction data, generates transaction record information, writes the transaction record information into the block chain, and sends transaction success information to terminal equipment of the provider user;
if not, the blockchain node sends transaction failure information to the terminal equipment of the provider user.
2. The method of claim 1, the accounts payable data comprising user information of the vendor user, the blockchain node generating transaction credential data from the accounts payable data, comprising:
the blockchain node sends the accounts payable data to terminal equipment of a corresponding provider user according to the user information of the provider user so that the provider user can audit the accounts payable data;
And if the blockchain node receives the audit passing information sent by the terminal equipment of the provider user within the preset time, generating transaction credential data according to the accounts payable data.
3. The method of claim 1, the generating transaction record information comprising:
and associating and recording the transaction data with the identification of the transaction credential data, and taking the recorded information as transaction record information.
4. The method of claim 1, after the block link point generates the identification of the transaction credential data, further comprising:
record the accounts payable data, the transaction credential data, and an identification of the transaction credential data in association and write the recorded information into the blockchain.
5. The method of any of claims 1-4, the accounts payable data comprising an account amount, the method further comprising:
the blockchain node receives an operation period of transaction operation of all accounts or part of accounts corresponding to the account amount, which is sent by the terminal equipment of the core enterprise user, by the provider user; the method comprises the steps of,
when the core enterprise user pays all accounts or part of accounts corresponding to the account amount to the provider user, the blockchain node records the payment time;
And the blockchain node counts the time by taking the payment time as the starting time, and if the operation period is reached, the fact that the supplier user does not conduct transaction operation on all accounts or part accounts corresponding to the account amount is determined, and prompt information is sent to terminal equipment of the supplier user.
6. A blockchain-based transaction pre-warning device, comprising:
the receiving module is used for receiving accounts payable data sent by the terminal equipment of the core enterprise user;
a first generation module that generates transaction credential data from the accounts payable data;
an acquisition module that acquires a transaction rule of the transaction credential data;
a deployment module that deploys a smart contract in a blockchain according to the transaction rules;
the early warning module is used for carrying out early warning analysis on the transaction request based on the intelligent contract if the transaction request based on the transaction credential data and sent by the terminal equipment of the provider user is received;
the transaction rules are agreed by the core enterprise user and the vendor user;
the receiving module is used for receiving the electronic contract sent by the terminal equipment of the core enterprise user;
the acquisition module searches a preset key field in the electronic contract, and takes the clauses comprising the key field as the transaction rule of the transaction evidence data;
Further comprises: the system comprises a second generation module, a third generation module and an association module;
the second generation module generates an identification of the transaction credential data after the first generation module generates the transaction credential data according to the accounts payable data;
the third generation module is used for generating a contract identification of the intelligent contract after the intelligent contract is deployed in the blockchain by the deployment module according to the transaction rule;
the association module carries out association record on the identification of the transaction certificate data and the contract identification to obtain association record information;
the transaction request includes an identification of the transaction credential data and transaction data;
the early warning module acquires an associated contract identifier from the associated record information according to the identifier of the transaction credential data; the method comprises the steps of,
calling a corresponding intelligent contract according to the acquired contract identification, and determining whether the transaction data meets the transaction rule of the transaction evidence data or not based on the called intelligent contract;
if yes, corresponding transaction operation is executed according to the transaction data, transaction record information is generated, the transaction record information is written into the blockchain, and transaction success information is sent to terminal equipment of the provider user;
If not, sending transaction failure information to the terminal equipment of the provider user.
7. The apparatus of claim 6, the accounts payable data comprising user information of a vendor user;
the first generation module is used for sending the accounts payable data to terminal equipment of a corresponding provider user according to the user information of the provider user so as to enable the provider user to audit the accounts payable data; the method comprises the steps of,
and if the audit passing information sent by the terminal equipment of the provider user is received within the preset time, generating transaction credential data according to the accounts payable data.
8. A blockchain-based transaction pre-warning device, comprising: a processor; and a memory arranged to store computer executable instructions that when executed cause the processor to implement the steps of the blockchain-based transaction pre-warning method of any of the preceding claims 1 to 5.
9. A storage medium storing computer executable instructions which when executed implement the steps of the blockchain-based transaction pre-warning method of any of the preceding claims 1 to 5.
CN201910702196.1A 2019-07-31 2019-07-31 Transaction early warning method, device and equipment based on blockchain Active CN110503435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910702196.1A CN110503435B (en) 2019-07-31 2019-07-31 Transaction early warning method, device and equipment based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910702196.1A CN110503435B (en) 2019-07-31 2019-07-31 Transaction early warning method, device and equipment based on blockchain

Publications (2)

Publication Number Publication Date
CN110503435A CN110503435A (en) 2019-11-26
CN110503435B true CN110503435B (en) 2023-10-27

Family

ID=68586791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910702196.1A Active CN110503435B (en) 2019-07-31 2019-07-31 Transaction early warning method, device and equipment based on blockchain

Country Status (1)

Country Link
CN (1) CN110503435B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111401892A (en) * 2020-02-28 2020-07-10 佰融区块链(深圳)有限公司 Block chain-based user data security protection method, system and storage medium
CN113643030A (en) * 2020-03-03 2021-11-12 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment
CN111539712A (en) * 2020-05-18 2020-08-14 北京俩撇科技有限公司 Ordering and settling method and device based on block chain
CN112787808B (en) * 2020-12-31 2023-05-02 能链物流科技有限公司 Service data processing method and device for common management account
CN112686579A (en) * 2021-01-31 2021-04-20 重庆渝高科技产业(集团)股份有限公司 Early warning method and system for settlement control over approximate calculation of engineering project

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087190A (en) * 2018-06-08 2018-12-25 阿里巴巴集团控股有限公司 A kind of financing loan method and apparatus
CN109544152A (en) * 2018-10-12 2019-03-29 深圳壹账通智能科技有限公司 Supply chain method of payment, cashing method, device, equipment and medium based on block chain
CN110020948A (en) * 2019-01-03 2019-07-16 阿里巴巴集团控股有限公司 Assets source tracing method and device, electronic equipment based on block chain

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030182206A1 (en) * 2002-03-07 2003-09-25 Hendrix Thomas R. Accounts payable electronic processing
WO2018163044A1 (en) * 2017-03-05 2018-09-13 Tatchell Shona System and method for provision of supply chain financing of ethically verified product where there has been verification of production processes and products inspection using blockchain smart contracts
CN107730258A (en) * 2017-09-01 2018-02-23 上海点融信息科技有限责任公司 Method for processing resource, device and computer-readable recording medium based on block chain
CN108428122B (en) * 2018-02-08 2021-02-12 布比(北京)网络技术有限公司 Trade financing method and system on distributed account book
CN109872022A (en) * 2018-11-28 2019-06-11 阿里巴巴集团控股有限公司 Asset allocation method and device, electronic equipment
CN109615510B (en) * 2018-12-04 2024-01-16 国网辽宁省电力有限公司大连供电公司 Supply chain finance multistage letter increasing method based on block chain
CN109685648A (en) * 2018-12-28 2019-04-26 中国工商银行股份有限公司 Processing method, processing system and the supply chain financial platform of digital certificate
CN113409143A (en) * 2019-01-03 2021-09-17 创新先进技术有限公司 Asset transfer method and device based on block chain and electronic equipment
CN109767219B (en) * 2019-01-11 2021-06-29 深圳市链联科技有限公司 Receivables transfer method based on block chain technology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087190A (en) * 2018-06-08 2018-12-25 阿里巴巴集团控股有限公司 A kind of financing loan method and apparatus
CN109544152A (en) * 2018-10-12 2019-03-29 深圳壹账通智能科技有限公司 Supply chain method of payment, cashing method, device, equipment and medium based on block chain
CN110020948A (en) * 2019-01-03 2019-07-16 阿里巴巴集团控股有限公司 Assets source tracing method and device, electronic equipment based on block chain

Also Published As

Publication number Publication date
CN110503435A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN110503435B (en) Transaction early warning method, device and equipment based on blockchain
CN110472438B (en) Transaction data processing and transaction inquiring method, device and equipment based on blockchain
CN110648138B (en) Transaction query and transaction data processing method, device and equipment based on block chain
CN112241506B (en) User behavior backtracking method, device, equipment and system
CN106899666B (en) Data processing method and device for service identification
CN109615495B (en) Data reconciliation method, device, equipment and system
CN111461623B (en) Block chain-based warehouse bill creating method, device and equipment
CN112015739A (en) Data verification and data query method and device
CN111784468B (en) Account association method and device and electronic equipment
CN108830705B (en) Method, device and equipment for summarizing transaction data
CN109428900B (en) Data processing method and device
CN110782253B (en) Transaction processing method, device and equipment based on block chain
CN116011815A (en) Model training method and device, electronic equipment and storage medium
CN114638005A (en) Data processing method, device and system based on block chain and storage medium
CN110264213A (en) A kind of processing method of information, device and equipment
CN110992039B (en) Transaction processing method, device and equipment
CN110008252B (en) Data checking method and device
CN110689418B (en) Bill generation method and device
CN111967769B (en) Risk identification method, apparatus, device and medium
CN110502551A (en) Data read-write method, system and infrastructure component
CN111798235A (en) Method and device for storing wind control information
CN113327115B (en) Rental business processing method, device, equipment and system
CN116934338A (en) Risk identification method and risk identification device
CN111324778B (en) Data and service processing method and device and electronic equipment
CN116483797A (en) Collaborative generation method, device and equipment of data model

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40017588

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant