CN110084655B - Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium - Google Patents

Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium Download PDF

Info

Publication number
CN110084655B
CN110084655B CN201910368302.7A CN201910368302A CN110084655B CN 110084655 B CN110084655 B CN 110084655B CN 201910368302 A CN201910368302 A CN 201910368302A CN 110084655 B CN110084655 B CN 110084655B
Authority
CN
China
Prior art keywords
bill
electronic bill
electronic
address
node device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910368302.7A
Other languages
Chinese (zh)
Other versions
CN110084655A (en
Inventor
戴传兵
蔡弋戈
秦青
张懿方
洪晓雯
郭鹏
张建俊
郑罗海
史俊杰
周王胜
藏军
冯士乘
唐子超
陈湖佳
郭明远
王宗友
刘攀
张劲松
朱耿良
时一防
丁勇
周开班
刘区城
陈秋平
杨常青
蓝虎
孔利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910866057.2A priority Critical patent/CN110599265B/en
Priority to CN201910368302.7A priority patent/CN110084655B/en
Publication of CN110084655A publication Critical patent/CN110084655A/en
Application granted granted Critical
Publication of CN110084655B publication Critical patent/CN110084655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/407Cancellation of a transaction
    • 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/123Tax preparation or submission

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an electronic bill processing method, an electronic bill processing device, computer equipment and a computer storage medium, and belongs to the technical field of blockchain. According to the method, the generated second electronic bill is sent to the first address, the first electronic bill is transferred to the first address, the first electronic bill in the first address is voided, and the second electronic bill is output, so that the process of processing the electronic bill does not need to interact with each mechanism offline by a consumer, but directly uses an online process to regenerate the electronic bill, the participation process of the consumer is reduced, namely, the process of issuing the electronic bill is simplified.

Description

Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a method and apparatus for processing an electronic ticket, a computer device, and a computer storage medium.
Background
After a transaction is completed between the consumer and the merchant, the merchant can issue a blue invoice to the consumer to prove the transaction, but when the consumer finds that the information on the blue invoice is wrong or the consumer needs to issue a red invoice to the merchant to perform red punching on the wrong blue invoice.
At present, the red invoice issuing can be the following process: when the consumer finds that the content on the blue invoice is wrong, the consumer submits an application of issuing an invoice red-punching certificate to the tax authority, and when the tax authority passes the application verification submitted by the consumer, the tax authority issues an invoice red-punching certificate to the consumer, the consumer gives the invoice red-punching certificate to the merchant so as to apply for red-punching of the wrong blue invoice to the merchant, the merchant issues a red invoice according to the invoice red-punching certificate, and then issues a correct blue invoice to the consumer again, and the invoice red-punching certificate is pasted on a first link (stub link) of the red invoice for verification.
In the process of issuing the red invoice, the consumer needs to apply for the invoice red-punching evidence to the tax authority, and also needs to apply for red-punching to the wrong blue invoice to the merchant again, so that the consumer needs to perform a plurality of processes, the merchant can issue the red invoice, and the process of issuing the red invoice is too complex for the consumer.
Disclosure of Invention
The embodiment of the invention provides an electronic bill processing method, an electronic bill processing device, computer equipment and a computer storage medium, which can solve the problem that the flow is too complex when a consumer issues a red invoice. The technical scheme is as follows:
In one aspect, there is provided an electronic bill processing method, the method including:
receiving an electronic bill processing request, wherein the electronic bill processing request carries a bill identifier and a processing type of a first electronic bill;
generating a second electronic ticket in a blockchain system based on the first electronic ticket indicated by the ticket identification and the processing type;
sending the second electronic bill to a first address in the blockchain system, wherein the first address is an address for performing multiple signatures based on the supervision node equipment and the bill object of the electronic bill processing request;
adding a first mark to the first electronic bill stored in the first address, and adding a bill identification of the second electronic bill to the first electronic bill stored in the first address, wherein the first mark is used for indicating that the first electronic bill is invalidated;
and adding the bill identification of the first electronic bill into the second electronic bill stored in the first address, and outputting the second electronic bill carrying the bill identification of the first electronic bill.
In another aspect, there is provided an electronic bill handling method, the method including:
Receiving a status marking request, wherein the status marking request is used for indicating bill transfer and marking;
transferring the first electronic bill stored in the second address to a first address in a blockchain system, and adding the second mark to the first electronic bill which does not carry the mark, wherein the second mark is used for indicating that the first electronic bill is to be invalidated;
and sending an identification success response, wherein the marking success response is used for indicating that the first electronic bill in the first address is added with a second marking.
In another aspect, there is provided an electronic bill handling apparatus, the apparatus comprising:
the receiving module is used for receiving an electronic bill processing request, wherein the electronic bill processing request carries a bill identifier and a processing type of a first electronic bill;
a generation module for generating a second electronic ticket in a blockchain system based on the first electronic ticket indicated by the ticket identification and the processing type;
the sending module is used for sending the second electronic bill to a first address in the blockchain system, wherein the first address is an address for performing multiple signatures based on the supervision node equipment and the bill object of the electronic bill processing request;
A transfer module for adding a first mark to the first electronic bill stored in the first address, and adding a bill identification of the second electronic bill to the first electronic bill stored in the first address, wherein the first mark is used for indicating that the first electronic bill is invalidated;
and the output module is used for adding the bill identification of the first electronic bill into the first electronic bill and outputting the first electronic bill carrying the bill identification of the first electronic bill.
In one possible implementation, the transfer module is configured to:
transferring the first electronic bill stored in a second address to the first address based on a key of a supervision node device in the blockchain system, and adding the first mark to the first electronic bill which does not carry the mark; or alternatively, the first and second heat exchangers may be,
and replacing a second mark of the first electronic bill stored in the first address with the first mark based on a key of the supervision node equipment in the blockchain system, wherein the second mark is used for indicating that the first electronic bill is to be invalidated.
In a possible implementation manner, the sending module is further configured to send a status flag request when the electronic ticket processing request carries a third flag, where the status flag request is used to indicate that a ticket is transferred and marked, and the third flag is used to indicate that the first electronic ticket is reimbursed;
The receiving module is further configured to receive a tag success response, where the tag success response is used to indicate that the first electronic ticket in the first address has added a second tag.
In a possible implementation manner, the sending module is further configured to send a first key obtaining request to the supervisory node device, where the first key obtaining request is used to obtain a first key of the supervisory node device, and the first key is used to provide ticket sending authority;
the receiving module is further configured to receive a first key of the supervisory node device sent by the supervisory node device;
the sending module is further configured to send a second key obtaining request to the supervisory node device, where the second key obtaining request is used to obtain a second key of the supervisory node device, and the second key is used to provide ticket transfer permission;
the receiving module is further configured to receive a second key of the supervisory node device sent by the supervisory node device.
In one possible implementation, the apparatus further includes:
the inquiring module is used for inquiring the billing record according to the bill identification of the first electronic bill;
the verification module is used for executing the step of sending the second electronic bill to a first address in the blockchain system if the record corresponding to the first electronic bill is stored in the billing record when the processing type is the revocation bill;
And the verification module is further used for comparing the content of the sub-record corresponding to the first electronic bill with the content of the first electronic bill one by one in the transaction record if the record corresponding to the first electronic bill is stored in the billing record when the processing type is the modified bill, and executing the step of sending the second electronic bill to the first address in the blockchain system when any content in the sub-record is not consistent with the corresponding content in the first electronic bill.
In a possible implementation manner, the generating module is configured to generate a third electronic ticket according to the modification content carried by the electronic ticket processing request when the processing type is a modification ticket;
the sending module is further configured to send the third electronic ticket to the first address based on a key of a supervisory node device in the blockchain system;
the output module is further used for outputting the third electronic bill.
In a possible implementation manner, the output module is further configured to send the second electronic ticket carrying the ticket identifier of the first electronic ticket to a second address where the first electronic ticket is stored.
In another aspect, there is provided an electronic bill handling apparatus, the apparatus comprising:
the receiving module is used for receiving a state marking request, wherein the state marking request is used for indicating to transfer and mark bills;
the transfer module is used for transferring the first electronic bill stored in the second address to the first address in the blockchain system, and adding the second mark to the first electronic bill which does not carry the mark, wherein the second mark is used for indicating that the first electronic bill is to be invalidated;
and the sending module is used for sending an identification success response, and the marking success response is used for indicating that the first electronic bill in the first address is added with a second marking.
In one possible implementation, the apparatus further includes:
the sending module is further configured to send a second key obtaining request to the supervisory node device, where the second key obtaining request is used to obtain a second key of the supervisory node device;
the receiving module is further configured to receive a second key of the supervisory node device sent by the supervisory node device.
In another aspect, a computer device is provided, the computer device comprising: a processor; a memory for storing a computer program; the processor is used for executing the computer program stored in the memory to realize the operation executed by the electronic bill processing method.
In another aspect, a computer storage medium is provided, in which a computer program is stored, which when executed by a processor, implements the operations performed by the electronic ticket processing method described above.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
the generated second electronic bill is sent to the first address, the first electronic bill is transferred to the first address, the first electronic bill in the first address is voided, and the second electronic bill is output, so that the process of processing the electronic bill does not need to interact with each mechanism off line by a consumer, but directly uses an on-line process to regenerate the electronic bill, thereby reducing the participation process of the consumer, namely, simplifying the process of issuing the electronic bill.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a blockchain system provided by an embodiment of the present invention;
FIG. 2 is a flowchart of a method for processing an electronic bill according to an embodiment of the present invention;
FIG. 3 is a flow chart of a bill red punching method before reimbursement provided by an embodiment of the invention;
FIG. 4 is a schematic diagram of a logic design for red punching according to an embodiment of the present invention;
FIG. 5 is a flowchart of a method for processing an electronic bill according to an embodiment of the present invention;
FIG. 6 is a flow chart of a method for red punching of a reimbursed ticket according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an electronic bill handling device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic bill handling device according to an embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a node device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of a blockchain system according to an embodiment of the present invention. Referring to fig. 1, the blockchain system includes at least one first node device 101, at least one second node device 102, at least one third node device 103, and a supervising node device 104.
The first node equipment is equipment used by reimbursement enterprises, and is used for reimbursement electronic bills, transferring the electronic bills and marking the bills, and the reimbursement enterprises are enterprises reimbursement invoices. When the first node device receives the status marking request sent by the second node device, the electronic bill indicated by the status marking request can be marked, and the marking completion is fed back to the second node device, so that the second node device can continue the flow of electronic bill processing.
The second node device is used by the merchant and is used for generating a second electronic bill, the second electronic bill can be regarded as a red invoice issued by the merchant and is used for canceling the error electronic bill generated before the merchant, and when the second node device receives the electronic bill processing request, the second node device can generate a corresponding second electronic bill based on the electronic bill processing request so as to issue the corresponding red invoice.
The third node device is a device used by the consumer and is configured to send an electronic ticket processing request to the second node device, so that the second node device generates a second electronic ticket, and in addition, the third node device may also receive the second electronic ticket sent by the second node device.
The supervising node device is a device used by the tax authority for providing the second node device with a key of the tax authority so that the second node device has the right to transfer electronic notes.
The above describes a blockchain system and each node device, before the first electronic bill is reimbursed, the second node device may process the wrong first electronic bill, in order to embody the process that the second node device processes the electronic bill before reimbursement, refer to fig. 2, fig. 2 is a flowchart of an electronic bill processing method provided by an embodiment of the present invention, and the method specifically includes:
201. the second node device receives an electronic bill processing request, wherein the electronic bill processing request carries a bill identification and a processing type of the first electronic bill.
The electronic bill processing request is used for indicating to process the first electronic bill and generating a second electronic bill, and the electronic bill processing request can also carry an identifier for indicating that the electronic bill is not reimbursed, so as to indicate that the first electronic bill to be processed by the second node equipment is not reimbursed yet.
The first electronic ticket may be considered as a blue invoice previously issued to the consumer by the merchant, but the data on the first electronic ticket does not correspond to the actual transaction. The bill identifier of the first electronic bill is used for indicating the first electronic bill, the bill identifier of the first electronic bill can comprise a code, a number and a verification code of the first electronic bill, of course, the bill identifier of the first electronic bill can also be other contents for indicating the first electronic bill, and the bill identifier of the first electronic bill is not particularly limited in the embodiment of the invention.
The processing type is either one of a revocation ticket and a modification ticket, and when the first electronic ticket corresponds to a transaction cancellation operation, the processing type is the revocation ticket, and when the content of the first electronic ticket is wrong, the processing type is the modification ticket. Different processing types may be represented by different character strings, for example, 0 for a revocation ticket and 1 for a modification ticket, and the character string representing the processing type is not particularly limited in the embodiment of the present invention.
The transaction canceling operation may be represented as a return operation of the consumer, the return being a goods recorded in transaction data corresponding to the first electronic ticket. The content of the first electronic ticket may be mistaken in that the amount of money in the first electronic ticket is mistaken, for example, when a merchant and a consumer trade, the consumer pays 10 yuan, but the amount of money on the first electronic ticket generated by the merchant is 5 yuan, and then the amount of money on the first electronic ticket is not consistent with the actual transaction amount, and the amount of money in the first electronic ticket is mistaken. The content of the first electronic ticket may also appear as a head up or tax rate error in the first electronic ticket. The embodiment of the invention does not limit the error content in the first electronic bill in detail.
Because the first electronic bill content includes multiple cases by mistake, in some embodiments, the electronic bill processing request may further carry modified content, where the modified content may be modified content on the first electronic bill, and may be an amount, a head up or tax rate, etc., so that the second node device may generate a correct electronic bill according to the target content.
The second node device receives the electronic ticket processing request in any of the following modes 1-2.
In the mode 1, through the transaction related operation of the merchant on the second node device, the electronic bill processing request is triggered, so that the second node device receives the electronic bill processing request.
When the content of the first electronic bill is wrong or the transaction corresponding to the first electronic bill is cancelled, the consumer communicates with the merchant on line, and the consumer requests the merchant to process the first electronic bill, so after the consumer and the merchant communicate, the merchant triggers the second node equipment to receive the electronic bill processing request by clicking an invoicing button on the second node equipment. The billing button may be a real button on the second node device for triggering the electronic bill processing request, or may be a virtual button on the billing interface of the second node device, and of course, the billing interface may also be a processing type selection button, after determining the processing type according to the processing type selection button, a merchant inputs the target content in an input box corresponding to the target content, and finally may click the billing button to trigger the electronic bill processing request, so that the second node device receives the electronic bill processing request.
And 2, the second node equipment receives the electronic bill processing request sent by the third node equipment.
When the content of the first electronic bill is wrong or the transaction corresponding to the first electronic bill is cancelled, the consumer can trigger the third node equipment to send the electronic bill processing request to the second node equipment through the billing button on the third node equipment, and the second node equipment can receive the electronic bill processing request. The billing button on the third node device is the same as the billing button on the second node device, and the billing button on the third node device is not described in detail in the embodiment of the present invention.
202. And the second node equipment inquires the billing record according to the bill identification of the first electronic bill.
The billing record is used for recording electronic notes corresponding to the transaction conducted by the merchant, and the electronic notes generated by the second electronic node equipment can be stored in the billing record, and each electronic note corresponds to a note identifier in the billing record.
The second node device verifies whether the first electronic bill indicated by the electronic bill processing request is generated according to the transaction of the merchant corresponding to the second node device by inquiring whether the record of the first electronic bill is stored in the billing record, when the record of the first electronic bill is stored in the billing record, the record corresponding to the first electronic bill indicates that the first electronic bill is the electronic bill generated by the merchant through the second node device, then the second node device can continue the subsequent processing flow of the first electronic bill, when the record of the first electronic bill is not stored in the billing record, the record corresponding to the first electronic bill indicates that the first electronic bill is not the electronic bill generated by the merchant through the second node device, and then the second node device does not need to process the first electronic bill.
203. And when the processing type is the revocation bill, if the record corresponding to the first electronic bill is stored in the billing record, the second node equipment acquires the key of the supervision node equipment.
The record corresponding to the first electronic bill is stored in the billing record, which can be expressed as that the billing record stores the bill identifier carried by the electronic bill processing request, and can also be expressed as that the billing record stores the first electronic bill indicated by the bill identifier in the electronic bill processing request.
The keys of the supervision node equipment comprise a first key and a second key, wherein the first key is used for providing bill sending authority, and the second key is used for providing bill transferring authority.
The second node device may obtain the first key of the supervising node device by sending a first key obtaining request to the supervising node device, and in a possible implementation, the second node device may obtain the first key of the supervising node device by a procedure shown in the following steps 20311-20314.
Step 20311, the second node device sends a first key acquisition request to the administration node device, where the first key acquisition request is used to acquire a first key of the administration node device.
The first key obtaining request may carry a node identifier of the second node device and an identifier of a first key, where the identifier of the first key is used to indicate the first key, and the first key is used to open a right to send the ticket to the first address, where the first address is the first address in step 205.
The node identifier of the second node device is used to indicate the second node device, and the node identifier of the second node device may be a public key or an address of the second node device, so that the supervising node device may verify the first key acquisition request.
Step 20312, the supervising node device verifies the node identifier in the first key acquisition request after receiving the first key acquisition request.
When the blockchain system is initialized, node identifiers of all second node devices are stored in the supervision node device, so that the supervision node device can verify the acquired first key acquisition request. The supervising node device may verify the node identities in the first key acquisition request by querying node identities of all second node devices stored by the supervising node device. In one possible implementation, when the supervising node device queries the node identifiers in the first key acquisition request from among the stored node identifiers of all the second node devices, the node identifier passes the verification, otherwise, the node identifier does not pass the verification. Then, when the node identification in the first key acquisition request is authenticated, then the first key acquisition request is authenticated.
Step 20313, when the node identifier in the first key obtaining request passes the verification, the supervisory node device sends the first key of the supervisory node device to the second node device.
Step 20314, the second node device receives the first key of the supervisory node device sent by the supervisory node device.
The second node device may obtain the second key of the supervising node device by sending a second key obtaining request to the supervising node device, and in a possible implementation, the second node device may obtain the second key of the supervising node device by a procedure shown in the following steps 20321-20324.
Step 20321, the second node device sends a second key acquisition request to the administration node device, where the second key acquisition request is used to acquire a second key of the administration node device.
The second key obtaining request carries a node identifier of the second node device and an identifier of the second key, where the identifier of the second key is used to indicate the second key.
Step 20322, the supervising node device verifies the node identifier in the second key acquisition request after receiving the second key acquisition request.
In step 20322, the process of verifying the node identifier by the supervisory node device is the same as the process of verifying the node identifier by the supervisory node device in step 20312, and the embodiment of the invention will not be described in detail in step 20322.
Step 20323, when the node identifier in the second key obtaining request passes the verification, the supervisory node device sends the second key of the supervisory node device to the second node device.
Step 20324, the second node device receives the second key of the supervisory node device sent by the supervisory node device.
It should be noted that, in some embodiments, only the second node device storing the node identifier in the monitoring node device may send the first key obtaining request or the second key obtaining request to the monitoring node device, that is, the monitoring node device may only receive the first key obtaining request or the second key obtaining request sent by the second node device corresponding to the stored node identifier, and after receiving the first key obtaining request or the second key obtaining request, the monitoring node device may not verify the node identifier in the first key obtaining request or the second key obtaining request, but directly send the first key or the second key of itself to the sending second node device, thereby improving the efficiency of obtaining the first key or the second key by the second node device.
It should be noted that, when the processing type is a modified ticket, if the record corresponding to the first electronic ticket is stored in the billing record, the second node device compares the content of the sub-record corresponding to the first electronic ticket with the content of the first electronic ticket in the transaction record one by one, and when the content of the sub-record corresponding to the first electronic ticket in the transaction record does not coincide with the corresponding content in the first electronic ticket, the second node device obtains the key of the supervision node device.
The transaction record is used for storing transactions achieved by merchants and consumers, each transaction corresponds to one sub record in the transaction record, that is, each sub record in the transaction record is used for storing the transaction condition of one transaction, the transaction condition can include bill identification of an electronic bill, the amount, time, goods, invoice head-up, tax rate and the like of the transaction, and the embodiment of the invention does not limit the transaction condition specifically.
When the content of the sub-record corresponding to the first electronic bill in the transaction record does not coincide with the corresponding content in the first electronic bill, the content in the first electronic bill is wrong, for example, the amount of money in the first electronic bill is 5, and the amount of money in the sub-record corresponding to the first electronic bill is 10. The amount in the first electronic ticket is incorrect.
The second node device may further directly compare the target content in the electronic ticket processing request with the target content in the sub-record corresponding to the first electronic ticket in the transaction record, and when the target content in the electronic ticket processing request does not match with the target content in the sub-record corresponding to the first electronic ticket, the second node device obtains the key of the supervising node device.
The billing record and the transaction record may be stored in the memory of the second node device, may also be stored in other storage devices, for example, a mobile hard disk, and may also be stored in the cloud. The storage locations and recording modes of the billing records and the transaction records are not particularly limited in the embodiment of the invention.
It should be noted that, in the process shown in steps 202-203, the second node device further verifies the electronic ticket processing request and obtains the key of the supervising node device, that is, when any content in the record corresponding to the first electronic ticket or the sub-record corresponding to the first electronic ticket stored in the billing record does not conform to the corresponding content in the first electronic ticket, the electronic ticket processing request passes the verification, the second node device obtains the key of the supervising node device, otherwise, the electronic ticket processing request does not pass the verification, and the second node device cannot obtain the key of the supervising node device.
Then, through steps 202 and 203, it can be further verified whether the electronic bill processing request is correct, and it can avoid processing the wrong electronic bill processing request, so as to reduce the error rate of the second node device in processing the electronic bill processing request.
204. The second node device generates a second electronic ticket in the blockchain system based on the first electronic ticket indicated by the ticket identification and the processing type.
When the processing type is the modification bill and the modification content carried by the electronic bill processing request is the amount, at this time, the modification bill is used for modifying the amount on the first electronic bill, and the amount on the first electronic bill only needs to be partially offset, so that the amount in the second electronic bill generated by the second node equipment is a negative value of the difference value between the amount in the first electronic bill and the target content, and other contents in the second electronic bill are consistent with other contents of the first electronic bill.
When the processing type is a modification bill and the modification content carried by the electronic bill processing request is not the amount, at this time, the modification bill is to modify other contents on the first electronic bill, and all the contents on the first electronic bill need to be offset, so the amount in the second electronic bill generated by the second node device is a negative value of the amount in the first electronic bill, and other contents in the second electronic bill are consistent with other contents of the first electronic bill.
When the processing type is the revocation ticket, the revocation ticket is to revoke the first electronic ticket, and all the contents on the first electronic ticket need to be revoked, so that the amount in the second electronic ticket is a negative value of the amount in the first electronic ticket, and other contents in the second electronic ticket are consistent with other contents of the first electronic ticket.
205. The second node device sends the second electronic bill to a first address in the blockchain system based on a key of a supervision node device in the blockchain system, wherein the first address is an address for performing multiple signatures based on the supervision node device and bill objects of the electronic bill processing request.
The first address is a virtual address in the blockchain system and is used for storing a second electronic bill, a first electronic bill which is invalidated and a modified third electronic bill which are generated by the second node equipment. The bill object of the electronic bill processing request is a consumer corresponding to the transaction of the first electronic bill with a merchant.
The address of the multiple signature based on the supervising node device and the ticket object of the electronic ticket processing request may be expressed as that the first address has an association relationship with a key of the supervising node device, a key of the third node device, and a key of the second node device. The owner of the key associated with the multi-signed address has both access to the multi-signed address and electronic ticket transfer within the multi-signed address. When an electronic ticket transfer is required within the multiple signature address, at least one key associated with the multiple signature address is required to transfer the electronic ticket within the multiple signature address.
Since different keys of the supervising node device may provide different rights, wherein the first key is used to provide the right to send the ticket, the second node device needs to obtain the first key of the supervising node device before sending the second electronic ticket to the first address, and the second node device may obtain the first key of the supervising node device through the process shown in steps 20311-20314.
206. The second node device transfers the first electronic bill stored in a second address to the first address based on a key of a supervision node device in the blockchain system, adds a first mark to the first electronic bill which does not carry the mark, adds a bill identifier of the second electronic bill to the first electronic bill stored in the first address, and the first mark is used for indicating that the first electronic bill is invalid.
The second address may be a virtual address in a blockchain system for storing a plurality of electronic notes, each electronic note associated with a consumer account, one electronic note being presentable as an electronic version of a blue invoice within the corresponding consumer account. Of course, the second address may also be an address of the third node device that sends the electronic ticket processing request, and the embodiment of the present invention does not specifically limit the second address.
Since different keys of the supervising node device may provide different rights, wherein the second key is used to provide the right to transfer the ticket, the second node device needs to obtain the second key of the supervising node device before transferring the first electronic ticket to the first address, and the second node device may obtain the first key of the supervising node device through the process shown in steps 20322-20324.
It should be noted that, the second node device may have authority to transfer the first electronic ticket to the first address only after the second key of the supervisory node device is obtained, and the step of obtaining the second key of the supervisory node device by the second node device may be between step 205 and step 206, or may be before step 205, and the execution sequence of the step of obtaining the second key of the supervisory node device and step 205 in the embodiment of the present invention is not limited specifically.
After the first electronic bill is transferred into the first address, the second node device adds a first mark to the first electronic bill which does not carry the mark, the second node device can add the first mark in a target field of the first electronic bill, the first mark can be any character string, and the embodiment of the invention does not specifically limit the first mark. The target field may be any field that is free in the first electronic bill, or may be a field that is newly added in the first electronic bill, and the embodiment of the present invention does not specifically limit the target field.
Then, when the first electronic bill has the mark of the first mark, the first electronic bill is invalidated.
The bill identifier of the second electronic bill is a code, a number and a verification code of the second electronic bill, and of course, other information indicating the second electronic bill may also be used.
The second node device may add the ticket identifier of the second electronic ticket to the remark information field in the first electronic ticket, or may add the ticket identifier of the second electronic ticket to other sections, and the field for adding the ticket identifier of the second electronic ticket is not specifically limited in the embodiment of the present invention. By adding the bill identification of the second electronic bill in the first electronic bill, the first electronic bill can be made to correspond to the second electronic bill for later verification.
It should be noted that, in the step 206, the second node device transfers the first electronic ticket stored in the second address to the first address based on the key of the supervising node device in the blockchain system, and adds the first mark to the first electronic ticket that does not carry the mark, that is, the second node device adds the first mark to the first electronic ticket stored in the first address.
207. And when the processing type is the modification bill, the second node equipment generates a third electronic bill according to the modification content carried by the electronic bill processing request.
The second electronic device can replace the target content on the first electronic bill with the modified content carried by the electronic bill processing request to obtain a third electronic bill, wherein the target content is wrong content of the first electronic bill, and other content in the third bill is consistent with other content in the first electronic bill.
208. The second node device sends the third electronic ticket into the first address based on a key of a supervising node device in the blockchain system.
Before the second node device sends the third ticket to the first address, the second node device also needs to acquire the first key of the supervision node device again, and the second node device can send the third electronic ticket to the first address based on the acquired first key of the supervision node device again.
It should be noted that, when the processing type is a modified ticket cancellation, the second node device performs the steps 207 to 208, and when the processing type is a voided ticket, the second node device does not perform the steps 207 to 208.
209. The second node device adds the bill identification of the first electronic bill into the second electronic bill stored in the first address, and outputs the second electronic bill carrying the bill identification of the first electronic bill and the third electronic bill.
The second node device can add the bill identification of the first electronic bill in the field of the second electronic bill for recording remark information so as to add the bill identification of the first electronic bill in the second electronic bill, and further can establish the corresponding relation between the second electronic bill and the first electronic bill so as to verify in the future.
The first node device may send the second electronic ticket and the third electronic ticket to a second address storing the first electronic ticket, so as to output the second electronic ticket and the third electronic ticket.
When the second address is a virtual address, the second node device directly sends the second electronic bill and the third electronic bill to the position for storing the first electronic bill; and when the second address is the address of the third node equipment, the second node equipment sends the second electronic bill and the third electronic bill to the third node equipment.
When the second address has access rights, the second node device can send the second electronic bill and the third electronic bill to the second address only if access rights are acquired, for example, the second address is set with access rights by a consumer, the second node device sends a bill issue request to the second address, the bill issue request carries the second electronic bill and the third electronic bill, when the consumer refuses to receive the bill issue request through the third node device, the second node device cannot send the second electronic bill and the third electronic bill to the second address, and when the consumer receives the bill issue request through the third node device, the second node device can send the second electronic bill and the third electronic bill to the second address.
When the processing type is a revocation ticket, the second node device does not generate the third electronic ticket, and does not output the third electronic ticket. In addition, the first electronic bill is invalidated, the second node equipment generates a second electronic bill for canceling the first electronic bill and generates a third electronic bill, so that the second electronic bill and the third electronic bill can replace the first electronic bill, and bill red punching is realized. In order to further demonstrate the process of bill red punching before reimbursement, refer to a flow chart of a bill red punching method before reimbursement, which is shown in fig. 3 and provided by the embodiment of the invention, and the flow specifically comprises the following steps 3.1-3.4.
And 3.1, a consumer initiates a red strike to an invoicing enterprise on line.
When the consumer sends the first bill to the billing enterprise in an online manner, the billing enterprise knows that the first electronic bill needs to be red, which is equivalent to the second node device receiving the electronic bill processing request sent by the third node device in step 201.
And 3.2, the billing enterprise invokes a first key of the tax authority through the second node equipment, and issues a second electronic bill to the (tax authority+consumer) multiple signature address.
Wherein the (tax authority + consumer) multi-signed address is the first address.
And 3.3, the second node equipment calls a second key of the tax authority, transfers the first electronic bill to a (tax authority+consumer) multiple signature address, and places a red-punching state on the first electronic bill.
The second node device marks the first mark on the first electronic bill by marking the red punching state on the first electronic bill.
Step 3.4, the second node device calls the first key of the tax authority, and reissues a new third electronic bill to the (tax authority+consumer) multiple signature address according to the processing type (whether the information in the first electronic bill is modified or returned) so as to realize reissuing, and the second node device multiplexes a normal billing interface when billing so as to execute steps 202-209.
It should be noted that steps 3.2-3.4 are all performed within the blockchain system.
For further description of the red punching process of the present invention, reference is made to a schematic diagram of a logic design for red punching as shown in fig. 4 provided in an embodiment of the present invention.
As can be seen from fig. 4, the consumer communicates with the merchant offline, the consumer indicates that the blue invoice (the blue invoice corresponds to the first electronic bill) needs to be red-stamped, the merchant opens a small program or a PC (personal computer ) management end on the second node device, runs the small program or the PC management end to determine whether the return red-stamped bill (the return red-stamped bill corresponds to the revocation bill), if the return red-stamped bill is the return red-stamped bill, the small program or the PC management end issues a red-stamped bill (the red-stamped bill corresponds to the second electronic bill) to the consumer, the amount on the red-stamped bill is negative, the original blue invoice (the original blue invoice corresponds to the first electronic bill) is remarked, the red-stamped bill is marked on the original blue invoice (the mark red-stamped bill corresponds to the first mark), and the consumer returns the goods to the merchant after the new red-stamped bill (the number corresponds to the mark of the invoice). If the bill is not returned in red, the bill is wrongly issued (the bill is wrongly issued and is equivalent to the bill modification), the bill is wrongly raised, the amount or the tax rate on the blue bill is wrongly expressed, a small program or a PC management end is operated, a red bill is issued to a consumer, the amount on the red bill is negative, the number of the original blue bill is remarked, the red bill is marked on the original blue bill, a merchant directly inserts a correct blue bill (the correct blue bill is equivalent to a third electronic bill) into the account of the consumer, and the original incorrect blue bill is not displayed to the consumer.
According to the method provided by the embodiment of the invention, the generated second electronic bill is sent to the first address through the processing type, the first key and the second key in the electronic bill processing request, the first electronic bill is transferred to the first address, the first electronic bill in the first address is voided, and the second electronic bill is output, so that the process of processing the electronic bill does not need to issue related evidence to a tax authority of a consumer, does not need to provide related evidence to the tax authority of the consumer to the merchant, and reduces the participation flow of the consumer, and then, the process of processing the electronic bill is simpler for the consumer, namely, the flow of issuing an invoice is too simple, so that the process of processing the electronic bill can be independently completed by the second node equipment, the process of issuing related evidence to the tax authority of the consumer does not need to be provided by the consumer, and the flow of issuing the tax authority to the merchant is reduced. And the supervision node equipment can directly send the first key and the second key of the supervision node equipment without verifying the node identification in the first key acquisition request and the second key acquisition request, so that the efficiency of the second node equipment for acquiring the first key and the second key is improved, whether the electronic bill processing request is correct or not can be further verified by inquiring the billing record and the consumption record, the wrong electronic bill processing request is prevented from being processed, and the error rate of the second node equipment for processing the electronic bill processing request is further reduced. And by adding the bill identification of the second electronic bill in the first electronic bill, the first electronic bill can be made to correspond to the second electronic bill for later verification. And the second node device can add the bill identification of the first electronic bill in the field of the second electronic bill for recording remark information so as to add the bill identification of the first electronic bill in the second electronic bill, and further can establish the corresponding relation between the second electronic bill and the first electronic bill so as to verify later.
The electronic ticket processing flow shown in fig. 2 is an electronic ticket processing flow before reimbursement, in some embodiments, after the second node device reimburses the first electronic ticket at the third node device, the first electronic ticket needs to be voided or modified, and then the second node device needs to process the first electronic ticket, so as to further describe a process of processing the first electronic ticket by the second node device in this case, referring to fig. 5, fig. 5 is a flow chart of an electronic ticket processing method provided by an embodiment of the present invention, and the flow specifically includes the following steps.
501. The second node device receives an electronic bill processing request, wherein the electronic bill processing request carries a bill identification and a processing type of the first electronic bill.
It should be noted that, after the first electronic bill has been reimbursed by the reimbursement corporation, the second node device can be triggered to receive the electronic bill processing request only through the operation of the merchant, and the electronic bill processing request may carry a third mark, where the third mark is used to indicate that the first electronic bill has been reimbursed.
502. And the second node equipment inquires the billing record according to the bill identification of the first electronic bill.
The process of step 502 is the same as the process shown in step 202, and the embodiment of the present invention will not be repeated for the process of step 502.
503. When the processing type is the modification bill, if the record corresponding to the first electronic bill is stored in the billing record, the second node equipment compares the content of the sub-record corresponding to the first electronic bill with the content of the first electronic bill one by one in the transaction record, and when the content of the sub-record corresponding to the first electronic bill in the transaction record is not consistent with the corresponding content in the first electronic bill, the second node equipment acquires the secret key of the supervision node equipment.
The second node device may further directly compare the target content in the electronic ticket processing request with the target content in the sub-record corresponding to the first electronic ticket in the transaction record, and when the target content in the electronic ticket processing request does not match with the target content in the sub-record corresponding to the first electronic ticket, the second node device obtains the key of the supervising node device.
When the processing type is the revocation bill, if the record corresponding to the first electronic bill is stored in the billing record, the second node device obtains the key of the supervision node device.
And step 502-503, further verifying the electronic bill processing request for the second node device and obtaining the key of the supervision node device, namely, when any content in the record corresponding to the first electronic bill or the sub-record corresponding to the first electronic bill stored in the billing record is inconsistent with the corresponding content in the first electronic bill, the second node device obtains the key of the supervision node device if the electronic bill processing request passes the verification, otherwise, the electronic bill processing request does not pass the verification, and the second node device cannot obtain the key of the supervision node device.
By steps 502 and 503, it can be further verified whether the electronic bill processing request is correct, and it can avoid processing the wrong electronic bill processing request, thereby reducing the error rate of the second node device in processing the electronic bill processing request.
504. When the electronic bill processing request carries a third mark, the second node device sends a state mark request to the first node device, wherein the state mark request is used for indicating bill transfer and marking, and the third mark is used for indicating that the first electronic bill is reimbursed.
When the second node device receives the electronic ticket processing request, it detects the content of the electronic ticket processor request, and when the third tag is detected in the electronic ticket processing request, the second node device performs step 504.
505. After receiving the status marking request, the first node device transfers the first electronic bill stored in the second address to the first address based on the key of the supervision node device, adds a second mark to the first electronic bill which does not carry the mark, and the second mark is used for indicating that the first electronic bill is to be invalidated.
The third node device may add a second tag to the target field in the first electronic ticket, where the second tag may be represented by any character string other than the first tag, and the embodiment of the present invention does not specifically limit the representation form of the second tag.
Before transferring the first electronic bill, the first node device needs to acquire a second key of the supervision node device to have the authority to transfer the first electronic bill to the first address.
The first node device may obtain the second key of the supervising node device by sending a second key obtaining request to the supervising node device, and in one possible implementation, the first node device may obtain the second key of the supervising node device by a process shown in the following steps 505A-505D.
Step 505A, the first node device sends a second key obtaining request to the supervisory node device, where the second key obtaining request is used to obtain a second key of the supervisory node device.
The node identification of the first node device is used to indicate the first node device, and the node identification of the first node device may be a public key or an address of the first node device, so that the supervising node device may verify the second key acquisition request.
Step 505B, after receiving the second key obtaining request, the supervising node device verifies the node identifier in the second key obtaining request.
When the blockchain system is initialized, node identifiers of all the first node devices are stored in the supervision node device, so that the supervision node device can verify the acquired second key acquisition request. The supervising node device may verify the node identities in the second key acquisition request by querying all node identities of the first node device stored by the supervising node device. In one possible implementation manner, when the supervising node device queries the node identifier in the second acquisition request from all the stored node identifiers, the node identifier passes the verification, otherwise, the node identifier does not pass the verification, wherein the remark information of the supervising node device is further used for storing the node identifiers of the first node devices. Then, when the node identification in the second key acquisition request is authenticated, that is, the second key acquisition request is authenticated.
Step 505C, when the node identifier in the second key obtaining request passes the verification, the supervisory node device sends the second key of the supervisory node device to the first node device.
Step 505D, the first node device receives the second key of the supervisory node device sent by the supervisory node device.
It should be noted that, the second address herein is a virtual address on the blockchain system for storing the electronic notes after reimbursement, where the virtual address may be associated with accounts of a plurality of reimbursement enterprises, and each account of the reimbursement enterprise may be associated with a plurality of electronic notes of the virtual address, so as to indicate that one reimbursement enterprise has reimbursed for a plurality of electronic notes associated with the account of the reimbursement enterprise. The second address here is an address of the first node device as well.
In summary, the second address is a virtual address on the blockchain system for storing electronic tickets, the second address being associated with a consumer account when electronic tickets within the second address are not reimbursed, the second address being associated with an account of a reimbursement corporation when electronic tickets within the second address have been reimbursed.
506. After the first node device adds the second mark to the first electronic bill, the mark success response is sent to the second node device, and the mark success response is used for indicating that the first electronic bill in the first address has added the second mark.
507. The second node device receives an identity success response.
It should be noted that, only after the second node device receives the identification success response, the second node device can perform the following steps.
It should be noted that the processes shown in steps 504-507 may be performed first and then the processes shown in steps 502-503 may be performed, and the order in which the processes shown in steps 504-507 and the processes shown in steps 502-503 are performed is not particularly limited in the embodiment of the present invention.
508. The second node device generates a second electronic ticket in the blockchain system based on the first electronic ticket indicated by the ticket identification and the processing type.
The process in this step 508 is the same as the process in step 204, and the embodiment of the present invention will not be repeated for the process in this step 508.
509. The second node device sends the second electronic bill to a first address in the blockchain system based on a key of a supervision node device in the blockchain system, wherein the first address is an address for performing multiple signatures based on the supervision node device and bill objects of the electronic bill processing request.
The process of this step 509 is the same as the process shown in step 205, and the embodiment of the present invention will not be described in detail in this step 509.
510. The second node device replaces the second mark of the first electronic bill stored in the first address with a first mark based on the key of the supervision node device in the blockchain system, the bill identifier of the second electronic bill is added in the first electronic bill stored in the first address, and the first mark is used for indicating the first electronic bill to be invalidated.
Because the first node device transfers the first electronic bill into the first address, the second node device does not need to transfer the first electronic bill again, and only needs to replace the second mark of the first electronic bill identifier stored in the first address with the first mark so as to indicate that the first electronic bill is invalidated.
In one possible implementation, the first node device replaces the second identifier in the target field of the first electronic ticket stored in the first address with the first identifier.
It should be noted that, based on the key of the supervisory node device in the blockchain system, the second node device replaces the second tag of the first electronic ticket stored in the first address with the process shown by the first tag, that is, the process that the second node device adds the first tag to the first electronic ticket stored in the first address.
511. And when the processing type is the modification bill, the second node equipment generates a third electronic bill according to the modification target content carried by the electronic bill processing request.
The process of step 511 is the same as the process of step 207, and the embodiment of the present invention will not be repeated.
512. The second node device sends the third electronic ticket into the first address based on a key of a supervising node device in the blockchain system.
The process of this step 512 is the same as the process shown in step 208, and the embodiment of the present invention will not be repeated for the process of this step 512.
513. The second node device adds the bill identification of the first electronic bill into the second electronic bill stored in the first address, and outputs the second electronic bill carrying the bill identification of the first electronic bill and the third electronic bill.
The first node device may send the second electronic ticket and the third electronic ticket to a second address storing the first electronic ticket, so as to output the second electronic ticket and the third electronic ticket.
When the second address is a virtual address, the second node device directly sends the second electronic bill and the third electronic bill to the position for storing the first electronic bill; when the second address is the address of the first node device, the second node device sends the second electronic bill and the third electronic bill to the first node device.
When the second address has access rights, the second node device can only send the second electronic bill and the third electronic bill to the second address if access rights are acquired, for example, the second address is set with access rights by a reimbursement enterprise, the second node device sends a bill issuing request to the second address, the bill issuing request carries the second electronic bill and the third electronic bill, when the reimbursement enterprise refuses to receive the bill issuing request through the first node device, the second node device cannot send the second electronic bill and the third electronic bill to the second address, and when the reimbursement enterprise receives the bill issuing request through the first node device, the second node device can send the second electronic bill and the third electronic bill to the second address.
When the processing type is a revocation ticket, the second node device does not generate the third electronic ticket, and does not output the third electronic ticket.
The first electronic bill is disabled, the second node equipment generates a second electronic bill for canceling the first electronic bill and generates a third electronic bill, so that the second electronic bill and the third electronic bill can replace the first electronic bill, and bill red punching is realized. For an improvement to indicate the process of the post-reimbursement bill red punching, refer to a flowchart of a post-reimbursement bill red punching method shown in fig. 6 provided by the embodiment of the invention, and the flowchart specifically comprises the following steps 6.1-6.7.
And 6.1, the billing enterprise initiates red punching to the first electronic equipment of the reimbursement enterprise through the second electronic equipment.
This step 6.1 corresponds to the above step in which the second node device sends a status flag request to the first node device.
And 6.2, the first node equipment calls a second key of the tax authority, transfers the first electronic bill to a multi-signature address (tax authority and reimbursement enterprise), and changes the state of the first electronic bill into a state to be red-flushed.
Wherein, the first node device changing the state of the first electronic ticket to the state to be red-flushed corresponds to the step 504 to identify the first electronic ticket stored in the first address as a second mark, and the state to be red-flushed is the second mark, and the tax authority+reimbursement enterprise) multi-signature address corresponds to the first address.
And 6.3, the first node equipment feeds back to the second node equipment to the billing enterprise that the state of the first electronic bill is changed into the state to be red-flushed.
The procedure shown in this step 6.3 corresponds to the first node device sending a status identification success response to the second node device.
And 6.4, the second node equipment calls a first key of the tax authority and issues a second electronic bill to the (tax authority+reimbursement enterprise) multi-signature address.
And 6.5, the second node equipment calls a second key of the tax authority, transfers the first electronic bill to a (tax authority+consumer) multiple signature address, and places a red-punching state on the first electronic bill.
Step 6.6, the second node device invokes the first key of the tax authority and reissues the new third electronic ticket to the (tax authority + consumer) multiple signature address according to the processing type (modifying the information in the first electronic ticket or returning goods) to realize reissuing, and the second node device multiplexes the normal billing interface to execute the steps 502-513 when billing.
It should be noted that steps 61-6.6 are all performed within the blockchain system.
According to the method provided by the embodiment of the invention, the generated second electronic bill is sent to the first address, the first electronic bill is transferred to the first address, the first electronic bill in the first address is voided, and the second electronic bill is output, so that the process of processing the electronic bill does not need to interact with each mechanism offline by a consumer, but directly uses the online process to regenerate the electronic bill, the participation process of the consumer is reduced, namely, the process of issuing the electronic bill is simplified, the process of processing the electronic bill does not need to issue a related proof to a tax authority by the consumer, and the related proof of issuing the tax authority by the consumer is not required to be provided to a merchant, and the participation process of the consumer is reduced. And the supervision node equipment can directly send the first key and the second key of the supervision node equipment without verifying the node identification in the first key acquisition request and the second key acquisition request, so that the efficiency of the second node equipment for acquiring the first key and the second key is improved, whether the electronic bill processing request is correct or not can be further verified by inquiring the billing record and the consumption record, the wrong electronic bill processing request is prevented from being processed, and the error rate of the second node equipment for processing the electronic bill processing request is further reduced. And by adding the bill identification of the second electronic bill in the first electronic bill, the first electronic bill can be made to correspond to the second electronic bill for later verification. And the second node device can add the bill identification of the first electronic bill in the field of the second electronic bill for recording remark information so as to add the bill identification of the first electronic bill in the second electronic bill, and further can establish the corresponding relation between the second electronic bill and the first electronic bill so as to verify later.
Any combination of the above-mentioned optional solutions may be adopted to form an optional embodiment of the present disclosure, which is not described herein in detail.
Fig. 7 is a schematic structural diagram of an electronic bill handling device according to an embodiment of the present invention, where the device includes:
a receiving module 701, configured to receive an electronic ticket processing request, where the electronic ticket processing request carries a ticket identifier and a processing type of a first electronic ticket;
a generation module 702 for generating a second electronic ticket in a blockchain system based on the first electronic ticket indicated by the ticket identification and the processing type;
a sending module 703, configured to send the second electronic ticket to a first address in the blockchain system, where the first address is an address that is multiple signed based on the supervisory node device and the ticket object of the electronic ticket processing request;
a transfer module 704, configured to add a first flag to the first electronic ticket stored in the first address, and add a ticket identifier of the second electronic ticket to the first electronic ticket stored in the first address, where the first flag is used to indicate that the first electronic ticket is voided;
And the output module 705 is configured to add the ticket identifier of the first electronic ticket to the first electronic ticket, and output the first electronic ticket carrying the ticket identifier of the first electronic ticket.
Optionally, the transferring module 704 is configured to:
transferring the first electronic bill stored in a second address to the first address based on a key of a supervision node device in the blockchain system, and adding the first mark to the first electronic bill which does not carry the mark; or alternatively, the first and second heat exchangers may be,
and replacing a second mark of the first electronic bill stored in the first address with the first mark based on a key of the supervision node equipment in the blockchain system, wherein the second mark is used for indicating that the first electronic bill is to be invalidated.
Optionally, the sending module is further configured to send a status flag request when the electronic ticket processing request carries a third flag, where the status flag request is used to indicate that a ticket is transferred and marked, and the third flag is used to indicate that the first electronic ticket is reimbursed;
the receiving module is further configured to receive a tag success response, where the tag success response is used to indicate that the first electronic ticket in the first address has added a second tag.
Optionally, the sending module is further configured to send a first key obtaining request to the supervisory node device, where the first key obtaining request is used to obtain a first key of the supervisory node device, and the first key is used to provide ticket sending authority;
the receiving module is further configured to receive a first key of the supervisory node device sent by the supervisory node device;
the sending module is further configured to send a second key obtaining request to the supervisory node device, where the second key obtaining request is used to obtain a second key of the supervisory node device, and the second key is used to provide ticket transfer permission;
the receiving module is further configured to receive a second key of the supervisory node device sent by the supervisory node device.
Optionally, the apparatus further comprises:
the inquiring module is used for inquiring the billing record according to the bill identification of the first electronic bill;
the verification module is used for executing the step of sending the second electronic bill to a first address in the blockchain system if the record corresponding to the first electronic bill is stored in the billing record when the processing type is the revocation bill;
And the verification module is used for comparing the content of the sub-record corresponding to the first electronic bill with the content of the first electronic bill one by one in the transaction record if the record corresponding to the first electronic bill is stored in the billing record when the processing type is the modified bill, and executing the step of sending the second electronic bill to the first address in the blockchain system when any content in the sub-record is not consistent with the corresponding content in the first electronic bill.
Optionally, the device generating module is further configured to generate a third electronic ticket according to the modification content carried by the electronic ticket processing request when the processing type is a modification ticket;
the sending module is further configured to send the third electronic ticket to the first address based on a key of a supervisory node device in the blockchain system;
the output module is further used for outputting the third electronic bill.
Optionally, the first output module 705 is configured to send the second electronic ticket carrying the ticket identifier of the first electronic ticket to a second address where the first electronic ticket is stored.
Fig. 8 is a schematic structural diagram of an electronic bill handling device according to an embodiment of the present invention, where the device includes:
a receiving module 801, configured to receive a status marking request, where the status marking request is used to indicate that a ticket is transferred and marked;
a transfer module 802, configured to transfer the first electronic ticket stored in the second address to a first address in a blockchain system, and add the second flag to the first electronic ticket that does not carry a flag, where the second flag is used to indicate that the first electronic ticket is to be invalidated;
a sending module 803 is configured to send an identification success response, where the tag success response is used to indicate that the first electronic ticket in the first address has added a second tag.
Optionally, the apparatus further comprises:
the sending module is further configured to send a second key obtaining request to the supervisory node device, where the second key obtaining request is used to obtain a second key of the supervisory node device;
the receiving module is further configured to receive a second key of the supervisory node device sent by the supervisory node device.
It should be noted that: in the electronic bill processing device provided in the above embodiment, when processing an electronic bill, only the division of the above functional modules is used for illustration, in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the electronic bill processing device and the electronic bill processing method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments, which are not repeated herein.
Fig. 9 is a schematic structural diagram of a node device according to an embodiment of the present invention, where the node device 900 may have a relatively large difference due to different configurations or performances, and may include one or more processors (central processing units, CPU) 901 and one or more memories 902, where at least one instruction is stored in the memories 902, and the at least one instruction is loaded and executed by the processors 1001 to implement the methods provided in the foregoing method embodiments. Of course, the node device may also have a wired or wireless network interface, a keyboard, an input/output interface, and other components for implementing the functions of the device, which are not described herein.
In an exemplary embodiment, a computer storage medium, such as a memory including instructions executable by a processor in a terminal to perform the electronic ticket processing method of the embodiments described below, is also provided. For example, the computer storage medium may be a ROM (read-only memory), a RAM (random access memory ), a CD-ROM (compact disc read-only memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (20)

1. A method for processing an electronic ticket, the method comprising:
receiving an electronic bill processing request, wherein the electronic bill processing request carries a bill identifier and a processing type of a first electronic bill;
generating a second electronic ticket in a blockchain system based on the first electronic ticket indicated by the ticket identification and the processing type;
sending the second electronic bill to a first address in the blockchain system, wherein the first address is an address for carrying out multiple signatures based on a supervision node device and a bill object of the electronic bill processing request, and the bill object is a consumer corresponding to a transaction carried out by a merchant on the first electronic bill;
Adding a first mark to the first electronic bill stored in the first address, and adding a bill identification of the second electronic bill to the first electronic bill stored in the first address, wherein the first mark is used for indicating that the first electronic bill is invalidated;
and adding the bill identification of the first electronic bill into the second electronic bill stored in the first address, and outputting the second electronic bill carrying the bill identification of the first electronic bill.
2. The method of claim 1, wherein the adding a first tag to the first electronic ticket stored in the first address comprises:
transferring the first electronic bill stored in a second address to the first address based on a key of a supervision node device in the blockchain system, and adding the first mark to the first electronic bill which does not carry the mark; or alternatively, the first and second heat exchangers may be,
and replacing a second mark of the first electronic bill stored in the first address with the first mark based on a key of the supervision node equipment in the blockchain system, wherein the second mark is used for indicating that the first electronic bill is to be invalidated.
3. The method according to claim 2, wherein the method further comprises:
when the electronic bill processing request carries a third mark, sending a state mark request, wherein the state mark request is used for indicating bill transfer and marking, and the third mark is used for indicating that the first electronic bill is reimbursed;
a tag success response is received, the tag success response being indicative of the first electronic ticket within the first address having added a second tag.
4. The method according to claim 2, wherein the method further comprises:
sending a first key acquisition request to the supervision node equipment, wherein the first key acquisition request is used for acquiring a first key of the supervision node equipment, and the first key is used for providing bill sending permission;
receiving a first key of the supervision node equipment sent by the supervision node equipment;
sending a second key acquisition request to the supervision node equipment, wherein the second key acquisition request is used for acquiring a second key of the supervision node equipment, and the second key is used for providing bill transfer permission;
and receiving a second key of the supervision node equipment, which is sent by the supervision node equipment.
5. The method according to claim 1, wherein the method further comprises:
inquiring an invoicing record according to the bill identification of the first electronic bill;
when the processing type is a revocation bill, if a record corresponding to the first electronic bill is stored in the billing record, executing the step of sending the second electronic bill to a first address in the blockchain system;
and when the processing type is a modified bill, if the record corresponding to the first electronic bill is stored in the billing record, comparing the content of the sub record corresponding to the first electronic bill with the content of the first electronic bill one by one in the transaction record, and when any content in the sub record is not consistent with the corresponding content in the first electronic bill, executing the step of sending the second electronic bill to the first address in the blockchain system.
6. The method according to claim 1, wherein the method further comprises:
when the processing type is a modification bill, generating a third electronic bill according to modification content carried by the electronic bill processing request;
transmitting the third electronic ticket into the first address based on a key of a supervisory node device in the blockchain system;
And outputting the third electronic bill.
7. The method of claim 1, wherein the outputting the second electronic ticket carrying the ticket identification of the first electronic ticket comprises:
and sending the second electronic bill carrying the bill identification of the first electronic bill into a second address for storing the first electronic bill.
8. A method for processing an electronic ticket, the method comprising:
receiving a state marking request sent by second node equipment, wherein the state marking request is used for indicating bill transfer and marking, and the second node equipment is used for receiving an electronic bill processing request which carries a bill identifier and a processing type of a first electronic bill;
transferring the first electronic bill stored in the second address to the first address in the blockchain system, and adding a second mark to the first electronic bill which does not carry the mark, wherein the second mark is used for indicating that the first electronic bill is to be invalidated;
sending a mark success response to the second node device, wherein the mark success response is used for indicating that the first electronic bill in the first address has added a second mark;
The second node device is further configured to receive the marker success response; generating a second electronic bill in a blockchain system based on the first electronic bill indicated by the bill identification and the processing type, and sending the second electronic bill to a first address in the blockchain system, wherein the first address is an address for carrying out multiple signatures based on a supervision node device and a bill object of the electronic bill processing request, and the bill object is a consumer corresponding to a transaction carried out by a merchant on the first electronic bill; adding a first mark to the first electronic bill stored in the first address, and adding a bill identification of the second electronic bill to the first electronic bill stored in the first address, wherein the first mark is used for indicating that the first electronic bill is invalidated; and adding the bill identification of the first electronic bill into the second electronic bill stored in the first address, and outputting the second electronic bill carrying the bill identification of the first electronic bill.
9. The method of claim 8, wherein the method further comprises:
sending a second key acquisition request to a supervision node device, wherein the second key acquisition request is used for acquiring a second key of the supervision node device;
And receiving a second key of the supervision node equipment, which is sent by the supervision node equipment.
10. An electronic ticket processing apparatus, the apparatus comprising:
the receiving module is used for receiving an electronic bill processing request, wherein the electronic bill processing request carries a bill identifier and a processing type of a first electronic bill;
a generation module for generating a second electronic ticket in a blockchain system based on the first electronic ticket indicated by the ticket identification and the processing type;
the sending module is used for sending the second electronic bill to a first address in the blockchain system, wherein the first address is an address for carrying out multiple signatures based on a supervision node device and a bill object of the electronic bill processing request, and the bill object is a consumer corresponding to a transaction carried out by a merchant on the first electronic bill;
a transfer module for adding a first mark to the first electronic bill stored in the first address, and adding a bill identification of the second electronic bill to the first electronic bill stored in the first address, wherein the first mark is used for indicating that the first electronic bill is invalidated;
And the output module is used for adding the bill identification of the first electronic bill into the first electronic bill and outputting the first electronic bill carrying the bill identification of the first electronic bill.
11. The apparatus of claim 10, wherein the transfer module is to:
transferring the first electronic bill stored in a second address to the first address based on a key of a supervision node device in the blockchain system, and adding the first mark to the first electronic bill which does not carry the mark; or alternatively, the first and second heat exchangers may be,
and replacing a second mark of the first electronic bill stored in the first address with the first mark based on a key of the supervision node equipment in the blockchain system, wherein the second mark is used for indicating that the first electronic bill is to be invalidated.
12. The apparatus of claim 11, wherein the apparatus further comprises:
the sending module is used for sending a state marking request when the electronic bill processing request carries a third mark, wherein the state marking request is used for indicating bill transfer and marking, and the third mark is used for indicating that the first electronic bill is reimbursed;
And the receiving module is used for receiving a mark success response, wherein the mark success response is used for indicating that the first electronic bill in the first address is added with a second mark.
13. The apparatus of claim 11, wherein the device comprises a plurality of sensors,
the sending module is further used for sending a first key acquisition request to the supervision node equipment, wherein the first key acquisition request is used for acquiring a first key of the supervision node equipment, and the first key is used for providing bill sending permission;
the receiving module is further configured to receive a first key of the supervisory node device sent by the supervisory node device;
the sending module is further configured to send a second key obtaining request to the supervisory node device, where the second key obtaining request is used to obtain a second key of the supervisory node device, and the second key is used to provide ticket transfer permission;
the receiving module is further configured to receive a second key of the supervisory node device sent by the supervisory node device.
14. The apparatus of claim 10, wherein the apparatus further comprises:
the inquiring module is used for inquiring the billing record according to the bill identification of the first electronic bill;
The verification module is used for executing the step of sending the second electronic bill to a first address in the blockchain system if the record corresponding to the first electronic bill is stored in the billing record when the processing type is the revocation bill;
and the verification module is further used for comparing the content of the sub-record corresponding to the first electronic bill with the content of the first electronic bill one by one in the transaction record if the record corresponding to the first electronic bill is stored in the billing record when the processing type is the modified bill, and executing the step of sending the second electronic bill to the first address in the blockchain system when any content in the sub-record is not consistent with the corresponding content in the first electronic bill.
15. The apparatus of claim 10, wherein the device comprises a plurality of sensors,
the generation module is used for generating a third electronic bill according to the modification content carried by the electronic bill processing request when the processing type is the modification bill;
the sending module is further configured to send the third electronic ticket to the first address based on a key of a supervisory node device in the blockchain system;
The output module is further used for outputting the third electronic bill.
16. The apparatus of claim 10, wherein the output module is configured to send the second electronic ticket carrying the ticket identification of the first electronic ticket into a second address where the first electronic ticket is stored.
17. An electronic ticket processing apparatus, the apparatus comprising:
the receiving module is used for receiving a state marking request sent by second node equipment, wherein the state marking request is used for indicating bill transfer and marking, and the second node equipment is used for receiving an electronic bill processing request which carries a bill identifier and a processing type of a first electronic bill;
the transfer module is used for transferring the first electronic bill stored in the second address to the first address in the blockchain system, and adding a second mark to the first electronic bill which does not carry the mark, wherein the second mark is used for indicating that the first electronic bill is to be invalidated;
a sending module, configured to send a tag success response to the second node device, where the tag success response is used to indicate that the first electronic ticket in the first address has added a second tag;
The second node device is further configured to receive the marker success response; generating a second electronic bill in a blockchain system based on the first electronic bill indicated by the bill identification and the processing type, and sending the second electronic bill to a first address in the blockchain system, wherein the first address is an address for carrying out multiple signatures based on a supervision node device and a bill object of the electronic bill processing request, and the bill object is a consumer corresponding to a transaction carried out by a merchant on the first electronic bill; adding a first mark to the first electronic bill stored in the first address, and adding a bill identification of the second electronic bill to the first electronic bill stored in the first address, wherein the first mark is used for indicating that the first electronic bill is invalidated; and adding the bill identification of the first electronic bill into the second electronic bill stored in the first address, and outputting the second electronic bill carrying the bill identification of the first electronic bill.
18. The apparatus of claim 17, wherein the device comprises a plurality of sensors,
the sending module is further configured to send a second key obtaining request to a supervisory node device, where the second key obtaining request is used to obtain a second key of the supervisory node device;
The receiving module is further configured to receive a second key of the supervisory node device sent by the supervisory node device.
19. A computer device comprising one or more processors and one or more memories, the one or more memories having stored therein at least one instruction that is loaded and executed by the one or more processors to implement the operations performed by the electronic ticket processing method of any of claims 1 to 9.
20. A computer storage medium having stored therein at least one instruction that is loaded and executed by a processor to implement the operations performed by the electronic ticket processing method of any of claims 1 to 9.
CN201910368302.7A 2019-05-05 2019-05-05 Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium Active CN110084655B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910866057.2A CN110599265B (en) 2019-05-05 2019-05-05 Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium
CN201910368302.7A CN110084655B (en) 2019-05-05 2019-05-05 Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910368302.7A CN110084655B (en) 2019-05-05 2019-05-05 Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201910866057.2A Division CN110599265B (en) 2019-05-05 2019-05-05 Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN110084655A CN110084655A (en) 2019-08-02
CN110084655B true CN110084655B (en) 2023-06-23

Family

ID=67418524

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910368302.7A Active CN110084655B (en) 2019-05-05 2019-05-05 Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium
CN201910866057.2A Active CN110599265B (en) 2019-05-05 2019-05-05 Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201910866057.2A Active CN110599265B (en) 2019-05-05 2019-05-05 Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium

Country Status (1)

Country Link
CN (2) CN110084655B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599275A (en) * 2019-09-27 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device based on block chain network and storage medium
CN111062766B (en) * 2019-12-20 2024-02-09 中国银联股份有限公司 Electronic invoice issuing method and device based on blockchain
CN111291335B (en) * 2020-01-19 2022-01-18 腾讯科技(深圳)有限公司 Bill data processing method and device, computer equipment and storage medium
CN111260488B (en) * 2020-01-23 2021-11-26 腾讯科技(深圳)有限公司 Data processing method and device and readable storage medium
CN111260421B (en) * 2020-02-11 2023-07-18 中国银联股份有限公司 Electronic invoice management and control method and device based on block chain

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5465206A (en) * 1993-11-01 1995-11-07 Visa International Electronic bill pay system
JP2005057805A (en) * 2004-10-18 2005-03-03 Nec Corp Information providing apparatus, ticket providing apparatus, reproducing device, and information selling method used therefor, and program therefor
CN105550913A (en) * 2015-12-22 2016-05-04 北京握奇智能科技有限公司 Invoicing monitoring device, invoicing system and invoicing method applied to tax control
WO2017133570A1 (en) * 2016-02-05 2017-08-10 阿里巴巴集团控股有限公司 Invoice title information change method and apparatus and invoice management system
CN108922012A (en) * 2018-07-11 2018-11-30 北京大账房网络科技股份有限公司 The invoice checking method of raw information is not revealed based on block chain technology
CN109034924A (en) * 2018-08-16 2018-12-18 腾讯科技(深圳)有限公司 Electronic bill generation method, device, storage medium and computer equipment
US10181149B1 (en) * 2006-03-06 2019-01-15 Versata, Inc. Electronic processing of invoices with no purchase orders
CN109325812A (en) * 2018-08-24 2019-02-12 深圳市智税链科技有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109636414A (en) * 2018-11-28 2019-04-16 海南高灯科技有限公司 One kind cancelling system based on block chain electronic invoice and cancels method

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020194127A1 (en) * 2001-04-30 2002-12-19 Randell Wayne L. Method and system for processing invoices
US6644546B2 (en) * 2002-01-02 2003-11-11 International Business Machines Corporation System and method for electronic check conversion at a point-of-sale terminal
US8027890B2 (en) * 2007-08-03 2011-09-27 Mastercard International Incorporated Methods and systems for processing a financial transaction
US20120191579A1 (en) * 2011-01-20 2012-07-26 International Business Machines Corporation Selective Processing of Reverse Invoices in Computer Systems for Financial Transactions
CN103985205A (en) * 2014-05-30 2014-08-13 税友软件集团股份有限公司 Generation method, device and system of red-letter electronic invoices
CN104268779A (en) * 2014-09-30 2015-01-07 税友软件集团股份有限公司 Method and system for generating red mark electronic invoice
CN106933879A (en) * 2015-12-30 2017-07-07 航天信息股份有限公司 Invoice data tracking and system
US20170193469A1 (en) * 2015-12-31 2017-07-06 Mastercard International Incorporated Method and system for providing e-invoices
US11049104B2 (en) * 2017-04-05 2021-06-29 Samsung Sds Co., Ltd. Method of processing payment based on blockchain and apparatus thereof
CN108830664A (en) * 2017-05-05 2018-11-16 平安科技(深圳)有限公司 Difference electronics indigo plant ticket generation method, equipment and computer readable storage medium
CN107784530A (en) * 2017-07-24 2018-03-09 平安科技(深圳)有限公司 Calcellation processing method, storage medium and the server of a kind of blank invoice
CN108242000A (en) * 2017-10-27 2018-07-03 北京车和家信息技术有限公司 Invoice management method, system, computer installation and computer readable storage medium
CN108921629A (en) * 2018-06-13 2018-11-30 西安艾润物联网技术服务有限责任公司 Billing method, system and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5465206A (en) * 1993-11-01 1995-11-07 Visa International Electronic bill pay system
US5465206B1 (en) * 1993-11-01 1998-04-21 Visa Int Service Ass Electronic bill pay system
JP2005057805A (en) * 2004-10-18 2005-03-03 Nec Corp Information providing apparatus, ticket providing apparatus, reproducing device, and information selling method used therefor, and program therefor
US10181149B1 (en) * 2006-03-06 2019-01-15 Versata, Inc. Electronic processing of invoices with no purchase orders
CN105550913A (en) * 2015-12-22 2016-05-04 北京握奇智能科技有限公司 Invoicing monitoring device, invoicing system and invoicing method applied to tax control
WO2017133570A1 (en) * 2016-02-05 2017-08-10 阿里巴巴集团控股有限公司 Invoice title information change method and apparatus and invoice management system
CN108922012A (en) * 2018-07-11 2018-11-30 北京大账房网络科技股份有限公司 The invoice checking method of raw information is not revealed based on block chain technology
CN109034924A (en) * 2018-08-16 2018-12-18 腾讯科技(深圳)有限公司 Electronic bill generation method, device, storage medium and computer equipment
CN109325812A (en) * 2018-08-24 2019-02-12 深圳市智税链科技有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109636414A (en) * 2018-11-28 2019-04-16 海南高灯科技有限公司 One kind cancelling system based on block chain electronic invoice and cancels method

Also Published As

Publication number Publication date
CN110599265A (en) 2019-12-20
CN110599265B (en) 2021-05-14
CN110084655A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN110084655B (en) Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium
US11669811B2 (en) Blockchain-based digital token utilization
CN111311209B (en) Cross-block-chain data processing method, device, equipment and computer storage medium
CN110473078B (en) Information processing method, device, gateway server and medium in invoice issuing
CN110363665B (en) Credit right data processing method, device, equipment and medium
WO2020119287A1 (en) Blockchain-based invoice creation method and apparatus, and electronic device
CN112801658B (en) Cross-border resource transfer authenticity auditing method and device and electronic equipment
CN111178894B (en) Asset type registration and transaction record verification method and system
CN101311958A (en) Data information enquiry storage method of credit rating enquiry service system
CN110866755A (en) Processing method, equipment and medium for bill data
CN110263145A (en) A kind of electronic contract signature method and electronic contract sign equipment
CN111383114A (en) Asset information management method and device based on block chain
CN110264325A (en) A kind of invoice checking method and device based on block chain
CN111402033A (en) Asset information management method and device based on block chain
CN111340628A (en) Asset information management method and device based on block chain
CN110020900A (en) Invoice based on block chain rushes red method and device and electronic equipment
CN109767217A (en) Digital asset, server, terminal and digital asset method of commerce
CN108229954B (en) Coin storage method and system based on digital currency wallet
CN110851877A (en) Data processing method and device, block chain node point equipment and storage medium
CN109447801A (en) The working method of Venture Capital platform on a kind of line based on block chain technology
CN111242785A (en) Bill processing method and device, electronic equipment and storage medium
KR101841929B1 (en) Method for issuing document offline and method for validating issued offline document on the basis of merkle tree structure, and server using the same
CN111260421B (en) Electronic invoice management and control method and device based on block chain
CN117273929A (en) Bill transaction optimization method and device, computer equipment and storage medium
CN108596696A (en) a kind of bill management method and system based on RFID

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

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant