CN103793990A - Invoice verification method and system - Google Patents

Invoice verification method and system Download PDF

Info

Publication number
CN103793990A
CN103793990A CN201210434420.1A CN201210434420A CN103793990A CN 103793990 A CN103793990 A CN 103793990A CN 201210434420 A CN201210434420 A CN 201210434420A CN 103793990 A CN103793990 A CN 103793990A
Authority
CN
China
Prior art keywords
invoice
information
code
image
network
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
CN201210434420.1A
Other languages
Chinese (zh)
Other versions
CN103793990B (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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201210434420.1A priority Critical patent/CN103793990B/en
Publication of CN103793990A publication Critical patent/CN103793990A/en
Application granted granted Critical
Publication of CN103793990B publication Critical patent/CN103793990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides an invoice verification method and system. The method mainly includes: arranging a two-dimension containing ciphertext information on an electronic-version invoice and determining the position and direction of the two-dimension code in an invoice image according to a positioned position detection image and then obtaining a two-dimension-code image; extracting plaintext information and ciphertext information of the two-dimension code from the two-dimension-code image and extracting element information of the invoice from the ciphertext information through use of an encryption algorithm and an encryption secret key; performing matching query in a network invoice query database according to the extracted element information of the invoice; and determining the verification result of the invoice according to the matching query result. In the invoice verification method and system, an invoice image of a paper invoice is verified uniformly through an invoice verification server so that disadvantages that devices such as two-dimension-code scanning guns, which are high in cost and inconvenient to carry are needed when ordinary users are performing invoice authenticity verification are overcome.

Description

The verification method of invoice and system
Technical field
The present invention relates to Computer Applied Technology field, relate in particular to a kind of verification method and system of invoice.
Background technology
For a long time, the management problems of invoice is perplexing basic taxation department always, inadequate to the attention degree of managing bill, causes the problem such as invoice manufacturing and marketing the fake, voiding Dai Kai day by day to show especially.In order to strengthen and standard managing bill, State General Taxation Administration proposes the network invoice issuing pattern of " with ticket pipe tax " theory.Network invoice issuing is a kind of brand-new managing bill pattern with " make out an invoice online, real-time query, the verification of ticket table, with ticket pipe tax, closed loop management " function, comprehensively, accurate recording taxpayer's business activities, guarantee uniqueness, authenticity and the security of invoice circulation.True from false of bills checking is the important ring in managing bill pattern, to alleviating tax authority's work load, improves taxpayer's ability of discerning the false from the genuine, and reduces the invoice case of violation of law and all has positive meaning.
The checking of current true from false of bills, mainly relies on manual examination and verification and ticket checking, cannot be from quality and certified invoice Management put quantitatively.Therefore, developing a kind of high efficiency true from false of bills verification method is a problem demanding prompt solution.
Summary of the invention
Embodiments of the invention provide a kind of verification method and system of invoice, to realize, the true and false of invoice are verified effectively.
A verification method for invoice, comprising:
Steps A, by set cryptographic algorithm and encryption key the element information of invoice is encrypted and obtains cipher-text information, the Quick Response Code that comprises described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, cryptographic algorithm and encryption key are stored at network invoice Query Database, described electronic edition invoice is printed and obtains papery invoice;
Step B, described papery invoice is taken pictures and obtained invoice image, position sensing figure in described invoice image is positioned, determine position and the direction of the Quick Response Code in described invoice image according to the position sensing figure behind location, obtain image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cleartext information and cipher-text information;
Step C, inquire about in network invoice Query Database according to described cleartext information, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted described cipher-text information, obtain the element information of invoice, in described network invoice Query Database, carry out matching inquiry according to the element information of described invoice, determine the result of described invoice according to matching inquiry result.
A verification system for invoice, comprising:
The terminal of making out an invoice, for the element information of invoice being encrypted and obtaining cipher-text information by cryptographic algorithm and the encryption key set, the Quick Response Code that comprises described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, cryptographic algorithm and encryption key are transferred to network billing server, described electronic edition invoice is printed and obtains papery invoice;
Invoice examination client, for the position sensing figure of invoice image is positioned, described invoice image is by described papery invoice is taken pictures and obtained, position sensing figure in described invoice image is positioned, determine position and the direction of the Quick Response Code in described invoice image according to the position sensing figure behind location, obtain image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cipher-text information and cleartext information, described 2 D code information is sent to invoice examination server;
Invoice examination server, the cleartext information that is used for the 2 D code information sending over according to described invoice examination client is inquired about in network invoice Query Database, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted the cipher-text information in described 2 D code information, obtain the element information of invoice, in described network invoice Query Database, carry out matching inquiry according to the element information of described invoice, determine the result of described invoice according to matching inquiry result.
A verification system for invoice, comprising:
The terminal of making out an invoice, for the element information of invoice being encrypted and obtaining cipher-text information by cryptographic algorithm and the encryption key set, the Quick Response Code that comprises described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, cryptographic algorithm and encryption key are transferred to network billing server, described electronic edition invoice is printed and obtains papery invoice;
Invoice examination client, for obtaining the invoice image of described papery invoice, described invoice image is by described papery invoice is taken pictures and obtained, and described invoice image is sent to image processing server;
Image processing server, for the position sensing figure of described invoice image is positioned, determine position and the direction of the Quick Response Code in described invoice image according to the position sensing figure behind location, obtain image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cleartext information and cipher-text information, described 2 D code information is sent to invoice examination server;
Invoice examination server, the cleartext information that is used for the 2 D code information sending over according to described image processing server is inquired about in network invoice Query Database, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted the cipher-text information in described 2 D code information, obtain the element information of invoice, in described network invoice Query Database, carry out matching inquiry according to the element information of described invoice, determine the result of described invoice according to matching inquiry result.
The technical scheme being provided by the embodiment of the invention described above can be found out, the embodiment of the present invention is by being arranged on the Quick Response Code of the element information that carries invoice in papery invoice, by the unification of invoice examination server, the invoice image of above-mentioned papery invoice is verified, having solved domestic consumer carries out true from false of bills when checking and needs the equipment such as Quick Response Code scanner, with high costs, carry not convenient shortcoming.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 be a kind of invoice of proposing of the embodiment of the present invention one verification method realize schematic diagram;
Fig. 2 is the concrete processing flow chart of the verification method of a kind of invoice of proposing of the embodiment of the present invention one;
Fig. 3 is the example schematic of a kind of Quick Response Code of proposing of the embodiment of the present invention one;
Fig. 4 is the sequence of modules schematic diagram of a kind of position sensing figure of proposing of the embodiment of the present invention one;
Fig. 5 is the principle schematic of the seat calibration method of the central point in a kind of definite position sensing region of proposing of the embodiment of the present invention one;
Fig. 6 is the principle schematic of the direction of a kind of definite image in 2 D code of proposing of the embodiment of the present invention one;
Fig. 7 is that a kind of user of examination that the embodiment of the present invention one proposes checks by invoice the processing flow chart that client is verified invoice;
Fig. 8 is the concrete structure figure of the verification system of a kind of invoice of proposing of the embodiment of the present invention two;
The structural drawing of the verification system of the another kind of invoice that Fig. 9 provides for the embodiment of the present invention two.
Embodiment
For ease of the understanding to the embodiment of the present invention, be further explained explanation below in conjunction with accompanying drawing as an example of several specific embodiments example, and each embodiment does not form the restriction to the embodiment of the present invention.Due to most popular in invoice field in Quick Response Code be QR-CODE, therefore use in the present invention QR-CODE for example, this method is also applicable to the Quick Response Code of other code systems.
Embodiment mono-
The embodiment of the present invention combines based on image and Quick Response Code fixation and recognition technology, the Quick Response Code that printing contains the relevant informations such as invoice code and invoice number on invoice, in conjunction with managing bill and the false proof monitor supervision platform on backstage, to realize, the true and false of invoice is carried out to effective monitoring.This embodiment has proposed a kind of verification method of invoice, the method realize schematic diagram as shown in Figure 1, concrete treatment scheme as shown in Figure 2, comprises following treatment step:
Step 21, the terminal of making out an invoice are arranged on the element information of invoice and cleartext information in Quick Response Code, above-mentioned Quick Response Code are printed on to the assigned address of invoice.
Quick Response Code is the chequered with black and white graphic recording data symbol information distributing in plane (on two-dimensional directional) according to certain rules with certain specific geometric figure, on coding, utilize dexterously " 0 ", the concept of " 1 " bit stream that form computer-internal logical foundations, represent word numerical information with several geometrical bodies corresponding with scale-of-two, automatically process to realize information by image input device or photoelectric scanning device automatically identifying and reading.
As shown in Figure 3, Quick Response Code has following feature to the example of a kind of Quick Response Code that this embodiment provides:
1, high density coding, information capacity is large, can 1850 capitalizations of outfit as many as or 2710 numerals or 1108 byte, or more than 500 Chinese character, approximately higher tens times than common bar code information capacity.
2, coding range is wide: this bar code can digitized information be encoded image, sound, word, signature, fingerprint etc., shows by bar code; Can represent multilingual word; Can presentation video data.
3, fault-tolerant ability is strong, has error correction: when this makes two-dimensional bar code cause local damage because of perforation, stained etc., can correctly be distinguished, damaged area reaches 50% still can recover information in the same old way.
In the time that needs issue invoice to user, after drawer utilizes encryption key and cryptographic algorithm that the element information of invoice is encrypted by the terminal of making out an invoice, in Quick Response Code, more above-mentioned Quick Response Code is arranged on to the assigned address of invoice by encoding setting.Above-mentioned encryption key is that drawer obtains by register flow path, and drawer, using while making out an invoice terminal and need register flow path first, carries out alternately, comprising and carrying out identification authorization and obtain encryption key with bill billing server.Obtain after encryption key, the terminal of making out an invoice just can be encrypted and be generated 2 D code information and print the papery invoice that has two-dimension code image.
Above-mentioned Quick Response Code is bipartite, and Part I is cleartext information, mainly comprises the information of the side of making out an invoice, and comprises the side's of making out an invoice identifier, extension number (obtaining use for decruption key), cryptographic algorithm mark.Part II is cipher-text information, mainly comprises the element information of the invoice of encryption, comprises invoice code, invoice number, the amount of money, the side's of making out an invoice duty paragraph, security code, the type of making out an invoice, payer, the information such as time of making out an invoice.
Drawer is transferred to the cleartext information of above-mentioned invoice, element information, cryptographic algorithm and encryption key and electronic ticket by the terminal of making out an invoice the network billing server of tax office, this network billing server carries out association store by the cleartext information of above-mentioned invoice, element information, cryptographic algorithm and encryption key and electronic ticket in network invoice Production database, then, make out an invoice terminal to user's print paper invoice.
The present invention arranges invoice verification server and network invoice Query Database at server end, and this network invoice Query Database and above-mentioned network invoice Production database need to carry out synchronously according to the time interval of setting.In network invoice Query Database, also to store invoice revoke status information, the information of making out an invoice and open the information such as state.
Step 22, when examination user is need to verify the true and false of above-mentioned papery invoice time, use imaging device (as first-class in made a video recording) to obtain the invoice image of the papery invoice that comprises 2 D code information.
Step 23, invoice examination client are obtained above-mentioned invoice image, and first invoice examination client verifies examination user's identity, if find that examination user does not check authority, directly " there is no invoice examination authority " to examination user feedback; If examination user's authentication is passed through, judge in invoice examination client whether image processing module is set, if so, execution step 24; Otherwise, execution step 25.
Step 24, the present invention can check in client image processing module is set at invoice, and this image processing module need to carry out pre-service, Quick Response Code location and 2 D code information to above-mentioned invoice image and extract operation.
Above-mentioned preprocessing process is as follows: owing to being subject to the impact of photo environment and illumination etc., obtain view data or be subject to noise pollution, or image blurring, brightness is partially dark, or geometrically there is angle to tilt, above-mentioned invoice examination client need to be to the pre-service of being correlated with of above-mentioned image, so that the identification of Quick Response Code.
Above-mentioned image is carried out to the conversion of form, the general image obtaining is all the data layout of the compression such as jpg or jpeg, need to convert thereof into the bmp form without compression.Secondly, if coloured image also needs to carry out grey value processing, the image reading in is all unified to convert to the gray level image of bmp form, be convenient to the processing of subsequent algorithm.
Then, above-mentioned invoice image is removed to the processing of making an uproar, the image that above-mentioned imaging device obtains generally can be subject to the pollution of noise, affect correctly reading of view data, therefore need image to remove and make an uproar, except the middle more conventional method of making an uproar is medium filtering denoising, adopt 5 × 5 rectangular window at Quick Response Code.
Finally, above-mentioned invoice image is carried out to binary conversion treatment, the binary conversion treatment of gray level image is exactly that the gray scale of saying the point on image is set to 0 or 255, namely says that whole image presents obvious black and white effect.The gray level image that is about to 256 brightness degrees is chosen and is obtained the binary image that still can reflect integral image and local feature by suitable threshold values.Above-mentioned binary conversion treatment can reduce the unnecessary element in above-mentioned image, is conducive to the identification of Quick Response Code, and binarization method can adopt adaption brightness method etc.
Image processing module in invoice examination client positions the position sensing figure in described invoice image, determines position and the direction of the Quick Response Code in described invoice image according to the position sensing figure behind location.
As shown in Figure 3, in the upper left corner of Quick Response Code, the upper right corner, lower right-hand corner has 3 identical position sensing figures for location, position, each position sensing figure can be regarded as by 3 overlapping concentric squares and forms, the sequence of modules schematic diagram of each position sensing figure as shown in Figure 4, formed by a dark color-light color-dark color-light color-dark order, be respectively 7 × 7 dark modules, 5 × 5 light modules and 3 × 3 dark modules, the ratio of each module relative width is 1: 1: 3: 1: 1, the width permissible variation of module is that 0.5(is that the size allowed band of the square of individual module is 0.5~1.5, it is 2.5~3.5 that the width of the square of 3 module widths allows range of size).
Image processing module in invoice examination client carries out the detection of horizontal and vertical direction to image, obtain 3 position sensing regions in described invoice image according to the graphic characteristics of the position sensing figure in above-mentioned Quick Response Code, and mark the coordinate of the central point in described 3 position sensing regions.Determine the central point in position sensing region seat calibration method principle schematic as shown in Figure 5, detailed process is as follows: for the square of the innermost layer in above-mentioned each position sensing region, record in the horizontal direction the outermost pixel line of this square, record in the vertical direction the outermost pixel line of this square, obtain four straight lines, the central point of figure is surveyed in the center of getting surrounded rectangle.
Utilize above-mentioned processing procedure can obtain respectively the center point coordinate of 3 position sensing figures, after to position sensing figure location, can obtain the centre coordinate of image in 2 D code by calculating according to the center point coordinate of 3 position sensing figures.Determine image in 2 D code direction principle schematic as shown in Figure 6, can determine the deflection angle of Quick Response Code according to the deflection angle of the level of the line of 3 position sensing centre of figure points, vertical direction, thereby determine the direction of image in 2 D code.If image in 2 D code has deformation geometrically, can utilize bilinear transformation method of interpolation, image in 2 D code is carried out to geometry rotation and correct.
According to the direction of the coordinate of the central point of described image in 2 D code and described image in 2 D code, from described invoice image, extract image in 2 D code.Then, from image in 2 D code, extract 2 D code information.First, read in Quick Response Code format information and version information, eliminate mask, then carry out error correction inspection, if need error correction, carry out error-correction operation, then carry out numeric data code decoded operation, finally exporting decode results is 2 D code information.Described 2 D code information is the Quick Response Code that comprises cipher-text information and cleartext information (mainly comprising the information of the side of making out an invoice).
Above-mentioned 2 D code information is sent to invoice examination server by invoice examination client.
Execution step 26.
Step 25, at server end, image processing server is set, the image of the above-mentioned papery invoice that comprises 2 D code information is sent to image processing server by invoice examination client, this image processing server is the same with the image processing module in above-mentioned invoice examination client, pre-service, Quick Response Code location and 2 D code information that above-mentioned image is carried out in above-mentioned steps 24 extract operation, obtain image in 2 D code, from this image in 2 D code, extract the 2 D code information that comprises cleartext information and cipher-text information.
Above-mentioned 2 D code information is sent to invoice examination server by image processing server.Execution step 26.
Step 26, invoice examination server are inquired about in network invoice Query Database according to the cleartext information in the 2 D code information receiving, and obtain encryption key and the encryption key of the invoice of storing in network invoice Query Database.
Invoice examination server is decrypted the cipher-text information in 2 D code information according to predefined cryptographic algorithm and the encryption key that obtains.If invoice decryption error explanation 2 D code information is wrong, so just regard as abnormal invoice; If invoice deciphering is correct, can obtain the element information of invoice, comprise invoice code, invoice number, the amount of money, the side's of making out an invoice duty paragraph, security code, the type of making out an invoice, payer, makes out an invoice the time etc.
The element information of the invoice that step 27, invoice examination server obtain according to deciphering carries out matching inquiry in described network invoice Query Database, according to the described invoice of storing in described matching inquiry result and described network invoice Query Database revoke status information, the information of making out an invoice and open status information, determine whether described invoice is the result that normal invoice is determined described invoice.
Examination user check treatment scheme that client verifies invoice as shown in Figure 7 by invoice, and specifically processing procedure is as follows:
First, invoice code and invoice number are carried out to matching inquiry, invoice code in the element information of the invoice obtaining according to deciphering and invoice number carry out matching inquiry in network invoice Query Database, if inquire corresponding invoice code and invoice number, the match is successful, illustrate in selling invoices information and have this invoice information, jump to second step; If it fails to match, illustrate that network opens the not information of selling of this invoice of system, assert that this invoice is abnormal invoice, and forward invoice information true and false processing procedure to.
Second, according to the status information of revoking of this invoice in the network invoice Query Database inquiring, whether inquiry judging belongs to loss, loses the tickets out of control such as stolen, if invoice out of control, jump to invoice information true and false feedback processing process, show inquiry invoice state (loss etc.), and be labeled as abnormal invoice; Otherwise forward the 3rd step to.
The 3rd, according to the information of making out an invoice of this invoice in the network invoice Query Database inquiring, whether the judgement information of making out an invoice gathers, namely whether this invoice has been opened successfully, if this invoice is not also opened, jump to invoice information true and false feedback processing process, show the information of selling, the prompting information of making out an invoice does not gather, and is labeled as abnormal invoice; Otherwise forward the 4th step to.
The 4th, according to the status information of opening of this invoice in the network invoice Query Database inquiring, judge that whether invoice issuing state is for normally filling out.Owing to filling out voided check and blank invalidated ticket can not be served as reimbursement voucher.So in the time finding the invoice issuing abnormal state of inquiring about, jump to invoice information true and false feedback processing process, show invoice issuing state (filling out with calcellation, blank calcellation etc.), and be labeled as abnormal invoice; Otherwise forward invoice information true and false feedback processing process to, and show the detailed ticket information of inquiry invoice according to different ticket kinds.
The processing procedure of above-mentioned invoice information true and false feedback processing process comprises:
If invoice matching inquiry successfully sends to the details of invoice invoice information true and false feedback module, if it fails to match for invoice, mark false tickets information in network examination database, processes in order to tax office.
Invoice information true and false feedback module feedback true from false of bills result.According to the result of Quick Response Code invoice information examination, feed back in two kinds of situation:
First, if invoice is checked successfully (being the branch that Quick Response Code invoice information examination module the 4th step judge mark is "Yes"), from above-mentioned network invoice Query Database, extract the detailed electronic ticket surface information of this invoice, user is by the electronic ticket information of feedback and the comparison of papery ticket information.
If electronic ticket information and papery ticket information are in full accord, illustrate that invoice is normal invoice.
If electronic ticket information and papery ticket information are inconsistent, user can report.System is abnormal invoice by this invoice of mark, and sends to (invoice supervisory system), treats that tax staff processes.
The second, if invoice check unsuccessfully, the directly corresponding error message of feedback user.Colleague's mark invoice is abnormal invoice, and sends to (invoice supervisory system), treats that tax staff processes.
Embodiment bis-
This embodiment provides a kind of verification system of invoice, and its concrete structure as shown in Figure 8, comprises following unit:
The terminal 81 of making out an invoice, for the element information of invoice being encrypted and obtaining cipher-text information by cryptographic algorithm and the encryption key set, the Quick Response Code that comprises described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, cryptographic algorithm and encryption key are transferred to network billing server, described electronic edition invoice is printed and obtains papery invoice;
Invoice examination client 82, for the position sensing figure of invoice image is positioned, described invoice image is by described papery invoice is taken pictures and obtained, position sensing figure in described invoice image is positioned, determine position and the direction of the Quick Response Code in described invoice image according to the position sensing figure behind location, obtain image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cipher-text information and cleartext information, described 2 D code information is sent to invoice examination server;
Invoice examination server 83, the cleartext information that is used for the 2 D code information sending over according to described invoice examination client is inquired about in network invoice Query Database, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted the cipher-text information in described 2 D code information, obtain the element information of invoice, in described network invoice Query Database, carry out matching inquiry according to the element information of described invoice, determine the result of described invoice according to matching inquiry result.
Concrete, the described terminal 81 of making out an invoice, also in the time that needs issue invoice to user, determine cryptographic algorithm and encryption key by carrying out information interaction with network billing server, utilize described cryptographic algorithm and encryption key to be encrypted and to obtain cipher-text information the element information of invoice, by coding, described cipher-text information is arranged in Quick Response Code, cleartext information is also set in described Quick Response Code, this cleartext information comprises the information of the side of making out an invoice of invoice, described Quick Response Code is arranged on to the assigned address of invoice;
Carry out alternately, the electronic ticket of described invoice, cleartext information, element information, cryptographic algorithm and encryption key being transferred to described network billing server with network billing server, give user's print paper invoice.
Concrete, described invoice examination client 82 can comprise:
Pretreatment module 821, for in the time needing to verify the true and false of the papery invoice that comprises Quick Response Code, use imaging device to obtain the invoice image of described papery invoice, described invoice image is carried out to pre-service, this pre-service comprises the gray level image that described invoice picture is converted to uncompressed format, described gray level image is removed to make an uproar and process and binary conversion treatment;
Image in 2 D code locating module 822, for described invoice image is carried out to the detection of horizontal and vertical direction, obtain 3 position sensing regions in described invoice image according to the graphic characteristics of the position sensing figure in the Quick Response Code of setting, and mark the coordinate of the central point in described 3 position sensing regions;
By calculating the coordinate of central point of image in 2 D code, determine the direction of image in 2 D code according to the coordinate of the position in described 3 position sensing regions and central point according to the deflection angle of the level of the line of the central point of described 3 position sensing figures, vertical direction;
2 D code information extraction module 823 according to the direction of the coordinate of the central point of described image in 2 D code and described image in 2 D code, extracts image in 2 D code from described invoice image.Then, from image in 2 D code, extract the information of Quick Response Code.First, read in Quick Response Code format information and version information, eliminate mask, then carry out error correction inspection, if need error correction, carry out error-correction operation, then carry out numeric data code decoded operation, finally exporting decode results is 2 D code information.Described 2 D code information is the Quick Response Code that comprises cipher-text information and cleartext information.Described 2 D code information is sent to invoice examination server.
Concrete, described invoice examination server 83 can comprise:
2 D code information deciphering module 831, the cleartext information that is used for the 2 D code information sending over according to described invoice examination client is inquired about in network invoice Query Database, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted the cipher-text information in described 2 D code information, obtain the element information of invoice;
Invoice information enquiry module 832, for carrying out matching inquiry according to the invoice code of the element information of described invoice in described network invoice Query Database, according to the described invoice of storing in described matching inquiry result and described network invoice Query Database revoke status information, the information of making out an invoice and open status information, determine the result of described invoice, judge whether described invoice is normal invoice;
Described invoice information enquiry module, has for the invoice code of the element information of described invoice is carried out to matching inquiry in described network invoice Query Database, and the invoice code and the invoice number that match if can inquire, perform step A; Otherwise, determine the invoice code matches failure of described invoice;
Steps A, according to the status information of revoking of the described invoice in the network invoice Query Database inquiring, judge whether described invoice belongs to invoice out of control, if not, perform step B; Otherwise, determine the invoice code matches failure of described invoice;
The information of making out an invoice of the described invoice in step B, the basis network invoice Query Database inquiring, judges whether the information of making out an invoice of described invoice gathers, and if so, performs step C; Otherwise, determine that the information of making out an invoice of described invoice does not gather;
Step C, according to the status information of opening of the described invoice in the network invoice Query Database inquiring, judge that whether the state of opening of described invoice is for normally filling out, if so, determine that described invoice is normal invoice; Otherwise, determine that the information of making out an invoice of described invoice does not gather.
Invoice information true and false feedback module 833, for determining at described invoice information enquiry module that the information of making out an invoice that the invoice code matches failure of described invoice or described invoice belong to invoice out of control or described invoice does not gather or after the state of opening of described invoice is not normally to fill out, determine that described invoice is abnormal invoice, to the corresponding error message of examination user feedback; Determine that at described invoice information enquiry module described invoice is normal a/d, the electronic ticket of the described invoice of storing in described network invoice Query Database is sent to described invoice examination client, so that described examination user is contrasted the papery ticket of the electronic ticket of described invoice and described invoice by described invoice examination client.
The structure of the verification system of the another kind of invoice that this embodiment provides as shown in Figure 9, comprises following unit:
The terminal 91 of making out an invoice, for the element information of invoice being encrypted and obtaining cipher-text information by cryptographic algorithm and the encryption key set, the Quick Response Code that comprises described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, cryptographic algorithm and encryption key are transferred to network billing server, described electronic edition invoice is printed and obtains papery invoice;
Also in the time that needs issue invoice to user, determine cryptographic algorithm and encryption key by carrying out information interaction with network billing server, utilize described cryptographic algorithm and encryption key to be encrypted and to obtain cipher-text information the element information of invoice, by coding, described cipher-text information is arranged in Quick Response Code, cleartext information is also set in described Quick Response Code, this cleartext information comprises the information of the side of making out an invoice of invoice, described Quick Response Code is arranged on to the assigned address of invoice; Carry out alternately, the electronic ticket of described invoice, cleartext information, element information, cryptographic algorithm and encryption key being transferred to described network billing server with network billing server, give user's print paper invoice.
Invoice examination client 92, for obtaining the invoice image of described papery invoice, described invoice image is by described papery invoice is taken pictures and obtained, and described invoice image is sent to image processing server;
Image processing server 93, the position sensing figure that is used for the invoice image that described invoice examination client is sended over positions, determine position and the direction of the Quick Response Code in described invoice image according to the position sensing figure behind location, obtain image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cleartext information and cipher-text information, described 2 D code information is sent to invoice examination server;
Invoice examination server 94, the cleartext information that is used for the 2 D code information sending over according to described image processing server is inquired about in network invoice Query Database, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted the cipher-text information in described 2 D code information, obtain the element information of invoice, in described network invoice Query Database, carry out matching inquiry according to the element information of described invoice, determine the result of described invoice according to matching inquiry result.
Concrete, described image processing server 93 can comprise:
Pretreatment module 931, for described invoice image is carried out to pre-service, this pre-service comprises the gray level image that described invoice picture is converted to uncompressed format, described gray level image is removed to make an uproar and process and binary conversion treatment;
Image in 2 D code locating module 932, for described invoice image is carried out to the detection of horizontal and vertical direction, obtain 3 position sensing regions in described invoice image according to the graphic characteristics of the position sensing figure in the Quick Response Code of setting, and mark the coordinate of the central point in described 3 position sensing regions;
By calculating the coordinate of central point of image in 2 D code, determine the direction of image in 2 D code according to the coordinate of the position in described 3 position sensing regions and central point according to the deflection angle of the level of the line of the central point of described 3 position sensing figures, vertical direction;
2 D code information extraction module 933 according to the direction of the coordinate of the central point of described image in 2 D code and described image in 2 D code, extracts image in 2 D code from described invoice image.Then, from image in 2 D code, extract the information of Quick Response Code.First, read in Quick Response Code format information and version information, eliminate mask, then carry out error correction inspection, if need error correction, carry out error-correction operation, then carry out numeric data code decoded operation, finally exporting decode results is Quick Response Code content.Described 2 D code information is sent to invoice examination server.
Concrete, described invoice examination server 94 can comprise:
2 D code information deciphering module 941, the cleartext information that is used for the 2 D code information sending over according to described image processing server is inquired about in network invoice Query Database, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted described cipher-text information, obtain the element information of invoice;
Invoice information enquiry module 942, for carrying out matching inquiry according to the invoice code of the element information of described invoice in described network invoice Query Database, according to the described invoice of storing in described matching inquiry result and described network invoice Query Database revoke status information, the information of making out an invoice and open status information, determine the result of described invoice, judge whether described invoice is normal invoice.
Invoice code in the element information of described invoice is carried out to matching inquiry in described network invoice Query Database, and the invoice code and the invoice number that match if can inquire, perform step A; Otherwise, determine the invoice code matches failure of described invoice;
Steps A, according to the status information of revoking of the described invoice in the network invoice Query Database inquiring, judge whether described invoice belongs to invoice out of control, if not, perform step B; Otherwise, determine the invoice code matches failure of described invoice;
The information of making out an invoice of the described invoice in step B, the basis network invoice Query Database inquiring, judges whether the information of making out an invoice of described invoice gathers, and if so, performs step C; Otherwise, determine that the information of making out an invoice of described invoice does not gather;
Step C, according to the status information of opening of the described invoice in the network invoice Query Database inquiring, judge that whether the state of opening of described invoice is for normally filling out, if so, determine that described invoice is normal invoice; Otherwise, determine that the information of making out an invoice of described invoice does not gather.
Invoice information true and false feedback module 943, for determining at described invoice information enquiry module that the information of making out an invoice that the invoice code matches failure of described invoice or described invoice belong to invoice out of control or described invoice does not gather or after the state of opening of described invoice is not normally to fill out, determine that described invoice is abnormal invoice, to the corresponding error message of examination user feedback; Determine that at described invoice information enquiry module described invoice is normal a/d, the electronic ticket of the described invoice of storing in described network invoice Query Database is sent to described invoice examination client, so that described examination user is contrasted the papery ticket of the electronic ticket of described invoice and described invoice by described invoice examination client.
The detailed process and the preceding method embodiment that carry out invoice validation by the system of the embodiment of the present invention are similar, repeat no more herein.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
One of ordinary skill in the art will appreciate that: the module in the equipment in embodiment can be described and be distributed in the equipment of embodiment according to embodiment, also can carry out respective change and be arranged in the one or more equipment that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into multiple submodules.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
In sum, the embodiment of the present invention is by being arranged on the Quick Response Code of the element information that carries invoice in papery invoice, by the unification of invoice examination server, the invoice image of above-mentioned papery invoice is verified, having solved domestic consumer carries out true from false of bills when checking and needs the equipment such as Quick Response Code scanner, with high costs, carry not convenient shortcoming.
The invoice validation method of the embodiment of the present invention has easy to operate simple, and the characteristics such as image recognition drives, and Quick Response Code discrimination is high, and error correcting capability is strong, and applicability is strong needn't be installed.Only need to there be general camera in domestic consumer, or sectional drawing software gets invoice image, and invoice image is sent to invoice examination server can be verified true from false of bills.The acquisition cost that has reduced invoice validation specialized equipment, alleviates the burden of domestic consumer, accelerates the popularization of invoice anticounterfeiting.
The above; only for preferably embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with in technical scope that those skilled in the art disclose in the present invention; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (17)

1. a verification method for invoice, is characterized in that, comprising:
Steps A, by set cryptographic algorithm and encryption key the element information of invoice is encrypted and obtains cipher-text information, the Quick Response Code that comprises described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, cryptographic algorithm and encryption key are stored at network invoice Query Database, described electronic edition invoice is printed and obtains papery invoice;
Step B, described papery invoice is taken pictures and obtained invoice image, position sensing figure in described invoice image is positioned, determine position and the direction of the Quick Response Code in described invoice image according to the position sensing figure behind location, obtain image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cleartext information and cipher-text information;
Step C, inquire about in network invoice Query Database according to described cleartext information, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted described cipher-text information, obtain the element information of invoice, in described network invoice Query Database, carry out matching inquiry according to the element information of described invoice, determine the result of described invoice according to matching inquiry result.
2. the verification method of invoice according to claim 1, is characterized in that, described steps A specifically comprises:
In the time that needs issue invoice to user, the terminal of making out an invoice is determined cryptographic algorithm and encryption key by carrying out information interaction with network billing server, the described terminal of making out an invoice utilizes described cryptographic algorithm and encryption key to be encrypted and to obtain cipher-text information the element information of invoice, by coding, described cipher-text information is arranged in Quick Response Code, cleartext information is also set in described Quick Response Code, this cleartext information comprises the information of the side of making out an invoice of invoice, described Quick Response Code is arranged on to the assigned address of invoice;
Described terminal and the network billing server of making out an invoice carries out alternately, the electronic ticket of described invoice, cleartext information, element information, cryptographic algorithm and encryption key are transferred to described network billing server, utilize described network billing server that the electronic ticket of described invoice, cleartext information, element information, cryptographic algorithm and encryption key are carried out to association store in network invoice Query Database, then the terminal of making out an invoice, is to user's print paper invoice.
3. the verification method of invoice according to claim 2, is characterized in that, in the time image processing module being set in invoice examination client, described step B specifically comprises:
In the time that needs are verified the true and false of the papery invoice that comprises Quick Response Code, use imaging device to obtain the invoice image of described papery invoice;
Invoice examination client is obtained described invoice image, image processing module in invoice examination client carries out pre-service to described invoice image, this pre-service comprises the gray level image that described invoice picture is converted to uncompressed format, described gray level image is removed to make an uproar and process and binary conversion treatment;
Described image processing module carries out the detection of horizontal and vertical direction to described invoice image, obtain 3 position sensing regions in described invoice image according to the graphic characteristics of the position sensing figure in the Quick Response Code of setting, and mark the coordinate of the central point in described 3 position sensing regions;
Described image processing module by calculating the coordinate of central point of image in 2 D code, is determined the direction of image in 2 D code according to the coordinate of the position in described 3 position sensing regions and central point according to the deflection angle of the level of the line of the central point of described 3 position sensing figures, vertical direction;
Described image processing module is according to the direction of the coordinate of the central point of described image in 2 D code and described image in 2 D code, from described invoice image, extract image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cipher-text information and cleartext information, described 2 D code information is sent to invoice examination server by described invoice examination client.
4. the verification method of invoice according to claim 2, is characterized in that, when in the time that server end arranges image processing server, described step B specifically comprises:
In the time that needs are verified the true and false of the papery invoice that comprises Quick Response Code, use imaging device to obtain the invoice image of described papery invoice;
Invoice examination client is obtained described invoice image, described invoice image is sent to image processing server, described image processing server carries out pre-service to described invoice image, this pre-service comprises the gray level image that described invoice picture is converted to uncompressed format, described gray level image is removed to make an uproar and process and binary conversion treatment;
Described image processing server carries out the detection of horizontal and vertical direction to described invoice image, obtain 3 position sensing regions in described invoice image according to the graphic characteristics of the position sensing figure in the Quick Response Code of setting, and mark the coordinate of the central point in described 3 position sensing regions;
Described image processing server by calculating the coordinate of central point of image in 2 D code, is determined the direction of image in 2 D code according to the coordinate of the position in described 3 position sensing regions and central point according to the deflection angle of the level of the line of the central point of described 3 position sensing figures, vertical direction;
Described image processing server is according to the direction of the coordinate of the central point of described image in 2 D code and described image in 2 D code, from described invoice image, extract image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cipher-text information and cleartext information;
Described 2 D code information is sent to invoice examination server by described image processing server.
5. according to the verification method of the invoice described in claim 3 or 4, it is characterized in that, described step C comprises:
C1, described invoice examination server are inquired about in network invoice Query Database according to the cleartext information in the 2 D code information receiving, and obtain corresponding encryption key and cryptographic algorithm;
C2, described invoice examination server are decrypted the cipher-text information of described Quick Response Code according to encryption key and the cryptographic algorithm obtained, obtain the element information of described invoice;
C3, according to the element information of described invoice, in described network invoice Query Database, carry out matching inquiry, if can inquire the billing information matching, determine that the result of described invoice is true, otherwise determine that the result of described invoice is false.
6. the verification method of invoice according to claim 5, is characterized in that, described step C3 comprises:
C31, described invoice examination server carry out matching inquiry by the invoice code in the element information of described invoice in described network invoice Query Database, and the invoice code matching if can inquire, performs step C32; Otherwise, determine that described invoice is abnormal invoice;
C32, described invoice examination server, according to the status information of revoking of this invoice in the network invoice Query Database inquiring, judge whether described invoice belongs to invoice out of control, if do not belong to invoice out of control, perform step C32; Otherwise, determine that described invoice is abnormal invoice;
C33, described invoice examination server, according to the information of making out an invoice of this invoice in the network invoice Query Database inquiring, judge whether the information of making out an invoice of described invoice gathers, and if so, perform step C34; Otherwise, determine that described invoice is abnormal invoice, described in the information of making out an invoice comprise: the side's of making out an invoice duty paragraph, security code, the type of making out an invoice and make out an invoice the time;
C34, described invoice examination server, according to the state of opening of this invoice in the network invoice Query Database inquiring, judge that whether the state of opening of described invoice is for normally filling out, and if so, determine that the authentication result of described invoice is true; Otherwise, determine that described invoice is abnormal invoice.
7. the verification method of invoice according to claim 6, is characterized in that, described step C also comprises:
The electronic ticket of the described invoice of storing in described network invoice Query Database is sent to described invoice examination client by described invoice examination server, so that described examination user is contrasted the papery ticket of the electronic ticket of described invoice and described invoice by described invoice examination client.
8. a verification system for invoice, is characterized in that, comprising:
The terminal of making out an invoice, for the element information of invoice being encrypted and obtaining cipher-text information by cryptographic algorithm and the encryption key set, the Quick Response Code that comprises described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, cryptographic algorithm and encryption key are transferred to network billing server, described electronic edition invoice is printed and obtains papery invoice;
Invoice examination client, for the position sensing figure of invoice image is positioned, described invoice image is by described papery invoice is taken pictures and obtained, position sensing figure in described invoice image is positioned, determine position and the direction of the Quick Response Code in described invoice image according to the position sensing figure behind location, obtain image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cipher-text information and cleartext information, described 2 D code information is sent to invoice examination server;
Invoice examination server, the cleartext information that is used for the 2 D code information sending over according to described invoice examination client is inquired about in network invoice Query Database, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted the cipher-text information in described 2 D code information, obtain the element information of invoice, in described network invoice Query Database, carry out matching inquiry according to the element information of described invoice, determine the result of described invoice according to matching inquiry result.
9. the verification system of invoice according to claim 8, is characterized in that:
The described terminal of making out an invoice, also in the time that needs issue invoice to user, determine cryptographic algorithm and encryption key by carrying out information interaction with network billing server, utilize described cryptographic algorithm and encryption key to be encrypted and to obtain cipher-text information the element information of invoice, by coding, described cipher-text information is arranged in Quick Response Code, cleartext information is also set in described Quick Response Code, and this cleartext information comprises the information of the side of making out an invoice of invoice, described Quick Response Code is arranged on to the assigned address of invoice;
Carry out alternately, the electronic ticket of described invoice, cleartext information, element information, cryptographic algorithm and encryption key being transferred to described network billing server with network billing server, give user's print paper invoice.
10. the verification system of invoice according to claim 8, is characterized in that, described invoice examination client comprises:
Pretreatment module, for in the time needing to verify the true and false of the papery invoice that comprises Quick Response Code, use imaging device to obtain the invoice image of described papery invoice, described invoice image is carried out to pre-service, this pre-service comprises the gray level image that described invoice picture is converted to uncompressed format, described gray level image is removed to make an uproar and process and binary conversion treatment;
Image in 2 D code locating module, for described invoice image is carried out to the detection of horizontal and vertical direction, obtain 3 position sensing regions in described invoice image according to the graphic characteristics of the position sensing figure in the Quick Response Code of setting, and mark the coordinate of the central point in described 3 position sensing regions;
By calculating the coordinate of central point of image in 2 D code, determine the direction of image in 2 D code according to the coordinate of the position in described 3 position sensing regions and central point according to the deflection angle of the level of the line of the central point of described 3 position sensing figures, vertical direction;
2 D code information extraction module, according to the direction of the coordinate of the central point of described image in 2 D code and described image in 2 D code, from described invoice image, extract image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cipher-text information and cleartext information, described 2 D code information is sent to invoice examination server.
The verification system of the invoice described in 11. according to Claim 8 or 9 or 10, is characterized in that, described invoice examination server comprises:
2 D code information deciphering module, the cleartext information that is used for the 2 D code information sending over according to described invoice examination client is inquired about in network invoice Query Database, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted the cipher-text information in described 2 D code information, obtain the element information of invoice;
Invoice information enquiry module, for carrying out matching inquiry according to the invoice code of the element information of the invoice extracting in described network invoice Query Database, according to the described invoice of storing in described matching inquiry result and described network invoice Query Database revoke status information, the information of making out an invoice and open status information, determine whether described invoice is normal invoice;
Invoice information true and false feedback module, for determining at described invoice information enquiry module that the information of making out an invoice that the invoice code matches failure of described invoice or described invoice belong to invoice out of control or described invoice does not gather or after the state of opening of described invoice is not normally to fill out, determining that described invoice is abnormal invoice; Determine that at described invoice information enquiry module described invoice is normal a/d, the electronic ticket of the described invoice of storing in described network invoice Query Database is sent to described invoice examination client, so that described examination user is contrasted the papery ticket of the electronic ticket of described invoice and described invoice by described invoice examination client.
The verification system of 12. invoices according to claim 11, is characterized in that:
Described invoice information enquiry module, has for the invoice code of the element information of described invoice is carried out to matching inquiry in described network invoice Query Database, and the invoice code and the invoice number that match if can inquire, perform step A; Otherwise, determine the invoice code matches failure of described invoice;
Steps A, according to the status information of revoking of the described invoice in the network invoice Query Database inquiring, judge whether described invoice belongs to invoice out of control, if not, perform step B; Otherwise, determine the invoice code matches failure of described invoice;
The information of making out an invoice of the described invoice in step B, the basis network invoice Query Database inquiring, judges whether the information of making out an invoice of described invoice gathers, and if so, performs step C; Otherwise, determine that the information of making out an invoice of described invoice does not gather;
Step C, according to the status information of opening of the described invoice in the network invoice Query Database inquiring, judge that whether the state of opening of described invoice is for normally filling out, if so, determine that described invoice is normal invoice; Otherwise, determine that the information of making out an invoice of described invoice does not gather.
The verification system of 13. 1 kinds of invoices, is characterized in that, comprising:
The terminal of making out an invoice, for the element information of invoice being encrypted and obtaining cipher-text information by cryptographic algorithm and the encryption key set, the Quick Response Code that comprises described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, cryptographic algorithm and encryption key are transferred to network billing server, described electronic edition invoice is printed and obtains papery invoice;
Invoice examination client, for obtaining the invoice image of described papery invoice, described invoice image is by described papery invoice is taken pictures and obtained, and described invoice image is sent to image processing server;
Image processing server, for the position sensing figure of described invoice image is positioned, determine position and the direction of the Quick Response Code in described invoice image according to the position sensing figure behind location, obtain image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cleartext information and cipher-text information, described 2 D code information is sent to invoice examination server;
Invoice examination server, the cleartext information that is used for the 2 D code information sending over according to described image processing server is inquired about in network invoice Query Database, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted the cipher-text information in described 2 D code information, obtain the element information of invoice, in described network invoice Query Database, carry out matching inquiry according to the element information of described invoice, determine the result of described invoice according to matching inquiry result.
The verification system of 14. invoices according to claim 13, is characterized in that:
The described terminal of making out an invoice, also in the time that needs issue invoice to user, determine cryptographic algorithm and encryption key by carrying out information interaction with network billing server, utilize described cryptographic algorithm and encryption key to be encrypted and to obtain cipher-text information the element information of invoice, by coding, described cipher-text information is arranged in Quick Response Code, cleartext information is also set in described Quick Response Code, and this cleartext information comprises the information of the side of making out an invoice of invoice, described Quick Response Code is arranged on to the assigned address of invoice;
Carry out alternately, the electronic ticket of described invoice, cleartext information, element information, cryptographic algorithm and encryption key being transferred to described network billing server with network billing server, give user's print paper invoice.
The verification system of 15. invoices according to claim 13, is characterized in that, described image processing server comprises:
Pretreatment module, for described invoice image is carried out to pre-service, this pre-service comprises the gray level image that described invoice picture is converted to uncompressed format, described gray level image is removed to make an uproar and process and binary conversion treatment;
Image in 2 D code locating module, for described invoice image is carried out to the detection of horizontal and vertical direction, obtain 3 position sensing regions in described invoice image according to the graphic characteristics of the position sensing figure in the Quick Response Code of setting, and mark the coordinate of the central point in described 3 position sensing regions;
By calculating the coordinate of central point of image in 2 D code, determine the direction of image in 2 D code according to the coordinate of the position in described 3 position sensing regions and central point according to the deflection angle of the level of the line of the central point of described 3 position sensing figures, vertical direction;
Image in 2 D code extraction module, according to the direction of the coordinate of the central point of described image in 2 D code and described image in 2 D code, from described invoice image, extract image in 2 D code, from described image in 2 D code, extract the 2 D code information that comprises cipher-text information and cleartext information, described 2 D code information is sent to invoice examination server.
16. according to the verification system of the invoice described in claim 13 or 14 or 15, it is characterized in that, described invoice examination server comprises:
2 D code information deciphering module, the cleartext information that is used for the 2 D code information sending over according to described image processing server is inquired about in network invoice Query Database, obtain corresponding encryption key and cryptographic algorithm, utilize described cryptographic algorithm and encryption key to be decrypted the cipher-text information in described 2 D code information, obtain the element information of invoice;
Invoice information enquiry module, for carrying out matching inquiry according to the invoice code of the element information of described invoice in described network invoice Query Database, according to the described invoice of storing in described matching inquiry result and described network invoice Query Database revoke status information, the information of making out an invoice and open status information, judge whether described invoice is normal invoice;
Invoice information true and false feedback module, for determining at described invoice information enquiry module that the information of making out an invoice that the invoice code matches failure of described invoice or described invoice belong to invoice out of control or described invoice does not gather or after the state of opening of described invoice is not normally to fill out, determining that described invoice is abnormal invoice; Determine that at described invoice information enquiry module described invoice is normal a/d, the electronic ticket of the described invoice of storing in described network invoice Query Database is sent to described invoice examination client, so that described examination user is contrasted the papery ticket of the electronic ticket of described invoice and described invoice by described invoice examination client.
The verification system of 17. invoices according to claim 16, is characterized in that:
Described invoice information enquiry module, has for the invoice code of the element information of described invoice is carried out to matching inquiry in described network invoice Query Database, and the invoice code and the invoice number that match if can inquire, perform step A; Otherwise, determine the invoice code matches failure of described invoice;
Steps A, according to the status information of revoking of the described invoice in the network invoice Query Database inquiring, judge whether described invoice belongs to invoice out of control, if not, perform step B; Otherwise, determine the invoice code matches failure of described invoice;
The information of making out an invoice of the described invoice in step B, the basis network invoice Query Database inquiring, judges whether the information of making out an invoice of described invoice gathers, and if so, performs step C; Otherwise, determine that the information of making out an invoice of described invoice does not gather;
Step C, according to the status information of opening of the described invoice in the network invoice Query Database inquiring, judge that whether the state of opening of described invoice is for normally filling out, if so, determine that described invoice is normal invoice; Otherwise, determine that the information of making out an invoice of described invoice does not gather.
CN201210434420.1A 2012-11-02 2012-11-02 The verification method of invoice and system Active CN103793990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210434420.1A CN103793990B (en) 2012-11-02 2012-11-02 The verification method of invoice and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210434420.1A CN103793990B (en) 2012-11-02 2012-11-02 The verification method of invoice and system

Publications (2)

Publication Number Publication Date
CN103793990A true CN103793990A (en) 2014-05-14
CN103793990B CN103793990B (en) 2016-06-29

Family

ID=50669608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210434420.1A Active CN103793990B (en) 2012-11-02 2012-11-02 The verification method of invoice and system

Country Status (1)

Country Link
CN (1) CN103793990B (en)

Cited By (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104299312A (en) * 2014-11-11 2015-01-21 重庆远见信息产业集团有限公司 Invoice verification method
CN104299311A (en) * 2014-10-16 2015-01-21 浪潮软件集团有限公司 Method for self-service invoice verification through two-dimensional code
CN104392359A (en) * 2014-11-11 2015-03-04 重庆远见信息产业集团有限公司 Electronic invoice billing method
CN104462896A (en) * 2014-11-19 2015-03-25 福建亿榕信息技术有限公司 Reliable video data acquisition and certification method with security certification function
CN104504092A (en) * 2014-12-29 2015-04-08 浪潮软件集团有限公司 Invoice checking system and method based on Internet
CN104951726A (en) * 2015-06-25 2015-09-30 福建联迪商用设备有限公司 Method and device for QR (quick response) two-dimension code position detection
CN105205706A (en) * 2015-09-01 2015-12-30 深圳市金蝶友商电子商务服务有限公司 Invoice query method and device
CN105306484A (en) * 2015-11-16 2016-02-03 江苏万佳科技开发有限公司 Bill anti-counterfeit identification system and method
CN105631564A (en) * 2014-10-29 2016-06-01 航天信息股份有限公司 System and method for uploading, acquiring, and checking motor vehicle invoice information
CN105630785A (en) * 2014-10-27 2016-06-01 航天信息股份有限公司 Invoice use abnormity early-warning method and system
CN105701905A (en) * 2014-11-28 2016-06-22 航天信息股份有限公司 Invoice recognition method and system
CN105760903A (en) * 2016-04-26 2016-07-13 上海易能信息技术有限公司 Two-dimensional code printing and reading methods and apparatuses for legal document of case
CN105809492A (en) * 2014-12-29 2016-07-27 航天信息股份有限公司 Bill management system and management method
CN105809015A (en) * 2014-12-30 2016-07-27 航天信息股份有限公司 Electronic ticket information hiding and verifying method, device and system
CN106004080A (en) * 2015-08-28 2016-10-12 千寻位置网络有限公司 Ticket printing method and device, and application
CN106056156A (en) * 2016-05-31 2016-10-26 武汉明德生物科技股份有限公司 System and method of recognizing and detecting reagent card
CN106530024A (en) * 2016-11-09 2017-03-22 百望金赋科技有限公司 Invoicing method, invoicing system and tax control server thereof
CN106530021A (en) * 2016-10-31 2017-03-22 青岛瑞宏科技有限公司 Electronic invoice making out system apparatus
CN106780951A (en) * 2016-11-22 2017-05-31 泰康保险集团股份有限公司 Document method of calibration and device
CN106934702A (en) * 2015-12-28 2017-07-07 航天信息股份有限公司 False invoice monitoring method and device
CN107067044A (en) * 2017-05-31 2017-08-18 北京空间飞行器总体设计部 A kind of finance reimbursement unanimous vote is according to intelligent checks system
CN107403503A (en) * 2017-08-04 2017-11-28 航天科工哈尔滨风华有限公司电站设备分公司 Invoice checks Compare System
CN107729058A (en) * 2017-10-20 2018-02-23 四川长虹电器股份有限公司 A kind of method of automatic parsing VAT invoice recognition result
CN107798570A (en) * 2017-07-24 2018-03-13 平安科技(深圳)有限公司 A kind of recovery and treatment method of blank invoice, storage medium and server
CN108171863A (en) * 2017-12-28 2018-06-15 国网山东省电力公司蒙阴县供电公司 The method of inspection and device of VAT invoice
CN108241817A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 The information input method, device and equipment of self-aided terminal are opened for invoice generation
CN108255442A (en) * 2018-01-15 2018-07-06 任海鹏 A kind of electronic invoice examination print system and method
CN108256339A (en) * 2016-12-28 2018-07-06 航天信息股份有限公司 A kind of method and system protected based on Quick Response Code to electronic invoice information
CN109087155A (en) * 2018-06-19 2018-12-25 优识云创(北京)科技有限公司 A kind of method and apparatus of managing bill
CN109636414A (en) * 2018-11-28 2019-04-16 海南高灯科技有限公司 One kind cancelling system based on block chain electronic invoice and cancels method
CN109784068A (en) * 2018-12-17 2019-05-21 航天信息股份有限公司 A kind of method and system reading invoice information in software of making out an invoice
CN109858373A (en) * 2018-12-29 2019-06-07 航天信息股份有限公司 A kind of invoice identification verification method and system based on deep learning
CN109948760A (en) * 2019-03-28 2019-06-28 尤尼泰克(嘉兴)信息技术有限公司 A kind of information demonstrating method and device based on two dimensional code
CN109993877A (en) * 2019-03-07 2019-07-09 北京航天泰坦科技股份有限公司 Anti-fake bill recognition methods based on location information
CN110021106A (en) * 2019-04-17 2019-07-16 尤尼泰克(嘉兴)信息技术有限公司 A kind of bank slip recognition method and apparatus based on two dimensional code
CN110288755A (en) * 2019-05-21 2019-09-27 平安银行股份有限公司 The invoice method of inspection, server and storage medium based on text identification
CN110288754A (en) * 2019-06-05 2019-09-27 上海票据交易所股份有限公司 Negotiatiing a bill list verification method, client, server and system
CN110458997A (en) * 2018-05-07 2019-11-15 北京中海汇银财税服务有限公司 A kind of method and system of automatic pinging electronic invoice
CN110555500A (en) * 2019-09-11 2019-12-10 北京强华印刷厂 map two-dimensional code generation method and system
CN111274506A (en) * 2019-12-18 2020-06-12 航天信息股份有限公司 Invoice issuing system based on two-dimensional code
CN111914304A (en) * 2020-08-14 2020-11-10 联想图像(天津)科技有限公司 Document verification method and device, computer equipment and readable storage medium
CN112102053A (en) * 2020-07-31 2020-12-18 大众金服信息科技有限公司 Account receivable investigation management method and device, computer equipment and storage medium
CN113536091A (en) * 2021-07-14 2021-10-22 深圳市链融科技股份有限公司 Invoice crawler checking method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1369850A (en) * 2002-02-22 2002-09-18 何长杰 Receipt discriminating system and method
US20020184152A1 (en) * 1999-06-30 2002-12-05 Martin David A. Method and device for preventing check fraud
CN101894411A (en) * 2010-07-20 2010-11-24 浪潮齐鲁软件产业有限公司 Safe management method for electronic counterfoil
CN102446264A (en) * 2010-10-15 2012-05-09 航天信息股份有限公司 Printing and scanning recognition method and system for two-dimensional code of special value-added tax invoice
CN102729674A (en) * 2012-07-12 2012-10-17 山东新北洋信息技术股份有限公司 Printing method, printing device and printing system for anti-counterfeiting of bank bill

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184152A1 (en) * 1999-06-30 2002-12-05 Martin David A. Method and device for preventing check fraud
CN1369850A (en) * 2002-02-22 2002-09-18 何长杰 Receipt discriminating system and method
CN101894411A (en) * 2010-07-20 2010-11-24 浪潮齐鲁软件产业有限公司 Safe management method for electronic counterfoil
CN102446264A (en) * 2010-10-15 2012-05-09 航天信息股份有限公司 Printing and scanning recognition method and system for two-dimensional code of special value-added tax invoice
CN102729674A (en) * 2012-07-12 2012-10-17 山东新北洋信息技术股份有限公司 Printing method, printing device and printing system for anti-counterfeiting of bank bill

Cited By (54)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104299311A (en) * 2014-10-16 2015-01-21 浪潮软件集团有限公司 Method for self-service invoice verification through two-dimensional code
CN105630785A (en) * 2014-10-27 2016-06-01 航天信息股份有限公司 Invoice use abnormity early-warning method and system
CN105631564A (en) * 2014-10-29 2016-06-01 航天信息股份有限公司 System and method for uploading, acquiring, and checking motor vehicle invoice information
CN104299312A (en) * 2014-11-11 2015-01-21 重庆远见信息产业集团有限公司 Invoice verification method
CN104392359A (en) * 2014-11-11 2015-03-04 重庆远见信息产业集团有限公司 Electronic invoice billing method
CN104392359B (en) * 2014-11-11 2017-11-21 重庆远见信息产业集团有限公司 electronic invoice billing method
CN104462896A (en) * 2014-11-19 2015-03-25 福建亿榕信息技术有限公司 Reliable video data acquisition and certification method with security certification function
CN105701905A (en) * 2014-11-28 2016-06-22 航天信息股份有限公司 Invoice recognition method and system
CN104504092A (en) * 2014-12-29 2015-04-08 浪潮软件集团有限公司 Invoice checking system and method based on Internet
CN105809492A (en) * 2014-12-29 2016-07-27 航天信息股份有限公司 Bill management system and management method
CN105809015A (en) * 2014-12-30 2016-07-27 航天信息股份有限公司 Electronic ticket information hiding and verifying method, device and system
CN104951726A (en) * 2015-06-25 2015-09-30 福建联迪商用设备有限公司 Method and device for QR (quick response) two-dimension code position detection
CN104951726B (en) * 2015-06-25 2017-12-08 福建联迪商用设备有限公司 Method and device for QR Quick Response Code position sensings
CN106004080A (en) * 2015-08-28 2016-10-12 千寻位置网络有限公司 Ticket printing method and device, and application
CN106004080B (en) * 2015-08-28 2017-12-26 千寻位置网络有限公司 Ticket Method of printing and its device and application
CN105205706A (en) * 2015-09-01 2015-12-30 深圳市金蝶友商电子商务服务有限公司 Invoice query method and device
CN105306484A (en) * 2015-11-16 2016-02-03 江苏万佳科技开发有限公司 Bill anti-counterfeit identification system and method
CN106934702A (en) * 2015-12-28 2017-07-07 航天信息股份有限公司 False invoice monitoring method and device
CN105760903A (en) * 2016-04-26 2016-07-13 上海易能信息技术有限公司 Two-dimensional code printing and reading methods and apparatuses for legal document of case
CN106056156A (en) * 2016-05-31 2016-10-26 武汉明德生物科技股份有限公司 System and method of recognizing and detecting reagent card
CN106530021A (en) * 2016-10-31 2017-03-22 青岛瑞宏科技有限公司 Electronic invoice making out system apparatus
CN106530024B (en) * 2016-11-09 2019-06-14 百望金赋科技有限公司 A kind of billing method, billing system and its tax control server
CN106530024A (en) * 2016-11-09 2017-03-22 百望金赋科技有限公司 Invoicing method, invoicing system and tax control server thereof
CN106780951A (en) * 2016-11-22 2017-05-31 泰康保险集团股份有限公司 Document method of calibration and device
CN108241817A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 The information input method, device and equipment of self-aided terminal are opened for invoice generation
CN108256339A (en) * 2016-12-28 2018-07-06 航天信息股份有限公司 A kind of method and system protected based on Quick Response Code to electronic invoice information
CN107067044A (en) * 2017-05-31 2017-08-18 北京空间飞行器总体设计部 A kind of finance reimbursement unanimous vote is according to intelligent checks system
CN107067044B (en) * 2017-05-31 2024-03-29 北京空间飞行器总体设计部 Financial reimbursement complete ticket intelligent auditing system
CN107798570A (en) * 2017-07-24 2018-03-13 平安科技(深圳)有限公司 A kind of recovery and treatment method of blank invoice, storage medium and server
CN107403503A (en) * 2017-08-04 2017-11-28 航天科工哈尔滨风华有限公司电站设备分公司 Invoice checks Compare System
CN107729058A (en) * 2017-10-20 2018-02-23 四川长虹电器股份有限公司 A kind of method of automatic parsing VAT invoice recognition result
CN108171863A (en) * 2017-12-28 2018-06-15 国网山东省电力公司蒙阴县供电公司 The method of inspection and device of VAT invoice
CN108255442A (en) * 2018-01-15 2018-07-06 任海鹏 A kind of electronic invoice examination print system and method
CN110458997A (en) * 2018-05-07 2019-11-15 北京中海汇银财税服务有限公司 A kind of method and system of automatic pinging electronic invoice
CN109087155A (en) * 2018-06-19 2018-12-25 优识云创(北京)科技有限公司 A kind of method and apparatus of managing bill
CN109636414A (en) * 2018-11-28 2019-04-16 海南高灯科技有限公司 One kind cancelling system based on block chain electronic invoice and cancels method
CN109636414B (en) * 2018-11-28 2022-03-08 深圳高灯计算机科技有限公司 Electronic invoice voiding system and voiding method based on block chain
CN109784068A (en) * 2018-12-17 2019-05-21 航天信息股份有限公司 A kind of method and system reading invoice information in software of making out an invoice
CN109784068B (en) * 2018-12-17 2022-04-29 航天信息股份有限公司 Method and system for reading invoice information in invoicing software
CN109858373A (en) * 2018-12-29 2019-06-07 航天信息股份有限公司 A kind of invoice identification verification method and system based on deep learning
CN109993877A (en) * 2019-03-07 2019-07-09 北京航天泰坦科技股份有限公司 Anti-fake bill recognition methods based on location information
CN109948760A (en) * 2019-03-28 2019-06-28 尤尼泰克(嘉兴)信息技术有限公司 A kind of information demonstrating method and device based on two dimensional code
CN109948760B (en) * 2019-03-28 2022-05-17 尤尼泰克(嘉兴)信息技术有限公司 Information presentation method and device based on two-dimensional code
CN110021106A (en) * 2019-04-17 2019-07-16 尤尼泰克(嘉兴)信息技术有限公司 A kind of bank slip recognition method and apparatus based on two dimensional code
CN110288755A (en) * 2019-05-21 2019-09-27 平安银行股份有限公司 The invoice method of inspection, server and storage medium based on text identification
CN110288754B (en) * 2019-06-05 2021-11-09 上海票据交易所股份有限公司 Bill delivery receipt verification method, client, server and system
CN110288754A (en) * 2019-06-05 2019-09-27 上海票据交易所股份有限公司 Negotiatiing a bill list verification method, client, server and system
CN110555500A (en) * 2019-09-11 2019-12-10 北京强华印刷厂 map two-dimensional code generation method and system
CN110555500B (en) * 2019-09-11 2023-02-28 北京强华印刷厂 Map two-dimensional code generation method and system
CN111274506A (en) * 2019-12-18 2020-06-12 航天信息股份有限公司 Invoice issuing system based on two-dimensional code
CN112102053A (en) * 2020-07-31 2020-12-18 大众金服信息科技有限公司 Account receivable investigation management method and device, computer equipment and storage medium
CN112102053B (en) * 2020-07-31 2023-11-21 大众金服信息科技有限公司 Accounts receivable investigation management method, device, computer equipment and storage medium
CN111914304A (en) * 2020-08-14 2020-11-10 联想图像(天津)科技有限公司 Document verification method and device, computer equipment and readable storage medium
CN113536091A (en) * 2021-07-14 2021-10-22 深圳市链融科技股份有限公司 Invoice crawler checking method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN103793990B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN103793990B (en) The verification method of invoice and system
US9946865B2 (en) Document authentication based on expected wear
US11373265B2 (en) Digital identification document
US20190364038A1 (en) Digital Identification Document
US11121879B2 (en) Computer implemented method for automatically certifying documents with integrity and authenticity guarantees and computer programs thereof
RU2002134748A (en) SYSTEM AND METHOD FOR CREATION AND AUTHENTICATION OF ORIGINAL DOCUMENTS
US20090261158A1 (en) Authentication of cheques and the like
US7188258B1 (en) Method and apparatus for producing duplication- and imitation-resistant identifying marks on objects, and duplication- and duplication- and imitation-resistant objects
US20080249951A1 (en) Security systems and methods for digital payments
US8477379B2 (en) Secure document workflow
EP3543891B1 (en) A computer implemented method and a system for tracking of certified documents lifecycle and computer programs thereof
EA003620B1 (en) System and method for electronic transmission, storage and retrieval of authenticated documents
US10803139B2 (en) Instrument disambiguation to facilitate electronic data consolidation
US20160196509A1 (en) Ticket authorisation
CN110084977A (en) Self-service query method, system, computer equipment and the storage medium of Immovable Property Registration information
US9277097B2 (en) Method for authenticating a document
CN104094285B (en) Verified using the evidence obtaining of the forensic mark in halftoning
CN101673440A (en) Automatic management system for identifying counter client identity in financial institution
CN111612964B (en) Bill certificate anti-counterfeiting detection method and device based on block chain
Dhanva et al. Cheque image security enhancement in online banking
WO2014102707A1 (en) Method of realization of a bank check and bank check realized with said method
JP7274202B2 (en) Optical code creation program, optical code reading authentication program, optical code authentication system, payment system, printed matter manufacturing method, and optical code authentication method
US11816756B1 (en) Anti-leak digital document marking system and method using distributed ledger
JP4196864B2 (en) Seal verification system, passbook and passbook issuing method
CN116959012A (en) Verification method and device for credential files, electronic equipment and storage medium

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