CN108961030A - About the data processing method of electronic bill, device, system, medium and equipment - Google Patents

About the data processing method of electronic bill, device, system, medium and equipment Download PDF

Info

Publication number
CN108961030A
CN108961030A CN201810927658.5A CN201810927658A CN108961030A CN 108961030 A CN108961030 A CN 108961030A CN 201810927658 A CN201810927658 A CN 201810927658A CN 108961030 A CN108961030 A CN 108961030A
Authority
CN
China
Prior art keywords
invoice
making out
electronic bill
block chain
mark
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.)
Granted
Application number
CN201810927658.5A
Other languages
Chinese (zh)
Other versions
CN108961030B (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.)
Shenzhen Zhishuilian Technology 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 CN201810927658.5A priority Critical patent/CN108961030B/en
Publication of CN108961030A publication Critical patent/CN108961030A/en
Application granted granted Critical
Publication of CN108961030B publication Critical patent/CN108961030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Abstract

The present invention relates to a kind of about the data processing method of electronic bill, device, system, medium and equipment, identifies the associated side's of making out an invoice characteristic with the side of making out an invoice this method comprises: obtaining;According to the side's of making out an invoice characteristic, electronic bill corresponding with the side of making out an invoice mark is set and issues condition;The electronic bill corresponding with the side of making out an invoice mark issues condition, for controlling the electronic bill issue behavior for passing through the side's of making out an invoice mark and carrying out;The electronic bill issued to condition is corresponding with the side of making out an invoice mark to be uploaded to block chain node;The corresponding electronic bill uploaded issues condition and the side's of making out an invoice mark, is used to indicate the block chain node and the corresponding electronic bill uploaded issued condition is associated with the side of making out an invoice mark data block is written.Scheme provided by the present application improves electronic bill and issues efficiency.

Description

About the data processing method of electronic bill, device, system, medium and equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of data processing method about electronic bill, dress It sets, system, medium and equipment.
Background technique
Invoice is enterprise or individual when sales to consumers commodity, providing service or being engaged in other business activities, is The consumption certificate that consumer provides.Enterprise or individual in sales to consumers commodity, offer service or are engaged in other operation work When dynamic, it should issue invoice and be paid taxes in accordance with the law according to invoice.
In traditional technology, the Taxation Work personnel of enterprise or the individual with Tax Treatment qualification need continually to arrive tax Business office and tax office personnel manually arrange invoice issuing condition, take time and effort, greatly affected the efficiency of invoice issuing.
Summary of the invention
Based on this, it is necessary to for the relatively low problem of invoice issuing efficiency, provide a kind of data about electronic bill Processing method, device, system, medium and equipment.
A kind of data processing method about electronic bill, comprising:
It obtains and the side of making out an invoice identifies the associated side's of making out an invoice characteristic;
According to the side's of making out an invoice characteristic, electronic bill corresponding with the side of making out an invoice mark is set and issues condition;Institute It states electronic bill corresponding with the side of making out an invoice mark and issues condition, for controlling the electronics for passing through the side's of making out an invoice mark and carrying out Bill issue behavior;
The electronic bill issued to condition is corresponding with the side of making out an invoice mark to be uploaded to block chain node;Corresponding upload The electronic bill issues condition and the side's of making out an invoice mark, is used to indicate the block chain node for the corresponding electricity uploaded Sub- bill issues condition and is associated with write-in data block with the side of making out an invoice mark.
A kind of data processing equipment about electronic bill, comprising:
Module is obtained, for obtaining and the associated side's of the making out an invoice characteristic of the side of making out an invoice mark;
Electronic ticket corresponding with the side of making out an invoice mark is arranged for the characteristic of the side of making out an invoice according in setup module According to issuing condition;The electronic bill corresponding with the side of making out an invoice mark issues condition, for controlling through the side of making out an invoice Identify the electronic bill issue behavior carried out;
Cochain module, for issuing the electronic bill, condition is corresponding with the side of making out an invoice mark to be uploaded to block chain link Point;The corresponding electronic bill uploaded issues condition and the side's of making out an invoice mark, and being used to indicate the block chain node will be right The electronic bill that should be uploaded issues condition and is associated with write-in data block with the side of making out an invoice mark.
A kind of data processing system about electronic bill, including electronic bill management server and block chain node;Its In,
The electronic bill management server is used to obtain and the side of making out an invoice identifies the associated side's of making out an invoice characteristic;According to institute The side's of making out an invoice characteristic is stated, electronic bill corresponding with the side of making out an invoice mark is set and issues condition;The described and side of making out an invoice It identifies corresponding electronic bill and issues condition, for controlling the electronic bill issue behavior for passing through the side's of making out an invoice mark and carrying out; The electronic bill issued to condition is corresponding with the side of making out an invoice mark to be uploaded to block chain node;
The block chain node is used to issue the electronic bill for corresponding to upload condition and the side of making out an invoice mark is closed Connection write-in data block.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described When computer program is executed by processor, so that the processor executes following steps:
It obtains and the side of making out an invoice identifies the associated side's of making out an invoice characteristic;
According to the side's of making out an invoice characteristic, electronic bill corresponding with the side of making out an invoice mark is set and issues condition;Institute It states electronic bill corresponding with the side of making out an invoice mark and issues condition, for controlling the electronics for passing through the side's of making out an invoice mark and carrying out Bill issue behavior;
The electronic bill issued to condition is corresponding with the side of making out an invoice mark to be uploaded to block chain node;Corresponding upload The electronic bill issues condition and the side's of making out an invoice mark, is used to indicate the block chain node for the corresponding electricity uploaded Sub- bill issues condition and is associated with write-in data block with the side of making out an invoice mark.
A kind of computer equipment, including memory and processor store computer program, the meter in the memory When calculation machine program is executed by the processor, so that the processor executes following steps:
It obtains and the side of making out an invoice identifies the associated side's of making out an invoice characteristic;
According to the side's of making out an invoice characteristic, electronic bill corresponding with the side of making out an invoice mark is set and issues condition;Institute It states electronic bill corresponding with the side of making out an invoice mark and issues condition, for controlling the electronics for passing through the side's of making out an invoice mark and carrying out Bill issue behavior;
The electronic bill issued to condition is corresponding with the side of making out an invoice mark to be uploaded to block chain node;Corresponding upload The electronic bill issues condition and the side's of making out an invoice mark, is used to indicate the block chain node for the corresponding electricity uploaded Sub- bill issues condition and is associated with write-in data block with the side of making out an invoice mark.
It is above-mentioned about the data processing method of electronic bill, device, system, storage medium and equipment, it is automatic to obtain and open Ticket side identifies the associated side's of making out an invoice characteristic, can be arranged according to the side's of making out an invoice characteristic corresponding with the side's of making out an invoice mark Electronic bill issues condition, and electronic bill is issued condition cochain corresponding with the side's of making out an invoice mark, and realization is controlled based on block chain The electronic bill issue behavior that system is carried out by the side's of making out an invoice mark avoids the need for frequently artificial agreement electronic bill and issues condition Bring time consumption and manpower expend.Also, electronic bill is issued condition write-in data block, Ke Yibao by block chain node Barrier electronic bill issues the Information Security and not being tampered property of condition.
Detailed description of the invention
Fig. 1 is the applied environment figure in one embodiment about the data processing method of electronic bill;
Fig. 2 is the flow diagram in one embodiment about the data processing method of electronic bill;
Fig. 3 is the schematic diagram that electronic bill issues condition setting interface in one embodiment;
Fig. 4 is the timing diagram that electronic bill issues condition cochain in one embodiment;
Fig. 5 is the timing diagram that electronic bill issues condition update in one embodiment;
Fig. 6 is the schematic illustration of common recognition algorithm in one embodiment;
Fig. 7 is the deployment diagram in one embodiment about the data processing system of electronic bill;
Fig. 8 is the function structure chart in one embodiment about the data processing equipment of electronic bill;
Fig. 9 is the internal structure chart of computer equipment in one embodiment;
Figure 10 is the internal structure chart of computer equipment in another embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the applied environment figure in one embodiment about the data processing method of electronic bill.Referring to Fig.1, the pass It is applied to the data processing system about electronic bill in the data processing method of electronic bill.The data about electronic bill Processing system includes electronic bill management terminal 110, electronic bill management server 120, make out an invoice method, apparatus 130 and block chain link Point 140.Wherein, the quantity of block chain node 140 is multiple and is located in block chain network.Two is all right one way or the other between these block chain nodes To carry out data transmitting.Method, apparatus 130 of making out an invoice can be terminal and be also possible to server.Wherein, method, apparatus of making out an invoice can be with The equipment that the side of making out an invoice is possessed is also possible to the third-party agent equipment that the agency that the side of making out an invoice is authorized issues electronic bill.
Specifically, electronic bill management server 120 can obtain and the side of making out an invoice identifies the associated side's of making out an invoice characteristic;Root According to the side's of making out an invoice characteristic, electronic bill corresponding with the side's of making out an invoice mark is set and issues condition;It should be corresponding with the side's of making out an invoice mark Electronic bill issues condition, for controlling the electronic bill issue behavior carried out by the side's of making out an invoice mark.Electronic bill management clothes Electronic bill is issued that condition is corresponding with the side's of making out an invoice mark to be uploaded to block chain node 140 by business device 120 again.Block chain node 140 The corresponding electronic bill uploaded is issued into condition and is associated with write-in data block with the side's of making out an invoice mark.In this way, after method, apparatus 130 of making out an invoice Electronic bill corresponding with the side's of making out an invoice mark can be inquired from block chain node 140 by, which continuing, issues condition, according to the electronic ticket Electronic bill is issued according to the condition of issuing, and when electronic bill is issued condition and is not suitable for, initiates electronic bill and issues condition update Request issues condition to request electronic bill management server 120 to update electronic bill.
In a further embodiment, electronic bill management terminal 110 can also obtain and the side of making out an invoice identifies the associated side of making out an invoice Characteristic;According to the side's of making out an invoice characteristic, electronic bill corresponding with the side's of making out an invoice mark is set and issues condition;It should be with the side of making out an invoice It identifies corresponding electronic bill and issues condition, for controlling the electronic bill issue behavior carried out by the side's of making out an invoice mark.Electronics Electronic bill corresponding with the side's of making out an invoice mark is issued condition and is uploaded to electronic bill management server by bill management terminal 110 120, electronic bill issued to condition is corresponding with the side's of making out an invoice mark to be uploaded to block chain node by electronic bill management server 120 140.The corresponding electronic bill uploaded is issued condition and is associated with write-in data block with the side's of making out an invoice mark by block chain node 140.
In specific application scenarios, electronic bill specifically can be block chain electronic invoice, electronic bill management terminal 110 specifically can be the terminal of tax office staff operation, and electronic bill management server 120 specifically can be the service of tax office Device, method, apparatus 130 of making out an invoice specifically can be the corresponding terminal in the side of making out an invoice or server.It is appreciated that the side of making out an invoice can both make Electronic bill is issued for the electronic bill side of making out an invoice, and can be used as electronic bill report ticket side reimbursement electronic bill.Terminal specifically may be used To be terminal console or mobile terminal, mobile terminal specifically can be at least one in mobile phone, tablet computer, laptop etc. Kind.Service implement body can be independent server, be also possible to the server cluster of multiple independent server compositions.
Fig. 2 is the flow diagram in one embodiment about the data processing method of electronic bill.The present embodiment is main It is applied to electronic bill management server 120 shown in FIG. 1 with the data processing method about electronic bill to illustrate. Referring to Fig. 2, this method specifically comprises the following steps:
S202, obtains and the side of making out an invoice identifies the associated side's of making out an invoice characteristic.
Wherein, the side's of making out an invoice mark is used for one side of making out an invoice of unique identification.The side of making out an invoice is in electronic bill management server Any user of the legal permission of making out an invoice of successful registration.The user specifically can be enterprise customer.It is appreciated that make out an invoice Fang Jike with Electronic bill is issued as the side of making out an invoice of electronic bill, and can be used as the report ticket side of electronic bill to submit an expense account electronic bill. So, the side of making out an invoice then is also possible to report ticket side simultaneously;The side of making out an invoice identifies while being also possible to report ticket side's mark.Electronic bill is electricity The bill of sonization storage, for example can be stored in storage medium or computer equipment.
In one embodiment, the side's of making out an invoice mark is and the data for identifying the side of making out an invoice.The side of making out an invoice specifically can be pin Enterprise is sold, the side of making out an invoice need to be provided when sales to consumers commodity, providing service or being engaged in other business activities for consumer Consumption certificate, that is, electronic bill.The side of making out an invoice mark specifically can be seller title, seller Taxpayer Identification Number or Account of opening an account of seller etc..
In one embodiment, the side's of making out an invoice mark, which specifically can be, is successfully infused by electronic bill management server in the side of making out an invoice The unique identification distributed after the legal permission of making out an invoice of volume for the side of making out an invoice.In this way, electronic bill management server can then be deposited in data Chu Shi, by data relevant to the side of making out an invoice and the unique identification associated storage distributed for the side of making out an invoice, to indicate which data is Data relevant to which side of making out an invoice.
Wherein, the side's of making out an invoice characteristic is to reflect the data of the side's of making out an invoice characteristic.The side's of making out an invoice characteristic can specifically include The side's of making out an invoice basic data and/or the side's of making out an invoice behavioral data.The side's of making out an invoice basic data is to reflect the data of the side's of making out an invoice fundamental characteristics, than Such as enterprise name, the type of business or Business Scope of Enterprise.The side's of making out an invoice behavioral data is the number for reflecting the side's of making out an invoice behavioral trait According to, such as make out an invoice behavioral data or behavioral data of declaring dutiable goods etc..
It is appreciated that whether the side's of making out an invoice characteristic includes that the side's of making out an invoice behavioral data is related to current timing node.When When the side of making out an invoice not yet carries out behavior relevant to electronic bill, the side's of making out an invoice characteristic does not then include the side's of making out an invoice behavioral data.This In the side of making out an invoice not yet carry out behavior relevant to electronic bill, be not limited in electronic bill management server successful registration and close Method is made out an invoice the behavior relevant to electronic bill carried out after permission, can also include the side of making out an invoice carry out it is relevant to paper-bill Behavior, or the behavior that the side of making out an invoice carries out after the legal permission of making out an invoice of other server successful registrations.
In one embodiment, the side's of making out an invoice characteristic includes the side's of making out an invoice basic data.S202 includes: inquiry and the side of making out an invoice Identify corresponding log-on data;The side's of making out an invoice basic data is extracted from the log-on data inquired.
Wherein, log-on data is the data that the side of making out an invoice is formed when electronic bill management server succeeds in registration.The side of making out an invoice In registration, electronic bill management server can obtain the basic data for the side of making out an invoice, to form log-on data.Such electronic ticket According to management server after completing to the side's of making out an invoice registration, the side's of making out an invoice basic data can be extracted from log-on data automatically, after It is continuous to issue condition according to the side's of making out an invoice basic data electronic bill is arranged for the side of making out an invoice, to control the electricity that the side of making out an invoice carries out Sub- bill issue behavior.
In one embodiment, the side's of making out an invoice basic data is not fixed and invariable data.So, according to the basic number in the side of making out an invoice Issuing condition according to setting electronic bill is also not changeless.Electronic bill management server can be sent out in the side's of making out an invoice basic data Electronic bill is adjusted flexibly when changing more and issues condition.
It is appreciated that making out an invoice can ask when the side's of making out an invoice basic data changes to electronic bill management server Seek update log-on data.Electronic bill management server can also be opened actively according to the information update that electronic bill management terminal reports The log-on data of ticket side.For example the side of making out an invoice expands business scope or replacement working group etc..In this way, electronic bill management service Device can issue condition according to the side's of making out an invoice basic data of variation, the applicable electronic bill in the flexible setting side of making out an invoice, and guarantee is made out an invoice Be normally carried out and improve efficiency of making out an invoice.
Certainly, when basic data amplitude of variation in the side's of making out an invoice is smaller, electronic bill management server can not also be updated and be opened Ticket side identifies corresponding electronic bill and issues condition.
In one embodiment, the side's of making out an invoice characteristic further includes the side's of making out an invoice behavioral data.S202 includes: from block chain link The side's of making out an invoice behavioral data corresponding with the side's of making out an invoice mark is inquired in point;Alternatively, obtain by law enforcement side identify transmit with make out an invoice Side identifies the corresponding side's of making out an invoice behavioral data.
It is appreciated that is carried out is related to electronic bill after the side of making out an invoice registers in electronic bill management server In the writable block chain node of data involved in behavior.In this way, electronic bill management server then can be in block chain node It is middle to inquire data corresponding with the side's of making out an invoice mark, obtain the side's of making out an invoice behavioral data.
Law enforcement side's mark is used for one law enforcement side of unique identification.Law enforcement side here can be public security organ or supervisor The law enforcements such as pass.It is appreciated that law enforcement can be with the active collection side's of making out an invoice row corresponding with the side's of making out an invoice mark For data, the side's of the making out an invoice behavioral data corresponding with the side's of making out an invoice mark being collected into is transferred to electronic bill management server;? The side's of the making out an invoice behavioral data corresponding with the side's of making out an invoice mark that can receive reporting of user, it is corresponding with the side's of making out an invoice mark by what is received The side's of making out an invoice behavioral data be transferred to electronic bill management server.
For example, tax supervision department can actively check make out an invoice information or tax information etc. of each enterprise customer, Also it is subjected to the relevant information of paying taxes of making out an invoice for the enterprise customer that the masses report, for example the enterprise of making out an invoice of reports issues false hair Ticket or the overdue information such as do not pay taxes.
About this partial data, it can be and electronic bill management server is transferred to by law enforcement side's mark upon verification, The request of electronic bill management server can also be transferred directly to verify.
In the present embodiment, the side's of making out an invoice behavior number corresponding with the side's of making out an invoice mark is obtained from block chain node or law enforcement side According to ensure that the confidence level in behavioral data source, can then be arranged according to believable data corresponding with the side's of making out an invoice mark Electronic bill issues condition.
S204 is arranged electronic bill corresponding with the side's of making out an invoice mark and issues condition according to the side's of making out an invoice characteristic;With make out an invoice Side identifies corresponding electronic bill and issues condition, for controlling the electronic bill issue behavior carried out by the side's of making out an invoice mark.
Wherein, electronic bill issues condition, is to issue for issuing the control period by electronic bill to limit electronic bill Constraint condition.Electronic bill, which issues the control period, is made out an invoice the time spans of data for controlling electronic bill, such as one or Multiple consecutive days, naturally week, calendar month or calendar year etc..Control electronic bill is made out an invoice data, such as control electronic bill Quantity of making out an invoice or the amount of money of making out an invoice of individual electronic bill etc..
Specifically, electronic bill management server can be arranged corresponding with the side's of making out an invoice mark according to the side's of making out an invoice characteristic Electronic bill issue condition.Here setting can be to be arranged for the first time, is also possible to be once again set up.
It is appreciated that electronic bill management server can when the side of making out an invoice succeeds in registration, in response to the side of making out an invoice request or Automatically according to the side's of making out an invoice basic data, electronic bill corresponding with the side's of making out an invoice mark is set and issues condition, is here to set for the first time It sets electronic bill corresponding with the side's of making out an invoice mark and issues condition.Hereafter, when in the side of making out an invoice, basic data is changed, electronic bill Management server may be in response to the side's of making out an invoice request or automatically according to the updated side's of making out an invoice basic data, resets and makes out an invoice Side identifies corresponding electronic bill and issues condition, is here to be once again set up electronic bill corresponding with the side's of making out an invoice mark to issue item Part.Similarly, electronic bill management server can be after the side of making out an invoice generates behavioral data, in response to the side's of making out an invoice request or automatic root According to the updated side's of making out an invoice behavioral data, reset electronic bill corresponding with the side's of making out an invoice mark and issue condition, here and It is once again set up electronic bill corresponding with the side's of making out an invoice mark and issues condition.It is, when the side's of making out an invoice characteristic changes, Electronic bill management server can be opened according to the side's of making out an invoice characteristic of variation, the applicable electronic bill in the flexible setting side of making out an invoice Tool condition.
In one embodiment, it includes that electronic bill issues the control period, monocycle electronic ticket that electronic bill, which issues condition, According to issue quantity amount, monocycle electronic bill issues amount and individual electronic bill is made out an invoice amount;Electronic bill is block Chain electronic invoice.
Specifically, monocycle electronic bill issues quantity amount, be an electronic bill issue control the period at most may be used The quantity for the electronic bill issued.Monocycle electronic bill issues amount, is that an electronic bill is issued in the control period at most The amount of money that can be issued.Individual electronic bill is made out an invoice amount, is the amount of money that an electronic bill can at most be issued.
In one embodiment, it further includes monocycle electronic bill revocation quantity amount and list that electronic bill, which issues condition, Cyclical electrical bill cancelation amount amount.It is appreciated that when issuing electronic bill, there may be the situations of mistake for the side of making out an invoice.? In such cases, the electronic bill of the amount of money opposite with the electronic bill of mistake can be issued by making out an invoice, for cancelling the electronics of mistake Bill still further issues correct electronic bill.
In above embodiments, monocycle electronic bill issues quantity amount, monocycle electronic bill issues amount and list The make out an invoice specific value of amount of electronic bill can be accurate to permitted minimum number of bits.
For example, Fig. 3 shows the schematic diagram that electronic bill in one embodiment issues condition setting interface.With reference to figure 3, electronic bill management terminal logs in the client or webpage of electronic bill management server offer identifying by administrator Afterwards, it can show that electronic bill as shown in Figure 3 issues condition setting interface, obtain the electronic bill being arranged in the interface and issue Condition.It is appreciated that surface chart shown in Fig. 3 is only used for for example, surface chart specifically used in actual scene can wrap It includes than more or fewer contents shown in Fig. 3.
Electronic bill, is issued that condition is corresponding with the side's of making out an invoice mark to be uploaded to block chain node by S206;The corresponding electricity uploaded Sub- bill issues condition and the side's of making out an invoice mark, is used to indicate block chain node and the corresponding electronic bill uploaded is issued condition and is opened Ticket side's mark association write-in data block.
Wherein, block chain node is a data processing node in block chain network.Block chain network is operation block The carrier and organizational form of chain technology.Block chain technology, abbreviation BT (Blockchain technology), is also referred to as distributed Formula account book technology is a kind of internet database technology, its main feature is that it is decentralization, open and clear, allow everyone each may participate in Data record.Block chain technology is that calculation of knowing together with storing data, using distributed node is verified using block linked data structure Method guarantees the safety of data transmission and access to generate, using by automatized script with more new data, in the way of cryptography The intelligent contract of code composition programs the completely new distributed basis framework and calculation of one kind with operation data.
Specifically, electronic bill can be issued that condition is corresponding with the side's of making out an invoice mark to be uploaded to area by electronic bill management server Block chain node.Block chain node, can be by electronics after the electronic bill for receiving corresponding upload issues condition and the side's of making out an invoice mark Bill issues condition and the side of making out an invoice identifies other block chain nodes being transferred in the block chain network of place.In these block chain links After point completes common recognition, this block chain node for receiving electronic bill management server upload data can then be issued electronic bill Condition is associated with write-in data block with the side's of making out an invoice mark.The electronic bill of association write-in data block issues condition and the side's of making out an invoice mark Know, indicates to issue condition by the electronic bill to constrain the electronic bill issue behavior carried out by the side of making out an invoice mark.
Wherein, electronic bill management server uploads the block chain node of data, can be and electronic bill management service The one-to-one block chain node of device.In other embodiments, electronic bill management server uploads the block chain node of data, It can also be corresponding with the equipment of other authorization roles.It is appreciated that electronic bill management server can also be used as in block chain Node, electronic bill issued to condition is corresponding with the side's of making out an invoice mark to be uploaded to block chain node at this time, can be referred to electronics Bill issues condition other sections being uploaded in block chain other than electronic bill management server corresponding with the side's of making out an invoice mark Point, or electronic bill issued to condition is corresponding with the side's of making out an invoice mark to be uploaded to arbitrary node in block chain.The side of making out an invoice is set A standby node being also possible in block chain.
It is appreciated that when electronic bill management server upload data block chain node, and with the side of making out an invoice identify pair When the block chain node answered, make out an invoice method, apparatus then when needing to issue electronic bill, directly from the block chain node inquiry with The side of making out an invoice identifies corresponding electronic bill and issues condition, issues electronic bill to issue condition according to the electronic bill.
It is not block chain corresponding with the side's of making out an invoice mark when the block chain node of electronic bill management server upload data When node, then the side of making out an invoice identifies the corresponding side's of making out an invoice block chain node after completing common recognition, also electronic bill can be issued item Part is associated with write-in data block with the side's of making out an invoice mark, makes out an invoice method, apparatus when needing to issue electronic bill, can be from the side of making out an invoice Electronic bill corresponding with the side of making out an invoice mark is inquired in block chain node and issues condition, to issue condition according to the electronic bill Issue electronic bill.
The above-mentioned data processing method about electronic bill, automatic obtain identify the associated side's of making out an invoice characteristic with the side of making out an invoice According to electronic bill corresponding with the side's of making out an invoice mark can be arranged according to the side's of making out an invoice characteristic and issue condition, and by electronics Bill issues condition cochain corresponding with the side's of making out an invoice mark, realizes the electronics for controlling based on block chain and carrying out by the side's of making out an invoice mark Bill issue behavior avoids the need for frequently artificial agreement electronic bill and issues condition bring time consumption and manpower consuming. Also, electronic bill is issued condition write-in data block by block chain node, can ensure that electronic bill issues the data of condition Safety and not being tampered property.
It should be noted that the process that electronic bill issues condition is arranged in above-described embodiment, setting electricity for the first time can be Sub- bill issues the process of condition;It is also possible to be once again set up electronic bill and issues condition, that is, updates electronic bill and issue The process of condition.The step of electronic bill issues condition is set in above-described embodiment, can be and held by electronic bill management terminal Capable step;It is also possible to the step of being executed by electronic bill management server.
For example, Fig. 4 shows the timing diagram that electronic bill in one embodiment issues condition cochain.With reference to Fig. 4, In one specific application scenarios, the hardware device which is related to includes tax office terminal, tax office server and block chain link Point.Tax office terminal, which can receive, issues condition in the electronic bill that interface as shown in Figure 3 is arranged, which issues condition tool Body can be according to the setting of the side's of making out an invoice basic data.The electronic bill can be issued condition again and be uploaded to tax office clothes by tax office terminal Business device.Tax office server sends electronic bill to block chain node again and issues the request of condition cochain, is receiving block chain node After the response message for allowing to upload of feedback, the corresponding electronic bill uploaded is needed to issue condition and the side of making out an invoice with tax office key pair Block chain node is uploaded to after identification signature.Other block chain nodes of block chain node in joint block chain network are to upload Data complete common recognition after, feed back the successful response message of cochain.
Fig. 5 is the timing diagram that electronic bill issues condition update in one embodiment.With reference to Fig. 5, specifically answered at one With in scene, the hardware device which is related to includes tax office terminal, tax office server and block chain node.Tax office terminal is logical After crossing tax office administrative staff mark login, user right verification request can be sent to tax office server.Tax office server is in permission It, can the response message that passes through of feedback check after the completion of verification.It is special that tax office terminal then initiates the side's of making out an invoice behavior to tax office server Levy data inquiry request.Tax office server then inquires electronic bill corresponding with the side's of making out an invoice mark, and shape from block chain node Tax office terminal is fed back at the side's of making out an invoice behavioral data, tax office terminal then can update electronic bill according to the side's of making out an invoice behavioral data and issue Condition.Updated electronic bill can be issued condition again and be uploaded to tax office server by tax office terminal.The area server Zai Xiang of tax office Block chain node sends electronic bill and issues the request of condition cochain, disappears in the response for allowing upload for receiving block chain node feeding back After breath, block chain is uploaded to after needing the corresponding electronic bill uploaded to issue condition and the side's of making out an invoice identification signature with tax office key pair Node.Block chain node is after data of other block chain nodes in joint block chain network to upload complete common recognition, feedback The successful response message of cochain.
It is appreciated that each authorization role for respectively participating in the data processing method about electronic bill in the embodiment of the present invention is equal It is corresponding with identity key, these identity keys are generated and provided by electronic bill management server.Moreover, only allowing electronic ticket Electronic bill is identified into cochain according to management server.Wherein, each authorization role can be when transmitting data, in oneself identity key Private key sign to prove identity, and data receiver is then with the public key in data sender's identity key come verify data hair The identity for the side of sending.
In one embodiment, the corresponding identity key of each authorization role is not fixed.Electronic bill management server It can periodically again be the new identity key of each role creation, key is avoided to lose bring incipient fault for data security as far as possible.Each permission Role can also replace to electronic bill management server application key in time after key loss.
In one embodiment, according to the side's of making out an invoice characteristic, electronic bill corresponding with the side's of making out an invoice mark is set and is issued Condition, comprising: when behavioral data includes discreditable behavior data when the side of making out an invoice, then updated and the side's of making out an invoice mark according to discreditable behavior data Know corresponding electronic bill and issues condition.
Wherein, discreditable behavior data are the behavioral datas of negatively influencing credit.For example, discreditable behavior data (reduce letter Behavioral data) such as: " be in arrears with and pay taxes " or " issuing false electronic bill " etc..
In one embodiment, electronic bill corresponding with the side's of making out an invoice mark is updated according to discreditable behavior data issue item Part, comprising: when discreditable behavior data are to make out an invoice discreditable behavior data, then according to discreditable behavior data shrinkage limit and the side of making out an invoice of making out an invoice It identifies corresponding electronic bill and issues condition;When discreditable behavior data are to declare dutiable goods discreditable behavior data, then break one's promise according to declaring dutiable goods Behavioral data cancels electronic bill corresponding with the side's of making out an invoice mark and issues condition.
It is appreciated that when the side of making out an invoice is there are when discreditable behavior data, indicating that the side of making out an invoice has the behavior for reducing credit, even In the presence of violation or illegal behavior.At this moment, electronic bill management server then can by update electronic bill issue condition come The discreditable behavior for the side of making out an invoice is constrained, to avoid discreditable behavior or unlawful practice.For example, in the side of making out an invoice, there are falsenesses to make out an invoice When behavior, can shrinkage limit electronic bill corresponding with the side's of making out an invoice mark issue condition so that the side of making out an invoice can not issue a large amount of electronics Bill.For another example, when the behavior paid taxes there are non-payment of overdue in the side of making out an invoice, then cancel electronic ticket corresponding with the side's of making out an invoice mark According to condition is issued, so that the side of making out an invoice can not issue electronic bill.
Certainly, when the discreditable behavior for discreditable behavior data of making out an invoice is of a serious nature, electronic bill management server also be can use The electronic bill corresponding with the side's of making out an invoice mark that disappears issues condition.
In one embodiment, when the side of making out an invoice has the discreditable behaviors such as fraud or tax evasion, electronic bill management The side of making out an invoice can be identified the corresponding side's of making out an invoice state and be set as abnormality by server, and the abnormality is uploaded to block chain Node is written in block chain network, and to notify to participate in other authorization roles of the data processing method about electronic bill, this is opened There are credit problems for ticket side.
In above-described embodiment, in the side of making out an invoice there are when discreditable behavior, it is adjusted flexibly and is made out an invoice according to the discreditable behavior for the side of making out an invoice The electronic bill of side issues condition, to constrain and prevent the discreditable behavior for the side of making out an invoice as far as possible, to avoid illegal activities generation.
In one embodiment, electronic bill issued to condition is corresponding with the side's of making out an invoice mark to be uploaded to block chain node, packet It includes: electronic bill being issued into condition and the side's of making out an invoice mark is corresponding is uploaded to and local corresponding block chain node;Wherein, in correspondence The electronic bill of biography issues condition and the side's of making out an invoice mark, is used to indicate block chain node corresponding with local, electronic bill is opened After tool condition and the side of making out an invoice identify other block chain nodes being transferred in the block chain of place and complete common recognition, corresponding it will upload Electronic bill issues condition and is associated with write-in data block with the side's of making out an invoice mark;The corresponding electronic bill uploaded issues condition and makes out an invoice Side's mark is also used to indicate that the electronic bill of transmitting after completing common recognition, is issued condition and made out an invoice by the side's of making out an invoice block chain node Side's mark association write-in data block.
Specifically, electronic bill management server can correspond to that there are dedicated block chain nodes.It is taken in electronic bill management When business device intention is write data into block chain network, it can will be counted directly by interface provided by dedicated block chain node According to being transmitted to block chain node, after being known together by other block chain link points in block chain node collaboration block chain node, Write data into data block.
Similar, method, apparatus of making out an invoice can also correspond to that there are dedicated block chain nodes.Making out an invoice, method, apparatus is intended to from block When reading data in chain network, inquiry request can be passed directly by interface provided by the dedicated side's of making out an invoice block chain node The side's of making out an invoice block chain node is transported to, by the side's of making out an invoice block chain node after the verifying side of making out an invoice identity, query result is fed back to It makes out an invoice method, apparatus.
It is appreciated that electronic bill management server will be uploaded to corresponding block chain with the associated data in the side of making out an invoice for the first time After the block chain node cooperates with other block chain nodes to reach common understanding, data will be written with the associated data in the side of making out an invoice in node Block, and the corresponding block chain node of method, apparatus of making out an invoice also will with after the associated data in the side of making out an invoice write-in data block, electronic ticket It is that block chain link point corresponding with method, apparatus of making out an invoice forms a block chain according to the corresponding block chain node of management server.It needs Illustrate, the corresponding block chain node of different method, apparatus of making out an invoice block chain node corresponding with electronic bill management server What is formed is different block chain, can be independent of each other between different block chains with independent operating.
Specifically, electronic bill management server by electronic bill issue condition it is corresponding with the side's of making out an invoice mark be uploaded to electricity The corresponding block chain node of sub- bill management server, that is, be intended to issue electronic bill into condition to identify with the side of making out an invoice and be associated with The data block in block chain network is written, then electronic bill, which is issued condition, is associated with write-in data block with the side's of making out an invoice mark The event for as needing to reach common understanding.When the corresponding block chain node of electronic bill management server is the area in leader's state When block chain node, then by the block chain node will need the event reached common understanding broadcast other into block chain network be not in The block chain node of leader's state.
These are not in the block chain node of leader's state after receiving the event for needing to reach common understanding, then will receive The event reached common understanding of needs broadcast other block chain nodes into block chain network.In this way, every in block chain network A block chain node just enters confirmation rank when the content that other block chain nodes for receiving preset quantity are broadcasted is consistent again Section, to prevent the fraud of the block chain node in leader's state.These are not in the block chain node of leader's state again It will confirm that result feeds back to the block chain node in leader's state, the block chain node in leader's state after the completion of confirmation When other block chain node feedback acknowledgments for receiving preset quantity pass through, then determine to complete the event that needs are reached common understanding Can then data field be written in data corresponding to the event reached common understanding by common recognition, hereafter, the block chain node in block chain network Block.
In addition, when the corresponding block chain node of electronic bill management server is not in the block chain node of leader's state When, then by the event forwarding for needing to reach common understanding to the block chain node for being in leader's state, then by the area in leader's state Block chain node dominates foregoing common recognition process.Wherein, the block chain node in leader's state is by block chain network Each block chain node elect and obtain jointly.
Common recognition algorithm used by a specific embodiment is specifically to be based on consistency algorithm (such as: Raft) and visit Account for the common recognition algorithm (Bft-Raft) of front yard tolerant fail algorithm (such as: Bft).It can also be used in certain the other embodiment of the present invention He knows together algorithm, and this is not restricted for the embodiment of the present invention.
For example, Fig. 6 shows the schematic illustration for algorithm of knowing together in one embodiment.With reference to Fig. 6, client (Client specifically can be block chain electronic invoice application platform as shown in Figure 7) initiates common recognition request (Request), And common recognition request is sent to the block chain node (host node Leader A) in leader's state;To enter Append Entity (addition entity) stage;It, will be corresponding to common recognition request as Leader A in Append Entity (addition entity) stage Common recognition content (or obtained intermediate data after handling common recognition content) broadcast into block chain network other be not in The block chain node (following node Follower B, Follower C, Follower D ...) of leader's state, to go successively to Append Response (additional response) stage;It, will by respectively following node in Append Response (additional response) stage The common recognition content received is broadcasted to other each block chain nodes, and in other block chain links for receiving preset quantity (2f+1) When the broadcasted common recognition content of point is consistent, into Commit (confirmation) stage, respectively follows node again and will confirm that result feeds back to master Node.Host node then determines to complete altogether when other block chain node feedback acknowledgments for receiving preset quantity (2f+1) pass through Know the result completed to Client feedback (Reply) common recognition.Wherein, 3f+1≤N, N are block chain nodes in block chain network Quantity.F is the quantity of block chain node of doing evil in block chain network.
In one embodiment, it includes: make out an invoice corresponding with the side's of making out an invoice mark that electronic bill, which issues the use step of condition, Method, apparatus obtains resource transfers share;Method, apparatus make out an invoice from the side's of making out an invoice block chain node, inquires electricity corresponding with the side's of making out an invoice mark Sub- bill issues condition;Method, apparatus of making out an invoice according to resource transfers share and electronic bill issues condition, from the side's of making out an invoice block chain link Point, which is obtained, identifies associated electronic bill mark with the side of making out an invoice;Method, apparatus make out an invoice according to electronic bill mark and resource transfers part Volume generates billing information, and the billing information of generation is uploaded to the side's of making out an invoice block chain node.
It is appreciated that set by electronic bill management server, electronic bill corresponding with the side's of making out an invoice mark issue item Part, for controlling the electronic bill issue behavior carried out by the side's of making out an invoice mark.So, method, apparatus of making out an invoice is being needed by making out an invoice When side's mark issues electronic bill, then needs to obtain electronic bill corresponding with the side's of making out an invoice mark and issue condition, according to the electricity Sub- bill issues condition and issues effective electronic bill.That is, not issuing the electronics that condition is issued according to electronic bill Bill is not legally authorized.
Wherein, resource transfers are that resource is transferred to another account from an account.For example, consumer after consumption from The account of oneself shifts circulating medium to the account of service provider.Resource transfers number is the share of the resource of transfer.For example, The resource of transfer is currency, then resource transfers share be the quantity of the circulating medium shifted, such as 100 yuans.Electricity Sub- bill is the voucher of resource transfers.
Specifically, resource transfers share can be sent to open by consumer after completing resource transfers by consumer end Ticket method, apparatus;Consumer end can also be after completing resource transfers according to consumer instruction, and continuation will be provided according to consumer instruction Source transfer share is sent to method, apparatus of making out an invoice.Method, apparatus make out an invoice then from the side's of making out an invoice block chain node, inquire and the side of making out an invoice mark pair The electronic bill answered issues condition.In this way, method, apparatus of making out an invoice then can issue condition according to resource transfers share and electronic bill To issue electronic bill.
In one embodiment, method, apparatus of making out an invoice according to resource transfers share and electronic bill issues condition, from the side of making out an invoice Block chain node, which is obtained, identifies associated electronic bill mark with the side of making out an invoice, comprising: is arranged when issuing condition in electronic bill Electronic bill issue in the control period, the quantity of electronic bill issued is identified by the side of making out an invoice, not up to electronic bill is opened When the monocycle electronic bill that tool condition is arranged issues quantity amount, method, apparatus of making out an invoice is then according to resource transfers share and electronics Bill issues condition, determines the quantity of electronic bill mark;Method, apparatus make out an invoice from the side's of making out an invoice block chain node, according to determining Quantity, which is obtained, identifies associated electronic bill mark with the side of making out an invoice.
Specifically, method, apparatus is made out an invoice after inquiring electronic bill and issuing condition, can first check that electronic bill issues condition The electronic bill arranged issues the control period, and continues to check and issue in the control period in electronic bill, passes through the side's of making out an invoice mark Know the quantity of electronic bill issued, if having reached electronic bill and issue the monocycle electronic bill that condition is arranged and issue Quantity amount.
It is controlled in the period when method, apparatus of making out an invoice determines to issue in electronic bill, the electronic bill issued is identified by the side of making out an invoice Quantity then continue to check when the monocycle electronic bill that not up to electronic bill issues that condition is arranged issues quantity amount Electronic bill, which issues the electronic bill that condition is arranged and issues individual electronic bill for being arranged of control period, makes out an invoice amount.It makes out an invoice Method, apparatus can then continue make out an invoice according to individual electronic bill amount and resource transfers share, determine the electronic bill for needing to issue Quantity, and then from the side's of making out an invoice block chain node obtains according to determining quantity and identifies associated with the side of making out an invoice and be in and do not make It is identified with the electronic bill of state.
It is controlled in the period when method, apparatus of making out an invoice determines to issue in electronic bill, the electronic bill issued is identified by the side of making out an invoice Quantity, when having reached electronic bill and issuing the monocycle electronic bill that condition is arranged and issue quantity amount, method, apparatus of making out an invoice Then control period benefit can be issued in next electronic bill open electronic bill.
Further, method, apparatus is made out an invoice after obtaining electronic bill mark, then according to electronic bill mark and resource transfers Share generates billing information, and billing information is uploaded to the side's of making out an invoice block chain node.Wherein, billing information is for generating electronics The data of bill.Billing information may also include the side's of making out an invoice mark and recipient's mark.Recipient identifies identified recipient's tool Body can be personal user and be also possible to enterprise customer.
In above-described embodiment, the side of making out an invoice issues condition when issuing electronic bill, in strict accordance with electronic bill to form ticket It is believed that breath, guarantees the legitimacy and validity of the billing information generated.
In one embodiment, electronic bill issues the use step of condition further include: the side's of making out an invoice block chain node receives Billing information;Block chain querying node electronic bill corresponding with the side's of making out an invoice mark in the side's of making out an invoice issues condition;The side's of making out an invoice block chain Node issues condition according to electronic bill, verifies the legitimacy of billing information;The side's of making out an invoice block chain node passes through in billing information After verifying, electronic bill is generated according to billing information, and data block is written into electronic bill.
Specifically, the side's of making out an invoice block chain node can be inquired and be opened after the billing information for receiving method, apparatus upload of making out an invoice Ticket side identifies corresponding electronic bill and issues condition, verifies the billing information received and whether meets the electronic bill inquired and opens Tool condition.The side's of making out an invoice block chain node when the billing information that receives of verifying meets the electronic bill inquired and issues condition, It can determine that billing information is legal effectively, electronic bill then generated according to billing information, and data block is written into electronic bill.
Further, the side's of making out an invoice block chain node can also generate electronic bill corresponding with the billing information received and open Electronic bill inquiry code of making out an invoice is fed back to method, apparatus of making out an invoice after data block is written in electronic bill by ticket inquiry code.This Sample makes out an invoice method, apparatus after the electronic bill for receiving the side's of making out an invoice block chain node feeding back makes out an invoice inquiry code, can be according to the electronics Bill inquiry code of making out an invoice searches corresponding electronic bill from the block chain node in block chain network.Making out an invoice method, apparatus can be from electricity Billing information is extracted in sub- bill, and billing information is fed back into consumer.
In one embodiment, consumer can be by electronic bill public servicer storing bill information, and passes through consumption Person, which identifies, logs in electronic bill public servicer, checks and the associated billing information of consumer identification.
In one embodiment, the electronic bill being written in data block includes the bill ciphertext of encryption.When block chain link When point is encrypted using public key corresponding with method, apparatus of making out an invoice, method, apparatus of making out an invoice can be according to the corresponding private key of method, apparatus of making out an invoice The electronic bill obtained from block chain network is decrypted accordingly, to obtain billing information.
In one embodiment, the electronic bill being written in data block includes the bill ciphertext of encryption.When block chain link When point is encrypted using the bill key that generates at random, block chain node feeds back to and makes out an invoice by electronic bill inquiry code of making out an invoice When method, apparatus, bill key can be fed back simultaneously, obtain bill so that method, apparatus of making out an invoice can decrypt electronic bill according to bill key Information.Correspondingly, method, apparatus of making out an invoice can make out an invoice bill key and electronic bill, inquiry code passes to consumer.Wherein, bill Key can be also possible to unsymmetrical key with symmetric key.
Wherein, electronic bill inquiry code of making out an invoice may be considered the index of electronic bill, for searching corresponding electronic ticket According to.It specifically can be the cryptographic Hash for carrying out obtaining after Hash operation to billing information by hash algorithm.
In above-described embodiment, the side of making out an invoice veritifies billing information when issuing electronic bill, through the side's of making out an invoice block chain node Meet after electronic bill issues condition, just generates electronic bill, issue condition according to electronic bill in conjunction with root of making out an invoice and generate bill Information, dual guarantee generate legal effective electronic bill.
As shown in fig. 7, the deployment diagram about the data processing system of electronic bill in a specific embodiment.Having In the block chain electronic invoice application scenarios of body, 4 block chain nodes are included at least with reference to Fig. 7, in block chain network to be formed Alliance's chain, block chain node respectively corresponding with tax office server, block chain node corresponding with enterprise of making out an invoice and public clothes The corresponding block chain node of business device and block chain node corresponding with reimbursement enterprise.Under normal conditions, each authorization role is set It is standby to be interacted with corresponding block chain link point.
On the one hand tax office server passes through reverse proxy service and is provided out access interface (connects the inside of tax office terminal Mouthful, and to the external interface of enterprise customer) access for the equipment of each role, the identity key of each role of trustship, management The characteristic of each role.On the other hand by synchronization means in real time from the block chain network module in corresponding block chain node In be synchronously written the data of block chain network (or having known together to be written), with the block chain electronic invoice related data to each role It is inquired and is counted.
On the one hand pass through reverse proxy service is provided out access interface to each block chain node in block chain network, for phase The equipment answered accesses (equipment for enterprise of e.g., making out an invoice accesses corresponding block chain node of enterprise etc. of making out an invoice).On the other hand logical It crosses block chain electronic invoice application platform and receives the data (enterprise of e.g., making out an invoice that corresponding equipment is sent by reverse proxy service Equipment uploads data to the corresponding block chain node of enterprise of making out an invoice, i.e., is transmitted data by the interface that reverse proxy service provides To block chain electronic invoice application platform etc.).Block chain electronic invoice application platform passes data to block chain network mould again Block.The block chain network module of each block chain node collectively forms common recognition network, after reaching common understanding in common recognition network, then will Block chain network module is written in data.It further include cache database in block chain node, for caching various data, such as from system Enterprise's public key etc. that central server obtains.
The deployment diagram can further include system centre server, and the enterprise for saving each enterprise identifies the mapping with public key. System centre server is isolated with tax office server, and being mainly used for progress identification authentication, (e.g., limitation only has tax office that could issue Invoice changes constraint condition relevant to enterprise).The subsequent operation for needing centralization, can unify by the system centre Server executes.
Wherein, reverse proxy service specifically can be nginx.Block chain electronic invoice application platform realizes block chain electricity The main business logic of sub- invoice, and externally exposure exploitation sdk (Software Development Kit, software development work Tool packet) and api (Application Programming Interface, application programming) interface, pass through for third party anti- It is interacted to agency service access.Block chain network module specifically can be real based on Tencent's bottom block chain technology (trustSQL) It is existing.Buffer zone can specifically pass through mysql database realizing.It is appreciated that the present embodiment is used for for example, not to specific reality Implementation employed in existing is defined.
In specific application scenarios, electronic bill specifically can be block chain electronic invoice, electronic bill management service Implement body can be tax office server, and it is corresponding that method, apparatus of making out an invoice specifically can be the electronic bill side of making out an invoice (electronic bill report ticket side) Terminal or server, electronic bill utility implement body can be for provide be derived from block chain node electronic ticket According to common storage service, for example, wechat server.Contract of the making out an invoice (electricity that tax office server can will be arranged for enterprise of making out an invoice Sub- bill issues condition) it is uploaded to the block chain node in block chain network.In this way, enterprise of making out an invoice is needing to issue for consumer When electronic invoice, then ticket contract is taken away from the block chain node pull-up in block chain network, make out an invoice contract according to this to issue electricity Sub- invoice.
It should be understood that although each step in the flow chart of the various embodiments described above is successively shown according to the instruction of arrow Show, but these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, this There is no stringent sequences to limit for the execution of a little steps, these steps can execute in other order.Moreover, above-mentioned each implementation At least part step in example may include that perhaps these sub-steps of multiple stages or stage be not necessarily for multiple sub-steps It is to execute completion in synchronization, but can execute at different times, the execution sequence in these sub-steps or stage It is not necessarily and successively carries out, but can be at least part wheel of the sub-step or stage of other steps or other steps Stream alternately executes.
As shown in figure 8, in one embodiment, providing a kind of data processing equipment 800 about electronic bill.Reference Fig. 8 should include: to obtain module 801, setup module 802 and cochain module 803 about the data processing equipment 800 of electronic bill.
Module 801 is obtained, for obtaining and the associated side's of the making out an invoice characteristic of the side of making out an invoice mark.
Setup module 802, for electronic bill corresponding with the side's of making out an invoice mark being arranged and issues according to the side's of making out an invoice characteristic Condition;Electronic bill corresponding with the side's of making out an invoice mark issues condition, for controlling the electronic bill carried out by the side's of making out an invoice mark Issue behavior.
Cochain module 803, for issuing electronic bill, condition is corresponding with the side's of making out an invoice mark to be uploaded to block chain node;It is right The electronic bill that should be uploaded issues condition and the side's of making out an invoice mark, is used to indicate block chain node and opens the corresponding electronic bill uploaded Tool condition is associated with write-in data block with the side's of making out an invoice mark.
In one embodiment, the side's of making out an invoice characteristic includes the side's of making out an invoice basic data.Module 801 is obtained to be also used to inquire Log-on data corresponding with the side's of making out an invoice mark;The side's of making out an invoice basic data is extracted from the log-on data inquired.
In one embodiment, the side's of making out an invoice characteristic includes the side's of making out an invoice behavioral data.Module 801 is obtained to be also used to from area The side's of making out an invoice behavioral data corresponding with the side's of making out an invoice mark is inquired in block chain node;Alternatively, obtaining through the mark transmitting of law enforcement side The side's of making out an invoice behavioral data corresponding with the side's of making out an invoice mark.Setup module 802 is also used to when the side's of making out an invoice behavioral data include row of breaking one's promise When for data, then electronic bill corresponding with the side's of making out an invoice mark is updated according to discreditable behavior data and issue condition.
In one embodiment, setup module 802 is also used to when discreditable behavior data are to make out an invoice discreditable behavior data, then Condition is issued according to discreditable behavior data shrinkage limit of making out an invoice electronic bill corresponding with the side's of making out an invoice mark;When discreditable behavior data are report When tax discreditable behavior data, then cancels electronic bill corresponding with the side's of making out an invoice mark according to discreditable behavior data of declaring dutiable goods and issue item Part.
In one embodiment, cochain module 803 be also used to issue electronic bill condition it is corresponding with the side's of making out an invoice mark on It reaches and local corresponding block chain node;Wherein, the corresponding electronic bill uploaded issues condition and the side's of making out an invoice mark, for referring to Show block chain node corresponding with local, electronic bill is issued into condition and the side of making out an invoice identifies its being transferred in the block chain of place The corresponding electronic bill uploaded is issued condition and identifies to be associated with the side of making out an invoice that data are written by his block chain node and after completing common recognition Block;The corresponding electronic bill uploaded issues condition and the side's of making out an invoice mark, is also used to indicate that the side's of making out an invoice block chain node is completed After common recognition, the electronic bill of transmitting is issued into condition and is associated with write-in data block with the side's of making out an invoice mark.
In one embodiment, electronic bill issues condition for obtaining in method, apparatus of making out an invoice corresponding with the side's of making out an invoice mark When resource transfers share, instruction makes out an invoice method, apparatus from the side's of making out an invoice block chain node, inquires electronic ticket corresponding with the side's of making out an invoice mark According to issuing condition;Condition is issued according to resource transfers share and electronic bill, is obtained and the side of making out an invoice from the side's of making out an invoice block chain node Identify associated electronic bill mark;According to electronic bill mark and resource transfers share, billing information is generated, and by generation Billing information is uploaded to the side's of making out an invoice block chain node.
In one embodiment, electronic bill issues condition and is also used to that the electronics that condition is arranged ought be issued in electronic bill Bill was issued in the control period, by the quantity for the electronic bill that the side's of making out an invoice mark is issued, is not reached electronic bill and is issued condition When the monocycle electronic bill arranged issues quantity amount, instruction makes out an invoice method, apparatus according to resource transfers share and electronic bill Condition is issued, determines the quantity of electronic bill mark;From the side's of making out an invoice block chain node, obtains and make out an invoice according to determining quantity Side identifies associated electronic bill mark.
In one embodiment, electronic bill issues condition and is also used to receive billing information in the side's of making out an invoice block chain node When, the instruction side's of making out an invoice block chain querying node electronic bill corresponding with the side's of making out an invoice mark issues condition;It is opened according to electronic bill Tool condition verifies the legitimacy of billing information;After billing information is by verifying, electronic bill is generated according to billing information, and Data block is written into electronic bill.
In one embodiment, it includes that electronic bill issues the control period, monocycle electronic ticket that electronic bill, which issues condition, According to issue quantity amount, monocycle electronic bill issues amount and individual electronic bill is made out an invoice amount;Electronic bill is block Chain electronic invoice.
Fig. 9 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be Fig. 1 In electronic bill management terminal 110.As shown in figure 9, the computer equipment includes the processor connected by system bus, deposits Reservoir, network interface, input equipment and display screen.Wherein, memory includes non-volatile memory medium and built-in storage.The meter The non-volatile memory medium for calculating machine equipment is stored with operating system, can also be stored with computer program, the computer program quilt When processor executes, processor may make to realize the data processing method about electronic bill.It can also be stored in the built-in storage There is computer program, when which is executed by processor, processor may make to execute at about the data of electronic bill Reason method.It will be understood by those skilled in the art that structure shown in Fig. 9, 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.
Figure 10 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be figure Electronic bill management server 120 in 1.As shown in Figure 10, which includes the processing connected by system bus Device, memory and network interface.Wherein, memory includes non-volatile memory medium and built-in storage.The computer equipment Non-volatile memory medium is stored with operating system, can also be stored with computer program, which is executed by processor When, it may make processor to realize the data processing method about electronic bill.Computer journey can also be stored in the built-in storage Sequence when the computer program is executed by processor, may make processor to execute the data processing method about electronic bill.Ability Field technique personnel are appreciated that structure shown in Figure 10, only the block diagram of part-structure relevant to application scheme, and The restriction for the computer equipment being applied thereon to application scheme is not constituted, and specific computer equipment may include than figure Shown in more or fewer components, perhaps combine certain components or with different component layouts.
In one embodiment, the data processing equipment provided by the present application about electronic bill can be implemented as a kind of meter The form of calculation machine program, computer program can be run in computer equipment as illustrated in fig. 9 or 10, computer equipment it is non-easily The property lost storage medium can store each program module of the composition data processing equipment about electronic bill, for example, shown in Fig. 8 Acquisition module 801, setup module 802 and cochain module 803 etc..The computer program of each program module composition to handle Device executes the step in the data processing method about electronic bill of each embodiment of the application described in this specification.
For example, computer equipment shown in Fig. 9 or 10 can pass through the data processing as shown in Figure 8 about electronic bill Acquisition module 801 in device 800, which is obtained, identifies the associated side's of making out an invoice characteristic with the side of making out an invoice.Pass through setup module 802 According to the side's of making out an invoice characteristic, electronic bill corresponding with the side's of making out an invoice mark is set and issues condition;Electricity corresponding with the side's of making out an invoice mark Sub- bill issues condition, for controlling the electronic bill issue behavior carried out by the side's of making out an invoice mark.It will by cochain module 803 Electronic bill issues that condition is corresponding with the side's of making out an invoice mark to be uploaded to block chain node;The corresponding electronic bill uploaded issue condition and The side's of making out an invoice mark, is used to indicate that the corresponding electronic bill uploaded is issued condition by block chain node and the side of making out an invoice identifies and is associated with write-in Data block.
In one embodiment, a kind of data processing system about electronic bill, including electronic bill management are provided Server and block chain node.Wherein, electronic bill management server is used to obtain and the side of making out an invoice identifies the associated Fang Te that makes out an invoice Levy data;According to the side's of making out an invoice characteristic, electronic bill corresponding with the side's of making out an invoice mark is set and issues condition;With the side's of making out an invoice mark Corresponding electronic bill issues condition, for controlling the electronic bill issue behavior carried out by the side's of making out an invoice mark;By electronic ticket Block chain node is uploaded to according to condition of issuing is corresponding with the side's of making out an invoice mark;Block chain node is used to correspond to the electronic bill of upload It issues condition and is associated with write-in data block with the side's of making out an invoice mark.
In one embodiment, the side's of making out an invoice characteristic includes the side's of making out an invoice basic data.Electronic bill management server is also For inquiring log-on data corresponding with the side's of making out an invoice mark;The side's of making out an invoice basic data is extracted from the log-on data inquired.
In one embodiment, the side's of making out an invoice characteristic includes the side's of making out an invoice behavioral data.Electronic bill management server is also For inquiring the side's of making out an invoice behavioral data corresponding with the side's of making out an invoice mark from block chain node;It is marked alternatively, obtaining by law enforcement side Know the side's of making out an invoice behavioral data corresponding with the side's of making out an invoice mark of transmitting.When the side of making out an invoice, behavioral data includes discreditable behavior data, Electronic bill corresponding with the side's of making out an invoice mark then, which is updated, according to discreditable behavior data issues condition.
In one embodiment, electronic bill management server is also used to when discreditable behavior data be discreditable behavior number of making out an invoice According to when, then condition is issued according to discreditable behavior data shrinkage limit electronic bill corresponding with the side's of making out an invoice mark of making out an invoice;Work as discreditable behavior Data are then to cancel electronic bill corresponding with the side's of making out an invoice mark according to discreditable behavior data of declaring dutiable goods when declaring dutiable goods discreditable behavior data Issue condition.
In one embodiment, block chain node include block chain node corresponding with electronic bill management server and with The side of making out an invoice identifies the corresponding side's of making out an invoice block chain node.Electronic bill management server be also used to issue electronic bill condition with The side's of making out an invoice mark correspondence is uploaded to the corresponding block chain node of electronic bill management server.With electronic bill management server pair The block chain node answered is also used to electronic bill and issues other blocks that condition is transferred in the block chain of place with the side's of making out an invoice mark The corresponding electronic bill uploaded is issued condition and identifies to be associated with the side of making out an invoice that data block is written by chain node and after completing common recognition. The side's of making out an invoice block chain node is also used to after completing common recognition, the electronic bill of transmitting is issued condition and the side of making out an invoice identifies to be associated with and write Enter data block.
In one embodiment, the data processing system of electronic bill further includes that the side of making out an invoice corresponding with issue of bidding documents knowledge of making out an invoice is set It is standby.Method, apparatus of making out an invoice is for obtaining resource transfers share;From the side's of making out an invoice block chain node, electricity corresponding with the side's of making out an invoice mark is inquired Sub- bill issues condition;Condition is issued according to resource transfers share and electronic bill, obtains and opens from the side's of making out an invoice block chain node Ticket side identifies associated electronic bill mark;According to electronic bill mark and resource transfers share, billing information is generated, and will give birth to At billing information be uploaded to the side's of making out an invoice block chain node.
In one embodiment, the side's of making out an invoice block chain node is also used to receive billing information;Inquire and the side of making out an invoice mark pair The electronic bill answered issues condition;Condition is issued according to electronic bill, verifies the legitimacy of billing information;Pass through in billing information After verifying, electronic bill is generated according to billing information, and data block is written into electronic bill.
In one embodiment, a kind of computer readable storage medium is provided, is deposited on the computer readable storage medium Computer program is contained, when which is executed by processor, so that processor executes following steps: obtaining and the side of making out an invoice Identify the associated side's of making out an invoice characteristic;According to the side's of making out an invoice characteristic, electronic bill corresponding with the side's of making out an invoice mark is set and is opened Tool condition;Electronic bill corresponding with the side's of making out an invoice mark issues condition, for controlling the electronic ticket carried out by the side's of making out an invoice mark According to issue behavior;Electronic bill issued to condition is corresponding with the side's of making out an invoice mark to be uploaded to block chain node;The corresponding electronics uploaded Bill issues condition and the side's of making out an invoice mark, is used to indicate block chain node and the corresponding electronic bill uploaded is issued condition and is made out an invoice Side's mark association write-in data block.
In one embodiment, the side's of making out an invoice characteristic includes the side's of making out an invoice basic data.It obtains and is associated with the side's of making out an invoice mark The side's of making out an invoice characteristic, comprising: inquire log-on data corresponding with the side's of making out an invoice mark;It is extracted from the log-on data inquired The side's of making out an invoice basic data.
In one embodiment, the side's of making out an invoice characteristic includes the side's of making out an invoice behavioral data.It obtains and is associated with the side's of making out an invoice mark The side's of making out an invoice characteristic, comprising: the side's of making out an invoice behavioral data corresponding with the side's of making out an invoice mark is inquired from block chain node;Or Person obtains the side's of making out an invoice behavioral data corresponding with the side's of making out an invoice mark by the mark transmitting of law enforcement side.According to the side's of making out an invoice characteristic According to electronic bill corresponding with the side's of making out an invoice mark is arranged and issues condition, comprising: behavioral data includes discreditable behavior number when the side of making out an invoice According to when, then update corresponding with the side's of making out an invoice mark electronic bill according to discreditable behavior data and issue condition.
In one embodiment, electronic bill corresponding with the side's of making out an invoice mark is updated according to discreditable behavior data issue item Part, comprising: when discreditable behavior data are to make out an invoice discreditable behavior data, then according to discreditable behavior data shrinkage limit and the side of making out an invoice of making out an invoice It identifies corresponding electronic bill and issues condition;When discreditable behavior data are to declare dutiable goods discreditable behavior data, then break one's promise according to declaring dutiable goods Behavioral data cancels electronic bill corresponding with the side's of making out an invoice mark and issues condition.
In one embodiment, electronic bill issued to condition is corresponding with the side's of making out an invoice mark to be uploaded to block chain node, packet It includes: electronic bill being issued into condition and the side's of making out an invoice mark is corresponding is uploaded to and local corresponding block chain node;Wherein, in correspondence The electronic bill of biography issues condition and the side's of making out an invoice mark, is used to indicate block chain node corresponding with local, electronic bill is opened After tool condition and the side of making out an invoice identify other block chain nodes being transferred in the block chain of place and complete common recognition, corresponding it will upload Electronic bill issues condition and is associated with write-in data block with the side's of making out an invoice mark;The corresponding electronic bill uploaded issues condition and makes out an invoice Side's mark is also used to indicate that the electronic bill of transmitting after completing common recognition, is issued condition and made out an invoice by the side's of making out an invoice block chain node Side's mark association write-in data block.
In one embodiment, electronic bill issues condition for obtaining in method, apparatus of making out an invoice corresponding with issue of bidding documents knowledge of making out an invoice When resource transfers share, instruction makes out an invoice method, apparatus from the side's of making out an invoice block chain node, inquires electronic ticket corresponding with the side's of making out an invoice mark According to issuing condition;Condition is issued according to resource transfers share and electronic bill, is obtained and the side of making out an invoice from the side's of making out an invoice block chain node Identify associated electronic bill mark;According to electronic bill mark and resource transfers share, billing information is generated, and by generation Billing information is uploaded to the side's of making out an invoice block chain node.
In one embodiment, electronic bill issues condition and is also used to that the electronics that condition is arranged ought be issued in electronic bill Bill was issued in the control period, by the quantity for the electronic bill that the side's of making out an invoice mark is issued, is not reached electronic bill and is issued condition When the monocycle electronic bill arranged issues quantity amount, instruction makes out an invoice method, apparatus according to resource transfers share and electronic bill Condition is issued, determines the quantity of electronic bill mark;From the side's of making out an invoice block chain node, obtains and make out an invoice according to determining quantity Side identifies associated electronic bill mark.
In one embodiment, electronic bill issues condition and is also used to receive billing information in the side's of making out an invoice block chain node When, the instruction side's of making out an invoice block chain querying node electronic bill corresponding with the side's of making out an invoice mark issues condition;It is opened according to electronic bill Tool condition verifies the legitimacy of billing information;After billing information is by verifying, electronic bill is generated according to billing information, and Data block is written into electronic bill.
In one embodiment, it includes that electronic bill issues the control period, monocycle electronic ticket that electronic bill, which issues condition, According to issue quantity amount, monocycle electronic bill issues amount and individual electronic bill is made out an invoice amount;Electronic bill is block Chain electronic invoice.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, when computer program is executed by processor, so that processor executes following steps: obtaining and the side's of making out an invoice mark is closed The side's of making out an invoice characteristic of connection;According to the side's of making out an invoice characteristic, electronic bill corresponding with the side's of making out an invoice mark is set and issues condition; Electronic bill corresponding with the side's of making out an invoice mark issues condition, issues row by the electronic bill that the side's of making out an invoice mark carries out for controlling For;Electronic bill issued to condition is corresponding with the side's of making out an invoice mark to be uploaded to block chain node;The corresponding electronic bill uploaded is issued Condition and the side's of making out an invoice mark are used to indicate block chain node for the corresponding electronic bill uploaded and issue condition and the side of making out an invoice mark pass Connection write-in data block.
In one embodiment, the side's of making out an invoice characteristic includes the side's of making out an invoice basic data.It obtains and is associated with the side's of making out an invoice mark The side's of making out an invoice characteristic, comprising: inquire log-on data corresponding with the side's of making out an invoice mark;It is extracted from the log-on data inquired The side's of making out an invoice basic data.
In one embodiment, the side's of making out an invoice characteristic includes the side's of making out an invoice behavioral data.It obtains and is associated with the side's of making out an invoice mark The side's of making out an invoice characteristic, comprising: the side's of making out an invoice behavioral data corresponding with the side's of making out an invoice mark is inquired from block chain node;Or Person obtains the side's of making out an invoice behavioral data corresponding with the side's of making out an invoice mark by the mark transmitting of law enforcement side.According to the side's of making out an invoice characteristic According to electronic bill corresponding with the side's of making out an invoice mark is arranged and issues condition, comprising: behavioral data includes discreditable behavior number when the side of making out an invoice According to when, then update corresponding with the side's of making out an invoice mark electronic bill according to discreditable behavior data and issue condition.
In one embodiment, electronic bill corresponding with the side's of making out an invoice mark is updated according to discreditable behavior data issue item Part, comprising: when discreditable behavior data are to make out an invoice discreditable behavior data, then according to discreditable behavior data shrinkage limit and the side of making out an invoice of making out an invoice It identifies corresponding electronic bill and issues condition;When discreditable behavior data are to declare dutiable goods discreditable behavior data, then break one's promise according to declaring dutiable goods Behavioral data cancels electronic bill corresponding with the side's of making out an invoice mark and issues condition.
In one embodiment, electronic bill issued to condition is corresponding with the side's of making out an invoice mark to be uploaded to block chain node, packet It includes: electronic bill being issued into condition and the side's of making out an invoice mark is corresponding is uploaded to and local corresponding block chain node;Wherein, in correspondence The electronic bill of biography issues condition and the side's of making out an invoice mark, is used to indicate block chain node corresponding with local, electronic bill is opened After tool condition and the side of making out an invoice identify other block chain nodes being transferred in the block chain of place and complete common recognition, corresponding it will upload Electronic bill issues condition and is associated with write-in data block with the side's of making out an invoice mark;The corresponding electronic bill uploaded issues condition and makes out an invoice Side's mark is also used to indicate that the electronic bill of transmitting after completing common recognition, is issued condition and made out an invoice by the side's of making out an invoice block chain node Side's mark association write-in data block.
In one embodiment, electronic bill issues condition for obtaining in method, apparatus of making out an invoice corresponding with issue of bidding documents knowledge of making out an invoice When resource transfers share, instruction makes out an invoice method, apparatus from the side's of making out an invoice block chain node, inquires electronic ticket corresponding with the side's of making out an invoice mark According to issuing condition;Condition is issued according to resource transfers share and electronic bill, is obtained and the side of making out an invoice from the side's of making out an invoice block chain node Identify associated electronic bill mark;According to electronic bill mark and resource transfers share, billing information is generated, and by generation Billing information is uploaded to the side's of making out an invoice block chain node.
In one embodiment, electronic bill issues condition and is also used to that the electronics that condition is arranged ought be issued in electronic bill Bill was issued in the control period, by the quantity for the electronic bill that the side's of making out an invoice mark is issued, is not reached electronic bill and is issued condition When the monocycle electronic bill arranged issues quantity amount, instruction makes out an invoice method, apparatus according to resource transfers share and electronic bill Condition is issued, determines the quantity of electronic bill mark;From the side's of making out an invoice block chain node, obtains and make out an invoice according to determining quantity Side identifies associated electronic bill mark.
In one embodiment, electronic bill issues condition and is also used to receive billing information in the side's of making out an invoice block chain node When, the instruction side's of making out an invoice block chain querying node electronic bill corresponding with the side's of making out an invoice mark issues condition;It is opened according to electronic bill Tool condition verifies the legitimacy of billing information;After billing information is by verifying, electronic bill is generated according to billing information, and Data block is written into electronic bill.
In one embodiment, it includes that electronic bill issues the control period, monocycle electronic ticket that electronic bill, which issues condition, According to issue quantity amount, monocycle electronic bill issues amount and individual electronic bill is made out an invoice amount;Electronic bill is block Chain electronic invoice.
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 Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, provided herein Each embodiment used in any reference to memory, storage, database or other media, may each comprise non-volatile And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled Journey 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), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect 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.
Only several embodiments of the present invention are expressed for above embodiments, and the description thereof is more specific and detailed, but can not Therefore limitations on the scope of the patent of the present invention are interpreted as.It should be pointed out that for those of ordinary skill in the art, Without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection model of the invention It encloses.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (15)

1. a kind of data processing method about electronic bill, comprising:
It obtains and the side of making out an invoice identifies the associated side's of making out an invoice characteristic;
According to the side's of making out an invoice characteristic, electronic bill corresponding with the side of making out an invoice mark is set and issues condition;It is described with The side of making out an invoice identifies corresponding electronic bill and issues condition, for controlling the electronic bill for passing through the side's of making out an invoice mark and carrying out Issue behavior;
The electronic bill issued to condition is corresponding with the side of making out an invoice mark to be uploaded to block chain node;Correspond to the described of upload Electronic bill issues condition and the side's of making out an invoice mark, is used to indicate the block chain node for the corresponding electronic ticket uploaded Write-in data block is associated with the side of making out an invoice mark according to condition of issuing.
2. the method according to claim 1, wherein the side's of making out an invoice characteristic includes the basic number in the side of making out an invoice According to;
The acquisition identifies the associated side's of making out an invoice characteristic with the side of making out an invoice, comprising:
Inquire log-on data corresponding with the side's of making out an invoice mark;
The side's of making out an invoice basic data is extracted from the log-on data inquired.
3. the method according to claim 1, wherein the side's of making out an invoice characteristic includes the side's of making out an invoice behavior number According to;
The acquisition identifies the associated side's of making out an invoice characteristic with the side of making out an invoice, comprising:
The side's of making out an invoice behavioral data corresponding with the side's of making out an invoice mark is inquired from block chain node;Alternatively,
Obtain the side's of making out an invoice behavioral data corresponding with the side's of making out an invoice mark by the mark transmitting of law enforcement side;
The characteristic of the side of making out an invoice according to is arranged electronic bill corresponding with the side of making out an invoice mark and issues condition, wraps It includes:
When the side's of making out an invoice behavioral data includes discreditable behavior data, is then updated according to the discreditable behavior data and opened with described Ticket side identifies corresponding electronic bill and issues condition.
4. according to the method described in claim 3, it is characterized in that, described updated according to the discreditable behavior data is opened with described Ticket side identifies corresponding electronic bill and issues condition, comprising:
When the discreditable behavior data are to make out an invoice discreditable behavior data, then discreditable behavior data shrinkage limit of making out an invoice according to and institute It states the corresponding electronic bill of the side's of making out an invoice mark and issues condition;
When the discreditable behavior data are to declare dutiable goods discreditable behavior data, then discreditable behavior data of declaring dutiable goods according to cancel and institute It states the corresponding electronic bill of the side's of making out an invoice mark and issues condition.
5. the electronic bill issued condition making out an invoice with described the method according to claim 1, wherein described Side's mark correspondence is uploaded to block chain node, comprising:
The electronic bill is issued into condition and the side of making out an invoice mark is corresponding is uploaded to and local corresponding block chain node;Its In, the corresponding electronic bill uploaded issues condition and the side's of making out an invoice mark, is used to indicate and local corresponding block chain The electronic bill is issued condition and the side of making out an invoice identifies other block chain nodes being transferred in the block chain of place by node And after completing common recognition, the corresponding electronic bill uploaded is issued into condition and is associated with write-in data field with the side of making out an invoice mark Block;The corresponding electronic bill uploaded issues condition and the side's of making out an invoice mark, is also used to indicate the side's of making out an invoice block chain node After completing common recognition, the electronic bill of transmitting is issued into condition and is associated with write-in data block with the side of making out an invoice mark.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Method, apparatus of making out an invoice corresponding with the issue of bidding documents knowledge of making out an invoice obtains resource transfers share;
The method, apparatus of making out an invoice is inquired electronic bill corresponding with the side of making out an invoice mark and is opened from the side's of making out an invoice block chain node Tool condition;
The method, apparatus of making out an invoice issues condition according to the resource transfers share and the electronic bill, from the side's of making out an invoice block Chain node, which is obtained, identifies associated electronic bill mark with the side of making out an invoice;
The method, apparatus of making out an invoice generates billing information, and will give birth to according to electronic bill mark and the resource transfers share At billing information be uploaded to the side's of making out an invoice block chain node.
7. according to the method described in claim 6, it is characterized in that, the method, apparatus of making out an invoice according to the resource transfers share and The electronic bill issues condition, obtains from the side's of making out an invoice block chain node and identifies associated electronic bill with the side of making out an invoice Mark, comprising:
It is issued in the control period when issuing the electronic bill that condition is arranged in the electronic bill, passes through the side's of making out an invoice mark The quantity for the electronic bill issued does not reach the electronic bill and issues the monocycle electronic bill that condition is arranged and issues quantity When amount, the method, apparatus of making out an invoice then issues condition according to the resource transfers share and the electronic bill, determines electronic ticket According to the quantity of mark;
The method, apparatus of making out an invoice obtains and the side of making out an invoice from the side's of making out an invoice block chain node according to the determining quantity Identify associated electronic bill mark.
8. according to the method described in claim 6, it is characterized in that, the method also includes:
The side's of making out an invoice block chain node receives the billing information;
The side's of making out an invoice block chain querying node electronic bill corresponding with the side of making out an invoice mark issues condition;
The side's of making out an invoice block chain node issues condition according to the electronic bill, verifies the legitimacy of the billing information;
The side's of making out an invoice block chain node generates electronic ticket after the billing information is by verifying, according to the billing information According to, and data block is written into the electronic bill.
9. method according to claim 1 to 8, which is characterized in that it includes electricity that the electronic bill, which issues condition, Sub- bill issue control the period, monocycle electronic bill issues quantity amount, monocycle electronic bill issues amount and individual Electronic bill is made out an invoice amount;The electronic bill is block chain electronic invoice.
10. a kind of data processing equipment about electronic bill, comprising:
Module is obtained, for obtaining and the associated side's of the making out an invoice characteristic of the side of making out an invoice mark;
Setup module is arranged electronic bill corresponding with the side of making out an invoice mark and opens for the characteristic of the side of making out an invoice according to Tool condition;The electronic bill corresponding with the side of making out an invoice mark issues condition, for controlling through the side of making out an invoice mark The electronic bill issue behavior of progress;
Cochain module, for issuing the electronic bill, condition is corresponding with the side of making out an invoice mark to be uploaded to block chain node; The corresponding electronic bill uploaded issues condition and the side's of making out an invoice mark, and being used to indicate the block chain node will be in correspondence The electronic bill passed issues condition and is associated with write-in data block with the side of making out an invoice mark.
11. a kind of data processing system about electronic bill, including electronic bill management server and block chain node;Its In,
The electronic bill management server is used to obtain and the side of making out an invoice identifies the associated side's of making out an invoice characteristic;It is opened according to described Ticket side's characteristic is arranged electronic bill corresponding with the side of making out an invoice mark and issues condition;The described and side's of making out an invoice mark Corresponding electronic bill issues condition, for controlling the electronic bill issue behavior for passing through the side's of making out an invoice mark and carrying out;By institute It states electronic bill and issues that condition is corresponding with the side of making out an invoice mark to be uploaded to block chain node;
The block chain node is used to issuing the electronic bill for corresponding to upload into condition to identify to be associated with the side of making out an invoice and write Enter data block.
12. system according to claim 11, which is characterized in that the block chain node includes and the electronic bill pipe Manage the corresponding block chain node of server and the side's of making out an invoice block chain node corresponding with the side of making out an invoice mark;
The electronic bill management server be also used to issue the electronic bill condition it is corresponding with the side of making out an invoice mark on Reach the corresponding block chain node of the electronic bill management server;
The block chain node corresponding with the electronic bill management server be also used to the electronic bill issue condition with After the side of making out an invoice identifies other block chain nodes being transferred in the block chain of place and completes common recognition, it will correspond to described in uploading Electronic bill issues condition and is associated with write-in data block with the side of making out an invoice mark;
The side's of making out an invoice block chain node be also used to complete common recognition after, by the electronic bill of transmitting issue condition with it is described The side's of making out an invoice mark association write-in data block.
13. system according to claim 12, which is characterized in that further include the side of making out an invoice corresponding with the issue of bidding documents knowledge of making out an invoice Equipment;
The method, apparatus of making out an invoice is for obtaining resource transfers share;From the side's of making out an invoice block chain node, inquiry is made out an invoice with described Side identifies corresponding electronic bill and issues condition;Condition is issued according to the resource transfers share and the electronic bill, from institute The side's of making out an invoice block chain node is stated to obtain and the associated electronic bill mark of the side of making out an invoice mark;It is identified according to the electronic bill With the resource transfers share, billing information is generated, and the billing information of generation is uploaded to the side of making out an invoice block chain node.
14. a kind of computer readable storage medium, computer program, the meter are stored on the computer readable storage medium When calculation machine program is executed by processor, so that the processor executes the step of method as claimed in any one of claims 1-9 wherein Suddenly.
15. a kind of computer equipment, including memory and processor, computer program, the meter are stored in the memory When calculation machine program is executed by the processor, so that the processor executes method as claimed in any one of claims 1-9 wherein The step of.
CN201810927658.5A 2018-08-15 2018-08-15 Data processing method, apparatus, system, medium, and device for electronic ticket Active CN108961030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810927658.5A CN108961030B (en) 2018-08-15 2018-08-15 Data processing method, apparatus, system, medium, and device for electronic ticket

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810927658.5A CN108961030B (en) 2018-08-15 2018-08-15 Data processing method, apparatus, system, medium, and device for electronic ticket

Publications (2)

Publication Number Publication Date
CN108961030A true CN108961030A (en) 2018-12-07
CN108961030B CN108961030B (en) 2023-01-03

Family

ID=64469215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810927658.5A Active CN108961030B (en) 2018-08-15 2018-08-15 Data processing method, apparatus, system, medium, and device for electronic ticket

Country Status (1)

Country Link
CN (1) CN108961030B (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949108A (en) * 2018-12-12 2019-06-28 阿里巴巴集团控股有限公司 Invoice creation method and device, electronic equipment based on block chain
CN110046944A (en) * 2018-12-12 2019-07-23 阿里巴巴集团控股有限公司 Invoice creation method and device, electronic equipment based on block chain
CN110245945A (en) * 2019-05-20 2019-09-17 阿里巴巴集团控股有限公司 In conjunction with the receipt storage method and node of code mark and user type
CN110245182A (en) * 2019-04-25 2019-09-17 腾讯科技(深圳)有限公司 For handling method, unit and the medium of distributed data
CN110443660A (en) * 2019-08-15 2019-11-12 上海天地汇供应链科技有限公司 A kind of electronic invoice device, system and implementation method based on block chain
CN110599270A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill generation method and device and computer equipment
CN110599266A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill data processing method and device, computer equipment and storage medium
CN110599273A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, data processing device, node equipment and storage medium
CN110738471A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 bill management method based on block chain network and related equipment
CN110800254A (en) * 2019-02-28 2020-02-14 阿里巴巴集团控股有限公司 System and method for generating digital indicia
CN110853216A (en) * 2019-10-18 2020-02-28 深圳壹账通智能科技有限公司 Information storage method, information storage device, information storage medium and computer equipment
CN111062766A (en) * 2019-12-20 2020-04-24 中国银联股份有限公司 Block chain-based electronic invoice issuing method and device
CN111292144A (en) * 2020-01-22 2020-06-16 腾讯科技(深圳)有限公司 Bill processing method and device based on block chain network and storage medium
CN111311270A (en) * 2018-12-11 2020-06-19 航天信息股份有限公司 Method and device for checking electronic invoice based on block chain
CN111325586A (en) * 2020-01-22 2020-06-23 腾讯科技(深圳)有限公司 Bill generation method, device, server and medium based on block chain network
WO2020134574A1 (en) * 2018-12-25 2020-07-02 阿里巴巴集团控股有限公司 Blockchain-based invoice authenticity verification method, apparatus, and electronic device
WO2020134606A1 (en) * 2018-12-25 2020-07-02 阿里巴巴集团控股有限公司 Method and device for invoice correction based on blockchain, and electronic equipment
WO2020134614A1 (en) * 2018-12-27 2020-07-02 阿里巴巴集团控股有限公司 Blockchain-based invoice voiding method and apparatus, and electronic device
CN111598635A (en) * 2020-05-18 2020-08-28 腾讯科技(深圳)有限公司 Bill information processing method and device, equipment and readable storage medium
WO2020220740A1 (en) * 2019-04-29 2020-11-05 创新先进技术有限公司 Blockchain-based invoice creation method, apparatus and electronic device
US10846765B2 (en) 2019-07-31 2020-11-24 Advanced New Technologies Co., Ltd. Blockchain-based e-bill number application method, apparatus, and electronic device
CN112149077A (en) * 2020-10-12 2020-12-29 杭州云链趣链数字科技有限公司 Supply chain billing method, system and computer equipment based on block chain technology
WO2021017439A1 (en) * 2019-07-31 2021-02-04 创新先进技术有限公司 Block chain-based electronic bill number application method and apparatus, and electronic device
CN113034778A (en) * 2019-12-24 2021-06-25 航天信息股份有限公司 Invoice information approval method and system
US11049115B2 (en) 2019-07-31 2021-06-29 Advanced New Technologies Co., Ltd. Blockchain-based bill write-off method, apparatus, electronic device, and storage medium
US11087371B2 (en) 2019-04-29 2021-08-10 Advanced New Technologies Co., Ltd. Blockchain-based invoice creation method apparatus, and electronic device
US11126739B2 (en) 2018-12-12 2021-09-21 Advanced New Technologies Co., Ltd. Invoice access method and apparatus based on blockchain, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106780033A (en) * 2016-12-16 2017-05-31 杭州云象网络技术有限公司 A kind of digital ticket transaction system construction method based on alliance's chain
US20180101560A1 (en) * 2016-10-07 2018-04-12 International Business Machines Corporation Establishing overlay trust consensus for blockchain trust validation system
WO2018112945A1 (en) * 2016-12-23 2018-06-28 深圳前海达闼云端智能科技有限公司 Method and device for querying state information about electronic ticket, and block chain node
CN108305106A (en) * 2018-01-31 2018-07-20 复旦大学 A kind of electronic invoice register method based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180101560A1 (en) * 2016-10-07 2018-04-12 International Business Machines Corporation Establishing overlay trust consensus for blockchain trust validation system
CN106780033A (en) * 2016-12-16 2017-05-31 杭州云象网络技术有限公司 A kind of digital ticket transaction system construction method based on alliance's chain
WO2018112945A1 (en) * 2016-12-23 2018-06-28 深圳前海达闼云端智能科技有限公司 Method and device for querying state information about electronic ticket, and block chain node
CN108305106A (en) * 2018-01-31 2018-07-20 复旦大学 A kind of electronic invoice register method based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张庆胜等: "基于区块链的电子发票系统研究", 《信息安全研究》 *

Cited By (42)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311270A (en) * 2018-12-11 2020-06-19 航天信息股份有限公司 Method and device for checking electronic invoice based on block chain
CN109949108A (en) * 2018-12-12 2019-06-28 阿里巴巴集团控股有限公司 Invoice creation method and device, electronic equipment based on block chain
CN110046944A (en) * 2018-12-12 2019-07-23 阿里巴巴集团控股有限公司 Invoice creation method and device, electronic equipment based on block chain
US11126739B2 (en) 2018-12-12 2021-09-21 Advanced New Technologies Co., Ltd. Invoice access method and apparatus based on blockchain, and electronic device
WO2020119302A1 (en) * 2018-12-12 2020-06-18 阿里巴巴集团控股有限公司 Blockchain-based invoice creation method and apparatus, and electronic device
TWI709934B (en) * 2018-12-12 2020-11-11 開曼群島商創新先進技術有限公司 Block chain-based invoice creation method and device, and electronic equipment
WO2020119303A1 (en) * 2018-12-12 2020-06-18 阿里巴巴集团控股有限公司 Blockchain-based invoice creation method and apparatus, and electronic device
US11934549B2 (en) 2018-12-12 2024-03-19 Advance New Technologies Co., Ltd. Invoice access method and apparatus based on blockchain, and electronic device
WO2020134606A1 (en) * 2018-12-25 2020-07-02 阿里巴巴集团控股有限公司 Method and device for invoice correction based on blockchain, and electronic equipment
WO2020134574A1 (en) * 2018-12-25 2020-07-02 阿里巴巴集团控股有限公司 Blockchain-based invoice authenticity verification method, apparatus, and electronic device
US11386426B2 (en) 2018-12-27 2022-07-12 Advanced New Technologies Co., Ltd. Invoice invalidation method and apparatus based on blockchain, and electronic device
WO2020134614A1 (en) * 2018-12-27 2020-07-02 阿里巴巴集团控股有限公司 Blockchain-based invoice voiding method and apparatus, and electronic device
CN110800254A (en) * 2019-02-28 2020-02-14 阿里巴巴集团控股有限公司 System and method for generating digital indicia
US11888992B2 (en) 2019-02-28 2024-01-30 Advanced New Technologies Co., Ltd. System and method for generating digital marks
WO2020216053A1 (en) * 2019-04-25 2020-10-29 腾讯科技(深圳)有限公司 Distributed data processing method, device, apparatus and medium
CN110245182A (en) * 2019-04-25 2019-09-17 腾讯科技(深圳)有限公司 For handling method, unit and the medium of distributed data
US11917057B2 (en) 2019-04-25 2024-02-27 Tencent Technology (Shenzhen) Company Limited Method, device, and apparatus for processing distributed data, and medium
US11087371B2 (en) 2019-04-29 2021-08-10 Advanced New Technologies Co., Ltd. Blockchain-based invoice creation method apparatus, and electronic device
WO2020220740A1 (en) * 2019-04-29 2020-11-05 创新先进技术有限公司 Blockchain-based invoice creation method, apparatus and electronic device
CN110245945A (en) * 2019-05-20 2019-09-17 阿里巴巴集团控股有限公司 In conjunction with the receipt storage method and node of code mark and user type
CN110245945B (en) * 2019-05-20 2021-03-23 创新先进技术有限公司 Receipt storage method and node combining code marking and user type
US10846765B2 (en) 2019-07-31 2020-11-24 Advanced New Technologies Co., Ltd. Blockchain-based e-bill number application method, apparatus, and electronic device
US11429983B2 (en) 2019-07-31 2022-08-30 Advanced New Technologies Co., Ltd. Blockchain-based bill write-off method, apparatus, electronic device, and storage medium
WO2021017439A1 (en) * 2019-07-31 2021-02-04 创新先进技术有限公司 Block chain-based electronic bill number application method and apparatus, and electronic device
US11049115B2 (en) 2019-07-31 2021-06-29 Advanced New Technologies Co., Ltd. Blockchain-based bill write-off method, apparatus, electronic device, and storage medium
CN110443660A (en) * 2019-08-15 2019-11-12 上海天地汇供应链科技有限公司 A kind of electronic invoice device, system and implementation method based on block chain
CN110599270A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill generation method and device and computer equipment
CN110599266A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill data processing method and device, computer equipment and storage medium
CN110599273A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, data processing device, node equipment and storage medium
CN110738471A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 bill management method based on block chain network and related equipment
CN110853216A (en) * 2019-10-18 2020-02-28 深圳壹账通智能科技有限公司 Information storage method, information storage device, information storage medium and computer equipment
CN111062766B (en) * 2019-12-20 2024-02-09 中国银联股份有限公司 Electronic invoice issuing method and device based on blockchain
CN111062766A (en) * 2019-12-20 2020-04-24 中国银联股份有限公司 Block chain-based electronic invoice issuing method and device
CN113034778A (en) * 2019-12-24 2021-06-25 航天信息股份有限公司 Invoice information approval method and system
CN111292144B (en) * 2020-01-22 2021-12-21 腾讯科技(深圳)有限公司 Bill processing method and device based on block chain network and storage medium
CN111325586B (en) * 2020-01-22 2022-02-11 腾讯科技(深圳)有限公司 Bill generation method, device, server and medium based on block chain network
CN111325586A (en) * 2020-01-22 2020-06-23 腾讯科技(深圳)有限公司 Bill generation method, device, server and medium based on block chain network
CN111292144A (en) * 2020-01-22 2020-06-16 腾讯科技(深圳)有限公司 Bill processing method and device based on block chain network and storage medium
CN111598635B (en) * 2020-05-18 2021-09-28 腾讯科技(深圳)有限公司 Bill information processing method and device, equipment and readable storage medium
CN111598635A (en) * 2020-05-18 2020-08-28 腾讯科技(深圳)有限公司 Bill information processing method and device, equipment and readable storage medium
CN112149077B (en) * 2020-10-12 2022-03-25 杭州云链趣链数字科技有限公司 Supply chain billing method, system and computer equipment based on block chain technology
CN112149077A (en) * 2020-10-12 2020-12-29 杭州云链趣链数字科技有限公司 Supply chain billing method, system and computer equipment based on block chain technology

Also Published As

Publication number Publication date
CN108961030B (en) 2023-01-03

Similar Documents

Publication Publication Date Title
CN108961030A (en) About the data processing method of electronic bill, device, system, medium and equipment
CN110599181B (en) Data processing method, device and equipment based on block chain and storage medium
US11250507B2 (en) Trusted tokenized transactions in a blockchain system
CN109165943B (en) Data processing method, device, storage medium and equipment for electronic bill
CN110400188A (en) Electronic bill generation method, device, storage medium and computer equipment
Wijaya et al. A new blockchain-based value-added tax system
CN106982205B (en) Block chain-based digital asset processing method and device
CN109255084A (en) Electronic bill querying method, device, storage medium and computer equipment
CN110599266B (en) Electronic bill data processing method and device, computer equipment and storage medium
CN109325812A (en) About the data processing method of electronic bill, device, storage medium and equipment
CN109191272A (en) About the data processing method of electronic bill, device, storage medium and equipment
CN110400131A (en) About the data processing method of electronic bill, device, storage medium and equipment
AU2019380381A1 (en) Smart logistics management using blockchain
WO2019204117A1 (en) Systems and methods for recording assets and transactions thereof in blockchains
WO2021204044A1 (en) Correction of blockchain data
CN113221191B (en) Block chain-based data evidence storage method, device, equipment and storage medium
CN111429191A (en) Block chain-based electronic invoice flow management method, device and system
CN112801778A (en) Federated bad asset blockchain
US20220036323A1 (en) Electronic wallet allowing virtual currency expiration date
CN111126987B (en) Resource transfer information processing method and device, storage medium and electronic device
Xu et al. Example use cases
McCorry Applications of the Blockchain using Cryptography
Yessenbayev et al. A Middleware for Hybrid Blockchain Applications: Towards Fast, Affordable, and Accountable Integration
CN110535664A (en) Data processing method, device, server and storage medium based on block chain
Yu et al. Blockchain-based solutions for mobile crowdsensing: A comprehensive survey

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20190121

Address after: 518000 Tencent Building 2401, Maling Community Science and Technology Center, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN ZHISHUILIAN TECHNOLOGY Co.,Ltd.

Address before: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors

Applicant before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant