CN111242764A - Invoice reimbursement method and device based on block chain and readable storage medium - Google Patents

Invoice reimbursement method and device based on block chain and readable storage medium Download PDF

Info

Publication number
CN111242764A
CN111242764A CN202010023310.0A CN202010023310A CN111242764A CN 111242764 A CN111242764 A CN 111242764A CN 202010023310 A CN202010023310 A CN 202010023310A CN 111242764 A CN111242764 A CN 111242764A
Authority
CN
China
Prior art keywords
reimbursement
information
invoice
wallet address
electronic ticket
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010023310.0A
Other languages
Chinese (zh)
Inventor
戴传兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010023310.0A priority Critical patent/CN111242764A/en
Publication of CN111242764A publication Critical patent/CN111242764A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/123Tax preparation or submission

Abstract

The application discloses a block chain-based invoice reimbursement method, a device and a computer-readable storage medium, wherein the method comprises the following steps: receiving an instruction for reimbursing a first electronic ticket, the instruction carrying the first electronic ticket, an identification of the first electronic ticket, reimbursement information for the first electronic ticket, and a wallet address of a purchaser; generating reimbursement data indicating transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser in accordance with the identity of the first electronic ticket, reimbursement information for the first electronic ticket, the wallet address of the current user of the first blockchain node, and the wallet address of the purchaser. By adopting the method and the device, the invoice reimbursement process can be simplified, and the invoice reimbursement efficiency is improved.

Description

Invoice reimbursement method and device based on block chain and readable storage medium
Technical Field
The application relates to the technical field of internet, in particular to an invoice reimbursement method and device based on a block chain and a readable storage medium.
Background
With the development of internet technology, electronic invoices are widely applied, the electronic invoices are uniformly issued to merchants for use by a tax bureau as common invoices, the invoices are numbered nationwide and uniformly, and the invoices are also signed by the electronic tax bureau. The current electronic invoice reimbursement process is as follows: and verifying the electronic invoice by the reimburser on the national tax invoice verification platform through invoice information such as an invoice number, an invoice code and the like, printing the paper document of the electronic invoice and the paper document of the verification information after confirming the authenticity of the invoice, and submitting the paper document to an invoice auditor. The auditor verifies the invoice and the invoice again, and after the verification is successful, the invoice is confirmed to be reimbursed. However, the current reimbursement process relates to a manual review process, and the review efficiency is low.
Disclosure of Invention
The embodiment of the application provides an invoice reimbursement method and device based on a block chain and a readable storage medium, which can verify the legality and reimbursement information of reimbursed invoices, simplify the process of auditing and improve the invoice reimbursement efficiency.
In a first aspect, an embodiment of the present application provides a block chain-based invoice reimbursement method, where the method is applied to a first block chain node, and the method includes:
receiving an instruction for reimbursing a first electronic ticket, the instruction carrying the first electronic ticket, an identification of the first electronic ticket, reimbursement information for the first electronic ticket, and a wallet address of a purchaser;
generating reimbursement data indicating transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser in accordance with the identity of the first electronic ticket, reimbursement information for the first electronic ticket, the wallet address of the current user of the first blockchain node, and the wallet address of the purchaser.
In one possible implementation, before the receiving the instruction for reimbursing the first electronic ticket, the method further comprises:
receiving the electronic bill uploaded by the current user;
extracting invoice information in the uploaded electronic bill;
and under the condition that the transaction data matched with the invoice information is inquired in a block chain network, determining the uploaded electronic bill as a first electronic bill, wherein the block chain network is a block chain network corresponding to the first block chain link point.
In one possible implementation, the method further includes:
extracting transaction data from the invoice information;
and inquiring whether the transaction data matched with the extracted transaction data exists in the blockchain network or not, and determining that the transaction data matched with the invoice information is inquired in the blockchain network under the condition that the transaction data matched with the extracted transaction data exists in the blockchain network.
In one possible implementation, the method further includes:
transferring the first electronic ticket generating digital asset to the wallet address of the current user.
In one possible implementation, the transferring the first electronic ticket generating digital asset into the wallet address of the current user comprises:
extracting the identification of the first electronic bill;
generating an unspent transaction output UTXO for the first electronic ticket in the current user's wallet address in accordance with the identity of the first electronic ticket.
In a second aspect, an embodiment of the present application provides a block chain-based invoice reimbursement method, where the method is applied to a second block chain node, and the method includes:
receiving reimbursement data from a first blockchain node, the first blockchain node belonging to the same blockchain network as the second blockchain node, the reimbursement data carrying an identification of a first electronic ticket, reimbursement information for the first electronic ticket, a wallet address of a current user of the first blockchain node, and a wallet address of the purchaser, the reimbursement information for the first electronic ticket including information of the purchaser, the reimbursement data indicating a transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser;
acquiring information of a purchaser;
judging whether the obtained buyer information is the same as the buyer information in the reimbursement information or not;
and if the buyer information in the reimbursement information is judged to be the same as the buyer information, reimbursement is carried out on the first electronic bill.
In one possible implementation, the method further includes:
verifying whether the first electronic bill can be reimbursed;
and receiving the first electronic bill under the condition that the first electronic bill is verified to be capable of reimbursement.
In a possible implementation manner, the reimbursement data further includes a public key of the current user and a signature of the reimbursement data, and the verifying whether the first electronic ticket can be reimbursed includes:
judging whether the current reimbursement data is valid or not according to the public key of the current user and the signature of the reimbursement data;
and verifying that the first electronic bill can be reimbursed under the condition that the current reimbursement data is judged to be valid.
In one possible implementation, the method further includes:
and under the condition that the buyer information in the reimbursement information is judged to be different from the buyer information, generating return data according to the identification of the first electronic bill, the wallet address of the buyer and the wallet address of the current user, wherein the return data is used for indicating that the first electronic bill is transferred from the wallet address of the buyer to the wallet address of the current user.
In a third aspect, an embodiment of the present application provides a block chain-based invoice reimbursement device, where the device includes:
the first receiving unit is used for receiving an instruction for reimbursing a first electronic bill, wherein the instruction carries the first electronic bill, the identification of the first electronic bill, reimbursement information of the first electronic bill and a wallet address of a buyer;
a first generating unit configured to generate reimbursement data indicating transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser according to the identification of the first electronic ticket, reimbursement information of the first electronic ticket, the wallet address of the current user of the first blockchain node, and the wallet address of the purchaser.
In one possible implementation, the apparatus further includes:
the second receiving unit is used for receiving the electronic bill uploaded by the current user;
the first extraction unit is used for extracting invoice information in the uploaded electronic bill;
the determining unit is used for determining the uploaded electronic bill as a first electronic bill under the condition that the transaction data matched with the invoice information is inquired in a block chain network, and the block chain network is a block chain network corresponding to the first block chain link point.
In one possible implementation, the apparatus further includes:
the second extraction unit extracts transaction data from the invoice information;
and the query unit is used for querying whether the transaction data matched with the extracted transaction data exists in the blockchain network or not, and determining that the transaction data matched with the invoice information is queried in the blockchain network under the condition that the transaction data matched with the extracted transaction data exists in the blockchain network.
In one possible implementation, the apparatus further includes:
and the second generation unit is used for transferring the first electronic bill generation digital asset into the wallet address of the current user.
In a possible implementation manner, the first generating unit is specifically configured to:
extracting the identification of the first electronic bill;
generating an unspent transaction output UTXO for the first electronic ticket in the current user's wallet address in accordance with the identity of the first electronic ticket.
In a fourth aspect, an embodiment of the present application provides a block chain-based invoice reimbursement device, including:
a third receiving unit, configured to receive reimbursement data from a first blockchain node, where the first blockchain node and the second blockchain node belong to the same blockchain network, where the reimbursement data carries an identifier of a first electronic ticket, reimbursement information of the first electronic ticket, a wallet address of a current user of the first blockchain node, and a wallet address of the purchaser, where the reimbursement information of the first electronic ticket includes information of the purchaser, and the reimbursement data indicates transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser;
an acquisition unit for acquiring information of a purchaser;
a judging unit configured to judge whether the acquired purchaser information is the same as the purchaser information in the reimbursement information;
and the reimbursement unit is used for reimbursing the first electronic bill under the condition that the buyer information in the reimbursement information is judged to be the same as the buyer information.
In one possible implementation, the apparatus further includes:
the verification unit is used for verifying whether the first electronic bill can be reimbursed or not;
and the fourth receiving unit is used for receiving the first electronic bill under the condition that the first electronic bill is verified to be capable of reimbursement.
In a possible implementation manner, the reimbursement data further includes a public key of the current user and a signature of the reimbursement data, and the verification unit is specifically configured to:
judging whether the current reimbursement data is valid or not according to the public key of the current user and the signature of the reimbursement data;
and verifying that the first electronic bill can be reimbursed under the condition that the current reimbursement data is judged to be valid.
In one possible implementation, the apparatus further includes:
and a third generating unit, configured to, in a case where it is determined that the buyer information in the reimbursement information is not identical to the buyer information, generate return data according to the identifier of the first electronic ticket, the wallet address of the buyer, and the wallet address of the current user, where the return data is used to indicate that the first electronic ticket is transferred from the wallet address of the buyer to the wallet address of the current user.
In a fifth aspect, embodiments of the present application provide an electronic device, which includes an output device, an input device, a processor, a memory, and a transceiver, where the output device, the input device, the processor, the memory, and the transceiver are connected to each other. The transceiver is used for receiving information from devices other than the device and outputting information to devices other than the device. The memory is configured to store a computer program that supports the terminal device to execute the method provided by the first aspect and/or any one of the possible implementations of the first aspect, where the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method provided by the first aspect and/or any one of the possible implementations of the first aspect.
In a sixth aspect, embodiments of the present application provide an electronic device that includes an output device, an input device, a processor, a memory, and a transceiver, which are connected to each other. The transceiver is used for receiving information from devices other than the device and outputting information to devices other than the device. The memory is used for storing a computer program supporting the terminal device to execute the method provided by any one of the above-mentioned second aspect and/or any one of the above-mentioned possible implementation manners of the second aspect, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method provided by any one of the above-mentioned second aspect and/or any one of the above-mentioned possible implementation manners of the second aspect.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, where the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to execute the method provided by the first aspect and/or any possible implementation manner of the first aspect.
In an eighth aspect, the present application provides a computer-readable storage medium, which stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute the method provided by any one of the above-mentioned second aspect and/or possible implementation manner of the second aspect.
In an embodiment of the application, the instruction is used for reimbursing a first electronic bill, and the instruction carries the first electronic bill, the identification of the first electronic bill, reimbursement information of the first electronic bill and a wallet address of a buyer; generating reimbursement data indicating transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser in accordance with the identity of the first electronic ticket, reimbursement information for the first electronic ticket, the wallet address of the current user of the first blockchain node, and the wallet address of the purchaser. Therefore, when invoice reimbursement is carried out, the invoice is transferred to the buyer on the invoice in the form of digital assets, the block chain verifies the legality of the invoice and the reimbursement object, manual examination and verification are not needed, the invoice reimbursement efficiency is greatly improved, the invoice reimbursement process is simplified, and due to the fact that the invoice reimbursement is transferred in the form of the digital assets, the transfer information can be checked by other block chain nodes in the block chain network, and the invoice reimbursement is guaranteed to be transparent.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a system architecture diagram of a block chain-based invoice reimbursement method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating a block chain-based invoice reimbursement method according to an embodiment of the present application;
fig. 3 is a diagram of a scenario application of a block chain-based invoice reimbursement method according to an embodiment of the present application;
FIG. 4a is a schematic interface diagram of a block chain-based invoice reimbursement method according to an embodiment of the present application;
FIG. 4b is a schematic interface diagram of a block chain-based invoice reimbursement method according to an embodiment of the present application;
FIG. 4c is a schematic interface diagram of a block chain-based invoice reimbursement method according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of an invoice reimbursement apparatus based on a blockchain according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of another block chain-based invoice reimbursement device provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of another electronic device provided in the embodiment of the present application.
Detailed Description
The technical solutions in the present application will be described clearly and completely with reference to the accompanying drawings in the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to better understand a monitoring method, an electronic device, and a computer-readable storage medium provided in the embodiments of the present application, a network architecture used in the embodiments of the present application is described below. Please refer to fig. 1, which is a schematic diagram of a network architecture provided in the present application. As shown in fig. 1, the network architecture may include a blockchain network, where the blockchain network includes a plurality of electronic devices, and each electronic device corresponds to one blockchain node in the blockchain network, and in fact, each blockchain node in the blockchain network may correspond to a plurality of electronic devices, where the description of the present application is made only by taking an example that one blockchain node corresponds to 1 electronic device. When a certain block link point corresponds to a plurality of electronic devices, the plurality of electronic devices can be used for processing the data of the electronic bill reimbursement of different block link points together so as to reduce the burden of the block link point on the electronic bill reimbursement processing. The 4 blockchain link points shown in fig. 1 are only representative, and can receive transaction data uploaded by the merchant, a request for invoice reimbursement initiated by the user, and an invoice reimbursement received by the buyer through the blockchain network, and according to the verification, the blockchain link points can also receive a request for invoice reimbursement initiated by the buyer, respectively.
Specifically, a tax bureau issues invoices to be used by a merchant, the merchant uploads transaction data to a block chain network according to the time when a transaction occurs, block chain link point equipment verifies the format of the transaction data uploaded by the merchant, the transaction data is stored after the verification is passed, the invoice is issued to a user, after the user receives paper or an electronic bill, if the paper bill is in a form that a photo is taken or an electronic scanning piece is uploaded, a file of the electronic bill is uploaded to the block chain network, the block chain link point equipment verifies the invoice uploaded by the user, the transaction data uploaded by the merchant is matched with transaction information contained in the electronic bill, and the validity of the invoice uploaded by the user is determined under the condition that the transaction information uploaded by the merchant is matched with the invoice information of the electronic bill uploaded by the user.
Further, receiving an invoice reimbursement instruction initiated by a user, generating reimbursement data by reimbursement information extracted from the invoice, an identification of the invoice and a wallet address of a purchaser, signing the reimbursement data, encrypting the reimbursement data by using a public key of the user, broadcasting the encrypted reimbursement data in a blockchain network, receiving the reimbursement data by node equipment in blockchain nodes through broadcasting, verifying the transaction, and transferring the invoice from the wallet address of the user to the wallet address of the purchaser by the blockchain network according to the reimbursement data after verifying that the transaction is legal by at least 6 blockchain link points. When the buyer receives the invoice, comparing the buyer information of the invoice contained in the reimbursement information in the reimbursement data with the acquired buyer information, wherein the buyer information may be locally stored in the block link point corresponding to the buyer, and reimbursing the invoice when the buyer information in the reimbursement information is determined to be consistent with the acquired buyer information. Otherwise, return data is generated, the return data is generated according to the invoice, the wallet address of the user and the wallet address of the purchaser, the return data is broadcasted in the blockchain network after the generation, the return data is used for indicating that the invoice is transferred from the wallet address of the purchaser to the wallet address of the user, and the invoice cannot be reimbursed and returned to the user.
In the embodiment of the present application, the instruction is used for reimbursing a first electronic bill, and the instruction carries the first electronic bill, the identifier of the first electronic bill, reimbursement information of the first electronic bill, and a wallet address of a purchaser; generating reimbursement data indicating transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser based on the identification of the first electronic ticket, reimbursement information of the first electronic ticket, the wallet address of the current user of the first blockchain node, and the wallet address of the purchaser. Therefore, when invoice reimbursement is carried out, the invoice is transferred to the buyer on the invoice in the form of digital assets, the block chain verifies the legality of the invoice and the reimbursement object, manual examination and verification are not needed, the invoice reimbursement efficiency is greatly improved, the invoice reimbursement process is simplified, and due to the fact that the invoice reimbursement is transferred in the form of the digital assets, the transfer information can be checked by other block chain nodes in the block chain network, and the invoice reimbursement is guaranteed to be transparent.
Referring to fig. 2, it is a schematic flowchart of a block chain-based invoice reimbursement method provided in the present application, and as shown in fig. 2, the method may include:
201. and receiving an instruction for reimbursing the first electronic bill, wherein the instruction carries the first electronic bill, the identifier of the first electronic bill, reimbursement information of the first electronic bill and a wallet address of the buyer.
Specifically, the first electronic bill may be a bill uploaded by a user through a client, and may receive invoice information input by the user while uploading the bill information, or extract information related to the invoice from the electronic bill uploaded by the user, the first block link point may query transaction data matched with the first electronic bill in a block chain, and when the transaction data matched with the first electronic bill is queried in the transaction data uploaded by a merchant, the first electronic bill is determined to be a valid bill, otherwise, the first electronic bill is determined not to be a valid bill. The transaction data matched with the transaction data format can be generated according to the invoice information, whether the transaction data is contained or not is inquired in a database corresponding to the blockchain network, and the database is a database for updating data in the blockchain network in an incremental mode. Therefore, the real and effective transaction data are uploaded by the merchant, and the invoice uploaded by the user is matched with the transaction data, so that the fact that the invoice uploaded to the block chain network by the user is real and legal is guaranteed.
Referring to fig. 3 together, fig. 3 is a scene application diagram of an invoice reimbursement method based on a block chain according to an embodiment of the present application, as shown in fig. 3, a first block chain node generates a transaction list under the condition that an invoice uploaded by a user is determined to be a real and legal invoice, as shown in the left transaction list in fig. 3: transaction id: 000, the "input" is the source of the invoice, here, the invoice uploaded by the user, the index is 0, the identifier is the unique identifier of the current first electronic bill, for example, 0001 in fig. 3, the script is a locking script for locking the first electronic bill by using the public key of the user, the locking script is used for setting that only the user can use the invoice identified as 0001, the receiver public key is the public key of the current user, the operation of uploading the invoice and verifying the invoice by the user is equivalent to issuing an invoice identified as 0001 in the blockchain network, and the transaction order is broadcast in the blockchain network.
Further, after the first electronic bill is verified to be valid and valid, an unused Transaction output (UTXO) identifying the invoice is generated and stored in the wallet address of the user. The user can check the first electronic bill and initiate a reimbursement instruction for the first electronic bill through the client, the first block chain link point receives the reimbursement instruction of the first electronic bill initiated by the user through the client, and when the user triggers the instruction for reimbursement of the first electronic bill, the first electronic bill can be any one of legal bills uploaded by the user. When the first blockchain node receives the command, a transaction is created, which includes 1 input and 1 output (the invoice does not have change), it should be understood that, in the embodiment of the present application, regardless of the transaction fee for transaction by invoice reimbursement, the first blockchain node generates reimbursement data, i.e. a "transaction order" in the blockchain network to reimburse the first electronic ticket.
202. Generating reimbursement data according to the identification of the first electronic bill, reimbursement information of the first electronic bill, the wallet address of the current user of the first blockchain node and the wallet address of the purchaser.
Specifically, the first block link point generates reimbursement data, i.e. a new transaction sheet, according to the identifier of the first electronic bill, reimbursement information of the first electronic bill, a wallet address of the current user of the first block link node, and a wallet address of the purchaser, where the transaction sheet is used to instruct to transfer the invoice from the wallet address of the user to the wallet address of the purchaser, where the purchaser refers to the wallet address corresponding to the purchaser on the invoice surface, and may be a business, an individual, an organization, or the like, which is not limited herein. The reimbursement information may be information similar to a "reimbursement bill" which is filled by the user together, and specifically includes a name of a purchaser, an identification number of a taxpayer, optionally, information of an address, a telephone, an account opening row and an account number of the purchaser, a name of a seller, an identification number of the taxpayer, an address, a telephone, information of the account opening row and the account number, a payee, a rechecker, an invoice person, and the like.
As shown in fig. 3, the generated transaction id: 001, the input in the transaction order is "output of previous transaction", "script", and "sender public key", which mainly represents the source of the first electronic ticket, and as shown in fig. 3, may be "reference transaction id: 000 output index: 0 transaction outcome ", which can be traced back to a transaction with a transaction id of 000, identifying the source of the transaction input, the first block node can traverse all transaction records of the user, ensuring that the first electronic ticket is available to pay for the current transaction, since the user has previously obtained the first electronic ticket UTXO and is therefore available to pay for the current transaction, and the transaction can proceed, the receiver of the first electronic ticket is filled in the output of the transaction, including the index, the identification, the script, and the public key of the recipient, the index references 0 of the previous transaction, the identification 0001 identified as the invoice, the script is a locked script of the purchaser, indicating that the invoice identified as 0001 can only be used by the purchaser, and the public key of the recipient is the public key of the purchaser. After the transaction sheet with the transaction id of 001 is generated and broadcast in the blockchain network, other blockchain nodes can verify the transaction sheet, when at least 6 blockchain nodes pass the verification, the transaction is generated, and the first electronic bill is transferred to the purchaser.
After receiving the transaction order, the block chain node can verify whether the user uses the user's own invoice UTXO. Specifically, according to the unlocking script in the transaction order with the transaction id 001, the unlocking script includes the signature and the public key output by the user for the previous transaction, and whether the UTXO of the user is used can be verified through the public key and the signature of the user.
203. Receiving reimbursement data from a first blockchain node, wherein the reimbursement data carries an identifier of a first electronic bill, reimbursement information of the first electronic bill, a wallet address of a current user of the first blockchain node, and a wallet address of the purchaser, and the reimbursement information of the first electronic bill includes information of the purchaser.
Specifically, the second blockchain node and the first blockchain node are two different nodes in the same blockchain network, the second blockchain node receives reimbursement data from the first blockchain node, namely reimbursement data received through broadcasting of the first blockchain, namely a transaction order, can verify a current transaction according to the transaction order, verify a signature and a public key output by a user in an unlocking script for a previous transaction, and after verification, confirm that the first electronic bill can be reimbursed, and continue broadcasting in the blockchain nodes until each node in the blockchain network receives the transaction order.
Furthermore, the second block link point can verify the information of the buyer who reimburses the invoice, so that the invoice reimbursement method based on the block chain provided by the embodiment of the application can not only ensure the authenticity and legality of the reimbursement invoice, but also verify whether the reimbursement invoice is normal, that is, verify whether the reimbursement object is the object corresponding to the buyer on the invoice.
204. Information of a purchaser is acquired.
Specifically, the second blockchain link point may obtain the information of the buyer from the blockchain network, or may obtain the locally stored information of the buyer, which is not limited herein. It can be understood that, if the head of the electronic ticket required to be received by the buyer of the second blockchain is the own ticket, the second blockchain node verifies the buyer information included in the reimbursement information of the received first electronic ticket after receiving the electronic ticket generated by the transaction.
205. And judging whether the acquired buyer information is the same as the buyer information in the reimbursement information.
In a possible implementation manner, the buyer information in the reimbursement information is compared with the acquired buyer information, and reimbursement can be performed only if the obtained buyer information is consistent with the acquired buyer information, and if the obtained buyer information is inconsistent with the acquired buyer information, a return data, namely a new transaction order, is generated again, and the first electronic bill is returned to the user. The comparing of the buyer information in the reimbursement information and the obtained buyer information may be performed by comparing text similarity, which is not limited herein.
206. And if the buyer information in the reimbursement information is judged to be the same as the buyer information, reimbursing the first electronic bill.
Specifically, when it is determined that the buyer information in the reimbursement information is the same as the buyer information, the first electronic bill is reimbursed if the verification is confirmed to be passed. And if the buyer information in the reimbursement information is the same as the buyer information, determining that the first electronic bill cannot be reimbursed to the buyer, and generating return data, namely generating a new transaction sheet for returning the first electronic bill to the user. As shown in fig. 3, in the right transaction sheet, transaction id: 002, also including "inputs" and "outputs" for transactions, inputs include: output of last transaction: reference transaction id: 001 output index: and 0, the script is an unlocking script containing the buyer public key and the signature, and the sender public key, namely the buyer public key. "output" includes: indexing: 0, marking: 0001, and a locking script and a recipient public key. And after the transaction order is generated by the second blockchain node, broadcasting in the blockchain network, and verifying the transaction order by the node in the blockchain, wherein the specific verification method is consistent with the method for verifying the transaction id as 001, which is not described herein any more, and after 6 or more than 6 blockchain nodes pass verification, a transaction can be generated, and then the first electronic bill is returned to the wallet address of the user. The invoice identified as 001 will not be reimbursed by the purchaser until an reimbursement is initiated to a purchaser that is consistent with the purchaser.
Referring to fig. 4a to 4c together, fig. 4a to 4c are schematic interface diagrams of an invoice reimbursement method based on a block chain according to an embodiment of the present application, and fig. 4a to 4c are operation interfaces of a user for reimbursing the invoice, where the invoice reimbursement program may be an application program, a small program integrated in an instant messaging application program (e.g., WeChat, QQ, etc.), or a public signaling through WeChat, which is not limited herein. The small program of the invoice reimbursement of the WeChat is used as an example to explain in the embodiment of the application, as shown in FIG. 4a, the button of uploading the invoice and invoice check can be displayed in the interface, the invoice is used for uploading the invoice that needs reimbursement and inquiring whether the invoice is reimbursed or not through scanning the two-dimensional code of the invoice, wherein, after the user clicks the 'upload invoice', the front end receives the invoice uploaded by the user, and the back end can upload the invoice to the block chain through the block chain link point and verify, and further, after the invoice file is uploaded, the reimbursement information, namely, the reimbursement bill can be input. Optionally, the "my invoice", that is, the invoice which can be reimbursed by the user currently, the reimbursed invoice and reimbursement records may also be displayed, when the user clicks the invoice with the reimbursement invoice number of 0001, the background reimburses the invoice with the invoice number of 0001 by using the block link point device, and the user can view information of successful reimbursement in the interface, as shown in fig. 4b, and display information of reimbursement of the current invoice. And upon returning to the WeChat invoice reimbursement interface, reimbursement for invoice number 0001 can be viewed through the reimbursement record, as shown in FIG. 4 c.
In the embodiment of the present application, the instruction is used for reimbursing a first electronic bill, and the instruction carries the first electronic bill, the identifier of the first electronic bill, reimbursement information of the first electronic bill, and a wallet address of a purchaser; generating reimbursement data indicating transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser based on the identification of the first electronic ticket, reimbursement information of the first electronic ticket, the wallet address of the current user of the first blockchain node, and the wallet address of the purchaser. Therefore, when invoice reimbursement is carried out, the invoice is transferred to the buyer on the invoice in the form of digital assets, the block chain verifies the legality of the invoice and the reimbursement object, manual examination and verification are not needed, the invoice reimbursement efficiency is greatly improved, the invoice reimbursement process is simplified, and due to the fact that the invoice reimbursement is transferred in the form of the digital assets, the transfer information can be checked by other block chain nodes in the block chain network, and the invoice reimbursement is guaranteed to be transparent.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an invoice reimbursement apparatus 5000 based on a block chain according to an embodiment of the present invention. As shown in fig. 5, the invoice presentment apparatus 5000 includes:
a first receiving unit 501, configured to receive an instruction for reimbursing a first electronic ticket, where the instruction carries the first electronic ticket, an identifier of the first electronic ticket, reimbursement information of the first electronic ticket, and a wallet address of a purchaser;
a first generating unit 502, configured to generate reimbursement data according to the identifier of the first electronic ticket, reimbursement information of the first electronic ticket, a wallet address of a current user of the first blockchain node, and a wallet address of the buyer, where the reimbursement data indicates transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the buyer.
In a possible implementation manner, the apparatus 5000 further includes:
a second receiving unit 503, configured to receive the electronic ticket uploaded by the current user;
a first extraction unit 504, configured to extract invoice information in the uploaded electronic ticket;
a determining unit 505, configured to determine the uploaded electronic bill as a first electronic bill when the transaction data matching the invoice information is queried in a block chain network, where the block chain network is a block chain network corresponding to the first block chain node point.
In a possible implementation manner, the apparatus 5000 further includes:
a second extraction unit 506, which extracts transaction data from the invoice information;
the query unit 507 is configured to query whether transaction data matching the extracted transaction data exists in the blockchain network, and determine that the transaction data matching the invoice information is queried in the blockchain network when the transaction data matching the extracted transaction data exists in the blockchain network.
In a possible implementation manner, the apparatus 5000 further includes:
a second generating unit 508, configured to transfer the first electronic ticket generating digital asset into the wallet address of the current user.
In a possible implementation manner, the first generating unit 508 is specifically configured to:
extracting the mark of the first electronic bill;
and generating an unspent transaction output UTXO of the first electronic bill in the wallet address of the current user according to the identification of the first electronic bill.
The detailed descriptions of the first receiving unit 501, the generating unit 502, the second receiving unit 503, the first extracting unit 504, the determining unit 505, the second extracting unit 506, the querying unit 507, and the first generating unit 508 can be directly obtained by directly referring to the related descriptions in the method embodiments shown in fig. 2 to fig. 4c, which are not repeated herein.
In the embodiment of the application, an invoice reimbursement device based on a block chain receives an instruction for reimbursing a first electronic bill, wherein the instruction carries the first electronic bill, an identifier of the first electronic bill, reimbursement information of the first electronic bill and a wallet address of a buyer; generating reimbursement data indicating transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser based on the identification of the first electronic ticket, reimbursement information of the first electronic ticket, the wallet address of the current user of the first blockchain node, and the wallet address of the purchaser. Therefore, when invoice reimbursement is carried out, the invoice is transferred to the buyer on the invoice in the form of digital assets, the block chain verifies the legality of the invoice and the reimbursement object, manual examination and verification are not needed, the invoice reimbursement efficiency is greatly improved, the invoice reimbursement process is simplified, and due to the fact that the invoice reimbursement is transferred in the form of the digital assets, the transfer information can be checked by other block chain nodes in the block chain network, and the invoice reimbursement is guaranteed to be transparent.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another invoice reimbursement apparatus 6000 based on a block chain according to an embodiment of the present invention, as shown in fig. 6, the invoice reimbursement apparatus 6000 includes:
a third receiving unit 601, configured to receive reimbursement data from a first blockchain node, where the first blockchain node and the second blockchain node belong to the same blockchain network, the reimbursement data carries an identifier of a first electronic ticket, reimbursement information of the first electronic ticket, a wallet address of a current user of the first blockchain node, and a wallet address of the purchaser, the reimbursement information of the first electronic ticket includes information of the purchaser, and the reimbursement data indicates a transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser;
an acquisition unit 602 configured to acquire information of a purchaser;
a determining unit 603 configured to determine whether the acquired purchaser information is the same as the purchaser information in the reimbursement information;
and an reimbursement unit 604 for reimbursing the first electronic ticket when the buyer information in the reimbursement information is determined to be the same as the buyer information.
In a possible implementation manner, the apparatus 6000 further includes:
a verification unit 605 configured to verify whether the first electronic ticket can be reimbursed;
a fourth receiving unit 606, configured to receive the first electronic ticket when it is verified that the first electronic ticket can be reimbursed.
In a possible implementation manner, the reimbursement data further includes a public key of the current user and a signature of the reimbursement data, and the verification unit 605 is specifically configured to:
judging whether the current reimbursement data is valid or not according to the public key of the current user and the signature of the reimbursement data;
and verifying that the first electronic bill can be reimbursed under the condition that the current reimbursement data is judged to be valid.
In a possible implementation manner, the apparatus 6000 further includes:
a third generating unit 607, configured to, in case that it is determined that the buyer information in the reimbursement information is not the same as the buyer information, generate return data according to the identifier of the first electronic ticket, the wallet address of the buyer and the wallet address of the current user, where the return data indicates that the first electronic ticket is transferred from the wallet address of the buyer to the wallet address of the current user.
The detailed descriptions of the third receiving unit 601, the obtaining unit 602, the determining unit 603, the reimbursement unit 604, the verifying unit 605, the fourth receiving unit 606, and the third generating unit 607 can be directly obtained by referring to the descriptions in the method embodiments shown in fig. 2 to fig. 4c, which are not repeated herein.
In an embodiment of the present application, a block chain based invoice reimbursement apparatus receives reimbursement data from a first block chain node, the first block chain node and the second block chain node belong to the same block chain network, the reimbursement data carries an identifier of a first electronic ticket, reimbursement information of the first electronic ticket, a wallet address of a current user of the first block chain node, and a wallet address of a purchaser, the reimbursement information of the first electronic ticket includes information of the purchaser, and the reimbursement data indicates a transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser; acquiring information of a purchaser; judging whether the obtained buyer information is the same as the buyer information in the reimbursement information; and if the buyer information in the reimbursement information is judged to be the same as the buyer information, reimbursing the first electronic bill. Therefore, when invoice reimbursement is carried out, the invoice is transferred to the buyer on the invoice in the form of digital assets, the block chain verifies the legality of the invoice and the reimbursement object, manual examination and verification are not needed, the invoice reimbursement efficiency is greatly improved, the invoice reimbursement process is simplified, and due to the fact that the invoice reimbursement is transferred in the form of the digital assets, the transfer information can be checked by other block chain nodes in the block chain network, and the invoice reimbursement is guaranteed to be transparent.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 7, the electronic device 7000 may include:
one or more processors 701, an input device 702, an output device 703, a memory 704, a transceiver 705. The processor 701, the input device 702, the output device 703, the memory 704, and the transceiver 705 are connected via a bus. The input device 702 may include a touch screen, a keyboard, a microphone, and the like, the output device 703 may include a display screen, a speaker, and the like, and the transceiver 705 is configured to receive and transmit data. The memory 704 is used for storing a computer program comprising program instructions, and the processor 701 is used for executing the program instructions stored in the memory 704, wherein the processor 701 is configured for calling the program instructions to execute the following steps:
receiving an instruction for reimbursing a first electronic bill, wherein the instruction carries the first electronic bill, the identifier of the first electronic bill, reimbursement information of the first electronic bill and a wallet address of a buyer;
generating reimbursement data indicating transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser based on the identification of the first electronic ticket, reimbursement information of the first electronic ticket, the wallet address of the current user of the first blockchain node, and the wallet address of the purchaser.
In a possible implementation manner, before the receiving the instruction for reimbursing the first electronic ticket, the processor 701 is further invoked to perform the following steps:
receiving the electronic bill uploaded by the current user;
extracting invoice information in the uploaded electronic bill;
and under the condition that the transaction data matched with the invoice information is inquired in the block chain network, determining the uploaded electronic bill as a first electronic bill, wherein the block chain network is a block chain network corresponding to the first block chain link point.
In a possible implementation manner, the processor 701 is further invoked to perform the following steps:
extracting transaction data from the invoice information;
and inquiring whether the block chain network has transaction data matched with the extracted transaction data, and determining that the transaction data matched with the invoice information is inquired in the block chain network under the condition that the transaction data matched with the extracted transaction data exists in the block chain network.
In a possible implementation manner, the processor 701 is further invoked to perform the following steps:
and transferring the first electronic bill generation digital asset into the wallet address of the current user.
In one possible implementation, the transferring the first electronic-ticket generating digital asset to the wallet address of the current user includes:
extracting the mark of the first electronic bill;
and generating an unspent transaction output UTXO of the first electronic bill in the wallet address of the current user according to the identification of the first electronic bill.
It should be understood that, in some possible embodiments, the processor 701 may be a Central Processing Unit (CPU), and the processor 701 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and so on. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 704 may include both read-only memory and random-access memory, and provides instructions and data to the processor. A portion of the memory 704 may also include non-volatile random access memory.
In a specific implementation, the electronic device 7000 may execute, through each built-in functional module thereof, the implementation manners provided in the steps in fig. 2 to fig. 4c, which may be specifically referred to the implementation manners provided in the steps, and are not described herein again.
In the embodiment of the application, an invoice reimbursement device based on a block chain receives an instruction for reimbursing a first electronic bill, wherein the instruction carries the first electronic bill, an identifier of the first electronic bill, reimbursement information of the first electronic bill and a wallet address of a buyer; generating reimbursement data indicating transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser based on the identification of the first electronic ticket, reimbursement information of the first electronic ticket, the wallet address of the current user of the first blockchain node, and the wallet address of the purchaser. Therefore, when invoice reimbursement is carried out, the invoice is transferred to the buyer on the invoice in the form of digital assets, the block chain verifies the legality of the invoice and the reimbursement object, manual examination and verification are not needed, the invoice reimbursement efficiency is greatly improved, the invoice reimbursement process is simplified, and due to the fact that the invoice reimbursement is transferred in the form of the digital assets, the transfer information can be checked by other block chain nodes in the block chain network, and the invoice reimbursement is guaranteed to be transparent.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another electronic device according to an embodiment of the present invention. As shown in fig. 8, the electronic device 8000 may include:
one or more processors 801, input devices 802, output devices 803, memory 804, transceiver 805. The processor 801, the input device 802, the output device 803, the memory 804, and the transceiver 805 are connected via a bus. Wherein the input device 802 may include a touch screen, a keyboard, a microphone, etc., the output device 803 may include a display screen, a speaker, etc., and the transceiver 805 is configured to receive and transmit data. The memory 804 is used for storing a computer program comprising program instructions, and the processor 801 is used for executing the program instructions stored in the memory 804, wherein the processor 801 is configured for calling the program instructions to execute the following steps:
receiving reimbursement data from a first blockchain node, the first blockchain node belonging to the same blockchain network as the second blockchain node, the reimbursement data carrying an identification of a first electronic ticket, reimbursement information for the first electronic ticket, a wallet address of a current user of the first blockchain node, and a wallet address of the purchaser, the reimbursement information for the first electronic ticket including information for the purchaser, the reimbursement data indicating a transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser;
acquiring information of a purchaser;
judging whether the obtained buyer information is the same as the buyer information in the reimbursement information;
and if the buyer information in the reimbursement information is judged to be the same as the buyer information, reimbursing the first electronic bill.
In one possible implementation, the processor 801 is configured to call a program instruction to perform the following steps:
verifying whether the first electronic bill can be reimbursed;
and receiving the first electronic bill when the first electronic bill is verified to be capable of reimbursing.
In a possible implementation manner, the reimbursement data further includes a public key of the current user and a signature of the reimbursement data, and the verifying whether the first electronic ticket can be reimbursed includes:
judging whether the current reimbursement data is valid or not according to the public key of the current user and the signature of the reimbursement data;
and verifying that the first electronic bill can be reimbursed under the condition that the current reimbursement data is judged to be valid.
In one possible implementation, the processor 801 is configured to call a program instruction to perform the following steps:
and generating return data according to the identifier of the first electronic bill, the wallet address of the purchaser and the wallet address of the current user when the buyer information in the reimbursement information is judged to be different from the buyer information, wherein the return data is used for indicating that the first electronic bill is transferred from the wallet address of the purchaser to the wallet address of the current user.
It should be appreciated that in some possible implementations, the processor 801 may be a Central Processing Unit (CPU), and the processor 801 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 804 may include both read-only memory and random access memory, and provides instructions and data to the processor. A portion of the memory 804 may also include non-volatile random access memory.
In a specific implementation, the electronic device 8000 may execute the implementation manners provided in the steps in fig. 2 to fig. 4c through the built-in functional modules, which may specifically refer to the implementation manners provided in the steps, and no further details are described here.
In an embodiment of the present application, a block chain based invoice reimbursement apparatus receives reimbursement data from a first block chain node, the first block chain node and the second block chain node belong to the same block chain network, the reimbursement data carries an identifier of a first electronic ticket, reimbursement information of the first electronic ticket, a wallet address of a current user of the first block chain node, and a wallet address of a purchaser, the reimbursement information of the first electronic ticket includes information of the purchaser, and the reimbursement data indicates a transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser; acquiring information of a purchaser; judging whether the obtained buyer information is the same as the buyer information in the reimbursement information; and if the buyer information in the reimbursement information is judged to be the same as the buyer information, reimbursing the first electronic bill. Therefore, when invoice reimbursement is carried out, the invoice is transferred to the buyer on the invoice in the form of digital assets, the block chain verifies the legality of the invoice and the reimbursement object, manual examination and verification are not needed, the invoice reimbursement efficiency is greatly improved, the invoice reimbursement process is simplified, and due to the fact that the invoice reimbursement is transferred in the form of the digital assets, the transfer information can be checked by other block chain nodes in the block chain network, and the invoice reimbursement is guaranteed to be transparent.
Further, here, it is to be noted that: the present application further provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the aforementioned electronic device, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the data verification method in the embodiment corresponding to fig. 2 to 4c can be performed, so that details are not repeated herein. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer storage medium referred to in the present application, reference is made to the description of the embodiments of the method of the present application.
The terms "first", "second", and the like in the claims and in the description and drawings of the present application are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments. The term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A block chain based invoice reimbursement method is applied to a first block chain node and is characterized by comprising the following steps:
receiving an instruction for reimbursing a first electronic ticket, the instruction carrying the first electronic ticket, an identification of the first electronic ticket, reimbursement information for the first electronic ticket, and a wallet address of a purchaser;
generating reimbursement data indicating transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser in accordance with the identity of the first electronic ticket, reimbursement information for the first electronic ticket, the wallet address of the current user of the first blockchain node, and the wallet address of the purchaser.
2. The method of claim 1, wherein prior to the receiving the instruction to reimburse the first electronic ticket, the method further comprises:
receiving the electronic bill uploaded by the current user;
extracting invoice information in the uploaded electronic bill;
and under the condition that the transaction data matched with the invoice information is inquired in a block chain network, determining the uploaded electronic bill as a first electronic bill, wherein the block chain network is a block chain network corresponding to the first block chain link point.
3. The method of claim 2, further comprising:
extracting transaction data from the invoice information;
and inquiring whether the transaction data matched with the extracted transaction data exists in the blockchain network or not, and determining that the transaction data matched with the invoice information is inquired in the blockchain network under the condition that the transaction data matched with the extracted transaction data exists in the blockchain network.
4. The method of claim 2, further comprising:
transferring the first electronic ticket generating digital asset to the wallet address of the current user.
5. The method of claim 4, wherein said transferring said first electronic ticket generating digital asset into said current user's wallet address comprises:
extracting the identification of the first electronic bill;
generating an unspent transaction output UTXO for the first electronic ticket in the current user's wallet address in accordance with the identity of the first electronic ticket.
6. A block chain based invoice reimbursement method is applied to a second block chain node and is characterized by comprising the following steps:
receiving reimbursement data from a first blockchain node, the first blockchain node belonging to the same blockchain network as the second blockchain node, the reimbursement data carrying an identification of a first electronic ticket, reimbursement information for the first electronic ticket, a wallet address of a current user of the first blockchain node, and a wallet address of the purchaser, the reimbursement information for the first electronic ticket including information of the purchaser, the reimbursement data indicating a transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser;
acquiring information of a purchaser;
judging whether the obtained buyer information is the same as the buyer information in the reimbursement information or not;
and if the buyer information in the reimbursement information is judged to be the same as the buyer information, reimbursement is carried out on the first electronic bill.
7. An invoice reimbursement device based on blockchain, comprising:
the first receiving unit is used for receiving an instruction for reimbursing a first electronic bill, wherein the instruction carries the first electronic bill, the identification of the first electronic bill, reimbursement information of the first electronic bill and a wallet address of a buyer;
a generating unit configured to generate reimbursement data indicating a transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser according to the identification of the first electronic ticket, reimbursement information of the first electronic ticket, the wallet address of the current user of the first blockchain node, and the wallet address of the purchaser.
8. An invoice reimbursement device based on blockchain, comprising:
a third receiving unit, configured to receive reimbursement data from a first blockchain node, where the first blockchain node and the second blockchain node belong to the same blockchain network, where the reimbursement data carries an identifier of a first electronic ticket, reimbursement information of the first electronic ticket, a wallet address of a current user of the first blockchain node, and a wallet address of the purchaser, where the reimbursement information of the first electronic ticket includes information of the purchaser, and the reimbursement data indicates transfer of the first electronic ticket from the wallet address of the current user to the wallet address of the purchaser;
an acquisition unit for acquiring information of a purchaser;
a judging unit configured to judge whether the acquired purchaser information is the same as the purchaser information in the reimbursement information;
and the reimbursement unit is used for reimbursing the first electronic bill under the condition that the buyer information in the reimbursement information is judged to be the same as the buyer information.
9. An electronic device comprising a processor and a memory, the processor and memory coupled, wherein the memory is configured to store computer instructions, and the processor is configured to execute the computer instructions to cause the data processing apparatus to implement the method of any of claims 1-6.
10. A computer-readable storage medium having stored thereon one or more first instructions adapted to be loaded by a processor and to perform the block chain based invoice reimbursement method of any of claims 1-6.
CN202010023310.0A 2020-01-09 2020-01-09 Invoice reimbursement method and device based on block chain and readable storage medium Pending CN111242764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010023310.0A CN111242764A (en) 2020-01-09 2020-01-09 Invoice reimbursement method and device based on block chain and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010023310.0A CN111242764A (en) 2020-01-09 2020-01-09 Invoice reimbursement method and device based on block chain and readable storage medium

Publications (1)

Publication Number Publication Date
CN111242764A true CN111242764A (en) 2020-06-05

Family

ID=70866099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010023310.0A Pending CN111242764A (en) 2020-01-09 2020-01-09 Invoice reimbursement method and device based on block chain and readable storage medium

Country Status (1)

Country Link
CN (1) CN111242764A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222726A (en) * 2021-05-25 2021-08-06 支付宝(杭州)信息技术有限公司 Electronic certificate processing method, device and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222726A (en) * 2021-05-25 2021-08-06 支付宝(杭州)信息技术有限公司 Electronic certificate processing method, device and equipment

Similar Documents

Publication Publication Date Title
CN109741056B (en) Method and device for uploading electronic certificate
US11636553B2 (en) Electronic receipt-linking database system
US20140006247A1 (en) System, device and method for the interaction of security information
CN109544335B (en) Transaction data processing method, device, equipment and storage medium based on blockchain
CN110751448B (en) Block chain based sign-off return method, device, equipment and readable storage medium
US11087371B2 (en) Blockchain-based invoice creation method apparatus, and electronic device
US20140244451A1 (en) E-commerce transaction verification system and method
CN110852816A (en) Block chain based automatic invoicing method, terminal equipment and storage medium
AU2011236079A1 (en) System and method for processing insurance contracts based on cloud computing, and related business management tool
US20210272084A1 (en) System and process for electronic payments
CN111931245A (en) Information processing method and device
CN111325585A (en) Asset transfer method, device and computer readable storage medium
CN106559433B (en) Method and system for fixing electronic evidence and user identity by using digital certificate
CN114692589A (en) Method, device and equipment for generating electronic receipt file and computer storage medium
CN111784423B (en) Invoice matching method and device, electronic equipment and storage medium
US9026474B2 (en) Generating printable certificates to verify log authenticity
CN111242764A (en) Invoice reimbursement method and device based on block chain and readable storage medium
CN111062766B (en) Electronic invoice issuing method and device based on blockchain
CN113205340A (en) Data processing method and related device for bank-enterprise direct connection platform
CN109658041A (en) Generating means and its generation method, the equipment and readable storage medium storing program for executing of file
CN113902573A (en) Method and device for processing claim settlement data, storage medium and terminal
CN113744095A (en) Copyright evidence storage and filing system based on mailbox and evidence storage and filing method thereof
CN112529700A (en) Business handling and auditing method, system, equipment and readable storage medium
CN110599347A (en) Bill processing method, device, computer readable storage medium and computer equipment
CN113469758B (en) Billing method, device, equipment and storage medium of blockchain and tax system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40024822

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination