Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Methods for generating and verifying two-dimension code of invoice

A verification method and two-dimensional code technology, applied in the field of bill anti-counterfeiting, can solve the problem of difficult application of two-dimensional code, and achieve the effect of ensuring authenticity

Active Publication Date: 2015-06-03
AEROSPACE INFORMATION
View PDF11 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the prior art, the information contained in the two-dimensional code has not been encrypted, and the counterfeiter can read the information contained in the two-dimensional code as long as he has a corresponding two-dimensional code reading device, so that according to the information contained in the two-dimensional code In this way, the two-dimensional code is difficult to apply in some occasions with confidentiality requirements and anti-counterfeiting requirements

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Methods for generating and verifying two-dimension code of invoice
  • Methods for generating and verifying two-dimension code of invoice

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0030] The invoice two-dimensional code generation method provided by the present invention can be used for manufacturers to provide users with anti-counterfeiting invoices when selling products, figure 1 It is a flowchart of a method for generating a two-dimensional code for an invoice according to an embodiment of the present invention. As shown in the figure, the method includes the following steps:

[0031] S110: Calculate the maximum amount of data that c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses methods for generating and verifying a two-dimension code of an invoice. The method for generating the two-dimension code of the invoice comprises the following steps of: calculating a maximum data size which can be stored by the two-dimension code of the invoice; extracting the key information of the invoice according to the maximum data size, and generating an identity code of the invoice; encrypting the identity code of the invoice to generate a cryptograph of the two-dimension code; generating the two-dimension code of the invoice according to the cryptograph of the two-dimension code. The method for verifying the two-dimension code of the invoice comprises the following steps of: scanning the two-dimension code of the invoice; extracting the cryptograph of the two-dimension code; decrypting the cryptograph of the two-dimension code, and acquiring the identity code of the invoice; decoding the identity code of the invoice, and acquiring the key information of the invoice; checking the key information of the invoice with information on a paper invoice one piece by one piece, wherein the condition that the invoice is an authentic invoice is proved if all pieces of information are consistent. The two-dimension code, generated by using the method for generating the two-dimension code of the invoice, of the invoice has an anti-counterfeiting function, the authenticity of the invoice is guaranteed, the methods for generating and verifying the two-dimension code of the invoice are applicable to an occasion with secrecy and anti-counterfeiting requirements, a means of verifying the authenticity of the invoice in an off-line manner is provided simultaneously, and the counterfeiting phenomenon of the invoice can be effectively fought.

Description

technical field [0001] The invention relates to the field of bill anti-counterfeiting, in particular to a method for generating and verifying a two-dimensional code of an invoice. Background technique [0002] At present, the promotion of online invoices across the country is in full swing. In order to realize the anti-counterfeiting and inspection of online invoices, it is necessary to print the invoice QR code on the paper invoice, and the taxpayer can scan the QR code to check the authenticity of the invoice. [0003] The two-dimensional code has the following characteristics: (1) high-density coding, large information capacity, about dozens of times higher than ordinary barcode information; (2) wide coding range, two-dimensional code can include pictures, sounds, text (including multiple languages), signatures, fingerprints, etc.; (3) strong error tolerance and error correction function, when the two-dimensional code is partially damaged due to perforation, defacement, e...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06K17/00
Inventor 连俊张玉魁尹春天龚勇浩王晓宇贾希强李泽然
Owner AEROSPACE INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products