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

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

Info

Publication number
CN110400131A
CN110400131A CN201910683245.1A CN201910683245A CN110400131A CN 110400131 A CN110400131 A CN 110400131A CN 201910683245 A CN201910683245 A CN 201910683245A CN 110400131 A CN110400131 A CN 110400131A
Authority
CN
China
Prior art keywords
electronic bill
data
group
block chain
bill
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910683245.1A
Other languages
Chinese (zh)
Inventor
蔡弋戈
秦青
戴传兵
张建俊
郑罗海
卢吉光
王宗友
屠海涛
周开班
蓝虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Intellectual Tax Chain Technology Co Ltd
Original Assignee
Shenzhen Intellectual Tax Chain Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Intellectual Tax Chain Technology Co Ltd filed Critical Shenzhen Intellectual Tax Chain Technology Co Ltd
Priority to CN201910683245.1A priority Critical patent/CN110400131A/en
Publication of CN110400131A publication Critical patent/CN110400131A/en
Pending legal-status Critical Current

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/047Payment circuits using payment protocols involving electronic receipts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/123Tax preparation or submission

Landscapes

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

Abstract

This application involves a kind of about the data processing method of electronic bill, device, storage medium and equipment, and method includes: after data block is written in electronic bill data by the block chain node in block chain network, and acquisition is synchronized to local electronic bill data;Electronic bill data are encrypted data;Determine group's mark corresponding with electronic bill data;Inquiry is identified the private key of distribution cipher key pair by group;Electronic bill data, which are decrypted, according to private key obtains the electronic bill data of plaintext;According to the electronic bill data of plaintext, the electronic bill circulation behavior that based on block chain network is carried out corresponding to group's mark is analyzed.Scheme provided by the present application can be realized based on the whole process data of electronic bill to the statistics of electronic bill data, and the management of electronic bill data is conducive to.

Description

About the data processing method of electronic bill, device, storage medium and equipment
The application be on 08 27th, 2018 submission Patent Office of the People's Republic of China, application No. is 201810982422.1, invention name Divisional application referred to as " about the data processing method of electronic bill, device, storage medium and equipment ", entire contents pass through Reference is incorporated in the present application.
Technical field
This application involves field of computer technology, more particularly to a kind of data processing method about electronic bill, dress It sets, computer readable storage medium and computer 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.
The data of each link of getting, issue, submit an expense account and pay taxes of traditional invoice are all isolated, for example, getting invoice The information that enterprise is drawn a bill only has Ling Piao enterprise just to have, and consumer takes whether a/d submits an expense account also unknown, reimbursement enterprise Whether industry also has no way of learning receiving a/d and declare dutiable goods, to can not carry out to the data that invoice is related in circulation process Record, is unfavorable for the statistics of invoice data.
Summary of the invention
Based on this, it is necessary to the data during invoice circulation can not be recorded for existing traditional invoice, be unfavorable for sending out The problem of statistics of ticket data, provides a kind of about the data processing method of electronic bill, device, computer readable storage medium And computer equipment.
A kind of data processing method about electronic bill, by the bill management side's block chain accessed in block chain network The electronic bill management server of node executes, comprising:
After data block is written in electronic bill data by the block chain node in block chain network, acquisition is synchronized to local The electronic bill data;The electronic bill data are encrypted data;
Group corresponding with the electronic bill data is determined according to the block chain node for synchronizing the electronic bill data Mark;
Inquiry is identified the private key of distribution cipher key pair by the group;
The electronic bill data, which are decrypted, according to the private key obtains the electronic bill data of plaintext;
Obtain the electronic bill data analysis request of the carrying group's mark issued by webpage;
In response to the electronic bill data analysis request, according to the electronic bill data of plaintext, to the group The corresponding electronic bill circulation behavior carried out based on the block chain network of mark is analyzed, and analysis result is obtained;
Analysis result is back to the webpage, so as to analyze result described in the web page display.
In one embodiment, the electronic bill data include invoicing time;The electronic ticket according to plaintext According to data, the electronic bill circulation behavior that based on the block chain network is carried out corresponding to group mark is divided Analysis obtains analysis result and comprises determining that possessed invoicing time belongs to the electronic bill of default invoicing time section;Described in statistics The quantity of making out an invoice of each time discrete point in default invoicing time section;Quantity of making out an invoice accordingly is generated according to the quantity of making out an invoice to walk Gesture data;The method also includes: the corresponding electronic bill of quantity tendency data update group's mark of making out an invoice according to described in Issue condition;The electronic bill issues condition for controlling the electronic bill issue behavior based on the block chain network.
In one embodiment, the method also includes: the history for obtaining group mark is made out an invoice quantity tendency data; Compare be currently generated make out an invoice quantity tendency data and the history is made out an invoice quantity tendency data;In the quantity of making out an invoice being currently generated Tendency data and the history make out an invoice the difference between quantity tendency data meet malice make out an invoice behavior when, then the group is marked Know labeled as group of maliciously making out an invoice, and updates the corresponding electronic bill of group's mark and issue condition.
In one embodiment, it includes: to work as to inquire group's mark that the electronic bill, which issues the update step of condition, Knowledge be marked as malice make out an invoice group when, update the group and identify corresponding electronic bill and issue condition;By the electronics of update Bill issues condition and the corresponding block chain node being uploaded in the block chain network of group mark.
In one embodiment, the electronic bill data include bill state;The electronic ticket according to plaintext According to data, the electronic bill circulation behavior that based on the block chain network is carried out corresponding to group mark is divided Analysis obtains the bill state that analysis result includes: inquiry electronic bill within polling cycle;The bill state includes not It makes out an invoice, made out an invoice and at least one of do not submitted an expense account and submitted an expense account;Count the quantity of the identical electronic bill of bill state;According to system The quantity of meter determines that the group identifies corresponding bill state distribution;The method also includes: according to the bill state point Cloth updates the group and identifies corresponding electronic bill application condition;The electronic bill of update claims condition and is based on institute for controlling The electronic bill for stating the progress of block chain network claims behavior.
In one embodiment, described to identify corresponding electronic bill according to group described in the bill state distributed update It is the accounting that do not make out an invoice and bill state between the accounting that do not submit an expense account of having made out an invoice that application condition, which includes: when inquiring bill state, Difference when meeting malice and claiming behavior, update the group and identify corresponding electronic bill and claim condition;By the electronics of update Bill claims condition and the corresponding block chain node being uploaded in the block chain network of group mark.
In one embodiment, the electronic bill data include declaring dutiable goods state, the method also includes: inquiry with it is described Group identifies corresponding government tax fillings;The amount of tax to be paid of paying taxes in the government tax fillings declares dutiable goods state according to described in as duty paid electronics Bill generates;Taxpayer's quantity growth ratio in corresponding government tax fillings statistics predetermined period, tax are identified according to each group Receive growth ratio and the amount of tax to be paid of paying taxes distribution;According to taxpayer's quantity growth ratio, the revenue growth ratio, described receive The distribution of the tax amount of tax to be paid and group's tax score determine that the tax in the predetermined period administers grading.
In one embodiment, the determination step of group's tax score includes: statistics institute in the predetermined period State group identify the corresponding frequency of making out an invoice, accounting of having made out an invoice, be marked as malice make out an invoice group number and the amount of tax to be paid of always paying taxes;It presses According to corresponding weight coefficient to the frequency of making out an invoice of statistics, accounting of having made out an invoice, be marked as malice and make out an invoice the number and Zong Na of group The tax amount of tax to be paid is weighted summation, and the group is calculated and identifies corresponding group's tax score.
In one embodiment, the block chain node in the block chain network includes the side's of making out an invoice block chain node, bill Save block chain link point, reimbursement side's block chain node and area, bill management side corresponding with the electronic bill management server Block chain node;The side's of making out an invoice block chain node is for being written data field for electronic bill data relevant to bill issue behavior Block;The bill saves block chain link point for data block to be written in data relevant to consumer;The reimbursement takes block Chain node is for being written data block for electronic bill data relevant to bill reimbursement behavior;Bill management side's block chain Node is used to the electronic bill data being synchronized to the electronic bill management server.
A kind of data processing equipment about electronic bill, described device include:
Electronic bill data simultaneous module, for electronic bill data to be written when the block chain node in block chain network After data block, acquisition is synchronized to the local electronic bill data;The electronic bill data are encrypted data;
Determining module, for according to the determination of block chain node and the electronic bill number for synchronizing the electronic bill data It is identified according to corresponding group;
Enquiry module, for inquiring the private key for identifying distribution cipher key pair by the group;
Deciphering module obtains the electronic bill data of plaintext for decrypting the electronic bill data according to the private key;
Analysis request obtains module, for obtaining the electronic bill data of the carrying group's mark issued by webpage Analysis request;
Analysis module is used in response to the electronic bill data analysis request, according to the electronic bill number of plaintext According to the electronic bill circulation behavior that based on the block chain network is carried out corresponding to group mark is analyzed, and is obtained To analysis result;Analysis result is back to the webpage, so as to analyze result described in the web page display.
A kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor, So that the processor executes the step of above-mentioned data processing method about electronic bill.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the calculating When machine program is executed by the processor, so that the processor executes the step of the above-mentioned data processing method about electronic bill Suddenly.
It is above-mentioned about the data processing method of electronic bill, device, computer readable storage medium and computer equipment, In It, can be by electronic bill in circulation process after data block is written in electronic bill data by the block chain node in block chain network In the data collection that is related to, in this way, getting the electronics synchronous from block chain node in electronic bill management server After bill data, so that it may it according to inquiring is the private key matched of team score by electronic bill data translation in plain text, so as to Enough electronic bill circulation behaviors carried out according to the electronic bill data statistics of the plaintext group based on block chain network, realize electricity The statistics of sub- bill data is conducive to the management to electronic bill data.
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 of the circulation process of electronic bill in one embodiment;
Fig. 4 is the deployment diagram in one embodiment about the data processing system of electronic bill;
Fig. 5 is quantity tendency schematic diagram of making out an invoice this week inquired in one embodiment;
Fig. 6 is the schematic illustration of common recognition algorithm in one embodiment;
Fig. 7 is the bill state distribution schematic diagram counted in one embodiment;
Fig. 8 is to determine that the tax administers the flow diagram of grading in one embodiment;
Fig. 9 is the flow diagram in a specific embodiment about the data processing method of electronic bill;
Figure 10 is the structural block diagram in one embodiment about the data processing equipment of electronic bill;
Figure 11 is the structural block diagram of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
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 server 110 and block chain network 120.Block chain network 120 includes multiple block chains Node, including bill management side's block chain node 1202 corresponding with electronic bill management server 110, the side's of making out an invoice block chain link Point 1204, bill save block chain link point 1206 and reimbursement side's block chain node 1208.Electronic bill management server 110 and ticket According to manager's block chain node 1202 by network connection, bill management side's block chain node 1202 can be to electronic bill management 110 open visit permission of server and access interface, allow electronic bill management server 110 to access to bill management side Block chain node 1202.It is appreciated that can also include other block chain nodes in block chain network 110, for example it be used for data The side's of declaring dutiable goods block chain node etc. that electronic bill data in block are declared dutiable goods.It may include each block chain in block chain network Data block in node is formed by a plurality of block chain.
After data block is written in electronic bill data by the block chain node in block chain network, bill management side's block Chain node 1202 is available to be synchronized to local electronic bill data;Electronic bill data are encrypted data;And determine with The corresponding group's mark of electronic bill data;Inquiry is identified the private key of distribution cipher key pair by group;Bill management side's block Chain node 1202 can decrypt electronic bill data according to private key and obtain the electronic bill data of plaintext;According to the electronics of plaintext Bill data, the electronic bill circulation behavior that based on block chain network is carried out corresponding to group's mark are analyzed, can Whole process data based on synchronous electronic bill data are realized to electronic bill.
It can use network between block chain node in block chain network to be attached, to carry out common recognition certification, bill Manager's block chain node can be attached with other block chain nodes by network.Each block chain node can be independence Physical server or terminal, be also possible to the server cluster that multiple physical servers are constituted, can be to provide Cloud Server, The Cloud Server of the basis such as cloud database, cloud storage and CDN cloud computing service.
As shown in Fig. 2, in one embodiment, providing a kind of data processing method about electronic bill.This implementation Example is main to be applied to the electronic bill management server 110 in above-mentioned Fig. 1 in this way to illustrate.It, should be about referring to Fig. 2 The data processing method of electronic bill specifically comprises the following steps:
S202 is obtained and is synchronized after data block is written in electronic bill data by the block chain node in block chain network To local electronic bill data;Electronic bill data are encrypted data.
Wherein, block chain node is the entity device constituted where the data block of block chain in block chain network.For It may include the side's of making out an invoice block chain node, bill preservation block chain link point, reimbursement side in the block chain network of electronic bill design Block chain node and bill management side's block chain node corresponding with electronic bill management server etc..Electronic bill is electronics Change the bill of storage, for example can be stored in storage medium or computer equipment.
It specifically, can be by the electricity of encryption after data block is written in the electronic bill data of encryption by each block chain node Sub- bill data is synchronized to electronic bill management server, realizes that electronic bill is complete from generating, issuing, saving, submitting an expense account and declaring dutiable goods The collection of flow data can be further analyzed based on the data of collection.
Electronic bill data include billing information and bill attribute data.Wherein, billing information include electronic bill mark, At least one of the side's of making out an invoice mark of electronic bill, recipient's mark of electronic bill and amount of the instrument etc.;Bill attribute number At least one of time, bill state, state of declaring dutiable goods etc. are issued according to including electronic bill;Bill state is the current electronics The state of bill, including made out an invoice, made out an invoice and at least one of do not submitted an expense account and submitted an expense account;State of declaring dutiable goods is including having declared dutiable goods and not It declares dutiable goods.For an electronic bill, for the side of making out an invoice and recipient, the shape of declaring dutiable goods of the electronic bill each will record State.For example, the corresponding bill state of the electronic bill is to have opened when the side of making out an invoice A is that consumer B has issued an electronic bill Tool, when consumer B initiates to submit an expense account according to the electronic bill to the side of declaring dutiable goods C, then the state for adding the electronic bill is to have submitted an expense account, After the side of declaring dutiable goods C declares dutiable goods according to electronic bill completion, then the state for adding the electronic bill is to have declared dutiable goods.It is appreciated that only Have the electronic bill issued just and can be carried out reimbursement processing or processing of declaring dutiable goods, do not carry out submitting an expense account processing electronic bill can first by The side of issuing of the electronic bill first carries out processing of declaring dutiable goods, and the electronic bill that do not declare dutiable goods can also first connecing by the electronic bill Debit carries out reimbursement processing.
Electronic bill data are encrypted data.Specifically, being related to each block chain node of the electronic bill altogether After knowledge passes through, according to the public key of the corresponding secret key centering of distribution to electronic bill data by encrypting, by the electronics of encryption Bill data is written in respective data block.
It in one embodiment, is all phase since the data in respective data block about some electronic bill are written With, therefore, the electricity in local data block is written after passing through common recognition certification in the side that common recognition certification can be initiated by active Sub- bill data is synchronized to electronic bill management server.Alternatively, since bill management side's block chain node is available and institute The relevant data of some electronic bills, can also be by bill management side's block chain node by each electricity in local data block The whole process data of sub- bill are synchronized to electronic bill management server.
In one embodiment, electronic bill data include data relevant to bill application behavior.Electronic bill management Server can receive bill and claim the electronic bill mark application request that end is sent, and bill, which claims end, can be the group for needing to make out an invoice Computer equipment used in body, electronic bill claim request and carry application side's mark, and electronic bill management server can be looked into It askes electronic bill corresponding with application side mark and claims condition, claiming condition according to electronic bill is that bill claims end distribution electricity Sub- coupon identification, and the electronic bill of distribution mark is associated with the bill management being uploaded in block chain network with application side's mark Square block chain node is written in data block after common recognition passes through by block chain node.Therefore, bill claims what behavior was related to Electronic bill data include electronic bill mark, electronic bill identifies corresponding application side's mark, electronic bill mark is distributed Time, etc..
In one embodiment, electronic bill data include data relevant to bill issue behavior.The side's of making out an invoice block chain Node can receive the request of making out an invoice for request end transmission of making out an invoice, and request of making out an invoice carries billing information, and billing information includes the side of making out an invoice Mark, electronic bill mark, recipient's mark and the amount of the instrument;The side's of making out an invoice block chain node is raw after receiving and making out an invoice request At electronic bill inquiry code corresponding with billing information, electronic bill is generated according to billing information and electronic bill inquiry code, and Data block is written into electronic bill and current bill state.Therefore, the electronic bill data that bill issue behavior is related to The time is issued including the side's of making out an invoice mark, electronic bill mark, recipient's mark, the amount of the instrument, bill state and bill, etc. Deng.
In one embodiment, electronic bill data include data relevant to bill reimbursement behavior.Submitting an expense account method, apparatus can The reimbursement document that reimbursement request end is sent is received, reimbursement document includes electronic bill inquiry code, and reimbursement method, apparatus can be to area Reimbursement side's block chain node checks electronic bill corresponding with electronic bill inquiry code in block chain network, according to the electricity found Sub- bill checks reimbursement document, and after verification passes through, electronic bill is transferred to reimbursement side according to reimbursement document, and trigger electricity The update of the bill state of sub- bill uploads the bill state of update so that the bill for saving the electronic bill saves server To corresponding block chain node.Therefore, the electronic bill data that bill reimbursement behavior is related to include the bill state updated, electricity The time, etc. that the time of sub- bill transfer and bill state update.
In one embodiment, electronic bill data include declaring dutiable goods the relevant data of behavior to bill.Declaring dutiable goods request end can To initiate request of declaring dutiable goods to the side's of declaring dutiable goods block chain node, request of declaring dutiable goods carries the side's of declaring dutiable goods mark, and the side's of declaring dutiable goods block chain node is true Determine the electronic bill corresponding with the side's of declaring dutiable goods mark stored in data block, and inquires and identify associated ginseng of declaring dutiable goods with the side of declaring dutiable goods Number, so that it may declare dutiable goods the amount of tax to be paid according to the electronic bill that finds and parametric statistics of declaring dutiable goods, the side of declaring dutiable goods can also be identified and update Block chain node of state of the declaring dutiable goods corresponding record into block chain network, and by electronic bill and declared dutiable goods state corresponding record Block chain node into block chain network.Therefore, the electronic bill data that the bill behavior of declaring dutiable goods is related to include the report updated Tax state, the amount of tax to be paid of declaring dutiable goods, the side's of declaring dutiable goods mark be corresponding to declare dutiable goods state and time that electronic bill be used to declare dutiable goods, etc..
S204 determines group's mark corresponding with electronic bill data.
Wherein, group is collective relevant to the circulation process of electronic bill, including enterprise and institution etc..Group's mark It is the mark for unique identification in network communications as group's identity of one side of communication.Group's mark can be including number The character string of the characters such as word, letter or symbol.When a group needs to lead ticket, make out an invoice, submit an expense account or declare dutiable goods, group can lead to It crosses computer equipment and identifies the corresponding corresponding request of block chain node initiation into block chain network according to group.It is, Group can be any one in the side of making out an invoice, bill preservation side, reimbursement side and the side of declaring dutiable goods.
Specifically, as above, electronic bill data are synchronized to bill management by the block chain node for initiating common recognition certification and take Business device, therefore, electronic bill management server can be determining and electric according to the identity of the block chain node of synchronous electronic bill data The corresponding group's mark of sub- bill data, and identified according to group and store electronic bill data classification.For example, right by the side of making out an invoice The electronic bill data that the block chain node of making out an invoice answered is synchronized to electronic bill management server can be corresponding with the side's of making out an invoice mark Storage saves the corresponding bill of server by bill and saves the electronic ticket that block chain link point is synchronized to electronic bill management server It corresponding with preservation side's mark can be stored according to data, electronic bill is synchronized to by the corresponding bill reimbursement block chain node in reimbursement side The electronic bill data of management server can it is corresponding with reimbursement side's mark storage, etc..
In one embodiment, group's mark is distributed by electronic bill management server.Group need record with When the relevant data of electronic bill or processing process relevant to electronic bill, it can be taken by community device to electronic bill management Business device initiates registration request, and the identity information of the group can be carried in registration request, and identity information such as can be the group Business license information or taxpayer's information etc., after electronic bill management server receives registration request, so that it may according to note The identity information carried in volume request or the existing qualification progress with the associated taxpayer's information of the identity information to the group Audit, after the approval, so that it may generate group's mark corresponding with the group, and group mark is back to group and is set It is standby.
S206 inquires the private key that distribution cipher key pair is identified by group.
Wherein, key pair is the electricity when group sends registration request to electronic bill management server by community device Sub- bill management server is the public private key pair that group generates.Public key (Public Key) and private key in public private key pair (Private Key) is the key pair obtained by algorithm, and public key is key disclosed in cipher key pair, and private key is then non-public affairs The key opened.Electronic bill management server can generate number card according to the identity information of public key and enterprise in public private key pair The public private key pair can be also sent to community device and block chain corresponding with community device by book, electronic bill management server Node.In this way, community device can sign to data according to private key, area when sending data into block chain node Block chain node can carry out sign test to data by public key, to confirm that the data received are point after receiving the data of signature Group's transmission of the public private key pair is matched.When block chain node needs electronic bill data block is written, basis is needed Public key in the public private key pair of distribution is written again after encrypting to electronic bill data.
Specifically, the public and private key for the mark distribution of each group is stored in the database of electronic bill management server It is right, for by group mark classification storage electronic bill data, can electronic bill data have been determined group mark after, Exactly the electronic bill data are to be generated by which side and be written in data block, so that it may be inquired in local database The private key of corresponding cipher key pair is identified with the group.
S208 decrypts electronic bill data according to private key and obtains the electronic bill data of plaintext.
Specifically, when the electronic bill is generated, use is generated by the corresponding side's of the making out an invoice block chain node in the side of making out an invoice at random In the bill key encrypted to electronic bill data.The bill key can be a kind of symmetric key, with the symmetric key Electronic bill data are encrypted, after the electronic bill encrypted, the electronic bill of the bill key pair encryption can be passed through It is decrypted, obtains the electronic bill data of plaintext.
When in the side of making out an invoice, data block is written in electronic bill data by block chain node, need to mark by the group for the side of making out an invoice The public key for knowing corresponding cipher key pair encrypt and encrypt by bill key pair electronic bill data to bill key, After the electronic bill data encrypted in data block are synchronized to local by electronic bill management server, so that it may according to key The bill key of the private key decryption encryption of centering obtains bill key, then the electronic bill data by the decryption encryption of bill key Obtain the electronic bill data of plaintext.
Similarly, block chain link point is saved in bill or reimbursement side's block chain node needs electronic bill data number is written When according to block, need the public key for identifying corresponding cipher key pair by the group of the group of preservation side mark or reimbursement side to writing The electronic bill data entered could be written after being encrypted, and such electronic bill management server is getting synchronous electronic ticket When according to data, so that it may which the private key of inquiry preservation side or the corresponding cipher key pair in reimbursement side is decrypted, and obtains the electronics of plaintext Bill data.
S210, according to the electronic bill data of plaintext, the electricity that based on block chain network is carried out corresponding to group's mark Sub- bill circulation behavior is analyzed.
Wherein, electronic bill circulation behavior includes that the bill of electronic bill claims behavior, bill issue behavior, bill preservation Behavior, bill reimbursement behavior and bill are declared dutiable goods behavior etc..Electronic bill management server can be used for flowing through electronic bill Journey is managed, and according to synchronous electronic bill data, collects total data of electronic bill during circulation.
It specifically, can after the electronic bill of plaintext is stored in local database by electronic bill management server It is analyzed with the electronic bill data corresponding to each group mark, obtains each group and be based on block chain network about electricity The statistical result data of the carried out circulation behavior of sub- bill.Electricity can also be analyzed from macroscopic perspective using multiple groups as object The circulation process of sub- bill data, measures the management level of electronic bill.
As shown in figure 3, for the schematic diagram of the circulation process of electronic bill in one embodiment.Referring to Fig. 3, community device ratio As some enterprise servers initiates to claim request, electronic bill pipe about the bill of electronic bill to electronic bill management server Corresponding with the community device group of the coupon identification of available electronic bill is identified and is bound by reason server, and by bill mark Know make out an invoice side block chain node of the write-in corresponding with the binding relationship that group identifies into block chain network, realizes electronic bill Circulation from electronic bill manager to group.When group needs to issue electronic bill for user, so that it may inquiry and the group Body binding and the coupon identification of electronic bill do not issued, obtain the billing information of user's typing, according to the billing information and Coupon identification generates electronic bill, and corresponds to write-in into block chain network after the electronic bill of generation is stamped user identifier Bill saves block chain link point, just completes and issues electronic bill for user, realizes stream of the electronic bill from group to user Turn.When user needs to submit an expense account the electronic bill, user can initiate reimbursement request, ticket recipient end to ticket recipient end After the reimbursement for completing electronic bill, by the electronic bill of reimbursement and submit an expense account that relevant data are corresponding to be written into block chain network Bill corresponding to ticket recipient end is submitted an expense account in block chain node, and stream of the electronic bill from user to ticket recipient side is realized Turn.Finally, the bill side of issuing and ticket recipient side can respectively report the electronic bill of the electronic bill and reimbursement issued Tax processing, and the bill state of the electronic bill is written in block chain network in respective block chain node.
Bill management side's block chain node is block chain link corresponding with electronic bill management server in block chain network Point, in block chain network, bill management side's block chain node is that have higher authority relative to the side's of declaring dutiable goods block chain node Block chain node.It needs to be uploaded to block by bill management side's block chain node for example, the bill of electronic bill issues condition In chain network, electronic bill needs to distribute by bill management side's block chain node to the corresponding block chain node of each group etc. Deng.
In one embodiment, electronic bill management server can be sets for the authoritative institution for managing electronic bill The server set, for example, electronic bill manager can be the tax bureau, electronic bill pipe when electronic bill is electronic invoice Reason server is exactly the server for tax bureau's setting, and bill management side's block chain node is exactly to set in block chain network for tax office The block chain node set.
As shown in figure 4, in a specific embodiment, the deployment diagram of the data processing system about electronic bill.In Electronic bill is in the application scenarios of block chain electronic invoice, and electronic bill management server can be tax office server, group It can be make out an invoice enterprise or reimbursement enterprise, the bill for saving the electronic bill issued, which saves server, can be block chain Electronic invoice saves server, specifically can be wechat server.With reference to Fig. 4,4 block chains are included at least in block chain network Node forms alliance's chain, block chain node respectively corresponding with tax office server, block chain link corresponding with enterprise of making out an invoice Point and block chain electronic invoice save the corresponding block chain node of server and block chain node corresponding with reimbursement enterprise. Under normal conditions, the equipment of each role is interacted with corresponding block chain link point.
With reference to Fig. 4, on the one hand pass through reverse proxy service is provided out access interface (to tax office terminal to tax office server Internal interface, and the external interface to enterprise customer) it accesses for the equipment of each role, the identity of each role of trustship is close Key manages the characteristic of each role.On the other hand by synchronization means in real time from the block chain in corresponding block chain node The data of block chain network (or having known together to be written) are synchronously written in network module, with the block chain electronic invoice to each role Related data 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.
With reference to Fig. 4, which can further include block chain network modular system central server, save the enterprise of each enterprise Mark and the mapping of public key are isolated with tax office server, are mainly used for carrying out identification authentication that (e.g., limitation only has tax office ability Invoice is issued, constraint condition relevant to enterprise is changed).The subsequent operation for needing centralization, is uniformly put into this system Central 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.
The above-mentioned data processing method about electronic bill, block chain node in block chain network is by electronic bill number After write-in data block, the data collection that electronic bill can be related in circulation process, in this way, in electronic ticket It is got after the synchronous electronic bill data of block chain node according to management server, so that it may according to inquiring be team score Electronic bill data translation in plain text, is based on by the private key matched so as to the group according to the electronic bill data statistics of plaintext The electronic bill circulation behavior that block chain network carries out, realizes the statistics of electronic bill data, is conducive to electronic bill data Management.
In one embodiment, electronic bill data include invoicing time;According to the electronic bill data of plaintext, to group The electronic bill circulation behavior carried out based on block chain network corresponding to identifying is carried out analysis and comprises determining that possessed make out an invoice Time belongs to the electronic bill of default invoicing time section;Count the number of making out an invoice of each time discrete point in default invoicing time section Amount;According to making out an invoice, quantity generates quantity tendency data of making out an invoice accordingly;Method further include: according to quantity tendency data update of making out an invoice Group identifies corresponding electronic bill and issues condition;Electronic bill issues condition for controlling the electronic ticket based on block chain network According to issue behavior.
Specifically, electronic bill management server can be from the electronic bill number for belonging to some group and identifying being locally stored It is each in default invoicing time section to count the group for the electronic bill for belonging to default invoicing time section according to middle determining invoicing time The quantity of making out an invoice of time discrete point is generated according to the quantity of making out an invoice at various discrete time point and is preset in invoicing time section at this Quantity of making out an invoice tendency data.
In one embodiment, electronic bill management server can provide the clothes of the webpage for inquiring electronic bill data Business, user can be identified by group or the identity information of electronic bill management server authorization accesses the webpage, in electronic bill Management server gets user when group's mark that the webpage inputs is with default invoicing time section to be checked, just according to this The electronic bill data of ground storage are that the group identifies in corresponding electronic bill data, determine that invoicing time belongs to default open The electronic bill of ticket period, and the quantity of making out an invoice in each time discrete point is counted, quantity trend graph of making out an invoice is generated, and pass through Web page display is to user.
The quantity tendency schematic diagram as shown in figure 5, this week to inquire in one embodiment makes out an invoice, referring to Fig. 5, it is shown that this All quantity of making out an invoice daily, it can be clearly seen that tendency of making out an invoice.It is possible to further select different preset time periods to be looked into It askes, the preset time period of inquiry was if the same day, and the unit of corresponding time discrete point can be per hour, the preset time of inquiry The unit of Duan Ruowei this week, corresponding time discrete point can be daily, if the preset time period of inquiry 1 year, then accordingly The unit of time discrete point can be every month, etc., and the preset time period of inquiry can be with customized selection, very flexibly.
Wherein, it is that the electronic bill issue behavior carried out to group based on block chain network is carried out that electronic bill, which issues condition, The rule of control.Electronic bill issue condition include individual limit of making out an invoice, it is monthly number of making out an invoice, monthly aggregate limit of making out an invoice, monthly It is red to rush aggregate limit, monthly red rush number, invoice type, state of declaring dutiable goods etc..In one embodiment, electronic bill, which issues condition, is By electronic bill management server after having appraised and decided the qualification of group, according to corresponding regular typing, electronic bill management clothes Business device can initiate electronic bill issuing the block chain that condition is written into block chain network to bill management side's block chain node The request of node, for bill management side's block chain node after receiving the request, the electronic bill that will acquire issues condition and group The corresponding block chain node being uploaded in block chain network of body mark.
It further, can be in the quantity tendency graph discovery of making out an invoice inquired if active user is the affiliated employee of the group When the amount of making out an invoice growth trend is obvious, it can initiate to promote monthly number of making out an invoice, monthly total limit of making out an invoice to electronic bill management server The request of volume and monthly at least one of number of making out an invoice, electronic bill management server can be appraised and decided upon receiving the request The data record of making out an invoice of the group, the corresponding electronic bill of the on-demand update group issue condition.Alternatively, in electronic bill management Server can each group of programming count quantity growth ratio of making out an invoice, according to growth ratio timing, to update each group corresponding Electronic bill issues condition, and the electronic bill of update is issued the block chain node that condition is written into block chain network.
In one embodiment, the objects of statistics for quantity of making out an invoice is not limited only to individual group, can also be multiple groups, can To count total quantity of making out an invoice in default invoicing time section, and become based on the data of statistics to regional data of making out an invoice Gesture is analyzed.
In the above-described embodiments, electronic bill management server can be made out an invoice based on the electronic bill data statistics being locally stored Volume trends simultaneously show, and can neatly update the corresponding electronic bill of each group according to volume trends of making out an invoice and issue item Part.
In one embodiment, method further include: the history for obtaining group's mark is made out an invoice quantity tendency data;Comparison is current Generate make out an invoice quantity tendency data and history is made out an invoice quantity tendency data;Be currently generated make out an invoice quantity tendency data with go through History make out an invoice the difference between quantity tendency data meet malice make out an invoice behavior when, then by group's mark labeled as the malice group of making out an invoice Body, and more new attribute identifies corresponding electronic bill and issues condition.
Wherein, history is made out an invoice quantity tendency data make out an invoice quantity tendency of the group within the past period for rendering. Specifically, electronic bill management server can also by comparison group within the current preset period make out an invoice data tendency with go through The quantity tendency data of making out an invoice of the history same period, currently produce make out an invoice quantity tendency data and history make out an invoice quantity tendency data it Between difference meet malice make out an invoice behavior when, then group is identified into identified group and made out an invoice group labeled as malice.Malice is opened Ticket behavior steeply rises including quantity of making out an invoice, that is, growth ratio reaches threshold value, further includes the recipient of a large amount of electronic bills For individual, and the amount of money of making out an invoice is substantially improved etc..
In one embodiment, electronic bill management server can compare the current quantity tendency data and same of making out an invoice of group The number average value tendency of making out an invoice of the same industry of phase is compared, if current quantity tendency of making out an invoice deviates from mean value tendency, The case where then illustrating the quantity of making out an invoice of the group there are irregularities, which can also be identified and be made out an invoice group labeled as malice.
Further, electronic bill management server can also update labeled as electricity corresponding to the group of group of maliciously making out an invoice Sub- bill issues condition, to update the electronic bill issue behavior that the group is carried out based on block chain network.
In the above-described embodiments, by comparison group it is current make out an invoice quantity tendency data and the history of the same period is made out an invoice quantity Tendency data can be marked the group for behavior of maliciously making out an invoice, carry out about so as to the behavior of making out an invoice to their later periods Beam.
In one embodiment, it includes: labeled when inquiring group's mark that electronic bill, which issues the update step of condition, For maliciously make out an invoice group when, more new attribute identifies corresponding electronic bill and issues condition;The electronic bill of update is issued into condition The block chain node being uploaded in block chain network corresponding with group's mark.
Specifically, electronic bill management server can access bill management side's block chain node in block chain network, As the side communicated with bill management side's block chain node, electronic bill management server also has for verifying the public and private of identity Key pair, and corresponding bill management side block chain node is stored with the public key in the public private key pair.Electronic bill management service Device can issue condition according to the electronic bill of update and group identifies and initiates to update request to bill management side's block chain node, should It updates and requests to can be the request by the private key signature in public private key pair, in this way, bill management side's block chain node can be based on The update request received, requests the update according to the public key of storage to carry out sign test, and in block link network after being verified The common recognition of condition is issued in triggering for the electronic bill updated in network.The electronic bill of update is issued condition after passing through and write by common recognition Enter in data block.In this way, the corresponding block chain node of group receive group initiation make out an invoice request when, so that it may according to Updated electronic bill billing conditions verify the legitimacy of entrained billing information in request of making out an invoice, to constrain opening for group Ticket behavior.
Common recognition refers to the block chain node participated in many ways under preset rules, by the interaction of multiple block chain nodes to certain The process that data, behavior or process are reached an agreement.In the present embodiment, related when issuing condition to electronic bill, or have Authority acquiring receives the initiation of bill management side's block chain node to each block chain node that the electronic bill issues condition When the electronic bill of update is issued the request that condition is written in the block chain that each block chain node is constituted, which is taken Identity information with bill management side's block chain node, then, each block chain node can believe the identity received It ceases and is compared with the authentication information of bill management side's block chain node pre-stored in local, received with confirmation Identity information and storage identity information it is whether consistent, when consistent, confirm the identity information received be it is true, then respectively The corresponding authentication result of a block chain node is to pass through, and otherwise, authentication result is not pass through.
Further, can determine whether to have passed through common recognition based on the authentication result of each block chain node.Determining whether When passing through common recognition, available authentication result is corresponding first quantity of block chain node that certification passes through and authentication result is At least one of corresponding second quantity of unsanctioned block chain node is authenticated, according in the first quantity and the second quantity At least one determines identity authentication result.For example, it may be the identity authentication result when meeting at least one in the following conditions To pass through: the first quantity is greater than the second quantity, the first quantity reaches the first preset threshold, the first quantity and participates in the common recognition school The ratio of the quantity for the block chain node tested reaches the second preset threshold.First preset threshold, the corresponding tool of the second preset threshold Body numerical value can according to need setting.For example, it is assumed that the corresponding authentication result of block chain node 1 to 4 be respectively pass through, pass through, By and do not pass through, then the first quantity is 3, and the second quantity is 1, it is assumed that the condition that passes through of knowing together is that the first quantity is accounted for and participated in The ratio of the quantity of the block chain node of common recognition verification is more than or equal to 3/4, then is judged to having passed through common recognition.
In one embodiment, used common recognition algorithm is specifically to be based on consistency algorithm and Byzantium when being known together The common recognition algorithm of tolerant fail algorithm, for example, be based on BFT (Byzantine Fault Tolerance, Byzantine failure tolerance)) RAFT calculate Method.Can also be using other common recognition algorithms in certain the other embodiment of the present invention, this is not restricted for the embodiment of the present invention.
Fig. 6 shows the schematic illustration for algorithm of knowing together in a specific embodiment.With reference to Fig. 6, client is being initiated After common recognition request, common recognition request is sent to the block chain node in leader's state, i.e. host node A.Wherein, in leader The block chain node of state is elected jointly by each block chain node in block chain network and is obtained.Go successively to addition entity rank Common recognition is requested corresponding common recognition content (or the intermediate data obtained after handling common recognition content) by host node A by section It broadcasts into block chain network other and is not in the block chain node of leader's state, including follow node B, follow node C, follow Node D etc..Additional response phase is gone successively to, the common recognition content that node will receive is followed by each and is broadcasted to other each areas Block chain node, and when the common recognition content that other block chain nodes for receiving preset quantity (for example, 2f+1) are broadcasted is consistent, It is each to follow node again and will confirm that result feeds back to host node A into confirmation stage.Host node A is receiving preset quantity When other block chain node feedback acknowledgments pass through, then determine to complete the result that common recognition is completed to client feedback common recognition.Wherein, 3f + 1≤N, N are the quantity of block chain node in block chain network, and f is the quantity of block chain node of doing evil in block chain network.
In one embodiment, electronic bill data include bill state;According to the electronic bill data of plaintext, to group It includes: inquiry within polling cycle that the corresponding electronic bill circulation behavior carried out based on block chain network of mark, which carries out analysis, The bill state of electronic bill;Bill state includes not making out an invoice, having made out an invoice and at least one of do not submitted an expense account and submitted an expense account;Count ticket According to the quantity of the identical electronic bill of state;Determine that group identifies corresponding bill state distribution according to the quantity of statistics;Method Further include: corresponding electronic bill, which is identified, according to bill state distributed update group claims condition;The electronic bill of update claims Condition is used to control the electronic bill carried out based on block chain network and claims behavior.
Wherein, electronic bill claims condition, is to limit electronic bill application for issuing the control period by electronic bill Constraint condition.When needing to claim electronic bill, group can initiate electronic bill application to electronic bill management server to be asked It asks, electronic bill management server claims condition distribution electronic bill according to the corresponding electronic bill of the group and identifies, and will divide The electronic bill mark matched identifies to be associated with group is uploaded to block chain node, and the electronic bill mark of distribution just belongs to the group , when the group needs to make out an invoice for consumer, the electronic ticket for carrying the side of making out an invoice and identifying just is sent to corresponding block chain node Request is received according to mark, block chain node is just inquired associated with the side of making out an invoice mark and is in the electronic ticket of unused state According to mark, and feedback query to electronic bill identify to the community device for initiating request, community device can be according to electronics Coupon identification and billing information generate electronic bill.Electronic bill identifies the invoice number that such as can be blank, for unique Identify the invoice.
Specifically, electronic bill management server can inquire generated electronics of the group within preset polling cycle The current bill state of bill, and the quantity of the electronic bill in identical bill state is counted, it is obtained according to the quantity of statistics To the corresponding bill state distribution of the group.Based on the bill state be distributed, can specify in the electronic bill of the group do not make out an invoice, It has made out an invoice the accounting of the electronic bill do not submitted an expense account and submitted an expense account.
As shown in fig. 7, for the bill state distribution schematic diagram counted in one embodiment.Referring to Fig. 7, it is shown that do not open The accounting of ticket, the electronic bill do not submitted an expense account and submitted an expense account of having made out an invoice can specify the bill state distribution of the group.Belong to this The staff of group can also identify the bill that one's own electronic bill is inquired to e-management server according to group State distribution can be distributed the circulation process of guidance electronic bill based on bill state.
In one embodiment, the objects of statistics of electronic bill state can be the electronic bill of multiple groups, electric in this way Sub- bill management server can analyze the electronic bill state of a large amount of groups in some area, with the electricity for ensuring to be received Sub- coupon identification successfully outputs electronic bill after capable of being used, and is submitted an expense account.
Further, electronic bill management server can identify corresponding according to the bill state distributed update group of group Electronic bill claims condition.For example, having received a large amount of electronic bill according to determining bill state distribution discovery group, and When in the presence of the electronic bill that do not issue largely, just updates electronic bill and claim condition, control the group and get new electronic bill Mark.
In the above-described embodiments, electronic bill management server can pass through the ticket of the bill statistic group of electronic bill It is distributed according to state, promotes group to output electronic bill after having claimed electronic bill mark, and promote the reimbursement of electronic bill, with Avoid the waste of resource.
In one embodiment, corresponding electronic bill is identified according to bill state distributed update group claim condition packet Include: when inquiring, bill state is the accounting that do not make out an invoice and bill state is that the difference between the accounting that do not submit an expense account of having made out an invoice meets When malice claims behavior, more new attribute identifies corresponding electronic bill and claims condition;By the electronic bill of update claim condition and The corresponding block chain node being uploaded in block chain network of group's mark.
Specifically, as previously mentioned, electronic bill management server can access the bill pipe in block chain network Reason side's block chain node, as the side communicated with bill management side's block chain node, electronic bill management server is also useful In the public private key pair of verifying identity, and corresponding bill management side block chain node is stored with the public key in the public private key pair. Electronic bill management server can meet evil in the difference between the accounting that do not make out an invoice and the accounting that do not submit an expense account of having made out an invoice of having made out an invoice When meaning application behavior, just updates electronic bill and claim condition with the application period of selected group or application quantity etc., electronic ticket Condition can be claimed according to the electronic bill of update according to management server and group identifies to bill management side's block chain node and initiates Request is updated, update request can be the request by the private key signature in public private key pair, in this way, bill management side's block chain Node can request the update according to the public key of storage to carry out sign test, and after being verified based on the update request received Triggering claims the common recognition of condition for the electronic bill updated in block chain network.It knows together the electronic bill of update after passing through Application condition is uploaded to the block chain node in block chain network.
In this way, when claiming electronic bill mark, electronic bill management server is needed according to updated for group later It is that team score matches electronics coupon identification that electronic bill, which claims condition, to realize that control claims the pact of electronic bill mark to group Beam.
As shown in figure 8, in one embodiment, electronic bill data include state of declaring dutiable goods, and method further includes the determining tax The step of administering grading, specifically includes:
S802 inquires government tax fillings corresponding with group's mark;The amount of tax to be paid of paying taxes in government tax fillings is according to the state of declaring dutiable goods Duty paid electronic bill generates.
Specifically, group can declare dutiable goods request according to the electronic bill of generation and the generation of received electronic bill, and to group The initiation of corresponding block chain node is declared dutiable goods request, such block chain node can be based on it is corresponding with group's mark declare dutiable goods parameter and with The group identifies the calculating of corresponding electronic bill and declares dutiable goods the amount of tax to be paid, group can according to block chain node feeding back declare dutiable goods the amount of tax to be paid into Row is paid taxes, block chain node can also will with pay taxes related government tax fillings with group mark is corresponding is uploaded to block chain network In block chain node.
S804 identifies taxpayer's quantity in corresponding government tax fillings statistics predetermined period according to each group and increases ratio Example, revenue growth ratio and the amount of tax to be paid of paying taxes distribution.
Wherein, electronic bill management server can count this year according to the corresponding government tax fillings of each group being locally stored Taxpayer's quantity growth ratio compared to last year is spent, according to total pay taxes amount of tax to be paid statistics tax revenue growth ratio and each group The amount of tax to be paid of paying taxes paid counts the distribution etc. for the amount of tax to be paid of paying taxes.For example, whether the median for the amount of tax to be paid of paying taxes in amount of tax to be paid distribution of paying taxes It was promoted, etc. compared to last year.
S806, it is true according to taxpayer's quantity growth ratio, revenue growth ratio, the amount of tax to be paid of paying taxes distribution and group's tax score The tax determined in predetermined period administers grading.
Wherein, group's tax score is the numerical value for assessing group about the treatment process of electronic bill.Group's tax Score is obtained according to the element factor calculation needed to refer to.When electronic bill involved by Group processes, all treatment processes It will be recorded, electronic bill management server can be according to the electronic bill data supervision group of group about electronic bill Application behavior, issue behavior, reimbursement behavior and behavior of declaring dutiable goods etc..
In one embodiment, the determination step of group's tax score includes: statistics group's mark pair in predetermined period The frequency of making out an invoice answered, accounting of having made out an invoice, be marked as malice make out an invoice group number and the amount of tax to be paid of always paying taxes;According to corresponding weight Coefficient to the frequency of making out an invoice of statistics, accounting of having made out an invoice, be marked as malice make out an invoice group number and always the amount of tax to be paid of paying taxes adds Power summation is calculated group and identifies corresponding group's tax score.
Specifically, electronic bill management server can according to taxpayer's quantity growth ratio of statistics, revenue growth ratio, The amount of tax to be paid of paying taxes distribution and group's tax score are graded to determine that the tax is administered, so that it is horizontal to quantify tax improvement.Tax improvement is commented Grade can be according to grade, for example can be divided into grade A, grade B and grade C.Electronic bill management server can be according to some The electronic bill data of all entities in area count taxpayer's quantity growth ratio in this area, revenue growth ratio, receive The distribution of the tax amount of tax to be paid and group's tax score, so that it is determined that the tax of this area administers grading, the tax of quantization this area's tax office is controlled Reason is horizontal.
In the above-described embodiments, quantify the level of tax improvement by electronic bill data, can visually see which It is good that a little links are done, which link needs to reinforce, and can reflect economic development situation from data plane.
In one embodiment, it is applied to electronic bill management server about the data processing method of electronic bill;Area Block chain node in block chain network includes the side's of making out an invoice block chain node, bill preservation block chain link point, reimbursement side's block chain link Point and bill management side's block chain node corresponding with electronic bill management server;The side's of making out an invoice block chain node is for will be with Data block is written in the relevant electronic bill data of bill issue behavior;Bill preservation block chain link point is used for will be with consumer's phase Data block is written in the data of pass;Reimbursement expense block chain node is for writing electronic bill data relevant to bill reimbursement behavior Enter data block;Bill management side's block chain node is used to electronic bill data being synchronized to electronic bill management server.
In one embodiment, as shown in figure 9, about electronic bill data processing method specifically includes the following steps:
S902, after data block is written in the electronic bill data encrypted by the block chain node in block chain network, Acquisition is synchronized to local electronic bill data.
S904 determines group's mark corresponding with electronic bill data.
S906 inquires the private key that distribution cipher key pair is identified by group.
S908 decrypts electronic bill data according to private key and obtains the electronic bill data of plaintext.
S910 determines that possessed invoicing time belongs to the electronic bill of default invoicing time section.
S912 counts the quantity of making out an invoice of each time discrete point in default invoicing time section.
S914, according to making out an invoice, quantity generates quantity tendency data of making out an invoice accordingly.
S916 identifies corresponding electronic bill according to quantity tendency data more new attribute of making out an invoice and issues condition.
S918, the history for obtaining group's mark are made out an invoice quantity tendency data.
S920, compare be currently generated make out an invoice quantity tendency data and history is made out an invoice quantity tendency data.
S922, be currently generated make out an invoice quantity tendency data and the history difference between quantity tendency data of making out an invoice meets Malice make out an invoice behavior when, then group's mark is made out an invoice group labeled as malice, and more new attribute identifies corresponding electronic bill and opens Tool condition.
The electronic bill of update is issued condition and the corresponding block chain being uploaded in block chain network of group's mark by S924 Node.
S926 inquires the bill state of the electronic bill within polling cycle.
S928, the quantity of the identical electronic bill of statistics bill state.
S930 determines that group identifies corresponding bill state and is distributed according to the quantity of statistics.
S932 is the accounting that do not make out an invoice and bill state between the accounting that do not submit an expense account of having made out an invoice when inquiring bill state Difference when meeting malice and claiming behavior, more new attribute identifies corresponding electronic bill and claims condition.
The electronic bill of update is claimed condition and the corresponding block chain being uploaded in block chain network of group's mark by S934 Node.
S936, statistics group in predetermined period identify the corresponding frequency of making out an invoice, accounting of having made out an invoice, are marked as maliciously opening The number of ticket group and the amount of tax to be paid of always paying taxes.
S938, according to corresponding weight coefficient to the frequency of making out an invoice of statistics, accounting of having made out an invoice, be marked as malice the group of making out an invoice The number of body and the amount of tax to be paid of always paying taxes are weighted summation, and group is calculated and identifies corresponding group's tax score.
S940 inquires government tax fillings corresponding with group's mark.
S942 identifies taxpayer's quantity in corresponding government tax fillings statistics predetermined period according to each group and increases ratio Example, revenue growth ratio and the amount of tax to be paid of paying taxes distribution.
S944, it is true according to taxpayer's quantity growth ratio, revenue growth ratio, the amount of tax to be paid of paying taxes distribution and group's tax score The tax determined in predetermined period administers grading.
The above-mentioned data processing method about electronic bill, block chain node in block chain network is by electronic bill number After write-in data block, the data collection that electronic bill can be related in circulation process, in this way, in electronic ticket It is got after the synchronous electronic bill data of block chain node according to management server, so that it may according to inquiring be team score Electronic bill data translation in plain text, is based on by the private key matched so as to the group according to the electronic bill data statistics of plaintext The electronic bill circulation behavior that block chain network carries out, realizes the statistics of electronic bill data, is conducive to electronic bill data Management.
Fig. 9 is the flow diagram in one embodiment about the data processing method of electronic bill.It should be understood that Although each step in the flow chart of Fig. 9 is successively shown according to the instruction of arrow, these steps be not it is inevitable according to The sequence of arrow instruction successively executes.Unless expressly stating otherwise herein, there is no stringent sequences for the execution of these steps Limitation, these steps can execute in other order.Moreover, at least part step in Fig. 9 may include multiple sub-steps Rapid perhaps multiple these sub-steps of stage or stage are not necessarily to execute completion in synchronization, but can be in difference At the time of execute, the execution in these sub-steps or stage sequence, which is also not necessarily, successively to be carried out, but can be with other steps Either the sub-step of other steps or at least part in stage execute in turn or alternately.
In one embodiment, as shown in Figure 10, a kind of data processing equipment 1000 about electronic bill is provided, it should Device includes electronic bill data simultaneous module 1002, determining module 1004, enquiry module 1006, deciphering module 1008 and analysis Module 1010, in which:
Electronic bill data simultaneous module 1002, for working as the block chain node in block chain network for electronic bill data After data block is written, acquisition is synchronized to local electronic bill data;Electronic bill data are encrypted data.
Determining module 1004, for determining group's mark corresponding with electronic bill data.
Enquiry module 1006, for inquiring the private key for identifying distribution cipher key pair by group.
Deciphering module 1008 obtains the electronic bill data of plaintext for decrypting electronic bill data according to private key.
Analysis module 1010, it is corresponding to group's mark based on block chain for the electronic bill data according to plaintext The electronic bill circulation behavior that network carries out is analyzed.
In one embodiment, electronic bill data include invoicing time;Analysis module is opened possessed by being also used to determine The ticket time belongs to the electronic bill of default invoicing time section;Count the number of making out an invoice of each time discrete point in default invoicing time section Amount;According to making out an invoice, quantity generates quantity tendency data of making out an invoice accordingly;Device further includes that electronic bill issues condition update module, Electronic bill issues condition update module for opening according to the corresponding electronic bill of quantity tendency data more new attribute mark of making out an invoice Tool condition;Electronic bill issues condition for controlling the electronic bill issue behavior based on block chain network.
It in one embodiment, further include group's mark module of maliciously making out an invoice about the data processing equipment of electronic bill, Malice group's mark module of making out an invoice is made out an invoice quantity tendency data for obtaining the history of group's mark;What comparison was currently generated makes out an invoice Quantity tendency data and history are made out an invoice quantity tendency data;Be currently generated make out an invoice quantity tendency data and history is made out an invoice quantity Difference between tendency data meet malice make out an invoice behavior when, then group's mark is made out an invoice group labeled as malice, and update group Body identifies corresponding electronic bill and issues condition.
In one embodiment, electronic bill issue condition update module be also used to when inquire group mark be marked as Malice make out an invoice group when, more new attribute identifies corresponding electronic bill and issues condition;By the electronic bill of update issue condition and The corresponding block chain node being uploaded in block chain network of group's mark.
In one embodiment, electronic bill data include bill state;Analysis module was also used to inquire in polling cycle The bill state of interior electronic bill;Bill state includes not making out an invoice, having made out an invoice and at least one of do not submitted an expense account and submitted an expense account;Statistics The quantity of the identical electronic bill of bill state;Determine that group identifies corresponding bill state distribution according to the quantity of statistics;Dress Setting further includes that electronic bill claims condition update module, and electronic bill claims condition update module and is used to be distributed according to bill state More new attribute identifies corresponding electronic bill and claims condition;The electronic bill of update claims condition and is based on block link network for controlling The electronic bill that network carries out claims behavior.
In one embodiment, electronic bill claims condition update module and is also used to when inquiring bill state be not make out an invoice Accounting and bill state when being that the difference made out an invoice between the accounting that do not submit an expense account meets malice and claims behavior, more new attribute mark Corresponding electronic bill claims condition;The electronic bill of update is claimed into condition and group's mark correspondence is uploaded to block chain network In block chain node.
In one embodiment, electronic bill data include state of declaring dutiable goods, and the data processing equipment about electronic bill is also Rank determination module is administered including the tax, the tax administers rank determination module for inquiring note of paying taxes corresponding with group's mark Record;In government tax fillings pay taxes the amount of tax to be paid according to declare dutiable goods state be duty paid electronic bill generate;According to each group mark pair Taxpayer's quantity growth ratio, revenue growth ratio and the amount of tax to be paid of the paying taxes distribution in government tax fillings statistics predetermined period answered; It is determined in predetermined period according to taxpayer's quantity growth ratio, revenue growth ratio, the amount of tax to be paid of paying taxes distribution and group's tax score The tax administer grading.
It in one embodiment, further include group's tax score determining module about the data processing equipment of electronic bill, Group's tax score determining module be also used to count the group in predetermined period identify the corresponding frequency of making out an invoice, accounting of having made out an invoice, Be marked as malice make out an invoice group number and always pay taxes the amount of tax to be paid;According to corresponding weight coefficient to the frequency of making out an invoice of statistics, Make out an invoice accounting, be marked as that malice makes out an invoice the number of group and the amount of tax to be paid of always paying taxes is weighted summation, group is calculated and identifies Corresponding group's tax score.
In one embodiment, the block chain node in block chain network includes the side's of making out an invoice block chain node, bill preservation Block chain node, reimbursement side's block chain node and bill management side's block chain link corresponding with electronic bill management server Point;Electronic bill data simultaneous module is used to obtain the synchronous electronics relevant to bill issue behavior of the side's of making out an invoice block chain node Bill data;It is also used to obtain bill and saves the synchronous data relevant to consumer of block chain link point;It is also used to obtain reimbursement It is synchronous to electronic bill data relevant with bill reimbursement behavior to take block chain node;It is also used to obtain bill management side's block The synchronous data relevant to group's mark of chain node.
The above-mentioned data processing equipment about electronic bill, block chain node in block chain network is by electronic bill number After write-in data block, the data collection that electronic bill can be related in circulation process, in this way, in electronic ticket It is got after the synchronous electronic bill data of block chain node according to management server, so that it may according to inquiring be team score Electronic bill data translation in plain text, is based on by the private key matched so as to the group according to the electronic bill data statistics of plaintext The electronic bill circulation behavior that block chain network carries out, realizes the statistics of electronic bill data, is conducive to electronic bill data Management.
Figure 11 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be figure Electronic bill management server 110 in 1.As shown in figure 11, it includes passing through to be which, which includes the computer equipment, Processor, memory and the network interface of bus of uniting connection.Wherein, memory includes non-volatile memory medium and interior storage Device.The non-volatile memory medium of the computer equipment is stored with operating system, can also be stored with computer program, the computer When program is executed by processor, processor may make to realize the data processing method about electronic bill.In the built-in storage Computer program can be stored, when which is executed by processor, processor may make to execute about electronic bill Data processing method.
It will be understood by those skilled in the art that structure shown in Figure 11, only part relevant to application scheme The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, the data processing equipment 1000 provided by the present application about electronic bill can be implemented as one The form of kind computer program, computer program can be run in computer equipment as shown in figure 11.Computer equipment is deposited Each program module that the composition data processing equipment about electronic bill can be stored in reservoir, for example, electricity shown in Fig. 10 Sub- bill data synchronization module 1002, determining module 1004, enquiry module 1006, deciphering module 1008 and analysis module 1010. The computer program that each program module is constituted makes processor execute each embodiment of the application described in this specification About the step in the data processing method of electronic bill.
For example, computer equipment shown in Figure 11 can be filled by the data processing as shown in Figure 10 about electronic bill The electronic bill data simultaneous module 1002 set in 1000 executes step S202.Computer equipment can be held by determining module 1004 Row step S204.Computer equipment can execute step S206 by enquiry module 1006.Computer equipment can pass through deciphering module 1008 execute step S208.Computer equipment can execute step S210 by analysis module 1010.
In one embodiment, a kind of computer equipment, including memory and processor are provided, memory is stored with meter Calculation machine program, when computer program is executed by processor, so that processor executes following steps: the block in block chain network After data block is written in electronic bill data by chain node, acquisition is synchronized to local electronic bill data;Electronic bill data For encrypted data;Determine group's mark corresponding with electronic bill data;Inquiry identifies distribution cipher key pair by group Private key;Electronic bill data, which are decrypted, according to private key obtains the electronic bill data of plaintext;It is right according to the electronic bill data of plaintext The corresponding electronic bill circulation behavior carried out based on block chain network of group's mark is analyzed.
In one embodiment, electronic bill data include invoicing time;Computer program is executed by processor according to bright The electronic bill data of text, the electronic bill circulation behavior that based on block chain network is carried out corresponding to group's mark are divided When the step of analysis, so that processing implement body executes following steps: invoicing time possessed by determining belongs to default invoicing time section Electronic bill;Count the quantity of making out an invoice of each time discrete point in default invoicing time section;It is generated according to quantity of making out an invoice corresponding Quantity tendency data of making out an invoice;When computer program is executed by processor, so that processor also executes following steps: foundation is made out an invoice Quantity tendency data more new attribute identifies corresponding electronic bill and issues condition;Electronic bill issue condition for control be based on area The electronic bill issue behavior of block chain network.
In one embodiment, when computer program is executed by processor, so that processor also executes following steps: obtaining The history of group's mark is made out an invoice quantity tendency data;Make out an invoice quantity tendency data and the history being currently generated quantity of making out an invoice is compared to walk Gesture data;Be currently generated make out an invoice quantity tendency data and difference that history is made out an invoice between quantity tendency data meets malice and opens When ticket behavior, then by group's mark labeled as group of maliciously making out an invoice, and more new attribute identifies corresponding electronic bill and issues condition.
In one embodiment, when computer program is executed by processor, so that processor also executes following steps: when looking into Ask group identify be marked as malice make out an invoice group when, more new attribute identifies corresponding electronic bill and issues condition;It will update Electronic bill issue condition and the corresponding block chain node being uploaded in block chain network of group's mark.
In one embodiment, electronic bill data include bill state;Computer program is executed by processor according to bright The electronic bill data of text, the electronic bill circulation behavior that based on block chain network is carried out corresponding to group's mark are divided When the step of analysis, so that processor also executes following steps: the bill state of inquiry electronic bill within polling cycle;Bill shape State includes not making out an invoice, having made out an invoice and at least one of do not submitted an expense account and submitted an expense account;Count the number of the identical electronic bill of bill state Amount;Determine that group identifies corresponding bill state distribution according to the quantity of statistics;When computer program is executed by processor, so that Processor also executes following steps: identifying corresponding electronic bill according to bill state distributed update group and claims condition;It updates Electronic bill claim condition be used for control based on block chain network carry out electronic bill application behavior.
In one embodiment, computer program is executed by processor corresponds to according to bill state distributed update group mark Electronic bill claim condition step when so that processor also executes following steps: when inquire bill state be do not make out an invoice Accounting and bill state when being that the difference made out an invoice between the accounting that do not submit an expense account meets malice and claims behavior, more new attribute mark Corresponding electronic bill claims condition;The electronic bill of update is claimed into condition and group's mark correspondence is uploaded to block chain network In block chain node.
In one embodiment, electronic bill data include state of declaring dutiable goods, when computer program is executed by processor, so that Processor also executes following steps: inquiry government tax fillings corresponding with group's mark;The amount of tax to be paid of paying taxes in government tax fillings is according to report Tax state is the generation of duty paid electronic bill;Receiving in corresponding government tax fillings statistics predetermined period is identified according to each group Tax people's quantity growth ratio, revenue growth ratio and the amount of tax to be paid of paying taxes distribution;According to taxpayer's quantity growth ratio, revenue growth Ratio, the amount of tax to be paid of paying taxes distribution and group's tax score determine that the tax in predetermined period administers grading.
In one embodiment, when computer program is executed by processor, so that processor also executes following steps: statistics Group identifies the corresponding frequency of making out an invoice, accounting of having made out an invoice, is marked as malice and makes out an invoice the number of group and total in predetermined period It pays taxes the amount of tax to be paid;According to corresponding weight coefficient to the frequency of making out an invoice of statistics, accounting of having made out an invoice, be marked as malice and make out an invoice group Number and the amount of tax to be paid of always paying taxes are weighted summation, and group is calculated and identifies corresponding group's tax score.
In one embodiment, method is applied to electronic bill management server;Block chain node in block chain network Block chain link point, reimbursement side's block chain node are saved including the side's of making out an invoice block chain node, bill and are taken with electronic bill management The corresponding bill management side's block chain node of business device.
Data block is written in electronic bill data by above-mentioned computer equipment, the block chain node in block chain network Afterwards, the data collection that electronic bill can be related in circulation process, in this way, being obtained in electronic bill management server It gets after the synchronous electronic bill data of block chain node, so that it may according to inquiring be the private key matched of team score by electronics Bill data is translated into plain text, so as to be carried out according to the electronic bill data statistics of the plaintext group based on block chain network Electronic bill circulate behavior, realize electronic bill data statistics, be conducive to the management to electronic bill data.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated When machine program is executed by processor, so that processor executes following steps: when the block chain node in block chain network is by electronics After data block is written in bill data, acquisition is synchronized to local electronic bill data;Electronic bill data are encrypted data; Determine group's mark corresponding with electronic bill data;Inquiry is identified the private key of distribution cipher key pair by group;According to private key Decryption electronic bill data obtain the electronic bill data of plaintext;It is right to mark institute, group according to the electronic bill data of plaintext The electronic bill circulation behavior carried out based on block chain network answered is analyzed.
In one embodiment, electronic bill data include invoicing time;Computer program is executed by processor according to bright The electronic bill data of text, the electronic bill circulation behavior that based on block chain network is carried out corresponding to group's mark are divided When the step of analysis, so that processing implement body executes following steps: invoicing time possessed by determining belongs to default invoicing time section Electronic bill;Count the quantity of making out an invoice of each time discrete point in default invoicing time section;It is generated according to quantity of making out an invoice corresponding Quantity tendency data of making out an invoice;When computer program is executed by processor, so that processor also executes following steps: foundation is made out an invoice Quantity tendency data more new attribute identifies corresponding electronic bill and issues condition;Electronic bill issue condition for control be based on area The electronic bill issue behavior of block chain network.
In one embodiment, when computer program is executed by processor, so that processor also executes following steps: obtaining The history of group's mark is made out an invoice quantity tendency data;Make out an invoice quantity tendency data and the history being currently generated quantity of making out an invoice is compared to walk Gesture data;Be currently generated make out an invoice quantity tendency data and difference that history is made out an invoice between quantity tendency data meets malice and opens When ticket behavior, then by group's mark labeled as group of maliciously making out an invoice, and more new attribute identifies corresponding electronic bill and issues condition.
In one embodiment, when computer program is executed by processor, so that processor also executes following steps: when looking into Ask group identify be marked as malice make out an invoice group when, more new attribute identifies corresponding electronic bill and issues condition;It will update Electronic bill issue condition and the corresponding block chain node being uploaded in block chain network of group's mark.
In one embodiment, electronic bill data include bill state;Computer program is executed by processor according to bright The electronic bill data of text, the electronic bill circulation behavior that based on block chain network is carried out corresponding to group's mark are divided When the step of analysis, so that processor also executes following steps: the bill state of inquiry electronic bill within polling cycle;Bill shape State includes not making out an invoice, having made out an invoice and at least one of do not submitted an expense account and submitted an expense account;Count the number of the identical electronic bill of bill state Amount;Determine that group identifies corresponding bill state distribution according to the quantity of statistics;When computer program is executed by processor, so that Processor also executes following steps: identifying corresponding electronic bill according to bill state distributed update group and claims condition;It updates Electronic bill claim condition be used for control based on block chain network carry out electronic bill application behavior.
In one embodiment, computer program is executed by processor corresponds to according to bill state distributed update group mark Electronic bill claim condition step when so that processor also executes following steps: when inquire bill state be do not make out an invoice Accounting and bill state when being that the difference made out an invoice between the accounting that do not submit an expense account meets malice and claims behavior, more new attribute mark Corresponding electronic bill claims condition;The electronic bill of update is claimed into condition and group's mark correspondence is uploaded to block chain network In block chain node.
In one embodiment, electronic bill data include state of declaring dutiable goods, when computer program is executed by processor, so that Processor also executes following steps: inquiry government tax fillings corresponding with group's mark;The amount of tax to be paid of paying taxes in government tax fillings is according to report Tax state is the generation of duty paid electronic bill;Receiving in corresponding government tax fillings statistics predetermined period is identified according to each group Tax people's quantity growth ratio, revenue growth ratio and the amount of tax to be paid of paying taxes distribution;According to taxpayer's quantity growth ratio, revenue growth Ratio, the amount of tax to be paid of paying taxes distribution and group's tax score determine that the tax in predetermined period administers grading.
In one embodiment, when computer program is executed by processor, so that processor also executes following steps: statistics Group identifies the corresponding frequency of making out an invoice, accounting of having made out an invoice, is marked as malice and makes out an invoice the number of group and total in predetermined period It pays taxes the amount of tax to be paid;According to corresponding weight coefficient to the frequency of making out an invoice of statistics, accounting of having made out an invoice, be marked as malice and make out an invoice group Number and the amount of tax to be paid of always paying taxes are weighted summation, and group is calculated and identifies corresponding group's tax score.
In one embodiment, method is applied to electronic bill management server;Block chain node in block chain network Block chain link point, reimbursement side's block chain node are saved including the side's of making out an invoice block chain node, bill and are taken with electronic bill management The corresponding bill management side's block chain node of business device.
Number is written in electronic bill data by above-mentioned computer readable storage medium, the block chain node in block chain network After block, the data collection that electronic bill can be related in circulation process, in this way, being taken in electronic bill management Business device is got after the synchronous electronic bill data of block chain node, so that it may according to inquiring be private key that team score is matched By electronic bill data translation at plaintext, so as to be based on block link network according to the electronic bill data statistics of the plaintext group The electronic bill circulation behavior that network carries out, realizes the statistics of electronic bill data, is conducive to the management to electronic bill data.
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.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the guarantor of the application Protect range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (15)

1. a kind of data processing method about electronic bill, by the bill management side's block chain link accessed in block chain network The electronic bill management server of point executes, comprising:
After data block is written in electronic bill data by the block chain node in block chain network, acquisition is synchronized to local institute State electronic bill data;The electronic bill data are encrypted data;
Group's mark corresponding with the electronic bill data is determined according to the block chain node for synchronizing the electronic bill data;
Inquiry is identified the private key of distribution cipher key pair by the group;
The electronic bill data, which are decrypted, according to the private key obtains the electronic bill data of plaintext;
Obtain the electronic bill data analysis request of the carrying group's mark issued by webpage;
The group is identified according to the electronic bill data of plaintext in response to the electronic bill data analysis request The corresponding electronic bill circulation behavior carried out based on the block chain network is analyzed, and analysis result is obtained;
Analysis result is back to the webpage, so as to analyze result described in the web page display.
2. the method according to claim 1, wherein the electronic bill data include invoicing time;Described According to the electronic bill data of plaintext, the electronic ticket that based on the block chain network is carried out corresponding to group mark It is analyzed according to circulation behavior, obtaining analysis result includes:
Invoicing time possessed by determining belongs to the electronic bill of default invoicing time section;
Count the quantity of making out an invoice of each time discrete point in the default invoicing time section;
Quantity tendency data of making out an invoice accordingly are generated according to the quantity of making out an invoice;
The method also includes:
Quantity tendency data of making out an invoice according to described in update the corresponding electronic bill of group's mark and issue condition;The electronic ticket According to condition of issuing for controlling the electronic bill issue behavior based on the block chain network.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
The history for obtaining group mark is made out an invoice quantity tendency data;
Compare be currently generated make out an invoice quantity tendency data and the history is made out an invoice quantity tendency data;
Be currently generated make out an invoice quantity tendency data and the history difference between quantity tendency data of making out an invoice meets malice Make out an invoice behavior when, then
By group mark labeled as group of maliciously making out an invoice, and updates the corresponding electronic bill of group's mark and issue item Part.
4. according to the method described in claim 2, it is characterized in that, the update step that the electronic bill issues condition includes:
When inquire group mark be marked as malice make out an invoice group when, update the group and identify corresponding electronic bill Issue condition;
The electronic bill of update is issued into condition and the corresponding block chain being uploaded in the block chain network of group mark Node.
5. the method according to claim 1, wherein the electronic bill data include bill state;Described According to the electronic bill data of plaintext, the electronic ticket that based on the block chain network is carried out corresponding to group mark It is analyzed according to circulation behavior, obtaining analysis result includes:
Inquire the bill state of the electronic bill within polling cycle;The bill state includes not making out an invoice, having made out an invoice and do not reported At least one of sell and submitted an expense account;
Count the quantity of the identical electronic bill of bill state;
Determine that the group identifies corresponding bill state distribution according to the quantity of statistics;
The method also includes:
Corresponding electronic bill, which is identified, according to group described in the bill state distributed update claims condition;The electronic bill of update Application condition is used to control the electronic bill carried out based on the block chain network and claims behavior.
6. according to the method described in claim 5, it is characterized in that, described according to group described in the bill state distributed update Identifying corresponding electronic bill application condition includes:
When inquiring, bill state is the accounting that do not make out an invoice and bill state is that the difference made out an invoice between the accounting that do not submit an expense account accords with When closing malice application behavior, updates the group and identify corresponding electronic bill application condition;
The electronic bill of update is claimed into condition and the corresponding block chain being uploaded in the block chain network of group mark Node.
7. the method according to claim 1, wherein the electronic bill data include state of declaring dutiable goods, the side Method further include:
Inquire government tax fillings corresponding with group mark;State of declaring dutiable goods described in amount of tax to be paid foundation of paying taxes in the government tax fillings For the generation of duty paid electronic bill;
Taxpayer's quantity growth ratio in corresponding government tax fillings statistics predetermined period, revenue growth are identified according to each group Ratio and the amount of tax to be paid of paying taxes distribution;
According to taxpayer's quantity growth ratio, the revenue growth ratio, amount of tax to be paid distribution and the group's tax point of paying taxes Number determines that the tax in the predetermined period administers grading.
8. the method according to the description of claim 7 is characterized in that the determination step of group's tax score includes:
Statistics group in the predetermined period identifies the corresponding frequency of making out an invoice, accounting of having made out an invoice, is marked as maliciously opening The number of ticket group and the amount of tax to be paid of always paying taxes;
According to corresponding weight coefficient to the frequency of making out an invoice of statistics, accounting of having made out an invoice, be marked as malice and make out an invoice the number of group It is weighted summation with the amount of tax to be paid of always paying taxes, the group is calculated and identifies corresponding group's tax score.
9. method according to any one of claims 1 to 8, which is characterized in that the block chain link in the block chain network Point include the side's of making out an invoice block chain node, bill save block chain link point, reimbursement side's block chain node and with the electronic bill The corresponding bill management side's block chain node of management server;
The side's of making out an invoice block chain node is for being written data block for electronic bill data relevant to bill issue behavior;Institute It states bill and saves block chain link point for data block to be written in data relevant to consumer;The reimbursement takes block chain node For data block to be written in electronic bill data relevant to bill reimbursement behavior;Bill management side's block chain node is used In the electronic bill data are synchronized to the electronic bill management server.
10. a kind of data processing equipment about electronic bill, which is characterized in that described device includes:
Electronic bill data simultaneous module, for data to be written in electronic bill data when the block chain node in block chain network After block, acquisition is synchronized to the local electronic bill data;The electronic bill data are encrypted data;
Determining module, for according to the determination of block chain node and the electronic bill data pair for synchronizing the electronic bill data The group's mark answered;
Enquiry module, for inquiring the private key for identifying distribution cipher key pair by the group;
Deciphering module obtains the electronic bill data of plaintext for decrypting the electronic bill data according to the private key;
Analysis request obtains module, for obtaining the electronic bill data analysis of the carrying group's mark issued by webpage Request;
Analysis module is used in response to the electronic bill data analysis request, right according to the electronic bill data of plaintext The corresponding electronic bill circulation behavior carried out based on the block chain network of group's mark is analyzed, and is analyzed As a result;Analysis result is back to the webpage, so as to analyze result described in the web page display.
11. device according to claim 10, which is characterized in that the electronic bill data include invoicing time;It is described Analysis module is also used to determine the electronic bill that possessed invoicing time belongs to default invoicing time section;Described preset is counted to open The quantity of making out an invoice of each time discrete point in the ticket period;Quantity tendency number of making out an invoice accordingly is generated according to the quantity of making out an invoice According to;Described device further includes that electronic bill issues condition update module, the electronic bill issue condition update module for according to The corresponding electronic bill of group's mark, which is updated, according to the quantity tendency data of making out an invoice issues condition;The electronic bill is issued Condition is for controlling the electronic bill issue behavior based on the block chain network.
12. device according to claim 10, which is characterized in that the electronic bill data include bill state;It is described Analysis module is also used to inquire the bill state of the electronic bill within polling cycle;The bill state include do not make out an invoice, It has made out an invoice and has not submitted an expense account and at least one of submitted an expense account;Count the quantity of the identical electronic bill of bill state;According to statistics Quantity determines that the group identifies corresponding bill state distribution;Described device further includes that electronic bill claims condition update mould Block, it is corresponding for identifying according to group described in the bill state distributed update that the electronic bill claims condition update module Electronic bill claims condition;The electronic bill of update is claimed condition and is used to control the electronic ticket carried out based on the block chain network According to the behavior of application.
13. device according to claim 8, which is characterized in that the electronic bill data include state of declaring dutiable goods, the dress Setting further includes that the tax administers rank determination module, and the tax administers rank determination module for inquiring and group mark pair The government tax fillings answered;The amount of tax to be paid of paying taxes in the government tax fillings declares dutiable goods state according to described in as the generation of duty paid electronic bill; Taxpayer's quantity growth ratio, the revenue growth ratio in corresponding government tax fillings statistics predetermined period are identified according to each group And amount of tax to be paid distribution of paying taxes;According to taxpayer's quantity growth ratio, the revenue growth ratio, the amount of tax to be paid distribution of paying taxes Determine that the tax in the predetermined period administers grading with group tax score.
14. a kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor, So that the processor is executed such as the step of any one of claims 1 to 9 the method.
15. a kind of computer equipment, including memory and processor, the memory is stored with computer program, the calculating When machine program is executed by the processor, so that the processor executes the step such as any one of claims 1 to 9 the method Suddenly.
CN201910683245.1A 2018-08-27 2018-08-27 About the data processing method of electronic bill, device, storage medium and equipment Pending CN110400131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910683245.1A CN110400131A (en) 2018-08-27 2018-08-27 About the data processing method of electronic bill, device, storage medium and equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810982422.1A CN109087078B (en) 2018-08-27 2018-08-27 Data processing method, device, storage medium and equipment for electronic bill
CN201910683245.1A CN110400131A (en) 2018-08-27 2018-08-27 About the data processing method of electronic bill, device, storage medium and equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810982422.1A Division CN109087078B (en) 2018-08-27 2018-08-27 Data processing method, device, storage medium and equipment for electronic bill

Publications (1)

Publication Number Publication Date
CN110400131A true CN110400131A (en) 2019-11-01

Family

ID=64794724

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810982422.1A Active CN109087078B (en) 2018-08-27 2018-08-27 Data processing method, device, storage medium and equipment for electronic bill
CN201910683245.1A Pending CN110400131A (en) 2018-08-27 2018-08-27 About the data processing method of electronic bill, device, storage medium and equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810982422.1A Active CN109087078B (en) 2018-08-27 2018-08-27 Data processing method, device, storage medium and equipment for electronic bill

Country Status (1)

Country Link
CN (2) CN109087078B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111260488A (en) * 2020-01-23 2020-06-09 腾讯科技(深圳)有限公司 Data processing method and device and readable storage medium
CN114240408A (en) * 2021-12-21 2022-03-25 环球数科集团有限公司 Electronic ticket business transaction method based on block chain technology

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109523242A (en) * 2019-01-18 2019-03-26 大象慧云信息技术有限公司 A kind of electronic invoice Life cycle supervisory systems and method based on alliance's chain
CN110458582B (en) * 2019-01-29 2023-12-12 深圳市智税链科技有限公司 Business processing method, device, medium and electronic equipment based on block chain system
CN109872201A (en) * 2019-02-28 2019-06-11 浪潮软件集团有限公司 It is a kind of to support make out an invoice invoice management method, system and the invoice system at end more
CN109949111B (en) * 2019-03-06 2023-12-08 深圳市智税链科技有限公司 Electronic bill identification distribution method, electronic bill generation method, device and system
CN110245182B (en) 2019-04-25 2021-12-07 腾讯科技(深圳)有限公司 Method, apparatus, device and medium for processing distributed data
CN110222078B (en) * 2019-06-03 2021-05-28 中国工商银行股份有限公司 Data processing method and device
CN110633963B (en) * 2019-09-16 2023-12-12 腾讯科技(深圳)有限公司 Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device
CN110619511A (en) * 2019-09-18 2019-12-27 腾讯科技(深圳)有限公司 Electronic bill processing method and device, readable storage medium and computer equipment
CN110738471A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 bill management method based on block chain network and related equipment
CN111861686B (en) * 2020-06-12 2024-07-09 金财互联智链研究院(青岛)有限公司 Financial accounting method and system based on blockchain

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106952124A (en) * 2017-03-16 2017-07-14 北京牛链科技有限公司 Electronic bill management system and method based on distribution book keeping operation
CN106991334A (en) * 2016-11-24 2017-07-28 阿里巴巴集团控股有限公司 A kind of method, system and device of data access

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9270663B2 (en) * 2010-04-30 2016-02-23 T-Central, Inc. System and method to enable PKI- and PMI-based distributed locking of content and distributed unlocking of protected content and/or scoring of users and/or scoring of end-entity access means—added
CN104463648A (en) * 2014-12-29 2015-03-25 浪潮软件集团有限公司 Big data system based on network invoice and processing method
CN106920098B (en) * 2017-03-07 2021-02-02 中钞***产业发展有限公司杭州区块链技术研究院 Digital bill transaction monitoring system and method based on block chain and digital currency

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991334A (en) * 2016-11-24 2017-07-28 阿里巴巴集团控股有限公司 A kind of method, system and device of data access
CN106952124A (en) * 2017-03-16 2017-07-14 北京牛链科技有限公司 Electronic bill management system and method based on distribution book keeping operation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111260488A (en) * 2020-01-23 2020-06-09 腾讯科技(深圳)有限公司 Data processing method and device and readable storage medium
CN114240408A (en) * 2021-12-21 2022-03-25 环球数科集团有限公司 Electronic ticket business transaction method based on block chain technology

Also Published As

Publication number Publication date
CN109087078B (en) 2023-03-24
CN109087078A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
CN110400131A (en) About the data processing method of electronic bill, device, storage medium and equipment
CN109165943B (en) Data processing method, device, storage medium and equipment for electronic bill
CN108961030B (en) Data processing method, apparatus, system, medium, and device for electronic ticket
CN109034924B (en) Electronic bill generating method, electronic bill generating device, storage medium and computer equipment
CN109767214B (en) Method, device, equipment and medium for controlling supply flow of financing of incorporated bill
CN109255084A (en) Electronic bill querying method, device, storage medium and computer equipment
CN110378755B (en) Electronic invoice generation method and device, computer equipment and storage medium
CN112037068B (en) Resource transfer method, system, device, computer equipment and storage medium
CN110599137B (en) Electronic bill data processing method and device and computer equipment
US10129238B2 (en) System for control of secure access and communication with different process data networks with separate security features
CN110599266B (en) Electronic bill data processing method and device, computer equipment and storage medium
CN109191272A (en) About the data processing method of electronic bill, device, storage medium and equipment
US20170230375A1 (en) System for centralized control of secure access to process data network
CN109325812A (en) About the data processing method of electronic bill, device, storage medium and equipment
CN109191219A (en) About the data processing method of electronic bill, device, storage medium and equipment
CN109087024B (en) Data processing method, device, storage medium and equipment for electronic bill
KR20200013206A (en) Freight booking system and method based on blockchains
CN110633963A (en) Electronic bill processing method, electronic bill processing device, computer-readable storage medium and equipment
CN110489492A (en) A kind of accurate identification of medical insurance based on block chain
CN111095863A (en) Block chain based system and method for communicating, storing and processing data over a block chain network
CN111429191A (en) Block chain-based electronic invoice flow management method, device and system
CN108133415A (en) A kind of electronics authority method of charging out, device and system
CN109740937A (en) Asset data processing method and system based on block chain
CN110597834A (en) Electronic bill data processing method and device and computer equipment
CN111126987B (en) Resource transfer information processing method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40015658

Country of ref document: HK