CN110400143A - 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
CN110400143A
CN110400143A CN201910684115.XA CN201910684115A CN110400143A CN 110400143 A CN110400143 A CN 110400143A CN 201910684115 A CN201910684115 A CN 201910684115A CN 110400143 A CN110400143 A CN 110400143A
Authority
CN
China
Prior art keywords
dutiable goods
electronic bill
declaring dutiable
block chain
declaring
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
CN201910684115.XA
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 CN201910684115.XA priority Critical patent/CN110400143A/en
Publication of CN110400143A publication Critical patent/CN110400143A/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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/123Tax preparation or submission

Abstract

This application involves a kind of about the data processing method of electronic bill, device, storage medium and equipment, and the method is applied to the side's of declaring dutiable goods block chain node in block chain network, which comprises receives request of declaring dutiable goods;Request of declaring dutiable goods carries the side's of declaring dutiable goods mark;Determine electronic bill corresponding with the side's of declaring dutiable goods mark;It inquires and the side of declaring dutiable goods identifies associated parameter of declaring dutiable goods;It is declared dutiable goods accordingly the amount of tax to be paid according to electronic bill and parametric statistics of declaring dutiable goods.Efficiency of declaring dutiable goods can be improved in scheme provided by the present application.

Description

About the data processing method of electronic bill, device, storage medium and equipment
The application be on 08 20th, 2018 submission Patent Office of the People's Republic of China, application No. is 201810946810.4, 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, storage medium and computer equipment.
Background technique
Main source of the tax revenue as national and local governments finance, the normal operation for country provide guarantee, therefore Efficiently, accurately, timely collection of tax is the important process of state tax authority.Currently, taxpayer declares dutiable goods, it is logical mostly It crosses after the invoice data of the staff of tax unit based on paper invoice calculates the amount of tax to be paid of declaring dutiable goods by hand, is carried out manually to the tax bureau It declares dutiable goods or carries out tax declaration online in tax board web, artificial amount of tax to be paid workload of declaring dutiable goods of calculating is very big, causes efficiency of declaring dutiable goods It is low.
Summary of the invention
Based on this, it is necessary to for existing artificial statistics declare dutiable goods the amount of tax to be paid cause to declare dutiable goods low efficiency the technical issues of, provide It is 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, applied to the side's of declaring dutiable goods block chain node in block chain network, The described method includes:
Reception is declared dutiable goods request;The request of declaring dutiable goods carries the side's of declaring dutiable goods mark;
Determine electronic bill corresponding with the side of declaring dutiable goods mark;
Inquiry identifies associated parameter of declaring dutiable goods with the side of declaring dutiable goods;
It is declared dutiable goods accordingly the amount of tax to be paid according to the electronic bill and the parametric statistics of declaring dutiable goods.
A kind of data processing equipment about electronic bill, applied to the side's of declaring dutiable goods block chain node in block chain network, Described device includes:
Receiving module, for receiving request of declaring dutiable goods;The request of declaring dutiable goods carries the side's of declaring dutiable goods mark;
Determining module, for determining electronic bill corresponding with the side of declaring dutiable goods mark;
Enquiry module identifies associated parameter of declaring dutiable goods with the side of declaring dutiable goods for inquiring;
Statistical module, for being declared dutiable goods accordingly the amount of tax to be paid according to the electronic bill and the parametric statistics of declaring dutiable goods.
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 receives after declaring dutiable goods request, the side's of declaring dutiable goods mark in the request that can be declared dutiable goods according to this determines corresponding from local block chain node Electronic bill, and inquire and declare dutiable goods parameter accordingly, the side's of declaring dutiable goods block chain node in block chain network can be based on determination Electronic bill and parameter programming count of declaring dutiable goods declare dutiable goods the amount of tax to be paid, and the request end feedback of declaring dutiable goods for the request that can also declare dutiable goods to initiations is reported The tax amount of tax to be paid eliminates the workload manually calculated, and declaring dutiable goods for accessed block chain node feeding back is received in request end of declaring dutiable goods When the amount of tax to be paid, so that it may pay taxes by the amount of tax to be paid of declaring dutiable goods, without manually counting the amount of tax to be paid of declaring dutiable goods, improve efficiency of declaring dutiable goods.
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 side's of declaring dutiable goods block chain node institute corresponding with request end of respectively declaring dutiable goods structure in block chain network in one embodiment At block chain schematic diagram;
Fig. 4 is the flow diagram that the step of declaring dutiable goods parameter is generated in one embodiment;
Fig. 5 is the schematic diagram of the circulation process of electronic bill in one embodiment;
Fig. 6 is the schematic illustration of common recognition algorithm in one embodiment;
Fig. 7 is declare dutiable goods in one embodiment the flow diagram of amount of tax to be paid statistics;
Fig. 8 is the deployment diagram of the data processing system of electronic bill 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, this is answered It include the bill pipe that the side's of declaring dutiable goods block chain node 110 and the side's of declaring dutiable goods block chain node 110 belong to same block chain network with environment Reason side's block chain node 120.Request end 130 and the side's of declaring dutiable goods block chain node 110 declare dutiable goods by network connection, optionally, declares dutiable goods Request end 130 and the side's of declaring dutiable goods block chain node 110 are same terminal, be that is to say, request end 130 of declaring dutiable goods can be used as area, the side of declaring dutiable goods Block chain node 110.The side's of declaring dutiable goods block chain node 110 can to 130 open visit permission of request end and the access interface of declaring dutiable goods so that Request end 130 of declaring dutiable goods can access to the side's of declaring dutiable goods block chain node 110.Declare dutiable goods request end 130 specifically can be terminal console or Mobile terminal, mobile terminal specifically can be at least one of mobile phone, tablet computer, laptops etc..When being reported When tax, request of declaring dutiable goods is initiated to the side's of declaring dutiable goods block chain node 110 in request end 130 of declaring dutiable goods, and request of declaring dutiable goods carries the side's of declaring dutiable goods mark, report Tax side's block chain node 110 is after request is declared dutiable goods in reception, the local determination and the side's of declaring dutiable goods mark of block chain node 110 in the side of declaring dutiable goods Corresponding electronic bill, and inquire and identify associated parameter of declaring dutiable goods with the side of declaring dutiable goods, the side's of declaring dutiable goods block chain node 110 can root It declares dutiable goods the amount of tax to be paid according to determining electronic bill and the parametric statistics of declaring dutiable goods inquired, and is asked to initiation declaring dutiable goods for request of declaring dutiable goods accordingly The amount of tax to be paid of declaring dutiable goods for asking 130 fed back statistics of end to obtain, to facilitate request end 130 of declaring dutiable goods to carry out the place that declares dutiable goods according to the amount of tax to be paid of declaring dutiable goods of statistics Reason.
It is appreciated that can also include other block chain nodes, such as the circulation process of electronic bill in block chain network Application including electronic bill is issued, is saved, submitting an expense account, declaring dutiable goods, thus can also include issuing electronics in the block chain network The bill of bill issues block chain node, saves the bill that the bill of electronic bill saves node and submitted an expense account electronic bill Submit an expense account block chain node etc..It may include that data block in each block chain node is formed by a plurality of area in block chain network Block chain.
It can use network between block chain node in block chain network to be attached, to carry out common recognition certification, declare dutiable goods Square block chain node can be attached with other block chain nodes by network.Each block chain node can be independent object Server or terminal are managed, is also possible to the server cluster that multiple physical servers are constituted, Cloud Server, cloud number can be to provide According to the Cloud Server of the basic cloud computing service such as library, cloud storage and CDN.
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 side's of declaring dutiable goods block chain node 110 in above-mentioned Fig. 1 in this way to illustrate.It, should be about electricity referring to Fig. 2 The data processing method of sub- bill specifically comprises the following steps:
S202 receives request of declaring dutiable goods;Request of declaring dutiable goods carries the side's of declaring dutiable goods mark.
Optionally, the side's of declaring dutiable goods block chain node 110 can receive the request end 130 of declaring dutiable goods of the access side's of declaring dutiable goods block chain node Transmitted request of declaring dutiable goods;Wherein, the side of declaring dutiable goods is referred to as the side of paying taxes, and is the group for needing to pay the amount of tax to be paid in accordance with the law.It declares dutiable goods and asks Asking end is to have accessed in block chain network the equipment of the side's of declaring dutiable goods block chain node accordingly, and the side's of declaring dutiable goods mark is for logical in network Mark of the unique identification as the identity of the request end (side of declaring dutiable goods) of declaring dutiable goods of one side of communication in letter.The side of declaring dutiable goods mark can be including The character string of the characters such as number, letter or symbol.When the side of declaring dutiable goods is declared dutiable goods, the side of declaring dutiable goods need to identify logical according to the side of declaring dutiable goods It crosses request end corresponding block chain node into block chain network of declaring dutiable goods and initiates request of declaring dutiable goods.
Block chain is the carrier and organizational form for running block chain technology.Block chain technology, abbreviation BT (Blockchain Technology), it is also referred to as distributed account book technology, is a kind of internet database technology, its main feature is that decentralization, It is open and clear, allow everyone to each may participate in data-base recording.Block chain technology is verified and is deposited using block linked data structure Storage data, know together algorithm using distributed node generate and more new data, guaranteed in the way of cryptography data transmission and The safety of access is programmed and a kind of distributed basis of operation data using the intelligent contract being made of automatized script code Framework and calculation.Block chain where the side's of declaring dutiable goods block chain node is that bill relevant to the side's of declaring dutiable goods mark is connected Block chain.
As shown in figure 3, showing the side's of declaring dutiable goods block chain node institute corresponding with request end of respectively declaring dutiable goods structure in block chain network At block chain schematic diagram.For example, consumer B is according to electronic bill when group A is that consumer B has outputed electronic bill T1 After T1 is submitted an expense account to group C, electronic bill T1 just circulates from group A to group C;When group E is that consumer B is outputed Electronic bill T2, after consumer B is submitted an expense account according to electronic bill T2 to group C, electronic bill T2 just from group E circulate to Group C;When group A is that consumer B has outputed electronic bill T3, consumer B is submitted an expense account according to electronic bill T3 to group C Later, electronic bill T3 just circulates from group A to group C.Referring to Fig. 3, group A, group C, group E are in block chain network Corresponding block chain node is respectively A1, C1 and E1, and consumer B is in block chain network for saving the block chain of electronic bill Node is B1, then with the associated block chain of electronic bill T1 being according in block chain node A1, B1 and C1 in block chain network Respectively the data block of storage electronic bill T1 related data is constituted, and is according to block with the associated block chain of electronic bill T2 The data block composition of electronic bill T2 related data is respectively stored in chain node E1, B1 and C1, similarly, with electronic bill The associated block chain of T3 is according to the data block for respectively storing electronic bill T3 related data in block chain node A1, B1 and C1 It constitutes.Here group A, group B, group C may each be the side of declaring dutiable goods, and corresponding block chain node is just in block chain network It can be referred to as the side's of declaring dutiable goods block chain node.
In one embodiment, the side's of declaring dutiable goods block chain node is block chain corresponding with request end of declaring dutiable goods in block chain network Node.The side's of declaring dutiable goods block chain node and the corresponding relationship for request end of declaring dutiable goods can be one-to-one relationship, be also possible to one-to-many Relationship.For example, the side's of declaring dutiable goods block chain node can be the one's own block that the side of declaring dutiable goods establishes in block chain network Chain node, the side's of declaring dutiable goods block chain node are used to record the information of electronic bill associated with the side of declaring dutiable goods.The area, the side of declaring dutiable goods Block chain node is also possible to declare dutiable goods after request end authorization third party device, and the third party device of access is corresponding in block chain network Block chain node, the corresponding block chain node of third party device can be used for recording associated with multiple sides of declaring dutiable goods electronic bill Information, which can also be referred to as public block chain link point.It is appreciated that in the side's of declaring dutiable goods block chain node and report When the corresponding relationship of tax request end is one-to-one relationship, the electronic bill stored in the side's of declaring dutiable goods block chain node is declared dutiable goods with this Side's mark is associated, and when corresponding relationship is one-to-many relationship, the electronic bill stored in the side's of declaring dutiable goods block chain node with The respective side of declaring dutiable goods is associated, and the side's of declaring dutiable goods block chain node can be distinguished according to the side's of declaring dutiable goods mark in request of declaring dutiable goods and be declared dutiable goods Square, the information of the electronic bill of each side of declaring dutiable goods is due to the cryptography that block chain technology utilizes to uncorrelated in the block chain node The side of declaring dutiable goods it is invisible.
In one embodiment, it is the number card that the side of declaring dutiable goods distributes that the side's of declaring dutiable goods mark, which can be electronic bill management server, Book.When needing to record data relevant to electronic bill or handling process relevant with electronic bill, report can be passed through by declaring dutiable goods Registration request is initiated to electronic bill management server in tax request end, and the identity information of the side of declaring dutiable goods can be carried in registration request, Identity information for example can be the corresponding business license information of the requesting party that declares dutiable goods or ID card information etc., take in electronic bill management After business device receives registration request, so that it may be closed according to the identity information or the existing and identity information that are carried in registration request The side's of declaring dutiable goods information of connection audits the qualification of the side of declaring dutiable goods, after the approval, so that it may generate corresponding with the side of declaring dutiable goods Digital certificate, and the digital certificate is back to request end of declaring dutiable goods.
In one embodiment, registration request is sent to electronic bill management server by declaring dutiable goods request end in the side of declaring dutiable goods When, electronic bill management server can also generate corresponding public private key pair, the public key in public private key pair for the side of declaring dutiable goods (Public Key) and private key (Private Key) is the key pair obtained by algorithm, and public key is that cipher key pair discloses Key, private key is then private key.Electronic bill management server can according in public private key pair public key and enterprise Identity information generate digital certificate, and the public private key pair is sent to declare dutiable goods request end and report corresponding with request end of declaring dutiable goods Tax side's block chain node.In this way, transmission declare dutiable goods request when, request end of declaring dutiable goods can sign request of declaring dutiable goods according to private key Name, the side's of declaring dutiable goods block chain node can carry out sign test to request of declaring dutiable goods by public key, with true after receiving the request of declaring dutiable goods of signature Recognizing the request of declaring dutiable goods received is to be assigned with what the side of declaring dutiable goods of the public private key pair was sent.
S204 determines electronic bill corresponding with the side's of declaring dutiable goods mark.
Wherein, electronic bill is that electronization is stored in the ticket in computer equipment for the physical tickets of papery According to.Computer equipment can be the side's of declaring dutiable goods block chain node in block chain network, be also possible to request end of declaring dutiable goods.Electronic bill It is by electronic bill mark come unique identification, can record all information relevant to electronic bill in computer equipment, wraps Billing information, the circulation information of electronic bill and each information is included to record to the time of computer equipment etc..Specifically, the side of declaring dutiable goods Block chain node can extract the side's of declaring dutiable goods mark after receiving and declaring dutiable goods request from request of declaring dutiable goods, and local from block chain node Data block in read corresponding with the side of declaring dutiable goods mark electronic bill.
In one embodiment, request of declaring dutiable goods carries electronic bill inquiry code, and electronic bill inquiry code is according to corresponding electricity The cryptographic Hash that the billing information and bill state of sub- bill generate;Method further include: screening and electricity from determining electronic bill The sub- associated electronic bill of bill inquiry code;The electronic bill of screening is declared dutiable goods corresponding electronic bill as this.
Wherein, electronic bill inquiry code is used to inquire the billing information of corresponding electronic bill, the electronic bill of electronic bill Inquiry code is the cryptographic Hash generated according to the billing information and bill state of the electronic bill.Billing information includes electronic bill mark The time etc. that knowledge, the side's of issuing mark of the electronic bill, recipient's mark of the electronic bill, the amount of the instrument, bill are issued, Bill state at least one of is the state of the current electronic bill, including has issued, submitted an expense account and declared dutiable goods.For example, working as When the side of declaring dutiable goods A is that consumer B has issued an electronic bill, the corresponding bill state of the electronic bill is to have issued, and works as consumption When person 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, as the side of declaring dutiable goods C After being declared 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 issued Electronic bill just can be carried out reimbursement processing or processing of declaring dutiable goods, and the electronic bill for not carrying out reimbursement processing can be first by the electronic bill The side of issuing first carry out processing of declaring dutiable goods, the electronic bill that do not declare dutiable goods can also be reported first by the recipient of the electronic bill Pin processing.
Specifically, electronic bill associated with the side of declaring dutiable goods to declare dutiable goods has multiple, in only some electronics When bill is electronic bill involved in this is declared dutiable goods, request end of declaring dutiable goods can obtain the electricity of this corresponding electronic bill of declaring dutiable goods Sub- bill inquiry code, identifies according to the side of declaring dutiable goods and the electronic bill inquiry code generation for this electronic bill declared dutiable goods is declared dutiable goods and asked Ask, the side's of declaring dutiable goods block chain node receive this declare dutiable goods request when, can be according to electronic bill inquiry code from determining electronic bill It is middle to screen and this corresponding electronic bill of declaring dutiable goods.Request end of declaring dutiable goods can be associated with by all and side of declaring dutiable goods for being locally stored mark Electronic bill determine the electronic bill inquiry code of this electronic bill being related to of declaring dutiable goods, the side's of declaring dutiable goods staff's hand can also be obtained The electronic bill inquiry code of dynamic typing.
S206, is inquired and the side of declaring dutiable goods identifies associated parameter of declaring dutiable goods.
Wherein, parameter of declaring dutiable goods is the side's of declaring dutiable goods parameter corresponding when application is declared dutiable goods, and parameter of declaring dutiable goods is set according to legal provisions It sets, parameter of declaring dutiable goods includes the ratio of declaring dutiable goods of the different tax category, the exemption point of enterprise income tax etc., and different taxpayers are for identical tax The ratio of declaring dutiable goods of kind may not also be identical, for example, value-added tax.
Specifically, the side's of declaring dutiable goods block chain node can be identified according to the side of declaring dutiable goods stored in the local data block of inquiry with this The side of declaring dutiable goods identifies associated parameter of declaring dutiable goods, according to this corresponding amount of tax to be paid of declaring dutiable goods of declaring dutiable goods of parameter programming count of declaring dutiable goods.
In one embodiment, the different sides of declaring dutiable goods due to scope of the enterprise, in terms of have differences, Parameter of declaring dutiable goods corresponding to the difference side of declaring dutiable goods can also have differences, as shown in figure 4, parameter of declaring dutiable goods can be generated by following steps:
S402, electronic bill management server obtain the parameter of declaring dutiable goods corresponding with the side's of declaring dutiable goods mark of typing, and to electronics The corresponding bill management side's block chain node of bill management server initiates the request that parameter of declaring dutiable goods is uploaded to block chain network.
Wherein, electronic bill management server is the server being managed for the circulation process to electronic bill.Electricity The circulation process of sub- bill include the application of electronic bill, the issuing of electronic bill, the reimbursement of electronic bill, electronic bill report The processes such as tax, wherein the generation for issuing also referred to as electronic bill of electronic bill.Electronic bill management server is also used to report The public private key pair or digital certificate of tax people is allocated and manages.
As shown in figure 5, for the schematic diagram of the circulation process of electronic bill in one embodiment.Referring to Fig. 5, request end of declaring dutiable goods It initiates to claim request about the bill of electronic bill to electronic bill management server, electronic bill management server will be available The coupon identification of electronic bill corresponding with request end of the declaring dutiable goods side of declaring dutiable goods mark is bound, and by coupon identification and the side's of declaring dutiable goods mark Bill of the corresponding write-in of the binding relationship of knowledge into block chain network issues block chain node, realizes electronic bill from electronic ticket According to the circulation of manager to the side of declaring dutiable goods.When the side of declaring dutiable goods needs to issue electronic bill for user, so that it may inquiry and the side of declaring dutiable goods The coupon identification of electronic bill that is binding and not issuing, obtains the billing information of user's typing, according to the billing information and ticket Electronic bill is generated according to mark, and corresponds to ticket of the write-in into block chain network after the electronic bill of generation is stamped user identifier According to block chain link point is saved, just completes and issue electronic bill for user, realize stream of the electronic bill from the side of declaring dutiable goods 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 each side's of declaring dutiable goods block chain node etc.. In one embodiment, record each block chain node, data including bill management side's block chain node into block chain network Data in block can real-time synchronization to electronic bill management server.
Specifically, electronic bill management server can be obtained by client corresponding with the electronic bill management server To the parameter of declaring dutiable goods corresponding with the side of declaring dutiable goods mark of user's typing, and to the corresponding bill management of electronic bill management server Square block chain node initiates the request that parameter of declaring dutiable goods is uploaded to block chain network, which is written for the parameter that will declare dutiable goods and should The side of declaring dutiable goods identifies in associated block chain.In one embodiment, which, which can be, is receiving the side of declaring dutiable goods After registration request, the typing after completing to the aptitude checking of the side of declaring dutiable goods.
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.
S404, bill management side's block chain node carry out authentication based on the request received, and after being verified, Triggering is directed to the common recognition for parameter of declaring dutiable goods in block chain network, and will declare dutiable goods parameter and the side's of declaring dutiable goods mark are triggered after common recognition passes through Associated record is in the block chain node into block chain network;Wherein, the block chain node in block chain network includes bill pipe Reason side's block chain node and the side's of declaring dutiable goods block chain node.
Wherein, electronic bill management server can access bill management side's block chain node in block chain network, make For the side communicated with bill management side's block chain node, electronic bill management server also has the public and private key for verifying identity It is right, and corresponding bill management side block chain node is stored with the public key in the public private key pair.Electronic bill management server That initiates is uploaded to the request of block chain network for the parameter that will declare dutiable goods, and can be through the private key signature in the public private key pair Request, in this way, bill management side's block chain node can test the request according to the public key of storage based on the request received Label, and triggering is directed to the common recognition for parameter of declaring dutiable goods in block chain network after being verified.
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, when related to parameter of paying taxes, or acquisition is had permission The parameter that this is paid taxes that each block chain node of the parameter of paying taxes receives the initiation of bill management side's block chain node is written to When request in the block chain that each block chain node is constituted, which carries the identity of bill management side's block chain node Information, then, each block chain node can be by the bill management pre-stored in the identity information received and local The authentication information of square block chain node compares, with confirm the identity information received and storage identity information whether Unanimously, when consistent, confirm that the identity information received is really, then the corresponding authentication result of each block chain node is logical It crosses, 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.
S208 declares dutiable goods the amount of tax to be paid accordingly according to electronic bill and parametric statistics of declaring dutiable goods.
Specifically, the amount of tax to be paid of declaring dutiable goods is the value of this tax to be paid of declaring dutiable goods.The side's of declaring dutiable goods block chain node can be in determination With this corresponding electronic bill and initiating of declaring dutiable goods declare dutiable goods the request end of declaring dutiable goods of request the side of declaring dutiable goods identify after, so that it may be based on Determining electronic bill and this corresponding amount of tax to be paid of declaring dutiable goods of declaring dutiable goods of parametric statistics of declaring dutiable goods.
In one embodiment, electronic bill includes the side's of making out an invoice mark and recipient's mark;Step S208, according to electronic ticket According to parametric statistics of declaring dutiable goods declare dutiable goods accordingly the amount of tax to be paid include: from determining electronic bill, screening have and the side of declaring dutiable goods identify The first electronic bill that the side of making out an invoice matched identifies, and screening have the second electricity that matched recipient's mark is identified with the side of declaring dutiable goods Sub- bill;Count first amount of money of the first electronic bill and second amount of money of the second electronic bill;According to parameter of declaring dutiable goods, first The amount of money and second amount of money determine that request end of declaring dutiable goods is declared dutiable goods the amount of tax to be paid accordingly.
Wherein, the side's of making out an invoice mark is the mark of group corresponding to the side of issuing of electronic bill, and recipient's mark is electronic ticket According to recipient corresponding to group mark, the side of making out an invoice, which identifies, for example can be the enterprise name of enterprise of making out an invoice, or make out an invoice Taxpayer's number of enterprise, similarly, recipient's mark can submit an expense account the enterprise name of enterprise, or submit an expense account enterprise Taxpayer's number.
Specifically, after in the side of declaring dutiable goods, block chain node has determined electronic bill corresponding with the side's of declaring dutiable goods mark, from determining In electronic bill, screening has the first electronic bill identified with the matched side of making out an invoice of mark, the side of declaring dutiable goods, the first electronic bill tool Have and the side of declaring dutiable goods identifies the matched side's of making out an invoice mark, illustrates that the first electronic bill can be used for counting this process side of declaring dutiable goods that declares dutiable goods Corresponding tax amount of offset item, the second electronic bill, which has, identifies matched recipient's mark with the side of declaring dutiable goods, and illustrates the second electronic ticket According to can be used for counting this income tax amount corresponding to the process side of declaring dutiable goods of declaring dutiable goods, the side's of declaring dutiable goods block chain node can be according to system First amount of money of the first electronic bill and second amount of money of the second electronic bill of meter and the parameter of declaring dutiable goods inquired determine report This corresponding amount of tax to be paid of declaring dutiable goods of declaring dutiable goods of tax side.
In one embodiment, when second amount of money of the side's of declaring dutiable goods block chain node statistics be greater than first amount of money when, illustrate into The item amount of tax to be paid is greater than tax amount of offset item, then this corresponding amount of tax to be paid of declaring dutiable goods can be 0, also, income tax amount is greater than tax amount of offset item Part can be used to count the amount of tax to be paid of declaring dutiable goods for the side of declaring dutiable goods when declaring dutiable goods next time as income tax amount.
In one embodiment, this method is further comprising the steps of:
The amount of tax to be paid of declaring dutiable goods is fed back to request end of declaring dutiable goods in response to declaring dutiable goods request.
Specifically, the side's of declaring dutiable goods block chain node statistics are declared dutiable goods this amount of tax to be paid of declaring dutiable goods for declaring dutiable goods of the side of declaring dutiable goods corresponding to request end Afterwards, so that it may which the amount of tax to be paid of declaring dutiable goods counted on is fed back into request end of declaring dutiable goods.It count off request end can be based on the amount of tax to be paid of declaring dutiable goods of acquisition Carry out the processing of declaring dutiable goods of next step.
In one embodiment, request end of declaring dutiable goods can authorize taxation authority's server automatically to pin thread except declaring dutiable goods the amount of tax to be paid, The determining amount of tax to be paid of declaring dutiable goods can also be written into block chain network for the side's of declaring dutiable goods block chain node, in block chain network with the tax The corresponding block chain node of authority server receive this declare dutiable goods the amount of tax to be paid when, can be appraised and decided, and will report appraising and deciding after The tax amount of tax to be paid feeds back to taxation authority's server, and the auto deduction for the amount of tax to be paid of declaring dutiable goods is realized by taxation authority's server.
As shown in fig. 7, for the flow diagram for the amount of tax to be paid statistics that carries out in one embodiment declaring dutiable goods.Referring to Fig. 7, electronic bill Management server will declare dutiable goods, and parameter is corresponding with the side's of declaring dutiable goods mark to be uploaded to block chain network, declare dutiable goods can by declare dutiable goods request end into Row copies tax, that is, initiates to declare dutiable goods request, and the corresponding side's of the declaring dutiable goods block chain node in request end that is to declare dutiable goods, which receives, declares dutiable goods when requesting, just It declares dutiable goods the amount of tax to be paid automatically according to electronic bill corresponding with the side's of declaring dutiable goods mark and parametric statistics of declaring dutiable goods, and the amount of tax to be paid that will declare dutiable goods feeds back to report Tax request end.
As shown in figure 8, 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, declare dutiable goods Requesting party can be make out an invoice enterprise or reimbursement enterprise, and the bill for saving the electronic bill issued saves server and can be Block chain electronic invoice saves server, specifically can be wechat server.With reference to Fig. 8,4 are included at least in block chain network Block chain node forms alliance's chain, block chain node respectively corresponding with tax office server, area corresponding with enterprise of making out an invoice Block chain node and block chain electronic invoice save the corresponding block chain node of server and block chain corresponding with reimbursement enterprise Node.Under normal conditions, the equipment of each role is interacted with corresponding block chain link point.
With reference to Fig. 8, 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. 8, 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, after receiving and declaring dutiable goods request, can declare dutiable goods request according to this In the side's of declaring dutiable goods mark corresponding electronic bill is determined from local block chain node, and inquire parameter of declaring dutiable goods accordingly, area The side's of declaring dutiable goods block chain node in block chain network can be declared dutiable goods tax based on determining electronic bill and parameter programming count of declaring dutiable goods Volume, the request end feedback of declaring dutiable goods for the request that can also initiate to declare dutiable goods are declared dutiable goods the amount of tax to be paid, are eliminated the workload manually calculated, are asked declaring dutiable goods Ask termination receive accessed block chain node feeding back declare dutiable goods the amount of tax to be paid when, so that it may pay taxes, be not necessarily to by the amount of tax to be paid of declaring dutiable goods It is artificial to count the amount of tax to be paid of declaring dutiable goods, improve efficiency of declaring dutiable goods.
In one embodiment, method further include: determine this corresponding declares dutiable goods the period of declaring dutiable goods;
Electronic bill corresponding with the period of declaring dutiable goods is screened from determining electronic bill;Using the electronic bill of screening as This corresponding electronic bill of declaring dutiable goods.
Wherein, period of declaring dutiable goods is time span range involved in this is declared dutiable goods.Such as from last month 15 days to this month 15 days for this declare dutiable goods it is corresponding declaring dutiable goods the period, and so on, of that month 15 days to times months 15 days is corresponding to declaring dutiable goods next time Declare dutiable goods period, etc..
Specifically, the side's of declaring dutiable goods block chain node can screen and this corresponding report of declaring dutiable goods from determining electronic bill Tax period corresponding electronic bill declares dutiable goods the electronic bill of screening corresponding electronic bill as this.
In one embodiment, electronic bill corresponding with the period of declaring dutiable goods is screened from determining electronic bill includes: Belong to this institute that declares dutiable goods from the date of making out an invoice with identifying in the first electronic bill that the matched side of making out an invoice identifies with the side of declaring dutiable goods, is screened The electronic bill of corresponding period of declaring dutiable goods identifies the second electronic bill that matched recipient identifies with the side of declaring dutiable goods from having In, the screening reimbursement date belongs to the electronic bill of this corresponding period of declaring dutiable goods of declaring dutiable goods, and the electronic bill filtered out is made It declares dutiable goods for this corresponding electronic bill.
It in the present embodiment, can be according to electronic bill after this corresponding period of declaring dutiable goods of declaring dutiable goods has been determined Bill issues the time or bill submits an expense account the time to screen the side of declaring dutiable goods and identify this involved electronic bill of declaring dutiable goods.
In one embodiment, determining electronic bill is encrypted electronic bill, method further include: is declared dutiable goods from local Square block chain node obtains bill key corresponding with electronic bill;According to bill key pair, encrypted electronic bill is decrypted Obtain the electronic bill of plaintext.
Specifically, it is determined that electronic bill can be the side's of declaring dutiable goods block chain node and got from local cache database , it is also possible to read from local data block, the electronic bill read from data block is the electronics encrypted Bill, the side's of declaring dutiable goods block chain node can get bill key corresponding with each electronic bill from local, according to bill key pair The electronic bill encrypted is decrypted to obtain the electronic bill of plaintext.
In one embodiment, bill key is to issue area by the corresponding bill in the side of making out an invoice when the electronic bill is issued Block chain node generates at random, and bill key can be symmetric key, i.e., need to use identical key pair carry out in plain text encryption and Operation is decrypted to ciphertext.The side's of declaring dutiable goods block chain node can be bill and issue block chain node or bill reimbursement block chain link Point, it is associated by the bill key pair electronic bill generated at random when bill issues block chain node and generates electronic bill Billing information encrypted, the billing information encrypted, and save the corresponding public and private key of server using bill in caching The public key of centering encrypts bill key, the bill key encrypted, by the bill of the billing information of encryption and encryption Key is sent to bill and saves server, and bill saves server and can be decrypted to obtain ticket with the private key in public private key pair According to key, the electronic bill of plaintext then is obtained using bill key decryption electronic bill.Bill issues block chain node and may be used also To be encrypted using the public key in caching in the corresponding public private key pair in the bill side of issuing to bill key, the bill encrypted Key, in order to be decrypted by private key.Bill, which issues block chain node, can be sent to bill for the bill key of encryption Server is issued, bill issues server and can decrypt to obtain bill key, and by bill key by sending after private key signature Block chain node is issued to bill, bill issues block chain node using corresponding public key sign test, and sign test passes through can be by ticket It is saved in the buffer according to key.The rest may be inferred, and bill reimbursement block chain node can also be decrypted the electronic bill of encryption, obtains To the billing information of plaintext.
In one embodiment, in electronic bill billing information to be encrypted include the electronic bill the side's of issuing mark, The side of issuing address, recipient's mark, recipient address, recipient's phone, the amount of the instrument, the side's of issuing account, connects the side's of issuing phone Debit's account and bill state etc..For example, needing to encrypt in the application scenarios that electronic bill is block chain electronic invoice Field is purchaser's title, purchaser taxpayer duty paragraph, pin side's title, pin side's taxpayer's duty paragraph, purchaser address, purchaser's phone, purchaser The marks such as Bank Account Number, pin side address, pin side's phone, whether having submitted an expense account of pin side's Bank Account Number and the invoice, assessment paid.
In one embodiment, method further include: inquire and the amount of tax to be paid and the corresponding government tax fillings of the side's of declaring dutiable goods mark of declaring dutiable goods;When When inquiring government tax fillings, updating the corresponding state of paying taxes of the side's of declaring dutiable goods mark is assessment paid;The side of declaring dutiable goods is identified and what is updated receives Block chain node of the tax state corresponding record into block chain network.
Wherein, whether state of paying taxes is for indicating the side of declaring dutiable goods according to the amount of tax to be paid of declaring dutiable goods of the side's of declaring dutiable goods block chain node feeding back Timely payment of tax.The state of paying taxes includes assessment paid or pays taxes one of abnormal.Specifically, in request end of declaring dutiable goods according to declaring dutiable goods After the amount of tax to be paid payment of tax of declaring dutiable goods that square block chain node returns, it can initiate to update asking for state of paying taxes to the side's of declaring dutiable goods block chain node It asks, the side's of declaring dutiable goods block chain node can be inquired and the amount of tax to be paid and side's of declaring dutiable goods mark is corresponding pays taxes of declaring dutiable goods paid from block chain network Record, wherein the government tax fillings is uploaded to block chain network by bill management block chain node, when the side's of declaring dutiable goods block chain node When inquiring government tax fillings, updating the corresponding state of paying taxes of the side's of declaring dutiable goods mark is assessment paid;And the side of declaring dutiable goods is identified and updated Block chain node of state of the paying taxes corresponding record into block chain network realizes receiving for the side of declaring dutiable goods identified to the side of declaring dutiable goods Tax behavior is tracked.
In one embodiment, method further include: inquire and the amount of tax to be paid and the corresponding government tax fillings of the side's of declaring dutiable goods mark of declaring dutiable goods;When When inquiring government tax fillings, the state of having declared dutiable goods is added in the bill state of electronic bill;By electronic bill and state of having declared dutiable goods Block chain node of the corresponding record into block chain network.
Specifically, the side's of declaring dutiable goods block chain node can inquire and this corresponding amount of tax to be paid and the side's of declaring dutiable goods mark of declaring dutiable goods of declaring dutiable goods When corresponding government tax fillings, the state of having declared dutiable goods is added in the bill state for involved electronic bill of just declaring dutiable goods to this, and should State of declaring dutiable goods and corresponding electronic bill corresponding record are to block chain network.It is appreciated that the same electronic bill can be used for out Tool side declares dutiable goods, and can be used for reimbursement side and declares dutiable goods, and therefore, the block chain link for state of having declared dutiable goods is added for electronic bill Point can be bill and issue block chain node and bill reimbursement block chain node.
In the present embodiment, it is identified by the bill state and the side of declaring dutiable goods of block chain network record electronic bill The state of paying taxes for the side of declaring dutiable goods can guarantee that the state of electronic bill is authentic and valid without being tampered.
In one embodiment, each block chain node in block chain network is stored with electronic bill and issues condition, electronics Bill issues condition for controlling the electronic bill issue behavior carried out based on block chain network;Electronic bill issues condition more New step includes: that electronic bill management server queries are when in an abnormal state to state of paying taxes corresponding with the side's of declaring dutiable goods mark, The update side of declaring dutiable goods identifies corresponding electronic bill and issues condition;Electronic bill management server issues updated electronic bill The condition block chain node being uploaded in block chain network corresponding with the side's of declaring dutiable goods mark.
Wherein, electronic bill issue condition be the electronic bill issue behavior that is carried out to the side of declaring dutiable goods based on block chain network into The rule of row control.It includes individual limit of making out an invoice, monthly number of making out an invoice, monthly aggregate limit of making out an invoice, the moon that electronic bill, which issues condition, It spends and red rush aggregate limit, monthly red rushes number, invoice type, state of paying taxes etc..
In one embodiment, after having appraised and decided the group's qualification for the side of declaring dutiable goods, electronic bill manages platform and obtains typing Electronic bill issues condition, and is sent to electronic bill management server, and electronic bill management server can be to bill management area Block chain node initiates the request that electronic bill is issued to the block chain node that condition is written into block chain network, bill management clothes Device be engaged in after receiving the request, the electronic bill that will acquire issues that condition is corresponding with the side's of declaring dutiable goods mark to be uploaded to block chain network In block chain node.The corresponding side's of declaring dutiable goods block chain node is identified to bill management server in the side of declaring dutiable goods
In one embodiment, it when request end of declaring dutiable goods needs to issue invoice, can initiate to open to the side's of declaring dutiable goods block chain node Ticket request;Request of making out an invoice carries billing information;Billing information include the side of making out an invoice mark, electronic bill mark, recipient mark and Resource transfers share;The side's of declaring dutiable goods block chain node can inquire electricity corresponding with the side's of declaring dutiable goods mark after receiving the request of making out an invoice Sub- bill issues condition, issues condition according to electronic bill, verifies the legitimacy of billing information;When billing information passes through verifying Afterwards, electronic bill is generated according to billing information.
Specifically, electronic bill is issued condition and can be updated.Electronic bill management server queries to declare dutiable goods It is when in an abnormal state that side identifies corresponding state of paying taxes, so that it may which it is different for updating the state of paying taxes that electronic bill is issued in condition Normal state can also reduce monthly make out an invoice number or monthly aggregate limit, etc. of making out an invoice, to realize that mark institute, the limitation side of declaring dutiable goods is right The issue behavior for the electronic bill that the side of declaring dutiable goods answered is carried out based on block chain network.
As shown in figure 9, in a specific embodiment, the data processing method about electronic bill specifically includes following Step:
S902 receives request of declaring dutiable goods transmitted by the request end of declaring dutiable goods for accessing the side's of declaring dutiable goods block chain node;Request of declaring dutiable goods is taken The band side of declaring dutiable goods mark and electronic bill inquiry code.
S904 determines electronic bill corresponding with the side's of declaring dutiable goods mark in the side's of declaring dutiable goods block chain node;Determining electronic bill For encrypted electronic bill.
S906 obtains bill key corresponding with electronic bill from the local side's of declaring dutiable goods block chain node.
S908, according to bill key pair, encrypted electronic bill is decrypted to obtain the electronic bill of plaintext.
S910, screening and the associated electronic bill of electronic bill inquiry code from determining electronic bill.
S912 declares dutiable goods the electronic bill of screening corresponding electronic bill as this;Electronic bill includes the side of making out an invoice Mark and recipient's mark.
S914, is inquired and the side of declaring dutiable goods identifies associated parameter of declaring dutiable goods.
S916, from determining electronic bill, screening has the first electricity identified with the matched side of making out an invoice of mark, the side of declaring dutiable goods Sub- bill, and screening have the second electronic bill that matched recipient's mark is identified with the side of declaring dutiable goods.
S918 counts first amount of money of the first electronic bill and second amount of money of the second electronic bill.
S920 determines that request end of declaring dutiable goods is declared dutiable goods the amount of tax to be paid accordingly according to parameter of declaring dutiable goods, first amount of money and second amount of money.
S922 feeds back the amount of tax to be paid of declaring dutiable goods to request end of declaring dutiable goods in response to declaring dutiable goods request.
S924 is inquired and the amount of tax to be paid and the corresponding government tax fillings of the side's of declaring dutiable goods mark of declaring dutiable goods.
S926, when inquiring government tax fillings, updating the corresponding state of paying taxes of the side's of declaring dutiable goods mark is assessment paid.
S928, block chain node of the state corresponding record into block chain network of paying taxes that the side of declaring dutiable goods is identified and updated.
S930 adds the state of having declared dutiable goods in the bill state of electronic bill when inquiring government tax fillings.
S932, by electronic bill and block chain node of the state corresponding record into block chain network of having declared dutiable goods.
The above-mentioned data processing method about electronic bill can after the request of declaring dutiable goods for receiving request end initiation of declaring dutiable goods To determine corresponding electronic bill from local block chain node according to the side's of declaring dutiable goods mark in the request of declaring dutiable goods, and inquire phase The parameter of declaring dutiable goods answered, the side's of declaring dutiable goods block chain node in block chain network can be based on determining electronic bill and parameter of declaring dutiable goods Programming count is declared dutiable goods the amount of tax to be paid, and is declared dutiable goods the amount of tax to be paid to the declare dutiable goods request end feedback of declaring dutiable goods of request of initiation, and the work manually calculated is eliminated Measure, received in request end of declaring dutiable goods accessed block chain node feeding back declare dutiable goods the amount of tax to be paid when, so that it may by the amount of tax to be paid of declaring dutiable goods It pays taxes, without manually counting the amount of tax to be paid of declaring dutiable goods, improves efficiency of declaring dutiable goods.
In one embodiment, as shown in Figure 10, a kind of data processing equipment 1000 about electronic bill is provided, is answered For the side's of declaring dutiable goods block chain node in block chain network, which includes receiving module 1002, determining module 1004, inquiry mould Block 1006, statistical module 1008, in which:
Receiving module 1002, for receiving request of declaring dutiable goods;Request of declaring dutiable goods carries the side's of declaring dutiable goods mark.
Determining module 1004, for determining electronic bill corresponding with the side's of declaring dutiable goods mark.
Enquiry module 1006, for inquiring and the side of declaring dutiable goods identifies associated parameter of declaring dutiable goods.
Statistical module 1008, for being declared dutiable goods accordingly the amount of tax to be paid according to electronic bill and parametric statistics of declaring dutiable goods.
In one embodiment, the device can also include feedback module, feedback module be used in response to declare dutiable goods request to Request end feedback of declaring dutiable goods is declared dutiable goods the amount of tax to be paid.
In one embodiment, request of declaring dutiable goods carries electronic bill inquiry code, and electronic bill inquiry code is according to corresponding electricity The cryptographic Hash that the billing information and bill state of sub- bill generate;Data processing equipment about electronic bill further includes electronic ticket According to screening module, electronic bill screening module is also used to screen from determining electronic bill associated with electronic bill inquiry code Electronic bill;The electronic bill of screening is declared dutiable goods corresponding electronic bill as this.
It in one embodiment, further include electronic bill screening module, electronics about the data processing equipment of electronic bill Bill screening module is used to determine this corresponding declares dutiable goods the period of declaring dutiable goods;When screening and declare dutiable goods from determining electronic bill Between the corresponding electronic bill of section;The electronic bill of screening is declared dutiable goods corresponding electronic bill as this.
In one embodiment, determining electronic bill is encrypted electronic bill, the data processing about electronic bill Device further includes deciphering module, and deciphering module is used to obtain ticket corresponding with electronic bill from the local side's of declaring dutiable goods block chain node According to key;According to bill key pair, encrypted electronic bill is decrypted to obtain the electronic bill of plaintext.
In one embodiment, electronic bill includes the side's of making out an invoice mark and recipient's mark;Statistical module 1008 is also used to From determining electronic bill, screening has the first electronic bill identified with the matched side of making out an invoice of mark, the side of declaring dutiable goods, and sieve Selecting has the second electronic bill that matched recipient's mark is identified with the side of declaring dutiable goods;Count first amount of money of the first electronic bill with And second electronic bill second amount of money;The amount of tax to be paid of declaring dutiable goods accordingly is determined according to parameter of declaring dutiable goods, first amount of money and second amount of money.
In one embodiment, parameter of declaring dutiable goods is obtained by electronic bill management server, electronic bill management server For obtaining the parameter of declaring dutiable goods corresponding with the side's of declaring dutiable goods mark of typing, and to the corresponding bill management of electronic bill management server Square block chain node initiates the request that parameter of declaring dutiable goods is uploaded to block chain network;Bill management side's block chain node is for being based on The request received carries out authentication, and after being verified, and triggering is directed to the common recognition for parameter of declaring dutiable goods in block chain network, And triggering will declare dutiable goods parameter and the side's of declaring dutiable goods mark associated record in the block chain node into block chain network after common recognition passes through; Wherein, the block chain node in block chain network includes bill management side's block chain node and the side's of declaring dutiable goods block chain node.
In one embodiment, further include state update module of paying taxes about the data processing equipment of electronic bill, pay taxes State update module is for inquiring and the amount of tax to be paid and the corresponding government tax fillings of the side's of declaring dutiable goods mark of declaring dutiable goods;When inquiring government tax fillings, Mark corresponding state of paying taxes in the update side of declaring dutiable goods is assessment paid;The state corresponding record of paying taxes that the side of declaring dutiable goods is identified and updated is to area Block chain node in block chain network.
It in one embodiment, further include bill state update module, bill about the data processing equipment of electronic bill State update module is for inquiring and the amount of tax to be paid and the corresponding government tax fillings of the side's of declaring dutiable goods mark of declaring dutiable goods;When inquiring government tax fillings, The state of having declared dutiable goods is added in the bill state of electronic bill;By electronic bill and state corresponding record of having declared dutiable goods to block link network Block chain node in network.
In one embodiment, each block chain node in block chain network is stored with electronic bill and issues condition, electronics Bill issues condition for controlling the electronic bill issue behavior carried out based on block chain network;Electronic bill is issued condition and is passed through E-management server update, e-management server are used to inquire state of paying taxes corresponding with the side's of declaring dutiable goods mark in different When normal state, updates the corresponding electronic bill of the side's of declaring dutiable goods mark and issue condition;Updated electronic bill is issued into condition and report The corresponding block chain node being uploaded in block chain network of tax side's mark.
Above-mentioned data processing side's device about electronic bill can declare dutiable goods according to this and ask after receiving and declaring dutiable goods request The side's of the declaring dutiable goods mark asked determines corresponding electronic bill from local block chain node, and inquires parameter of declaring dutiable goods accordingly, The side's of declaring dutiable goods block chain node in block chain network can be declared dutiable goods based on determining electronic bill and parameter programming count of declaring dutiable goods The amount of tax to be paid of declaring dutiable goods is fed back in the request end of declaring dutiable goods of the amount of tax to be paid, the request that can also declare dutiable goods to initiation, eliminates the workload manually calculated, is reporting Tax request end receive accessed block chain node feeding back declare dutiable goods the amount of tax to be paid when, so that it may pay taxes by the amount of tax to be paid of declaring dutiable goods, Without manually counting the amount of tax to be paid of declaring dutiable goods, efficiency of declaring dutiable goods is improved.
Figure 11 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be figure The side's of declaring dutiable goods block chain node 110 in 1.As shown in figure 11, it includes passing through system which, which includes the computer equipment, Processor, the memory, network interface of bus connection.Wherein, memory includes non-volatile memory medium and built-in storage.It should The non-volatile memory medium of computer equipment is stored with operating system, can also be stored with computer program, the computer program When being executed by processor, processor may make to realize the data processing method about electronic bill.It can also be stored up in the built-in storage There is computer program, when which is executed by processor, processor may make to execute the data about electronic bill 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 The each program module for forming the data processing equipment 1000 of the electronic bill can be stored in reservoir, for example, shown in Fig. 10 connect Receive module 1002, determining module 1004, enquiry module 1006 and statistical module 1008.The computer journey that each program module is constituted Sequence makes processor execute the data processing method about electronic bill of each embodiment of the application described in this specification In step.
For example, computer equipment shown in Figure 11 can be filled by the data processing as shown in Figure 10 about electronic bill The receiving module 1002 set in 1000 executes step S202.Computer equipment can execute step S204 by determining module 1004. Computer equipment can execute step S206 by enquiry module 1006.Computer equipment can execute step by statistical module 1008 S208。
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: receiving request of declaring dutiable goods;It declares dutiable goods and asks Seek the carrying side of declaring dutiable goods mark;Determine electronic bill corresponding with the side's of declaring dutiable goods mark;It inquires and the side of declaring dutiable goods identifies associated ginseng of declaring dutiable goods Number;It is declared dutiable goods accordingly the amount of tax to be paid according to electronic bill and parametric statistics of declaring dutiable goods.
In one embodiment, request of declaring dutiable goods carries electronic bill inquiry code, and electronic bill inquiry code is according to corresponding electricity The cryptographic Hash that the billing information and bill state of sub- bill generate;When computer program is executed by processor, so that processing utensil Body executes following steps: screening and the associated electronic bill of electronic bill inquiry code from determining electronic bill;By screening Electronic bill is declared dutiable goods corresponding electronic bill as this.
In one embodiment, when computer program is executed by processor, so that processing implement body executes following steps: really Determine this corresponding declares dutiable goods the period of declaring dutiable goods;Electronic ticket corresponding with the period of declaring dutiable goods is screened from determining electronic bill According to;The electronic bill of screening is declared dutiable goods corresponding electronic bill as this
In one embodiment, determining electronic bill is that encrypted electronic bill, computer program are executed by processor When, so that processor also executes following steps: obtaining bill corresponding with electronic bill from the local side's of declaring dutiable goods block chain node Key;According to bill key pair, encrypted electronic bill is decrypted to obtain the electronic bill of plaintext.
In one embodiment, electronic bill includes the side's of making out an invoice mark and recipient's mark;Computer program is by processor When executing the step for the amount of tax to be paid of declaring dutiable goods accordingly according to electronic bill and parametric statistics of declaring dutiable goods, so that processor executes following steps: From determining electronic bill, screening has the first electronic bill identified with the matched side of making out an invoice of mark, the side of declaring dutiable goods, and sieve Selecting has the second electronic bill that matched recipient's mark is identified with the side of declaring dutiable goods;Count first amount of money of the first electronic bill with And second electronic bill second amount of money;The amount of tax to be paid of declaring dutiable goods accordingly is determined according to parameter of declaring dutiable goods, first amount of money and second amount of money.
In one embodiment, the generation step for parameter of declaring dutiable goods include: electronic bill management server obtain typing with The side of declaring dutiable goods identifies corresponding parameter of declaring dutiable goods, and initiates to the corresponding bill management side's block chain node of electronic bill management server Parameter of declaring dutiable goods is uploaded to the request of block chain network;Bill management side's block chain node carries out identity based on the request received Verifying, and after being verified, triggering is directed to the common recognition for parameter of declaring dutiable goods in block chain network, and triggering after common recognition passes through will Parameter of declaring dutiable goods and the side's of declaring dutiable goods mark associated record are in the block chain node into block chain network;Wherein, in block chain network Block chain node includes bill management side's block chain node and the side's of declaring dutiable goods block chain node.
In one embodiment, when computer program is executed by processor, so that processing implement body executes following steps: looking into It askes and the amount of tax to be paid and the corresponding government tax fillings of the side's of declaring dutiable goods mark of declaring dutiable goods;When inquiring government tax fillings, updates the side's of declaring dutiable goods mark and correspond to Pay taxes state be assessment paid;Block chain of the state corresponding record into block chain network of paying taxes that the side of declaring dutiable goods is identified and updated Node.
In one embodiment, when computer program is executed by processor, so that processing implement body executes following steps: looking into It askes and the amount of tax to be paid and the corresponding government tax fillings of the side's of declaring dutiable goods mark of declaring dutiable goods;When inquiring government tax fillings, in the bill shape of electronic bill The state of having declared dutiable goods is added in state;By electronic bill and block chain node of the state corresponding record into block chain network of having declared dutiable goods.
In one embodiment, each block chain node in block chain network is stored with electronic bill and issues condition, electronics Bill issues condition for controlling the electronic bill issue behavior carried out based on block chain network;Electronic bill issues condition more New step includes: that electronic bill management server queries are when in an abnormal state to state of paying taxes corresponding with the side's of declaring dutiable goods mark, The update side of declaring dutiable goods identifies corresponding electronic bill and issues condition;Electronic bill management server issues updated electronic bill The condition block chain node being uploaded in block chain network corresponding with the side's of declaring dutiable goods mark.
Above-mentioned computer equipment, after receiving and declaring dutiable goods request, the side of declaring dutiable goods in the request that can be declared dutiable goods according to this identify from Corresponding electronic bill is determined in local block chain node, and inquires parameter of declaring dutiable goods accordingly, declaring dutiable goods in block chain network Square block chain node can be declared dutiable goods the amount of tax to be paid based on determining electronic bill and parameter programming count of declaring dutiable goods, can also be to initiating to report The amount of tax to be paid of declaring dutiable goods is fed back in the request end of declaring dutiable goods of tax request, eliminates the workload manually calculated, receives and connect in request end of declaring dutiable goods The block chain node feeding back entered declare dutiable goods the amount of tax to be paid when, so that it may pay taxes by the amount of tax to be paid of declaring dutiable goods, without manually counting tax of declaring dutiable goods Volume improves efficiency of declaring dutiable goods.
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: receiving request of declaring dutiable goods;Request of declaring dutiable goods carries the side's of declaring dutiable goods mark Know;Determine electronic bill corresponding with the side's of declaring dutiable goods mark;It inquires and the side of declaring dutiable goods identifies associated parameter of declaring dutiable goods;According to electronic bill It declares dutiable goods accordingly the amount of tax to be paid with parametric statistics of declaring dutiable goods.
In one embodiment, request of declaring dutiable goods carries electronic bill inquiry code, and electronic bill inquiry code is according to corresponding electricity The cryptographic Hash that the billing information and bill state of sub- bill generate;When computer program is executed by processor, so that processing utensil Body executes following steps: screening and the associated electronic bill of electronic bill inquiry code from determining electronic bill;By screening Electronic bill is declared dutiable goods corresponding electronic bill as this.
In one embodiment, when computer program is executed by processor, so that processing implement body executes following steps: really Determine this corresponding declares dutiable goods the period of declaring dutiable goods;Electronic ticket corresponding with the period of declaring dutiable goods is screened from determining electronic bill According to;The electronic bill of screening is declared dutiable goods corresponding electronic bill as this
In one embodiment, determining electronic bill is that encrypted electronic bill, computer program are executed by processor When, so that processor also executes following steps: obtaining bill corresponding with electronic bill from the local side's of declaring dutiable goods block chain node Key;According to bill key pair, encrypted electronic bill is decrypted to obtain the electronic bill of plaintext.
In one embodiment, electronic bill includes the side's of making out an invoice mark and recipient's mark;Computer program is by processor When executing the step for the amount of tax to be paid of declaring dutiable goods accordingly according to electronic bill and parametric statistics of declaring dutiable goods, so that processor executes following steps: From determining electronic bill, screening has the first electronic bill identified with the matched side of making out an invoice of mark, the side of declaring dutiable goods, and sieve Selecting has the second electronic bill that matched recipient's mark is identified with the side of declaring dutiable goods;Count first amount of money of the first electronic bill with And second electronic bill second amount of money;The amount of tax to be paid of declaring dutiable goods accordingly is determined according to parameter of declaring dutiable goods, first amount of money and second amount of money.
In one embodiment, the generation step for parameter of declaring dutiable goods include: electronic bill management server obtain typing with The side of declaring dutiable goods identifies corresponding parameter of declaring dutiable goods, and initiates to the corresponding bill management side's block chain node of electronic bill management server Parameter of declaring dutiable goods is uploaded to the request of block chain network;Bill management side's block chain node carries out identity based on the request received Verifying, and after being verified, triggering is directed to the common recognition for parameter of declaring dutiable goods in block chain network, and triggering after common recognition passes through will Parameter of declaring dutiable goods and the side's of declaring dutiable goods mark associated record are in the block chain node into block chain network;Wherein, in block chain network Block chain node includes bill management side's block chain node and the side's of declaring dutiable goods block chain node.
In one embodiment, when computer program is executed by processor, so that processing implement body executes following steps: looking into It askes and the amount of tax to be paid and the corresponding government tax fillings of the side's of declaring dutiable goods mark of declaring dutiable goods;When inquiring government tax fillings, updates the side's of declaring dutiable goods mark and correspond to Pay taxes state be assessment paid;Block chain of the state corresponding record into block chain network of paying taxes that the side of declaring dutiable goods is identified and updated Node.
In one embodiment, when computer program is executed by processor, so that processing implement body executes following steps: looking into It askes and the amount of tax to be paid and the corresponding government tax fillings of the side's of declaring dutiable goods mark of declaring dutiable goods;When inquiring government tax fillings, in the bill shape of electronic bill The state of having declared dutiable goods is added in state;By electronic bill and block chain node of the state corresponding record into block chain network of having declared dutiable goods.
In one embodiment, each block chain node in block chain network is stored with electronic bill and issues condition, electronics Bill issues condition for controlling the electronic bill issue behavior carried out based on block chain network;The bill state of update is used for Electronic bill management server queries are when in an abnormal state to state of paying taxes corresponding with the side's of declaring dutiable goods mark, indicate electronic bill Management server updates the corresponding electronic bill of the side's of declaring dutiable goods mark and issues condition;Electronic bill management server is by updated electricity Sub- bill issues the condition block chain node being uploaded in block chain network corresponding with the side's of declaring dutiable goods mark.
Above-mentioned computer readable storage medium, after receiving and declaring dutiable goods request, declaring dutiable goods in the request that can be declared dutiable goods according to this Side's mark determines corresponding electronic bill from local block chain node, and inquires parameter of declaring dutiable goods accordingly, block chain network In the side's of declaring dutiable goods block chain node can be declared dutiable goods based on determining electronic bill and parameter programming count of declaring dutiable goods the amount of tax to be paid, can be with It declares dutiable goods the amount of tax to be paid to the declare dutiable goods request end feedback of declaring dutiable goods of request of initiation, the workload manually calculated is eliminated, in request termination of declaring dutiable goods Receive accessed block chain node feeding back declare dutiable goods the amount of tax to be paid when, so that it may pay taxes by the amount of tax to be paid of declaring dutiable goods, without artificial system The amount of tax to be paid of declaring dutiable goods is counted, efficiency of declaring dutiable goods is improved.
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, applied to the side's of declaring dutiable goods block chain node in block chain network, institute The method of stating includes:
It declares dutiable goods request transmitted by the request end of declaring dutiable goods for receiving the side's of declaring dutiable goods block chain node described in access;The request of declaring dutiable goods carries The side's of declaring dutiable goods mark;
Determine electronic bill corresponding with the side of declaring dutiable goods mark;Inquiry identifies associated parameter of declaring dutiable goods with the side of declaring dutiable goods;
It is declared dutiable goods accordingly the amount of tax to be paid according to the electronic bill and the parametric statistics of declaring dutiable goods;
When inquire identify corresponding government tax fillings with the declare dutiable goods amount of tax to be paid and the side of declaring dutiable goods when, then
The corresponding state of paying taxes of the mark of the side of declaring dutiable goods described in update is assessment paid, the state of paying taxes that the side of declaring dutiable goods is identified and updated Block chain node of the corresponding record into the block chain network;
The state of having declared dutiable goods is added in the bill state of the electronic bill, by electronic bill note corresponding with the state of having declared dutiable goods Record the block chain node into the block chain network.
2. the method according to claim 1, wherein the request carrying electronic bill inquiry code of declaring dutiable goods, described Electronic bill inquiry code is the cryptographic Hash generated according to the billing information and bill state of corresponding electronic bill;
The method also includes:
Screening and the associated electronic bill of electronic bill inquiry code from the determining electronic bill;
The electronic bill of screening is declared dutiable goods corresponding electronic bill as this.
3. the method according to claim 1, wherein the method also includes:
Determine this corresponding declares dutiable goods the period of declaring dutiable goods;
Electronic bill corresponding with the period of declaring dutiable goods is screened from the determining electronic bill;
The electronic bill of screening is declared dutiable goods corresponding electronic bill as this.
4. the method according to claim 1, wherein the electronic bill determined is encrypted electronic bill, The method also includes:
Bill key corresponding with the electronic bill is obtained from the side's of declaring dutiable goods block chain node described in local;
According to the bill key pair, encrypted electronic bill is decrypted to obtain the electronic bill of plaintext.
5. the method according to claim 1, wherein the electronic bill includes the side's of making out an invoice mark and recipient's mark Know;
It is described according to the electronic bill and the parametric statistics of the declaring dutiable goods amount of tax to be paid of declaring dutiable goods accordingly includes:
From determining electronic bill, screening has the first electronic ticket identified with the matched side of making out an invoice of mark, the side of declaring dutiable goods According to, and screening is with the second electronic bill for identifying matched recipient's mark with the side of declaring dutiable goods;
Count first amount of money of first electronic bill and second amount of money of second electronic bill;
The amount of tax to be paid of declaring dutiable goods accordingly is determined according to the parameter of declaring dutiable goods, first amount of money and second amount of money.
6. the method according to claim 1, wherein the generation step of the parameter of declaring dutiable goods includes:
Electronic bill management server obtains the parameter of declaring dutiable goods corresponding with the side of declaring dutiable goods mark of typing, and to the electronic ticket It initiates the parameter of declaring dutiable goods being uploaded to the block chain network according to the corresponding bill management side's block chain node of management server Request;
Bill management side's block chain node carries out authentication based on the request received, and after being verified, Triggering is directed to the common recognition of the parameter of declaring dutiable goods in block chain network, and triggers after common recognition passes through by parameter and the institute of declaring dutiable goods The side's of declaring dutiable goods mark associated record is stated in the block chain node into the block chain network;
Wherein, the block chain node in the block chain network includes bill management side's block chain node and the side of declaring dutiable goods Block chain node.
7. the method according to claim 1, wherein the generation step that the side of declaring dutiable goods identifies includes:
Registration request is initiated to electronic bill management server by the request end of declaring dutiable goods;
By the electronic bill management server according to the side's of the declaring dutiable goods identity information carried in the registration request, to the report Tax side carries out qualification verification;When passed the verification, the side of declaring dutiable goods corresponding with the side of declaring dutiable goods mark is generated;
The side of declaring dutiable goods mark is back to the request end of declaring dutiable goods by the electronic bill management server.
8. the method according to claim 1, wherein the method also includes:
The amount of tax to be paid of declaring dutiable goods is recorded in the block chain node into the block chain network, so that in the block chain network Bill management side's block chain node receive it is described declare dutiable goods the amount of tax to be paid when, the amount of tax to be paid of declaring dutiable goods is fed back into the access bill management The electronic bill management server of square block chain node is declared dutiable goods the amount of tax to be paid pair by the electronic bill management server according to The corresponding side of declaring dutiable goods of the side's of declaring dutiable goods mark carries out button tax processing.
9. method according to any one of claims 1 to 8, which is characterized in that each block chain in the block chain network Node is stored with electronic bill and issues condition, the electronic bill issue condition for control based on block chain network progress Electronic bill issue behavior;The update step that the electronic bill issues condition includes:
Electronic bill management server queries are when in an abnormal state to state of paying taxes corresponding with the side of declaring dutiable goods mark, update The side of declaring dutiable goods identifies corresponding electronic bill and issues condition;
Updated electronic bill is issued condition and the corresponding upload of the side of declaring dutiable goods mark by the electronic bill management server To the block chain node in the block chain network.
10. a kind of data processing equipment about electronic bill, applied to the side's of declaring dutiable goods block chain node in block chain network, institute Stating device includes:
Receiving module, for receiving request of declaring dutiable goods transmitted by the request end of declaring dutiable goods of the side's of declaring dutiable goods block chain node described in access;Institute It states request of declaring dutiable goods and carries the side's of declaring dutiable goods mark;
Determining module, for determining electronic bill corresponding with the side of declaring dutiable goods mark;
Enquiry module identifies associated parameter of declaring dutiable goods with the side of declaring dutiable goods for inquiring;
Statistical module, for being declared dutiable goods accordingly the amount of tax to be paid according to the electronic bill and the parametric statistics of declaring dutiable goods;
State update module, for when inquire identify corresponding government tax fillings with the declare dutiable goods amount of tax to be paid and the side of declaring dutiable goods when, The corresponding state of paying taxes of the side's of declaring dutiable goods mark described in then updating is assessment paid, the state pair of paying taxes that the side of declaring dutiable goods is identified and updated The block chain node into the block chain network should be recorded;Shape of having declared dutiable goods is added in the bill state of the electronic bill State, by the electronic bill and block chain node of the state corresponding record into the block chain network of having declared dutiable goods.
11. device according to claim 10, which is characterized in that the request of declaring dutiable goods carries electronic bill inquiry code, institute Stating electronic bill inquiry code is the cryptographic Hash generated according to the billing information and bill state of corresponding electronic bill;
Described device further include: electronic bill screening module, for the screening from the determining electronic bill and the electronics The associated electronic bill of bill inquiry code;
The determining module is also used to declare dutiable goods the electronic bill of screening corresponding electronic bill as this.
12. device according to claim 10, which is characterized in that the electronic bill includes the side's of making out an invoice mark and recipient Mark;The statistical module is also used to from determining electronic bill, and screening, which has, identifies matched make out an invoice with the side of declaring dutiable goods The first electronic bill just identified, and screening have the second electronic ticket that matched recipient's mark is identified with the side of declaring dutiable goods According to;Count first amount of money of first electronic bill and second amount of money of second electronic bill;It is declared dutiable goods according to described Parameter, first amount of money and second amount of money determine the amount of tax to be paid of declaring dutiable goods accordingly.
13. device according to claim 10, which is characterized in that described device further includes amount of tax to be paid logging modle of declaring dutiable goods, and is used In recording the amount of tax to be paid of declaring dutiable goods in the block chain node into the block chain network, so that the ticket in the block chain network According to manager's block chain node receive it is described declare dutiable goods the amount of tax to be paid when, the amount of tax to be paid of declaring dutiable goods is fed back into the access bill management side The electronic bill management server of block chain node declares dutiable goods the amount of tax to be paid to institute by the electronic bill management server according to It states the corresponding side of declaring dutiable goods of the side's of declaring dutiable goods mark and carries out button tax processing.
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.
CN201910684115.XA 2018-08-20 2018-08-20 About the data processing method of electronic bill, device, storage medium and equipment Pending CN110400143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910684115.XA CN110400143A (en) 2018-08-20 2018-08-20 About the data processing method of electronic bill, device, storage medium and equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910684115.XA CN110400143A (en) 2018-08-20 2018-08-20 About the data processing method of electronic bill, device, storage medium and equipment
CN201810946810.4A CN109165943B (en) 2018-08-20 2018-08-20 Data processing method, device, storage medium and equipment for electronic bill

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810946810.4A Division CN109165943B (en) 2018-08-20 2018-08-20 Data processing method, device, storage medium and equipment for electronic bill

Publications (1)

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

Family

ID=64896103

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810946810.4A Active CN109165943B (en) 2018-08-20 2018-08-20 Data processing method, device, storage medium and equipment for electronic bill
CN201910684115.XA Pending CN110400143A (en) 2018-08-20 2018-08-20 About the data processing method of electronic bill, device, storage medium and equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810946810.4A Active CN109165943B (en) 2018-08-20 2018-08-20 Data processing method, device, storage medium and equipment for electronic bill

Country Status (1)

Country Link
CN (2) CN109165943B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125773A (en) * 2019-12-31 2020-05-08 卓尔智联(武汉)研究院有限公司 Method, device, equipment and medium for processing customs declaration information based on block chain
CN111415238A (en) * 2020-04-24 2020-07-14 深圳前海星际同辉科技有限公司 Tax management method and device based on block chain and computer storage medium
TWI720761B (en) * 2019-12-25 2021-03-01 帳聯網路科技股份有限公司 Trading system for integrating stock transferring and tax filing and method thereof
CN113570350A (en) * 2021-06-11 2021-10-29 交通银行股份有限公司 Bill digital interaction system and method based on block chain

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109859024B (en) * 2019-01-23 2023-06-13 陕西优米数据技术有限公司 Tax system consensus method based on alliance chain
CN109919745A (en) * 2019-01-28 2019-06-21 航天信息股份有限公司 A kind of electronic invoice transmitting state management-control method and system
CN109636427B (en) 2019-01-29 2024-03-01 深圳市智税链科技有限公司 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
CN110223127A (en) * 2019-05-20 2019-09-10 深圳壹账通智能科技有限公司 Bill data backing method and system
CN111914023A (en) * 2019-07-31 2020-11-10 创新先进技术有限公司 Bill management method and device based on block chain and electronic equipment
US10956903B2 (en) 2019-07-31 2021-03-23 Advanced New Technologies Co., Ltd. Obtaining a blockchain-based, real-name, electronic bill
CN110634056A (en) * 2019-08-02 2019-12-31 广东工业大学 System and method for calculating personal acquired tax amount based on block chain
CN110599276B (en) * 2019-08-08 2021-07-06 腾讯科技(深圳)有限公司 Bill reimbursement method, device and equipment and computer storage medium
CN110347447B (en) * 2019-08-16 2023-04-25 云帐房网络科技有限公司 Tax return environment batch management method and system
CN110597915A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Processing method, device, terminal and storage medium for electronic invoice tax declaration
CN111260421B (en) * 2020-02-11 2023-07-18 中国银联股份有限公司 Electronic invoice management and control method and device based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2016100178A4 (en) * 2016-02-17 2016-03-24 Terry, Gary McAlister MR New stock/share/bond innovation using principle mined cryptographic currency/digital mining assets/commodities which secondary mine for stock/share/bond holders on/using the Blockchain/any chain/shared ledger on a cryptographic currency/digital mining assets/commodities exchange.
CN106355488A (en) * 2016-09-28 2017-01-25 深圳市喜悦智慧数据有限公司 Tax control method and system based on credit investigation
CN107369008A (en) * 2017-07-17 2017-11-21 北京京东金融科技控股有限公司 For improving management method, the apparatus and system of bill business security
CN108288222A (en) * 2018-03-05 2018-07-17 数字乾元科技有限公司 Property tax processing system and method based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002373226A (en) * 2001-06-14 2002-12-26 Hitachi Ltd Electronic declaration system and payment processing system linked with the same
CN107451874A (en) * 2017-07-27 2017-12-08 武汉天喻信息产业股份有限公司 Electronic invoice integrated conduct method and system based on block chain
CN108305106A (en) * 2018-01-31 2018-07-20 复旦大学 A kind of electronic invoice register method based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2016100178A4 (en) * 2016-02-17 2016-03-24 Terry, Gary McAlister MR New stock/share/bond innovation using principle mined cryptographic currency/digital mining assets/commodities which secondary mine for stock/share/bond holders on/using the Blockchain/any chain/shared ledger on a cryptographic currency/digital mining assets/commodities exchange.
CN106355488A (en) * 2016-09-28 2017-01-25 深圳市喜悦智慧数据有限公司 Tax control method and system based on credit investigation
CN107369008A (en) * 2017-07-17 2017-11-21 北京京东金融科技控股有限公司 For improving management method, the apparatus and system of bill business security
CN108288222A (en) * 2018-03-05 2018-07-17 数字乾元科技有限公司 Property tax processing system and method based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杜莉 等: "应用区块链技术推动我国增值税征管创新机制分析和方案设计", 《税务研究》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI720761B (en) * 2019-12-25 2021-03-01 帳聯網路科技股份有限公司 Trading system for integrating stock transferring and tax filing and method thereof
CN111125773A (en) * 2019-12-31 2020-05-08 卓尔智联(武汉)研究院有限公司 Method, device, equipment and medium for processing customs declaration information based on block chain
CN111125773B (en) * 2019-12-31 2022-08-02 卓尔智联(武汉)研究院有限公司 Method, device, equipment and medium for processing customs declaration information based on block chain
CN111415238A (en) * 2020-04-24 2020-07-14 深圳前海星际同辉科技有限公司 Tax management method and device based on block chain and computer storage medium
CN113570350A (en) * 2021-06-11 2021-10-29 交通银行股份有限公司 Bill digital interaction system and method based on block chain

Also Published As

Publication number Publication date
CN109165943A (en) 2019-01-08
CN109165943B (en) 2023-01-03

Similar Documents

Publication Publication Date Title
CN110400143A (en) About the data processing method of electronic bill, device, storage medium and equipment
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
CN110599181B (en) Data processing method, device and equipment based on block chain and storage medium
CN110400131A (en) About the data processing method of electronic bill, device, storage medium and equipment
DE102017204536B3 (en) Issuing virtual documents in a blockchain
CN109191219B (en) Data processing method, device, storage medium and equipment for electronic bill
CN109255084B (en) Electronic bill query method, device, storage medium and computer equipment
CN110428293B (en) Data processing method, device, storage medium and equipment for electronic bill
US10142347B2 (en) System for centralized control of secure access to process data network
CN109191272B (en) Data processing method, device, storage medium and equipment for electronic bill
CN110599266B (en) Electronic bill data processing method and device, computer equipment and storage medium
CN115004628A (en) System, apparatus and method for identifying and securely storing distinguishing traits in a distributed ledger based on replaceable and non-replaceable tokens within a distributed ledger based network
CN112037068B (en) Resource transfer method, system, device, computer equipment and storage medium
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
CN110378755A (en) Electronic invoice generation method, device, computer equipment and storage medium
CN112100635B (en) Law enforcement return system and method based on intelligent contract and workflow architecture
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
CN113221191B (en) Block chain-based data evidence storage method, device, equipment and storage medium
CN110020900A (en) Invoice based on block chain rushes red method and device and electronic equipment
CN108133415A (en) A kind of electronics authority method of charging out, device and system
CN110851877A (en) Data processing method and device, block chain node point equipment and storage medium
CN113065868A (en) Supply chain enterprise financial digital identity management method and system, equipment and medium

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

Country of ref document: HK