CN110472438B - Transaction data processing and transaction inquiring method, device and equipment based on blockchain - Google Patents

Transaction data processing and transaction inquiring method, device and equipment based on blockchain Download PDF

Info

Publication number
CN110472438B
CN110472438B CN201910702424.5A CN201910702424A CN110472438B CN 110472438 B CN110472438 B CN 110472438B CN 201910702424 A CN201910702424 A CN 201910702424A CN 110472438 B CN110472438 B CN 110472438B
Authority
CN
China
Prior art keywords
transaction
user
transfer
node
data
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
CN201910702424.5A
Other languages
Chinese (zh)
Other versions
CN110472438A (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 CN201910702424.5A priority Critical patent/CN110472438B/en
Publication of CN110472438A publication Critical patent/CN110472438A/en
Application granted granted Critical
Publication of CN110472438B publication Critical patent/CN110472438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6272Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database by registering files or documents with a third party
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

One or more embodiments of the present disclosure provide a method, an apparatus, and a device for processing and querying transaction data based on a blockchain, where the method for processing transaction data includes: the first block 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; when the first block link point receives a transaction request based on transaction credential data sent by a terminal device of a provider user, corresponding transaction operation is executed according to the transaction request, transaction record information is generated, and the transaction record information is written into a block chain. Through the embodiment, the transaction is carried out under the trusted environment of the blockchain, so that the authenticity and the effectiveness of the transaction are ensured; and transaction record information is written into the blockchain, so that the non-falsifiability and the public searchability of uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for transaction inquiry.

Description

Transaction data processing and transaction inquiring 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 data processing method, a blockchain-based transaction query device, and a blockchain-based transaction query device.
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. The current supply chain financial mode has non-transparency, risks of camera bellows operation, and transaction data between a core enterprise and a provider are stored by a centralized financial institution, so that data security problems such as data loss, data tampering and the like exist, and the data security problems further cause that the core enterprise cannot inquire accurate circulation information of accounts provided by the core enterprise.
Disclosure of Invention
The application provides a transaction data processing and inquiring method, device and equipment based on a blockchain, which ensure the authenticity and effectiveness of the transaction by carrying out the transaction in a trusted environment of the blockchain, write transaction record information into the blockchain, ensure the untampereability and public seekability of uplink data, effectively avoid the problems of data loss, data falsification and the like, and provide an effective data basis for inquiring the transaction.
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 specification provide a blockchain-based transaction data processing method, including:
the first block chain link point receives accounts payable data sent by terminal equipment of a core enterprise user;
the first block link point generates transaction credential data according to the accounts payable data;
when the first block link point receives a transaction request based on the transaction credential data sent by terminal equipment of a provider user, executing corresponding transaction operation according to the transaction request and generating transaction record information;
the first blockchain link point writes the transaction record information into a blockchain.
One or more embodiments of the present specification provide a blockchain-based transaction querying method, including:
the second blockchain node receives a transaction inquiry request sent by terminal equipment of a core enterprise user, wherein the transaction inquiry request comprises an identifier of transaction credential data to be inquired;
the second blockchain node acquires corresponding transaction record information from the blockchain according to the identification of the transaction credential data to be queried;
The second block link point generates a circulation path diagram of accounts corresponding to the transaction certificate data to be queried according to the transaction record information;
and the second block chain link point sends the circulation path diagram to the terminal equipment of the core enterprise user so that the terminal equipment of the core enterprise user displays the circulation path diagram.
One or more embodiments of the present specification provide a blockchain-based transaction data processing 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;
the transaction module is used for executing corresponding transaction operation according to the transaction request when receiving the transaction request based on the transaction credential data sent by the terminal equipment of the provider user;
a second generation module that generates transaction record information;
a write module that writes the transaction record information into a blockchain.
One or more embodiments of the present specification provide a blockchain-based transaction querying device, including:
the receiving module is used for receiving a transaction inquiry request sent by terminal equipment of a core enterprise user, wherein the transaction inquiry request comprises an identifier of transaction credential data to be inquired;
The acquisition module acquires corresponding transaction record information in a blockchain according to the identification of the transaction credential data to be queried;
the generation module is used for generating a circulation path diagram of accounts corresponding to the transaction credential data to be queried according to the transaction record information;
and the sending module is used for sending the circulation path diagram to the terminal equipment of the core enterprise user so as to enable the terminal equipment of the core enterprise user to display the circulation path diagram.
One or more embodiments of the present specification provide a blockchain-based transaction data processing device including: 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 method described above.
One or more embodiments of the present specification provide a blockchain-based transaction querying 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 querying 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 data processing method described above, or implement the steps of the blockchain-based transaction querying method described above.
According to the blockchain-based transaction data processing and transaction inquiring method, device and equipment provided by one or more embodiments of the present specification, when the first blockchain link point receives accounts payable data sent by the terminal equipment of the core enterprise user, transaction credential data are generated according to the accounts payable data; and when receiving a transaction request based on the transaction credential data sent by the terminal equipment of the provider user, executing corresponding transaction operation according to the transaction request, generating transaction record information and writing the transaction record information into the blockchain. Through the embodiment in the specification, the transaction is carried out under the trusted environment of the blockchain, so that the transaction process is transparent and multiparty, and the authenticity and the effectiveness of the transaction are ensured; and by writing transaction record information into the blockchain, the non-tampering and public traceability of uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for transaction inquiry.
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 scenario of a blockchain-based transaction data processing system provided in one or more embodiments of the present disclosure;
FIG. 2 is a first flow diagram of a blockchain-based transaction data processing method provided in 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 second flow diagram of a blockchain-based transaction data processing method provided in one or more embodiments of the present disclosure;
FIG. 5 is a third flow diagram of a blockchain-based transaction data processing method provided in one or more embodiments of the present disclosure;
FIG. 6 is a schematic diagram of a scenario of a blockchain-based transaction querying system provided in one or more embodiments of the present disclosure;
FIG. 7 is a flow diagram of a blockchain-based transaction querying method provided by one or more embodiments of the present disclosure;
FIG. 8 is a detailed view of step S304 provided by one or more embodiments of the present disclosure;
FIG. 9 is a detailed view of step S306 provided by one or more embodiments of the present disclosure;
FIG. 10 is a schematic diagram of a flow path diagram provided by one or more embodiments of the present disclosure;
FIG. 11 is a schematic diagram of a differential display flow path provided by one or more embodiments of the present disclosure;
FIG. 12 is a schematic diagram of a statement transfer query provided by one or more embodiments of the disclosure;
FIG. 13 is a schematic diagram of an account transfer query provided by one or more embodiments of the present disclosure;
FIG. 14 is a schematic diagram of a financing query provided by one or more embodiments of the present disclosure;
FIG. 15 is a schematic block diagram illustrating a block chain based transaction data processing device according to one or more embodiments of the present disclosure;
FIG. 16 is a schematic diagram illustrating a block chain based transaction querying device according to one or more embodiments of the present disclosure;
FIG. 17 is a schematic diagram of a blockchain-based transaction data processing device provided in accordance with one or more embodiments of the present disclosure;
Fig. 18 is a schematic structural diagram of a blockchain-based transaction querying device 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 method, an apparatus, and a device for processing and querying transaction data based on a blockchain, which ensure the authenticity and validity of the transaction by performing the transaction in a trusted environment of the blockchain, so that the transaction process is transparent and multiparty; and by storing the transaction record information into the blockchain, the non-tampering and public traceability of the uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for inquiring the transaction.
FIG. 1 is a schematic diagram of an application scenario of a blockchain-based transaction data processing system according to one or more embodiments of the present disclosure, as shown in FIG. 1, the system includes: the system comprises a first blockchain node, terminal equipment of a core enterprise user and terminal equipment of a provider user; the first blockchain node is a node in a blockchain, and the terminal equipment of the core enterprise user and the terminal equipment of the provider user can be a mobile phone, a tablet computer, a desktop computer, a portable notebook computer and the like, and the terminal equipment of the core enterprise user and the terminal equipment of the provider user are all in communication connection with the first blockchain node through a wireless network.
Specifically, a terminal device of a core enterprise user receives accounts payable data sent by the core enterprise user and sends the accounts payable data to a first 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 first blockchain node is used for receiving accounts payable data sent by terminal equipment of a core enterprise user, and sending the accounts payable data to the terminal equipment of a provider user according to 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; when a transaction request based on the transaction credential data sent by the terminal equipment of the provider user is received, corresponding transaction operation is executed according to the transaction request, transaction record information is generated, and the transaction record information is written into the blockchain;
the terminal equipment of the provider user receives the accounts payable data sent by the first blockchain node, displays the accounts payable data so that the provider user can conduct auditing, and sends the auditing passing information to the first blockchain node when the auditing passing information sent by the provider user is received, so that the first blockchain node generates transaction credential data according to the accounts payable data; and generating a transaction request according to the transaction data when the transaction data based on the transaction credential data sent by the provider user is received, and sending the transaction request to the first blockchain node. 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 data processing system based on the blockchain, the transaction data is processed in the trusted environment of the blockchain, so that the transaction process is transparent and multiparty, and the authenticity and the effectiveness of the transaction are ensured; and by writing transaction record information into the blockchain, the non-tampering and public traceability of uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for transaction inquiry.
Fig. 2 is a flowchart of a blockchain-based transaction data processing method according to one or more embodiments of the present disclosure, where the method of fig. 2 can be performed by the first blockchain link point of fig. 1, and as shown in fig. 2, the method includes the following steps:
step S102, a first block link point receives accounts payable data sent by terminal equipment of a core enterprise user;
step S104, the first blockchain node generates transaction credential data according to the payable account data;
step S106, when the first block link point receives a transaction request based on transaction credential data sent by a terminal device of a provider user, corresponding transaction operation is executed according to the transaction request, and transaction record information is generated;
In step S108, the first blockchain link writes transaction record information into the blockchain.
In one or more embodiments of the present disclosure, by conducting transactions in a trusted environment of a blockchain, the transaction process is made public, transparent and multiparty, ensuring the authenticity and validity of the transaction; and by writing transaction record information into the blockchain, the non-tampering and public traceability of uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for transaction inquiry.
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 first 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 first blockchain node receives the audit passing information sent by the terminal equipment of the provider user within the preset time period, transaction credential data is generated according to the accounts payable data.
Specifically, the first blockchain node 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 duration, and generates transaction credential data according to the accounts payable data when the judgment result is yes; if the judgment result is negative, sending transaction failure information to terminal equipment of a 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.
In one or more embodiments of the present disclosure, as shown in fig. 4, in step S106, a corresponding transaction operation is performed according to a transaction request, which includes:
Invoking an intelligent contract deployed in the blockchain, determining whether transaction data included in the transaction request meets a transaction rule of the transaction credential data based on the intelligent contract; and if the transaction data meets the transaction rule of the transaction credential data, executing corresponding transaction operation according to the transaction data.
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 the bank account corresponding to the bank account information of the transfer-out provider user and transferred into the bank account corresponding to the bank account information of the transfer-in provider user according to the amount of the account to be transferred included in the transaction data.
Further, if the transaction data does not meet the transaction rules of the transaction credential data, sending transaction failure information to the provider user.
Therefore, based on intelligent contracts in the blockchain, whether transaction data included in the transaction request meets the transaction rules of the transaction credential data is automatically determined, the phenomenon that a supplier user uses accounts provided by core enterprise users to conduct illegal transactions and the like is effectively avoided, and stable development of supply chain finance is promoted.
Further, in order to clarify transaction matters between the core enterprise and the provider, such as account amounts, transaction rules, etc., typically, the core enterprise and the provider will make a transaction contract; in order to ensure that the transaction rules satisfied by the transaction data determined based on the smart contract are consistent with the transaction rules agreed by the contract, in one or more embodiments of the present disclosure, as shown in fig. 4, before step S106, the method further includes:
step S105-2, the first block 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; 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 first block chain node, and the first block chain 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, step S105-2 may be performed before step S102, after step S102, or simultaneously with step S102.
Step S105-4, the first blockchain node acquires transaction rules of transaction credential data in the electronic contract and deploys an intelligent contract in the blockchain according to the acquired transaction rules;
specifically, the first blockchain node searches a preset key field in the 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 transaction rules are acquired in the electronic contracts sent by the terminal equipment of the core enterprise user, and the intelligent contracts are distributed in the blockchain according to the acquired transaction rules, so that the consistency of the intelligent contracts and the contract agreements is ensured, the user does not need to manually edit the transaction rules, the user operation is reduced, and the user experience is improved.
In practical application, because the accounts payable data sent by different core enterprise users are different, the transaction credential data generated by the first blockchain node according to the accounts payable data sent by different core enterprise users is different, so as to effectively distinguish the transaction credential data and enable the core enterprise users to conveniently query the circulation information of accounts provided by the core enterprise users, in one or more embodiments of the present disclosure, after step S102, the method further includes:
Step B1, a first block link point generates an identification of transaction credential data;
step B2, the first block link point sends the identification of the transaction credential data to the terminal equipment of the core enterprise user so that the core enterprise user inquires the circulation information of accounts corresponding to the transaction credential data according to the identification of the transaction credential data;
specifically, the first block link point sends the transaction credential data and the identification of the transaction credential data to the terminal equipment of the core enterprise user, so that the core enterprise user inquires the circulation information of accounts corresponding to the transaction credential data according to the identification of the transaction credential data; and sending the transaction credential data to a terminal device of the vendor user in correspondence with the identification of the transaction credential data to cause the vendor user to initiate a transaction request based on the transaction credential data.
Correspondingly, in step S106, transaction record information is generated, including:
and carrying out association record on the identification of the transaction credential data, the amount of the transaction account included in the transaction request, the user information of the user who withdraws the transaction account from the provider and the user information of the user who withdraws the transaction account from the provider, and taking the recorded information as transaction record information.
Further, in order to avoid that the accounts payable data is maliciously tampered and inconsistent with the transaction credential data, in one or more embodiments of the present disclosure, after step B1, 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.
Furthermore, since the transaction rules agreed between different core enterprises and different suppliers are different, the intelligent contracts deployed by the first blockchain node according to the different transaction rules are also different; in order to effectively differentiate the smart contracts and effectively identify the smart contracts corresponding to different transaction credential data, in one or more embodiments of the present disclosure, after step S105-4, the method further includes:
step C1, a first block chain link point generates a contract identification of an intelligent contract;
and C2, the first 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.
By associating and recording the generated identification of the transaction credential data with the contract identification, when a transaction request based on the transaction credential data is received, the intelligent contract to be invoked is determined according to the identification of the transaction credential data included in the transaction request and the obtained association record information. That is, in one or more embodiments of the present description, invoking the smart contract deployed in the blockchain in step A1 includes:
step D1, the first block link point acquires a corresponding contract identification from the associated record information according to the identification of the transaction credential data included in the transaction request;
And D2, the first blockchain node calls the intelligent contract corresponding to the acquired contract identification.
In a specific embodiment, taking the example that the first 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, a first block link point receives accounts payable data and an electronic contract sent by terminal equipment of a core enterprise user;
step S204, the first 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 first block chain node judges whether the audit passing information sent by the terminal equipment of the provider user is received within the preset time period, if yes, step S208 is executed, otherwise, transaction failure information is sent to the terminal equipment of the core enterprise user;
step S208, the first blockchain node generates transaction credential data according to the payable account data and generates an identifier of the transaction credential data;
step S210, the first block link correlates records of accounts payable data, transaction credential data and identifications of the transaction credential data, writes the recorded information into the block chain, and correspondingly sends the accounts payable data and the accounts payable data identifications to terminal equipment of a core enterprise user and terminal equipment of a provider user respectively;
Step S212, the first 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 first block chain link point deploys the intelligent contract in the block chain according to the transaction rule, and generates a contract identification of the intelligent contract;
step S216, the first block link point carries out association record on the identification of the generated transaction voucher data and the contract identification to obtain association record information;
step S218, when the first block link point receives a transaction request based on transaction credential data sent by a terminal device of a provider user, acquiring a corresponding contract identification from the associated record information according to an identification of the transaction credential data included in the transaction request;
step S220, the first 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 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 first block link point executes corresponding transaction operation according to the transaction data, and carries 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 first block link writes the transaction record information into the block chain, and sends the transaction success information to the terminal device of the provider user.
In one or more embodiments of the present disclosure, when the first 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; and when the first block link point receives a transaction request based on the transaction credential data sent by the terminal equipment of the provider user, executing corresponding transaction operation according to the transaction request, generating transaction record information and writing the transaction record information into the block chain. Therefore, according to the embodiment of the specification, the transaction is carried out under the trusted environment of the blockchain, so that the transaction process is transparent and visible in multiple parties, and the authenticity and the effectiveness of the transaction are ensured; and by writing transaction record information into the blockchain, the non-tampering and public traceability of uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for transaction inquiry.
Fig. 6 is a schematic application scenario diagram of a transaction query system based on blockchain according to one or more embodiments of the present disclosure, as shown in fig. 6, where the system includes: a second blockchain node and a terminal device of a core enterprise user; the second blockchain node is a node in the blockchain, and the second blockchain node and the first blockchain node can be the same blockchain node or different blockchain nodes; the terminal equipment of the core enterprise user can be a mobile phone, a tablet computer, a desktop computer, a portable notebook computer and the like, and is in communication connection with the second blockchain node through a wireless network;
Specifically, a terminal device of a core enterprise user receives an identifier of transaction credential data to be queried sent by the core enterprise user, generates a transaction query request according to the identifier of the transaction credential data to be queried, and sends the transaction query request to a second blockchain node; and receiving a circulation path diagram of accounts corresponding to the transaction certificate data to be queried, which is sent by the second blockchain node, and displaying the circulation path diagram;
the second blockchain node receives a transaction inquiry request sent by terminal equipment of a core enterprise user, and acquires corresponding transaction record information in a blockchain according to the identification of transaction credential data to be inquired included in the transaction inquiry request; and generating a circulation path diagram of accounts corresponding to the transaction certificate data to be queried according to the acquired transaction record information, and sending the circulation path diagram to the terminal equipment of the core enterprise user so that the terminal equipment of the core enterprise user displays the circulation path diagram.
According to the transaction inquiry system based on the blockchain, the transaction is effectively inquired based on the transaction record information stored in the blockchain, meanwhile, the circulation path diagram of accounts corresponding to the transaction certificate data to be inquired is generated, and the generated circulation path diagram is sent to the terminal equipment of the core enterprise user, so that the core enterprise user can clearly and clearly check all circulation information of the accounts corresponding to the transaction certificate data to be inquired, and the core enterprise user does not need to manually comb the circulation information of the accounts according to each transaction record information, so that the inquiry efficiency and the user experience are improved.
FIG. 7 is a flow diagram of a blockchain-based transaction querying method provided by one or more embodiments of the present disclosure, the method of FIG. 7 being executable by the second blockchain node of FIG. 6, as shown in FIG. 7, the method comprising the steps of:
step S302, a second block link point receives a transaction inquiry request sent by terminal equipment of an enterprise user, wherein the transaction inquiry request comprises an identification of transaction credential data to be inquired;
step S304, the second blockchain node acquires corresponding transaction record information from the blockchain according to the identification of the transaction credential data to be queried;
step S306, the second blockchain node generates a circulation path diagram of accounts corresponding to the transaction credential data to be queried according to the acquired transaction record information;
in step S308, the second block link point sends the generated circulation path diagram to the terminal device of the core enterprise user, so that the terminal device of the core enterprise user displays the circulation path diagram.
In one or more embodiments of the present disclosure, based on transaction record information stored in a blockchain, effective query of transactions is achieved, and meanwhile, by generating a circulation path diagram of accounts corresponding to transaction credential data to be queried and sending the generated circulation path diagram to terminal equipment of a core enterprise user, the core enterprise user can clearly and clearly view all circulation information of accounts corresponding to the transaction credential data to be queried, without manually carding the circulation information of accounts according to each transaction record information by the core enterprise user, so that query efficiency and user experience are improved.
In one or more embodiments of the present disclosure, as shown in fig. 8, step S304 includes:
step S304-2, the second block link point matches the identification of the transaction credential data to be queried with the identification of the transaction credential data contained in the transaction record information stored in the block chain;
step S304-4, if the matching is successful, the second block link points the corresponding transaction record information as the transaction record information corresponding to the identification of the transaction credential data to be queried.
Therefore, the core enterprise user can realize the inquiry of the corresponding transaction only by providing the identification of the transaction credential data to be inquired, and the core enterprise user does not need to provide excessive inquiry information, so that the convenience of transaction inquiry is improved.
Generally, the core enterprise user performs transaction inquiry mainly to inquire the transfer information of the transfer provided by the core enterprise user, such as the amount of the transaction account corresponding to each transfer node, the user information of the transfer provider user of the transaction account, and the user information of the transfer provider user in the transfer process, and based on this, in one or more embodiments of the present disclosure, as shown in fig. 9, step S306 includes:
step S306-2, the second blockchain node acquires the amount of the transaction account, the user information of the transfer-out provider user of the transaction account and the user information of the transfer-in provider user in the acquired transaction record information;
In step S306-4, the second blockchain node generates a circulation path diagram of the accounts corresponding to the transaction credential data to be queried according to the acquired 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.
The partial structure of the circulation path diagram can be seen in fig. 10, where the nodes where the core enterprise user and each supplier user are located are circulation nodes, that is, the circulation path diagram includes at least one circulation node, and the connected circulation nodes form an account circulation path, for example, the circulation nodes where the core enterprise user, the supplier user 1, the supplier user 3, and the supplier user 8 are located are one account circulation path, and in this embodiment, the account circulation path is denoted as "core enterprise user-supplier user 1-supplier user 3-supplier user 8".
Considering that most users have a habit when using a mouse, that is, the position of the cursor of the mouse is the current focused position of the user, in order to enable the core enterprise user to have better query experience, in one or more embodiments of the present disclosure, the method further includes:
If the second block chain link point detects that the cursor is positioned at the circulation node or detects the triggering operation of the core enterprise user on the circulation node;
and acquiring a corresponding account transfer path in the transfer path diagram by taking the transfer node where the cursor is positioned as an end point or taking the transfer node where the operation is triggered as an end point and taking the transfer node where the core enterprise user is positioned as a starting point, and distinguishing and displaying the acquired account transfer path.
The mode of distinguishing display, such as highlighting display, color change display, thickening display and the like, can be set according to the needs in practical application. As an example, as shown in fig. 11, when the second blockchain node detects that the cursor is located at the circulation node where the provider user 2 is located, the circulation node where the provider user 2 is located is taken as an end point, the node where the core enterprise user is located is taken as a start point, the corresponding account circulation path is obtained in the circulation path diagram as "core enterprise user-provider user 1-provider user 2", and the transfer circulation path is bolded and displayed. Therefore, the position of the cursor is detected, or the triggering operation of the core enterprise user on the circulation node is detected, and the corresponding account circulation paths are displayed in a distinguishing mode, so that the account circulation paths can be displayed to the core enterprise user more intuitively, and human-computer interaction experience is improved for the core enterprise user.
Further, since the core enterprise user generally performs a transfer-out operation on accounts corresponding to the transaction credential data to be queried, so as to provide accounts to the provider user, the provider user can use the accounts to perform a plurality of transaction operations such as transfer-out, transfer-in, financing and the like with other providers; in order to enable the core enterprise user to query the core enterprise user and the transaction information of each transaction operation performed by each provider user for accounts, in one or more embodiments of the present disclosure, each circulation node includes a transfer-out query control, and/or a transfer-in query control, and/or a financing query control, and the corresponding method further includes:
if the second block chain link point detects that the cursor is positioned in the out-of query control or detects the triggering operation of the out-of query control by the core enterprise user, taking the circulation node in which the cursor is positioned as an out-of node or taking the circulation node triggered to operate as an out-of node; determining a first-level receiving node for receiving the accounts transferred by the transfer-out node; displaying account transfer-out information of a transfer-out node, and distinguishing and displaying the transfer-out node and a primary receiving node;
if the second blockchain node detects that the cursor is positioned in the transfer-in query control or detects the triggering operation of the core enterprise user on the transfer-in query control, the transfer node in which the cursor is positioned is used as a transfer-in node or the transfer node subjected to the triggering operation is used as a transfer-in node; determining a first-stage transfer-out node of the account received by the transfer-in node; displaying account transfer information of the transfer node, and distinguishing and displaying the transfer node and the first-stage transfer node;
And if the second block link point detects that the cursor is positioned in the financing inquiry control or detects the triggering operation of the core enterprise on the financing inquiry control, displaying corresponding financing information.
The first-level receiving node is a node for directly receiving accounts transferred by a transferring node for the transferring node; the first-stage transfer-out node is a node for directly transferring accounts to a transfer-in node; the specific contents of the account transfer information, the account transfer information and the financing information can be set automatically according to the needs in practical application, for example, the account transfer information comprises transfer amount and the like, the account transfer information comprises transfer amount, transfer time and the like, and the financing information comprises financing amount, financing time and the like. As an example, referring to fig. 12, if the second block link point detects that the cursor is located on the forwarding query control of the forwarding node where the provider user 1 is located, the forwarding node where the provider user 1 is located is taken as the forwarding node, the forwarding nodes where the provider user 2 and the provider user 3 are located are taken as the primary receiving nodes, account forwarding information of the forwarding node where the provider user 1 is located is displayed, and the forwarding nodes where the provider user 1, the provider user 2 and the provider user 3 are located are bolded; referring to fig. 13, if the second block link point detects a trigger operation of the core enterprise user on the transfer inquiry control of the transfer node where the provider user 5 is located, the transfer node where the provider user 5 is located is taken as a transfer node, the transfer node where the provider 2 is located is taken as a first-level transfer node, account transfer information of the transfer node where the provider user 5 is located is displayed, and the transfer nodes where the provider 2 and the provider 5 are located are bolded; referring to fig. 14, if the second block link point detects that the cursor is located on the financing query control of the circulation node where the provider user 3 is located, financing information of the circulation node where the provider user 3 is located is displayed.
Therefore, the inquiry of transaction information of different transaction operations is realized, and the user information of two or more provider users directly carrying out transactions can be more intuitively seen by the core enterprise users through distinguishing and displaying the transfer-out node and the first-level receiving node and distinguishing and displaying the transfer-in node and the first-level transfer-out node; therefore, various transaction information is integrated through one graph, a circulation path graph of a plurality of accounts is not required to be generated according to transaction types or transaction amounts, or circulation information tables of the accounts are not required to be generated, so that the response rate of transaction inquiry requests is improved, core enterprise users do not need to switch among the circulation path graphs of the accounts or circulation information tables of the accounts, and the inquiry experience of the core enterprise users is greatly improved.
It should be noted that the flow path diagrams shown in fig. 10 to 14 are only for illustration and not for limitation, and the patterns of the flow path diagrams can be designed according to the needs in practical application.
In one or more embodiments of the present disclosure, when receiving a transaction inquiry request sent by a terminal device of a core enterprise user at a second block link point, where the transaction inquiry request includes an identifier of transaction credential data to be inquired; the second blockchain node obtains corresponding transaction record information in the blockchain according to the identification of the transaction credential data to be queried, generates a circulation path diagram of accounts corresponding to the transaction credential data to be queried according to the obtained transaction record information, and sends the circulation path diagram to the terminal equipment of the core enterprise user so that the terminal equipment of the core enterprise user can display the circulation path diagram. It can be seen that, through the embodiment of the present disclosure, based on the transaction record information in the blockchain, the effective query of the transaction is realized, and meanwhile, by generating the circulation path diagram of the accounts corresponding to the transaction credential data to be queried, and sending the generated circulation path diagram to the terminal device of the core enterprise user, the core enterprise user can clearly and clearly view all circulation information of the accounts corresponding to the transaction credential data to be queried, without manually carding the circulation information of the accounts according to each transaction record information by the core enterprise user, thereby improving query efficiency and user experience.
Corresponding to the blockchain-based transaction data processing method described in fig. 2 to 5, one or more embodiments of the present disclosure further provide a blockchain-based transaction data processing device based on the same technical concept. FIG. 15 is a schematic block diagram illustrating a block chain based transaction data processing apparatus for performing the block chain based transaction data processing method depicted in FIGS. 2-5, as shown in FIG. 15, according to one or more embodiments of the present disclosure, the apparatus comprising:
a receiving module 401 that receives accounts payable data transmitted from a terminal device of a core enterprise user;
a first generation module 402 that generates transaction credential data from the accounts payable data;
a transaction module 403, which executes corresponding transaction operation according to the transaction request when receiving the transaction request based on the transaction credential data sent by the terminal device of the provider user;
a second generation module 404 that generates transaction record information;
a write module 405 that writes the transaction record information into a blockchain.
In one or more embodiments of the present disclosure, by conducting transactions in a trusted environment of a blockchain, the transaction process is made public, transparent and multiparty, ensuring the authenticity and validity of the transaction; and by writing transaction record information into the blockchain, the non-tampering and public traceability of uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for transaction inquiry.
Optionally, the accounts payable data includes user information of the provider user;
the first generating module 402 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 transaction module 403 invokes an intelligent contract deployed in a blockchain, and determines, based on the intelligent contract, whether transaction data included in the transaction request meets a transaction rule of the transaction credential data; and if the transaction data meets the transaction rule of the transaction evidence data, executing corresponding transaction operation according to the transaction data.
Optionally, the transaction request includes an amount of a transaction account, user information of a transfer-out provider user of the transaction account and user information of a transfer-in provider user; the apparatus further comprises: a transmitting module;
the first generation module 402 generates the identification of the transaction credential data after generating the transaction credential data from the accounts payable data;
The sending module is used for sending the identification of the transaction credential data to the terminal equipment of the core enterprise user so that the core enterprise user can inquire the transaction information of accounts corresponding to the transaction credential data according to the identification of the transaction credential data;
the second generating module 404 performs association recording on the identification of the transaction credential data, the amount of the transaction account, the user information of the user who transfers the transaction account out of the provider, and the user information of the user who transfers the transaction account into the provider, and takes the recorded information as transaction record information.
Optionally, the writing module 405, after the first generating module 402 generates the identifier of the transaction credential data, further performs association recording on the accounts payable data, the transaction credential data, and the identifier of the transaction credential data, and writes the recorded information into the blockchain.
The blockchain-based transaction data processing device provided by one or more embodiments of the present disclosure is capable of receiving accounts payable data sent by a terminal device of a core enterprise user, and generating transaction credential data according to the accounts payable data; and when receiving a transaction request based on the transaction credential data sent by the terminal equipment of the provider user, executing corresponding transaction operation according to the transaction request, generating transaction record information and writing the transaction record information into the blockchain. It can be seen that, through the embodiments in the present specification, the transaction process is made transparent and multiparty visible by conducting the transaction under the trusted environment of the blockchain, so that the authenticity and effectiveness of the transaction are ensured; and by writing transaction record information into the blockchain, the non-tampering and public traceability of uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for transaction inquiry.
It should be noted that, the embodiment of the blockchain-based transaction data processing device in the present application and the embodiment of the blockchain-based transaction data processing method in the present application are based on the same inventive concept, so that the specific implementation of the embodiment may refer to the implementation of the corresponding blockchain-based transaction data processing method, and the repetition is omitted.
Further, corresponding to the blockchain-based transaction query method described in fig. 7 to 9, one or more embodiments of the present disclosure further provide a blockchain-based transaction query device based on the same technical concept. FIG. 16 is a schematic block diagram illustrating a block chain based transaction query device for performing the block chain based transaction query method described in FIGS. 7-9, according to one or more embodiments of the present disclosure, as shown in FIG. 16, the device comprising:
a receiving module 501, which receives a transaction inquiry request sent by a terminal device of a core enterprise user, wherein the transaction inquiry request includes an identifier of transaction credential data to be inquired;
the obtaining module 502 obtains corresponding transaction record information in a blockchain according to the identification of the transaction credential data to be queried;
A generating module 503, configured to generate a circulation path diagram of accounts corresponding to the transaction credential data to be queried according to the transaction record information;
and the sending module 504 is used for sending the circulation path diagram to the terminal equipment of the core enterprise user so as to enable the terminal equipment of the core enterprise user to display the circulation path diagram.
In one or more embodiments of the present disclosure, based on transaction record information stored in a blockchain, effective query of transactions is achieved, and meanwhile, by generating a circulation path diagram of accounts corresponding to transaction credential data to be queried and sending the generated circulation path diagram to terminal equipment of a core enterprise user, the core enterprise user can clearly and clearly view all circulation information of accounts corresponding to the transaction credential data to be queried, without manually carding the circulation information of accounts according to each transaction record information by the core enterprise user, so that query efficiency and user experience are improved.
Optionally, the obtaining module 502 matches the identifier of the transaction credential data to be queried with the identifier of the transaction credential data contained in the transaction record information stored in the blockchain; 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.
Optionally, the generating module 503 obtains the amount of the transaction account, the user information of the user who transfers the transaction account out of the provider, and the user information of the user who transfers the transaction account into the provider from the transaction record information; the method comprises the steps of,
and generating a circulation path diagram of the account to be queried according to the amount of the transaction account, the user information of the user of the transferring-out provider of the transaction account and the user information of the user of the transferring-in provider.
Optionally, the circulation path graph includes at least one circulation node, and the apparatus further includes: a first detection module;
and if the first detection module detects that the cursor is positioned at the circulation node or detects the triggering operation of the core enterprise user on the circulation node, the first detection module takes the circulation node at which the cursor is positioned as an end point or takes the circulation node triggered to operate as an end point, takes the circulation node at which the core enterprise user is positioned as a starting point, acquires a corresponding account circulation path in the circulation path diagram, and displays the account circulation path in a distinguishing way.
Optionally, the circulation path graph includes at least one circulation node, each circulation node includes a turn-out query control, and/or a turn-in query control, and/or a financing query control, and the apparatus further includes: a second detection module;
The second detection module takes a circulation node where the cursor is located as a turning-out node or takes a circulation node which is triggered to operate as a turning-out node if the cursor is detected to be located in the turning-out query control or the triggering operation of the core enterprise user on the turning-out query control is detected; determining a first-level receiving node for receiving the accounts transferred by the transfer-out node; displaying account transfer-out information of the transfer-out node, and distinguishing and displaying the transfer-out node and the primary receiving node; the method comprises the steps of,
if the cursor is detected to be positioned in the transfer-in query control or the triggering operation of the core enterprise user on the transfer-in query control is detected, taking the transfer node in which the cursor is positioned as a transfer-in node or taking the transfer node subjected to the triggering operation as a transfer-in node; determining a first-stage transfer-out node of the accounts received by the transfer-in node; displaying account transfer information of the transfer-in node, and distinguishing and displaying the transfer-in node and the first-level transfer-out node; the method comprises the steps of,
and if the cursor is detected to be positioned in the financing inquiry control or the triggering operation of the core enterprise user on the financing inquiry control is detected, displaying corresponding financing information.
The transaction inquiry device based on the blockchain in one or more embodiments of the present disclosure can receive a transaction inquiry request sent by a terminal device of a core enterprise user, where the transaction inquiry request includes an identifier of transaction credential data to be inquired; obtaining corresponding transaction record information in a blockchain according to the identification of the transaction credential data to be queried, and generating a circulation path diagram of accounts corresponding to the transaction credential data to be queried according to the obtained transaction record information; and sending the circulation path diagram to the terminal equipment of the core enterprise user so that the terminal equipment of the core enterprise user can display the circulation path diagram. It can be seen that, in the embodiment of the present disclosure, based on the transaction record information in the blockchain, the effective query of the transaction is achieved, and meanwhile, by generating the circulation path diagram of the accounts corresponding to the transaction credential data to be queried and sending the generated circulation path diagram to the terminal device of the core enterprise user, the core enterprise user can clearly and clearly view all circulation information of the accounts corresponding to the transaction credential data to be queried, without manually carding the circulation information of the accounts according to each transaction record information by the core enterprise user, thereby improving query efficiency and user experience.
It should be noted that, the embodiment of the blockchain-based transaction inquiry device in the present application and the embodiment of the blockchain-based transaction inquiry method in the present application are based on the same inventive concept, so that the specific implementation of the embodiment may refer to the implementation of the corresponding blockchain-based transaction inquiry method, 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 data processing device, where the device is configured to perform the blockchain-based transaction data processing method, and fig. 17 is a schematic structural diagram of the blockchain-based transaction data processing device provided by the one or more embodiments of the present disclosure.
As shown in FIG. 17, blockchain-based transaction data processing devices may vary widely in configuration or performance, and may include one or more processors 601 and memory 602, where the memory 602 may store one or more storage applications or data. Wherein the memory 602 may be transient storage or persistent storage. The application programs stored in the memory 602 may include one or more modules (not shown) each of which may include a series of computer executable instructions in a blockchain-based transaction data processing device. Still further, the processor 601 may be arranged to communicate with the memory 602 to execute a series of computer executable instructions in the memory 602 on a blockchain-based transaction data processing device. The blockchain-based transaction data processing device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input/output interfaces 605, one or more keyboards 606, and the like.
In one particular embodiment, a blockchain-based transaction data processing 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 use in the blockchain-based transaction data processing 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;
when a transaction request based on the transaction credential data sent by a terminal device of a provider user is received, executing corresponding transaction operation according to the transaction request, and generating transaction record information;
writing the transaction record information into a blockchain.
In one or more embodiments of the present disclosure, by conducting transactions in a trusted environment of a blockchain, the transaction process is made public, transparent and multiparty, ensuring the authenticity and validity of the transaction; and by writing transaction record information into the blockchain, the non-tampering and public traceability of uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for transaction inquiry.
Optionally, the computer executable instructions, when executed, the accounts payable data comprising user information of a 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, perform corresponding transaction operations according to the transaction request, including:
invoking an intelligent contract deployed in a blockchain, determining whether transaction data included in the transaction request meets a transaction rule of the transaction credential data based on the intelligent contract;
and if the transaction data meets the transaction rule of the transaction evidence data, executing corresponding transaction operation according to the transaction data.
Optionally, the computer executable instructions, when executed, the transaction request includes an amount of a transaction account, user information of the transfer-out provider user and user information of the transfer-in provider user of the transaction account;
After generating the transaction credential data according to the accounts payable data, the method further comprises:
generating an identification of the transaction credential data;
sending the identification of the transaction credential data to the terminal equipment of the core enterprise user so that the core enterprise user inquires the circulation information of accounts corresponding to the transaction credential data according to the identification of the transaction credential data;
the generating transaction record information includes:
and carrying out association record on the identification of the transaction credential data, the amount of the transaction account, the user information of the user of the provider for transferring the transaction account and the user information of the user of the provider for transferring the transaction account, 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:
and carrying out association record on the accounts payable data, the transaction credential data and the identification of the transaction credential data, and writing the recorded information into the blockchain.
The blockchain-based transaction data processing device provided by one or more embodiments of the present disclosure is capable of receiving accounts payable data sent by a terminal device of a core enterprise user, and generating transaction credential data according to the accounts payable data; and when receiving a transaction request based on the transaction credential data sent by the terminal equipment of the provider user, executing corresponding transaction operation according to the transaction request, generating transaction record information and writing the transaction record information into the blockchain. It can be seen that, through the embodiments in the present specification, the transaction process is made transparent and multiparty visible by conducting the transaction under the trusted environment of the blockchain, so that the authenticity and effectiveness of the transaction are ensured; and by writing transaction record information into the blockchain, the non-tampering and public traceability of uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for transaction inquiry.
It should be noted that, in this specification, the embodiments of the blockchain-based transaction data processing device and the embodiments of the blockchain-based transaction data processing method in this specification are based on the same inventive concept, so that the specific implementation of this embodiment may refer to the implementation of the corresponding blockchain-based transaction data processing method, and the repetition is omitted.
Further, according to the method shown in fig. 7 to fig. 9, based on the same technical concept, one or more embodiments of the present disclosure further provide a blockchain-based transaction querying device, where the device is configured to perform the blockchain-based transaction querying method described above, and fig. 18 is a schematic structural diagram of the blockchain-based transaction querying device provided by one or more embodiments of the present disclosure.
As shown in FIG. 18, blockchain-based transaction querying devices may vary widely in configuration or performance, may include one or more processors 701 and memory 702, and may have one or more storage applications or data stored in memory 702. Wherein the memory 702 may be transient storage or persistent storage. The application programs stored in the memory 702 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 querying device. Still further, the processor 701 may be configured to communicate with the memory 702 and execute a series of computer executable instructions in the memory 702 on a blockchain-based transaction querying device. The blockchain-based transaction querying device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input/output interfaces 705, one or more keyboards 706, and the like.
In one particular embodiment, a blockchain-based transaction querying 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 querying device, and configured to be executed by the one or more processors, the one or more programs including computer-executable instructions for:
receiving 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;
acquiring corresponding transaction record information in a blockchain according to the identification of the transaction credential data to be queried;
generating a circulation path diagram of accounts corresponding to the transaction certificate data to be queried according to the transaction record information;
and sending the circulation path diagram to the terminal equipment of the core enterprise user so that the terminal equipment of the core enterprise user displays the circulation path diagram.
In one or more embodiments of the present disclosure, based on transaction record information stored in a blockchain, effective query of transactions is achieved, and meanwhile, by generating a circulation path diagram of accounts corresponding to transaction credential data to be queried and sending the generated circulation path diagram to terminal equipment of a core enterprise user, the core enterprise user can clearly and clearly view all circulation information of accounts corresponding to the transaction credential data to be queried, without manually carding the circulation information of accounts according to each transaction record information by the core enterprise user, so that query efficiency and user experience are improved.
Optionally, when executed, the computer executable instructions acquire corresponding transaction record information in a blockchain according to the identification of the transaction credential data to be queried, including:
matching the identification of the transaction credential data to be queried with the identification of the transaction credential data contained in the transaction record information stored in the blockchain;
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.
Optionally, when the computer executable instructions are executed, the generating a circulation path diagram of accounts corresponding to the transaction credential data to be queried according to the transaction record information includes:
Acquiring the amount of transaction accounts, the user information of the user of the transfer-out provider of the transaction accounts and the user information of the user of the transfer-in provider from the transaction record information;
and generating a circulation path diagram of the accounts corresponding to the transaction credential data to be queried according to the amount of the transaction accounts, the user information of the user of the transferring-out provider of the transaction accounts and the user information of the user of the transferring-in provider.
Optionally, the flow path graph, when executed, includes at least one flow node, the method further comprising:
if the cursor is detected to be positioned at the circulation node or the triggering operation of the core enterprise user on the circulation node is detected;
and taking the circulation node where the cursor is positioned as an end point or taking the circulation node which is triggered to operate as an end point, taking the circulation node where the core enterprise user is positioned as a starting point, acquiring a corresponding account circulation path from the circulation path diagram, and displaying the account circulation path in a distinguishing way.
Optionally, the flow path graph, when executed, includes at least one flow node, each flow node including a roll-out query control, and/or a roll-in query control, and/or a financing query control, the method further comprising:
If the cursor is detected to be positioned in the out-of query control or the triggering operation of the core enterprise user on the out-of query control is detected, taking the circulation node in which the cursor is positioned as an out-of node or taking the circulation node subjected to the triggering operation as an out-of node; determining a first-level receiving node for receiving the accounts transferred by the transfer-out node; displaying account transfer-out information of the transfer-out node, and distinguishing and displaying the transfer-out node and the primary receiving node;
if the cursor is detected to be positioned in the transfer-in query control or the triggering operation of the core enterprise user on the transfer-in query control is detected, taking the transfer node in which the cursor is positioned as a transfer-in node or taking the transfer node subjected to the triggering operation as a transfer-in node; determining a first-stage transfer-out node of the accounts received by the transfer-in node; displaying account transfer information of the transfer-in node, and distinguishing and displaying the transfer-in node and the first-level transfer-out node;
and if the cursor is detected to be positioned in the financing inquiry control or the triggering operation of the core enterprise on the financing inquiry control is detected, displaying corresponding financing information.
The transaction inquiry equipment based on the blockchain in one or more embodiments of the present disclosure can receive a transaction inquiry request sent by a terminal device of a core enterprise user, where the transaction inquiry request includes an identifier of transaction credential data to be inquired; obtaining corresponding transaction record information in a blockchain according to the identification of the transaction credential data to be queried, and generating a circulation path diagram of accounts corresponding to the transaction credential data to be queried according to the obtained transaction record information; and sending the circulation path diagram to the core enterprise user so that terminal equipment of the core enterprise user can display the circulation path diagram. It can be seen that, in the embodiment of the present disclosure, based on the transaction record information in the blockchain, the effective query of the transaction is achieved, and meanwhile, by generating the circulation path diagram of the accounts corresponding to the transaction credential data to be queried and sending the generated circulation path diagram to the terminal device of the core enterprise user, the core enterprise user can clearly and clearly view all circulation information of the accounts corresponding to the transaction credential data to be queried, without manually carding the circulation information of the accounts according to each transaction record information by the core enterprise user, thereby improving query efficiency and user experience.
It should be noted that, in the present specification, the embodiment of the transaction query device based on the blockchain is based on the same inventive concept as the embodiment of the transaction query method based on the blockchain in the present specification, so that the specific implementation of this embodiment may refer to the implementation of the corresponding transaction query 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;
when a transaction request based on the transaction credential data sent by a terminal device of a provider user is received, executing corresponding transaction operation according to the transaction request, and generating transaction record information;
writing the transaction record information into a blockchain.
In one or more embodiments of the present disclosure, by conducting transactions in a trusted environment of a blockchain, the transaction process is made public, transparent and multiparty, ensuring the authenticity and validity of the transaction; and by writing transaction record information into the blockchain, the non-tampering and public traceability of uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for transaction inquiry.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, the accounts payable data includes user information of a 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 storage medium stores computer executable instructions that, when executed by the processor, perform corresponding transaction operations according to the transaction request, including:
Invoking an intelligent contract deployed in a blockchain, determining whether transaction data included in the transaction request meets a transaction rule of the transaction credential data based on the intelligent contract;
and if the transaction data meets the transaction rule of the transaction evidence data, executing corresponding transaction operation according to the transaction data.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, the transaction request includes an amount of a transaction account, user information of a roll-out provider user and user information of a roll-in provider user of the transaction account;
after generating the transaction credential data according to the accounts payable data, the method further comprises:
generating an identification of the transaction credential data;
sending the identification of the transaction credential data to the terminal equipment of the core enterprise user so that the core enterprise user inquires the circulation information of accounts corresponding to the transaction credential data according to the identification of the transaction credential data;
the generating transaction record information includes:
and carrying out association record on the identification of the transaction credential data, the amount of the transaction account, the user information of the user of the provider for transferring the transaction account and the user information of the user of the provider for transferring the transaction account, 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 said generating the identification of the transaction credential data:
and carrying out association record on the accounts payable data, the transaction credential data and the identification of the transaction credential data, and writing the recorded information into the blockchain.
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; and when receiving a transaction request based on the transaction credential data sent by the terminal equipment of the provider user, executing corresponding transaction operation according to the transaction request, generating transaction record information and writing the transaction record information into the blockchain. It can be seen that, through the embodiments in the present specification, the transaction process is made transparent and multiparty visible by conducting the transaction under the trusted environment of the blockchain, so that the authenticity and effectiveness of the transaction are ensured; and by writing transaction record information into the blockchain, the non-tampering and public traceability of uplink data are ensured, the problems of data loss, data falsification and the like are effectively avoided, and an effective data basis is provided for transaction inquiry.
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 blockchain-based transaction method are based on the same inventive concept, so that the specific implementation of the embodiment may refer to the implementation of the corresponding blockchain-based transaction method, and the repetition is omitted.
Further, in accordance with the methods shown in fig. 7 to 9, 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 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;
acquiring corresponding transaction record information in a blockchain according to the identification of the transaction credential data to be queried;
generating a circulation path diagram of accounts corresponding to the transaction certificate data to be queried according to the transaction record information;
And sending the circulation path diagram to the terminal equipment of the core enterprise user so that the terminal equipment of the core enterprise user displays the circulation path diagram.
In one or more embodiments of the present disclosure, based on transaction record information stored in a blockchain, effective query of transactions is achieved, and meanwhile, by generating a circulation path diagram of accounts corresponding to transaction credential data to be queried and sending the generated circulation path diagram to terminal equipment of a core enterprise user, the core enterprise user can clearly and clearly view all circulation information of accounts corresponding to the transaction credential data to be queried, without manually carding the circulation information of accounts according to each transaction record information by the core enterprise user, so that query efficiency and user experience are improved.
Optionally, the computer executable instructions stored in the storage medium, when executed by the processor, obtain corresponding transaction record information in the blockchain according to the identification of the transaction credential data to be queried, including:
matching the identification of the transaction credential data to be queried with the identification of the transaction credential data contained in the transaction record information stored in the blockchain;
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.
Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the generating, according to the transaction record information, a circulation path diagram of accounts corresponding to the transaction credential data to be queried includes:
acquiring the amount of transaction accounts, the user information of the user of the transfer-out provider of the transaction accounts and the user information of the user of the transfer-in provider from the transaction record information;
and generating a circulation path diagram of the accounts corresponding to the transaction credential data to be queried according to the amount of the transaction accounts, the user information of the user of the transferring-out provider of the transaction accounts and the user information of the user of the transferring-in provider.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, the flow path graph includes at least one flow node, the method further comprising:
if the cursor is detected to be positioned at the circulation node or the triggering operation of the core enterprise user on the circulation node is detected;
and taking the circulation node where the cursor is positioned as an end point or taking the circulation node which is triggered to operate as an end point, taking the circulation node where the core enterprise user is positioned as a starting point, acquiring a corresponding account circulation path from the circulation path diagram, and displaying the account circulation path in a distinguishing way.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, the flow path graph includes at least one flow node, each flow node including a roll-out query control, and/or a roll-in query control, and/or a financing query control, the method further comprising:
if the cursor is detected to be positioned in the out-of query control or the triggering operation of the core enterprise user on the out-of query control is detected, taking the circulation node in which the cursor is positioned as an out-of node or taking the circulation node subjected to the triggering operation as an out-of node; determining a first-level receiving node for receiving the accounts transferred by the transfer-out node; displaying account transfer-out information of the transfer-out node, and distinguishing and displaying the transfer-out node and the primary receiving node;
if the cursor is detected to be positioned in the transfer-in query control or the triggering operation of the core enterprise user on the transfer-in query control is detected, taking the transfer node in which the cursor is positioned as a transfer-in node or taking the transfer node subjected to the triggering operation as a transfer-in node; determining a first-stage transfer-out node of the accounts received by the transfer-in node; displaying account transfer information of the transfer-in node, and distinguishing and displaying the transfer-in node and the first-level transfer-out node;
And if the cursor is detected to be positioned in the financing inquiry control or the triggering operation of the core enterprise on the financing inquiry control is detected, displaying corresponding financing information.
The storage medium provided by one or more embodiments of the present disclosure stores computer-executable instructions that, when executed by a processor, receive a transaction inquiry request sent by a terminal device of a core enterprise user, wherein the transaction inquiry request includes an identification of transaction credential data to be inquired; obtaining corresponding transaction record information in a blockchain according to the identification of the transaction credential data to be queried, and generating a circulation path diagram of accounts corresponding to the transaction credential data to be queried according to the obtained transaction record information; and sending the circulation path diagram to the terminal equipment of the core enterprise user so that the terminal equipment of the core enterprise user can display the circulation path diagram. It can be seen that, in the embodiment of the present disclosure, based on the transaction record information in the blockchain, the effective query of the transaction is achieved, and meanwhile, by generating the circulation path diagram of the accounts corresponding to the transaction credential data to be queried and sending the generated circulation path diagram to the terminal device of the core enterprise user, the core enterprise user can clearly and clearly view all circulation information of the accounts corresponding to the transaction credential data to be queried, without manually carding the circulation information of the accounts according to each transaction record information by the core enterprise user, thereby improving query efficiency and user experience.
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 query method based on the blockchain are based on the same inventive concept, so that the specific implementation of the embodiment can refer to the implementation of the corresponding transaction description method based on the blockchain, and the repetition is omitted.
In the 70 s of the 30 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 PIC18F26K30, and Silicone Labs C8051F330, 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 (20)

1. A blockchain-based transaction data processing method, comprising:
the first block chain link point receives accounts payable data sent by terminal equipment of a core enterprise user;
the first block link point generates transaction credential data according to the accounts payable data;
when the first block link point receives a transaction request based on the transaction credential data sent by terminal equipment of a provider user, executing corresponding transaction operation according to the transaction request and generating transaction record information;
The first block link point writes the transaction record information into a block chain;
the method further comprises the steps of:
the first block link point responds to a transaction inquiry request sent by the terminal equipment of the core enterprise user, and sends a circulation path diagram of the account of the core enterprise user to the terminal equipment of the core enterprise user;
the circulation path diagram comprises at least one circulation node, each circulation node comprises a transfer-out query control and/or a transfer-in query control and/or a financing query control, the transfer-out query control is used for displaying corresponding account transfer-out information according to operation of a user on the transfer-out query control, the transfer-in query control is used for displaying corresponding account transfer-in information according to operation of the user on the transfer-in query control, and the financing query control is used for displaying corresponding financing information according to operation of the user on the transfer-in query control.
2. The method of claim 1, the accounts payable data comprising user information of a vendor user, the first block link point generating transaction credential data from the accounts payable data, comprising:
the first 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 first 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 performing a respective transaction operation in accordance with the transaction request, comprising:
invoking an intelligent contract deployed in a blockchain, determining whether transaction data included in the transaction request meets a transaction rule of the transaction credential data based on the intelligent contract;
and if the transaction data meets the transaction rule of the transaction evidence data, executing corresponding transaction operation according to the transaction data.
4. A method according to any of claims 1-3, the transaction request comprising an amount of a transaction account, user information of a transfer-out provider user and user information of a transfer-in provider user of the transaction account;
after the first block link point generates transaction credential data according to the accounts payable data, the method further includes:
the first block link point generates an identification of the transaction credential data;
the first blockchain node sends the identification of the transaction credential data to the terminal equipment of the core enterprise user so that the core enterprise user inquires the circulation information of accounts corresponding to the transaction credential data according to the identification of the transaction credential data;
The generating transaction record information includes:
and carrying out association record on the identification of the transaction credential data, the amount of the transaction account, the user information of the user of the provider for transferring the transaction account and the user information of the user of the provider for transferring the transaction account, and taking the recorded information as transaction record information.
5. The method of claim 4, after the first block link point generates the identification of the transaction credential data, further comprising:
the first blockchain link associates records of the accounts payable data, the transaction credential data, and the identification of the transaction credential data, and writes the recorded information into the blockchain.
6. A blockchain-based transaction query method, comprising:
the second blockchain node receives a transaction inquiry request sent by terminal equipment of a core enterprise user, wherein the transaction inquiry request comprises an identifier of transaction credential data to be inquired;
the second blockchain node acquires corresponding transaction record information from the blockchain according to the identification of the transaction credential data to be queried;
the second block link point generates a circulation path diagram of accounts corresponding to the transaction certificate data to be queried according to the transaction record information;
The second block chain link point sends the circulation path diagram to the terminal equipment of the core enterprise user so that the terminal equipment of the core enterprise user displays the circulation path diagram;
the circulation path diagram comprises at least one circulation node, each circulation node comprises a transfer-out query control and/or a transfer-in query control and/or a financing query control, the transfer-out query control is used for displaying corresponding account transfer-out information according to operation of a user on the transfer-out query control, the transfer-in query control is used for displaying corresponding account transfer-in information according to operation of the user on the transfer-in query control, and the financing query control is used for displaying corresponding financing information according to operation of the user on the transfer-in query control.
7. The method of claim 6, the second blockchain node obtaining corresponding transaction record information in a blockchain according to the identification of the transaction credential data to be queried, comprising:
the second block link point matches the identification of the transaction voucher data to be queried with the identification of the transaction voucher data contained 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.
8. The method of claim 6, wherein the second block link point generates, according to the transaction record information, a circulation path diagram of accounts corresponding to the transaction credential data to be queried, including:
the second block link point acquires the amount of the transaction account, the user information of the user of the transfer-out provider of the transaction account and the user information of the user of the transfer-in provider from the transaction record information;
and the second blockchain node generates a circulation path diagram of the accounts corresponding to the transaction credential data to be queried according to the amount of the transaction accounts, the user information of the user of the transferring provider of the transaction accounts and the user information of the user of the transferring provider.
9. The method of any of claims 6-8, the flow path graph comprising at least one flow node, the method further comprising:
if the second blockchain node detects that the cursor is positioned at the circulation node or detects the triggering operation of the core enterprise user on the circulation node;
and the second blockchain node takes the circulation node where the cursor is located as an end point or takes the circulation node where the cursor is triggered to operate as an end point, and takes the circulation node where the core enterprise user is located as a starting point, and a corresponding account circulation path is obtained from the circulation path diagram, so that the account circulation paths are displayed in a distinguishing mode.
10. The method of any one of claims 6-8, further comprising:
if the second blockchain node detects that the cursor is positioned on the roll-out query control or detects the triggering operation of the core enterprise user on the roll-out query control, taking the circulation node on which the cursor is positioned as a roll-out node or taking the circulation node subjected to the triggering operation as a roll-out node; determining a first-level receiving node for receiving the accounts transferred by the transfer-out node; displaying account transfer-out information of the transfer-out node, and distinguishing and displaying the transfer-out node and the primary receiving node;
if the second blockchain node detects that the cursor is positioned in the transfer-in query control or detects the triggering operation of the core enterprise user on the transfer-in query control, taking the circulation node in which the cursor is positioned as a transfer-in node or taking the circulation node subjected to the triggering operation as a transfer-in node; determining a first-stage transfer-out node of the accounts received by the transfer-in node; displaying account transfer information of the transfer-in node, and distinguishing and displaying the transfer-in node and the first-level transfer-out node;
and if the second blockchain node detects that the cursor is positioned on the financing inquiry control or detects the triggering operation of the core enterprise on the financing inquiry control, displaying corresponding financing information.
11. A blockchain-based transaction data processing 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;
the transaction module is used for executing corresponding transaction operation according to the transaction request when receiving the transaction request based on the transaction credential data sent by the terminal equipment of the provider user;
a second generation module that generates transaction record information;
a write module that writes the transaction record information into a blockchain;
the apparatus further comprises:
the second sending module is used for responding to the transaction inquiry request sent by the terminal equipment of the core enterprise user and sending the circulation path diagram of the account of the core enterprise user to the terminal equipment of the core enterprise user;
the circulation path diagram comprises at least one circulation node, each circulation node comprises a transfer-out query control and/or a transfer-in query control and/or a financing query control, the transfer-out query control is used for displaying corresponding account transfer-out information according to operation of a user on the transfer-out query control, the transfer-in query control is used for displaying corresponding account transfer-in information according to operation of the user on the transfer-in query control, and the financing query control is used for displaying corresponding financing information according to operation of the user on the transfer-in query control.
12. The device according to claim 11,
the transaction module invokes an intelligent contract deployed in a blockchain, and determines whether transaction data included in the transaction request meets transaction rules of the transaction credential data based on the intelligent contract; and if the transaction data meets the transaction rule of the transaction evidence data, executing corresponding transaction operation according to the transaction data.
13. The apparatus of claim 11 or 12, further comprising: a first transmitting module;
the first generation module generates transaction credential data according to the accounts payable data and then generates an identifier of the transaction credential data;
the first sending module sends the identification of the transaction credential data to the terminal equipment of the core enterprise user so that the core enterprise user inquires the transaction information of accounts corresponding to the transaction credential data according to the identification of the transaction credential data;
the second generation module is used for carrying out association record on the identification of the transaction credential data, 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, and taking the recorded information as transaction record information.
14. A blockchain-based transaction querying device, comprising:
the receiving module is used for receiving a transaction inquiry request sent by terminal equipment of a core enterprise user, wherein the transaction inquiry request comprises an identifier of transaction credential data to be inquired;
the acquisition module acquires corresponding transaction record information in a blockchain according to the identification of the transaction credential data to be queried;
the generation module is used for generating a circulation path diagram of accounts corresponding to the transaction credential data to be queried according to the transaction record information;
the sending module is used for sending the circulation path diagram to the terminal equipment of the core enterprise user so as to enable the terminal equipment of the core enterprise user to display the circulation path diagram;
the circulation path diagram comprises at least one circulation node, each circulation node comprises a transfer-out query control and/or a transfer-in query control and/or a financing query control, the transfer-out query control is used for displaying corresponding account transfer-out information according to operation of a user on the transfer-out query control, the transfer-in query control is used for displaying corresponding account transfer-in information according to operation of the user on the transfer-in query control, and the financing query control is used for displaying corresponding financing information according to operation of the user on the transfer-in query control.
15. The apparatus according to claim 14,
the generation module acquires the amount of the transaction account, the user information of the user of the provider for transferring the transaction account and the user information of the user of the provider for transferring the transaction account from the transaction record information; the method comprises the steps of,
and generating a circulation path diagram of the account to be queried according to the amount of the transaction account, the user information of the user of the transferring-out provider of the transaction account and the user information of the user of the transferring-in provider.
16. The apparatus of claim 14 or 15, the flow path graph comprising at least one flow node, the apparatus further comprising: a first detection module;
and if the first detection module detects that the cursor is positioned at the circulation node or detects the triggering operation of the core enterprise user on the circulation node, the first detection module takes the circulation node at which the cursor is positioned as an end point or takes the circulation node triggered to operate as an end point, takes the circulation node at which the core enterprise user is positioned as a starting point, acquires a corresponding account circulation path in the circulation path diagram, and displays the account circulation path in a distinguishing way.
17. The apparatus of claim 14 or 15, the apparatus further comprising: a second detection module;
The second detection module takes a circulation node where the cursor is located as a turning-out node or takes a circulation node which is triggered to operate as a turning-out node if the cursor is detected to be located in the turning-out query control or the triggering operation of the core enterprise user on the turning-out query control is detected; determining a first-level receiving node for receiving the accounts transferred by the transfer-out node; displaying account transfer-out information of the transfer-out node, and distinguishing and displaying the transfer-out node and the primary receiving node; the method comprises the steps of,
if the cursor is detected to be positioned in the transfer-in query control or the triggering operation of the core enterprise user on the transfer-in query control is detected, taking the transfer node in which the cursor is positioned as a transfer-in node or taking the transfer node subjected to the triggering operation as a transfer-in node; determining a first-stage transfer-out node of the accounts received by the transfer-in node; displaying account transfer information of the transfer-in node, and distinguishing and displaying the transfer-in node and the first-level transfer-out node; the method comprises the steps of,
and if the cursor is detected to be positioned in the financing inquiry control or the triggering operation of the core enterprise user on the financing inquiry control is detected, displaying corresponding financing information.
18. A blockchain-based transaction data processing 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 data processing method of any of the preceding claims 1 to 5.
19. A blockchain-based transaction querying 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 querying method of any of the preceding claims 6 to 10.
20. A storage medium storing computer executable instructions which when executed perform the steps of the blockchain-based transaction data processing method of any of the preceding claims 1 to 5 or the blockchain-based transaction querying method of any of the preceding claims 6 to 10.
CN201910702424.5A 2019-07-31 2019-07-31 Transaction data processing and transaction inquiring method, device and equipment based on blockchain Active CN110472438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910702424.5A CN110472438B (en) 2019-07-31 2019-07-31 Transaction data processing and transaction inquiring method, device and equipment based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910702424.5A CN110472438B (en) 2019-07-31 2019-07-31 Transaction data processing and transaction inquiring method, device and equipment based on blockchain

Publications (2)

Publication Number Publication Date
CN110472438A CN110472438A (en) 2019-11-19
CN110472438B true CN110472438B (en) 2023-08-18

Family

ID=68509342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910702424.5A Active CN110472438B (en) 2019-07-31 2019-07-31 Transaction data processing and transaction inquiring method, device and equipment based on blockchain

Country Status (1)

Country Link
CN (1) CN110472438B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111008838A (en) * 2019-12-20 2020-04-14 深圳前海星际同辉科技有限公司 Transaction platform system method, terminal and storage medium based on block chain
CN110992039B (en) * 2020-03-03 2021-06-29 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment
CN111415250A (en) * 2020-04-30 2020-07-14 中国银行股份有限公司 Method and device for managing accounts receivable based on block chain, storage medium and equipment
CN112488715A (en) * 2020-12-17 2021-03-12 欧冶链金再生资源有限公司 Block chain storage method in scrap steel industry
CN113436017B (en) * 2021-07-07 2022-06-21 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment
CN113746640B (en) * 2021-09-26 2024-03-01 网易(杭州)网络有限公司 Digital certificate using method, device, computer equipment and storage medium
CN115018499A (en) * 2022-05-30 2022-09-06 蚂蚁区块链科技(上海)有限公司 Block chain-based digital certificate issuing method, device and system
CN117093654B (en) * 2023-10-19 2024-02-09 湖南三湘银行股份有限公司 Accounting marking method based on blockchain technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846014A (en) * 2017-01-23 2017-06-13 南威软件股份有限公司 A kind of both sides' online transaction flow processing and querying method based on condition conversion
CN109615511A (en) * 2019-01-07 2019-04-12 北京锐融天下科技股份有限公司 A kind of supply chain banking software system and method
CN109615510A (en) * 2018-12-04 2019-04-12 国网辽宁省电力有限公司大连供电公司 A kind of supply chain finance based on block chain is multistage to increase letter method
CN109767219A (en) * 2019-01-11 2019-05-17 深圳市链联科技有限公司 A kind of accounts receivable circulation method based on block chain technology
CN110009489A (en) * 2019-01-03 2019-07-12 阿里巴巴集团控股有限公司 Based on the assets transfer method and device of block chain, electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846014A (en) * 2017-01-23 2017-06-13 南威软件股份有限公司 A kind of both sides' online transaction flow processing and querying method based on condition conversion
CN109615510A (en) * 2018-12-04 2019-04-12 国网辽宁省电力有限公司大连供电公司 A kind of supply chain finance based on block chain is multistage to increase letter method
CN110009489A (en) * 2019-01-03 2019-07-12 阿里巴巴集团控股有限公司 Based on the assets transfer method and device of block chain, electronic equipment
CN109615511A (en) * 2019-01-07 2019-04-12 北京锐融天下科技股份有限公司 A kind of supply chain banking software system and method
CN109767219A (en) * 2019-01-11 2019-05-17 深圳市链联科技有限公司 A kind of accounts receivable circulation method based on block chain technology

Also Published As

Publication number Publication date
CN110472438A (en) 2019-11-19

Similar Documents

Publication Publication Date Title
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
CN109614823B (en) Data processing method, device and equipment
TWI684105B (en) Block chain system, data storage method and device
CN110503435B (en) Transaction early warning method, device and equipment based on blockchain
CN107424069B (en) Wind control feature generation method, risk monitoring method and equipment
CN111340631B (en) Asset transfer method, device, equipment and system
CN106899666B (en) Data processing method and device for service identification
CN109615495B (en) Data reconciliation method, device, equipment and system
CN112241506B (en) User behavior backtracking method, device, equipment and system
US20210240784A1 (en) Method, apparatus and storage medium for searching blockchain data
CN112015739A (en) Data verification and data query method and device
CN111461623B (en) Block chain-based warehouse bill creating method, device and equipment
CN110992040A (en) Transaction processing method, device and equipment
CN110264332A (en) The method, apparatus and electronic equipment that account is entered an item of expenditure in the accounts
CN108647950A (en) A kind of transfer request processing method, device and equipment
CN110992188A (en) Transaction processing method, device and equipment
CN111899008A (en) Resource transfer method, device, equipment and system
CN116385063A (en) Rights and interests sharing processing method and device
CN110782253B (en) Transaction processing method, device and equipment based on block chain
CN113643030B (en) Transaction processing method, device and equipment
CN114548963B (en) Payment interaction processing method and device
CN115033599A (en) Graph query method, system and related device based on multi-party security
CN110502551A (en) Data read-write method, system and infrastructure component
CN113673844B (en) Information feedback method, device and equipment

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: 40018170

Country of ref document: HK

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200924

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: 20200924

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.

GR01 Patent grant
GR01 Patent grant