CN108830600A - A kind of electronic invoice system and implementation method based on block chain - Google Patents

A kind of electronic invoice system and implementation method based on block chain Download PDF

Info

Publication number
CN108830600A
CN108830600A CN201810632013.9A CN201810632013A CN108830600A CN 108830600 A CN108830600 A CN 108830600A CN 201810632013 A CN201810632013 A CN 201810632013A CN 108830600 A CN108830600 A CN 108830600A
Authority
CN
China
Prior art keywords
invoice
block chain
taxes
information
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810632013.9A
Other languages
Chinese (zh)
Other versions
CN108830600B (en
Inventor
何贵清
陶文华
林大海
刘松光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FORESEE TECHNOLOGY Co Ltd
Original Assignee
FORESEE 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 FORESEE TECHNOLOGY Co Ltd filed Critical FORESEE TECHNOLOGY Co Ltd
Priority to CN201810632013.9A priority Critical patent/CN108830600B/en
Publication of CN108830600A publication Critical patent/CN108830600A/en
Application granted granted Critical
Publication of CN108830600B publication Critical patent/CN108830600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A kind of electronic invoice system and implementation method based on block chain, the method includes:(S1) it applies for registration of:Tax local side generates private key according to user demand of paying taxes on the block catenary system, and generates public key and address by private key generated;(S2) private key is returned:The user that pays taxes can pass through public key, private key carries out authentication or decryption according to the invoice of the address lookup oneself of tax local side generation;(S3) invoice neck purchase:Block catenary system is written in the invoice surplus for the user that pays taxes by the tax local side, and returns to invoice surplus to the user terminal of paying taxes;(S4) invoice issuing:The user terminal typing invoice data of paying taxes, and the data of institute's typing are encrypted, encrypted data are then uploaded into the region catenary system;(S5) invoice is inquired:Invoice information is inquired according to the address of the user terminal of paying taxes and private key.The present invention has the advantage that:Mutual reliability is high, data can not be distorted, dates back, be interconnected, distributed storage, decentralization etc..

Description

A kind of electronic invoice system and implementation method based on block chain
Technical field
The present invention relates to tax electronic invoice technical fields, and relate more specifically to a kind of electronic invoice based on block chain System and implementation method.
Background technique
Electronic invoice is the product of information age, the same with common invoice, using the form of tax bureau's unified payment to quotient Family uses, and invoice number is distributed to businessman, had on electronic invoice using national Unified coding using unified anti-counterfeiting technology The signature mechanism of electronic tax office.For a long time, existing electronic invoice system has the following problems:
(1) convergence of taxpayer issues electronic invoice data is stored in third-party platform, and third-party platform provider can be with All invoice datas of user in access platform, the storage of third-party service platform data, administrative standard are lack of standardization, electronic invoice number According to the risk that there is leakage be illegally used.(2) standards such as electronic invoice data transmission, storage are lack of standardization.(3) third party takes Being engaged in, quotient is numerous, and the entrance of different electronic invoice service platforms is different, and drawee party, which obtains invoice difficulty taxpayer, can not pass through system One inquiring and authenticating entrance carries out invoice inquiry printing, and the invoice that drawee party obtains cross-platform can not collect.(4) the national tax is total The not stored PDF layout files of office, is individually stored, there are information islands by each third party's bottle body.(5) electronic invoice layout files Examination and downloading can not provide authority unified approach.(6) electronic invoice layout files is because it repeats copy, repeats The characteristics of submission, to enterprise reimbursement management, keep accounts management and archive management brings new problem.
Summary of the invention
In view of the deficiencies of the prior art, the present invention discloses a kind of electronic invoice system and implementation method based on block chain, Can efficiently solve conditional electronic invoice system face issue, transmit, checking, submit an expense account keep accounts present in data safety wind Danger and problem of management.The present invention has had the advantage that:Mutual reliability is high, data can not be distorted, dates back, be interconnected, Distributed storage, decentralization etc..
The present invention uses following technical scheme:A kind of electronic invoice system based on block chain, including user terminal of paying taxes, tax Business local side, block catenary system and block chain network;Wherein the block catenary system includes gradually increasing in such a way that chain is raw Block chain node, the block chain node are connected in chain-type, and the block chain node is by user terminal and the tax of paying taxes The data information of each adjacent node is published to area in the relevant information of business local side interaction and at least one target adjacent node In block chain network, the data information includes key information and address information;
The block chain network includes pay taxes user node, tax bureau's node, response node and information recognition node, described Pay taxes user terminal and tax local side by the block chain network in the enterprising row information interaction of the block catenary system, wherein described User node of paying taxes transmits the data information of tax bureau's node, response node feedback institute by the block chain network The information that tax bureau's node is issued to the user node of paying taxes is stated, user node of paying taxes described in the information recognition node conversion With the information of tax bureau's node, enables and described pay taxes user terminal and tax local side identifies mutual information.
Further, the block catenary system further includes block chain underlying platform, and the block chain underlying platform uses Any one in Hyperledger block chain technology platform or ether mill block chain underlying platform.
Further, the Hyperledger block chain technology platform is the super account book technology of Linux foundation open source Platform.
A kind of electronic invoice implementation method based on block chain, includes the following steps:
(S1) user that pays taxes applies for registration of to the tax local side:Tax local side is according to user demand of paying taxes in the block Private key is generated on catenary system, and public key and address are generated by private key generated;
(S2) tax local side returns to private key to the user that pays taxes:The ground that the user that pays taxes can generate according to the tax local side The invoice of oneself is inquired in location, carries out authentication or decryption by public key, private key;
(S3) invoice neck purchase:Block catenary system is written in the invoice surplus of the user that pays taxes by the tax local side, and to described User terminal of paying taxes returns to invoice surplus;
(S4) invoice issuing:The user terminal typing invoice data of paying taxes, and the data of institute's typing are encrypted, then Encrypted data are uploaded into the region catenary system;
(S5) invoice is inquired:Invoice information is inquired according to the address of the user terminal of paying taxes and private key.
Further, tax local side described in the step (S1) is also connected with CA server, and the tax local side passes through The CA server authorization e-digital certificate.
Further, the method that private key and public key are generated in the step (S1) is that the elliptic curve based on Encryption Algorithm adds Close algorithm, the specific method is as follows:
(S11) private key is formed by random algorithm;Be randomly chosen 256 bit digitals, and to selected data according to The random entropy source of SHA256 algorithms selection is identified, if private key is enabled to use if private key is enabled to show 64 bit digitals using hexadecimal Bitcoin shows private key, then is identified using dumpprivkey;
(S12) public key is formed by private key according to oval algorithm;The formula that the private key generates the public key is K=k*G k For private key, G is discrete constant point, and K is public key;
(S13) address for user demand information of paying taxes is formed according to public key;The public key address for user demand information of paying taxes is With 1 beginning, A=RIPEMD160 (SHA256 (K)), wherein K is public key, and A is the address of user demand information of paying taxes, describedly Location is formed as the address of 20 bytes by Base58.
Further, the method for invoice that user terminal inquires oneself of paying taxes described in the step (S2) is:Pay taxes user Account on the block catenary system is logged in by the user terminal of paying taxes, user node reception of paying taxes described in the user that pays taxes utilization The block chain network transmits the data information of tax bureau's node, identifies the tax bureau by the information recognition node The data information of node obtains the information of the tax local side publication.
Further, the block chain is written in the invoice surplus for the user that pays taxes by tax local side described in the step (S3) The method of system is:Tax local side account on the block catenary system is logged in, tax bureau's node passes through the area Domain chain network obtains the invoice balance information for the user that pays taxes, and identifies the invoice balance information by the information recognition node, The information of the tax local side after recognition signs electronically, and then issues the information after signature in the block catenary system On, the block catenary system sends signing messages to other block chain nodes by the block node of itself.
Further, include the step of typing invoice data in the step (S4):
(S41) invoice content information is generated into electronic invoice information;
(S42) the electronic invoice information is generated into PDF format;
(S43) in the generation random cipher;
(S44) random cipher encryption data;
(S44) invoice data is encrypted with random cipher;
(S45) with tax local side and user terminal public key encryption random cipher of paying taxes;
(S46) it pays taxes user terminal address described in inquiry, invoice ciphertext and code key ciphertext is placed on the block catenary system On the address of middle tax local side and user terminal of paying taxes.
Further, the method for invoice inquiry is in the step (S5):The first block chain according to oneself of the user that pays taxes One's own invoice data is inquired in location, the plaintext of random key is then parsed according to private key, further according to random key The plaintext of invoice is parsed, to obtain invoice data.
Positive beneficial effect:
The present invention can efficiently solve conditional electronic invoice system face issue, transmit, checking, submit an expense account keep accounts in deposit Data safety risk and problem of management, the mutual reliability of the present invention is high, data can not be distorted, dates back, be interconnected, Distributed storage, decentralization etc. effectively apply to electronic invoice business, are mainly reflected in the following:
1. confirming the unique digital identity of taxpayer by the cipher key technique in block chain;
2. passing through the Encryption Algorithm in block chain, it is ensured that invoice data content is not leaked and illegally utilizes;
3. providing safe and reliable mutual trust channel by block chain, data silo is solved the problems, such as;
4. the data by block chain can not distort characteristic, it is ensured that authenticity, the integrality of invoice data;
5. passing through the technologies such as the zero-knowledge proof in block chain, the true and false verification service of invoice is provided;
6. the needs of passing through the dates back characteristic of block chain, meeting business supervision and examine;
7. file distributed storage on block chain, avoids single-point problem, it is ensured that data " are never lost ".
Detailed description of the invention
Fig. 1 is overall structure operation schematic diagram of the invention;
The structural schematic diagram that Fig. 2 applies for registration of for the user that pays taxes in the present invention to tax local side;
Fig. 3 carries out the structural schematic diagram of invoice neck purchase for the user that pays taxes in the present invention;
Fig. 4 is the structural schematic diagram of invoice issuing in the present invention;
Fig. 5 is the structural schematic diagram of invoice inquiry in the present invention;
Fig. 6 is the work flow diagram of implementation method of the present invention;
Fig. 7 is the method flow diagram that the present invention generates private key and public key.
Specific embodiment
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that embodiment described herein Only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
As shown in Figure 1, a kind of electronic invoice system based on block chain, including user terminal of paying taxes, tax local side, block chain System and block chain network;Wherein the block catenary system includes the block chain node gradually increased in such a way that chain is raw, institute It states block chain node to connect in chain-type, the phase that the block chain node interacts pay taxes user terminal and the tax local side The data information of each adjacent node is published in block chain network in the information of pass and at least one target adjacent node, described Data information includes key information and address information;
The block chain network includes pay taxes user node, tax bureau's node, response node and information recognition node, described Pay taxes user terminal and tax local side by the block chain network in the enterprising row information interaction of the block catenary system, wherein described User node of paying taxes transmits the data information of tax bureau's node, response node feedback institute by the block chain network The information that tax bureau's node is issued to the user node of paying taxes is stated, user node of paying taxes described in the information recognition node conversion With the information of tax bureau's node, enables and described pay taxes user terminal and tax local side identifies mutual information.
In the present invention, the block catenary system further includes block chain underlying platform, and the block chain underlying platform uses Any one in Hyperledger block chain technology platform or ether mill block chain underlying platform.Further, described Hyperledger block chain technology platform is the super account book technology platform of Linux foundation open source.
As shown in fig. 6, a kind of electronic invoice implementation method based on block chain, includes the following steps:
(S1) user that pays taxes applies for registration of to the tax local side:Tax local side is according to user demand of paying taxes in the block Private key is generated on catenary system, and public key and address are generated by private key generated;
(S2) tax local side returns to private key to the user that pays taxes:The ground that the user that pays taxes can generate according to the tax local side The invoice of oneself is inquired in location, carries out authentication or decryption by public key, private key;
(S3) invoice neck purchase:Block catenary system is written in the invoice surplus of the user that pays taxes by the tax local side, and to described User terminal of paying taxes returns to invoice surplus;
(S4) invoice issuing:The user terminal typing invoice data of paying taxes, and the data of institute's typing are encrypted, then Encrypted data are uploaded into the region catenary system;
(S5) invoice is inquired:Invoice information is inquired according to the address of the user terminal of paying taxes and private key.
In conjunction with above-mentioned steps, implementation method of the present invention is described further below.
For step (S1) and (S2):
As shown in Fig. 2, tax local side described in the step (S1) is also connected with CA server, the tax local side passes through The CA server authorization e-digital certificate.Wherein in step (S1), when user registration of paying taxes, tax local side generates private Key, and public key and address are generated by private key, address is for storing the invoice paid taxes user on block catenary system and inventory's letter Breath, public key is for verifying pay taxes user's (in a particular embodiment, usually enterprise) identity or encryption data, and private key is for encrypting Authentication information or ciphertext data, the user for only possessing private key can just check corresponding clear data.Tax local side can be private Key is supplied to the user that pays taxes, and since private key only has tax local side and user terminal of paying taxes to possess, only tax local side or pays taxes User terminal can check the invoice data on block chain, even if all other men take the data on block chain, can not also decrypt Invoice plaintext out.Only tax bureau's node can be required to have Account Registration permission.
Further, private key is generated as shown in fig. 7, in step (S1), in the step (S1) and the method for public key is Elliptic curve encryption algorithm based on Encryption Algorithm, the specific method is as follows:
(S11) private key is formed by random algorithm;Be randomly chosen 256 bit digitals, and to selected data according to The random entropy source of SHA256 algorithms selection is identified, if private key is enabled to use if private key is enabled to show 64 bit digitals using hexadecimal Bitcoin shows private key, then is identified, can be selected according to user demand using dumpprivkey.
In cryptographic technique, random sequence is very important, such as key generation, digital signature, authentication and crowd More cryptography agreement etc. will use random sequence.So generating the random number sequence of high quality has the safety of information Highly important effect, the present invention, which forms private key by random algorithm, has good confidentiality.
(S12) public key is formed by private key according to oval algorithm;The formula that the private key generates the public key is K=k*G k For private key, G is discrete constant point, and K is public key.
(S13) address for user demand information of paying taxes is formed according to public key;The public key address for user demand information of paying taxes is With 1 beginning, A=RIPEMD160 (SHA256 (K)), wherein K is public key, and A is the address of user demand information of paying taxes, describedly Location is formed as the address of 20 bytes by Base58.
In step (S2), the method for the invoice that user terminal inquires oneself of paying taxes described in the step (S2) is:It pays taxes User logs in account on the block catenary system by the user terminal of paying taxes, user node of paying taxes described in the user that pays taxes utilization The data information that the block chain network transmits tax bureau's node is received, the tax is identified by the information recognition node The data information of business office node obtains the information of the tax local side publication.
For step (S3):
As shown in figure 3, the user that pays taxes leads purchase a/d, block chain is also written in corresponding invoice surplus, is used for invoice number It is verified when according to cochain.Wherein the area is written in the invoice surplus for the user that pays taxes by tax local side described in the step (S3) The method of block catenary system is:Tax local side account on the block catenary system is logged in, tax bureau's node passes through institute The invoice balance information that region chain network obtains the user that pays taxes is stated, identifies that the invoice surplus is believed by the information recognition node Breath, the information of the tax local side after recognition sign electronically, and then issue the information after signature in the block chain In system, the block catenary system sends signing messages to other block chain nodes by the block node of itself.
For step (S4):
As shown in figure 4, data can be encrypted with key immediately after user's typing invoice data of paying taxes, and with drawer and by The public key of ticket people encrypts key immediately, finally the ciphertext of invoice and key is uploaded to together block chain, due to only making out an invoice The private key of people and drawee can just parse key immediately, it is then ensured that only drawer and drawee can just take invoice Clear data, it is ensured that the safety of data.There is invoice inventory information on block chain, by the verification to inventory information, Can ensure that the invoice codes of enterprise and invoice number is really be it is effective, prevent the generation of junk data.The wherein step (S4) the step of typing invoice data, includes in:
(S41) invoice content information is generated into electronic invoice information;
(S42) the electronic invoice information is generated into PDF format;
(S43) in the generation random cipher;
(S44) random cipher encryption data;
(S44) invoice data is encrypted with random cipher;
(S45) with tax local side and user terminal public key encryption random cipher of paying taxes;
(S46) it pays taxes user terminal address described in inquiry, invoice ciphertext and code key ciphertext is placed on the block catenary system On the address of middle tax local side and user terminal of paying taxes.
For step (S5):
As shown in figure 5, first being inquired according to the block chain address of oneself one's own when the user that pays taxes carries out invoice inquiry Then invoice data parses the plaintext of random key according to private key, the plaintext of invoice can be parsed according to random key, from And invoice data is obtained, if invoice clear data can not be parsed taking ciphertext without private key, it is ensured that the invoice number It can be checked according to the only side of making out an invoice, drawee party, tax office tripartite, all other men facilitate tax because can not check without private key Business office carries out data supervision.Wherein the method for invoice inquiry is in the step (S5):The user that pays taxes is first according to the block of oneself Chain address inquires one's own invoice data, the plaintext of random key is then parsed according to private key, further according to random key The plaintext of invoice can be parsed, to obtain invoice data.
The present invention can efficiently solve conditional electronic invoice system face issue, transmit, checking, submit an expense account keep accounts in deposit Data safety risk and problem of management, the mutual reliability of the present invention is high, data can not be distorted, dates back, be interconnected, Distributed storage, decentralization etc. effectively apply to electronic invoice business.
Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that these Specific embodiment is merely illustrative of, those skilled in the art in the case where not departing from the principle and substance of the present invention, Various omissions, substitutions and changes can be carried out to the details of the above method and system.For example, merge above method step, thus Substantially identical function is executed according to substantially identical method to realize that substantially identical result then belongs to the scope of the present invention.Cause This, the scope of the present invention is only limited by the claims that follow.

Claims (10)

1. a kind of electronic invoice system based on block chain, it is characterised in that:Including user terminal of paying taxes, tax local side, block chain System and block chain network;
Wherein the block catenary system includes the block chain node gradually increased in such a way that chain is raw, and the block chain node is in Chain-type connection, the block chain node is by the relevant information and extremely of the pay taxes user terminal and tax local side interaction The data information of each adjacent node is published in block chain network in a few target adjacent node, and the data information includes secret Key information and address information;
The block chain network includes pay taxes user node, tax bureau's node, response node and information recognition node, described to pay taxes User terminal and tax local side are interactive in the enterprising row information of the block catenary system by the block chain network, wherein described pay taxes User node transmits the data information of tax bureau's node, tax described in the response node feedback by the block chain network The information that business office node is issued to the user node of paying taxes, pay taxes described in the information recognition node conversion user node and institute The information for stating tax bureau's node enables and described pays taxes user terminal and tax local side identifies mutual information.
2. a kind of electronic invoice system based on block chain according to claim 1, it is characterised in that:The block linkwork System further includes block chain underlying platform, and the block chain underlying platform uses Hyperledger block chain technology platform or ether Any one in the block chain underlying platform of mill.
3. a kind of electronic invoice system based on block chain according to claim 2, it is characterised in that:It is described Hyperledger block chain technology platform is the super account book technology platform of Linux foundation open source.
4. a kind of electronic invoice implementation method based on block chain, it is characterised in that:Include the following steps:
(S1) user that pays taxes applies for registration of to the tax local side:Tax local side is according to user demand of paying taxes in the block linkwork Private key is generated on system, and public key and address are generated by private key generated;
(S2) tax local side returns to private key to the user that pays taxes:The user that pays taxes can look into according to the address that the tax local side generates The invoice for asking oneself carries out authentication or decryption by public key, private key;
(S3) invoice neck purchase:Block catenary system is written in the invoice surplus for the user that pays taxes by the tax local side, and is paid taxes to described User terminal returns to invoice surplus;
(S4) invoice issuing:The user terminal typing invoice data of paying taxes, and the data of institute's typing are encrypted, will then it add Data after close upload the region catenary system;
(S5) invoice is inquired:Invoice information is inquired according to the address of the user terminal of paying taxes and private key.
5. a kind of electronic invoice implementation method based on block chain according to claim 1 or 4, it is characterised in that:It is described Tax local side described in step (S1) is also connected with CA server, and the tax local side passes through the CA server authorization electron number Word certificate.
6. a kind of electronic invoice implementation method based on block chain according to claim 4, it is characterised in that:The step (S1) method that private key and public key are generated in is the elliptic curve encryption algorithm based on Encryption Algorithm, and the specific method is as follows:
(S11) private key is formed by random algorithm;256 bit digitals are randomly chosen, and selected data are calculated according to SHA256 Method selects random entropy source, if private key is enabled to show 64 bit digitals, is identified using hexadecimal, if enabling private key bitcoin It shows private key, is then identified using dumpprivkey;
(S12) public key is formed by private key according to oval algorithm;It is K=k*G k is private that the private key, which generates the formula of the public key, Key, G are discrete constant point, and K is public key;
(S13) address for user demand information of paying taxes is formed according to public key;The public key address for user demand information of paying taxes is opened with 1 Head, A=RIPEMD160 (SHA256 (K)), wherein K is public key, and A is the address of user demand information of paying taxes, and the address is passed through Base58 is formed as the address of 20 bytes.
7. a kind of electronic invoice implementation method based on block chain according to claim 4, it is characterised in that:The step (S2) method of invoice that user terminal inquires oneself of paying taxes described in is:The user that pays taxes logs in institute by the user terminal of paying taxes Account on block catenary system is stated, user node of paying taxes described in the user that pays taxes utilization receives the block chain network and transmits the tax The data information of office's node, the data information of tax bureau's node is identified by the information recognition node, obtains the tax The information of business local side publication.
8. a kind of electronic invoice implementation method based on block chain according to claim 4, it is characterised in that:The step (S3) method that the block catenary system is written in the invoice surplus for the user that pays taxes is by tax local side described in:Log in the tax Local side account on the block catenary system, tax bureau's node obtain the invoice for the user that pays taxes by the region chain network Balance information identifies the invoice balance information, the information of the tax local side after recognition by the information recognition node It signs electronically, then issues the information after signature on the block catenary system, the block catenary system passes through itself Block node to other block chain nodes send signing messages.
9. a kind of electronic invoice implementation method based on block chain according to claim 4, it is characterised in that:The step (S4) the step of typing invoice data, includes in:
(S41) invoice content information is generated into electronic invoice information;
(S42) the electronic invoice information is generated into PDF format;
(S43) in the generation random cipher;
(S44) random cipher encryption data;
(S44) invoice data is encrypted with random cipher;
(S45) with tax local side and user terminal public key encryption random cipher of paying taxes;
(S46) it pays taxes user terminal address described in inquiry, invoice ciphertext and code key ciphertext is placed on tax in the block catenary system On the address of business local side and user terminal of paying taxes.
10. a kind of electronic invoice implementation method based on block chain according to claim 4, it is characterised in that:The step Suddenly the method for invoice inquiry is in (S5):The user that pays taxes first inquires one's own invoice number according to the block chain address of oneself According to then parsing the plaintext of random key according to private key, the plaintext of invoice can be parsed further according to random key, to obtain Take invoice data.
CN201810632013.9A 2018-06-19 2018-06-19 Block chain-based electronic invoice system and implementation method Active CN108830600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810632013.9A CN108830600B (en) 2018-06-19 2018-06-19 Block chain-based electronic invoice system and implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810632013.9A CN108830600B (en) 2018-06-19 2018-06-19 Block chain-based electronic invoice system and implementation method

Publications (2)

Publication Number Publication Date
CN108830600A true CN108830600A (en) 2018-11-16
CN108830600B CN108830600B (en) 2022-02-18

Family

ID=64142652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810632013.9A Active CN108830600B (en) 2018-06-19 2018-06-19 Block chain-based electronic invoice system and implementation method

Country Status (1)

Country Link
CN (1) CN108830600B (en)

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636427A (en) * 2019-01-29 2019-04-16 深圳市智税链科技有限公司 Method for processing business, device, medium and electronic equipment based on block catenary system
CN109784937A (en) * 2018-12-10 2019-05-21 大象慧云信息技术有限公司 A kind of electronic invoice management method and system based on block chain
CN109859024A (en) * 2019-01-23 2019-06-07 陕西优米数据技术有限公司 A kind of tax system common recognition method based on alliance's chain
CN109889343A (en) * 2018-12-29 2019-06-14 航天信息股份有限公司 Electronic invoice circulation control method and device
CN110009435A (en) * 2018-12-25 2019-07-12 阿里巴巴集团控股有限公司 Based on the invoice method of charging out and device of block chain, electronic equipment
CN110020902A (en) * 2018-12-27 2019-07-16 阿里巴巴集团控股有限公司 Card method and access method, device, electronic equipment are deposited across chain
CN110060111A (en) * 2018-12-12 2019-07-26 阿里巴巴集团控股有限公司 Based on the invoice access method and device of block chain, electronic equipment
CN110189184A (en) * 2019-04-26 2019-08-30 深圳市智税链科技有限公司 A kind of electronic invoice storage method and device
CN110223128A (en) * 2019-05-20 2019-09-10 深圳壹账通智能科技有限公司 A kind of method and relevant apparatus of data processing
CN110443660A (en) * 2019-08-15 2019-11-12 上海天地汇供应链科技有限公司 A kind of electronic invoice device, system and implementation method based on block chain
CN110457939A (en) * 2019-07-05 2019-11-15 方欣科技有限公司 A kind of tax information safety based on block chain and inquiry system and implementation method
CN110599137A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill data processing method and device and computer equipment
CN110738471A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 bill management method based on block chain network and related equipment
CN110738536A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 data processing method, device and storage medium based on block chain network
CN110909383A (en) * 2019-11-15 2020-03-24 深圳市网心科技有限公司 Electronic invoice management method and device, electronic equipment and storage medium
CN111062059A (en) * 2019-11-06 2020-04-24 支付宝(杭州)信息技术有限公司 Method and device for service processing
CN111275274A (en) * 2018-12-03 2020-06-12 中国电信股份有限公司 Supervision management method and system
CN111311270A (en) * 2018-12-11 2020-06-19 航天信息股份有限公司 Method and device for checking electronic invoice based on block chain
CN111325585A (en) * 2020-01-17 2020-06-23 腾讯科技(深圳)有限公司 Asset transfer method, device and computer readable storage medium
CN111861686A (en) * 2020-06-12 2020-10-30 方欣科技有限公司 Finance and tax accounting method and system based on block chain
CN111882410A (en) * 2020-06-12 2020-11-03 方欣科技有限公司 Tax information query method and system based on block chain
CN112214798A (en) * 2020-11-09 2021-01-12 航天信息股份有限公司 Billing encryption method and device, electronic equipment and storage medium
CN112714095A (en) * 2019-10-25 2021-04-27 航天信息股份有限公司 Invoice management method and device based on block chain and computer equipment
CN113268767A (en) * 2021-05-19 2021-08-17 山东浪潮商用系统有限公司 Block chain-based tax-related report chain on-line evidence storage system and method
CN113496043A (en) * 2020-04-02 2021-10-12 山东浪潮质量链科技有限公司 ETC invoice management method, equipment and medium based on block chain
CN113660089A (en) * 2021-07-14 2021-11-16 方欣科技有限公司 Tax payment user identity authentication method and device based on block chain
CN113660207A (en) * 2021-07-14 2021-11-16 方欣科技有限公司 Block chain-based electronic file management method, device and system
WO2022068359A1 (en) * 2020-09-29 2022-04-07 深圳壹账通智能科技有限公司 Encryption method and apparatus for compressing ciphertext of information, and device and medium
CN114693223A (en) * 2020-12-28 2022-07-01 航天信息股份有限公司 Block chain-based electronic invoice full-life-cycle management method and management server
US11386426B2 (en) 2018-12-27 2022-07-12 Advanced New Technologies Co., Ltd. Invoice invalidation method and apparatus based on blockchain, and electronic device
CN117726385A (en) * 2024-02-07 2024-03-19 中科迅联智慧网络科技(北京)有限公司 Encryption algorithm-based electronic ticket issuing method, system, equipment and medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451874A (en) * 2017-07-27 2017-12-08 武汉天喻信息产业股份有限公司 Electronic invoice integrated conduct method and system based on block chain

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451874A (en) * 2017-07-27 2017-12-08 武汉天喻信息产业股份有限公司 Electronic invoice integrated conduct method and system based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
乔延宏: "精通比特币中文版", 《巴比特,HTTPS://WWW.8BTC.COM/BOOK/281955》 *

Cited By (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111275274A (en) * 2018-12-03 2020-06-12 中国电信股份有限公司 Supervision management method and system
CN109784937A (en) * 2018-12-10 2019-05-21 大象慧云信息技术有限公司 A kind of electronic invoice management method and system based on block chain
CN111311270A (en) * 2018-12-11 2020-06-19 航天信息股份有限公司 Method and device for checking electronic invoice based on block chain
CN110060111A (en) * 2018-12-12 2019-07-26 阿里巴巴集团控股有限公司 Based on the invoice access method and device of block chain, electronic equipment
US11934549B2 (en) 2018-12-12 2024-03-19 Advance New Technologies Co., Ltd. Invoice access method and apparatus based on blockchain, and electronic device
US11126739B2 (en) 2018-12-12 2021-09-21 Advanced New Technologies Co., Ltd. Invoice access method and apparatus based on blockchain, and electronic device
TWI717028B (en) * 2018-12-12 2021-01-21 開曼群島商創新先進技術有限公司 Block chain-based invoice taking method and device, electronic equipment
CN110009435A (en) * 2018-12-25 2019-07-12 阿里巴巴集团控股有限公司 Based on the invoice method of charging out and device of block chain, electronic equipment
CN110020902A (en) * 2018-12-27 2019-07-16 阿里巴巴集团控股有限公司 Card method and access method, device, electronic equipment are deposited across chain
US11386426B2 (en) 2018-12-27 2022-07-12 Advanced New Technologies Co., Ltd. Invoice invalidation method and apparatus based on blockchain, and electronic device
CN109889343A (en) * 2018-12-29 2019-06-14 航天信息股份有限公司 Electronic invoice circulation control method and device
CN109859024A (en) * 2019-01-23 2019-06-07 陕西优米数据技术有限公司 A kind of tax system common recognition method based on alliance's chain
CN109636427B (en) * 2019-01-29 2024-03-01 深圳市智税链科技有限公司 Business processing method, device, medium and electronic equipment based on block chain system
CN109636427A (en) * 2019-01-29 2019-04-16 深圳市智税链科技有限公司 Method for processing business, device, medium and electronic equipment based on block catenary system
US11895104B2 (en) 2019-01-29 2024-02-06 Tencent Technology (Shenzhen) Company Limited Service processing method and apparatus based on blockchain system, medium and electronic device
CN110956474A (en) * 2019-01-29 2020-04-03 深圳市智税链科技有限公司 Electronic invoice system based on block chain
CN110956474B (en) * 2019-01-29 2024-02-27 深圳市智税链科技有限公司 Electronic invoice system based on block chain
CN110189184B (en) * 2019-04-26 2024-04-26 深圳市智税链科技有限公司 Electronic invoice storage method and device
CN110189184A (en) * 2019-04-26 2019-08-30 深圳市智税链科技有限公司 A kind of electronic invoice storage method and device
CN110223128A (en) * 2019-05-20 2019-09-10 深圳壹账通智能科技有限公司 A kind of method and relevant apparatus of data processing
CN110457939A (en) * 2019-07-05 2019-11-15 方欣科技有限公司 A kind of tax information safety based on block chain and inquiry system and implementation method
CN110443660A (en) * 2019-08-15 2019-11-12 上海天地汇供应链科技有限公司 A kind of electronic invoice device, system and implementation method based on block chain
CN110599137A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill data processing method and device and computer equipment
CN110599137B (en) * 2019-09-16 2024-06-11 腾讯科技(深圳)有限公司 Electronic bill data processing method and device and computer equipment
CN110738471A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 bill management method based on block chain network and related equipment
CN110738536A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 data processing method, device and storage medium based on block chain network
CN112714095A (en) * 2019-10-25 2021-04-27 航天信息股份有限公司 Invoice management method and device based on block chain and computer equipment
CN111062059B (en) * 2019-11-06 2021-05-25 支付宝(杭州)信息技术有限公司 Method and device for service processing
CN111062059A (en) * 2019-11-06 2020-04-24 支付宝(杭州)信息技术有限公司 Method and device for service processing
CN110909383A (en) * 2019-11-15 2020-03-24 深圳市网心科技有限公司 Electronic invoice management method and device, electronic equipment and storage medium
CN111325585A (en) * 2020-01-17 2020-06-23 腾讯科技(深圳)有限公司 Asset transfer method, device and computer readable storage medium
CN113496043A (en) * 2020-04-02 2021-10-12 山东浪潮质量链科技有限公司 ETC invoice management method, equipment and medium based on block chain
CN111861686A (en) * 2020-06-12 2020-10-30 方欣科技有限公司 Finance and tax accounting method and system based on block chain
CN111882410A (en) * 2020-06-12 2020-11-03 方欣科技有限公司 Tax information query method and system based on block chain
CN111861686B (en) * 2020-06-12 2024-07-09 金财互联智链研究院(青岛)有限公司 Financial accounting method and system based on blockchain
WO2022068359A1 (en) * 2020-09-29 2022-04-07 深圳壹账通智能科技有限公司 Encryption method and apparatus for compressing ciphertext of information, and device and medium
CN112214798A (en) * 2020-11-09 2021-01-12 航天信息股份有限公司 Billing encryption method and device, electronic equipment and storage medium
CN114693223A (en) * 2020-12-28 2022-07-01 航天信息股份有限公司 Block chain-based electronic invoice full-life-cycle management method and management server
CN113268767A (en) * 2021-05-19 2021-08-17 山东浪潮商用系统有限公司 Block chain-based tax-related report chain on-line evidence storage system and method
CN113660089B (en) * 2021-07-14 2024-02-06 方欣科技有限公司 Tax payment user identity authentication method and device based on blockchain
CN113660207A (en) * 2021-07-14 2021-11-16 方欣科技有限公司 Block chain-based electronic file management method, device and system
CN113660089A (en) * 2021-07-14 2021-11-16 方欣科技有限公司 Tax payment user identity authentication method and device based on block chain
CN117726385A (en) * 2024-02-07 2024-03-19 中科迅联智慧网络科技(北京)有限公司 Encryption algorithm-based electronic ticket issuing method, system, equipment and medium

Also Published As

Publication number Publication date
CN108830600B (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN108830600A (en) A kind of electronic invoice system and implementation method based on block chain
CN113014392B (en) Block chain-based digital certificate management method, system, equipment and storage medium
US6182219B1 (en) Apparatus and method for authenticating the dispatch and contents of documents
CN101247407B (en) Network authentication service system and method
CN105656920B (en) A kind of encryption and decryption method and system for posting number of packages evidence based on express delivery
CN106341493A (en) Entity rights oriented digitalized electronic contract signing method
CN109145629A (en) One kind being based on electronic bill structural data message transmissions and memory technology
CN103501229A (en) Supply chain management-based e-commerce platform safety certification system and method
CN113360861B (en) Mortgage loan oriented decentralized identity method based on repeater cross-chain
CN112905979B (en) Electronic signature authorization method and device, storage medium and electronic device
CN109981287A (en) A kind of code signature method and its storage medium
US20220020014A1 (en) Transaction mode-based electronic contract preservation system
CN110189184A (en) A kind of electronic invoice storage method and device
CN111882410A (en) Tax information query method and system based on block chain
CN109784920B (en) Transaction information auditing method and device based on blockchain
CN109889343B (en) Electronic invoice circulation control method, device and system
US20220171832A1 (en) Scalable key management for encrypting digital rights management authorization tokens
CN113761578A (en) Document true checking method based on block chain
Du et al. The applications of blockchain in the covert communication
CN111539032B (en) Electronic signature application system resistant to quantum computing disruption and implementation method thereof
CN115396096A (en) Encryption and decryption method and protection system for secret file based on national cryptographic algorithm
Buccafurri et al. Implementing advanced electronic signature by public digital identity system (SPID)
CN109635594A (en) Electronics execution of contract and the anti-counterfeit authentication method for signing process again
KR100638265B1 (en) method for secure for exchanging e-document in the internet
JP4191369B2 (en) Third party certification method for electronic distribution data

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
GR01 Patent grant
GR01 Patent grant