CN111275462A - Bill verification method and device based on block chain network and storage medium - Google Patents

Bill verification method and device based on block chain network and storage medium Download PDF

Info

Publication number
CN111275462A
CN111275462A CN202010076748.5A CN202010076748A CN111275462A CN 111275462 A CN111275462 A CN 111275462A CN 202010076748 A CN202010076748 A CN 202010076748A CN 111275462 A CN111275462 A CN 111275462A
Authority
CN
China
Prior art keywords
bill
information
ticket
reimbursed
chain
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
CN202010076748.5A
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 CN202010076748.5A priority Critical patent/CN111275462A/en
Publication of CN111275462A publication Critical patent/CN111275462A/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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • 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
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • 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/125Finance or payroll

Abstract

The embodiment of the invention discloses a bill verification method, a bill verification device and a storage medium based on a block chain network, wherein the method comprises the following steps: acquiring a bill verification request sent by terminal equipment, wherein the bill verification request carries first bill information of a bill to be reimbursed, and the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal equipment; inquiring second bill information of a bill on a chain corresponding to the bill to be reimbursed from a block chain of a block chain network according to the first bill information; and if the first bill information is matched with the second bill information, sending the second bill information of the bills on the chain to the terminal equipment, wherein the second bill information of the bills on the chain is used for verifying the bills to be reimbursed. By the implementation mode, the authenticity of the bill is automatically and intelligently verified, and the credibility of the bill verification result is greatly improved based on the characteristic that the bill information on the block chain cannot be tampered.

Description

Bill verification method and device based on block chain network and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a bill validation method and apparatus based on a blockchain network, and a storage medium.
Background
With the development of computer technology, electronic bills are more and more widely applied, bills are issued in various industries, the electronic bills can be stored in a block chain in order to ensure the reliability of the electronic bills when the electronic bills are issued, and a user can obtain the electronic bills from the block chain as issuing vouchers when the user needs to issue the electronic bills. When the enterprise or the unit obtains the electronic bill which is submitted by the user and is obtained from the block chain for reimbursement, the authenticity of the electronic bill needs to be verified, and if the electronic bill is true, reimbursement is carried out. At present, when an enterprise or an organization verifies the authenticity of an electronic bill, the enterprise or the organization usually inquires from a tax bureau to determine the authenticity of the electronic bill. However, the method for verifying the authenticity of the electronic bill through the tax bureau has low efficiency, complex operation and high risk of tampering the bill information.
Disclosure of Invention
The embodiment of the invention provides a bill verification method, a bill verification device and a storage medium based on a block chain network, which realize the automatic and intelligent verification of the authenticity of a bill, and greatly improve the reliability of a bill verification result based on the characteristic that bill information on a block chain cannot be tampered.
In a first aspect, an embodiment of the present invention provides a bill validation method based on a blockchain network, which is applied to a node of the blockchain network, and the method includes:
acquiring a bill verification request sent by terminal equipment, wherein the bill verification request carries first bill information of a bill to be reimbursed, and the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal equipment;
inquiring second bill information of a bill on a chain corresponding to the bill to be reimbursed from a block chain of the block chain network according to the first bill information;
and if the first bill information is matched with the second bill information, sending the second bill information of the bills on the chain to the terminal equipment, wherein the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
In a second aspect, an embodiment of the present invention provides another bill validation method based on a blockchain network, which is applied to a terminal device, and the method includes:
acquiring first bill information of a bill to be reimbursed by scanning a graphic code of the bill to be reimbursed;
sending a bill verification request to a node of the block chain network, wherein the bill verification request carries first bill information of the bill to be reimbursed, and the bill verification request is used for indicating the node of the block chain network to inquire second bill information of a bill on a chain corresponding to the bill to be reimbursed in a block chain according to the first bill information;
receiving second bill information of the bills on the chain sent by the node of the block chain network under the condition that the first bill information is determined to be matched with the second bill information;
and outputting second bill information of the bills on the chain, wherein the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
In a third aspect, an embodiment of the present invention provides a bill validation device, where the bill validation device includes:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a bill verification request sent by terminal equipment, the bill verification request carries first bill information of a bill to be reimbursed, and the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal equipment;
the query module is used for querying second bill information of a bill on a chain corresponding to the bill to be reimbursed from a block chain of a block chain network according to the first bill information;
and the first sending module is used for sending the second bill information of the bills on the chain to the terminal equipment if the first bill information is matched with the second bill information, and the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
In a fourth aspect, an embodiment of the present invention provides another bill validation device, where the device includes:
the second acquisition module is used for acquiring the first bill information of the bill to be reimbursed by scanning the graphic code of the bill to be reimbursed;
a second sending module, configured to send a bill validation request to a node of a blockchain network, where the bill validation request carries first bill information of a bill to be reimbursed, and the bill validation request is used to instruct the node of the blockchain network to query, according to the first bill information, second bill information of a bill on a chain corresponding to the bill to be reimbursed in a blockchain;
a receiving module, configured to receive second ticket information of a ticket on the chain sent by a node of the block chain network when it is determined that the first ticket information matches the second ticket information;
and the output module is used for outputting second bill information of the bills on the chain, and the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
In a fifth aspect, an embodiment of the present invention provides a node, where the node includes: a processor and a memory, the processor to perform:
acquiring a bill verification request sent by terminal equipment, wherein the bill verification request carries first bill information of a bill to be reimbursed, and the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal equipment;
inquiring second bill information of a bill on a chain corresponding to the bill to be reimbursed from a block chain of a block chain network according to the first bill information;
and if the first bill information is matched with the second bill information, sending the second bill information of the bills on the chain to the terminal equipment, wherein the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
In a sixth aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes: a processor and a memory, the processor to perform:
acquiring first bill information of a bill to be reimbursed by scanning a graphic code of the bill to be reimbursed;
sending a bill verification request to a node of a block chain network, wherein the bill verification request carries first bill information of a bill to be reimbursed, and the bill verification request is used for indicating the node of the block chain network to inquire second bill information of a bill on a chain corresponding to the bill to be reimbursed in a block chain according to the first bill information;
receiving second bill information of the bills on the chain sent by the node of the block chain network under the condition that the first bill information is determined to be matched with the second bill information;
and outputting second bill information of the bills on the chain, wherein the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
In a seventh aspect, the present invention further provides a computer-readable storage medium, where program instructions are stored, and when executed, the program instructions are configured to implement the method according to the first aspect or the second aspect.
The method and the device can obtain the bill verification request sent by the terminal device, wherein the bill verification request carries first bill information of a bill to be reimbursed, the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal device, second bill information of a bill on a chain corresponding to the bill to be reimbursed is inquired from a block chain of a block chain network according to the first bill information, if the first bill information is matched with the second bill information, the second bill information of the bill on the chain can be sent to the terminal device, and the second bill information of the bill on the chain is used for verifying the bill to be reimbursed. By the implementation mode, the authenticity of the bill is automatically and intelligently verified, and the credibility of the bill verification result is greatly improved based on the characteristic that the bill information on the block chain cannot be tampered.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1a is a schematic structural diagram of a bill validation system according to an embodiment of the present invention;
fig. 1b is a schematic structural diagram of a block chain according to an embodiment of the present invention;
FIG. 1c is a schematic diagram of a process for generating a new block according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a bill validation method based on a blockchain network according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another method for validating a bill based on a blockchain network according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a bill validation interaction method based on a blockchain network according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a bill validator according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a bill validator according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a node according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all 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 invention.
The bill verification method based on the blockchain network provided by the embodiment of the invention can be applied to a bill verification system, and in some embodiments, the bill verification system comprises terminal equipment and a blockchain platform. In some embodiments, the terminal device may establish a communication connection with a blockchain platform. In some embodiments, the manner of the Communication connection may include, but is not limited to, Wi-Fi, Bluetooth, Near Field Communication (NFC), and the like.
The bill validation system provided by the embodiment of the invention is schematically described below with reference to fig. 1a to fig. 1 c.
Referring to fig. 1a, fig. 1a is a schematic structural diagram of a bill validation system according to an embodiment of the present invention. The bill validation system includes: a block chain platform 11 and a terminal device 12. In some embodiments, the blockchain platform 11 and the terminal device 12 may establish a communication connection through a wireless communication connection; in some scenarios, the blockchain platform 11 and the terminal device 12 may also establish a communication connection through a wired communication connection. In some embodiments, the terminal device 12 may include, but is not limited to, a smart terminal device such as a smart phone, a tablet computer, a laptop computer, a desktop computer, an in-vehicle smart terminal, and a smart watch.
In one embodiment, the blockchain platform 11 refers to a network for performing data sharing between nodes, and the blockchain platform may include a plurality of nodes 111. Each node 111 may receive input information and maintain shared data (i.e., blockchains) within the blockchain platform based on the received input information while operating normally. In order To ensure information intercommunication in the blockchain platform, information connection may exist between each node, and Peer-To-Peer (Peer To Peer, P2P) communication may be implemented between any two nodes, and specifically, P2P communication may be performed through a wired communication link or a wireless communication link. For example, when any node in the blockchain platform receives input information, other nodes acquire the input information according to a consensus algorithm, and store the input information as data in shared data, so that the data stored on all nodes in the blockchain platform are consistent.
Terminal device 12 may access the blockchain platform 11 and may communicate with nodes in the blockchain platform 11. It should be noted that the number of nodes shown in fig. 1a is only illustrative, and any number of nodes may be deployed according to actual needs.
Each node in the blockchain platform 11 has a corresponding node identifier, and each node in the blockchain platform 11 may store node identifiers of other nodes in the blockchain platform, so that the generated block is broadcast to other nodes in the blockchain platform according to the node identifiers of other nodes in the blockchain platform. Each node may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an Internet Protocol (IP) address or any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
TABLE 1
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node N 119.123.789.258
Wherein each node in the blockchain platform stores one identical blockchain. The block chain is composed of a plurality of blocks, and referring to fig. 1b, fig. 1b is a schematic structural diagram of a block chain according to an embodiment of the present invention. The block chain is composed of a plurality of blocks, the starting block comprises a block head and a block main body, the block head stores an input information characteristic value, a version number, a timestamp and a difficulty value, and the block main body stores input information; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the input information in the block is ensured.
When generating each block in the block chain, referring to fig. 1c, fig. 1c is a schematic diagram of a process for generating a new block according to an embodiment of the present invention. When the node where the block chain is located receives input information, verifying the input information, storing the input information into a memory pool after the verification is completed, and updating a hash tree for recording the input information; and then, updating the updating time stamp to the time when the input information is received, trying different random numbers, and calculating the characteristic value for multiple times, so that the calculated characteristic value can meet the following formula:
SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET
wherein, SHA256 is a characteristic value algorithm used for calculating a characteristic value; version is version information of the relevant block protocol in the block chain; prev _ hash is a block head characteristic value of a parent block of the current block; merkle _ root is a characteristic value of the input information; ntime is the update time of the update timestamp; nbits is the current difficulty, is a fixed value within a period of time, and is determined again after exceeding a fixed time period; x is a random number; TARGET is a feature threshold, which can be determined from nbits.
Therefore, when the random number meeting the formula is obtained through calculation, the information can be correspondingly stored, and the block head and the block main body are generated to obtain the current block. And then, the node where the block chain is located respectively sends the newly generated blocks to other nodes in the block chain platform where the newly generated blocks are located according to the node identifications of the other nodes in the block chain platform, the newly generated blocks are verified by the other nodes, and the newly generated blocks are added to the block chain stored in the newly generated blocks after the verification is completed.
The nodes of the blockchain platform 11 may run an intelligent contract, the intelligent contract is implemented by a code executed when a certain condition is satisfied, and a developer may define a contract logic through a programming language, issue the contract logic to the blockchain (intelligent contract registration), call a key or trigger execution of other events according to the logic of contract terms, complete the contract logic, and provide functions of upgrading and deregistering the intelligent contract.
The method for validating a bill based on a block chain network according to an embodiment of the present invention is schematically described below with reference to the accompanying drawings.
Referring to fig. 2 specifically, fig. 2 is a schematic flowchart of a bill validation method based on a blockchain network according to an embodiment of the present invention, where the bill validation method based on a blockchain network according to an embodiment of the present invention may be executed by a bill validation device, where the bill validation device is disposed in a node of the blockchain network, and a specific explanation of the node is as described above. Specifically, the method of the embodiment of the present invention includes the following steps.
S201: acquiring a bill verification request sent by terminal equipment, wherein the bill verification request carries first bill information of a bill to be reimbursed, and the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal equipment.
In the embodiment of the invention, a node can obtain a bill verification request sent by a terminal device, wherein the bill verification request carries first bill information of a bill to be reimbursed, and the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal device. In certain embodiments, the graphical code includes, but is not limited to, a two-dimensional code, a bar code, and the like. In some embodiments, the ticket to be reimbursed may be an electronic ticket or a paper ticket, and the embodiments of the present invention are not limited in particular.
In some embodiments, the first ticket information may be sent by scanning, by the scanning device, the graphic code of the ticket to be reimbursed by the other terminal device acquired by the terminal device. In some embodiments, the first ticket information may be obtained by the terminal device scanning a graphic code of a ticket to be issued through a scanning device. In an embodiment, the first ticket information may be obtained by identifying the graphic code when the terminal device detects a pressing operation for the graphic code and a pressing duration of the pressing operation reaches a preset duration. In other embodiments, the first ticket information may also be obtained in other manners in the embodiments of the present invention, which is not limited herein.
S202: and inquiring second bill information of the bills on the chain corresponding to the bills to be reimbursed from the block chain of the block chain network according to the first bill information.
In the embodiment of the present invention, the node may query, according to the first ticket information, second ticket information of a ticket on a chain corresponding to the ticket to be reimbursed from a block chain of a block chain network.
In one embodiment, the first ticket information comprises a hash value of the outstanding ticket; when the node queries the second ticket information of the on-chain ticket corresponding to the to-be-reimbursed ticket from the block chain of the block chain network according to the first ticket information, the node may query the on-chain ticket corresponding to the hash value from the block chain of the block chain network, and obtain the second ticket information of the on-chain ticket stored in the block chain. In some embodiments, the second ticket information includes, but is not limited to, a ticket number, a check code, biller information, payee information, a ticket amount, a ticket tax, and the like.
S203: and if the first bill information is matched with the second bill information, sending the second bill information of the bills on the chain to the terminal equipment, wherein the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
In the embodiment of the present invention, if the first ticket information matches the second ticket information, the node may send the second ticket information of the linked ticket to the terminal device, where the second ticket information of the linked ticket is used to verify the to-be-reimbursed ticket.
In one embodiment, the first ticket information comprises a ticket number and a check code of the to-be-reimbursed ticket, and the second ticket information comprises a ticket number and a check code of the on-chain ticket; the node may compare the first ticket information with the second ticket information before sending the second ticket information of the ticket on the chain to the terminal device if the first ticket information is matched with the second ticket information, and determine that the first ticket information is matched with the second ticket information if the ticket number and the check code of the ticket to be reimbursed are both correspondingly consistent with the ticket number and the check code of the ticket on the chain.
In one embodiment, a node, when comparing the first ticket information to the second ticket information, the bill number of the bill to be reimbursed included in the first bill information is compared with the bill number of the bill on the chain included in the second bill information, and comparing the check code of the to-be-reimbursed bill included in the first bill information with the check code of the bill on the chain included in the second bill information, if the comparison result of the first bill information and the second bill information is consistent, the first bill information is determined to be matched with the second bill information, the second bill information is sent to the terminal equipment, the second bill information sent to the terminal equipment comprises the bill number and the check code of the bill on the chain and information of all other bills on the bill on the chain, such as information of a bill making party, information of a bill receiving party, bill amount, bill tax and the like.
It can be seen that the bill number of the bill to be reimbursed included in the first bill information and the second bill information are included to compare the bill number of the bill on the chain, and the check code of the bill to be reimbursed included in the first bill information and the second bill information are included to compare the check code of the bill on the chain, so that the bill on the chain which is matched with the bill number and the check code of the bill to be reimbursed can be determined to exist on the block chain. After determining that the chain bill matched with the bill number and the check code of the bill to be reimbursed exists, sending second bill information of the chain bill to the terminal device for verification, and helping the terminal device or a user corresponding to the terminal device to compare the first bill information of the bill to be reimbursed with the second bill information of the bill on the chain, if the comparison result is consistent, determining that the bill to be reimbursed is a real bill, and if the comparison result is inconsistent, determining that the bill to be reimbursed is a false bill.
In one embodiment, after the node sends the second ticket information of the ticket on the chain to the terminal device, the terminal device may output and display the second ticket information of the ticket on the chain on a display interface of the terminal device, and the user may compare the second ticket information output on the display interface with the first ticket information of the ticket to be released, and if the comparison result is inconsistent, the user may execute a confirmation operation on the terminal device for the ticket to be released as a false ticket, so that the terminal device sends a notification message that the ticket to be released is a false ticket to the node of the block chain network. The mode that the user of the terminal equipment compares the second bill information of the bills on the chain with the first bill information of the bills to be reimbursed can determine whether the bills to be reimbursed are real bills or not.
In one embodiment, after the node sends the second ticket information of the ticket on the chain to the terminal device, the terminal device may compare the second ticket information of the ticket on the chain with the first ticket information of the ticket to be released, determine that the ticket to be released is a real ticket if the comparison result is consistent, determine that the ticket to be released is a false ticket if the comparison result of the second ticket information of the ticket on the chain and the first ticket information of the ticket to be released is inconsistent, and send a notification message that the ticket to be released is a false ticket to the node of the block chain network. And comparing the second bill information of the bill on the chain with the first bill information of the bill to be reimbursed through the terminal equipment, and determining whether the bill to be reimbursed is a real bill.
In one embodiment, after sending the second ticket information of the ticket on the chain to the terminal device, the node may receive a notification message that the ticket to be issued is a false ticket sent by the terminal device after detecting that the ticket to be issued is a false ticket, and write the ticket to be issued as a false ticket and the first ticket information of the ticket to be issued into the block chain.
In one embodiment, if the first ticket information does not match the second ticket information, the node may send a notification message to the terminal device that the ticket to be reimbursed is a false ticket. In one embodiment, if the node detects that the bill number and the check code of the to-be-printed bill are not consistent with those of the bills on the chain, it determines that the first bill information is not matched with the second bill information, and sends a notification message that the to-be-printed bill is a false bill to the terminal device.
The method and the device can obtain the bill verification request sent by the terminal device, wherein the bill verification request carries first bill information of a bill to be reimbursed, the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal device, second bill information of a bill on a chain corresponding to the bill to be reimbursed is inquired from a block chain of a block chain network according to the first bill information, if the first bill information is matched with the second bill information, the second bill information of the bill on the chain can be sent to the terminal device, and the second bill information of the bill on the chain is used for verifying the bill to be reimbursed. By the implementation mode, the authenticity of the bill is automatically and intelligently verified, and the credibility of the bill verification result is greatly improved based on the characteristic that the bill information on the block chain cannot be tampered.
Referring to fig. 3 specifically, fig. 3 is a schematic flowchart of another block chain network-based ticket validation method according to an embodiment of the present invention, where the block chain network-based ticket validation method according to the embodiment of the present invention may be executed by a ticket validation device, where the ticket validation device is disposed in a terminal device, and a specific explanation of the terminal device is as described above. Specifically, the method of the embodiment of the present invention includes the following steps.
S301: and acquiring first bill information of the bill to be reimbursed by scanning the graphic code of the bill to be reimbursed.
In the embodiment of the invention, the terminal equipment can acquire the first bill information of the to-be-reimbursed bill by scanning the graphic code of the to-be-reimbursed bill. In some embodiments, the graphic code includes, but is not limited to, a two-dimensional code, a barcode, and the like, and in some embodiments, the explanation of the first ticket information is as described above, and is not repeated here.
In one embodiment, when the terminal device obtains the first bill information of the to-be-reimbursed bill by scanning the graphic code of the to-be-reimbursed bill, the terminal device may obtain the to-be-reimbursed bill and output the graphic code of the to-be-reimbursed bill, and if the pressing operation aiming at the graphic code is detected and the pressing duration of the pressing operation reaches the preset duration, the terminal device may identify the graphic code to obtain the first bill information of the to-be-reimbursed bill.
For example, when acquiring a to-be-reimbursed bill, a terminal device may output a two-dimensional code of the to-be-reimbursed bill, a user of the terminal device may press the two-dimensional code, and if the terminal device detects the press operation for the two-dimensional code and the press duration of the press operation reaches a preset duration of 2s, the terminal device may identify the two-dimensional code to acquire first bill information of the to-be-reimbursed bill.
S302: and sending a bill verification request to a node of a block chain network, wherein the bill verification request carries first bill information of the bill to be reimbursed, and the bill verification request is used for indicating the node of the block chain network to inquire second bill information of a bill on a chain corresponding to the bill to be reimbursed in the block chain according to the first bill information.
In the embodiment of the present invention, a terminal device may send a bill validation request to a node of a blockchain network, where the bill validation request carries first bill information of a to-be-reported bill, and the bill validation request is used to instruct the node of the blockchain network to query, according to the first bill information, second bill information of a linked bill corresponding to the to-be-reported bill in a blockchain. In some embodiments, the explanation of the second ticket information is as described above and is not described herein.
S303: and receiving second bill information of the bills on the chain sent by the node of the block chain network under the condition that the first bill information is determined to be matched with the second bill information.
In this embodiment of the present invention, the terminal device may receive second ticket information of the ticket on the chain sent by the node of the block chain network when it is determined that the first ticket information matches the second ticket information.
In one embodiment, after receiving second ticket information of a ticket on a chain sent by a node of the blockchain network under the condition that the first ticket information is determined to be matched with the second ticket information, if a confirmation operation for the ticket to be released as a false ticket is detected, a terminal device may send a notification message that the ticket to be released is a false ticket to the node of the blockchain network, so that the node of the blockchain network writes the ticket to be released as the false ticket and the first ticket information of the ticket to be released into the blockchain.
S304: and outputting second bill information of the bills on the chain, wherein the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
In the embodiment of the invention, the terminal equipment can output the second bill information of the bills on the chain, and the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
In the embodiment of the invention, the first bill information of the bill to be reimbursed is obtained by scanning the graphic code of the bill to be reimbursed, and a bill verification request is sent to the node of the block chain network, wherein the bill verification request carries the first bill information of the bill to be reimbursed, and is used for indicating the node of the block chain network to inquire the second bill information of the bill on the chain corresponding to the bill to be reimbursed in the block chain according to the first bill information so as to receive the second bill information of the bill on the chain sent by the node of the block chain network under the condition that the first bill information is matched with the second bill information, and output the second bill information of the bill on the chain, and the second bill information of the bill on the chain is used for verifying the bill to be reimbursed. By the implementation mode, the authenticity of the bill is automatically and intelligently verified, and the credibility of the bill verification result is greatly improved based on the characteristic that the bill information on the block chain cannot be tampered.
Specifically, referring to fig. 4, fig. 4 is a schematic flowchart of a bill validation interaction method based on a blockchain network according to an embodiment of the present invention, where the bill validation interaction method based on a blockchain network according to an embodiment of the present invention may be executed by a bill validation system, where the bill validation system includes a blockchain platform and a terminal device, and the blockchain platform includes a node. Specifically, the method of the embodiment of the present invention includes the following steps.
S401: the terminal equipment obtains first bill information of the bill to be reimbursed by scanning the graphic code of the bill to be reimbursed.
In the embodiment of the invention, the terminal equipment can acquire the first bill information of the to-be-reimbursed bill by scanning the graphic code of the to-be-reimbursed bill.
S402: and the terminal equipment sends a bill verification request to a node of the blockchain network, wherein the bill verification request carries first bill information of the to-be-reimbursed bill.
In the embodiment of the present invention, the terminal device may send a bill validation request to a node of the block chain network, where the bill validation request carries the first bill information of the to-be-reimbursed bill.
S403: and the node acquires a bill verification request sent by the terminal equipment, and inquires second bill information of a bill on the chain corresponding to the bill to be reimbursed from the block chain of the block chain network according to the first bill information.
In the embodiment of the invention, the node can acquire the bill verification request sent by the terminal equipment and inquire the second bill information of the bill on the chain corresponding to the bill to be reimbursed from the block chain of the block chain network according to the first bill information.
S404: and if the first bill information is matched with the second bill information, the node sends the second bill information of the bills on the chain to the terminal equipment.
In the embodiment of the present invention, if the first ticket information matches the second ticket information, the node may send the second ticket information of the ticket on the chain to the terminal device.
S405: and the terminal equipment receives second bill information of the bills on the chain sent by the node of the block chain network under the condition that the first bill information is determined to be matched with the second bill information.
In this embodiment of the present invention, the terminal device may receive second ticket information of the ticket on the chain sent by the node of the block chain network when it is determined that the first ticket information matches the second ticket information.
S406: and the terminal equipment outputs second bill information of the bills on the chain, and the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
In the embodiment of the invention, the terminal equipment can output the second bill information of the bills on the chain, and the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
S407: and if the terminal equipment detects that the ticket to be reimbursed is a false ticket, sending a notification message that the ticket to be reimbursed is a false ticket to the node of the block chain network.
In the embodiment of the present invention, if the terminal device detects a confirmation operation that the to-be-posted ticket is a false ticket, a notification message that the to-be-posted ticket is a false ticket may be sent to a node of the block chain network.
S408: and the node writes the to-be-reported bill as a false bill and the first bill information of the to-be-reported bill into the block chain.
In the embodiment of the present invention, a node may write the to-be-posted ticket as a dummy ticket and first ticket information of the to-be-posted ticket into the block chain.
The method and the device can obtain the bill verification request sent by the terminal device, wherein the bill verification request carries first bill information of a bill to be reimbursed, the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal device, second bill information of a bill on a chain corresponding to the bill to be reimbursed is inquired from a block chain of a block chain network according to the first bill information, if the first bill information is matched with the second bill information, the second bill information of the bill on the chain can be sent to the terminal device, and the second bill information of the bill on the chain is used for verifying the bill to be reimbursed. By the implementation mode, the authenticity of the bill is automatically and intelligently verified, and the credibility of the bill verification result is greatly improved based on the characteristic that the bill information on the block chain cannot be tampered.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a bill validation device according to an embodiment of the present invention. Specifically, the apparatus is disposed in a node of a block chain network, and the apparatus includes: a first obtaining module 501, a query module 502 and a first sending module 503;
a first obtaining module 501, configured to obtain a ticket verification request sent by a terminal device, where the ticket verification request carries first ticket information of a ticket to be reimbursed, and the first ticket information is obtained by scanning a graphic code of the ticket to be reimbursed by the terminal device;
a query module 502, configured to query, according to the first ticket information, second ticket information of a ticket on a chain corresponding to the ticket to be reimbursed from a block chain of a block chain network;
a first sending module 503, configured to send second ticket information of the tickets on the chain to the terminal device if the first ticket information matches the second ticket information, where the second ticket information of the tickets on the chain is used to verify the tickets to be reimbursed.
Further, the first bill information comprises a hash value of the to-be-reimbursed bill; the query module 502 is specifically configured to, when querying, according to the first ticket information, second ticket information of a ticket on a chain corresponding to the ticket to be reimbursed from a block chain of the block chain network:
inquiring a chain bill corresponding to the hash value from a block chain of the block chain network;
and acquiring second bill information of the bills on the chain stored in the block chain.
Further, the first bill information comprises a bill number and a check code of the bill to be reimbursed, and the second bill information comprises a bill number and a check code of the bill on the chain; the first sending module 503 is further configured to, before sending the second ticket information of the tickets on the chain to the terminal device, if the first ticket information matches the second ticket information:
comparing the first bill information with the second bill information;
and if the bill number and the check code of the bill to be reimbursed correspond to and are consistent with those of the bills on the chain, determining that the first bill information is matched with the second bill information.
Further, after the first sending module 503 sends the second ticket information of the tickets in the chain to the terminal device, the first sending module is further configured to:
receiving a notification message that the ticket to be reimbursed is a false ticket sent by the terminal equipment after detecting that the ticket to be reimbursed is a false ticket;
and writing the to-be-reimbursed bill as a false bill and the first bill information of the to-be-reimbursed bill into the block chain.
Further, the first sending module 503 is further configured to:
and if the first bill information is not matched with the second bill information, sending a notification message that the to-be-reimbursed bill is a false bill to the terminal equipment.
The method and the device can obtain the bill verification request sent by the terminal device, wherein the bill verification request carries first bill information of a bill to be reimbursed, the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal device, second bill information of a bill on a chain corresponding to the bill to be reimbursed is inquired from a block chain of a block chain network according to the first bill information, if the first bill information is matched with the second bill information, the second bill information of the bill on the chain can be sent to the terminal device, and the second bill information of the bill on the chain is used for verifying the bill to be reimbursed. By the implementation mode, the authenticity of the bill is automatically and intelligently verified, and the credibility of the bill verification result is greatly improved based on the characteristic that the bill information on the block chain cannot be tampered.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a bill validation device according to an embodiment of the present invention. Specifically, the apparatus is disposed in a node of a block chain network, and the apparatus includes: a second obtaining module 601, a second sending module 602, a receiving module 603, and an output module 604;
the second obtaining module 601 is configured to obtain first ticket information of a to-be-reimbursed ticket by scanning a graphic code of the to-be-reimbursed ticket;
a second sending module 602, configured to send a bill validation request to a node of a blockchain network, where the bill validation request carries first bill information of the to-be-reported bill, and the bill validation request is used to instruct the node of the blockchain network to query, according to the first bill information, second bill information of a link bill corresponding to the to-be-reported bill in a blockchain;
a receiving module 603, configured to receive second ticket information of a ticket on the chain sent by a node of the block chain network when it is determined that the first ticket information matches the second ticket information;
and the output module 604 is configured to output second ticket information of the tickets in the chain, where the second ticket information of the tickets in the chain is used to verify the tickets to be reimbursed.
Further, the receiving module 603 is further configured to, after receiving the second ticket information of the tickets on the chain sent by the node of the blockchain network and determining that the first ticket information matches the second ticket information, further:
if the confirmation operation aiming at the to-be-reported bill as the false bill is detected, sending a notification message that the to-be-reported bill is the false bill to a node of the block chain network, so that the node of the block chain network writes the to-be-reported bill as the false bill and first bill information of the to-be-reported bill into the block chain.
Further, when the second obtaining module 601 obtains the first ticket information of the to-be-reimbursed ticket by scanning the graphic code of the to-be-reimbursed ticket, the second obtaining module is specifically configured to:
acquiring the bill to be reimbursed and outputting a graphic code of the bill to be reimbursed;
and if the pressing operation aiming at the graphic code is detected and the pressing duration of the pressing operation reaches the preset duration, identifying the graphic code to acquire first bill information of a bill to be reimbursed.
In the embodiment of the invention, the first bill information of the bill to be reimbursed is obtained by scanning the graphic code of the bill to be reimbursed, and a bill verification request is sent to the node of the block chain network, wherein the bill verification request carries the first bill information of the bill to be reimbursed, and is used for indicating the node of the block chain network to inquire the second bill information of the bill on the chain corresponding to the bill to be reimbursed in the block chain according to the first bill information so as to receive the second bill information of the bill on the chain sent by the node of the block chain network under the condition that the first bill information is matched with the second bill information, and output the second bill information of the bill on the chain, and the second bill information of the bill on the chain is used for verifying the bill to be reimbursed. By the implementation mode, the authenticity of the bill is automatically and intelligently verified, and the credibility of the bill verification result is greatly improved based on the characteristic that the bill information on the block chain cannot be tampered.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a node according to an embodiment of the present invention. Specifically, the node includes: memory 701, processor 702.
In one embodiment, the node further comprises a data interface 703, and the data interface 703 is used for transferring data information between the node and other devices.
The memory 701 may include a volatile memory (volatile memory); the memory 701 may also include a non-volatile memory (non-volatile memory); the memory 701 may also comprise a combination of memories of the kind described above. The processor 702 may be a Central Processing Unit (CPU). The processor 702 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
The memory 701 is used for storing programs, and the processor 702 may call the programs stored in the memory 701 to execute the following steps:
acquiring a bill verification request sent by terminal equipment, wherein the bill verification request carries first bill information of a bill to be reimbursed, and the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal equipment;
inquiring second bill information of a bill on a chain corresponding to the bill to be reimbursed from a block chain of a block chain network according to the first bill information;
and if the first bill information is matched with the second bill information, sending the second bill information of the bills on the chain to the terminal equipment, wherein the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
Further, the first bill information comprises a hash value of the to-be-reimbursed bill; when the processor 702 queries, according to the first ticket information, second ticket information of a ticket on a chain corresponding to the ticket to be reimbursed from a block chain of the block chain network, the processor is specifically configured to:
inquiring a chain bill corresponding to the hash value from a block chain of the block chain network;
and acquiring second bill information of the bills on the chain stored in the block chain.
Further, the first bill information comprises a bill number and a check code of the bill to be reimbursed, and the second bill information comprises a bill number and a check code of the bill on the chain; the processor 702 is further configured to, before sending the second ticket information of the on-chain ticket to the terminal device, if the first ticket information matches the second ticket information:
comparing the first bill information with the second bill information;
and if the bill number and the check code of the bill to be reimbursed correspond to and are consistent with those of the bills on the chain, determining that the first bill information is matched with the second bill information.
Further, after the processor 702 sends the second ticket information of the tickets in the chain to the terminal device, the processor is further configured to:
receiving a notification message that the ticket to be reimbursed is a false ticket sent by the terminal equipment after detecting that the ticket to be reimbursed is a false ticket;
and writing the to-be-reimbursed bill as a false bill and the first bill information of the to-be-reimbursed bill into the block chain.
Further, the processor 702 is further configured to:
and if the first bill information is not matched with the second bill information, sending a notification message that the to-be-reimbursed bill is a false bill to the terminal equipment.
The method and the device can obtain the bill verification request sent by the terminal device, wherein the bill verification request carries first bill information of a bill to be reimbursed, the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal device, second bill information of a bill on a chain corresponding to the bill to be reimbursed is inquired from a block chain of a block chain network according to the first bill information, if the first bill information is matched with the second bill information, the second bill information of the bill on the chain can be sent to the terminal device, and the second bill information of the bill on the chain is used for verifying the bill to be reimbursed. By the implementation mode, the authenticity of the bill is automatically and intelligently verified, and the credibility of the bill verification result is greatly improved based on the characteristic that the bill information on the block chain cannot be tampered.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. Specifically, the terminal device includes: memory 801, processor 802.
In one embodiment, the terminal device further includes a data interface 803, and the data interface 803 is used for transferring data information between the terminal device and other devices.
The memory 801 may include a volatile memory (volatile memory); the memory 801 may also include a non-volatile memory (non-volatile memory); the memory 801 may also comprise a combination of memories of the kind described above. The processor 802 may be a Central Processing Unit (CPU). The processor 802 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
The memory 801 is used for storing programs, and the processor 802 can call the programs stored in the memory 801 for executing the following steps:
acquiring first bill information of a bill to be reimbursed by scanning a graphic code of the bill to be reimbursed;
sending a bill verification request to a node of a block chain network, wherein the bill verification request carries first bill information of a bill to be reimbursed, and the bill verification request is used for indicating the node of the block chain network to inquire second bill information of a bill on a chain corresponding to the bill to be reimbursed in a block chain according to the first bill information;
receiving second bill information of the bills on the chain sent by the node of the block chain network under the condition that the first bill information is determined to be matched with the second bill information;
and outputting second bill information of the bills on the chain, wherein the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
Further, the processor 802 is further configured to, after receiving the second ticket information of the tickets on the chain sent by the node of the blockchain network in case that it is determined that the first ticket information matches the second ticket information, further:
if the confirmation operation aiming at the to-be-reported bill as the false bill is detected, sending a notification message that the to-be-reported bill is the false bill to a node of the block chain network, so that the node of the block chain network writes the to-be-reported bill as the false bill and first bill information of the to-be-reported bill into the block chain.
Further, when the processor 802 obtains the first ticket information of the to-be-reimbursed ticket by scanning the graphic code of the to-be-reimbursed ticket, the processor is specifically configured to:
acquiring the bill to be reimbursed and outputting a graphic code of the bill to be reimbursed;
and if the pressing operation aiming at the graphic code is detected and the pressing duration of the pressing operation reaches the preset duration, identifying the graphic code to acquire first bill information of a bill to be reimbursed.
In the embodiment of the invention, the first bill information of the bill to be reimbursed is obtained by scanning the graphic code of the bill to be reimbursed, and a bill verification request is sent to the node of the block chain network, wherein the bill verification request carries the first bill information of the bill to be reimbursed, and is used for indicating the node of the block chain network to inquire the second bill information of the bill on the chain corresponding to the bill to be reimbursed in the block chain according to the first bill information so as to receive the second bill information of the bill on the chain sent by the node of the block chain network under the condition that the first bill information is matched with the second bill information, and output the second bill information of the bill on the chain, and the second bill information of the bill on the chain is used for verifying the bill to be reimbursed. By the implementation mode, the authenticity of the bill is automatically and intelligently verified, and the credibility of the bill verification result is greatly improved based on the characteristic that the bill information on the block chain cannot be tampered.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method described in the embodiment corresponding to fig. 2, fig. 3, or fig. 4 of the present invention, and may also implement the apparatus in the embodiment corresponding to the present invention described in fig. 5 or fig. 6, which is not described herein again.
The computer readable storage medium may be an internal storage unit of the device according to any of the foregoing embodiments, for example, a hard disk or a memory of the device. The computer readable storage medium may also be an external storage device of the device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the device. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the apparatus. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal device. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A bill verification method based on a blockchain network is applied to a node of the blockchain network, and the method comprises the following steps:
acquiring a bill verification request sent by terminal equipment, wherein the bill verification request carries first bill information of a bill to be reimbursed, and the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal equipment;
inquiring second bill information of a bill on a chain corresponding to the bill to be reimbursed from a block chain of the block chain network according to the first bill information;
and if the first bill information is matched with the second bill information, sending the second bill information of the bills on the chain to the terminal equipment, wherein the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
2. The method of claim 1, wherein the first ticket information comprises a hash value of the outstanding ticket; the querying, according to the first ticket information, second ticket information of a ticket on a chain corresponding to the ticket to be reimbursed from a block chain of the block chain network includes:
inquiring a chain bill corresponding to the hash value from a block chain of the block chain network;
and acquiring second bill information of the bills on the chain stored in the block chain.
3. The method of claim 2, wherein the first ticket information comprises a ticket number and a check code of the ticket to be reimbursed, and the second ticket information comprises a ticket number and a check code of the ticket on the chain; before sending the second ticket information of the ticket on the chain to the terminal device if the first ticket information is matched with the second ticket information, the method further includes:
comparing the first bill information with the second bill information;
and if the bill number and the check code of the bill to be reimbursed correspond to and are consistent with those of the bills on the chain, determining that the first bill information is matched with the second bill information.
4. The method of claim 3, wherein after sending the second ticket information of the tickets in the chain to the terminal device, further comprising:
receiving a notification message that the ticket to be reimbursed is a false ticket sent by the terminal equipment after detecting that the ticket to be reimbursed is a false ticket;
and writing the to-be-reimbursed bill as a false bill and the first bill information of the to-be-reimbursed bill into the block chain.
5. The method of claim 1, further comprising:
and if the first bill information is not matched with the second bill information, sending a notification message that the to-be-reimbursed bill is a false bill to the terminal equipment.
6. A bill verification method based on a block chain network is applied to a terminal device, and the method comprises the following steps:
acquiring first bill information of a bill to be reimbursed by scanning a graphic code of the bill to be reimbursed;
sending a bill verification request to a node of the block chain network, wherein the bill verification request carries first bill information of the bill to be reimbursed, and the bill verification request is used for indicating the node of the block chain network to inquire second bill information of a bill on a chain corresponding to the bill to be reimbursed in a block chain according to the first bill information;
receiving second bill information of the bills on the chain sent by the node of the block chain network under the condition that the first bill information is determined to be matched with the second bill information;
and outputting second bill information of the bills on the chain, wherein the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
7. The method of claim 6, wherein the node receiving the blockchain network, after determining that the first ticket information matches the second ticket information, sends the second ticket information for the on-chain ticket, further comprising:
if the confirmation operation aiming at the to-be-reported bill as the false bill is detected, sending a notification message that the to-be-reported bill is the false bill to a node of the block chain network, so that the node of the block chain network writes the to-be-reported bill as the false bill and first bill information of the to-be-reported bill into the block chain.
8. The method of claim 6, wherein the obtaining the first ticket information of the ticket to be issued by scanning the graphic code of the ticket to be issued comprises:
acquiring the bill to be reimbursed and outputting a graphic code of the bill to be reimbursed;
and if the pressing operation aiming at the graphic code is detected and the pressing duration of the pressing operation reaches the preset duration, identifying the graphic code to acquire first bill information of a bill to be reimbursed.
9. A document validator, the apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a bill verification request sent by terminal equipment, the bill verification request carries first bill information of a bill to be reimbursed, and the first bill information is obtained by scanning a graphic code of the bill to be reimbursed by the terminal equipment;
the query module is used for querying second bill information of a bill on a chain corresponding to the bill to be reimbursed from a block chain of a block chain network according to the first bill information;
and the first sending module is used for sending the second bill information of the bills on the chain to the terminal equipment if the first bill information is matched with the second bill information, and the second bill information of the bills on the chain is used for verifying the bills to be reimbursed.
10. A computer-readable storage medium, having stored thereon program instructions for implementing the method of any one of claims 1-8 when executed.
CN202010076748.5A 2020-01-22 2020-01-22 Bill verification method and device based on block chain network and storage medium Pending CN111275462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010076748.5A CN111275462A (en) 2020-01-22 2020-01-22 Bill verification method and device based on block chain network and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010076748.5A CN111275462A (en) 2020-01-22 2020-01-22 Bill verification method and device based on block chain network and storage medium

Publications (1)

Publication Number Publication Date
CN111275462A true CN111275462A (en) 2020-06-12

Family

ID=71001917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010076748.5A Pending CN111275462A (en) 2020-01-22 2020-01-22 Bill verification method and device based on block chain network and storage medium

Country Status (1)

Country Link
CN (1) CN111275462A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325812A (en) * 2018-08-24 2019-02-12 深圳市智税链科技有限公司 About the data processing method of electronic bill, device, storage medium and equipment
US20190244186A1 (en) * 2017-03-10 2019-08-08 Tencent Technology (Shenzhen) Company Limited Electronic bill management method, apparatus, and storage medium
CN110458562A (en) * 2019-08-08 2019-11-15 腾讯科技(深圳)有限公司 Bill method of charging out, device and equipment and computer storage medium
CN110599207A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Invoice verification method, invoice verification device, invoice verification server and storage medium
CN110597886A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190244186A1 (en) * 2017-03-10 2019-08-08 Tencent Technology (Shenzhen) Company Limited Electronic bill management method, apparatus, and storage medium
CN109325812A (en) * 2018-08-24 2019-02-12 深圳市智税链科技有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN110458562A (en) * 2019-08-08 2019-11-15 腾讯科技(深圳)有限公司 Bill method of charging out, device and equipment and computer storage medium
CN110599207A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Invoice verification method, invoice verification device, invoice verification server and storage medium
CN110597886A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device and computer storage medium

Similar Documents

Publication Publication Date Title
CN107396360B (en) Block verification method and device
US11562375B2 (en) Blockchain-based data verification method, apparatus, and electronic device
CN110442652B (en) Cross-chain data processing method and device based on block chain
CN111343142B (en) Data processing method and device based on block chain network and storage medium
CN110866289B (en) Block chain-based data processing method, device, server and storage medium
CN110543488B (en) Verification node updating method, device and equipment
CN110599349A (en) Data processing method based on block chain network, related equipment and storage medium
CN111507717B (en) Data processing method, device, block node and computer readable storage medium
CN111314172B (en) Block chain-based data processing method, device, equipment and storage medium
CN110599346A (en) Block chain information acquisition method and related equipment
CN110601896B (en) Data processing method and equipment based on block chain nodes
CN110222535B (en) Processing device, method and storage medium for block chain configuration file
CN111488626A (en) Data processing method, device, equipment and medium based on block chain
CN111488372A (en) Data processing method, device and storage medium
CN110738471A (en) bill management method based on block chain network and related equipment
CN110955724A (en) Data processing method and device based on block chain, node equipment and storage medium
CN110599267A (en) Electronic invoice billing method and device, computer readable storage medium and computer equipment
CN110175833B (en) Computer device, method, system and medium for binding bank card information
CN111325586B (en) Bill generation method, device, server and medium based on block chain network
CN113806816A (en) Electronic file management method and device based on block chain and electronic equipment
CN110599133B (en) Data processing method, device and storage medium based on blockchain network
CN110598479A (en) Data processing method and device and computer readable storage medium
CN110597886A (en) Data processing method and device and computer storage medium
CN111552989A (en) Service data processing method, device, equipment and storage medium based on block chain
CN114710297B (en) Block chain evidence storing method, device and equipment based on aggregated signature and storage medium

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

Country of ref document: HK

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