CN110223127A - Bill data backing method and system - Google Patents

Bill data backing method and system Download PDF

Info

Publication number
CN110223127A
CN110223127A CN201910419376.9A CN201910419376A CN110223127A CN 110223127 A CN110223127 A CN 110223127A CN 201910419376 A CN201910419376 A CN 201910419376A CN 110223127 A CN110223127 A CN 110223127A
Authority
CN
China
Prior art keywords
data
bill
recipient
audit
opinion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910419376.9A
Other languages
Chinese (zh)
Inventor
范诗怡
宦鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910419376.9A priority Critical patent/CN110223127A/en
Publication of CN110223127A publication Critical patent/CN110223127A/en
Priority to PCT/CN2019/122719 priority patent/WO2020233087A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • 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

Abstract

This application involves process optimization techniques, a kind of bill data backing method and system are provided.This method comprises: receiver equipment receives the bill data audit request for carrying coupon identification for method, apparatus transmission of making out an invoice;Receiver equipment is audited according to bill data and is requested, and the bill data of current latest edition corresponding with coupon identification is searched from block chain node;Receiver equipment audits interface by recipient and bill data is showed recipient auditor, obtains the audit opinion data that recipient auditor is directed to bill data triggering;When audit opinion data indicate that the audit fails, receiver equipment inquires recipient's backup bill data corresponding with coupon identification, and recipient's backup bill data and audit opinion data are sent to block chain node;The recipient's backup bill data and audit opinion data of transmission are used to indicate block chain node for recipient's backup bill data and audit opinion data and data block are written.Bill data rollback efficiency can be improved in this method.

Description

Bill data backing method and system
Technical field
This application involves technical field of data processing, more particularly to a kind of bill data backing method and system.
Background technique
The side of making out an invoice obtains bill data to be modified from block chain, and modifies to obtain to bill data to be modified After modified bill data, modified bill data can be written in block chain, the bill number as debit waiting audit According to.When recipient receives the audit request that the side of making out an invoice is sent, pending bill data can be obtained from block chain, and treat The bill data of audit is audited to obtain audit opinion data.
Currently, the bill data that receiver equipment can pass through audit is held when audit opinion data indicate that audit passes through Row block chain enters chain operation and Database Backup operations.When audit opinion data indicate that the audit fails, receiver equipment will The bill data that the audit fails pushes to method, apparatus of making out an invoice, and to indicate to make out an invoice, method, apparatus remodifies bill data.If making out an invoice When method, apparatus receives the bill data that the audit fails, the side of making out an invoice cancels this modification in advance, then needs the bill on block chain Bill data before data-backoff to this modification, i.e., the bill data before modifying this re-write block chain, and The bill data re-write is audited by recipient.It can be seen that in the back off procedure of bill data, the side of making out an invoice and The operating process of recipient both sides is complicated, to there are problems that the rollback low efficiency of bill data.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of ticket of rollback efficiency that can be improved bill data According to data-backoff method and system.
A kind of bill data backing method, which comprises
Receiver equipment receives the bill data audit request for carrying coupon identification for method, apparatus transmission of making out an invoice;
The receiver equipment is audited according to the bill data and is requested, and is searched and the bill mark from block chain node Know the bill data of corresponding current latest edition;
The receiver equipment audits interface by recipient and the bill data is showed recipient auditor, and obtains The recipient auditor is taken to be directed to the audit opinion data of bill data triggering;
When the audit opinion data indicate that the audit fails, the receiver equipment inquiry and the coupon identification pair Recipient's backup bill data and the audit opinion data are sent to the area by the recipient's backup bill data answered Block chain node;
The recipient's backup bill data sent and the audit opinion data, are used to indicate the block chain node Data block is written into recipient's backup bill data and the audit opinion data.
The receiver equipment inquires recipient's backup ticket corresponding with the coupon identification in one of the embodiments, According to data, comprising:
The receiver equipment generates Backup Data acquisition request according to the coupon identification, and the Backup Data is obtained Request is sent to the block chain node;
The receiver equipment receive it is that the block chain node is inquired and is fed back according to the Backup Data acquisition request, And recipient's backup bill data of current latest edition corresponding with the coupon identification.
The audit for obtaining the recipient auditor and being directed to bill data triggering in one of the embodiments, After opinion data, the method also includes:
When the audit opinion data indicate audit pass through when, the receiver equipment by the bill data and it is described examine Core opinion data is sent to the block chain node;
The bill data sent and the audit opinion data, are used to indicate the block chain node for the bill Data block is written in data and the audit opinion data.
The receiver equipment receives the coupon identification that carries for method, apparatus transmission of making out an invoice in one of the embodiments, Before bill data audit request, the method also includes:
The method, apparatus of making out an invoice searches the corresponding initial bill data of the coupon identification from block chain node;
The initial bill data is showed the side of making out an invoice operator by the side's of making out an invoice operation interface by the method, apparatus of making out an invoice, And the side of making out an invoice operator described in obtaining modifies data for the bill of the initial bill data triggering;
Bill modification data are sent to the block chain node by the method, apparatus of making out an invoice, and the bill modifies data It is used to indicate the block chain node and data block, and the ticket that data block will be written is written into bill modification data Bill data according to modification data as current latest edition;
The method, apparatus triggering of making out an invoice generates the bill data audit request for carrying the coupon identification.
Bill modification data are sent to the block chain link by the method, apparatus of making out an invoice in one of the embodiments, Point, the bill modification data are used to indicate the block chain node for bill modification data write-in data block, and will Bill data of the bill modification data of data block as current latest edition is written, comprising:
The method, apparatus triggering of making out an invoice generates the just core request of the corresponding bill data of the coupon identification, and by the bill Modification data are sent to the block chain node, and the bill modification data are used to indicate the block chain node for the bill It modifies data and data block is written;
The method, apparatus of making out an invoice is requested according to core at the beginning of the bill data, is searched and the ticket from the block chain node Data are modified according to the corresponding bill is identified, the bill modification data of lookup are audited into showing interface by the side of making out an invoice and are given The side of making out an invoice auditor, first core opinion number of the side of the making out an invoice auditor described in acquisition for the bill modification data-triggered shown According to;
When the audit fails for the just core opinion data expression, method, apparatus inquiry and the coupon identification pair of making out an invoice The side's of the making out an invoice backup bill data answered, by means of the block chain node by the side's of making out an invoice backup bill data and it is described just core Data block is written in opinion data, and the backup of the side of making out an invoice described in data block bill data will be written as current latest edition Bill data.
It includes that recipient's first trial interface and recipient check boundary that the recipient, which audits interface, in one of the embodiments, Face;The recipient auditor includes recipient first trial person and recipient's auditor;The receiver equipment is examined by recipient The bill data is showed recipient auditor by core interface, and obtains the recipient auditor for the bill data The audit opinion data of triggering include:
The bill data is showed recipient first trial person by recipient's first trial interface by the receiver equipment, is obtained The recipient first trial person is directed to the opinion of primary examinations data of bill data triggering, and it is corresponding that triggering generates the coupon identification Bill data review request, and number is written into the opinion of primary examinations data and the bill data by means of the block chain node According to block;
The receiver equipment is checked according to the bill data and is requested, and is searched and the ticket from the block chain node According to the corresponding opinion of primary examinations data and the bill data is identified, interface is checked for the first trial of lookup by recipient Opinion data and the bill data show recipient's auditor;
The receiver equipment obtains recipient's auditor for the opinion of primary examinations data and the ticket shown The bill is obtained according to the review opinion data of data-triggered, and according to the review opinion data and the opinion of primary examinations data The corresponding audit opinion data of data.
In one of the embodiments, it is described obtained according to the review opinion data and the opinion of primary examinations data it is described After the corresponding audit opinion data of bill data, the method also includes:
When review opinion data expression disagrees opinion of primary examinations data, described in the receiver equipment triggering generation The corresponding bill data of coupon identification rehears request, and by means of the block chain node by opinion of primary examinations data, described It checks opinion data and data block is written in the bill data;
The receiver equipment rehears request according to the bill data, searches and the ticket from the block chain node According to identifying corresponding bill data, and it is back to and described the bill data is showed by recipient by recipient's first trial interface The step of first trial person, continues to execute.
A kind of bill data rollback system, the system comprises: receiver equipment, make out an invoice method, apparatus and block chain node;
The method, apparatus of making out an invoice, the bill data audit for carrying coupon identification to receiver equipment transmission are asked It asks;
The receiver equipment, for according to the bill data audit request, from the block chain node search with The bill data of the corresponding current latest edition of the coupon identification;Interface is audited by recipient to show the bill data To recipient auditor, and obtain the audit opinion data that the recipient auditor is directed to bill data triggering;
The receiver equipment is also used to when the audit opinion data indicate that the audit fails, inquiry and the ticket According to corresponding recipient's backup bill data is identified, recipient's backup bill data and the audit opinion data are sent To the block chain node;
The block chain node, for data to be written in recipient's backup bill data and the audit opinion data Block.
The receiver equipment in one of the embodiments, is also used to indicate that audit is logical when the audit opinion data It is out-of-date, the bill data and the audit opinion data are sent to the block chain node;
The block chain node is also used to the bill data and audit opinion data write-in data block.
The method, apparatus of making out an invoice in one of the embodiments, is also used to search the bill mark from block chain node Know corresponding initial bill data;The initial bill data is showed into the side of making out an invoice operator by the side's of making out an invoice operation interface, And the side of making out an invoice operator described in obtaining modifies data for the bill of the initial bill data triggering;The bill is modified into number According to being sent to the block chain node;Triggering generates the bill data audit request for carrying the coupon identification;
The block chain node is also used to modifying the bill into data write-in data block, and data block will be written Bill data of the bill modification data as current latest edition.
Above-mentioned bill data backing method and system, receiver equipment is in the carrying bill for receiving method, apparatus transmission of making out an invoice When the bill data of mark audits request, searched and the coupon identification from block chain automatically according to bill data audit request The bill data of corresponding current latest edition, and the bill data found is audited into showing interface to reception by recipient Square auditor, to obtain the audit opinion data of the corresponding triggering of the recipient auditor.When audit opinion data indicate audit not By when, receiver equipment is according to the corresponding recipient's backup bill data of coupon identification quick search, and by means of block chain Recipient's backup bill data and audit opinion data are automatically write data block by node, with realize in block chain with bill Identify the rollback of corresponding bill data.As a result, in the back off procedure of bill data, reduce the side of making out an invoice and recipient both sides Operating process, operation complexity is reduced, to improve the rollback efficiency of bill data.
Detailed description of the invention
Fig. 1 is the application scenario diagram of bill data backing method in one embodiment;
Fig. 2 is the flow diagram of bill data backing method in one embodiment;
Fig. 3 is the flow diagram of bill data backing method in another embodiment;
Fig. 4 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Bill data backing method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, it connects Debit's equipment 102 makes out an invoice method, apparatus 104 and block chain node 106 is communicated by network between each other.Receiver equipment 102 receive the bill data audit request for carrying coupon identification for the transmission of method, apparatus 104 of making out an invoice, and are audited according to the bill data The bill data for searching current latest edition corresponding with coupon identification from block chain node 106 is requested, is examined by recipient The bill data is showed recipient auditor by core interface, and obtains the audit opinion number of the corresponding triggering of the recipient auditor According to;When audit opinion data indicate that the audit fails, it is standby that receiver equipment 102 inquires recipient corresponding with the coupon identification Part bill data, and data block is written into recipient's backup bill data by means of block chain node 106.Receiver equipment 102, which can be terminal with method, apparatus 104 of making out an invoice, is also possible to server.Block chain node is corresponding with server, block chain link Point specifically can be server.Terminal can be, but not limited to be various personal computers, laptop, smart phone, plate Computer and portable wearable device, server can use the server set of the either multiple server compositions of independent server Group realizes.Block chain node 106 is corresponding with block chain network, includes multiple block chain nodes in the block chain network, respectively Block chain node can carry out data transmitting between each other.In the block chain network, receiver equipment 102 and method, apparatus of making out an invoice 104 corresponding block chain nodes can be the same or different.
In one embodiment, as shown in Fig. 2, providing a kind of bill data backing method, this method includes following step It is rapid:
S202, receiver equipment receive the bill data audit request for carrying coupon identification for method, apparatus transmission of making out an invoice.
Wherein, coupon identification is used for unique identification bill, can be by least one in the characters such as number, letter and symbol The character string of kind character composition, specifically can be voucher code or number.Bill refers to electronic bill, is Fang Xiang reception of making out an invoice Voucher/consumption certificate that side provides service, sells product (or commodity) or provide when being engaged in other business activities for recipient.It opens Ticket side can be sale enterprise or individual, and recipient can be consumption enterprise or individual.Bill data audit request is for touching Send out the request of bill data review operations.
Specifically, method, apparatus is made out an invoice when getting bill modification data corresponding with coupon identification, and triggering, which generates, to be carried The bill data of the coupon identification audits request, and the audit request of the bill data of generation is sent to receiver equipment.
S204, receiver equipment are audited according to bill data and are requested, and are searched from block chain node corresponding with coupon identification Current latest edition bill data.
Wherein, bill data refers to data corresponding to bill, including the side's of making out an invoice mark, recipient's mark, coupon identification With resource transfers number, it may also include product identification or item to manage mark and invoicing time stamp.The side's of making out an invoice mark specifically may be used To be title, Taxpayer Identification Number and/or the account of opening an account etc. of the side's of making out an invoice (seller), recipient's mark is specific to can be reception Title, Taxpayer Identification Number and/or the account of opening an account etc. of side (consumer).Resource transfers number refers to the consumption resources of recipient Number.
Specifically, receiver equipment is audited according to bill data requests to determine coupon identification, is generated according to the coupon identification First bill data acquisition request, and the first bill data acquisition request of generation is sent to block chain node.Block chain link O'clock coupon identification is determined according to the first bill data acquisition request, is searched in block chain according to coupon identification and the coupon identification The bill data of corresponding current latest edition, and the bill data found is fed back into receiver equipment.
In one embodiment, the bill data of the current latest edition is the bill number of debit auditor's audit waiting According to simultaneously data block is written in and the newest modified bill data of the side of making out an invoice operator, that is, newest obtain of method, apparatus of making out an invoice Bill modifies data.
In one embodiment, block chain includes multiple data blocks, and bill data is stored in data block, is stored in Bill data in data block is corresponding with version number.The version number of bill data can be by being written data block for the bill data Timestamp or the block number of the data block determine, can also be determined by the corresponding current newest version number of coupon identification, For example current newest version number when being 1, then the version number of corresponding determining bill data is 2.May also include in version number with Machine number.Block chain node is searched and the bill mark in block chain according to the coupon identification in the first bill data acquisition request Know corresponding one or more bill datas, is screened from the coupon identification found according to the corresponding version number of each bill data The newest bill data of version number out, the bill data of the current latest edition as lookup.
In one embodiment, recipient mark (or recipient auditor is carried in the first bill data acquisition request Mark) and coupon identification.Block chain node identifies (or recipient auditor identify) to recipient (or recipient according to recipient Auditor) permission verify, when passed the verification, search the bill number of corresponding with coupon identification current latest edition According to.
S206, receiver equipment audits interface by recipient and bill data is showed recipient auditor, and obtains Recipient auditor is directed to the audit opinion data of bill data triggering.
Wherein, audit opinion data are used to characterize the bill number that recipient auditor audits interface current presentation to recipient According to audit opinion, specifically may include audit by and the audit fails.It can determine that recipient audits according to audit opinion data Whether member agrees to the bill data of the side of making out an invoice operator creation or modification.When audit opinion data indicate that audit passes through, show Recipient auditor agrees to the bill data of the side of making out an invoice operator creation or modification;When audit opinion data indicate that the audit fails When, show that recipient auditor disagrees and (refuse) bill data of the side of making out an invoice operator creation or modification.
Specifically, when receiver equipment is receiving side terminal, which audits interface for root by recipient Recipient auditor is showed according to the bill data that coupon identification is found, real-time detection recipient auditor is directed to current presentation Bill data triggering default review operations, and obtain corresponding audit opinion number according to the default review operations that detect According to.When detecting default review operations, receiving side terminal presets review operations according to this and obtains recipient auditor's pre-selection Or the audit opinion data of pre- typing.When receiver equipment is recipient's server, ticket that recipient's server will be found It is sent to receiving side terminal according to data, is showed the bill data with auditing interface by recipient by means of receiving side terminal Recipient auditor, and receive the corresponding audit opinion data for obtaining and feeding back of the receiving side terminal.
S208, when audit opinion data indicate that the audit fails, receiver equipment inquiry is corresponding with coupon identification to be connect Recipient's backup bill data and audit opinion data are sent to block chain node by debit's backup bill data;What is sent connects Debit's backup bill data and audit opinion data are used to indicate block chain node and recipient's backup bill data and audit are anticipated See that data block is written in data.
Wherein, recipient's backup bill data, which refers to, indicates that audit is logical in the audit opinion data of recipient auditor's triggering The bill data of out-of-date backup.Recipient's backup bill data includes bill data, may also include recipient auditor mark and/ Or the audit opinion data triggered by recipient auditor.
Specifically, when audit opinion data indicate that the audit fails, receiver equipment according to coupon identification local or Other computer equipments inquire corresponding recipient's backup bill data, and the recipient's backup bill data and phase that will be inquired The audit opinion data answered are sent to block chain node.The recipient's backup bill data and audit that the docking of block chain node receives Opinion data executes block chain and enters chain operation, and data field is written in recipient's backup bill data and audit opinion data Block.Other computer equipments such as block chain node, or the data backup server for storing backup bill data.
In one embodiment, receiver equipment is identified according to coupon identification and recipient auditor from local or other meters It calculates machine equipment and inquires corresponding recipient's backup bill data.Receiver equipment is according to coupon identification from local or other computers Equipment query backs up bill data accordingly, and filters out from the backup bill data inquired and identify with recipient auditor The recipient's backup bill data to match.Recipient auditor's mark is used for unique identification recipient auditor, specifically can be with It is the name, identification card number or the user name of registration etc. of recipient auditor.
In one embodiment, when audit opinion data indicate that the audit fails, receiver equipment is from local data base It is middle to inquire recipient's backup bill data corresponding with coupon identification.In one embodiment, when audit opinion data indicate to examine When core does not pass through, receiver equipment generates corresponding Backup Data acquisition request according to coupon identification, by the Backup Data of generation Acquisition request is sent to data backup server.Data backup server is according to the bill mark in the Backup Data acquisition request Know, inquires corresponding recipient's backup bill data, and the recipient's backup bill data that will be inquired in the local database Feed back to receiver equipment.
In one embodiment, receiver equipment inquires recipient's backup bill data corresponding with coupon identification, comprising: Receiver equipment generates Backup Data acquisition request according to coupon identification, and Backup Data acquisition request is sent to block chain link Point;Receiver equipment receives that block chain link point is inquired and fed back according to Backup Data acquisition request and corresponding with coupon identification Current latest edition recipient's backup bill data.
Specifically, the Backup Data acquisition request generated according to coupon identification is sent to block chain link by receiver equipment Point.Block chain node inquires corresponding recipient's backup ticket according to the coupon identification in Backup Data acquisition request in block chain According to data, recipient's backup bill data of current latest edition is filtered out from the recipient's backup bill data inquired, and The recipient's backup bill data filtered out is fed back into receiver equipment.
In one embodiment, block chain node is inquired in block chain according to Backup Data acquisition request and carries backup The backup bill data of Data Identification filters out recipient's backup corresponding with coupon identification from the backup bill data inquired Bill data, and from recipient's backup ticket of the current latest edition of recipient's backup bill data further screening filtered out According to data.The bill data that audit passes through is backed up into block chain as a result, is identified by Backup Data and distinguishes backup bill data With other bill datas, in order to can be according to quick positioning backup bill data, Neng Gouti when carrying out bill data rollback The rollback efficiency of high bill data.
In one embodiment, after step S206, above-mentioned bill data backing method further include: when audit opinion data When indicating that audit passes through, bill data and audit opinion data are sent to block chain node by receiver equipment;The bill of transmission Data and audit opinion data are used to indicate block chain node for bill data and audit opinion data and data block are written.
Specifically, when audit opinion data indicate that audit passes through, receiver equipment is by corresponding bill data and audit Opinion data is sent to block chain node.The bill data and audit opinion data that the docking of block chain node receives execute block chain Enter chain operation, data block is written into the bill data and audit opinion data.
In one embodiment, block chain node is raw when by bill data and audit opinion data write-in data block At version number corresponding with the bill data, as the current newest version number of corresponding coupon identification.
In one embodiment, when audit opinion data indicate that audit passes through, receiver equipment passes through according to audit Bill data renewed bill identifies current corresponding recipient's backup bill data.Specific update mode is backed up according to recipient Depending on the storage location of bill data, for example, receiver equipment is in the currently corresponding recipient's backup of local search coupon identification Bill data, and the recipient's backup bill data inquired is updated to the bill data that the audit passes through;Receiver equipment By means of the current corresponding recipient's backup bill data of the Backup Data server update coupon identification;Receiver equipment by The bill data that the audit passes through is backed up into block chain in block chain node, as the corresponding current latest edition of the coupon identification This recipient's backup bill data.It is understood that receiver equipment can be by the corresponding audit opinion data of bill data And/or recipient auditor's mark, correspondence back up to updated recipient's backup bill data.
In above-described embodiment, recipient auditor agree to creation or modification bill data when, by the bill data by means of Data block is written in block chain node, can check quickly fastly from block chain when bill being initiated and modified in order to the side of making out an invoice operator Bill data to be modified is looked for, while ensure that the authenticity of bill data, trackability and can not tamper.
In one embodiment, before step S202, above-mentioned bill data backing method further include: method, apparatus of making out an invoice is from area The corresponding initial bill data of coupon identification is searched in block chain node;Make out an invoice method, apparatus by the side's of making out an invoice operation interface by initial ticket The side of making out an invoice operator is showed according to data, and obtains the side of making out an invoice operator and modifies number for the bill of initial bill data triggering According to;Bill is modified data and is sent to block chain node by method, apparatus of making out an invoice, and bill modification data are used to indicate block chain node will Bill modifies data and data block is written, and the bill that data block is written is modified data as the bill of current latest edition Data;Method, apparatus of making out an invoice triggering generates the bill data audit request for carrying coupon identification.
Wherein, initial bill data refers to when bill to be modified in the bill data modification of time execution and auditing flow Data, the bill data to be modified are initial bill data for modified bill data.Initial bill data It is to be audited by recipient auditor and borrowed by receiver equipment in the bill data modification of previous execution and auditing flow Help the bill data of block chain node write-in data block.Bill modification data refer to the corresponding modified ticket of coupon identification According to data.
Specifically, method, apparatus is made out an invoice in the bill modification instruction for getting the side of making out an invoice operator for coupon identification triggering When, the second bill data acquisition request is generated according to coupon identification, and the second bill data acquisition request of generation is sent to Block chain node.Block chain node searches the ticket according to the coupon identification in the second bill data acquisition request from block chain According to the bill data for identifying corresponding current latest edition, fed back to as initial bill data, and by the initial bill data It makes out an invoice method, apparatus.The initial bill data found by the side's of making out an invoice operation interface is showed the side's of making out an invoice operation by method, apparatus of making out an invoice Member, and obtain the side of making out an invoice operator and modify data for the bill of the initial bill data triggering shown.
Further, the bill modification data that method, apparatus of making out an invoice will acquire are sent to block chain node, and trigger generation The bill data audit request of coupon identification is carried, and then the audit request of the bill data of generation is sent to recipient and is set It is standby.The bill modification data that the docking of block chain node receives execute block chain and enter chain operation, by bill modification data write-in Data block, and version number corresponding with bill modification data is generated, as the corresponding current newest version of coupon identification Number, using bill modification data as the bill data of the corresponding current latest edition of coupon identification.Receiver equipment according to The bill data audit request received, can inquire the corresponding current latest edition of the coupon identification from block chain node Bill data.
In one embodiment, when method, apparatus of making out an invoice is the side's of making out an invoice terminal, which passes through the side's of making out an invoice operation Initial bill data is showed the side of making out an invoice operator by interface, and is detecting the side of making out an invoice operator for the initial bill data When the default modification operation of triggering, the bill modification data of the pre- typing of the side of making out an invoice operator are obtained.When method, apparatus of making out an invoice is to open When ticket side's server, which obtains bill corresponding with initial bill data by means of the accordingly side's of making out an invoice terminal and repairs Change data.
In one embodiment, method, apparatus of making out an invoice encrypts bill modification data based on the private key of itself, is counted Word signature, and the digital signature and the public key of itself are sent to block chain node.Block chain node is based on public key and signs to number Name is verified, and data block is written in the digital signature that verification is passed through.
In above-described embodiment, method, apparatus of making out an invoice modifies data for the bill that initial bill data is got is corresponded to, by Data block is written in block chain node, in order to recipient can quickly be inquired from block chain according to coupon identification it is pending Bill data, simultaneously, it can be ensured that the trackability and authenticity of bill data, in order to avoid bill data is intentionally or accidentally usurped Change.
In one embodiment, bill is modified data and is sent to block chain node by method, apparatus of making out an invoice, and bill modifies data Block chain node is used to indicate to make by bill modification data write-in data block, and by the bill modification data that data block is written For the bill data of current latest edition, comprising: method, apparatus of making out an invoice triggering generates the corresponding bill data of coupon identification, and just core is asked It asks, and bill modification data is sent to block chain node, bill modification data are used to indicate block chain node and modify bill Data block is written in data;Method, apparatus of making out an invoice is requested according to core at the beginning of bill data, lookup and coupon identification from block chain node Corresponding bill modifies data, gives the bill modification data of lookup to the side of making out an invoice auditor by the side's of making out an invoice audit showing interface, The side of making out an invoice auditor is obtained for the first core opinion data of the bill modification data-triggered shown;Core opinion data indicated to examine originally When core does not pass through, method, apparatus of making out an invoice inquires the side's of making out an invoice backup bill data corresponding with coupon identification, by means of block chain node Data block, and the side's of the making out an invoice backup ticket that data block will be written is written into the side's of making out an invoice backup bill data and first core opinion data Bill data according to data as current latest edition.
Specifically, method, apparatus is made out an invoice in the bill modification number for getting the side of making out an invoice operator for the triggering of initial bill data According to when, triggering generate carrying corresponding coupon identification bill data just core request, and will acquire bill modification data hair It send to block chain node.The bill modification data that the docking of block chain node receives execute block chain and enter chain operation, by the bill It modifies data and data block is written.Further, core at the beginning of the bill data that method, apparatus is generated according to triggering of making out an invoice is requested, from block Bill corresponding with corresponding coupon identification is inquired in chain node and modifies data, modifies data as pending bill.The side of making out an invoice The pending bill modification data are audited showing interface to the side of making out an invoice auditor by the side of making out an invoice by equipment, and obtain the side of making out an invoice First core opinion data of the auditor for the bill modification data-triggered shown.
When core opinion data indicates that the audit fails originally, method, apparatus of making out an invoice is according to coupon identification in local or other calculating The corresponding side of making out an invoice backup bill data is inquired in machine equipment, and by the side of the making out an invoice backup bill data inquired and accordingly first core Opinion data is sent to block chain node.Block chain node executes area to the side's of making out an invoice backup bill data and first core opinion data Block chain enters chain operation, data block is written in the side's of making out an invoice backup bill data and first core opinion data, and data will be written Bill data of the side's of the making out an invoice backup bill data of block as the corresponding current latest edition of coupon identification.Wherein, it makes out an invoice Method, apparatus inquires the step of side's of making out an invoice backup bill data, sets similar to the recipient provided in said one or multiple embodiments The step of inquiry side of making out an invoice backup bill data for future reference, details are not described herein.
In one embodiment, core opinion data indicates audit when passing through originally, and method, apparatus of making out an invoice is by the first core opinion number Be sent to block chain node according to the bill modification data passed through with audit, with by means of block chain node by the first core opinion data Data block is written with bill modification data, and the bill modification data that data block is written are corresponding as coupon identification The bill data of current latest edition.Correspondingly, the bill modification data that method, apparatus of making out an invoice passes through according to audit update corresponding ticket According to the current corresponding side of making out an invoice backup bill data is identified, bill modification data backup which is passed through to local or its In his computer equipment.Wherein, the step of method, apparatus of making out an invoice modifies the data update side's of making out an invoice backup bill data according to bill, class The receiver equipment provided in said one or multiple embodiments is provided, backup bill data in the side's of making out an invoice is updated according to bill data The step of, details are not described herein.
In one embodiment, the bill data created for the first time for the side of making out an invoice operator, method, apparatus of making out an invoice can also be according to Above-mentioned process flow obtains the corresponding just core opinion data of the bill data, and triggers corresponding block according to first core opinion data Chain enters chain operation.In one embodiment, when core opinion data indicates that the audit fails originally, method, apparatus of making out an invoice triggering and bill Corresponding bill data modification request is identified, bill data modification request is used to indicate the side of making out an invoice operator for the bill mark Know corresponding bill data and re-initiates modification.
In one embodiment, when getting the first core opinion data of the side of making out an invoice auditor triggering, method, apparatus of making out an invoice can The default modification operation that the side of making out an invoice operator triggers again is obtained, is obtained according to the default modification triggered again operation corresponding Target bill modifies data, and modifies data for the target bill obtained, according to providing in said one or multiple embodiments Process flow execute block chain enter chain operation and review operations.Correspondingly, method, apparatus is made out an invoice by means of management server, inquiry Whether the review operations that method, apparatus of making out an invoice is executed for the bill modification data of the previous modification of the side of making out an invoice operator are finished, if It has not carried out and finishes, then stop the review operations, so that the side of making out an invoice auditor and recipient auditor are successively directed to the target Bill modifies data and executes review operations.The confirmation previous modification of the side of making out an invoice operator is not yet audited in recipient auditor as a result, Bill modification data in the case where, the side of making out an invoice operator can initiate modification again, and (for example the side of making out an invoice operator discovery previous is repaired Initiate to modify again when the bill modification error in data changed), save the time expended in process flow.Moreover, based on above-mentioned Process flow can be avoided because of same coupon identification bill data mistake caused by the same time corresponding to multiple process flows Or the problem that version number is inconsistent.
It is worth noting that receiver equipment is directed to when recipient auditor disagrees target bill modification data The review operations that the bill modification data of the previous modification of the side of making out an invoice operator continue to execute, obtain corresponding audit opinion data; When the audit opinion data indicate that audit passes through, receiver equipment is by means of block chain node by the bill number of the previous modification According to write-in data block;When the audit opinion data indicate that the audit fails, if it is determined that the bill for the previous modification is repaired The review operations that newest bill modification data before changing data execute have not carried out when finishing, and receiver equipment is according to above-mentioned side Formula continues to execute review operations to the newest bill modification data, otherwise inquires current latest edition corresponding to coupon identification Recipient's backup bill data, and by means of block chain node by recipient's backup bill data and corresponding audit opinion data Data block is written.As a result, when the bill that the side of making out an invoice auditor and/or recipient auditor refuse modification modifies data, energy It enough realizes that the multi version of bill data retracts, and is capable of the correctness and version of backed bill data in multi version back off procedure Number it is one straightforward.
In one embodiment, method, apparatus of making out an invoice include first make out an invoice method, apparatus corresponding to the side of making out an invoice operator, and Second makes out an invoice method, apparatus corresponding to the side of making out an invoice auditor.Initial bill data is showed the side of making out an invoice behaviour by the first method, apparatus of making out an invoice Work person, when the bill for getting the corresponding triggering of the side of making out an invoice operator modifies data, triggering generates bill data just core request, will The bill data just core request is sent to second and makes out an invoice method, apparatus, and number is written in bill modification data by means of block chain node According to block.Second method, apparatus of making out an invoice according to the bill data received just core request from block chain node searches pending ticket According to modification data, the bill found modification data are showed into the side of making out an invoice auditor, obtain the corresponding touching of the side of making out an invoice auditor The first core opinion data of hair, and according to first core opinion data by means of block chain node by the first core opinion data, and make out an invoice Data block is written in side's backup bill data or bill modification data.
In above-described embodiment, the bill modification data that the side of making out an invoice operator triggers tentatively examine by the side of making out an invoice auditor Core, and when the side of making out an invoice auditor disagrees bill modification data, by the corresponding bill data of coupon identification in block chain Automatic rollback audits the side's of the making out an invoice backup bill data for passing through and backing up to the side of making out an invoice auditor is previous, and thus, it is possible to effectively keep away Exempt from recipient auditor aiming at the problem that modification mistake or undesirable bill modification data execute review operations, saves Unnecessary operating process improves the rollback efficiency of bill data.In addition, recipient auditor continues to audit the automatic rollback The side's of making out an invoice backup bill data, to avoid the bill for disagreeing current review because of the side of making out an invoice auditor and recipient auditor The problem for causing the bill data to retract inconsistent when data and triggering bill data rollback operation, is saving process flow In the case where, it ensure that the consistency of bill data.
In one embodiment, it includes that recipient's first trial interface and recipient check interface that recipient, which audits interface,;It receives Square auditor includes recipient first trial person and recipient's auditor;Step S206 includes: that receiver equipment passes through recipient's first trial Bill data is showed recipient first trial person by interface, obtains the opinion of primary examinations number that recipient first trial person is directed to bill data triggering Generate coupon identification corresponding bill data review request according to, triggering, and by means of block chain node by opinion of primary examinations data and Data block is written in bill data;Receiver equipment is checked according to bill data and is requested, lookup and bill from block chain node Corresponding opinion of primary examinations data and bill data are identified, interface is checked for the opinion of primary examinations data and bill of lookup by recipient Data show recipient's auditor;Receiver equipment obtains recipient's auditor for the opinion of primary examinations data and bill shown The review opinion data of data-triggered, and the corresponding audit of bill data is obtained according to review opinion data and opinion of primary examinations data Opinion data.
In one embodiment, agree first trial when first trial opinion data indicates that audit passes through and checks opinion data When opinion data, receiver equipment then determines that the corresponding audit opinion Data Identification audit of coupon identification passes through;Work as opinion of primary examinations When data indicate that the audit fails and review opinion data agrees opinion of primary examinations data, receiver equipment then determines accordingly Audit opinion data indicate that the audit fails.
In one embodiment, when getting the opinion of primary examinations data of recipient first trial person triggering, no matter the first trial is anticipated See that data indicate audit by the way that still the audit fails, receiver equipment is directly by the opinion of primary examinations data and corresponding bill data Data block is written by means of block chain node.When the audit opinion number determined according to opinion of primary examinations data and review opinion data When according to indicating that audit passes through, bill data, opinion of primary examinations data and the review opinion data that receiver equipment passes through audit are borrowed Help block chain node write-in data block, and the bill data renewed bill passed through according to the audit identifies currently corresponding connect Debit's backup bill data.Wherein, the corresponding audit opinion data of bill data can (be may include opinion of primary examinations by receiver equipment Data and review opinion data) and/or recipient auditor's mark (may include recipient first trial person and recipient's auditor), it is right Updated recipient's backup bill data should be backed up to.
Further, when identified audit opinion data indicate that audit passes through, receiver equipment can be according to bill mark Know and inquire corresponding recipient's backup bill data, can also be checked according to coupon identification, recipient first trial person mark and recipient Member's mark inquires corresponding recipient's backup bill data.
In one embodiment, receiver equipment includes corresponding first receiver equipment of recipient first trial person, Yi Jijie Corresponding second receiver equipment of debit's auditor.First receiver equipment and the second receiver equipment execute above-mentioned by connecing respectively The relevant operation that debit's equipment executes.
In above-described embodiment, according to the review opinion number of the opinion of primary examinations data of recipient first trial person and recipient's auditor According to, determine final audit opinion data, in order to avoid lead to ticket because recipient first trial person audits the reasons such as mistake or operation error It retracts according to the mistake of data, ensure that the accuracy that bill data retracts.Moreover, can effectively ensure that bill by dual audit Modify the accuracy of data.
In one embodiment, the corresponding audit of bill data is obtained according to review opinion data and opinion of primary examinations data to anticipate See after data, method further include: when checking opinion data indicates to disagree opinion of primary examinations data, receiver equipment triggering life Request is reheard at the corresponding bill data of coupon identification, and by means of block chain node by opinion of primary examinations data, review opinion number Data block is written according to bill data;Receiver equipment rehears request according to bill data, from block chain node search with The corresponding bill data of coupon identification, and be back to and bill data is showed by recipient first trial person by recipient's first trial interface The step of continue to execute.
Wherein, bill data rehear request be used to indicate receiver equipment by bill data show recipient first trial person into Row is audited again.Specifically, when checking opinion data indicates to disagree opinion of primary examinations data, no matter opinion of primary examinations data indicate Audit by or the audit fails, receiver equipment, which trigger generation and carries the bill data of coupon identification, rehears request, And the bill data of audit, opinion of primary examinations data and review opinion data are sent to block chain node.The docking of block chain node Bill data, opinion of primary examinations data and the review opinion data received executes block chain and enters chain operation, by the bill data, just It examines opinion data and data block is written in review opinion data.Further, the bill number that receiver equipment is generated according to triggering According to request is reheard, bill data corresponding with coupon identification is searched from block chain node, and be back to through recipient's first trial The step of bill data inquired is showed recipient first trial person by interface continues to execute, until review iteration stopping condition When, stop above-mentioned iterative process.Iteration stopping condition such as checks opinion data mark and agrees to opinion of primary examinations data, alternatively, repeatedly Generation number reaches preset times.
It is understood that receiver equipment can trigger to generate and indicate to assist under line when the number of iterations reaches preset times The prompt information of quotient, and recipient first trial person and/or recipient's auditor are showed, to indicate recipient first trial person and recipient Auditor determines the audit opinion data of bill data by way of negotiating under line.
In above-described embodiment, when recipient first trial person and audit opinion of recipient's auditor to bill data are inconsistent When, triggering bill data rehears process, and the reliability and authenticity of bill data can be improved.
As shown in figure 3, in one embodiment, providing a kind of bill data backing method, method includes:
S302, method, apparatus of making out an invoice search the corresponding initial bill data of coupon identification from block chain node.
Initial bill data is showed the side of making out an invoice operator by the side's of making out an invoice operation interface by S304, method, apparatus of making out an invoice, and The bill that the side of making out an invoice operator is obtained for the triggering of initial bill data modifies data.
S306, method, apparatus of making out an invoice triggering generates the just core request of the corresponding bill data of coupon identification, and bill is modified number According to block chain node is sent to, bill modification data are used to indicate block chain node for bill modification data write-in data block.
S308, method, apparatus of making out an invoice are requested according to core at the beginning of bill data, are searched from block chain node corresponding with coupon identification Bill modify data, the bill of lookup modification data are audited into showing interface to the side of making out an invoice auditor, acquisition by the side of making out an invoice First core opinion data of the side of the making out an invoice auditor for the bill modification data-triggered shown.
S310, when core opinion data indicates that the audit fails originally, method, apparatus of making out an invoice inquiry is corresponding with coupon identification to be opened Ticket side's backup bill data, will the side's of making out an invoice backup bill data and first core opinion data write-in data field by means of block chain node Block, and the side's of making out an invoice backup bill data of data block will be written as the bill data of current latest edition.
S312, method, apparatus of making out an invoice triggering generate the bill data audit request for carrying coupon identification.
S314, receiver equipment receive the bill data audit request for carrying coupon identification for method, apparatus transmission of making out an invoice.
S316, receiver equipment are audited according to bill data and are requested, and are searched from block chain node corresponding with coupon identification Current latest edition bill data.
Bill data is showed recipient first trial person by recipient's first trial interface by S318, receiver equipment, and acquisition connects Debit first trial person is directed to the opinion of primary examinations data of bill data triggering, and triggering generates the corresponding bill data review of coupon identification and asks It asks, and data block is written into opinion of primary examinations data and bill data by means of block chain node.
S320, receiver equipment are checked according to bill data and are requested, and are searched from block chain node corresponding with coupon identification Opinion of primary examinations data and bill data, interface is checked by recipient and shows the opinion of primary examinations data and bill data of lookup Give recipient's auditor.
S322, receiver equipment obtain recipient's auditor for opinion of primary examinations data and the bill data triggering shown Opinion data is checked, and the corresponding audit opinion data of bill data are obtained according to review opinion data and opinion of primary examinations data.
S324, when audit opinion data indicate that the audit fails, receiver equipment inquiry is corresponding with coupon identification to be connect Recipient's backup bill data and audit opinion data are sent to block chain node by debit's backup bill data;What is sent connects Debit's backup bill data and audit opinion data are used to indicate block chain node and recipient's backup bill data and audit are anticipated See that data block is written in data.
S326, when audit opinion data indicate that audit passes through, receiver equipment is by bill data and audit opinion data It is sent to block chain node;The bill data and audit opinion data of transmission, be used to indicate block chain node by bill data and Data block is written in audit opinion data.
S328, when checking opinion data indicates to disagree opinion of primary examinations data, receiver equipment triggering generates bill mark Know corresponding bill data and rehear request, and by means of block chain node by opinion of primary examinations data, review opinion data and bill Data block is written in data.
S330, receiver equipment rehear request according to bill data, search from block chain node corresponding with coupon identification Bill data, and be back to step S318 and continue to execute.
In one embodiment, the block chain that block chain node executes enters chain and operates the following steps are included: block chain node The data into chain are treated based on common recognition mechanism and carry out common recognition operation, when common recognition passes through, are generated corresponding with the data of chain to be entered Data block, and will the data block of generation be written block chain in.It is understood that when block chain generates and chain to be entered When the corresponding data block of data, corresponding renewed bill identifies corresponding version number, as the current newest version of coupon identification Number, and the version number is written in data block.
In one embodiment, receiver equipment and method, apparatus of making out an invoice can be the same computer equipment, such as terminal Or server.The side of making out an invoice operator, the side of making out an invoice auditor, recipient first trial person and recipient's auditor can be based on corresponding Account and the password login computer equipment, and execute corresponding operation.
It should be understood that although each step in the flow chart of Fig. 2-3 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-3 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in Figure 1, providing a kind of bill data rollback system, comprising: receiver equipment 102, it makes out an invoice method, apparatus 104 and block chain node 106;
It makes out an invoice method, apparatus 104, carries the bill data audit of coupon identification for being sent to receiver equipment 102 and asks It asks;
Receiver equipment 102 is requested for being audited according to bill data, is searched and bill mark from block chain node 106 Know the bill data of corresponding current latest edition;Auditing interface by recipient shows recipient to audit bill data Member, and obtain the audit opinion data that recipient auditor is directed to bill data triggering;
Receiver equipment 102 is also used to inquire corresponding with coupon identification when audit opinion data indicate that the audit fails Recipient's backup bill data, recipient's backup bill data and audit opinion data are sent to block chain node 106;
Block chain node 106, for data block to be written in recipient's backup bill data and audit opinion data.
In one embodiment, receiver equipment 102 are also used to generate Backup Data acquisition request according to coupon identification, Backup Data acquisition request is sent to block chain node 106;Block chain node 106 is also used to be obtained according to Backup Data and ask Recipient's backup bill data of inquiry current latest edition corresponding with coupon identification is sought, and the recipient inquired is backed up Bill data feeds back to receiver equipment 102.
In one embodiment, receiver equipment 102 are also used to when audit opinion data indicate that audit passes through, by ticket Block chain node 106 is sent to according to data and audit opinion data;Block chain node 106, is also used to bill data and audit Data block is written in opinion data.
In one embodiment, it makes out an invoice method, apparatus 104, is also used to search coupon identification from block chain node corresponding just Beginning bill data;Initial bill data is showed into the side of making out an invoice operator by the side's of making out an invoice operation interface, and obtains the side of making out an invoice behaviour Work person modifies data for the bill of initial bill data triggering;Bill modification data are sent to block chain node 106;Triggering Generate the bill data audit request for carrying coupon identification;Block chain node 106 is also used to modifying bill into data write-in number Data are modified as the bill data of current latest edition according to block, and using the bill that data block is written.
In one embodiment, it makes out an invoice method, apparatus 104, is also used to trigger generating the corresponding bill data of coupon identification just core Request, and bill modification data are sent to block chain node;Block chain node 106 is also used to modifying bill into data write-in Data block;It makes out an invoice method, apparatus 104, is also used to be requested according to core at the beginning of bill data, searched from block chain node 106 and bill Corresponding bill modification data are identified, the bill modification data of lookup are audited into showing interface to the side's of making out an invoice audit by the side of making out an invoice Member obtains the side of making out an invoice auditor for the first core opinion data of the bill modification data-triggered shown;Core opinion data table originally When showing that the audit fails, the side's of making out an invoice backup bill data corresponding with coupon identification is inquired, will be opened by means of block chain node 106 Data block, and the side's of the making out an invoice backup bill number that data block will be written is written in ticket side's backup bill data and first core opinion data According to the bill data as current latest edition.
In one embodiment, it includes that recipient's first trial interface and recipient check interface that recipient, which audits interface,;It receives Square auditor includes recipient first trial person and recipient's auditor;Receiver equipment 102 is also used to through recipient's first trial interface Bill data is showed into recipient first trial person, obtains the opinion of primary examinations data that recipient first trial person is directed to bill data triggering, Triggering generates coupon identification corresponding bill data review request, and by means of block chain node 106 by opinion of primary examinations data and Data block is written in bill data;Receiver equipment 102 is also used to be checked according to bill data and request, from block chain node 106 It is middle to search opinion of primary examinations data corresponding with coupon identification and bill data, interface is checked by recipient, the first trial of lookup is anticipated See that data and bill data show recipient's auditor;Recipient's auditor is obtained for the opinion of primary examinations data and ticket shown According to the review opinion data of data-triggered, and according to review opinion data and opinion of primary examinations data obtain bill data it is corresponding examine Core opinion data.
In one embodiment, receiver equipment 102 are also used to disagree opinion of primary examinations number when review opinion data expression According to when, triggering generates the corresponding bill data of coupon identification and rehears request, and by means of block chain node 106 by opinion of primary examinations number According to, review opinion data and bill data be written data block;Receiver equipment 102 is also used to be reheard according to bill data and ask It asks, bill data corresponding with coupon identification is searched from block chain node 106, and being back to will by recipient's first trial interface Bill data shows the step of recipient first trial person to continue to execute.
Specific about bill data rollback system limits the limit that may refer to above for bill data backing method Fixed, details are not described herein.
In one embodiment, a kind of computer equipment is provided, which can be receiver equipment, makes out an invoice Method, apparatus or block chain node, internal structure chart can be as shown in Figure 4.The computer equipment includes being connected by system bus Processor, memory, network interface and database.Wherein, the processor of the computer equipment is calculated and is controlled for providing Ability.The memory of the computer equipment includes non-volatile memory medium, built-in storage.Non-volatile memory medium storage There are operating system, computer program and database.The built-in storage is the operating system and calculating in non-volatile memory medium The operation of machine program provides environment.The database of the computer equipment is used for storing bill data.The network of the computer equipment Interface is used to communicate with external terminal by network connection.To realize a kind of bill when the computer program is executed by processor Data-backoff method.
It will be understood by those skilled in the art that structure shown in Fig. 4, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Instruct relevant hardware to complete by computer program, computer program to can be stored in a non-volatile computer readable It takes in storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, this Shen Please provided by any reference used in each embodiment to memory, storage, database or other media, may each comprise Non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
Above embodiments only express the several embodiments of the application, and the description thereof is more specific and detailed, but can not Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art, Under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection scope of the application. Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of bill data backing method, which comprises
Receiver equipment receives the bill data audit request for carrying coupon identification for method, apparatus transmission of making out an invoice;
The receiver equipment is audited according to the bill data and is requested, and is searched and the coupon identification pair from block chain node The bill data for the current latest edition answered;
The receiver equipment audits interface by recipient and the bill data is showed recipient auditor, and obtains institute State the audit opinion data that recipient auditor is directed to bill data triggering;
When the audit opinion data indicate that the audit fails, the receiver equipment inquiry is corresponding with the coupon identification Recipient's backup bill data and the audit opinion data are sent to the block chain by recipient's backup bill data Node;
The recipient's backup bill data sent and the audit opinion data, are used to indicate the block chain node for institute State recipient's backup bill data and audit opinion data write-in data block.
2. the method according to claim 1, wherein receiver equipment inquiry is corresponding with the coupon identification Recipient's backup bill data, comprising:
The receiver equipment generates Backup Data acquisition request according to the coupon identification, by the Backup Data acquisition request It is sent to the block chain node;
The receiver equipment receive it is that the block chain node is inquired and is fed back according to the Backup Data acquisition request and with Recipient's backup bill data of the corresponding current latest edition of the coupon identification.
3. the method according to claim 1, wherein described obtain the recipient auditor for the bill After the audit opinion data of data-triggered, the method also includes:
When the audit opinion data indicate that audit passes through, the receiver equipment anticipates the bill data and the audit See that data are sent to the block chain node;
The bill data sent and the audit opinion data, are used to indicate the block chain node for the bill data Data block is written with the audit opinion data.
4. the method according to claim 1, wherein the receiver equipment receives taking for method, apparatus transmission of making out an invoice Before bill data audit request with coupon identification, the method also includes:
The method, apparatus of making out an invoice searches the corresponding initial bill data of the coupon identification from block chain node;
The initial bill data is showed the side of making out an invoice operator by the side's of making out an invoice operation interface by the method, apparatus of making out an invoice, and is obtained Take the side of the making out an invoice operator for the bill modification data of the initial bill data triggering;
Bill modification data are sent to the block chain node by the method, apparatus of making out an invoice, and the bill modification data are used for It indicates that data block is written in bill modification data by the block chain node, and the bill that data block is written is repaired Change bill data of the data as current latest edition;
The method, apparatus triggering of making out an invoice generates the bill data audit request for carrying the coupon identification.
5. according to the method described in claim 4, it is characterized in that, the method, apparatus of making out an invoice sends bill modification data To the block chain node, the bill modification data are used to indicate the block chain node for bill modification data write-in Data block, and the bill that data block is written is modified into data as the bill data of current latest edition, comprising:
The method, apparatus triggering of making out an invoice generates the just core request of the corresponding bill data of the coupon identification, and the bill is modified Data are sent to the block chain node, and the bill modification data are used to indicate the block chain node and modify the bill Data block is written in data;
The method, apparatus of making out an invoice is requested according to core at the beginning of the bill data, is searched and the bill mark from the block chain node Know the corresponding bill modification data, the bill modification data of lookup are made out an invoice by the side's of making out an invoice audit showing interface Square auditor, first core opinion data of the side of the making out an invoice auditor described in acquisition for the bill modification data-triggered shown;
When the audit fails for the just core opinion data expression, the method, apparatus inquiry of making out an invoice is corresponding with the coupon identification The side's of making out an invoice backup bill data, by means of the block chain node by the side's of making out an invoice backup bill data and the just core opinion Data block is written in data, and the backup of the side of making out an invoice described in data block bill data will be written as the ticket of current latest edition According to data.
6. the method according to claim 1, wherein it includes recipient's first trial interface that the recipient, which audits interface, Interface is checked with recipient;The recipient auditor includes recipient first trial person and recipient's auditor;The recipient sets It is standby that the bill data is showed by recipient auditor by recipient's audit interface, and obtain recipient auditor's needle To the bill data triggering audit opinion data include:
The bill data is showed recipient first trial person by recipient's first trial interface by the receiver equipment, described in acquisition Recipient first trial person is directed to the opinion of primary examinations data of bill data triggering, and triggering generates the corresponding bill of the coupon identification Data review request, and data field is written into the opinion of primary examinations data and the bill data by means of the block chain node Block;
The receiver equipment is checked according to the bill data and is requested, and is searched and the bill mark from the block chain node Know the corresponding opinion of primary examinations data and the bill data, interface is checked for the opinion of primary examinations of lookup by recipient Data and the bill data show recipient's auditor;
The receiver equipment obtains recipient's auditor for the opinion of primary examinations data and the bill number shown The bill data is obtained according to the review opinion data of triggering, and according to the review opinion data and the opinion of primary examinations data Corresponding audit opinion data.
7. according to the method described in claim 6, it is characterized in that, described anticipate according to the review opinion data and the first trial After seeing that data obtain the corresponding audit opinion data of the bill data, the method also includes:
When review opinion data expression disagrees opinion of primary examinations data, the receiver equipment triggering generates the bill It identifies corresponding bill data and rehears request, and by means of the block chain node by the opinion of primary examinations data, the review Data block is written in opinion data and the bill data;
The receiver equipment rehears request according to the bill data, searches and the bill mark from the block chain node Know corresponding bill data, and is back to and described the bill data is showed by recipient's first trial by recipient's first trial interface The step of member, continues to execute.
8. a kind of bill data rollback system, which is characterized in that the system comprises: receiver equipment, make out an invoice method, apparatus and area Block chain node;
The method, apparatus of making out an invoice, for sending the bill data audit request for carrying coupon identification to the receiver equipment;
The receiver equipment, for according to the bill data audit request, from the block chain node search with it is described The bill data of the corresponding current latest edition of coupon identification;The bill data is showed by recipient's audit interface and is connect Debit auditor, and obtain the audit opinion data that the recipient auditor is directed to bill data triggering;
The receiver equipment is also used to when the audit opinion data indicate that the audit fails, inquiry and the bill mark Know corresponding recipient's backup bill data, recipient's backup bill data and the audit opinion data are sent to institute State block chain node;
The block chain node, for data field to be written in recipient's backup bill data and the audit opinion data Block.
9. system according to claim 8, which is characterized in that the receiver equipment is also used to when the audit opinion When data indicate that audit passes through, the bill data and the audit opinion data are sent to the block chain node;
The block chain node is also used to the bill data and audit opinion data write-in data block.
10. system according to claim 8, which is characterized in that the method, apparatus of making out an invoice is also used to from block chain node Search the corresponding initial bill data of the coupon identification;The initial bill data is showed by the side's of making out an invoice operation interface The side of making out an invoice operator, and the side of making out an invoice operator described in acquisition modifies data for the bill of the initial bill data triggering;It will The bill modification data are sent to the block chain node;Triggering generates the bill data audit for carrying the coupon identification Request;
The block chain node is also used to modify the bill data write-in data block, and the institute that data block will be written State bill data of the bill modification data as current latest edition.
CN201910419376.9A 2019-05-20 2019-05-20 Bill data backing method and system Pending CN110223127A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910419376.9A CN110223127A (en) 2019-05-20 2019-05-20 Bill data backing method and system
PCT/CN2019/122719 WO2020233087A1 (en) 2019-05-20 2019-12-03 Bill data rollback method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910419376.9A CN110223127A (en) 2019-05-20 2019-05-20 Bill data backing method and system

Publications (1)

Publication Number Publication Date
CN110223127A true CN110223127A (en) 2019-09-10

Family

ID=67821689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910419376.9A Pending CN110223127A (en) 2019-05-20 2019-05-20 Bill data backing method and system

Country Status (2)

Country Link
CN (1) CN110223127A (en)
WO (1) WO2020233087A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599270A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill generation method and device and computer equipment
CN110853216A (en) * 2019-10-18 2020-02-28 深圳壹账通智能科技有限公司 Information storage method, information storage device, information storage medium and computer equipment
CN111210288A (en) * 2019-12-26 2020-05-29 大象慧云信息技术有限公司 Tax control server-based invoicing batch invoicing job optimized scheduling method and system
WO2020233091A1 (en) * 2019-05-22 2020-11-26 深圳壹账通智能科技有限公司 Method and apparatus for service data rollback, computer device and storage medium
WO2020233087A1 (en) * 2019-05-20 2020-11-26 深圳壹账通智能科技有限公司 Bill data rollback method and system
CN113205346A (en) * 2021-04-24 2021-08-03 上海赛可出行科技服务有限公司 Depocenter encryption authentication and authentication method capable of canceling bill

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102022117693A1 (en) 2022-07-15 2024-01-18 Turck Holding Gmbh Station for use in a field network between one or more field devices and a central unit as well as a switch module that can be plugged into a module rack

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165943A (en) * 2018-08-20 2019-01-08 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109191272A (en) * 2018-08-17 2019-01-11 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109325812A (en) * 2018-08-24 2019-02-12 深圳市智税链科技有限公司 About the data processing method of electronic bill, device, storage medium and equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4026456B2 (en) * 2002-09-13 2007-12-26 日本電気株式会社 Computer system and information collection method
CN109067541B (en) * 2018-06-29 2020-09-22 阿里巴巴集团控股有限公司 Data verification method and device based on block chain and electronic equipment
CN110223127A (en) * 2019-05-20 2019-09-10 深圳壹账通智能科技有限公司 Bill data backing method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109191272A (en) * 2018-08-17 2019-01-11 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109165943A (en) * 2018-08-20 2019-01-08 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109325812A (en) * 2018-08-24 2019-02-12 深圳市智税链科技有限公司 About the data processing method of electronic bill, device, storage medium and equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020233087A1 (en) * 2019-05-20 2020-11-26 深圳壹账通智能科技有限公司 Bill data rollback method and system
WO2020233091A1 (en) * 2019-05-22 2020-11-26 深圳壹账通智能科技有限公司 Method and apparatus for service data rollback, computer device and storage medium
CN110599270A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill generation method and device and computer equipment
CN110853216A (en) * 2019-10-18 2020-02-28 深圳壹账通智能科技有限公司 Information storage method, information storage device, information storage medium and computer equipment
CN111210288A (en) * 2019-12-26 2020-05-29 大象慧云信息技术有限公司 Tax control server-based invoicing batch invoicing job optimized scheduling method and system
CN113205346A (en) * 2021-04-24 2021-08-03 上海赛可出行科技服务有限公司 Depocenter encryption authentication and authentication method capable of canceling bill

Also Published As

Publication number Publication date
WO2020233087A1 (en) 2020-11-26

Similar Documents

Publication Publication Date Title
CN110223127A (en) Bill data backing method and system
CN109542980B (en) Data processing method, device, equipment and medium for block chain
US7567988B2 (en) Synchronizing agent for multiple clients/applications on a computer system
CN110210732A (en) Resource transfers method, apparatus, computer equipment and storage medium
CN110941630A (en) Database operation and maintenance method, device and system
WO2020000720A1 (en) Server, packet processing method, program, and computer-readable storage medium
US11087371B2 (en) Blockchain-based invoice creation method apparatus, and electronic device
US10055475B2 (en) Authentication system, synchronization method, and authentication apparatus
CN109783482B (en) Data violation monitoring method and device
EP3905172A1 (en) Blockchain-based invoice voiding method and apparatus, and electronic device
CN110224833A (en) Bill data processing method and system
CN110209681A (en) Block chain data enter chain method, apparatus, computer equipment and storage medium
CN110163691B (en) Invoice creating method and device based on block chain and electronic equipment
CN109493048A (en) Financial accounting method, apparatus, equipment and storage medium based on block chain
CN110163658A (en) Virtual resource data processing method, device, computer equipment and storage medium
CN112150113A (en) Method, device and system for borrowing file data and method for borrowing data
CN110083581A (en) A kind of method, apparatus, storage medium and the computer equipment of log retrospect
CN111429121A (en) Block chain-based electronic ticket processing method, device, equipment and storage medium
CN114218110A (en) Account checking test method and device for financial data, computer equipment and storage medium
CN108228611B (en) Document information copying method and device
CN107729541A (en) A kind of data processing method, device and computer-readable recording medium
CN115098889B (en) Authority management method, device, equipment and storage medium
CN111522881A (en) Service data processing method, device, server and storage medium
CN109711816A (en) Cooperative institution's approaches to IM, device, computer equipment and storage medium
JP2010211337A (en) Electronic money batch management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190910

WD01 Invention patent application deemed withdrawn after publication