CN104282070B - A kind of true from false of bills verification method and checking system - Google Patents
A kind of true from false of bills verification method and checking system Download PDFInfo
- Publication number
- CN104282070B CN104282070B CN201310284692.2A CN201310284692A CN104282070B CN 104282070 B CN104282070 B CN 104282070B CN 201310284692 A CN201310284692 A CN 201310284692A CN 104282070 B CN104282070 B CN 104282070B
- Authority
- CN
- China
- Prior art keywords
- invoice
- code
- tax
- cleartext information
- dimensional bar
- 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.)
- Active
Links
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Abstract
The open a kind of true from false of bills verification method of the present invention and checking system, wherein said verification method includes: be encrypted to generate the first tax-control code to the first invoice cleartext information;First invoice cleartext information and the first tax-control code are encrypted and generates the first check code;First invoice cleartext information, the first tax-control code and the first identifying code are merged encryption and generates two-dimensional bar code data;Print to invoice nominal value;Scanning is extracted and is included in the second tax-control code in these two-dimensional bar code data and the second check code;Contrast the first tax-control code the most consistent with the second tax-control code;The the second invoice cleartext information comprised in two-dimensional bar code data and the first tax-control code being merged and generate the 3rd check code, contrast the 3rd check code is the most consistent with described second check code;It is decrypted to obtain the 3rd invoice cleartext information to the second tax-control code, contrasts described 3rd invoice cleartext information the most consistent with described second invoice cleartext information;Above comparing result is all consistent, then be accredited as true invoice.
Description
Technical field
The present invention relates to tax control security technology area, particularly to one, there is higher anti-fraud functional invoice and test
Card method and checking system.
Background technology
When enterprise issues invoice at present, it is common that ticket information and treated ciphertext are printed to simultaneously and sends out
In ticket nominal value, get a/d in consumer, by ticket information being manually entered or passing through scanning recognition
Technical limit spacing ticket information, the ticket information of acquisition and ciphertext decrypted value comparison are verified invoice by checking system
The true and false.This checking true and false mode is complex, slow, it is generally required to a large amount of manual hand manipulation's typing ticket
Surface information and private processes just can complete, it is impossible to verify papers fast and effectively, carry to consumer for this
Carry out bigger workload or evade the tax provide chance to some lawless persons.
Chinese patent application CN200910017312.2 discloses one and utilizes ticket information and tax-control code to put into
Two-dimensional bar code, by two-dimensional bar code identification technical limit spacing ticket information, ticket information is encrypted by checking system again
Method with tax-control code comparison.But, the method there is also some defects, due to the difference of cipher mode,
Different information may be encrypted to identical tax-control code, affect the safety and reliability of invoice encryption.
Summary of the invention
It is an object of the invention to overcome present in existing invoice validation technology that workload is big, safety is reliable
Property the highest shortcoming, it is provided that a kind of true from false of bills verification method rapidly and efficiently and checking system.
For reaching above-mentioned purpose, present invention firstly provides a kind of true from false of bills verification method, comprise the following steps:
Typing the first invoice cleartext information, is encrypted to generate the first tax control by this first invoice cleartext information
Code;
Described first invoice cleartext information and the first tax-control code are merged, generates first by algorithm for encryption
Check code;
Described first invoice cleartext information, the first tax-control code and the first identifying code three are merged, by two dimension
Bar code encryption generates two-dimensional bar code data;
By on described first invoice clear data, the first tax-control code and two-dimensional bar code data-printing to invoice nominal value;
Scanning obtains invoice two-dimensional bar code at par data, extracts the be included in these two-dimensional bar code data
Two tax-control code and the second check code;
Typing or scanning obtain invoice the first tax-control code at par, contrast this first tax-control code and the second tax control
Code is the most consistent;As inconsistent, it is accredited as pseudo-invoice;
Comparing result is consistent, by the second invoice cleartext information comprised in two-dimensional bar code data and the first tax-control code
Both merge, and generate the 3rd check code by algorithm for encryption, contrast described 3rd check code and described second school
Test code the most consistent;As inconsistent, it is accredited as pseudo-invoice;
Comparing result is consistent, and described second tax-control code is decrypted to obtain the 3rd invoice cleartext information, right
More consistent with described second invoice cleartext information than described 3rd invoice cleartext information;As inconsistent, identify
For pseudo-invoice;
Comparing result is consistent, is accredited as true invoice.
Present invention also offers a kind of true from false of bills checking system simultaneously, sweep including terminal of making out an invoice, two-dimensional bar code
Retouch equipment and background management system, wherein:
Described terminal of making out an invoice includes typing unit, cryptographic processing unit and print unit;Described typing unit is used
With typing the first invoice cleartext information;Described cryptographic processing unit is in order to add described first invoice cleartext information
Close generation the first tax-control code, raw to both combining encryptions of described first invoice cleartext information and the first tax-control code
Become the first check code, the three of described first invoice cleartext information, the first tax-control code and the first identifying code is tied
Close encryption and generate two-dimensional bar code data;Both combinations to described first tax-control code and the second invoice cleartext information
Encryption generates the 3rd check code;Described print unit is for by described first invoice clear data, the first tax control
Code and two-dimensional bar code data-printing are in invoice nominal value;
Described two-dimensional bar code scanning device is used for scanning invoice two-dimensional bar code at par data and is scanned, and
Scanning information is transferred to described background management system;
Described background management system includes communication unit, decryption unit and authentication unit, and described communication unit is used
In setting up network service with described two-dimensional bar code scanning device;Described decryption unit is for described two-dimensional bar code
Data are decrypted and obtain the second invoice cleartext information, the second check code and the second tax-control code, to described second
Check code deciphering obtains the 3rd invoice cleartext information and the 3rd tax-control code;Described authentication unit is used for verifying invoice
True and false information.
A kind of true from false of bills checking system provided according to the present invention, the checking content of wherein said authentication unit
Including: contrast described first tax-control code the most consistent with described second tax-control code, contrast described 3rd check code
The most consistent with described second check code, and contrast described 3rd invoice cleartext information and described second invoice
Cleartext information is the most consistent;More than contrast content is inconsistent if any any one, is accredited as pseudo-invoice, all
Contrast content is accredited as true invoice time all consistent.
A kind of true from false of bills checking system provided according to the present invention, wherein said two-dimensional bar code scanning device is
Wired two-dimensional bar code scanning device or wireless two-dimensional bar code scanning device.
Compared with prior art, the beneficial effects of the present invention is:
The present invention is simple to operate, easy to use, can be widely applied to coal, the tax, taxi valuation, adds
Bill anti-counterfeit is required, in the strictest multiple fields, to greatly reduce what lawless person evaded the tax by petrol stations etc.
Probability, safeguards the justice of economic society, just.
Accompanying drawing explanation
Fig. 1 is the verification method schematic flow sheet of the specific embodiment of the invention;
Fig. 2 is the composition frame chart of the checking system of the specific embodiment of the invention.
Description of reference numerals: 10-makes out an invoice terminal;11-typing unit;12-ciphering unit;13-print unit;
20-two-dimensional bar code scanning device;21-is wireless two-dimensional bar code scanning device;22-wired two-dimensional bar code scanning device;30-
Background management system;31-communication unit;32-decryption unit;33-authentication unit.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, complete description, it is clear that described embodiment is only a part of embodiment of the present invention, and not
It it is whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound
The every other embodiment obtained under the property made work premise, broadly falls into the scope of protection of the invention.
Refer to Fig. 1, for the checking schematic flow sheet of the true from false of bills verification method of the present invention.Wherein first
Invoice cleartext information refers to the essential information that will show in invoice nominal value, including pin side's enterprise name, purchases
Side's enterprise name, trade name, commodity amount, goods amount etc. managing detailed catalogue.Bright to this first invoice
Literary composition information is encrypted, and just generates the first tax-control code;By the first invoice cleartext information and the first tax-control code
By algorithm for encryption after merging, just generate the first check code;By the first invoice cleartext information, the first tax-control code
And first identifying code three merge after be encrypted by 2D bar code technology, just generation two-dimensional bar code data.
For two-dimensional bar code data, then it is decrypted inverse operations.Owing to these two-dimensional bar code data are by first
After ticket cleartext information, the first tax-control code and the first identifying code three merging, encryption obtains, therefore two-dimensional bar code
Data necessarily comprise the data letter relevant with the first invoice cleartext information, the first tax-control code and the first identifying code
Breath.In order to show difference, here the data obtained after two-dimensional bar code data deciphering be called the second invoice bright
Literary composition information, the second tax-control code and the second identifying code.Now carry out the first re-examination card, i.e. contrast the second tax-control code
The most consistent with the first tax-control code.As inconsistent, can directly judge that invoice is pseudo-invoice.If it is consistent, then
Proceed following checking.
Second invoice cleartext information and the first tax-control code are merged and encrypt, obtains the 3rd check code.Now enter
Row the second re-examination is demonstrate,proved, and contrasts the 3rd check code and the second check code is the most consistent.As inconsistent, can be direct
Judge that invoice is as pseudo-invoice.If consistent, then proceed following checking.
Second check code is decrypted further, obtains the 3rd invoice cleartext information and the 3rd tax-control code.This
The triple checkings of Shi Jinhang, contrast the 3rd invoice cleartext information is the most consistent with the second invoice cleartext information,
As inconsistent, it is judged that invoice is pseudo-invoice;As unanimously, it is judged that invoice is true invoice.
Visible, to verify that an invoice is true, need above-mentioned triple the results to be unanimously, checking is patrolled
Volume rigorous, reliability is high, and easy and simple to handle quickly.The most above-mentioned proof procedure there is any result be shown as
Inconsistent, then can directly judge that this invoice, as pseudo-invoice, thus is substantially reduced lawless person and uses pseudo-invoice to steal
The probability that tax is evaded taxation.
Please continue to refer to Fig. 2, for the composition frame chart of the checking system of the present invention.The true from false of bills of the present invention is tested
Card system includes make out an invoice terminal 10, two-dimensional bar code scanning device 20 and background management system 30.
Wherein, terminal of making out an invoice 10 includes typing unit 11, cryptographic processing unit 12 and print unit 13.Institute
State typing unit 11 in order to typing the first invoice cleartext information;Described cryptographic processing unit 12 is in order to data
It is encrypted;Described print unit 13 is for by described first invoice clear data, the first tax-control code and two dimension
Barcode data prints in invoice nominal value.
Specifically, the data of cryptographic processing unit 12 encryption include: to described first invoice cleartext information encryption
Generate the first tax-control code, both combining encryptions to described first invoice cleartext information and the first tax-control code generate
First check code, to described first invoice cleartext information, the first tax-control code and the triplicity of the first identifying code
Encryption generates two-dimensional bar code data;Both combinations to described first tax-control code and the second invoice cleartext information add
Close generation the 3rd check code.
Two-dimensional bar code scanning device 20 is used for scanning invoice two-dimensional bar code at par data, specifically can use
Line two-dimensional bar code scanning device 22 or wireless two-dimensional bar code scanning device 21 is scanned, and is transmitted by scanning information
To described background management system 30.
Background management system 30 includes communication unit 31, decryption unit 32 and authentication unit 33, described communication
Unit 31 is for setting up network service with described two-dimensional bar code scanning device 20;Described decryption unit 32 is used for
Data are decrypted, including: described two-dimensional bar code data are decrypted obtain the second invoice cleartext information,
Second check code and the second tax-control code, obtain the 3rd invoice cleartext information and the to described second check code deciphering
Three tax-control code;Described authentication unit 33 is for verifying the true and false information of invoice, and checking content includes: contrast institute
State the first tax-control code the most consistent with described second tax-control code, contrast described 3rd check code and described second school
Test code whether consistent, and whether contrast described 3rd invoice cleartext information and described second invoice cleartext information
Unanimously;More than contrast content is inconsistent if any any one, is accredited as pseudo-invoice, and all contrast contents are homogeneous
True invoice it is accredited as during cause.
The above description of this invention is illustrative and not restrictive, and those skilled in the art understands,
It can be carried out many amendments, changes or equivalence within the spirit and scope that claim limits, but it
Fall within protection scope of the present invention.
Claims (4)
1. a true from false of bills verification method, it is characterised in that comprise the following steps:
Typing the first invoice cleartext information, is encrypted to generate the first tax control by this first invoice cleartext information
Code;
Described first invoice cleartext information and the first tax-control code are merged, generates first by algorithm for encryption
Check code;
Described first invoice cleartext information, the first tax-control code and the first check code three are merged, by two dimension
Bar code encryption generates two-dimensional bar code data;
By on described first invoice clear data, the first tax-control code and two-dimensional bar code data-printing to invoice nominal value;
Scanning obtains invoice two-dimensional bar code at par data, extracts the be included in these two-dimensional bar code data
Two tax-control code and the second check code;
Typing or scanning obtain invoice the first tax-control code at par, contrast this first tax-control code and the second tax control
Code is the most consistent;As inconsistent, it is accredited as pseudo-invoice;
Comparing result is consistent, by the second invoice cleartext information comprised in two-dimensional bar code data and the first tax-control code
Both merge, and generate the 3rd check code by algorithm for encryption, contrast described 3rd check code and described second school
Test code the most consistent;As inconsistent, it is accredited as pseudo-invoice;
Comparing result is consistent, and described second tax-control code is decrypted to obtain the 3rd invoice cleartext information, right
More consistent with described second invoice cleartext information than described 3rd invoice cleartext information;As inconsistent, identify
For pseudo-invoice;
Comparing result is consistent, is accredited as true invoice.
2. true from false of bills checking system, it is characterised in that the terminal that includes making out an invoice, two-dimensional bar code scanning set
Standby and background management system, wherein:
Described terminal of making out an invoice includes typing unit, cryptographic processing unit and print unit;Described typing unit is used
With typing the first invoice cleartext information;Described cryptographic processing unit is in order to add described first invoice cleartext information
Close generation the first tax-control code, raw to both combining encryptions of described first invoice cleartext information and the first tax-control code
Become the first check code, the three of described first invoice cleartext information, the first tax-control code and the first check code is tied
Close encryption and generate two-dimensional bar code data;Both combinations to described first tax-control code and the second invoice cleartext information
Encryption generates the 3rd check code;Described print unit is for by described first invoice clear data, the first tax control
Code and two-dimensional bar code data-printing are in invoice nominal value;
Described two-dimensional bar code scanning device is used for scanning invoice two-dimensional bar code at par data and is scanned, and
Scanning information is transferred to described background management system;
Described background management system includes communication unit, decryption unit and authentication unit, and described communication unit is used
In setting up network service with described two-dimensional bar code scanning device;Described decryption unit is for described two-dimensional bar code
Data are decrypted and obtain the second invoice cleartext information, the second check code and the second tax-control code, to described second
Check code deciphering obtains the 3rd invoice cleartext information and the 3rd tax-control code;Described authentication unit is used for verifying invoice
True and false information.
A kind of true from false of bills checking system the most according to claim 2, it is characterised in that described checking
The checking content of unit includes: contrast described first tax-control code the most consistent with described second tax-control code, contrast
Described 3rd check code is the most consistent with described second check code, and contrasts described 3rd invoice cleartext information
The most consistent with described second invoice cleartext information;More than contrast content is inconsistent if any any one, identifies
For pseudo-invoice, all contrast contents are accredited as true invoice time all consistent.
A kind of true from false of bills checking system the most according to claim 3, it is characterised in that described two dimension
Bar code scan equipment is wired two-dimensional bar code scanning device or wireless two-dimensional bar code scanning device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310284692.2A CN104282070B (en) | 2013-07-08 | 2013-07-08 | A kind of true from false of bills verification method and checking system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310284692.2A CN104282070B (en) | 2013-07-08 | 2013-07-08 | A kind of true from false of bills verification method and checking system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104282070A CN104282070A (en) | 2015-01-14 |
CN104282070B true CN104282070B (en) | 2016-12-28 |
Family
ID=52256918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310284692.2A Active CN104282070B (en) | 2013-07-08 | 2013-07-08 | A kind of true from false of bills verification method and checking system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104282070B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104299310B (en) * | 2013-07-18 | 2017-02-15 | 航天信息股份有限公司 | System and method used for verifying bill authenticity |
CN105791281A (en) * | 2016-03-01 | 2016-07-20 | 太仓苏易信息科技有限公司 | Information encryption system |
CN111445616B (en) * | 2020-02-27 | 2023-03-31 | 深圳平安医疗健康科技服务有限公司 | Invoice verification method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996007975A1 (en) * | 1994-09-09 | 1996-03-14 | Cias, Inc. | Reader using moving averages to break the (n,k) code barrier for upc, ean, and others |
CA2426447A1 (en) * | 2000-11-07 | 2002-05-16 | Unisys Corporation | Self-authentication of value documents using digital signatures |
CN101655996B (en) * | 2009-07-20 | 2011-05-18 | 浪潮齐鲁软件产业有限公司 | Method for identifying the authenticity of bills fast |
CN102456253A (en) * | 2010-10-19 | 2012-05-16 | 航天信息股份有限公司 | Method for making invoice and terminal thereof |
CN102819809A (en) * | 2011-06-07 | 2012-12-12 | 航天信息股份有限公司 | Method and system for gathering tax-control data |
-
2013
- 2013-07-08 CN CN201310284692.2A patent/CN104282070B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996007975A1 (en) * | 1994-09-09 | 1996-03-14 | Cias, Inc. | Reader using moving averages to break the (n,k) code barrier for upc, ean, and others |
CA2426447A1 (en) * | 2000-11-07 | 2002-05-16 | Unisys Corporation | Self-authentication of value documents using digital signatures |
CN101655996B (en) * | 2009-07-20 | 2011-05-18 | 浪潮齐鲁软件产业有限公司 | Method for identifying the authenticity of bills fast |
CN102456253A (en) * | 2010-10-19 | 2012-05-16 | 航天信息股份有限公司 | Method for making invoice and terminal thereof |
CN102819809A (en) * | 2011-06-07 | 2012-12-12 | 航天信息股份有限公司 | Method and system for gathering tax-control data |
Also Published As
Publication number | Publication date |
---|---|
CN104282070A (en) | 2015-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102202300B (en) | A kind of based on twin-channel dynamic cipher authentication system and method | |
CN104008351B (en) | Window application completeness check system, method and device | |
CN103198344B (en) | Tax control secure two-dimensional code coding, decoding processing method | |
DE112019001531B4 (en) | Method of manufacturing an authenticated packaged product and system for verifying the authenticity of a packaged product | |
CN202067336U (en) | Payment device and system for realizing network security certification | |
CN106789018A (en) | Secret key remote acquisition methods and device | |
KR100991855B1 (en) | System for Issuing and Verifying Electronic Document, Method for Issuing Electronic Document and Method for Verifying Electronic Document | |
CN102930634B (en) | Invoice true-check system based on cloud computing and encrypted two-dimensional code | |
CN103870983A (en) | Electronic invoice safety management service system based on cloud computing and cryptographic technology | |
CN104464117A (en) | Automatic tell machine money withdrawing method and system based on dynamic two-dimensional code | |
CN102789607A (en) | Network transaction method and system | |
CN104809490A (en) | Card anti-counterfeiting system based on multidimensional code and authentication method based on card anti-counterfeiting system | |
CN104299310B (en) | System and method used for verifying bill authenticity | |
CN104282070B (en) | A kind of true from false of bills verification method and checking system | |
CN103914913A (en) | Intelligent card application scene recognition method and system | |
CN104268610A (en) | Method for generating and reading graded QR code | |
CN104216830A (en) | Method and system for detecting consistency of equipment software | |
CN104732431A (en) | Electronic bill platform and electronic bill processing method executing on electronic bill platform | |
CN103345703A (en) | Banking transaction authentication method and system based on image authentication | |
CN104881811B (en) | Management method, system and device for electronization of bill information | |
WO2015154646A1 (en) | Currency or security anti-counterfeiting tracing system based on one-time certificate technology | |
CN107229879A (en) | Electronics confirmation request automatic generation method and system based on safe Quick Response Code | |
CN102592316A (en) | Safety ticket system | |
CN106557450B (en) | A kind of express delivery extract equipment identity identifying method and express delivery extract equipment | |
CN206481316U (en) | Information acquisition system and system of real name information gathering, application system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |